/* Extracta AI Dashboard — app shell */
:root {
  --primary: #18345c;
  --accent: #60b8d3;
  --ink: #0c1322;
  --ink-2: #3d4a63;
  --muted: #6b7689;
  --line: #e6ebf2;
  --line-2: #eef2f7;
  --tint: #f5f9fc;
  --bg: #f7f9fc;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 12px 32px rgba(15,23,42,.06);
  --font: 'Inter Tight','Inter',system-ui,sans-serif;
  --mono: 'JetBrains Mono',ui-monospace,Menlo,monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body { font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ===== APP SHELL ===== */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__content { padding: 24px 32px 64px; flex: 1; }

/* ===== SIDEBAR ===== */
.sb { background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; }
.sb__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.sb__name { font-weight: 700; font-size: 16px; color: var(--primary); letter-spacing: -0.02em; }
.sb__name span { color: var(--accent); }
.sb__by { font-size: 10px; color: var(--muted); }
.sb__org { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; width: 100%; transition: all .15s; }
.sb__org:hover { background: var(--tint); }
.sb__org-avatar { width: 28px; height: 28px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.sb__org-text { flex: 1; text-align: left; min-width: 0; }
.sb__org-name { font-size: 13px; font-weight: 600; }
.sb__org-plan { font-size: 11px; color: var(--muted); }
.sb__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.sb__group-label { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding: 12px 10px 6px; }
.sb__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); width: 100%; text-align: left; transition: all .12s; font-weight: 500; }
.sb__item:hover { background: var(--tint); color: var(--ink); }
.sb__item.is-active { background: var(--tint); color: var(--primary); font-weight: 600; }
.sb__item.is-active svg { color: var(--accent); }
.sb__item--cta { background: var(--primary); color: #fff !important; margin-top: 8px; }
.sb__item--cta:hover { background: #0f2547; color: #fff; }
.sb__item--cta svg { color: #fff !important; }
.sb__count { margin-left: auto; font-size: 11px; background: var(--line-2); padding: 2px 8px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.sb__usage { padding: 12px; background: var(--tint); border-radius: 10px; }
.sb__usage-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.sb__usage-val { font-weight: 600; color: var(--ink); }
.sb__usage-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.sb__usage-bar > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.sb__usage-link { display: block; margin-top: 8px; font-size: 11px; color: var(--primary); font-weight: 600; }

/* ===== TOPBAR ===== */
.topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 32px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 10; }
.topbar__title { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.topbar__crumbs { font-size: 11px; color: var(--muted); }
.topbar__search { display: flex; align-items: center; gap: 8px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; transition: all .15s; }
.topbar__search:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(96,184,211,.15); }
.topbar__search input { border: none; outline: none; background: transparent; flex: 1; font-size: 13px; }
.topbar__search kbd { font-size: 10px; padding: 2px 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-family: var(--font); }
.topbar__right { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.iconbtn { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-2); position: relative; transition: all .15s; }
.iconbtn:hover { background: var(--tint); color: var(--primary); }
.iconbtn--sm { width: 28px; height: 28px; }
.iconbtn--xs { width: 22px; height: 22px; padding: 0; }
.iconbtn__dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #ff7849; border: 2px solid #fff; }
.topbar__user { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px; transition: background .15s; cursor: pointer; }
.topbar__user:hover { background: var(--tint); }
.avatar { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.avatar--md { width: 36px; height: 36px; font-size: 13px; }
.topbar__user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.topbar__user-role { font-size: 11px; color: var(--muted); }

/* ===== SCREEN ===== */
.screen { display: flex; flex-direction: column; gap: 20px; max-width: 1400px; }
.screen--narrow { max-width: 920px; }
.hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 4px; }
.hello h2 { font-size: 22px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.hello p { font-size: 13px; color: var(--muted); margin: 0; }
.hello__actions { display: flex; gap: 8px; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-ghost, .btn-danger { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: all .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0f2547; }
.btn-primary--lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: #d6dee9; }
.btn-danger { background: #fee2e2; color: #c0392b; }
.btn-danger:hover { background: #fecaca; }

/* ===== KPIs ===== */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis--4 { grid-template-columns: repeat(4, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden; }
.kpi__label { font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.kpi__value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.kpi__delta { font-size: 11px; font-weight: 600; margin-top: 4px; }
.kpi__delta--ok { color: #2e7d3a; }
.kpi__delta--info { color: var(--primary); }
.kpi__delta--err { color: #c0392b; }
.sparkline { position: absolute; right: 0; bottom: 0; width: 80px; height: 24px; opacity: .9; }

/* ===== PANELS ===== */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel--flat { padding: 0; }
.panel--accent { border-color: rgba(96,184,211,.4); background: linear-gradient(180deg, #fff, var(--tint)); padding: 20px; }
.panel--danger { border-color: #fecaca; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.panel--accent .panel__head, .panel--flat .panel__head { border-bottom: none; padding: 0 0 12px; }
.panel__head h3 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.panel__head p { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.link { color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.link:hover { color: var(--accent); }
.link--back { display: inline-block; margin-bottom: 8px; }

/* ===== SEG ===== */
.seg { display: inline-flex; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.seg button { padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--muted); border-radius: 6px; transition: all .12s; }
.seg button.is-on { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.seg--lg button { padding: 8px 16px; font-size: 13px; }
.seg__count { margin-left: 6px; padding: 1px 6px; background: var(--line-2); border-radius: 999px; font-size: 10px; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.grid-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .grid-2, .grid-detail { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } }

/* ===== TABLE ===== */
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; padding: 10px 16px; background: var(--tint); border-bottom: 1px solid var(--line); }
.tbl tbody td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl__row { cursor: pointer; transition: background .12s; }
.tbl__row:hover { background: var(--tint); }
.tbl__row--win { background: rgba(96,184,211,.06); }
.tbl__name { font-weight: 600; }
.tbl__id { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.tbl__src { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.tbl__muted { color: var(--muted); font-size: 12px; }
.tbl--compact tbody td { padding: 10px 16px; }

/* ===== STATUS ===== */
.stat { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.stat__dot { width: 6px; height: 6px; border-radius: 50%; }
.stat--success { background: #eaf6e9; color: #2e7d3a; }
.stat--success .stat__dot { background: #2e7d3a; }
.stat--running { background: rgba(96,184,211,.15); color: var(--primary); }
.stat--running .stat__dot { background: var(--accent); animation: pulse-dot 1.4s infinite; }
.stat--queued { background: #f1f3f7; color: var(--muted); }
.stat--queued .stat__dot { background: var(--muted); }
.stat--failed { background: #fee2e2; color: #c0392b; }
.stat--failed .stat__dot { background: #c0392b; }
.stat__pct { margin-left: 4px; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.chip { display: inline-block; padding: 2px 8px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.chip--win { background: #eaf6e9; color: #2e7d3a; border-color: #c8e6c9; margin-left: 6px; }
.chip--prod { background: rgba(24,52,92,.1); color: var(--primary); border-color: rgba(24,52,92,.2); }
.chip--test { background: #fef3e3; color: #b8730a; border-color: #fcd9a4; }

.stock-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.stock-pill--ok { background: #eaf6e9; color: #2e7d3a; }
.stock-pill--low { background: #fef3e3; color: #b8730a; }
.stock-pill--err { background: #fee2e2; color: #c0392b; }

.up { color: #c0392b; font-weight: 600; }
.down { color: #2e7d3a; font-weight: 600; }
.flat { color: var(--muted); }

/* ===== BIG CHART ===== */
.bigchart { padding: 12px 20px 20px; }
.bigchart__svg { width: 100%; height: 220px; }
.bigchart__axis { display: flex; justify-content: space-between; padding: 0 4px; font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ===== ACTIVITY ===== */
.activity { list-style: none; margin: 0; padding: 8px 0; }
.activity li { display: flex; gap: 12px; padding: 10px 20px; align-items: flex-start; }
.activity li:hover { background: var(--tint); }
.activity__icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.activity__icon--ok { background: #eaf6e9; color: #2e7d3a; }
.activity__icon--info { background: rgba(96,184,211,.15); color: var(--primary); }
.activity__icon--err { background: #fee2e2; color: #c0392b; }
.activity__text { font-size: 13px; line-height: 1.4; }
.activity__time { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ===== TOOLBAR ===== */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.toolbar__right { display: flex; gap: 8px; }

/* ===== DASHCARD (reused result preview) ===== */
.dashcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dashcard--inline { border: none; border-radius: 0; }
.dashcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px 14px; border-bottom: 1px solid var(--line-2); }
.dashcard__product { font-size: 15px; font-weight: 600; }
.dashcard__sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.dashcard__status { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #2e7d3a; padding: 3px 8px; background: #eaf6e9; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.dashcard__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2e7d3a; animation: pulse-dot 2s infinite; }
.dashcard__price { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.dashcard__price-val { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.dashcard__price-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.dashcard__delta { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.dashcard__delta--down { color: #2e7d3a; background: #eaf6e9; }
.dashcard__price-sub { font-size: 11px; color: var(--muted); }
.dashcard__rating { text-align: right; }
.dashcard__stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.dashcard__rating-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.dashcard__chart { padding: 4px 20px 12px; }
.dashcard__chart-label { font-size: 10px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.dashcard__svg { width: 100%; height: 50px; }
.dashcard__insight { display: flex; align-items: flex-start; gap: 8px; padding: 12px 20px; background: var(--tint); border-top: 1px solid var(--line-2); font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.dashcard__insight-icon { color: var(--accent); font-size: 14px; flex-shrink: 0; }

/* ===== PIPELINE STEPS ===== */
.steps { list-style: none; margin: 0; padding: 8px 20px 20px; }
.step { display: flex; gap: 14px; padding: 8px 0; position: relative; }
.step__rail { display: flex; flex-direction: column; align-items: center; }
.step__dot { width: 24px; height: 24px; border-radius: 50%; background: #eaf6e9; color: #2e7d3a; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 11.5px; top: 32px; bottom: -8px; width: 1px; background: var(--line); }
.step__body { flex: 1; padding-bottom: 4px; }
.step__row { display: flex; justify-content: space-between; align-items: center; }
.step__name { font-size: 13px; font-weight: 600; }
.step__time { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.step__detail { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== DETAIL HEAD ===== */
.detail-head__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail-head h2 { font-size: 22px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.detail-head__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.detail-head__meta span { display: inline-flex; align-items: center; gap: 4px; }
.detail-head__actions { display: flex; gap: 8px; }

/* ===== NEW EXTRACTION ===== */
.newx { display: flex; flex-direction: column; gap: 16px; }
.newx__head h2 { font-size: 26px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.02em; }
.newx__head p { font-size: 14px; color: var(--muted); margin: 0; }
.form-row { padding: 16px 20px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.form-row:last-of-type { border-bottom: none; }
.form-row > label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.urlbox { display: flex; align-items: center; gap: 10px; background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.urlbox input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; font-family: var(--mono); }
.chip-mini { padding: 5px 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.input { padding: 10px 14px; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; outline: none; }
.input:focus { border-color: var(--accent); background: #fff; }
.schema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.schema { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; transition: all .15s; }
.schema:hover { border-color: #d6dee9; }
.schema.is-on { border-color: var(--primary); background: var(--tint); box-shadow: 0 0 0 3px rgba(24,52,92,.08); }
.schema__name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.schema__fields { font-size: 11px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all .12s; }
.check:hover { border-color: #d6dee9; }
.check.is-on { background: rgba(96,184,211,.1); border-color: var(--accent); color: var(--primary); font-weight: 600; }
.check__box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; }
.check.is-on .check__box { background: var(--primary); border-color: var(--primary); color: #fff; }
.form-actions { padding: 16px 20px; display: flex; justify-content: flex-end; gap: 8px; background: var(--tint); border-top: 1px solid var(--line-2); }

/* ===== RUN PROGRESS ===== */
.run-progress { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; margin: 8px 0 16px; }
.run-progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); transition: width .15s; }
.run-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.run-step { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); flex: 1; min-width: 140px; }
.run-step.is-active { border-color: var(--accent); color: var(--primary); background: rgba(96,184,211,.06); }
.run-step.is-done { border-color: #c8e6c9; color: #2e7d3a; background: #eaf6e9; }
.run-step__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--line-2); color: var(--muted); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.run-step.is-active .run-step__dot { background: var(--accent); color: #fff; }
.run-step.is-done .run-step__dot { background: #2e7d3a; color: #fff; }
.run-step__spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; border-top-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== DATASETS ===== */
.ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1100px) { .ds-grid { grid-template-columns: 1fr 1fr; } }
.ds-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: all .15s; }
.ds-card:hover { border-color: rgba(24,52,92,.18); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ds-card__head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.ds-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.ds-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 14px; letter-spacing: -0.01em; }
.ds-card__stats { display: flex; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; }
.ds-card__stats > div { display: flex; flex-direction: column; }
.ds-card__stats strong { font-size: 16px; font-weight: 700; color: var(--ink); }
.ds-card__stats span { font-size: 11px; color: var(--muted); }
.ds-card__foot { display: flex; justify-content: space-between; align-items: center; }
.ds-card__updated { font-size: 11px; color: var(--muted); }

/* ===== MOVERS ===== */
.movers { list-style: none; margin: 0; padding: 0; }
.movers li { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.movers li:last-child { border-bottom: none; }
.movers__rank { width: 24px; height: 24px; border-radius: 6px; background: var(--tint); color: var(--muted); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.movers__name { font-size: 13px; font-weight: 600; }
.movers__site { font-size: 11px; color: var(--muted); }
.movers__val { font-size: 13px; font-weight: 600; font-family: var(--mono); }
.movers__delta { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; min-width: 48px; text-align: center; }
.movers__delta--down { color: #2e7d3a; background: #eaf6e9; }
.movers__delta--up { color: #c0392b; background: #fee2e2; }
.movers__delta--flat { color: var(--muted); background: var(--line-2); }

/* ===== CODE ===== */
.code { font-family: var(--mono); font-size: 12px; background: var(--tint); padding: 2px 8px; border-radius: 4px; color: var(--ink); }
.codeblock { margin: 0; padding: 20px; background: var(--tint); font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink); overflow-x: auto; }

/* ===== MEMBER ===== */
.member { display: flex; align-items: center; gap: 10px; }
.member__name { font-size: 13px; font-weight: 600; }
.member__email { font-size: 11px; color: var(--muted); }

/* ===== DANGER ===== */
.danger-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; gap: 16px; }
.danger-row strong { font-size: 13px; }
.danger-row > div > div { font-size: 12px; color: var(--muted); margin-top: 2px; }
