/* Financial Cockpit — Swiss Express journey earnings, scoped to Trips & Profit.
   The coach cutout has its front at the LEFT; keep it unmirrored and reverse only the road scene to match leftward travel.
   Demo financial records are never represented as audited accounts. */
body.cfi-finance-mode{background:#f8faf8}
.cfi-finance-mode .main-view{padding:10px 14px 24px!important;background:linear-gradient(145deg,#fbfcfa,#f5f7f5)}
.cfi-finance-mode .topbar{height:76px;min-height:76px;padding:8px 18px;background:#fffefa;gap:14px}
.cfi-finance-mode .cfi-command-brand{width:150px;min-width:150px;padding-right:16px}
.cfi-finance-mode .cfi-command-brand #cfi-command-logo{max-width:120px;max-height:59px;object-fit:contain}
.cfi-finance-mode .cfi-official-lockup{display:none!important}
.cfi-finance-mode .cfi-brand-heading{gap:0!important;min-width:0}
.cfi-finance-mode .cfi-brand-context h1{font-size:24px!important;font-weight:850!important;letter-spacing:-.75px;line-height:1.1;white-space:nowrap}
.cfi-finance-mode .cfi-brand-context p{display:block!important;font-size:12px!important;color:#798aa4;margin-top:5px;white-space:nowrap}
.cfi-finance-mode .cfi-command-heading{gap:20px;min-width:0;flex:1}
.fc-header-stage{display:none}
.cfi-finance-mode .fc-header-stage{display:block;margin-left:8px;padding-left:18px;border-left:1px solid #e5e7e4;white-space:nowrap;font-size:10px;color:#728aa8;font-weight:850;letter-spacing:.6px}
.cfi-finance-mode .top-actions{gap:10px;flex:none}
.cfi-finance-mode .demo-top{background:#fff5ea;color:#bb5b14;font-size:10px;border:1px solid #f6dfc8;padding:9px 12px;border-radius:999px;white-space:nowrap}
.cfi-finance-mode #header-clock{display:none!important}
.fc-header-controls{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#19394a}
.fc-range{display:flex;gap:7px;align-items:center;border-left:1px solid #e6e9e6;padding-left:10px;font-size:10px;color:#58738a;font-weight:800}
.fc-header-controls .fc-svg{width:15px;height:15px;color:#16596d}
.fc-period-options{display:flex;gap:1px;padding:3px;background:#eef1ef;border-radius:12px}
.fc-period-options button{border:0;background:transparent;padding:9px 11px;border-radius:9px;color:#57747f;font-size:10px;font-weight:800;cursor:pointer}
.fc-period-options button.active{background:#003f49;color:#fff;box-shadow:0 4px 9px #003e4825}
.fc-currency{display:flex;align-items:center;gap:2px;border-left:1px solid #e6e9e6;padding-left:11px}
.fc-currency select{appearance:none;border:0;background:transparent;color:#0c4051;font-size:10px;font-weight:850;padding:9px 5px;cursor:pointer}
.fc-currency .fc-svg{width:12px}
.fc-currency-label,.fc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.fc-screen{color:#0c3045;--fc-ink:#0b3048;--fc-muted:#7189a0;--fc-edge:#e7ecea;--fc-teal:#03444d;font:12px Manrope,'DM Sans',Inter,sans-serif;width:100%;min-width:0}
.fc-screen *{box-sizing:border-box}
.fc-screen button,.fc-screen input,.fc-screen select{font:inherit}
.fc-screen button,.fc-header-controls button{cursor:pointer}
.fc-screen button:focus-visible,.fc-header-controls button:focus-visible,.fc-screen select:focus-visible{outline:2px solid #218bd8;outline-offset:3px}
.fc-svg{display:inline-block;width:19px;height:19px;flex:none;vertical-align:middle}
.fc-screen h2,.fc-screen h3,.fc-screen p,.fc-screen h4{margin:0}
.fc-hero{position:relative;isolation:isolate;border-radius:15px;overflow:hidden;height:224px;background:#053d46;box-shadow:0 7px 20px #103f4a13;color:#fff}
.fc-hero-scene{position:absolute;inset:0;background:url('/assets/finance/road-horizon.svg') right center/cover no-repeat;opacity:.98;z-index:0;transform:scaleX(-1);transform-origin:center center}
.fc-hero:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(90deg,#003f48 0%,#003c45 25%,#004b55ed 49%,#003e4885 76%,transparent 100%)}
.fc-hero-bus{position:absolute;right:-22px;bottom:-69px;width:min(38%,560px);height:330px;object-fit:contain;object-position:center bottom;z-index:2;transform:scaleX(1);filter:drop-shadow(0 15px 12px #081d2890);pointer-events:none}
.fc-hero-content{position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:15px 20px 16px}
.fc-hero-title{display:flex;gap:15px;align-items:baseline;white-space:nowrap}
.fc-hero-title h2{font-size:22px;font-weight:820;letter-spacing:-.6px}
.fc-hero-title span{font-size:10px;color:#d2e6e5}
.fc-equation{display:grid;grid-template-columns:minmax(0,226px) 27px minmax(0,216px) 27px minmax(0,198px) 27px minmax(0,245px);align-items:center;gap:7px;width:min(76%,1040px);min-width:0}
.fc-hero-tile{display:flex;gap:11px;align-items:center;min-height:92px;border:1px solid #ffffff3e;border-radius:11px;background:linear-gradient(120deg,#215b63ad,#034550b8);box-shadow:inset 0 1px 0 #ffffff19;padding:12px 11px;min-width:0}
.fc-hero-tile>div{display:flex;flex-direction:column;gap:3px;min-width:0;white-space:nowrap}
.fc-hero-tile .fc-hero-label{font-size:11px;font-weight:800;color:#e5f5f3}
.fc-hero-tile strong{font-size:25px;line-height:1.2;font-weight:870;letter-spacing:-.9px;white-space:nowrap}
.fc-hero-tile small{color:#d4e5e2;font-size:10px;white-space:nowrap}
.fc-hero-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#ffffff21;color:#f7ffff;flex:none}
.fc-hero-icon .fc-svg{width:21px;height:21px}
.fc-math-sign{font-size:28px;text-align:center;color:#f7ffff}
.fc-hero-tile-result{position:relative;border:1px solid #99ffec;background:linear-gradient(120deg,#166a6cde,#075d66e3);box-shadow:0 0 0 1px #a3ffec80,0 0 24px #37efd4cb,inset 0 0 15px #55ddc27d;z-index:4}
.fc-hero-tile-result:after{content:'';position:absolute;left:14%;right:14%;bottom:-8px;height:12px;border-radius:50%;background:#25eac8;filter:blur(12px);opacity:.85;pointer-events:none}
.fc-collection-banner{display:flex;align-items:center;gap:12px;white-space:nowrap;width:min(76%,1040px);min-height:42px;padding:0 16px;border:1px solid #a6eddeb8;background:linear-gradient(100deg,#0c6770dd,#02444ac5);border-radius:11px;box-shadow:0 0 15px #24cda82b}
.fc-collection-banner>.fc-svg{width:20px;height:20px}
.fc-collection-banner strong,.fc-collection-banner b{font-weight:850;color:#fff}
.fc-collection-banner>span{font-size:11px}.fc-collection-banner i{font-style:normal;color:#b4d3d1}
.fc-workspace{display:grid;grid-template-columns:minmax(360px,1fr) minmax(0,2fr);gap:12px;align-items:stretch;margin-top:12px}
.fc-panel{background:#fffefa;border:1px solid #e7eae8;border-radius:15px;min-width:0;box-shadow:0 5px 15px #102b3f06}
.fc-ranking{padding:15px 15px 12px;min-height:612px}
.fc-rank-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:1px 2px 12px}
.fc-rank-heading h2{font-size:20px;letter-spacing:-.65px;font-weight:850}
.fc-rank-heading p{font-size:10px;color:#8299b5;margin-top:4px}
.fc-rank-heading label{position:relative;flex:none}
.fc-rank-heading select{appearance:none;padding:10px 24px 10px 12px;border:1px solid #dde7e7;background:#fffefa;border-radius:9px;font-size:10px;color:#214760;font-weight:800;cursor:pointer}
.fc-rank-heading label>.fc-svg{position:absolute;right:8px;top:11px;width:12px;height:12px;pointer-events:none}
.fc-rank-list{border-top:1px solid #edf0ec}
.fc-rank-row{width:100%;display:grid;grid-template-columns:82px minmax(0,1fr) 76px 29px 17px;align-items:center;gap:7px;min-height:62px;background:transparent;border:0;border-bottom:1px solid #e9eeec;padding:5px 9px;text-align:left;color:#183956}
.fc-rank-row.is-selected{border:1px solid #7ce2cb;border-left:3px solid #13b697;border-radius:10px;background:#effbf5;box-shadow:0 1px 6px #0b8e7710;margin:2px 0;min-height:62px}
.fc-rank-row:hover:not(.is-selected){background:#f3f9f5}
.fc-rank-bus{width:79px;height:47px;object-fit:contain;filter:drop-shadow(0 3px 2px #294a4b2d)}
.fc-rank-id,.fc-rank-sum{display:flex;flex-direction:column;gap:5px;min-width:0}
.fc-rank-id strong{font-size:12px;font-weight:850;color:#0f2f58}
.fc-rank-id small{font-size:10px;color:#8299b5;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-rank-sum{text-align:left}
.fc-rank-sum strong{color:#0b7767;font-size:13px;white-space:nowrap;font-weight:850}
.fc-rank-sum.loss strong{color:#e33a30}
.fc-rank-sum small{color:#02976c;font-size:10px;font-weight:750}
.fc-rank-sum.loss small{color:#a3adc1}
.fc-rank-row>.fc-svg{width:15px;color:#18506d}
.fc-margin-ring{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#079c82 var(--fc-ring),#d8e9e7 0)}
.fc-margin-ring i{width:15px;height:15px;border-radius:50%;background:#fffefa}
.fc-margin-review{background:conic-gradient(#f1840d var(--fc-ring),#f9dcb3 0)}
.fc-margin-none{background:conic-gradient(#b6c5d0 0,#d7dde1 100%)}
.fc-detail{padding:12px 12px 14px;display:flex;flex-direction:column;gap:10px;min-height:612px}
.fc-detail-heading{display:flex;align-items:flex-start;gap:12px;padding:0 5px;min-height:45px}
.fc-detail-heading>div:first-child{min-width:0;flex:1}
.fc-detail-heading h2{font-size:21px;font-weight:850;letter-spacing:-.5px;color:#102d57;white-space:nowrap}
.fc-detail-heading h2 span{font-size:15px}
.fc-detail-heading p{color:#7f96ae;font-size:11px;margin-top:3px}
.fc-leg-buttons{display:flex;align-items:center;border-radius:9px;border:1px solid #e1e7e6;overflow:hidden;margin-left:auto}
.fc-leg-buttons button{display:inline-flex;align-items:center;gap:7px;background:#f9fbfa;border:0;padding:10px 15px;font-size:11px;color:#1e5266;font-weight:800;white-space:nowrap}
.fc-leg-buttons button.active{background:#00454b;color:#fff}
.fc-leg-buttons .fc-svg{width:16px;height:16px}
.fc-menu{position:relative}
.fc-menu summary{list-style:none;display:grid;place-items:center;border:1px solid #e0e6e8;width:35px;height:35px;border-radius:9px;cursor:pointer}
.fc-menu summary::-webkit-details-marker{display:none}
.fc-menu summary .fc-svg{width:18px;height:18px}
.fc-menu>div{position:absolute;right:0;top:38px;display:flex;flex-direction:column;gap:3px;padding:6px;min-width:150px;z-index:10;background:#fff;border:1px solid #d8e8e7;box-shadow:0 12px 25px #20405233;border-radius:9px}
.fc-menu>div button{text-align:left;border:0;background:none;border-radius:6px;padding:8px 10px;white-space:nowrap;color:#24516a}
.fc-menu>div button:hover{background:#ebf6f2}
.fc-detail-overview{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:center;gap:4px;min-height:135px}
.fc-detail-photo{height:138px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.fc-selected-bus{width:100%;height:135px;object-fit:contain;object-position:center;filter:drop-shadow(0 6px 3px #344a4b26)}
.fc-detail-intro{display:flex;flex-direction:column;gap:12px;min-width:0}
.fc-route-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;flex-wrap:wrap}
.fc-journey{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;color:#10365b}
.fc-journey strong{font-weight:850}
.fc-journey .fc-svg{color:#0d6573;width:24px;height:24px}
.fc-journey .fc-svg:nth-child(3){width:22px;color:#174a78}
.fc-target{display:flex;align-items:center;gap:5px;color:#064d59;background:#e5f7f0;border:1px solid #c9ebdf;padding:8px 10px;border-radius:10px;font-size:10px;font-weight:800;white-space:nowrap}
.fc-target .fc-svg{width:15px;height:15px}
.fc-margin-status{align-self:flex-start;display:flex;align-items:center;gap:11px;padding:9px 13px;border-radius:11px;background:#fff4e8;color:#cb4009;min-width:260px}
.fc-margin-status>span{display:grid;place-items:center;background:#ffdc9e;width:38px;height:38px;border-radius:11px;flex:none}
.fc-margin-status>span .fc-svg{width:20px}
.fc-margin-status>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.fc-margin-status strong{font-size:15px;white-space:nowrap;font-weight:850}
.fc-margin-status small{font-size:10px;color:#876f63}
.fc-margin-status-good{background:#eaf9ef;color:#0d8066}
.fc-margin-status-good>span{background:#d1f2df}
.fc-margin-status-none{background:#f0f3f3;color:#587681}
.fc-margin-status-none>span{background:#dfe9e9}
.fc-trip-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.fc-trip-metrics>div{position:relative;border:1px solid #e4ebe9;border-radius:10px;min-height:86px;padding:10px 8px 8px 51px;display:flex;flex-direction:column;gap:3px}
.fc-trip-metrics>div>.fc-svg{position:absolute;left:10px;top:17px;width:32px;height:32px;padding:6px;border-radius:50%;background:#ecf3f6;color:#123b83}
.fc-trip-metrics>div:nth-child(2)>.fc-svg{background:#ebf8f4;color:#065c60}
.fc-trip-metrics>div:nth-child(3)>.fc-svg{background:#eaf8f1;color:#087360}
.fc-trip-metrics strong{font-size:19px;font-weight:850;color:#0c295e;white-space:nowrap}
.fc-trip-metrics span{font-size:11px;font-weight:850;color:#19335b}
.fc-trip-metrics small{font-size:8px;color:#8b9fbd}
.fc-detail-breakdowns{display:grid;grid-template-columns:1.22fr .94fr .88fr;gap:9px;min-height:256px}
.fc-detail-box{padding:12px 12px 10px;border:1px solid #e8ece9;border-radius:11px;min-width:0;display:flex;flex-direction:column;gap:9px}
.fc-detail-box header{display:flex;align-items:flex-start;gap:9px}
.fc-detail-box header>.fc-svg{width:18px;height:18px;margin-top:2px;color:#094e60}
.fc-detail-box h3{font-size:12px;font-weight:850;color:#0c315c}
.fc-detail-box header p{font-size:10px;color:#859abb;margin-top:3px}
.fc-cost-rows{display:flex;flex-direction:column}
.fc-cost-rows>div{display:grid;grid-template-columns:24px minmax(0,1fr) 70px 44px;align-items:center;gap:6px;min-height:31px;border-bottom:1px solid #e9edeb}
.fc-cost-rows>div>.fc-svg{width:22px;height:22px;padding:3px;background:#f3f7f7;color:#285375;border-radius:50%}
.fc-cost-rows span{font-size:10px;color:#294369;min-width:0}
.fc-cost-rows b{font-size:11px;color:#0e315e;white-space:nowrap;text-align:right}
.fc-cost-rows small{font-size:9px;color:#7894b8;white-space:nowrap;text-align:right}
.fc-cost-rows .fc-expense-total{grid-template-columns:minmax(0,1fr) 70px 44px;border-bottom:0;padding-top:8px}
.fc-expense-total strong{font-size:11px;font-weight:850;color:#0a2a58}
.fc-no-costs{font-size:11px;color:#7c92a6;padding:15px 0}
.fc-insight-row{display:flex;align-items:flex-start;gap:9px}
.fc-insight-row i{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e9f8f4;color:#0d7366;flex:none}
.fc-insight-row.warn i{background:#fff0d9;color:#df8612}
.fc-insight-row.neutral i{background:#ecf0f4;color:#2d5771}
.fc-insight-row i>.fc-svg{width:16px;height:16px}
.fc-insight-row div{display:flex;flex-direction:column;gap:3px}
.fc-insight-row strong{font-size:10px;color:#142f5c;line-height:1.35}
.fc-insight-row small{font-size:9px;color:#8ba0bb;line-height:1.35}
.fc-primary{border:0;border-radius:8px;background:linear-gradient(130deg,#00616a,#003a46);color:#fff!important;box-shadow:0 5px 9px #033c4519;font-weight:820}
.fc-insights .fc-primary{margin-top:auto;min-height:38px;font-size:11px}
.fc-insights .fc-primary .fc-svg{width:15px}
.fc-collected{display:flex;align-items:center;gap:14px;min-height:55px;padding:7px 12px;border-radius:9px}
.fc-collected>.fc-svg{width:27px;height:27px;padding:5px;border-radius:50%;background:#079e7b;color:#fff}
.fc-collected span{display:flex;flex-direction:column;gap:3px}
.fc-collected strong{font-size:17px;color:#133654}
.fc-collected small{font-size:10px;color:#8296a9}
.fc-collected.fc-good{background:#eaf9f3}
.fc-collected.fc-wait{background:#fff4e7}
.fc-collected.fc-wait>.fc-svg{background:none;color:#b15711}
.fc-collected.fc-wait strong{color:#b1540e}
.fc-collection-total{border-top:1px solid #eaeceb;padding:11px 4px 3px;text-align:center;display:flex;flex-direction:column;gap:4px}
.fc-collection-total strong{font-size:14px;color:#102f63;font-weight:850}
.fc-collection-total span{font-size:10px;color:#8da0b7}
.fc-detail-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:auto;padding-top:0}
.fc-detail-actions button{min-height:39px;border:1px solid #dfe8e8;border-radius:10px;padding:0 11px;background:#fffefa;color:#164860;font-weight:850;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.fc-detail-actions button>.fc-svg{width:17px;height:17px}
.fc-detail-actions button.fc-primary{border-color:#06444d;padding:0 18px}
.fc-empty,.fc-caution{font-size:10px;color:#8398a7;line-height:1.45}
.fc-caution{padding:8px 3px 0}
.fc-dialog-ledger table{border-collapse:collapse;width:100%;margin:13px 0}
.fc-dialog-ledger th,.fc-dialog-ledger td{padding:9px 8px;border-bottom:1px solid #e4edeb;text-align:left;font-size:12px}
.fc-dialog-ledger td:last-child,.fc-dialog-ledger th:last-child{text-align:right}
.fc-dialog-ledger p,.fc-dialog-note{font-size:12px;color:#587689;line-height:1.55}
@media(max-width:1530px){
.cfi-finance-mode .fc-header-stage{display:none}
.fc-hero-bus{width:35%;right:-23px}
.fc-equation{width:80%;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,.92fr) 20px minmax(0,1.13fr);gap:5px}
.fc-collection-banner{width:80%;gap:9px}
.fc-hero-tile{padding:8px;gap:6px}
.fc-hero-tile strong{font-size:22px}
.fc-hero-tile small{font-size:9px}
.fc-header-controls{gap:6px}
.fc-workspace{grid-template-columns:minmax(330px,.92fr) minmax(0,1.9fr)}
.fc-rank-row{grid-template-columns:68px minmax(0,1fr) 70px 23px 12px;gap:5px;padding:5px}
.fc-rank-bus{width:65px;height:44px}
.fc-detail-heading h2{font-size:20px}
.fc-detail-heading h2 span{font-size:13px}
.fc-trip-metrics>div{padding-left:42px}
.fc-trip-metrics>div>.fc-svg{left:6px;width:29px;height:29px}
.fc-trip-metrics strong{font-size:17px}
.fc-detail-breakdowns{grid-template-columns:1.12fr .94fr .86fr}
.fc-journey{font-size:12px}
.fc-target{font-size:9px}
.fc-cost-rows>div{grid-template-columns:21px minmax(0,1fr) 62px 36px;gap:4px}
.fc-cost-rows b{font-size:10px}
}
@media(max-width:1250px){
.cfi-finance-mode .cfi-brand-context p{display:none!important}
.cfi-finance-mode .topbar{gap:8px;padding:8px 13px}
.cfi-finance-mode .cfi-command-brand{width:125px;min-width:125px}
.cfi-finance-mode .cfi-brand-context h1{font-size:20px!important}
.cfi-finance-mode .demo-top{padding:8px}
.fc-header-controls .fc-range{display:none}
.fc-workspace{grid-template-columns:1fr}
.fc-ranking{min-height:0}
.fc-rank-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px}
.fc-detail{min-height:0}
.fc-hero-content{padding:13px 16px}
.fc-equation{width:100%;max-width:950px}
.fc-collection-banner{width:100%;max-width:950px}
.fc-hero:after{background:linear-gradient(90deg,#003b44,#004149d9 65%,#003e484b)}
.fc-hero-bus{opacity:.55;right:-65px;width:37%}
}
@media(max-width:850px){
.cfi-finance-mode .cfi-command-brand{width:108px;min-width:108px}
.cfi-finance-mode .cfi-brand-context h1{font-size:18px!important}
.cfi-finance-mode .fc-header-controls{display:none}
.fc-hero{height:auto;min-height:264px}
.fc-hero-title{white-space:normal;flex-wrap:wrap;gap:4px}
.fc-hero-title h2{font-size:20px}
.fc-hero-title span{font-size:9px}
.fc-hero-content{gap:15px}
.fc-equation{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.fc-math-sign{display:none}
.fc-hero-tile{min-height:72px}
.fc-hero-tile strong{font-size:19px}
.fc-hero-bus{width:55%;opacity:.25;right:-55px}
.fc-collection-banner{min-height:44px;flex-wrap:wrap;white-space:normal;gap:6px;font-size:10px;padding:8px 10px}
.fc-collection-banner>span{font-size:10px}
.fc-detail-overview{grid-template-columns:38% 62%}
.fc-detail-breakdowns{grid-template-columns:1fr 1fr}
.fc-collections{grid-column:1/-1}
.fc-detail-breakdowns{min-height:0}
}
@media(max-width:600px){
.cfi-finance-mode .main-view{padding:9px 10px 20px!important}
.cfi-finance-mode .cfi-command-brand{width:98px;min-width:98px}
.cfi-finance-mode .cfi-command-brand #cfi-command-logo{max-width:89px}
.cfi-finance-mode .cfi-brand-context h1{font-size:17px!important}
.fc-hero{border-radius:13px}
.fc-hero-content{padding:13px}
.fc-hero-title h2{font-size:19px}
.fc-hero-tile{padding:9px;min-height:75px}
.fc-hero-tile .fc-hero-label{font-size:10px}
.fc-hero-tile strong{font-size:18px}
.fc-hero-icon{width:28px;height:28px}
.fc-hero-icon>.fc-svg{width:18px;height:18px}
.fc-collection-banner{gap:5px}
.fc-workspace{gap:10px}
.fc-rank-list{grid-template-columns:1fr}
.fc-ranking{padding:12px}
.fc-detail{padding:12px;gap:9px}
.fc-detail-heading{flex-wrap:wrap}
.fc-leg-buttons{order:2;margin-left:0}
.fc-menu{margin-left:auto}
.fc-detail-heading h2{font-size:18px}
.fc-detail-heading h2 span{font-size:13px}
.fc-detail-overview{grid-template-columns:1fr}
.fc-detail-photo{height:135px}
.fc-detail-intro{gap:8px}
.fc-route-meta{gap:8px}
.fc-margin-status{min-width:0;width:100%}
.fc-trip-metrics{gap:5px}
.fc-trip-metrics>div{padding:8px 5px;min-height:81px;align-items:center;text-align:center}
.fc-trip-metrics>div>.fc-svg{position:static;width:24px;height:24px;padding:4px}
.fc-trip-metrics strong{font-size:14px}
.fc-trip-metrics span{font-size:9px}
.fc-trip-metrics small{font-size:7px}
.fc-detail-breakdowns{grid-template-columns:1fr}
.fc-collections{grid-column:auto}
.fc-detail-actions{flex-wrap:wrap}
.fc-detail-actions button{flex:1}
.fc-detail-actions button.fc-primary{flex-basis:100%}
}
@media(max-width:360px){.fc-rank-row{grid-template-columns:55px minmax(0,1fr) 66px 19px 11px}.fc-rank-bus{width:53px}.fc-collection-banner>span{font-size:9px}}

/* Finance cockpit: broader non-trip cost heading without the workshop wrench badge. */
.fc-hero-tile-other .fc-hero-icon{background:#ffffff2a;color:#e8f9f5}
