/* ============================================================
   SAC TACTICAL COMMAND UI — Design System v2
   ============================================================ */

:root {
  --bg-void:    #030810;
  --bg-base:    #060e18;
  --bg-panel:   #091522;
  --bg-surface: #0d1e2e;
  --bg-hover:   #112435;
  --bg-input:   #07101a;

  --gold:       #c8a400;
  --gold-dim:   rgba(200,164,0,0.3);
  --gold-glow:  rgba(200,164,0,0.08);

  --green-tac:  #00e676;
  --amber-tac:  #ffb300;
  --red-tac:    #f44336;
  --blue-tac:   #29b6f6;

  --text:       #c8dff2;
  --text-bright:#eef6ff;
  --text-soft:  #9dbdd8;
  --text-dim:   #6090b0;

  --border-dim: #0e1e2e;
  --border-base:#162840;
  --border-mid: #1e3450;

  --font-ui:   'Barlow', system-ui, sans-serif;
  --font-mono: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  /* Bootstrap primary override */
  --bs-primary:         #c8a400;
  --bs-primary-rgb:     200, 164, 0;
}

/* ─── BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  min-height: 100vh;
}

.mono { font-family: 'Barlow Condensed', 'Barlow', system-ui, sans-serif !important; letter-spacing: 0.04em; }
.gold { color: var(--gold) !important; }
.text-dim { color: var(--text-dim) !important; }
.text-soft { color: var(--text-soft) !important; }
.pre-wrap { white-space: pre-wrap; }
.w-100 { width: 100% !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.small { font-size: 0.82em; }
.letter-spacing-lg { letter-spacing: 0.35em; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-inline-flex { display: inline-flex; }
.align-items-center { align-items: center; }

/* ─── TOP NAV ──────────────────────────────────────────────── */
.tac-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #060e18 0%, #050c16 100%);
  border-bottom: 1px solid var(--border-base);
  height: 56px;
  display: flex;
  align-items: center;
}

.tac-nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tac-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-bright);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tac-brand:hover { color: var(--gold); }

.brand-hex {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--gold-dim);
}
.brand-hex img { width: 100%; height: 100%; object-fit: contain; }

.brand-name { font-size: 0.75rem; }

.tac-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.tac-nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.tac-nav-link:hover { color: var(--gold); background: var(--gold-glow); }

.tac-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.tac-nav-links + .tac-nav-right { margin-left: 1.5rem; }

.nav-op-name {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ─── MAIN WRAPPER ─────────────────────────────────────────── */
.tac-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.tac-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn-tac-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--gold);
  color: #050a0e;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-tac-primary:hover {
  background: #e0bb00;
  box-shadow: 0 0 18px var(--gold-dim);
  color: #050a0e;
}
.btn-tac-primary:disabled {
  background: #3a3208;
  color: var(--text-soft);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-tac-primary.btn-sm { padding: 0.35rem 0.9rem; font-size: 0.73rem; }

.btn-tac-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-tac-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.btn-tac-outline.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.72rem; }

.btn-tac-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border-base);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-tac-ghost:hover { background: var(--bg-hover); }

.btn-tac-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  background: transparent;
  color: var(--red-tac);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(244,67,54,0.35);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-tac-danger:hover { background: rgba(244,67,54,0.12); color: #ff6b6b; }

.btn-xs { padding: 0.22rem 0.55rem !important; font-size: 0.7rem !important; }

/* ─── PANELS ───────────────────────────────────────────────── */
.tac-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.tac-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(0,0,0,0.15);
}
.tac-panel-header span { color: var(--text); }

