*{box-sizing:border-box} :root{--ink:#35483b;--paper:#f7efdc;--line:#d5cbb3;--green:#365b46;--gold:#e8bc70}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Arial,sans-serif;height:100dvh;display:flex;flex-direction:column;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff8e9;color:var(--ink);padding:10px 13px;border-radius:6px;min-height:40px}button:hover{background:#eee0be}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,.hotspot:focus-visible{outline:3px solid #bb793c;outline-offset:3px}.primary,button[aria-pressed=true],button[aria-current=page]{background:var(--green);color:#fff4da;border-color:var(--green)}header{display:flex;align-items:center;gap:22px;padding:12px 20px;background:#355345;color:#fff2d7;flex:none;border-bottom:4px solid #d5b478}header>a{color:inherit;text-decoration:none;font:20px Georgia;border-right:1px solid #ffffff30;padding-right:18px}.brand strong{font:24px Georgia;letter-spacing:1px}.brand small,header small{display:block;font-size:9px;letter-spacing:2px;color:#dfd5b9}header b{font:22px Georgia}.funds{margin-left:auto}.clock{text-align:right;font-size:11px;white-space:nowrap}#speeds{display:flex;gap:3px;margin-top:3px}#speeds button{padding:3px 9px;min-height:28px;font-size:11px;background:#416351;color:#fff2d7;border-color:#ffffff30}#speeds button[aria-pressed=true]{background:#e8bc70;color:#35483b}.command{display:flex;gap:10px;padding:8px 16px;background:#ebe3cf;flex:none;border-bottom:1px solid var(--line)}#guide{flex:1;text-align:left;background:#d7e1cb;font-weight:600}#result{white-space:nowrap;font-size:12px}main{display:flex;min-height:0;flex:1}#business{flex:1;min-width:0;display:flex;flex-direction:column;background:#e1e7d6;overflow:hidden}.world-title{padding:17px 25px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.world-title small{font-size:9px;letter-spacing:2px}h1{font:30px Georgia;margin:3px 0}#status{font-size:10px;border:1px solid #69847260;border-radius:20px;padding:5px 9px;white-space:nowrap}#world{min-height:0;flex:1;display:flex;justify-content:center}#world svg{width:100%;height:100%;max-height:100%;display:block}.scene-label{font:10px Arial;letter-spacing:1px;fill:#66513c}.hotspot{cursor:pointer}.hotspot:hover{filter:brightness(1.08)}.steam{opacity:.5;animation:steam 2s infinite alternate}.customer{animation:sway 3s infinite alternate;transform-box:fill-box;transform-origin:bottom}.paused .customer,.paused .steam{animation-play-state:paused}@keyframes steam{to{opacity:.1;translate:0 -7px}}@keyframes sway{to{translate:3px -2px}}.ledger{display:flex;justify-content:space-around;gap:12px;padding:12px 20px;background:#f8f1dbbb;border-top:1px solid #b6c5a9}.ledger small{display:block;font-size:9px;letter-spacing:1px}.ledger b{font:22px Georgia}.hint{font-size:11px;text-align:center;margin:5px;padding:2px}aside{width:390px;max-width:42%;background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}aside[hidden]{display:none}.panel-head{padding:12px 17px;border-bottom:1px solid var(--line);flex:none}.panel-head button{font-size:11px;min-height:28px;padding:5px 10px}h2{font:25px Georgia;margin:10px 0 0}#panel-body{overflow:auto;padding:16px;min-height:0}.card{border:1px solid var(--line);background:#fff8e8;border-radius:8px;padding:15px;margin-bottom:12px}.card h3{font:21px Georgia;margin:0 0 8px}.card p{font-size:12px;margin:8px 0}.card button{width:100%;margin-top:7px}.card label{display:block;font-size:12px;margin-top:9px}.card select,.card input{width:100%;padding:9px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:4px}.row{display:flex;justify-content:space-between;gap:10px;margin:7px 0;font-size:12px}.tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px}.tabs button{flex:1;padding:7px;min-width:55px;font-size:12px}.muted{color:#746e5b;font-size:12px}.pill{display:inline-block;background:#e5e8ce;padding:2px 8px;border-radius:12px;font-size:11px}progress{width:100%;accent-color:var(--green);height:9px}footer{padding:4px 15px;font-size:10px;display:flex;gap:20px;border-top:1px solid var(--line);flex:none;min-height:24px}#journal{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#dock{height:62px;flex:none;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:6px 10px;background:#eee5ce;border-top:1px solid var(--line);padding-bottom:max(6px,env(safe-area-inset-bottom))}#dock button{font-size:12px;font-weight:bold}#more-panel{position:fixed;right:12px;bottom:70px;z-index:40;width:min(360px,calc(100vw - 24px));background:var(--paper);padding:18px;box-shadow:0 5px 40px #0004;border:1px solid var(--line);border-radius:12px;max-height:75dvh;overflow:auto}#more-panel h2{margin:0 0 14px}#more-panel button{width:100%;margin-bottom:7px}dialog{border:1px solid #d8c8a7;border-radius:15px;background:var(--paper);color:var(--ink);width:min(440px,calc(100% - 28px));max-height:90dvh;padding:26px;box-shadow:0 20px 100px #0004}dialog::backdrop{background:#1d3329aa}dialog h1{font-size:39px}dialog small{font-size:9px;letter-spacing:1.5px}dialog label{display:block;margin:12px 0;font-size:12px}dialog input,dialog select{display:block;width:100%;margin-top:5px;padding:10px;font-size:16px;background:#fffaf0;border:1px solid var(--line);border-radius:5px;color:var(--ink)}dialog button{width:100%;margin-top:7px}.intro-art{font-size:62px;float:right;margin-top:-18px}#toast{position:fixed;bottom:76px;left:50%;transform:translateX(-50%);background:#345542;color:white;box-shadow:0 5px 20px #0003;padding:12px 18px;border-radius:8px;z-index:80;max-width:90%;font-size:13px;pointer-events:none}#toast.error{background:#8e4539}.negative{color:#a04633}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:9px 4px;border-bottom:1px solid var(--line);text-align:right}th:first-child,td:first-child{text-align:left}#welcome-error{color:#9b3e32;font-size:12px}
@media(max-width:760px){header{padding:8px 10px;gap:10px}.brand strong{font-size:17px}.brand small{display:none}header>a{font-size:15px;padding-right:8px}.funds b{font-size:19px}.reputation{display:none}.clock{font-size:9px}#speeds{gap:2px}#speeds button{padding:3px 6px;min-height:28px;font-size:10px}.command{padding:6px 8px;gap:5px;flex-wrap:wrap}#guide{font-size:11px;padding:7px;min-height:32px;flex-basis:100%}#result{min-height:26px;padding:3px 8px;width:100%;font-size:10px}.world-title{padding:12px 14px 0}.world-title h1{font-size:24px}.world-title small{font-size:8px}aside{position:fixed;left:0;right:0;bottom:62px;height:53dvh;width:100%;max-width:none;z-index:20;border:1px solid var(--line);border-radius:14px 14px 0 0;box-shadow:0 -5px 30px #0002}.panel-head{padding:8px 14px;display:flex;align-items:center;gap:15px;justify-content:space-between}.panel-head h2{font-size:20px;margin:0}#panel-body{padding:12px}.panel-open #business{max-height:calc(47dvh - 150px);min-height:90px}.panel-open .world-title,.panel-open .ledger,.panel-open .hint{display:none}.ledger{padding:9px 10px;gap:6px}.ledger small{font-size:7px}.ledger b{font-size:19px}.hint{font-size:10px}#save-status{display:none}footer{font-size:9px;min-height:22px}#dock{gap:4px;padding:6px}#dock button{padding:5px;font-size:10px}#toast{bottom:72px;width:max-content;max-width:92%}.card h3{font-size:19px}}
@media(max-height:500px){header{padding:5px 12px}.brand strong{font-size:18px}.command{padding:4px 10px;flex-wrap:nowrap}#guide{flex-basis:auto}#result{width:auto}aside{position:fixed;left:auto;right:0;bottom:62px;top:106px;width:43%;max-width:43%;height:auto;z-index:20}.panel-open #business{max-height:none;width:57%;flex:none}.world-title{padding-top:4px}.world-title h1{font-size:18px}.world-title small,.hint{display:none}.ledger{padding:4px}.ledger b{font-size:16px}footer{display:none}}
@media(prefers-reduced-motion:reduce){.customer,.steam{animation:none}}

body[data-view=supplies] .card{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;padding:12px}body[data-view=supplies] .card h3{grid-column:1;font-size:19px;margin:0}body[data-view=supplies] .card .row{grid-column:1;display:block;margin:3px 0;font-size:11px}body[data-view=supplies] .card .row strong{margin-left:6px}body[data-view=supplies] .card button{grid-column:2;grid-row:1/3;margin:0;font-size:12px}body[data-view=supplies] .card p{grid-column:1/-1;margin-bottom:0}
:root{--ink:#294a40;--paper:#f1efdf;--line:#ccd2bc;--green:#315d50;--gold:#d5b66a}header{background:#264d44;border-color:#a7b997}.brand strong{font-size:22px}#business{background:#cbdcc9}.ledger{background:#eaf0dd}.gardener{animation:sway 3s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:bottom}.rain{animation:rain 1s linear infinite}.paused .gardener,.paused .rain{animation-play-state:paused}@keyframes rain{to{translate:-5px 20px}}.crop-icon{width:12px;height:12px;border-radius:50%;display:inline-block;margin-right:7px}.stock-note{padding:9px;background:#e4e8cf;border-radius:5px}.grow-meter{height:10px;margin:8px 0}#panel-body .selected-crop{border-left:4px solid #8ba46d}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mini-grid button{margin:0;font-size:12px}.intro-art{float:none;font:60px Georgia;color:#597c50;text-align:center;margin:5px}.ready{background:#eed9a4!important}@media(max-width:760px){.brand strong{font-size:15px}.brand{max-width:130px}.panel-open #business{max-height:calc(47dvh - 150px)}#panel-title{font-size:18px}}@media(prefers-reduced-motion:reduce){.gardener,.rain{animation:none}}
@media(max-height:500px){header{height:50px;min-height:50px;box-sizing:border-box}.brand small{display:none}.brand strong{font-size:17px}.command{height:42px;min-height:42px;box-sizing:border-box}.command button{min-height:30px;padding:5px 8px}aside{top:92px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px}.panel-head h2{font-size:17px;margin:0}.panel-head button{font-size:10px;padding:4px 7px}#panel-body{padding:10px}.tabs{margin-bottom:8px}.card{padding:12px}}
/* Airline operations desk */
:root{--ink:#e3eff0;--paper:#142c38;--line:#35515e;--green:#246871;--gold:#f7b565}body{background:#102632;font-family:Arial,sans-serif}button{background:#213e4c;color:#e4f0f0;border-color:#496775}button:hover{background:#315968}button[aria-pressed=true],#dock button[aria-current=page]{background:#f7b565;color:#152e3b;border-color:#f7b565}button:disabled{opacity:.4}header{background:#0d2330;border-color:#385360}.brand strong{font-family:Arial;font-weight:800;font-size:22px;letter-spacing:1px}header>a{color:#f7b565}.funds b,.reputation b{font-family:monospace;color:#fff}.command{background:#18333f;border-color:#35515e}#guide{background:#234c56;color:#e4f6ef}#result{background:#293c48;color:#f7c588}#business{background:#102632}.world-title h1{font-family:Arial;font-weight:700}.world-title small{color:#89aab5}#status{color:#88dbce}.ledger{background:#122e3c;border-color:#35515e}.ledger b{font-family:monospace;color:#eff8f3}.ledger small{color:#8daebc}.hint{color:#a1bac3}aside{background:#142c38}.panel-head{background:#142c38}.panel-head h2{font-family:Arial;font-size:21px;font-weight:700}.card{background:#1c3745;border-color:#3a5662}.card h3{font-family:Arial;font-size:21px}.card input,.card select{background:#112934;color:#e3eff0;border-color:#54717c;font-size:16px}.card p,.muted{color:#b1c5cc}.row strong{color:#ecf5ef}.tabs button{min-height:38px}.stock-note{background:#18313e}footer,#dock{background:#0e2633;border-color:#35515e}#more-panel{background:#16323f;border-color:#54717c}#more-panel h2{font-family:Arial;font-size:22px}dialog{background:#152f3d;color:#e8f1f1;border-color:#52727c}dialog::backdrop{background:#061b28db}dialog h1{font-family:Arial;font-weight:800;letter-spacing:-1px}dialog input,dialog select{background:#0b2635;color:#f1f5f0;border-color:#597681}.intro-art{margin:14px auto;width:100%;height:90px;background:#0c2432;border-radius:8px;display:flex;align-items:center;justify-content:center}.intro-art svg{width:74px;height:74px;fill:#f7b565;transform:rotate(40deg)}#toast{background:#edf5e9;color:#1a3943}.negative{color:#ffb193}.positive{color:#86dfc8}progress{accent-color:#67d4ca}#world svg{max-width:1200px}.badge{padding:4px 7px;border-radius:4px;background:#254955;font:10px monospace;color:#9fe5dc}.plane-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.plane-art{height:80px;display:flex;align-items:center;justify-content:center;margin:0 0 12px;background:#112c3b;border-radius:6px}.plane-art svg{height:75px;width:75px;transform:rotate(65deg)}.card .primary{background:#f7b565;border-color:#f7b565;color:#152e3b;font-weight:bold}.card .primary:hover{background:#ffd09a}.fare-form{display:flex;gap:8px;margin:10px 0}.fare-form input{min-width:0}.fare-form button{width:auto;margin:0}.stats-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats-two>div{background:#142e3a;padding:10px;border:1px solid #35535f;border-radius:5px}.stats-two small{display:block;font-size:10px;color:#aac2cb}.stats-two b{display:block;font:19px monospace;margin-top:4px}.board-line{font:11px monospace;letter-spacing:.5px;color:#9cd8d0}.disclosure summary{cursor:pointer;padding:12px 0;color:#b4cdd4;font-size:12px}.disclosure .row{font-size:11px}.legend{display:flex;gap:15px}.legend span{font-size:10px}.key{display:inline-block;width:6px;height:6px;border-radius:50%;background:#69d5c9;margin-right:4px}.key.hub{background:#f7b565}.key.closed{background:#839aa5}.route-open{border-left:3px solid #66d4ca}.shop-tabs button{font-size:11px}.ready{background:#f7b565!important;color:#102e38!important}.hotspot:focus{outline:none;filter:brightness(1.35)}.hotspot:focus circle{stroke:#fff;stroke-width:3}.empty-note{padding:16px;background:#1c3b49;border-radius:6px}.error{color:#ffb19a}#welcome-error{color:#ffb19a}@media(max-width:760px){.brand strong{font-size:16px}.brand{max-width:120px}.clock{min-width:100px}.funds b{font-size:16px}.world-title h1{font-size:23px}.panel-head h2{font-size:18px}.card h3{font-size:19px}.panel-open #business{max-height:calc(47dvh - 150px)}.legend{display:none}.reputation{display:none}}@media(max-height:500px){.brand strong{font-size:17px}.panel-head h2{font-size:16px}.card h3{font-size:18px}.plane-art{height:50px}.plane-art svg{height:45px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.wide-select{width:100%;margin:7px 0 14px;padding:10px;background:#112934;color:#e8f2ef;border:1px solid #54717c;border-radius:5px;font-size:16px}.stats-two{margin:12px 0}.tabs{margin-top:8px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #f7b565;outline-offset:2px}
.fare-form button{flex:none;white-space:nowrap;padding:8px 12px;font-size:12px}.fare-form input{height:42px;box-sizing:border-box}.fare-form{align-items:stretch}@media(max-height:500px){.legend{display:none}body[data-view=fleet] .plane-art{display:none}.plane-card-head{margin-bottom:8px}.world-title h1{font-size:18px}.tabs button{min-height:32px}.plane-card-head h3{font-size:17px}}
