/* MitaBase Pro — a product of ETMITA · https://etmita.com
   Copyright © ETMITA. All rights reserved. */
/* ════════════════════════════════════════════════════════════════
   SYSTEMEINSTELLUNGEN v3 — the control room, a real page.

   The page is src/features/settings/settings.page.ts →
   public/js/pages/settings.js; this sheet holds every .st3-* rule.
   Token-native under .mt-scope. The frame Disposition and Stammdaten
   use: a tab bar in a white panel, then one section per card — the head
   (icon tile, title, one sentence) in a fixed left column, the fields in
   the right, so every card shares one left edge and one rhythm; a card
   with a table puts its head on top. One save bar per pane, sticky at
   the bottom (v4, 2026-09-17).
   ════════════════════════════════════════════════════════════════ */

.st3 { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 40px; }
.st3-ic { flex: 0 0 auto; }

/* ── header ─────────────────────────────────────────────────────── */
.st3-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st3-title { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--font-display), "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--text-primary); }
.st3-sub { margin: 4px 0 0; font-size: .74rem; color: var(--text-muted); max-width: 78ch; line-height: 1.55; }

/* ── the tab bar: the same segmented control Disposition and
   Stammdaten switch views with, in its own white panel ─────────────── */
.st3-tabbar { display: flex; align-items: center; padding: 8px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface-card); box-shadow: var(--shadow-sm); overflow-x: auto; }
.st3-tabs { display: flex; flex: 1 1 auto; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-inset); }
.st3-tab { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--text-secondary); font: inherit; font-size: .78rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.st3-tab:hover { color: var(--text-primary); }
.st3-tab.is-on { background: var(--surface-card); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow-sm); }
.st3-tab.is-on .st3-ic { color: var(--accent); }
.st3-tab:focus-visible { outline: 2px solid var(--accent-fill-solid); outline-offset: 2px; }
.st3-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* one section under the other, each the full width — no two cards of
   different height ever sit side by side */
.st3-pane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st3-pane.hidden { display: none !important; }
.st3-intro { margin: 0 0 2px; padding: 0 4px; font-size: .8rem; line-height: 1.55; color: var(--text-secondary); max-width: 90ch; }

