/* North Ferry: a fixed map, an editorial command rail, and a persistent officer rack. */
[data-ferry=true]{--ferry-rail:352px;--ferry-rack:110px;--ferry-paper:#ede9de;--ferry-ink:#292f2c;--ferry-muted:#72786e;--ferry-line:#333b2926;--ferry-accent:#34584e;--ferry-gold:#c4a773;--ferry-serif:"Noto Serif KR","Batang",serif}
[data-ferry=true] button{touch-action:manipulation}
[data-ferry=true] button:focus-visible,[data-ferry=true] a:focus-visible{outline:2px solid #d6ad60;outline-offset:3px}
[data-ferry=true] .command-header{height:64px;min-height:64px;background:#202724;border:0;border-bottom:1px solid #b4aa8b35;box-shadow:none;padding:0 24px;gap:25px;color:#deddd1}
[data-ferry=true] .field-brand>span{font-family:var(--ferry-serif);border:1px solid #b0a07866;width:33px;height:36px;font-size:24px;text-align:center;line-height:34px;color:#d4bf91}
[data-ferry=true] .field-brand>div{font:600 14px var(--ferry-serif);letter-spacing:1px;color:#e4dfce}
[data-ferry=true] .field-brand small{font:8px sans-serif;letter-spacing:2px;color:#9a9d8e;margin-top:5px}
[data-ferry=true] .clock-block{border:0;display:flex;gap:12px;align-items:center;padding:0}
[data-ferry=true] .clock-block #phase{font-size:10px;color:#9daca1;max-width:80px;line-height:1.5}
[data-ferry=true] .clock-block strong{font:500 22px ui-monospace,monospace;font-variant-numeric:tabular-nums;color:#e4dfcc}
[data-ferry=true] .time-controls #play{background:#d1bd8f;border:1px solid #ddcda8;color:#27372f;font-weight:650;font-size:12px;min-width:92px;padding:9px 16px;border-radius:2px}
[data-ferry=true] .time-controls #step{display:none}
[data-ferry=true] .speed{border:1px solid #9b9f8e3b;border-radius:3px;padding:2px;background:none}
[data-ferry=true] .speed button{border:0;border-radius:1px;background:transparent;color:#8f9e92;padding:5px 8px;font:11px ui-monospace,monospace}
[data-ferry=true] .speed button.active{background:#4e5d50;color:#ece7d5}
[data-ferry=true] .command-header nav button{background:none;border:1px solid #929b813b;color:#cacdbb;width:34px;height:32px;padding:0;border-radius:2px}
[data-ferry=true] .command-header nav>a,[data-ferry=true] #council-open,[data-ferry=true] #demo,[data-ferry=true] #fancheng-link{display:none!important}
[data-ferry=true] .field-layout,[data-ferry=true][data-mobile-view=operations] .field-layout{height:calc(100dvh - 64px);display:block;position:relative;overflow:hidden;background:#202724}
[data-ferry=true] .field-stage,[data-ferry=true][data-mobile-view=operations] .field-stage{position:absolute!important;inset:0 var(--ferry-rail) var(--ferry-rack) 0!important;width:auto!important;height:auto!important;min-height:0!important;display:block!important;overflow:hidden;border:0}
[data-ferry=true] #field{width:100%;height:100%;display:block}
[data-ferry=true] .field-stage:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 60px #1a221d24;pointer-events:none;z-index:2}
[data-ferry=true] .field-caption,[data-ferry=true] .battle-readout,[data-ferry=true] .army-inspector,[data-ferry=true] #city-tags,[data-ferry=true] .quick-flanks,[data-ferry=true] .map-status,[data-ferry=true] #command-alert,[data-ferry=true] #threat-pins{display:none!important}
[data-ferry=true] .minimap{display:none!important}
[data-ferry=true] .map-tools{top:18px;right:calc(var(--ferry-rail) + 18px);border:1px solid #bac2ab66;box-shadow:0 3px 10px #17231c30;z-index:30;border-radius:2px}
[data-ferry=true] [data-room-tab]{display:none!important}
[data-ferry=true] .map-tools #open-review{border:0;background:#25352de8;color:#e9dfc4;font-size:11px;padding:9px 12px}
[data-ferry=true] .zoom-controls,[data-ferry=true][data-quick-open=true] .zoom-controls{right:18px;bottom:18px;gap:1px;border:1px solid #bcc0a65c;border-radius:2px;overflow:hidden;z-index:30}
[data-ferry=true] .zoom-controls button{background:#25352de8;color:#e8dfc7;border:0;width:33px;height:33px;font-size:18px;border-radius:0}
[data-ferry=true] .zoom-controls #battle-view{display:none}
#ferry-fit,#ferry-mobile-open{position:absolute;bottom:18px;left:20px;display:flex;align-items:center;gap:7px;height:34px;padding:0 12px;background:#25352de8;color:#e9dfc7;border:1px solid #bcc0a65c;z-index:30;border-radius:2px;font-size:11px;cursor:pointer}
#ferry-fit svg,#ferry-mobile-open svg{width:16px;height:16px}
#ferry-objective{position:absolute;left:28px;top:24px;color:#f1eddb;pointer-events:none;z-index:20;text-shadow:0 1px 5px #18291d,0 2px 20px #18291d;padding-bottom:10px;max-width:290px}
.ferry-map-kicker{font-size:9px;letter-spacing:3px;color:#e1dbc2}
#ferry-objective h1{font:500 33px var(--ferry-serif);letter-spacing:2px;margin:8px 0 13px}
.ferry-map-goal{display:flex;align-items:center;gap:13px;font-size:11px;color:#f2ebd1}
.ferry-map-goal b{font:500 20px ui-monospace,monospace;color:#f4d997}.ferry-map-goal b small{font-size:12px;color:#ddd8c4}.ferry-map-goal i{height:13px;width:1px;background:#e1e1c855}
.ferry-cargo-status{font-size:10px;margin-top:10px;color:#d4dbcc}#ferry-objective progress{display:block;width:100%;height:3px;accent-color:#b5c59a;margin-top:12px}
#ferry-command{position:absolute;inset:0 0 0 auto;width:var(--ferry-rail);background:var(--ferry-paper);color:var(--ferry-ink);display:flex;flex-direction:column;border-left:1px solid #d9d4c7;z-index:45;box-shadow:-6px 0 24px #11241b16}
#ferry-command svg,#ferry-rack svg{width:20px;height:20px;flex-shrink:0}
#ferry-command button{font-family:inherit;cursor:pointer;border-radius:2px;color:inherit}
#ferry-command button:disabled{cursor:default}
.ferry-tabs{display:flex;align-items:center;flex-shrink:0;height:54px;border-bottom:1px solid var(--ferry-line);padding:0 22px;gap:25px}
.ferry-tabs [role=tab]{height:54px;padding:0;background:none;border:0;border-bottom:2px solid transparent;font-size:12px;font-weight:600;color:#888b7e!important}
.ferry-tabs [aria-selected=true]{border-bottom-color:#375b4d;color:#283c31!important}
.ferry-panel-close{display:none;background:none;border:0;margin-left:auto;padding:0;color:#7e8576!important}
.ferry-body{padding:25px 24px 24px;overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#bbb9aa transparent;overscroll-behavior:contain}
.ferry-eyebrow{font-size:10px;letter-spacing:1px;color:#6a7869;display:flex;align-items:center;justify-content:space-between}
.ferry-eyebrow>span{font-size:8px;letter-spacing:1.8px;color:#96988a}
.ferry-body h2{font:600 23px/1.45 var(--ferry-serif);letter-spacing:-.6px;color:#28352c;margin:9px 0 12px}
.ferry-intro{font-size:12px;line-height:1.85;margin:0 0 22px;color:#72786d;word-break:keep-all}
.ferry-strategist{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:0 0 21px;background:none;border:0;border-bottom:1px solid var(--ferry-line);margin:0 0 22px}
.ferry-strategist>span:nth-child(2){flex:1}.ferry-strategist small{display:block;font-size:9px;color:#8b8e7e;margin-bottom:5px}.ferry-strategist strong{display:block;font:600 19px var(--ferry-serif);color:#394235}.ferry-strategist em{display:block;font-style:normal;font-size:10px;line-height:1.6;color:#7b8374;margin-top:6px}.ferry-strategist>svg{width:15px!important;color:#8d9683}
.ferry-portrait{display:block;flex-shrink:0;width:64px;height:64px;background-color:#b5b19e;border:1px solid #9c9b7d40;border-radius:2px}
.ferry-seal{width:64px;height:64px;display:grid;place-items:center;border:1px solid #a79a7844;background:#ddd6c4;color:#665c41;font:32px var(--ferry-serif)}
.ferry-section-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:650;color:#465042;margin:20px 0 11px}
.ferry-section-label>span{font-size:9px;font-weight:400;color:#8b8e80}
.ferry-plans{display:grid;gap:8px}
.ferry-plans>button{display:flex;align-items:flex-start;gap:10px;width:100%;background:#f6f3ea;border:1px solid #c5c6b5;padding:15px 12px;text-align:left;position:relative}
.ferry-plans>button[aria-pressed=true]{background:#e0e5d9;border-color:#758a72;box-shadow:inset 3px 0 #48644f}
.ferry-plan-number{font:11px ui-monospace,monospace;color:#8a927d;margin-top:2px}
.ferry-plans strong{display:block;font-size:13px;color:#3c4a39;margin-bottom:7px}
.ferry-plans small{display:block;font-size:10px;line-height:1.65;color:#747c6c;word-break:keep-all}
.ferry-plans em{display:block;font:9px/1.6 sans-serif;color:#939680;margin-top:6px}
.ferry-plans svg{position:absolute;right:10px;top:13px;width:14px!important;color:#5d7858;visibility:hidden}.ferry-plans [aria-pressed=true] svg{visibility:visible}
.ferry-assignments button{width:100%;display:flex;align-items:center;text-align:left;gap:12px;border:0;background:none;border-bottom:1px solid #b7baa62e;padding:10px 0;font-size:11px}
.ferry-assignments b{font-weight:600;width:32px;color:#46523f}.ferry-assignments span{color:#7d856f;flex:1}.ferry-assignments svg{width:12px!important;color:#969d85}
.ferry-report{margin:20px 0 12px;background:#dce2d5;padding:13px 14px;border-left:2px solid #839575}
.ferry-report>div{display:flex;gap:7px;align-items:center;color:#496143;font-size:11px}.ferry-report svg{width:16px!important;height:16px!important}.ferry-report p{font-size:10px;line-height:1.8;color:#7b846d;margin:7px 0 0;word-break:keep-all}
.ferry-smallprint{font-size:10px;color:#90927e;line-height:1.8;word-break:keep-all;margin:0}
.ferry-command-footer{padding:16px 24px 15px;background:#e7e4d8;border-top:1px solid #bdc1ab69;flex-shrink:0}
#ferry-command .ferry-primary{width:100%;display:flex;justify-content:center;align-items:center;gap:12px;padding:13px 12px;font-size:13px;font-weight:600;background:#344f40;border:1px solid #344f40;color:#f5eed8;min-height:46px}
#ferry-command .ferry-primary:hover:not(:disabled){background:#41634f}
#ferry-command .ferry-primary:disabled{background:#d5d8cb;border-color:#c3c8b6;color:#959d87}
.ferry-footer-line{display:flex;align-items:center;justify-content:space-between;margin-top:11px;gap:4px}
.ferry-footer-line>span{font-size:9px;color:#92967f}.ferry-footer-line button{display:flex;align-items:center;gap:4px;background:none;border:0;padding:0;font-size:10px;color:#647256!important}.ferry-footer-line svg{width:13px!important;height:13px!important}
.ferry-officer{display:flex;align-items:center;gap:15px}.ferry-officer>.ferry-portrait{width:76px;height:76px}.ferry-officer>div{flex:1}.ferry-officer h2{font-size:26px;margin:7px 0 6px;letter-spacing:2px}.ferry-officer .ferry-eyebrow{font-size:9px}.ferry-officer>div>span{font-size:10px;color:#929582}.ferry-officer b{color:#657557;font-weight:600}
.ferry-icon-button{background:none;border:1px solid #bec4ad;color:#8c987c!important;padding:6px;align-self:flex-start;width:30px;height:30px}.ferry-icon-button svg{width:16px!important;height:16px!important}
.ferry-temperament{font-size:11px;line-height:1.8;color:#7c846f;word-break:keep-all;margin:15px 0 17px}
#ferry-current{padding:12px 13px;background:#dadfd2;border-radius:2px;border-left:2px solid #78906b}
#ferry-current>span{font-size:8px;letter-spacing:1px;color:#899579;display:block;margin-bottom:6px}#ferry-current>b{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#4c6242}#ferry-current em{font-style:normal;font-size:9px;font-weight:400;color:#7e8b6c}#ferry-current small{font-size:10px;line-height:1.8;color:#7c886d;display:block;margin-top:6px}
.ferry-missions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ferry-missions button{display:flex;flex-direction:column;align-items:center;background:#f6f3eb;border:1px solid #c8ceba;padding:13px 2px 10px;min-height:90px}
.ferry-missions svg{width:23px!important;height:23px!important;color:#8c9c7e;margin-bottom:8px}.ferry-missions strong{font-size:12px;font-weight:600;color:#536847}.ferry-missions small{font-size:8px;color:#97a085;margin-top:5px;letter-spacing:-.3px;white-space:nowrap}
.ferry-missions [aria-pressed=true]{border-color:#648355;background:#dce5d1;box-shadow:inset 0 0 0 1px #64835533}.ferry-missions [aria-pressed=true] svg{color:#496e37}
.ferry-withdraw{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;border-bottom:1px solid var(--ferry-line);padding:13px 0;font-size:10px;color:#6c7c5b!important;margin-bottom:6px}.ferry-withdraw svg{width:15px!important;height:15px!important}.ferry-withdraw>span{margin-left:auto;color:#9ba18b;font-size:9px}.ferry-withdraw[aria-pressed=true]{background:#dee5d5;padding-left:7px}
.ferry-setting{display:flex;align-items:center;gap:10px;width:100%;padding:14px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--ferry-line);font-size:10px}
.ferry-setting>span{color:#8c957f;min-width:52px}.ferry-setting>b{flex:1;font-weight:500;color:#526847;font-size:11px}.ferry-setting svg{width:14px!important;height:14px!important;color:#8a9879}.ferry-setting:disabled svg{visibility:hidden}
.ferry-choices{display:grid;gap:4px;padding:7px 0}.ferry-choices button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;text-align:left;background:#f5f3e9;border:1px solid #c6cdb8;font-size:11px;line-height:1.6;padding:10px 12px;color:#748566!important}.ferry-choices [aria-pressed=true]{background:#dce5d2;border-color:#7b9668}.ferry-choices svg{width:14px!important;height:14px!important;visibility:hidden}.ferry-choices [aria-pressed=true] svg{visibility:visible}.ferry-choices small{display:block;flex-basis:100%;margin-top:6px;font-size:10px;line-height:1.8;color:#8a957c}
.ferry-target-instruction{font-size:11px;display:flex;justify-content:space-between;padding:12px 0;color:#76865f}.ferry-target-instruction button{border:0;background:none;font-size:10px;text-decoration:underline;color:#8f9a7b!important}
.ferry-point-list{display:grid;grid-template-columns:1fr 1fr;gap:5px}.ferry-point-list button,.ferry-watch button{font-size:10px;background:#f7f4e8;border:1px solid #b8c5a6;padding:9px 5px;color:#687e51!important}.ferry-point-list [aria-pressed=true],.ferry-watch [aria-pressed=true]{background:#d6e0c9;border-color:#759458}
.ferry-watch{padding-top:14px}.ferry-watch>span{font-size:10px;color:#80956a}.ferry-watch>div{display:flex;gap:5px;margin-top:8px}.ferry-watch button{flex:1}
.ferry-prediction{margin-top:19px;font-size:10px;color:#8c987b;line-height:1.8}.ferry-prediction>b{font-weight:500;color:#768b60}.ferry-prediction p{margin:6px 0;word-break:keep-all}.ferry-prediction>span{font-size:9px;color:#9da58a}
.ferry-stage{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--ferry-line);padding:17px 0}.ferry-stage>b{display:grid;place-items:center;width:32px;height:32px;border:1px solid #c3c9b5;color:#a1aa8f;font:11px ui-monospace,monospace;border-radius:50%}.ferry-stage strong{font-size:12px;color:#657a52;font-weight:600}.ferry-stage small{display:block;font-size:10px;color:#939f81;margin-top:6px}.ferry-stage.done>b{background:#6c8359;border-color:#6c8359;color:#eff2e2}.ferry-stage svg{width:16px!important;height:16px!important}
#ferry-dispatch-list>button{display:flex;align-items:flex-start;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid var(--ferry-line);padding:15px 0;text-align:left}.ferry-empty{font-size:13px;color:#728b5a;padding:40px 0;line-height:1.8}.ferry-empty small{display:block;font-size:11px;color:#919f7c;margin-top:9px}
#ferry-dispatch-list time{font:10px ui-monospace,monospace;color:#9ca889;margin-top:3px}#ferry-dispatch-list strong{font-size:12px;color:#60764c;line-height:1.6;display:block}#ferry-dispatch-list small{font-size:10px;color:#8c9b76;line-height:1.9;display:block;margin-top:6px}#ferry-dispatch-list svg{width:14px!important;height:14px!important;color:#9caa87;margin-top:4px}
.ferry-secondary{width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:1px solid #a8b996;color:#617e47!important;padding:14px;font-size:11px;margin-top:20px}
#ferry-rack{position:absolute;left:0;right:var(--ferry-rail);bottom:0;height:var(--ferry-rack);background:#202724;border-top:1px solid #aab28e42;z-index:40;padding:14px 20px;display:flex;gap:18px;align-items:center}
.ferry-rack-label{display:none;flex-shrink:0}.ferry-rack-label b{display:block;font:12px var(--ferry-serif);letter-spacing:1px;color:#c9c9b5}.ferry-rack-label span{display:block;font-size:7px;letter-spacing:1.4px;margin-top:7px;color:#848d79}
.ferry-officers{display:flex;gap:9px;width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#6a7658 transparent}
.ferry-officers>button{display:flex;align-items:center;flex:1;min-width:135px;gap:10px;text-align:left;border:1px solid #a9b08f28;background:#2a342c;padding:6px;color:#b9c5a6;border-radius:2px;cursor:pointer;position:relative}
.ferry-officers>button[aria-pressed=true]{border-color:#b6bf8e;background:#3d4d38;box-shadow:inset 0 2px #b6bf8e}
.ferry-unit-face{width:58px;height:66px;overflow:hidden;flex-shrink:0;border-radius:1px}.ferry-unit-face .ferry-portrait{width:66px;height:66px;margin-left:-4px;border:0;border-radius:0}
.ferry-unit-info{flex:1;min-width:0}.ferry-unit-info>strong{font:600 14px var(--ferry-serif);letter-spacing:1px;color:#dddac2;display:block}.ferry-unit-info>b{display:block;font:12px ui-monospace,monospace;margin-top:5px;color:#b5bca2;font-weight:400}.ferry-unit-info>small{font-size:8px;display:block;margin-top:4px;color:#859578;white-space:nowrap}.ferry-unit-info>i{display:block;height:2px;background:#869a5c2e;margin-top:6px}.ferry-unit-info>i>em{display:block;height:100%;background:#8ca56e}.in-danger .ferry-unit-info>i>em{background:#b67e5b}.in-danger .ferry-unit-info>small{color:#ce9a70}
#ferry-pins{position:absolute;inset:0;z-index:14;pointer-events:none}
#ferry-pins button{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;background:none;border:0;color:#eee7c8;padding:0;pointer-events:none;font-size:10px;text-shadow:0 1px 4px #192d16}
#ferry-pins b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #d6d5af8c;background:#30452b9c;border-radius:50%;font:9px ui-monospace,monospace;box-shadow:0 2px 10px #21351e38}
[data-targeting=true] #ferry-pins button{pointer-events:auto;cursor:pointer;background:#20351bea;padding:6px 10px 6px 6px;border:1px solid #c5cd86;border-radius:3px;z-index:33;font-size:11px}
[data-targeting=true] #ferry-pins b{background:#b5c27c;color:#26351a;border-color:#e8e8b8;text-shadow:none}
[data-targeting=true] #ferry-pins .chosen{background:#4f6434}
[data-ferry=true] .army-tag{min-width:0!important;width:auto!important;display:grid;grid-template-columns:auto auto;align-items:center;column-gap:8px;row-gap:0;padding:5px 7px!important;border-radius:2px;border:1px solid #aeb7966b!important;background:#243d2ce8!important;box-shadow:0 3px 8px #152e1530!important;transition:none!important;animation:none!important;transform:none}
[data-ferry=true] .army-tag.enemy{background:#5e3f2fe8!important;border-color:#bda58970!important}
[data-ferry=true] .army-tag.selected{outline:1px solid #e5d898;outline-offset:2px;background:#3a5233f5!important}
[data-ferry=true] .army-banner strong{font-size:11px!important;line-height:1.3;color:#f0e9ce;font-weight:600}
[data-ferry=true] .army-banner small,[data-ferry=true] .army-condition,[data-ferry=true] .mini-health,[data-ferry=true] .army-loss{display:none!important}
[data-ferry=true] .army-meta{font-size:10px!important;margin:0!important;color:#c6d3b0;display:block}
[data-ferry=true] .enemy .army-meta{color:#debd9e}
[data-ferry=true] .mini-cohesion{grid-column:1/-1;height:2px;margin-top:4px;background:#aabb7e33;border:0}.army-tag .mini-cohesion i{transition:none!important}
[data-ferry=true] .army-tag.routed{border-color:#d29970!important}
[data-ferry=true] #label-lines{opacity:.5}
[data-ferry=true] .order-dock,[data-ferry=true][data-mobile-view=operations] .order-dock{display:none!important}
[data-ferry=true][data-direct=true] .order-dock{display:block!important;left:18px;right:calc(var(--ferry-rail) + 18px);bottom:calc(var(--ferry-rack) + 12px);max-height:240px;overflow:auto;background:#202e23f7;border:1px solid #b5bc8d66;padding:13px 16px;z-index:47}
[data-ferry=true] #army-roster,[data-ferry=true] .dock-heading>div:first-child,[data-ferry=true] #dock-council,[data-ferry=true] #dock-mission,[data-ferry=true] #selected-total{display:none!important}
[data-ferry=true] .dock-heading>div:last-child{width:100%;justify-content:flex-end}
[data-ferry=true]:not([data-direct=true]) #quick-commands{display:none!important}
[data-ferry=true] #direct-controls summary span{display:none}
[data-ferry=true] #notice{left:calc((100vw - var(--ferry-rail))/2);bottom:calc(var(--ferry-rack) + 22px);font-size:12px;background:#263b2bf5;border:1px solid #adb78d7a;color:#eee6c9;max-width:min(560px,65vw);border-radius:2px;padding:12px 18px}
[data-ferry=true] #field-dialog[open],[data-ferry=true] #field-dialog[open]:has(.briefing-head),[data-ferry=true] #field-dialog[open]:has(.council-brief){inset:64px 0 0 auto;width:var(--ferry-rail);height:calc(100dvh - 64px);max-height:none;background:var(--ferry-paper);color:var(--ferry-ink);border:0;border-left:1px solid #cbd0b8;border-radius:0;box-shadow:none;padding:26px 24px;z-index:60}
[data-ferry=true] #field-dialog h2{color:#3a4c30;font:24px/1.5 var(--ferry-serif)}[data-ferry=true] #field-dialog p{color:#8b9779;font-size:12px}[data-ferry=true] #field-dialog .section-label{color:#8b9878}[data-ferry=true] #field-dialog .menu-grid{grid-template-columns:1fr;gap:8px}[data-ferry=true] #field-dialog .menu-grid button,[data-ferry=true] #field-dialog .menu-grid a{padding:14px;background:#e0e5d4;border:1px solid #b2c19a;color:#657f47;font-size:12px}[data-ferry=true] .close-dialog{color:#7e9166;background:#e2e8d5;border:1px solid #bbc9a3}[data-ferry=true] .dialog-links a{color:#7c9561;font-size:11px}
/* Review shares the same map partition; transport replaces the officer rack. */
[data-ferry=true] .review-panel{inset:0 0 0 auto;width:var(--ferry-rail);height:auto;max-height:none;padding:25px 24px;background:var(--ferry-paper);color:#4a603b;border:0;border-left:1px solid #bfcaaa;border-radius:0;box-shadow:none}
[data-ferry=true] .review-heading h2{color:#364d29;font:26px/1.4 var(--ferry-serif)}[data-ferry=true] .review-heading button{background:#dde5cf;color:#7f9466;border:1px solid #b3c59a}[data-ferry=true] .review-eyebrow{color:#91a078}[data-ferry=true] .review-verdict,[data-ferry=true] .review-findings p,[data-ferry=true] .review-lessons p{color:#879975;font-size:12px;line-height:1.9}[data-ferry=true] .review-summary>summary,[data-ferry=true] .review-lessons summary{color:#769258}[data-ferry=true] .review-metrics b{color:#637e49}[data-ferry=true] .review-metrics span{color:#96a580}
[data-ferry=true] #review-detail{background:#dde4d1;border-color:#bacba5;padding:16px}[data-ferry=true] #review-detail h3{color:#536f3e;font-size:17px}[data-ferry=true] #review-detail p{color:#839a6b;font-size:11px}[data-ferry=true] .review-cause{border-color:#a2ad75}[data-ferry=true] .review-cause b,[data-ferry=true] .review-cause strong{color:#788b52}[data-ferry=true] .review-cause>span,[data-ferry=true] .review-cause small{color:#97a47c}
[data-ferry=true] .review-event{color:#819868;font-size:11px;border-color:#b6c8a177;padding:14px 3px}[data-ferry=true] .review-event time{color:#a0ae88}[data-ferry=true] .review-event.active{background:#d9e4c8;color:#5d7b40}[data-ferry=true] .review-event i{color:#879f69;border-color:#b5c69a}[data-ferry=true] .review-list-head{color:#7e995f}[data-ferry=true] .review-list-head select{background:#e0e7d4;color:#819965;border-color:#b7c99f}[data-ferry=true] .review-lessons button{background:#dae4ca;border-color:#a4bd86;color:#657f46}[data-ferry=true] .review-footnote{color:#a1ae8a}
[data-ferry=true] .review-timeline{left:0;right:var(--ferry-rail);bottom:0;height:var(--ferry-rack);padding:13px 22px;background:#202b22;border:0;border-top:1px solid #adb98a44;border-radius:0}
[data-ferry=true] .review-time-row strong{font-size:19px}[data-ferry=true] .review-time-row small{font-size:9px}[data-ferry=true] .review-track{margin:5px 0 7px}[data-ferry=true] .review-transport button{padding:5px 10px;font-size:10px}
[data-ferry=true][data-review=true] #ferry-rack,[data-ferry=true][data-review=true] #ferry-fit,[data-ferry=true][data-review=true] #ferry-mobile-open{display:none!important}
#ferry-command[hidden],#ferry-rack[hidden],#ferry-objective[hidden],#ferry-pins[hidden],#ferry-fit[hidden],#ferry-mobile-open[hidden],#ferry-pins button[hidden]{display:none!important}
@media(min-width:1500px){[data-ferry=true]{--ferry-rail:380px;--ferry-rack:118px}.ferry-rack-label{display:block}.ferry-body{padding:28px}.ferry-command-footer{padding:18px 28px}.ferry-missions button{min-height:99px}}
@media(max-width:1100px) and (min-width:801px){[data-ferry=true]{--ferry-rail:320px}.ferry-body{padding:20px}.ferry-tabs{padding:0 20px}.ferry-command-footer{padding:15px 20px}.ferry-officers>button{min-width:120px;gap:7px}.ferry-unit-face{width:48px}.ferry-unit-face .ferry-portrait{margin-left:-9px}.ferry-body h2{font-size:21px}.ferry-missions small{font-size:7px}}
@media(max-width:800px){
 [data-ferry=true]{--ferry-rail:0px;--ferry-rack:96px;--ferry-sheet:40dvh}
 [data-ferry=true] .command-header{height:54px;min-height:54px;padding:0 12px;gap:12px}[data-ferry=true] .field-brand>span{width:28px;height:30px;line-height:28px;font-size:21px}[data-ferry=true] .field-brand>div{display:none}[data-ferry=true] .clock-block{gap:5px;min-width:48px!important;padding:0}[data-ferry=true] .clock-block #phase{display:none}[data-ferry=true] .clock-block strong{font-size:18px}[data-ferry=true] .time-controls #play{min-width:65px!important;padding:7px 9px!important;font-size:11px!important}[data-ferry=true] .speed button{font-size:10px!important;padding:5px!important}[data-ferry=true] .command-header nav{margin-left:auto}[data-ferry=true] .command-header nav #help{display:none!important}[data-ferry=true] .command-header nav button{width:30px;height:30px}[data-ferry=true] .field-layout,[data-ferry=true][data-mobile-view=operations] .field-layout{height:calc(100dvh - 54px)}
 [data-ferry=true] .field-stage,[data-ferry=true][data-mobile-view=operations] .field-stage{inset:0 0 var(--ferry-rack) 0!important}
 [data-ferry=true][data-ferry-panel=true] .field-stage,[data-ferry=true][data-review=true] .field-stage{bottom:calc(var(--ferry-rack) + var(--ferry-sheet))!important}
 #ferry-command{inset:auto 0 var(--ferry-rack) 0;width:100%;height:var(--ferry-sheet);border-left:0;border-top:1px solid #d0d4bc;box-shadow:0 -5px 20px #1a31152b}
 .ferry-tabs{height:43px;padding:0 18px;gap:29px}.ferry-tabs [role=tab]{height:43px;font-size:12px}.ferry-panel-close{display:block;width:30px;height:30px}.ferry-body{padding:18px 20px}.ferry-body h2{font-size:21px;margin-top:7px}.ferry-intro{font-size:11px;margin-bottom:16px}.ferry-command-footer{padding:9px 18px 8px}.ferry-footer-line{margin-top:6px}.ferry-primary{padding:9px!important;min-height:38px!important;font-size:12px!important}.ferry-footer-line>span{font-size:8px}
 #ferry-objective{top:16px;left:17px;max-width:230px}.ferry-map-kicker{font-size:8px;letter-spacing:2px}#ferry-objective h1{font-size:25px;letter-spacing:1px;margin:7px 0 10px}.ferry-map-goal{font-size:10px;gap:9px}.ferry-map-goal b{font-size:17px}.ferry-cargo-status{font-size:9px;margin-top:7px}
 [data-ferry=true] .map-tools{right:12px;top:14px}[data-ferry=true] .map-tools #open-review{padding:7px 9px;font-size:10px}
 [data-ferry=true] .zoom-controls,[data-ferry=true][data-quick-open=true] .zoom-controls{bottom:12px;right:12px}[data-ferry=true] .zoom-controls button{width:30px;height:30px}
 #ferry-fit{left:12px;bottom:12px;height:31px;font-size:10px;padding:0 8px}#ferry-mobile-open{left:12px;bottom:53px;height:32px;font-size:11px}
 #ferry-rack{padding:9px 10px;gap:0}.ferry-officers{gap:6px}.ferry-officers>button{min-width:106px;padding:5px;gap:7px}.ferry-unit-face{width:43px;height:64px}.ferry-unit-face .ferry-portrait{width:64px;height:64px;margin-left:-10px}.ferry-unit-info>strong{font-size:13px}.ferry-unit-info>b{font-size:11px}.ferry-unit-info>small{font-size:8px}
 #ferry-pins button{font-size:8px;gap:4px}#ferry-pins b{width:19px;height:19px;font-size:8px}[data-targeting=true] #ferry-pins button{font-size:10px;padding:5px 7px}
 [data-ferry=true] .army-tag{padding:4px 5px!important;column-gap:6px}[data-ferry=true] .army-banner strong{font-size:10px!important}[data-ferry=true] .army-meta{font-size:9px!important}
 [data-ferry=true] #notice{left:50%;bottom:calc(var(--ferry-rack) + 12px);max-width:90vw;font-size:11px;padding:10px 13px}[data-ferry=true][data-ferry-panel=true] #notice{bottom:calc(var(--ferry-rack) + var(--ferry-sheet) + 12px)}
 [data-ferry=true][data-direct=true] .order-dock{left:8px;right:8px;bottom:calc(var(--ferry-rack) + 8px);max-height:220px;padding:10px;z-index:49}
 [data-ferry=true] #field-dialog[open],[data-ferry=true] #field-dialog[open]:has(.briefing-head),[data-ferry=true] #field-dialog[open]:has(.council-brief){inset:auto 0 var(--ferry-rack) 0;width:100%;height:var(--ferry-sheet);max-height:var(--ferry-sheet);padding:20px;border-left:0;border-top:1px solid #b6c99a}
 [data-ferry=true] .review-panel{inset:auto 0 var(--ferry-rack) 0;width:100%;height:var(--ferry-sheet);max-height:var(--ferry-sheet);padding:20px;border-left:0;border-top:1px solid #b7c69b}[data-ferry=true] .review-timeline{left:0;right:0;height:var(--ferry-rack);padding:9px 12px}[data-ferry=true] .review-time-row strong{font-size:18px}[data-ferry=true] .review-transport{flex-wrap:nowrap;gap:5px}[data-ferry=true] .review-transport button{padding:5px 8px;font-size:9px}[data-ferry=true] .review-time-row small{font-size:8px}
}
@media(max-height:650px) and (min-width:801px){[data-ferry=true]{--ferry-rack:92px}.ferry-unit-face{height:58px}.ferry-unit-face .ferry-portrait{width:58px;height:58px}.ferry-body{padding:18px}.ferry-command-footer{padding:10px 18px}.ferry-tabs{height:43px}.ferry-tabs [role=tab]{height:43px}}
@media(prefers-reduced-motion:reduce){[data-ferry=true] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Compact labels retain stable geometry without the legacy 71px card height. */
[data-ferry=true] .army-tag{height:auto!important;min-height:0!important;filter:none;grid-template-rows:17px 5px}
[data-ferry=true] .army-tag .army-banner{height:auto;min-height:0;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
[data-ferry=true] .army-tag .army-meta{height:auto;line-height:17px}
[data-ferry=true] .army-tag .army-number{font-size:10px;line-height:17px}
[data-ferry=true] .army-tag[data-condition=surrounded],[data-ferry=true] .army-tag[data-condition=broken],[data-ferry=true] .army-tag[data-condition=routed]{box-shadow:inset 2px 0 #da9670!important}
#ferry-pins button:disabled,#ferry-command .ferry-strategist:disabled,#ferry-dispatch-list>button:disabled{opacity:1}
.ferry-body .ferry-intro,.ferry-temperament{color:#656f60}
.ferry-missions small{color:#7e8b70;font-size:9px}
.ferry-prediction{color:#7c896b}.ferry-prediction>span{color:#849273}
.ferry-unit-info>small{color:#a2ae91;font-size:9px}

[data-ferry=true] .field-layout,[data-ferry=true][data-mobile-view=operations] .field-layout{min-height:0!important}
[data-ferry=true] .field-stage{outline:none}
[data-ferry-tab=orders] .ferry-body{padding:18px 24px}
.ferry-officer>.ferry-portrait{width:60px;height:60px}.ferry-officer h2{font-size:24px;margin:5px 0}.ferry-temperament{font-size:10px;line-height:1.6;margin:9px 0 11px}
#ferry-current{padding:9px 11px}#ferry-current>span{display:none}#ferry-current small{font-size:9px;margin-top:4px;line-height:1.5}
[data-ferry-tab=orders] .ferry-section-label{margin:14px 0 9px}
.ferry-missions button{min-height:70px;padding:9px 2px 8px}.ferry-missions svg{width:19px!important;height:19px!important;margin-bottom:5px}.ferry-missions small{font-size:8px;margin-top:4px}
.ferry-withdraw{padding:9px 0;margin-bottom:2px}.ferry-setting{padding:11px 0}.ferry-prediction{margin-top:12px;line-height:1.6}.ferry-prediction>b{display:none}.ferry-prediction p{margin:0 0 4px;font-size:10px}
@media(min-width:1500px){.ferry-missions button{min-height:85px}[data-ferry-tab=orders] .ferry-body{padding:24px 28px}}
@media(max-width:800px){[data-ferry-tab=orders] .ferry-body{padding:16px 20px}}

[data-ferry=true] .field-layout,[data-ferry=true][data-mobile-view=operations] .field-layout,[data-ferry=true]:not([data-mobile-view=operations]) .field-layout{height:calc(100dvh - 64px)!important;min-height:0!important}
[data-ferry-tab=orders] .ferry-body{padding-top:16px;padding-bottom:16px}
.ferry-temperament{display:none}.ferry-officer{margin-bottom:13px}
#ferry-current{padding:8px 11px}#ferry-current small{margin-top:3px}
.ferry-missions button{height:67px;min-height:67px;padding:7px 2px;line-height:1.2}.ferry-missions svg{width:18px!important;height:18px!important;margin-bottom:4px}.ferry-missions strong{line-height:15px}.ferry-missions small{line-height:10px;margin-top:3px}
.ferry-setting{padding:10px 0}.ferry-prediction{margin-top:10px}
@media(max-width:800px){[data-ferry=true] .field-layout,[data-ferry=true][data-mobile-view=operations] .field-layout,[data-ferry=true]:not([data-mobile-view=operations]) .field-layout{height:calc(100dvh - 54px)!important}}

[data-ferry=true][data-review=true] #ferry-command,[data-ferry=true][data-review=true] #ferry-objective,[data-ferry=true][data-review=true] #ferry-pins{display:none!important}
.commander-lost .ferry-portrait{filter:grayscale(1);opacity:.55}
.ferry-intro,.ferry-strategist em,.ferry-plans small,.ferry-plans em,.ferry-assignments span,.ferry-report p,.ferry-smallprint,.ferry-prediction,.ferry-prediction>span,.ferry-missions small,.ferry-officer>div>span,.ferry-section-label>span,.ferry-setting>span,.ferry-withdraw>span,.ferry-eyebrow>span,.ferry-stage small{color:#67715e}
#ferry-current small,#ferry-current em,.ferry-footer-line>span{color:#65735b}
#ferry-dispatch-list small,#ferry-dispatch-list time,.ferry-empty small{color:#67745c}
[data-ferry=true] .review-verdict,[data-ferry=true] .review-findings p,[data-ferry=true] .review-lessons p,[data-ferry=true] #review-detail p,[data-ferry=true] .review-cause>span,[data-ferry=true] .review-cause small,[data-ferry=true] .review-event,[data-ferry=true] .review-event time,[data-ferry=true] .review-footnote{color:#626f53}
[data-ferry=true] .review-summary>summary,[data-ferry=true] .review-list-head,[data-ferry=true] .review-metrics span,[data-ferry=true] .review-panel .review-eyebrow{color:#657752}

[data-ferry=true] .army-tag[data-condition=surrounded] .army-condition,[data-ferry=true] .army-tag[data-condition=broken] .army-condition,[data-ferry=true] .army-tag[data-condition=routed] .army-condition,[data-ferry=true] .army-tag[data-condition=flanked] .army-condition{display:block!important;position:absolute;top:100%;left:-1px;margin-top:2px;background:#653c2ee8;color:#efd0ae;font:8px/13px sans-serif;padding:1px 5px;border-radius:1px;pointer-events:none}
.ferry-officers>button.in-danger{border-color:#a7805e66;background:#40392a}.ferry-officers>button.in-danger[aria-pressed=true]{border-color:#cca575}

[data-ferry=true] .review-comparison{color:#697158;background:#dbe1cf}[data-ferry=true] .review-comparison strong{color:#8b6545}[data-ferry=true] .review-comparison small{color:#758066}
