/* Extras — shared CSS for the 10 added pages.
   Builds on existing .aq-* tokens. */

/* ── Generic page scaffolding ─────────────────────────── */
.x-content { padding: 22px 28px 60px; display: flex; flex-direction: column; gap: 18px; }
.x-pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--aq-line); }
.x-pagehead h1 { margin: 0; font-family: var(--aq-ff-display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--aq-text); }
.x-pagehead p { margin: 4px 0 0; font-size: 12.5px; color: var(--aq-text-dim); }
.x-eyebrow { font-family: var(--aq-ff-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aq-text-faint); margin-bottom: 8px; }

/* Apple pass (May 2026): primary was a flat `var(--aq-text)` fill — pure
   white in dark mode, which glares. Pull it ~10% toward the page so it reads
   as a calm off-white primary while staying theme-aware (still a dark button
   in light mode). Ghost dropped its fill + resting border to become a quiet
   text button; a subtle wash appears on hover instead. */
.x-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: color-mix(in srgb, var(--aq-text) 90%, var(--aq-bg)); color: #08090b; border: 0; border-radius: 6px; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; transition: background var(--aq-d-1) var(--aq-ease); }
.x-btn:hover { background: color-mix(in srgb, var(--aq-text) 82%, var(--aq-bg)); }
.x-btn.ghost { background: transparent; border: 1px solid transparent; color: var(--aq-text-dim); font-weight: 400; }
.x-btn.ghost:hover { background: var(--aq-surface-2); color: var(--aq-text); }
.x-btn.sm { padding: 4px 9px; font-size: 11.5px; }
.x-btn.is-danger { background: var(--aq-danger); color: white; }
.x-btn.is-success { background: var(--aq-success); color: #062018; }

.x-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.x-card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--aq-line); }
.x-card-head h2 { margin: 0; font-family: var(--aq-ff-display); font-size: 13.5px; font-weight: 500; color: var(--aq-text); letter-spacing: -0.005em; }
.x-card-head p { margin: 2px 0 0; font-size: 11px; color: var(--aq-text-faint); }

.x-row { display: grid; gap: 14px; }
.x-row-2 { grid-template-columns: 1fr 1fr; }
.x-row-side { grid-template-columns: 1fr 320px; }
.x-row-3 { grid-template-columns: repeat(3,1fr); }
.x-row-4 { grid-template-columns: repeat(4,1fr); }

.x-mono { font-family: var(--aq-ff-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--aq-text-dim); }
.x-faint { color: var(--aq-text-faint); }

/* ── Media library ────────────────────────────────────── */
.x-media-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--aq-line); border: 1px solid var(--aq-line); border-radius: 10px; overflow: hidden; }
.x-media-card { background: var(--aq-surface); padding: 10px; cursor: pointer; transition: background 100ms; }
.x-media-card:hover { background: var(--aq-surface-2); }
.x-media-card.is-selected { background: var(--aq-accent-soft); }
.x-media-thumb { aspect-ratio: 16/9; border-radius: 6px; border: 1px solid var(--aq-line); position: relative; overflow: hidden; margin-bottom: 8px; }
.x-media-thumb-img { position: absolute; inset: 0; }
.x-media-thumb-tag { position: absolute; top: 6px; left: 6px; font-family: var(--aq-ff-mono); font-size: 9px; padding: 2px 5px; background: rgba(0,0,0,0.55); color: white; border-radius: 3px; letter-spacing: 0.04em; backdrop-filter: blur(4px); }
.x-media-thumb-dur { position: absolute; bottom: 6px; right: 6px; font-family: var(--aq-ff-mono); font-size: 9px; padding: 2px 5px; background: rgba(0,0,0,0.65); color: white; border-radius: 3px; letter-spacing: 0.04em; }
.x-media-name { font-size: 12px; color: var(--aq-text); font-weight: 450; line-height: 1.3; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-media-meta { font-family: var(--aq-ff-mono); font-size: 10px; color: var(--aq-text-faint); letter-spacing: 0.02em; display: flex; justify-content: space-between; }

.x-filter-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 8px; }
.x-filter-input { flex: 1; height: 28px; padding: 0 10px; background: var(--aq-surface-2); border: 1px solid var(--aq-line); border-radius: 6px; color: var(--aq-text); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.x-filter-input span { color: var(--aq-text-faint); }
.x-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; background: var(--aq-surface-2); border: 1px solid var(--aq-line); border-radius: 5px; font-size: 11px; color: var(--aq-text-dim); cursor: pointer; }
.x-chip.is-active { background: var(--aq-accent-soft); border-color: var(--aq-accent-line); color: var(--aq-accent); }
.x-chip-count { font-family: var(--aq-ff-mono); font-size: 9.5px; color: var(--aq-text-faint); margin-left: 2px; }

