/* app.css — master/panel/auth admin UI.
 * Mənbə globals.css-dən köçürülüb, oklch/lab/lch yox.
 */

:root {
  --bg-0:        #0b0d13;
  --bg-1:        #13161d;
  --bg-2:        #1c1f27;
  --bg-3:        #242932;
  --bg-modal:    #171b22;
  --scrim:       rgba(1, 2, 3, 0.72);

  --border:        #2e333d;
  --border-soft:   #242932;
  --border-strong: #414856;

  --text:   #f4f5f8;
  --text-2: #b4b7bf;
  --text-3: #767a84;
  --text-4: #51555e;

  --gold:      #f4c352;
  --gold-2:    #e49900;
  --gold-deep: #975800;
  --gold-glow: rgba(244, 195, 82, 0.35);

  --blue:      #26acff;
  --blue-2:    #0087f8;
  --blue-glow: rgba(38, 172, 255, 0.32);

  --violet: #af6af2;
  --neon:   #5fed6c;
  --danger:     #fc4447;
  --danger-2:   #d81327;
  --danger-glow:rgba(252, 68, 71, 0.35);
  --success:    #30d882;
  --warn:       #ffaf38;

  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 56px; --s-10: 72px;

  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.35);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 24px rgba(0,0,0,0.45);
  --shadow-3: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 60px rgba(0,0,0,0.55);
  --shadow-gold: 0 0 0 1px rgba(244,195,82,0.35), 0 12px 32px rgba(244,195,82,0.18);
  --shadow-blue: 0 0 0 1px rgba(38,172,255,0.35), 0 12px 32px rgba(38,172,255,0.18);

  --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 220ms;

  --z-base: 0;
  --z-sticky: 100;
  --z-modal-scrim: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-display); background: var(--bg-0); color: var(--text);
  font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-glow); color: var(--text); }

.app-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 88% -10%, rgba(38,172,255,0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(244,195,82,0.07), transparent 60%);
}

/* ===== LAYOUT ===== */
.app { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; background: var(--bg-1);
  border-right: 1px solid var(--border-soft);
  display: flex; flex-direction: column; padding: var(--s-6) var(--s-4); gap: var(--s-6); overflow-y: auto;
}
@media (max-width: 1024px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
}
.brand { display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-3); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: radial-gradient(120% 120% at 20% 10%, rgba(244,195,82,0.95), rgba(151,88,0,0.95));
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700;
  color: #0f1217; font-size: 14px;
  box-shadow: var(--shadow-1), 0 0 0 1px rgba(244,195,82,0.4);
}
.brand-title { font-weight: 600; letter-spacing: -0.01em; font-size: 15px; }
.brand-sub { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 12px var(--s-3); border-radius: var(--r-sm);
  color: var(--text-2); font-weight: 500; font-size: 14px;
  cursor: pointer; user-select: none; width: 100%; text-align: left;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-item:hover { background: var(--bg-2); color: var(--text); }
.nav-item.active { background: var(--bg-2); color: var(--text); box-shadow: inset 2px 0 0 var(--gold); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); flex-shrink: 0; }
.nav-item.active .nav-dot { background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }

.sidebar-foot { margin-top: auto; border-top: 1px solid var(--border-soft); padding-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.op-card { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--border-soft); }
.op-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: white; }
.op-name { font-size: 13px; font-weight: 600; }
.op-meta { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); }

.main { display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  height: 64px; padding: 0 var(--s-7);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(15, 18, 23, 0.92);
  position: sticky; top: 0; z-index: var(--z-sticky);
}
.topbar-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; min-width: 0; }
.content { padding: var(--s-7); flex: 1; display: flex; flex-direction: column; gap: var(--s-6); }
@media (max-width: 700px) { .content { padding: var(--s-4); } .topbar { padding: 0 var(--s-4); } }

