/* s14ui.css — STEUER14 screens redrawn for the site (tools/site_mocks.py writes the markup).
   Colours are src/qml/Theme.qml's tester tokens, so the pictures match the app. */
.u-win { --frame:#7E1621; --tab:#2B2B2B; --ground:#161616; --head:#2A2C2F; --alt:#1B1B1B; --grid:#2E2E2E; --sel:#1F4E79;
  --x:#C1121F; --ok:#1E8E3E; --w:#D48A00; --n:#6E6E6E; --bar:#2A2C2F; --barline:#3A3D42; --ink:#F2F3F5; --inkoff:#8C9096;
  --red:#FF3B30; --amber:#FFB300; --green:#00E676; --primary:#D5001C;
  border:1px solid #333; border-radius:12px; overflow:hidden; background:#0e0e0e; color:var(--ink);
  box-shadow:0 24px 60px rgba(0,0,0,.55); font-family:'Geist', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size:12px; line-height:1.35; text-align:left; user-select:none; min-width:0; max-width:100%; width:100%; }
.u-win * { box-sizing:border-box; }
.u-mono { font-family:'Geist Mono', ui-monospace, Menlo, monospace; font-size:.95em; }
.u-dtc { font-weight:500; letter-spacing:.01em; }
.u-muted { color:var(--inkoff); } .u-red { color:var(--red); } .u-amber { color:var(--amber); } .u-green { color:var(--green); }

