/* Rebuilt from the supplied navy/gold reference; all controls remain native HTML. */
:root{--bg:#031522;--panel:#061e30;--line:#34424d;--gold:#e4bd70;--a:#e4bd70;--muted:#a8b9ca;--text:#f4f5f7}
body{background:radial-gradient(ellipse at 20% 0,#0b2940,#02121e 70%);font-family:Arial,sans-serif;color:var(--text)}
button,input,select,textarea{border-radius:5px}button.primary,.ref-tabs .active{background:linear-gradient(#f5d995,#c69949)!important;border:1px solid #f4d18b!important;color:#121c23!important;box-shadow:inset 0 1px #fff6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #70dfe7;outline-offset:2px}
#shell .sidebar{position:sticky!important;inset:0 0 auto!important;width:100%!important;height:76px!important;padding:5px 16px!important;display:flex!important;flex-direction:row!important;align-items:center;gap:18px;background:linear-gradient(#092031,#02121e);border:1px solid #b79758;border-bottom:2px solid #aa8545;z-index:12}
#shell .wordmark{margin:0!important;width:150px;min-width:120px;flex:none;display:flex;align-items:center}.wordmark img{width:100%!important;max-height:66px;object-fit:contain;filter:none!important}#shell .nav-label,#shell .sidebar-bottom{display:none!important}
#nav{display:flex!important;flex-direction:row!important;gap:4px;align-items:center;overflow:auto;flex:1;min-width:0;margin:0;padding:0;height:65px}#nav button{border:0;border-radius:0;flex:1;min-width:66px;min-height:58px;padding:4px 8px!important;display:flex;flex-direction:column;justify-content:center;gap:4px;background:transparent;font-size:11px;white-space:nowrap;color:#e1e7ed}#nav button i{height:22px;width:24px;margin:0}#nav .selected{color:#f4d58c;background:linear-gradient(transparent,#d5a44118);border-bottom:2px solid #e3bd6c}#nav svg{width:22px;height:22px}#nav button:hover{color:#f6d58e}
#shell main{margin:0!important;padding:0!important;width:100%!important;max-width:1440px;margin-inline:auto!important;min-height:calc(100dvh - 76px)}#shell main>header{display:none!important}#content.reference-view,#content{padding:24px!important;max-width:none;margin:0!important;min-width:0}footer{margin:0!important;padding:16px 24px 60px!important;font-size:10px}.bottom-nav{display:none!important}.ref-title{margin:0 0 18px!important;padding:0!important;min-height:0}.ref-title h2{font:700 27px/1.2 Arial,sans-serif;letter-spacing:-.5px;color:white}.ref-title p{font-size:13px;margin:8px 0 0;color:#bac9d8}
.ref-card,.ref-fleet-row,.ref-market-row,.ref-staff-card,.settings-list,.c-xp{background:linear-gradient(125deg,#092338,#031725)!important;border:1px solid #384d5e!important;border-radius:6px!important;box-shadow:inset 0 1px #ffffff08}.ref-card{padding:16px!important}h3{font-family:Arial,sans-serif}table{font-size:12px}th{font-size:11px;color:#c3d0de}td,th{padding:10px 8px;border-color:#243e50}td small{display:block}.ref-tabs{display:flex;gap:3px;margin:12px 0!important}.ref-tabs button{min-height:40px;border:1px solid #25445b;background:#041a2a;font:12px Arial,sans-serif;padding:8px 14px}.positive{color:#42dd9b}.negative{color:#fa737c}
.design-hero{height:330px;background:linear-gradient(90deg,#03172580,transparent 65%),url('/assets/dashboard-clean.png') center 53%/cover;border:1px solid #bb9857;border-radius:5px;position:relative;padding:25px}.design-hero h1{font:700 40px/1.1 Arial,sans-serif;margin:7px 0;color:white}.design-hero small{color:white;font-size:20px}.design-hero p{color:#fff;font-size:13px;text-shadow:0 1px 3px #000}.design-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 18px}.design-kpis>button,.design-kpis>div{padding:13px 14px;min-width:0;border:1px solid #354e63;border-radius:5px;background:linear-gradient(120deg,#10324e,#071d2f);text-align:left}.design-kpis small{display:block;font-size:12px}.design-kpis strong{display:block;margin:8px 0 0;color:white;font-size:clamp(17px,2vw,26px);overflow-wrap:anywhere}.design-home-bottom{display:grid;grid-template-columns:2fr 1fr;gap:14px}.design-expansion{border:1px solid #c7a361;padding:10px;border-radius:5px;display:flex;flex-direction:column;text-align:center;background:#071b29}.design-expansion>div{height:130px;overflow:hidden}.design-expansion svg{height:100%;width:100%}.design-expansion h3{color:#ebcc8b;margin:10px 0 0}.design-expansion p{margin:5px 0 8px;font-size:12px}.design-expansion button{margin-top:auto}.c-xp{margin:0 0 14px!important;padding:10px 15px!important}.c-xp>div{font-size:12px}.c-xp progress{height:6px}.mission-entry{margin:8px 0}.mission-entry button{font-size:12px;padding:6px 12px}
.ref-fleet-list{display:grid;gap:9px}.ref-fleet-row{display:grid!important;grid-template-columns:160px minmax(0,1fr) auto auto!important;align-items:center;gap:18px;padding:10px!important;min-height:92px!important}.ref-fleet-row .ref-art{width:160px;height:76px!important}.ref-art{overflow:hidden;position:relative;background:#17394f;border-radius:4px}.ref-art>svg{width:100%!important;height:100%!important}.ref-art>small{position:absolute;bottom:0;left:0;font-size:8px;background:#021522bb;padding:1px 3px;color:#d7e3ee}.fleet-name{display:flex;flex-direction:column;gap:5px}.fleet-name b{font-size:16px}.fleet-name small,.fleet-name span{font-size:12px}.plane-status{white-space:nowrap;width:max-content;font-size:10px!important;border-radius:3px;padding:5px 8px}.ref-fleet-row .small{min-height:36px}.ref-market-list{display:grid;gap:10px}.ref-market-row{display:grid!important;grid-template-columns:190px minmax(0,1fr) minmax(180px,1fr)!important;gap:16px;padding:12px!important;align-items:center;min-height:130px}.ref-market-row .market-art{width:190px!important;height:106px!important;grid-area:auto!important;position:relative!important}.ref-market-row h3{font:600 17px Arial,sans-serif;margin:0 0 9px!important}.ref-market-row p{font-size:12px;margin:4px 0}.design-market-buy{display:flex;flex-direction:column;gap:5px}.design-market-buy strong{color:white;font-size:22px}.design-market-buy small{font-size:11px}.design-market-buy .row{gap:6px;margin-top:5px;flex-wrap:nowrap}.design-market-buy button{flex:1}.ref-art-symbol .nav-icon{height:70px!important}
.ref-staff-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px;margin-bottom:18px}.ref-staff-card{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;padding:10px!important;gap:16px;min-width:0}.ref-staff-card>div{position:static!important;height:auto!important}.ref-staff-card .design-portrait{height:200px!important;overflow:hidden;border:1px solid #8e7851;border-radius:5px}.design-portrait svg{width:100%;height:100%}.ref-staff-card h3{margin:5px 0;font-size:18px}.ref-staff-card p{margin:8px 0;font-size:13px}.ref-staff-card label{margin:10px 0 3px}.ref-staff-card input{margin:3px 0 0}.finance-balance{font-size:28px}.profit-chart{max-height:220px}.setting-profile{padding:18px;border:1px solid #927749;border-radius:5px;background:#071f32}.setting-row{padding:13px!important;min-width:0}.settings-list{padding:0!important}.setting-row>b{font-size:13px}.setting-row span{overflow-wrap:anywhere}.ref-plan-map{max-height:220px}.ref-plan-map .map-wrap{height:220px!important;min-height:0!important}.ref-route-pair{margin:12px 0}.ref-world-map{padding:0!important}.map-wrap.large{height:min(68vh,650px)!important;min-height:360px!important;background:#041421}.map-wrap{background:#041421}.map-svg{width:100%;height:100%}.c-traffic-controls{padding:10px 14px!important;border-bottom:1px solid #8a713f;gap:18px}.c-traffic-controls label{margin:0!important}.c-traffic-controls select{margin-top:2px;min-height:38px}.c-traffic-controls span{font-size:11px}#c-flight-card{border-color:#c3a466!important;margin:10px 0}.c-plane.own{fill:#f6cf70;stroke:#ffe9a9}.c-plane.other{fill:#7ce4f0;stroke:#d6ffff}.map-controls button{background:#071d30;border-color:#b39355;min-width:42px}.airport{fill:#ffe08c;stroke:#c89e4d}.route-line{stroke-width:1.4!important;opacity:.85}.land{fill:#082b45!important;fill-opacity:.35;stroke:#4b6680!important;stroke-width:.5!important}.airport-label{font:9px Arial!important;fill:#fff1c9}.gridline{opacity:.15}
#auth.entry{display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:35px 20px!important;min-height:100dvh;background:linear-gradient(#01172622,#02132199),url('/assets/airport-clean.jpg') center/cover fixed!important}#auth .auth-reference-scene,#auth .entry-backdrop{display:none!important}#auth .auth-brand{position:static!important;transform:none!important;width:min(330px,75vw)!important;height:auto!important;margin:0 0 20px!important}#auth .auth-brand img{width:100%!important;height:auto!important;filter:none!important}#auth .auth-panel{position:relative!important;inset:auto!important;transform:none!important;width:min(480px,100%)!important;max-width:480px;margin:0!important;padding:24px 30px!important;border:1px solid #b99c61;background:#031522dd;border-radius:6px;text-align:center}#auth h1{font:700 28px Arial!important;letter-spacing:0!important;margin:0 0 6px!important}#auth .eyebrow,#auth .auth-or,#auth .google-login,#auth .password-strength{display:none!important}#auth #auth-subtitle{font-size:13px;margin:4px 0 18px}#auth form{margin:0;max-width:none}#auth label{text-align:left;margin:10px 0;color:#d4dee9;font-size:12px}#auth input:not([type=checkbox]){min-height:42px;margin-top:5px;background:#031421;border:1px solid #355166;font-size:14px}#auth .password-wrap{display:flex}#auth .password-eye{height:42px;min-height:42px;top:5px!important}#auth .auth-submit{min-height:44px;margin:12px 0 6px}#auth .remember-row{display:flex;align-items:center;font-size:11px;gap:6px}#auth .forgot-password{font-size:10px;margin-left:auto;padding:2px;min-height:32px}#auth .auth-switch{font-size:12px;margin:12px 0 0}#auth #register{font-size:12px;padding:4px;min-height:32px}#auth .auth-foot{display:flex;justify-content:space-between;margin-top:12px;font-size:8px;color:#bca771}.is-registration.entry{background:#031522!important}#auth.is-registration .auth-brand{width:180px!important;margin-bottom:12px!important}#auth.is-registration .auth-panel{max-width:560px;width:min(560px,100%)!important;padding:20px 30px!important}#auth.is-registration #login{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#auth.is-registration .consent-row,#auth.is-registration .start-capital,#auth.is-registration .auth-submit,#auth.is-registration .auth-switch,#auth.is-registration #auth-error{grid-column:1/-1}.start-capital{border:1px solid #b59a62!important;border-radius:5px!important;background:#082234!important;text-align:left;padding:12px!important}.start-capital strong{color:#f2cf83!important;font-size:25px!important}.consent-row label{font-size:11px!important}.auth-download{display:inline-block;margin-top:15px;color:#f4d48d;font-size:12px;text-underline-offset:4px}
.ws-header,.ws-left,.ws-right,.ws-bottom{border-color:#b99a60!important}.ws-right input,.ws-right button{min-width:0}.ws-part b,.ws-part small{overflow-wrap:anywhere}.ws-left,.ws-right{overflow:auto!important}.ws-header h1{font-size:clamp(16px,2.3vw,30px)}
@media(max-width:900px){#shell .sidebar{height:65px!important;padding:4px 10px!important;gap:10px}.wordmark{width:120px!important}#nav{height:56px}#nav button{min-width:60px;font-size:10px;min-height:50px}#content.reference-view,#content{padding:16px!important}.design-hero{height:270px}.ref-market-row{grid-template-columns:125px minmax(0,1fr) minmax(150px,1fr)!important}.ref-market-row .market-art{width:125px!important;height:100px!important}.ref-fleet-row{grid-template-columns:115px minmax(0,1fr) auto!important;gap:10px}.ref-fleet-row .ref-art{width:115px!important}.ref-fleet-row .plane-status{display:none}.ref-staff-card{grid-template-columns:80px minmax(0,1fr)!important;gap:10px}.ref-staff-card .design-portrait{height:150px!important}}
@media(max-width:600px){#shell .sidebar{height:60px!important}.wordmark{width:100px!important;min-width:100px!important}#nav button{min-width:56px}#content.reference-view,#content{padding:12px!important}.bottom-nav{display:flex!important;z-index:15;background:#041928!important;border-top:1px solid #b99a60!important}.design-hero{height:230px;padding:18px}.design-hero h1{font-size:28px}.design-hero small{font-size:16px}.design-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.design-kpis strong{font-size:20px}.design-home-bottom{grid-template-columns:1fr}.ref-title h2{font-size:23px}.ref-market-row{grid-template-columns:95px minmax(0,1fr)!important;gap:10px;padding:10px!important}.ref-market-row .market-art{width:95px!important;height:80px!important}.design-market-buy{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.design-market-buy .row{grid-column:1/-1}.design-market-buy strong{font-size:20px}.ref-fleet-row{grid-template-columns:90px minmax(0,1fr) auto!important;gap:8px}.ref-fleet-row .ref-art{width:90px!important;height:65px!important}.fleet-name b{font-size:13px}.fleet-name small,.fleet-name span{font-size:10px}.ref-fleet-row button{font-size:11px;padding:6px!important}.ref-staff-cards{grid-template-columns:1fr!important}.ref-staff-card{grid-template-columns:95px minmax(0,1fr)!important}.ref-tabs{overflow:auto}.ref-tabs button{flex-shrink:0;font-size:11px}#auth .auth-panel{padding:20px!important}#auth.is-registration .auth-panel{padding:20px!important}#auth.is-registration #login{grid-template-columns:1fr}#auth.is-registration .auth-brand{width:160px!important}.c-traffic-controls{flex-wrap:wrap}.c-traffic-controls span{max-width:100%}.map-wrap.large{height:420px!important;min-height:320px!important}footer{padding-bottom:90px!important}.setting-row{flex-wrap:wrap;gap:10px}.c-xp{font-size:11px}.c-xp button{font-size:11px;min-height:36px}}
#auth[hidden],#shell[hidden]{display:none!important}

/* Reset obsolete screenshot-positioned auth geometry. */
#auth.entry{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;gap:0!important;margin:0!important;box-sizing:border-box}
#auth .auth-brand{align-self:center!important;flex:none!important}
#auth .auth-panel{height:auto!important;min-height:0!important;flex:none!important}
#auth .auth-panel h1,#auth .auth-panel>p,#auth .auth-switch,#auth .auth-foot{position:static!important;inset:auto!important;transform:none!important}
#auth .auth-panel>p{font:13px/1.5 Arial,sans-serif!important;margin:5px 0 18px!important}
#auth .auth-field-icon{display:none!important}
#auth #login input:not([type=checkbox]){height:42px!important;padding:10px!important;font:14px Arial,sans-serif!important}
#auth.entry .auth-submit{height:44px!important;font:700 14px Arial,sans-serif!important}
#auth.is-registration .auth-panel label:not(.remember-row){font-size:12px!important}
.ref-market-list{grid-template-columns:1fr!important}
#shell button,#shell h1,#shell h2,#shell h3,#shell strong{font-family:Arial,sans-serif!important}
body[data-page=workshop] #shell .sidebar,body[data-page=workshop] #bottom-nav{display:none!important}
body[data-page=workshop] #shell #content{padding:0!important}
body[data-page=workshop] #shell .ws-header{display:flex!important}
.ws-stat{font-size:13px!important}

#ws-stats>div{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;gap:7px!important;font-size:12px!important}#ws-stats b{font-size:12px!important;white-space:normal!important}#ws-stats span{overflow-wrap:anywhere;min-width:0}.c-xp{min-height:0!important}.c-xp>button{margin:4px 0!important;min-height:30px!important}
