/* Lagerwerk — Demo-Oberflaeche. Designgroesse 1280 x 800, skaliert per JS. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../solaris/schrift/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../solaris/schrift/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../obsidian/schrift/4iCr6K5wfMRRjxp0DA6-2CLnB4NHhg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F2F0EB;
  --card: #FFFFFF;
  --ink: #15171B;
  --ink2: #383D46;
  --mute: #5C636D;
  --faint: #686E77;
  --line: #E4E0D7;
  --line2: #D4CEC2;
  --hover: #F8F6F2;
  --sunk: #F7F5F1;
  --side: #111317;
  --side2: #1B1E23;
  --side-t: #A2A9B4;
  --acc: #FF5A1F;
  --acc-d: #BF3B0B;
  --acc-s: #FFEDE4;
  --ok: #12704A;
  --ok-b: #1E9A62;
  --ok-s: #E3F3EA;
  --warn: #8F5200;
  --warn-b: #E39A08;
  --warn-s: #FDF0D6;
  --crit: #BE271D;
  --crit-b: #E5483D;
  --crit-s: #FCEAE8;
  --info: #2152BB;
  --info-b: #3B74E6;
  --info-s: #E8EEFC;
  --r: 14px;
  --sh: 0 1px 0 rgba(21, 23, 27, .03), 0 1px 3px rgba(21, 23, 27, .05);
  --sh2: 0 16px 36px -14px rgba(21, 23, 27, .32), 0 2px 6px rgba(21, 23, 27, .08);
  --mono: 'Fragment Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #E7E4DD; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ── Buehne ─────────────────────────────────────────────── */