/* ===== PRIMITIVES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0 var(--s-5); height: 44px; border-radius: var(--r-md);
  font-weight: 600; font-size: 14px; letter-spacing: -0.005em;
  border: 1px solid transparent; user-select: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: linear-gradient(180deg, #ffd060, #e49900); color: #0f1217; box-shadow: var(--shadow-gold); }
.btn-primary:hover:not([disabled]) { filter: brightness(1.06); }
.btn-secondary { background: var(--bg-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover:not([disabled]) { background: var(--bg-3); border-color: var(--border-strong); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover:not([disabled]) { background: var(--bg-2); color: var(--text); }
.btn-danger { background: linear-gradient(180deg, #ff5453, #d81327); color: white; box-shadow: 0 0 0 1px rgba(252,68,71,0.45), 0 10px 28px rgba(252,68,71,0.25); }
.btn-danger:hover:not([disabled]) { filter: brightness(1.06); }
.btn-lg { height: 56px; padding: 0 var(--s-6); font-size: 16px; }
.btn-sm { height: 36px; padding: 0 var(--s-4); font-size: 13px; }
.btn-block { width: 100%; }

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field-label { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.field-hint { font-size: 12px; color: var(--text-3); }
.field-error { font-size: 12px; color: var(--danger); font-family: var(--font-mono); }

.input, .select {
  display: block; width: 100%; height: 48px; padding: 0 var(--s-4);
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); font-size: 15px; outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.input::placeholder { color: var(--text-4); }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); background: #20242d; }
.input-lg { height: 56px; font-size: 17px; padding: 0 var(--s-5); }
.input-mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.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% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: var(--s-8);
}

.segmented { display: inline-flex; background: var(--bg-3); border: 1px solid var(--border); padding: 4px; border-radius: var(--r-md); gap: 2px; }
.segmented button { padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text-2); border-radius: 8px; transition: all var(--dur) var(--ease); }
.segmented button:hover { color: var(--text); }
.segmented button.on { background: var(--bg-1); color: var(--text); box-shadow: var(--shadow-1); }
.segmented button.on.danger-on { background: linear-gradient(180deg, #ff5453, #d81327); color: white; }
.segmented button.on.success-on { background: linear-gradient(180deg, #45e58f, #00b15e); color: #0f1217; }

.card { background: var(--bg-1); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-1); }
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-5); padding: var(--s-10) var(--s-7); text-align: center;
  border: 1px dashed var(--border); border-radius: var(--r-lg);
  background: radial-gradient(400px 200px at 50% 0%, rgba(244,195,82,0.06), transparent 70%), var(--bg-1);
}
.empty-icon { width: 64px; height: 64px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--gold); }
.empty-icon svg { width: 28px; height: 28px; }
.empty-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.empty-sub { color: var(--text-3); max-width: 420px; }

.section-h { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.section-h h2 { font-size: 28px; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.section-h .sub { color: var(--text-3); font-size: 14px; margin-top: 4px; }

/* ===== LIVE PAGE ===== */
.live-hero {
  padding: var(--s-5) var(--s-6);
  background: linear-gradient(135deg, rgba(244,195,82,0.10), transparent 50%), var(--bg-1);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap;
}
.live-hero-title { display: flex; flex-direction: column; gap: 6px; }
.live-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.live-hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.4s infinite var(--ease); }
.live-hero h1 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -0.025em; }
.live-hero-meta { display: flex; align-items: center; gap: var(--s-5); font-family: var(--font-mono); font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.live-hero-meta b { color: var(--text); font-weight: 600; }
.live-hero-meta b.gold { color: var(--gold); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.85); } }

.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s-5); align-items: start; }
@media (max-width: 1200px) { .live-grid { grid-template-columns: minmax(0, 1fr); } .add-panel { position: static; } }

.participants { background: var(--bg-1); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.participants-head, .participant { display: grid; grid-template-columns: 56px minmax(0, 1fr) 130px 84px; gap: var(--s-3); padding: var(--s-4) var(--s-5); }
.participants-head { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border-soft); }
.participant { align-items: center; border-bottom: 1px solid var(--border-soft); transition: background var(--dur) var(--ease); position: relative; }
.participant:last-child { border-bottom: 0; }
.participant:hover { background: var(--bg-2); }

