/* GRVK.app — Quiet Terminal shell. Warm paper, serif accents on tool names + big numbers,
   mono on eyebrows/meta only. Cobalt accent. Single source of truth for the suite's design tokens. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg:          #f6f4ef;
  --bg-2:        #fbfaf7;
  --surface:     #ffffff;
  --surface-muted: #f2efe8;
  --surface-hover: #ece8de;

  --ink:         #181715;
  --ink-soft:    #5f5a52;
  --ink-dim:     #8e887e;

  --line:        #e4dfd4;
  --line-subtle: #ede8de;
  --line-strong: rgba(41,37,36,0.18);

  --accent:      #2f6fed;
  --accent-ink:  #2557b8;
  --accent-hover:#2459c7;
  --accent-soft: #eaf1ff;
  --accent-line: #c9d9ff;

  --success:#4d7a57; --success-bg:#edf6ef;
  --warning:#9a5a14; --warning-bg:#fff5e8;
  --error:  #b0332c; --error-bg:  #fff0ee;

  --shadow-sm: 0 1px 2px rgba(24,23,21,0.05);
  --shadow-md: 0 8px 24px rgba(24,23,21,0.07);
  --shadow-card: 0 1px 2px rgba(24,23,21,0.04), 0 10px 30px rgba(24,23,21,0.06);

  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif:"Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gap-xs: 6px; --gap-sm: 10px; --gap: 14px; --gap-lg: 20px; --gap-xl: 28px;
  --row-h: 40px; --tight-h: 32px;
  --fs-body: 14px; --fs-small: 13px; --fs-xs: 12px; --fs-eyebrow: 11px;
  --fs-h1: 28px; --fs-big: 44px;
}

/* Teal tool theme for Scope — apply via data-tool="scope" on app root if you want Scope to tint its chrome */
[data-tool="scope"] {
  --accent:#2f7d6a; --accent-ink:#295d50; --accent-hover:#266857;
  --accent-soft:rgba(47,125,106,0.12); --accent-line:rgba(47,125,106,0.24);
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-size: var(--fs-body); line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0;
}
.eyebrow-accent { color: var(--accent-ink); }
.small-meta { font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-soft); }
.mono  { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }
.tnum  { font-variant-numeric: tabular-nums; }
.tool-name { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.025em; }
.h-serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.h-serif-xl { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.035em; font-size: 38px; line-height: 1.05; margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--tight-h); padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font-size: var(--fs-small); font-weight: 500; cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover   { background: var(--bg-2); border-color: var(--line-strong); }
.btn:active  { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: transparent; font-weight: 600; }
.btn-primary:hover  { background: var(--accent-hover); color: #fff; }
.btn-ghost   { background: transparent; border-color: transparent; }
.btn-ghost:hover    { background: var(--surface-muted); border-color: transparent; }
.btn-danger  { color: var(--error); }
.btn-danger:hover   { background: var(--error-bg); border-color: #f2c7c3; }
.btn-sm { height: 28px; padding: 0 10px; font-size: var(--fs-xs); }
.btn-lg { height: 44px; padding: 0 20px; font-size: var(--fs-body); }
.btn-full { width: 100%; }

/* ===== Inputs ===== */
.input, .select, textarea.input {
  width: 100%; height: var(--row-h); padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink);
  font-size: var(--fs-small); font-family: inherit;
  transition: border-color 140ms, box-shadow 140ms;
}
textarea.input { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, textarea.input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field { display: grid; gap: 4px; }
.field > span {
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}

/* ===== Pills & dots ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px;
  border-radius: var(--r-pill); font-size: var(--fs-eyebrow);
  font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em;
  background: var(--surface-muted); color: var(--ink-soft);
  border: 1px solid var(--line); white-space: nowrap;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-dim); flex-shrink: 0; }
.pill.active   { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.pill.active .pill-dot { background: var(--accent); }
.pill.accent   { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.pill.accent .pill-dot { background: var(--accent); }
.pill.warn     { background: var(--warning-bg); color: var(--warning); border-color: #f0dcb6; }
.pill.warn .pill-dot   { background: var(--warning); }
.pill.err      { background: var(--error-bg); color: var(--error); border-color: #f2c7c3; }
.pill.err .pill-dot    { background: var(--error); }

/* ===== Cards ===== */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.card-pad   { padding: var(--gap-lg); }
.card-hover { transition: border-color 140ms, box-shadow 140ms, transform 140ms; }
.card-hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}

/* ===== Shell ===== */
.app { display: grid; grid-template-rows: auto auto 1fr; min-height: 100vh; background: var(--bg); }

.topbar {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--gap);
  padding: 10px 20px; border-bottom: 1px solid var(--line);
  background: var(--bg-2); align-items: center;
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(4px);
}
.topbar-brand {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 8px; background: transparent; border: 0; cursor: pointer;
  border-radius: var(--r-sm); color: var(--ink);
}
.topbar-brand:hover { background: var(--surface-muted); }
.wordmark {
  font-weight: 700; font-size: 15px; letter-spacing: -0.035em;
  display: inline-flex; align-items: center; gap: 0;
}
.wordmark .dot { color: var(--accent-ink); }
.cmd-bar {
  display: flex; align-items: center; gap: 10px;
  height: 32px; max-width: 420px; width: 100%; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  font-size: var(--fs-xs); transition: all 140ms;
  font-family: inherit;
}
.cmd-bar:hover { border-color: var(--line-strong); background: var(--bg-2); }
.cmd-bar .grow { flex: 1; text-align: left; }
.kbd {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim);
  padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2);
}
.topbar-right { display: flex; align-items: center; gap: 10px; justify-self: end; }
.avatar {
  width: 28px; height: 28px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  font-family: var(--font-mono);
}