/* ── the save bar: what is unsaved, and the two answers ─────────── */
.st3-bar { position: sticky; inset-block-end: 12px; z-index: 5; }
.st3-bar:empty { display: none; }
.st3-bar-in { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border: 1px solid var(--border-default); border-radius: 14px; background: var(--surface-card); box-shadow: var(--shadow-lg); animation: st3BarIn .2s ease both; }
@keyframes st3BarIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st3-bar-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--status-expiring); flex: 0 0 auto; }
.st3-bar-txt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.st3-bar-txt b { font-size: .8rem; color: var(--text-primary); }
.st3-bar-txt span { font-size: .72rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── cards: head left, body right; a wide card stacks them ─────────
   The head column is fixed, so the fields of every card on a pane start
   at the same x; the slot beside the body holds the one control that
   belongs to the title (a master switch, the primary action). */
.st3-card { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); grid-template-areas: "head body"; gap: 14px 32px; align-items: start; min-width: 0; padding: 18px 20px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface-card); box-shadow: var(--shadow-sm); animation: st3Fade .18s ease both; }
.st3-card.has-slot { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) auto; grid-template-areas: "head body slot"; }
.st3-card.is-wide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
.st3-card.is-wide.has-slot { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head slot" "body body"; }
@keyframes st3Fade { from { opacity: 0; } to { opacity: 1; } }
.st3-card.is-danger { border-color: var(--status-expired-soft); }
.st3-card.is-danger .st3-card-title { color: var(--status-expired); }
.st3-card-head { grid-area: head; display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.st3-card-ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; background: var(--surface-inset); color: var(--accent); }
.st3-card-t { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; padding-block-start: 2px; }
.st3-card-title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .9rem; font-weight: 800; line-height: 1.3; color: var(--text-primary); }
.st3-card-slot { grid-area: slot; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-height: 36px; }
.st3-card-body { grid-area: body; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st3-headswitch { display: flex; align-items: center; gap: 10px; }
.st3-headswitch .st3-lbl { margin: 0; }
.st3-dirty { width: 8px; height: 8px; border-radius: 999px; background: var(--status-expiring); margin-inline-start: 2px; }
.st3-hint { margin: 0; font-size: .72rem; color: var(--text-muted); line-height: 1.55; max-width: 60ch; }
.st3-card-foot { display: flex; align-items: center; gap: 10px; margin-block-start: 2px; }
.st3-card-foot > span:empty { flex: 1; }
.st3-card-foot > .st3-ro, .st3-card-foot > .st3-hint { flex: 1; }
.st3-ro { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .76rem; color: var(--text-secondary); line-height: 1.55; }
.st3-link { font-size: .76rem; font-weight: 700; color: var(--accent-text); }
.st3-banner { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 10px; font-size: .74rem; font-weight: 600; line-height: 1.45; }
.st3-banner.is-warn { background: var(--status-expiring-soft); color: var(--status-expiring); }
.st3-banner.is-ok { background: var(--status-valid-soft); color: var(--status-valid); }
.st3-topbanner { margin: 0; }

/* ── form primitives ────────────────────────────────────────────── */
/* fields flow into as many columns as the body is wide; inputs sit on
   one baseline whatever their label wraps to */
.st3-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 16px; align-items: end; }
.st3-span-all { grid-column: 1 / -1; }
.st3-formrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st3-formrow .st3-in { flex: 1; min-width: 150px; }
.st3-lbl { display: flex; align-items: center; gap: 6px; margin-block-end: 4px; font-size: .68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.st3-tipdot { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 999px; background: var(--surface-inset); color: var(--text-muted); font-size: .6rem; font-weight: 800; cursor: help; text-transform: none; }
.st3-in { width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--field-ground); color: var(--text-primary); font: inherit; font-size: .8rem; }
.st3-in.is-num { max-width: 140px; font-variant-numeric: tabular-nums; }
/* a number with its unit and its allowed range on one line (Aufbewahrung) */
.st3-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st3-inline .st3-in.is-num { max-width: 96px; }
.st3-unit { font-size: .8rem; font-weight: 600; color: var(--text-secondary); }
.st3-hint.is-inline { font-size: .68rem; }
.st3-in.is-wide { width: 100%; }
.st3-in:focus-visible { outline: 2px solid var(--accent-fill-solid); outline-offset: 1px; }
.st3-rowline { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.st3-rowline .st3-lbl { margin: 0; }
.st3-rowline.is-matrix { border-block-end: 1px solid var(--border-subtle); padding-block: 4px; }
.st3-matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); column-gap: 36px; }

/* the segmented choice: every option visible, one tap */
.st3-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--field-ground); width: fit-content; max-width: 100%; }
.st3-seg-btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text-secondary); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; transition: background .15s ease, color .15s ease; }
.st3-seg-btn:hover { background: var(--surface-hover); color: var(--text-primary); }
.st3-seg-btn.is-on { background: var(--accent-fill-solid); color: var(--accent-contrast); }
.st3-seg-btn:focus-visible { outline: 2px solid var(--accent-fill-solid); outline-offset: 2px; }

