/* BsMind Klick-Demo: nachgebautes App-Fenster auf Basis reference/bsmind/ui-redesign/.
   Alle Selektoren unter .bsd, Tokens als Variablen auf .bsd. JS: js/bs-demo.js */

.bsd {
  --bsd-navy: #0b1c3d; --bsd-navy-2: #13284f; --bsd-navy-line: #1d3460;
  --bsd-blue: #0071e3; --bsd-blue-hover: #0062c4; --bsd-blue-soft: #eef4fe;
  --bsd-ink: #0f1b2d; --bsd-ink-2: #3b4658; --bsd-ink-3: #5f6878; --bsd-ink-4: #9aa2b1;
  --bsd-line: #e3e6eb; --bsd-line-2: #eef0f3; --bsd-bg: #f5f6f8; --bsd-surface: #fff; --bsd-surface-2: #fafbfc;
  --bsd-ok: #067647; --bsd-ok-bg: #ecf8f1; --bsd-warn: #8f5206; --bsd-warn-bg: #fdf6e7;
  --bsd-err: #b42318; --bsd-err-bg: #fdf0ef; --bsd-mute-bg: #f0f2f5;
  --bsd-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bsd-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --bsd-r: 8px; --bsd-r-sm: 6px;
  --bsd-h: 660px;
  margin-top: 40px;
  font-family: var(--bsd-font);
  font-size: 14px; line-height: 20px; color: var(--bsd-ink-2);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.bsd *, .bsd *::before, .bsd *::after { box-sizing: border-box; }
.bsd :is(h3, h4, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.bsd :is(ul, ol) { list-style: none; }
.bsd :is(h3, h4) { font-family: inherit; letter-spacing: -.01em; }
.bsd .bsd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bsd .bsd-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Fenster ---------- */
.bsd .bsd-win { border: 1px solid #d6dce6; border-radius: 14px; overflow: hidden; background: var(--bsd-navy); box-shadow: 0 30px 70px rgba(8, 20, 45, .18), 0 2px 6px rgba(8, 20, 45, .06); }
.bsd .bsd-chrome { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #f3f5f8; border-bottom: 1px solid var(--bsd-line); }
.bsd .bsd-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8e0; }
.bsd .bsd-chrome span { flex: 1; text-align: center; font-size: 12px; color: var(--bsd-ink-3); margin-right: 46px; }
.bsd .bsd-app { display: grid; grid-template-columns: 208px minmax(0, 1fr); height: var(--bsd-h); }

/* ---------- Sidebar ---------- */
.bsd .bsd-side { display: flex; flex-direction: column; min-height: 0; background: var(--bsd-navy); color: #c9d2e3; }
.bsd .bsd-brand { display: flex; align-items: center; gap: 10px; height: 52px; flex: none; padding: 0 14px; border-bottom: 1px solid var(--bsd-navy-line); color: #fff; font-weight: 600; font-size: 15px; line-height: 18px; }
.bsd .bsd-brand svg { width: 28px; height: 28px; flex: none; }
.bsd .bsd-brand small { display: block; font-size: 11.5px; line-height: 15px; font-weight: 400; color: #9aa6bf; }
.bsd .bsd-nav { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 8px 12px; scrollbar-width: thin; scrollbar-color: var(--bsd-navy-line) transparent; }
.bsd .bsd-nav-label { padding: 10px 10px 4px; font-size: 12px; line-height: 16px; color: #8d99b3; }
.bsd .bsd-tab, .bsd .bsd-nav-off {
  display: flex; align-items: center; gap: 10px; width: 100%;
  height: 30px; padding: 0 10px; border: 0; border-radius: var(--bsd-r-sm);
  background: none; color: #c9d2e3; font: inherit; font-size: 13.5px; text-align: left;
}
.bsd .bsd-tab { cursor: pointer; color: #fff; }
.bsd .bsd-tab .bsd-i { color: #9fc2ff; }
.bsd .bsd-nav-off { color: #8d99b3; cursor: default; }
.bsd .bsd-tab .bsd-count { margin-left: auto; font-size: 12px; color: #9aa6bf; font-variant-numeric: tabular-nums; }
.bsd .bsd-tab[aria-selected="true"] { background: var(--bsd-navy-2); font-weight: 500; box-shadow: inset 2px 0 0 #4d9bff; }
.bsd .bsd-tab:focus-visible { outline: 2px solid #8fbaff; outline-offset: -2px; }

/* ---------- Hauptbereich ---------- */
.bsd .bsd-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bsd-bg); }
.bsd .bsd-top { display: flex; align-items: center; gap: 12px; height: 48px; flex: none; padding: 0 20px; background: var(--bsd-surface); border-bottom: 1px solid var(--bsd-line); }
.bsd .bsd-search { display: flex; align-items: center; gap: 8px; width: 320px; max-width: 100%; height: 32px; padding: 0 10px; border: 1px solid var(--bsd-line); border-radius: var(--bsd-r-sm); background: var(--bsd-surface-2); color: var(--bsd-ink-4); font-size: 13px; white-space: nowrap; overflow: hidden; }
.bsd .bsd-user { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--bsd-ink); }
.bsd .bsd-user small { display: block; font-size: 12px; line-height: 14px; color: var(--bsd-ink-3); }
.bsd .bsd-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--bsd-navy); color: #fff; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; }
.bsd .bsd-views { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: auto; }
.bsd .bsd-view { padding: 18px 22px 24px; outline: none; }
.bsd .bsd-view[hidden] { display: none; }
.bsd .bsd-view:not([hidden]) { animation: bsdIn .18s ease-out; }
@keyframes bsdIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Erklär-Hinweis je Ansicht */
.bsd .bsd-hint { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; padding: 10px 14px; border-radius: var(--bsd-r); background: var(--bsd-blue-soft); border: 1px solid #d5e4fb; color: var(--bsd-ink); font-size: 13.5px; line-height: 20px; }
.bsd .bsd-hint .bsd-i { color: var(--bsd-blue); margin-top: 2px; }

/* ---------- Seitenkopf ---------- */
.bsd .bsd-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; color: var(--bsd-ink-3); }
.bsd .bsd-crumbs .bsd-i { width: 14px; height: 14px; }
.bsd .bsd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.bsd .bsd-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--bsd-ink); }
.bsd .bsd-sub { margin-top: 2px; font-size: 13px; color: var(--bsd-ink-3); }
.bsd .bsd-actions { display: flex; gap: 8px; flex: none; }

/* Buttons: echte Buttons nur für Klickpfade, sonst reine Darstellung (span) */
.bsd .bsd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap;
  border: 1px solid var(--bsd-line); border-radius: var(--bsd-r-sm); background: var(--bsd-surface); color: var(--bsd-ink);
  cursor: default;
}
.bsd .bsd-btn-primary { background: var(--bsd-blue); border-color: var(--bsd-blue); color: #fff; }
.bsd .bsd-btn-sm { height: 28px; padding: 0 10px; }
.bsd button.bsd-go, .bsd .bsd-link { cursor: pointer; }
.bsd button.bsd-btn.bsd-go:hover { border-color: var(--bsd-blue); color: var(--bsd-blue); }
.bsd .bsd-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--bsd-blue); text-align: left; }
.bsd .bsd-link:hover { text-decoration: underline; }
.bsd :is(.bsd-go, .bsd-link):focus-visible { outline: 2px solid var(--bsd-blue); outline-offset: 2px; }

/* "Hier klicken"-Markierung: kleine Marke neben dem nächsten Klickziel */
.bsd .bsd-cue { display: inline-flex; align-items: center; gap: 6px; height: 20px; margin-left: 8px; padding: 0 8px 0 7px; border-radius: 10px; background: var(--bsd-blue); color: #fff; font-size: 11.5px; line-height: 20px; font-weight: 600; white-space: nowrap; vertical-align: middle; pointer-events: none; }
.bsd .bsd-cue::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: bsdCue 1.6s ease-out infinite; }
.bsd .bsd-list .bsd-cue { margin-left: 0; }
.bsd .bsd-card-foot:has(.bsd-cue) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; }
.bsd .bsd-btn.bsd-cued { border-color: var(--bsd-blue); color: var(--bsd-blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .16); }
@keyframes bsdCue { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); } 70%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }

/* ---------- Karten, Raster ---------- */
.bsd .bsd-card { background: var(--bsd-surface); border: 1px solid var(--bsd-line); border-radius: var(--bsd-r); min-width: 0; }
.bsd .bsd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--bsd-line-2); }
.bsd .bsd-card-title { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--bsd-ink); }
.bsd .bsd-card-sub { font-size: 12.5px; color: var(--bsd-ink-3); }
.bsd .bsd-card-foot { padding: 10px 16px; border-top: 1px solid var(--bsd-line-2); font-size: 12.5px; color: var(--bsd-ink-3); }
.bsd .bsd-grid { display: grid; gap: 14px; }
.bsd .bsd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bsd .bsd-grid-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.bsd .bsd-grid-main { grid-template-columns: minmax(0, 1fr) 256px; align-items: start; }
.bsd .bsd-stack { display: grid; gap: 14px; align-content: start; min-width: 0; }
.bsd .bsd-mt { margin-top: 14px; }