.toolstrip {
  display: flex; gap: 2px; padding: 8px 20px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
  overflow-x: auto;
}
.toolstrip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid transparent; border-radius: var(--r-sm);
  background: transparent; color: var(--ink-soft); font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.02em; cursor: pointer;
  white-space: nowrap; text-decoration: none;
}
.toolstrip-btn:hover  { background: var(--surface-muted); color: var(--ink); }
.toolstrip-btn.active { background: transparent; color: var(--ink); }
.toolstrip-btn.active .tool-name { font-weight: 700; }
.toolstrip-btn .idx   { color: var(--ink-dim); }
.toolstrip-btn.active .idx { color: var(--ink); opacity: 0.85; }
.toolstrip-btn .tool-name  { font-family: var(--font-serif); font-size: 14px; font-weight: 600; }

/* ===== Page header ===== */
.page-head {
  display: flex; align-items: baseline; gap: var(--gap);
  padding: 20px 28px; border-bottom: 1px solid var(--line-subtle);
  flex-wrap: wrap;
}
.page-head .idx { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-dim); }
.page-head h1   { margin: 0; font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.025em; }
.page-head .tagline { color: var(--ink-soft); font-size: var(--fs-small); }
.page-head .right   { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.page-body {
  padding: var(--gap-xl) 28px; display: grid; gap: var(--gap-xl);
  max-width: 1400px; margin: 0 auto; width: 100%;
}

/* ===== KPI row ===== */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: var(--surface);
}
.kpi { padding: var(--gap-lg); border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.kpi-value {
  font-family: var(--font-serif); font-size: var(--fs-big); font-weight: 600;
  letter-spacing: -0.03em; margin-top: 6px;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.kpi-sub { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: 6px; }

/* ===== Table ===== */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); }
.table th {
  text-align: left; font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.table td { padding: 12px; border-bottom: 1px solid var(--line-subtle); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.selectable { cursor: pointer; }
.table tr.selectable:hover td { background: var(--bg-2); }
.table tr.selected td { background: var(--accent-soft); }
.table .col-center { text-align: center; }
.table .col-right  { text-align: right; }

/* ===== Progress ===== */
.progress {
  height: 4px; background: var(--surface-muted);
  border-radius: 999px; overflow: hidden; display: block;
}
.progress > span {
  display: block; height: 100%; background: var(--accent);
  transition: width 300ms ease; width: 0;
}
.progress-inline { width: 60px; display: inline-block; vertical-align: middle; }

/* ===== Sidebar / split layout ===== */
.split { display: grid; grid-template-columns: 260px 1fr; gap: 0; min-height: 0; }
.split-aside {
  padding: var(--gap-lg); border-right: 1px solid var(--line);
  display: grid; gap: var(--gap-lg); align-content: start; min-height: 100%;
}
.aside-section { display: grid; gap: 6px; }
.aside-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 7px 10px; border-radius: var(--r-sm); cursor: pointer;
  color: var(--ink-soft); font-size: var(--fs-xs);
  border: 0; background: transparent; text-align: left;
  font-family: inherit; text-decoration: none;
}
.aside-item:hover  { background: var(--surface-muted); color: var(--ink); }
.aside-item.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.aside-item .idx   { font-family: var(--font-mono); color: var(--ink-dim); font-size: 10px; }
.aside-item .count { font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim); }

