/* Security Zone Control Plane — design system (tokens, primitives, components). No external fonts or CDNs (strict CSP). */
:root {
  --font-sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --fs-xs: 11.5px; --fs-sm: 12.5px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 26px; --fs-3xl: 32px;
  --lh: 1.5; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;
  --h-control: 36px; --h-control-sm: 30px; --sidebar-w: 260px; --topbar-h: 60px; --content-max: 1480px;
  --ease: cubic-bezier(.2, .7, .2, 1); --dur: 140ms;

  /* light theme */
  --bg: #f4f6fa; --bg-grad: radial-gradient(1200px 500px at 85% -10%, rgba(76, 110, 245, .08), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(18, 184, 166, .06), transparent 60%);
  --surface: #ffffff; --surface-2: #f8fafc; --surface-3: #eef2f7; --surface-inverse: #0b1220;
  --border: #e3e8ef; --border-strong: #cbd3df; --divider: #edf1f6;
  --text: #0f172a; --text-2: #475569; --text-3: #7c8799; --text-inverse: #f8fafc;
  --brand: #4c6ef5; --brand-600: #3b5bdb; --brand-700: #2f4ac2; --brand-50: #eef2ff; --brand-100: #dfe6ff;
  --accent: #12b8a6; --accent-50: #e6faf7;
  --ok: #0f9d58; --ok-bg: #e7f6ee; --ok-bd: #b7e4c7;
  --warn: #b7791f; --warn-bg: #fdf5e6; --warn-bd: #f3d9a4;
  --danger: #d64045; --danger-bg: #fdecec; --danger-bd: #f5c2c4;
  --info: #2f80ed; --info-bg: #e8f1fd; --info-bd: #bcd6fa;
  --neutral: #64748b; --neutral-bg: #eef1f5; --neutral-bd: #d6dce5;
  --violet: #7048e8; --violet-bg: #f0ebfe; --violet-bd: #d5c8fb;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 6px 16px -4px rgba(15, 23, 42, .12), 0 2px 6px -2px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, .25);
  --focus: 0 0 0 3px rgba(76, 110, 245, .35);
  --sidebar-bg: #0b1220; --sidebar-bg-2: #111a2e; --sidebar-text: #aab4c8; --sidebar-text-strong: #f1f5fb; --sidebar-active: rgba(76, 110, 245, .18); --sidebar-border: rgba(255, 255, 255, .06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0f1c; --bg-grad: radial-gradient(1200px 500px at 85% -10%, rgba(76, 110, 245, .12), transparent 60%), radial-gradient(900px 400px at -10% 110%, rgba(18, 184, 166, .08), transparent 60%);
  --surface: #111827; --surface-2: #0f1626; --surface-3: #1a2336; --surface-inverse: #f8fafc;
  --border: #1f2a3f; --border-strong: #2c3a55; --divider: #182235;
  --text: #e8edf6; --text-2: #a7b2c6; --text-3: #7a869c; --text-inverse: #0b1220;
  --brand: #6d8bff; --brand-600: #5a7bff; --brand-700: #4c6ef5; --brand-50: rgba(109, 139, 255, .12); --brand-100: rgba(109, 139, 255, .2);
  --ok: #34c77b; --ok-bg: rgba(52, 199, 123, .12); --ok-bd: rgba(52, 199, 123, .3);
  --warn: #f0b44c; --warn-bg: rgba(240, 180, 76, .12); --warn-bd: rgba(240, 180, 76, .3);
  --danger: #ff6b70; --danger-bg: rgba(255, 107, 112, .12); --danger-bd: rgba(255, 107, 112, .32);
  --info: #5aa2ff; --info-bg: rgba(90, 162, 255, .12); --info-bd: rgba(90, 162, 255, .3);
  --neutral: #94a3b8; --neutral-bg: rgba(148, 163, 184, .12); --neutral-bd: rgba(148, 163, 184, .28);
  --violet: #9b84ff; --violet-bg: rgba(155, 132, 255, .14); --violet-bd: rgba(155, 132, 255, .3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 8px 20px -6px rgba(0, 0, 0, .55); --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .7);
  --sidebar-bg: #070b14; --sidebar-bg-2: #0c1322;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-theme="dark"]) { --bg: #0a0f1c; --surface: #111827; --surface-2: #0f1626; --surface-3: #1a2336; --border: #1f2a3f; --border-strong: #2c3a55; --divider: #182235; --text: #e8edf6; --text-2: #a7b2c6; --text-3: #7a869c; --brand-50: rgba(109,139,255,.12); --brand-100: rgba(109,139,255,.2); --brand: #6d8bff; --ok-bg: rgba(52,199,123,.12); --warn-bg: rgba(240,180,76,.12); --danger-bg: rgba(255,107,112,.12); --info-bg: rgba(90,162,255,.12); --neutral-bg: rgba(148,163,184,.12); --violet-bg: rgba(155,132,255,.14); --ok-bd: rgba(52,199,123,.3); --warn-bd: rgba(240,180,76,.3); --danger-bd: rgba(255,107,112,.32); --info-bd: rgba(90,162,255,.3); --neutral-bd: rgba(148,163,184,.28); --violet-bd: rgba(155,132,255,.3); color-scheme: dark; } }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-sans); font-size: var(--fs-md); line-height: var(--lh); color: var(--text); background: var(--bg); background-image: var(--bg-grad); background-attachment: fixed; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-decoration: none; } a:hover { text-decoration: underline; }
code, .sz-mono { font-family: var(--font-mono); font-size: .92em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); } h2 { font-size: var(--fs-xl); font-weight: var(--fw-semibold); } h3 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); } h4 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.sz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sz-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); box-shadow: var(--shadow-md); } .sz-skip:focus { left: 8px; }

/* ---------------------------------------------------------------- application shell */
.sz-app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sz-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: linear-gradient(180deg, var(--sidebar-bg), var(--sidebar-bg-2)); color: var(--sidebar-text); display: flex; flex-direction: column; border-right: 1px solid var(--sidebar-border); scrollbar-width: thin; scrollbar-color: #26314a transparent; }
.sz-brand { display: flex; align-items: center; gap: 12px; padding: 18px 20px 16px; color: var(--sidebar-text-strong); text-decoration: none !important; }
.sz-brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: conic-gradient(from 210deg, #4c6ef5, #12b8a6, #7048e8, #4c6ef5); box-shadow: 0 6px 18px -6px rgba(76, 110, 245, .8), inset 0 0 0 1px rgba(255, 255, 255, .15); }
.sz-brand-mark svg { width: 18px; height: 18px; }
.sz-brand-text { display: flex; flex-direction: column; line-height: 1.15; } .sz-brand-text b { font-size: 14.5px; letter-spacing: .01em; } .sz-brand-text span { font-size: 11px; color: #7f8ba3; letter-spacing: .08em; text-transform: uppercase; }
.sz-nav { padding: 6px 12px 20px; flex: 1; }
.sz-nav-group { margin-top: 14px; } .sz-nav-group > span { display: block; padding: 0 10px 6px; font-size: 10.5px; font-weight: var(--fw-semibold); color: #5d6984; letter-spacing: .1em; text-transform: uppercase; }
.sz-nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r-sm); color: var(--sidebar-text); font-size: 13.5px; font-weight: var(--fw-medium); text-decoration: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); position: relative; }
.sz-nav a svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.sz-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--sidebar-text-strong); }
.sz-nav a[aria-current="page"] { background: var(--sidebar-active); color: #fff; } .sz-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #6d8bff; }
.sz-nav a[aria-current="page"] svg { opacity: 1; color: #8ea5ff; }
.sz-nav .sz-count { margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: var(--r-pill); background: rgba(76, 110, 245, .25); color: #c7d2ff; }
.sz-sidebar-foot { padding: 14px 20px; border-top: 1px solid var(--sidebar-border); font-size: 11.5px; color: #66728b; }
.sz-main { min-width: 0; display: flex; flex-direction: column; }
.sz-topbar { position: sticky; top: 0; z-index: 20; height: var(--topbar-h); display: flex; align-items: center; gap: var(--sp-4); padding: 0 var(--sp-6); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.sz-search-trigger { flex: 1; max-width: 520px; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--text-3); cursor: pointer; font: inherit; text-align: left; box-shadow: var(--shadow-xs); }
.sz-search-trigger:hover { border-color: var(--border-strong); } .sz-search-trigger svg { width: 16px; height: 16px; } .sz-search-trigger { min-width: 0; } .sz-search-trigger > span:not(.sz-kbd) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sz-kbd { margin-left: auto; font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; color: var(--text-3); background: var(--surface-2); }
.sz-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.sz-env { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .08em; padding: 4px 10px; border-radius: var(--r-pill); background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-bd); text-transform: uppercase; }
.sz-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-semibold); font-size: 13px; color: #fff; background: linear-gradient(135deg, #4c6ef5, #12b8a6); }
.sz-user-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px 4px 4px; border-radius: var(--r-pill); cursor: pointer; color: var(--text); font: inherit; } .sz-user-btn:hover { background: var(--surface-3); }
.sz-user-btn .sz-user-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; } .sz-user-meta b { font-size: 13px; } .sz-user-meta span { font-size: 11.5px; color: var(--text-3); }
.sz-content { padding: var(--sp-6); max-width: var(--content-max); width: 100%; margin: 0 auto; flex: 1; }
.sz-menu-toggle { display: none; }

