.workspace.freight-screen{--fr-edge:#d4dfd2;--fr-muted:#50675c;--fr-ink:#233f36;--fr-light:#f7f9f2;--fr-green:#205d4b;display:flex;flex:1 1 0;min-height:0;width:100%;max-width:none;margin:0 auto;padding:0 26px 15px;color:var(--fr-ink);overflow:hidden}
.freight-screen button{font:inherit;color:inherit}
.freight-screen h2{font-size:clamp(17px,1.75vw,23px);line-height:1.2;letter-spacing:-.7px}
.fr-board{display:grid;grid-template-columns:minmax(260px,.73fr) minmax(390px,1.55fr);gap:14px;min-height:0;width:100%;height:100%}
.fr-desk,.fr-map-pane{min-width:0;min-height:0;border:1px solid var(--fr-edge);border-radius:13px;background:#fff;box-shadow:0 3px 15px #29423c09;overflow:hidden}
.fr-desk{display:flex;flex-direction:column}
.fr-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 17px 13px;border-bottom:1px solid var(--fr-edge)}
.fr-kicker{font-size:9px;line-height:1.25;letter-spacing:1.5px;font-weight:800;color:#577064;margin-bottom:5px}
.fr-budget{background:#f1edda;border:1px solid #e0d9b3;color:#675627;white-space:nowrap;border-radius:8px;font-weight:800;font-size:21px;line-height:1;padding:8px 10px}
.fr-budget small{font-size:10px}
.fr-desk-scroll,.fr-tab-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.fr-desk-scroll{flex:1 1 auto;padding:12px 14px 10px 17px}
.fr-section-label{font-size:13px;font-weight:800;margin-bottom:7px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.fr-section-label>span{font-size:11px;color:var(--fr-muted);font-weight:700}
.fr-orders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.freight-screen .fr-order{border:1px solid var(--fr-edge);background:var(--fr-light);border-radius:8px;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;line-height:1.1;padding:7px 2px;min-height:48px;font-size:11px;font-weight:700}
.freight-screen .fr-order.chosen,.freight-screen .fr-town.chosen{border-color:#6d957e;background:#e4eedf;color:#245b46}
.fr-summary,.fr-rules,.fr-effect,.fr-inner p{font-size:12px;line-height:1.45;color:var(--fr-muted)}
.fr-summary{margin:7px 0 13px}
.fr-towns{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 13px}
.fr-towns>span{font-size:11px;font-weight:bold;color:var(--fr-muted);margin-right:2px}
.freight-screen .fr-town{color:var(--fr-muted);padding:5px 8px;background:white;border:1px solid var(--fr-edge);border-radius:20px;font-size:11px;font-weight:600}
.fr-modes{display:flex;flex-direction:column;gap:5px}
.freight-screen .fr-mode{display:flex;align-items:center;text-align:left;gap:9px;width:100%;border:1px solid var(--fr-edge);border-radius:8px;background:#fff;padding:7px 9px}
.fr-mode>span{display:flex;flex-direction:column;gap:2px}
.fr-mode b{font-size:12px;line-height:1.2}
.fr-mode small{font-size:10px;color:var(--fr-muted)}
.fr-mode>strong{font-size:11px;white-space:nowrap;margin-left:auto}
.fr-mode>i{background:#fff;border:1.5px solid #8a9b8a;border-radius:50%;width:12px;height:12px;flex:none}
.freight-screen .fr-mode.chosen{background:#f1f6e9;border-color:#7fa283}
.fr-mode.chosen>i{border:3.5px solid #4b7859}
.fr-effect{display:flex;flex-direction:column;gap:4px;border-left:3px solid #87a176;padding:6px 9px;background:#f1f5eb;margin:10px 0}
.fr-effect b{font-size:12px;color:var(--fr-ink)}
.fr-rules{font-size:11px}
.fr-submit{padding:9px 16px 12px;border-top:1px solid var(--fr-edge);background:#fbfcf7}
.fr-submit p{font-size:11px;line-height:1.35;color:#795525;margin:0 0 6px}
.freight-screen .fr-send{min-height:39px;display:flex;align-items:center;gap:9px;border:1px solid #1f5845;border-radius:8px;width:100%;text-align:left;padding:8px 12px;background:var(--fr-green);color:white;font-weight:800;font-size:13px;box-shadow:0 2px 0 #174938}
.fr-send span{margin-left:auto;font-size:11px;background:#ffffff1e;padding:3px 6px;border-radius:5px}
.fr-map-pane{display:flex;flex-direction:column}
.fr-tabs{display:flex;align-items:stretch;background:#f7f9f3;border-bottom:1px solid var(--fr-edge);padding:0 10px;flex-shrink:0}
.freight-screen .fr-tab{border:0;border-bottom:3px solid transparent;background:none;padding:12px 10px 9px;color:var(--fr-muted);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:700}
.freight-screen .fr-tab-desk{display:none}
.freight-screen .fr-tab.desktop-on{border-bottom-color:#427a5e;color:#214f3a}
.fr-tab i{font-style:normal;background:#e6efdf;border-radius:12px;padding:1px 5px;font-size:10px}
.fr-tab-content{flex:1 1 0;scrollbar-gutter:auto}
.fr-route .fr-panel-head{border:0}
.fr-status{font-size:11px;display:inline-flex;align-items:center;gap:6px;font-weight:700;white-space:nowrap;background:#f1f3e8;color:#53684f;border:1px solid #dce3cf;border-radius:15px;padding:5px 8px}
.fr-status i{width:6px;height:6px;border-radius:50%;background:#879a79}
.fr-status.is-live{background:#e6f0e3;color:#355f48}
.fr-status.is-live i{background:#3d8d67}
.fr-chart-wrap{margin:0 14px;border:1px solid #ced8c6;border-radius:9px;overflow:hidden;background:#e5ebd9}
.freight-chart{display:block;height:auto;width:100%;background:#dde9df}
.fr-node-label{fill:#29483b;stroke:#eff4df;paint-order:stroke;stroke-width:4px;stroke-linejoin:round;font:700 11px system-ui,sans-serif}
.fr-sea-label{fill:#365f64;letter-spacing:1.7px;font:700 9px system-ui,sans-serif}
.fr-chart-note{padding:5px 9px;font-size:10px;line-height:1.3;color:#4e6653;background:#f1f4e8}
.fr-itinerary{padding:13px 17px 16px}
.fr-itinerary ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:7px;padding:0;margin:0}
.fr-itinerary li{display:flex;gap:7px;align-items:flex-start;border:1px solid var(--fr-edge);border-radius:8px;padding:8px;background:#f9fbf5}
.fr-stage-icon{flex:none;background:#fff;border:1px solid var(--fr-edge);border-radius:6px;padding:4px}
.fr-itinerary li strong{display:block;font-size:12px;line-height:1.25}
.fr-itinerary li small{display:block;font-size:10px;line-height:1.4;color:var(--fr-muted);margin-top:3px}
.fr-itinerary li>span{color:var(--fr-muted);font-size:10px;margin-left:auto;white-space:nowrap}
.fr-itinerary li.fr-current{border-color:#62977c;background:#eaf4e7;box-shadow:inset 0 2px 0 #6f9b7d}
.fr-trip-foot{font-size:12px;line-height:1.4;margin-top:10px;color:var(--fr-muted)}
.fr-inner{padding:14px 17px}
.fr-inner>p{margin:0 0 12px}
.fr-empty{border:1px dashed #bfcebe;border-radius:9px;padding:25px 14px;display:grid;justify-items:center;text-align:center;gap:7px;background:#f6f8ef;color:var(--fr-muted)}
.fr-empty b{font-size:14px;color:var(--fr-ink)}
.fr-empty span{font-size:12px;max-width:310px}
.freight-screen .fr-waybill{display:flex;align-items:center;gap:11px;border:1px solid var(--fr-edge);background:#f9faf5;border-radius:8px;width:100%;text-align:left;padding:10px;margin-bottom:7px}
.fr-waybill-icon{padding:7px;background:#e7edde;border-radius:7px}
.fr-waybill b,.fr-waybill small,.fr-waybill strong{display:block}
.fr-waybill b{font-size:13px}
.fr-waybill small,.fr-waybill strong{font-size:11px;color:var(--fr-muted);margin-top:3px}
.fr-waybill>svg{margin-left:auto}
.fr-notes h3{font-size:14px;margin-bottom:4px}
.fr-notes .fr-inner p{max-width:70ch}
.fr-sources{display:flex;align-items:flex-start;flex-direction:column;gap:5px;font-size:11px;border-top:1px solid var(--fr-edge);padding-top:12px}
.fr-sources a{color:#226445;text-underline-offset:2px}
@media (max-width:820px){
  .workspace.freight-screen{padding:0 12px 8px}
  .fr-board{grid-template-columns:minmax(238px,.8fr) minmax(300px,1.3fr);gap:8px}
  .fr-panel-head{padding:10px}
  .fr-desk-scroll,.fr-inner,.fr-itinerary{padding:9px 10px}
  .fr-chart-wrap{margin:0 9px}
  .freight-screen .fr-tab{padding:10px 7px 7px;font-size:11px}
}
@media (max-width:650px){
  .workspace.freight-screen{padding:0 8px 7px}
  .fr-board{position:relative;display:flex;flex-direction:column;gap:0}
  .fr-map-pane{display:contents}
  .fr-tabs{order:0;min-height:35px;border:1px solid var(--fr-edge);border-radius:9px 9px 0 0;padding:0;justify-content:space-around}
  .fr-desk,.fr-tab-content{order:1;flex:1 1 0;min-height:0;border:1px solid var(--fr-edge);border-top:0;border-radius:0 0 9px 9px;background:#fff}
  .freight-screen .fr-tab{flex:1;display:flex;font-size:10px;gap:4px;padding:6px 3px}
  .freight-screen .fr-tab.desktop-on{border-bottom-color:transparent;color:var(--fr-muted)}
  .freight-screen .fr-tab.mobile-on{border-bottom-color:#427a5e;color:#214f3a}
  .freight-screen[data-fr-mobile="desk"] .fr-tab-content,.freight-screen:not([data-fr-mobile="desk"]) .fr-desk{display:none}
  .fr-orders{gap:6px}
  .freight-screen .fr-order{flex-direction:row;min-height:38px}
  .fr-budget{font-size:18px}
  .fr-submit{padding:7px 10px 9px}
  .fr-itinerary ol{grid-template-columns:1fr}
  .fr-itinerary li{align-items:center}
  .fr-itinerary li small{font-size:11px}
  .fr-itinerary li>span{font-size:11px}
  .fr-inner p,.fr-summary,.fr-effect{font-size:13px}
  .fr-chart-wrap{border-radius:6px}
}
@media (max-height:620px) and (min-width:651px){
  .fr-panel-head{padding-block:8px}
  .fr-desk-scroll,.fr-itinerary,.fr-inner{padding-block:8px}
  .freight-screen .fr-tab{padding-block:6px}
  .fr-chart-wrap{max-width:750px;margin-inline:auto}
}
.fr-map-labels{font:800 11px system-ui,sans-serif;letter-spacing:1.7px;fill:#516c60}
.fr-lesson{display:flex;align-items:flex-start;gap:9px;background:#f2f6ed;border:1px solid #dce6d6;border-radius:8px;padding:9px 11px;margin-top:11px;color:#436553}
.fr-lesson b{font-size:12px;color:var(--fr-ink)}
.fr-lesson p{font-size:12px;line-height:1.45;margin-top:2px;max-width:82ch}
@media(max-width:650px){.fr-node-label{font-size:16px}.fr-map-labels{font-size:15px;letter-spacing:1px}.fr-sea-label{font-size:12px}.fr-lesson p{font-size:13px}}
