/* CompuMac Partnerportal (27.10.2026) — dieselbe Sprache wie das Serviceportal (portal/src/styles.css) und die Website:
   Hintergrund #f5f5f7, weiße Karten mit großem Radius, Tinte #1d1d1f, gedämpft #626269, Linie #e5e5ea, Blau #0066cc, Pillen-
   Knöpfe ab 44 px, Systemschrift. Hell und dunkel (Inhaber-Regel „Dark Mode immer mit“): jede Farbe über eine Variable, im
   Dunkelmodus neu gesetzt. Keine Schriftdatei, kein CDN, keine Inline-Stile (CSP `style-src 'self'`). Mobil zuerst: Tabellen
   werden unter 760 px zu Karten (jede Zelle trägt ihr Etikett in `data-label`). */

:root {
  --label: #1d1d1f;
  --label-2: #626269;
  --label-3: #6e6e73;
  --bg: #f5f5f7;
  --card: #ffffff;
  --card-2: #fbfbfd;
  --field: #f5f5f7;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.07);
  --separator: #e5e5ea;
  --hairline: rgba(0, 0, 0, 0.06);
  --blue: #0066cc;
  --blue-tint: #edf4ff;
  --blue-ring: rgba(0, 102, 204, 0.28);
  --solid: #0066cc;
  --solid-press: #005bb8;
  --green: #1a7f37;
  --green-tint: rgba(36, 138, 61, 0.11);
  --orange: #b25000;
  --orange-tint: rgba(255, 149, 0, 0.14);
  --red: #c4281c;
  --red-tint: rgba(255, 59, 48, 0.1);
  /* Anpassungen (Runde d): Lila wie Apples „wartet“-Kennzeichen, deutlich anders als offen (Orange) und zu viel (Rot). */
  --purple: #7a3fd6;
  --purple-tint: rgba(122, 63, 214, 0.1);
  --row-group: #f5f5f7;
  --dot-ring: rgba(0, 0, 0, 0.18);
  --glass: rgba(255, 255, 255, 0.9);
  --blur: saturate(140%) blur(18px);
  --shadow: 0 2px 4px rgba(29, 29, 31, 0.02), 0 12px 32px -20px rgba(29, 29, 31, 0.2);
  --radius: 22px;
  --radius-s: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --label: #f5f5f7;
    --label-2: #acacaf;
    --label-3: #98989d;
    --bg: #000000;
    --card: #161618;
    --card-2: #1c1c1f;
    --field: #232326;
    --fill: rgba(118, 118, 128, 0.26);
    --fill-2: rgba(118, 118, 128, 0.16);
    --separator: #37373f;
    --hairline: rgba(255, 255, 255, 0.07);
    --blue: #47a3ff;
    --blue-tint: #0d1a2b;
    --blue-ring: rgba(71, 163, 255, 0.35);
    --green: #30d158;
    --green-tint: rgba(48, 209, 88, 0.15);
    --orange: #ff9f0a;
    --orange-tint: rgba(255, 159, 10, 0.17);
    --red: #ff6961;
    --red-tint: rgba(255, 105, 97, 0.15);
    --purple: #c8a2ff;
    --purple-tint: rgba(191, 139, 255, 0.16);
    --row-group: #1f1f22;
    --dot-ring: rgba(255, 255, 255, 0.45);
    --glass: rgba(22, 22, 24, 0.9);
    /* Weiß auf Blau bleibt in beiden Modi das Blau der Website-Knöpfe (wie im Serviceportal). */
    --solid: #0066cc;
    --solid-press: #005bb8;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 32px -20px rgba(0, 0, 0, 0.9);
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--card); --blur: none; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--label); font: 17px/1.47 var(--font); letter-spacing: -0.022em; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.4em; text-wrap: balance; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: 21px; line-height: 1.2; letter-spacing: -0.028em; font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 0.8em; }
:focus-visible { outline: 3px solid var(--blue-ring); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--label); padding: 10px 14px; border-radius: 12px; z-index: 60; }
.skip:focus { left: 12px; }

/* Kopfzeile: Glas wie Website und Serviceportal */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 1px 0 var(--hairline); padding-top: env(safe-area-inset-top); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none !important; }
.wordmark-img { display: block; height: 26px; width: auto; }
@media (prefers-color-scheme: dark) { .wordmark-img { filter: invert(1); } }
.wordmark-sub { font: 650 11px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--label-2); border: 1px solid var(--separator); border-radius: 980px; padding: 5px 9px 4px; }
.top-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who { color: var(--label-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }

.main { flex: 1; width: 100%; outline: none; }
.page { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; animation: rise 0.5s var(--ease) both; }
.page--narrow { max-width: 560px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.page-head h1 { margin: 0; }
.eyebrow { color: var(--label-2); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.muted { color: var(--label-2); }
.small { font-size: 14px; line-height: 1.45; }
.footer { color: var(--label-3); font-size: 12px; text-align: center; padding: 26px 16px calc(26px + env(safe-area-inset-bottom)); }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--label-2); }
.footer-mark { display: block; margin: 0 auto 6px; width: max-content; opacity: 0.7; }
.footer-mark .wordmark-img { height: 20px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } * { transition: none !important; } }