/* Kennzahlen */
.bsd .bsd-kpi { padding: 12px 16px 14px; }
.bsd .bsd-kpi-label { font-size: 12.5px; color: var(--bsd-ink-3); }
.bsd .bsd-kpi-value { margin-top: 4px; font-size: 24px; line-height: 30px; font-weight: 600; color: var(--bsd-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bsd .bsd-kpi-ctx { margin-top: 4px; font-size: 12.5px; color: var(--bsd-ink-3); }
.bsd .bsd-up { color: var(--bsd-ok); font-weight: 500; }
.bsd .bsd-statbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
.bsd .bsd-statbar > div { padding: 10px 16px; border-left: 1px solid var(--bsd-line-2); }
.bsd .bsd-statbar > div:first-child { border-left: 0; }
.bsd .bsd-statbar b { display: block; margin-top: 2px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--bsd-ink); font-variant-numeric: tabular-nums; }
.bsd .bsd-statbar b small { font-size: 12.5px; font-weight: 400; color: var(--bsd-ink-3); margin-left: 4px; }

/* Badges, Punkte, Kanal */
.bsd .bsd-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--bsd-mute-bg); color: var(--bsd-ink-2); }
.bsd .bsd-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bsd .bsd-ok { background: var(--bsd-ok-bg); color: var(--bsd-ok); }
.bsd .bsd-warn { background: var(--bsd-warn-bg); color: var(--bsd-warn); }
.bsd .bsd-err { background: var(--bsd-err-bg); color: var(--bsd-err); }
.bsd .bsd-info { background: var(--bsd-blue-soft); color: var(--bsd-blue); }
.bsd button.bsd-badge { border: 0; font-family: inherit; cursor: pointer; }
.bsd .bsd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bsd-ink-4); flex: none; }
.bsd .bsd-dot.bsd-ok { background: var(--bsd-ok); } .bsd .bsd-dot.bsd-warn { background: #d4900d; } .bsd .bsd-dot.bsd-err { background: var(--bsd-err); } .bsd .bsd-dot.bsd-info { background: var(--bsd-blue); }
.bsd .bsd-channel { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bsd .bsd-channel i { width: 22px; height: 22px; border-radius: 4px; background: var(--bsd-mute-bg); color: var(--bsd-ink-2); font-style: normal; font-size: 10px; font-weight: 600; display: grid; place-items: center; }

/* Reiter (Darstellung) und Filter-Chips */
.bsd .bsd-subtabs { display: flex; gap: 20px; margin-bottom: 14px; border-bottom: 1px solid var(--bsd-line); overflow-x: auto; scrollbar-width: none; }
.bsd .bsd-subtabs span { position: relative; padding: 6px 0 10px; color: var(--bsd-ink-3); font-weight: 500; white-space: nowrap; }
.bsd .bsd-subtabs span.on { color: var(--bsd-ink); }
.bsd .bsd-subtabs span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bsd-blue); border-radius: 2px; }
.bsd .bsd-subtabs em { font-style: normal; font-size: 12px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: var(--bsd-mute-bg); color: var(--bsd-ink-3); }
.bsd .bsd-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--bsd-line); }
.bsd .bsd-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px dashed #cdd3dc; border-radius: 14px; font-size: 13px; color: var(--bsd-ink-2); white-space: nowrap; }
.bsd .bsd-chip.on { border-style: solid; border-color: var(--bsd-blue); background: var(--bsd-blue-soft); color: var(--bsd-blue); }

