/* CargoExpanse Manager — Provozní přehled / operační centrum.
   Všechna pravidla jsou omezená na tuto stránku. */
.overview-dashboard{--ov-ink:#172941;--ov-muted:#657993;--ov-line:#d5e0ed;min-width:0}
.overview-dashboard-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#53749d;font:750 10px/1.3 var(--mono);letter-spacing:.095em;margin:1px 0 7px}
.overview-dashboard-eyebrow .icon{width:16px;height:16px;color:#2864c6}
.overview-dashboard-eyebrow>span{color:#aabbd1}
.overview-dashboard>.page-head{align-items:flex-end;margin:0 0 18px;padding-bottom:13px;border-bottom:1px solid #dce4ef}
.overview-dashboard>.page-head h1{font-size:clamp(42px,4vw,58px);line-height:.99;color:#151d2b;letter-spacing:.003em}
.overview-dashboard>.page-head p{margin-top:7px;font-size:12px;color:#60758e}

/* Rychlý stav provozu */
.overview-dashboard .overview-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:transparent;border:0;margin-bottom:17px}
.overview-dashboard .overview-stat{
  --ov-stat:#2c64d8;--ov-stat-bg:#e9f1ff;
  position:relative;display:flex;align-items:center;gap:13px;min-height:81px;padding:13px 15px;
  background:#fff;border:1px solid #d7e1ee;border-top:3px solid var(--ov-stat);
  color:#1c304f;min-width:0;overflow:hidden;box-shadow:0 2px 11px #1b3d7110;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease
}
.overview-dashboard .overview-stat--ready{--ov-stat:#be7b32;--ov-stat-bg:#fff2df}
.overview-dashboard .overview-stat--offers{--ov-stat:#4c78ba;--ov-stat-bg:#ebf3ff}
.overview-dashboard .overview-stat--drivers{--ov-stat:#248269;--ov-stat-bg:#e6f5ef}
.overview-dashboard .overview-stat .stat-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;background:var(--ov-stat-bg);color:var(--ov-stat)}
.overview-dashboard .overview-stat .stat-icon .icon{width:21px;height:21px}
.overview-stat-copy{min-width:0;flex:1}
.overview-dashboard .overview-stat small{display:block;color:#697b92;font-size:11px;font-weight:650;line-height:1.3}
.overview-dashboard .overview-stat strong{display:block;margin-top:5px;color:#152b49;font:760 clamp(26px,2.15vw,34px)/1 var(--head);font-variant-numeric:tabular-nums}
.overview-stat-arrow{display:grid;place-items:center;opacity:.35;color:#5679a8;transition:opacity .18s ease,transform .18s ease}
.overview-stat-arrow .icon{width:15px;height:15px}
@media(hover:hover){
  .overview-dashboard .overview-stat:hover{background:#f7faff;border-color:#aec5e6;border-top-color:var(--ov-stat);box-shadow:0 6px 18px #25477b1a}
  .overview-dashboard .overview-stat:hover .overview-stat-arrow{opacity:1;transform:translateX(3px)}
}

/* Jemné rozšíření detailu aktivní přepravy pouze na Provozním přehledu.
   Ostatní mapy a mobilní jednosloupcové rozložení zůstávají původní. */
@media(min-width:1121px){
 .overview-dashboard .control-grid{grid-template-columns:minmax(0,1fr) 330px}
}
@media(min-width:901px) and (max-width:1120px){
 .overview-dashboard .control-grid{grid-template-columns:minmax(0,1fr) 280px}
}

/* Firemní řízení: tři sjednocené panely */
.overview-dashboard .overview-section-head{margin-bottom:12px;gap:15px}
.overview-section-kicker{display:block;margin-bottom:4px;font:750 9px/1.3 var(--mono);letter-spacing:.1em;color:#6480a4}
.overview-dashboard .overview-section-head h2{font:760 31px/1 var(--head);color:#172840}
.overview-dashboard .overview-section-head .btn{min-height:36px;border-color:#c9d8ea;background:#fff;transition:background-color .18s ease,border-color .18s ease}
.overview-dashboard .overview-section-head .btn:hover{background:#eff5ff;border-color:#8bb0e5}
.overview-dashboard .overview-company-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:13px;align-items:stretch}
.overview-dashboard .overview-panel{min-width:0;min-height:251px;padding:17px 18px;gap:12px;border-color:#d6e1ee;box-shadow:0 3px 14px #193c6810;transition:box-shadow .18s ease,border-color .18s ease}
.overview-dashboard .overview-panel:before{height:3px}
.overview-dashboard .overview-panel-heading{gap:10px}
.overview-dashboard .overview-panel-icon{width:37px;height:37px;flex:none}
.overview-dashboard .overview-panel-heading h3{font:780 23px/1 var(--head);color:#1a2d49}
.overview-dashboard .overview-task{padding:10px 2px;min-height:55px}
.overview-dashboard .overview-task-symbol{width:29px;height:29px}
.overview-dashboard .overview-task-list{align-content:start}
.overview-dashboard .overview-finance-amounts>div{background:#f6f9fd;padding:9px 11px}
.overview-dashboard .overview-finance-head{gap:9px}
.overview-dashboard .overview-primary-number{font-weight:780}
.overview-dashboard .overview-panel-facts>div{padding:9px 0}
.overview-dashboard .overview-level-progress{height:10px}
.overview-dashboard .overview-panel>.btn{min-height:34px;font-size:11px;margin-top:auto}
@media(hover:hover){.overview-dashboard .overview-panel:hover{box-shadow:0 8px 20px #22477719;border-color:#bdd0e6}}
@media(max-width:1440px){
 .overview-dashboard .overview-company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .overview-dashboard .overview-panel--attention{grid-column:1/-1}
 .overview-dashboard .overview-task-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
@media(max-width:1120px){
 .overview-dashboard .overview-stat{padding:12px 10px;gap:8px}
 .overview-dashboard .overview-stat .stat-icon{width:35px;height:35px}
}
@media(max-width:700px){
 .overview-dashboard>.page-head h1{font-size:clamp(40px,10vw,52px)}
 .overview-dashboard .overview-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .overview-dashboard .overview-stat{min-height:72px;padding:10px}
 .overview-dashboard .overview-company-grid{grid-template-columns:minmax(0,1fr)}
 .overview-dashboard .overview-panel--attention{grid-column:auto}
 .overview-dashboard .overview-task-list{grid-template-columns:minmax(0,1fr);gap:0}
 .overview-dashboard .overview-panel{min-height:0}
}
@media(max-width:430px){
 .overview-dashboard-eyebrow{font-size:9px}
 .overview-dashboard .overview-panel{padding:15px 13px}
}
@media(prefers-reduced-motion:reduce){
 .overview-dashboard .overview-stat,.overview-dashboard .overview-stat-arrow,
 .overview-dashboard .overview-panel{transition:none!important}
 .overview-dashboard .overview-stat:hover .overview-stat-arrow{transform:none}
}