.tac-panel-action {
  font-size: 0.68rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.tac-panel-action:hover { color: #e0bb00; text-decoration: underline; }

.tac-panel-body { padding: 0.85rem 1rem; }
.tac-panel-body.p-0 { padding: 0; }

.tac-panel-divider { border-top: 1px solid var(--border-dim); margin: 0; }

/* ─── ALERTS ───────────────────────────────────────────────── */
.tac-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.83rem;
  border-left: 3px solid;
}
.tac-alert.danger  { background: rgba(244,67,54,0.08);  border-color: var(--red-tac);   color: #ff8888; }
.tac-alert.success { background: rgba(0,230,118,0.08);  border-color: var(--green-tac); color: #55dd88; }
.tac-alert.info    { background: rgba(41,182,246,0.08); border-color: var(--blue-tac);  color: #7ecfee; }
.tac-alert.warning { background: rgba(255,179,0,0.08);  border-color: var(--amber-tac); color: #ffc040; }
.tac-alert i { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.mb-3.tac-alert { margin-bottom: 1rem; }

/* ─── STATUS LEDs ──────────────────────────────────────────── */
.led {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.led.led-ready,    .led.led-green  { background: var(--green-tac); box-shadow: 0 0 6px var(--green-tac); }
.led.led-standby,  .led.led-amber  { background: var(--amber-tac); box-shadow: 0 0 6px var(--amber-tac); }
.led.led-red                       { background: var(--red-tac);   box-shadow: 0 0 6px var(--red-tac); }
.led.led-deployed                  { background: var(--blue-tac);  box-shadow: 0 0 6px var(--blue-tac); }
.led.led-training  { background: #ba68c8; box-shadow: 0 0 6px #ba68c8; }
.led.led-maintenance { background: var(--amber-tac); box-shadow: 0 0 6px var(--amber-tac); }
.led.led-on-leave  { background: var(--text-soft); }
.led.led-unknown   { background: var(--text-dim); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.led.pulse { animation: pulse 2s ease-in-out infinite; }

/* ─── PROGRESS BARS ─────────────────────────────────────────── */
.tac-progress {
  height: 3px;
  background: var(--border-base);
  border-radius: 0;
  overflow: hidden;
  margin: 0.3rem 0;
}
.tac-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e0bb00);
  border-radius: 0;
  transition: width 0.4s ease;
}

/* ─── TABLES ───────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; }

.tac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.tac-table thead tr {
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border-mid);
}
.tac-table th {
  padding: 0.6rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  text-align: left;
}
.tac-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text);
  vertical-align: middle;
  font-weight: 400;
}
.tac-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.tac-table tbody tr:last-child td { border-bottom: none; }

.tac-row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* ─── BADGES ───────────────────────────────────────────────── */
.tac-badge {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  color: var(--text-soft);
}
.tac-badge.pending    { border-color: var(--amber-tac); color: var(--amber-tac); }
.tac-badge.deployed   { border-color: var(--blue-tac);  color: var(--blue-tac); }
.tac-badge.complete   { border-color: var(--green-tac); color: var(--green-tac); }
.tac-badge.aborted    { border-color: var(--red-tac);   color: var(--red-tac); }

.risk-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.risk-badge.low    { background: rgba(0,230,118,0.1);  color: var(--green-tac); }
.risk-badge.medium { background: rgba(255,179,0,0.1);  color: var(--amber-tac); }
.risk-badge.high   { background: rgba(244,67,54,0.1);  color: var(--red-tac); }

.role-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  text-transform: uppercase;
  background: var(--bg-surface);
  border: 1px solid var(--border-base);
  color: var(--text-soft);
}
.role-badge.admin      { border-color: var(--gold); color: var(--gold); }
.role-badge.supervisor { border-color: var(--blue-tac); color: var(--blue-tac); }

/* ─── FORMS ────────────────────────────────────────────────── */
.tac-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.tac-field:last-child { margin-bottom: 0; }

.tac-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tac-input {
  width: 100%;
  background: var(--bg-input);
  color: var(--text-bright);
  border: 1px solid var(--border-base);
  border-radius: 3px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.tac-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}
.tac-input::placeholder { color: var(--text-dim); }
.tac-input.text-center { text-align: center; }

textarea.tac-input { resize: vertical; min-height: 80px; line-height: 1.5; }

.tac-select {
  width: 100%;
  background: var(--bg-input);
  color: var(--text-bright);
  border: 1px solid var(--border-base);
  border-radius: 3px;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234a6a82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.15s;
}
.tac-select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-glow); }
.tac-select option { background: #0a1828; }

.tac-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.tac-input-wrap .tac-input {
  padding-left: 2.5rem;
}
.tac-input-wrap .tac-input-wrap--no-icon { padding-left: 0.85rem; }

.tac-input-icon {
  position: absolute;
  left: 0.8rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.tac-input-action {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-base);
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  transition: color 0.15s;
}
.tac-input-action:hover { color: var(--gold); }

.tac-input-wrap .tac-input { padding-right: 2.5rem; }

.tac-field-note {
  font-size: 0.73rem;
  color: var(--text-dim);
}

.tac-link-dim {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: color 0.15s;
}
.tac-link-dim:hover { color: var(--gold); }
.ms-auto { margin-left: auto; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border-dim); }

.form-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 0 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-dim);
  margin-top: 0.5rem;
}

.tac-form .was-validated .tac-input:invalid {
  border-color: var(--red-tac);
}

/* ─── SPINNER ──────────────────────────────────────────────── */
.tac-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #050a0e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── COMMAND BAR ──────────────────────────────────────────── */
.cmd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cmd-bar-left { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.cmd-bar-right { color: var(--text-dim); }
.cmd-item { display: flex; align-items: center; gap: 0.4rem; }
.cmd-key { color: var(--text-dim); text-transform: uppercase; }
.cmd-val { color: var(--text); font-weight: 500; }
.cmd-val.gold { color: var(--gold); }
.cmd-sep { color: var(--text-dim); opacity: 0.4; }

/* ─── DASHBOARD LAYOUT ─────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 72px;
}

.op-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 6px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.op-avatar-frame {
  position: relative;
  margin-bottom: 0.75rem;
}
.op-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface) center/cover no-repeat;
  border: 2px solid var(--border-mid);
}
.op-status-ring {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--bg-panel);
  background: var(--text-dim);
}
.op-status-ring.green { background: var(--green-tac); box-shadow: 0 0 6px var(--green-tac); }
.op-status-ring.amber { background: var(--amber-tac); }
.op-status-ring.red   { background: var(--red-tac);   box-shadow: 0 0 6px var(--red-tac); }

.op-rank   { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); }
.op-name   { font-size: 1rem; font-weight: 700; color: var(--text-bright); }
.op-codename { font-size: 0.72rem; color: var(--gold); font-family: var(--font-mono); }
.op-id     { font-size: 0.68rem; color: var(--text-dim); font-family: var(--font-mono); }

.status-block {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
}
.status-block-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-dim);
  font-size: 0.72rem;
}
.status-row:last-child { border-bottom: none; }
.status-key { color: var(--text-soft); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.status-right { display: flex; align-items: center; gap: 0.4rem; }
.status-val { color: var(--text-bright); font-weight: 600; }
.status-val.gold { color: var(--gold); }

.dash-sidebar-nav {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 6px;
  overflow: hidden;
}
.snav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.04em;
}
.snav-item:last-child { border-bottom: none; }
.snav-item:hover { color: var(--gold); background: var(--gold-glow); }
.snav-item.active { color: var(--gold); background: var(--gold-glow); border-left: 2px solid var(--gold); }

/* ─── DASH MAIN ────────────────────────────────────────────── */
.dash-main { min-width: 0; }

/* ─── STATS ROW ────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.stat-tile {
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 6px;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stat-tile-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.stat-num   { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); font-family: var(--font-mono); line-height: 1; }
.stat-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.2rem; }

/* ─── DASH 2-COL GRID ──────────────────────────────────────── */
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ─── MISSION ROWS ─────────────────────────────────────────── */
.mission-row { padding: 0.75rem 0; border-bottom: 1px solid var(--border-dim); }
.mission-row:last-child { border-bottom: none; }
.mission-row-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.65rem; }
.mission-name { font-weight: 600; font-size: 0.85rem; color: var(--text-bright); }
.mission-row-meta { font-size: 0.68rem; color: var(--text-dim); font-family: var(--font-mono); }

/* ─── ALERT ROWS ───────────────────────────────────────────── */
.alert-row { display: flex; align-items: stretch; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border-dim); }
.alert-row:last-child { border-bottom: none; }
.alert-sev-bar { width: 3px; border-radius: 2px; flex-shrink: 0; background: var(--text-dim); }
.alert-sev-bar.critical { background: var(--red-tac); }
.alert-sev-bar.high     { background: var(--red-tac); opacity: 0.7; }
.alert-sev-bar.medium   { background: var(--amber-tac); }
.alert-sev-bar.low      { background: var(--green-tac); }
.alert-title { font-size: 0.83rem; font-weight: 600; color: var(--text-bright); }
.alert-meta  { font-size: 0.68rem; color: var(--text-dim); font-family: var(--font-mono); margin-top: 0.15rem; }

/* ─── COMMS ROWS ───────────────────────────────────────────── */
.comms-row { padding: 0.5rem 0; border-bottom: 1px solid var(--border-dim); }
.comms-row:last-child { border-bottom: none; }
.comms-sender  { font-size: 0.78rem; font-weight: 600; color: var(--gold); font-family: var(--font-mono); }
.comms-subject { font-size: 0.8rem; color: var(--text); }
.comms-time    { font-size: 0.68rem; color: var(--text-dim); }

/* ─── DETAIL GRID ──────────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.detail-grid-2 { grid-template-columns: repeat(2, 1fr); }
.detail-item {}
.detail-key { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.2rem; }
.detail-val { font-size: 0.85rem; font-weight: 500; color: var(--text-bright); }

.empty-state { color: var(--text-dim); font-size: 0.8rem; font-style: italic; }

/* ─── ADMIN LAYOUT ─────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.admin-sidebar { display: flex; flex-direction: column; gap: 0.85rem; }
.admin-main {}

.sys-stat { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border-dim); }
.sys-stat:last-child { border-bottom: none; }
.sys-stat-key { font-size: 0.72rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.sys-stat-val { font-size: 1.1rem; font-weight: 700; color: var(--gold); }

.log-row { padding: 0.5rem 0.85rem; border-bottom: 1px solid var(--border-dim); }
.log-row:last-child { border-bottom: none; }
.log-action { font-size: 0.75rem; font-weight: 700; color: var(--text-bright); }
.log-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.15rem; }
.log-by   { font-size: 0.68rem; color: var(--gold); }
.log-ip, .log-time { font-size: 0.65rem; color: var(--text-dim); font-family: var(--font-mono); }

/* ─── MOBILE NAV ───────────────────────────────────────────── */
.mob-nav { display: flex; flex-direction: column; }
.mob-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.15s;
}
.mob-nav-item:hover { color: var(--gold); }
.offcanvas { background: var(--bg-panel); border-right: 1px solid var(--border-base); }