/* ---------------------------------------------------------------- page header / breadcrumbs */
.sz-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--text-3); margin-bottom: 6px; } .sz-crumbs a { color: var(--text-3); } .sz-crumbs a:hover { color: var(--brand); } .sz-crumbs span[aria-hidden] { opacity: .5; }
.sz-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); flex-wrap: wrap; }
.sz-page-head p { margin: 6px 0 0; color: var(--text-2); max-width: 760px; }
.sz-page-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
.sz-title-row { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------------------------------------------------------------- buttons / controls */
.sz-btn { --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--border-strong); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h-control); padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font: inherit; font-size: 13.5px; font-weight: var(--fw-semibold); cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 60ms; box-shadow: var(--shadow-xs); }
.sz-btn:hover { background: var(--surface-3); } .sz-btn:active { transform: translateY(1px); } .sz-btn svg { width: 16px; height: 16px; }
.sz-btn[disabled], .sz-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.sz-btn-primary { --b-bg: var(--brand); --b-fg: #fff; --b-bd: var(--brand-600); box-shadow: 0 1px 2px rgba(59, 91, 219, .35), inset 0 1px 0 rgba(255, 255, 255, .15); } .sz-btn-primary:hover { background: var(--brand-600); }
.sz-btn-danger { --b-bg: var(--danger); --b-fg: #fff; --b-bd: #c2373c; } .sz-btn-danger:hover { background: #c2373c; }
.sz-btn-ghost { --b-bg: transparent; --b-bd: transparent; box-shadow: none; } .sz-btn-ghost:hover { background: var(--surface-3); }
.sz-btn-sm { height: var(--h-control-sm); padding: 0 10px; font-size: 12.5px; } .sz-btn-icon { width: var(--h-control); padding: 0; } .sz-btn-sm.sz-btn-icon { width: var(--h-control-sm); }
.sz-btn.is-loading { pointer-events: none; color: transparent !important; position: relative; } .sz-btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--b-fg) transparent var(--b-fg) transparent; animation: sz-spin .7s linear infinite; }
.sz-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sz-field > label, .sz-label { font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--text-2); }
.sz-field .sz-hint { font-size: 12px; color: var(--text-3); } .sz-field .sz-err { font-size: 12px; color: var(--danger); }
.sz-input, .sz-select, .sz-textarea { width: 100%; height: var(--h-control); padding: 0 11px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; transition: border-color var(--dur), box-shadow var(--dur); }
.sz-textarea { height: auto; min-height: 96px; padding: 9px 11px; resize: vertical; line-height: 1.5; } .sz-textarea.sz-mono { font-size: 12.5px; }
.sz-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.sz-input:focus, .sz-select:focus, .sz-textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.sz-input[aria-invalid="true"], .sz-select[aria-invalid="true"], .sz-textarea[aria-invalid="true"] { border-color: var(--danger); }
.sz-input::placeholder, .sz-textarea::placeholder { color: var(--text-3); }
.sz-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; user-select: none; } .sz-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.sz-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-5); } .sz-form-grid .sz-span-2 { grid-column: 1 / -1; }
.sz-input-group { display: flex; } .sz-input-group .sz-input { border-top-right-radius: 0; border-bottom-right-radius: 0; } .sz-input-group .sz-btn { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* ---------------------------------------------------------------- cards / KPIs / layout */
.sz-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.sz-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--divider); } .sz-card-head h3 { font-size: 14.5px; } .sz-card-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-3); }
.sz-card-body { padding: var(--sp-5); } .sz-card-body.sz-flush { padding: 0; }
.sz-grid { display: grid; gap: var(--sp-5); } .sz-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sz-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sz-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sz-grid-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.sz-stack { display: flex; flex-direction: column; gap: var(--sp-5); } .sz-row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; } .sz-spacer { flex: 1; }
.sz-kpi { position: relative; display: block; padding: var(--sp-4) var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none !important; overflow: hidden; transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease); }
a.sz-kpi:hover { border-color: var(--brand-100); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.sz-kpi-label { font-size: 12.5px; color: var(--text-2); font-weight: var(--fw-medium); display: flex; align-items: center; gap: 8px; } .sz-kpi-label svg { width: 15px; height: 15px; color: var(--text-3); }
.sz-kpi-value { font-size: var(--fs-3xl); font-weight: var(--fw-bold); letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sz-kpi-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.sz-kpi[data-tone]::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tone, var(--brand)); opacity: .9; }
.sz-kpi[data-tone="ok"] { --tone: var(--ok); } .sz-kpi[data-tone="warn"] { --tone: var(--warn); } .sz-kpi[data-tone="danger"] { --tone: var(--danger); } .sz-kpi[data-tone="info"] { --tone: var(--info); } .sz-kpi[data-tone="violet"] { --tone: var(--violet); } .sz-kpi[data-tone="neutral"] { --tone: var(--neutral); }
.sz-dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px var(--sp-5); margin: 0; font-size: 13.5px; } .sz-dl dt { color: var(--text-3); font-weight: var(--fw-medium); } .sz-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sz-divider { height: 1px; background: var(--divider); margin: var(--sp-4) 0; border: 0; }
.sz-muted { color: var(--text-3); } .sz-small { font-size: 12.5px; } .sz-nowrap { white-space: nowrap; } .sz-right { text-align: right; } .sz-trunc { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* ---------------------------------------------------------------- badges / chips */
.sz-badge { --c: var(--neutral); --bgc: var(--neutral-bg); --bdc: var(--neutral-bd); display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: .02em; color: var(--c); background: var(--bgc); border: 1px solid var(--bdc); white-space: nowrap; }
.sz-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; } .sz-badge.sz-badge-plain::before { display: none; }
.sz-badge[data-tone="ok"] { --c: var(--ok); --bgc: var(--ok-bg); --bdc: var(--ok-bd); } .sz-badge[data-tone="warn"] { --c: var(--warn); --bgc: var(--warn-bg); --bdc: var(--warn-bd); }
.sz-badge[data-tone="danger"] { --c: var(--danger); --bgc: var(--danger-bg); --bdc: var(--danger-bd); } .sz-badge[data-tone="info"] { --c: var(--info); --bgc: var(--info-bg); --bdc: var(--info-bd); }
.sz-badge[data-tone="violet"] { --c: var(--violet); --bgc: var(--violet-bg); --bdc: var(--violet-bd); } .sz-badge[data-tone="brand"] { --c: var(--brand); --bgc: var(--brand-50); --bdc: var(--brand-100); }
.sz-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border); margin: 0 4px 4px 0; }
.sz-chip-list { display: flex; flex-wrap: wrap; gap: 6px; } .sz-chip { font-family: var(--font-mono); font-size: 11.5px; padding: 3px 8px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); } :root[data-theme="dark"] .sz-chip { color: #b9c6ff; }
.sz-chip.sz-chip-core { background: var(--surface-3); color: var(--text-2); border-color: var(--border); }

/* ---------------------------------------------------------------- tables */
.sz-table-wrap { overflow-x: auto; } .sz-table-wrap:focus-visible { box-shadow: var(--focus); }
.sz-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.sz-table th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 11.5px; font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--surface-2); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.sz-table th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; } .sz-table th button:focus-visible { box-shadow: var(--focus); }
.sz-table td { padding: 11px 14px; border-bottom: 1px solid var(--divider); vertical-align: middle; } .sz-table tbody tr { transition: background var(--dur); }
.sz-table tbody tr:hover { background: var(--surface-2); } .sz-table tbody tr[data-href] { cursor: pointer; } .sz-table tbody tr:last-child td { border-bottom: 0; }
.sz-table .sz-cell-title { font-weight: var(--fw-semibold); color: var(--text); } .sz-table .sz-cell-sub { font-size: 12px; color: var(--text-3); }
.sz-toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--divider); }
.sz-toolbar .sz-input, .sz-toolbar .sz-select { height: 34px; width: auto; min-width: 150px; } .sz-toolbar .sz-search { min-width: 260px; flex: 1; max-width: 420px; }
.sz-pager { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--divider); font-size: 12.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- tabs */
.sz-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: var(--sp-5); overflow-x: auto; }
.sz-tab { all: unset; cursor: pointer; padding: 10px 14px; font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.sz-tab:hover { color: var(--text); } .sz-tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); } .sz-tab:focus-visible { box-shadow: var(--focus); }
.sz-tab .sz-count { margin-left: 6px; font-size: 11px; padding: 1px 6px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--text-2); }