/* Asset detail right pane */
.x-media-detail { padding: 0; }
.x-media-detail-hero { aspect-ratio: 16/9; background: linear-gradient(135deg, oklch(0.30 0.06 220), oklch(0.18 0.04 240)); border-bottom: 1px solid var(--aq-line); position: relative; }
.x-media-detail-body { padding: 14px 16px; }
.x-kv { display: grid; grid-template-columns: 100px 1fr; gap: 4px 12px; font-size: 12px; padding: 8px 0; border-top: 1px solid var(--aq-line); }
.x-kv:first-child { border-top: 0; }
.x-kv .x-k { font-family: var(--aq-ff-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aq-text-faint); align-self: center; }
.x-kv .x-v { color: var(--aq-text-dim); }
.x-kv .x-v b { color: var(--aq-text); font-weight: 500; }

/* ── Approvals / queue ────────────────────────────────── */
.x-approval { display: grid; grid-template-columns: 280px 1fr 320px; gap: 0; min-height: 580px; }
.x-approval-list { border-right: 1px solid var(--aq-line); overflow: auto; }
.x-approval-row { padding: 12px 14px; border-bottom: 1px solid var(--aq-line); cursor: pointer; transition: background 120ms ease; }
.x-approval-row:hover { background: var(--aq-surface-2); }
.x-approval-row.is-active { background: var(--aq-accent-soft); position: relative; }
.x-approval-row.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--aq-accent); }
.x-approval-row-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.x-approval-row-title { font-size: 13px; color: var(--aq-text); font-weight: 500; }
.x-approval-row-time { font-family: var(--aq-ff-mono); font-size: 10px; color: var(--aq-text-faint); }
.x-approval-row-meta { font-size: 11.5px; color: var(--aq-text-dim); margin-top: 2px; display: flex; gap: 6px; align-items: center; }

.x-diff { padding: 16px; overflow: auto; }
.x-diff-block { margin-bottom: 14px; }
.x-diff-label { font-family: var(--aq-ff-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aq-text-faint); margin-bottom: 4px; }
.x-diff-old, .x-diff-new { padding: 8px 12px; border-radius: 6px; font-size: 12.5px; line-height: 1.6; }
.x-diff-old { background: color-mix(in srgb, var(--aq-danger) 10%, transparent); border-left: 2px solid var(--aq-danger); color: var(--aq-text-dim); text-decoration: line-through; text-decoration-color: var(--aq-text-faint); margin-bottom: 4px; }
.x-diff-new { background: color-mix(in srgb, var(--aq-success) 10%, transparent); border-left: 2px solid var(--aq-success); color: var(--aq-text); }
.x-diff-old b, .x-diff-new b { background: rgba(255,255,255,0.05); padding: 0 2px; border-radius: 2px; font-weight: 500; }