/* "Erweitert": the numbers most companies never need to touch */
.st3-adv { border-block-start: 1px solid var(--border-subtle); padding-block-start: 10px; }
.st3-adv > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; font-size: .74rem; font-weight: 700; color: var(--text-secondary); list-style: none; }
.st3-adv > summary::-webkit-details-marker { display: none; }
.st3-adv > summary::before { content: ""; width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
[dir="rtl"] .st3-adv > summary::before { transform: rotate(45deg); }
.st3-adv[open] > summary::before { transform: rotate(45deg); }
[dir="rtl"] .st3-adv[open] > summary::before { transform: rotate(-45deg); }
.st3-adv[open] > summary { margin-block-end: 10px; }

/* the switch */
.st3-switch { position: relative; width: 44px; height: 26px; border: 1px solid var(--border-default); border-radius: 999px; background: var(--surface-inset); cursor: pointer; flex: 0 0 auto; padding: 0; }
.st3-switch span { position: absolute; inset-block-start: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 999px; background: var(--surface-card); box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.st3-switch.is-on { background: var(--accent-fill-solid); border-color: transparent; }
.st3-switch.is-on span { transform: translateX(18px); }
.st3-switch:focus-visible { outline: 2px solid var(--accent-fill-solid); outline-offset: 2px; }
[dir="rtl"] .st3-switch.is-on span { transform: translateX(-18px); }

/* ── the logo ───────────────────────────────────────────────────── */
.st3-brandrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.st3-brand-logo { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface-inset); }
.st3-brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.st3-brand-initial { font-family: var(--font-display), "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--text-secondary); }
.st3-brandacts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── counts and facts: a number with a word under it, a value with a
   label over it — the tiles Disposition counts with ───────────────── */
.st3-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.st3-kpi { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-inset); }
.st3-kpi-ic { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-card); color: var(--accent); }
.st3-kpi-v { font-family: var(--font-display), "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.st3-kpi-l { margin-block-start: 3px; font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.st3-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.st3-fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 9px 12px; border-radius: 12px; background: var(--surface-inset); }
.st3-fact span { font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.st3-fact b { font-size: .82rem; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── tables ─────────────────────────────────────────────────────── */
.st3-iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--text-muted); cursor: pointer; flex: 0 0 auto; }
.st3-iconbtn:hover { background: var(--surface-hover); color: var(--text-primary); }
.st3-iconbtn.is-danger:hover { background: var(--status-expired-soft); color: var(--status-expired); }
.st3-tablewrap { overflow-x: auto; }
.st3-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.st3-table th { text-align: start; padding: 7px 9px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); border-block-end: 1px solid var(--border-subtle); }
.st3-table td { padding: 9px; border-block-end: 1px solid var(--border-subtle); color: var(--text-secondary); }
.st3-table tr.is-off td { opacity: .5; }
.st3-table .st3-num { text-align: end; font-family: var(--font-mono), monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st3-table b { color: var(--text-primary); }
.st3-mono { font-family: ui-monospace, monospace; font-size: .72rem; }
.st3-rowacts { white-space: nowrap; text-align: end; }
.st3-dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; background: var(--status-expired); }
.st3-dot.is-on { background: var(--status-valid); }
.st3-dot.is-off { background: var(--border-default); }

/* ── plan pane (the glow-up: motion that sells, tokens only) ────── */
.st3-plan { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st3-plan b { font-size: 1.05rem; color: var(--text-primary); font-family: var(--font-display), "Space Grotesk", sans-serif; }
.st3-plan-badge { padding: 5px 14px; border-radius: 999px; background: var(--accent-fill-solid); color: var(--accent-contrast); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--shadow-sm); }
.st3-modules { display: flex; gap: 6px; flex-wrap: wrap; }
.st3-module { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--surface-inset); font-size: .72rem; font-weight: 700; color: var(--text-secondary); animation: st3Chip .3s ease both; animation-delay: calc(var(--i, 0) * 30ms); }

/* A module outside the plan (2026-09-05): present, dimmed, with a lock
   where its check would be. Removing it would hide what the product can
   do from the person deciding whether to pay for it. */