/* ===== Login ===== */
.login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(circle at 20% 10%, var(--accent-soft), transparent 40%), var(--bg);
}
.login-card {
  width: 100%; max-width: 720px;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card);
}
.login-aside {
  padding: 28px 26px; background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: grid; gap: 18px; align-content: start;
}
.login-aside-wordmark { font-size: 18px; }
.login-aside-lede {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.15; color: var(--ink);
}
.login-tool-list { display: grid; gap: 6px; margin-top: 8px; }
.login-tool-row {
  display: grid; grid-template-columns: auto 1fr; gap: 8px;
  font-size: 12px; align-items: baseline;
}
.login-tool-row .idx { font-family: var(--font-mono); color: var(--ink-dim); }
.login-tool-row b    { font-family: var(--font-serif); font-weight: 600; font-size: 13px; }
.login-main {
  padding: 28px 26px; display: grid; gap: 16px; align-content: center;
}
.login-title {
  font-family: var(--font-serif); font-size: 24px; font-weight: 600;
  letter-spacing: -0.025em; margin: 6px 0 0;
}
.login-foot { font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-soft); }
.login-error {
  display: inline-flex; align-self: start;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.06em;
  background: var(--error-bg); color: var(--error); border: 1px solid #f2c7c3;
}
@media (max-width: 780px) { .login-card { grid-template-columns: 1fr; } }

/* ===== Landing ===== */
.landing { padding: 40px 28px; max-width: 1200px; margin: 0 auto; }
.landing-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px; gap: var(--gap-lg); flex-wrap: wrap;
}
.landing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 980px) { .landing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .landing-grid { grid-template-columns: 1fr; } }
.landing-card {
  padding: 22px; display: grid; gap: 20px; text-align: left;
  cursor: pointer; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-md);
  transition: border-color 140ms, box-shadow 140ms;
  color: inherit; text-decoration: none; font: inherit;
}
.landing-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.landing-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.landing-card-head .idx { font-family: var(--font-mono); color: var(--ink-dim); font-size: 12px; }
.landing-card-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.15;
}
.landing-card-tag  { color: var(--ink-soft); font-size: var(--fs-xs); margin-top: 4px; }
.landing-card-mock {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  color: var(--accent-ink); margin-top: 10px;
}
.landing-empty {
  max-width: 640px; margin: 120px auto; text-align: center;
  padding: 40px; border: 1px dashed var(--line); border-radius: var(--r-md);
  background: var(--bg-2);
}
.landing-empty h2 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.025em;
  margin: 0 0 8px; font-size: 22px;
}
.landing-empty p { color: var(--ink-soft); margin: 0; font-size: var(--fs-small); }

/* ===== Chat ===== */
.chat-msg {
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-small); line-height: 1.5; max-width: 80%;
}
.chat-msg.user {
  background: var(--accent-soft); color: var(--accent-ink);
  justify-self: end; border: 1px solid var(--accent-line);
}
.chat-msg.ai { background: var(--surface); border: 1px solid var(--line); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: var(--bg-2);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; box-shadow: var(--shadow-md);
  animation: toast-in 200ms ease; font-family: var(--font-mono);
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(24,23,21,0.32);
  display: grid; place-items: center; padding: 24px;
}
.modal {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  width: 100%; max-width: 560px; max-height: 80vh; overflow: auto;
}
.modal-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line-subtle);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-body { padding: 20px; }

/* ===== Command palette ===== */
.cmd-palette-backdrop {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(24,23,21,0.32); padding: 80px 24px 24px;
  display: none;
}
.cmd-palette-backdrop.open { display: block; }
.cmd-palette {
  max-width: 560px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.cmd-palette-input {
  width: 100%; border: 0; outline: 0; padding: 16px;
  font-family: var(--font-sans); font-size: 15px; background: transparent;
  border-bottom: 1px solid var(--line-subtle); color: var(--ink);
}
.cmd-palette-list { max-height: 360px; overflow-y: auto; padding: 6px; }
.cmd-palette-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  cursor: pointer; align-items: center;
  color: var(--ink); text-decoration: none; background: transparent; border: 0;
  width: 100%; font: inherit; text-align: left;
}
.cmd-palette-item:hover,
.cmd-palette-item[data-focused="true"] { background: var(--surface-muted); }
.cmd-palette-item .idx {
  font-family: var(--font-mono); color: var(--ink-dim); font-size: 10px;
}
.cmd-palette-item .name {
  font-family: var(--font-serif); font-weight: 600; font-size: 14px;
}
.cmd-palette-item .tag {
  font-size: var(--fs-xs); color: var(--ink-soft); font-family: var(--font-mono);
}
.cmd-palette-empty {
  padding: 20px; text-align: center; color: var(--ink-soft); font-size: var(--fs-small);
}