/* ---------------------------------------------------------------- overlays: modal / drawer / menu / palette */
.sz-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(8, 12, 22, .45); backdrop-filter: blur(2px); display: flex; align-items: flex-start; justify-content: center; padding: 8vh var(--sp-4) var(--sp-4); animation: sz-fade var(--dur) var(--ease); }
.sz-modal { width: 100%; max-width: 560px; max-height: 84vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); animation: sz-pop 160ms var(--ease); }
.sz-modal.sz-modal-lg { max-width: 820px; } .sz-modal-head { padding: var(--sp-5) var(--sp-6) var(--sp-3); display: flex; gap: var(--sp-3); align-items: flex-start; } .sz-modal-head h2 { font-size: 17px; } .sz-modal-head p { margin: 4px 0 0; color: var(--text-2); font-size: 13.5px; }
.sz-modal-body { padding: var(--sp-3) var(--sp-6) var(--sp-5); overflow-y: auto; } .sz-modal-foot { padding: var(--sp-4) var(--sp-6); border-top: 1px solid var(--divider); display: flex; justify-content: flex-end; gap: var(--sp-2); background: var(--surface-2); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.sz-modal-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--brand-50); color: var(--brand); } .sz-modal-icon svg { width: 20px; height: 20px; } .sz-modal-icon[data-tone="danger"] { background: var(--danger-bg); color: var(--danger); } .sz-modal-icon[data-tone="warn"] { background: var(--warn-bg); color: var(--warn); }
.sz-drawer-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(8, 12, 22, .35); animation: sz-fade var(--dur) var(--ease); }
.sz-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 56; width: min(640px, 100vw); background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: sz-slide 200ms var(--ease); }
.sz-drawer-head { padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--divider); display: flex; align-items: center; gap: var(--sp-3); } .sz-drawer-body { padding: var(--sp-5) var(--sp-6); overflow-y: auto; flex: 1; } .sz-drawer-foot { padding: var(--sp-4) var(--sp-6); border-top: 1px solid var(--divider); display: flex; justify-content: flex-end; gap: var(--sp-2); background: var(--surface-2); }
.sz-menu { position: absolute; z-index: 70; min-width: 220px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); animation: sz-pop 120ms var(--ease); }
.sz-menu button, .sz-menu a { all: unset; display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--text); cursor: pointer; }
.sz-menu button:hover, .sz-menu a:hover, .sz-menu button:focus-visible, .sz-menu a:focus-visible { background: var(--surface-3); } .sz-menu .sz-danger { color: var(--danger); } .sz-menu hr { border: 0; height: 1px; background: var(--divider); margin: 4px 0; } .sz-menu svg { width: 16px; height: 16px; color: var(--text-3); }
.sz-palette { width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; animation: sz-pop 140ms var(--ease); }
.sz-palette input { width: 100%; border: 0; border-bottom: 1px solid var(--divider); padding: 18px 20px; font: inherit; font-size: 16px; background: transparent; color: var(--text); outline: none; }
.sz-palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; } .sz-palette li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); color: var(--text); text-decoration: none; }
.sz-palette li a[aria-selected="true"], .sz-palette li a:hover { background: var(--brand-50); } .sz-palette li .sz-badge { margin-left: auto; } .sz-palette-foot { padding: 8px 14px; border-top: 1px solid var(--divider); font-size: 11.5px; color: var(--text-3); display: flex; gap: 14px; }
.sz-palette-group { padding: 8px 12px 4px; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ---------------------------------------------------------------- toasts */
.sz-toasts { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.sz-toast { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--tone, var(--brand)); border-radius: var(--r-md); box-shadow: var(--shadow-lg); animation: sz-pop 160ms var(--ease); font-size: 13.5px; }
.sz-toast[data-tone="ok"] { --tone: var(--ok); } .sz-toast[data-tone="danger"] { --tone: var(--danger); } .sz-toast[data-tone="warn"] { --tone: var(--warn); }
.sz-toast b { display: block; margin-bottom: 2px; } .sz-toast p { margin: 0; color: var(--text-2); } .sz-toast button { all: unset; cursor: pointer; margin-left: auto; color: var(--text-3); padding: 2px; } .sz-toast button svg { width: 16px; height: 16px; display: block; } .sz-toast > div { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- states */
.sz-empty, .sz-error-state { text-align: center; padding: var(--sp-10) var(--sp-6); color: var(--text-2); }
.sz-empty-icon { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto var(--sp-3); display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); } .sz-empty-icon svg { width: 24px; height: 24px; }
.sz-empty h3, .sz-error-state h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; } .sz-empty p, .sz-error-state p { margin: 0 auto var(--sp-4); max-width: 420px; font-size: 13.5px; }
.sz-error-state .sz-empty-icon { background: var(--danger-bg); color: var(--danger); }
.sz-alert { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--bdc); background: var(--bgc); color: var(--text); font-size: 13.5px; --bgc: var(--info-bg); --bdc: var(--info-bd); --c: var(--info); }
.sz-alert svg { width: 18px; height: 18px; flex: none; color: var(--c); margin-top: 1px; } .sz-alert b { display: block; } .sz-alert p { margin: 2px 0 0; color: var(--text-2); }
.sz-alert[data-tone="ok"] { --bgc: var(--ok-bg); --bdc: var(--ok-bd); --c: var(--ok); } .sz-alert[data-tone="warn"] { --bgc: var(--warn-bg); --bdc: var(--warn-bd); --c: var(--warn); } .sz-alert[data-tone="danger"] { --bgc: var(--danger-bg); --bdc: var(--danger-bd); --c: var(--danger); }
.sz-skel { background: linear-gradient(90deg, var(--surface-3) 0%, var(--surface-2) 50%, var(--surface-3) 100%); background-size: 200% 100%; animation: sz-shimmer 1.3s ease-in-out infinite; border-radius: var(--r-sm); height: 14px; }
.sz-skel-block { height: 96px; border-radius: var(--r-lg); } .sz-skel-row { display: flex; gap: var(--sp-4); padding: 14px; border-bottom: 1px solid var(--divider); }
.sz-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--brand); animation: sz-spin .7s linear infinite; display: inline-block; vertical-align: middle; }
.sz-progress { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; } .sz-progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; transition: width 300ms var(--ease); }

/* ---------------------------------------------------------------- timeline / activity / code */
.sz-timeline { list-style: none; margin: 0; padding: 0; position: relative; } .sz-timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--divider); }
.sz-timeline li { position: relative; padding: 0 0 var(--sp-4) 36px; } .sz-timeline li::before { content: ""; position: absolute; left: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--tone, var(--brand)); }
.sz-timeline li[data-tone="ok"] { --tone: var(--ok); } .sz-timeline li[data-tone="danger"] { --tone: var(--danger); } .sz-timeline li[data-tone="warn"] { --tone: var(--warn); } .sz-timeline li[data-tone="neutral"] { --tone: var(--neutral); }
.sz-timeline .sz-tl-title { font-weight: var(--fw-semibold); font-size: 13.5px; } .sz-timeline .sz-tl-meta { font-size: 12px; color: var(--text-3); } .sz-timeline .sz-tl-body { font-size: 13px; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.sz-feed { list-style: none; margin: 0; padding: 0; } .sz-feed li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--divider); font-size: 13px; } .sz-feed li:last-child { border-bottom: 0; }
.sz-feed .sz-feed-icon { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); } .sz-feed .sz-feed-icon svg { width: 15px; height: 15px; }
.sz-feed .sz-feed-main { min-width: 0; flex: 1; } .sz-feed .sz-feed-time { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.sz-code { font-family: var(--font-mono); font-size: 12px; line-height: 1.6; background: var(--surface-inverse); color: #d6deeb; border-radius: var(--r-md); padding: 14px 16px; overflow: auto; max-height: 420px; white-space: pre; } :root[data-theme="dark"] .sz-code { background: #060a13; }
.sz-copy { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; background: var(--surface-3); border: 1px solid var(--border); padding: 3px 8px; border-radius: var(--r-sm); max-width: 100%; }
.sz-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sz-copy button { all: unset; cursor: pointer; color: var(--text-3); display: grid; place-items: center; } .sz-copy button:hover { color: var(--brand); } .sz-copy svg { width: 14px; height: 14px; }
.sz-secret-box { padding: 14px; border-radius: var(--r-md); border: 1px dashed var(--warn); background: var(--warn-bg); }
.sz-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-family: var(--font-mono); font-size: 14px; } .sz-codes span { padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); text-align: center; letter-spacing: .06em; }

/* ---------------------------------------------------------------- charts */
.sz-chart { width: 100%; height: auto; display: block; } .sz-chart text { fill: var(--text-3); font-size: 11px; font-family: var(--font-sans); } .sz-chart .sz-bar { fill: var(--brand); transition: opacity var(--dur); } .sz-chart .sz-bar:hover { opacity: .8; }
.sz-chart .sz-grid-line { stroke: var(--divider); stroke-width: 1; } .sz-donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; } .sz-donut-legend li { display: flex; align-items: center; gap: 8px; } .sz-donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .sz-donut-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.sz-donut-wrap { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-5); align-items: center; }