.stage {
  position: absolute; left: 0; top: 0;
  width: 1280px; height: 800px;
  transform-origin: 0 0;
  display: grid; grid-template-columns: 224px minmax(0, 1fr);
  background: var(--paper); color: var(--ink);
  font: 400 13.5px/1.45 var(--sans);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow: clip;
  opacity: 0; transition: opacity .35s ease;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.stage.ready { opacity: 1; }
input { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.defs { position: absolute; width: 0; height: 0; overflow: clip; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); font-size: 11.5px; color: var(--mute); letter-spacing: -.01em; }
.num, .tab { font-variant-numeric: tabular-nums; }

/* ── Seitenleiste ───────────────────────────────────────── */
.side {
  position: relative; display: flex; flex-direction: column;
  padding: 18px 14px 14px; background: var(--side); color: var(--side-t);
  border-right: 1px solid #000;
}
.side::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 90, 31, .13), transparent 60%);
}
.brand { position: relative; display: flex; align-items: center; gap: 11px; padding: 2px 6px 16px; }
.brand-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 14px rgba(255, 90, 31, .35)); }
.brand-t b { display: block; color: #fff; font-size: 16.5px; font-weight: 750; letter-spacing: -.025em; line-height: 1.15; }
.brand-t span { font-size: 11.5px; color: #8E95A0; }
.nav { position: relative; display: flex; flex-direction: column; gap: 2px; }
.nav-grp { font-size: 10.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #858D99; padding: 14px 10px 6px; }
.nav-i {
  position: relative; display: flex; align-items: center; gap: 11px;
  height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--side-t); font-size: 13.5px; font-weight: 520; text-align: left; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-i:hover { background: var(--side2); color: #E8EAED; }
.nav-i.on { background: #1F2228; color: #fff; box-shadow: inset 0 0 0 1px #2B2F36; }
.nav-i.on::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acc); }
.nav-i.on .i { color: var(--acc); }
.nav-b {
  margin-left: auto; min-width: 21px; height: 20px; padding: 0 6px; border-radius: 10px;
  display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 650;
  background: #2A2E35; color: #E3E6EA; font-variant-numeric: tabular-nums;
}
.nav-b.warn { background: rgba(229, 72, 61, .2); color: #FF9C94; }
.nav-b.acc { background: rgba(255, 90, 31, .2); color: #FFA27A; }
.nav-b[hidden] { display: none; }
.side-foot { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.demo-note { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 2px; padding: 8px 10px; border-radius: 11px; border: 1px dashed #343941; font-size: 11px; line-height: 1.35; color: #9BA2AD; }
.demo-note .i { width: 15px; height: 15px; margin-top: 1px; color: #FF8F63; }
.demo-note b { display: block; font-size: 11.5px; font-weight: 620; color: #DDE1E6; }
.scn { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: #171A1F; border: 1px solid #23272E; }
.scn-ic { position: relative; width: 32px; height: 32px; border-radius: 9px; background: #0E2A1D; color: #3DDC97; display: grid; place-items: center; flex: none; }
.scn-ic .i { width: 17px; height: 17px; }
.scn-ic .pulse { position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #3DDC97; border: 2px solid #171A1F; }
.scn b, .me b { display: block; color: #ECEEF1; font-size: 12.5px; font-weight: 600; }
.scn span, .me span { font-size: 11px; color: #858C97; }
.me { display: flex; gap: 10px; align-items: center; padding: 6px 8px 2px; }
.ava { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 750; color: #15171B; background: linear-gradient(135deg, #FFC2A3, #FF5A1F); }
/* Puls nur ueber transform/opacity (Compositor) — kein Neuzeichnen im Leerlauf */
.live .pulse, .sc-st .pulse { position: relative; display: inline-block; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #3DDC97; opacity: 0; animation: pulse 2.4s ease-out infinite; will-change: transform, opacity; }
.live .pulse::after { background: var(--ok-b); }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* ── Hauptbereich ───────────────────────────────────────── */
.main { display: grid; grid-template-rows: 60px minmax(0, 1fr) 28px; min-width: 0; min-height: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.top-t { min-width: 0; }
.top-t h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.top-t p { margin: 1px 0 0; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-a { display: flex; align-items: center; gap: 10px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line2); background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 620; white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 0 rgba(21, 23, 27, .04);
  transition: transform .12s, box-shadow .2s, background .15s, border-color .15s;
}
.btn:hover { border-color: #B9B2A4; background: #FDFCFA; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.btn .i { width: 16px; height: 16px; }
.btn-acc { background: var(--acc); border-color: #EE4C12; color: #15171B; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -8px rgba(255, 90, 31, .85); }
.btn-acc:hover { background: #FF6B35; border-color: #EE4C12; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #262A31; border-color: #262A31; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
.btn-sm .i { width: 14px; height: 14px; }
.btn-lg { height: 46px; font-size: 14.5px; border-radius: 12px; }
kbd { font: 500 10.5px/1 var(--mono); padding: 3px 5px; border-radius: 5px; background: rgba(21, 23, 27, .07); color: inherit; }
.btn-acc kbd { background: rgba(21, 23, 27, .14); }
.sbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; width: 176px; padding: 0 8px 0 11px;
  border-radius: 10px; border: 1px solid var(--line2); background: #fff; color: var(--mute); cursor: pointer; font-size: 13px;
}
.sbtn:hover { border-color: #B9B2A4; }
.sbtn .i { width: 16px; height: 16px; }
.sbtn kbd { margin-left: auto; }
.tour {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 5px;
  border-radius: 999px; border: 1px solid var(--line2); background: #fff; cursor: pointer;
  font-size: 12.5px; font-weight: 620; color: var(--ink2); white-space: nowrap;
}
.tour[hidden] { display: none; }
.tour-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.tour-ic .i { width: 12px; height: 12px; stroke-width: 2.6; }
.tour.run .tour-ic { background: var(--acc); color: #15171B; }
.tour-s { font: 500 11.5px var(--mono); color: var(--mute); }
.tour-s:empty { display: none; }

.views { position: relative; min-height: 0; }
.view {
  position: absolute; inset: 0; padding: 22px 24px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .26s ease, transform .26s ease, visibility 0s linear .26s;
}
.view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .26s ease, transform .26s ease; }

.sbar { display: flex; align-items: center; gap: 18px; padding: 0 24px; border-top: 1px solid var(--line); background: #ECE9E2; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.sb-i { display: inline-flex; align-items: center; gap: 7px; }
.sb-sp { flex: 1; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; background: #A3A9B2; }
.dot.ok, .dot.packed { background: var(--ok-b); }
.dot.crit, .dot.wait { background: var(--crit-b); }
.dot.info, .dot.ready { background: var(--info-b); }
.dot.acc, .dot.pick { background: var(--acc); }
.dot.shipped { background: #A9AEB6; }

/* ── Bausteine ──────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); min-width: 0; min-height: 0; }
.card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 18px 0; }
.card-h h3 { margin: 0; font-size: 14px; font-weight: 680; letter-spacing: -.012em; }
.card-h p { margin: 2px 0 0; font-size: 12px; color: var(--mute); }
.link { border: 0; background: none; padding: 2px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 620; color: var(--acc-d); white-space: nowrap; }
.link .i { width: 14px; height: 14px; transition: transform .15s; }
.link:hover .i { transform: translateX(2px); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 620; white-space: nowrap; }
.pill .i { width: 13px; height: 13px; stroke-width: 2.3; }
.pill .dot { width: 6px; height: 6px; background: currentColor; }
.pill.ok { background: var(--ok-s); color: var(--ok); }
.pill.low { background: var(--warn-s); color: var(--warn); }
.pill.crit { background: var(--crit-s); color: var(--crit); }
.pill.info { background: var(--info-s); color: var(--info); }
.pill.acc { background: var(--acc-s); color: var(--acc-d); }
.pill.mute { background: #EFECE6; color: var(--mute); }
.glyph {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 16%, transparent);
}
.glyph .i { width: 19px; height: 19px; }
.glyph.lg { width: 48px; height: 48px; border-radius: 13px; }
.glyph.lg .i { width: 26px; height: 26px; }
.loc {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 7px;
  background: #F1EEE8; border: 1px solid #E3DED4; font: 500 12px var(--mono); color: var(--ink2); letter-spacing: .02em; white-space: nowrap;
}
span.bar { position: relative; display: block; height: 8px; border-radius: 99px; background: #EEEBE4; }
span.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--ok-b); }
span.bar.low i { background: var(--warn-b); }
span.bar.crit i { background: repeating-linear-gradient(-45deg, var(--crit-b) 0 4px, #EF6F65 4px 8px); }
span.bar.acc i { background: var(--acc); }
span.bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); opacity: .5; }
span.bar.sm { height: 6px; }
span.bar.lg { height: 12px; }
.flash span.bar i, .just span.bar i { animation: grow 1s cubic-bezier(.2, .8, .2, 1); }
@keyframes grow { from { width: var(--from); } }

/* ── Übersicht ──────────────────────────────────────────── */
#v-overview { display: flex; flex-direction: column; gap: 16px; }
.ov-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.hello { margin: 0; font-size: 25px; font-weight: 750; letter-spacing: -.035em; line-height: 1.15; }
.hello-sub { margin: 3px 0 0; font-size: 13.5px; color: var(--mute); }
.cta {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 9px; border: 0; border-radius: 14px;
  background: var(--ink); color: #fff; cursor: pointer; text-align: left;
  box-shadow: 0 12px 26px -14px rgba(21, 23, 27, .7);
  transition: transform .15s, box-shadow .2s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(21, 23, 27, .75); }
.cta-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 90, 31, .18); color: #FF8F63; }
.cta-t b { display: block; font-size: 13.5px; font-weight: 650; }
.cta-t span { font-size: 12px; color: #A7AEB8; }
.cta-go { display: inline-flex; align-items: center; gap: 6px; height: 34px; margin-left: 8px; padding: 0 12px; border-radius: 9px; background: var(--acc); color: #15171B; font-size: 13px; font-weight: 680; }
.cta-go .i { width: 15px; height: 15px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { position: relative; height: 106px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh); overflow: clip; }
.kpi-h { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 520; color: var(--mute); }
.kpi-h .i { width: 17px; height: 17px; color: #958E81; }
.kpi-v { margin-top: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-v small { margin-left: 5px; font-size: 15px; font-weight: 520; letter-spacing: 0; color: var(--faint); }
.kpi-s { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.kpi-s .i { width: 14px; height: 14px; color: var(--faint); }
.delta { font-weight: 680; color: var(--mute); font-variant-numeric: tabular-nums; }
.delta.up { color: var(--ok); }
.delta.down { color: var(--crit); }
.spark { position: absolute; right: 14px; top: 40px; width: 78px; height: 30px; }
.sp-a { fill: rgba(255, 90, 31, .1); }
.sp-l { fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.sp-d { fill: var(--acc); stroke: #fff; stroke-width: 1.5; }
.kpi-seg { position: absolute; right: 16px; top: 44px; display: flex; gap: 4px; align-items: flex-end; }
.kpi-seg i { width: 8px; height: 24px; border-radius: 3px; }
.kpi-seg i.crit { background: repeating-linear-gradient(-45deg, var(--crit-b) 0 3px, #EF6F65 3px 6px); }
.kpi-seg i.info { background: var(--info-b); }
.kpi-seg i.acc { background: var(--acc); }
.kpi-dots { position: absolute; right: 16px; top: 46px; display: grid; grid-template-columns: repeat(6, 8px); gap: 4px; }
.kpi-dots i { width: 8px; height: 8px; border-radius: 2.5px; background: #CBE7D7; transition: background .4s; }
.kpi-dots i.low { background: var(--warn-b); }
.kpi-dots i.crit { background: var(--crit-b); }
.kpi-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #EEEBE4; }
.kpi-prog i { display: block; height: 100%; background: var(--ok-b); }
.kpi.flash { animation: kflash 1.8s ease; }
@keyframes kflash { 0% { box-shadow: var(--sh); } 18% { box-shadow: 0 0 0 3px rgba(255, 90, 31, .35); border-color: var(--acc); } 100% { box-shadow: var(--sh); } }

/* Spalten exakt auf die KPI-Kacheln ausgerichtet (2 + 2), damit nichts gekuerzt werden muss */
.ov-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 242px minmax(0, 1fr); column-gap: 14px; row-gap: 16px; }
.ch-card, .w-card, .p-card, .f-card { display: flex; flex-direction: column; overflow: clip; }
.ch-leg { display: flex; gap: 14px; align-items: center; padding-top: 3px; font-size: 11.5px; color: var(--mute); white-space: nowrap; }
.ch-leg span { display: inline-flex; align-items: center; gap: 6px; }
.lg-bar { width: 10px; height: 10px; border-radius: 3px; background: #D3CCBF; }
.lg-avg { width: 14px; height: 0; border-top: 2px dashed var(--ink2); opacity: .7; }
.lg-now { width: 10px; height: 10px; border-radius: 3px; background: var(--acc); }
.ch-wrap { position: relative; flex: 1; min-height: 0; padding: 8px 14px 10px; }
.chart { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .gl { stroke: #EFECE6; stroke-width: 1; }
.chart .gl.base { stroke: #D8D2C6; }
.chart .ax { font: 500 10.5px var(--sans); fill: #5F666F; }
.chart .ax.sm { font-size: 9.5px; fill: #736E66; }
.chart .ax.now { fill: var(--acc-d); font-weight: 700; }
.chart .col { fill: #D6CFC2; transition: fill .15s; transform-box: fill-box; transform-origin: 50% 100%; }
.chart .col.hl { fill: var(--ink2); }
.chart .col.today { fill: var(--acc); }
.chart .col.today.hl { fill: #E04A12; }
.chart .bar-ghost { fill: rgba(255, 90, 31, .05); stroke: var(--acc); stroke-width: 1.3; stroke-dasharray: 3 3; opacity: .6; }
.chart .avg { stroke: var(--ink2); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .55; }
.chart .hit { fill: transparent; cursor: crosshair; }
.enter .chart .col { animation: colIn .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 28ms); }
@keyframes colIn { from { transform: scaleY(0); } }
.ch-tip {
  position: absolute; top: 0; transform: translateX(-50%); z-index: 3; pointer-events: none; white-space: nowrap;
  padding: 7px 10px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; box-shadow: var(--sh2);
}
.ch-tip b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ch-tip span { display: block; font-size: 11px; color: #AEB4BD; }
.ch-tip[hidden] { display: none; }

.wl-list { flex: 1; min-height: 0; padding: 8px 10px 8px; display: flex; flex-direction: column; gap: 2px; overflow: clip; }
.wl { display: flex; align-items: center; gap: 11px; padding: 7px 8px; border-radius: 11px; transition: background .15s; }
.wl:hover { background: var(--hover); }
.wl-m { flex: 1; min-width: 0; }
.wl-m > b { display: block; font-size: 13px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-r { display: flex; align-items: center; gap: 9px; margin-top: 5px; }
.wl-r .bar { width: 62px; flex: none; }
.wl-n { font-size: 12px; color: var(--mute); white-space: nowrap; }
.wl-n b { color: var(--ink); font-variant-numeric: tabular-nums; }
.empty-ok { display: flex; align-items: center; gap: 10px; padding: 14px 10px; color: var(--ok); font-weight: 600; font-size: 13px; }

.pipe { display: flex; gap: 3px; height: 12px; margin: 14px 18px 0; }
.pipe .seg { display: block; height: 100%; border-radius: 4px; transition: flex .6s cubic-bezier(.2, .8, .2, 1); }
.seg.wait { background: repeating-linear-gradient(-45deg, var(--crit-b) 0 4px, #EF6F65 4px 8px); }
.seg.ready { background: var(--info-b); }
.seg.pick { background: var(--acc); }
.seg.packed { background: var(--ok-b); }
.seg.shipped { background: #B7BCC4; }
.pipe-leg { list-style: none; margin: 12px 18px 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; }
.pipe-leg li { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 6px; align-items: center; font-size: 11.5px; color: var(--mute); line-height: 1.25; }
.pipe-leg li span { white-space: nowrap; }
.pipe-leg li b { grid-column: 1 / -1; margin-top: 2px; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tours { margin: auto 18px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc { display: flex; flex-direction: column; gap: 6px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line); background: var(--sunk); }
.tc.done { background: #F2FAF5; border-color: #D3EBDD; }
.tc.wait { border-color: #F2CFCB; background: #FFF9F8; }
.tc-t { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 680; }
.tc-t .i { width: 15px; height: 15px; color: var(--mute); }
.tc-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tc-d { display: flex; gap: 4px; }
.tc-d .dot { width: 9px; height: 9px; }
.tc-n { font-size: 11.5px; color: var(--mute); }

.live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 680; color: var(--ok); }
.live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-b); }
.feed { list-style: none; margin: 0; padding: 6px 18px 10px; overflow: clip; display: flex; flex-direction: column; }
.feed li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F0EDE7; font-size: 12.5px; }
.feed li:last-child { border-bottom: 0; }
.fi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #F1EEE8; color: var(--ink2); }
.fi .i { width: 15px; height: 15px; }
.fi.in, .fi.release { background: var(--ok-s); color: var(--ok); }
.fi.pack, .fi.ship, .fi.book { background: var(--info-s); color: var(--info); }
.fi.start, .fi.reorder { background: var(--acc-s); color: var(--acc-d); }
.ft { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
.ft b { color: var(--ink); font-weight: 620; }
.feed time { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.feed li.new { animation: feedIn .7s ease; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } }

/* ── Artikel ────────────────────────────────────────────── */
#v-articles { display: flex; flex-direction: column; gap: 14px; }
.toolbar { display: flex; align-items: center; gap: 12px; min-width: 0; }
.search {
  flex: 0 1 236px; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 9px 0 12px;
  border-radius: 11px; border: 1px solid var(--line2); background: #fff; box-shadow: var(--sh); color: var(--mute); cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); }
.search .i { width: 17px; height: 17px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; }
.search input::placeholder { color: #848B95; }
.search input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; gap: 5px; min-width: 0; overflow: clip; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; flex: none;
  border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--ink2);
  font-size: 12.5px; font-weight: 560; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: #B9B2A4; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.warnchip { margin-left: auto; }
.warnchip .i { width: 15px; height: 15px; color: var(--crit); }
.warnchip b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; background: var(--crit-s); color: var(--crit); }
.warnchip.on { background: var(--crit); border-color: var(--crit); color: #fff; }
.warnchip.on .i { color: #fff; }
.warnchip.on b { background: rgba(255, 255, 255, .22); color: #fff; }

.tbl-card { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: clip; }
.tbl-scroll { flex: 1; min-height: 0; overflow: auto; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.tbl th { position: sticky; top: 0; z-index: 1; padding: 0; text-align: left; background: #FBFAF7; border-bottom: 1px solid var(--line); }
.th {
  display: flex; align-items: center; gap: 3px; width: 100%; height: 38px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--mute);
}
.th:hover, .th.on { color: var(--ink); }
th.num .th { justify-content: flex-end; }
.sa { display: inline-grid; opacity: .35; }
.sa .i { width: 14px; height: 14px; }
.th.on .sa { opacity: 1; color: var(--acc-d); }
.tbl td { height: 58px; padding: 0 14px; border-bottom: 1px solid #F0EDE7; vertical-align: middle; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl td.num { text-align: right; }
.row { cursor: pointer; }
.row td { transition: background .15s; }
.row:hover td { background: #FBFAF6; }
.row.sel td { background: #FFF5EF; }
.row.sel td:first-child { box-shadow: inset 3px 0 0 var(--acc); }
.row:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
.row.flash td { animation: rowFlash 2.6s ease; }
@keyframes rowFlash { 0%, 35% { background: #FFEFE5; } }
.it { display: flex; align-items: center; gap: 12px; min-width: 0; }
.it-t { min-width: 0; }
.it-t b { display: block; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-t .mono { display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk { display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.stk-n b { font-size: 14px; font-weight: 700; }
.stk-n small { margin-left: 6px; font-size: 11.5px; color: var(--faint); }
.warn-t { color: var(--crit); font-weight: 650; }
.tbl tr.empty td { height: auto; border: 0; }
.empty-st { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 0; color: var(--mute); }
.empty-st > .i { width: 28px; height: 28px; color: #B5AEA2; }
.empty-st p { margin: 0; }
.tbl-foot { display: flex; align-items: center; gap: 20px; height: 42px; padding: 0 16px; border-top: 1px solid var(--line); background: #FBFAF7; font-size: 12px; color: var(--mute); }
.tf-h { margin-left: auto; color: var(--faint); }

.drawer {
  position: absolute; top: 22px; right: 24px; bottom: 22px; width: 372px; z-index: 5;
  display: flex; flex-direction: column; overflow: clip;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: -30px 0 60px -30px rgba(21, 23, 27, .4), var(--sh2);
  transform: translateX(calc(100% + 40px)); opacity: 0;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.drawer:not(.on) { visibility: hidden; transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility 0s linear .38s; }
.drawer.on { transform: none; opacity: 1; }
.dr-h { display: flex; align-items: flex-start; gap: 12px; padding: 16px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.dr-ht { flex: 1; min-width: 0; }
.dr-ht h3 { margin: 2px 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.dr-cat { font-size: 12px; color: var(--mute); }
.icon-btn { width: 32px; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--mute); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.dr-body { flex: 1; min-height: 0; overflow: auto; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 11px; }
.dr-stock { display: flex; align-items: flex-end; justify-content: space-between; }
.dr-lbl { font-size: 12px; color: var(--mute); }
.big { display: flex; align-items: baseline; gap: 6px; }
.big b { font-size: 38px; font-weight: 750; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.big span { font-size: 13px; color: var(--mute); }
.dr-scale { position: relative; display: flex; justify-content: space-between; height: 14px; margin-top: 7px; font-size: 11px; color: var(--faint); }
.dr-scale span:nth-child(2) { position: absolute; transform: translateX(-50%); white-space: nowrap; color: var(--ink2); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts div { padding: 9px 11px; border-radius: 11px; background: var(--sunk); border: 1px solid #EEEAE3; }
.facts dt { font-size: 11.5px; color: var(--mute); }
.facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 680; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; margin-top: 1px; font-size: 11px; font-weight: 500; color: var(--faint); }
.dr-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 12px; border: 1px dashed var(--line2); }
.dr-count b { display: block; font-size: 13px; }
.dr-count span { font-size: 11.5px; color: var(--mute); }
.stepper { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 10px; background: #F1EEE8; }
.stepper button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; cursor: pointer; }
.stepper button:hover { color: var(--acc-d); }
.stepper button .i { width: 16px; height: 16px; }
.stepper b { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.dr-bc { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid #EEEAE3; }
.dr-bc .bc { width: 132px; height: auto; flex: none; }
.dr-bc-t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.dr-bc-t span { font-size: 11px; color: var(--mute); }
.dr-bc-t b { font: 400 12.5px var(--mono); letter-spacing: .02em; margin-bottom: 6px; }
.bc .bc-bars rect { fill: var(--ink); }
.bc .bc-num text { font: 400 7.6px var(--mono); fill: var(--ink); }
.dr-act { display: flex; gap: 8px; }
.dr-act .btn-acc, .dr-act .ghost-ok { flex: 1; height: 40px; }
.ghost-ok { background: var(--ok-s); border-color: transparent; color: var(--ok); cursor: default; }
.ghost-ok:hover { background: var(--ok-s); border-color: transparent; }
.dr-hist h4 { margin: 0 0 4px; font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.dr-hist ul { list-style: none; margin: 0; padding: 0; }
.dr-hist li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F0EDE7; font-size: 12.5px; }
.dr-hist li.none { display: block; color: var(--mute); border: 0; }
.dr-hist time { font-size: 11.5px; color: var(--faint); }
.mv { font-weight: 700; font-variant-numeric: tabular-nums; }
.mv.in { color: var(--ok); }
.mv.out { color: var(--ink2); }

/* ── Aufträge ───────────────────────────────────────────── */
.ord { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; height: 100%; }
.ol-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.seg-ctl { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #EDEAE3; }
.seg-ctl button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 30px; padding: 0 13px; border: 0; border-radius: 8px; background: none; cursor: pointer; font-size: 12.5px; font-weight: 620; color: var(--mute); }
.seg-ctl button b { font-size: 11px; font-weight: 650; color: var(--mute); }
.seg-ctl button.on { background: #fff; color: var(--ink); box-shadow: var(--sh), 0 0 0 1px rgba(21, 23, 27, .04); }
.ol-card .seg-ctl { display: flex; }
.ol-card .seg-ctl button { flex: 1; }
.ol { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }
.oc {
  display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 11px 12px; text-align: left; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .2s, background .15s;
}
.oc:hover { border-color: #C9C2B5; }
.oc.sel { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 10px 22px -14px rgba(21, 23, 27, .45); }
.oc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oc-top .pill { height: 22px; font-size: 11.5px; }
.oc-c { font-size: 14px; font-weight: 680; letter-spacing: -.012em; }
.oc-m { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--mute); }
.oc-tour { display: inline-flex; align-items: center; gap: 5px; }
.oc-tour .i { width: 13px; height: 13px; }
.urg { font-size: 10.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--acc-d); }

.od-card { display: flex; flex-direction: column; overflow: clip; }
.od-h { padding: 15px 18px 0; }
.od-ht h3 { margin: 2px 0 1px; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.od-ht p { margin: 0; font-size: 12.5px; color: var(--mute); }
.od-ht em { font-style: normal; font-weight: 700; color: var(--acc-d); }
.steps { list-style: none; margin: 12px 0 0; padding: 0 0 13px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 560; color: var(--faint); white-space: nowrap; }
.steps li + li { flex: 1; }
.steps li + li::before { content: ''; flex: 1; height: 2px; min-width: 14px; margin: 0 8px 0 2px; border-radius: 2px; background: var(--line); }
.steps li.done + li::before, .steps li.done + li.cur::before { background: var(--ok-b); }
.steps i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-style: normal; font-size: 11px; font-weight: 750; background: #EFECE6; color: var(--mute); }
.steps i .i { width: 13px; height: 13px; stroke-width: 2.8; }
.steps li.done { color: var(--ok); }
.steps li.done i { background: var(--ok-b); color: #fff; }
.steps li.cur { color: var(--ink); font-weight: 650; }
.steps li.cur i { background: var(--ink); color: #fff; box-shadow: 0 0 0 3px rgba(21, 23, 27, .12); }
.banner { display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; padding: 9px 10px 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.banner.crit { background: var(--crit-s); border: 1px solid #F3C9C4; color: #7E1B13; }
.banner > .i { color: var(--crit); }
.banner p { margin: 0; flex: 1; }
.od-b { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 18px; padding: 14px 18px; }
.od-l { min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.od-lh { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.od-lh b { display: block; font-size: 13.5px; font-weight: 680; }
.od-lh span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--mute); }
.od-lh .i { width: 13px; height: 13px; color: var(--acc-d); }
.od-prog { font: 500 11.5px var(--mono); color: var(--mute); white-space: nowrap; }
.od-prog.ok { color: var(--ok); }
.od-pbar { height: 4px; margin: 8px 0 9px; border-radius: 2px; background: #EEEBE4; overflow: clip; }
.od-pbar i { display: block; height: 100%; background: var(--ok-b); }
.picks { list-style: none; margin: 0; padding: 0 2px 2px 0; display: flex; flex-direction: column; gap: 6px; overflow: auto; min-height: 0; }
.pk {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 24px; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px; text-align: left; cursor: pointer;
  border-radius: 11px; border: 1px solid var(--line); background: #fff;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.pk:disabled { cursor: default; }
.pk:not(:disabled):hover { border-color: #B9B2A4; }
.pk-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 750; background: #EFECE6; color: var(--ink2); }
.pk-t { min-width: 0; }
.pk-t b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12.5px; font-weight: 620; line-height: 1.3; text-wrap: balance; }
.pk-s { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.pk-s .loc { height: 19px; padding: 0 5px; font-size: 11px; border-radius: 5px; }
.pk-s em { font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--crit); }
.pk-q { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-q small { margin-left: 3px; font-size: 11px; font-weight: 500; color: var(--faint); }
.pk-c { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line2); display: grid; place-items: center; color: transparent; }
.pk-c .i { width: 15px; height: 15px; stroke-width: 2.8; }
.pk.next { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 90, 31, .14); }
.pk.next .pk-n { background: var(--acc); color: #15171B; }
.pk.done { background: #F4FBF7; border-color: #CFEADB; }
.pk.done .pk-n, .pk.done .pk-c { background: var(--ok); border-color: var(--ok); color: #fff; }
.pk.done .pk-t b { color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(21, 23, 27, .3); }
.pk.short { border-color: #F3C9C4; background: #FFF9F8; }
.pk.just .pk-c { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); } }
.od-m { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.od-mh { display: flex; align-items: center; justify-content: space-between; }
.od-mh b { font-size: 13.5px; font-weight: 680; }
.map-wrap { border-radius: 12px; overflow: clip; }
.map { display: block; width: 100%; height: auto; }
.m-floor { fill: #FAF8F4; stroke: #E4E0D7; }
.m-rack { fill: #E8E3D9; }
.m-lbl { font: 700 12.5px var(--sans); fill: #6B665D; letter-spacing: .04em; }
.m-cold { fill: #EAF2FB; stroke: #CFE0F3; }
.m-pack { fill: var(--ink); }
.m-pack-t { font: 650 10.5px var(--sans); fill: #fff; letter-spacing: .02em; }
.m-route { fill: none; stroke: var(--acc); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.m-route-u { fill: none; stroke: #8E959E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .006 .007; }
.map.draw .m-route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s .15s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-stop { transform-box: fill-box; transform-origin: center; }
.m-stop circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.m-stop text { font: 750 9.5px var(--sans); fill: var(--ink); }
.m-stop.next circle { fill: var(--acc); stroke: var(--acc); }
.m-stop.next { animation: stopPulse 1.4s ease-in-out infinite; }
@keyframes stopPulse { 50% { transform: scale(1.18); } }
.m-stop.ok circle { fill: var(--ok-b); stroke: var(--ok-b); }
.m-stop.short circle { fill: #FDECEA; stroke: var(--crit-b); }
.m-stop.short text { fill: var(--crit); }
.m-chk { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map.draw .m-stop { opacity: 0; animation: stopIn .4s ease forwards; animation-delay: calc(var(--d) + .55s); }
.map.draw .m-stop.next { animation: stopIn .4s ease forwards, stopPulse 1.4s ease-in-out 2s infinite; animation-delay: calc(var(--d) + .55s), 2s; }
@keyframes stopIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.m-start { fill: var(--acc); stroke: #fff; stroke-width: 2; }
.m-leg { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 2px 2px 0; font-size: 11px; color: var(--mute); }
.m-leg span { display: inline-flex; align-items: center; gap: 6px; }
.m-leg i { display: inline-block; flex: none; }
.ml-route { width: 16px; height: 3px; border-radius: 2px; background: var(--acc); }
.ml-next { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.ml-ok { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-b); }
.ml-open { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.rstats { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px; }
.rstats div { padding: 8px 11px; border-radius: 11px; background: var(--sunk); border: 1px solid #EEEAE3; }
.rstats span { display: block; font-size: 11.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rstats b { display: block; margin-top: 1px; font-size: 18px; font-weight: 750; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.rstats b.save { display: flex; align-items: center; gap: 6px; color: var(--ok); }
.rstats b.save .i { width: 16px; height: 16px; }
.od-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px 11px 18px; border-top: 1px solid var(--line); background: #FBFAF7; }
.od-hint { font-size: 12.5px; color: var(--mute); }
.od-acts { display: flex; gap: 8px; }

/* ── Wareneingang ───────────────────────────────────────── */
.rec { display: grid; grid-template-columns: minmax(0, 1fr) 368px; gap: 16px; height: 100%; }
.rec-main { display: flex; flex-direction: column; overflow: clip; }
.rec-h { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.rg-bg { fill: none; stroke: #EEEBE4; stroke-width: 6; }
.rg-fg { fill: none; stroke: var(--acc); stroke-width: 6; stroke-linecap: round; animation: ring .7s cubic-bezier(.2, .8, .2, 1); }
.rg-fg.ok { stroke: var(--ok-b); }
@keyframes ring { from { stroke-dashoffset: var(--o0); } }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; font-size: 16px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ring small { font-size: 10px; font-weight: 600; margin-top: 3px; }
.rec-ht { flex: 1; min-width: 0; }
.rec-ht h3 { margin: 2px 0 1px; font-size: 19px; font-weight: 750; letter-spacing: -.025em; }
.rec-ht p { margin: 0; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-units { text-align: right; flex: none; }
.rec-units span { display: block; font-size: 12px; color: var(--mute); }
.rec-units b { font-size: 15px; font-variant-numeric: tabular-nums; }
.rec-lh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px 9px; }
.rec-lh b { font-size: 13.5px; font-weight: 680; white-space: nowrap; }
.rec-lh span { font-size: 12px; color: var(--mute); text-align: right; }
.rec-lines { flex: 1; min-height: 0; overflow: auto; padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.rl {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 140px 108px 18px; align-items: center; gap: 12px;
  width: 100%; padding: 12px 12px 12px 14px; text-align: left; cursor: pointer;
  border-radius: 13px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .2s, background .2s;
}
.rl:hover { border-color: #C9C2B5; }
.rl.sel { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 90, 31, .14); }
.rl.done { background: #FAFDFB; }
.rl.just { animation: rlFlash 1.1s ease; }
@keyframes rlFlash { 0% { background: #FFEFE5; } }
.rl-m { min-width: 0; }
.rl-m b { display: block; font-size: 13.5px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-m .mono { display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-p { display: flex; flex-direction: column; gap: 6px; }
.rl-n { font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.rl-n b { font-size: 15px; font-weight: 750; color: var(--ink); }
.pips { display: flex; flex-wrap: wrap; gap: 4px; }
.pips i { width: 18px; height: 10px; border-radius: 3px; background: #EEEBE4; box-shadow: inset 0 0 0 1px #E2DDD3; }
.pips i.on { background: var(--acc); box-shadow: none; }
.pips.ok i.on { background: var(--ok-b); }
.pips i.over { background: var(--info-b); }
.pips i.new { animation: pip .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pip { from { transform: scale(.2); } }
.rl .pill { justify-self: start; }
.rl-tgt { color: var(--acc); opacity: 0; transition: opacity .2s; display: grid; }
.rl-tgt .i { width: 18px; height: 18px; }
.rl.sel .rl-tgt { opacity: 1; }
.rec-later { margin-top: auto; padding-top: 10px; }
.rec-later h4 { margin: 0 0 6px 4px; font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.rlt { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 11px; border: 1px dashed var(--line2); font-size: 12.5px; color: var(--mute); }
.rlt + .rlt { margin-top: 6px; }
.rlt > .i { width: 17px; height: 17px; color: var(--faint); }
.rlt b { color: var(--ink2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rlt-t { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rlt-t .i { width: 13px; height: 13px; }
.rec-f { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px 11px 18px; border-top: 1px solid var(--line); background: #FBFAF7; }
.rec-f p { margin: 0; font-size: 12.5px; color: var(--mute); }
.rec-done { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px; text-align: center; }
.rd-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-b); color: #fff; box-shadow: 0 0 0 9px var(--ok-s); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.rd-ic .i { width: 28px; height: 28px; stroke-width: 2.5; }
.rec-done h3 { margin: 14px 0 0; font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.rec-done p { margin: 0; color: var(--mute); }
.rd-l { list-style: none; width: 100%; max-width: 460px; margin: 12px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rd-l li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); text-align: left; font-size: 13px; }
.rd-l li > span:not(.loc):not(.glyph) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-l b { color: var(--ok); font-variant-numeric: tabular-nums; }
.rd-l b.zero { color: var(--mute); font-weight: 600; }

.scanner {
  min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px;
  border-radius: 18px; background: #121418; border: 1px solid #000; color: #C9CED6;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .7);
}
.sc-top { display: flex; align-items: center; justify-content: space-between; font: 500 11.5px var(--mono); color: #8F96A1; }
.sc-st { display: inline-flex; align-items: center; gap: 8px; }
.sc-st .pulse { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; }
.sc-k { padding: 2px 6px; border: 1px solid #2D3139; border-radius: 6px; }
.vf {
  position: relative; height: 212px; flex: none; display: grid; place-items: center; overflow: clip;
  border-radius: 14px; background: radial-gradient(120% 90% at 50% 38%, #262A31 0%, #131519 72%);
  transition: box-shadow .25s;
}
.vf-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 18px 18px; }
.vf-c { position: absolute; width: 24px; height: 24px; border: 3px solid var(--acc); transition: border-color .2s; }
.vf-c.k-tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; border-radius: 9px 0 0 0; }
.vf-c.k-tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; border-radius: 0 9px 0 0; }
.vf-c.k-bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 9px; }
.vf-c.k-br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; border-radius: 0 0 9px 0; }
.lbl-wrap { position: relative; z-index: 1; }
.lbl { width: 252px; padding: 9px 12px 7px; border-radius: 7px; background: #FBFAF6; color: #15171B; box-shadow: 0 20px 30px -12px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(0, 0, 0, .06); transform: rotate(-2deg); }
.lbl.in { animation: lblIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes lblIn { from { opacity: 0; transform: translateY(16px) rotate(-6deg) scale(.95); } }
.lbl-top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 5px; border-bottom: 1.5px solid #15171B; font: 400 9.5px var(--mono); letter-spacing: .05em; color: #5F5A51; }
.lbl-n { display: block; margin-top: 6px; font-size: 14px; font-weight: 750; letter-spacing: -.012em; line-height: 1.2; }
.lbl-m { display: flex; align-items: center; justify-content: space-between; margin: 3px 0 5px; font-size: 11px; color: #4B473F; }
.lbl-loc { padding: 1px 6px; border-radius: 4px; background: #15171B; color: #fff; font: 400 11px var(--mono); }
.lbl-bc { display: block; width: 100%; height: auto; max-height: 66px; }
.lbl.empty { width: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; background: transparent; box-shadow: none; color: #9AA1AC; transform: none; font-size: 13px; }
.lbl.empty .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(30, 154, 98, .18); color: #3DDC97; }
.laser { position: absolute; left: 9%; right: 9%; top: 50%; height: 2px; z-index: 2; border-radius: 2px; background: #FF3B1F; box-shadow: 0 0 14px 3px rgba(255, 59, 31, .7); opacity: 0; pointer-events: none; }
.vf.scanning .laser { opacity: 1; animation: sweep .64s ease-in-out; }
@keyframes sweep { 0% { transform: translateY(-62px); } 55% { transform: translateY(52px); } 100% { transform: translateY(6px); } }
.vf-ok { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.vf-ok .i { width: 62px; height: 62px; padding: 14px; border-radius: 50%; background: var(--ok-b); color: #fff; stroke-width: 2.6; box-shadow: 0 0 0 10px rgba(30, 154, 98, .28); }
.vf.hit { box-shadow: inset 0 0 0 2px var(--ok-b), inset 0 0 40px rgba(30, 154, 98, .25); }
.vf.hit .vf-c { border-color: #3DDC97; }
.vf.hit .vf-ok { animation: okIn .76s ease forwards; }
@keyframes okIn { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); } }
#simBtn { width: 100%; flex: none; }
#simBtn:disabled { opacity: 1; background: #22262D; border-color: #2D3139; color: #9AA1AC; box-shadow: none; }
#simBtn:disabled kbd { display: none; }
.ean { display: flex; gap: 8px; flex: none; }
.ean input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid #2D3139; background: #1B1E23; color: #F0F2F5; font: 400 13px var(--mono); outline: 0; transition: border-color .15s, box-shadow .15s; }
.ean input::placeholder { color: #8A919C; font-family: var(--sans); font-size: 12.5px; }
.ean input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 90, 31, .22); }
.ean .btn { height: 38px; background: #23272E; border-color: #2D3139; color: #EEF0F3; box-shadow: none; }
.ean .btn:hover { background: #2B3038; }
.ean.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.ean-msg { margin: -4px 0 0; font-size: 12px; color: #FF9C94; }
.ean-msg:empty { display: none; }
.sc-res { flex: none; min-height: 64px; padding: 11px 12px; border-radius: 13px; background: #1A1D22; border: 1px solid #262A31; }
.sr { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.sr .glyph, .sc-res .glyph { background: #24282F; box-shadow: none; color: color-mix(in srgb, var(--c) 55%, #fff); }
.sr-m { min-width: 0; }
.sr-m b { display: block; font-size: 13px; color: #F0F2F5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-m span { font-size: 11.5px; color: #8F96A1; }
.sr-n { text-align: right; }
.sr-n span { display: block; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: #8F96A1; }
.sr-n b { font-size: 24px; font-weight: 750; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; }
.sr-v { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.sr-plus { padding: 2px 7px; border-radius: 999px; background: var(--ok-b); color: #fff; font-size: 12px; font-style: normal; font-weight: 750; opacity: 0; }
.sr.pop .sr-plus { animation: plus 1.1s ease; }
@keyframes plus { 0% { opacity: 0; transform: translateX(8px) scale(.8); } 18% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.sr-idle { display: flex; gap: 11px; align-items: center; }
.sr-idle > .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #24282F; color: var(--acc); }
.sr-idle b { display: block; font-size: 12.5px; color: #ECEEF1; }
.sr-idle span { font-size: 11.5px; color: #8F96A1; }
.sc-log { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sc-log h4 { margin: 2px 0 4px; font-size: 10.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: #848B96; }
.sc-log ul { list-style: none; margin: 0; padding: 0; overflow: clip; flex: 1; }
.sc-log li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #1F2329; font-size: 12px; }
.sc-log time { font: 400 11px var(--mono); color: #8A919C; }
.sc-log li span { color: #CDD2D9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-log li b { color: #3DDC97; font-variant-numeric: tabular-nums; }
.sc-log li.new { animation: feedIn .5s ease; }
.sc-log li.none { display: block; border: 0; color: #8A919C; }

/* ── Berichte ───────────────────────────────────────────── */
#v-reports { display: flex; flex-direction: column; gap: 14px; }
.rp-bar { display: flex; align-items: center; justify-content: space-between; }
.rp-k .kpi { height: 98px; }
.rp-k .kpi-v { font-size: 27px; margin-top: 7px; }
.rp-k .kpi-v small { font-size: 14px; }
.rp-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.rp-trend, .rp-abc, .rp-cat, .rp-tied { display: flex; flex-direction: column; overflow: clip; }
.lc .lc-a { fill: url(#lgA); }
.lc .lc-l { fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.enter .lc .lc-l { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s ease forwards; }
.enter .lc .lc-a { animation: fadeIn .8s .3s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.lc .pt { fill: #fff; stroke: var(--acc); stroke-width: 2; opacity: 0; transition: opacity .15s; }
.lc .pt.hl { opacity: 1; }
.lc .lc-x { stroke: var(--ink2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.lc .lc-x.on { opacity: .45; }
.abc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 16px 18px 4px; }
.abc-l { font-size: 12px; color: var(--mute); white-space: nowrap; }
.abc-b { display: flex; gap: 2px; height: 30px; border-radius: 8px; overflow: clip; }
.abc-b i { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: clip; font-style: normal; font-size: 11.5px; font-weight: 680; white-space: nowrap; }
.abc-A { background: var(--ink); color: #fff; }
.abc-B { background: #6E685D; color: #fff; }
.abc-C { background: #E4DFD5; color: var(--ink2); }
.enter .abc-b i { animation: fadeIn .6s ease both; }
.abc-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 18px 0; font-size: 11.5px; color: var(--mute); }
.abc-leg span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.abc-leg i { width: 10px; height: 10px; border-radius: 3px; }
.abc-leg b { font-weight: 700; color: var(--ink); }
.abc-h { display: flex; align-items: flex-start; gap: 8px; margin: auto 18px 16px; padding: 10px 12px; border-radius: 11px; background: var(--sunk); font-size: 12px; line-height: 1.45; color: var(--ink2); }
.abc-h .i { width: 16px; height: 16px; color: var(--acc-d); margin-top: 1px; }
.cb { list-style: none; margin: 0; padding: 12px 18px 14px; display: flex; flex-direction: column; justify-content: space-around; gap: 6px; flex: 1; }
.cb li { display: grid; grid-template-columns: 128px minmax(0, 1fr) 78px 36px; gap: 10px; align-items: center; font-size: 12.5px; }
.cb-l { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: clip; }
.cb-b { height: 10px; border-radius: 5px; background: #F1EEE8; overflow: clip; }
.cb-b i { display: block; height: 100%; border-radius: 5px; background: var(--c); }
.enter .cb-b i { animation: barIn .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes barIn { from { width: 0; } }
.cb li > b { text-align: right; font-weight: 680; font-variant-numeric: tabular-nums; }
.cb-p { text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.td { list-style: none; margin: 0; padding: 6px 18px 10px; }
.td li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F0EDE7; }
.td li:last-child { border-bottom: 0; }
.td .glyph { width: 30px; height: 30px; border-radius: 9px; }
.td .glyph .i { width: 17px; height: 17px; }
.td-n { min-width: 0; }
.td-n b { display: block; font-size: 12.5px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-n span { font-size: 11.5px; color: var(--mute); }
.td-v { font-size: 13px; font-variant-numeric: tabular-nums; }

/* ── Meldungen ──────────────────────────────────────────── */
.toasts { position: absolute; left: 248px; bottom: 44px; z-index: 30; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 440px; padding: 9px 9px 9px 10px;
  border-radius: 13px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: var(--sh2);
  animation: toastIn .38s cubic-bezier(.2, .8, .2, 1);
}
.toast.out { animation: toastOut .3s ease forwards; }
.toast-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--ok-b); }
.toast-ic .i { width: 15px; height: 15px; stroke-width: 2.4; }
.toast.crit .toast-ic { background: var(--crit-b); }
.toast.info .toast-ic { background: #3B4049; }
.toast-t { padding-right: 4px; }
.toast-b { flex: none; padding: 5px 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .13); color: #fff; font-size: 12.5px; font-weight: 680; cursor: pointer; }
.toast-b:hover { background: rgba(255, 255, 255, .2); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ── Rundgang ───────────────────────────────────────────── */
.spot {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; z-index: 40; pointer-events: none;
  border-radius: 14px; box-shadow: 0 0 0 2px var(--acc), 0 0 0 7px rgba(255, 90, 31, .16);
  opacity: 0; transition: transform .5s cubic-bezier(.4, 0, .2, 1), width .5s cubic-bezier(.4, 0, .2, 1), height .5s cubic-bezier(.4, 0, .2, 1), opacity .25s;
}
.spot.on { opacity: 1; }
.cursor {
  position: absolute; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0;
  transform: translate(1130px, 690px);
  transition-property: transform, opacity; transition-duration: .6s; transition-timing-function: cubic-bezier(.45, .05, .25, 1), ease;
}
.cursor.on { opacity: 1; }
.cursor svg { position: absolute; left: -6px; top: -4px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .3)); }
.cursor .ripple { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; }
.cursor.clk svg { animation: press .3s ease; }
.cursor.clk .ripple { animation: ripple .55s ease-out; }
@keyframes press { 40% { transform: scale(.84); } }
@keyframes ripple { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }
.caption {
  position: absolute; left: 752px; bottom: 5px; z-index: 50; transform: translate(-50%, 8px);
  display: flex; align-items: center; gap: 11px; max-width: 760px; height: 38px; padding: 0 16px 0 5px;
  border-radius: 999px; background: rgba(21, 23, 27, .95); color: #fff; font-size: 13.5px; font-weight: 560; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.caption.on { opacity: 1; transform: translate(-50%, 0); }
.cap-n { height: 28px; min-width: 28px; padding: 0 9px; border-radius: 999px; display: flex; align-items: baseline; justify-content: center; line-height: 28px; flex: none; background: var(--acc); color: #15171B; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cap-n::after { content: '/5'; font-size: 10px; font-weight: 700; opacity: .72; margin-left: 1px; }
.veil { position: absolute; inset: 0; z-index: 70; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .32s ease; }
.veil.on { opacity: 1; }

/* ── Scrollbalken ───────────────────────────────────────── */
.stage ::-webkit-scrollbar { width: 8px; height: 8px; }
.stage ::-webkit-scrollbar-thumb { background: #D5CFC3; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.stage ::-webkit-scrollbar-track { background: transparent; }

/* ── Pause & reduzierte Bewegung ────────────────────────── */
.paused .pulse::after, .paused .m-stop.next, .paused .cursor * { animation-play-state: paused; }
.rm *, .rm *::before, .rm *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