/* ===== Admin-specific ===== */
.admin-table-host { overflow-x: auto; }
.admin-table { min-width: 900px; }
.admin-table th.col-tool {
  text-align: center; white-space: normal; min-width: 72px;
}
.admin-table th.col-tool .mono { display: block; color: var(--ink-dim); margin-bottom: 2px; }
.admin-table th.col-tool .name { display: block; text-transform: none; font-weight: 500; letter-spacing: 0; }
.admin-table .inline-checkbox { accent-color: var(--accent); transform: scale(1.05); }

/* Admin compact alt layout — block per user */
.admin-user-card { padding: var(--gap-lg); border-bottom: 1px solid var(--line-subtle); }
.admin-user-card:last-child { border-bottom: 0; }
.admin-user-card h3 {
  margin: 0; font-family: var(--font-serif); font-size: 18px;
  font-weight: 600; letter-spacing: -0.025em;
}

/* ===== Creator-specific ===== */
.creator-score { display: inline-flex; align-items: center; gap: 8px; }
.creator-score .num {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  min-width: 40px; display: inline-block; font-variant-numeric: tabular-nums;
}

/* ===== Scope-specific ===== */
.scope-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-subtle); border-radius: var(--r-sm);
  overflow: hidden;
}
.scope-step { padding: 12px; border-right: 1px solid var(--line-subtle); }
.scope-step:last-child { border-right: 0; }
.scope-step-name { font-size: 13px; font-weight: 600; margin-top: 8px; }

/* ===== Press-specific ===== */
.press-pipeline-btn {
  width: 100%; text-align: left; padding: 14px 16px;
  border: 0; background: transparent;
  border-bottom: 1px solid var(--line-subtle);
  cursor: pointer; display: grid; gap: 6px;
  font: inherit; color: inherit;
}
.press-pipeline-btn:hover    { background: var(--bg-2); }
.press-pipeline-btn.selected { background: var(--accent-soft); }
.press-pipeline-btn:last-child { border-bottom: 0; }

/* ===== Radar-specific ===== */
.radar-quote {
  padding: 10px 12px; background: var(--bg-2);
  border: 1px solid var(--line-subtle); border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.5; font-style: italic;
}

/* ===== Misc helpers ===== */
.hr        { height: 1px; background: var(--line); border: 0; margin: var(--gap) 0; }
.hr-subtle { height: 1px; background: var(--line-subtle); border: 0; margin: var(--gap) 0; }
.stack     { display: grid; gap: var(--gap); }
.stack-sm  { display: grid; gap: var(--gap-sm); }
.stack-lg  { display: grid; gap: var(--gap-lg); }
.row       { display: flex; align-items: center; gap: var(--gap); }
.row-sm    { display: flex; align-items: center; gap: var(--gap-sm); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }
.row-wrap  { flex-wrap: wrap; }
.grow      { flex: 1; }
.hidden    { display: none !important; }
.text-right   { text-align: right; }
.text-accent  { color: var(--accent-ink); }
.text-success { color: var(--accent-ink); }
.text-error   { color: var(--error); }
.text-warn    { color: var(--warning); }
.text-dim     { color: var(--ink-dim); }
.text-soft    { color: var(--ink-soft); }

/* ===== Status pill colors (legacy aliases used in admin) ===== */
.status-active    { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }
.status-suspended { background: var(--error-bg); color: var(--error); border-color: #f2c7c3; }
.status-admin     { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent-line); }

/* ===== Suite-shared timezone picker (parity with Radar / Press / Scope) ===== */
.tz-picker { position: relative; display: inline-flex; align-items: center; }
.tz-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.tz-trigger:hover { background: var(--bg-2); color: var(--ink); border-color: var(--ink-soft); }
.tz-trigger:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.tz-picker.open .tz-trigger { border-color: var(--accent-line); color: var(--accent-ink); background: var(--accent-soft); }
.tz-dropdown {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 200px;
  background: var(--surface, #fff); border: 1px solid var(--line);
  border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 6px; display: none; z-index: 60;
}
.tz-picker.open .tz-dropdown { display: block; }
.tz-option {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 4px;
  font-size: 12px; color: var(--ink); cursor: pointer;
}
.tz-option:hover { background: var(--bg-2); }
.tz-option.selected { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.tz-option:focus { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.tz-option__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); flex-shrink: 0; }
.tz-option.selected .tz-option__dot { background: var(--accent-ink); }
.tz-divider { height: 1px; background: var(--line); margin: 4px 0; }
