/* Smoothdesk – „neue Linie“ (2026-11-23): one calm SaaS look on top of hub.css.
   One typeface (Inter), one accent, neutral greys; status colours only as small soft badges.
   Loaded after hub.css in every hub page (also admin + partner), so the old rules stay as the fallback. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }

:root { --r: 10px; --r-sm: 7px; --text-2: #c3c8d1; --green-soft: rgba(52,199,89,.16); --amber-soft: rgba(255,176,32,.16); --red-soft: rgba(255,90,82,.16);
  --violet: #a78bfa; --violet-soft: rgba(167,139,250,.16); }
:root[data-theme=light] {
  --bg: #f6f7f9; --bg2: #ffffff; --card: #ffffff; --card2: #f3f5f8; --line: #e6e8ec; --line2: #d5d9e0;
  --text: #1b2230; --text-2: #4a5263; --muted: #6b7385; --accent: #1f6feb; --accent-soft: #edf3fe; --accent-row: #dde9fd;
  --tabbar: #ffffff; --zebra: #fafbfc; --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --green-soft: #ecfdf3; --amber-soft: #fff7e8; --red-soft: #fef2f2; --violet: #7c3aed; --violet-soft: #f4efff;
}
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 14.5px; -webkit-font-smoothing: antialiased; }
b, strong, th, h1, h2, h3, h4 { font-weight: 600; }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -.4px; line-height: 1.2; }
h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.1px; }
h2 .ic { width: 18px; height: 18px; }
.sub { color: var(--muted); }

/* ---- page frame: title on the page background (no white bar), actions right ---------------------------------- */
.page-head { background: none; border: 0; padding: 26px 28px 0; margin-bottom: 20px; align-items: flex-end; }
.page-head .sub { margin-top: 4px; }
.page-view > :not(.page-head) { margin-left: 28px; margin-right: 28px; }
@media (max-width: 760px) { .page-head { padding: 18px 16px 0; } .page-view > :not(.page-head) { margin-left: 16px; margin-right: 16px; } }

/* ---- cards ------------------------------------------------------------------------------------------------- */
.card { border-radius: var(--r); padding: 20px; border-color: var(--line); }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > .od-scroll, .card.flush > table { margin: 0; }
.grid { gap: 16px; }

/* ---- buttons: one height, small radius, grey icons; the main action solid blue ------------------------------ */
.btn { height: 36px; padding: 0 14px; border-radius: var(--r-sm); font-size: 13.5px; gap: 7px; border-color: var(--line2);
  box-shadow: 0 1px 1px rgba(16,24,40,.04); white-space: nowrap; }
.btn .ic { width: 16px; height: 16px; color: var(--text-2); }
.btn:hover { border-color: var(--line2); background: var(--card2); color: var(--text); }
.btn.primary { border-radius: var(--r-sm); padding: 0 16px; }
.btn.primary:hover { filter: brightness(.93); background: var(--primary); }
.btn.danger .ic { color: var(--bad); }
.btn.big { height: 44px; padding: 0 22px; font-size: 15px; }
.btn.small { height: 30px; min-height: 30px; }
td .btn { height: 32px; font-size: 13px; }
.icon-btn { border-radius: var(--r-sm); }

/* ---- forms --------------------------------------------------------------------------------------------------- */
.field > span { font-size: 13px; color: var(--text-2); }
.field input, .field select { height: 38px; border-radius: var(--r-sm); background: var(--card); }
.field textarea { border-radius: var(--r-sm); }
.ar-input { border-radius: var(--r-sm); }
select, input, textarea { max-width: 100%; }

