/* HICONIUM Dealer, native design specification screens (macOS 27, iPadOS 27, iOS 27, Windows 11).
   Provenance: the Apple frames copy business-os apple-html-kit/vipe.css (snapshot 04.10.2026, Riverlabs Stilprobe 5 lineage:
   .mw 240 px sidebar, .side-sec 11/600, .it 28 px radius 8, .tb 52 px, .cap 36 px capsules, .iph 9 px bezel, .sb, .island,
   .tabbar 61 px floating glass, .lt 34/41, .grp grouped rows) and the product tokens of app/dealer/styles/app.css
   (black and white, no blue, orange only for overdue, red only for errors). The Windows frame follows WinUI 3 / Fluent 2
   metrics (NavigationView, CommandBar, 32 px controls, 4/8 px radii, Mica and layer surfaces) in the same black and white.
   Light and dark come from light-dark(); the page script sets data-theme from ?darstellung=hell|dunkel or the system. */

:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

:root {
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --seg: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", -apple-system, system-ui, sans-serif;
  --label: light-dark(#1d1d1f, #f5f5f7);
  --label2: light-dark(#5e5e63, #aeaeb2);
  --label3: light-dark(#8e8e93, #8a8a90);
  --label4: light-dark(#b8b8bd, #5d5d62);
  --bg: light-dark(#ffffff, #1e1e20);
  --bg2: light-dark(#f7f7f8, #232326);
  --fill: light-dark(#f2f2f4, #2a2a2d);
  --fill2: light-dark(#e9e9ec, #333336);
  --side: light-dark(#ececee, #161618);
  --sep: light-dark(rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.09));
  --sep2: light-dark(rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.16));
  --sel: light-dark(rgba(0, 0, 0, 0.085), rgba(255, 255, 255, 0.1));
  --hover: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.05));
  --ctl: light-dark(rgba(118, 118, 128, 0.12), rgba(118, 118, 128, 0.24));
  --btn: light-dark(rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.1));
  --thumb: light-dark(#ffffff, #636366);
  --acc: light-dark(#1d1d1f, #f5f5f7);
  --on-acc: light-dark(#ffffff, #000000);
  --warn: light-dark(#c76a00, #ff9f0a);
  --warnfill: #ff9f0a;
  --bad: light-dark(#ff3b30, #ff453a);
  --rowsel: light-dark(#1d1d1f, #3a3a3e);
  --pop: light-dark(#ffffff, #2a2a2d);
  --pop-sh: 0 0 0 0.5px light-dark(rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.14)), 0 12px 40px light-dark(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.6));
  /* iOS label colours and grouped grounds */
  --i2: light-dark(rgba(60, 60, 67, 0.6), rgba(235, 235, 245, 0.6));
  --i3: light-dark(rgba(60, 60, 67, 0.3), rgba(235, 235, 245, 0.3));
  --isep: light-dark(rgba(60, 60, 67, 0.18), rgba(84, 84, 88, 0.6));
  --grouped: light-dark(#f2f2f7, #000000);
  --cell: light-dark(#ffffff, #1c1c1e);
  --scr: light-dark(#ffffff, #000000);
  /* page around the artboards */
  --pg: light-dark(#ffffff, #000000);
  --pg2: light-dark(#f5f5f7, #111113);
  --desk: light-dark(#dcdcdf, #0e0e10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--pg); color: var(--label); font: 400 15px/1.5 var(--sys); font-synthesis: none; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
b, strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.sf { display: inline-block; flex: none; fill: currentColor; vertical-align: -0.12em; }
.ell { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mute { color: var(--label2); }
.mute3 { color: var(--label3); }
.warnc { color: var(--warn); }
.errc { color: var(--bad); }
.on-dark { display: none; }
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .on-light { display: none; } :root:not([data-theme]) .on-dark { display: block; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Page chrome around one screen ---------- */
.pbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 24px; background: var(--pg); box-shadow: 0 0.5px 0 var(--sep); }
.pbar .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--label2); }
.pbar .back:hover { color: var(--label); }
.pbar .t { display: grid; line-height: 1.2; min-width: 0; }
.pbar .t b { font-size: 15px; }
.pbar .t small { font-size: 12px; color: var(--label3); }
.pbar .grow { flex: 1; }
.theme { display: inline-flex; gap: 2px; padding: 2px; height: 30px; border-radius: 999px; background: var(--ctl); }
.theme a { height: 26px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; color: var(--label2); white-space: nowrap; }
.theme a.on { background: var(--thumb); color: var(--label); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.stagearea { display: flex; justify-content: center; padding: 40px 24px 64px; overflow-x: auto; }
.stagearea > * { flex: none; }
.cap-note { max-width: 1500px; margin: 0 auto; padding: 0 24px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; font-size: 14px; line-height: 1.5; color: var(--label2); }
.cap-note b { display: block; color: var(--label); font-size: 14px; margin-bottom: 2px; }

/* =====================================================================================
   macOS 27
   ===================================================================================== */
.mac { font-family: var(--sys); font-size: 13px; line-height: 1.38; color: var(--label); }
.desk { width: 1520px; padding: 0 40px 44px; border-radius: 22px; background: var(--desk); }
.menubar { display: flex; align-items: center; gap: 20px; height: 30px; margin: 0 -40px; padding: 0 18px; font: 400 13px/1 var(--sys); color: var(--label); }
.menubar b { font-weight: 700; }
.menubar .grow { flex: 1; }
.menubar .tray { display: flex; align-items: center; gap: 16px; }
.mw { position: relative; width: 1440px; height: 900px; margin: 14px auto 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: var(--bg);
  box-shadow: 0 0 0 0.5px light-dark(rgba(0, 0, 0, 0.34), rgba(255, 255, 255, 0.16)), 0 3px 8px rgba(0, 0, 0, 0.08), 0 40px 90px light-dark(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.7)); }
.mw.insp3 { grid-template-columns: 240px minmax(0, 1fr) 320px; }
.side { display: flex; flex-direction: column; min-height: 0; padding: 0 12px 0; background: var(--side); box-shadow: inset -0.5px 0 0 var(--sep); }
.side-top { display: flex; align-items: center; height: 52px; flex: none; padding-left: 8px; }
.lights { display: flex; gap: 9px; }
.lights i { width: 14px; height: 14px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tgl { margin-left: auto; width: 32px; height: 28px; display: grid; place-items: center; color: var(--label2); }
.ws { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-bottom: 2px; border-radius: 8px; }
.ws b { white-space: nowrap; }
.ws .sf { margin-left: auto; color: var(--label3); }
.appicon { width: 22px; height: 22px; border-radius: 22.5%; flex: none; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.side-scroll { flex: 1; min-height: 0; overflow: hidden; }
.side-sec { display: flex; align-items: center; gap: 4px; padding: 14px 8px 4px; font-size: 11px; font-weight: 600; color: var(--label3); }
.side-sec .sf { margin-left: auto; color: var(--label4); }
.side-sec.closed { padding-top: 10px; }
.it { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 8px; color: var(--label); white-space: nowrap; }
.it > .sf { width: 18px; color: var(--label2); }
.it svg.sf { width: auto; }
.it .ic { width: 18px; display: grid; place-items: center; color: var(--label2); flex: none; }
.it.on { background: var(--sel); }
.it.on .ic { color: var(--label); }
.it .badge { margin-left: auto; min-width: 18px; height: 16px; padding: 0 6px; border-radius: 8px; background: light-dark(rgba(0, 0, 0, 0.09), rgba(255, 255, 255, 0.12)); font-size: 11px; font-weight: 600; color: var(--label2); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.it .badge.warn { background: var(--warnfill); color: #ffffff; }
.side-foot { flex: none; padding: 6px 0 10px; box-shadow: inset 0 0.5px 0 var(--sep); }
.me { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px; }
.me .t { display: grid; min-width: 0; line-height: 1.2; }
.me .t small { font-size: 11px; color: var(--label3); }
.me > .sf { margin-left: auto; color: var(--label3); }

.main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.tb { position: relative; z-index: 5; height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; background: var(--bg); }
.tb.line { box-shadow: 0 0.5px 0 var(--sep); }
.tb .title { display: grid; line-height: 1.2; margin-left: 4px; min-width: 0; }
.tb .title b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .title small { font-size: 11px; color: var(--label3); white-space: nowrap; }
.tb .grow { flex: 1; }
/* Toolbar glass groups (S5 .cap, flat fallback recipe) */
.cap { display: inline-flex; align-items: center; height: 36px; border-radius: 999px; color: var(--label); flex: none;
  background: light-dark(linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 249, 0.8)), linear-gradient(180deg, rgba(66, 66, 70, 0.72), rgba(46, 46, 50, 0.66)));
  box-shadow: 0 6px 18px light-dark(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.35)), 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 light-dark(#ffffff, rgba(255, 255, 255, 0.16)), inset 0 0 0 0.5px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)); }
.cap > span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.cap > span.txt { padding: 0 14px; font-weight: 500; }
.cap > span.txt + span.txt { margin-left: -8px; }
.cap > span.on { background: var(--sel); border-radius: 999px; height: 30px; min-width: 30px; margin: 0 3px; }
.cap > span.on.txt { padding: 0 12px; }
.cap.pri { background: var(--acc); color: var(--on-acc); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.cap .kb { font-size: 11px; color: var(--label3); margin-left: 2px; }
.search { display: flex; align-items: center; gap: 7px; height: 36px; width: 220px; padding: 0 14px; border-radius: 999px; color: var(--label3); flex: none; }
.search.cap { background: light-dark(linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 249, 0.8)), linear-gradient(180deg, rgba(66, 66, 70, 0.72), rgba(46, 46, 50, 0.66))); }
.search .kbd { margin-left: auto; }
.kbd { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 5px; font: 500 11px/1 var(--sys); color: var(--label3); box-shadow: inset 0 0 0 0.5px var(--sep2); }
.round { width: 30px; height: 30px; border-radius: 15px; display: inline-grid; place-items: center; flex: none; color: var(--label); }
.round.on { background: var(--sel); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px; font: 500 13px/1 var(--sys); white-space: nowrap; color: var(--label); background: var(--btn); flex: none; }
.btn.pri { background: var(--acc); color: var(--on-acc); }
.btn.plain { background: none; }
.btn.dis { color: var(--label4); }
.btn.sm { height: 26px; padding: 0 11px; font-size: 12px; }
.seg { display: inline-flex; gap: 2px; padding: 2px; height: 28px; border-radius: 999px; background: var(--ctl); flex: none; }
.seg > span { height: 24px; min-width: 30px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--label2); font: 500 12px/1 var(--sys); white-space: nowrap; }
.seg > span.on { background: var(--thumb); color: var(--label); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.seg.full { display: flex; width: 100%; }
.seg.full > span { flex: 1; }
.scroll { flex: 1; min-height: 0; overflow: hidden; }
.body { flex: 1; min-height: 0; display: flex; }
.pad { padding: 8px 28px 40px; }

.h-sec { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; }
.h-sec h3 { font-size: 15px; line-height: 20px; font-weight: 600; }
.h-sec small { font-size: 12px; color: var(--label3); }
.h-sec .more { margin-left: auto; }
.h-cap { font-size: 11px; font-weight: 600; color: var(--label3); margin: 16px 0 6px; }
.card { border-radius: 12px; background: var(--fill); padding: 12px 16px; }
.rows > * + * { box-shadow: 0 -0.5px 0 var(--sep); }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 32px; }
.kv > :first-child { color: var(--label2); }
.kv > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.kv.strong > * { font-weight: 600; color: var(--label); }
.av { --s: 24px; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: light-dark(#e3e3e8, #3a3a3e); color: light-dark(#3a3a3c, #e5e5ea); font: 600 calc(var(--s) * 0.4) / 1 var(--sys); text-transform: uppercase; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--label2); }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--label3); flex: none; }
.st.done::before { background: var(--label); }
.st.open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--label3); }
.st.warn::before { background: var(--warnfill); }
.st.bad::before { background: var(--bad); }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 10px; background: var(--btn); font-size: 11px; font-weight: 500; color: var(--label2); white-space: nowrap; }
.tag.warn { background: rgba(255, 159, 10, 0.16); color: var(--warn); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--fill); color: var(--label2); font-size: 12px; line-height: 1.45; }
.note > .sf { margin-top: 2px; color: var(--label3); }
.note b { color: var(--label); }
.note.err { background: light-dark(rgba(255, 59, 48, 0.08), rgba(255, 69, 58, 0.14)); color: var(--label); }
.note.err > .sf { color: var(--bad); }

/* Today */
.today { max-width: 1120px; margin: 0 auto; }
.today-h { padding: 18px 0 6px; }
.today-h h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.015em; }
.today-line { font-size: 15px; margin-top: 4px; color: var(--label2); }
.today-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.rlist > li { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 8px; margin: 0 -8px; border-radius: 8px; }
.rlist > li + li { box-shadow: 0 -0.5px 0 var(--sep); }
.rlist > li.now { background: var(--fill); box-shadow: none; }
.rlist > li.now + li { box-shadow: none; }
.rl-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-t small { color: var(--label3); }
.rl-m { flex: none; max-width: 45%; font-size: 12px; text-align: right; color: var(--label2); white-space: nowrap; }
.rl-time { width: 44px; flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.rl-car { width: 52px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; background: var(--fill); }
.tcheck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--label3); flex: none; }
.scope { margin-top: 26px; font-size: 12px; color: var(--label3); }

/* Table (macOS Table: 28 px header, 48 px tall rows with thumbnails, solid selection) */
.tbl-wrap { padding: 0 16px 24px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { height: 28px; padding: 0 10px; box-shadow: inset 0 -0.5px 0 var(--sep); text-align: left; font-size: 11px; font-weight: 600; color: var(--label3); white-space: nowrap; }
.tbl th .sf { margin-left: 3px; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl td { height: 48px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl tbody tr:nth-child(even) td { background: light-dark(rgba(0, 0, 0, 0.022), rgba(255, 255, 255, 0.025)); }
.tbl tbody tr td:first-child { border-radius: 7px 0 0 7px; }
.tbl tbody tr td:last-child { border-radius: 0 7px 7px 0; }
.tbl tbody tr.sel td { background: var(--rowsel); color: #ffffff; }
.tbl tbody tr.sel .st, .tbl tbody tr.sel .mute, .tbl tbody tr.sel .mute3 { color: rgba(255, 255, 255, 0.78); }
.tbl tbody tr.sel .st.done::before { background: #ffffff; }
.tbl tbody tr.sel .tag { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.tbl .lead { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tbl .lead b { display: block; font-weight: 600; }
.tbl .lead small { display: block; font-size: 12px; color: var(--label3); }
.tbl tr.sel .lead small { color: rgba(255, 255, 255, 0.7); }
.tbl .thumb { width: 56px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--fill); flex: none; }

/* Inspector */
.insp { display: flex; flex-direction: column; min-height: 0; background: var(--bg2); box-shadow: inset 0.5px 0 0 var(--sep); }
.insp-h { height: 52px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 16px; }
.insp-h b { flex: 1; }
.insp-b { flex: 1; min-height: 0; overflow: hidden; padding: 0 16px 20px; }
.insp-car { height: 132px; margin: 0 -16px 10px; display: grid; place-items: end center; padding: 0 18px; background: radial-gradient(90% 60% at 50% 100%, light-dark(rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.08)), transparent 64%); }
.insp-car img { max-height: 124px; width: 100%; object-fit: contain; object-position: bottom; }
.insp-title { font-size: 17px; line-height: 22px; font-weight: 600; }
.insp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; }
.actbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 12px 0 14px; }
.kvs .kv { min-height: 30px; padding: 3px 0; }

/* Vehicle dossier */
.dossier { max-width: 1240px; margin: 0 auto; padding: 0 28px 72px; }
.stage { position: relative; display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.4fr); align-items: end; gap: 24px; margin: 14px 0 0; padding: 34px 40px 0; min-height: 340px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 70% at 62% 100%, light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)), transparent 60%), linear-gradient(180deg, light-dark(#f4f4f5, #121214) 0%, light-dark(#e4e4e7, #08080a) 72%, light-dark(#d9d9dd, #050506) 100%); }
.stage-copy { align-self: start; }
.kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--label3); }
.stage-copy h1 { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.025em; margin-top: 6px; }
.stage-var { font-size: 17px; color: var(--label2); margin-top: 4px; }
.stage-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.stage-price { display: grid; gap: 2px; margin-top: 26px; }
.stage-price b { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stage-price small { color: var(--label2); }
.stage-car { align-self: end; display: grid; place-items: end center; }
.stage-car img { width: 100%; max-height: 300px; object-fit: contain; object-position: bottom; margin-bottom: 18px; }
.gallery { display: flex; gap: 8px; padding: 12px 0 2px; overflow: hidden; }
.gshot { flex: none; width: 132px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--fill); }
.gshot img { width: 100%; height: 100%; object-fit: cover; }
.gshot.more { position: relative; }
.gshot.more b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); color: #ffffff; font-size: 15px; }
.doc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.spec { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border-radius: 12px; overflow: hidden; background: var(--sep); }
.spec > div { display: grid; gap: 2px; padding: 11px 14px; background: var(--fill); min-width: 0; }
.spec small { font-size: 11px; color: var(--label3); }
.spec b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.rel { display: grid; gap: 10px; }
.rel-g + .rel-g { padding-top: 10px; box-shadow: 0 -0.5px 0 var(--sep); }
.rel-h { display: flex; align-items: center; gap: 7px; font-size: 12px; margin-bottom: 2px; color: var(--label2); }
.rel-h b { color: var(--label); }
.rel .rlist > li { min-height: 32px; }
.tl > li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; padding: 5px 0; font-size: 12px; }
.tl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--label3); margin: 5px 0 0 3px; }
.tl > li small { display: block; color: var(--label3); }

/* Deals board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 210px; gap: 14px; padding: 10px 20px 24px; align-items: start; }
.lane { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--fill); }
.lane-h { display: flex; align-items: baseline; gap: 8px; padding: 2px 4px 4px; }
.lane-h small { font-size: 11px; }
.lane-sum { margin-left: auto; }
.lane.closed { background: none; box-shadow: inset 0 0 0 1px var(--sep); }
.lane.closed .lane-h { color: var(--label2); }
.bcard { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px 10px 10px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 0.5px var(--sep), 0 1px 2px rgba(0, 0, 0, 0.04); }
.bcard.sel { box-shadow: 0 0 0 2px var(--label); }
.bcard img { grid-row: 1 / span 3; width: 60px; height: 40px; border-radius: 6px; object-fit: cover; }
.bcard > b, .bcard > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcard .small { font-size: 12px; }
.bc-f { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12px; }

/* Inbox */
.mail-list { width: 340px; flex: none; display: flex; flex-direction: column; min-height: 0; box-shadow: inset -0.5px 0 0 var(--sep); }
.mail-boxes { margin: 4px 12px 8px; }
.msearch { display: flex; align-items: center; gap: 6px; height: 28px; margin: 0 12px 8px; padding: 0 10px; border-radius: 999px; background: var(--ctl); color: var(--label3); }
.mlist > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 10px; padding: 10px 14px 10px 14px; box-shadow: inset 0 -0.5px 0 var(--sep); }
.mlist > li .av { --s: 32px; grid-row: 1 / span 3; }
.mlist > li.sel { background: var(--rowsel); color: #ffffff; }
.mlist > li.sel .mute, .mlist > li.sel .mute3 { color: rgba(255, 255, 255, 0.72); }
.mlist > li.unr .ml-top b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px -1px; border-radius: 50%; background: currentColor; }
.ml-top { display: flex; justify-content: space-between; gap: 8px; }
.ml-sub { font-size: 13px; }
.ml-body { font-size: 12px; }
.mail-read { flex: 1; min-width: 0; }
.mail-doc { max-width: 760px; margin: 0 auto; padding: 22px 36px 48px; }
.mail-doc header { display: grid; gap: 8px; padding-bottom: 16px; box-shadow: inset 0 -0.5px 0 var(--sep); }
.mail-doc h1 { font-size: 22px; line-height: 28px; font-weight: 700; }
.mail-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; align-items: center; }
.mail-meta .who { display: flex; align-items: center; gap: 8px; }
.mail-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mail-body { padding: 20px 0; font-size: 14px; line-height: 1.6; }
.mail-body p + p { margin-top: 12px; }
.mail-refs { display: flex; flex-wrap: wrap; gap: 6px; }
.flist > li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 0; }
.flist > li + li { box-shadow: 0 -0.5px 0 var(--sep); }
.fthumb { width: 36px; height: 46px; border-radius: 4px; object-fit: cover; background: var(--bg); box-shadow: 0 0 0 0.5px var(--sep2), 0 1px 2px rgba(0, 0, 0, 0.06); flex: none; }
.flist small { display: block; font-size: 12px; color: var(--label3); }

/* Command palette (floating panel over a dimmed window) */
.scrim { position: absolute; inset: 0; z-index: 40; display: grid; place-items: start center; padding-top: 120px; background: light-dark(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.45)); }
.cmdk { width: 640px; border-radius: 18px; background: var(--pop); box-shadow: var(--pop-sh); overflow: hidden; }
.cmdk-in { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; box-shadow: inset 0 -0.5px 0 var(--sep); color: var(--label3); }
.cmdk-in .q { flex: 1; font-size: 20px; color: var(--label); }
.cmdk-in .q i { display: inline-block; width: 1.5px; height: 22px; margin-left: 1px; vertical-align: -4px; background: var(--label); }
.cmdk-list { padding: 6px; }
.cmdk-g { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; color: var(--label3); }
.cmdk-it { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; }
.cmdk-it .ic { width: 22px; display: grid; place-items: center; color: var(--label2); }
.cmdk-it img { width: 40px; height: 26px; border-radius: 4px; object-fit: cover; }
.cmdk-it small { margin-left: auto; color: var(--label3); font-size: 12px; }
.cmdk-it.on { background: var(--acc); color: var(--on-acc); }
.cmdk-it.on .ic, .cmdk-it.on small { color: inherit; opacity: 0.8; }
.cmdk-f { display: flex; gap: 16px; padding: 9px 16px; box-shadow: inset 0 0.5px 0 var(--sep); font-size: 11px; color: var(--label3); }
.cmdk-f span { display: inline-flex; align-items: center; gap: 5px; }

/* =====================================================================================
   iOS 27 iPhone (390 x 844 screen)
   ===================================================================================== */
.iph { position: relative; width: 414px; padding: 9px; border: 3px solid transparent; border-radius: 64px; font-family: var(--sys);
  background: linear-gradient(#050505, #050505) padding-box, linear-gradient(150deg, #b0b0b5 0%, #4a4a4d 22%, #9a9a9f 50%, #3c3c3f 76%, #7c7c81 100%) border-box;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.45), 0 24px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08); }
.scr { position: relative; width: 390px; height: 844px; border-radius: 55px; overflow: hidden; background: var(--scr); color: var(--label); font-size: 17px; line-height: 22px; letter-spacing: -0.01em; }
.scr.grouped { background: var(--grouped); }
.sb { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 4px 32px 0 50px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; pointer-events: none; }
.sb .sys { display: flex; align-items: center; gap: 6px; }
.sb svg { display: block; fill: currentColor; }
.sb.light { color: #ffffff; }
.island { position: absolute; z-index: 21; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 18px; background: #000000; }
.ibody { position: absolute; inset: 0; overflow: hidden; }
.navrow { position: absolute; z-index: 10; top: 54px; left: 16px; right: 16px; height: 44px; display: flex; align-items: center; gap: 8px; }
.navrow .grow { flex: 1; }
.navrow .nt { position: absolute; left: 60px; right: 60px; text-align: center; font-weight: 600; font-size: 17px; pointer-events: none; }
/* iOS glass buttons (S5 .gbtn / .gcap) */
.glass { -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  background: light-dark(radial-gradient(120% 140% at 50% 50%, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0.56) 100%), radial-gradient(120% 140% at 50% 50%, rgba(66, 66, 70, 0.72) 0%, rgba(46, 46, 50, 0.66) 60%, rgba(30, 30, 33, 0.6) 100%));
  box-shadow: inset 0 1px 0.5px light-dark(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.24)), inset -1px -1px 1px light-dark(rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.35)), inset 0 0 0 0.5px light-dark(rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.09)), 0 6px 18px light-dark(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4)), 0 1px 2px rgba(0, 0, 0, 0.05); }
.gbtn { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; color: var(--label); flex: none; }
.gcap { height: 44px; border-radius: 22px; display: inline-flex; align-items: center; padding: 0 4px; color: var(--label); flex: none; }
.gcap > span { min-width: 40px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; font-size: 17px; }
.gcap.pri { background: var(--acc); color: var(--on-acc); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.gcap.pri > span { font-weight: 600; padding: 0 12px; }
.lt { padding: 0 20px; }
.lt h1 { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: 0.01em; }
.lt p { font-size: 15px; line-height: 20px; color: var(--i2); }
.isearch { display: flex; align-items: center; gap: 6px; height: 36px; margin: 10px 16px 0; padding: 0 10px; border-radius: 18px; background: var(--ctl); color: var(--i2); font-size: 17px; }
.segm { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 32px; padding: 2px; margin: 12px 16px 0; border-radius: 16px; background: var(--ctl); font: 500 13px/28px var(--sys); text-align: center; }
.segm > span { border-radius: 14px; white-space: nowrap; }
.segm > span.on { background: var(--thumb); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.gh { display: flex; align-items: baseline; gap: 8px; padding: 22px 36px 8px; font-size: 20px; line-height: 25px; font-weight: 600; }
.gh small { font-size: 15px; font-weight: 400; color: var(--i2); }
.gh .more { margin-left: auto; font-size: 15px; font-weight: 400; color: var(--i2); }
.grp { margin: 0 16px; border-radius: 26px; background: var(--cell); padding: 4px 0; }
.scr:not(.grouped) .grp { background: var(--grouped); }
.grp > li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; position: relative; }
.grp > li + li::before { content: ""; position: absolute; top: 0; right: 0; left: var(--inset, 16px); height: 0.5px; background: var(--isep); }
.grp.thumbs { --inset: 92px; }
.grp.icons { --inset: 56px; }
.grp .tt { min-width: 0; }
.grp .tt b { display: block; font-size: 17px; line-height: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp .tt b.reg { font-weight: 400; }
.grp .tt small { display: block; font-size: 15px; line-height: 20px; color: var(--i2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp .trail { font-size: 15px; color: var(--i2); display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.grp .trail .sf { color: var(--i3); }
.grp .pthumb { width: 64px; height: 44px; border-radius: 10px; object-fit: cover; }
.grp .ptime { width: 48px; font-weight: 600; font-variant-numeric: tabular-nums; }
.grp .ptime small { display: block; font-size: 13px; font-weight: 400; color: var(--i2); }
.grp .ichk { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--i3); }
.grp .icn { width: 28px; display: grid; place-items: center; color: var(--label); }
.grp li.now { background: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.06)); }
.grp li.now:first-child { border-radius: 22px 22px 0 0; }
.edge { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--grouped) 96%, transparent) 0%, color-mix(in srgb, var(--grouped) 88%, transparent) 38%, transparent 100%); }
.scr:not(.grouped) .edge { background: linear-gradient(to top, color-mix(in srgb, var(--scr) 96%, transparent) 0%, color-mix(in srgb, var(--scr) 88%, transparent) 38%, transparent 100%); }
.topfade { position: absolute; z-index: 9; left: 0; right: 0; top: 0; height: 110px; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--grouped) 94%, transparent) 0%, color-mix(in srgb, var(--grouped) 80%, transparent) 50%, transparent 100%); }
.tabbar { position: absolute; z-index: 12; left: 19px; bottom: 21px; width: 281px; height: 61px; border-radius: 30.5px; padding: 0 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab { position: relative; color: light-dark(rgba(0, 0, 0, 0.78), rgba(255, 255, 255, 0.78)); }
.tab .sf { position: absolute; left: 50%; top: 24px; transform: translate(-50%, -50%); }
.tab b { position: absolute; inset: 39px 0 auto; text-align: center; font: 600 10px/12px var(--sys); letter-spacing: 0.01em; white-space: nowrap; }
.tab.on { color: var(--label); }
.tab.on::before { content: ""; position: absolute; inset: 4px -1px; border-radius: 26.5px; background: light-dark(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0.14)); }
.tabacc { position: absolute; z-index: 12; left: 310px; bottom: 21px; width: 61px; height: 61px; border-radius: 30.5px; display: grid; place-items: center; color: var(--label); }
.tab .bdg { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: var(--on-acc); font: 600 11px/18px var(--sys); text-align: center; }
/* phone dossier */
.pstage { position: relative; height: 330px; padding: 108px 20px 0; background: radial-gradient(110% 60% at 50% 100%, light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)), transparent 62%), linear-gradient(180deg, light-dark(#f4f4f5, #121214) 0%, light-dark(#e4e4e7, #08080a) 72%, light-dark(#d9d9dd, #050506) 100%); }
.pstage img { position: absolute; left: 14px; right: 14px; bottom: 16px; width: calc(100% - 28px); }
.pstage .dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.pstage .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--label4); }
.pstage .dots i.on { background: var(--label); }
.phead { padding: 16px 20px 0; }
.phead h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em; }
.phead .sub { font-size: 15px; line-height: 20px; color: var(--i2); }
.phead .price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.phead .price b { font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phead .meta { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 15px; }
.phead .meta .tag { height: 24px; padding: 0 10px; border-radius: 12px; font-size: 13px; }
.pspec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 16px 0; border-radius: 22px; overflow: hidden; background: var(--isep); }
.pspec > div { padding: 10px 16px; background: var(--grouped); }
.scr.grouped .pspec > div { background: var(--cell); }
.pspec small { display: block; font-size: 13px; line-height: 18px; color: var(--i2); }
.pspec b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* phone mail */
.pmail { padding: 108px 20px 0; }
.pmail h1 { font-size: 28px; line-height: 34px; font-weight: 700; }
.pmail .from { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pmail .from .av { --s: 40px; }
.pmail .from b { display: block; }
.pmail .from small { display: block; font-size: 15px; line-height: 20px; color: var(--i2); }
.pmail .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 6px; border-radius: 16px; background: var(--ctl); font-size: 15px; white-space: nowrap; }
.chip img { width: 36px; height: 22px; object-fit: contain; }
.chip.plain { padding-left: 12px; }
.pmail .txt { margin-top: 18px; font-size: 17px; line-height: 25px; }
.pmail .txt p + p { margin-top: 12px; }
.pmail .att { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 12px; border-radius: 18px; background: var(--grouped); }
.pmail .att .fthumb { width: 40px; height: 52px; }
.pmail .att b { display: block; font-size: 15px; }
.pmail .att small { display: block; font-size: 13px; color: var(--i2); }
.bnote { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 18px; background: var(--grouped); font-size: 15px; line-height: 20px; color: var(--i2); }
.bnote b { color: var(--label); font-weight: 600; }
.bnote .sf { margin-top: 2px; flex: none; }
.pbottom { position: absolute; z-index: 12; left: 16px; right: 16px; bottom: 21px; display: flex; align-items: center; gap: 10px; }
.pbottom .grow { flex: 1; }
/* sheet over the list */
.dim { position: absolute; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.32); }
.under { position: absolute; inset: 0; transform: scale(0.92) translateY(10px); transform-origin: 50% 0; border-radius: 40px; overflow: hidden; background: var(--grouped); }
.sheet { position: absolute; z-index: 31; left: 0; right: 0; top: 62px; bottom: 0; border-radius: 38px 38px 0 0; background: var(--grouped); overflow: hidden; }
.sheet .grab { width: 36px; height: 5px; margin: 6px auto 0; border-radius: 3px; background: var(--i3); }
.sheet-h { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 14px; }
.sheet-h .nt { flex: 1; text-align: center; font-weight: 600; }
.fgrp { margin: 0 16px; border-radius: 26px; background: var(--cell); }
.fgrp > div { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; }
.fgrp > div + div::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 0.5px; background: var(--isep); }
.fgrp label { width: 132px; flex: none; color: var(--label); }
.fgrp .v { flex: 1; min-width: 0; text-align: right; color: var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fgrp .v.ph { color: var(--i3); }
.fgrp .v .sf { color: var(--i3); margin-left: 4px; }
.fgrp .req::after { content: " *"; color: var(--i2); }
.fgrp .bad { color: var(--bad); }
.fgrp .caret { display: inline-block; width: 2px; height: 22px; margin-left: 1px; vertical-align: -5px; background: var(--label); }
.fhelp { padding: 7px 32px 0; font-size: 13px; line-height: 18px; color: var(--i2); }
.fhelp.bad { color: var(--bad); }
.fsec { padding: 18px 32px 7px; font-size: 13px; line-height: 18px; color: var(--i2); }

/* =====================================================================================
   iPadOS 27 (1180 x 820), split view: list column plus detail
   ===================================================================================== */
.ipad { position: relative; width: 1208px; padding: 12px; border: 2px solid transparent; border-radius: 50px; font-family: var(--sys);
  background: linear-gradient(#0a0a0a, #0a0a0a) padding-box, linear-gradient(150deg, #b0b0b5 0%, #4a4a4d 22%, #9a9a9f 50%, #3c3c3f 76%, #7c7c81 100%) border-box;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.45), 0 30px 70px rgba(0, 0, 0, 0.22), 0 8px 18px rgba(0, 0, 0, 0.1); }
.ipad-scr { position: relative; width: 1180px; height: 820px; border-radius: 38px; overflow: hidden; background: var(--scr); color: var(--label); font-size: 17px; line-height: 22px; letter-spacing: -0.01em; }
.ipad-sb { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 24px; display: flex; align-items: center; justify-content: space-between; padding: 2px 26px 0 30px; font-size: 14px; font-weight: 600; pointer-events: none; }
.ipad-sb .sys { display: flex; gap: 6px; align-items: center; }
.ipad-sb svg { display: block; fill: currentColor; }
.ipad-list { position: absolute; z-index: 5; top: 0; left: 0; bottom: 0; width: 360px; padding: 30px 0 0; background: var(--grouped); box-shadow: inset -0.5px 0 0 var(--isep); }
.ipad-list .h { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; }
.ipad-list .h .grow { flex: 1; }
.ipad-list .lt { padding: 4px 20px 0; }
.ipad-list .lt h1 { font-size: 34px; line-height: 41px; }
.vrow { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 8px 14px; margin: 0 12px; border-radius: 16px; }
.vrow + .vrow::before { content: ""; position: absolute; top: 0; left: 102px; right: 14px; height: 0.5px; background: var(--isep); }
.vrow.on { background: var(--acc); color: var(--on-acc); }
.vrow.on::before, .vrow.on + .vrow::before { display: none; }
.vrow img { width: 76px; height: 50px; border-radius: 10px; object-fit: cover; }
.vrow b { display: block; font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow small { display: block; font-size: 15px; line-height: 20px; color: var(--i2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow.on small { color: color-mix(in srgb, var(--on-acc) 72%, transparent); }
.vrow .p { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.ipad-main { position: absolute; top: 0; right: 0; bottom: 0; left: 360px; overflow: hidden; }
.ipad-tb { position: absolute; z-index: 10; top: 30px; left: 20px; right: 20px; height: 44px; display: flex; align-items: center; gap: 10px; }
.ipad-tb .grow { flex: 1; }
.ipad-main .stage { margin: 0; border-radius: 0; padding: 92px 32px 0; min-height: 380px; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.3fr); }
.ipad-main .stage-copy h1 { font-size: 34px; line-height: 41px; }
.ipad-main .stage-price b { font-size: 28px; }
.ipad-main .stage-car img { max-height: 260px; }
.ipad-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding: 0 24px; }
.ipad-main .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; }
.ipad-main .spec b { font-size: 17px; }
.ipad-main .spec small { font-size: 13px; }
.ipad-main .spec > div { padding: 10px 16px; }
.ipad-main .h-sec h3 { font-size: 20px; line-height: 25px; }
.ipad-main .card { border-radius: 18px; }
.ipad-main .kv { min-height: 44px; font-size: 17px; }

/* =====================================================================================
   Windows 11 (WinUI 3, Fluent 2), 1440 x 900, black and white
   ===================================================================================== */
.win11 { font-family: var(--seg); font-size: 14px; line-height: 20px; color: var(--w-text); letter-spacing: 0;
  --w-text: light-dark(rgba(0, 0, 0, 0.896), #ffffff);
  --w-text2: light-dark(rgba(0, 0, 0, 0.606), rgba(255, 255, 255, 0.786));
  --w-text3: light-dark(rgba(0, 0, 0, 0.446), rgba(255, 255, 255, 0.544));
  --w-mica: light-dark(#eff1f3, #202020);
  --w-layer: light-dark(rgba(255, 255, 255, 0.5), rgba(58, 58, 58, 0.3));
  --w-card: light-dark(#ffffff, #2b2b2b);
  --w-card2: light-dark(#f9f9f9, #272727);
  --w-stroke: light-dark(rgba(0, 0, 0, 0.0578), rgba(255, 255, 255, 0.0698));
  --w-stroke2: light-dark(rgba(0, 0, 0, 0.0803), rgba(255, 255, 255, 0.093));
  --w-ctl: light-dark(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.0605));
  --w-subtle: light-dark(rgba(0, 0, 0, 0.0373), rgba(255, 255, 255, 0.0605));
  --w-subtle2: light-dark(rgba(0, 0, 0, 0.0241), rgba(255, 255, 255, 0.0419));
  --w-acc: light-dark(#1b1b1b, #f3f3f3);
  --w-on-acc: light-dark(#ffffff, #000000);
}
.wdesk { width: 1520px; padding: 40px; border-radius: 12px; background: light-dark(#d6dbe0, #0f1113); }
.ww { position: relative; width: 1440px; height: 900px; display: grid; grid-template-rows: 48px minmax(0, 1fr); border-radius: 8px; overflow: hidden; background: var(--w-mica);
  box-shadow: 0 0 0 1px light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)), 0 32px 64px rgba(0, 0, 0, 0.28), 0 2px 21px rgba(0, 0, 0, 0.22); }
.wtitle { display: flex; align-items: center; gap: 12px; padding-left: 16px; }
.wtitle img { width: 16px; height: 16px; border-radius: 3px; }
.wtitle .nm { font-size: 12px; }
.wtitle .grow { flex: 1; }
.wsearch { width: 420px; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 4px; background: var(--w-ctl); box-shadow: inset 0 0 0 1px var(--w-stroke2), inset 0 -1px 0 light-dark(rgba(0, 0, 0, 0.36), rgba(255, 255, 255, 0.54)); color: var(--w-text3); font-size: 14px; }
.wsearch .kb { margin-left: auto; font-size: 12px; }
.wcaps { display: flex; align-self: stretch; }
.wcaps span { width: 46px; display: grid; place-items: center; color: var(--w-text); }
.wbody { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 0; }
.wnav { display: flex; flex-direction: column; min-height: 0; padding: 4px 4px 4px; }
.wnav .ham { width: 40px; height: 36px; margin: 0 0 4px 4px; display: grid; place-items: center; border-radius: 4px; }
.wnv { position: relative; display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px 0 14px; margin: 2px 4px; border-radius: 4px; white-space: nowrap; }
.wnv .ic { width: 18px; display: grid; place-items: center; color: var(--w-text); }
.wnv.on { background: var(--w-subtle); }
.wnv.on::before { content: ""; position: absolute; left: 0; top: 10px; width: 3px; height: 16px; border-radius: 2px; background: var(--w-acc); }
.wnv .cnt { margin-left: auto; font-size: 12px; color: var(--w-text3); font-variant-numeric: tabular-nums; }
.wnav .hd { display: flex; align-items: center; height: 36px; padding: 0 14px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.wnav .hd .sf { margin-left: auto; color: var(--w-text3); }
.wnav .grow { flex: 1; }
.wnav .acct { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 12px; margin: 0 4px; border-radius: 4px; }
.wnav .acct .av { --s: 28px; }
.wnav .acct small { display: block; font-size: 12px; color: var(--w-text2); line-height: 16px; }
.wpage { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 8px 0 0 0; background: var(--w-layer); box-shadow: inset 1px 1px 0 var(--w-stroke); }
.wph { display: flex; align-items: center; gap: 12px; padding: 20px 28px 12px 36px; }
.wph h1 { font-size: 28px; line-height: 36px; font-weight: 600; }
.wph .sub { font-size: 14px; color: var(--w-text2); margin-top: 2px; }
.wph .grow { flex: 1; }
.wbc { display: flex; align-items: center; gap: 8px; font-size: 28px; line-height: 36px; font-weight: 600; }
.wbc .p { color: var(--w-text2); }
.wbc .sf { color: var(--w-text3); }
.cbar { display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 20px 0 32px; }
.cbar .grow { flex: 1; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px; border-radius: 4px; white-space: nowrap; }
.cbtn.on { background: var(--w-subtle); }
.cbtn .chev { color: var(--w-text3); }
.cbtn.pri { background: var(--w-acc); color: var(--w-on-acc); padding: 0 14px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3); }
.cbtn.std { background: var(--w-ctl); box-shadow: inset 0 0 0 1px var(--w-stroke2), inset 0 -1px 0 light-dark(rgba(0, 0, 0, 0.16), rgba(255, 255, 255, 0.05)); }
.csep { width: 1px; height: 24px; margin: 0 6px; background: var(--w-stroke2); }
.wsplit { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; }
.wgrid { min-width: 0; padding: 0 16px 16px 28px; overflow: hidden; }
.wgrid .gcard { border-radius: 8px; background: var(--w-card); box-shadow: 0 0 0 1px var(--w-stroke), 0 2px 4px light-dark(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2)); overflow: hidden; }
.wt { width: 100%; border-collapse: collapse; }
.wt th { height: 32px; padding: 0 12px; text-align: left; font-size: 12px; font-weight: 400; color: var(--w-text2); box-shadow: inset 0 -1px 0 var(--w-stroke2); white-space: nowrap; }
.wt th.r, .wt td.r { text-align: right; }
.wt td { height: 52px; padding: 0 12px; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--w-stroke); }
.wt tr.sel td { background: var(--w-subtle); }
.wt tr.sel td:first-child { position: relative; }
.wt tr.sel td:first-child::before { content: ""; position: absolute; left: 0; top: 16px; width: 3px; height: 20px; border-radius: 2px; background: var(--w-acc); }
.wt .lead { display: flex; align-items: center; gap: 12px; }
.wt .lead img { width: 60px; height: 40px; border-radius: 4px; object-fit: cover; }
.wt .lead small { display: block; font-size: 12px; color: var(--w-text2); line-height: 16px; }
.wt .cb { width: 20px; height: 20px; border-radius: 4px; box-shadow: inset 0 0 0 1px light-dark(rgba(0, 0, 0, 0.45), rgba(255, 255, 255, 0.55)); }
.wt tr.sel .cb { background: var(--w-acc); box-shadow: none; display: grid; place-items: center; color: var(--w-on-acc); }
.wst { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.wst::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--w-text3); }
.wst.done::before { background: var(--w-text); }
.wst.open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--w-text3); }
.wst.warn::before { background: var(--warnfill); }
.wtag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--w-subtle); font-size: 12px; color: var(--w-text2); }
.winsp { min-height: 0; overflow: hidden; margin: 0 16px 16px 0; border-radius: 8px; background: var(--w-card); box-shadow: 0 0 0 1px var(--w-stroke), 0 2px 4px light-dark(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2)); }
.winsp .car { height: 150px; display: grid; place-items: end center; padding: 0 22px 6px; background: var(--w-card2); box-shadow: inset 0 -1px 0 var(--w-stroke); }
.winsp .car img { max-height: 138px; width: 100%; object-fit: contain; object-position: bottom; }
.winsp .in { padding: 16px 20px; }
.winsp h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.winsp .meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--w-text2); }
.winsp .acts { display: flex; gap: 8px; margin: 14px 0 6px; }
.wpivot { display: flex; gap: 20px; margin: 10px 0 4px; box-shadow: inset 0 -1px 0 var(--w-stroke2); }
.wpivot span { position: relative; padding: 8px 0 10px; color: var(--w-text2); }
.wpivot span.on { color: var(--w-text); font-weight: 600; }
.wpivot span.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--w-acc); }
.wkv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 36px; box-shadow: inset 0 -1px 0 var(--w-stroke); font-size: 14px; }
.wkv > :first-child { color: var(--w-text2); }
.wkv > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.wkv.strong > * { font-weight: 600; color: var(--w-text); }
.wscroll { flex: 1; min-height: 0; overflow: hidden; padding: 0 28px 24px 36px; }
.whero { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr); align-items: end; gap: 24px; min-height: 300px; padding: 28px 36px 0; border-radius: 8px; overflow: hidden;
  background: radial-gradient(120% 70% at 62% 100%, light-dark(rgba(0, 0, 0, 0.09), rgba(255, 255, 255, 0.09)), transparent 60%), linear-gradient(180deg, light-dark(#f7f7f7, #2b2b2b) 0%, light-dark(#e9e9ea, #1c1c1c) 80%);
  box-shadow: 0 0 0 1px var(--w-stroke); }
.whero .k { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--w-text3); }
.whero h2 { font-size: 40px; line-height: 52px; font-weight: 600; }
.whero .pr { margin-top: 22px; font-size: 28px; line-height: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.whero .pr small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--w-text2); }
.whero .cimg { align-self: end; }
.whero .cimg img { width: 100%; max-height: 260px; object-fit: contain; object-position: bottom; margin-bottom: 14px; }
.wcols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 16px; align-items: start; }
.wcard { border-radius: 8px; background: var(--w-card); box-shadow: 0 0 0 1px var(--w-stroke); padding: 14px 18px 8px; }
.wcard h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.wcard h3 small { font-weight: 400; color: var(--w-text2); }
.wcard h3 .more { margin-left: auto; font-weight: 400; }
.wspec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; padding: 4px 0 10px; }
.wspec small { display: block; font-size: 12px; color: var(--w-text2); }
.wspec b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.wthumbs { display: flex; gap: 8px; margin-top: 12px; }
.wthumbs img { width: 112px; height: 74px; border-radius: 4px; object-fit: cover; }
.wthumbs img.on { outline: 2px solid var(--w-acc); outline-offset: 2px; }
.wrel > li { display: flex; align-items: center; gap: 12px; min-height: 40px; box-shadow: inset 0 -1px 0 var(--w-stroke); }
.wrel > li:last-child { box-shadow: none; }
.wrel .ic { width: 20px; display: grid; place-items: center; color: var(--w-text2); }
.wrel .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrel .m { font-size: 12px; color: var(--w-text2); white-space: nowrap; }
.winfo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 4px; background: var(--w-card2); box-shadow: inset 0 0 0 1px var(--w-stroke); font-size: 14px; }
.winfo .sf { margin-top: 3px; color: var(--w-text2); }
.winfo b { display: block; }
.winfo span { color: var(--w-text2); }

