/* ===== Tapsi brand tokens — PLACEHOLDER values: replace with the official Tapsi design-system tokens ===== */
:root {
  --brand: #FF5A00;          /* primary */
  --brand-press: #E04E00;
  --brand-soft: #FFF0E6;
  --ink: #1A1A1F;
  --ink-2: #5B5B66;
  --line: #E7E7EC;
  --bg: #F6F6F8;
  --surface: #FFFFFF;
  --ok: #1FA25A; --ok-soft: #E6F6EC;
  --warn: #E6A100; --warn-soft: #FFF6DB;
  --bad: #E5383B; --bad-soft: #FDE8E8;
  --radius: 14px; --radius-sm: 10px;
  --font: 'Vazirmatn', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 2px 12px rgba(20,20,30,.08);
}
@media (prefers-color-scheme: dark) {
  :root { --ink:#F3F3F6; --ink-2:#A3A3AF; --line:#2C2C34; --bg:#121216; --surface:#1C1C22; --brand-soft:#3A1F10;
    --ok-soft:#10301F; --warn-soft:#352A08; --bad-soft:#3A1416; --shadow:none; }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 15px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--brand); }
.logo img { width: 34px; height: 34px; }
.logo small { font-weight: 600; font-size: 12px; color: var(--ink-2); letter-spacing: 0; display: block; margin-top: -3px; }
.btn { border: 0; border-radius: var(--radius-sm); padding: 12px 18px; font-weight: 700; cursor: pointer; background: var(--brand); color: #fff; min-height: 44px; }
.btn:hover { background: var(--brand-press); } .btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); } .btn.ghost:hover { background: var(--bg); }
.btn.danger { background: var(--bad); }
.btn.sm { padding: 6px 12px; min-height: 32px; font-size: 13px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); min-height: 44px; }
.field input:focus, .field select:focus { outline: 2px solid var(--brand); border-color: transparent; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 4px 0 10px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.suspicious { background: var(--warn-soft); color: var(--warn); }
.pill.likely_mock { background: var(--bad-soft); color: var(--bad); } .pill.off { background: var(--bg); color: var(--ink-2); }