/* Tabellen */
.bsd .bsd-table-wrap { overflow-x: auto; }
.bsd .bsd-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bsd .bsd-table th { height: 34px; padding: 0 10px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--bsd-ink-3); background: var(--bsd-surface-2); border-bottom: 1px solid var(--bsd-line); }
.bsd .bsd-table td { height: 44px; padding: 6px 10px; border-bottom: 1px solid var(--bsd-line-2); vertical-align: middle; white-space: nowrap; color: var(--bsd-ink-2); }
.bsd .bsd-table tbody tr:last-child td { border-bottom: 0; }
.bsd .bsd-table :is(th, td):first-child { padding-left: 16px; }
.bsd .bsd-table :is(th, td):last-child { padding-right: 16px; }
.bsd .bsd-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.bsd .bsd-table tfoot td { height: 38px; background: var(--bsd-surface-2); border-top: 1px solid var(--bsd-line); border-bottom: 0; }
.bsd .bsd-table tr.bsd-row-go td { background: #f7faff; }
.bsd .bsd-id { font-weight: 500; color: var(--bsd-ink); }
.bsd .bsd-s { display: block; font-size: 12px; line-height: 16px; color: var(--bsd-ink-3); white-space: nowrap; }
.bsd .bsd-mono { font-family: var(--bsd-mono); font-size: 12.5px; }
.bsd .bsd-strong { color: var(--bsd-ink); font-weight: 500; }
.bsd .bsd-muted { color: var(--bsd-ink-3); }
.bsd .bsd-warn-t { color: var(--bsd-warn); }
.bsd .bsd-err-t { color: var(--bsd-err); }
.bsd .bsd-pager { padding: 10px 16px; border-top: 1px solid var(--bsd-line); font-size: 12.5px; color: var(--bsd-ink-3); }

/* Listen */
.bsd .bsd-list li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--bsd-line-2); }
.bsd .bsd-list li:last-child { border-bottom: 0; }
.bsd .bsd-grow { flex: 1; min-width: 0; }
.bsd .bsd-list .bsd-t { color: var(--bsd-ink); font-weight: 500; }
.bsd .bsd-list .bsd-m { font-size: 12.5px; color: var(--bsd-ink-3); }