.x-approval-side { background: var(--aq-surface-2); padding: 14px 16px; border-left: 1px solid var(--aq-line); display: flex; flex-direction: column; gap: 14px; }
.x-comment { padding: 10px 12px; background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 7px; }
.x-comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 11.5px; }
.x-avatar { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: white; font-family: var(--aq-ff-display); font-size: 10px; font-weight: 600; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); }
.x-comment-name { color: var(--aq-text); font-weight: 500; }
.x-comment-time { font-family: var(--aq-ff-mono); font-size: 10px; color: var(--aq-text-faint); margin-left: auto; }
.x-comment-body { font-size: 12px; color: var(--aq-text-dim); line-height: 1.5; }

/* ── Audit log ────────────────────────────────────────── */
.x-audit-table { font-family: var(--aq-ff-mono); font-size: 11.5px; }
.x-audit-row { display: grid; grid-template-columns: 140px 24px 200px 1fr 120px 80px; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--aq-line); align-items: center; transition: background 120ms ease; }
.x-audit-row:hover { background: var(--aq-surface-2); }
.x-audit-row.is-head { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aq-text-faint); padding-top: 8px; padding-bottom: 8px; background: var(--aq-surface-2); }
.x-audit-time { color: var(--aq-text-dim); }
.x-audit-actor { color: var(--aq-text); display: flex; align-items: center; gap: 8px; }
.x-audit-action { color: var(--aq-text-dim); }
.x-audit-action b { color: var(--aq-text); font-weight: 500; font-family: var(--aq-ff-display); letter-spacing: -0.005em; }
.x-audit-target { color: var(--aq-accent); }
.x-audit-ip { color: var(--aq-text-faint); }
.x-audit-method { font-size: 9.5px; padding: 2px 6px; border: 1px solid var(--aq-line); border-radius: 3px; color: var(--aq-text-dim); letter-spacing: 0.04em; text-align: center; }
.x-audit-method.is-write { color: var(--aq-warn); border-color: color-mix(in srgb, var(--aq-warn) 30%, transparent); }
.x-audit-method.is-delete { color: var(--aq-danger); border-color: color-mix(in srgb, var(--aq-danger) 30%, transparent); }
.x-audit-method.is-auth { color: var(--aq-success); border-color: color-mix(in srgb, var(--aq-success) 30%, transparent); }

/* ── Version history / diff ───────────────────────────── */
.x-versions { display: grid; grid-template-columns: 280px 1fr; gap: 0; min-height: 700px; }
.x-version-list { border-right: 1px solid var(--aq-line); }
.x-version-row { padding: 12px 14px 12px 32px; border-bottom: 1px solid var(--aq-line); cursor: pointer; position: relative; }
.x-version-row::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 1px; background: var(--aq-line); }
.x-version-row::after { content: ""; position: absolute; left: 13px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--aq-surface-2); border: 2px solid var(--aq-line); }
.x-version-row.is-active { background: var(--aq-accent-soft); }
.x-version-row.is-active::after { background: var(--aq-accent); border-color: var(--aq-accent-glow); box-shadow: 0 0 0 4px var(--aq-accent-glow); }
.x-version-num { font-family: var(--aq-ff-mono); font-size: 11px; color: var(--aq-text-dim); letter-spacing: 0.04em; }
.x-version-title { font-size: 12.5px; color: var(--aq-text); font-weight: 450; margin-top: 2px; }
.x-version-meta { font-size: 11px; color: var(--aq-text-faint); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.x-version-tag { font-family: var(--aq-ff-mono); font-size: 9px; padding: 1px 5px; border: 1px solid var(--aq-line); border-radius: 3px; color: var(--aq-text-faint); letter-spacing: 0.04em; }

/* ── Billing ──────────────────────────────────────────── */
.x-meter { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 9px; }
.x-meter-label { font-family: var(--aq-ff-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aq-text-faint); }
.x-meter-value { font-family: var(--aq-ff-display); font-size: 22px; color: var(--aq-text); font-weight: 500; letter-spacing: -0.012em; }
.x-meter-value small { font-size: 13px; color: var(--aq-text-faint); font-weight: 400; margin-left: 4px; }
.x-meter-bar { height: 6px; background: var(--aq-surface-2); border-radius: 99px; overflow: hidden; }
.x-meter-fill { height: 100%; background: var(--aq-accent); border-radius: 99px; }
.x-meter-fill.is-warn { background: var(--aq-warn); }
.x-meter-fill.is-danger { background: var(--aq-danger); }
.x-meter-foot { font-size: 11px; color: var(--aq-text-dim); display: flex; justify-content: space-between; }

.x-invoice-table { font-size: 12.5px; }
.x-invoice-row { display: grid; grid-template-columns: 110px 1fr 110px 90px 90px; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--aq-line); align-items: center; }
.x-invoice-row.is-head { font-family: var(--aq-ff-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aq-text-faint); background: var(--aq-surface-2); }
.x-invoice-num { font-family: var(--aq-ff-mono); color: var(--aq-text-dim); font-size: 11px; }
.x-invoice-amount { font-family: var(--aq-ff-display); color: var(--aq-text); font-weight: 500; text-align: right; }