/* ─── FLASH ────────────────────────────────────────────────── */
.alert { padding: 0.7rem 1rem; border-radius: 4px; font-size: 0.83rem; margin-bottom: 1rem; border: 1px solid transparent; }
.alert-success { background: rgba(0,230,118,0.08); border-color: rgba(0,230,118,0.25); color: #55dd88; }
.alert-danger  { background: rgba(244,67,54,0.08); border-color: rgba(244,67,54,0.25); color: #ff8888; }
.alert-info    { background: rgba(41,182,246,0.08); border-color: rgba(41,182,246,0.25); color: #7ecfee; }
.alert-warning { background: rgba(255,179,0,0.08); border-color: rgba(255,179,0,0.25); color: #ffc040; }
.alert-dismissible { position: relative; padding-right: 2rem; }
.btn-close { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; color: inherit; opacity: 0.5; cursor: pointer; font-size: 1rem; }
.btn-close:hover { opacity: 1; }

/* ─── AUTH PAGES ───────────────────────────────────────────── */
.auth-body {
  background: var(--bg-void);
  min-height: 100vh;
  display: flex;
}

/* Two-panel login layout */
.auth-wrap {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Centered card layout (OTP, forgot, reset) */
.auth-wrap-centered {
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-void);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-panel);
  border: 1px solid var(--border-base);
  border-radius: 8px;
  padding: 2rem;
}

.auth-card-header { text-align: center; margin-bottom: 1.5rem; }
.auth-card-logo { height: 56px; opacity: 0.9; margin-bottom: 0.75rem; }

/* Left branding panel */
.auth-brand {
  flex: 0 0 38%;
  background: radial-gradient(ellipse at 50% 42%, #0b1a2e 0%, #050e1c 45%, #020810 100%);
  border-right: 1px solid var(--border-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
}

/* ── Atmospheric layers ── */
.auth-atm-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  background: radial-gradient(ellipse at center,
    rgba(200,164,0,0.13) 0%,
    rgba(200,164,0,0.05) 35%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 1;
}

.auth-atm-scan {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0,6,18,0.22) 3px,
    rgba(0,6,18,0.22) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.auth-atm-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -8%;
  pointer-events: none;
  z-index: 1;
}
.auth-atm-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: authRingPulse 5.5s ease-out infinite;
}
.auth-atm-rings span:nth-child(1) { width: 150px; height: 150px; animation-delay: 0s; }
.auth-atm-rings span:nth-child(2) { width: 260px; height: 260px; animation-delay: 1s; }
.auth-atm-rings span:nth-child(3) { width: 380px; height: 380px; animation-delay: 2s; }
.auth-atm-rings span:nth-child(4) { width: 510px; height: 510px; animation-delay: 3s; }
@keyframes authRingPulse {
  0%   { opacity: 0.22; transform: scale(0.88); }
  25%  { opacity: 0.10; }
  100% { opacity: 0;    transform: scale(1.04); }
}

/* Tactical corner brackets */
.auth-corner-tl, .auth-corner-tr,
.auth-corner-bl, .auth-corner-br {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.45;
  z-index: 3;
}
.auth-corner-tl { top: 1.25rem; left: 1.25rem;  border-top:    1px solid var(--gold); border-left:  1px solid var(--gold); }
.auth-corner-tr { top: 1.25rem; right: 1.25rem; border-top:    1px solid var(--gold); border-right: 1px solid var(--gold); }
.auth-corner-bl { bottom: 1.25rem; left: 1.25rem;  border-bottom: 1px solid var(--gold); border-left:  1px solid var(--gold); }
.auth-corner-br { bottom: 1.25rem; right: 1.25rem; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.auth-brand-inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.auth-brand-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px var(--gold-dim));
}

.auth-brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-bright);
  line-height: 1.4;
}