/* =====================================================================================
   Overview page
   ===================================================================================== */
.ov { max-width: 1280px; margin: 0 auto; padding: 0 32px 96px; }
.ov-top { display: flex; align-items: center; gap: 20px; height: 72px; }
.ov-top img.lock { height: 26px; width: auto; margin-left: -2.3px; }
.ov-top .grow { flex: 1; }
.ov-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; padding: 72px 0 56px; }
.ov-hero h1 { font-size: 64px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; max-width: 11em; text-wrap: balance; }
.ov-hero p { margin-top: 18px; max-width: 34em; font-size: 20px; line-height: 1.45; color: var(--label2); text-wrap: pretty; }
.ov-hero .icon { width: 132px; height: 132px; border-radius: 22.5%; box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.ov-sec { padding: 40px 0 8px; box-shadow: inset 0 0.5px 0 var(--sep); }
.ov-sec + .ov-sec { margin-top: 32px; }
.ov-sh { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.ov-sh h2 { font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.02em; }
.ov-sh p { color: var(--label2); font-size: 15px; }
.ov-grid { display: grid; gap: 28px 24px; }
.ov-grid.mac { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-grid.phone { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ov-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ov-card { display: grid; gap: 10px; }
.ov-card .pic { border-radius: 14px; overflow: hidden; background: var(--pg2); aspect-ratio: 1520 / 1018; }
.ov-grid.phone .ov-card .pic { aspect-ratio: 414 / 868; border-radius: 24px; background: none; }
.ov-grid.two .ov-card .pic.pad { aspect-ratio: 1208 / 848; }
.ov-card .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 300ms ease; }
.ov-card:hover .pic img { transform: scale(1.015); }
.ov-card b { font-size: 17px; }
.ov-card small { display: block; color: var(--label2); font-size: 14px; line-height: 1.45; }
.ov-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ov-docs > * { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--pg2); }
.ov-docs b { font-size: 17px; }
.ov-docs span { color: var(--label2); font-size: 14px; }
.ov-foot { margin-top: 64px; padding-top: 18px; box-shadow: inset 0 0.5px 0 var(--sep); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--label3); }
@media (max-width: 1000px) {
  .ov-grid.mac { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-grid.phone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-hero h1 { font-size: 48px; }
  .ov-docs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ov { padding: 0 20px 64px; }
  .ov-top img.lock { height: 22px; }
  .ov-hero { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 36px; }
  .ov-hero .icon { width: 84px; height: 84px; order: -1; }
  .ov-hero h1 { font-size: 38px; }
  .ov-hero p { font-size: 17px; }
  .ov-grid.mac, .ov-grid.two { grid-template-columns: 1fr; }
  .ov-grid.phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-sh { display: block; }
  .ov-sh h2 { font-size: 26px; }
  .pbar { padding: 0 14px; gap: 10px; }
  .pbar .t small { display: none; }
}
.search.cap > span.kbd { min-width: 0; height: 18px; margin-left: auto; }
.rl-t small { font-size: 12px; }
.scrim { background: light-dark(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.5)); }
.scr:not(.grouped) .grp { background: light-dark(#f2f2f7, #1c1c1e); }
.scr:not(.grouped) .pspec > div { background: light-dark(#f2f2f7, #1c1c1e); }
.scr:not(.grouped) .pspec { background: light-dark(rgba(60, 60, 67, 0.12), rgba(84, 84, 88, 0.5)); }
.fgrp > div.stack { padding: 8px 16px; }
.fgrp .stack .col { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fgrp .stack label { width: auto; font-size: 13px; line-height: 18px; color: var(--i2); }
.fgrp .stack .v { text-align: left; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.ipad-main .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wt td { overflow: hidden; text-overflow: ellipsis; }
.wt .lead { min-width: 0; }
.tbl .lead > .ell { display: block; }
.ov-grid.mac .ov-card.lead { grid-column: span 2; grid-row: span 2; order: -1; align-self: start; }
.ov-grid.mac .ov-card.lead b { font-size: 21px; }
@media (max-width: 640px) { .ov-grid.mac .ov-card.lead { grid-column: auto; grid-row: auto; } }
/* Lockup: the SVG carries 20 of 221 units of left padding, pull it left by about 9 % of its rendered width. */
.ov-top img.lock { height: 44px; margin-left: -11px; }
@media (max-width: 640px) { .ov-top img.lock { height: 36px; margin-left: -9px; } }
/* Viewer: scale the fixed artboard down to the available width as one unit (zoom keeps layout, aspect ratio
   and hit areas intact, never above 1:1). tan(atan2(a, b)) turns the length ratio into a plain number.
   safe center keeps the left edge reachable if a browser ignores the zoom and the stage overflows. */
.stagearea { container-type: inline-size; justify-content: safe center; }
.shot { --aw: 1520px; zoom: min(1, tan(atan2(100cqw, var(--aw)))); }
.shot:has(> .ipad) { --aw: 1208px; }
.shot:has(> .iph) { --aw: 414px; }
@media (max-width: 640px) { .stagearea { padding: 20px 12px 40px; } }
/* Narrow header: chevron-only back link (label stays in the accessibility tree), title truncates, no overlap with the switch. */
@media (max-width: 640px) {
  .pbar .back { font-size: 0; gap: 0; min-width: 32px; height: 44px; justify-content: center; margin-left: -8px; }
  .pbar .t { flex: 1 1 auto; }
  .pbar .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pbar .grow { display: none; }
  .pbar .theme { flex: none; }
  .theme a { padding: 0 9px; }
}

/* =====================================================================================
   Wave 05.10.2026: Händlernetz, Lagerfinanzierung, Auswertungen, Medienstudio, Aufnahme, Prüffall, Umfrage,
   Website-Inhalte. Same tokens as above; orange only for overdue, red only for errors.
   ===================================================================================== */
/* macOS shell additions */
.mw.insp4 { grid-template-columns: 240px minmax(0, 1fr) 380px; }
.it.more { color: var(--label3); }
.it.more .ic { color: var(--label3); }
.subbar { display: flex; align-items: center; gap: 10px; padding: 0 16px 12px 26px; flex: none; }
.subbar .grow { flex: 1; }
.popup { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 12px; border-radius: 8px; background: var(--btn); font-size: 12px; color: var(--label2); white-space: nowrap; flex: none; }
.popup b { font-weight: 500; color: var(--label); }
.popup .sf { color: var(--label3); }
.tbl td small.bidn { display: block; font-size: 11px; color: var(--label3); line-height: 1.2; }
.tbl tr.sel td small.bidn { color: rgba(255, 255, 255, 0.7); }
.tbl.tall td { height: 60px; }
.tbl.tall td .tag { margin-top: 3px; }
.tbl.compact td { height: 40px; }
.tbl td small.basis { display: block; font-size: 11px; line-height: 1.2; color: var(--label3); }
.insp-note { margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--label2); }
.insp .h-cap { margin-top: 18px; letter-spacing: 0.02em; }
.photo2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 12px; }
.photo2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--fill); }
.bidl > li { padding: 10px 12px; border-radius: 10px; background: var(--fill); }
.bidl > li + li { margin-top: 8px; }
.bid-top { display: flex; align-items: baseline; gap: 10px; }
.bid-top b { flex: 1; }
.bid-top .num { font-weight: 600; }
.bidl small { display: block; font-size: 11px; color: var(--label3); margin-top: 1px; }
.bidl p { font-size: 12px; color: var(--label2); margin-top: 4px; }
.bid-act { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.bid-act .grow { flex: 1; }
.fig1 b { display: block; font-size: 20px; line-height: 26px; font-weight: 600; }
.fig1 small { display: block; font-size: 11px; line-height: 1.4; color: var(--label3); margin-top: 2px; }
.plan > li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 30px; font-size: 12px; }
.plan > li + li { box-shadow: 0 -0.5px 0 var(--sep); }

/* Figures in one calm row (not tiles), bar charts with a value grid */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figs > div { display: grid; align-content: start; gap: 2px; padding: 4px 22px 4px 0; min-width: 0; }
.figs > div + div { padding-left: 22px; box-shadow: inset 0.5px 0 0 var(--sep2); }
.figs small { font-size: 12px; color: var(--label2); }
.figs b { font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.figs span { font-size: 11px; line-height: 1.4; color: var(--label3); }
.ins { padding-top: 6px; }
.ins-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.ins-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
.bars { --gl: var(--sep2); --bar: var(--label); --barmute: var(--label3); --tx2: var(--label2); --tx3: var(--label3); }
.bars figcaption { font-size: 15px; line-height: 20px; font-weight: 600; margin-bottom: 12px; }
.bar-g { display: grid; grid-template-columns: 128px minmax(0, 1fr); row-gap: 10px; column-gap: 14px; align-items: center; }
.bar-l { font-size: 12px; color: var(--tx2); }
.bar-l.on { color: inherit; font-weight: 600; }
.bar-t { position: relative; height: 26px; background-image: linear-gradient(to right, var(--gl) 1px, transparent 1px); background-size: calc((100% - 1px) / var(--n)) 100%; background-repeat: repeat-x; box-shadow: inset -1px 0 0 var(--gl); }
.bar-t i { position: absolute; left: 0; top: 4px; bottom: 4px; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--barmute); }
.bar-t i.on { background: var(--bar); }
.bar-ax { position: relative; height: 16px; font-size: 11px; color: var(--tx3); font-variant-numeric: tabular-nums; }
.bar-ax span { position: absolute; top: 0; transform: translateX(-50%); }
.bar-ax span:first-child { transform: none; }
.bar-ax span:last-child { transform: translateX(-100%); }
.bar-ro { margin-top: 10px; font-size: 12px; color: var(--tx2); }
.bar-ro b { color: inherit; }

/* Medienstudio */
.studio { padding: 2px 26px 20px; }
.plate-pv { position: relative; width: 100%; max-width: 760px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--fill); container-type: inline-size; }
.plate-pv .ph { width: 100%; height: 100%; object-fit: cover; }
.plate { position: absolute; right: 3cqw; bottom: 3cqw; width: 20cqw; padding: 1.4cqw 1.6cqw 1.1cqw; border-radius: 0.6cqw; background: #ffffff; display: grid; gap: 0.5cqw; justify-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16); }
.plate img { width: 100%; height: auto; }
.plate small { font: 600 1.25cqw/1 var(--sys); letter-spacing: 0.08em; text-transform: uppercase; color: #1d1d1f; }
.studio-meta { margin-top: 10px; font-size: 12px; color: var(--label3); }
.strip { display: flex; gap: 8px; margin-top: 14px; }
.strip img { width: 96px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; opacity: 0.8; }
.strip img.on { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--label); }
.studio-go { display: flex; align-items: center; gap: 12px; max-width: 760px; margin-top: 18px; padding-top: 14px; box-shadow: inset 0 0.5px 0 var(--sep); font-size: 12px; }
.studio-go .grow { flex: 1; }

/* iPhone: capture, finding, survey */
.cap-h { padding: 0 20px; }
.cap-h small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--i2); }
.cap-h h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: 0.005em; }
.cap-h h1.long { font-size: 24px; line-height: 30px; margin-top: 10px; text-wrap: balance; }
.cap-h p { font-size: 15px; line-height: 20px; color: var(--i2); margin-top: 2px; }
.cap-h .tags { display: flex; gap: 6px; }
.cap-h .tag { height: 24px; padding: 0 10px; border-radius: 12px; font-size: 13px; background: var(--ctl); }
.cap-prog { margin: 16px 16px 0; padding: 14px 16px; border-radius: 22px; background: var(--cell); }
.cap-prog .segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.cap-prog .segs i { height: 6px; border-radius: 3px; background: var(--ctl); }
.cap-prog .segs i.on { background: var(--label); }
.cap-prog .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; line-height: 20px; }
.cap-prog .row > span:first-child { flex: 1; }
.cap-prog .pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--ctl); font-size: 13px; color: var(--label); white-space: nowrap; }
.grp .pslot { width: 64px; height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--isep); background: var(--grouped); }
.grp .cam { width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: var(--ctl); color: var(--label); }
.grp .cam.on { background: var(--acc); color: var(--on-acc); }
.capl > li { min-height: 60px; }
.ptext { margin: 0 16px; padding: 12px 16px; border-radius: 22px; background: var(--cell); font-size: 17px; line-height: 22px; }
.fb { padding: 66px 22px 0; }
.fb-logo { width: 150px; height: auto; }
:root[data-theme="dark"] .fb-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .fb-logo { filter: invert(1); } }
.fb h1 { font-size: 26px; line-height: 32px; font-weight: 700; margin-top: 18px; }
.fb-in { font-size: 15px; line-height: 20px; color: var(--i2); margin-top: 4px; }
.fb fieldset { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.fb legend { padding: 0; font-size: 15px; line-height: 20px; font-weight: 600; margin-bottom: 8px; }
.fb legend span { font-weight: 400; color: var(--i2); }
.scale { display: grid; gap: 3px; }
.scale.s11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.scale.s5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.scale span { height: 36px; display: grid; place-items: center; border-radius: 9px; background: light-dark(#f2f2f7, #1c1c1e); font-size: 15px; font-variant-numeric: tabular-nums; }
.scale span.on { background: var(--acc); color: var(--on-acc); font-weight: 600; }
.ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 12px; line-height: 16px; color: var(--i2); }
.fb-area { min-height: 66px; padding: 10px 12px; border-radius: 12px; background: light-dark(#f2f2f7, #1c1c1e); font-size: 15px; line-height: 20px; }
.fb-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--i2); }
.fb-ok .box { width: 22px; height: 22px; border-radius: 6px; flex: none; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); }
.fb-send { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border-radius: 24px; background: var(--acc); color: var(--on-acc); font-size: 17px; font-weight: 600; }
.fb-fine { margin-top: 10px; font-size: 12px; line-height: 16px; color: var(--i2); text-align: center; }
.pbottom .urlbar { flex: 1; justify-content: center; }
.pbottom .urlbar > span { font-size: 15px; }

/* iPadOS: Website-Inhalte */
.srow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 60px; padding: 8px 16px; margin: 0 12px; border-radius: 16px; }
.srow + .srow::before { content: ""; position: absolute; top: 0; left: 16px; right: 14px; height: 0.5px; background: var(--isep); }
.srow.on { background: var(--acc); color: var(--on-acc); }
.srow.on::before, .srow.on + .srow::before { display: none; }
.srow b { display: block; font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow small { display: block; font-size: 15px; line-height: 20px; color: var(--i2); }
.srow.on small { color: color-mix(in srgb, var(--on-acc) 72%, transparent); }
.srow .p { color: var(--i3); }
.ipad-main.ed-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.ed { position: relative; min-width: 0; padding: 30px 0 0; }
.ed-tb { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; }
.ed-tb .grow { flex: 1; }
.ed-b { padding: 18px 24px 0; }
.ed-b h1 { font-size: 34px; line-height: 41px; font-weight: 700; margin-bottom: 16px; }
.ed .fgrp { margin: 0; background: var(--grouped); }
.ed .fgrp label { width: 110px; }
.ed .fhelp, .ed .fsec { padding-right: 16px; }
.md { padding: 14px 18px; border-radius: 22px; background: var(--grouped); font: 400 15px/22px var(--mono); }
.md p.h { font-weight: 600; }
.md p.gap { height: 12px; }
.ed-insp { padding: 74px 16px 0; background: var(--grouped); box-shadow: inset 0.5px 0 0 var(--isep); }
.ed-insp .fgrp { margin: 0; }
.ed-insp .fgrp label { width: auto; flex: 1; color: var(--i2); }
.ed-insp .fgrp .v { flex: none; }
.ed-insp .fsec { padding-left: 16px; }
.ed-insp .fgrp .stack label { color: var(--i2); }
.ed-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ed-acts .gcap > span { font-size: 15px; }
.itl > li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; line-height: 20px; }
.itl > li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--i3); }
.itl small { display: block; font-size: 13px; color: var(--i2); }

