/* obrazovky příběhu oboru E-commerce (.se-*), základ v site-screens.css (.ss-*) */
.se-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: none; }
.se-kpis small { display: block; color: var(--muted); font-size: 12px; }
.se-kpis b { font: 600 22px/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.se-split { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 10px; flex: 1; min-height: 0; }
.se-split--r { grid-template-columns: minmax(0, 1fr) 250px; }
.se-note { margin: 10px 0 0; padding: 8px 10px; background: #e8f3f2; border-radius: 8px; color: var(--action); font-size: 12px; font-weight: 500; transition: opacity 180ms ease; }
.se-ok { color: var(--action); font-weight: 500; } .se-warn { color: #a0470f; font-weight: 500; }

/* objednávky */
.se-orders { padding-top: 6px; padding-bottom: 4px; overflow: hidden; }
.se-or { display: grid; grid-template-columns: 38px 64px 92px minmax(0, 1fr) 72px 92px; gap: 8px; align-items: center; height: 37px; border-top: 1px solid #eef1f2; font-size: 12px; opacity: 0; transition: opacity 160ms ease, background-color 200ms ease; }
.se-or.is-on { opacity: 1; } .se-or.is-new { background: #e8f3f2; box-shadow: -13px 0 0 #e8f3f2, 13px 0 0 #e8f3f2; }
.se-or--h { height: 26px; border-top: 0; opacity: 1; font-size: 11px; color: var(--muted); }
.se-or b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .se-or > span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.se-or__who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-ch { display: inline-block; padding: 2px 7px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.se-ch--e { background: #d5ebea; color: #0a716f; } .se-ch--m { background: #fbe7d8; color: #a0470f; } .se-ch--b { background: #e4e8ee; color: #1b2a44; } .se-ch--t { background: #efe7d6; color: #6b5a2e; }
.se-bar { margin-bottom: 9px; } .se-bar > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; } .se-bar > span b { font-weight: 600; font-variant-numeric: tabular-nums; }
.se-bar > i { display: block; height: 8px; background: #eef1f2; border-radius: 6px; overflow: hidden; } .se-bar u { display: block; height: 100%; transform: scaleX(0); transform-origin: left; border-radius: 6px; }
.se-u--e { background: #0a716f; } .se-u--m { background: #e07a3a; } .se-u--b { background: #1b2a44; } .se-u--t { background: #b39a5c; } .se-u--n { background: #1b2a44; } .se-u--hot { background: #e07a3a; }

/* zásoby */
.se-prod__top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.se-prod__top svg { width: 96px; height: 96px; display: block; } .se-prod__top small { display: block; color: var(--muted); font-size: 12px; }
.se-big { display: block; font: 600 40px/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.se-state { display: inline-block; margin: 6px 0 0; padding: 3px 9px; border-radius: 99px; background: #d5ebea; color: var(--action); font-size: 12px; font-weight: 600; }
.se-state.is-low { background: #fbe7d8; color: #a0470f; } .se-state.is-out { background: #1b2a44; color: #fff; }
.se-chline { padding: 6px 8px; margin: 0 -8px; border-radius: 7px; transition: background-color 200ms ease; } .se-chline.is-flash { background: #e8f3f2; }
.se-split .ss-task { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 8px 0; font-size: 12px; }

/* vychystávání */
.se-wh svg { display: block; }
.se-shelf { fill: #fff; stroke: #c9d1d5; stroke-width: 2; }
.se-aisle { font-size: 15px; font-weight: 600; fill: var(--muted); text-anchor: middle; }
.se-dock { fill: #e4e8ee; } .se-docktx { font-size: 13px; font-weight: 500; fill: var(--ink); text-anchor: middle; }
.se-pinno { font-size: 12px; font-weight: 700; fill: var(--ink); text-anchor: middle; pointer-events: none; }
g[data-pin] .ss-pin.is-on + .se-pinno { fill: #fff; }
.se-wh .ss-rt1 { stroke-width: 5; }

/* balení */
.se-sum { border-top: 1px solid #eef1f2; margin-top: 4px; padding-top: 7px; } .se-sum b { color: var(--ink); }
.se-box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.se-box h5 { align-self: stretch; text-align: left; }
.se-box svg { width: 150px; height: 112px; display: block; }
.se-box__side { fill: #d6b07c; stroke: #8a6534; stroke-width: 2; stroke-linejoin: round; } .se-box__top { fill: #e4c495; stroke: #8a6534; stroke-width: 2; stroke-linejoin: round; } .se-box__edge { stroke: #8a6534; stroke-width: 2; }
.se-box__tape { fill: #0a716f; opacity: 0; transition: opacity 180ms ease; }
.se-boxname { margin-top: 6px; font-size: 14px; font-weight: 600; }
.se-box .ss-quiet { font-size: 12px; margin-top: 2px; }
.se-carrier { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 9px; margin-bottom: 6px; border: 1px solid #e1e6e8; border-radius: 9px; transition: background-color 180ms ease, border-color 180ms ease; }
.se-carrier p { margin: 0; font-size: 11.5px; color: var(--muted); } .se-carrier p b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; } .se-carrier > b { font-weight: 600; white-space: nowrap; }
.se-carrier.is-on { background: #e8f3f2; border-color: #0a716f; box-shadow: inset 3px 0 0 #0a716f; }
.se-label { flex: none; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: center; opacity: .35; transition: opacity 200ms ease; }
.se-label.is-on { opacity: 1; } .se-label b { font-size: 13.5px; font-weight: 600; } .se-label .ss-quiet { font-size: 12px; }
.se-label__bars { display: flex; gap: 2px; height: 40px; } .se-label__bars u { display: block; background: #1b2a44; }
.se-label .ss-chip { transition: opacity 180ms ease; }

/* vratky */
.se-steps { display: flex; flex-direction: column; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.se-step { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; opacity: .4; transition: opacity 180ms ease; }
.se-step.is-on { opacity: 1; }
.se-step > i { width: 14px; height: 14px; margin-left: 3px; border-radius: 50%; border: 3px solid #c9d1d5; background: #fff; transition: border-color 180ms ease, background-color 180ms ease; }
.se-step.is-on > i { border-color: #0a716f; background: #0a716f; }
.se-step:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 32px; bottom: -14px; width: 2px; background: #e1e6e8; }
.se-step p { margin: 0; font-size: 12px; color: var(--muted); } .se-step p b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.se-step em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--action); }
.se-split--r .ss-ai p { font-size: 12.5px; line-height: 1.4; transition: opacity 180ms ease; }

/* zákaznický servis */
.se-mailgrid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px; flex: 1; min-height: 0; }
.se-inbox { padding: 6px; }
.se-mail { display: flex; justify-content: space-between; gap: 6px; padding: 9px 8px; border-radius: 8px; transition: opacity 180ms ease; }
.se-mail + .se-mail { border-top: 1px solid #eef1f2; } .se-mail.is-sel { background: #e8f3f2; border-top-color: transparent; } .se-mail.is-sel + .se-mail { border-top-color: transparent; }
.se-mail.is-done { opacity: .45; }
.se-mail p { margin: 0; font-size: 11.5px; color: var(--muted); min-width: 0; } .se-mail p b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .se-mail i { font-style: normal; font-size: 11px; color: var(--muted); }
.se-thread { display: flex; flex-direction: column; gap: 10px; }
.se-q { margin: 0; padding: 10px 12px; background: #f5f7f8; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.se-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.se-facts p { margin: 0; padding: 7px 8px; background: #f5f7f8; border-radius: 8px; } .se-facts small { display: block; font-size: 11px; color: var(--muted); } .se-facts b { font-size: 12px; font-weight: 600; color: var(--muted); } .se-facts b.is-on { color: var(--action); }
.se-draft { flex: 1; min-height: 0; padding: 10px 12px; border: 1.5px solid #0a716f; border-radius: 10px; transition: opacity 180ms ease; }
.se-draft small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; color: var(--action); }
.se-draft p { margin: 0; font-size: 14px; line-height: 1.4; }
.se-send { display: flex; align-items: center; gap: 12px; } .se-send .ss-quiet { font-size: 12px; transition: opacity 180ms ease; }

/* predikce */
.se-fc { position: relative; display: flex; flex-direction: column; }
.se-fc svg { flex: 1; min-height: 0; width: 100%; display: block; }
.se-axis { stroke: #c9d1d5; stroke-width: 1.5; }
.se-hist { fill: #1b2a44; } .se-pred { fill: #2fb5ac; opacity: .75; }
.se-now { stroke: #1b2a44; stroke-width: 1.5; stroke-dasharray: 4 4; } .se-nowtx { font-size: 12px; font-weight: 600; fill: var(--ink); }
.se-stock { fill: none; stroke: #e07a3a; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.se-axisx { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

/* AI asistent */
.se-mbars > div { grid-template-columns: 120px minmax(0, 1fr) 76px; }

/* marže */
.se-s--n { background: #c9d1d5; } .se-s--d { background: #8aa0b5; } .se-s--f { background: #e07a3a; } .se-s--m { background: #0a716f; }
.ss-legend .se-s--n, .ss-legend .se-s--d, .ss-legend .se-s--f, .ss-legend .se-s--m { display: inline-block; }
.se-stackrow { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 8px; font-size: 12.5px; font-weight: 500; }
.se-stackbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; }
.se-stackbar u { display: flex; align-items: center; justify-content: flex-end; padding-right: 7px; flex-grow: 0; flex-shrink: 0; color: #fff; font-size: 11.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.se-tr { display: grid; grid-template-columns: minmax(0, 1fr) 70px 96px 104px; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #eef1f2; font-size: 12.5px; opacity: .35; transition: opacity 180ms ease; }
.se-tr.is-on, .se-tr--h { opacity: 1; } .se-tr--h { border-top: 0; font-size: 11px; color: var(--muted); padding-top: 0; }
.se-tr b { font-weight: 600; } .se-tr > :not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.se-or { grid-template-columns: 36px 62px 86px minmax(0, 1fr) 70px 84px; height: 38px; }
.se-split { grid-template-columns: minmax(0, 1fr) 250px; }
.se-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .se-prices p { margin: 0; padding: 7px 9px; background: #f5f7f8; border-radius: 8px; } .se-prices small { display: block; font-size: 11px; color: var(--muted); } .se-prices b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.se-small { margin-top: 6px; font-size: 12px; }
.se-shelfl { stroke: #e1e6e8; stroke-width: 1.5; }
.se-wh { align-items: stretch; } .se-wh svg { height: 100%; }
.se-mail { padding: 7px 8px; }
.se-thread .se-draft { flex: 1; }
.se-facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.se-pos { position: relative; } .se-pos .ss-legend { top: 12px; }
.se-split--o { grid-template-columns: minmax(0, 1fr) 210px; }
.se-split--o .se-or { grid-template-columns: 66px 88px minmax(0, 1fr) 72px 78px; }
.se-or__no { margin: 0; line-height: 1.15; } .se-or__no b { display: block; } .se-or__no small { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.se-spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; } .se-spark u { flex: 1; background: #0a716f; opacity: .75; border-radius: 2px 2px 0 0; }
