/* imployable prototype — soft dashboard style: white shell, grey canvas, flat white cards, pills, black active states, lime accent. */
:root {
  --shell: #FFFFFF; --canvas: #F1F2F4;
  --surface: #FFFFFF; --surface-2: #F5F6F8; --hover: #ECEEF1;
  --ink: #0F1012; --ink-2: #2A2C30; --muted: #6C7077; --faint: #A1A5AC;
  --line: #E6E8EB; --line-2: #EEF0F2;
  --dark: #111214; --dark-2: #1D1F22;
  --brand: #B4F160; --brand-hover: #A6E84C; --brand-ink: #142208; --brand-soft: #EFFADF; --brand-text: #3F8A12; --brand-deep: #6CC51E;
  --violet: #7A5AF8; --violet-soft: #F1EDFF; --blue: #3B7BF6; --blue-soft: #EAF1FF;
  --amber: #EE8A1F; --amber-soft: #FFF1E2; --red: #E5484D; --red-soft: #FDECEC;
  --focus: #3B7BF6;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --pop: 0 20px 48px -16px rgba(15, 16, 18, .22), 0 2px 8px rgba(15, 16, 18, .06);
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --display: 'Urbanist', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--shell); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 10px; }
::selection { background: var(--brand); color: var(--brand-ink); }

