/* CargoExpanse Manager · Dispečerské řídicí středisko v2.
   Izolovaný vzhled; bez změny servisů, burzy a dalších stránek. */
.dc-center{--dc-ink:#1b3151;--dc-muted:#657992;--dc-line:#d6e2ef;--dc-blue:#205be1;--dc-dark:#142640;min-width:0}
.dc-center *{box-sizing:border-box}
.dc-center .page-head{margin-bottom:13px}
.dc-command{display:flex;align-items:stretch;justify-content:space-between;gap:20px;padding:22px 27px;background:linear-gradient(113deg,#0c1d34 0%,#17325a 64%,#204b89 100%);border:1px solid #284a7c;color:#f4f8ff;min-width:0;margin-bottom:10px;overflow:hidden;position:relative}
.dc-command:after{content:"";position:absolute;right:23%;top:-110px;width:175px;height:370px;transform:skew(-22deg);border-left:40px solid #8cb8ff12;border-right:1px solid #8cb8ff23;pointer-events:none}
.dc-command>div{position:relative;z-index:1;min-width:0}
.dc-kicker{display:inline-flex;align-items:center;gap:8px;letter-spacing:.11em;font:700 10px/1.4 var(--mono);color:#a4c3fc}
.dc-kicker .icon{width:18px;height:18px}
.dc-command h2{margin:10px 0 5px;font:750 clamp(31px,3.4vw,46px)/1 var(--head);letter-spacing:.015em;text-transform:uppercase}
.dc-command p{font-size:12px;color:#c6d6ef;line-height:1.55}
.dc-command-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.dc-command-links .btn{min-height:33px;font-size:10px;background:#26456c;color:#eff5ff;border-color:#4b6995}
.dc-command-links .btn:hover{background:#365c8f;color:#fff}
.dc-command-shift{flex:0 0 235px;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:14px 18px;background:#09172b6b;border:1px solid #56719b5c}
.dc-command-shift>span{display:flex;gap:8px;align-items:center;color:#a3f0c5;font:650 10px var(--mono)}
.dc-command-shift .icon{width:15px;height:15px}
.dc-command-shift strong{font:750 22px/1.08 var(--head);overflow-wrap:anywhere}
.dc-command-shift small{color:#a4bad7;font-size:10px}
.dc-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:13px}
.dc-kpi{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;min-height:70px;padding:12px 11px;border:1px solid var(--dc-line);background:#fff;min-width:0}
.dc-kpi .icon{grid-row:1/3;width:28px;height:28px;display:block;color:var(--dc-blue);padding:5px;background:#e7f0ff}
.dc-kpi span{color:#59708d;font:650 10px/1.35 var(--font)}
.dc-kpi strong{font:750 25px/1 var(--head);color:#19365e;margin-top:4px}
.dc-accepted-banner{margin-bottom:12px}
.dc-console{display:grid;grid-template-columns:minmax(240px,.71fr) minmax(0,2.2fr) minmax(240px,.76fr);gap:12px;align-items:start;min-width:0}
.dc-queue,.dc-detail,.dc-side-panel,.dc-benefits{min-width:0}
.dc-queue{position:sticky;top:8px;border:1px solid var(--dc-line);background:#fff}
.dc-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#192b47;color:#fff;padding:15px 15px 13px}
.dc-queue-head h2{font:750 25px/1 var(--head);text-transform:uppercase}
.dc-queue-head strong{display:grid;place-items:center;min-width:29px;height:29px;padding:0 7px;background:#244d8e;color:#e9f3ff;font:700 16px var(--head)}
.dc-queue-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid var(--dc-line);background:#f5f8fc}
.dc-queue-tabs button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;border-bottom:3px solid transparent;background:transparent;padding:11px 5px 9px;font:750 10px/1.2 var(--font);color:#56708e;cursor:pointer;min-width:0}
.dc-queue-tabs button span{font:700 11px var(--mono);color:#526985}
.dc-queue-tabs button.is-active{color:#1450c2;border-color:#2f6af0;background:#eaf2ff}
.dc-queue-tabs button.is-active span{color:#1450c2}
.dc-queue-tabs button:hover{background:#ecf3ff}
.dc-queue-tabs button:focus-visible,.dc-task:focus-visible{outline:3px solid #3a75ef;outline-offset:-3px}
.dc-task-list{max-height:min(78vh,800px);overflow-y:auto;scrollbar-color:#9cb2d4 #eff4fa;overscroll-behavior:contain;padding:7px}
.dc-task{width:100%;padding:13px 11px;min-height:122px;background:#fff;border:1px solid #dbe5f1;border-left:3px solid transparent;text-align:left;display:grid;gap:6px;color:var(--dc-ink);cursor:pointer;margin:0 0 6px;transition:background .15s,border-color .15s}
.dc-task:last-child{margin-bottom:0}
.dc-task:hover{background:#f4f8ff;border-color:#9dbaf0}
.dc-task.is-active{background:#eaf2ff;border-color:#8fb2ef;border-left:3px solid #1d5de5;box-shadow:0 2px 7px #25519c17}
.dc-task-top{display:flex;justify-content:space-between;gap:7px;align-items:center}
.dc-task-ref{font:650 10px var(--mono);color:#42669c}
.dc-task-status{font:700 9px/1.2 var(--font);white-space:nowrap;color:#a05d1d;background:#fff1dd;padding:4px 6px}
.dc-task-status--running{color:#2058bf;background:#e6efff}
.dc-task>strong{font:750 19px/1 var(--head);text-transform:uppercase;overflow-wrap:anywhere}
.dc-task-route{color:#335d99;font:700 11px/1.35 var(--font);overflow-wrap:anywhere}
.dc-task-meta{display:flex;gap:6px;justify-content:space-between;align-items:start;color:#637895;font-size:10px}
.dc-task-meta span{font:700 9px var(--font);color:#3664ad;text-align:right}
.dc-task-track{display:block;height:5px;background:#e1e8f4;overflow:hidden}
.dc-task-track i{display:block;height:100%;background:#2c62db}
.dc-task-countdown,.dc-task-ready-meta{display:block;font-size:10px;color:#49678d;font-weight:650}
.dc-list-empty{font-size:12px;color:var(--dc-muted);padding:21px;text-align:center}
.dc-detail{min-width:0}
.dc-detail-wrap{display:grid;gap:12px;min-width:0}
.dc-detail-hero{padding:21px 22px;background:#fff;border:1px solid var(--dc-line);border-top:4px solid #2863d9;min-width:0}
.dc-detail-kicker{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;color:#506b95;font:750 11px var(--mono)}
.dc-status{padding:5px 8px;background:#fff3df;color:#985a1d;font:750 10px var(--font)}
.dc-status.is-running{background:#e4eeff;color:#2058bf}
.dc-detail-hero h2{font:750 clamp(25px,2.9vw,37px)/1.05 var(--head);color:#172e50;margin:11px 0 17px;overflow-wrap:anywhere;text-transform:uppercase}
.dc-route{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:14px;border:1px solid #dde7f3;padding:13px;background:#f9fbfe}
.dc-route>div{min-width:0;display:grid;gap:5px}
.dc-route small{color:#6480a6;font:700 9px var(--mono)}
.dc-route strong{color:#142d52;font:750 clamp(18px,1.75vw,25px)/1.05 var(--head);overflow-wrap:anywhere}
.dc-route>div>span{font-size:10px;color:#667d9a;overflow-wrap:anywhere}
.dc-route-arrow{display:grid;place-items:center;width:30px;height:30px;background:#e7effd;color:#245fc7}
.dc-route-arrow .icon{width:17px;height:17px}
.dc-progress{margin-top:9px;padding:11px 0}
.dc-center .dc-progress .dispatch-journey-progress-head{font-size:12px;margin:0}
.dc-center .dc-progress progress{height:10px;margin-top:9px}
.dc-center .dc-progress .dispatch-journey-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;line-height:1.4}
/* Skutečný čas do dokončení povinné přestávky vedle názvu stavu. */
.dc-progress-phase{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.dc-break-clock{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;
  color:#8b571c;background:#fff5e7;border:1px solid #ebcf9c;font:750 11px/1.3 var(--font);
  white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-break-clock[hidden]{display:none!important}
.dc-progress-metrics{display:flex;align-items:center;gap:13px;flex-wrap:wrap;min-width:0}
.dc-progress-eta{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:5px 10px;background:#edf4ff;border:1px solid #d5e4fc;color:#385f91;font:600 11px/1.3 var(--font)}
.dc-progress-eta strong{color:#164eaf;font:750 13px/1.25 var(--mono);white-space:nowrap}
.dc-progress-percent{color:#2052af;font:800 13px/1.25 var(--mono);white-space:nowrap}
.dc-schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:12px;border-top:1px solid #e3eaf4;padding-top:14px;margin-top:3px}
.dc-schedule-group{min-width:0;background:#f7faff;border:1px solid #dce6f4;padding:11px 12px 12px}
.dc-schedule-group h3{margin:0 0 11px;color:#315b95;font:750 11px/1.25 var(--font);letter-spacing:.025em}
.dc-schedule-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px}
.dc-schedule-event{min-width:0;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e2eaf5;border-left:3px solid #b8cff4;padding:10px 11px;overflow-wrap:anywhere}
.dc-schedule-label{color:#566d8e;font:600 11px/1.35 var(--font)}
.dc-schedule-event time{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.dc-schedule-event time strong{color:#173962;font:750 15px/1.15 var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.dc-schedule-event time small{color:#6b82a0;font:600 10px/1.3 var(--font);white-space:nowrap}
@media(max-width:680px){.dc-schedule-group{padding:10px}.dc-schedule-event{padding:9px}.dc-progress-metrics{gap:8px}.dc-progress-eta{padding:5px 7px}}
.dc-awaiting{display:flex;align-items:center;gap:9px;font-size:12px;padding:10px;background:#fff7e9;color:#9b6424}
.dc-awaiting .icon{width:16px;height:16px;flex:none}
.dc-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.dc-panel{min-width:0;border:1px solid var(--dc-line);background:#fff;padding:16px}
.dc-panel-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:13px;padding-bottom:11px;border-bottom:1px solid #e6edf5}
.dc-panel-head h3{font:750 22px/1.03 var(--head);text-transform:uppercase;color:#1b3658}
.dc-panel-head>span{color:#6e86a5;font:650 8px/1.4 var(--mono);text-align:right;letter-spacing:.035em}
.dc-timeline{margin:0;padding:0 0 0 9px;list-style:none;display:grid;gap:0;min-width:0}
.dc-timeline-step{display:grid;grid-template-columns:13px minmax(0,1fr) auto;gap:8px;min-height:49px;position:relative}
.dc-timeline-step:not(:last-child):before{content:"";position:absolute;left:5px;top:11px;bottom:-2px;width:2px;background:#d2dff0}
.dc-step-dot{width:12px;height:12px;margin-top:2px;border-radius:50%;border:2px solid #afc4dd;background:#fff;position:relative;z-index:1}
.dc-timeline-step--done .dc-step-dot{border-color:#27846c;background:#39ad86}
.dc-timeline-step--current .dc-step-dot{border-color:#245fe0;background:#7ba4fb;box-shadow:0 0 0 3px #dce9ff}
.dc-timeline-step>div{min-width:0;display:grid;gap:3px;align-content:start}
.dc-timeline-step strong{font:700 11px/1.4 var(--font);color:#254366;overflow-wrap:anywhere}
.dc-timeline-step small{font-size:10px;line-height:1.3;color:#657d9b}
.dc-timeline-step time{font:700 10px var(--mono);color:#42689f;white-space:nowrap}
.dc-cargo-block{display:grid;grid-template-columns:92px minmax(0,1fr);gap:9px;align-items:center;margin-bottom:12px}
.dc-cargo-art{width:92px;height:78px;overflow:hidden;border:1px solid #e1eaf5;background:#f7f9fd}
.dc-cargo-art .cargo-art{width:100%;height:100%;min-height:0;display:block}
.dc-cargo-art img{max-width:100%;max-height:100%;object-fit:contain}
.dc-cargo-block strong{display:block;color:#25416b;font:750 18px/1.1 var(--head);overflow-wrap:anywhere}
.dc-cargo-block small,.dc-cargo-adr{display:block;font-size:10px;color:#657a94;margin-top:6px}
.dc-cargo-adr{color:#9e5328;font-weight:750}
.dc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.dc-facts>div{padding:9px;border:1px solid #e3eaf3;background:#fafcff;min-width:0}
.dc-facts dt{font-size:9px;color:#6a7e9a;margin-bottom:5px}
.dc-facts dd{margin:0;font:750 11px/1.3 var(--mono);color:#1f3d68;overflow-wrap:anywhere}
.dc-driver-main{display:flex;align-items:center;gap:11px}
.dc-driver-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;background:#e6f0ff;color:#2459ae;font:750 16px var(--mono)}
.dc-driver-main>div{min-width:0;display:grid;gap:4px}
.dc-driver-main small{font:700 9px var(--mono);color:#697f9d}
.dc-driver-main strong{font:750 20px/1 var(--head);color:#19365c;overflow-wrap:anywhere}
.dc-driver-main div>span{font-size:10px;color:#54749a}
.dc-driver-facts{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}
.dc-driver-facts span{padding:6px 8px;background:#f3f7fd;font-size:10px;color:#627893}
.dc-driver-facts b{color:#193964}
.dc-driver-panel .btn{font-size:10px;min-height:32px}
.dc-units{display:grid;gap:10px;margin-bottom:12px}
.dc-unit{display:flex;gap:10px;align-items:center;min-width:0}
.dc-unit .dispatch-journey-thumb{flex:none}
.dc-unit-info{display:grid;gap:4px;min-width:0}
.dc-unit-info>small{font:750 9px var(--mono);color:#5e78a2}
.dc-unit-info>strong{font:750 17px/1.1 var(--head);color:#213c65;overflow-wrap:anywhere}
.dc-unit-facts{display:grid;gap:3px;font-size:10px;color:#5c7394}
.dc-unit-facts>span{overflow-wrap:anywhere}
.dc-unit-facts b{color:#1d3a66}
.dc-vehicle-panel>.btn{font-size:10px;min-height:32px;margin-top:5px}
.dc-finance-item{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:11px;color:#56708d;padding:8px 0;border-bottom:1px solid #edf1f7}
.dc-finance-item strong{font:750 11px var(--mono);color:#1d3c67;text-align:right;overflow-wrap:anywhere}
.dc-finance-item--expense strong{color:var(--red)}
.dc-finance-item--loss strong{color:var(--red)}
.dc-finance-item--profit strong{color:var(--green)}
.dc-finance-total .dc-finance-item--profit strong,.dc-finance-total .dc-finance-item--loss strong{font-size:13px}
.dc-finance-total{background:#eff5ff;padding:4px 11px;margin-top:10px;border-left:3px solid #386bd3}
.dc-finance-total .dc-finance-item{padding:9px 0}
.dc-finance-total .dc-finance-item:last-child{border:0}
.dc-finance-note{font-size:9px;line-height:1.45;color:#6e8099;margin-top:12px}
.dc-muted{font-size:11px;line-height:1.6;color:#627997;margin:4px 0 11px}
.dc-event-log{display:grid;gap:9px}
.dc-event-log>div{display:grid;grid-template-columns:12px 1fr;gap:3px 9px;position:relative}
.dc-event-dot{grid-row:1/3;background:#3972db;width:8px;height:8px;margin-top:4px}
.dc-event-log strong{font-size:10px;color:#264a77;line-height:1.35}
.dc-event-log small{grid-column:2;font:500 10px var(--mono);color:#6c809b}
.dc-event-log p{font-size:9px;color:#6c809b;line-height:1.5;margin-top:5px}
.dc-sidebar{min-width:0;display:grid;gap:12px}
.dc-side-panel,.dc-benefits{padding:15px;border:1px solid var(--dc-line);background:#fff}
.dc-side-head{display:flex;justify-content:space-between;align-items:center;gap:9px;border-bottom:1px solid #e3e9f3;padding-bottom:11px;margin-bottom:13px}
.dc-side-head h3{font:750 21px/1.1 var(--head);color:#1f3d60;text-transform:uppercase}
.dc-side-head>span{display:grid;place-items:center;min-width:25px;height:24px;padding:0 5px;background:#e9eff9;color:#3264b6;font:750 12px var(--mono)}
.dc-alert{display:flex;align-items:start;gap:7px;font-size:11px;line-height:1.5;padding:11px 9px;border-left:3px solid #d99c51;background:#fff6e9;color:#7c4d1c;margin:0 0 8px}
.dc-alert:last-child{margin-bottom:0}
.dc-alert .icon{width:16px;height:16px;flex:none;margin-top:1px}
.dc-alert--info{background:#eaf3ff;color:#225a9b;border-left-color:#498be0}
.dc-alert--ok{background:#e9f7ef;color:#226f4d;border-left-color:#3b9b6d}
.dc-actions-stack{display:grid;gap:8px}
.dc-actions-stack .btn{width:100%;max-width:none;min-height:39px;white-space:normal}
.dc-quick-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.dc-quick-links .btn{font-size:10px;min-height:33px}
.dc-on-shift .dispatch-team-list{max-height:220px;overflow-y:auto}
.dc-on-shift .dispatch-staff-member{padding:8px}
.dc-availability{border-top:1px solid #e3eaf5;margin-top:10px;padding-top:10px;display:grid;gap:8px;font-size:11px;color:#607593}
.dc-availability span{display:flex;justify-content:space-between}
.dc-availability strong{color:#1e4e97;font:750 12px var(--mono)}
.dc-on-shift>.btn{margin-top:12px;font-size:10px}
.dc-benefits{padding:0}
.dc-benefits .dispatch-benefits-summary{padding:15px;gap:7px}
.dc-benefits .dispatch-benefits-summary h2{font:750 18px/1.05 var(--head)}
.dc-benefits .dispatch-benefits-body{padding:14px}
.dc-benefits .dispatch-benefits-grid{grid-template-columns:1fr}
.dc-no-selection{padding:45px 20px;text-align:center;border:1px dashed #bbcde4;background:#f7faff}
.dc-no-selection>span .icon{width:35px;height:35px;color:#4275c5}
.dc-no-selection h2{margin:10px 0;font:750 27px var(--head);color:#1a385e}
.dc-no-selection p{font-size:12px;color:#627896}
@media(max-width:1530px){.dc-console{grid-template-columns:minmax(240px,.7fr) minmax(0,2fr)}.dc-sidebar{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.dc-sidebar .dc-benefits{grid-column:1/-1}}
@media(max-width:1180px){.dc-command{padding:18px}.dc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-detail-grid{grid-template-columns:1fr}}
@media(max-width:900px){.dc-console{grid-template-columns:1fr}.dc-queue{position:static}.dc-task-list{max-height:325px}.dc-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-command-shift{flex-basis:205px}}
@media(max-width:680px){.dc-command{display:grid;gap:13px}.dc-command-shift{width:100%}.dc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-detail-grid{grid-template-columns:1fr}.dc-sidebar{grid-template-columns:1fr}.dc-sidebar .dc-benefits{grid-column:auto}.dc-detail-hero{padding:16px}.dc-route{padding:9px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.dc-route strong{font-size:17px}.dc-panel{padding:13px}.dc-panel-head h3{font-size:20px}.dc-queue-head h2{font-size:24px}}
@media(max-width:420px){.dc-kpi{grid-template-columns:24px minmax(0,1fr);column-gap:7px;padding:10px 8px;min-height:65px}.dc-kpi .icon{width:22px;height:22px;padding:4px}.dc-kpi strong{font-size:22px}.dc-command-links .btn{font-size:10px}.dc-detail-hero h2{font-size:25px}.dc-route>div>span{font-size:9px}.dc-unit{align-items:flex-start}.dc-unit .dispatch-journey-thumb{width:96px!important;max-width:96px!important;flex-basis:96px!important}.dc-unit-info>strong{font-size:16px}.dc-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dc-unit-thumbs{margin:0;flex:0 0 auto}

/* Dispečink: volná vozidla, malé mapové okno a přejezdy bez nákladu. */
.dc-queue-head h2{font-size:21px;line-height:1.05}
.dc-queue-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.dc-queue-tabs button{padding:11px 3px 9px;font-size:10px}
.dc-task--vehicle{min-height:107px}
.dc-task--relocation>strong{font-size:17px}
.dc-task-status--free{color:#18725a;background:#e0f5eb}
.dc-status.is-free{color:#18725a;background:#e0f5eb}
.dc-minimap{display:grid;gap:8px;min-width:0;max-width:365px}
.dc-minimap-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#647c9a;font:700 9px var(--mono)}
.dc-minimap-caption>span{display:inline-flex;align-items:center;gap:5px;color:#245bbe}
.dc-minimap-caption .icon{width:14px;height:14px}
.dc-minimap-caption strong{color:#20436f;max-width:58%;text-align:right;overflow-wrap:anywhere}
.dc-mini-stage.map-stage{height:190px;min-height:190px;border:1px solid #dce6f3;background:#e9f0fc;border-radius:3px}
.dc-mini-stage .map-controls{right:6px;bottom:7px;gap:2px}
.dc-mini-stage .map-controls button{width:26px;height:26px;font-size:15px;line-height:1}
.dc-mini-stage .map-controls .icon{width:13px;height:13px}
.dc-mini-stage .map-scale{bottom:8px;left:9px;font-size:8px}
.dc-mini-stage canvas:focus-visible{outline:2px solid #2867e8;outline-offset:-3px}
.dc-mini-instruction{font:500 10px/1.5 var(--font);margin:0;color:#5a7293;overflow-wrap:anywhere}
.dc-mini-instruction strong{color:#1d478b}
.dc-minimap>.btn{width:100%;font-size:10px;min-height:35px}
.dc-actions .dc-actions-stack{margin-top:12px}
.dc-actions .dc-quick-links{display:grid;grid-template-columns:1fr 1fr;margin-top:10px}
.dc-actions .dc-quick-links .btn{display:flex;justify-content:center;align-items:center;padding:8px 7px;white-space:normal;min-height:36px;text-align:center}
.dc-free-hero{display:flex;align-items:center;gap:15px;padding:12px;margin-bottom:14px;border:1px solid #dfe8f4;background:#f7faff}
.dc-free-thumb{display:grid;place-items:center;flex:none;width:138px;height:90px}
.dc-free-thumb .fleet-thumb{display:grid;place-items:center;width:138px;height:90px;max-width:100%;background:#fff;border:1px solid #e5edf8;overflow:hidden}
.dc-free-thumb .fleet-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.dc-free-hero>div:last-child{min-width:0;display:grid;gap:5px}
.dc-free-hero small{font:700 9px var(--mono);color:#6b82a1}
.dc-free-hero strong{font:750 25px/1 var(--head);color:#1e3f68;overflow-wrap:anywhere}
.dc-free-hero span:not(.fleet-thumb){font-size:11px;color:#667d9b}
.dc-free-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:14px}
.dc-free-stats>div{background:#f6f9fd;border:1px solid #e0e8f3;min-width:0;display:grid;gap:6px;padding:10px}
.dc-free-stats small{font-size:9px;color:#667f9d}
.dc-free-stats strong{font:750 12px var(--mono);color:#214977;overflow-wrap:anywhere}
.dc-free-actions{display:flex;flex-wrap:wrap;gap:7px}
.dc-free-actions .btn{font-size:11px;min-height:35px}
.dc-free-driver{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #e6edf5;font-size:11px;color:#234c7e}
.dc-free-driver .btn{min-height:29px;font-size:10px}
.dc-target-city{display:block;color:#1f55a9;font:750 15px var(--head);margin:9px 0}
@media(max-width:680px){
 .dc-free-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dc-queue-head h2{font-size:19px}
 .dc-queue-tabs button{font-size:9px}
 .dc-mini-stage.map-stage{height:178px;min-height:178px}
}
@media(max-width:420px){
 .dc-free-hero{gap:9px}
 .dc-free-thumb,.dc-free-thumb .fleet-thumb{width:98px;height:75px}
 .dc-free-hero strong{font-size:20px}
 .dc-actions .dc-quick-links{grid-template-columns:1fr 1fr}
}

/* Potvrzovací dialogy přejezdů a prodeje techniky. */
.dc-relocation-quote{margin-top:8px}
.dc-relocation-quote .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.dc-relocation-note{font:500 11px/1.6 var(--font);margin:12px 0;color:#556c89}
.dc-relocation-error{font:650 11px/1.5 var(--font);padding:10px;border-left:3px solid #c24e3e;background:#fff0ee;color:#9b352d;margin:11px 0}
@media(max-width:540px){.dc-relocation-quote .facts{grid-template-columns:1fr}}

/* Cíl prázdného přejezdu se vybírá přímo v kompaktní mapě v dialogu. */
.dc-relocation-pick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.dc-relocation-place,.dc-relocation-map{min-width:0}
.dc-relocation-map-hint{margin:9px 0 7px;color:#58708e;font:500 11px/1.55 var(--font)}
.dc-relocation-map-choice{padding:8px 10px;margin:0;background:#eef5ff;border-left:3px solid #3269db;color:#204b83;font:650 11px/1.4 var(--font);overflow-wrap:anywhere}
.dc-relocation-map-stage.map-stage{height:178px;min-height:178px;border:1px solid #dce6f3;border-radius:3px;background:#e9f0fc}
.dc-relocation-map-stage .map-controls{right:5px;bottom:6px;gap:2px}
.dc-relocation-map-stage .map-controls button{width:25px;height:25px;min-height:25px;padding:0;font-size:14px;line-height:1}
.dc-relocation-map-stage .map-controls .icon{width:13px;height:13px}
.dc-relocation-map-stage .map-scale{left:8px;bottom:7px;font-size:8px}
.dc-relocation-map-stage canvas:focus-visible{outline:2px solid #2867e8;outline-offset:-3px}
@media(max-width:520px){.dc-relocation-pick{grid-template-columns:1fr}.dc-relocation-map-stage.map-stage{height:175px;min-height:175px}}

/* Nový provozní postup: přejezd na nakládku → nakládání → ruční odjezd → vykládka. */
.dc-loaded-action{display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:14px;padding:13px 14px;border:1px solid #a9c7b8;border-left:4px solid #16835d;
  background:#eaf8f0}
.dc-loaded-action>div{min-width:0;display:grid;gap:5px}
.dc-loaded-action strong{font:750 16px/1.15 var(--head);color:#176146}
.dc-loaded-action p{margin:0;font:500 11px/1.55 var(--font);color:#45675a}
.dc-loaded-action .btn{min-height:38px;flex:none;font-size:11px}
.dc-stage-note{margin-top:11px;padding:10px 12px;border-left:3px solid #2561c4;
  background:#eff5fe;color:#315c91;font:600 11px/1.55 var(--font)}
.dc-task-countdown strong{color:#176e4d;font-weight:750}
@media(max-width:720px){.dc-loaded-action{align-items:stretch;flex-direction:column}
  .dc-loaded-action .btn{width:100%;justify-content:center}}

/* Přesun řidiče / placený odvoz opuštěného vozidla. */
.dc-support-quote{margin:11px 0;min-width:0}
.dc-support-quote .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dc-support-quote .facts>div{min-width:0}
.dc-free-actions .btn{white-space:normal}
.dc-task-countdown{line-height:1.45;overflow-wrap:anywhere}
.dc-task-countdown time{white-space:nowrap}
@media(max-width:540px){.dc-support-quote .facts{grid-template-columns:1fr}}

/* Samostatná doba nakládky přímo pod odpočtem příjezdu. */
.dc-task-loading-info{display:block;margin-top:3px;font:550 10px/1.4 var(--font);
  color:#42647f;overflow-wrap:anywhere}
.dc-task.is-active .dc-task-loading-info{color:#315a93}
.dc-timeline-step--current .dc-step-dot{box-shadow:0 0 0 3px rgba(43,101,208,.14)}

/* Přehled přeprav: reálná miniatura a čitelný typ auta, bez otevírání detailu. */
.dc-task-vehicle{--vehicle-accent:#07828a;display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;justify-self:start;padding:3px 8px 3px 3px;border:1px solid #d5e3eb;border-left:3px solid var(--vehicle-accent);border-radius:5px;background:#f8fbfc;color:#29516b;font-size:10px;font-weight:750;line-height:1.25}
.dc-task-vehicle[data-vehicle-type="rigid"]{--vehicle-accent:#7455b3}
.dc-task-vehicle[data-vehicle-type="tractor"]{--vehicle-accent:#29596b}
.dc-task-vehicle--unknown{--vehicle-accent:#6d7e92;color:#667b93}
.dc-task-vehicle-photo{display:grid;place-items:center;flex:0 0 37px;width:37px;height:26px;border-radius:3px;background:#fff;overflow:hidden}
.dc-task-vehicle-photo img{display:block;width:100%;height:100%;object-fit:contain}
.dc-task-vehicle-photo .icon{width:17px;height:17px}
.dc-task-vehicle-name{min-width:0;overflow-wrap:anywhere;display:block}
.dc-task-vehicle--unknown>.icon{width:15px;height:15px}
@media(max-width:650px){.dc-task-vehicle{font-size:10px;gap:5px}.dc-task-vehicle-photo{flex-basis:33px;width:33px;height:24px}}