/* ── Account settings ─────────────────────────────────── */
/* Typography tuned 2026-05-18 for app-wide consistency:
   label 13 / helper 12 / input 13. Previously labels and inputs were
   both 12.5 with helper at 11, which made helpers feel cramped and
   labels not quite primary. The 1px bump across labels + inputs keeps
   the rhythm but reads more comfortably at 1× density on a 13" screen. */
.x-form-field { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--aq-line); align-items: start; }
.x-form-field:first-child { border-top: 0; padding-top: 0; }
.x-form-label { font-size: 13px; color: var(--aq-text); font-weight: 500; line-height: 1.35; }
.x-form-label small { display: block; font-size: 12px; color: var(--aq-text-faint); margin-top: 4px; font-weight: 400; line-height: 1.45; }
.x-form-control { display: flex; flex-direction: column; gap: 6px; }
.x-input { height: 34px; padding: 0 11px; background: var(--aq-surface-2); border: 1px solid var(--aq-line); border-radius: 6px; color: var(--aq-text); font: inherit; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.x-input.is-focus { border-color: var(--aq-accent-line); box-shadow: 0 0 0 3px var(--aq-accent-soft); }

.x-session-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--aq-line); }
.x-session-row:last-child { border-bottom: 0; }
.x-session-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--aq-surface-2); border: 1px solid var(--aq-line); display: grid; place-items: center; color: var(--aq-text-dim); }
.x-session-name { font-size: 12.5px; color: var(--aq-text); font-weight: 450; }
.x-session-meta { font-family: var(--aq-ff-mono); font-size: 10.5px; color: var(--aq-text-faint); margin-top: 2px; letter-spacing: 0.02em; }