/* Karten */
.card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card > :last-child { margin-bottom: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border-radius: var(--radius-s); padding: 14px 16px; box-shadow: var(--shadow); }
.stat-label { font-size: 13px; color: var(--label-2); font-weight: 600; }
.stat-value { font: 700 26px/1.1 var(--font-display); letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat--open .stat-value { color: var(--orange); }
.stat--done .stat-value { color: var(--green); }

/* Knöpfe */
.btn { -webkit-appearance: none; appearance: none; border: 0; border-radius: 99px; padding: 10px 18px; font: 600 16px/1.2 var(--font); letter-spacing: -0.02em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; text-decoration: none !important; transition: background 0.16s var(--ease), transform 0.2s var(--ease); background: var(--fill); color: var(--label); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--solid); color: #fff; }
.btn--primary:hover { background: var(--solid-press); }
.btn--tinted { background: var(--blue-tint); color: var(--blue); }
.btn--plain { background: transparent; color: var(--blue); padding-left: 10px; padding-right: 10px; }
.btn--danger { background: var(--red-tint); color: var(--red); }
.btn--small { min-height: 36px; padding: 6px 13px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.is-busy { opacity: 0.7; cursor: progress; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.row--end { justify-content: flex-end; }

/* Felder */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 600; color: var(--label-2); }
.field-hint { font-size: 13px; color: var(--label-3); }
input, select, textarea { font: 17px/1.35 var(--font); color: var(--label); background: var(--field); border: 1px solid transparent; border-radius: 12px; padding: 11px 13px; width: 100%; min-height: 46px; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--blue); }
.input-qty { max-width: 110px; text-align: right; font-variant-numeric: tabular-nums; }
.input-code { font: 600 28px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.3em; text-align: center; }
.fields-2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; min-height: 44px; }

/* Meldungen */
.notice { border-radius: var(--radius-s); padding: 12px 14px; margin: 0 0 14px; font-size: 15px; background: var(--blue-tint); color: var(--label); }
.notice--error { background: var(--red-tint); color: var(--red); }
.notice--ok { background: var(--green-tint); color: var(--green); }
.notice--warn { background: var(--orange-tint); color: var(--orange); }

/* Kennzeichen */
.badge { display: inline-block; font-size: 12px; font-weight: 650; padding: 3px 8px; border-radius: 99px; background: var(--fill); color: var(--label-2); white-space: nowrap; }
.badge--open { background: var(--orange-tint); color: var(--orange); }
.badge--done { background: var(--green-tint); color: var(--green); }
.badge--unknown { background: var(--red-tint); color: var(--red); }
.badge--test { background: var(--blue-tint); color: var(--blue); }
/* Mehr geliefert als bestellt (Inhaber 27.10.2026: angenommen, deutlich rot) — kräftiger als „unbekannt“. */
.badge--over { background: var(--red); color: var(--card); }

/* Tabellen: am Rechner Tabelle, am Handy Karten */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table.list { width: 100%; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; font-size: 12px; font-weight: 650; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 8px; border-bottom: 1px solid var(--separator); white-space: nowrap; }
table.list td { padding: 10px 8px; border-bottom: 1px solid var(--separator); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.list tr.is-link { cursor: pointer; }
table.list tr.is-link:hover td { background: var(--fill-2); }
.sku { font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--label-2); word-break: break-all; }
.total-row td { font-weight: 700; }
@media (max-width: 760px) {
  table.list thead { display: none; }
  table.list, table.list tbody, table.list tr, table.list td { display: block; width: 100%; }
  table.list tr { background: var(--card-2); border-radius: var(--radius-s); padding: 8px 12px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--hairline); }
  table.list td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  table.list td::before { content: attr(data-label); color: var(--label-2); font-size: 13px; font-weight: 600; text-align: left; flex: none; }
  table.list td.cell-main { display: block; text-align: left; font-size: 16px; }
  table.list td.cell-main::before { content: none; }
  table.list .num { text-align: right; }
}

/* Listen (Lieferungen, Kommentare, Verlauf) */
.items { list-style: none; margin: 0; padding: 0; }
.items > li { padding: 12px 0; border-bottom: 1px solid var(--separator); }
.items > li:last-child { border-bottom: 0; }
.item-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.item-meta { font-size: 13px; color: var(--label-2); }
.serials { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--label-2); word-break: break-word; }
.comment-body { white-space: pre-wrap; margin: 4px 0 0; }