/* type */
.h1 { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.h2 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.h3 { font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.h4 { font-size: 15px; font-weight: 600; line-height: 1.35; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.small { font-size: 13px; } .xs { font-size: 12px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row { display: flex; align-items: center; gap: 8px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grow { flex: 1; min-width: 0; }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

/* buttons — all pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #26282c; }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover:not(:disabled) { background: var(--hover); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover:not(:disabled) { background: #fadcdc; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; gap: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); flex: none; transition: background .15s, color .15s; position: relative; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; background: none; }
.icon-btn.active { color: var(--ink); }
.icon-btn.active svg { fill: var(--brand); stroke: var(--ink); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn .badge-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #FF5B2E; box-shadow: 0 0 0 2px var(--surface-2); }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.chip-brand { background: var(--brand-soft); color: var(--brand-text); }
.chip-violet { background: var(--violet-soft); color: var(--violet); }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-amber { background: var(--amber-soft); color: #A85A06; }
.chip-red { background: var(--red-soft); color: var(--red); }
.chip-outline { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chip-outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip-glass { background: rgba(255,255,255,.1); color: #fff; }
.chip-x button { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; margin-right: -6px; color: var(--muted); }
.chip-x button:hover { background: rgba(0,0,0,.08); color: var(--ink); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.count-brand { background: var(--brand); color: var(--brand-ink); }
.soon { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--faint); }

.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 600; flex: none; letter-spacing: .01em; user-select: none; }
.avatar.square { border-radius: 30%; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: var(--brand); flex: none; }
.logo-mark.lg { width: 44px; height: 44px; }
.logo-light { color: #fff; }
.logo-light .logo-mark { background: var(--brand); color: var(--dark); }

/* cards — flat white on grey, no borders, no shadows */
.card { background: var(--surface); border-radius: 24px; }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.card-body { padding: 16px 24px 24px; }
.card-dark { background: var(--dark); color: #fff; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.drawer .card, .modal .card { background: var(--surface-2); }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-error { font-size: 12.5px; color: var(--red); font-weight: 500; }
.tag-optional { font-size: 11px; font-weight: 500; color: var(--faint); }
.input { width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .15s, background .15s; }
.card .input, .modal .input, .drawer .input, .auth .input, .filters .input { background: var(--surface-2); box-shadow: none; }
.input:hover { box-shadow: inset 0 0 0 1px #d6d9de; }
.input:focus, .input:focus-within, .select.open .input { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(15,16,18,.06); }
.input.invalid { box-shadow: inset 0 0 0 1.5px var(--red); }
.input::placeholder { color: var(--faint); }
textarea.input { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.55; border-radius: 16px; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.input-icon > .input { padding-left: 44px; }
.input-icon > .input-suffix { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.toolbar .input, .chat-list .input { border-radius: 999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }

/* select */
.select { position: relative; min-width: 0; }
.select-trigger { display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; }
.select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-value.placeholder { color: var(--faint); }
.select-caret { color: var(--muted); transition: transform .15s; flex: none; }
.select.open .select-caret { transform: rotate(180deg); }
.results-head .select-trigger, .tabs + .select .select-trigger { border-radius: 999px; }
.pop { background: var(--surface); border-radius: 18px; box-shadow: var(--pop), 0 0 0 1px var(--line-2); animation: pop .14s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.select-menu { position: absolute; z-index: 80; top: calc(100% + 6px); left: 0; right: 0; padding: 6px; max-height: 290px; overflow-y: auto; min-width: 190px; }
.select-menu li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; cursor: pointer; }
.select-menu li.hi { background: var(--surface-2); }
.select-menu li[aria-selected="true"] { font-weight: 600; }
.select-menu li svg { color: var(--brand-text); }

/* menu */
.menu-wrap { position: relative; }
.menu { position: absolute; z-index: 90; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 6px; }
.menu.left { right: auto; left: 0; }
.menu.up { top: auto; bottom: calc(100% + 8px); }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.menu-item:hover, .menu-item:focus-visible { background: var(--surface-2); color: var(--ink); outline: none; }
.menu-item.danger { color: var(--red); }
.menu-item svg { color: var(--muted); flex: none; }
.menu-item.danger svg { color: var(--red); }
.menu-hint { margin-left: auto; font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.menu-sep { height: 1px; background: var(--line-2); margin: 6px 6px; }
.menu-head { padding: 8px 12px 4px; font-size: 12px; color: var(--faint); }

/* tabs — pills, black active */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--dark); color: #fff; }
.tabs-line .tab:not(.active):hover { background: rgba(15,16,18,.05); }
.tabs-seg { background: var(--surface); padding: 4px; border-radius: 999px; display: inline-flex; }
.tabs-seg.sm .tab { height: 32px; padding: 0 14px; font-size: 13px; }
.tab-count { font-size: 12px; color: var(--faint); font-weight: 600; }
.tab.active .tab-count { color: rgba(255,255,255,.55); }

/* switch & checkbox */
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.switch-track { width: 40px; height: 24px; border-radius: 999px; background: #D7DADF; position: relative; transition: background .15s; flex: none; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .18s; }
.switch[aria-checked="true"] .switch-track { background: var(--dark); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(16px); background: var(--brand); }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; line-height: 1.4; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid #C9CDD3; display: grid; place-items: center; flex: none; background: var(--surface); color: transparent; transition: all .12s; }
.check input:checked + .check-box { background: var(--dark); border-color: var(--dark); color: var(--brand); }
.check input:focus-visible + .check-box { outline: 2px solid var(--focus); outline-offset: 2px; }

.range { width: 100%; accent-color: var(--dark); height: 22px; }
.range-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }
.taginput { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; height: auto; min-height: 46px; padding: 8px 10px; }
.taginput .chip { background: var(--surface); }
.taginput input { flex: 1; min-width: 120px; border: 0; outline: none; background: none; height: 28px; padding: 0 4px; }

/* overlays */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(15, 16, 18, .35); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--pop); animation: rise .22s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-sm { max-width: 440px; } .modal-md { max-width: 580px; } .modal-lg { max-width: 780px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 20px 0 28px; }
.modal-head .h3 { font-size: 22px; }
.modal-head p { margin-top: 4px; }
.modal-body { padding: 20px 28px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 28px 24px; }
.overlay.drawer-overlay { display: block; padding: 0; }
.drawer { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(580px, calc(100vw - 20px)); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--pop); display: flex; flex-direction: column; animation: slide .28s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px 0 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px 28px; }
.drawer-foot { display: flex; align-items: center; gap: 8px; padding: 14px 20px; margin: 0 10px 10px; border-radius: 22px; background: var(--surface-2); }
.drawer-foot .btn-secondary { box-shadow: none; }

.toasts { position: fixed; z-index: 400; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--dark); color: #fff; font-weight: 500; box-shadow: var(--pop); animation: rise .2s ease-out; max-width: calc(100vw - 32px); }
.toast > span { padding-right: 10px; }
.toast svg { color: var(--brand); flex: none; }
.toast button { padding: 7px 14px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 13px; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 52px 24px; }
.empty p { max-width: 360px; }
.empty-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); margin-bottom: 6px; }
.empty .btn { margin-top: 10px; }

/* rings, match tiles, bars */
.ring-text { font-size: 10.5px; font-weight: 700; fill: var(--ink); font-family: var(--font); }
.match { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.match-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 10px; border-radius: 18px; min-width: 0; }
.match-item .lbl { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.match-item .sub { font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.match-compact .match-item { flex-direction: column; text-align: center; gap: 6px; padding: 12px 4px 10px; }
.match-compact .sub { display: none; }
.m-q { background: var(--brand-soft); } .m-q .lbl { color: var(--brand-text); }
.m-e { background: var(--violet-soft); } .m-e .lbl { color: var(--violet); }
.m-i { background: var(--blue-soft); } .m-i .lbl { color: var(--blue); }
.skillbar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.skillbar > span { display: block; height: 100%; border-radius: inherit; background: var(--brand-deep); }
.bars { display: flex; gap: 6px; align-items: stretch; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.bar-track { flex: 1; width: 100%; position: relative; display: flex; align-items: flex-end; }
.bar-fill { display: block; width: 100%; border-radius: 10px; background: repeating-linear-gradient(135deg, #ECEEF1 0 6px, #F4F5F7 6px 12px); transition: height .4s cubic-bezier(.2,.8,.2,1); }
.bar.peak .bar-fill { background: var(--brand); }
.bar-tip { position: absolute; left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bar-label { font-size: 11px; color: var(--faint); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; margin-top: 18px; }
.checks li { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--muted); }
.check-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--faint); flex: none; }
.checks li.ok { color: var(--ink); }
.checks li.ok .check-dot { background: var(--brand); color: var(--brand-ink); }
.dark-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
.dark-bar span { display: block; height: 100%; border-radius: inherit; }

/* ========== shell ========== */
.app { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; background: var(--shell); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 20px; padding: 20px 16px 16px 20px; background: var(--shell); overflow-y: auto; z-index: 70; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sidebar > * { flex-shrink: 0; }
.sb-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.sb-brand { display: flex; align-items: center; gap: 12px; }
.sb-brand-name { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; line-height: 1.1; }
.sb-brand-sub { display: block; font-size: 12.5px; color: var(--muted); }
.sb-nav { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.sb-group { display: flex; flex-direction: column; gap: 2px; }
.sb-group-label { padding: 0 16px 8px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.sb-link { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-weight: 500; transition: background .12s, color .12s; position: relative; }
.sb-link svg { color: var(--muted); flex: none; transition: color .12s; }
.sb-link:hover { background: var(--surface-2); color: var(--ink); }
.sb-link.active { background: var(--dark); color: #fff; }
.sb-link.active svg { color: #fff; }
.sb-link.active .count { background: var(--brand); color: var(--brand-ink); }
.sb-link .count, .sb-link .soon, .sb-dot { margin-left: auto; }
.sb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.sb-link.is-soon { color: var(--muted); }
.sb-foot { display: flex; flex-direction: column; gap: 8px; }
.sb-promo { position: relative; overflow: hidden; border-radius: 24px; padding: 18px; background: var(--dark); color: #fff; }
.sb-promo::before { content: ''; position: absolute; right: -46px; top: -46px; width: 104px; height: 104px; border-radius: 50%; border: 14px solid var(--brand); }
.sb-promo::after { content: ''; position: absolute; right: 18px; bottom: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.sb-promo-kicker { position: relative; display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.sb-promo-title { position: relative; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 8px 48px 16px 0; }
.sb-promo-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 4px 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; }
.sb-promo-btn .arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: #fff; }
.scrim { position: fixed; inset: 0; background: rgba(15,16,18,.35); z-index: 65; animation: fade .15s; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; height: 84px; padding: 0 28px 0 12px; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(16px); }
.search-trigger { display: flex; align-items: center; gap: 12px; height: 48px; width: min(400px, 100%); padding: 0 8px 0 18px; border-radius: 999px; background: var(--surface-2); color: var(--faint); transition: background .15s; }
.search-trigger:hover { background: var(--hover); }
.search-trigger span { flex: 1; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
kbd { font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 3px 9px; box-shadow: inset 0 0 0 1px var(--line); }
.search-trigger kbd { margin-right: 4px; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.view-as .tabs-seg { background: var(--surface-2); }
.date-pill { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 5px; border-radius: 999px; background: var(--surface-2); }
.date-day { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); font-family: var(--display); font-weight: 700; font-size: 17px; }
.date-txt { display: flex; flex-direction: column; line-height: 1.15; font-size: 12.5px; }
.date-txt b { font-weight: 600; }
.date-txt span { color: var(--muted); }
.tb-right > .menu-wrap > .icon-btn { width: 48px; height: 48px; background: var(--surface-2); }
.user-btn { display: flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border-radius: 999px; }
.user-btn:hover { background: var(--surface-2); }
.user-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.user-meta .name { font-weight: 600; font-size: 14px; }
.user-meta .role { font-size: 12px; color: var(--muted); }
.canvas { flex: 1; background: var(--canvas); border-top-left-radius: 36px; min-width: 0; }
.page { width: 100%; max-width: 1360px; padding: 32px 36px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 28px; }
.page-head p { margin-top: 8px; font-size: 15px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

.notif-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 380px; z-index: 90; overflow: hidden; padding-bottom: 6px; }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.notif-item { display: flex; gap: 12px; width: calc(100% - 12px); margin: 0 6px; padding: 12px; border-radius: 16px; text-align: left; }
.notif-item:hover { background: var(--surface-2); }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.notif-item.unread .notif-icon { background: var(--dark); color: var(--brand); }
.notif-item.unread .txt { font-weight: 600; }

.palette-overlay { align-items: start; padding-top: 12vh; }
.palette { width: 100%; max-width: 620px; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--pop); overflow: hidden; animation: rise .16s ease-out; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line-2); }
.palette-input input { flex: 1; height: 62px; border: 0; outline: none; font-size: 17px; background: none; }
.palette-list { max-height: 420px; overflow-y: auto; padding: 8px; }
.palette-group { padding: 10px 12px 4px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.palette-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; }
.palette-item.hi { background: var(--surface-2); }
.palette-item .sub { margin-left: auto; font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.palette-foot { display: flex; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--faint); }

.bottom-nav { display: none; }

/* ========== overview dashboards ========== */
.ov-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.ov-card { padding: 22px 24px 24px; }
.ov-card-head { display: flex; align-items: center; gap: 10px; }
.ov-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); flex: none; }
.ov-icon.sm { width: 34px; height: 34px; }
.big-num { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.big-num.sm { font-size: 26px; }
.big-num small { font-size: .55em; color: var(--muted); margin-left: 2px; }
.delta { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font-size: 12.5px; font-weight: 600; }
.ov-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; text-align: left; min-height: 150px; transition: transform .15s; }
button.stat-card:hover { transform: translateY(-2px); }
.stat-card-label { font-weight: 500; color: var(--muted); }
.stat-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.stat-card-value { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin-top: auto; }
.stat-card-sub { font-size: 12.5px; color: var(--muted); }
.tone-brand { background: var(--brand); }
.tone-brand .stat-card-label, .tone-brand .stat-card-sub { color: rgba(20,34,8,.7); }
.tone-brand .stat-card-icon { background: rgba(255,255,255,.55); color: var(--brand-ink); }
.hero-dark { position: relative; overflow: hidden; min-height: 324px; padding: 26px 28px 28px; }
.hero-dark::before { content: ''; position: absolute; right: -86px; bottom: -116px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid var(--brand); }
.hero-dark::after { content: ''; position: absolute; right: 28px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.hero-dark p { max-width: 300px !important; }
.hero-dark > * { position: relative; }
.table-wrap { overflow-x: auto; margin: 12px -12px -10px; }
.table { width: 100%; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; color: var(--faint); font-size: 12.5px; padding: 10px 12px; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr { cursor: pointer; transition: background .12s; }
.table tbody tr:hover td { background: var(--surface-2); }
.table tbody tr td:first-child { border-radius: 14px 0 0 14px; }
.table tbody tr td:last-child { border-radius: 0 14px 14px 0; }
.stage-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 18px; text-align: left; cursor: pointer; transition: background .12s; }
.list-row:hover { background: var(--surface-2); }
.avatar-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.avatar-row > button { border-radius: 30%; transition: transform .15s; }
.avatar-row > button:hover { transform: translateY(-2px); }
.add-circle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50% !important; background: var(--surface-2); color: var(--ink-2); }

/* ========== company ========== */
.opp-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 14px; scrollbar-width: none; }
.opp-pill { flex: none; width: 250px; text-align: left; padding: 16px 18px 14px; border-radius: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; transition: background .15s, color .15s; }
.opp-pill:hover { background: #fafbfc; }
.opp-pill.active { background: var(--dark); color: #fff; }
.opp-pill.active .muted { color: rgba(255,255,255,.6); }
.opp-pill.active .dist { background: rgba(255,255,255,.12); }
.opp-pill .t { font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: var(--line-2); gap: 2px; }
.dist span { display: block; height: 100%; border-radius: 999px; }
.board { display: grid; grid-template-columns: repeat(4, minmax(260px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { background: var(--surface); border-radius: 26px; padding: 12px; min-height: 380px; display: flex; flex-direction: column; gap: 8px; transition: background .12s, box-shadow .12s; }
.col.over { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand-deep); }
.col-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; font-weight: 600; }
.col-head .count { margin-left: auto; }
.col-empty { flex: 1; display: grid; place-items: center; text-align: center; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--faint); font-size: 13px; padding: 28px 12px; }
.cand { background: var(--surface-2); border-radius: 18px; padding: 14px; cursor: grab; transition: background .12s, box-shadow .12s, opacity .12s; display: flex; flex-direction: column; gap: 12px; }
.cand:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cand.dragging { opacity: .4; }
.cand.muted-card { opacity: .7; }
.cand-top { display: flex; align-items: center; gap: 10px; }
.cand-scores { align-items: center; }
.cand-name { font-weight: 600; line-height: 1.25; }
.cand-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cand-scores { display: flex; gap: 6px; flex-wrap: wrap; }
.score { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; height: 26px; padding: 0 10px; border-radius: 999px; }
.score.q { background: var(--brand-soft); color: var(--brand-text); }
.score.e { background: var(--violet-soft); color: var(--violet); }
.star-btn.on { color: #F2A60C; }
.star-btn.on svg { fill: currentColor; }
.stage-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stage-step { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: left; transition: background .12s; }
.stage-step:hover { background: var(--hover); }
.stage-step .bar { height: 4px; border-radius: 999px; background: var(--line); flex: none; display: block; }
.stage-step.done .bar { background: var(--c); }
.stage-step.current { color: #fff; background: var(--dark); }

.job-row { display: grid; grid-template-columns: 60px minmax(0,1fr) auto auto; gap: 20px; align-items: center; padding: 18px 16px 18px 18px; cursor: pointer; transition: transform .15s; }
.job-row:hover { transform: translateY(-1px); }
.job-thumb { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; align-self: start; }
.meta-row { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 13px; margin-top: 10px; }
.meta-row > span { display: inline-flex; align-items: center; gap: 6px; }
.stats { display: flex; gap: 6px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; min-width: 92px; padding: 10px 14px; border-radius: 18px; background: var(--surface-2); }
.stat-num { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; line-height: 1.2; }
.stat-label { font-size: 12px; color: var(--muted); }
button.stat { transition: background .12s; }
button.stat:hover:not(:disabled) { background: var(--brand); }
button.stat:hover:not(:disabled) .stat-label { color: var(--brand-ink); }
.closing { color: var(--amber); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 18px 0 0; }
.fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--surface-2); }
.fact-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink-2); }
.fact dt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.fact dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }

.profile-hero { overflow: hidden; }
.cover { height: 140px; background:
  radial-gradient(circle at 88% 120%, var(--brand) 0 70px, transparent 71px),
  radial-gradient(circle at 76% 18%, #fff 0 9px, transparent 10px),
  linear-gradient(120deg, #111214, #23262b); }
.hero-body { display: flex; align-items: flex-end; gap: 18px; padding: 0 26px 24px; margin-top: -38px; flex-wrap: wrap; }
.hero-logo { border: 5px solid var(--surface); border-radius: 32%; display: inline-flex; background: var(--surface); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 12px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 16px; align-items: start; }
.key-box { display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 16px; border-radius: 999px; background: var(--surface-2); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; }
.key-box code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-ok { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--brand-soft); font-size: 12.5px; font-weight: 600; color: var(--brand-text); }
.status-ok .dot { background: var(--brand-deep); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { padding: 14px; border-radius: 18px; background: var(--surface-2); transition: background .12s; }
button.tile:hover { background: var(--brand); }

/* ========== student ========== */
.search-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; padding: 8px; border-radius: 999px; background: var(--surface); margin-bottom: 22px; }
.search-hero .input { background: var(--surface-2); box-shadow: none; height: 50px; border-radius: 999px; }
.search-hero .input:focus { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.search-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
.filters { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.job-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; cursor: pointer; transition: transform .15s; }
.job-card:hover { transform: translateY(-2px); }
.jc-head { display: flex; align-items: center; gap: 12px; }
.jc-co { font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.jc-loc { font-size: 12.5px; color: var(--muted); }
.jc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); padding-top: 4px; }
.jc-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.active-filters .chip { background: var(--surface); }
.co-card { display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer; transition: transform .15s; }
.co-card:hover { transform: translateY(-2px); }
.co-card .name { font-weight: 600; line-height: 1.3; }
.follow-btn.following:hover .on { display: none; }
.follow-btn.following .off { display: none; }
.follow-btn.following:hover .off { display: inline; }
.follow-btn.following:hover { background: var(--red-soft); color: var(--red); box-shadow: none; }
.company-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 20px; align-items: start; }
.side-card { position: sticky; top: 104px; overflow: hidden; }
.side-card .cover { height: 104px; }
.about-text { white-space: pre-line; color: var(--ink-2); }
.about-text.clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.completion { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.completion span { height: 8px; border-radius: 999px; background: var(--line-2); }
.completion span.on { background: var(--brand-deep); }
.exp-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.exp-item:first-child { border-top: 0; padding-top: 0; }
.exp-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.app-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 260px auto; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; transition: transform .15s; }
.app-row:hover { transform: translateY(-1px); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.progress > div { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--faint); font-weight: 500; }
.progress > div::before { content: ''; height: 6px; border-radius: 999px; background: var(--line-2); }
.progress > div.done { color: var(--ink-2); }
.progress > div.done::before { background: var(--brand-deep); }
.progress.rejected > div.done::before { background: #c8ccd2; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-tile { padding: 20px 22px; }
.stat-tile .n { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.stat-tile:first-child { background: var(--dark); color: #fff; }
.stat-tile:first-child .muted { color: rgba(255,255,255,.6); }

/* messages */
.chat { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100vh - 84px - 64px); min-height: 500px; overflow: hidden; }
.chat-list { overflow-y: auto; padding: 6px; }
.chat-list > div:first-child { border-bottom: 0 !important; padding: 8px !important; }
.chat-item { display: flex; gap: 12px; width: 100%; padding: 12px; border-radius: 18px; text-align: left; }
.chat-item:hover { background: var(--surface-2); }
.chat-item.active { background: var(--dark); color: #fff; }
.chat-item.active .muted, .chat-item.active .faint, .chat-item.active .p { color: rgba(255,255,255,.6); }
.chat-item .t { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.chat-item .p { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item.unread .p { color: var(--ink); font-weight: 600; }
.chat-main { display: flex; flex-direction: column; min-width: 0; margin: 8px; border-radius: 20px; background: var(--surface-2); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface-2); }
.chat-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 72%; padding: 11px 16px; border-radius: 20px; background: var(--surface); line-height: 1.5; }
.bubble.me { align-self: flex-end; background: var(--dark); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { border-bottom-left-radius: 6px; }
.bubble time { display: block; font-size: 11px; opacity: .55; margin-top: 4px; }
.chat-compose { display: flex; gap: 8px; padding: 10px; margin: 0 10px 10px; border-radius: 999px; background: var(--surface); }
.chat-compose .input { border-radius: 999px; background: transparent; box-shadow: none; }

/* ========== auth ========== */
.auth { display: grid; grid-template-columns: minmax(400px, 48%) 1fr; min-height: 100vh; padding: 12px; background: var(--shell); }
.auth-aside { position: relative; overflow: hidden; border-radius: 32px; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 44px; }
.auth-aside::before { content: ''; position: absolute; right: -120px; bottom: -150px; width: 420px; height: 420px; border-radius: 50%; border: 56px solid var(--brand); }
.auth-aside::after { content: ''; position: absolute; right: 80px; bottom: 210px; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h1 { font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; max-width: 520px; }
.auth-aside h1 em { font-style: normal; color: var(--brand); }
.auth-aside p { color: rgba(255,255,255,.62); max-width: 440px; margin-top: 16px; font-size: 15px; }
.float-card { background: rgba(255,255,255,.07); backdrop-filter: blur(12px); border-radius: 22px; padding: 16px; width: 340px; max-width: 100%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.float-card .ring-text { fill: #fff; }
.float-card .chip-brand { background: var(--brand); color: var(--brand-ink); }
.float-stack { display: flex; flex-direction: column; gap: 12px; margin: 36px 0; }
.float-stack .float-card:nth-child(2) { margin-left: 56px; width: 290px; }
.auth-stats { display: flex; gap: 36px; }
.auth-stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.auth-stats span { font-size: 13px; color: rgba(255,255,255,.55); }
.auth-aside .btn-sm { border-radius: 999px; }
.auth-main { display: flex; flex-direction: column; padding: 20px 36px; }
.auth-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; }
.auth-form { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; display: flex; flex-direction: column; gap: 20px; }
.auth-form .h1 { font-size: 44px; }
.auth .input { height: 52px; border-radius: 16px; }
.auth .btn-lg { width: 100%; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 12.5px; }
.divider::before, .divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.role-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--surface-2); text-align: left; width: 100%; transition: background .15s, color .15s; }
.role-card:hover:not(:disabled) { background: var(--hover); }
.role-card.active { background: var(--dark); color: #fff; }
.role-card.active .muted { color: rgba(255,255,255,.6); }
.role-card:disabled { opacity: .5; cursor: not-allowed; }
.role-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #C9CDD3; margin-left: auto; flex: none; display: grid; place-items: center; }
.role-card.active .radio { border-color: var(--brand); }
.role-card.active .radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.stepper { display: flex; gap: 6px; }
.stepper > div { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.stepper > div::before { content: ''; height: 6px; border-radius: 999px; background: var(--line-2); }
.stepper > div.done, .stepper > div.current { color: var(--ink); }
.stepper > div.done::before { background: var(--dark); }
.stepper > div.current::before { background: var(--brand-deep); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.strength span { height: 5px; border-radius: 999px; background: var(--line-2); }
.notice { display: flex; gap: 10px; padding: 14px 16px; border-radius: 18px; background: var(--blue-soft); color: #23498f; font-size: 13px; }
.notice svg { flex: none; margin-top: 1px; }

/* ========== responsive ========== */
@media (max-width: 1280px) {
  .date-pill { display: none; }
  .span-4, .span-5, .span-7, .span-8 { grid-column: span 12; }
  .ov-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-dark { min-height: 0; }
}
@media (max-width: 1180px) {
  .two-col, .company-layout { grid-template-columns: 1fr; }
  .side-card, .filters { position: static; }
  .app-row { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .app-row .progress { display: none; }
  .user-meta { display: none; }
}
@media (max-width: 1024px) {
  .search-layout { grid-template-columns: 1fr; }
  .search-layout > .filters { display: none; }
  .job-row { grid-template-columns: 52px minmax(0,1fr) auto; }
  .job-row .stats { grid-column: 2 / -1; }
  .job-thumb { width: 52px; height: 52px; border-radius: 16px; }
  .ov-stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) { .only-narrow { display: none !important; } }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 296px; transform: translateX(-100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); border-radius: 0 28px 28px 0; }
  .sidebar.open { transform: none; box-shadow: var(--pop); }
  .topbar { height: 68px; padding: 0 12px 0 8px; gap: 6px; }
  .search-trigger { height: 44px; }
  .tb-right > .menu-wrap > .icon-btn { width: 44px; height: 44px; }
  .user-btn > svg { display: none; }
  .search-trigger kbd { display: none; }
  .canvas { border-radius: 28px 28px 0 0; }
  .page { padding: 22px 16px 104px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; background: var(--dark); border-radius: 999px; padding: 6px; box-shadow: var(--pop); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 52px; font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.55); border-radius: 999px; text-align: center; }
  .bottom-nav .active { color: var(--brand-ink); background: var(--brand); }
  .auth { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .auth-aside { display: none; }
  .auth-main { padding: 20px; }
  .chat { grid-template-columns: 1fr; height: calc(100vh - 68px - 126px); min-height: 0; }
  .chat.has-thread .chat-list { display: none; }
  .chat:not(.has-thread) .chat-main { display: none; }
  .toasts { bottom: 96px; }
}
@media (min-width: 961px) { .only-mobile { display: none !important; } }
@media (max-width: 640px) {
  .view-as { display: none; }
  .search-trigger { flex: 1; min-width: 0; padding-left: 14px; }
  .h1 { font-size: 30px; }
  .auth-form .h1 { font-size: 34px; }
  .page-head .row { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .search-hero { grid-template-columns: 1fr; border-radius: 26px; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 128px; padding: 16px; }
  .stat-card-value { font-size: 32px; }
  .match { gap: 6px; }
  .match-item { flex-direction: column; text-align: center; padding: 10px 4px; gap: 4px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .stage-steps { grid-template-columns: 1fr 1fr; }
  .modal-foot { flex-wrap: wrap; }
  .overlay { padding: 10px; }
  .modal-head { padding: 20px 14px 0 20px; } .modal-body { padding: 18px 20px; } .modal-foot { padding: 8px 20px 20px; }
  .drawer-body { padding: 8px 20px 24px; }
  .notif-panel { position: fixed; top: 70px; left: 8px; right: 8px; width: auto; }
  .job-row { grid-template-columns: 1fr auto; padding: 16px; }
  .job-row .job-thumb { display: none; }
  .job-row .stats { grid-column: 1 / -1; }
  .board { grid-template-columns: repeat(4, 84vw); scroll-snap-type: x mandatory; }
  .col { scroll-snap-align: start; }
  .stat { min-width: 0; padding: 8px 10px; flex: 1; }
  .app-row { grid-template-columns: 40px minmax(0,1fr); }
  .app-row > :last-child { grid-column: 1 / -1; justify-self: start; }
  .hide-sm, .hero-dark::before { display: none; }
  .ov-card { padding: 18px; }
  .big-num { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