/* ── Pairing screen (TV side) ─────────────────────────── */
.x-pair-tv { width: 100%; height: 100%; background: radial-gradient(ellipse 70% 60% at 50% 30%, oklch(0.18 0.04 240), #050608 80%); display: grid; place-items: center; position: relative; overflow: hidden; color: white; font-family: var(--aq-ff-display); }
.x-pair-tv::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent 80%); }
.x-pair-card { position: relative; z-index: 2; text-align: center; padding: 60px 80px; }
.x-pair-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 50px; opacity: 0.85; }
.x-pair-brand-mark { width: 44px; height: 44px; background: var(--aq-accent-soft); border: 1px solid var(--aq-accent-line); border-radius: 10px; display: grid; place-items: center; color: var(--aq-accent); }
.x-pair-brand-name { font-size: 22px; font-weight: 500; letter-spacing: -0.018em; color: rgba(255,255,255,0.9); }
.x-pair-eyebrow { font-family: var(--aq-ff-mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.x-pair-headline { font-size: 38px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.15; margin-bottom: 38px; color: white; max-width: 18ch; margin-inline: auto; text-wrap: pretty; }
.x-pair-code { display: inline-flex; gap: 10px; margin-bottom: 28px; }
.x-pair-digit { width: 92px; height: 116px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center; font-family: var(--aq-ff-display); font-size: 76px; font-weight: 500; letter-spacing: -0.02em; color: white; box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 8px 18px rgba(0,0,0,0.4); }
.x-pair-digit.is-sep { background: transparent; border: 0; color: rgba(255,255,255,0.3); width: 32px; box-shadow: none; }
.x-pair-url { font-family: var(--aq-ff-mono); font-size: 16px; letter-spacing: 0.04em; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.x-pair-url b { color: white; font-weight: 500; }
.x-pair-meta { display: inline-flex; align-items: center; gap: 16px; font-family: var(--aq-ff-mono); font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 99px; background: rgba(0,0,0,0.2); }
.x-pair-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aq-success); box-shadow: 0 0 6px var(--aq-success); }
.x-pair-qr { position: absolute; bottom: 60px; right: 60px; z-index: 2; width: 120px; height: 120px; padding: 10px; background: white; border-radius: 8px; }
.x-pair-qr svg { width: 100%; height: 100%; display: block; }
.x-pair-qr-label { position: absolute; bottom: 28px; right: 60px; width: 120px; text-align: center; font-family: var(--aq-ff-mono); font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Templates gallery ────────────────────────────────── */
.x-tpl-hero { padding: 22px 24px; background: var(--aq-surface-grad), var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 12px; position: relative; overflow: hidden; }
.x-tpl-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 100% 0%, var(--aq-accent-glow), transparent 60%); pointer-events: none; }
.x-tpl-hero h2 { margin: 0 0 4px; font-family: var(--aq-ff-display); font-size: 22px; font-weight: 500; letter-spacing: -0.018em; color: var(--aq-text); position: relative; }
.x-tpl-hero p { margin: 0; font-size: 13px; color: var(--aq-text-dim); max-width: 60ch; line-height: 1.55; position: relative; }

.x-tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.x-tpl-card { background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color var(--aq-d-1) var(--aq-ease), box-shadow var(--aq-d-1) var(--aq-ease); }
.x-tpl-card:hover { border-color: var(--aq-line-strong); box-shadow: var(--aq-shadow-2), var(--aq-edge-top); }
.x-tpl-card.is-featured { border-color: var(--aq-accent-line); box-shadow: 0 0 0 1px var(--aq-accent-line); }
.x-tpl-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, oklch(0.30 0.06 220), oklch(0.18 0.04 240)); position: relative; border-bottom: 1px solid var(--aq-line); }
.x-tpl-thumb-tag { position: absolute; top: 8px; left: 8px; font-family: var(--aq-ff-mono); font-size: 9px; padding: 2px 6px; background: rgba(0,0,0,0.55); color: white; border-radius: 3px; letter-spacing: 0.04em; backdrop-filter: blur(4px); }
.x-tpl-thumb-tag.is-featured { background: var(--aq-accent); color: var(--aq-accent-ink); }
.x-tpl-body { padding: 12px 14px; }
.x-tpl-name { font-size: 13px; color: var(--aq-text); font-weight: 500; letter-spacing: -0.005em; }
.x-tpl-desc { font-size: 11.5px; color: var(--aq-text-dim); margin: 4px 0 8px; line-height: 1.5; min-height: 32px; }
.x-tpl-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--aq-ff-mono); font-size: 10px; color: var(--aq-text-faint); letter-spacing: 0.04em; text-transform: uppercase; }