.auth-brand-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.auth-brand-sub {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.auth-classified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--red-tac);
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-tac);
  margin-top: 0.5rem;
}

.auth-brand-footer {
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.58rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-align: center;
  z-index: 4;
}

/* Right form panel */
.auth-form-panel {
  flex: 1;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-inner {
  width: 100%;
  max-width: 420px;
}

.auth-sys-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.text-gold { color: var(--gold); }

.auth-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: 0 0 0.6rem;
}

.auth-clearance-req {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.auth-form-header { margin-bottom: 1.75rem; }

.auth-desc {
  font-size: 0.83rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.auth-form-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
}

.auth-otp-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
}

/* ─── AUTH V2 — FULL-BG LAYOUT ─────────────────────────────── */
.auth-wrap-v2 {
  width: 100%;
  min-height: 100vh;
  display: flex;
}

/* Background panel (left ~70%) */
.auth-bg-panel {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center top;
  background-color: #050d1a;
  overflow: hidden;
}

.auth-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2,8,18,0.80) 0%, rgba(2,8,18,0.10) 40%, transparent 70%),
    linear-gradient(to right, rgba(2,8,18,0.50) 0%, rgba(2,8,18,0.60) 55%, rgba(4,10,20,0.88) 100%);
  z-index: 1;
}


