/* OMAP — Omna Manpower And Placement
   HUD theme in the POSEIDON style, re-coloured from the OMNA logo:
   deep-navy wave (#1e3d74 → #5597c6) and the golden sails (#d9ae22 → #f6e7a6). */

:root {
  color-scheme: dark;
  --bg:         #050c18;
  --surface:    #0b1729;
  --surface-2:  #12233d;
  --text:       #eef3fa;
  --text-muted: #8fa3bf;
  --border:     rgba(85, 151, 198, 0.22);

  --navy:       #1e3d74;
  --blue:       #2b65a0;
  --sky:        #5ba3d6;
  --gold:       #d9ae22;
  --gold-hi:    #f2d465;
  --gold-pale:  #f6e7a6;

  --danger:     #ff6b6b;
  --success:    #34d399;
  --warning:    #fbbf24;
  --purple:     #a78bfa;

  --hud:        var(--sky);
  --hud-soft:   rgba(91, 163, 214, 0.55);
  --hud-line:   rgba(91, 163, 214, 0.26);
  --hud-grid:   rgba(91, 163, 214, 0.05);
  --hud-panel:  linear-gradient(160deg, rgba(30, 61, 116, 0.34), rgba(5, 12, 24, 0.9));
  --hud-glow:   0 0 10px rgba(91, 163, 214, 0.55), 0 0 22px rgba(91, 163, 214, 0.2);
  --gold-glow:  0 0 10px rgba(217, 174, 34, 0.45), 0 0 22px rgba(217, 174, 34, 0.18);
  --hud-font:   'Rajdhani', 'Inter', system-ui, sans-serif;
  --chamfer:    14px;
  --sidebar-w:  248px;
  --topbar-h:   56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(var(--hud-grid) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, var(--hud-grid) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(ellipse at 50% -10%, rgba(43, 101, 160, 0.38), transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(217, 174, 34, 0.08), transparent 45%),
    var(--bg);
  background-attachment: fixed;
}
/* Perspective "sea floor" grid, like POSEIDON's */
body::after {
  content: '';
  position: fixed;
  left: -20%; right: -20%; bottom: -80px; height: 220px;
  pointer-events: none; z-index: 0;
  background:
    linear-gradient(var(--hud-line) 1px, transparent 1px) 0 0 / 60px 30px,
    linear-gradient(90deg, var(--hud-line) 1px, transparent 1px) 0 0 / 60px 30px;
  transform: perspective(300px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 70%);
          mask-image: linear-gradient(transparent, #000 70%);
  opacity: 0.3;
}
#app, .page-wrap { position: relative; z-index: 1; }

a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font-family: inherit; font-size: 14px; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::placeholder { color: #5f7593; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
.hidden { display: none !important; }
.muted { color: var(--text-muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ── Chamfered HUD panels ───────────────────────────────────────────────── */
.card, .modal, .login-card, .table-wrap {
  border: 1px solid var(--hud-line);
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 38% 3px no-repeat,
    linear-gradient(45deg, transparent calc(50% - 1.4px), var(--hud-soft) calc(50% - 1.4px), var(--hud-soft) calc(50% - 0.2px), transparent calc(50% - 0.2px)) top right / var(--chamfer) var(--chamfer) no-repeat,
    linear-gradient(45deg, transparent calc(50% + 0.2px), var(--hud-soft) calc(50% + 0.2px), var(--hud-soft) calc(50% + 1.4px), transparent calc(50% + 1.4px)) bottom left / var(--chamfer) var(--chamfer) no-repeat,
    var(--hud-panel);
  background-origin: border-box;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
}
.card { padding: 18px; }
.card + .card { margin-top: 16px; }
.card-title, .section-title, .modal-title {
  font-family: var(--hud-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 3px solid var(--gold);
  padding-left: 9px;
  line-height: 1.2;
}
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head .card-title { flex: 1; }
.section-title { font-size: 14px; margin: 18px 0 10px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px;
  font-family: var(--hud-font); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .12s, color .12s, filter .12s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(96deg, var(--gold), var(--gold-hi));
  color: #10172a;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-left: 20px; padding-right: 20px;
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-blue {
  background: linear-gradient(96deg, var(--blue), var(--sky));
  color: #fff;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-left: 20px; padding-right: 20px;
}
.btn-blue:hover:not(:disabled) { filter: brightness(1.1); }
.btn-ghost, .btn-secondary {
  border: 1px solid var(--hud-line);
  background: rgba(91, 163, 214, 0.06);
  color: var(--text);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.btn-ghost:hover:not(:disabled), .btn-secondary:hover:not(:disabled) { background: rgba(91, 163, 214, 0.16); }
.btn-danger { border: 1px solid rgba(255, 107, 107, 0.45); color: var(--danger); background: rgba(255, 107, 107, 0.06); }
.btn-danger:hover:not(:disabled) { background: rgba(255, 107, 107, 0.16); }
.btn-success { border: 1px solid rgba(52, 211, 153, 0.45); color: var(--success); background: rgba(52, 211, 153, 0.07); }
.btn-success:hover:not(:disabled) { background: rgba(52, 211, 153, 0.16); }
.btn-sm { padding: 5px 10px; font-size: 11.5px; }
.btn-icon { padding: 6px 8px; }
.btn-wa { border: 1px solid rgba(37, 211, 102, 0.5); color: #4ade80; background: rgba(37, 211, 102, 0.07); }
.btn-wa:hover:not(:disabled) { background: rgba(37, 211, 102, 0.18); }
.w-full { width: 100%; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group > label, .label {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 5px;
}
.req::after { content: ' *'; color: var(--gold); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=datetime-local],
input[type=number], input[type=tel], input[type=search], input[type=time], input[type=url], select, textarea {
  width: 100%;
  padding: 9px 11px;
  background: rgba(5, 12, 24, 0.6);
  border: 1px solid var(--hud-line);
  color: var(--text);
  border-radius: 0;
  transition: border-color .12s, box-shadow .12s;
}
select option { background: var(--surface); }
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 174, 34, 0.15); }
input[type=checkbox], input[type=radio] { accent-color: var(--gold); width: 16px; height: 16px; vertical-align: middle; }
::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Badges / chips ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px;
  font-family: var(--hud-font); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid currentColor;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; font-size: 12px;
  background: rgba(91, 163, 214, 0.12); border: 1px solid var(--hud-line); color: var(--text);
}
.chip button { color: var(--text-muted); font-size: 13px; line-height: 1; }
.chip button:hover { color: var(--danger); }
.st-applied { color: #93c5fd; } .st-assessment { color: #a78bfa; } .st-interview { color: #5ba3d6; }
.st-shortlist { color: #f2d465; } .st-offer { color: #fb923c; } .st-hired { color: #34d399; }
.st-rejected { color: #ff6b6b; } .st-talent_pool { color: #94a3b8; }
.s-pending { color: #94a3b8; } .s-in_progress { color: #fbbf24; } .s-completed { color: #34d399; } .s-expired { color: #ff6b6b; }
.s-scheduled { color: #5ba3d6; } .s-no_show { color: #fb923c; } .s-cancelled { color: #94a3b8; }
.stars { color: var(--gold-hi); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #334766; }
.star-input button { font-size: 24px; color: #334766; padding: 0 2px; }
.star-input button.on { color: var(--gold-hi); text-shadow: var(--gold-glow); }

/* ── Login / public pages ──────────────────────────────────────────────── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 400px; padding: 30px 26px; }
.brand-block { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 22px; text-align: center; }
.brand-block img { width: 110px; height: auto; filter: drop-shadow(0 0 18px rgba(91, 163, 214, 0.35)); }
.wordmark {
  font-family: var(--hud-font); font-weight: 700; font-size: 34px; letter-spacing: 0.28em;
  color: #fff; text-shadow: var(--hud-glow); line-height: 1; padding-left: 0.28em;
}
.wordmark-sub { font-size: 11px; color: var(--gold-pale); letter-spacing: 0.14em; text-transform: uppercase; }
.page-wrap { max-width: 760px; margin: 0 auto; padding: 28px 16px 60px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.page-head img { width: 54px; height: auto; }
.page-head .wordmark { font-size: 26px; }

/* ── App shell ─────────────────────────────────────────────────────────── */
#sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--sidebar-w);
  background: rgba(5, 12, 24, 0.86);
  border-right: 1px solid var(--hud-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  z-index: 40;
  transition: transform .2s ease;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 16px 16px 18px; border-bottom: 1px solid var(--hud-line); }
.sidebar-logo img { width: 40px; height: auto; }
.sidebar-logo .wordmark { font-size: 22px; letter-spacing: 0.22em; }
.sidebar-logo .wordmark-sub { font-size: 9px; letter-spacing: 0.08em; margin-top: 3px; }
.nav { flex: 1; overflow-y: auto; padding: 10px 0; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5f7593; padding: 12px 18px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 18px; text-align: left;
  font-family: var(--hud-font); font-weight: 600; font-size: 15px; letter-spacing: 0.05em;
  color: var(--text-muted);
  border-left: 3px solid transparent;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { color: var(--text); background: rgba(91, 163, 214, 0.07); }
.nav-item.active { color: #fff; border-left-color: var(--gold); background: linear-gradient(90deg, rgba(217, 174, 34, 0.14), transparent); }
.nav-item .count { margin-left: auto; font-family: 'Inter'; font-size: 11px; font-weight: 700; background: var(--gold); color: #10172a; padding: 0 6px; min-width: 18px; text-align: center; }
.sidebar-foot { border-top: 1px solid var(--hud-line); padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hud-font); font-weight: 700; color: #10172a;
  background: linear-gradient(135deg, var(--gold), var(--gold-pale));
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }
#main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
#topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 12px; padding: 0 22px;
  background: rgba(5, 12, 24, 0.72);
  border-bottom: 1px solid var(--hud-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#page-title { font-family: var(--hud-font); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; flex: 1; }
.hamburger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 4px; padding: 7px; }
.hamburger span { display: block; height: 2px; background: var(--text); }
#content { padding: 22px; flex: 1; min-width: 0; }
#sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 35; }
@media (max-width: 960px) {
  #sidebar { transform: translateX(-100%); }
  body.nav-open #sidebar { transform: none; }
  body.nav-open #sidebar-overlay { display: block; }
  #main { margin-left: 0; }
  .hamburger { display: flex; }
  #content { padding: 16px; }
  #topbar { padding: 0 12px; }
}

/* ── Stats / funnel ────────────────────────────────────────────────────── */
.stat { padding: 16px 18px; }
.stat-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.stat-value { font-family: var(--hud-font); font-weight: 700; font-size: 34px; color: #fff; text-shadow: var(--hud-glow); line-height: 1.1; margin-top: 4px; }
.stat.gold .stat-value { text-shadow: var(--gold-glow); color: var(--gold-pale); }
.funnel { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.funnel-item {
  flex: 1 1 120px; min-width: 110px;
  padding: 9px 12px; text-align: left;
  border: 1px solid var(--hud-line); background: rgba(11, 23, 41, 0.75);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background .12s, border-color .12s;
}
.funnel-item:hover { background: rgba(30, 61, 116, 0.5); }
.funnel-item.active { border-color: var(--gold); background: rgba(217, 174, 34, 0.12); }
.funnel-item .fn-label { font-family: var(--hud-font); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.funnel-item .fn-count { font-family: var(--hud-font); font-weight: 700; font-size: 24px; color: #fff; line-height: 1.1; }
.funnel-item .fn-meta { font-size: 11px; color: var(--text-muted); }
.funnel-item .fn-meta .warn { color: var(--danger); }

/* ── Tables ────────────────────────────────────────────────────────────── */
.table-wrap { overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  position: sticky; top: 0; z-index: 1;
  text-align: left; padding: 10px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  background: rgba(11, 23, 41, 0.96); border-bottom: 1px solid var(--hud-line);
  white-space: nowrap; user-select: none;
}
.tbl th.sortable { cursor: pointer; }
.tbl th.sortable:hover { color: var(--text); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid rgba(91, 163, 214, 0.1); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: rgba(91, 163, 214, 0.07); }
.tbl tr.sel td { background: rgba(217, 174, 34, 0.07); }
.tbl .name { font-weight: 600; }
.tbl .sub { font-size: 12px; color: var(--text-muted); }
.empty { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar input[type=search] { max-width: 280px; }
.toolbar select { width: auto; min-width: 150px; }
.bulkbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 8px 12px; margin-bottom: 10px;
  border: 1px solid var(--gold); background: rgba(217, 174, 34, 0.08);
}

/* ── Tabs ─────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--hud-line); margin-bottom: 16px; overflow-x: auto; }
.tab {
  padding: 9px 16px; white-space: nowrap;
  font-family: var(--hud-font); font-weight: 700; font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold-hi); border-bottom-color: var(--gold); }

/* ── Modal ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 6, 14, 0.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
}
.modal { width: 100%; max-width: 560px; padding: 0; background-color: var(--surface); }
.modal.wide { max-width: 860px; }
.modal.xwide { max-width: 1100px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; border-bottom: 1px solid var(--hud-line); }
.modal-head .modal-title { flex: 1; }
.modal-close { font-size: 22px; color: var(--text-muted); line-height: 1; padding: 2px 8px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 18px 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid var(--hud-line); flex-wrap: wrap; }
@media (max-width: 600px) { .modal-overlay { padding: 0; } .modal { min-height: 100vh; clip-path: none; } }

/* ── Profile ──────────────────────────────────────────────────────────── */
.profile-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.profile-head h2 { font-family: var(--hud-font); font-size: 24px; letter-spacing: 0.04em; line-height: 1.1; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 18px; }
.info-item .label { margin-bottom: 1px; }
.info-item .val { font-size: 13.5px; word-break: break-word; }
.actionbar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 10px 12px; margin: 14px 0 4px;
  border: 1px solid var(--hud-line); background: rgba(30, 61, 116, 0.22);
}
.actionbar .label { margin: 0 6px 0 0; }
.list-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(91, 163, 214, 0.1); flex-wrap: wrap; }
.list-item:last-child { border-bottom: none; }
.timeline { list-style: none; position: relative; padding-left: 18px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 4px; bottom: 4px; width: 1px; background: var(--hud-line); }
.timeline li { position: relative; padding: 0 0 14px; }
.timeline li::before { content: ''; position: absolute; left: -17px; top: 6px; width: 9px; height: 9px; background: var(--sky); transform: rotate(45deg); }
.timeline li.t-stage::before { background: var(--gold); }
.timeline .t-meta { font-size: 11.5px; color: var(--text-muted); }
.note { padding: 10px 12px; border-left: 3px solid var(--gold); background: rgba(217, 174, 34, 0.05); margin-bottom: 8px; }
.note .t-meta { font-size: 11.5px; color: var(--text-muted); margin-bottom: 3px; }

/* ── Review ───────────────────────────────────────────────────────────── */
.answer-block { padding: 14px 0; border-bottom: 1px solid rgba(91, 163, 214, 0.12); }
.answer-block:last-child { border-bottom: none; }
.answer-block video, .rec-video { width: 100%; max-height: 420px; background: #000; margin-top: 8px; }
.q-num { font-family: var(--hud-font); font-weight: 700; color: var(--gold-hi); letter-spacing: 0.06em; }
.ai-panel { border: 1px solid rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.06); padding: 14px; }
.ai-panel ul { padding-left: 18px; }
.rec-pill { font-size: 11.5px; padding: 1px 8px; border: 1px solid currentColor; }
.rec-strong { color: var(--success); } .rec-consider { color: var(--warning); } .rec-weak { color: var(--danger); }
.decision-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.decision-btns button { flex: 1; min-width: 110px; padding: 10px; border: 1px solid var(--hud-line); font-weight: 600; background: rgba(5, 12, 24, 0.5); }
.decision-btns button.on.good { border-color: var(--success); color: var(--success); background: rgba(52, 211, 153, 0.1); }
.decision-btns button.on.mid { border-color: var(--warning); color: var(--warning); background: rgba(251, 191, 36, 0.1); }
.decision-btns button.on.bad { border-color: var(--danger); color: var(--danger); background: rgba(255, 107, 107, 0.1); }

/* ── Question builder ─────────────────────────────────────────────────── */
.q-card { border: 1px solid var(--hud-line); background: rgba(5, 12, 24, 0.45); padding: 12px; margin-bottom: 10px; }
.q-card .row { margin-top: 8px; }
.q-card input[type=number] { width: 90px; }

/* ── Interview cards ──────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cards .card + .card { margin-top: 0; }
.iv-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-muted); margin: 8px 0 14px; flex-wrap: wrap; }
.iv-meta b { color: var(--text); font-family: var(--hud-font); font-size: 16px; }

/* ── Toast ────────────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(30px);
  z-index: 200; opacity: 0; pointer-events: none;
  padding: 10px 18px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--gold); color: var(--text);
  transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { border-color: var(--danger); }

.alert { padding: 10px 12px; border: 1px solid; font-size: 13px; margin-bottom: 14px; }
.alert-danger { border-color: rgba(255, 107, 107, 0.5); color: #ffb4b4; background: rgba(255, 107, 107, 0.08); }
.alert-ok { border-color: rgba(52, 211, 153, 0.5); color: #a7f3d0; background: rgba(52, 211, 153, 0.08); }
.alert-info { border-color: var(--hud-line); color: var(--text); background: rgba(91, 163, 214, 0.08); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--hud-line); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 6px; background: var(--surface-2); overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width .2s; }