/* Reiter innerhalb einer Bestellung */
.tabs { display: flex; gap: 4px; background: var(--fill-2); padding: 4px; border-radius: 99px; margin: 0 0 16px; overflow-x: auto; }
.tabs button { flex: 1 0 auto; border: 0; background: transparent; color: var(--label-2); font: 600 15px/1 var(--font); padding: 10px 14px; border-radius: 99px; cursor: pointer; min-height: 40px; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--label); box-shadow: var(--shadow); }

/* Dialog-Formulare (Liefertermin, Lieferung, …) */
dialog { border: 0; border-radius: var(--radius); padding: 0; background: var(--card); color: var(--label); width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 40px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
dialog::backdrop { background: rgba(0, 0, 0, 0.4); }
.dialog-body { padding: 20px; overflow-y: auto; max-height: calc(100dvh - 120px); }
.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--separator); flex-wrap: wrap; }
.progress-wrap { min-width: 90px; }
dialog.is-wide { width: min(1000px, calc(100% - 24px)); }
progress.bar { -webkit-appearance: none; appearance: none; width: 100%; min-width: 80px; height: 6px; border: 0; border-radius: 99px; background: var(--fill); overflow: hidden; vertical-align: middle; }
progress.bar::-webkit-progress-bar { background: var(--fill); border-radius: 99px; }
progress.bar::-webkit-progress-value { background: var(--green); border-radius: 99px; }
progress.bar::-moz-progress-bar { background: var(--green); border-radius: 99px; }
textarea.serials { min-height: 52px; font-size: 14px; }
@media (max-width: 760px) { table.list td input, table.list td textarea { max-width: 60%; } table.list td .input-qty { max-width: 110px; } }