.u-titlebar { height:28px; display:flex; align-items:center; gap:12px; padding:0 12px; background:#1c1c1c; border-bottom:1px solid #262626; color:var(--inkoff); font-size:11px; }
.u-lights { display:flex; gap:6px; } .u-lights i { width:10px; height:10px; border-radius:50%; background:#3a3a3a; }
.u-lights i:nth-child(1){background:#ff5f57} .u-lights i:nth-child(2){background:#febc2e} .u-lights i:nth-child(3){background:#28c840}
.u-top { display:flex; align-items:center; gap:22px; padding:9px 16px; background:#101010; border-bottom:1px solid #242424; white-space:nowrap; overflow:hidden; }
.u-logo { font-weight:700; font-size:15px; letter-spacing:.02em; line-height:1; display:flex; flex-direction:column; }
.u-logo small { font-size:6.5px; letter-spacing:.32em; font-weight:600; margin-top:2px; }
.u-top-f { display:flex; flex-direction:column; font-weight:500; padding-left:18px; border-left:1px solid #2a2a2a; }
.u-top-f small { color:var(--inkoff); font-size:10px; font-weight:400; }
.u-crumbs { display:flex; gap:7px; color:var(--inkoff); padding-left:18px; border-left:1px solid #2a2a2a; overflow:hidden; text-overflow:ellipsis; }
.u-crumb-on { color:var(--ink); font-weight:600; } .u-sep { color:#555; }

.u-body { display:flex; min-height:0; }
.u-side { width:176px; flex-shrink:0; background:#141414; border-right:1px solid #242424; padding:8px 0 10px; }
.u-nav { display:flex; flex-direction:column; padding:5px 14px; } .u-nav b { font-weight:600; } .u-nav span { color:var(--inkoff); font-size:10.5px; }
.u-side-cap { color:var(--inkoff); font-weight:600; padding:8px 14px 5px; border-top:1px solid #242424; margin-top:4px; font-size:11px; }
.u-veh { margin:2px 10px 4px; border:1px solid #333; border-radius:6px; padding:6px 8px; display:flex; flex-direction:column; gap:1px; font-size:10.5px; }
.u-veh div { font-size:12px; font-weight:600; display:flex; align-items:center; gap:5px; }
.u-dot-w { width:9px; height:9px; border-radius:50%; background:var(--amber); display:inline-block; }
.u-side-grp { color:#6e7278; font-size:9px; letter-spacing:.12em; font-weight:600; padding:7px 14px 3px; }
.u-plat { display:flex; align-items:center; gap:8px; padding:4px 14px; font-size:11.5px; }
.u-plat-on { box-shadow:inset 3px 0 0 var(--primary); }
.u-plat-code { font-family:'Geist Mono', monospace; font-size:8.5px; font-weight:600; border:1px solid #444; border-radius:3px; padding:1px 0; width:40px; text-align:center; }
.u-plat-on .u-plat-code { border-color:var(--primary); background:#3a0a10; }
.u-plat-vin { margin-left:auto; color:var(--green); font-size:9px; font-weight:700; }

.u-main { flex:1; min-width:0; padding:14px 16px 0; background:radial-gradient(120% 90% at 70% 0%, #1a1a1a 0%, #0e0e0e 70%); display:flex; flex-direction:column; }
.u-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:10px; }
.u-h1 { font-size:19px; font-weight:700; letter-spacing:-.01em; }
.u-verdict { font-size:11.5px; margin-top:2px; } .u-verdict.u-amber { color:var(--amber); } .u-verdict.u-green { color:var(--green); }
.u-vin { display:flex; align-items:center; gap:6px; white-space:nowrap; color:#b8bcc2; }
.u-tabs { display:flex; gap:2px; overflow:hidden; }
.u-tab { background:var(--tab); color:#b9bcc1; padding:6px 11px; white-space:nowrap; font-size:11.5px; }
.u-tab-on { background:var(--frame); color:#fff; font-weight:600; } .u-tab-off { color:#5f6368; }
.u-frame { border:1.5px solid var(--frame); background:var(--ground); overflow:hidden; max-width:100%; }
.u-tbl td:not(.u-c-pic):not(.u-c-num) { max-width:0; }   /* long texts shorten instead of widening the table */
.u-tbl { width:100%; border-collapse:collapse; table-layout:auto; }
.u-tbl th { background:var(--head); color:#D8D8D8; font-weight:600; text-align:left; padding:6px 9px; font-size:11px; white-space:nowrap; }
.u-tbl td { padding:6px 9px; border-top:1px solid var(--grid); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:260px; }
.u-tbl tbody tr:nth-child(even) td { background:var(--alt); }
.u-tbl tr.u-grp td { background:#1e2023; font-weight:600; font-size:11.5px; }
.u-tbl tr.u-sel td { background:var(--sel); }
.u-c-pic { width:44px; text-align:center !important; } .u-c-num { text-align:right !important; } .u-c-state { width:90px; }
.u-c-code { width:78px; } .u-c-unit { width:150px; } .u-c-opt { width:132px; } .u-c-rec { width:62px; } .u-c-key { width:140px; color:var(--inkoff); }
.u-pic { display:inline-flex; align-items:center; justify-content:center; width:15px; height:15px; border-radius:50%; font-size:9px; font-weight:800; color:#fff; vertical-align:middle; flex-shrink:0; }
.u-pic-x { background:var(--x); } .u-pic-ok { background:var(--ok); } .u-pic-w { background:var(--w); } .u-pic-n { background:var(--n); }
.u-legend { display:flex; gap:14px; flex-wrap:wrap; color:#a6aab0; font-size:10.5px; padding:7px 0; }
.u-legend span { display:inline-flex; align-items:center; gap:5px; }
.u-fbar { display:flex; align-items:center; gap:6px; margin:4px -16px 0; padding:8px 16px; background:var(--bar); border-top:1px solid var(--barline); }
.u-fmsg { margin-left:auto; font-size:11px; white-space:nowrap; }
.u-btn { padding:5px 10px; border-radius:5px; background:#1b1b1b; border:1px solid #3a3a3a; font-size:11px; white-space:nowrap; font-weight:500; }
.u-btn-primary { background:var(--primary); border-color:var(--primary); font-weight:600; }
.u-btn-danger { border-color:var(--primary); color:#ff5a5a; background:transparent; }
.u-status { display:flex; gap:16px; padding:5px 14px; background:#0b0b0b; border-top:1px solid #1f1f1f; color:var(--inkoff); font-size:9.5px; letter-spacing:.03em; white-space:nowrap; overflow:hidden; }
.u-status span { display:inline-flex; align-items:center; gap:5px; } .u-status b { color:#cfd2d6; font-weight:500; letter-spacing:0; }
.u-status i { width:6px; height:6px; border-radius:50%; } .u-status i.u-dot-g { background:var(--green); }
.u-cap { font-weight:600; font-size:11.5px; margin:8px 0 4px; }
.u-note { font-size:11px; padding-top:6px; }
.u-select { display:flex; justify-content:space-between; gap:8px; border:1px solid #3a3a3a; border-radius:4px; padding:2px 7px; background:#141414; }
.u-select i { font-style:normal; color:var(--inkoff); } .u-select-chg { border-color:var(--w); }
.u-split { display:grid; grid-template-columns:1fr 250px; gap:12px; align-items:start; }
.u-pack { border:1px solid #262626; border-radius:10px; padding:10px; background:#0b0b0b; margin-bottom:10px; }
.u-mods { display:grid; grid-template-columns:repeat(11, 1fr); gap:3px; }
.u-mod { border:1px solid #1d6b3c; background:#0f2418; border-radius:3px; padding:2px 1px 3px; display:flex; flex-direction:column; align-items:center; line-height:1.1; }
.u-mod small { font-size:6.5px; color:#8fb89c; } .u-mod b { font-family:'Geist Mono', monospace; font-size:8.5px; font-weight:600; } .u-mod i { font-style:normal; font-size:6.5px; color:#7fd6a0; }
.u-mod-min { border-color:#3aa0ff; }
.u-pack-cap { text-align:center; color:#29b6ff; font-weight:700; font-size:10px; margin-top:6px; letter-spacing:.04em; }

@media (max-width: 900px) {
  .u-side, .hide-sm, .u-crumbs, .u-titlebar span:last-child { display:none; }
  .u-split { grid-template-columns:1fr; }
  .u-tbl td { max-width:150px; }
  .u-c-unit { display:none; }
}
@media (max-width: 560px) {
  .u-win { font-size:10.5px; }
  .u-tbl th, .u-tbl td { padding:5px 6px; }
  .u-tab:nth-child(n+4) { display:none; }
  .u-status span:nth-child(n+3) { display:none; }
}