.st3-module.is-off { opacity: .5; border-style: dashed; }
.st3-module.is-off .st3-ic { color: var(--text-muted); }
.st3-module .st3-ic { color: var(--status-valid); }
@keyframes st3Chip { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* the three plans as tiles (2026-09-17): one row, the current one framed
   in the accent, the recommended one named — never a stripe. Each tile
   ends in the one action it allows, so a manager reads price, blurb,
   modules, button, top to bottom, three times. */
.st3-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st3-plan-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--surface-inset); animation: st3Chip .3s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
.st3-plan-tile.is-current { border-color: var(--accent-fill-solid); box-shadow: 0 0 0 1px var(--accent-fill-solid) inset; }
.st3-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st3-plan-name { font-size: 1.05rem; color: var(--text-primary); font-family: var(--font-display), "Space Grotesk", sans-serif; }
.st3-plan-price { display: flex; flex-direction: column; gap: 2px; }
.st3-plan-price b { font-size: 1.55rem; line-height: 1.1; color: var(--text-primary); font-family: var(--font-display), "Space Grotesk", sans-serif; font-variant-numeric: tabular-nums; }
.st3-plan-price small { font-size: .7rem; color: var(--text-muted); }
.st3-plan-blurb { margin: 0; font-size: .76rem; line-height: 1.5; color: var(--text-secondary); flex: 1; }
.st3-plan-act { margin-block-start: 4px; }
.st3-plan-act .dsp3-act { width: 100%; justify-content: center; }
.st3-plan-act .st3-hint { margin: 0; text-align: center; }
.st3-chip.is-pop { border-color: transparent; background: var(--status-valid-soft); color: var(--status-valid); }
.st3-chip.is-ok { border-color: transparent; background: var(--status-valid-soft); color: var(--status-valid); }
.st3-chip.is-warn { border-color: transparent; background: var(--status-expiring-soft); color: var(--status-expiring); }
.st3-chip.is-bad { border-color: transparent; background: var(--status-expired-soft); color: var(--status-expired); }
.st3-banner.is-danger { background: var(--status-expired-soft); color: var(--status-expired); }
.st3-inl { display: inline; margin: 0 0 0 6px; }
@media (max-width: 860px) { .st3-plans { grid-template-columns: 1fr; } }

/* ── copy rows (token once) ─────────────────────────────────────── */
.st3-copyrow { display: flex; align-items: center; gap: 8px; }
.st3-copyrow code { flex: 1; min-width: 0; overflow-x: auto; padding: 9px 11px; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--surface-inset); font-family: ui-monospace, monospace; font-size: .72rem; color: var(--text-primary); white-space: nowrap; }

/* ── dialog + shroud ────────────────────────────────────────────── */
.st3-shroud { position: fixed; inset: 0; z-index: 60; background: rgba(16, 14, 23, .5); }
/* centred by margin, not by a transform the entrance animation ends up
   overwriting — see the same fix in database.css (2026-09-16) */
.st3-dialog { position: fixed; inset-block-start: 12vh; inset-inline: 0; margin-inline: auto; z-index: 61; display: flex; flex-direction: column; gap: 8px; width: min(520px, calc(100vw - 32px)); max-height: 78vh; overflow-y: auto; padding: 20px; border: 1px solid var(--border-default); border-radius: 16px; background: var(--surface-card); box-shadow: var(--shadow-lg); animation: st3Rise .18s ease both; }
@keyframes st3Rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── empty / error ──────────────────────────────────────────────── */
.st3-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; color: var(--text-muted);  border-radius: 18px; border: 1px dashed var(--border-strong); margin: 4px 0;}
.st3-empty b { font-size: .88rem; color: var(--text-primary); }
.st3-empty.is-error b { color: var(--status-expired); }
.st3-empty.hidden { display: none !important; }

/* ── phone ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .st3 { padding: 10px 10px 40px; }
  .st3-tabbar { padding: 6px; }
  .st3-tab { min-height: 44px; }
  /* the head over the body, the slot between them: one column, in reading order */
  .st3-card, .st3-card.has-slot, .st3-card.is-wide, .st3-card.is-wide.has-slot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "slot" "body"; gap: 12px; padding: 14px; }
  .st3-card-slot { justify-content: flex-start; }
  .st3-in.is-num { max-width: none; }
  .st3-iconbtn { width: 44px; height: 44px; }
  .st3-seg-btn { min-height: 44px; }
  .st3-bar { inset-block-end: 8px; }
  .st3-bar-in { flex-wrap: wrap; }
  .st3-bar-txt { flex: 1 1 calc(100% - 24px); }
}

/* ── calm by default ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .st3 *, .st3-card, .st3-dialog, .st3-switch span, .st3-bar-in { transition: none !important; animation: none !important; }
}

/* ── Mein Passwort: the strength bar (2026-09-17) ───────────────────
   Four segments fill as the password gets stronger; the colour is the
   level's, the sentence says what would make it better. */