/* Windows 11: Auswertungen */
.wsel { display: inline-flex; gap: 2px; height: 32px; align-items: stretch; }
.wsel > span { position: relative; display: inline-flex; align-items: center; padding: 0 12px; color: var(--w-text2); }
.wsel > span.on { color: var(--w-text); font-weight: 600; }
.wsel > span.on::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--w-acc); }
.cbar .cbtn.std + .cbtn.std { margin-left: 4px; }
.wfigs { padding: 16px 20px; }
.wfigs .figs > div + div { box-shadow: inset 1px 0 0 var(--w-stroke2); }
.wfigs .figs small { color: var(--w-text2); font-size: 12px; }
.wfigs .figs span { color: var(--w-text3); }
.wcharts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.wcharts .wcard { padding: 16px 20px 14px; }
.win11 .bars { --gl: var(--w-stroke2); --bar: var(--w-text); --barmute: var(--w-text3); --tx2: var(--w-text2); --tx3: var(--w-text3); }
.win11 .bars figcaption { font-size: 14px; }
.win11 .bar-l { font-size: 14px; }
.grp .tt .wrap { white-space: normal; overflow: visible; text-wrap: pretty; }
.cap-prog .row { flex-wrap: wrap; row-gap: 8px; }
.cap-prog .row > span:first-child { flex: 1 0 100%; }
.srow b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 22px; }
.fgrp .stack .v.wrap { white-space: normal; letter-spacing: 0; }
.win11 .bars { --barmute: light-dark(#a3a3a3, #7c7c7c); }
.ed .fgrp, .md { background: light-dark(#f2f2f7, #1c1c1e); }