/* Bottom-left overlay text */
.auth-bg-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 2;
}
.auth-bg-accent {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.auth-bg-headline {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  margin-bottom: 0.65rem;
}
.auth-bg-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Right form panel */
.auth-side-panel {
  width: 400px;
  flex-shrink: 0;
  background: #07101c;
  border-left: 1px solid rgba(200,164,0,0.12);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.auth-side-topbar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #e8c800 60%, transparent 100%);
  flex-shrink: 0;
}
.auth-side-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 2.25rem;
  border-bottom: 1px solid var(--border-dim);
}
.auth-side-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.auth-side-name {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
}
.auth-side-sub {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.15rem;
}
.auth-side-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.25rem;
}
.auth-v2-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin: 0 0 0.4rem;
}
.auth-v2-desc {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.auth-notice {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dim);
}
.auth-notice-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.auth-notice p {
  font-size: 0.74rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-layout  { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .op-card      { flex: 0 0 200px; }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-2  { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .detail-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Auth */
  .auth-bg-panel   { display: none; }
  .auth-side-panel { width: 100%; }
  .auth-brand      { display: none; }
  .auth-form-panel { padding: 1.5rem 1rem; }

  /* Layout */
  .tac-main  { padding: 1rem 0.75rem; }
  .cmd-bar   { font-size: 0.65rem; padding: 0.4rem 0.65rem; }
  .cmd-sep   { display: none; }

  /* Dashboard sidebar: stack vertically on mobile */
  .dash-sidebar          { flex-direction: column; }
  .op-card               { flex: none; width: 100%; flex-direction: row; text-align: left; padding: 0.85rem 1rem; gap: 1rem; }
  .op-avatar-frame       { margin-bottom: 0; flex-shrink: 0; }
  .op-avatar             { width: 56px; height: 56px; }
  .op-card > *:not(.op-avatar-frame) { margin: 0; }
  /* Hide sidebar nav — hamburger menu covers navigation */
  .dash-sidebar-nav      { display: none; }

  /* Stats */
  .stats-row             { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .stat-tile             { padding: 0.75rem; gap: 0.6rem; }
  .stat-tile-icon        { width: 32px; height: 32px; font-size: 0.9rem; }
  .stat-num              { font-size: 1.25rem; }

  /* Grids */
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .detail-grid           { grid-template-columns: 1fr 1fr; }
  .detail-grid-2         { grid-template-columns: 1fr; }
}

/* Profile Fields management page */
.pf-layout { max-width: 900px; }

/* OTP toggle button */
.otp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.otp-on  { background: rgba(0,230,118,0.10); color: var(--green-tac); border-color: rgba(0,230,118,0.35); }
.otp-on:hover  { background: rgba(0,230,118,0.20); }
.otp-off { background: rgba(255,255,255,0.04); color: var(--text-dim); border-color: var(--border-mid); }
.otp-off:hover { background: rgba(255,255,255,0.08); color: var(--text-soft); }

/* ─── SUPER CRUD TABS ──────────────────────────────────────── */
.scrud-tabs {
  display: flex;
  gap: 0.15rem;
  border-bottom: 1px solid var(--border-mid);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.scrud-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  position: relative;
  bottom: -1px;
}
.scrud-tab:hover { color: var(--text); background: var(--bg-hover); }
.scrud-tab.active {
  color: var(--gold);
  background: var(--bg-panel);
  border-color: var(--border-mid);
  border-bottom-color: var(--bg-panel);
}
.scrud-tab .scrud-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: 2px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-soft);
}
.scrud-tab.active .scrud-count { border-color: var(--gold-dim); color: var(--gold); background: var(--gold-glow); }

.scrud-pane { display: none; }
.scrud-pane.active { display: block; }

.scrud-toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.scrud-search {
  flex: 1;
  min-width: 160px;
  max-width: 300px;
  background: var(--bg-input);
  color: var(--text-bright);
  border: 1px solid var(--border-base);
  border-radius: 3px;
  padding: 0.4rem 0.75rem 0.4rem 2rem;
  font-size: 0.8rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%234a7090' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.6rem center;
}
.scrud-search:focus { border-color: var(--gold); }
.scrud-search::placeholder { color: var(--text-dim); }

.filter-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--bg-surface);
  border: 1px solid var(--border-base);
  border-radius: 3px;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.filter-btn:hover  { border-color: var(--border-mid); color: var(--text); }
