/* Approved Ivory & Gold visual language, shared by every Gaia app route. */
:root {color-scheme:light;--gold:#806a32;--muted:#697063;--line:#dcded0;--cream:#30392d;background:#f7f5ef;color:#30392d}
body.nation-flow {background:radial-gradient(ellipse at top right,#e5e9db80,transparent 48%),#f7f5ef;color:#30392d;--cream:#30392d;--line:#dcded0}
.app-menu{position:relative;margin-left:auto}.app-menu summary{cursor:pointer;list-style:none;border:1px solid #d8dcc8;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;color:#6f754f}.app-menu>div{position:absolute;right:0;top:48px;min-width:180px;background:#fffdf5;padding:10px;border:1px solid #d8dcc8;border-radius:16px;box-shadow:0 12px 30px #30392d22;z-index:50}.app-menu a{display:block;padding:12px;border-radius:8px;font-size:13px}.app-menu a:hover{background:#ecefdf}
.nation-flow .members-design {--cream:#30392d;--line:#dcded0;--muted:#697063;--gold:#806a32}
.nation-flow h1,.nation-flow h2,.nation-flow h3 {color:#30392d;letter-spacing:-.035em}
.nation-flow h1 {line-height:1.12}.nation-flow h2 {line-height:1.25}
.nation-flow .site-header {background:#faf9f3ed;border-color:#deded0;backdrop-filter:none}
.nation-flow .brand {color:#7a6530;letter-spacing:.03em}.nation-flow .brand small {color:#73785f}
.nation-flow .brand img {filter:sepia(1) saturate(.6) brightness(.65)}
.nation-flow .account {background:#e8eadc;color:#5d643f;border-color:#d0cfb8}.nation-flow .account span{color:inherit}
.nation-flow nav a {color:#697063}.nation-flow nav a:hover {color:#404e37;background:#ecefe4}
.nation-flow nav a.active {background:#e7eadc;color:#4c593a;box-shadow:inset 0 -2px #8f7b43}
.nation-flow .panel,.nation-flow .card,.nation-flow .mh-workspace,.nation-flow .md-layout {background:#fffef9;border:1px solid #dddfd2;border-radius:22px;box-shadow:0 8px 32px #46482c08}
.nation-flow .panel {padding:28px}.nation-flow .card:hover {background:#f1f3e9}
.nation-flow .button,.nation-flow .mh-actions .button {background:#535f3e;color:#fffdf5;border:1px solid #535f3e;border-radius:28px;font-size:12px;font-weight:500;box-shadow:0 3px 10px #39422212;min-height:44px}
.nation-flow .button:hover {background:#414e30;color:#fff}.nation-flow .button.secondary,.nation-flow .mh-actions .button.secondary {background:#fffdf6;color:#5b6546;border-color:#cbd0bd;box-shadow:none}
.nation-flow .button.secondary:hover {background:#edf0e3}.nation-flow .text-link,.nation-flow .text-button{color:#6d5a2e}
.nation-flow .tag,.nation-flow .md-badge {background:#edeedf;color:#60623c;border-color:#d5d7bd}
.nation-flow :is(.nf-copy,.nf-steps,.nf-fact,.nf-hero>p,.mh-hero-copy>p,.md-intro,.list-row,.card p,.person p,.world-copy p,.world-bottom) {color:#66705f}
.nation-flow :is(.nf-small,.nf-footer-note,.mh-footnote,.md-help,.mh-person small,.mh-activity-row p,.mh-activity-row small,.eye-hint) {color:#73796a}
.nation-flow :is(.nf-fact strong,.nf-event-row strong,.mh-stats strong,.md-name,.md-facts strong) {color:#30392d}
.nation-flow .nf-hero {background:linear-gradient(115deg,#edf0e1,#f8f7f100);border:0;border-radius:24px;padding:32px;margin-bottom:24px;min-height:0}
.nation-flow .nf-hero .nf-emblem {opacity:.17;filter:sepia(1) brightness(.6)}
.nation-flow .nf-hero h1 {max-width:850px}.nation-flow .nf-hero>p:not(.eyebrow){max-width:620px}
.nation-flow :is(.nf-tabs>a,.nf-tabs>button,.md-tabs button,.mobile-section-nav button) {background:#eeeee4;color:#68705e;border-color:#dadccc;border-radius:24px}
.nation-flow :is(.nf-tabs>.active,.md-tabs button.active) {background:#535f3e;color:#fffdf5;border-color:#535f3e}
.nation-flow :is(input:not([type=checkbox]):not([type=range]),select,textarea),.nation-flow .members-design .search {background:#fffef9;color:#30392d;border-color:#cdd1bf;border-radius:12px;accent-color:#65734f}
.nation-flow input::placeholder,.nation-flow textarea::placeholder{color:#89907f}
.nation-flow :is(.avatar,.md-avatar,.member-home .md-avatar) {background:linear-gradient(140deg,#eef0e3,#d9deca);color:#65704f;border:1px solid #c0c8ab}
.nation-flow .nf-profile-intro .avatar {width:64px;height:64px;font:24px Georgia,serif}
.nation-flow :is(.nf-stat-grid>div,.mh-stats>div,.md-summary,.nf-result) {background:#f0f2e8;border-color:#dce0cd;color:#43513a}
.nation-flow :is(.nf-stat-grid strong,.nf-result strong,.md-summary strong,.md-metrics strong) {color:#72703d}
.nation-flow :is(.nf-notice,.mh-confirm,.mh-confirm.has-message,.md-status) {background:#edf3e5;color:#4c6640;border-color:#ceddbf}
.nation-flow .mh-hero {padding:34px 4px;min-height:0}.nation-flow .mh-hero:before {background:radial-gradient(ellipse at 90% 10%,#dfe8cf80,transparent 65%);inset:0}
.nation-flow .mh-hero h1 {font-size:clamp(34px,4vw,54px);white-space:normal}.nation-flow .mh-emblem{opacity:.4;filter:sepia(1) brightness(.7)}
.nation-flow :is(.mh-activity,.md-detail,.md-content,.nf-document) {background:#fffef9;color:#30392d;border-color:#dcded0}
.nation-flow .mh-table tr {background:#fffef9;border-color:#dcded0}.nation-flow .mh-table th{color:#73796a}
.nation-flow .mh-status.active {background:#e8efde;color:#466035}.nation-flow .mh-status.review {background:#f8e9dc;color:#865b31}.nation-flow .mh-status.invited{background:#f1ebd7;color:#796639}
.nation-flow .md-person.active{background:#f0f2e7}.nation-flow .md-tabs{background:#f6f6ed}
.nation-flow .calendar{background:#fffef9}.nation-flow .calendar .day-name{background:#eef0e4;color:#637050}.nation-flow .calendar .blank{background:#f3f3eb}
.nation-flow .nf-cal-event,.nation-flow .calendar button {background:#e7eedc;color:#465d39;border-color:#cdd8bc}.nation-flow .nf-cal-event:hover{background:#d6e1c7}
.nation-flow .nf-event-art{background:linear-gradient(125deg,#e6eacb,#d9e3db);border:0;border-radius:16px;color:#3d513e}
.nation-flow .nf-event-art>span,.nation-flow .nf-event-art>strong {color:#435d42}
.nation-flow .nf-project-photo {border-radius:15px}.nation-flow .nf-project-photo.large{height:340px}
.nation-flow #dialog {background:#fffdf7;color:#30392d;border-color:#c8cbb5;box-shadow:0 24px 100px #30392d33}.nation-flow #dialog::backdrop{background:#30392d66}
.nation-flow .editor-footer,.nation-flow .editor-photo,.nation-flow .profile-editor .panel,.nation-flow .editor-collection,.nation-flow .priority-list button {background:#fffdf7;color:#30392d;border-color:#dcded0}
.nation-flow .nf-form-error{color:#a14232}.nation-flow :focus-visible{outline:2px solid #8b773f;outline-offset:4px}
.nation-flow>footer{color:#717764;border-color:#dddfd0}.nation-flow>footer>span{color:#727344}

/* Reference-matched atlas, glass petals and editorial typography. */
.nation-flow{font-family:'DM Sans',sans-serif}
.nation-flow .brand{gap:12px}
.nation-flow .brand>span{font:36px 'Playfair Display',Georgia,serif;letter-spacing:-.04em}
.nation-flow .brand small{font:9px 'DM Sans',sans-serif;letter-spacing:.23em;margin-top:5px}
.brand-sun{width:48px;height:48px;fill:none;stroke:#927a3f;stroke-width:1.7;stroke-linecap:round}
.nation-flow h1,.nation-flow h2,.nation-flow h3{font-family:'Playfair Display',Georgia,serif;font-weight:400}
.nation-flow .nf-copy,.nation-flow .panel>p{font-size:15px;line-height:1.8}
.nation-flow .nf-hero{background:none;padding:32px 0}
.nation-flow .nf-hero h1{font-size:clamp(36px,5vw,62px)}
.nation-flow .panel{box-shadow:0 8px 32px #5750320b;border-color:#e7e3d8}
.nation-flow .nf-project-photo{border-radius:18px;height:240px;object-fit:cover}
.nation-flow .eye-heading{display:block;text-align:center;padding:18px 0 12px;position:relative;z-index:2}
.nation-flow .eye-heading .eyebrow,.nation-flow .eye-heading>.text-link{display:none}
.nation-flow .eye-heading h1{font:clamp(38px,5vw,64px) 'Playfair Display',Georgia,serif;margin:0 0 9px;letter-spacing:-.045em}
.nation-flow .eye-heading p:not(.eyebrow){font-size:15px;letter-spacing:.15em;color:#687064;margin:0}
.nation-flow .eye-layout{display:block;position:relative}
.nation-flow .eye-explore{background:none;border:0;padding:0}
.nation-flow .eye-map-heading{display:none}
.nation-flow .eye-map{height:640px;aspect-ratio:auto;border:0;border-radius:0;background:#e1ece5;overflow:hidden;box-shadow:none;mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent)}
.eye-atlas{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.88}
.nation-flow .eye-map-glow{background:linear-gradient(0deg,#f7f5ef 0%,transparent 35%,transparent 90%,#f7f5ef)}
.nation-flow .eye-map-note{bottom:7px;color:#667460;font-size:10px}
.nation-flow .eye-compass{position:absolute;z-index:4;left:50%;top:260px;transform:translateX(-50%);width:360px;padding:0;background:none;border:0;perspective:800px}
.nation-flow .eye-flower{width:350px;height:305px;max-width:none;margin:0 auto;aspect-ratio:auto;transform-style:preserve-3d}
.nation-flow .eye-geometry{inset:2%;width:96%;height:96%;opacity:.45;filter:sepia(1) brightness(.85);animation:ivory-orbit 80s linear infinite}
.nation-flow .eye-orbit{inset:10%;border-color:#b8a06988;box-shadow:0 20px 25px #74603928;transform:rotateX(22deg)}
.nation-flow .eye-center{width:85px;height:85px;top:52%;border:2px solid #d4b05e;background:radial-gradient(circle at 30% 20%,#fffff8,#d7d3b8);box-shadow:0 0 0 3px #fff9,0 0 20px #f4ce70aa;color:#655932;z-index:5}
.nation-flow .eye-portrait{background:none;color:#6d724b;font:28px Georgia,serif;width:auto;height:auto}
.nation-flow .eye-center strong{font-size:13px}.nation-flow .eye-center small{display:none}
.nation-flow .eye-petal{width:136px;height:136px;border-radius:50%;min-width:0;min-height:0;padding:8px;border:1px solid #baa16e;background:linear-gradient(135deg,#fffdf1d9,#eae4d3a6);backdrop-filter:blur(7px);color:#414a35;box-shadow:inset 0 0 0 2px #fff9,0 6px 14px #62513633;gap:8px;transition:opacity .2s,box-shadow .2s}
.nation-flow .eye-petal.selected{background:linear-gradient(135deg,#fffdf2e6,#eae5d3bf);border-color:#b99a50;box-shadow:inset 0 0 0 2px #fffc,0 0 12px #eaca7b88,0 8px 15px #61563122}
.nation-flow .eye-petal:not(.selected){opacity:.55}
.nation-flow .eye-petal>span{display:block;font-size:29px;color:#686c45}
.eye-petal svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.eye-pin>img{width:44px;height:44px;object-fit:cover;border-radius:50%}
.nation-flow .eye-petal strong{font:15px 'DM Sans',sans-serif;font-weight:400}
.nation-flow .eye-petal-0{left:50%;top:22%}
.nation-flow .eye-petal-1{left:78%;top:47%}
.nation-flow .eye-petal-2{left:22%;top:47%}
.nation-flow .eye-petal-3{left:33%;top:79%}
.nation-flow .eye-petal-4{left:67%;top:79%}
.nation-flow .eye-motion{position:static;font-size:10px;background:#faf7efc9;color:#6f705b;border-radius:20px;min-height:26px;padding:4px 12px}
.nation-flow .eye-compass .eye-hint{font-size:12px;color:#656954;margin:8px 0}
.nation-flow .eye-open{display:inline-flex;background:none;border:0;color:#73643d;box-shadow:none;font-size:11px;margin:0;padding:4px;min-height:24px;width:auto}
.nation-flow .eye-pin{top:calc(var(--y) * .58);transform:translate(-50%,-50%);background:#fffdf0ed;border:3px solid #fffdf3;box-shadow:0 5px 16px #40593b33;color:#576041;min-height:45px!important;border-radius:28px;padding:9px 14px;font-size:12px}
.nation-flow .eye-pin>span{background:#737a4d;box-shadow:none}.nation-flow .eye-pin small{background:#e7e8d9;color:#5f663f}
.nation-flow .eye-pin.selected{background:#e8ebcf;border-color:#b6a36e}
.eye-feature{display:grid;grid-template-columns:1.1fr 1fr;background:#fffdfa;border-radius:24px;padding:10px;box-shadow:0 8px 24px #53483113;max-width:720px;margin:-5px auto 30px;position:relative;z-index:4;gap:24px;border:1px solid #e9e4da}
.eye-feature>img{width:100%;height:230px;object-fit:cover;border-radius:16px 0 0 16px}
.eye-feature>span{padding:16px 20px 16px 0;align-self:center}
.eye-feature h2{font-size:31px;margin:8px 0}.eye-feature p{font-size:14px;color:#77796b;line-height:1.5}
.eye-feature small{font-size:9px;letter-spacing:.15em;color:#8a7b50}.eye-feature .button{margin-top:16px;display:inline-flex;min-width:145px;justify-content:center}
.nation-flow .eye-results-heading{margin:20px 0}.nation-flow .eye-results-heading span{color:#848575}
.nation-flow .eye-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nation-flow .eye-result{background:#fffdf7;border:1px solid #e1e2d4;border-radius:18px;box-shadow:0 5px 18px #57503208;padding:14px;overflow:hidden}
.nation-flow .eye-result strong{color:#3d4635;font-size:15px}.nation-flow .eye-result small{color:#887c52}.nation-flow .eye-result em{color:#7d8372}
.nation-flow .eye-result-icon{color:#6f7850;background:#edf0df;border-radius:50%;width:42px;height:42px}
.eye-result-photo{width:66px;height:66px;object-fit:cover;border-radius:12px;flex-shrink:0}
.nation-flow .eye-hint{color:#7a806c}
@keyframes ivory-orbit{from{transform:rotateX(16deg) rotateZ(0)}to{transform:rotateX(16deg) rotateZ(360deg)}}
@media(max-width:780px){
 .nation-flow .site-header{padding:16px 20px;background:#faf8f1;border:0}
 .nation-flow .brand>span{font-size:27px}.nation-flow .brand small{font-size:6.7px}.brand-sun{width:36px;height:36px}
 .nation-flow .app-menu summary{width:30px;height:30px;border:0}.nation-flow .account{width:35px;height:35px;min-width:35px;margin-left:0}
 .nation-flow .site-header nav{grid-template-columns:repeat(4,minmax(0,1fr));background:#faf8f1f5;border-color:#dedbce;backdrop-filter:blur(18px);box-shadow:0 -4px 18px #57503208;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
 .nation-flow .site-header nav a{color:#74786b;border-radius:0}.nation-flow .site-header nav a.active{background:none;box-shadow:none;color:#8b7238}
 .nation-flow main,.nation-flow.members-open main{padding:16px 18px}
 .nation-flow .panel{padding:22px;border-radius:22px}.nation-flow .nf-hero{padding:18px 0}.nation-flow .nf-hero h1{font-size:38px!important}
 .nation-flow .eye-page{margin:-8px -18px 0}.nation-flow .eye-heading{padding:2px 10px 8px}
 .nation-flow .eye-heading h1{font-size:36px}.nation-flow .eye-heading p:not(.eyebrow){display:block;font-size:11px;letter-spacing:.12em}
 .nation-flow .eye-map{height:460px}.eye-atlas{object-position:38% center}
 .nation-flow .eye-compass{top:135px;width:320px}.nation-flow .eye-flower{width:310px;height:265px}
 .nation-flow .eye-petal{width:119px;height:119px}.nation-flow .eye-petal strong{font-size:12px}.nation-flow .eye-center{width:74px;height:74px}
 .nation-flow .eye-pin{font-size:10px;padding:7px 10px;top:calc(var(--y) * .52);left:clamp(12%,var(--x),85%)}
 .nation-flow .eye-map-note{left:18px;font-size:8px}
 .eye-feature{margin:0 12px 24px;padding:8px;gap:14px;border-radius:21px}
 .eye-feature>img{height:166px}.eye-feature>span{padding:4px 8px 4px 0}.eye-feature h2{font-size:23px;line-height:1.15}
 .eye-feature small{font-size:7px}.eye-feature p{font-size:11px}.eye-feature .button{min-width:100%;min-height:38px;font-size:12px;margin-top:10px;padding:8px}
 .nation-flow .eye-results-heading{padding:0 18px}.nation-flow .eye-results{grid-template-columns:1fr;padding:0 18px}
 .nation-flow .eye-explore>.eye-hint{padding:0 18px}.nation-flow .mh-table tr{background:#fffdf7;box-shadow:0 5px 18px #57503208}
 .nation-flow .nf-project-photo.large{height:240px}
}
@media(prefers-reduced-motion:reduce){.nation-flow .eye-geometry{animation:none}.nation-flow .eye-petal{transition:none}}