/* Balken */
.bsd .bsd-bars { display: grid; gap: 14px; padding: 16px; }
.bsd .bsd-bar { display: grid; grid-template-columns: 128px minmax(40px, 1fr) auto 52px; gap: 10px; align-items: center; white-space: nowrap; }
.bsd .bsd-track { height: 8px; border-radius: 4px; background: var(--bsd-mute-bg); overflow: hidden; }
.bsd .bsd-fill { height: 100%; border-radius: 4px; background: var(--bsd-blue); }
.bsd .bsd-bar .r { text-align: right; font-variant-numeric: tabular-nums; }

/* Definitionslisten */
.bsd .bsd-dl { padding: 0 16px; }
.bsd .bsd-dl dt { padding-top: 10px; font-size: 12.5px; color: var(--bsd-ink-3); }
.bsd .bsd-dl dd { padding: 2px 0 10px; color: var(--bsd-ink); border-bottom: 1px solid var(--bsd-line-2); }
.bsd .bsd-dl dd:last-child { border-bottom: 0; }
.bsd .bsd-rows { padding: 0 16px; display: grid; grid-template-columns: 1fr auto; }
.bsd .bsd-rows > * { padding: 9px 0; border-bottom: 1px solid var(--bsd-line-2); }
.bsd .bsd-rows > :nth-last-child(-n+2) { border-bottom: 0; }
.bsd .bsd-rows dt { color: var(--bsd-ink-3); }
.bsd .bsd-rows dd { text-align: right; color: var(--bsd-ink); font-variant-numeric: tabular-nums; }

