/* ==========================================================================
   Cyber Security & Ethical Analysis — "Signal Trace" design system
   Concept: signals-intelligence instrument panel, not forensic case file.
   A "signal" is quiet until you tune into it — accents activate on interaction.
   Palette: slate instrument base, navy ink, amber signal, indigo link, teal verified.
   Type: Space Grotesk (display) / Public Sans (body) / JetBrains Mono (data).
   ========================================================================== */

:root {
  --base: #EEF1F6;
  --surface: #FFFFFF;
  --ink: #0A1020;
  --ink-2: #141B2E;
  --rule: #D7DCE6;
  --rule-soft: #E4E8EF;
  --muted: #626C7E;

  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.14);
  --indigo: #3346D6;
  --indigo-dim: rgba(51, 70, 214, 0.1);
  --teal: #0FA98C;
  --teal-dim: rgba(15, 169, 140, 0.12);
  --red: #D14343;
  --red-dim: rgba(209, 67, 67, 0.12);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10, 16, 32, 0.05);
  --shadow-sm: 0 4px 14px rgba(10, 16, 32, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(10, 16, 32, 0.16);
  --shadow-lg: 0 28px 64px -20px rgba(10, 16, 32, 0.28);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --data: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 32, 0.02), transparent 240px),
    var(--base);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--data); }
.muted { color: var(--muted); }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------------- Header ---------------- */
.site-header {
  background: var(--surface);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rule);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__mark--accent { color: var(--amber); }
.brand__full { font-family: var(--data); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--data);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.site-nav a:hover { color: var(--ink); text-decoration: none; background: var(--rule-soft); }

.site-search { margin-left: 8px; }
.site-search input {
  background: var(--base);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--data);
  font-size: 12.5px;
  border-radius: var(--radius-pill);
  width: 190px;
  transition: border-color .15s var(--ease), width .2s var(--ease);
}
.site-search input:focus { border-color: var(--indigo); width: 220px; outline: none; }
.site-search input::placeholder { color: #9AA2B1; }

/* status strip: static, no marquee — a pulsing live-dot instead of scroll */
.site-header__ticker {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ticker__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 7px 24px;
  font-family: var(--data);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #9AA2B1;
  overflow-x: auto;
  animation: none;
}
.ticker__inner span { flex-shrink: 0; position: relative; padding-left: 0; }
.ticker__inner span:first-child { color: var(--amber); display: inline-flex; align-items: center; gap: 7px; }
.ticker__inner span:first-child::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-dim);
  animation: pulse 2s ease-in-out infinite;
}
.ticker__inner span:not(:first-child)::before { content: '/'; margin-right: 28px; color: #333B4E; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__inner span:first-child::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 60px 0 52px;
}
.hero__eyebrow {
  font-family: var(--data);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--indigo);
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.hero p { max-width: 58ch; font-size: 16.5px; color: var(--muted); margin: 0 0 26px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- Post grid / entry cards ---------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  padding: 36px 0 60px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.case-card:hover {
  border-left-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.case-card__link:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }

.case-card__tab {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 0;
  font-family: var(--data);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.case-card__id { color: var(--ink); font-weight: 500; }
.case-card__id::before { content: '#'; color: var(--muted); }

.case-card__body {
  position: relative;
  z-index: 2;
  pointer-events: none;
  padding: 12px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.evidence-tag {
  font-family: var(--data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--base);
  border: 1px solid var(--rule);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.evidence-tag--signal { background: var(--teal-dim); border-color: rgba(15, 169, 140, 0.35); color: #0A7A65; }

.case-card h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 8px; line-height: 1.3; letter-spacing: -0.005em; }
.case-card h3 a {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.case-card h3 a:hover { text-decoration: none; color: var(--indigo); }
.case-card__excerpt { color: var(--muted); font-size: 14px; flex: 1; margin: 0 0 14px; }

.case-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--data);
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--rule-soft);
  padding-top: 12px;
}
.case-card__cta {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  color: var(--indigo);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .15s var(--ease);
  display: inline-block;
}
.case-card__cta:hover { text-decoration: none; transform: translateX(3px); }

.redaction {
  display: inline-block;
  background: var(--ink);
  color: var(--ink);
  border-radius: 1px;
  user-select: none;
}

/* ---------------- Post detail ---------------- */
.post-header { padding: 48px 0 24px; border-bottom: 1px solid var(--rule); }
.post-header .case-card__tags { margin-bottom: 18px; }
.post-header h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.015em; }
.post-meta { font-family: var(--data); font-size: 11.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }

.post-body { max-width: 70ch; padding: 30px 0 8px; font-size: 17px; }
.post-body h3, .post-body h4, .post-body h5 { font-family: var(--display); font-weight: 700; margin-top: 30px; letter-spacing: -0.005em; }
.post-body p { margin: 0 0 18px; }
.post-body ul { margin: 0 0 18px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body code { background: var(--base); padding: 2px 6px; border-radius: 4px; font-family: var(--data); font-size: 0.88em; }
.post-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }

.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin-top: 24px; }