/* ---------------------------------------------------------------- auth pages */
.sz-auth { min-height: 100vh; display: grid; place-items: center; padding: var(--sp-6); }
.sz-auth-shell { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.sz-auth-hero { position: relative; padding: 44px; color: #e8edf8; background: radial-gradient(600px 300px at 0% 0%, rgba(76, 110, 245, .45), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(18, 184, 166, .35), transparent 60%), linear-gradient(160deg, #0b1220, #121c33); display: flex; flex-direction: column; gap: 22px; min-height: 520px; }
.sz-auth-hero h1 { font-size: 28px; color: #fff; } .sz-auth-hero p { color: #b6c1d8; margin: 0; } .sz-auth-hero ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 12px; font-size: 13.5px; color: #c9d3e6; } .sz-auth-hero li { display: flex; gap: 10px; align-items: center; } .sz-auth-hero li svg { width: 18px; height: 18px; color: #7ee0d3; flex: none; }
.sz-auth-form { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4); } .sz-auth-form h2 { font-size: 22px; } .sz-auth-form .sz-muted { margin: -8px 0 4px; }
.sz-auth-card { max-width: 440px; width: 100%; padding: var(--sp-8); }
.sz-otp { font-family: var(--font-mono); font-size: 22px; letter-spacing: .4em; text-align: center; height: 52px !important; }
.sz-qr { display: grid; place-items: center; padding: 12px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--border); width: max-content; margin: 0 auto; } .sz-qr svg { display: block; }

/* ---------------------------------------------------------------- misc */
.sz-steps { display: flex; gap: var(--sp-2); counter-reset: s; margin-bottom: var(--sp-6); flex-wrap: wrap; } .sz-steps li { list-style: none; counter-increment: s; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: var(--surface-3); }
.sz-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--border); } .sz-steps li[aria-current="step"] { color: var(--brand); background: var(--brand-50); } .sz-steps li[aria-current="step"]::before { background: var(--brand); color: #fff; border-color: var(--brand); } .sz-steps li.is-done::before { content: "✓"; background: var(--ok); color: #fff; border-color: var(--ok); }
.sz-perm-group { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; } .sz-perm-group h4 { margin-bottom: 8px; font-size: 13px; } .sz-perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.sz-health-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--divider); font-size: 13.5px; } .sz-health-row:last-child { border-bottom: 0; } .sz-health-row .sz-hdot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); } .sz-health-row[data-sev="warning"] .sz-hdot { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-bg); } .sz-health-row[data-sev="critical"] .sz-hdot { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.sz-health-row .sz-hdetail { margin-left: auto; color: var(--text-3); font-size: 12.5px; text-align: right; max-width: 60%; overflow-wrap: anywhere; }
.sz-banner { padding: 8px var(--sp-6); font-size: 12.5px; font-weight: var(--fw-semibold); text-align: center; background: repeating-linear-gradient(-45deg, var(--warn-bg), var(--warn-bg) 12px, transparent 12px, transparent 24px), var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--warn-bd); }
.sz-dropzone { border: 2px dashed var(--border-strong); border-radius: var(--r-lg); padding: var(--sp-8); text-align: center; color: var(--text-2); background: var(--surface-2); cursor: pointer; transition: border-color var(--dur), background var(--dur); } .sz-dropzone:hover, .sz-dropzone.is-over { border-color: var(--brand); background: var(--brand-50); } .sz-dropzone input { display: none; }
.sz-kv-list { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 13px; } .sz-kv-list span:nth-child(odd) { color: var(--text-2); } .sz-kv-list span:nth-child(even) { font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; }

@keyframes sz-spin { to { transform: rotate(360deg); } }
@keyframes sz-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sz-pop { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sz-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sz-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1200px) { .sz-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sz-grid-main { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .sz-app { grid-template-columns: 1fr; }
  .sz-sidebar { position: fixed; z-index: 50; left: 0; width: var(--sidebar-w); transform: translateX(-100%); transition: transform 200ms var(--ease); box-shadow: var(--shadow-lg); }
  .sz-app.nav-open .sz-sidebar { transform: none; } .sz-menu-toggle { display: inline-flex; }
  .sz-grid-3, .sz-grid-2 { grid-template-columns: 1fr; } .sz-auth-shell { grid-template-columns: 1fr; } .sz-auth-hero { min-height: 0; padding: 28px; } .sz-auth-hero ul { display: none; }
  .sz-user-meta { display: none !important; }
}
@media (max-width: 640px) {
  .sz-content { padding: var(--sp-4); } .sz-topbar { padding: 0 var(--sp-3); } .sz-grid-4 { grid-template-columns: 1fr 1fr; } .sz-form-grid, .sz-perm-grid { grid-template-columns: 1fr; } .sz-dl { grid-template-columns: 1fr; gap: 2px; } .sz-dl dd { margin-bottom: 8px; }
  .sz-kpi-value { font-size: 24px; } .sz-search-trigger .sz-kbd { display: none; } .sz-auth-form { padding: 28px; } .sz-donut-wrap { grid-template-columns: 1fr; } .sz-codes { grid-template-columns: 1fr; }
}
@media print { .sz-sidebar, .sz-topbar, .sz-page-actions { display: none !important; } .sz-app { display: block; } .sz-card { box-shadow: none; } }

.sz-sprite { position: absolute; width: 0; height: 0; overflow: hidden; } .sz-skel-title { width: 220px; height: 26px; } .sz-skel-tall { height: 280px; } .sz-brand-mark-lg { width: 44px; height: 44px; border-radius: 12px; } .sz-brand-mark-lg svg { width: 22px; height: 22px; } .sz-mt-2 { margin-top: 10px !important; }
.sz-chart .sz-donut-total { font-size: 7px; font-weight: 700; fill: var(--text); }
.sz-install { max-width: 880px; padding-top: 48px; padding-bottom: 48px; }
.sz-feed .sz-feed-main { overflow-wrap: anywhere; } .sz-feed li > .sz-right, .sz-feed li > .sz-badge { flex: none; }

/* utilities (release workflow) */
.sz-hidden { display: none !important; } .sz-mb { margin-bottom: var(--sp-4); }

/* ---- platform modules (fleet, notifications, support, media, experience builder) */
.sz-kpis { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: var(--sp-5); }
.sz-notif-list { list-style: none; margin: 0; padding: 0; } .sz-notif-list li { padding: 12px 16px; border-bottom: 1px solid var(--divider); } .sz-notif-list li.is-unread { background: var(--surface-2); } .sz-notif-list p { margin: 6px 0; }
.sz-thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sz-msg { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); max-width: 92%; }
.sz-msg.is-staff { align-self: flex-end; background: var(--surface-2); } .sz-msg.is-internal { border-style: dashed; border-color: var(--warn); background: var(--surface-3); }
.sz-doc { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; line-height: 1.55; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; max-height: 60vh; overflow: auto; }
.sz-media-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); padding: 12px; }
.sz-media { margin: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); } .sz-media img { display: block; width: 100%; height: 120px; object-fit: cover; background: var(--surface-3); }
.sz-media figcaption { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; } .sz-media.is-archived { opacity: .55; }
.sz-seg { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); }

.sz-bell { position: relative; } .sz-bell-count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }


/* ---- Securivo Experience Studio (workspace) */
body.xs-on .sz-sidebar, body.xs-on .sz-topbar, body.xs-on .sz-banner { display: none; } body.xs-on .sz-content { padding: 0; max-width: none; }
.xs-shell { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-size: 13px; }
.xs-top { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; min-height: 52px; }
.xs-top .sz-select { width: auto; height: 32px; font-size: 12.5px; padding: 0 8px; } .xs-pagesel { max-width: 200px; } .xs-devsel { max-width: 190px; }
.xs-back { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; padding: 4px 8px 4px 2px; border-radius: var(--r-sm); } .xs-back:hover { background: var(--surface-3); }
.xs-brand { display: flex; flex-direction: column; line-height: 1.15; } .xs-brand b { font-size: 13.5px; } .xs-brand small { color: var(--text-3); font-size: 11.5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xs-flip { transform: rotate(180deg); } .xr-flip { transform: rotate(180deg); }
.xs-seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); flex-wrap: wrap; }
.xs-segb { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.xs-segb svg { width: 15px; height: 15px; } .xs-segb:hover { background: var(--surface-3); } .xs-segb[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-xs); }
.xs-zoom { display: inline-flex; align-items: center; gap: 2px; } .xs-zoomlbl { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; color: var(--text-2); }
.xs-ib { width: 30px; height: 30px; padding: 0; } .xs-ib svg { width: 16px; height: 16px; }
.xs-save { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.xs-save[data-state="dirty"] { background: var(--warn-bg); color: var(--warn); } .xs-save[data-state="saving"] { background: var(--info-bg, #eaf2ff); color: var(--brand); } .xs-save[data-state="error"], .xs-save[data-state="conflict"] { background: var(--danger-bg); color: var(--danger); } .xs-save[data-state="saved"] { background: var(--ok-bg); color: var(--ok); }
.xs-issues[data-tone="danger"] { color: var(--danger); } .xs-issues[data-tone="warn"] { color: var(--warn); } .xs-issues[data-tone="ok"] { color: var(--ok); }
.xs-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 304px minmax(0, 1fr) 328px; }
.xs-left { display: grid; grid-template-columns: 62px minmax(0, 1fr); min-height: 0; border-right: 1px solid var(--border); background: var(--surface); }
.xs-rail { display: flex; flex-direction: column; gap: 2px; padding: 6px 4px; border-right: 1px solid var(--divider); overflow: auto; }
.xs-railb { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer; font: inherit; }
.xs-railb svg { width: 18px; height: 18px; } .xs-railb small { font-size: 10px; line-height: 1.1; text-align: center; } .xs-railb:hover { background: var(--surface-3); color: var(--text); } .xs-railb.is-on { background: var(--brand-50); color: var(--brand); }
.xs-panel { overflow: auto; min-height: 0; padding: 10px 10px 40px; }
.xs-pstack { display: flex; flex-direction: column; gap: 8px; } .xs-ph { display: flex; align-items: center; gap: 6px; } .xs-ph h3 { font-size: 14px; margin: 0; }
.xs-panel h4, .xs-ibody h4 { margin: 10px 0 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); }
.xs-hint { color: var(--text-3); font-size: 11.5px; margin: 0; line-height: 1.45; }
.xs-col { display: flex; flex-direction: column; gap: 6px; } .xs-row2 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .xs-row2 > .sz-input, .xs-row2 > .sz-select { flex: 1; min-width: 90px; }
.xs-det { border: 1px solid var(--divider); border-radius: 8px; padding: 6px 8px; background: var(--surface-2); } .xs-det > summary { cursor: pointer; font-weight: 600; font-size: 12.5px; padding: 2px 0; } .xs-det[open] > summary { margin-bottom: 6px; }
.xs-plist { display: flex; flex-direction: column; gap: 2px; }
.xs-prow { display: flex; align-items: center; gap: 8px; padding: 6px 6px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; } .xs-prow:hover { background: var(--surface-3); } .xs-prow.is-on { background: var(--brand-50); border-color: var(--brand-100); }
.xs-prow.is-arch { opacity: .6; } .xs-prow.is-dropbefore { box-shadow: inset 0 2px 0 var(--brand); } .xs-prow-ic svg { width: 16px; height: 16px; color: var(--text-3); }
.xs-prow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .xs-prow-t b { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .xs-prow-t small { color: var(--text-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xs-pls { display: inline-flex; gap: 2px; } .xs-pls i { font-style: normal; font-size: 9.5px; font-weight: 700; width: 14px; height: 14px; border-radius: 3px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); } .xs-pls i.is-on { background: var(--brand-100); color: var(--brand); }
.xs-ins { display: flex; flex-direction: column; gap: 2px; }
.xs-ci { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; cursor: grab; border: 1px solid transparent; user-select: none; } .xs-ci:hover { background: var(--surface-3); border-color: var(--border); }
.xs-ci.is-off { opacity: .45; cursor: not-allowed; } .xs-ci-ic { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-3); color: var(--brand); flex: none; } .xs-ci-ic svg { width: 16px; height: 16px; }
.xs-ci-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .xs-ci-t b { font-size: 12.5px; font-weight: 600; } .xs-ci-t small { color: var(--text-3); font-size: 10.5px; }
.xs-star { border: 0; background: none; color: var(--text-3); cursor: pointer; font-size: 14px; } .xs-star.is-on { color: #f59f00; }
.xs-mini { position: fixed; z-index: 90; width: 260px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.xs-mini small { color: var(--text-3); } .xs-mini-in { max-height: 180px; overflow: hidden; border-radius: 6px; background: #f6f7fb; zoom: .5; }
.xs-tree { display: flex; flex-direction: column; font-size: 12.5px; }
.xs-lrow { display: flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 4px; border-radius: 6px; cursor: default; border: 1px solid transparent; white-space: nowrap; }
.xs-lrow:hover { background: var(--surface-3); } .xs-lrow.is-on { background: var(--brand-50); border-color: var(--brand-100); } .xs-lrow.is-hidden .xs-lname { opacity: .45; text-decoration: line-through; } .xs-lrow.is-prot .xs-lic { color: var(--ok); }
.xs-lrow.is-dropb { box-shadow: inset 0 2px 0 var(--brand); } .xs-lrow.is-dropa { box-shadow: inset 0 -2px 0 var(--brand); } .xs-lrow.is-dropi { background: var(--brand-100); }
.xs-caret { border: 0; background: none; width: 16px; padding: 0; cursor: pointer; color: var(--text-3); transition: transform .12s; } .xs-caret.is-open { transform: rotate(90deg); } .xs-caret-sp { width: 16px; display: inline-block; }
.xs-lic { width: 14px; height: 14px; color: var(--text-3); flex: none; } .xs-lname { overflow: hidden; text-overflow: ellipsis; } .xs-lrename { height: 24px; padding: 0 4px; }
.xs-ltag { font-size: 9.5px; padding: 0 4px; border-radius: 4px; background: var(--surface-3); color: var(--text-3); text-transform: uppercase; } .xs-ltag.is-prot { background: var(--ok-bg); color: var(--ok); }
.xs-lacts { display: none; } .xs-lrow:hover .xs-lacts, .xs-lrow.is-on .xs-lacts { display: inline-flex; } .xs-lacts .xs-ib { width: 22px; height: 22px; }
.xs-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .xs-media-pick { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.xs-mi { margin: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); padding: 0; text-align: left; cursor: pointer; font: inherit; display: flex; flex-direction: column; }
.xs-mi img { width: 100%; height: 84px; object-fit: cover; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 12px 12px; } .xs-mi figcaption { padding: 5px 6px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; } .xs-mi figcaption small { color: var(--text-3); }
.xs-mi.is-arch { opacity: .5; } .xs-mi-acts { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; } .xs-thumb { width: 52px; height: 36px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.xs-list { display: flex; flex-direction: column; gap: 2px; } .xs-li { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border: 1px solid transparent; border-radius: 8px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.xs-li:hover { background: var(--surface-3); } .xs-li.is-on { background: var(--brand-50); } .xs-li > span { display: flex; flex-direction: column; min-width: 0; } .xs-li small { color: var(--text-3); font-size: 11px; } .xs-li svg { width: 15px; height: 15px; color: var(--text-3); flex: none; }
.xs-tok { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center; padding: 3px 0; } .xs-tok code { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.xs-hexw { display: inline-flex; gap: 4px; align-items: center; } .xs-swatch { width: 30px; height: 28px; padding: 0 2px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); } .xs-hex { width: 86px !important; height: 28px !important; font-size: 12px !important; }
.xs-colorw { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; } .xs-dotc { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-block; flex: none; }
.xs-toksel { width: auto !important; min-width: 96px; height: 28px !important; font-size: 12px !important; padding: 0 6px !important; } .xs-toknum { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.xs-num { width: 76px !important; height: 28px !important; font-size: 12px !important; padding: 0 6px !important; }
.xs-narea { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--divider); border-radius: 8px; } .xs-narea-h { display: flex; align-items: center; gap: 6px; } .xs-narea-h small { color: var(--text-3); }
.xs-nrow { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); } .xs-nrow.is-hidden { opacity: .55; } .xs-nrow.is-dropbefore { box-shadow: inset 0 2px 0 var(--brand); } .xs-nrow.is-flash { animation: xs-flash 1.2s 2; }
.xs-nrow .sz-input { height: 28px; font-size: 12px; padding: 0 6px; min-width: 0; flex: 1; } .xs-nicon { width: 78px !important; height: 28px !important; font-size: 11.5px !important; padding: 0 4px !important; }
.xs-grab { cursor: grab; color: var(--text-3); padding: 0 2px; font-size: 11px; letter-spacing: -2px; } .xs-nchildren { margin-left: 18px; display: flex; flex-direction: column; gap: 3px; margin-top: 3px; } .xs-nitem { display: flex; flex-direction: column; }
.xs-ntarget { display: inline-flex; align-items: center; gap: 4px; max-width: 120px; height: 28px; padding: 0 6px; border: 1px dashed var(--border-strong); border-radius: 6px; background: var(--surface-2); color: var(--text-2); font: inherit; font-size: 11.5px; cursor: pointer; overflow: hidden; white-space: nowrap; }
.xs-ntarget span { overflow: hidden; text-overflow: ellipsis; } .xs-ntarget svg { width: 13px; height: 13px; flex: none; }
@keyframes xs-flash { 50% { background: var(--brand-100); } }
.xs-route .xs-routebox { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 6px; } .xs-route code { font-size: 11.5px; } .xs-route small { color: var(--text-3); }
.xs-token { display: block; word-break: break-all; padding: 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; }
.xs-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; } .xs-tcard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; font: inherit; color: inherit; text-align: left; }
.xs-tcard:hover { border-color: var(--brand); } .xs-tcard small { color: var(--text-3); } .xs-tcard svg { width: 18px; height: 18px; color: var(--brand); }
/* stage + canvas */
.xs-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--surface-3); }
.xs-banner { display: flex; flex-direction: column; gap: 1px; } .xs-bn { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--info-bg, #eaf2ff); color: var(--text-2); font-size: 12px; border-bottom: 1px solid var(--border); } .xs-bn svg { width: 15px; height: 15px; flex: none; }
.xs-bn-warn { background: var(--warn-bg); color: var(--warn); } .xs-bn-sym { background: var(--violet-bg, #f3efff); }
.xs-recover { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--warn-bd); } .xs-recover svg { width: 16px; height: 16px; }
.xs-canvas { position: relative; flex: 1; overflow: auto; padding: 28px 32px 60px; outline: none; background-image: radial-gradient(circle, color-mix(in srgb, var(--text-3) 25%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
.xs-framewrap { margin: 0 auto; position: relative; }
.xs-frame { transform-origin: 0 0; display: inline-block; } .xs-frame.is-web { border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; overflow: hidden; }
.xs-frame.is-web::before { content: ''; display: block; height: 26px; background: linear-gradient(#eceff4, #e3e7ee); border-bottom: 1px solid #d5dae3; }
.xs-frame.is-device { padding: 14px; border-radius: 52px; background: #0e1116; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c313b; } .xs-frame.is-device.is-android { border-radius: 30px; } .xs-frame.is-device.is-land { border-radius: 40px; }
.xs-frame.is-device .xs-screen { border-radius: 38px; overflow: hidden; } .xs-frame.is-device.is-android .xs-screen { border-radius: 18px; }
.xs-screen { position: relative; background: #fff; overflow: hidden; }
.xs-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.xs-hov { position: absolute; outline: 1.5px dashed var(--brand); outline-offset: -1px; border-radius: 2px; }
.xs-sel { position: absolute; outline: 2px solid var(--brand); outline-offset: -1px; border-radius: 2px; } .xs-sel.is-multi { outline-color: #ae3ec9; }
.xs-tag { position: absolute; left: -1px; top: -21px; padding: 2px 6px; font-size: 11px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 4px 4px 4px 0; white-space: nowrap; }
.xs-hov .xs-tag { background: color-mix(in srgb, var(--brand) 70%, transparent); }
.xs-grip { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--brand); border-radius: 3px; pointer-events: auto; } .xs-grip-e { right: -6px; top: calc(50% - 5px); cursor: ew-resize; } .xs-grip-s { bottom: -6px; left: calc(50% - 5px); cursor: ns-resize; } .xs-grip-se { right: -6px; bottom: -6px; cursor: nwse-resize; }
.xs-seltools { position: absolute; right: -1px; top: -31px; display: flex; gap: 1px; padding: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; box-shadow: var(--shadow-md); pointer-events: auto; } .xs-seltools .xs-ib { width: 24px; height: 24px; }
.xs-drop { position: absolute; background: var(--brand); border-radius: 2px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent); } .xs-drop.is-inside { background: color-mix(in srgb, var(--brand) 14%, transparent); outline: 2px dashed var(--brand); }
.xs-drop .xs-tag { top: -20px; } .xs-guide { position: absolute; background: #e8590c; } .xs-guide.is-v { width: 1px; } .xs-guide.is-h { height: 1px; }
.xs-crumbs { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-top: 1px solid var(--border); background: var(--surface); font-size: 12px; min-height: 30px; overflow-x: auto; white-space: nowrap; }
.xs-crumb-page { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; } .xs-crumb-page svg { width: 14px; height: 14px; } .xs-crumb-sep { color: var(--text-3); }
.xs-crumb { border: 0; background: none; color: var(--text-2); padding: 2px 4px; border-radius: 4px; cursor: pointer; font: inherit; } .xs-crumb:hover { background: var(--surface-3); } .xs-crumb.is-on { color: var(--brand); font-weight: 600; } .xs-meta { color: var(--text-3); }
.xs-inline { outline: 2px solid #ae3ec9 !important; outline-offset: 2px; cursor: text; background: color-mix(in srgb, #ae3ec9 6%, transparent); }
/* inspector */
.xs-right { border-left: 1px solid var(--border); background: var(--surface); overflow: auto; min-height: 0; display: flex; flex-direction: column; }
.xs-ins-h { display: flex; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid var(--divider); } .xs-ins-h > svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.xs-ins-h .sz-select { width: auto; height: 28px; font-size: 12px; padding: 0 6px; } .xs-ins-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .xs-ins-t small { color: var(--text-3); font-size: 11px; }
.xs-nameinp { border: 1px solid transparent; background: none; font: inherit; font-weight: 700; font-size: 13.5px; padding: 2px 4px; border-radius: 5px; color: var(--text); width: 100%; } .xs-nameinp:hover, .xs-nameinp:focus { border-color: var(--border-strong); background: var(--surface); }
.xs-scope { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--surface-2); border-bottom: 1px solid var(--divider); flex-wrap: wrap; } .xs-scope .sz-select { width: auto; height: 28px; font-size: 12px; padding: 0 6px; flex: 1; } .xs-scope > span { font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.xs-scopehint { padding: 6px 10px; font-size: 11.5px; background: var(--brand-50); color: var(--brand-700); border-radius: 0; }
.xs-prot { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; font-size: 11.5px; background: var(--ok-bg); color: var(--ok); } .xs-prot svg { width: 16px; height: 16px; flex: none; }
.xs-itabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.xs-itab { border: 0; background: none; padding: 6px 7px; font: inherit; font-size: 12px; color: var(--text-3); cursor: pointer; border-bottom: 2px solid transparent; } .xs-itab:hover { color: var(--text); } .xs-itab.is-on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.xs-ibody { padding: 8px 10px 40px; display: flex; flex-direction: column; gap: 4px; } .xs-ibody.is-ro { opacity: .8; }
.xs-frow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; gap: 6px; align-items: center; min-height: 30px; } .xs-frow > label { font-size: 11.5px; color: var(--text-2); line-height: 1.2; }
.xs-fctl { min-width: 0; } .xs-fctl > .sz-input, .xs-fctl > .sz-select { height: 28px; font-size: 12px; padding: 0 6px; } .xs-fctl > .sz-textarea { font-size: 12px; padding: 6px; height: auto; }
.xs-ind { width: 18px; height: 18px; display: grid; place-items: center; font-size: 10px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--text-3); border-radius: 4px; }
.xs-ind.is-inh { cursor: help; opacity: .6; } .xs-ind.is-over { color: #1c7ed6; } .xs-ind.is-tok { color: #ae3ec9; } .xs-ind.is-set { color: var(--text-2); } .xs-ind:hover { background: var(--surface-3); }
.xs-toggle { width: 34px; height: 20px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.xs-toggle::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); } .xs-toggle:checked { background: var(--brand); } .xs-toggle:checked::after { transform: translateX(14px); } .xs-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.xs-box4 { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; gap: 4px; padding: 18px 6px 6px; border: 1px dashed var(--border-strong); border-radius: 8px; background: var(--surface-2); align-items: center; justify-items: center; }
.xs-box4-in { grid-column: 2; grid-row: 2; position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; gap: 4px; padding: 18px 6px 6px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); width: 100%; align-items: center; justify-items: center; min-height: 92px; }
.xs-box4-l { position: absolute; left: 6px; top: 3px; font-size: 9.5px; text-transform: uppercase; color: var(--text-3); }
.xs-b4-mt, .xs-b4-pt { grid-column: 2; grid-row: 1; } .xs-b4-mb, .xs-b4-pb { grid-column: 2; grid-row: 3; } .xs-b4-ml, .xs-b4-pl { grid-column: 1; grid-row: 2; } .xs-b4-mr, .xs-b4-pr { grid-column: 3; grid-row: 2; }
.xs-b4 .xs-toknum { flex-direction: column; } .xs-b4 .xs-toksel { min-width: 58px; width: 58px !important; font-size: 11px !important; } .xs-b4 .xs-num { width: 58px !important; }
.xs-corners { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; } .xs-corners label { display: flex; align-items: center; gap: 4px; }
.xs-act { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); } .xs-act .sz-select { height: 28px; font-size: 12px; padding: 0 6px; }
.xs-resp { border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; } .xs-resp-h { display: flex; align-items: center; gap: 6px; } .xs-resp-l { margin: 4px 0 0; padding-left: 16px; font-size: 11.5px; }
.xs-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; } .xs-aligns { gap: 2px; }
.xs-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin: 6px 0; font-size: 12px; } .xs-dl dt { color: var(--text-3); } .xs-dl dd { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.xs-json { max-height: 260px; overflow: auto; font-size: 11px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px; margin: 0; white-space: pre-wrap; word-break: break-word; }
.xs-ins-empty { padding: 14px; display: flex; flex-direction: column; gap: 8px; } .xs-ins-empty h3 { margin: 0; font-size: 15px; }
.xs-issues-l { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; } .xs-issues-l li.is-err { color: var(--danger); } .xs-issues-l li.is-warn { color: var(--warn); } .xs-issues-l a { color: inherit; }
.xs-diff-l { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; font-size: 12px; } .xs-dv s { color: var(--danger); } .xs-dv b { color: var(--ok); font-weight: 600; }
.xs-pal-ov { align-items: flex-start; padding-top: 12vh; } .xs-pal { width: min(620px, 92vw); background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.xs-pal-l { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; } .xs-pal-l li { padding: 7px 10px; border-radius: 7px; cursor: pointer; } .xs-pal-l li.is-on { background: var(--brand-50); color: var(--brand); }
.xs-fp-stage { flex: 1; overflow: auto; padding: 20px; display: flex; justify-content: center; align-items: flex-start; background: var(--surface-3); }
@media (max-width: 1180px) { .xs-body { grid-template-columns: 264px minmax(0, 1fr) 290px; } }
@media (max-width: 900px) { .xs-shell { position: static; min-height: 100vh; } .xs-body { display: flex; flex-direction: column; } .xs-left { grid-template-columns: 1fr; border-right: 0; border-bottom: 1px solid var(--border); }
  .xs-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--divider); } .xs-railb { min-width: 64px; } .xs-panel { max-height: 46vh; } .xs-stage { min-height: 70vh; } .xs-right { border-left: 0; border-top: 1px solid var(--border); max-height: 60vh; }
  .xs-canvas { padding: 16px 8px 40px; } .xs-top { gap: 6px; } .xs-brand small { max-width: 140px; } }

/* ---- reference renderer (Web / Reference iOS / Reference Android) */
.xr-root { box-sizing: border-box; line-height: 1.45; -webkit-font-smoothing: antialiased; min-height: 100%; position: relative; } .xr-root *, .xr-root *::before, .xr-root *::after { box-sizing: border-box; }
.xr-root h1, .xr-root h2, .xr-root h3, .xr-root h4, .xr-root p { margin: 0; } .xr-root h1 { font-size: 2em; } .xr-root h2 { font-size: 1.5em; } .xr-root h3 { font-size: 1.17em; } .xr-root img { max-width: 100%; display: block; }
.xr-root button { font: inherit; } .xr-root a { color: inherit; } .xr-editing .xr-n { cursor: default; } .xr-editing a, .xr-editing button { cursor: default; } .xr-editing input { pointer-events: none; }
.xr-hidden-node { opacity: .32; outline: 1px dashed #999; } .xr-locked { } .xr-tappable { cursor: pointer; }
.xr-web { display: flex; flex-direction: column; min-height: 100%; } .xr-web-main { flex: 1; } .xr-web-head { display: flex; align-items: center; gap: 22px; padding: 12px 28px; }
.xr-bp-mobile .xr-web-head { padding: 10px 14px; gap: 10px; } .xr-wordmark { font-size: 18px; letter-spacing: -.01em; white-space: nowrap; } .xr-logo { height: 30px; max-width: 160px; object-fit: contain; } .xr-brandlink { text-decoration: none; color: inherit; display: flex; align-items: center; }
.xr-web-nav { display: flex; gap: 18px; align-items: center; flex: 1; } .xr-navlink { text-decoration: none; font-weight: 600; font-size: 14px; color: inherit; opacity: .85; display: inline-flex; align-items: center; gap: 6px; } .xr-navlink:hover, .xr-navlink.is-active { opacity: 1; }
.xr-mega { position: relative; } .xr-mega-panel { display: none; position: absolute; top: 100%; left: -12px; min-width: 180px; padding: 10px; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.18); flex-direction: column; gap: 8px; z-index: 30; } .xr-mega:hover .xr-mega-panel { display: flex; }
.xr-web-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; } .xr-fakesearch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid; border-radius: 999px; font-size: 13px; opacity: .75; min-width: 160px; }
.xr-toolbtn { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none; } .xr-toolspacer { width: 36px; }
.xr-ic { width: 20px; height: 20px; } .xr-dot { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; color: #fff; font-size: 10px; line-height: 16px; text-align: center; } .xr-dotsm { position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; }
.xr-mmenu { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
.xr-web-foot { padding: 22px 28px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; } .xr-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.xr-app { display: flex; flex-direction: column; height: 100%; } .xr-statusbar { display: flex; justify-content: space-between; padding: 12px 26px 4px; font-size: 12px; font-weight: 600; } .xr-app.is-android .xr-statusbar { padding: 6px 16px 4px; }
.xr-app-top { display: flex; align-items: center; gap: 4px; padding: 4px 8px 8px; } .xr-app-title { flex: 1; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .xr-app-title.is-center { text-align: center; } .xr-app-actions { display: flex; min-width: 36px; justify-content: flex-end; }
.xr-app-body { flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.xr-tabs-bottom { display: flex; justify-content: space-around; padding: 6px 4px 18px; } .xr-tabs-bottom.is-android { padding-bottom: 10px; }
.xr-tab-b { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: 10.5px; font-weight: 600; min-width: 56px; } .xr-tab-ic { position: relative; display: grid; place-items: center; width: 52px; height: 28px; border-radius: 999px; } .xr-tab-ic .xr-ic { width: 22px; height: 22px; }
.xr-drawer-ov, .xr-overlay { position: absolute; inset: 0; background: rgba(15,18,28,.45); z-index: 40; display: flex; } .xr-overlay.is-modal { align-items: center; justify-content: center; padding: 20px; } .xr-overlay.is-drawer-end { justify-content: flex-end; } .xr-overlay.is-drawer-bottom { align-items: flex-end; }
.xr-drawer { width: 78%; max-width: 320px; height: 100%; padding: 50px 20px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 8px 0 30px rgba(0,0,0,.2); }
.xr-modal-box { width: min(440px, 100%); max-height: 86%; overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.3); } .xr-drawer-box { width: min(340px, 86%); height: 100%; overflow: auto; } .is-drawer-bottom .xr-drawer-box { width: 100%; height: auto; max-height: 75%; border-radius: 18px 18px 0 0; }
.xr-modal-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .xr-x { border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; opacity: .7; padding: 0 4px; }
.xr-flash { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); background: rgba(20,24,36,.92); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; z-index: 60; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.xr-offline { background: #343a40; color: #fff; text-align: center; font-size: 12px; padding: 6px; }
.xr-page { display: flex; flex-direction: column; } .xr-sec { width: 100%; } .xr-box { min-width: 0; } .xr-unknown, .xr-unsupported { padding: 10px; border: 1px dashed #c92a2a; color: #c92a2a; font-size: 12px; border-radius: 6px; } .xr-unsupported { border-color: #adb5bd; color: #868e96; }
.xr-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 10px, rgba(0,0,0,.07) 10px 20px); color: rgba(0,0,0,.4); font-size: 12px; min-height: 80px; border-radius: inherit; }
.xr-img { width: 100%; height: 100%; display: block; } .xr-spacer { flex: none; } .xr-hr { border: 0; border-top-style: solid; margin: 0; width: 100%; }
.xr-btn { transition: filter .12s, transform .06s; } .xr-btn:hover { filter: brightness(1.06); } .xr-btn:active { transform: scale(.98); } .xr-btn .xr-ic { width: 17px; height: 17px; }
.xr-iconwrap { display: inline-grid; place-items: center; } .xr-iconwrap .xr-ic { width: 1em; height: 1em; } .xr-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; align-self: flex-start; }
.xr-link { font-weight: 600; text-underline-offset: 3px; } .xr-ul { margin: 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; } .xr-ul li { display: flex; gap: 8px; align-items: flex-start; } .xr-mark { width: 16px; height: 16px; margin-top: 2px; flex: none; } ol.xr-ul { list-style: decimal; padding-left: 20px; } ol.xr-ul li { display: list-item; }
.xr-rich p + p { margin-top: .6em; } .xr-rich blockquote { margin: .6em 0; padding-left: 12px; border-left: 3px solid currentColor; opacity: .8; } .xr-rich li { margin-left: 18px; }
.xr-video { position: relative; display: grid; place-items: center; background: #111; color: #fff; min-height: 160px; border-radius: inherit; overflow: hidden; text-align: center; padding: 10px; } .xr-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.xr-play { position: relative; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; display: grid; place-items: center; font-size: 20px; } .xr-video small { position: relative; font-size: 11px; opacity: .85; } .xr-cap { position: relative; font-size: 12px; }
.xr-crumbs { display: flex; gap: 6px; padding: 12px 28px 0; font-size: 13px; opacity: .7; flex-wrap: wrap; } .xr-bp-mobile .xr-crumbs { padding: 10px 14px 0; }
.xr-colhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; } .xr-coll { display: flex; flex-direction: column; gap: 10px; }
.xr-grid { display: grid; } .xr-list { display: flex; flex-direction: column; } .xr-chips { display: flex; flex-wrap: wrap; gap: 8px; } .xr-hscroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; } .xr-hscroll > * { scroll-snap-align: start; }
.xr-pcard { display: flex; flex-direction: column; overflow: hidden; min-width: 0; transition: transform .15s, box-shadow .15s; } .xr-pcard.xr-tappable:hover { transform: translateY(-2px); }
.xr-pimg { position: relative; aspect-ratio: 1 / 1; } .xr-pimg .xr-thumb { width: 100%; height: 100%; } .xr-pbadge { position: absolute; top: 8px; left: 8px; color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.xr-oos { position: absolute; inset: auto 8px 8px 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; text-align: center; border-radius: 6px; padding: 3px; }
.xr-pbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; } .xr-pbrand { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; } .xr-pname { font-weight: 600; font-size: .95em; line-height: 1.3; }
.xr-price { display: flex; gap: 8px; align-items: baseline; } .xr-price s { font-size: .85em; } .xr-price-l { font-size: 1.5em; font-weight: 800; } .xr-stars { color: #f59f00; font-size: 12px; letter-spacing: 1px; } .xr-stars small { color: inherit; opacity: .7; letter-spacing: 0; }
.xr-pcard-compact .xr-pbody { padding: 8px; } .xr-pcard-horizontal { flex-direction: row; } .xr-pcard-horizontal .xr-pimg { width: 38%; flex: none; } .xr-pcard-detailed .xr-pbody { gap: 6px; }
.xr-thumb { display: grid; place-items: center; font-weight: 800; font-size: 20px; color: rgba(0,0,0,.35); letter-spacing: .04em; aspect-ratio: 1 / 1; } .xr-small { font-size: 12px; } .xr-muted { opacity: .7; }
.xr-cattile { display: flex; flex-direction: column; gap: 6px; padding: 10px; align-items: center; text-align: center; } .xr-cat-th { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; } .xr-catcircle { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 600; font-size: 13px; }
.xr-round { width: 76px; height: 76px; border-radius: 50%; font-size: 16px; } .xr-catover { position: relative; overflow: hidden; } .xr-catover .xr-thumb { aspect-ratio: 4 / 3; } .xr-catover b { position: absolute; left: 10px; bottom: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.xr-catchip, .xr-chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(0,0,0,.08); background: transparent; color: inherit; } .xr-chip .xr-ic { width: 14px; height: 14px; }
.xr-brand { display: grid; place-items: center; height: 64px; font-weight: 800; letter-spacing: .02em; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); } .xr-brand.is-gray { filter: grayscale(1); opacity: .8; }
.xr-cathead { display: flex; gap: 16px; align-items: center; } .xr-cathead-img { width: 96px; border-radius: 12px; }
.xr-cd { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; } .xr-cd-u { display: inline-flex; flex-direction: column; align-items: center; min-width: 46px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.18); } .xr-cd-u b { font-size: 1.3em; font-variant-numeric: tabular-nums; } .xr-cd-u small { font-size: 10px; opacity: .8; }
.xr-cd-inline .xr-cd-u, .xr-cd-compact .xr-cd-u { flex-direction: row; gap: 2px; background: none; padding: 0; min-width: 0; } .xr-cd-l { font-weight: 600; }
.xr-search { display: flex; gap: 8px; } .xr-input, .xr-select { flex: 1; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.15); font: inherit; background: #fff; color: #111; min-width: 0; } .xr-select { flex: none; height: 36px; }
.xr-filters { display: flex; gap: 8px; flex-wrap: wrap; } .xr-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.xr-cart { display: flex; flex-direction: column; gap: 10px; } .xr-cartline { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.08); } .xr-cart-th { width: 64px; border-radius: 10px; font-size: 14px; } .xr-grow { flex: 1; min-width: 0; }
.xr-summary { display: flex; flex-direction: column; gap: 10px; } .xr-sumrow { display: flex; justify-content: space-between; gap: 10px; }
.xr-carticon { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; } .xr-iconbtn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(0,0,0,.12); background: transparent; color: inherit; padding: 8px 14px; border-radius: 999px; font-weight: 600; min-height: 44px; }
.xr-protected { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; border: 1.5px dashed rgba(47,158,68,.55); background: rgba(47,158,68,.05); } .xr-center { align-items: center; text-align: center; }
.xr-prot-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .xr-prot-tag { margin-left: auto; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #2b8a3e; background: rgba(47,158,68,.12); padding: 2px 8px; border-radius: 999px; }
.xr-steps { display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; flex-wrap: wrap; counter-reset: s; font-size: 12.5px; } .xr-steps li { counter-increment: s; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.05); } .xr-steps li::before { content: counter(s) '. '; } .xr-steps li.is-on { background: rgba(47,158,68,.16); font-weight: 700; }
.xr-fields { display: flex; flex-direction: column; gap: 8px; } .xr-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; } .xr-fake-input { height: 42px; border-radius: 8px; border: 1px solid rgba(0,0,0,.15); background: rgba(255,255,255,.7); }
.xr-okmark { width: 56px; height: 56px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 800; } .xr-consent { display: flex; align-items: center; gap: 8px; }
.xr-orders { display: flex; flex-direction: column; gap: 8px; } .xr-order { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); } .xr-order > div { flex: 1; } .xr-ostat { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.06); }
.xr-ann { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; text-align: center; }
.xr-features { display: grid; } .xr-feature { display: flex; gap: 12px; align-items: flex-start; padding: 14px; } .xr-features-inline .xr-feature { padding: 4px; } .xr-feat-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,0,.05); flex: none; }
.xr-acct { display: flex; align-items: center; gap: 14px; justify-content: space-between; } .xr-avatar { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; } .xr-acct > div { flex: 1; }
.xr-short { display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 600; } .xr-short b { flex: 1; } .xr-chev { opacity: .5; font-size: 18px; }
.xr-state { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; text-align: center; opacity: .85; } .xr-statebig { padding: 40px 18px; } .xr-big { width: 40px; height: 40px; opacity: .6; }
.xr-skel-wrap, .xr-skel-grid { display: grid; gap: 10px; } .xr-skel-grid { grid-template-columns: repeat(4, 1fr); } .xr-skel-card .xr-skel { height: 90px; } .xr-skel-grid .xr-skel { height: 140px; } .xr-skel-text .xr-skel { height: 12px; }
.xr-skel { border-radius: 8px; background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.12), rgba(0,0,0,.06)); background-size: 200% 100%; animation: xr-shim 1.2s infinite; } @keyframes xr-shim { to { background-position: -200% 0; } }
.xr-tabs { display: flex; flex-direction: column; gap: 12px; } .xr-tabbar { display: flex; gap: 6px; border-bottom: 1px solid rgba(0,0,0,.08); overflow-x: auto; } .xr-tab { border: 0; border-bottom: 2px solid transparent; background: none; padding: 8px 12px; font-weight: 600; cursor: pointer; color: inherit; opacity: .7; } .xr-tab.is-on { opacity: 1; }
.xr-tabbar-pills { border: 0; } .xr-tabbar-pills .xr-tab { border-radius: 999px; border: 0; background: rgba(0,0,0,.05); } .xr-tabbar-pills .xr-tab.is-on { background: rgba(0,0,0,.12); } .xr-tabbar-segmented { border: 0; padding: 3px; border-radius: 10px; background: rgba(0,0,0,.06); } .xr-tabbar-segmented .xr-tab { flex: 1; border: 0; border-radius: 8px; } .xr-tabbar-segmented .xr-tab.is-on { background: #fff; }
.xr-acc { display: flex; flex-direction: column; gap: 6px; } .xr-acc-h { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: none; padding: 4px 0; font-weight: 700; cursor: pointer; color: inherit; text-align: start; } .xr-acc-b { padding-top: 6px; display: flex; flex-direction: column; gap: 6px; } .xr-acc-i { font-size: 18px; opacity: .6; }
.xr-car { position: relative; overflow: hidden; } .xr-car-view { overflow: hidden; } .xr-car-track { display: flex; transition: transform .35s cubic-bezier(.2, 0, 0, 1); } .xr-car-track > * { min-width: 0; }
.xr-car-prev, .xr-car-next { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; font-size: 20px; color: #111; } .xr-car-prev { left: 10px; } .xr-car-next { right: 10px; }
.xr-car-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; } .xr-car-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; } .xr-car-dots button.is-on { background: #fff; width: 20px; border-radius: 4px; }
.xr-scrollregion { overflow: auto; } .xr-scrollregion:not(.is-v) > * { flex: none; } .xr-editbox { border: 1.5px dashed #ae3ec9; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; } .xr-editbox-h { font-size: 11px; font-weight: 700; color: #ae3ec9; text-transform: uppercase; }
.xr-gallery { display: flex; flex-direction: column; gap: 8px; } .xr-gal-main { border-radius: 14px; font-size: 40px; } .xr-gal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .xr-gal-th { border-radius: 8px; font-size: 12px; }
.xr-qty { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; padding: 4px; align-self: flex-start; } .xr-qbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); cursor: pointer; font-size: 18px; color: inherit; }
.xr-stock { font-weight: 600; font-size: 13px; } [dir="rtl"] .xr-car-prev { left: auto; right: 10px; } [dir="rtl"] .xr-car-next { right: auto; left: 10px; } [dir="rtl"] .xr-flip { transform: none; }
@media (prefers-reduced-motion: reduce) { .xr-car-track, .xr-pcard, .xr-skel { transition: none; animation: none; } }
.xs-shell [hidden], .xs-mini [hidden] { display: none !important; } .xs-back svg { width: 18px; height: 18px; flex: none; } .xs-top .sz-btn svg { width: 16px; height: 16px; }
.xs-nrow { flex-wrap: wrap; } .xs-nrow > .sz-input { flex: 1 1 100px; } .xs-nline2 { flex: 1 1 100%; display: flex; gap: 4px; padding-left: 16px; } .xs-nline2 .xs-ntarget { flex: 1; max-width: none; }
.xs-panel .xs-frow { grid-template-columns: 76px minmax(0, 1fr) 18px; } .xs-panel .xs-seg .xs-segb { padding: 0 7px; }
@media (min-width: 1280px) { .xs-top { flex-wrap: nowrap; overflow-x: auto; } } .xs-top > * { flex: none; }
.xs-overlay.is-drag .xs-seltools, .xs-overlay.is-drag .xs-grip { display: none; }
.xs-top { gap: 6px; } .xs-top .sz-select { padding: 0 24px 0 8px; } .xs-top .xs-segb { padding: 0 7px; } .xs-pagesel { max-width: 160px; } .xs-devsel { max-width: 168px; } .xs-top .sz-btn { padding: 0 9px; }
@media (max-width: 1800px) { .xs-brand small { display: none; } .xs-zoomlbl { min-width: 34px; } }