/* Ablauf */
.bsd .bsd-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 14px 16px 12px; }
.bsd .bsd-step { position: relative; padding-right: 8px; }
.bsd .bsd-step::before { content: ""; position: absolute; top: 10px; left: 22px; right: 0; height: 2px; background: var(--bsd-line); }
.bsd .bsd-step:last-child::before { display: none; }
.bsd .bsd-step.done::before { background: var(--bsd-blue); }
.bsd .bsd-mark { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bsd-surface); border: 2px solid var(--bsd-line); color: #fff; }
.bsd .bsd-mark .bsd-i { width: 13px; height: 13px; stroke-width: 2.5; }
.bsd .bsd-step.done .bsd-mark { background: var(--bsd-blue); border-color: var(--bsd-blue); }
.bsd .bsd-step.now .bsd-mark { border-color: var(--bsd-blue); }
.bsd .bsd-step.now .bsd-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bsd-blue); }
.bsd .bsd-step b { display: block; margin-top: 8px; font-weight: 500; color: var(--bsd-ink); }
.bsd .bsd-step.todo b { font-weight: 400; color: var(--bsd-ink-3); }
.bsd .bsd-step small { display: block; font-size: 12px; line-height: 16px; color: var(--bsd-ink-3); }

/* Summen, Hinweisleiste, Produktbild */
.bsd .bsd-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; width: 290px; max-width: 100%; margin-left: auto; padding: 12px 16px; font-variant-numeric: tabular-nums; }
.bsd .bsd-totals dt { color: var(--bsd-ink-3); }
.bsd .bsd-totals dd { text-align: right; color: var(--bsd-ink); }
.bsd .bsd-totals .sum { padding-top: 6px; border-top: 1px solid var(--bsd-line); font-weight: 600; color: var(--bsd-ink); }
.bsd .bsd-notice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--bsd-r-sm); background: var(--bsd-warn-bg); color: var(--bsd-ink-2); font-size: 13px; }
.bsd .bsd-notice .bsd-i { color: var(--bsd-warn); margin-top: 2px; }
.bsd .bsd-prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bsd .bsd-thumb { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--bsd-r-sm); background: var(--bsd-mute-bg); border: 1px solid var(--bsd-line); color: var(--bsd-ink-4); }
.bsd .bsd-thumb-lg { width: 48px; height: 48px; }
.bsd .bsd-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Hinweis unter dem Fenster */
.bsd .bsd-note { margin-top: 14px; font-size: 13px; color: #5f6878; text-align: center; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .bsd { margin-top: 28px; --bsd-h: auto; }
  .bsd .bsd-win { border-radius: 12px; }
  .bsd .bsd-chrome { display: none; }
  .bsd .bsd-app { display: block; height: auto; }
  .bsd .bsd-brand, .bsd .bsd-nav-label, .bsd .bsd-nav-off { display: none; }
  .bsd .bsd-nav { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bsd .bsd-nav::-webkit-scrollbar { display: none; }
  .bsd .bsd-nav-group { display: contents; }
  .bsd .bsd-tab { width: auto; flex: none; height: 44px; padding: 0 14px; font-size: 14px; scroll-snap-align: start; }
  .bsd .bsd-tab .bsd-count { margin-left: 2px; }
  .bsd .bsd-tab[aria-selected="true"] { background: #fff; color: var(--bsd-navy); box-shadow: none; }
  .bsd .bsd-tab[aria-selected="true"] .bsd-i { color: var(--bsd-blue); }
  .bsd .bsd-top { display: none; }
  .bsd .bsd-views { overflow: visible; }
  .bsd .bsd-view { padding: 14px 14px 18px; }
  .bsd .bsd-head { flex-direction: column; gap: 10px; }
  .bsd .bsd-title { font-size: 19px; line-height: 26px; }
  .bsd .bsd-actions { width: 100%; }
  .bsd .bsd-actions .bsd-btn { flex: 1; justify-content: center; height: 44px; }
  .bsd .bsd-hs, .bsd .bsd-actions .bsd-hs { display: none; }
  .bsd .bsd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bsd .bsd-grid-split, .bsd .bsd-grid-main { grid-template-columns: minmax(0, 1fr); }
  .bsd .bsd-kpi { padding: 10px 12px 12px; }
  .bsd .bsd-kpi-value { font-size: 20px; line-height: 26px; }
  .bsd .bsd-statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsd .bsd-statbar > div:nth-child(3) { border-left: 0; }
  .bsd .bsd-statbar > div:nth-child(n+3) { border-top: 1px solid var(--bsd-line-2); }
  .bsd .bsd-bar { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .bsd .bsd-bar .bsd-track { grid-column: 1 / -1; order: 3; }
  .bsd .bsd-bar .bsd-share { display: none; }
  .bsd .bsd-list li { flex-wrap: wrap; }
  .bsd .bsd-list .bsd-grow { flex-basis: calc(100% - 20px); }
  .bsd .bsd-list li > .bsd-btn { min-height: 44px; margin-left: 20px; }
  .bsd .bsd-list li > .bsd-cue { margin-left: 20px; align-self: center; }
  .bsd .bsd-list li > .bsd-cue + .bsd-btn { margin-left: 0; }
  .bsd .bsd-table td { height: 48px; white-space: normal; }
  .bsd .bsd-table { font-size: 13px; }
  .bsd .bsd-table :is(th, td) { padding-left: 6px; padding-right: 6px; }
  .bsd .bsd-table :is(th, td):first-child { padding-left: 12px; }
  .bsd .bsd-table :is(th, td):last-child { padding-right: 12px; }
  .bsd .bsd-s { white-space: normal; }
  .bsd .bsd-table .r { white-space: nowrap; }
  .bsd .bsd-table .bsd-cue { display: flex; width: max-content; margin: 2px 0; }
  .bsd .bsd-table .bsd-badge { white-space: normal; height: auto; min-height: 22px; padding: 2px 6px; gap: 5px; line-height: 16px; }
  .bsd .bsd-table .bsd-badge::before { flex: none; }
  .bsd .bsd-table .bsd-thumb { display: none; }
  .bsd .bsd-link, .bsd button.bsd-badge { min-height: 44px; display: inline-flex; align-items: center; }
  .bsd .bsd-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bsd .bsd-step { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; padding: 0 0 12px; }
  .bsd .bsd-step::before { top: 22px; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; }
  .bsd .bsd-step b { margin-top: 1px; }
  .bsd .bsd-step small { grid-column: 2; }
  .bsd .bsd-totals { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bsd .bsd-view:not([hidden]) { animation: none; }
  .bsd .bsd-cue::before { animation: none; }
}