/* Runde c: Umschalter „Je Bestellung | Je Artikel“, Suche, aufklappbare Artikel */
.toolbar { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tabs--inline { margin: 0; flex: 0 1 auto; }
.toolbar-search { flex: 1 1 240px; min-width: 0; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.article-sum { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; align-items: center; padding: 4px 0; min-height: 44px; }
.article-sum::before { content: "›"; color: var(--label-3); font-size: 20px; transition: transform 0.2s var(--ease); }
details[open] > .article-sum::before { transform: rotate(90deg); }
.article-name { flex: 1 1 260px; min-width: 0; }
.article-nums { font-size: 14px; color: var(--label-2); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Runde d: Übersicht, Schnellfilter, Anpassungen */
.chips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-label { font-size: 12px; font-weight: 650; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.04em; min-width: 72px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--separator); background: var(--card); color: var(--label); border-radius: 99px; padding: 6px 12px; font: 500 14px/1.2 var(--font); min-height: 36px; cursor: pointer; transition: background 0.15s var(--ease), border-color 0.15s var(--ease); }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--card); }
.chip-count { font-size: 12px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.chip.is-on .chip-count { color: var(--card); opacity: 0.8; }
.chip--clear { border-style: dashed; color: var(--blue); }
.sumbar { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; background: var(--card); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 12px 16px; margin-bottom: 12px; position: sticky; top: 56px; z-index: 5; }
.sum { display: inline-flex; align-items: baseline; gap: 6px; }
.sum-value { font: 700 20px/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sum-label { font-size: 13px; color: var(--label-2); }
.sum--open .sum-value { color: var(--orange); }
.sum--done .sum-value { color: var(--green); }
.sum--over .sum-value { color: var(--red); }
.sum--adj .sum-value { color: var(--purple); }
.card--table { padding: 6px 0; }
table.grid { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
table.grid thead th { position: sticky; top: 112px; z-index: 4; background: var(--card); text-align: left; font-size: 12px; font-weight: 650; color: var(--label-2); text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 12px; border-bottom: 1px solid var(--separator); white-space: nowrap; }
table.grid td, table.grid tbody th { padding: 8px 12px; border-bottom: 1px solid var(--hairline); vertical-align: middle; text-align: left; font-weight: 400; }
table.grid .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; width: 90px; }
table.grid .date { white-space: nowrap; font-variant-numeric: tabular-nums; width: 120px; }
table.grid .bar-cell { width: 120px; }
table.grid tr.row-model > * { background: var(--row-group); font-weight: 700; font-size: 16px; padding-top: 12px; }
table.grid tr.row-storage > * { font-weight: 650; color: var(--label-2); }
table.grid tr.row-storage > th { padding-left: 24px; }
table.grid tr.row-art > td.cell-main { padding-left: 32px; }
table.grid tr.is-link { cursor: pointer; }
table.grid tr.row-art:hover > * { background: var(--fill-2); }
table.grid tr.row--adj > * { background: var(--purple-tint); }
table.grid tr.row--adj > td.cell-main { box-shadow: inset 3px 0 0 var(--purple); }
table.grid tr.row--over .num { color: var(--red); }
table.grid tr.row-detail > td { background: var(--card-2); padding: 4px 12px 10px 48px; }
.art-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; font: inherit; color: var(--label); cursor: pointer; text-align: left; min-height: 36px; }
.art-toggle::before { content: "›"; color: var(--label-3); font-size: 18px; width: 10px; transition: transform 0.2s var(--ease); }
.art-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.art-color { font-weight: 600; }
.open-num { color: var(--orange); font-weight: 700; }
.done-num { color: var(--green); }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mini td { padding: 6px 8px; border-bottom: 1px solid var(--hairline); }
table.mini .num { text-align: right; font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--dot-ring); }
.dot--black { background: #1d1d1f; }
.dot--white { background: #fbfbfd; }
.dot--silver { background: #d8d8dc; }
.dot--gold { background: #e3c99a; }
.dot--blue { background: #3d6ea8; }
.dot--red { background: #a3242f; }
.dot--green { background: #5f8a65; }
.dot--pink { background: #f1b6c5; }
.dot--purple { background: #8e74c4; }
.dot--yellow { background: #f2d45c; }
.dot--orange { background: #e2793a; }
.dot--gray { background: #8e8e93; }
.dot--other { background: transparent; box-shadow: inset 0 0 0 2px var(--label-3); }
td.cell-main .badge { margin-left: 6px; }
.toolbar-search input { background: var(--card); border: 1px solid var(--separator); }
.badge--adj { background: var(--purple-tint); color: var(--purple); }
.notice--adj { background: var(--purple-tint); color: var(--purple); }
.card--adj { box-shadow: inset 0 0 0 2px var(--purple), var(--shadow); }
.items > li.item--adj { box-shadow: inset 3px 0 0 var(--purple); padding-left: 12px; }
@media (max-width: 760px) {
  .sumbar { top: 56px; gap: 4px 14px; padding: 10px 12px; }
  .sum-value { font-size: 17px; }
  .chip-label { min-width: 0; width: 100%; }
  table.grid thead { display: none; }
  table.grid, table.grid tbody, table.grid tr, table.grid td, table.grid tbody th { display: block; width: 100%; }
  table.grid tr.row-model, table.grid tr.row-storage { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 4px 4px; }
  table.grid tr.row-model > *, table.grid tr.row-storage > * { display: inline; width: auto; background: none; border: 0; padding: 0; }
  table.grid tr.row-model > .bar-cell, table.grid tr.row-storage > .bar-cell, table.grid tr.row-model > .date, table.grid tr.row-storage > .date { display: none; }
  table.grid tr.row-model > th { flex: 1 0 100%; font-size: 19px; }
  table.grid tr.row-storage > th { flex: 1 0 100%; padding-left: 0; }
  /* Eine Karte je Artikel: Name oben, darunter die Zahlen in einer Zeile, der Balken unten. */
  table.grid tr.row-art { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; background: var(--card-2); border-radius: var(--radius-s); margin: 6px 0; padding: 8px 12px; box-shadow: inset 0 0 0 1px var(--hairline); }
  table.grid tr.row-art > td { display: inline-flex; gap: 4px; align-items: baseline; width: auto; border: 0; padding: 2px 0; font-size: 15px; }
  table.grid tr.row-art > td::before { content: attr(data-label); color: var(--label-2); font-size: 12px; font-weight: 500; order: 2; }
  table.grid tr.row-art > td.cell-main { display: block; flex: 1 0 100%; padding-left: 0; }
  table.grid tr.row-art > td.cell-main::before, table.grid tr.row-art > td.bar-cell::before, table.grid tr.row-art > td:last-child:not(.bar-cell)::before { content: none; }
  table.grid tr.row-art > td.bar-cell { display: block; flex: 1 0 100%; }
  table.grid tr.row-model > td::after, table.grid tr.row-storage > td::after { content: " " attr(data-label); font-size: 12px; font-weight: 500; color: var(--label-2); }
  table.grid .num, table.grid .date, table.grid .bar-cell { width: auto; }
  table.grid tr.row-detail > td { padding: 4px 0 10px; background: none; }
  table.mini tr { display: block; border-bottom: 1px solid var(--hairline); padding: 6px 0; }
  table.mini td { display: inline-block; border: 0; padding: 2px 8px 2px 0; }
  table.mini td.num::before, table.mini td.date::before { content: attr(data-label) " "; color: var(--label-3); font-size: 12px; }
  .card--card-table { padding: 0; }
}
.row-actions { display: flex; gap: 4px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
table.list tr.row--adj td { background: var(--purple-tint); }
table.list tr.row--adj td.cell-main { box-shadow: inset 3px 0 0 var(--purple); }
@media (max-width: 760px) { .row-actions { justify-content: flex-start; } table.list tr.row--adj { box-shadow: inset 3px 0 0 var(--purple); background: var(--purple-tint); } }