/* ---------------- Comments ---------------- */
.comments { max-width: 70ch; padding: 34px 0 60px; border-top: 1px solid var(--rule); margin-top: 24px; }
.comments h2 { font-family: var(--display); font-weight: 700; font-size: 21px; }
.comment {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule);
  background: var(--surface);
  padding: 15px 17px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.comment__meta { font-family: var(--data); font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.comment-form {
  border: 1px solid var(--rule);
  padding: 22px;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  background: var(--surface);
}
.comment-form h3 { margin-top: 0; font-family: var(--data); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------------- Forms (shared public + admin) ---------------- */
label { display: block; font-family: var(--data); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 7px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=datetime-local], textarea, select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  margin-bottom: 16px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-dim);
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--data);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--surface);
  border: 1px solid var(--ink);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.btn:hover { background: var(--ink-2); text-decoration: none; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--base); color: var(--ink); box-shadow: none; }
.btn--danger { background: var(--red); border-color: var(--red); }
.btn--danger:hover { background: #B23636; border-color: #B23636; }
.btn--small { padding: 7px 13px; font-size: 10.5px; }
.btn--cta {
  background: var(--amber);
  color: var(--ink);
  border: none;
  padding: 15px 26px;
  font-size: 12.5px;
  box-shadow: 0 10px 28px -10px rgba(245, 166, 35, 0.6);
}
.btn--cta:hover { background: #E39816; box-shadow: 0 14px 34px -10px rgba(245, 166, 35, 0.7); transform: translateY(-2px); }

.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-family: var(--data); font-size: 13px; border: 1px solid transparent; }
.alert--error { background: var(--red-dim); border-color: rgba(209, 67, 67, 0.35); color: #93301F; }
.alert--success { background: var(--teal-dim); border-color: rgba(15, 169, 140, 0.35); color: #0A7A65; }

/* ---------------- Pagination / tag pills ---------------- */
.pagination { display: flex; gap: 8px; justify-content: center; padding-bottom: 52px; font-family: var(--data); font-size: 13px; }
.pagination a, .pagination span {
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.pagination a:hover { border-color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.tag-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: 24px 0 0; }
.tag-filter-bar a {
  font-family: var(--data);
  font-size: 11.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.tag-filter-bar a:hover { border-color: var(--ink); text-decoration: none; }
.tag-filter-bar a.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ---------------- CTA banner (Scholarship Courses Registration) ---------------- */
.cta-banner { padding: 4px 0 52px; }
.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  overflow: hidden;
}
.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 85% 30%, black, transparent 70%);
  pointer-events: none;
}
.cta-banner__eyebrow {
  font-family: var(--data);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-block;
  margin-bottom: 12px;
}
.cta-banner__text { position: relative; z-index: 1; max-width: 46ch; }
.cta-banner__text h2 { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.8vw, 28px); margin: 0 0 10px; letter-spacing: -0.01em; }
.cta-banner__text p { margin: 0; color: #A9B0C0; font-size: 14.5px; }
.cta-banner .btn--cta { position: relative; z-index: 1; flex-shrink: 0; white-space: nowrap; }

/* ---------------- Modal (Coming soon) ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fadeIn .15s var(--ease);
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: left;
  animation: modalPop .18s var(--ease);
  border-top: 3px solid var(--amber);
}
@keyframes modalPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.modal__close:hover { background: var(--base); color: var(--ink); }
.modal__badge {
  display: inline-block;
  font-family: var(--data);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--amber-dim);
  color: #8A5B0E;
  border: 1px solid rgba(245, 166, 35, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.modal h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.modal p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--surface); padding: 40px 0; }
.site-footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer .brand__mark { color: var(--surface); }
.site-footer .brand__mark--accent { color: var(--amber); }
.footer-meta { font-family: var(--data); font-size: 11.5px; color: #8B93A3; text-align: right; }
.footer-meta a { transition: color .15s var(--ease); }
.footer-meta a:hover { color: var(--amber); text-decoration: none; }
.footer-social { display: flex; gap: 16px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #9AA2B1; }
.footer-links a { transition: color .15s var(--ease); }
.footer-links a:hover { color: var(--amber); text-decoration: none; }

/* ---------------- Admin dashboard ---------------- */
.admin-shell { display: flex; min-height: 100vh; background: var(--base); }
.admin-sidebar {
  width: 224px;
  background: var(--ink);
  color: var(--surface);
  padding: 22px 12px;
  flex-shrink: 0;
}
.admin-sidebar__brand { font-family: var(--display); font-weight: 700; padding: 0 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 12px; }
.admin-sidebar a {
  display: block;
  padding: 10px 14px;
  margin-bottom: 2px;
  font-family: var(--data);
  font-size: 12.5px;
  color: #9AA2B1;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.admin-sidebar a:hover { color: var(--surface); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.admin-sidebar a.active { color: var(--surface); background: rgba(245, 166, 35, 0.1); border-left-color: var(--amber); }
.admin-main { flex: 1; padding: 34px 42px; max-width: 1180px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-family: var(--display); font-weight: 700; font-size: 25px; margin: 0; letter-spacing: -0.01em; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 30px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-card__label { font-family: var(--data); font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.05em; }
.stat-card__value { font-family: var(--display); font-weight: 700; font-size: 30px; margin-top: 8px; }

table.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
table.admin-table th, table.admin-table td { padding: 12px 15px; border-bottom: 1px solid var(--rule-soft); text-align: left; font-size: 13.5px; }
table.admin-table th { font-family: var(--data); font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.05em; background: var(--base); }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tbody tr { transition: background .12s var(--ease); }
table.admin-table tbody tr:hover { background: var(--indigo-dim); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--data);
  font-size: 9.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--PUBLISHED { background: var(--teal-dim); color: #0A7A65; border: 1px solid rgba(15, 169, 140, 0.35); }
.status-pill--DRAFT { background: var(--rule-soft); color: var(--muted); border: 1px solid var(--rule); }
.status-pill--SCHEDULED { background: var(--amber-dim); color: #8A5B0E; border: 1px solid rgba(245, 166, 35, 0.4); }
.status-pill--PENDING { background: var(--amber-dim); color: #8A5B0E; border: 1px solid rgba(245, 166, 35, 0.4); }
.status-pill--APPROVED { background: var(--teal-dim); color: #0A7A65; border: 1px solid rgba(15, 169, 140, 0.35); }
.status-pill--SPAM { background: var(--red-dim); color: #93301F; border: 1px solid rgba(209, 67, 67, 0.35); }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.login-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 72%);
}
.login-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 38px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--amber);
}
.login-card .brand__mark { font-size: 25px; margin-bottom: 4px; }

.form-row { display: flex; gap: 16px; }
.form-row > * { flex: 1; }

@media (max-width: 720px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; overflow-x: auto; padding: 12px; gap: 4px; }
  .admin-sidebar__brand { display: none; }
  .admin-sidebar a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .admin-sidebar a.active { border-left-color: transparent; border-bottom-color: var(--amber); }
  .admin-main { padding: 24px 16px; }
  .cta-banner__inner { padding: 28px; }
}
