/* Flow: základní komponenty a responzivní rozvržení. */
:root{
  --ink:#ecf6ef;
  --muted:#9eb1a7;
  --bg:#07120f;
  --green:#62dc78;
  --lime:#173d28;
  --line:#29443a;
  --warn:#3c3218;
  --navy:#071712;
  --navy-soft:#10251e;
  --orange:#62dc78;
  --orange-dark:#35a957;
}
html{background:#050d0b}
body{
  color:var(--ink);
  background:
    radial-gradient(circle at 92% 0,#55d8731c 0,transparent 27%),
    radial-gradient(circle at 4% 38%,#1f765136 0,transparent 31%),
    linear-gradient(150deg,#06110e 0,#0b1b16 48%,#07120f 100%);
  background-attachment:fixed;
}
.app{max-width:1460px}
header{
  border-color:#315448;
  background:linear-gradient(120deg,#06130f,#10271f 58%,#091711);
  box-shadow:0 20px 55px #0008,0 0 0 1px #76e68c0a inset;
}
header::after{background:radial-gradient(circle,#63de7832 0,transparent 67%)}
.logo{
  background:radial-gradient(circle at 50% 50%,#67e17c 0 24%,#c3f8cb 25% 31%,#203a31 33% 52%,#78968a 54% 62%,#0b1713 65%);
  border-color:#79a68e;
}
nav{background:#030b0838;border-color:#6ee48620}
nav button{color:#aabcb3}
nav button:hover{color:#fff;background:#74e58b12}
nav button.active{color:#76e68c;background:#69db8012;border-bottom-color:#62dc78}
#account .secondary,header .secondary{border-color:#76e68c4d;background:#67dd7d12}
h1,.card h2,.formHead h2{color:#f1f8f3}
.eyebrow{color:#69df80}
.primary,.advance{
  color:#06140d;
  background:linear-gradient(135deg,#78e88d,#45c966);
  box-shadow:0 8px 22px #3cc65e2e;
}
.primary:hover,.advance:hover{background:linear-gradient(135deg,#8bef9c,#35ae57)}
.secondary{color:#dce9e1;background:#12251e;border-color:#355348}
.secondary:hover{background:#183329;border-color:#65d87c}
.stat,.card,.weekShell,.integrationCard,.stopForm{
  color:#eaf3ed;
  background:linear-gradient(145deg,#10221c,#0c1b16);
  border-color:#29453a;
  box-shadow:0 12px 32px #0004;
}
.stat{border-top-color:#62dc78}
.stat strong,.fact b{color:#f4faf6}
.stat span,.fact span,.fact small,.stop span,.muted,.sync,.liveStatus{color:#9dafA5}
.badge{color:#aef0bb;background:#183d28;border-color:#3a8050}
.route,.cargo div{background:#0a1713;border-color:#29453a}
.stop>strong{color:#6de183}
.connector{background:#3b8953}
.note{color:#e9f1eb;background:#24311f;border-left-color:#61dc78}
.history{border-top-color:#29453a}
.bar,.biColumn{background:#173027}
.bar i,.biColumn i{background:linear-gradient(180deg,#78e98d,#33ad56)}
.analyticsTable th{background:#0a1813;border-bottom-color:#477062}
.analyticsTable td{border-bottom-color:#29453a}
.analyticsTable tr:hover td{background:#173026}
.weekShell{background:#091612;border-color:#35584a}
.weekHeader{background:#07130f;border-bottom-color:#62dc78}
.vehicleHead{border-left-color:#294a3d}
.vehicleHead span{color:#93aa9e}
.dayTitle{color:#edf7f0;background:linear-gradient(90deg,#0b2018,#15382a);border-top-color:#62dc78;border-left-color:#62dc78}
.weekLegend{color:#a8b9b0;background:#0b1914;border-top-color:#29453a}
/* Časová plachta zůstává světlá, aby byly stavové barvy zakázek jednoznačné. */
.timeAxis{color:#263c33;background-color:#e8f0eb}
.vehicleLane{border-right-color:#99ada3}
dialog{color:#eaf3ed;background:#0c1c16;border-color:#426454}
dialog::backdrop{background:#020806d9}
.formHead{background:linear-gradient(120deg,#071711,#123224);border-bottom-color:#62dc78}
.formBody,.formFoot{background:#0d1e18;border-color:#29453a}
.field label{color:#b2c3ba}
input,select,textarea{color:#edf6f0;background:#07130f;border-color:#385649;color-scheme:dark}
input:hover,select:hover,textarea:hover{border-color:#67dc7f}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline-color:#71e488}
.close{color:#e8f1eb;background:#173027}
.removeStop{color:#ffb4a7;background:#351d19;border-color:#78483f}
.problem{color:#ffb9ae;background:#271613;border-color:#74453d}
.statusOk{color:#76e68c}
.mrpVehicleComparison{margin:16px 0;padding:16px;border:1px solid #29453a;border-radius:14px;background:#081510}
.mrpVehicleComparison h3{margin:0 0 12px;color:#edf7f0}
.mrpRanking{display:grid;gap:8px;margin-top:14px}
.mrpRankRow{display:grid;grid-template-columns:minmax(90px,130px) minmax(180px,1fr) minmax(120px,auto);gap:10px;align-items:center;font-size:.9rem}
.mrpRankTrack{height:10px;overflow:hidden;border-radius:999px;background:#173027}
.mrpRankTrack i{display:block;height:100%;border-radius:inherit}
.mrpRankTrack i.positive{background:linear-gradient(90deg,#35ae57,#78e88d)}
.mrpRankTrack i.negative{background:linear-gradient(90deg,#d55745,#ff9a87)}
.positiveText{color:#76e68c;font-weight:700;text-align:right}
.negativeText{color:#ff9f90;font-weight:700;text-align:right}
.kpiState{border-top-width:3px}.kpiState.green{border-top-color:#62dc78}.kpiState.amber{border-top-color:#f2b84b}.kpiState.red{border-top-color:#e1604d}.kpiState.unconfigured,.kpiState.no_data{border-top-color:#718079}
.kpiState.green small{color:#76e68c}.kpiState.amber small{color:#ffd176}.kpiState.red small{color:#ff9f90}.kpiState.unconfigured small,.kpiState.no_data small{color:#9dafA5}
.biCommandPanel{margin-bottom:18px;padding:20px;border:1px solid #315448;border-radius:18px;background:linear-gradient(145deg,#0d2119,#081510);box-shadow:0 18px 46px #0006}
.biCommandHead{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #29453a}
.biCommandHead h2{margin:2px 0 6px;font-size:1.5rem}.biCommandHead p{margin:0;max-width:760px}
.biScope{display:grid;gap:7px;min-width:260px;color:#b9cbc1;font-weight:700}.biScope select{min-height:44px}
.biPeriodPresets{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-bottom:3px}.biPeriodPreset{min-height:34px;padding:7px 10px!important;border:1px solid #315448!important;border-radius:999px!important;background:#0b1c16!important;color:#b8c9c0!important;font-size:.78rem!important}.biPeriodPreset:hover{color:#fff!important;border-color:#62dc78!important}.biPeriodPreset.active{color:#07120f!important;border-color:#69df80!important;background:#69df80!important}
.biKpiSection{margin-top:18px}.biKpiSection h3{margin:0 0 10px;color:#dce9e1;font-size:.95rem;letter-spacing:.08em;text-transform:uppercase}
.biKpiSection.auxiliary{padding-top:4px;border-top:1px solid #233d33}
.biGaugeGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:11px}
.biGaugeCard{min-height:142px;padding:15px;border:1px solid #29453a;border-radius:13px;background:#0a1813;box-shadow:0 8px 22px #0003}
.biGaugeHead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.biGaugeHead>span{color:#b7c9bf;font-size:.88rem;font-weight:700;line-height:1.3}
.biGaugeCard>strong{display:block;margin:9px 0 12px;color:#f4faf6;font-size:1.45rem;line-height:1.1}
.biKpiStatus{white-space:nowrap;padding:3px 7px;border-radius:999px;font-size:.72rem;background:#1d3028;color:#b9c8c0}
.biGaugeCard.green .biKpiStatus{color:#84ee98;background:#173c25}.biGaugeCard.amber .biKpiStatus{color:#ffd176;background:#3c3218}.biGaugeCard.red .biKpiStatus{color:#ff9f90;background:#3a1d19}
.biGauge{position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px;height:9px;margin:0 4px 12px}.biGauge i{display:block}.biGauge .redZone{background:#b8483b;border-radius:9px 0 0 9px}.biGauge .amberZone{background:#d69a30}.biGauge .greenZone{background:#42b862;border-radius:0 9px 9px 0}
.biGauge>b{position:absolute;top:-5px;width:3px;height:19px;border-radius:2px;background:#fff;box-shadow:0 0 0 2px #07120f,0 0 10px #fff8;transform:translateX(-50%)}
.biGaugeCard.no_data .biGauge{filter:grayscale(1);opacity:.32}.biGaugeCard small{display:block;color:#8fa39a;font-size:.76rem;line-height:1.35}
.biDataNotice{margin-top:16px;padding:12px 14px;border-left:3px solid #62dc78;border-radius:8px;background:#14271f;color:#aebfb6;font-size:.85rem;line-height:1.5}.biDataNotice b{color:#eaf3ed}
.biFreshness{margin-top:16px;padding:14px;border:1px solid #29453a;border-radius:14px;background:#091812}.biFreshnessHead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.biFreshnessHead h3{margin:1px 0 0;color:#eef8f1}.biFreshnessOverall{padding:5px 9px;border-radius:999px;background:#1d3028;color:#b9c8c0;font-size:.78rem}.biFreshnessOverall.green{color:#84ee98;background:#173c25}.biFreshnessOverall.amber{color:#ffd176;background:#3c3218}.biFreshnessOverall.red{color:#ff9f90;background:#3a1d19}.biFreshnessGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.biFreshnessGrid article{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:start;padding:10px;border:1px solid #233d33;border-radius:10px;background:#0d2018}.biFreshnessGrid article>div{display:grid;gap:2px}.biFreshnessGrid article b{color:#edf7f0}.biFreshnessGrid article small{color:#8fa39a;line-height:1.35}.biFreshnessGrid article>strong{color:#aebfb6;font-size:.75rem}.biFreshnessGrid article.green>strong{color:#84ee98}.biFreshnessGrid article.amber>strong{color:#ffd176}.biFreshnessGrid article.red>strong{color:#ff9f90}.biFreshnessDot{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#718079;box-shadow:0 0 0 3px #71807922}.biFreshnessGrid article.green .biFreshnessDot{background:#62dc78}.biFreshnessGrid article.amber .biFreshnessDot{background:#f2b84b}.biFreshnessGrid article.red .biFreshnessDot{background:#e1604d}.biFreshness>p{margin:10px 0 0;color:#84988e;font-size:.76rem;line-height:1.45}
.sectionNavigation{display:flex;justify-content:center;margin:10px 0 0;padding:0 18px}.sectionNavigation[hidden],.sectionNavigationGroup[hidden],header nav button[hidden]{display:none!important}.sectionNavigationGroup{display:flex;gap:5px;padding:5px;border:1px solid #29453a;border-radius:12px;background:#081510;box-shadow:0 8px 24px #0003}.sectionNavigationGroup button{border:0;border-radius:8px;padding:9px 15px;color:#aebfb6;background:transparent;font-weight:700}.sectionNavigationGroup button:hover{color:#fff;background:#173027}.sectionNavigationGroup button.active{color:#08120d;background:#69df80}
.headerIdentity{display:grid;gap:2px;text-align:right}.headerIdentity b{color:#f4faf6;font-size:.9rem}.headerIdentity small{color:#9dafA5;font-size:.75rem}
.headerIdentity button{margin-top:5px;padding:6px 10px;font-size:.72rem;justify-self:end}
.settingsGrid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(320px,1.2fr);gap:14px}.settingsIdentity{display:flex;align-items:center;gap:13px;margin:18px 0}.settingsIdentity div:last-child{display:grid;gap:4px}.settingsIdentity span{color:#9dafA5}.settingsAvatar{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:#07120f;background:linear-gradient(135deg,#82ed95,#3eb65e);font-size:1.2rem;font-weight:800}.settingsActions{display:flex;flex-wrap:wrap;gap:8px}.settingsActions button{margin:0}.settingsToggle{display:flex;align-items:center;gap:9px;margin-top:16px;color:#b7c8bf;font-weight:700}.settingsToggle input{width:auto;min-height:0}.compactFlow .card{padding:15px}.compactFlow .analyticsTable th,.compactFlow .analyticsTable td{padding:6px 8px}.compactFlow .stat{padding:12px}
@media(max-width:750px){.mrpRankRow{grid-template-columns:90px 1fr}.mrpRankRow span{grid-column:2;text-align:left}}
@media(max-width:750px){.biCommandPanel{padding:14px}.biCommandHead{display:grid}.biScope{min-width:0;width:100%}.biGaugeGrid,.biFreshnessGrid{grid-template-columns:1fr}.biFreshnessGrid article{grid-template-columns:auto 1fr}.biFreshnessGrid article>strong{grid-column:2}.sectionNavigation{justify-content:flex-start;overflow:auto;padding:0}.sectionNavigationGroup{min-width:max-content}.settingsGrid{grid-template-columns:1fr}.headerIdentity{text-align:left}}
@media(max-width:750px){body{background:linear-gradient(160deg,#06110e,#0d2119)}}

/* Mobilní pracovní plocha: ovládání zůstává dosažitelné palcem a formulář má
   vlastní posuvnou část, takže jeho akce nezmizí pod systémovou lištou telefonu. */
@media(max-width:560px){
  .sectionNavigationGroup button{min-height:44px;padding:10px 14px}
  .view>.titlebar>div:last-child{width:100%}
  .view>.titlebar>div:last-child>button{flex:1 1 155px}
  dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);margin:8px auto}
  .formHead{padding:16px}.formBody{max-height:calc(100dvh - 154px);padding:16px}.formFoot{position:sticky;bottom:0;padding:12px 16px}
  .formFoot button{flex:1}
}

/* Flow v28: vizuální směr dopravního velínu podle nového firemního návrhu. */
:root{
  --flow-accent:#ff614d;
  --flow-accent-bright:#ff8367;
  --flow-accent-dark:#c83d31;
  --flow-panel:#0c151b;
  --flow-panel-soft:#111e26;
  --flow-border:#2c3a42;
  --orange:var(--flow-accent);
  --orange-dark:var(--flow-accent-dark);
}
body{
  background:
    radial-gradient(circle at 90% -10%,#ff614d1f 0,transparent 25%),
    linear-gradient(135deg,#060b0f 0,#0a1319 46%,#071015 100%);
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;
}
.app{max-width:1540px;padding-top:16px}
header{
  min-height:156px;
  align-items:flex-start;
  padding:22px 24px;
  border-color:#45535b;
  border-radius:4px 18px 4px 18px;
  background:linear-gradient(112deg,#070d12 0,#0d171d 48%,#101b21 100%);
  box-shadow:0 24px 70px #000a;
  isolation:isolate;
}
header::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0 0 0 38%;
  background-image:linear-gradient(90deg,#0b141c 0,transparent 32%,#060b0e1f 100%),url("/flow-rovera-hero-v2.png");
  background-position:center right;
  background-size:cover;
  clip-path:polygon(13% 0,100% 0,100% 100%,0 100%);
  opacity:.82;
}
header::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  width:auto;height:auto;
  pointer-events:none;
  background:linear-gradient(90deg,#070d12 0,#071016f2 32%,transparent 60%),linear-gradient(180deg,transparent 54%,#050a0dc9 100%);
}
header>*{position:relative;z-index:1}
.brand{align-items:flex-start}.brand b{font-size:1.45rem;letter-spacing:.13em;text-transform:uppercase}.brand small{display:block;margin-top:5px;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase}.logo{border-radius:3px 12px 3px 12px;background:linear-gradient(145deg,#ff8069,#d43f32);border-color:#ff9d8b;box-shadow:0 8px 28px #ff614d42;color:#090e12;text-shadow:none}
header nav{background:#050a0dc9;border-color:#ffffff24;border-radius:4px 12px 4px 12px;backdrop-filter:blur(12px)}
header nav button{min-height:42px;color:#d8dfe3;border-radius:3px 8px 3px 8px}
header nav button:hover{background:#ffffff12}
header nav button.active{color:#fff;background:#ff614d20;border-bottom-color:var(--flow-accent);box-shadow:inset 3px 0 0 var(--flow-accent)}
#account{padding:8px 10px;border:1px solid #ffffff24;border-radius:4px 12px 4px 12px;background:#050a0dbd;backdrop-filter:blur(12px)}
.sectionNavigation{margin-top:12px}
.sectionNavigationGroup{border-color:#3c4b53;border-radius:3px 12px 3px 12px;background:#090f14;box-shadow:0 12px 36px #0007}
.sectionNavigationGroup button{border-radius:2px 8px 2px 8px;color:#bdc8cd}
.sectionNavigationGroup button:hover{background:#18232a}
.sectionNavigationGroup button.active{color:#fff;background:linear-gradient(135deg,var(--flow-accent),var(--flow-accent-dark));box-shadow:0 7px 18px #ff614d2e}
.view>.titlebar{position:relative;margin-top:34px;padding:0 0 13px 18px;border-bottom:1px solid #26353d}
.view>.titlebar::before{content:"";position:absolute;left:0;top:5px;bottom:13px;width:4px;background:linear-gradient(var(--flow-accent-bright),var(--flow-accent-dark));box-shadow:0 0 18px #ff614d72}
h1{font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.045em}.eyebrow{color:var(--flow-accent-bright);font-size:.75rem;letter-spacing:.2em}
.primary,.advance{color:#fff;background:linear-gradient(135deg,var(--flow-accent-bright),var(--flow-accent-dark));box-shadow:0 9px 24px #ff614d30;border-radius:3px 10px 3px 10px}
.primary:hover,.advance:hover{background:linear-gradient(135deg,#ff927d,#dc493b)}
.secondary{border-color:#40515a;border-radius:3px 10px 3px 10px;background:#101a20;color:#e1e7ea}
.secondary:hover{border-color:#ff7a65;background:#1a2227}
.stat,.card,.weekShell,.integrationCard,.stopForm{border-color:var(--flow-border);border-radius:4px 14px 4px 14px;background:linear-gradient(145deg,var(--flow-panel-soft),var(--flow-panel));box-shadow:0 16px 42px #0005}
.stat{border-top-color:var(--flow-accent);background:linear-gradient(145deg,#15232b,#0c151b)}
.card{position:relative}.card::before{content:"";position:absolute;top:-1px;right:18px;width:58px;height:2px;background:var(--flow-accent);box-shadow:0 0 12px #ff614d66}
.cardHead{border-bottom-color:#2b3941}
.badge{color:#ffc1b5;background:#48201d;border-color:#8c4138}
.route,.cargo div{background:#081116;border-color:#2e3c43}.stop>strong,.eyebrow{color:var(--flow-accent-bright)}.connector{background:var(--flow-accent)}
.note{background:#2b211d;border-left-color:var(--flow-accent);color:#f0e7e3}
.weekShell{border-color:#45545c}.weekHeader{background:#070d11;border-bottom-color:var(--flow-accent)}.vehicleHead{border-left-color:#2e3b42}.dayTitle{background:linear-gradient(90deg,#171f24,#0d151a);border-top-color:#5b302a;border-left-color:var(--flow-accent)}.weekLegend{background:#081015;border-top-color:#2d3a41}
.analyticsTable th{background:#080f13;border-bottom-color:#6b3932}.analyticsTable tr:hover td{background:#1b2022}.bar i,.biColumn i{background:linear-gradient(180deg,var(--flow-accent-bright),var(--flow-accent-dark))}
.biCommandPanel{border-color:#3c4b52;border-radius:4px 16px 4px 16px;background:linear-gradient(145deg,#111d24,#080f13)}
.biPeriodPreset{border-color:#45535a!important;border-radius:3px 999px 999px 3px!important;background:#0b1318!important}.biPeriodPreset:hover{border-color:var(--flow-accent)!important}.biPeriodPreset.active{color:#fff!important;border-color:var(--flow-accent)!important;background:linear-gradient(135deg,var(--flow-accent),var(--flow-accent-dark))!important}
.biGaugeCard{border-radius:3px 12px 3px 12px;background:#091116}.biFreshness{border-radius:3px 12px 3px 12px;background:#081116}.biDataNotice{border-left-color:var(--flow-accent);background:#211b18}
dialog{border-radius:4px 16px 4px 16px;border-color:#536069}.formHead{background-image:linear-gradient(100deg,#080e12f5 0,#12191de8 68%,#ff614d2b),url("/flow-rovera-hero-v2.png");background-position:center;background-size:cover;border-bottom-color:var(--flow-accent)}.formBody,.formFoot{background:#0b1419}.close{border-radius:3px 9px 3px 9px}.field label{font-size:.875rem}
#loginDialog .formHead{min-height:132px;align-items:flex-end}#loginDialog .formHead::after{content:"FLOW / DISPATCH COMMAND";color:#ff9b87;font-size:.7rem;letter-spacing:.18em}
@media(max-width:1000px){header{min-height:190px;flex-wrap:wrap}header::before{inset:0 0 0 28%;opacity:.55}header nav{order:3;width:100%;overflow:auto}#account{margin-left:auto}.view>.titlebar{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:750px){body{background:linear-gradient(145deg,#060c10,#0b141a)}.app{padding-top:8px}header{min-height:0;padding:14px;border-radius:3px 13px 3px 13px}header::before{inset:0;opacity:.24;clip-path:none}header::after{background:#060c10c9}#account{width:100%;text-align:left}.view>.titlebar{padding-left:12px}.card::before{right:12px;width:38px}.primary,.secondary,.advance{min-height:44px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.planJob{font-size:clamp(9px,.72vw,12px);line-height:1.25;overflow-wrap:anywhere}.planJobRoute{display:block;white-space:normal;line-height:1.3}.planJob small{display:block;margin-top:3px;font-size:.88em;font-weight:800}
.biMainNavigation{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0;padding:6px;border-bottom:1px solid #31464e}.biMainNavigation button{padding:9px 16px;border:1px solid #3c4b53;border-radius:4px 10px 4px 10px;background:#0b1318;color:#c8d4d0;font-weight:800}.biMainNavigation button:hover{border-color:#69df80;color:#fff}.biMainNavigation button.active{background:linear-gradient(135deg,#237b4c,#165d3a);border-color:#69df80;color:#fff}.biMainPane{display:none}.biMainPane.active{display:block}.biFreshnessHelpBubble{display:block;position:relative;margin-top:7px;padding:8px 10px!important;font-size:.75rem;line-height:1.35;font-weight:600;box-shadow:0 8px 20px #0005}.biFreshnessDot{cursor:pointer;border:0;padding:0}
.biNavigation{position:sticky;top:8px;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:10px 12px;border:1px solid #33454d;border-radius:4px 12px 4px 12px;background:#091116ee;backdrop-filter:blur(10px);box-shadow:0 10px 28px #0006}.biNavigation strong{margin-right:4px;color:#f0f6f2;font-size:.82rem}.biNavigation a{padding:7px 10px;border:1px solid #3d4d55;border-left:3px solid var(--bi-section-color,#69df80);border-radius:3px 8px 3px 8px;color:#d9e5df;text-decoration:none;font-size:.78rem;font-weight:700}.biNavigation a:hover{background:#ffffff12;color:#fff}.biNavigation-kpi{--bi-section-color:#69df80}.biNavigation-operations{--bi-section-color:#69c8ff}.biNavigation-finance{--bi-section-color:#ffad68}.biNavigation-centers{--bi-section-color:#c59bff}.biNavigation-quality{--bi-section-color:#ff806c}.biSection-kpi,.biSection-operations,.biSection-finance,.biSection-centers,.biSection-quality{border-left:4px solid var(--bi-section-color);padding-left:14px}.biSection-kpi{--bi-section-color:#69df80}.biSection-operations{--bi-section-color:#69c8ff}.biSection-finance{--bi-section-color:#ffad68}.biSection-centers{--bi-section-color:#c59bff}.biSection-quality{--bi-section-color:#ff806c}.biSection-kpi h2,.biSection-kpi h3{color:#a9f2b6}.biSection-operations h2,.biSection-operations h3{color:#9edbff}.biSection-finance h2,.biSection-finance h3{color:#ffd09e}.biSection-centers h2,.biSection-centers h3{color:#d9bfff}.biSection-quality h2,.biSection-quality h3{color:#ffb0a2}
/* Časová osa zůstává světlá i v tmavém tématu; neměníme výšku hodin ani pozice zakázek. */
.timeAxis .hourLabel{color:#304b3c;font-size:11px;line-height:17px;font-weight:600}
/* Upozornění v BI musí zůstat čitelné i u kritického světlého fallbacku z HTML. */
.biAlert{color:#eaf3ed;background:#211b18;border-left-color:#f2b84b}
.biAlert b{color:#fff1ed}
.biAlert span{color:#d6bcb6}
.biAlert.high{background:#3a1d19;border-left-color:#ff806c}
.biAlert.high b{color:#fff4f1}
.biAlert.high span{color:#f2c9c0}
.biInsights{margin-top:18px;padding-top:16px;border-top:1px solid #29453a}
.biSubtabs{display:flex;gap:6px;overflow:auto;margin-bottom:14px;padding-bottom:2px}
.biSubtabs button{white-space:nowrap;border:1px solid #3c4b53;border-radius:3px 9px 3px 9px;padding:9px 13px;background:#0b1318;color:#bdc8cd;font-weight:700}
.biSubtabs button:hover{border-color:var(--flow-accent);color:#fff}
.biSubtabs button.active{border-color:var(--flow-accent);background:linear-gradient(135deg,var(--flow-accent),var(--flow-accent-dark));color:#fff}
.biInsightPane{display:none;padding:14px;border:1px solid #2d3f47;border-radius:4px 12px 4px 12px;background:#0a1419}
.biInsightPane.active{display:block}
.biInsightPane h3{margin:0 0 12px;color:#edf7f0}
.biInsightPane .stats{margin:0 0 14px}
.biContextBars{height:170px;display:flex;align-items:end;gap:6px;padding:10px 5px 0;border-bottom:1px solid #38515a;background:linear-gradient(to top,#0c1b20 0,#0c1b20 1px,transparent 1px)}
.biContextBar{height:100%;flex:1;min-width:18px;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:5px}
.biContextBar i{display:block;width:100%;min-height:3px;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#69df80,#218a4e)}
.biContextBar i.loaded{background:linear-gradient(180deg,#69c8ff,#2d6ea3)}
.biContextBar i.empty{background:linear-gradient(180deg,#ff9b87,#b6473a)}
.biContextBar small{color:#9dafA5;font-size:.68rem}
.biContextLegend{display:flex;gap:18px;margin-top:10px;color:#b7c9bf;font-size:.78rem}.biContextLegend span{display:flex;align-items:center;gap:6px}.biContextLegend i{display:inline-block;width:10px;height:10px;border-radius:2px;background:#69c8ff}.biContextLegend i.empty{background:#ff806c}
.biFinanceTrend{margin:4px 0 18px;padding:10px 10px 7px;border:1px solid #29453a;border-radius:4px 10px 4px 10px;background:#081217;overflow:hidden}.biFinanceTrend svg{display:block;width:100%;height:190px;overflow:visible}.biFinanceTrend polyline{fill:none;stroke-width:3;vector-effect:non-scaling-stroke}.biFinanceTrend circle{stroke:#081217;stroke-width:2;vector-effect:non-scaling-stroke}.biFinanceTrend .zero{stroke:#53656d;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.biFinanceTrend .revenue polyline,.biFinanceTrend .revenue circle{stroke:#69df80;fill:#69df80}.biFinanceTrend .cost polyline,.biFinanceTrend .cost circle{stroke:#ffad68;fill:#ffad68}.biFinanceTrend .profit polyline,.biFinanceTrend .profit circle{stroke:#69c8ff;fill:#69c8ff}.biFinanceTrend text{fill:#aebfc5;font-size:9px}.biFinanceLegend{display:flex;justify-content:center;gap:18px;color:#c5d1d5;font-size:.78rem}.biFinanceLegend span{display:flex;align-items:center;gap:6px}.biFinanceLegend i{width:16px;height:3px;border-radius:2px;background:#69df80}.biFinanceLegend i.cost{background:#ffad68}.biFinanceLegend i.profit{background:#69c8ff}
.biFinanceCurrency h4{margin:13px 0 6px;color:#dce9e2;font-size:.84rem;letter-spacing:.08em}
.exchangeRateControl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.exchangeRateControl .secondary{padding:9px 11px;white-space:nowrap}
.biContextAlert{display:grid;gap:4px;padding:10px 12px;margin-bottom:8px;border-left:4px solid #f2b84b;border-radius:4px 9px 4px 9px;background:#2b241b;color:#f4e9d8}.biContextAlert span{color:#d7c6b6;font-size:.82rem}.biContextAlert.high{border-left-color:#ff806c;background:#3a1d19}.biContextAlert.high span{color:#f2c9c0}
.analyticsTableWrap{overflow:auto}
/* Panoramatické pozadí přes horní část Flow, nikoli jen uvnitř navigace. */
body{
  background-image:
    linear-gradient(180deg,#07101520 0%,#07101540 48%,#071015 100%),
    linear-gradient(90deg,#071015f2 0%,#071015b3 32%,#07101520 72%,#07101560 100%),
    url("/flow-rovera-hero-v2.png");
  background-color:#071015;
  background-size:100% clamp(340px,40vh,560px);
  background-position:top center;
  background-repeat:no-repeat;
  background-attachment:scroll;
}
header{background:#08111780;box-shadow:0 16px 48px #0005}
header::before,header::after{display:none}
.view>.titlebar{background:linear-gradient(90deg,#071015b3,transparent);text-shadow:0 2px 5px #000}
@media(max-width:750px){
  body{background-size:auto 340px;background-position:top right}
  header{background:#081117b3}
}
/* Evropská síť v pozadí Flow: jemná vrstva přes celou aplikaci, obsah zůstává v kontrastu. */
body{
  background-image:
    linear-gradient(180deg,#07101538 0%,#07101599 54%,#071015e8 100%),
    radial-gradient(circle at 52% 20%,#ff614d12 0%,transparent 42%),
    url("/flow-rovera-hero-v2.png"),
    url("/flow-europe-bg.png");
  background-size:100% 100%,100% 100%,100% clamp(340px,40vh,560px),cover;
  background-position:center,center,top center,center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
@media(max-width:750px){
  body{background-size:100% 100%,100% 100%,auto 340px,auto 100%;background-position:center,center,top right,center}
}
 .entryChoiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.entryChoiceGrid button{min-height:58px}@media(max-width:560px){.entryChoiceGrid{grid-template-columns:1fr}}

/* Rovera reference design: rail, panoramic header and compact instrument cards. */
.flowReferenceDesign{--flow-accent:#ff623b;--flow-accent-bright:#ff875b;--flow-accent-dark:#dc3e22;--flow-border:#30434d;--flow-panel:#09141a;--flow-panel-soft:#101d24;--ink:#f0f4f6;--muted:#a4b2bd;--line:#30434d;color:var(--ink);background-color:#071015;background-image:linear-gradient(180deg,#07101518,#07101570 220px,#071015 450px),url('/flow-rovera-hero-v2.png');background-size:100% 470px,calc(100% - 224px) auto;background-position:top right;background-repeat:no-repeat;background-attachment:scroll}
.flowReferenceDesign .app{max-width:none;margin:0 0 0 224px;padding:14px 24px 40px;min-height:100vh}
.flowReferenceDesign header{min-height:68px;padding:0 0 12px;gap:20px;border:0;border-radius:0;background:transparent;box-shadow:none;flex-wrap:wrap}
.flowReferenceDesign header .brand{align-items:center;gap:16px}.flowReferenceDesign .brand b{font-size:23px;letter-spacing:.12em}.flowReferenceDesign .brand small{font-size:10px;color:#b8c7cf;letter-spacing:.22em}
.flowReferenceDesign .logo{width:48px;height:48px;border-radius:9px;color:white;background:linear-gradient(135deg,#ff7944,#ed3924);box-shadow:0 6px 22px #fb512d40;font-size:20px}
.flowReferenceDesign header nav{order:0;width:auto;flex:none;margin:auto;padding:3px;border:1px solid #65707880;border-radius:7px;background:#0b151bd9;backdrop-filter:blur(12px)}
.flowReferenceDesign header nav button{font-size:12px;padding:11px 16px;border:0;border-radius:4px;white-space:nowrap}.flowReferenceDesign header nav button.active{background:linear-gradient(180deg,#c8482a55,#58271c88);box-shadow:inset 0 2px #ff693f,0 0 18px #ff693f20;color:#fff}
.flowReferenceDesign #account{margin-left:auto;border-radius:7px;background:#071117d9;font-size:12px}.flowReferenceDesign #account .secondary{background:#111e26;border-color:#3b4d57;border-radius:5px}
.flowReferenceDesign .sectionNavigation{position:fixed;inset:0 auto 0 0;width:224px;z-index:8;margin:0;padding:20px 14px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;border-right:1px solid #40545c80;background:linear-gradient(180deg,#050d13fa 0%,#061017c0 32%,#06101755 65%,#050e15e8 100%),url('/flow-europe-bg.png') center/auto 100%;box-shadow:8px 0 35px #0003;overflow:auto}
.flowReferenceDesign .sectionNavigation[hidden]{display:flex!important}
.flowRailBrand{padding:0 16px 28px;color:#fff}.flowRailBrand strong{display:block;font-size:31px;letter-spacing:1px;line-height:1.1}.flowRailBrand strong span{color:#ff6844}.flowRailBrand small{display:block;font-size:8px;letter-spacing:2.3px;margin-top:5px}
.flowReferenceDesign .sectionNavigationGroup{display:flex;flex-direction:column;min-width:0;width:100%;gap:5px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.flowReferenceDesign .sectionNavigationGroup[hidden]{display:none}
.flowReferenceDesign .sectionNavigationGroup button{width:100%;min-height:47px;text-align:left;padding:12px 14px;border:1px solid transparent;border-radius:0 7px 7px 0;color:#c8d2db;background:transparent;font-size:14px;box-shadow:none}
.flowReferenceDesign .sectionNavigationGroup button.active{border-color:#ff673b55;border-left:2px solid #ff7042;background:linear-gradient(90deg,#ff673b1f,#ffffff08);color:#fff;box-shadow:-5px 0 14px #ff673b15}
.flowReferenceDesign .sectionNavigationGroup button::before{display:inline-block;width:27px;color:#9ab1be;font-size:19px;vertical-align:middle;content:'›'}.flowReferenceDesign #biTab::before{content:'▥';color:#ff7042}.flowReferenceDesign #accountsTab::before{content:'▤'}.flowReferenceDesign #systemTab::before{content:'⚙'}
.flowRailFooter{margin-top:auto;padding:34px 24px 0;color:#acbcc8}.flowRailFooter p{font-size:10px;line-height:1.8;letter-spacing:2px}.flowRailFooter p::after{content:'';display:block;width:34px;height:2px;background:#ff623b;margin:14px 0 24px}.flowRailFooter small{font-size:10px;line-height:1.6;color:#738b9a}
.flowReferenceDesign .view>.titlebar{margin:18px 0 12px;padding:12px 16px;border:1px solid #43525b80;border-left:2px solid #ff623b;border-radius:8px;background:linear-gradient(90deg,#071015dc,#07101555);align-items:center;gap:18px}.flowReferenceDesign .view>.titlebar::before{display:none}.flowReferenceDesign h1{font-size:clamp(25px,2.3vw,36px);letter-spacing:-1px}.flowReferenceDesign .eyebrow{color:#ff764b;font-size:10px;letter-spacing:1.8px}.flowReferenceDesign .view>.titlebar .field{min-width:130px}
.flowReferenceDesign input,.flowReferenceDesign select,.flowReferenceDesign textarea{background:#08141b;color:#eaf0f4;border-color:#3a4e59;border-radius:5px}.flowReferenceDesign .primary,.flowReferenceDesign .secondary{border-radius:5px;font-size:12px;padding:10px 14px}.flowReferenceDesign .primary{background:linear-gradient(135deg,#ff794a,#ee482a);color:white}.flowReferenceDesign .secondary{background:linear-gradient(135deg,#15242d,#09151c);border-color:#415561}
.flowReferenceDesign .biCommandPanel{padding:16px;border-radius:8px;border-color:#3c515b;background:#071218e8;box-shadow:0 12px 30px #0003}.flowReferenceDesign .biCommandHead{padding-bottom:10px;border-color:#30414a;align-items:center}.flowReferenceDesign .biCommandHead h2{font-size:23px}.flowReferenceDesign .biCommandHead p{font-size:12px}.flowReferenceDesign .biScope{min-width:200px;font-size:12px}.flowReferenceDesign .biScope select{min-height:34px;padding:7px 10px}
.flowReferenceDesign .biMainNavigation{padding:8px 0;margin:4px 0 10px;border-bottom-color:#31444e}.flowReferenceDesign .biMainNavigation button{padding:8px 20px;border-radius:5px;font-size:12px}.flowReferenceDesign .biMainNavigation button.active{background:#ff693f1f;border-color:#ff764b;color:#fff;box-shadow:inset 0 -2px #ff764b}.flowReferenceDesign .biMainNavigation button:hover{border-color:#ff764b}
.flowReferenceDesign .biKpiSection{margin-top:9px;padding:10px 12px 12px;border:1px solid #31434c;border-left:2px solid #ff7244;border-radius:7px;background:linear-gradient(110deg,#101e2580,#07101590);box-shadow:-4px 0 14px #ff623b08}.flowReferenceDesign .biKpiSection h3{margin:0 0 8px;color:#ff794d;font-size:10px;letter-spacing:1.8px}.flowReferenceDesign .biGaugeGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.flowReferenceDesign .biGaugeCard{min-height:100px;padding:12px 14px;border:1px solid #354a55;border-radius:5px;background:linear-gradient(120deg,#14242c99,#09151cdd);box-shadow:inset 0 1px #ffffff04}.flowReferenceDesign .biGaugeHead>span{color:#dae3e9;font-size:12px;font-weight:500}.flowReferenceDesign .biGaugeCard>strong{font-size:23px;letter-spacing:-.4px;margin:5px 0 9px}.flowReferenceDesign .biGaugeCard small{font-size:10px;color:#a9bac6;line-height:1.5}.flowReferenceDesign .biGauge{height:5px;margin:0 3px 7px;gap:2px}.flowReferenceDesign .biGauge>b{height:11px;top:-3px;width:2px}.flowReferenceDesign .biGauge i{border-radius:0}.flowReferenceDesign .biGauge .redZone{background:#eb5148}.flowReferenceDesign .biGauge .amberZone{background:#ffad37}.flowReferenceDesign .biGauge .greenZone{background:#41c980}
.flowReferenceDesign .biKpiStatus{font-size:10px;padding:3px 8px;border-radius:3px;white-space:nowrap;border:1px solid #658090;background:#101e26}.flowReferenceDesign .green .biKpiStatus{border-color:#318f51;color:#7fe18e;background:#0d291d}.flowReferenceDesign .amber .biKpiStatus{border-color:#b78228;color:#ffcd62;background:#302410}.flowReferenceDesign .red .biKpiStatus{border-color:#ad493a;color:#ff8a72;background:#301914}.flowReferenceDesign .biFreshness{border-color:#354a55;border-radius:6px;background:#09151c}.flowReferenceDesign .biFreshnessGrid article{border-color:#354a55;background:#0c1d22;border-radius:5px}.flowReferenceDesign .biFreshnessHelpBubble{grid-column:1/-1;color:#f0e5d7}.flowReferenceDesign .card{border-radius:7px}.flowReferenceDesign .card::before{display:none}
.flowReferenceDesign button:focus-visible,.flowReferenceDesign a:focus-visible{outline:2px solid #ffab79;outline-offset:3px}
@media(min-width:1500px){.flowReferenceDesign .biGaugeGrid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr))}}
@media(max-width:1100px){.flowReferenceDesign .app{margin-left:184px;padding:12px 16px 30px}.flowReferenceDesign .sectionNavigation{width:184px;padding:20px 9px}.flowRailBrand{padding-left:10px}.flowRailBrand strong{font-size:27px}.flowReferenceDesign header{gap:12px}.flowReferenceDesign header nav{margin-left:0}.flowReferenceDesign .brand b{font-size:19px}.flowReferenceDesign .biGaugeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.flowReferenceDesign{background-size:100% 340px,auto 340px;background-position:top right}.flowReferenceDesign .app{margin:0;padding:10px 12px 30px}.flowReferenceDesign header{padding:6px 0 10px;gap:12px;flex-direction:row}.flowReferenceDesign header nav{order:3;width:100%;justify-content:space-around;margin:0}.flowReferenceDesign #account{width:auto}.flowReferenceDesign .sectionNavigation{position:static;width:100%;height:auto;display:block;margin:5px 0 14px;padding:0;border:0;box-shadow:none;background:transparent}.flowReferenceDesign .sectionNavigation[hidden]{display:none!important}.flowRailBrand,.flowRailFooter{display:none}.flowReferenceDesign .sectionNavigationGroup{flex-direction:row;overflow:auto;gap:5px}.flowReferenceDesign .sectionNavigationGroup button{width:auto;flex:1;white-space:nowrap;text-align:center;padding:10px;min-height:44px;font-size:12px}.flowReferenceDesign .sectionNavigationGroup button::before{display:none}.flowReferenceDesign .view>.titlebar{margin-top:10px;padding:12px;flex-wrap:wrap}.flowReferenceDesign .biCommandPanel{padding:10px}.flowReferenceDesign .biCommandHead{display:grid;gap:12px}.flowReferenceDesign .biScope{min-width:0;width:100%}.flowReferenceDesign .biGaugeGrid{grid-template-columns:1fr}.flowReferenceDesign .biGaugeCard{min-height:104px}.flowReferenceDesign .biMainNavigation button{flex:1;padding:10px}.flowReferenceDesign .biKpiSection{padding:10px}.flowReferenceDesign .brand b{font-size:18px}.flowReferenceDesign .brand small{font-size:8px}}
.biFreshnessGrid article[role="button"]{cursor:pointer;min-width:0}
.biFreshnessGrid article[role="button"]:focus-visible{outline:2px solid #ff784c;outline-offset:3px}
.biFreshnessGrid .biFreshnessHelpBubble{grid-column:1/-1;white-space:normal}
.biMainPane,.biLegacyStatistics,.biCommandPanel{min-width:0;max-width:100%}
.biLegacyStatistics .analyticsTableWrap{overflow-x:auto;max-width:100%}
.biMainNavigation button[data-bi-main-pane="statistics"]{border-bottom:3px solid #73bfff}
.biMainNavigation button[data-bi-main-pane="data"]{border-bottom:3px solid #e1b767}
:root #weekBoard .planJob[data-plan] { box-sizing:border-box; padding:7px 6px; font-size:15px; line-height:1.25; overflow:auto; white-space:normal; text-align:left; }
:root #weekBoard .planJob[data-plan] .planJobRoute { display:block; font-size:inherit; font-weight:700; overflow-wrap:anywhere; white-space:normal; }
:root #weekBoard .planJob[data-plan] small { display:block; margin-top:5px; font-size:13px; line-height:1.2; white-space:normal; }