.st3-pwmeter { display: flex; flex-direction: column; gap: 6px; }
.st3-pwbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.st3-pwbar i { height: 6px; border-radius: 999px; background: var(--border-subtle); transform-origin: left center; transition: background-color .25s ease, transform .25s ease; }
[dir="rtl"] .st3-pwbar i { transform-origin: right center; }
.st3-pwbar i.is-on { animation: st3Seg .3s ease both; }
@keyframes st3Seg { from { transform: scaleX(.3); } to { transform: none; } }
.st3-pwmeter[data-level="short"] .st3-pwbar i.is-on,
.st3-pwmeter[data-level="weak"] .st3-pwbar i.is-on { background: var(--status-expired); }
.st3-pwmeter[data-level="okay"] .st3-pwbar i.is-on { background: var(--status-expiring); }
.st3-pwmeter[data-level="strong"] .st3-pwbar i.is-on { background: var(--status-valid); }
.st3-pwsay { margin: 0; font-size: .74rem; line-height: 1.5; color: var(--text-muted); }
.st3-pwsay b { color: var(--text-primary); }
.st3-pwmeter[data-level="short"] .st3-pwsay b, .st3-pwmeter[data-level="weak"] .st3-pwsay b { color: var(--status-expired); }
.st3-pwmeter[data-level="okay"] .st3-pwsay b { color: var(--status-expiring); }
.st3-pwmeter[data-level="strong"] .st3-pwsay b { color: var(--status-valid); }
.st3-pwsay.is-bad { color: var(--status-expired); font-weight: 600; }

/* ── Administratoren & Rollen · Aktive Sitzungen ────────────────── */
.st3-table td .st3-sub { display: block; margin-block-start: 2px; font-size: .7rem; color: var(--text-muted); }
.st3-table td.st3-muted { color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st3-table tr.is-current td { background: var(--accent-soft); }
.st3-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.st3-chip { display: inline-flex; align-items: center; padding: 2px 9px; border: 1px solid var(--border-subtle); border-radius: 999px; background: var(--surface-inset); font-size: .7rem; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }
.st3-chip.is-all { border-color: transparent; background: var(--accent-soft); color: var(--accent-text); }
.st3-chip.is-more { color: var(--text-muted); }
.st3-state { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 6px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.st3-state::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.st3-state.is-on { color: var(--status-valid); }
.st3-state.is-off { color: var(--text-muted); }
.st3-table td:first-child .st3-state { margin-inline-start: 8px; }
.st3-sep { border-block-start: 1px solid var(--border-subtle); padding-block-start: 12px; }
.st3-dialog.is-wide { width: min(640px, calc(100vw - 32px)); }
.st3-sechead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 6px; }
.st3-sechead .st3-lbl { margin: 0; }
.st3-linkbtn { border: 0; background: transparent; padding: 4px 2px; font: inherit; font-size: .74rem; font-weight: 700; color: var(--accent-text); cursor: pointer; }
.st3-linkbtn:hover { text-decoration: underline; }
.st3-secgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.st3-secgroup { display: flex; flex-direction: column; gap: 4px; }
.st3-secgroup-t { margin: 0 0 2px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.st3-tick { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 10px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--field-ground); color: var(--text-secondary); font: inherit; font-size: .78rem; font-weight: 600; text-align: start; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.st3-tick:hover:not(:disabled) { border-color: var(--border-strong); color: var(--text-primary); }
.st3-tick:disabled { cursor: default; opacity: .75; }
.st3-tick:focus-visible { outline: 2px solid var(--accent-fill-solid); outline-offset: 2px; }
.st3-tick-box { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; border: 1.5px solid var(--border-strong); border-radius: 5px; color: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.st3-tick.is-on { color: var(--text-primary); }
.st3-tick.is-on .st3-tick-box { border-color: var(--accent-fill-solid); background: var(--accent-fill-solid); color: var(--accent-contrast); }
@media (max-width: 860px) {
  .st3-tick { min-height: 44px; }
}