.rank { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--text-3); letter-spacing: -0.02em; text-align: center; }
.rank-medal { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 14px; font-weight: 700; margin: 0 auto; }
.rank-medal.gold { background: radial-gradient(circle at 30% 25%, #ffdd6e, #b77610); color: #0f1217; box-shadow: 0 0 0 1px rgba(244,195,82,0.4), 0 0 16px var(--gold-glow); }
.rank-medal.silver { background: radial-gradient(circle at 30% 25%, #e0e5eb, #7d8792); color: #0f1217; box-shadow: 0 0 0 1px rgba(169,175,180,0.4); }
.rank-medal.bronze { background: radial-gradient(circle at 30% 25%, #f0a276, #90502a); color: #0f1217; box-shadow: 0 0 0 1px rgba(207,131,88,0.4); }

.p-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-score { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); justify-content: flex-end; }
.p-score .n { font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.p-score .u { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.p-score.gold .n { color: var(--gold); }
.p-actions { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-3); border: 1px solid var(--border-soft); background: var(--bg-2); transition: all var(--dur) var(--ease); font-size: 16px; font-weight: 700; }
.icon-btn:hover { color: var(--gold); border-color: rgba(244,195,82,0.45); background: rgba(244,195,82,0.08); }
.icon-btn.delete-btn:hover { color: var(--danger); border-color: rgba(252,68,71,0.45); background: rgba(252,68,71,0.08); }

.list-empty { padding: var(--s-7); text-align: center; color: var(--text-3); }

.add-panel { background: var(--bg-1); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); position: sticky; top: 88px; }
.add-panel h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.add-form { display: flex; flex-direction: column; gap: var(--s-3); }
.tip-box { padding: var(--s-4); border-radius: var(--r-md); background: rgba(38,172,255,0.08); border: 1px solid rgba(38,172,255,0.25); font-size: 12px; color: var(--text-2); line-height: 1.6; }
.tip-label { font-family: var(--font-mono); color: var(--blue); font-size: 10px; letter-spacing: 0.08em; margin-bottom: 4px; }

.effect-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
.effect-pick { padding: var(--s-3) var(--s-2); border-radius: var(--r-sm); background: var(--bg-3); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-family: var(--font-mono); color: var(--text-2); transition: all var(--dur) var(--ease); }
.effect-pick:hover { border-color: var(--border-strong); color: var(--text); }
.effect-pick.on { background: rgba(244,195,82,0.10); border-color: var(--gold); color: var(--gold); }
.effect-pick .ep-dot { width: 18px; height: 18px; border-radius: 4px; background: var(--bg-1); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.effect-pick.on .ep-dot { background: var(--gold); color: #0f1217; }

/* ===== ARCHIVE TABLE ===== */
.archive-table { background: var(--bg-1); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.archive-head, .archive-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-4); padding: var(--s-4) var(--s-6); }
.archive-head { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border-soft); }
.archive-row { border-bottom: 1px solid var(--border-soft); align-items: center; transition: background var(--dur) var(--ease); }
.archive-row:last-child { border-bottom: 0; }
.archive-row:hover { background: var(--bg-2); }
.archive-title { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.archive-date { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.archive-sum { font-family: var(--font-mono); font-size: 16px; color: var(--gold); font-weight: 600; }
.archive-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

/* ===== MODAL ===== */
.modal-scrim {
  position: fixed; inset: 0; background: var(--scrim);
  z-index: var(--z-modal-scrim); display: grid; place-items: center; padding: var(--s-6);
  opacity: 0; animation: scrim-in var(--dur) var(--ease) forwards;
}
.modal-scrim[hidden] { display: none; }
.modal-scrim.closing { animation: scrim-out var(--dur) var(--ease) forwards; }
@keyframes scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrim-out { from { opacity: 1; } to { opacity: 0; } }
.modal {
  position: relative; width: 100%; max-width: 480px; background: var(--bg-modal);
  border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-3);
  padding: var(--s-7); z-index: var(--z-modal);
  transform: scale(0.7); opacity: 0; animation: modal-in var(--dur) var(--ease) forwards;
  max-height: calc(100vh - 2 * var(--s-6)); overflow-y: auto;
}
.modal.lg { max-width: 560px; }
.modal-scrim.closing .modal { animation: modal-out var(--dur) var(--ease) forwards; }
@keyframes modal-in  { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes modal-out { from { transform: scale(1); opacity: 1; } to { transform: scale(0.7); opacity: 0; } }

.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); }
.modal-eyebrow { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.modal-eyebrow.danger { color: var(--danger); }
.modal-eyebrow.info { color: var(--blue); }
.modal-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.modal-sub { color: var(--text-3); font-size: 14px; margin-top: 6px; }
.modal-close { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--text-3); transition: all var(--dur) var(--ease); flex-shrink: 0; }
.modal-close:hover { background: var(--bg-3); color: var(--text); }
.modal-body { display: flex; flex-direction: column; gap: var(--s-5); }
.modal-foot { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.modal-foot .btn { flex: 1; }

.score-card {
  padding: var(--s-5); border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(244,195,82,0.10), transparent 50%), var(--bg-3);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.score-card .who-label { font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.score-card .who-name { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.score-card .who-score { text-align: right; }
.score-card .who-score-val { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--gold); letter-spacing: -0.02em; }
.score-card .who-score-label { font-size: 11px; font-family: var(--font-mono); color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== TOASTS ===== */
.toast-wrap { position: fixed; top: var(--s-5); left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--s-2); pointer-events: none; }
.toast { pointer-events: auto; padding: 12px var(--s-5); border-radius: var(--r-md); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-2); animation: modal-in var(--dur) var(--ease); max-width: 90vw; }
.toast.error { background: rgba(252,68,71,0.18); border: 1px solid rgba(252,68,71,0.4); color: #ffd6d1; }
.toast.success { background: rgba(48,216,130,0.15); border: 1px solid rgba(48,216,130,0.4); color: #bbf5ce; }

/* ===== COLOR PICKER (hex + native swatch) ===== */
.color-row { display: flex; gap: 8px; align-items: stretch; }
.color-swatch {
  width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: transparent; padding: 2px;
  cursor: pointer; flex-shrink: 0;
}
.color-swatch::-webkit-color-swatch-wrapper { padding: 0; }
.color-swatch::-webkit-color-swatch { border: 0; border-radius: 8px; }
.color-swatch::-moz-color-swatch { border: 0; border-radius: 8px; }
.color-hex { flex: 1; }

/* ===== CARD PREVIEW (overlay card modal) ===== */
.card-preview {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 10px 14px;
  border-radius: 8px;
  background: #ffcc00; color: #000000;
  font-weight: 800; font-size: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center; word-break: break-word;
}

/* Sətr click-edilən kursor */
.participant-row { cursor: pointer; }

/* ===== LOGIN SHELL ===== */
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 420px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.login-card h1 { font-size: 22px; margin: 4px 0 0; }
.login-card .sub { color: var(--text-3); font-size: 14px; }
