/* ==========================================================================
   Placed. Dark, bold, mobile first.
   ========================================================================== */
:root {
  --bg: #07070a;
  --bg2: #0d0d13;
  --surface: #13131b;
  --surface2: #1b1b26;
  --surface3: #242432;
  --line: #2a2a3a;
  --line2: #383849;
  --text: #f5f5f8;
  --muted: #a1a1b5;
  --dim: #6c6c80;
  --brand: #c8ff3d;
  --brand-ink: #0a0a0d;
  --hot: #ff4d6d;
  --violet: #8b5cf6;
  --accent: #6d4aff;
  --accent-hi: #b6a3ff;
  --accent-glow: rgba(109, 74, 255, .45);
  --accent-soft: rgba(109, 74, 255, .16);
  --like: #2fe08a;
  --nope: #ff4d6d;
  --super: #3db8ff;
  --r: 20px;
  --r-sm: 12px;
  --header-h: 58px;
  --tab-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: 24px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grow { flex: 1; min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.fine { font-size: 12px; color: var(--dim); margin-top: 10px; }

/* ---------- Logo ---------- */
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.logo.sm { font-size: 17px; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; box-shadow: 0 0 12px var(--brand); }
.shell .logo-dot { background: var(--accent-hi); box-shadow: 0 0 12px var(--accent-glow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background .2s, border-color .2s, opacity .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.busy { opacity: .85; cursor: progress; }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn.sm svg { width: 15px; height: 15px; }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 30px rgba(200, 255, 61, .18); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 10px 36px rgba(200, 255, 61, .32); }
.shell .btn.primary, .onb .btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px var(--accent-glow); }
.btn.light { background: #fff; color: #0a0a0d; }
.btn.outline { border-color: var(--line2); background: transparent; }
.btn.outline:hover { border-color: var(--text); }
.btn.ghost { background: var(--surface2); border-color: var(--line); }
.btn.ghost:hover:not(:disabled) { background: var(--surface3); }
.danger-text { color: var(--nope); }
.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link-btn:hover { color: var(--text); }
.link-btn.danger { color: var(--nope); font-size: 13px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface2); border: 1px solid var(--line); text-decoration: none; }
.icon-btn svg { width: 18px; height: 18px; }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; opacity: .8; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); padding: 48px 16px; font-weight: 600; }
.error-block { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 40px 20px; color: var(--muted); }
.error-block svg { color: var(--nope); width: 30px; height: 30px; }
.error-block p { color: var(--text); max-width: 340px; }
.boot { min-height: 100dvh; display: grid; place-items: center; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.field small { font-size: 12px; color: var(--dim); }
input:not([type=checkbox]), select, textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 44px; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-hi); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--dim); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid2 .span2 { grid-column: span 2; } }
.check-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font-weight: 600; cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-error { background: rgba(255, 77, 109, .1); border: 1px solid rgba(255, 77, 109, .35); color: #ffb3c1; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); font-size: 14px; }
.seg button.on { background: var(--text); color: var(--bg); }
.seg.sm button { padding: 6px 14px; font-size: 13px; }

.chips-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.pick { border: 1.5px solid var(--line2); background: var(--surface); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: all .18s; }
.pick:hover { border-color: var(--muted); }
.pick.on { background: var(--accent); border-color: var(--accent-hi); color: #fff; box-shadow: 0 6px 24px var(--accent-glow); transform: translateY(-1px); }

.school-checks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 6px; }
@media (min-width: 560px) { .school-checks { grid-template-columns: 1fr 1fr; } }
.school-filter { margin: 6px 0 2px; }
.school-check[hidden] { display: none; }
.school-check { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg2); cursor: pointer; transition: border-color .2s, background .2s; }
.school-check input { position: absolute; opacity: 0; pointer-events: none; }
.sc-box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line2); display: grid; place-items: center; color: transparent; flex: none; transition: all .15s; }
.sc-box svg { width: 15px; height: 15px; }
.sc-text { display: flex; flex-direction: column; min-width: 0; }
.sc-text small { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.school-check:has(input:checked) { border-color: var(--sc); background: color-mix(in srgb, var(--sc) 14%, var(--bg2)); }
.school-check input:checked + .sc-box { background: var(--sc); border-color: var(--sc); color: #fff; }
.school-check input:focus-visible + .sc-box { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

/* ---------- Pills, chips, badges ---------- */
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip svg { width: 13px; height: 13px; color: var(--muted); }
.chip.money { color: var(--like); border-color: rgba(47, 224, 138, .3); background: rgba(47, 224, 138, .08); }
.chip.ghost { color: var(--muted); }
.school-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: color-mix(in srgb, var(--sc) 22%, #111); border: 1px solid color-mix(in srgb, var(--sc) 60%, #000); font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; vertical-align: middle; }
.school-badge i { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--sc) 50%, var(--sc2, var(--sc)) 50%); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.co-chip { font-size: 13px; font-weight: 700; color: var(--muted); max-width: 40vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.badge svg { width: 13px; height: 13px; }
.badge.interested { background: rgba(47, 224, 138, .14); color: var(--like); border: 1px solid rgba(47, 224, 138, .35); }
.badge.super { background: rgba(61, 184, 255, .16); color: var(--super); border: 1px solid rgba(61, 184, 255, .4); }
.mode-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.mode-badge svg { width: 12px; height: 12px; }
.mode-badge.ai { background: var(--accent-soft); color: var(--accent-hi); }
.mode-badge.offline { background: var(--surface2); color: var(--dim); }
.avatar { --h: 260; width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 70% 36%)); }
.avatar.lg { width: 56px; height: 56px; border-radius: 18px; font-size: 19px; }
.avatar.xl { width: 96px; height: 96px; border-radius: 30px; font-size: 32px; }

.ring { --p: 0; --ring-c: var(--brand); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring-c) calc(var(--p) * 1%), var(--surface3) 0); flex: none; }
.ring span { width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.ring-sm { width: 42px; height: 42px; }
.ring-sm span { font-size: 13px; width: calc(100% - 7px); height: calc(100% - 7px); }
.ring-lg { width: 84px; height: 84px; }
.ring-lg span { font-size: 26px; width: calc(100% - 12px); height: calc(100% - 12px); }

ul.ticks, ul.dots, ul.gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
ul.ticks li, ul.dots li, ul.gaps li { position: relative; padding-left: 22px; font-size: 14px; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2.5px solid var(--like); border-bottom: 2.5px solid var(--like); transform: rotate(-45deg); }
ul.dots li::before { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
ul.gaps li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #ffb547; }

/* ==========================================================================
   Landing
   ========================================================================== */
/* The landing page lives in css/landing.css. Shared bits kept here. */
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(200, 255, 61, .7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================================
   Auth
   ========================================================================== */
.auth { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 40px; gap: 24px; background: radial-gradient(800px 400px at 50% -10%, rgba(139, 92, 246, .2), transparent 70%), var(--bg); }
.auth > .logo { align-self: flex-start; }
@media (min-width: 560px) { .auth > .logo { align-self: center; } .auth { padding-top: 48px; } }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 24px 20px; }
@media (min-width: 560px) { .auth-card { padding: 32px; } }
.auth-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.03em; }
.auth-card > .muted { margin-bottom: 20px; }
.auth-card .link-btn { display: block; margin: 14px auto 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.dev-note { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(200, 255, 61, .07); border: 1px dashed rgba(200, 255, 61, .4); margin-bottom: 18px; font-size: 13px; }
.dev-note b { color: var(--brand); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.dev-note span { grid-column: 1; color: var(--muted); }
.dev-note code { grid-row: 1 / span 2; grid-column: 2; font-size: 20px; font-weight: 800; letter-spacing: .14em; color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-input { font-size: 28px !important; letter-spacing: .4em; text-indent: .4em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--text); }
.back-link.inline { margin-bottom: 12px; }

/* ==========================================================================
   Onboarding
   ========================================================================== */
.onb { max-width: 620px; margin: 0 auto; padding: 16px 16px 48px; min-height: 100dvh; }
.onb-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.onb-top .link-btn { margin-left: auto; }
.onb-progress { height: 6px; border-radius: 6px; background: var(--surface2); overflow: hidden; }
.onb-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); border-radius: 6px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.onb-step { font-size: 12px; font-weight: 700; color: var(--dim); margin: 10px 0 28px; letter-spacing: .06em; text-transform: uppercase; }
.onb-h { font-size: clamp(30px, 8vw, 42px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; }
.onb > .muted, .onb-body > .muted { margin-bottom: 22px; font-size: 16px; }
.onb-body { animation: rise .45s both; }
.fear-reply { min-height: 48px; color: var(--accent-hi); font-weight: 600; font-size: 16px; margin: 10px 0 18px; opacity: 0; }
.fear-reply.show { animation: rise .4s both; }
.onb-actions { display: flex; gap: 10px; margin-top: 18px; }
.onb-actions .grow { flex: 1; }
.fill-fields { margin: 4px 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fill-fields summary { padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.fill-fields summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.fill-fields[open] summary::after { content: '\2212'; }
.fill-fields summary::-webkit-details-marker { display: none; }
.fill-fields .pf { padding: 0 16px 6px; }
.pf-group { margin: 6px 0 16px; }
.pf-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pf-list { display: flex; flex-direction: column; gap: 10px; }
.pf-entry { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 14px 8px; background: var(--bg2); }
.pf-entry .field { margin-bottom: 10px; }
.pf-entry input, .pf-entry textarea { background: var(--surface); }
.built { margin-top: 28px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); animation: rise .5s both; }
.built-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.built-head h2 { font-size: 22px; margin-bottom: 4px; }
.built .btn { margin-top: 14px; }
.built-mini { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.paper-scroll { max-height: 60vh; overflow: auto; border-radius: 12px; }
.paper-scroll .resume-paper { box-shadow: none; }

/* ==========================================================================
   App shell
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--header-h); display: flex; align-items: center; gap: 12px; padding: 0 16px; background: rgba(7, 7, 10, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hi), var(--accent), transparent); opacity: .9; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(10, 10, 14, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--dim); font-size: 11px; font-weight: 700; position: relative; -webkit-tap-highlight-color: transparent; }
.tab svg { width: 24px; height: 24px; transition: transform .2s; }
.tab.on { color: var(--text); }
.tab.on svg { color: var(--accent-hi); transform: translateY(-1px) scale(1.06); }
.tab.on::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-hi); }
.main { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 16px); }
@media (min-width: 900px) {
  .tabbar { top: 0; bottom: auto; left: auto; right: max(16px, calc((100vw - 1180px) / 2)); height: var(--header-h); padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 4px; align-items: center; z-index: 31; }
  .tab { flex: none; flex-direction: row; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
  .tab svg { width: 18px; height: 18px; }
  .tab:hover { color: var(--text); background: var(--surface2); }
  .tab.on { background: var(--surface2); }
  .tab.on::before { display: none; }
  .main { padding-bottom: 32px; }
}

.page { max-width: 620px; margin: 0 auto; padding: 20px 16px; }
.page.wide { max-width: 1100px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .back-link.inline { margin-bottom: 0; align-self: center; }
.page-head h2 { margin-bottom: 4px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page > h2 { margin-bottom: 16px; }
.section-h { display: flex; align-items: center; gap: 8px; margin: 28px 0 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .card { padding: 24px; } }
.form-card h3 { margin: 4px 0 16px; display: flex; align-items: center; gap: 8px; }
.form-card h3 svg { width: 18px; height: 18px; color: var(--accent-hi); }
.form-card > .muted { margin: -8px 0 14px; font-size: 14px; }
.form-card h3:not(:first-child) { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.empty-inline { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 20px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); }
.empty-inline > svg { width: 30px; height: 30px; color: var(--accent-hi); }
.empty-inline h3 { color: var(--text); }
.empty-inline p { max-width: 380px; }
.empty-inline.big { padding: 56px 24px; margin-top: 24px; }

.school-banner { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); margin-bottom: 16px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #07070a)); border: 1px solid color-mix(in srgb, var(--accent-hi) 40%, transparent); flex-wrap: wrap; }
.school-banner .eyebrow { color: rgba(255, 255, 255, .7); }
.school-banner h2 { font-size: 20px; color: #fff; }
.school-banner .muted { color: rgba(255, 255, 255, .7); font-size: 13px; word-break: break-all; }
.school-banner.brand { background: linear-gradient(135deg, #24183f, #101018); }
.sb-mark { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -0.02em; flex: none; }
.sb-counts { display: flex; gap: 14px; margin-left: auto; color: rgba(255, 255, 255, .8); font-size: 13px; }
.sb-counts b { font-size: 18px; color: #fff; }

/* ==========================================================================
   Deck
   ========================================================================== */
.deck-page { max-width: 460px; padding-top: 12px; padding-bottom: 0; display: flex; flex-direction: column; height: calc(100dvh - var(--header-h) - var(--tab-h) - var(--safe-b) - 16px); min-height: 560px; }
@media (min-width: 900px) { .deck-page { height: calc(100dvh - var(--header-h) - 32px); min-height: 640px; max-height: 900px; } }
.deck-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.deck-head h2 { font-size: 22px; }
.job-pick { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.job-pick select { padding: 10px 36px 10px 12px; font-weight: 700; font-size: 15px; }
.deck-host { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.deck { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.deck-stage { position: relative; flex: 1; min-height: 380px; margin-bottom: 14px; }
.swipe-card {
  position: absolute; inset: 0 0 28px; border-radius: 26px; background: linear-gradient(170deg, #1a1a26 0%, var(--surface) 45%);
  border: 1px solid var(--line2); box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
  will-change: transform;
}
.swipe-card:active { cursor: grabbing; }
.swipe-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.deck-stage.dragging .swipe-card { transition: none; }
.card-inner { position: absolute; inset: 0; padding: 22px 20px 70px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.card-inner > * { flex: none; }
.card-inner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(transparent, var(--surface) 62%); pointer-events: none; z-index: 1; }
.stamp { position: absolute; z-index: 5; top: 28px; padding: 2px 12px; border: 4px solid currentColor; border-radius: 12px; font-size: 34px; font-weight: 800; letter-spacing: .04em; opacity: 0; pointer-events: none; transform: rotate(var(--rot)) scale(var(--s, .8)); transition: opacity .15s; background: rgba(7, 7, 10, .35); }
.stamp-like { left: 22px; color: var(--like); --rot: -14deg; }
.stamp-nope { right: 22px; color: var(--nope); --rot: 14deg; }
.stamp-super { left: 50%; top: auto; bottom: 90px; color: var(--super); --rot: -6deg; margin-left: -78px; }
.deck-stage.dragging .stamp { transition: none; }

.jc-head, .cc-head { display: flex; align-items: center; gap: 12px; }
.co-badge { --h: 260; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; background: linear-gradient(135deg, hsl(var(--h) 65% 50%), hsl(calc(var(--h) + 50) 70% 32%)); }
.jc-titles { flex: 1; min-width: 0; }
.jc-company { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jc-fit { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.jc-fit small { font-size: 10px; font-weight: 800; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.jc-sec ul li { font-size: 14px; line-height: 1.4; }
.jc-sec .more { font-size: 12px; color: var(--dim); margin-top: 6px; font-weight: 600; }
.jc-desc { color: var(--muted); font-size: 14px; flex: 1 1 auto !important; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.cc-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.cc-headline { font-size: 15px; font-weight: 600; line-height: 1.4; }
.card-more { position: absolute; left: 20px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: var(--surface2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; color: var(--text); flex: none; }
.card-more svg { width: 15px; height: 15px; }
.card-more:hover { background: var(--surface3); }

.deck-actions { display: flex; justify-content: center; align-items: center; gap: 18px; padding-bottom: 6px; }
.act { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.act svg { width: 28px; height: 28px; }
.act-nope { color: var(--nope); }
.act-like { color: var(--like); }
.act-super { color: var(--super); width: 52px; height: 52px; }
.act-super svg { width: 22px; height: 22px; }
.act:hover:not(:disabled) { transform: scale(1.08); }
.act:active:not(:disabled), .act.pressed { transform: scale(.9); }
.act-nope:hover:not(:disabled), .act-nope.pressed { background: rgba(255, 77, 109, .14); box-shadow: 0 10px 30px rgba(255, 77, 109, .25); }
.act-like:hover:not(:disabled), .act-like.pressed { background: rgba(47, 224, 138, .14); box-shadow: 0 10px 30px rgba(47, 224, 138, .25); }
.act-super:hover:not(:disabled), .act-super.pressed { background: rgba(61, 184, 255, .14); box-shadow: 0 10px 30px rgba(61, 184, 255, .25); }
.act:disabled { opacity: .35; cursor: default; }
.deck-hint { display: none; text-align: center; font-size: 12px; color: var(--dim); margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .deck-hint { display: block; } }
.deck-empty { position: absolute; inset: 0 0 28px; border-radius: 26px; border: 1.5px dashed var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 22px; gap: 12px; animation: rise .5s both; background: radial-gradient(400px 260px at 50% 0%, var(--accent-soft), transparent 70%); }
.deck-empty p { color: var(--muted); max-width: 320px; font-size: 14px; }
.empty-art { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface2); color: var(--accent-hi); }
.empty-art svg { width: 30px; height: 30px; }
.empty-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.job-detail h2 { margin: 2px 0 12px; }
.job-detail .chips { margin-bottom: 16px; }
.job-detail p { color: var(--muted); margin-bottom: 16px; white-space: pre-line; }
.job-detail h4 { margin: 18px 0 10px; }

/* ==========================================================================
   Resumes
   ========================================================================== */
.res-base { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line2); text-decoration: none; transition: border-color .2s, transform .15s; }
a.res-base:hover { border-color: var(--accent-hi); }
.res-base.empty { background: var(--surface); }
.res-doc { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.res-doc svg { width: 24px; height: 24px; }
.chev svg { transform: rotate(180deg); color: var(--muted); }
.res-list { display: grid; gap: 10px; }
@media (min-width: 760px) { .res-list { grid-template-columns: 1fr 1fr; } }
.res-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.res-item:hover { border-color: var(--line2); background: var(--surface2); }
.res-item h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-item p { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.res-meta small { color: var(--dim); font-size: 12px; }
.res-title { margin-bottom: 16px; }
.res-title h2 { font-size: 24px; }
.res-title h2 .muted { font-weight: 600; }
.res-layout { display: grid; gap: 16px; }
@media (min-width: 960px) { .res-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .res-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.res-main .seg { margin-bottom: 12px; }
.res-side { display: flex; flex-direction: column; gap: 12px; order: -1; }
@media (min-width: 960px) { .res-side { order: 0; } }
.ins-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.ins-card h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ins-card h4 svg { width: 17px; height: 17px; color: var(--accent-hi); }
.ins-score { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--accent-soft), var(--surface) 75%); }
.ins-score h3 { font-size: 18px; margin-bottom: 2px; }
.ins-score .muted { font-size: 14px; margin-bottom: 8px; }
.ins-score .label { margin-bottom: 4px; }
.cover-note { white-space: pre-line; font-size: 14px; color: #dedeea; margin-bottom: 12px; line-height: 1.6; }

.paper-wrap { border-radius: 14px; overflow-x: auto; }
.resume-paper {
  background: #fff; color: #17171c; border-radius: 14px; padding: 28px 22px; font-size: 13.5px; line-height: 1.5;
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
@media (min-width: 640px) { .resume-paper { padding: 44px 48px; } }
.resume-paper.empty { color: #666; text-align: center; }
.resume-paper h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #0b0b10; }
.r-head { border-bottom: 2px solid #17171c; padding-bottom: 12px; margin-bottom: 14px; }
.r-headline { font-size: 14.5px; font-weight: 600; color: #3b3b48; margin-top: 4px; }
.r-contact { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: #55556a; word-break: break-word; }
.resume-paper section { margin-bottom: 14px; }
.resume-paper h2 { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #4a4a5c; border-bottom: 1px solid #e3e3ea; padding-bottom: 4px; margin-bottom: 8px; }
.r-item { margin-bottom: 10px; break-inside: avoid; }
.r-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.r-row strong { font-weight: 700; color: #0b0b10; }
.r-org { color: #4a4a5c; }
.r-org::before { content: ', '; }
.r-date { font-size: 12.5px; color: #6a6a7c; white-space: nowrap; font-variant-numeric: tabular-nums; }
.resume-paper ul { margin: 4px 0 0; padding-left: 18px; }
.resume-paper li { margin-bottom: 2px; }
.r-gpa { font-size: 12.5px; color: #55556a; }
.r-skills { color: #2a2a35; }

/* ==========================================================================
   Jobs (employer)
   ========================================================================== */
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 760px) { .job-row { flex-direction: row; align-items: center; } }
.job-row.closed { opacity: .65; }
.jr-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.job-row .muted { font-size: 14px; }
.status { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--surface3); color: var(--muted); }
.status.on { background: rgba(47, 224, 138, .14); color: var(--like); }
.jr-schools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jr-stats { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.jr-stats span { display: inline-flex; align-items: center; gap: 5px; }
.jr-stats svg { width: 14px; height: 14px; color: var(--accent-hi); }
.jr-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   Matches + chat
   ========================================================================== */
.chat-page { max-width: 1100px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); height: calc(100dvh - var(--header-h) - var(--tab-h) - var(--safe-b)); }
.main:has(.chat-page) { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
.m-list { overflow-y: auto; padding: 20px 16px; }
.m-list-head { margin-bottom: 14px; }
.m-thread { display: none; min-height: 0; flex-direction: column; background: var(--bg2); }
.chat-page.has-thread .m-list { display: none; }
.chat-page.has-thread .m-thread { display: flex; }
@media (min-width: 900px) {
  .chat-page { grid-template-columns: 340px minmax(0, 1fr); height: calc(100dvh - var(--header-h)); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .main:has(.chat-page) { padding-bottom: 0; }
  .m-list { border-right: 1px solid var(--line); }
  .m-thread, .chat-page.has-thread .m-thread { display: flex; }
  .chat-page.has-thread .m-list { display: block; }
  .t-back { display: none !important; }
}
.m-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.m-item { display: flex; gap: 12px; padding: 12px; border-radius: 16px; text-decoration: none; transition: background .15s; align-items: center; }
.m-item:hover { background: var(--surface); }
.m-item.on { background: var(--surface2); }
.m-row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.m-row h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row small { color: var(--dim); font-size: 12px; white-space: nowrap; }
.m-job { font-size: 12.5px; color: var(--accent-hi); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-prev { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-item.fresh .m-prev { color: var(--brand); font-weight: 600; }
.thread-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); padding: 24px; text-align: center; }
.thread-empty svg { width: 34px; height: 34px; color: var(--accent-hi); }
.t-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.t-head .avatar { width: 40px; height: 40px; border-radius: 13px; font-size: 14px; }
.t-who h3 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-who p { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-who .school-badge { font-size: 10.5px; padding: 1px 8px 1px 5px; }
.t-who .school-badge i { width: 8px; height: 8px; }
.t-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain; }
.t-intro { text-align: center; padding: 18px 12px 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.t-intro p { max-width: 380px; }
.t-intro h4 { color: var(--text); }
.t-intro-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 8px 30px var(--accent-glow); }
.t-intro-badge svg { width: 24px; height: 24px; }
.t-intro-score { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.t-day { text-align: center; font-size: 11.5px; color: var(--dim); font-weight: 700; margin: 12px 0 6px; }
.bubble-row { display: flex; flex-direction: column; align-items: flex-start; }
.bubble-row.mine { align-items: flex-end; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 20px; background: var(--surface2); font-size: 15px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.bubble-row.mine .bubble { background: var(--accent); color: #fff; }
.bubble.tail { border-bottom-left-radius: 6px; }
.bubble-row.mine .bubble.tail { border-bottom-left-radius: 20px; border-bottom-right-radius: 6px; }
.bubble.pending { opacity: .6; }
.bubble-row small { font-size: 11px; color: var(--dim); margin: 3px 6px 8px; }
.t-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg); }
.t-compose textarea { resize: none; border-radius: 22px; padding: 11px 16px; max-height: 140px; min-height: 44px; }
.send-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; transition: transform .12s; }
.send-btn:active { transform: scale(.92); }
.send-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Toasts
   ========================================================================== */
#toasts { position: fixed; z-index: 90; left: 12px; right: 12px; top: calc(var(--header-h) + 8px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 900px) { #toasts { left: auto; right: 20px; align-items: flex-end; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; padding: 12px 10px 12px 14px; border-radius: 16px; background: rgba(24, 24, 34, .96); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .25s, transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s; }
.toast.in { opacity: 1; transform: none; }
.toast.out { opacity: 0; transform: translateY(-8px) scale(.98); }
.toast-icon { display: grid; place-items: center; color: var(--accent-hi); flex: none; }
.toast-icon svg { width: 18px; height: 18px; }
.toast[data-type=success] { border-color: rgba(47, 224, 138, .45); }
.toast[data-type=success] .toast-icon { color: var(--like); }
.toast[data-type=error] { border-color: rgba(255, 77, 109, .5); }
.toast[data-type=error] .toast-icon { color: var(--nope); }
.toast-body { flex: 1; min-width: 0; }
.toast-link { color: var(--brand); font-weight: 800; white-space: nowrap; }
.toast-x { background: none; border: 0; color: var(--dim); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.toast-x svg { width: 14px; height: 14px; }
.toast-x:hover { color: var(--text); background: var(--surface3); }

/* ==========================================================================
   Sheets
   ========================================================================== */
.sheet-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; backdrop-filter: blur(3px); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 88dvh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line2); border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); padding-bottom: var(--safe-b); }
.sheet.wide { max-width: 860px; }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 5px; background: var(--line2); margin: 10px auto 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 12px; gap: 12px; }
.sheet-body { overflow-y: auto; padding: 0 18px 22px; }
.sheet-note { display: flex; gap: 8px; align-items: center; color: var(--accent-hi); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.sheet-note svg { width: 16px; height: 16px; }
.sheet .paper-scroll { max-height: none; }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { border-radius: 26px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .sheet-grip { display: none; }
  .sheet-head { padding-top: 18px; }
}

/* ==========================================================================
   It's a match
   ========================================================================== */
.match-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; overflow: hidden; background: radial-gradient(700px 500px at 50% 35%, var(--accent-glow), transparent 70%), rgba(5, 5, 8, .94); opacity: 0; transition: opacity .3s; padding: 24px 16px; }
.match-overlay.open { opacity: 1; }
.match-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 420px; width: 100%; }
.match-kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; animation: rise .5s .1s both; }
.match-title { font-size: clamp(58px, 18vw, 96px); font-weight: 800; line-height: .9; letter-spacing: -0.05em; margin-bottom: 26px; animation: match-pop .7s cubic-bezier(.2, 1.6, .4, 1) .15s both; }
.match-title span { background: linear-gradient(100deg, var(--accent-hi), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .08em; }
@keyframes match-pop { from { opacity: 0; transform: scale(.4) rotate(-6deg); } to { opacity: 1; transform: none; } }
.match-avatars { display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.match-avatars .avatar { border: 4px solid var(--bg); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.m-left { transform: rotate(-8deg); animation: slide-l .6s cubic-bezier(.2, 1.3, .4, 1) .35s both; }
.m-right { transform: rotate(8deg); animation: slide-r .6s cubic-bezier(.2, 1.3, .4, 1) .35s both; }
@keyframes slide-l { from { opacity: 0; transform: translateX(-120px) rotate(-30deg); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes slide-r { from { opacity: 0; transform: translateX(120px) rotate(30deg); } to { opacity: 1; transform: rotate(8deg); } }
.m-heart { width: 50px; height: 50px; margin: 0 -14px; z-index: 2; border-radius: 50%; background: var(--hot); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(255, 77, 109, .5); animation: beat 1.1s .9s infinite; }
.m-heart svg { width: 24px; height: 24px; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.match-text { font-size: 17px; color: #d5d5e2; margin-bottom: 28px; max-width: 340px; animation: rise .5s .6s both; }
.match-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; animation: rise .5s .75s both; }
.match-overlay .btn.primary { background: var(--brand); color: var(--brand-ink); }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.confetti i { position: absolute; top: -20px; left: var(--x); width: var(--w); height: calc(var(--w) * 1.6); background: var(--c); border-radius: var(--br); opacity: 0; animation: fall var(--t) cubic-bezier(.25, .6, .4, 1) var(--d) forwards; }
@keyframes fall {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx), 105vh, 0) rotate(var(--r)); }
}

/* ==========================================================================
   v2: no ghosting, AI coach, less hassle
   ========================================================================== */
:root { --warn: #ffb547; --good: #2fe08a; --bad: #ff4d6d; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn.danger { background: var(--nope); color: #fff; }
.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.sm svg { width: 14px; height: 14px; }
.pick.sm { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions .grow { flex: 1; }

/* ---------- AI loading (10 to 15 second calls) ---------- */
.ai-load { padding: 18px; border-radius: var(--r); background: radial-gradient(320px 140px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface2); border: 1px solid var(--line2); }
.ai-load-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ai-load-top h4 { margin-bottom: 2px; }
.ai-orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: conic-gradient(from 0deg, var(--accent), var(--accent-hi), var(--brand), var(--accent)); animation: spin 2.4s linear infinite; box-shadow: 0 0 24px var(--accent-glow); }
.ai-orb svg { width: 18px; height: 18px; animation: spin 2.4s linear infinite reverse; }
.ai-load-step { font-size: 14px; color: var(--muted); min-height: 21px; }
.ai-load-step.swap { animation: rise .45s both; }
.ai-bar { height: 6px; border-radius: 99px; background: var(--surface3); overflow: hidden; }
.ai-bar i { display: block; height: 100%; width: 4%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi), var(--brand)); transition: width 14s cubic-bezier(.15, .7, .25, 1); }
.ai-load.go .ai-bar i { width: 92%; }
.ai-load .fine { margin-top: 8px; }

/* ---------- status, countdowns, tracker ---------- */
.reply-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }
.reply-line svg { width: 15px; height: 15px; }
.reply-line.sm { font-size: 12px; font-weight: 600; }
.reply-line.sm svg { width: 13px; height: 13px; }
.tone-ok { color: var(--good); }
.tone-wait { color: var(--muted); }
.tone-urgent { color: var(--warn); }
.tone-bad { color: #ff8da1; }
.tone-muted { color: var(--dim); }
.cd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--surface2); border: 1px solid var(--line2); color: var(--text); flex: none; }
.cd-chip svg { width: 13px; height: 13px; }
.cd-chip.hot { background: rgba(255, 77, 109, .14); border-color: rgba(255, 77, 109, .5); color: #ff8da1; }
.cd-chip.late { background: var(--nope); border-color: var(--nope); color: #fff; }
.st-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.st-wait { background: var(--surface3); color: var(--muted); }
.st-info { background: rgba(61, 184, 255, .14); color: var(--super); }
.st-good { background: rgba(47, 224, 138, .14); color: var(--good); }
.st-great { background: var(--brand); color: var(--brand-ink); }
.st-muted { background: var(--surface2); color: var(--dim); }
.st-bad { background: rgba(255, 77, 109, .16); color: #ff8da1; }

.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--dim); text-align: center; }
.track li::before { content: ''; position: absolute; top: 11px; right: 50%; width: 100%; height: 3px; background: var(--surface3); z-index: 0; }
.track li:first-child::before { display: none; }
.track li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface3); border: 2px solid var(--line2); position: relative; z-index: 1; color: var(--brand-ink); }
.track li i svg { width: 13px; height: 13px; stroke-width: 3; }
.track li.done { color: var(--text); }
.track li.done i { background: var(--like); border-color: var(--like); }
.track li.done::before, .track li.now::before, .track li.stop::before { background: var(--like); }
.track li.now { color: var(--text); }
.track li.now i { background: var(--accent); border-color: var(--accent-hi); box-shadow: 0 0 0 5px var(--accent-soft); animation: nowpulse 2s infinite; }
@keyframes nowpulse { 50% { box-shadow: 0 0 0 9px transparent; } }
.track li.stop i { background: var(--surface2); border-color: var(--dim); }
.track.closed li.done i { background: var(--dim); border-color: var(--dim); }
.track.closed li.done::before, .track.closed li.stop::before { background: var(--dim); }
.track.track-ghosted li.stop i { border-color: var(--nope); }
.track.track-hired li:last-child i { background: var(--brand); border-color: var(--brand); }
.mini-track { display: inline-flex; gap: 3px; }
.mini-track i { width: 14px; height: 4px; border-radius: 2px; background: var(--surface3); }
.mini-track i.on { background: var(--like); }
.mini-track.closed i.on { background: var(--dim); }

/* ---------- company response badge ---------- */
.resp-badge { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 5px 10px; border-radius: 12px; font-size: 12.5px; border: 1px solid var(--line2); background: var(--surface2); align-self: flex-start; max-width: 100%; }
.resp-badge svg { width: 14px; height: 14px; }
.resp-badge b { font-weight: 800; }
.resp-badge small { color: var(--muted); font-weight: 600; font-size: 12px; }
.resp-fast { background: rgba(47, 224, 138, .1); border-color: rgba(47, 224, 138, .35); }
.resp-fast svg, .resp-fast b { color: var(--good); }
.resp-ok { background: rgba(61, 184, 255, .08); border-color: rgba(61, 184, 255, .3); }
.resp-ok svg, .resp-ok b { color: var(--super); }
.resp-slow { background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .35); }
.resp-slow svg, .resp-slow b { color: var(--warn); }
.resp-bad { background: rgba(255, 77, 109, .1); border-color: rgba(255, 77, 109, .4); }
.resp-bad svg, .resp-bad b { color: #ff8da1; }
.resp-new svg { color: var(--accent-hi); }
.resp-badge.sm { padding: 3px 8px; font-size: 11.5px; }
.resp-badge.sm small { font-size: 11px; }
.resp-badge.lg { font-size: 16px; padding: 8px 14px; border-radius: 14px; }
.resp-badge.lg svg { width: 18px; height: 18px; }
.jd-resp { display: flex; flex-direction: column; gap: 4px; margin: -4px 0 16px; }
.jd-resp .fine { margin-top: 2px; }

/* ---------- declines + notes ---------- */
.decline-note { border-radius: 14px; padding: 12px 14px; background: var(--surface2); border: 1px solid var(--line2); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.decline-note h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.decline-note h4 svg { width: 17px; height: 17px; color: var(--accent-hi); }
.decline-note.kind { background: linear-gradient(135deg, var(--accent-soft), var(--surface2) 70%); }
.decline-note .fine { margin-top: 2px; }
.decline-note.win { background: rgba(200, 255, 61, .08); border-color: rgba(200, 255, 61, .35); }
.decline-note.win h4 svg { color: var(--brand); }
.dn-reason b { color: var(--text); }
.reason-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.reason-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg2); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14.5px; transition: border-color .15s, background .15s; }
.reason-opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.reason-opt:has(input:checked) { border-color: var(--accent-hi); background: var(--accent-soft); }

/* ---------- matches list + thread ---------- */
.m-status { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.m-item.dim { opacity: .62; }
.t-status { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ts-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ts-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 899px) { .t-status { max-height: 46vh; overflow-y: auto; } }

/* ---------- deck likes ---------- */
.deck-page { position: relative; }
.likes-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; font-size: 13px; }
.likes-bar b { display: block; font-size: 13.5px; }
.likes-bar small { color: var(--dim); font-size: 12px; line-height: 1.35; display: block; }
.lb-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 224, 138, .12); color: var(--like); flex: none; }
.lb-ic svg { width: 16px; height: 16px; }
.likes-bar.low .lb-ic { background: rgba(255, 181, 71, .14); color: var(--warn); }
.likes-bar.out { border-color: rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .07); }
.likes-bar.out .lb-ic { background: rgba(255, 181, 71, .16); color: var(--warn); }
.act.blocked { opacity: .3; filter: grayscale(1); cursor: not-allowed; }
.act.blocked:hover { transform: none !important; background: var(--surface) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .45) !important; }

/* ---------- employer why row ---------- */
.why-row { position: absolute; left: 12px; right: 12px; bottom: 96px; z-index: 60; padding: 12px; border-radius: 18px; background: rgba(19, 19, 27, .96); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.why-row.in { opacity: 1; transform: none; }
.why-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.why-top p { font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.why-top p span { color: var(--dim); font-size: 12px; }
.why-top p svg { width: 15px; height: 15px; color: var(--like); }
.why-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.why-chips::-webkit-scrollbar { display: none; }
.why-timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent-hi); transform-origin: left; animation: whytime 7s linear forwards; }
@keyframes whytime { to { transform: scaleX(0); } }

/* ---------- employer home ---------- */
.home-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .home-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .home-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.q-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.q-item { padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transition: opacity .25s, transform .25s; }
.q-item.late { border-color: rgba(255, 77, 109, .45); }
.q-item.leaving { opacity: 0; transform: translateX(24px); }
.q-top { display: flex; align-items: flex-start; gap: 12px; }
.q-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-name .school-badge { font-size: 10.5px; padding: 1px 8px 1px 5px; }
.q-job { font-size: 13px; color: var(--accent-hi); font-weight: 700; margin-top: 2px; }
.q-sub { font-size: 12.5px; color: var(--muted); }
.q-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 420px) { .q-actions .btn { flex: 1 1 auto; } }
.stats-card .sc-top { margin: 4px 0 16px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-grid div { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.sc-grid b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.sc-grid b.bad { color: #ff8da1; }
.sc-grid span { font-size: 12px; color: var(--muted); font-weight: 600; }
.side-link { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 16px; }
.side-link > svg { width: 20px; height: 20px; color: var(--accent-hi); }
.side-link small { display: block; color: var(--muted); font-size: 12.5px; }
.warn-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 77, 109, .1); border: 1px solid rgba(255, 77, 109, .45); margin-bottom: 16px; }
.warn-banner > svg { color: var(--nope); width: 22px; height: 22px; margin-top: 1px; }
.warn-banner p { color: #ffc2cd; font-size: 14px; margin-top: 2px; }

/* ---------- job import ---------- */
.import-card { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 55%); border-color: var(--line2); }
.import-card textarea { margin-bottom: 12px; }
.import-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.import-card .ai-load, .import-done { margin-top: 14px; }
.import-done { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(47, 224, 138, .08); border: 1px solid rgba(47, 224, 138, .3); }
.import-done > svg { color: var(--like); width: 20px; height: 20px; }
.import-done small { display: block; color: var(--muted); font-size: 12.5px; }
.field.flash input, .field.flash textarea, .field.flash select { animation: flash 2.4s ease; }
@keyframes flash { 0%, 40% { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200, 255, 61, .2); } }

/* ---------- PDF drop ---------- */
.pdf-drop { position: relative; margin: 18px 0 4px; border-radius: var(--r); border: 1.5px dashed var(--line2); background: var(--surface); transition: border-color .2s, background .2s; }
.pdf-drop.over { border-color: var(--accent-hi); background: var(--accent-soft); }
.pdf-drop[data-mode=error] { border-style: solid; border-color: rgba(255, 77, 109, .45); }
.pdf-drop[data-mode=done] { border-style: solid; border-color: rgba(47, 224, 138, .4); }
.pd-idle { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 18px; background: none; border: 0; text-align: left; border-radius: inherit; }
.pd-idle:hover .pd-ic { transform: translateY(-2px); }
.pd-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; transition: transform .2s; box-shadow: 0 8px 24px var(--accent-glow); }
.pd-ic svg { width: 22px; height: 22px; }
.pd-ic.bad { background: rgba(255, 77, 109, .16); color: var(--nope); box-shadow: none; }
.pd-ic.ok { background: rgba(47, 224, 138, .16); color: var(--like); box-shadow: none; }
.pd-copy b { display: block; font-size: 15.5px; }
.pd-copy small { color: var(--muted); font-size: 13px; }
.pd-state { padding: 16px; }
.pd-state .ai-load { border: 0; padding: 4px; background: none; }
.pd-up, .pd-error, .pd-done { display: flex; align-items: center; gap: 14px; }
.pd-up b, .pd-error b, .pd-done b { display: block; word-break: break-all; }
.pd-up small, .pd-done small { color: var(--muted); font-size: 12.5px; display: block; }
.pd-error p { color: #ffc2cd; font-size: 13.5px; }
.pd-bar { height: 6px; border-radius: 99px; background: var(--surface3); margin-top: 8px; overflow: hidden; }
.pd-bar i { display: block; height: 100%; width: 0; background: var(--accent-hi); border-radius: inherit; transition: width .2s; }
.pd-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.pd-done .link-btn { font-size: 13px; }
.onb .or, .form-card .or { margin: 14px 0; }

/* ---------- gap plan ---------- */
.plan-cta { text-align: left; background: linear-gradient(160deg, var(--accent-soft), var(--surface) 60%); }
.plan-cta-art { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 10px; }
.plan-cta-art svg { width: 20px; height: 20px; }
.plan-cta h4 { margin-bottom: 6px !important; }
.plan-cta .muted { font-size: 14px; margin-bottom: 14px; }
.plan-cta .form-error { margin-bottom: 12px; }
.plan-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.plan-card-head h4 { margin: 0 !important; }
.plan { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.plan-gap { padding: 14px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); animation: rise .5s var(--d, 0ms) both; }
.plan-gap .label { color: var(--warn); margin-bottom: 2px; }
.plan-gap h5 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.plan-why { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.plan-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.step b { display: block; font-size: 14px; line-height: 1.35; }
.step p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.step-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.step-ic svg { width: 16px; height: 16px; }
.step-learn .step-ic { background: rgba(61, 184, 255, .14); color: var(--super); }
.step-build .step-ic { background: rgba(200, 255, 61, .12); color: var(--brand); }
.step-campus .step-ic { background: var(--accent-soft); color: var(--accent-hi); }
.step-reframe .step-ic { background: rgba(255, 181, 71, .14); color: var(--warn); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 3px; }
.step-kind { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.effort { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; background: var(--surface3); color: var(--muted); }
.effort svg { width: 11px; height: 11px; }
.effort.e1 { background: rgba(47, 224, 138, .14); color: var(--good); }
.effort.e2 { background: rgba(61, 184, 255, .14); color: var(--super); }
.effort.e3 { background: rgba(255, 181, 71, .14); color: var(--warn); }
.res-plan { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 800; color: var(--brand); }
.res-plan svg { width: 12px; height: 12px; }

/* ---------- interview prep ---------- */
.prep-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.prep-head h3 { font-size: 19px; }
.prep-head h3 .muted { font-weight: 600; }
.prep { display: flex; flex-direction: column; gap: 20px; margin-bottom: 16px; }
.prep-sec h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.prep-sec h4 svg { width: 17px; height: 17px; color: var(--accent-hi); }
.prep-sec-head { display: flex; align-items: center; gap: 8px; }
.prep-sec-head h4 { margin-bottom: 4px; }
.prep-sec > .muted { margin-bottom: 10px; }
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q-card { border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); overflow: hidden; }
.q-card[open] { border-color: var(--line2); background: var(--surface); }
.q-card summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; padding: 12px 14px; cursor: pointer; }
.q-card summary::-webkit-details-marker { display: none; }
.q-text { font-weight: 700; font-size: 14.5px; line-height: 1.4; }
.q-chev svg { width: 18px; height: 18px; color: var(--dim); transition: transform .2s; }
.q-card[open] .q-chev svg { transform: rotate(180deg); }
.q-type { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; margin-top: 1px; white-space: nowrap; }
.qt-behavioral { background: var(--accent-soft); color: var(--accent-hi); }
.qt-technical { background: rgba(61, 184, 255, .14); color: var(--super); }
.qt-role { background: rgba(200, 255, 61, .12); color: var(--brand); }
.qt-company { background: rgba(255, 181, 71, .14); color: var(--warn); }
.q-body { padding: 0 14px 14px; }
.q-body .label { margin: 6px 0 4px; }
.q-why { font-size: 14px; color: var(--muted); margin-bottom: 6px; }

/* ---------- feedback ---------- */
.fb { display: flex; flex-direction: column; gap: 16px; }
.fb-intro { display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.fb-focus { padding: 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line2); color: var(--text); }
.fb-focus h4 { margin-bottom: 4px; }
.fb-focus .muted { font-size: 14px; }
.fb-bars { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.fb-bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.fb-track { height: 8px; border-radius: 99px; background: var(--surface3); overflow: hidden; }
.fb-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.fb-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fb-items li { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.fb-items small { color: var(--dim); font-size: 12.5px; }
.fb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); margin-top: 7px; flex: none; }
.fb-empty { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); border: 1px dashed var(--line2); }
.fb-empty > svg { width: 26px; height: 26px; color: var(--like); }
.fb-empty .muted { font-size: 14px; margin-top: 2px; }
.section-h svg { width: 20px; height: 20px; color: var(--accent-hi); }


/* ==========================================================================
   Motion + print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  @page { margin: .5in; }
  html, body { background: #fff !important; color: #000 !important; }
  body * { visibility: hidden !important; }
  .resume-paper, .resume-paper * { visibility: visible !important; }
  .resume-paper { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none !important; border-radius: 0; padding: 0 !important; font-size: 11pt; }
  .topbar, .tabbar, #toasts, .no-print, .res-side { display: none !important; }
  .main, .page, .res-layout, .paper-wrap { padding: 0 !important; margin: 0 !important; display: block !important; overflow: visible !important; }
  .resume-paper h1 { font-size: 22pt; }
}
