@charset "UTF-8";
:root{--paper:#f6f5ef;--card:#fffef9;--ink:#273e35;--muted:#81887b;--line:#e4e5d9;--green:#346b57;--green-light:#e8eee2;--orange:#b77b53;--orange-light:#f5ebdf;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 var(--sans)}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button,a{touch-action:manipulation}button{border:0;background:none}a{color:inherit}button:disabled{opacity:.36;cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #c2974f;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.95)}h1,h2,h3,p{margin:0}h1{font:38px/1.18 var(--serif);letter-spacing:-1.1px;margin:12px 0 10px}h1>span{color:#c38859}h2{font:23px/1.3 var(--serif);letter-spacing:-.4px}h3{font-size:15px}small{font-size:11px}svg{display:block}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.5px;line-height:1.7}.skip{position:absolute;left:12px;top:-100px;z-index:30;background:var(--card);padding:12px}.skip:focus{top:10px}.topbar{height:89px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px 0 28px;background:#fbfaf5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:var(--serif);font-size:25px;letter-spacing:-.8px}.brand-mark{font:30px var(--serif);color:#fff7df;background:var(--green);width:43px;height:43px;border-radius:13px 13px 13px 3px;text-align:center;line-height:44px;position:relative}.brand-mark>span{position:absolute;right:5px;top:-3px;font-size:17px;color:#cdb577}.brand-light{font-weight:400;color:#6d7b6a}.brand small{display:block;font:8px var(--sans);letter-spacing:1.8px;margin-top:3px;color:#7d8676}.top-actions{display:flex;align-items:center;gap:27px}.local-tag{font-size:11px;color:#7b8276}.local-tag i,.live-dot,.inspector-footer i{display:inline-block;background:#6c9679;width:6px;height:6px;border-radius:50%;margin-right:7px}.text-button{font-size:11px;font-weight:600;padding:6px 0;color:#62735f;white-space:nowrap}.text-button span{margin:0 4px}.app-shell{display:flex}.rail{flex:0 0 82px;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;gap:17px;padding-top:30px;position:relative}.rail-button{width:59px;min-height:64px;border-radius:12px;color:#8a8e80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.rail-button>span{font-size:25px;line-height:1.2}.rail-button small{font-size:10px}.rail-button.active{color:var(--green);background:#e7ecdf}.rail-bottom{margin-top:95px;display:flex;align-items:center;flex-direction:column;gap:22px}.rail-line{height:40px;width:1px;background:#d5d9c8}.vertical-text{writing-mode:vertical-rl;font-size:8px;letter-spacing:2.5px;color:#9b9f91}main{width:100%;min-width:0;max-width:1660px;margin:0 auto;padding:30px 38px 48px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-heading p{font-size:12px;color:#7c8276}.tiny-sun{color:#ab8650;font-size:15px;margin-right:5px}.outline-button{border:1px solid #d9dece;border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:12px;background:#fafaf3;font-size:11px}.population-button{flex-shrink:0;text-align:left}.population-button strong,.population-button small{display:block;font-size:11px}.population-button small{font-size:10px;color:#929787;margin-top:2px;font-weight:400}.avatar-stack{display:flex;padding-left:4px}.avatar-stack i{font-style:normal;display:grid;place-items:center;font-size:10px;width:25px;height:25px;background:#d6ad8e;border:2px solid #fafaf3;border-radius:50%;margin-left:-5px;color:#fff}.avatar-stack i:nth-child(2){background:#7e98a4}.avatar-stack i:nth-child(3){background:#b092a5}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:22px;align-items:start}.world-column{min-width:0}.world-card{position:relative;overflow:hidden;border:1px solid #dce1ce;border-radius:15px;background:radial-gradient(ellipse at 50% 43%,#e6ebd7 0,#edf0e3 59%,#f0f1e7 100%)}.map{width:100%;margin-top:20px;margin-bottom:1px;min-height:320px;display:flex;align-items:center}.map>svg{width:100%;height:auto}.map-top,.map-bottom{position:absolute;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;z-index:1;pointer-events:none}.map-top{top:18px}.map-chip{font-size:10px;font-weight:600;padding:7px 10px;border:1px solid #dbe1cd;background:#f9faf0e8;border-radius:7px}.map-caption{font-size:8px;letter-spacing:1.8px;color:#89917e}.map-bottom{bottom:13px;color:#929a86;font-size:9px}.map-bottom>span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;background:#76937b;border:1px solid #fcfbf0;border-radius:50%;display:inline-block}.legend-route{font-size:20px;line-height:10px;color:#6c927a;margin-left:10px}.zoom-controls{pointer-events:auto;border:1px solid #dbe0ce;background:#fafaf1;border-radius:7px;display:flex}.zoom-controls button{height:26px;width:29px;font-size:16px}.zoom-controls button+button{border-left:1px solid var(--line)}.map-label rect{fill:#f9f7e8;fill-opacity:.92;stroke:#dee0ca;stroke-width:1}.map-label text{font:9px var(--sans);fill:#7a806c;text-anchor:middle;letter-spacing:1.3px}.river-label{font:italic 12px var(--serif);fill:#8aada1;letter-spacing:2px}.compass{color:#929e86}.compass text{font:9px var(--sans)}.map-person{cursor:pointer;outline:none}.map-person:hover>circle,.map-person:focus-visible>circle{stroke:#c28e4d;stroke-width:4}.map-person .person-name rect{fill:#fffdf0;stroke:#e4e4d4}.map-person .person-name text{fill:#5d6b59;font:11px var(--sans)}.map-person.selected .person-name rect{fill:#356b5a;stroke:#356b5a}.map-person.selected .person-name text{fill:#fffdf0}.story-card{display:flex;align-items:flex-start;gap:13px;padding:21px 3px 22px;border-bottom:1px solid var(--line);min-height:128px}.story-icon{width:34px;height:34px;border-radius:10px;background:#e6eddf;color:#568061;display:grid;place-items:center;flex-shrink:0;font:20px var(--serif);margin-top:3px}.story-icon.warning{background:#f0e1cf;color:#aa6d4a}.story-card .eyebrow{font-size:8px;color:#8a947f;letter-spacing:1.2px}.story-card h2{font-size:20px;line-height:1.3;margin:4px 0 7px}.story-card p{font-size:11px;color:#858a7d;line-height:1.65;max-width:650px}.story-link{font-size:10px;color:#5b735b;white-space:nowrap;margin-left:auto;padding-top:27px}.timeline-card{padding:23px 0 0}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-top .eyebrow{font-size:8px;letter-spacing:1.3px;color:#8c927f;margin-bottom:5px}.section-top h2{font-size:22px}.timeline-scroll{overflow-x:auto;margin-top:15px;padding:2px 0}.timeline{height:130px;min-width:620px;position:relative}.timeline svg{width:100%;height:130px}.time-line{fill:none;stroke:#d9ded0;stroke-width:2}.time-line.good{stroke:#92ae8e}.time-line.warning{stroke:#d0ab88}.time-node{cursor:pointer}.time-node circle{stroke:#b0baaa;stroke-width:2;fill:var(--paper)}.time-node.good circle{stroke:#7b9e78}.time-node.warning circle{stroke:#c5a07e}.time-node.current circle{fill:#346b57;stroke:#346b57;stroke-width:5}.time-node.current.warning circle{fill:#b47b54;stroke:#b47b54}.time-node.past circle{fill:#b4c5a5}.time-node text{font:8px var(--sans);fill:#89927d;text-anchor:middle}.time-node.current text{fill:#416846;font-weight:600}.time-node.warning.current text{fill:#a46f49}.branch-axis{font:9px var(--sans);letter-spacing:.4px;fill:#6c8766}.branch-axis.warning{fill:#b08a64}.transport{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid var(--line)}.playback{display:flex;align-items:center;gap:8px}.playback>span{font-size:10px;color:#8c937f;margin-left:6px}.icon-button{width:29px;height:31px;font-size:21px;display:grid;place-items:center}.play-button{border-radius:50%;background:var(--green);color:white;width:32px;height:32px;font-size:11px;padding-left:7px;box-shadow:0 3px 8px #356a5722}.timeline-actions{display:flex;align-items:center;gap:18px}.solid-button{background:var(--green);color:#fffdf2;padding:9px 13px;border-radius:7px;font-size:10px;white-space:nowrap;letter-spacing:.1px}.solid-button span{margin-left:9px}.timeline-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:#94998a;font-size:9px}.timeline-foot .text-button{font-size:9px;font-weight:400;color:#8a947e}.inspector{border:1px solid var(--line);border-radius:13px;background:var(--card);overflow:hidden}.inspector-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 18px;gap:26px}.inspector-tabs button{font-size:11px;position:relative;padding:17px 2px;color:#93988c}.inspector-tabs button[aria-selected=true]{color:#3e6c50;font-weight:600}.inspector-tabs button[aria-selected=true]:after{content:'';height:2px;position:absolute;bottom:0;left:0;right:0;background:#5f825f}.inspector-tabs button span{font-size:9px;border:1px solid #dce0d3;border-radius:4px;padding:0 4px;margin-left:5px}.person-hero{padding:22px 22px 16px;position:relative}.hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.portrait{border-radius:50%;border:4px solid #f4efe1;box-shadow:0 0 0 1px #e9e6d6;overflow:hidden;width:69px;height:69px}.portrait svg{width:100%;height:100%}.status-tag{font-size:9px;border:1px solid #e1e6d6;color:#859475;padding:4px 7px;border-radius:5px}.person-hero h2{font-size:26px;margin-bottom:3px}.person-role{font-size:11px;color:#8a8e7c}.person-bio{font-size:11px;color:#858a7e;line-height:1.7;padding-top:12px}.inspector-section{margin:0 22px;padding:17px 0;border-top:1px solid var(--line)}.inspector-section .eyebrow{font-size:8px;color:#8c9481;letter-spacing:1.5px;margin-bottom:11px}.entity-link{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:0}.entity-icon{width:31px;height:31px;border:1px solid #d8e0cb;background:#eef1e5;border-radius:8px;display:grid;place-items:center;font-size:17px;color:#73866a}.entity-link strong{font-size:11px;font-weight:600;display:block}.entity-link small{font-size:9px;display:block;color:#9a9f8c}.entity-link>span:last-child{margin-left:auto;color:#8c9982}.kypel{margin-top:12px;border:1px solid #e5e3d6;border-radius:8px;background:#faf9f0;padding:11px}.kypel-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#7c8a6f;margin-bottom:6px}.nft-symbol{color:#c49c57;font-size:18px;line-height:1}.kypel strong{display:block;font-size:11px;margin-bottom:4px}.kypel p{font-size:9px;line-height:1.7;color:#979981}.state-row{display:flex;justify-content:space-between;gap:15px;font-size:10px;margin:7px 0;color:#8c927f}.state-row strong{font-size:10px;color:#526a4f;font-weight:500;text-align:right;max-width:65%}.state-row.warning strong{color:#ae7753}.balance{font:24px var(--serif);color:#496e51}.balance small{font:10px var(--sans);color:#989e8b;margin-left:5px}.relationship{display:flex;align-items:center;gap:7px;color:#7f8b76;font-size:10px;padding:6px 0}.relationship i{font-style:normal;width:19px;height:19px;border-radius:50%;background:#ecead8;display:grid;place-items:center;font-size:9px}.privacy{margin:0 16px 16px;padding:12px;background:#f1f3e9;border-radius:7px;color:#8a917e;font-size:9px;line-height:1.6}.privacy strong{display:block;font-size:10px;color:#6d7d62;margin-bottom:4px}.inspector-footer{background:#f7f8ef;border-top:1px solid var(--line);padding:12px 20px;font-size:9px;color:#97a089;display:flex;align-items:center}.inspector-footer i{width:5px;height:5px;background:#93a781}.contract-head{padding:23px 22px 17px}.contract-head h2{font-size:25px;margin:4px 0 8px}.contract-head>p{font-size:11px;color:#8d9382}.contract-status{display:inline-block;font-size:10px;color:#5c815f;background:#ebf0e3;border-radius:6px;padding:5px 8px;margin-top:13px}.contract-status.warning{color:#ac7651;background:#f5e9dc}.contract-section{margin:0 22px;padding:15px 0;border-top:1px solid var(--line);font-size:10px;color:#848b79;line-height:1.7}.contract-section h3{font-size:10px;font-weight:650;color:#596f52;margin-bottom:7px}.contract-section p+p{margin-top:7px}.money-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.money-grid>div{border:1px solid #e2e6d8;border-radius:7px;padding:10px;background:#f8f9f0}.money-grid strong{display:block;color:#5a7553;font:20px var(--serif)}.money-grid small{font-size:9px}.page-footer{display:flex;align-items:center;justify-content:space-between;color:#a6aa9a;font-size:9px;margin-top:30px;padding-top:18px;border-top:1px solid var(--line)}.demo-label{position:fixed;bottom:0;left:0;right:0;z-index:10;min-height:28px;padding:6px 12px;background:#f9f8efed;border-top:1px solid #dfe3d2;text-align:center;font-size:9px;letter-spacing:.6px;color:#819074;backdrop-filter:blur(10px)}.demo-label span{color:#b2995d;margin-right:5px}dialog{border:1px solid #dce1ce;border-radius:16px;padding:24px;background:var(--card);color:var(--ink);width:min(760px,calc(100% - 30px));max-height:86vh;box-shadow:0 25px 100px #273e3530}dialog::backdrop{background:#273e3566;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;color:#8b9680;margin-bottom:4px}dialog h2{font-size:31px;margin-bottom:12px}dialog p{font-size:12px;color:#808a78;line-height:1.75}dialog .modal-intro{margin-bottom:20px}.branch-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.branch-option{border:1px solid #dbe2d1;border-radius:11px;padding:20px;text-align:left;background:#f3f6ed;display:flex;flex-direction:column;gap:12px}.branch-option.warning{background:#f8f0e5;border-color:#e9d8c0}.branch-option .branch-number{font:33px var(--serif);color:#7b9572}.branch-option.warning .branch-number{color:#b98f66}.branch-option strong{font:23px var(--serif);font-weight:400}.branch-option p{font-size:11px}.branch-option .choice-cta{font-size:11px;color:#577950;margin-top:auto;padding-top:10px}.branch-option.warning .choice-cta{color:#ae7c50}.modal-note{font-size:10px!important;padding:12px;background:#f3f4eb;border-radius:8px;margin-top:14px}.compare-clock{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0;padding:12px;background:#f3f5eb;border-radius:8px;font-size:11px}.compare-clock input{width:45%;accent-color:#4f7958}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compare-card{border:1px solid #dce3d1;background:#f6f8f0;border-radius:10px;padding:17px;min-width:0}.compare-card.warning{background:#faf3e9;border-color:#e8d9c2}.compare-card h3{font:22px var(--serif);margin:8px 0 15px}.compare-card p{font-size:11px}.compare-card dl{font-size:10px;margin:14px 0}.compare-card dt{color:#979b87;margin-top:8px}.compare-card dd{margin:1px 0 0;color:#596f50}.compare-card .solid-button{margin-top:10px}.compare-card.warning .solid-button{background:#b3835b}.people-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.person-option{display:flex;align-items:center;gap:10px;border:1px solid #e2e6d8;border-radius:8px;padding:10px;text-align:left}.person-option svg{border-radius:50%;flex-shrink:0}.person-option strong{display:block;font-size:11px}.person-option small{display:block;font-size:9px;color:#919987;margin-top:2px}.about-list{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.about-list h3{font-size:12px;margin-bottom:6px}.about-list p{font-size:11px}.entity-flow{display:grid;grid-template-columns:1fr;gap:9px;margin:20px 0}.entity-flow>div{padding:15px;background:#f1f4e9;border:1px solid #e0e5d3;border-radius:8px}.entity-flow small{display:block;color:#8b967c;font-size:9px;margin-bottom:4px}.entity-flow strong{font-size:13px;font-weight:500}.entity-flow p{font-size:10px;margin-top:5px}.toast{position:fixed;left:50%;bottom:43px;transform:translateX(-50%);background:#2e5142;color:#f9f8ec;border-radius:8px;padding:11px 18px;font-size:11px;z-index:30;box-shadow:0 5px 25px #304f4233;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;text-align:center}.toast.visible{opacity:1}
@media(min-width:1500px){main{padding-top:38px}.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:28px}h1{font-size:43px}.map{margin-top:5px}.story-card p{font-size:12px}.person-bio{font-size:12px}.inspector-section{padding:20px 0}}
@media(max-width:1180px){main{padding:25px 24px 45px}.workspace{grid-template-columns:minmax(0,1fr) 290px;gap:17px}h1{font-size:32px}.rail{flex-basis:68px}.map-caption{display:none}.population-button{padding:9px 11px}.population-button .avatar-stack{display:none}.map{min-height:340px}.story-card{gap:10px}.story-card h2{font-size:18px}.story-link{display:none}.timeline-actions{gap:10px}.playback{gap:3px}.playback>span{font-size:9px}.text-button{font-size:10px}.timeline-foot{align-items:flex-start}.map-bottom{font-size:8px;left:14px;right:14px}.inspector-section{margin:0 18px}.person-hero{padding:20px 18px 15px}}
@media(max-width:950px){.topbar{padding:0 23px;height:78px}.top-actions{gap:15px}.local-tag{font-size:9px}.page-heading p{max-width:480px}.workspace{grid-template-columns:minmax(0,1fr) 265px;gap:13px}main{padding:24px 18px 45px}.rail{flex-basis:60px}.rail-button{width:49px}h1{font-size:29px}.population-button{display:none}.map{min-height:310px;margin-top:37px;margin-bottom:30px}.map-top{left:13px;top:13px}.transport{align-items:flex-start;flex-wrap:wrap;gap:13px}.timeline-actions{margin-left:auto}.timeline-foot{font-size:8px}.story-card p{font-size:10px}.story-card h2{font-size:17px}.story-icon{width:28px;height:28px}.section-top{align-items:flex-start}.section-top h2{font-size:20px}.section-top .text-button{font-size:9px;padding-top:20px}.person-hero h2{font-size:23px}.page-footer span:last-child{display:none}}
@media(max-width:720px){.topbar{height:74px;padding:0 18px}.brand{font-size:23px}.brand-mark{width:37px;height:39px;line-height:40px;font-size:27px}.brand small{font-size:6px;letter-spacing:1.5px}.top-actions .local-tag{display:none}.top-actions .text-button{font-size:0}.top-actions .text-button span{font-size:18px}.rail{display:none}main{padding:24px 16px 56px}.page-heading{margin-bottom:23px}.eyebrow{font-size:9px}.page-heading .eyebrow .muted{font-size:8px}h1{font-size:32px;letter-spacing:-.8px;max-width:320px;margin:9px 0 10px}.page-heading p{font-size:11px;line-height:1.75;max-width:350px}.workspace{grid-template-columns:1fr;gap:24px}.world-card{border-radius:12px}.map{min-height:245px;margin-top:42px;margin-bottom:33px}.map-top{left:13px;right:13px;top:13px}.map-chip{font-size:9px;padding:6px 8px}.map-bottom{font-size:7px;bottom:10px;left:11px;right:11px}.map-bottom>span{gap:3px}.legend-route{margin-left:4px}.zoom-controls button{width:25px;height:25px}.story-card{padding:20px 0;gap:10px}.story-card .eyebrow{font-size:7px;letter-spacing:1px}.story-card h2{font-size:20px;line-height:1.35}.story-card p{font-size:11px}.story-icon{width:30px;height:30px;margin-top:4px}.timeline-card{padding-top:22px}.section-top h2{font-size:23px}.section-top .eyebrow{font-size:7px;letter-spacing:.8px}.section-top .text-button{font-size:9px;padding-top:22px}.timeline-scroll{margin-top:6px}.timeline{min-width:590px}.transport{gap:14px;padding-top:14px}.playback{gap:8px}.playback>span{font-size:10px}.timeline-actions{width:100%;justify-content:space-between;margin:0}.timeline-actions>.text-button{font-size:11px}.solid-button{font-size:11px;padding:11px 14px}.timeline-foot{margin-top:15px;align-items:center;font-size:8px;gap:15px}.timeline-foot>span{max-width:200px}.inspector{margin-top:0;scroll-margin-top:15px}.inspector-tabs{padding:0 22px;gap:28px}.inspector-tabs button{font-size:12px;padding:18px 2px}.person-hero{padding:21px 22px 18px}.hero-top{margin-bottom:13px}.person-hero h2{font-size:29px}.person-bio{font-size:12px}.person-role{font-size:12px}.inspector-section{margin:0 22px}.inspector-section .eyebrow{font-size:9px}.entity-link strong,.kypel strong{font-size:12px}.entity-link small,.kypel p{font-size:10px}.state-row,.state-row strong{font-size:11px}.privacy{font-size:10px}.inspector-footer{font-size:10px}.page-footer{margin-top:22px;font-size:9px}.demo-label{font-size:8px;letter-spacing:.1px;padding:8px 4px;min-height:30px}.people-list{grid-template-columns:1fr 1fr;gap:8px}.person-option{padding:8px;gap:7px}.person-option strong{font-size:10px}.person-option small{font-size:8px}.person-option svg{width:30px;height:30px}dialog{padding:19px;max-height:87vh}dialog h2{font-size:28px}.branch-options{gap:10px}.branch-option{padding:14px}.branch-option strong{font-size:21px}.branch-option p{font-size:10px}.compare-grid{gap:10px}.compare-card{padding:12px}.compare-card h3{font-size:20px}.compare-card p{font-size:10px}.compare-card .solid-button{font-size:10px;padding:10px}.compare-clock{font-size:10px;padding:10px}.compare-clock input{width:40%}.about-list{grid-template-columns:1fr;gap:17px}.modal-note{font-size:9px!important}.toast{font-size:10px;width:max-content;max-width:90vw}}
.compare-card .solid-button{white-space:normal;width:100%}
.mobile-people,.timeline-hint{display:none}
dialog[open]{display:flex;flex-direction:column}.modal-head{flex:0 0 auto}#modal-body{overflow:auto;min-height:0;overscroll-behavior:contain}.modal-disclaimer{flex:0 0 auto;border-top:1px solid #e1e5d7;font-size:8px;color:#849277;text-align:center;padding-top:12px;margin-top:15px;letter-spacing:.2px}
#modal-body{width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;padding-right:4px}.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-clock input{min-width:0;max-width:100%}
@media(max-width:720px){.mobile-people{display:block;padding:13px 0 0}.mobile-people>p{font-size:9px;color:#828e75;margin-bottom:8px}.mobile-people>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mobile-people button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dee3d3;border-radius:7px;background:#fbfaf2;min-height:40px;font-size:11px}.mobile-people svg{border-radius:50%}.mobile-people button[aria-pressed=true]{background:#e4ebdc;border-color:#8da681;color:#3c664d}.timeline-hint{display:block;font-size:8px;color:#8a957e;margin:4px 0 15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Dirección artística cómic pop. Conserva la estructura y los controles. */
:root{
  --paper:#fff8e9;--card:#fffef8;--ink:#29313f;--muted:#626b75;
  --line:#ddd9c9;--green:#147b83;--green-light:#def0e7;
  --orange:#ca604d;--orange-light:#ffe6d9;--yellow:#ffda57;
  --coral:#f77c68;--sky:#bce4ec;--violet:#c6b3e9;
  --serif:'Trebuchet MS','Segoe UI',sans-serif;
}
body{background:var(--paper);color:var(--ink)}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a03e9c;outline-offset:4px}
button:hover:not(:disabled){filter:none}
h1,h2,dialog h2{font-weight:850}
h1{font-size:39px;letter-spacing:-1.5px;line-height:1.12;text-shadow:2px 2px 0 #fff;max-width:790px}
h1>span{color:#e75d51;text-shadow:1px 1px 0 var(--ink)}
.topbar{border-bottom:2px solid var(--ink);background:#fffdf5}
.brand{font-weight:900;letter-spacing:-1.1px}
.brand-mark{border:2px solid var(--ink);border-radius:9px;box-shadow:3px 3px 0 var(--ink);transform:rotate(-5deg);background:var(--green);color:var(--yellow);font-weight:900}
.brand-mark>span{color:var(--yellow)}
.brand-light{font-weight:600;color:var(--green)}
.brand small{color:#57636b;letter-spacing:1.6px}
.local-tag{color:#57636b}.local-tag i{background:var(--green);border:1px solid var(--ink);width:7px;height:7px}
.text-button{color:#30545c;font-weight:650}
.rail{border-right:2px solid var(--ink);background:#fffdf6;gap:19px}
.rail-button{color:#596670;border:1.5px solid transparent;border-radius:9px}
.rail-button.active{background:var(--yellow);border-color:var(--ink);box-shadow:3px 3px 0 var(--ink);color:var(--ink)}
.rail-button:hover{background:#f6eed6}.vertical-text{color:#68747a}.rail-line{background:#adb2ae}
.page-heading{align-items:center}
.page-heading>.eyebrow,.page-heading>div>.eyebrow{display:inline-block;border:1.5px solid var(--ink);padding:3px 9px;background:var(--yellow);border-radius:4px;letter-spacing:1.3px;box-shadow:2px 2px 0 var(--ink)}
.page-heading .eyebrow .muted{color:#46515c}.tiny-sun{color:#855022}
.page-heading p{color:#59666c;font-size:12px}
.outline-button{background:#fffef8;border:2px solid var(--ink);border-radius:9px;box-shadow:3px 3px 0 var(--ink)}
.population-button strong{font-size:12px;font-weight:800}.population-button small{color:#616b71}
.avatar-stack i{border-color:#fffdf5;background:#ed8a60;color:#29313f;font-weight:800}.avatar-stack i:nth-child(2){background:#81c7d7}.avatar-stack i:nth-child(3){background:#bea4de}
.world-card{border:2px solid var(--ink);border-radius:11px;box-shadow:5px 5px 0 var(--ink);background:#e7f1e8;background-image:radial-gradient(#364e4420 .7px,transparent .85px);background-size:8px 8px}
.world-card:before{content:'';position:absolute;right:0;top:0;width:28%;height:28%;background:radial-gradient(#4a838b35 1px,transparent 1.3px);background-size:6px 6px;mask-image:linear-gradient(225deg,#000,transparent 75%);pointer-events:none}
.map-chip{border:1.5px solid var(--ink);background:#ffde65;box-shadow:2px 2px 0 var(--ink);font-size:10px;font-weight:750;color:var(--ink);border-radius:4px}
.live-dot{border:1px solid #24473c;width:7px;height:7px;background:#56a47e}
.map-caption{font-weight:750;color:#42616b;letter-spacing:1.2px;font-size:8px}
.map-bottom{color:#4d6461}.legend-dot{background:var(--green);border:1px solid var(--ink);width:7px;height:7px}.legend-route{color:var(--green)}
.zoom-controls{border:1.5px solid var(--ink);background:#fffef6;border-radius:4px;box-shadow:2px 2px 0 var(--ink)}
.zoom-controls button+button{border-left:1px solid var(--ink)}
.town-building>path{stroke:#3c4140;stroke-width:1.3;stroke-linejoin:round}
.town-building>path[fill="#000"]{stroke:none}
#town-svg>g[filter]>path{stroke:#5b795b;stroke-width:1.5;stroke-linejoin:round}
#town-svg>path[fill="#6dc5d7"]{stroke:#438d9e;stroke-width:1.5}
.map-label rect{fill:#fff2b7;fill-opacity:1;stroke:#384441;stroke-width:1.4;rx:3px}
.map-label text{fill:#344447;font-weight:750;font-size:10px;letter-spacing:1px}
.river-label{font-size:12px;font-weight:700;fill:#3b7c90;letter-spacing:1px}.compass{color:#435d66}
.map-person>circle{stroke:var(--ink);stroke-width:2.2;fill:#fff9e9}
.map-person.selected>circle{stroke:var(--ink);stroke-width:4;fill:var(--yellow)}
.map-person.selected>path{fill:var(--ink)}
.map-person:hover>circle,.map-person:focus-visible>circle{stroke:#b03c8d;stroke-width:4}
.map-person .person-name rect{fill:#fffdf3;stroke:var(--ink);stroke-width:1.4;rx:4px}
.map-person .person-name text{fill:var(--ink);font-size:12px;font-weight:750}
.map-person.selected .person-name rect{fill:var(--yellow);stroke:var(--ink);stroke-width:2}
.map-person.selected .person-name text{fill:var(--ink)}
.story-card{margin-top:20px;margin-bottom:20px;padding:20px 17px;border:2px solid var(--ink);border-radius:9px;background:#fffdf6;box-shadow:4px 4px 0 #e6b64c;gap:13px;min-height:130px;position:relative}
.story-card:before{content:'';position:absolute;top:-2px;left:18px;width:45px;height:4px;background:var(--yellow)}
.story-icon{background:var(--yellow);border:1.5px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink);color:var(--ink);font-weight:900;font-size:19px}
.story-icon.warning{background:var(--coral);color:var(--ink)}
.story-card .eyebrow{color:#5b626b;font-size:8px;font-weight:800}
.story-card h2{font-size:20px;font-weight:850;letter-spacing:-.55px}
.story-card p{font-size:11px;color:#58616b;line-height:1.7}
.story-link{font-weight:750;color:var(--green)}
.timeline-card{border:2px solid var(--ink);background:#fffdf6;border-radius:9px;padding:19px 17px 13px;box-shadow:4px 4px 0 var(--ink);position:relative}
.timeline-card:before{content:'';position:absolute;top:0;right:0;width:75px;height:40px;border-radius:0 7px 0 0;background:radial-gradient(#e7b85b55 1px,transparent 1.2px);background-size:5px 5px;pointer-events:none}
.section-top{position:relative}.section-top .eyebrow{color:#6b635b;font-weight:800}.section-top h2{font-size:22px;letter-spacing:-.6px}
.section-top .text-button{border:1.5px solid var(--ink);padding:6px 8px;background:#c8e8ed;box-shadow:2px 2px 0 var(--ink);border-radius:4px;font-size:10px}
.timeline{height:146px}.timeline svg{height:146px}
.time-line{stroke:#8e9491;stroke-width:3;stroke-linecap:round}.time-line.good{stroke:#489b9d}.time-line.warning{stroke:#e28d70}
.time-node .panel-shadow{fill:var(--ink);stroke:none}
.time-node .panel-frame{fill:#fff2b4;stroke:var(--ink);stroke-width:1.6}
.time-node.good .panel-frame{fill:#d3ece5}.time-node.warning .panel-frame{fill:#ffe0cb}
.time-node.current .panel-frame{fill:var(--green);stroke:var(--ink);stroke-width:2.6}
.time-node.current.warning .panel-frame{fill:#e97860;stroke:var(--ink)}
.time-node .panel-number{font-size:14px;font-weight:850;fill:#33424b;letter-spacing:.8px}
.time-node .panel-label{font-size:8px;font-weight:600;fill:#5c6468}
.time-node.current .panel-number{fill:#fffef5}.time-node.current.warning .panel-number{fill:var(--ink)}
.time-node.current .panel-label{fill:var(--ink);font-weight:850}
.time-node:focus-visible .panel-frame,.time-node:hover .panel-frame{stroke:#a43f91;stroke-width:3}
.branch-axis{fill:#227c86;font-weight:750;font-size:8px}.branch-axis.warning{fill:#a94e41}
.transport{border-top:1px dashed #929b97;padding-top:13px}
.icon-button{font-weight:800;color:var(--ink)}
.play-button{background:var(--yellow);border:2px solid var(--ink);color:var(--ink);width:35px;height:35px;box-shadow:2px 2px 0 var(--ink)}
.playback>span{color:#56636c;font-weight:650}.timeline-foot{color:#606a70}.timeline-foot .text-button{color:#5d6b72;text-decoration:underline;text-underline-offset:3px}
.solid-button{border:1.5px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink);background:var(--green);font-weight:750;padding:9px 12px}
.solid-button:hover:not(:disabled),.outline-button:hover:not(:disabled),.branch-option:hover:not(:disabled){transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
.inspector{border:2px solid var(--ink);border-radius:10px;box-shadow:4px 4px 0 var(--ink);background:#fffef8}
.inspector-tabs{border-bottom:2px solid var(--ink);background:#fff5d7;gap:22px}
.inspector-tabs button{font-size:12px;color:#5f6871;font-weight:650}
.inspector-tabs button[aria-selected=true]{color:var(--ink);font-weight:850}
.inspector-tabs button[aria-selected=true]:after{background:#ef735e;bottom:5px;height:5px;transform:skewX(-12deg)}
.inspector-tabs button span{border-color:#5a6570;background:#fffef4;color:#58616b}
.person-hero{padding-top:24px;background:linear-gradient(145deg,#fffef8 75%,#fff2d9)}
.hero-top{margin-bottom:17px}
.portrait{width:78px;height:78px;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);background:var(--yellow)}
.status-tag{background:#e0efe6;border:1px solid #8baba1;color:#42625c;font-size:9px;border-radius:4px}
.person-hero h2{font-size:27px;letter-spacing:-1px;font-weight:900}.person-role{color:#5b6972;font-size:11px}
.person-quote{position:relative;background:#fff2aa;border:1.6px solid var(--ink);box-shadow:2px 2px 0 var(--ink);border-radius:9px;padding:10px 11px;color:#3c4148;font-size:12px;font-weight:750;line-height:1.5;margin-top:18px;margin-bottom:10px}
.person-quote:before{content:'';position:absolute;width:10px;height:10px;top:-6px;left:22px;border-top:1.6px solid var(--ink);border-left:1.6px solid var(--ink);background:#fff2aa;transform:skewY(25deg) rotate(45deg)}
.person-bio{color:#616972;font-size:11px}.person-role .muted{color:#6c7279}
.inspector-section{border-color:#d6d7ca}.inspector-section .eyebrow{color:#58656b;font-weight:800}
.entity-icon{border:1.5px solid var(--ink);background:var(--sky);border-radius:5px;color:#315762}
.entity-link strong{font-weight:800;color:#334954}.entity-link small{color:#636e74}.entity-link>span:last-child{color:#3e6d77;font-weight:800}
.kypel{background:#f9f0dc;border:1px solid #aab1a5;box-shadow:2px 2px 0 #d8ccab;border-radius:6px}
.kypel-top{color:#5e665e;font-weight:650}.nft-symbol{color:#9c6b22}.kypel strong{font-weight:750}.kypel p{color:#656c6c}
.state-row{color:#667079}.state-row strong{color:#2d6b70;font-weight:650}.state-row.warning strong{color:#a94e41}
.balance{font-weight:850;color:#256a70;letter-spacing:-.7px}.balance small{letter-spacing:0;color:#657178}
.relationship{color:#54656c}.relationship i{background:#e5e0f2;border:1px solid #a39aaa;color:#554867;font-weight:750}
.privacy{background:#e7f1ed;border:1px dashed #88a89e;border-radius:5px;color:#5d706b}.privacy strong{color:#3f6159}
.inspector-footer{background:#f4efdf;color:#69736c;border-top:1px solid #d1d5c5}.inspector-footer i{background:var(--green)}
.contract-head{background:#fff8e5}.contract-head h2{font-size:25px;letter-spacing:-.8px}.contract-head>p{color:#657079}
.contract-status{background:#d2ece4;border:1px solid #7fa9a0;color:#2e6a64;font-weight:750;border-radius:4px}
.contract-status.warning{background:#ffe1cc;border-color:#cb957e;color:#974b3d}
.contract-section{color:#606c73}.contract-section h3{color:#344b56;font-size:11px;font-weight:800}
.money-grid>div{background:#fff1be;border:1px solid #b0ab8b;border-radius:4px}.money-grid strong{font-weight:850;color:#384b54}
.money-grid small{color:#626e6e}
dialog{border:2px solid var(--ink);border-radius:11px;background:#fffef6;box-shadow:7px 7px 0 #29313f}
dialog::backdrop{background:#263e4d77;backdrop-filter:blur(3px)}
.modal-head{color:#5c6874}.modal-head .eyebrow{font-weight:800}.modal-head .icon-button{border:1px solid transparent;border-radius:4px}
.modal-head .icon-button:hover{background:#fff0b9;border-color:var(--ink)}
dialog h2{font-size:30px;letter-spacing:-1px}dialog p{color:#5e6b72}
.modal-disclaimer{color:#5b6f71;border-top:1px solid #bfcac0}
.branch-option{border:2px solid var(--ink);border-radius:7px;background:#dff1e9;box-shadow:3px 3px 0 var(--ink)}
.branch-option.warning{background:#ffe2cf;border-color:var(--ink)}
.branch-option .branch-number{color:#216e78;font-weight:900;font-size:34px;font-style:italic}
.branch-option.warning .branch-number{color:#b34f43}.branch-option strong{font-weight:850;font-size:23px;letter-spacing:-.6px}
.branch-option .choice-cta{color:#285f68;font-weight:750}.branch-option.warning .choice-cta{color:#95473c}
.modal-note{background:#f4eedc;border:1px solid #d6cfbb;color:#5d6870}
.compare-clock{background:#fff0ba;border:1px solid #aaa88e;color:var(--ink);border-radius:5px}.compare-clock input{accent-color:var(--green)}
.compare-card{border:1.5px solid var(--ink);border-radius:6px;background:#ecf6ef;box-shadow:2px 2px 0 #8ab5ac}
.compare-card.warning{background:#fff0e4;border-color:var(--ink);box-shadow:2px 2px 0 #db9b81}
.compare-card .eyebrow{font-weight:850}.compare-card h3{font-weight:850;letter-spacing:-.7px}.compare-card p{color:#5e6c70}
.compare-card dt{color:#68757a}.compare-card dd{color:#32565c;font-weight:600}.compare-card.warning .solid-button{background:#b85044}
.person-option{border:1px solid #9eaaa6;border-radius:6px;background:#fffaf0;box-shadow:2px 2px 0 #e2d5b6}
.person-option strong{font-weight:750}.person-option small{color:#667178}.person-option svg{border:1px solid var(--ink)}
.entity-flow>div{background:#eaf3e9;border:1px solid #a3b6a7;border-radius:5px;box-shadow:2px 2px 0 #c1d6c5}
.entity-flow small{color:#566b65;font-weight:750}.entity-flow strong{font-weight:800}
.page-footer{color:#657477;border-color:#d0d4c7}.demo-label{background:#fff4caef;border-top:1.5px solid var(--ink);color:#435c62;font-weight:650}.demo-label span{color:#9b5b28}
.toast{background:#2f4656;color:#fff9e9;border:2px solid var(--ink);box-shadow:3px 3px 0 #e3b349;border-radius:6px}
.mobile-people>p,.timeline-hint{color:#52686c}
.mobile-people button{border:1.5px solid var(--ink);background:#fffdf3;box-shadow:2px 2px 0 #e2c88c;border-radius:5px;font-weight:650}
.mobile-people button[aria-pressed=true]{background:var(--yellow);border-color:var(--ink);color:var(--ink)}
@media(min-width:1500px){h1{font-size:43px}.person-bio{font-size:12px}}
@media(max-width:1180px){h1{font-size:34px}.story-card{padding:17px 13px}.story-card h2{font-size:18px}.timeline-card{padding:18px 12px 13px}.section-top .text-button{font-size:9px}.timeline-actions{gap:11px}.solid-button{font-size:10px;padding:9px}}
@media(max-width:950px){h1{font-size:31px}.section-top h2{font-size:19px}.section-top .text-button{font-size:8px}.person-hero h2{font-size:24px}.person-quote{font-size:11px}.inspector-tabs{gap:16px}}
@media(max-width:720px){
  .topbar{height:77px}.brand{font-size:23px}.brand-mark{font-size:27px}.brand small{font-size:6px;letter-spacing:1.3px}
  main{padding-top:25px}h1{font-size:33px;max-width:340px;line-height:1.08;margin-top:14px;letter-spacing:-1.1px}
  .page-heading>div>.eyebrow{font-size:8px;padding:3px 6px;letter-spacing:.8px}.page-heading .eyebrow .muted{font-size:7px}
  .page-heading p{font-size:11px;line-height:1.75}.world-card{box-shadow:4px 4px 0 var(--ink);border-radius:8px}
  .map-chip{font-size:9px}.map-bottom{font-size:7px}.zoom-controls button{min-width:25px}
  .story-card{margin-top:18px;margin-bottom:18px;padding:17px 12px;gap:10px;min-height:0;border-radius:7px}
  .story-card h2{font-size:20px;line-height:1.25;letter-spacing:-.6px}.story-card p{font-size:11px}.story-icon{width:28px;height:28px;font-size:17px}
  .story-card .eyebrow{font-size:7px;letter-spacing:.6px}.timeline-card{padding:17px 11px 13px;border-radius:7px;box-shadow:3px 3px 0 var(--ink)}
  .section-top{align-items:center;gap:7px}.section-top h2{font-size:20px;line-height:1.2}.section-top .eyebrow{font-size:6px;letter-spacing:.55px;max-width:160px}
  .section-top .text-button{font-size:8px;padding:6px;white-space:normal;max-width:97px;text-align:center}
  .timeline{height:148px;min-width:590px}.timeline svg{height:148px}.timeline-hint{font-size:8px;margin:6px 0 13px}
  .timeline-scroll{scrollbar-color:#849c9e #efe9d8;scrollbar-width:thin}.timeline-actions .solid-button{font-size:10px;padding:10px 11px}
  .person-hero h2{font-size:29px}.person-bio{font-size:12px}.person-quote{font-size:12px}.person-role{font-size:12px}.portrait{width:79px;height:79px}
  .person-option{min-width:0}.person-option strong{overflow-wrap:anywhere}.contract-section{font-size:11px}
  dialog{padding:18px;box-shadow:5px 5px 0 var(--ink);border-radius:9px}dialog h2{font-size:27px;line-height:1.16}
  .modal-head .eyebrow{font-size:8px;letter-spacing:1px}.branch-options{gap:10px;padding-right:3px;padding-bottom:4px}
  .branch-option{padding:12px;gap:10px}.branch-option strong{font-size:20px;line-height:1.2}.branch-option p{font-size:10px}.branch-option .choice-cta{font-size:10px}
  .compare-grid{padding-right:3px;padding-bottom:4px;gap:10px}.compare-card{padding:10px}.compare-card h3{font-size:20px}
  .compare-card p{font-size:10px}.compare-card .solid-button{font-size:10px;padding:9px 7px;line-height:1.5}
  .compare-clock{padding:9px;font-size:10px}.compare-card dl{font-size:10px}.modal-disclaimer{font-size:7px;letter-spacing:0;padding-top:10px;margin-top:12px}
  .demo-label{font-size:8px}.mobile-people button{min-height:42px}.page-footer{font-size:9px}
}
@media(max-width:360px){
  h1{font-size:30px}.brand{font-size:21px}.brand small{font-size:5px}.page-heading .eyebrow .muted{font-size:6px}
  .page-heading>div>.eyebrow{letter-spacing:.5px}.playback{gap:4px}.playback>span{font-size:9px}.timeline-actions>.text-button{font-size:10px}
  .section-top h2{font-size:18px}.timeline-foot .text-button{font-size:8px}.compare-card h3{font-size:17px}
}