.filter-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.filter-btn.f-pending  { }
.filter-btn.f-deployed.active  { border-color: var(--blue-tac); color: var(--blue-tac); background: rgba(41,182,246,0.06); }
.filter-btn.f-complete.active  { border-color: var(--green-tac); color: var(--green-tac); background: rgba(0,230,118,0.06); }
.filter-btn.f-aborted.active   { border-color: var(--red-tac); color: var(--red-tac); background: rgba(244,67,54,0.06); }
.filter-btn.f-critical.active, .filter-btn.f-high.active { border-color: var(--red-tac); color: var(--red-tac); background: rgba(244,67,54,0.06); }
.filter-btn.f-medium.active    { border-color: var(--amber-tac); color: var(--amber-tac); background: rgba(255,179,0,0.06); }
.filter-btn.f-low.active       { border-color: var(--green-tac); color: var(--green-tac); background: rgba(0,230,118,0.06); }

.no-results { padding: 1.5rem; text-align: center; color: var(--text-dim); font-size: 0.8rem; font-style: italic; display: none; }

/* Clickable operator name in admin table */
.op-name-link { color: var(--text-bright); text-decoration: none; font-weight: 500; }
.op-name-link:hover { color: var(--gold); text-decoration: underline; }

/* Admin-view banner shown on operator dashboard when viewed by admin */
.admin-view-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  background: rgba(200,164,0,0.08); border: 1px solid var(--gold-dim);
  border-radius: 6px; padding: 0.6rem 1rem; margin-bottom: 1rem;
  font-size: 0.82rem; color: var(--text-soft);
}
.admin-view-banner-left { display: flex; align-items: center; gap: 0.4rem; }
.admin-view-banner-right { display: flex; gap: 0.5rem; }

/* Overview 2-col */
.scrud-overview { display: grid; grid-template-columns: 1fr 340px; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .scrud-overview { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .tac-main       { padding: 0.75rem 0.6rem; }
  .stats-row      { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .stat-tile      { padding: 0.6rem; gap: 0.5rem; }
  .stat-tile-icon { width: 28px; height: 28px; font-size: 0.8rem; }
  .stat-num       { font-size: 1.1rem; }
  .stat-label     { font-size: 0.58rem; }
  .detail-grid    { grid-template-columns: 1fr; }
  .detail-grid-2  { grid-template-columns: 1fr; }
  .auth-card      { padding: 1.25rem; }
  .op-card        { flex-direction: column; text-align: center; }
  .op-avatar      { width: 64px; height: 64px; }
}