/* ── Errors ────────────────────────────────────────── */
.x-err-stage { display: grid; place-items: center; height: 100%; padding: 40px; position: relative; }
.x-err-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 50% 30%, var(--aq-accent-glow), transparent 60%); pointer-events: none; }
.x-err-card { position: relative; z-index: 2; max-width: 460px; text-align: center; }
.x-err-code { font-family: var(--aq-ff-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aq-text-faint); margin-bottom: 18px; }
.x-err-glyph { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 22px; background: var(--aq-surface); border: 1px solid var(--aq-line); display: grid; place-items: center; color: var(--aq-accent); }
.x-err-glyph.is-danger { color: var(--aq-danger); border-color: color-mix(in srgb, var(--aq-danger) 30%, transparent); }
.x-err-glyph.is-warn { color: var(--aq-warn); border-color: color-mix(in srgb, var(--aq-warn) 30%, transparent); }
.x-err-headline { font-family: var(--aq-ff-display); font-size: 30px; font-weight: 500; letter-spacing: -0.022em; color: var(--aq-text); margin: 0 0 10px; line-height: 1.15; text-wrap: pretty; }
.x-err-body { font-size: 13px; color: var(--aq-text-dim); margin: 0 0 24px; line-height: 1.55; max-width: 50ch; margin-inline: auto; }
.x-err-actions { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; }
.x-err-tech { font-family: var(--aq-ff-mono); font-size: 10.5px; color: var(--aq-text-faint); padding: 10px 14px; background: var(--aq-surface); border: 1px solid var(--aq-line); border-radius: 7px; text-align: left; line-height: 1.6; }
.x-err-tech b { color: var(--aq-text-dim); font-weight: 500; }

.x-err-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; height: 100%; }
.x-err-cell { border-right: 1px solid var(--aq-line); border-bottom: 1px solid var(--aq-line); }
.x-err-cell:nth-child(2n) { border-right: 0; }
.x-err-cell:nth-last-child(-n+2) { border-bottom: 0; }

/* ── Reports ──────────────────────────────────────────── */
.x-report-row { display: grid; grid-template-columns: 32px 1fr 180px 120px 100px 80px; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--aq-line); align-items: center; }
.x-report-row:hover { background: var(--aq-surface-2); }
.x-report-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--aq-accent-soft); color: var(--aq-accent); border: 1px solid var(--aq-accent-line); display: grid; place-items: center; }
.x-report-name { font-size: 13px; color: var(--aq-text); font-weight: 500; }
.x-report-desc { font-size: 11.5px; color: var(--aq-text-faint); margin-top: 2px; }
.x-report-schedule { font-family: var(--aq-ff-mono); font-size: 11px; color: var(--aq-text-dim); letter-spacing: 0.02em; }
.x-report-recipients { display: flex; align-items: center; }
.x-report-recipients .x-avatar { margin-left: -6px; width: 22px; height: 22px; }
.x-report-recipients .x-avatar:first-child { margin-left: 0; }
.x-report-status { font-family: var(--aq-ff-mono); font-size: 10px; padding: 3px 7px; border: 1px solid var(--aq-line); border-radius: 4px; color: var(--aq-text-dim); letter-spacing: 0.04em; text-transform: uppercase; text-align: center; }
.x-report-status.is-on { color: var(--aq-success); border-color: color-mix(in srgb, var(--aq-success) 30%, transparent); background: color-mix(in srgb, var(--aq-success) 8%, transparent); }
.x-report-status.is-paused { color: var(--aq-warn); border-color: color-mix(in srgb, var(--aq-warn) 30%, transparent); }

.x-tabs { display: flex; gap: 2px; padding: 0 16px; border-bottom: 1px solid var(--aq-line); }
.x-tab { padding: 10px 14px; font-size: 12px; color: var(--aq-text-dim); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.x-tab.is-active { color: var(--aq-text); border-bottom-color: var(--aq-accent); }
.x-tab-count { display: inline-block; margin-left: 6px; font-family: var(--aq-ff-mono); font-size: 10px; padding: 1px 6px; background: var(--aq-surface-2); border-radius: 99px; color: var(--aq-text-faint); }
