:root{font-family:Segoe UI,Arial,sans-serif;color:#263d31;background:#f4f2e8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #fbfaf3;--cream: #f4f2e8;--ink: #263d31;--muted: #697364;--line: #deded0;--green: #2c503c;--accent: #bd9060;--serif: Georgia, "Times New Roman", serif;--mono: "Cascadia Mono", Consolas, monospace}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9b794c;outline-offset:3px}button svg{flex:none}h1,h2,h3,p{margin:0}button{-webkit-tap-highlight-color:transparent}::selection{background:#d7dfba;color:#25422f}.app-shell{min-height:100vh}.site-header{height:70px;background:#fbfaf4;border-bottom:1px solid #e1e1d4}.header-inner{height:100%;max-width:1552px;margin:0 auto;padding:0 clamp(20px,3.4vw,54px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.brand{display:inline-flex;align-items:center;justify-self:start;gap:11px;text-align:left;padding:0;background:transparent;border:0}.brand>img{width:39px;height:39px;border-radius:8px;image-rendering:pixelated}.brand strong{display:block;color:#233d30;font:700 23px/.98 var(--serif);letter-spacing:-.75px}.brand small{display:block;color:#727968;margin-top:5px;font:700 8px/1 var(--mono);letter-spacing:.17em}.nav-tabs{display:flex;align-items:center;gap:5px}.nav-tabs button,.header-save{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:1px solid transparent;border-radius:7px;padding:9px 13px;font-size:13px;font-weight:650;color:#616d5d;white-space:nowrap}.nav-tabs button:hover,.header-save:hover{background:#f0f0e5;color:var(--ink)}.nav-tabs button.active{background:#e8eddf;color:#2d5039;border-color:#e0e6d6}.header-actions{justify-self:end;display:flex;align-items:center;gap:8px}.header-save{border-color:var(--line);padding:8px 12px;color:#4b5c4d}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:7px;flex:none;display:inline-grid;place-items:center;background:#fbfaf4;color:#4b5c4d}.icon-button:hover{background:#e8eddf;border-color:#c2c9b9}.page{max-width:1552px;margin:0 auto;padding:0 clamp(20px,3.4vw,54px) 15px}.settlement-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;min-height:115px;padding:21px 0 19px}.eyebrow{color:#6a7661;font:700 10px/1.2 var(--mono);letter-spacing:.14em}.region-label{display:flex;align-items:center;gap:7px;margin-bottom:7px}.region-label svg{color:#66835c}h1{font:700 clamp(35px,3.45vw,57px)/.99 var(--serif);letter-spacing:-.045em;color:#263e30;overflow-wrap:anywhere}.heading-right{display:flex;gap:9px;align-items:stretch}.hud-chip{min-width:128px;display:flex;gap:9px;align-items:center;padding:8px 11px 8px 8px;background:var(--paper);border:1px solid var(--line);border-radius:8px}.hud-icon{border-radius:6px;display:inline-grid;place-items:center;width:33px;height:33px;flex:none}.hud-icon.gold{background:#f0e7cc;color:#9b7745}.hud-icon.energy{background:#e7ebd7;color:#567a48}.hud-icon.residents{background:#e8ece3;color:#587464}.hud-chip>div{display:grid;align-content:center;gap:3px;min-width:0}.hud-chip small{white-space:nowrap;color:#697364;font:700 9px/1 var(--mono);letter-spacing:.08em}.hud-chip strong{white-space:nowrap;color:#2f4535;font:700 17px/1.04 var(--mono)}.hud-chip em{color:#788171;font:normal 11px/1 var(--mono)}.energy-meter{display:block;background:#e2e6d8;height:3px;border-radius:10px;overflow:hidden}.energy-meter i{display:block;background:#8aa268;height:100%}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(244px,21.2vw,313px);gap:16px;align-items:start}.game-column,.side-rail{min-width:0}.map-frame{position:relative;height:clamp(465px,calc(100vh - 300px),725px);isolation:isolate;overflow:hidden;border:1px solid #657e60;border-radius:12px;background:#8eaf68;box-shadow:0 2px 7px #344f3421}.map-frame.build-mode{outline:2px solid #b28d54;outline-offset:-2px}.world-canvas,.map-loading{position:absolute;inset:0}.world-canvas canvas{width:100%;height:100%;display:block;image-rendering:pixelated;touch-action:none}.map-loading{display:flex;align-items:center;justify-content:center;gap:12px;color:#304f3a;background:#a5ba83}.map-time{display:flex;gap:11px;align-items:center;position:absolute;top:15px;left:15px;z-index:3;padding:8px 13px 8px 10px;min-width:137px;border-radius:7px;background:#fbf7e6;border:1px solid #e7dabb;box-shadow:0 2px 4px #25392645;pointer-events:none}.map-time svg{color:#b6874e}.map-time div{display:flex;flex-direction:column;gap:4px}.map-time span{white-space:nowrap;display:flex;align-items:center;gap:6px;color:#77725c;font:700 9px/1 var(--mono);letter-spacing:.065em}.map-time i,.build-price i{width:3px;height:3px;background:#ab9b78;border-radius:50%}.map-time strong{font:700 16px/1 var(--mono);letter-spacing:-.045em}.map-buttons{position:absolute;top:15px;right:15px;display:flex;flex-direction:column;z-index:3;overflow:hidden;background:#fbf7e6;border:1px solid #e6dac0;border-radius:7px;box-shadow:0 2px 4px #28453540}.map-buttons button{background:none;border:0;height:34px;width:34px;display:grid;place-items:center;color:#465b46}.map-buttons button+button{border-top:1px solid #e4decb}.map-buttons button:hover{background:#e6e8cf}.map-bottom{position:absolute;inset:auto 14px 13px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.map-coords,.time-buttons,.map-mode,.interaction-hint{display:flex;align-items:center;background:#294135ed;color:#f4f0d9;border:1px solid #b7c09c62;border-radius:7px;box-shadow:0 2px 5px #2e4c3030}.map-coords{gap:6px;padding:6px 9px;font:700 11px/1.3 var(--mono)}.time-buttons{gap:3px;padding:4px;pointer-events:auto}.time-buttons button,.map-mode button{display:grid;place-items:center;background:transparent;border:0;border-radius:4px;color:#e8e8d1}.time-buttons button{min-width:28px;height:24px;padding:0 5px;font:700 11px/1 var(--mono)}.time-buttons button.active{background:#eee3b8;color:#334d38}.time-buttons button:not(.active):hover,.map-mode button:hover{background:#ffffff20}.map-mode,.interaction-hint{position:absolute;left:50%;transform:translate(-50%);z-index:4;gap:8px;padding:7px 10px;font-size:12px;font-weight:650;white-space:nowrap}.map-mode{bottom:14px}.map-mode button{width:22px;height:22px}.interaction-hint{bottom:54px;background:#f8f4e4;color:#344c3b;border-color:#e4d8ba}.toolbelt{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:8px 10px;min-height:65px;border-radius:10px;border:1px solid var(--line);background:var(--paper)}.tool-group,.belt-actions{display:flex;align-items:center;gap:6px;min-width:0}.tool-slot{width:clamp(36px,3.4vw,51px);height:44px;position:relative;flex:none;display:grid;place-items:center;border-radius:6px;background:#f0efe5;border:1px solid #e0dfd0}.tool-slot:hover{border-color:#bca780;background:#f1eddb}.tool-slot.selected{background:#e9e9d4;border-color:#7e9269;box-shadow:inset 0 0 0 1px #81956b4d}.tool-slot img{width:30px;height:30px;image-rendering:pixelated}.tool-slot i,.seed-count{position:absolute;color:#747b67;font:700 9px/1.2 var(--mono)}.tool-slot i{inset:4px auto auto 4px}.seed-count{inset:auto 3px 3px auto;background:#f9f3db;padding:0 2px;border-radius:3px}.tool-name{display:flex;flex-direction:column;gap:2px;padding-left:7px;overflow:hidden;white-space:nowrap}.tool-name strong{font-size:12px}.tool-name small{color:#737b6e;font-size:10px}.belt-actions{gap:8px}kbd{min-width:15px;display:inline-grid;place-items:center;padding:2px 3px;border-radius:3px;border:1px solid #dcdccc;background:#faf9ee;color:#586b58;box-shadow:0 1px #dfdfd0;font:700 9px/1 var(--mono);text-align:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 11px;border:1px solid #dbded0;border-radius:6px;background:#f7f7ed;color:#405846;font-size:12px;font-weight:650;text-align:center}.button:hover:not(:disabled){background:#ecf0e4;border-color:#b4c2ac}.button.primary{background:#315440;color:#f9f6e9;border-color:#315440}.button.primary:hover:not(:disabled){background:#40684c;border-color:#40684c}.button.danger{color:#895344;background:#f5ece2;border-color:#e6d2c3}.button.danger:hover:not(:disabled){background:#efddd1;border-color:#c19b86}.button:disabled{opacity:.48}.belt-actions .button{min-height:38px;padding-inline:11px;white-space:nowrap}.belt-actions .primary kbd{color:#eff1d8;background:#52705a;border-color:#6a826a;box-shadow:none}.side-rail{display:flex;flex-direction:column;gap:12px}.side-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:12px 13px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.card-title h2{display:inline-flex;align-items:center;gap:7px;font:700 17px/1.15 var(--serif)}.card-title h2 svg{color:#667f62}.card-icon{display:inline-grid;place-items:center;width:26px;height:26px;border:0;margin:-2px -2px -2px 0;border-radius:5px;background:none;color:#627460}.card-icon:hover{background:#e8eddf}.minimap-button{padding:0;width:100%;display:block;background:#375345;border:1px solid #748667;overflow:hidden;border-radius:6px;position:relative}.minimap-button:hover{border-color:#b3a370}.minimap-canvas{image-rendering:pixelated;display:block;width:100%}.north-mark{position:absolute;top:7px;right:8px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #f3edcb5c;border-radius:50%;background:#2d493c;color:#f0e7c7;font:700 10px/1 var(--mono)}.map-caption{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:8px;color:#707b6b;font-size:10px}.map-caption span{display:flex;gap:5px;align-items:center}.map-pin{width:7px;height:7px;border-radius:2px;background:#e4bf72;border:1px solid #b28c4a;transform:rotate(45deg);margin-left:2px}.stage-line{display:flex;align-items:center;gap:9px;padding:6px 0 10px}.stage-art{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e0e4d3;border-radius:7px;color:#648255;background:#eceddd}.stage-line div{display:grid;gap:3px}.stage-line small{color:#787e6e;font:700 9px/1 var(--mono);letter-spacing:.1em}.stage-line strong{font:700 15px/1.1 var(--serif)}.settlement-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#697461;font-size:11px}.settlement-meta span{display:flex;gap:6px;align-items:center}.settlement-meta strong{color:#4c674d;font:700 11px/1 var(--mono)}.town-progress{height:5px;margin:7px 0 9px;background:#e5e8d8;border-radius:5px;overflow:hidden}.town-progress i{height:100%;display:block;background:#89a36f}.ledger-link{display:flex;width:100%;gap:7px;align-items:center;padding:7px 0 0;border:0;border-top:1px solid #e8e7db;background:transparent;color:#526c55;font-size:11px;font-weight:650;text-align:left}.ledger-link svg:last-child{margin-left:auto}.ledger-link:hover{color:#293e2c}.quest-preview{border-top:1px solid #e8e7db;padding-top:9px}.soft-tag{display:inline-block;padding:4px 6px;border-radius:4px;color:#6b765c;background:#efeee0;font:700 9px/1 var(--mono);letter-spacing:.06em;white-space:nowrap}.quest-preview h3{padding:7px 0 5px;font:700 16px/1.1 var(--serif)}.quest-objective{display:flex;gap:7px;align-items:center;margin-top:6px;color:#5d6b5b;font-size:11px}.check-box{flex:none;display:grid;place-items:center;width:13px;height:13px;border:1px solid #c5cdba;border-radius:3px;background:#f8f7ed;color:#4f714d}.check-box.done{background:#e0e9d5;border-color:#92a488}.count{margin-left:auto;color:#6e7966;font:700 10px/1 var(--mono)}.quiet{font-size:12px;color:var(--muted)}.game-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 0 0;color:#75806e;font-size:11px}.footer-controls,.footer-status,.footer-controls>span,.footer-controls button,.footer-status button,.save-status{display:flex;align-items:center;gap:6px}.footer-controls,.footer-status{gap:11px}.footer-controls>span{gap:3px;white-space:nowrap}.footer-controls>span kbd:last-of-type{margin-right:3px}.footer-controls>i{width:1px;height:12px;background:#e0e1d2}.footer-controls button,.footer-status button{border:0;background:transparent;padding:0;color:#65755f;font-weight:650}.footer-controls button:hover,.footer-status button:hover{color:#2c503c}.save-status{white-space:nowrap;gap:5px}.save-status i{width:6px;height:6px;background:#88a372;border-radius:50%}.version{font:700 10px/1 var(--mono);opacity:.75}.notify{background:#dbb676;color:#463c26;padding:2px 4px;border-radius:3px;font:700 9px/1 var(--mono)}.toast{position:fixed;z-index:50;bottom:25px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100vw - 32px);background:#294b39;color:#f9f7e9;border:1px solid #65816b;padding:10px 15px;border-radius:8px;box-shadow:0 5px 20px #223b3753;font-size:13px;pointer-events:none}.toast.bad{background:#744d40;border-color:#a67c64}.modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:22px;background:#243e35a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-panel{width:min(100%,565px);max-height:min(86vh,900px);display:flex;flex-direction:column;background:#fbf9ee;border:1px solid #d6cfb8;border-radius:13px;outline:none;overflow:hidden;box-shadow:0 20px 70px #1f362f6b}.modal-panel.wide{width:min(100%,791px)}.modal-header{background:#f5f2e4;border-bottom:1px solid #e2dece;padding:17px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-header .eyebrow{text-transform:uppercase;margin-bottom:5px}.modal-header h2{font:700 clamp(25px,3.2vw,36px)/1.05 var(--serif);letter-spacing:-.035em}.modal-scroll{overflow:auto;padding:19px 22px 22px;scrollbar-color:#b0baa7 #f4f2e8}.modal-scroll p{font-size:13px;line-height:1.55;color:#687360}.modal-scroll h3{color:#2d4435;font:700 18px/1.18 var(--serif)}.modal-scroll label{display:grid;gap:5px;color:#65715f;font-size:12px;font-weight:650}.modal-scroll input:not([type=range]),.modal-scroll select,.modal-scroll textarea{min-width:0;width:100%;min-height:34px;border:1px solid #d8ddcb;border-radius:6px;padding:6px 9px;background:#fffdf5;color:#314c38;font-size:13px}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.choice-list{display:grid;gap:7px}.choice-list>.button{justify-content:space-between;text-align:left}.notice,.empty-box{padding:12px;border:1px solid #e5dfcd;border-radius:7px;background:#f4f0e3;color:#697360;font-size:13px}.notice .button-row,.notice>button{margin:8px 7px 0 0}.subheading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0 9px;color:#748069;font-size:11px}.subheading:first-child{margin-top:0}.subheading h3{display:inline-flex;gap:7px;align-items:center}.slot-list{display:grid;gap:7px}.slot-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:#385441;background:#f5f5e9;border:1px solid #e2e4d5;border-radius:7px;padding:8px 10px}.slot-row:hover,.slot-row.selected{background:#ebefdf;border-color:#9caf96}.slot-index{width:33px;height:30px;display:grid;place-items:center;border:1px solid #dae1cb;border-radius:5px;background:#e5ead8;font:700 13px/1 var(--mono)}.slot-row strong,.slot-row small{display:block}.slot-row strong{font:700 15px/1.2 var(--serif)}.slot-row small{color:#6e7866;font-size:11px;margin-top:3px}.slot-row .soft-tag{margin-left:auto}.save-actions{margin:11px 0 17px}.new-game{display:grid;gap:9px;padding:13px;background:#f3f0e3;border:1px solid #e5e0cf;border-radius:7px}.new-game .button{justify-self:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.input-row{display:flex;gap:5px}.menu-saves>.notice{margin-top:10px}.main-menu{text-align:center}.main-menu>img{width:78px;height:78px;border-radius:12px;image-rendering:pixelated;margin-bottom:9px}.main-menu .choice-list{max-width:310px;margin:14px auto 0}.main-menu .choice-list .button{justify-content:center}.panel-tabs{margin-bottom:12px}.segmented{display:inline-flex;background:#eceee0;border:1px solid #dfe3d2;border-radius:7px;padding:3px;gap:2px}.segmented button{border:1px solid transparent;border-radius:4px;color:#6b7863;background:transparent;font-size:12px;font-weight:650;padding:5px 9px;text-transform:capitalize}.segmented button.selected{background:#fcfaf1;border-color:#dfe3d2;color:#3d5d45}.quest-entry{padding:12px;margin-top:8px;background:#f7f6ec;border:1px solid #e4e4d5;border-radius:7px}.quest-entry .quest-objective{font-size:12px}.quest-entry .button,.quest-entry .choice-list{margin-top:8px}.quest-entry .choice-list .button{margin-top:0}.quest-entry .soft-tag{text-transform:uppercase}.quest-giver{display:block;margin:7px 0 0;font-size:12px;font-weight:650}.event-history{margin-top:15px}.event-history p{margin-top:4px}.event-history p span{color:#4e6a50;font-weight:650;margin-right:5px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.stat-grid>div{position:relative;display:grid;gap:4px;padding:10px;border:1px solid #e1e5d5;border-radius:7px;background:#edf0e4}.stat-grid>div>svg{color:#73916e}.stat-grid small{color:#6a7862;font-size:11px}.stat-grid strong{color:#304d3a;font:700 17px/1 var(--mono)}.stage-list{display:grid;gap:6px}.stage-list>div{display:flex;align-items:center;gap:10px;padding:7px;background:#f6f5ea;border:1px solid #e5e4d7;border-radius:6px}.stage-list>div.current{background:#eaf0df;border-color:#b3c1a7}.stage-marker{width:25px;height:25px;display:grid;place-items:center;flex:none;border:1px solid #d0d9c2;border-radius:50%;background:#e8ecdb;font:700 11px/1 var(--mono)}.stage-list strong,.stage-list small{display:block}.stage-list strong{font-size:13px}.stage-list small{color:#788270;font-size:11px;margin-top:2px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-grid article{border:1px solid #e2e4d5;border-left:3px solid var(--npc-color);padding:9px;border-radius:5px}.profile-grid strong,.profile-grid small{display:block}.profile-grid small{color:#6d7a67;font-size:11px;margin:2px 0 5px}.profile-grid article span{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:10px;color:#697b65}.ledger-chart{display:flex;gap:7px;height:150px;padding:9px 9px 4px;background:repeating-linear-gradient(to top,#e8e9dc 0 1px,transparent 1px 32px),#f6f6ea;border:1px solid #e0e5d5;border-radius:7px}.bar-group{display:grid;grid-template-rows:1fr 16px;gap:3px;flex:1;min-width:0}.bar-group small{color:#6c775f;text-align:center;font:700 10px/1 var(--mono)}.plot-bars{display:flex;justify-content:center;align-items:end;gap:3px}.plot-bars i{display:block;background:#79966c;width:min(24px,45%);min-height:1px;border-radius:3px 3px 0 0}.plot-bars .expense,.chart-key .expense{background:#c08d73}.chart-key{display:flex;gap:12px;margin:7px 0;color:#707b67;font-size:11px}.chart-key span{display:inline-flex;gap:5px;align-items:center}.chart-key i{width:8px;height:8px;background:#79966c;border-radius:2px}.ledger-table{border-collapse:collapse;width:100%;font-size:12px;margin-top:10px}.ledger-table tr{border-bottom:1px solid #e2e4d7}.ledger-table th,.ledger-table td{text-align:left;padding:6px 4px}.resource-select{max-width:155px;margin-bottom:8px}.survey{display:grid;grid-template-columns:minmax(100px,1.3fr) 1fr;align-items:center;gap:14px}.survey canvas{border-radius:6px;border:1px solid #677e66}.survey .soft-tag{white-space:normal;overflow-wrap:anywhere;margin-top:8px}.settings-panel>.subheading:not(:first-child){margin-top:18px}.settings-panel .volume-row{display:grid;grid-template-columns:78px minmax(45px,1fr) 36px;align-items:center;margin:9px 0;text-transform:capitalize}.volume-row output{text-align:right;font:700 11px/1 var(--mono)}.volume-row input{width:100%;accent-color:#58775b}.help-panel dl{display:grid;gap:6px;margin:0 0 12px}.help-panel dl div{display:grid;grid-template-columns:130px 1fr;gap:8px;border-bottom:1px solid #e6e6d8;padding:6px 0;font-size:12px}.help-panel dt{font-weight:700}.help-panel dd{margin:0;color:#657361}.help-panel .button{margin-top:10px}.rest-panel{display:grid;gap:8px;text-align:center}.rest-icon{width:52px;height:52px;display:grid;place-items:center;color:#796f57;border:1px solid #dedcc5;background:#f2ecd4;margin:0 auto 4px;border-radius:50%}.rest-panel .button-row{justify-content:center;margin-top:5px}.dialogue-profile{display:flex;align-items:center;gap:12px;margin-bottom:12px}.dialogue-profile img{width:70px;height:68px;object-fit:contain;image-rendering:pixelated;background:#e9ecd9;border:1px solid #e2dfcf;border-radius:7px}.dialogue-profile strong{font:700 18px/1.1 var(--serif)}.dialogue-profile span{display:inline-flex;align-items:center;gap:4px;color:#816972;font-size:11px}.dialogue-profile small{color:#667366;font-size:11px}blockquote{margin:0 0 12px;padding:13px;background:#eeeee0;border-left:3px solid #a9b597;border-radius:4px;color:#3a5941;font:700 17px/1.45 var(--serif)}.npc-quest{padding:10px;background:#f4f2e6;margin-bottom:8px;border-radius:6px}.npc-quest .button,.dialogue-panel>.primary{margin-top:6px}.build-toolbar{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}.build-toolbar>span{display:inline-flex;gap:6px;align-items:center;color:#6e7b68;font-size:12px}.blueprint-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.blueprint{display:flex;align-items:stretch;gap:9px;padding:7px;min-height:83px;border:1px solid #dde2d0;border-radius:7px;background:#f8f7eb;text-align:left}.blueprint:hover:not(:disabled){border-color:#9aab91;background:#eef1e2}.blueprint:disabled{filter:saturate(.45);opacity:.7}.blueprint-picture{width:72px;display:grid;place-items:center;flex:none;background:#eaeedb;border-radius:5px;overflow:hidden}.blueprint-picture img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.blueprint-copy{display:grid;gap:4px;align-content:center;width:100%}.blueprint-copy strong{font:700 16px/1.04 var(--serif)}.blueprint-copy small{color:#6d7a69;font-weight:450;font-size:11px;line-height:1.25}.blueprint-copy .soft-tag{justify-self:start;white-space:normal}.build-price{display:flex;align-items:center;gap:5px;color:#876c47;font:700 10px/1.2 var(--mono)}.market-controls{display:flex;gap:9px;align-items:end;margin-bottom:10px}.market-controls input{flex:1}.market-controls .quantity{min-width:66px}.market-list{display:grid;gap:6px}.market-list article{display:flex;gap:9px;align-items:center;background:#f5f5e9;border:1px solid #e4e5d7;border-radius:7px;padding:7px}.market-list article>img{image-rendering:pixelated;width:37px;height:37px;flex:none;padding:4px;background:#ececdd;border-radius:5px}.market-list strong,.market-list small{display:block}.market-list strong{font-size:13px}.market-list small{margin-top:2px;font-size:11px;color:#6f7a67}.market-list .button{margin-left:auto;flex:none}.bag-tools{display:flex;flex-wrap:wrap;gap:5px}.bag-tools img{width:22px;height:22px;image-rendering:pixelated}.editor-tabs{margin-bottom:10px}.editor-grid{display:grid;grid-template-columns:minmax(120px,.55fr) minmax(130px,1fr);gap:10px}.editor-grid>div>.button{display:flex;margin-top:7px;width:100%}.editor-grid textarea{min-height:270px;height:34vh;resize:vertical;font:12px/1.4 var(--mono)}.editor-preview{margin-top:10px;padding:9px;background:#eeefe1;border:1px solid #e2e5d5;border-radius:7px;overflow-wrap:anywhere}.editor-preview img{display:block;width:74px;max-height:72px;object-fit:contain;image-rendering:pixelated;margin-bottom:5px}.editor-preview small{color:#6c7d63;font-size:11px}.editor>.button-row:last-child,.editor>.notice{margin-top:10px}.validation{color:#8d5743;font-size:12px;background:#f7eee3;border:1px solid #ecdccb;border-radius:5px;padding:8px 8px 8px 24px}@media(min-width:1500px){.map-frame{height:clamp(505px,calc(100vh - 301px),735px)}}@media(max-width:1130px){.tool-name{display:none}}@media(max-width:920px){.heading-right{gap:5px}.hud-chip{min-width:auto;gap:6px;padding:6px}.hud-icon{width:29px;height:29px}.game-layout{grid-template-columns:minmax(0,1fr) 223px;gap:10px}.belt-bag span,.belt-actions kbd{display:none}.tool-slot{width:36px}.tool-group{gap:4px}.toolbelt{gap:4px;padding-inline:7px}.side-card{padding-inline:10px}}@media(max-width:740px){.site-header{height:59px}.header-inner{padding-inline:13px;gap:8px}.brand strong{font-size:17px}.brand>img{width:31px;height:31px}.brand small,.header-save span{display:none}.brand{gap:6px}.nav-tabs{gap:2px}.nav-tabs button{font-size:0;gap:0;padding:7px}.nav-tabs button svg{width:17px;height:17px}.header-actions{gap:4px}.header-save,.header-settings{width:31px;height:31px;padding:0}.page{padding-inline:13px}.settlement-heading{flex-direction:column;align-items:start;min-height:111px;gap:10px;padding:14px 0 11px}.heading-right{width:100%}.hud-chip{flex:1}.game-layout{grid-template-columns:1fr}.map-frame{height:clamp(398px,61vh,550px)}.side-rail{display:grid;grid-template-columns:1fr 1fr}.journal-card{grid-column:1 / -1}.game-footer{flex-wrap:wrap}}@media(max-width:450px){.brand strong{font-size:15px}.tool-slot{width:31px;height:37px}.tool-slot img{width:26px;height:26px}.belt-actions .button{min-height:34px;padding:5px 7px}.belt-build span{display:none}.side-rail{gap:8px}.modal-backdrop{padding:10px}.modal-scroll,.modal-header{padding:13px}.blueprint-grid,.profile-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.form-grid,.survey{grid-template-columns:1fr}}:root:lang(zh-CN){font-family:Segoe UI,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,sans-serif;--serif: Georgia, "Noto Serif CJK SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;--mono: "Cascadia Mono", Consolas, "Microsoft YaHei", "PingFang SC", monospace}:lang(zh-CN) :is(.eyebrow,.hud-chip small,.soft-tag,.brand small,.map-time span,.stage-line small){letter-spacing:.03em}:lang(zh-CN) :is(h1,.modal-header h2,.card-title h2,.quest-preview h3,.blueprint-copy strong){line-height:1.22;letter-spacing:0}:lang(zh-CN) :is(.quest-objective,.blueprint-copy small,.save-status,.map-caption,.editor-preview p){line-height:1.5}.locale-picker{display:inline-flex;min-width:0;align-items:center;justify-content:flex-start;gap:5px;height:36px;border:1px solid var(--line);border-radius:7px;padding-inline:7px 3px;background:var(--paper);color:#4b5c4d;font-size:12px;font-weight:650;white-space:nowrap}.locale-picker:hover{background:#eef1e5;border-color:#c2c9b9}.locale-picker>svg{flex:none}.locale-picker select{min-width:0;padding:3px 2px;color:inherit;background:transparent;border:0;cursor:pointer}.modal-actions{display:flex;align-items:center;gap:8px;flex:none}.modal-header h2{overflow-wrap:anywhere}.modal-scroll :is(.subheading,.build-toolbar,.build-price,.market-controls){flex-wrap:wrap}.modal-scroll :is(.subheading,.dialogue-profile,.blueprint-copy,.slot-row,.market-list article,.choice-list){overflow-wrap:anywhere}.editor-translation{display:grid;gap:7px;align-content:start;min-width:0}.editor-translation select{max-width:150px}.map-mode,.interaction-hint{max-width:calc(100% - 28px);white-space:normal;overflow-wrap:anywhere}.map-mode button{flex:none}@media(max-width:740px){.header-inner{grid-template-columns:minmax(0,1fr) auto auto}.brand{min-width:0}.brand strong{text-wrap:balance}.locale-picker{height:31px}.header-actions .locale-picker>svg{display:none}}@media(max-width:410px){.header-inner{gap:5px;padding-inline:9px}.header-inner .brand>span{display:none}.modal-actions{gap:4px}.game-footer .footer-status{flex-wrap:wrap}}:root{--paper: #fcf7e9;--cream: #f3ecda;--line: #dfd3b5;--green: #304f3e;--amber: #b79153}body{background:radial-gradient(ellipse at 12% 4%,#fffae8 0,transparent 49%),var(--cream)}.site-header{height:61px;background:#faf5e7;border-bottom:1px solid #d5c7a6}.brand>img{box-shadow:0 2px #b69d66;border-radius:7px}.nav-tabs button.active{background:#e0e9d3;border-color:#bfcaa9;box-shadow:inset 0 -2px #bbc7a4}.settlement-heading{min-height:105px;padding-block:15px 16px}.hud-chip,.side-card,.toolbelt{box-shadow:inset 0 1px #fff8e5,0 2px #d9cbaa55}.hud-chip{border-color:#e2d4b5}.hud-icon.gold{background:#efe1b8}.map-frame{border:3px solid #526444;border-radius:9px;box-shadow:0 2px #af9b6b,0 4px 16px #4c4c312d}.game-layout.onboard .map-frame{height:clamp(405px,calc(100vh - 337px),680px)}.game-layout.rail-hidden{grid-template-columns:minmax(0,1fr)}.map-time,.map-buttons{background:#f9f1db;border-color:#d9c299;box-shadow:0 2px #514e3870,0 3px 10px #25453833}.map-time.clock-stopped{border-color:#d8b06c;background:#ffedc4}.clock-state{color:#5e7859;font-size:10px;font-weight:750}.clock-stopped .clock-state{color:#8d6044}.toolbelt{background:linear-gradient(180deg,#fbf2dd,#f0e3c7);border-color:#d7c4a0}.tool-slot{background:#ece3ca;border-color:#d8c59d;box-shadow:inset 0 2px 1px #dbcba6}.tool-slot.selected{background:#e1e8cb;border-color:#82986b;box-shadow:inset 0 0 0 1px #f9f4cfa0,0 2px #9ca578}.tool-name small{white-space:normal}.side-card{background:linear-gradient(180deg,#fdf7e8,#f9f1de)}.card-title{border-bottom:1px solid #e7dcbf;padding-bottom:5px}.quest-preview{border-top:0;padding-top:0}.quest-preview h3{color:#503e2d}.quest-legend{color:#835d35}.quest-legend strong{min-width:0;overflow-wrap:anywhere;text-align:right;font-weight:650}.quest-legend .map-pin{background:#edb86e;border-color:#865d43}.quest-locate{margin-top:8px}.quest-arrow{position:absolute;z-index:5;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:4px;min-height:26px;white-space:nowrap;padding:3px 7px;background:#f5deaa;color:#573e2b;border:1px solid #78583e;border-radius:5px;box-shadow:0 2px #4d4e3e8b;font-size:10px;font-weight:750}.quest-needle{display:inline-block;font-size:15px}.survey-target{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.survey-target button{margin-top:6px}.tutorial-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;margin-top:9px;border:1px solid #d4c597;border-radius:8px;background:#faf1d7}.tutorial-icon{display:grid;place-items:center;width:38px;height:38px;background:#e6e8c9;color:#617d4e;border:1px solid #d6d9b4;border-radius:7px}.tutorial-copy small,.tutorial-copy strong{display:block}.tutorial-copy small{color:#756746;font-size:10px}.tutorial-copy strong{color:#3f553b;font:700 15px/1.35 var(--serif);margin-block:1px}.tutorial-copy p{color:#645946;font-size:12px;line-height:1.45}.modal-panel{background:#fcf6e6;border-color:#d8c6a0;box-shadow:0 20px 65px #182d25a4,inset 0 1px #fffbe7;animation:field-panel-enter .14s ease-out both}.modal-header{background:#f5e9cc;border-bottom-color:#dcccaa}.modal-scroll{overscroll-behavior:contain}@keyframes field-panel-enter{0%{opacity:.35;transform:translateY(5px) scale(.993)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.modal-panel{animation:none}}.quest-entry,.npc-quest{background:#faf0d9;border:1px solid #e3d7b4}.quest-entry.tracked{border-color:#adad76;background:#f1eed4}.quest-entry.focused{box-shadow:0 0 0 2px #dfbf86 inset}.quest-title{display:inline-flex;align-items:center;gap:6px;text-align:left;border:0;background:transparent;padding:1px 0;color:#3c583d;font:inherit}.quest-entry .quest-title{margin-top:0}.quest-goal{margin-block:6px}.objective-method{display:block;margin:2px 0 0 20px;color:#75674d;font-size:11px;line-height:1.6}.quest-return{margin-top:7px;font-weight:650}.quest-rewards{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;font-size:11px;color:#715c3e}.quest-rewards strong{display:inline-flex;align-items:center;gap:4px;margin-right:2px}.quest-rewards span{padding:3px 6px;border:1px solid #dfd0a6;background:#f9f0cf;border-radius:4px}.toast.reward{background:#42664c;border-color:#d6b66b;box-shadow:0 0 0 2px #cfb06b4a,0 6px 18px #2d423d80}.toast.reward svg{color:#f3d283}.council-sheet{padding:11px 12px;border:1px solid #e1d4b0;border-radius:9px;margin-top:12px;background:#fbf3de}.council-growth{background:#eff0d9;border-color:#d8deba}.growth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.growth-metric{display:grid;gap:4px;padding:7px;border:1px solid #dadcbe;border-radius:6px;background:#f8f5df}.growth-metric>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}.growth-metric strong,.growth-metric small{font-size:12px}.growth-metric span{display:inline-flex;align-items:center;gap:3px;color:#86633e;font-size:10px}.growth-metric.met span{color:#456947}.growth-metric progress{appearance:none;width:100%;height:7px;border:0;border-radius:4px;overflow:hidden;background:#e8dec0}.growth-metric progress::-webkit-progress-bar{background:#e8dec0}.growth-metric progress::-webkit-progress-value{background:#8da36f}.growth-metric progress::-moz-progress-bar{background:#8da36f}.council-unlocks{display:grid;gap:5px;margin-top:10px}.council-unlocks strong{display:flex;align-items:center;gap:6px;font-size:12px}.migration-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:9px 0}.migration-facts div{padding:6px;border-left:2px solid #aebd94}.migration-facts dt{font-size:11px;color:#6d7259}.migration-facts dd{margin:3px 0 0;font-weight:750}.migration-summary{padding:6px 8px;border-radius:5px;background:#ebeed6}.migration-summary.blocked{background:#f2e2ba;color:#7b5b3e}.migration-blocks{padding-left:21px;margin:6px 0 0;color:#795b41;font-size:12px}.advisor-list{display:grid;gap:5px}.advisor-list article{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #e8ddbf;padding-top:5px}.advisor-list p{flex:1 1 250px}.town-directory{margin-top:11px;padding:8px;border:1px solid #e4d7b9;border-radius:6px}.town-directory summary{cursor:pointer;color:#56684c;font-size:12px;font-weight:700}.town-directory .stage-list{margin-top:6px}.town-inbox{display:grid;gap:7px;list-style:none;margin:0;padding:0}.town-inbox li{display:flex;align-items:flex-start;gap:8px;padding:8px;background:#f9efd7;border:1px solid #e6d7b1;border-radius:7px}.town-inbox strong,.town-inbox small{display:block}.town-inbox strong{font-size:13px}.town-inbox small{margin-top:2px;color:#75664d;font-size:11px}.notice-icon{display:grid;place-items:center;width:33px;height:33px;flex:none;color:#5f7b58;background:#e9ebd0;border-radius:5px}.help-topics{display:grid;gap:6px}.help-topics details{border:1px solid #e3d6b5;background:#faf1db;border-radius:6px;padding:8px}.help-topics summary{cursor:pointer;color:#435c45;font-weight:700;font-size:13px}.help-topics details>p,.help-topics details>dl{margin-block:7px 2px}.guide-actions{margin-top:6px}.experience-settings{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:10px}.experience-settings .check-setting{display:flex;align-items:center;min-height:35px}.dialogue-panel .dialogue-profile img{width:78px;height:79px;padding:4px}:lang(zh-CN){line-height:1.45}:lang(zh-CN) .modal-scroll p{font-size:14px;line-height:1.65}:fullscreen .page{max-width:none;padding-inline:14px}:fullscreen .site-header{height:47px}:fullscreen .header-inner{max-width:none;padding-inline:14px}:fullscreen .settlement-heading{min-height:0;padding-block:6px 9px}:fullscreen .settlement-heading h1{font-size:clamp(22px,2.6vw,33px)}:fullscreen .region-label,:fullscreen .tutorial-strip{display:none}:fullscreen .map-frame,:fullscreen .game-layout.onboard .map-frame{height:calc(100dvh - 175px);min-height:350px}@media(max-width:740px){.game-layout.onboard .map-frame{height:clamp(370px,59vh,520px)}.migration-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-grid{gap:4px}.tutorial-strip{gap:5px}.tutorial-icon{width:30px;height:30px}.tutorial-copy p{font-size:11px}}.world-preview{width:min(100%,285px);height:auto;display:block;image-rendering:pixelated;border:3px solid #769171;border-radius:6px}.world-chart{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.64fr);gap:14px;align-items:start}.chart-drawing canvas{aspect-ratio:1;width:min(100%,56vh);display:block;image-rendering:pixelated;touch-action:none;cursor:crosshair;border:3px solid #697d64;border-radius:6px}.chart-drawing .button-row{margin:8px 0}.chart-tools,.chart-results{display:grid;gap:5px;min-width:0}.chart-results{max-height:38vh;overflow-y:auto}.chart-results button{justify-content:start;text-align:start}.chart-results small{margin-inline-start:auto;white-space:nowrap}.chart-legend{display:flex;flex-wrap:wrap;gap:5px 10px;margin-block:5px}.chart-legend label{display:inline-flex;align-items:center;gap:5px}.modal-scroll .chart-legend input[type=checkbox]{width:14px;height:14px;min-height:0;margin:0;padding:0;accent-color:#6b8252}.modal-panel.full-map-panel{width:min(100%,1240px);max-height:calc(100dvh - 27px)}.full-map-panel .chart-drawing canvas{width:min(100%,65dvh)}.full-map-panel .world-chart{grid-template-columns:minmax(0,1fr) minmax(200px,.52fr)}.full-map-panel .chart-results{max-height:47dvh}@media(max-width:690px){.full-map-panel .world-chart{grid-template-columns:1fr}.full-map-panel .chart-drawing canvas{width:min(100%,44dvh)}.full-map-panel .chart-results{max-height:23dvh}}.mini-legend{display:flex;flex-wrap:wrap;gap:7px;color:#596a57;font-size:10px;margin-top:4px}.mini-legend span{display:inline-flex;align-items:center;gap:3px}.mini-legend i,.chart-legend i,.chart-results i{display:inline-block;width:8px;height:8px;flex:none;border:1px solid #475641}.chart-drawing [aria-pressed=true]{outline:2px solid #8c9764}.survey-world .survey-target{margin-top:10px}@media(max-width:600px){.world-chart{grid-template-columns:1fr}.chart-drawing canvas{width:min(100%,49vh)}.chart-results{max-height:24vh}}.game-layout .map-frame,.game-layout.onboard .map-frame{height:clamp(360px,calc(100dvh - 245px),760px)}.game-layout .toolbelt{min-height:43px;margin-top:7px;padding-block:3px}.toolbelt .tool-slot{width:40px;height:36px}.toolbelt .tool-slot img,.wheel-spoke img,.wheel-center img{width:27px;height:27px;image-rendering:pixelated}.map-frame .tutorial-strip{position:absolute;z-index:5;top:82px;left:11px;width:min(338px,calc(100% - 66px));margin:0;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:start;box-shadow:0 3px 8px #34463059}.tutorial-skip{white-space:nowrap;width:auto;font-size:.73rem;padding-inline:4px}:fullscreen .map-frame .tutorial-strip{display:grid}.wheel-shade{position:absolute;inset:0;z-index:11;background:#22372d90;display:grid;place-items:center}.tool-wheel{width:min(330px,86%,80dvh);aspect-ratio:1;position:relative;background:#2b4033ec;border:3px solid #bba779;border-radius:50%;box-shadow:0 4px #2b3629,inset 0 0 0 4px #53664b}.wheel-spoke,.wheel-center{position:absolute;transform:translate(-50%,-50%);min-width:21%;min-height:18%;background:#eee5c9;border:2px solid #b7a980;border-radius:8px;display:grid;place-items:center;padding:4px 5px;font-size:10px}.wheel-center{left:50%;top:50%;min-width:27%;min-height:23%;background:#dcd1a5}.wheel-spoke.selected{border-color:#657d54;background:#d6e1b9;box-shadow:inset 0 0 0 1px #728458}.wheel-spoke kbd{position:absolute;inset:2px auto auto 2px;font-size:8px}.touch-pad{display:none}.shop .market-controls,.order-editor{min-width:0}.order-editor{display:grid;grid-template-columns:minmax(80px,.5fr) minmax(120px,1fr);gap:8px;padding:8px;background:#f4edda;border:1px solid #dfd1b5;border-radius:6px;flex-basis:100%}.order-editor .button-row{grid-column:1 / -1}.order-editor input[type=range]{align-self:end;margin-bottom:9px}.resident-panel{margin-block:12px}.resident-grid{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1.3fr);gap:10px;margin-top:10px}.resident-list,.resident-detail{display:grid;gap:6px;align-content:start}.resident-list{max-height:54vh;overflow-y:auto}.resident-list .button{text-align:start;justify-content:start;gap:7px}.resident-list .button small{margin-inline-start:auto}.resident-list i{width:9px;height:12px;flex:none;border:1px solid #5b5d45}.resident-detail{padding:10px;background:#f6eed9;border:1px solid #dccba6;border-radius:7px}.resident-needs{display:grid;gap:3px}.resident-needs label{display:flex;gap:8px;align-items:center}.resident-needs meter{margin-inline-start:auto;width:48%}@media(min-width:801px){.side-rail{max-height:calc(100dvh - 164px);overflow-y:auto;scrollbar-width:thin}}@media(pointer:coarse){.touch-pad{display:grid;grid-template:repeat(2,34px) / repeat(3,34px);gap:3px;position:absolute;bottom:49px;left:10px;z-index:5;touch-action:none}.touch-pad button{background:#263e35df;color:#f1e8c7;border:1px solid #aaad81;border-radius:6px;touch-action:none}.touch-w{grid-column:2}.touch-a{grid-column:1;grid-row:2}.touch-s{grid-column:2;grid-row:2}.touch-d{grid-column:3;grid-row:2}}@media(max-width:650px){.settlement-heading{gap:7px;min-height:0;padding-block:8px}.settlement-heading h1{font-size:clamp(25px,8vw,40px)}.game-layout .map-frame,.game-layout.onboard .map-frame{height:clamp(295px,calc(100dvh - 275px),680px)}.toolbelt .tool-name small{display:none}.map-frame .tutorial-strip{top:73px;left:7px;padding:6px;grid-template-columns:minmax(0,1fr) auto auto auto}.tutorial-strip .tutorial-icon{display:none}.resident-grid{grid-template-columns:1fr}.resident-list{max-height:151px}}.research-panel,.leadership-panel,.region-panel{display:grid;gap:9px}.research-head{margin:0}.research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(161px,1fr));gap:9px}.tech-card,.research-queue,.rank-goals{border:1px solid #d7c6a1;background:#f4ebd3;border-radius:7px;padding:9px;display:grid;gap:5px}.tech-card.discovered{background:#e6edcc;border-color:#a7b48b}.tech-title{display:flex;gap:6px;align-items:center}.tech-title img{width:28px;height:28px;image-rendering:pixelated}.tech-card button{align-self:end}.research-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}.research-row small{display:block}.research-row progress,.rank-goals progress{accent-color:#73885d;width:min(175px,32vw)}.rank-goals div{display:flex;align-items:center;justify-content:space-between;gap:7px}.rank-goals dd{display:flex;align-items:center;gap:6px}.regional-chart{background:#6b8663 center/cover;position:relative;height:clamp(155px,23vh,260px);border-radius:8px;border:2px solid #8d9970}.region-pin{position:absolute;transform:translate(-50%,-50%);font-size:12px;border:2px solid #8b926e;border-radius:7px;background:#e9e2ba;padding:5px 7px;box-shadow:0 3px #294133}.region-pin.selected{background:#f4ce7a;border-color:#8c663a}.modal-header .modal-back{margin-bottom:9px;min-height:29px;padding:3px 8px}.modal-heading{min-width:0;overflow-wrap:anywhere}.cancel-placement-key{font-size:10px;color:#f6edcc;background:#1c3229;border-color:#829270}.test-banner,.dev-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.test-banner{background:#e9d5a4;color:#594324;border:1px solid #b28a52;border-radius:8px;padding:5px 9px;margin-bottom:6px}.test-banner .button{min-height:28px;padding-block:3px}.developer-panel,.dev-page{display:grid;gap:10px}.dev-tabs{display:flex;flex-wrap:wrap;gap:5px;padding-block:7px;border-block:1px solid #d7c7a3}.dev-checks,.dev-row,.dev-chips{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end}.dev-row>label{min-width:min(118px,100%);flex:1}.dev-row>.button-row{flex:none}.developer-panel .dev-checks label,.developer-panel .dev-check{display:flex;align-items:center;gap:6px;min-height:28px}.developer-panel input[type=checkbox]{width:15px;height:15px;min-height:auto;margin:0;padding:0;accent-color:#698358}.dev-stats{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:5px}.dev-stats div,.dev-chips span{padding:5px 8px;color:#425844;background:#e8ead4;border-radius:4px}.dev-stats dd{margin:2px 0 0;font:700 14px var(--mono)}.dev-overlay{position:absolute;z-index:7;right:59px;top:10px;display:grid;gap:3px;background:#22362ee6;color:#fbebc1;border:1px solid #a79360;border-radius:5px;padding:7px;font:10px/1.3 var(--mono);pointer-events:none}.dev-errors{max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:650px){.cancel-placement-key{display:none}.dev-overlay{top:auto;bottom:55px}}