/* ---- segmented control + filter tabs ------------------------------------------------------------------------- */
.seg { border: 0; padding: 3px; gap: 2px; border-radius: 9px; background: var(--card2); }
.seg button { height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
.seg button.active { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(16,24,40,.1); }
.seg button .ic { width: 16px; height: 16px; }
.od-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 9px; background: var(--card2); margin-bottom: 0; max-width: 100%; }
.od-tab { height: 32px; padding: 0 12px; border-radius: 7px; border: 0; background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.od-tab span { min-width: 0; height: auto; padding: 0; background: none; font-size: 12px; color: var(--muted); }
.od-tab:hover { color: var(--text); }
.od-tab.active { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(16,24,40,.1); }
.od-tab.active span { background: none; color: var(--muted); }
.od-tab.od-archive { margin-left: 0; }

/* ---- tables ---------------------------------------------------------------------------------------------- */
th { font-size: 12px; color: var(--muted); font-weight: 600; height: 40px; background: var(--zebra); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { border-bottom: 1px solid var(--line); }
tbody tr:last-child > td { border-bottom: 0; }
.table-foot { border-top: 1px solid var(--line); padding: 10px 14px; font-size: 13px; }

/* ---- status badges: soft colour + dot, never a loud filled pill ------------------------------------------- */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 600;
  white-space: nowrap; background: var(--card2); color: var(--text-2); vertical-align: middle; }
.st:is(.st-neu, .st-in_arbeit, .st-nicht_fertig, .st-kontrollieren, .st-fertig, .st-abgeholt, .st-paid, .st-unpaid)::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.st-neu { background: var(--accent-soft); color: var(--accent); }
.st-in_arbeit { background: var(--violet-soft); color: var(--violet); }
.st-nicht_fertig { background: var(--amber-soft); color: #b45309; }
.st-kontrollieren { background: var(--amber-soft); color: #b45309; }
.st-fertig, .st-paid { background: var(--green-soft); color: #15803d; }
.st-unpaid { background: var(--amber-soft); color: #b45309; }
.st-abgeholt { background: var(--card2); color: var(--muted); }
.st-storniert { background: var(--red-soft); color: var(--bad); border: 0; }
:root:not([data-theme=light]) :is(.st-nicht_fertig, .st-kontrollieren, .st-unpaid) { color: #fbbf24; }
:root:not([data-theme=light]) :is(.st-fertig, .st-paid) { color: #4ade80; }
.chip { border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.pill { border-radius: 6px; }

/* ---- top bar: white, the open pages as quiet tabs; the active tab joins the page ------------------------------ */
.topbar { background: var(--bg2); border-bottom: 1px solid var(--line); }
.tab { height: 34px; font-size: 13.5px; background: var(--card2); border: 1px solid var(--line); border-bottom: 0; box-shadow: none; color: var(--muted);
  border-radius: 8px 8px 0 0; }
.tab:hover { background: var(--line); color: var(--text); }
.tab.active { background: var(--bg); border-color: var(--line); color: var(--text); box-shadow: inset 0 2px 0 var(--accent); border-bottom: 1px solid var(--bg); }
.help-btn { border-color: var(--line); }

/* ---- sidebar: compact rows with rounded hover, active entry tinted (no thick bar) --------------------------- */
.side { padding-top: 10px; }
.brand { padding: 4px 18px 12px; }
.brand span { font-weight: 600; font-size: 15.5px; }
.brand small.brand-sub { font-weight: 600; }
.nav > a, .group-head { height: 36px; margin: 1px 10px; width: calc(100% - 20px); padding: 0 10px; border-radius: var(--r-sm); border-left: 0;
  font-size: 14px; font-weight: 500; color: var(--text-2); gap: 10px; }
.nav > a .ic, .group-head .ic { width: 18px; height: 18px; }
.nav > a:hover, .group-head:hover { background: var(--card2); color: var(--text); }
.nav > a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; border-left: 0; }
.group.current { border-left: 0; background: none; }
.group.current .group-head { padding-left: 10px; color: var(--text); font-weight: 600; }
.sub-nav { padding: 2px 0 6px; }
.sub-nav a, .group.current .sub-nav a { margin: 1px 10px; padding: 6px 10px 6px 38px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--text-2); }
.sub-nav a:hover { background: var(--card2); color: var(--text); }
.sub-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.user-box { padding: 12px 16px 0; }
.app.collapsed .nav > a, .app.collapsed .group-head { margin: 1px 14px; width: calc(100% - 28px); }
.app.collapsed .group.current .group-head { border-left: 0; }
.app.collapsed .sub-nav a, .app.collapsed .group.current .sub-nav a { margin: 1px 8px; padding: 8px 12px; }

/* ---- sidebar modes (Mein Konto → Darstellung): fixed left next to the page instead of the drawer ---------- */
@media (min-width: 761px) {
  .app:is([data-nav=fest], [data-nav=einklappbar]) { grid-template-columns: 264px minmax(0, 1fr); }
  .app[data-nav=einklappbar].collapsed { grid-template-columns: 72px minmax(0, 1fr); }
  .app:is([data-nav=fest], [data-nav=einklappbar]) .side { position: sticky; top: 0; height: 100vh; width: auto; transform: none; visibility: visible;
    box-shadow: none; z-index: 30; transition: none; }
  .app:is([data-nav=fest], [data-nav=einklappbar]) .nav-backdrop, .app:is([data-nav=fest], [data-nav=einklappbar]) .drawer-head,
  .app:is([data-nav=fest], [data-nav=einklappbar]) .top-brand, .app[data-nav=fest] .burger { display: none; }
  .app[data-nav=einklappbar].collapsed .nav-search { display: none; }
  /* einklappbar: the button at the foot of the sidebar folds it (the burger at the tabs is not needed) */
  .app[data-nav=einklappbar] .burger { display: none; }
  .app[data-nav=einklappbar] .collapse-btn { display: flex !important; flex: none; margin: 8px 10px 6px; }
  .app[data-nav=einklappbar].collapsed .collapse-btn { margin: 8px auto 6px; }
  .app[data-nav=einklappbar].collapsed .side { overflow: visible; }
  .app[data-nav=einklappbar].collapsed .brand { padding: 6px 0 14px; }
  .app:is([data-nav=fest], [data-nav=einklappbar]) main { min-width: 0; }
}

/* ---- Aufträge (pilot page of the new line) ----------------------------------------------------------------- */
.od-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.od-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.od-kpi:hover { border-color: var(--line2); }
.od-kpi.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.od-kpi-l { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.od-kpi-l i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.od-kpi b { font-size: 24px; letter-spacing: -.5px; line-height: 1.15; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .od-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .od-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.od-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.od-layout.with-quick { grid-template-columns: minmax(0, 1fr) 360px; }
.od-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.od-searchbox { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); flex: 0 1 280px; min-width: 180px; }
.od-searchbox .ic { width: 15px; height: 15px; color: var(--muted); }
.od-searchbox input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; height: 100%; font-size: 13.5px; padding: 0; width: auto; }
.od-searchbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.od-table td { height: 62px; padding: 8px 12px; vertical-align: middle; }
.od-table th:first-child, .od-table td:first-child { padding-left: 16px; }
.od-table .od-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.od-table tbody tr:hover > td { background: var(--zebra); }
.od-table tbody tr.selected > td, .od-table tbody tr.quick > td { background: var(--accent-soft); }
.od-table tbody tr.quick > td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.od-no { display: flex; align-items: center; gap: 11px; }
.od-no b { font-variant-numeric: tabular-nums; }
.od-no .od-src, .od-line { display: block; font-size: 12.5px; line-height: 1.35; }
.od-thumb, .od-table .od-thumb { width: 40px; height: 40px; flex: none; border-radius: 8px; border: 1px solid var(--line); background: var(--card2); display: grid; place-items: center; overflow: hidden; }
.od-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; background: none; }
.od-thumb .ic { width: 20px; height: 20px; color: var(--muted); }
.od-art { max-width: 280px; }
.od-pays { display: flex; flex-wrap: wrap; gap: 4px; }
.od-pays .st { margin-left: 0; }
.od-r { text-align: right; }
.od-money { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.od-when { white-space: nowrap; font-size: 13px; }
/* quick view */
.od-quick { position: sticky; top: 16px; padding: 0; overflow: hidden; }
.odq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.odq-head .muted { font-size: 12.5px; }
.odq-head h3 { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.odq-pic { margin: 14px 16px 0; height: 170px; border-radius: 10px; background: var(--card2); display: grid; place-items: center; overflow: hidden; }
.odq-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.odq-pic .ic { width: 48px; height: 48px; color: var(--line2); }
.odq-dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; margin: 0; padding: 14px 16px; font-size: 13.5px; }
.odq-dl dt { color: var(--muted); }
.odq-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.odq-steps { display: flex; gap: 4px; padding: 0 16px 14px; }
.odq-steps i { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.odq-steps i.d { background: var(--accent); }
.odq-foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.odq-foot .btn.primary { flex: 1; }
/* bulk actions: a dark bar that floats at the bottom of the page area (sticky – never over the sidebar) */
.page-view > .od-bulk { position: sticky; bottom: 18px; z-index: 20; width: max-content; max-width: calc(100% - 56px); margin: 16px auto 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 7px 8px 7px 16px; border: 0; border-radius: 12px;
  background: #1b2230; color: #fff; box-shadow: 0 12px 32px -8px rgba(16,24,40,.35), 0 4px 8px -4px rgba(16,24,40,.12); }
.page-view > .od-bulk.hidden { display: none; }
.od-bulk > b { font-size: 13.5px; white-space: nowrap; }
.od-bsep { width: 1px; height: 20px; background: rgba(255,255,255,.2); margin: 0 6px; }
.od-bulk .btn, .od-bulk summary.btn { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; height: 32px; }
.od-bulk .btn:hover, .od-bulk summary.btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.od-bulk .btn .ic { color: #cbd2de; }
.od-bulk .btn.primary { background: var(--accent); border-color: var(--accent); }
.od-bulk .btn.primary .ic { color: #fff; }
.od-bulk .muted { color: #aab3c2; }
.od-bulk .btn.danger { background: #c4314b; border-color: #c4314b; color: #fff; }
.od-bulk .btn.danger .ic { color: #fff; }
.od-bulk .btn.danger:hover { background: #a82840; }
.od-bulk input.ar-input { height: 32px; flex: 0 0 170px; width: 170px; min-width: 170px; max-width: 100%; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.od-bulk input.ar-input::placeholder { color: #aab3c2; }
.od-menu { position: relative; }
.od-menu > summary { list-style: none; cursor: pointer; }
.od-menu > summary::-webkit-details-marker { display: none; }
.od-menu > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-135deg); margin: 3px 0 0 2px; }
.od-menu-list { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 210px; padding: 6px; background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px -8px rgba(16,24,40,.25); display: grid; gap: 2px; z-index: 5; }
.od-menu-list button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; font: inherit; font-size: 13.5px; color: var(--text); }
.od-menu-list button:hover { background: var(--card2); }

/* ---- Verwaltung areas: the pages of an area as tabs under the title --------------------------------------- */
.nav-hidden-entry { display: none !important; }
.page-view > .sec-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.sec-tabs a { padding: 0 2px 11px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 13.5px; border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap; }
.sec-tabs a:hover { color: var(--text); }
.sec-tabs a.active { color: var(--text); border-color: var(--accent); }
.page-head:has(+ .sec-tabs) { margin-bottom: 14px; }

/* ---- Lieferschein: whole page visible, zoom pill, „groß anzeigen“, click areas on the paper ------------------ */
.dn-view { padding: 0; display: flex; flex-direction: column; height: calc(100vh - 210px); min-height: 520px; overflow: hidden; background: var(--card2); }
.dn-zoom { align-self: center; margin: 12px 0 0; display: flex; align-items: center; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line);
  border-radius: 9px; box-shadow: var(--shadow); z-index: 2; }
.dn-zoom .icon-btn { width: 30px; height: 30px; border: 0; background: none; }
.dn-zoom .icon-btn .ic { width: 17px; height: 17px; }
.dn-zv { border: 0; background: none; height: 30px; padding: 0 10px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.dn-zv.active { background: var(--card2); color: var(--text); }
.dn-stage { flex: 1; min-height: 0; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 16px; }
.dn-view:not(.zoomed) .dn-paper { height: 100%; width: auto; max-width: 100%; }
.dn-paper { position: relative; flex: none; aspect-ratio: 210 / 297; border-radius: 3px; box-shadow: 0 10px 30px -10px rgba(16,24,40,.25), 0 2px 6px rgba(16,24,40,.06); }
.dn-view.zoomed .dn-paper { height: auto; }
.dn-hint { margin: 0; padding: 0 16px 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.dn-hint:empty { display: none; }
.dn-view.dn-big { position: fixed; inset: 0; z-index: 400; height: auto; border-radius: 0; border: 0; background: rgba(20,24,32,.88); }
.dn-view.dn-big .dn-hint { color: #cbd2de; }
.dn-hot { position: absolute; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 3px; }
.dn-hot span { display: none; position: absolute; left: -2px; top: -22px; background: var(--accent); color: #fff; font: 600 11.5px/1 Inter, sans-serif;
  padding: 4px 7px; border-radius: 5px; white-space: nowrap; pointer-events: none; z-index: 3; }
.dn-hot:hover, .dn-hot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.dn-hot:hover span, .dn-hot:focus-visible span { display: block; }
.dn-side .card.dn-flash { animation: dn-flash 1.2s ease-out; }
@keyframes dn-flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: var(--shadow); } }
@media (max-width: 1100px) { .dn-view { height: 70vh; } }
.dn-paper { overflow: visible; background: #fff; }

/* ---- small text button (card links like „Alle ansehen“) ------------------------------------------------------- */
.link-btn { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- customer page (Kundenstamm): head with contact line, key figures, six equal tiles ---------------------- */
.cu-top { padding: 18px 28px 0; margin: 0 !important; }
.cu-top .btn { height: 32px; font-size: 13px; }
.cu-head { padding-top: 14px; align-items: center; }
.cu-head-main { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 420px; }
.cu-av { width: 54px; height: 54px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, #2b3a55, #1b2230); }
.cu-head-text { min-width: 0; }
.cu-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.cu-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 5px; font-size: 13.5px; color: var(--text-2); }
.cu-meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.cu-meta .ic { width: 15px; height: 15px; color: var(--muted); }
.cu-meta a { color: inherit; text-decoration: none; }
.cu-meta a:hover { color: var(--accent); }
.cu-more { position: relative; }
.cu-more > summary { list-style: none; font-size: 18px; letter-spacing: 1px; padding: 0 12px; }
.cu-more > summary::-webkit-details-marker { display: none; }
.cu-more-list { top: calc(100% + 6px); bottom: auto; right: 0; left: auto; }
.cu-more-list button { display: flex; align-items: center; gap: 8px; }
.cu-more-list .ic { width: 16px; height: 16px; color: var(--muted); }
.cu-tabs .cu-n { font-size: 11.5px; color: var(--muted); background: var(--card2); border-radius: 99px; padding: 0 7px; margin-left: 4px; }
.cu-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.cu-kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cu-kpi span { color: var(--muted); font-size: 12.5px; }
.cu-kpi b { font-size: 22px; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.cu-kpi small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
@media (max-width: 1150px) { .cu-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cu-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cu-tiles { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.cu-tile { display: flex; flex-direction: column; min-height: 230px; min-width: 0; padding: 16px 18px; }
.cu-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cu-card-h h2 { margin: 0; font-size: 14.5px; }
.cu-tile .cu-dl { margin: 0; font-size: 13.5px; grid-template-columns: 92px minmax(0, 1fr); }
.cu-tile-foot { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.cu-rows { display: grid; }
.cu-row { display: flex; align-items: center; gap: 11px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; min-width: 0; }
.cu-row:last-child { border-bottom: 0; }
a.cu-row:hover b { color: var(--accent); }
.cu-row .od-thumb { width: 36px; height: 36px; }
.cu-row-t { flex: 1; min-width: 0; display: grid; }
.cu-row-t b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-row-t small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-clip { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cu-empty { flex: 1; display: grid; place-content: center; text-align: center; gap: 10px; color: var(--muted); font-size: 13px; padding: 10px; }
.cu-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cu-thumbs a { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); background: var(--card2) url() center/contain no-repeat; display: grid; place-items: center; overflow: hidden; }
.cu-thumbs img { max-width: 86%; max-height: 86%; object-fit: contain; }
.cu-tile .cu-shops li { gap: 11px; }
.cu-shoppick { margin-top: auto; width: 100%; }
.cu-tile .cu-speclist { margin: 0 0 6px; padding-left: 18px; font-size: 13.5px; }
.cu-shoppick { flex: none; height: 38px; }

/* ---- small screens: menus of tabs wrap instead of running out to the right (audit 2026-11-23) ------------------ */
@media (max-width: 760px) {
  .rs-nav { flex-wrap: wrap; overflow-x: visible; }
  .page-view > .sec-tabs { flex-wrap: wrap; gap: 4px 18px; overflow-x: visible; }
  .page-head .seg, .page-head .row { max-width: 100%; }
  .page-head .seg { display: flex; flex-wrap: wrap; }
  .od-tabs { display: flex; }
  .od-searchbox { flex: 1 1 100%; margin-left: 0; }
  .cu-head .row { width: 100%; }
}
.ft-head span { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 700px) { .od-kpis { display: none; } }   /* phone: the tabs carry the same numbers */
.od-layout.with-quick { grid-template-columns: minmax(0, 1fr) 320px; }
.od-art { max-width: 240px; }

/* the hidden attribute always wins (e.g. the Stick Hub, hidden for now) */
[hidden] { display: none !important; }
