/* Layout glue for Polaris dashboard. Styled with Greydigi --gd-* tokens only. */

* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
body {
  font-family: var(--gd-font-body);
  color: var(--gd-ink);
  background: var(--gd-paper);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
.i-faint { color: var(--gd-n500); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--gd-n300); border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--gd-n400); background-clip: padding-box; border: 3px solid transparent; }

/* ---- App frame ---- */
.app { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.body-row { flex: 1; display: flex; overflow: hidden; min-height: 0; }
.main { flex: 1; display: flex; overflow: hidden; min-width: 0; }

/* ---- Top nav ---- */
.nav {
  height: 64px; flex-shrink: 0; display: flex; align-items: center;
  gap: var(--gd-s4); padding: 0 var(--gd-s4);
  background: #fff; border-bottom: 1px solid var(--gd-n200);
}
.nav-logo { display: flex; align-items: center; gap: 10px; width: 200px; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px; border-radius: var(--gd-r-md); background: var(--gd-coral);
  color: #fff; display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 1px 2px #f2583e55;
}
.logo-img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.logo-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; line-height: 1; }
.logo-sub { font-size: 11px; color: var(--gd-n500); margin-top: 3px; line-height: 1; }

.nav-search { flex: 1; display: flex; justify-content: center; }
.search-box {
  width: 100%; max-width: 440px; height: 38px; display: flex; align-items: center; gap: var(--gd-s2);
  padding: 0 var(--gd-s3); border-radius: var(--gd-r-md);
  background: var(--gd-n100); border: 1px solid transparent; transition: all .15s ease;
}
.search-box:focus-within { background: #fff; border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; color: var(--gd-ink); }
.search-box input::placeholder { color: var(--gd-n500); }
.kbd {
  display: flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--gd-n700);
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-sm); padding: 2px 6px;
}

.nav-right { width: 200px; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.job-wrap { position: relative; }
.job-select {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; max-width: 188px;
  border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--gd-ink); transition: background .15s ease, border-color .15s ease;
}
.job-select:hover { background: var(--gd-n050); border-color: var(--gd-n300); }
.job-select .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: var(--gd-r-md); border: none; background: transparent;
  display: grid; place-items: center; color: var(--gd-n700); transition: background .15s ease, color .15s ease;
}
.icon-btn:hover { background: var(--gd-n100); color: var(--gd-ink); }
.icon-btn .dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gd-coral); box-shadow: 0 0 0 2px #fff; }

/* ---- Sidebar ---- */
.sidebar {
  width: 228px; flex-shrink: 0; display: flex; flex-direction: column;
  background: #fff; border-right: 1px solid var(--gd-n200); padding: var(--gd-s3); gap: 2px;
}
.side-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gd-n500); padding: 6px 10px 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border: none; background: transparent;
  border-radius: var(--gd-r-md); font-size: 13.5px; font-weight: 600; color: var(--gd-n700);
  text-align: left; width: 100%; transition: background .14s ease, color .14s ease;
}
.nav-item:hover { background: var(--gd-n100); color: var(--gd-ink); }
.nav-item.active { background: var(--gd-coral-12); color: var(--gd-coral); }
.nav-item .label { flex: 1; }
.nav-item .count {
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 1px 7px; border-radius: var(--gd-r-pill);
  background: var(--gd-n100); color: var(--gd-n700);
}
.nav-item.active .count { background: #fff; color: var(--gd-coral); }
.side-spacer { margin-top: auto; padding-top: var(--gd-s3); border-top: 1px solid var(--gd-n200); }

/* ---- Candidate list panel ---- */
.list-panel {
  width: 35%; min-width: 400px; flex-shrink: 0; display: flex; flex-direction: column;
  background: var(--gd-paper); border-right: 1px solid var(--gd-n200);
}
.list-head { flex-shrink: 0; padding: var(--gd-s4) var(--gd-s4) var(--gd-s3); border-bottom: 1px solid var(--gd-n200); }
.list-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--gd-s3); }
.list-title { display: flex; align-items: center; gap: 8px; }
.list-title h2 { margin: 0; font-family: var(--gd-font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.count-chip {
  font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--gd-n700);
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-sm); padding: 1px 7px;
}

/* sort dropdown */
.sort-wrap { position: relative; }
.sort-btn {
  display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: var(--gd-r-md);
  border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-ink);
  transition: border-color .14s ease;
}
.sort-btn:hover { border-color: var(--gd-n300); }
.menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 184px; padding: 5px;
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); box-shadow: var(--gd-elev-2);
}
.menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 9px;
  border: none; background: transparent; border-radius: 6px; font-size: 13px; color: var(--gd-ink); text-align: left;
}
.menu-item:hover { background: var(--gd-n100); }
.menu-item.active { background: var(--gd-coral-12); color: var(--gd-coral); font-weight: 600; }
.menu-overlay { position: fixed; inset: 0; z-index: 40; }

.job-menu { left: auto; right: 0; width: 280px; }
.job-menu-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gd-n500); padding: 6px 9px 4px; }
.job-menu-item { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.job-menu-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-menu-sub { font-size: 11.5px; color: var(--gd-n500); }

.list-search {
  height: 38px; display: flex; align-items: center; gap: var(--gd-s2); padding: 0 var(--gd-s3);
  border-radius: var(--gd-r-md); background: #fff; border: 1px solid var(--gd-n200); transition: all .15s ease;
}
.list-search:focus-within { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.list-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 13px; color: var(--gd-ink); }
.list-search input::placeholder { color: var(--gd-n500); }

.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }

.list-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: var(--gd-s3); }
.list-stack { display: flex; flex-direction: column; gap: 8px; }
.row-fade { animation: rowIn .4s cubic-bezier(.22,.61,.36,1) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Card wrapper: CandidateRow (top) + appended meta footer share one card.
   The component's own bottom-border becomes the footer divider. */
.cand-card {
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md);
  box-shadow: var(--gd-elev-1); overflow: hidden; cursor: pointer;
  transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease;
}
.cand-card:hover { border-color: var(--gd-n300); box-shadow: var(--gd-elev-2); transform: translateY(-1px); }
.cand-card[data-active="true"] { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.cand-card[data-active="true"]:hover { transform: none; }

.row-footer {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px var(--gd-s4) 12px;
  border-left: 2px solid transparent; background: #fff;
  transition: background .16s ease, border-color .16s ease;
}
.cand-card[data-active="true"] .row-footer { background: var(--gd-coral-08); border-left-color: var(--gd-coral); }
.row-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.row-footer-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row-applied { font-size: 11.5px; color: var(--gd-n500); white-space: nowrap; flex-shrink: 0; }
.row-skills { display: flex; flex-wrap: wrap; gap: 6px; }

.empty {
  display: grid; place-items: center; text-align: center; padding: 72px 24px 0; gap: 4px;
}
.empty .ring { width: 44px; height: 44px; border-radius: var(--gd-r-md); display: grid; place-items: center;
  background: #fff; border: 1px solid var(--gd-n200); color: var(--gd-n500); margin-bottom: 8px; }
.empty .t { font-weight: 600; font-size: 14px; }
.empty .s { font-size: 12.5px; color: var(--gd-n700); max-width: 240px; }

/* ---- Detail panel ---- */
.detail { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--gd-paper); position: relative; }
.detail-head {
  flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 0 var(--gd-s5); height: 88px;
  background: #fff; border-bottom: 1px solid var(--gd-n200);
}
.detail-id { min-width: 0; }
.detail-name-row { display: flex; align-items: center; gap: 10px; }
.detail-name { margin: 0; font-family: var(--gd-font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.detail-sub { font-size: 13px; color: var(--gd-n700); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.detail-scroll { flex: 1; overflow-y: auto; padding: var(--gd-s5); }
.detail-inner { max-width: 760px; display: flex; flex-direction: column; gap: var(--gd-s5); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gd-s4); }
.panel { background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); padding: var(--gd-s5); box-shadow: var(--gd-elev-1); }
.panel-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; margin: 0 0 var(--gd-s4); letter-spacing: -0.01em; }
.skill-list { display: flex; flex-direction: column; gap: 14px; }
.tag-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gd-s5); }
.tag-group-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gd-n500); margin-bottom: 10px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-strip { display: flex; flex-wrap: wrap; gap: 18px; }
.meta-cell { display: flex; flex-direction: column; gap: 3px; }
.meta-k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gd-n500); }
.meta-v { font-size: 14px; font-weight: 600; color: var(--gd-ink); }

.detail-empty { flex: 1; display: grid; place-items: center; padding: 32px; }
.detail-empty .card { text-align: center; max-width: 360px; }
.detail-empty .ring {
  width: 56px; height: 56px; border-radius: var(--gd-r-lg); display: grid; place-items: center; margin: 0 auto 16px;
  background: #fff; border: 1px solid var(--gd-n200); color: var(--gd-n500); box-shadow: var(--gd-elev-1);
}
.detail-empty h2 { font-family: var(--gd-font-display); font-weight: 700; font-size: 18px; margin: 0; letter-spacing: -0.01em; }
.detail-empty p { font-size: 13.5px; color: var(--gd-n700); margin: 8px 0 0; line-height: 1.55; text-wrap: pretty; }

/* ===== Detail panel — collapsible sections ===== */
.detail-bar {
  height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gd-s5); background: #fff; border-bottom: 1px solid var(--gd-n200);
}
.detail-bar-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.detail-bar-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; white-space: nowrap; }
.collapse-all {
  display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gd-n700);
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 6px 10px; flex-shrink: 0;
}
.collapse-all:hover { border-color: var(--gd-n300); background: var(--gd-n050); }
.detail-stack { display: flex; flex-direction: column; gap: var(--gd-s4); }

.sec { background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: var(--gd-elev-1); overflow: hidden; }
.sec-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: transparent; border: none; text-align: left; }
.sec-head:hover { background: var(--gd-n050); }
.sec-chev { color: var(--gd-n500); transition: transform .2s ease; flex-shrink: 0; }
.sec[data-open="true"] .sec-chev { transform: rotate(90deg); }
.sec-ico { color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; }
.sec-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 14.5px; margin: 0; flex: 1; letter-spacing: -0.01em; }
.sec-meta { font-size: 12px; color: var(--gd-n500); display: flex; align-items: center; }
.sec-bodywrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.sec[data-open="true"] .sec-bodywrap { grid-template-rows: 1fr; }
.sec-body { overflow: hidden; }
.sec-body > :first-child { padding: 2px 18px 18px; }

.mini-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gd-n500); margin-bottom: 10px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* Overview */
.ov { display: flex; align-items: flex-start; gap: var(--gd-s4); flex-wrap: wrap; }
.ov-id { flex: 1; min-width: 240px; }
.ov-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.ov-headline { font-size: 13.5px; color: var(--gd-n700); margin-top: 3px; }
.ov-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.ov-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--gd-n500); }
.ov-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ov-actwrap { position: relative; }
.ov-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 13px; font-weight: 600; color: var(--gd-ink); }
.ov-btn:hover { border-color: var(--gd-n300); background: var(--gd-n050); }
.ov-btn.primary { background: var(--gd-coral); border-color: var(--gd-coral); color: #fff; }
.ov-btn.primary:hover { filter: brightness(.96); background: var(--gd-coral); }
.ov-btn.is-rejected { background: rgba(210,59,59,.1); border-color: rgba(210,59,59,.3); color: var(--gd-error); }
.ov-stagepill { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.25); padding: 2px 7px; border-radius: var(--gd-r-pill); }
.ov-btn:not(.primary) .ov-stagepill { background: var(--gd-n100); color: var(--gd-n700); }
.ov-menu { position: fixed; z-index: 320; width: 220px; box-shadow: 0 24px 60px -12px rgba(31,39,56,.30), 0 6px 16px -8px rgba(31,39,56,.2); }
.ov-menu-wide { width: 264px; }
.ov-menu-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gd-n500); padding: 6px 9px 4px; }
.slot-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: none; background: transparent; border-radius: var(--gd-r-md); text-align: left; }
.slot-item:hover { background: var(--gd-n050); }
.slot-ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(43,182,115,.12); color: var(--gd-success); display: grid; place-items: center; flex-shrink: 0; }
.slot-text { flex: 1; display: flex; flex-direction: column; }
.slot-day { font-size: 12.5px; font-weight: 600; }
.slot-time { font-size: 11.5px; color: var(--gd-n500); }
.ov-confirm-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; padding: 8px 9px 2px; }
.ov-confirm-text { font-size: 12px; color: var(--gd-n700); padding: 0 9px 10px; line-height: 1.45; }
.ov-confirm-foot { display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--gd-n100); }
.ov-confirm-cancel { flex: 1; height: 34px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-n700); }
.ov-confirm-cancel:hover { background: var(--gd-n050); }
.ov-confirm-go { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 34px; border-radius: var(--gd-r-md); border: none; background: var(--gd-error); color: #fff; font-size: 12.5px; font-weight: 600; }
.ov-confirm-go:hover { filter: brightness(.95); }
.ov-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 340; display: inline-flex; align-items: center; gap: 9px; background: var(--gd-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 11px 16px; border-radius: var(--gd-r-pill); box-shadow: 0 12px 32px -8px rgba(31,39,56,.45); animation: toastIn .26s cubic-bezier(.22,.61,.36,1) both; }
.ov-toast-ico { display: grid; place-items: center; color: var(--gd-coral-08); }
.ov-toast-ico svg { color: oklch(0.78 0.13 35); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Contact popover */
.contact-wrap { position: relative; }
.contact-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 13px; font-weight: 600; color: var(--gd-ink); }
.contact-btn:hover { border-color: var(--gd-coral); color: var(--gd-coral); }
.contact-pop { position: fixed; z-index: 320; width: 300px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: 0 24px 60px -12px rgba(31,39,56,.30), 0 6px 16px -8px rgba(31,39,56,.2); padding: 10px; animation: copIn .16s cubic-bezier(.22,.61,.36,1) both; }
.contact-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; padding: 4px 8px 8px; color: var(--gd-n700); }
.contact-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--gd-r-md); text-decoration: none; color: inherit; }
.contact-row:hover { background: var(--gd-n050); }
.contact-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.contact-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.contact-k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gd-n500); }
.contact-v { font-size: 12.5px; color: var(--gd-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-copy { width: 28px; height: 28px; border-radius: 8px; border: none; background: transparent; color: var(--gd-n500); display: grid; place-items: center; flex-shrink: 0; }
.contact-copy:hover { background: var(--gd-n100); color: var(--gd-ink); }

/* AI recommendation */
.airec { border: 1.5px solid; border-radius: var(--gd-r-md); padding: var(--gd-s5); display: flex; flex-direction: column; gap: var(--gd-s4); }
.airec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gd-s4); }
.airec-verdict { display: flex; align-items: center; gap: 12px; }
.airec-icon { display: grid; place-items: center; }
.airec-label { font-family: var(--gd-font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.airec-verb { font-size: 12.5px; color: var(--gd-n700); margin-top: 2px; }
.airec-reason { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--gd-ink); text-wrap: pretty; }
.airec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gd-s5); }

/* Circular score */
.ring-card { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ring-wrap { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.ring-val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--gd-font-display); font-weight: 800; font-size: 16px; }
.ring-label { font-size: 11.5px; color: var(--gd-n700); text-align: center; font-weight: 500; }
.ring-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gd-s4) var(--gd-s2); }

/* Qualification match */
.qual-groups { display: flex; flex-direction: column; gap: var(--gd-s4); }
.qual-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.qual-group-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; }
.qual-group-count { font-size: 12px; color: var(--gd-n500); }
.qual-list { display: flex; flex-direction: column; gap: 7px; }
.qual { border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); overflow: hidden; }
.qual-head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: transparent; border: none; text-align: left; }
.qual-head:hover { background: var(--gd-n050); }
.qual-chev { color: var(--gd-n500); transition: transform .2s ease; flex-shrink: 0; }
.qual[data-open="true"] .qual-chev { transform: rotate(90deg); }
.qual-name { flex: 1; font-size: 13px; font-weight: 500; }
.qual-bodywrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.qual[data-open="true"] .qual-bodywrap { grid-template-rows: 1fr; }
.qual-body { overflow: hidden; }
.qual-body > div:first-child { padding-top: 4px; }
.qual-body { padding: 0 12px; }
.qual[data-open="true"] .qual-body { padding-bottom: 12px; }
.qual-ev { margin: 8px 0 0; font-size: 12.5px; color: var(--gd-n700); line-height: 1.5; }
.qual-src { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gd-n500); margin-top: 6px; }

/* Career timeline */
.tl { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 12px; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.tl-line { flex: 1; width: 2px; background: var(--gd-n200); margin: 3px 0; min-height: 16px; }
.tl-content { padding-bottom: var(--gd-s4); flex: 1; }
.tl-row1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-role { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; }
.tl-meta { font-size: 12px; color: var(--gd-n700); margin-top: 2px; }
.tl-note { font-size: 12px; color: var(--gd-n500); margin-top: 2px; }

/* Projects */
.proj-list { display: flex; flex-direction: column; gap: 8px; }
.proj { border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); overflow: hidden; }
.proj-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: transparent; border: none; text-align: left; }
.proj-head:hover { background: var(--gd-n050); }
.proj-id { display: flex; flex-direction: column; gap: 2px; }
.proj-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 13.5px; }
.proj-role { font-size: 12px; color: var(--gd-n500); }
.proj-chev { color: var(--gd-n500); transition: transform .2s ease; flex-shrink: 0; }
.proj[data-open="true"] .proj-chev { transform: rotate(90deg); }
.proj-bodywrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.proj[data-open="true"] .proj-bodywrap { grid-template-rows: 1fr; }
.proj-body { overflow: hidden; padding: 0 14px; }
.proj[data-open="true"] .proj-body { padding-bottom: 14px; }
.proj-summary { margin: 4px 0 10px; font-size: 12.5px; color: var(--gd-n700); line-height: 1.5; }
.proj-impact { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gd-coral); margin-top: 10px; }

/* Risk */
.risk { display: flex; flex-direction: column; gap: var(--gd-s4); }
.risk-top { display: flex; align-items: center; justify-content: space-between; }
.risk-level { display: flex; align-items: center; gap: 8px; font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }
.risk-score { font-family: var(--gd-font-display); font-weight: 800; font-size: 22px; }
.risk-score-tot { font-size: 14px; font-weight: 600; color: var(--gd-n500); }
.risk-track { display: flex; gap: 6px; }
.risk-seg { flex: 1; height: 10px; border-radius: var(--gd-r-pill); transition: background .4s ease; }
.risk-scale { display: flex; gap: 6px; margin-top: 2px; }
.risk-scale-label { flex: 1; text-align: center; font-size: 11.5px; color: var(--gd-n500); }
.risk-scale-label[data-active="true"] { font-weight: 700; }
.risk-reason { margin: 0; font-size: 13px; line-height: 1.55; color: var(--gd-ink); text-wrap: pretty; }
.risk-factors { display: flex; flex-direction: column; gap: 10px; }
.risk-factor { display: flex; align-items: center; gap: 10px; }
.risk-factor-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.risk-factor-label { font-weight: 600; font-size: 13px; min-width: 130px; }
.risk-factor-note { flex: 1; font-size: 12px; color: var(--gd-n500); }

/* Evidence explorer */
.ev-list { display: flex; flex-direction: column; gap: 10px; }
.ev { border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ev-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-claim { font-weight: 600; font-size: 13.5px; }
.ev-conf { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.ev-bar { height: 6px; background: var(--gd-n200); border-radius: var(--gd-r-pill); overflow: hidden; }
.ev-bar span { display: block; height: 100%; border-radius: var(--gd-r-pill); transition: width .6s cubic-bezier(.22,.61,.36,1); }
.ev-excerpt { margin: 0; padding: 10px 12px; background: var(--gd-n050); border-left: 3px solid var(--gd-n300); border-radius: var(--gd-r-sm); font-style: italic; font-size: 12.5px; color: var(--gd-n700); line-height: 1.5; }
.ev-src { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gd-n500); }

/* Points (strengths / concerns) */
.points { display: flex; flex-direction: column; gap: 12px; }
.point { display: flex; gap: 10px; align-items: flex-start; }
.point-ico { flex-shrink: 0; margin-top: 1px; }
.point-title { font-weight: 600; font-size: 13.5px; }
.point-detail { font-size: 12.5px; color: var(--gd-n700); line-height: 1.5; margin-top: 2px; }

/* Leadership */
.lead-grid { display: flex; flex-direction: column; gap: 10px; }
.lead-card { border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 14px; }
.lead-title { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.lead-detail { font-size: 12.5px; color: var(--gd-n700); line-height: 1.5; }

/* Skills groups */
.skill-groups { display: flex; flex-direction: column; gap: var(--gd-s4); }

.detail-bar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.detail-compare {
  display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: var(--gd-coral); border: 1px solid var(--gd-coral); border-radius: var(--gd-r-md); padding: 6px 12px;
}
.detail-compare:hover { filter: brightness(.96); }

/* ===== AI Copilot ===== */
.cop-root { position: fixed; right: 24px; bottom: 24px; z-index: 200; }
.cop-fab {
  display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 16px;
  background: var(--gd-coral); color: #fff; border: none; border-radius: var(--gd-r-pill);
  font-family: var(--gd-font-display); font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 24px -6px rgba(242,88,62,.5), 0 2px 6px rgba(0,0,0,.1);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cop-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(242,88,62,.55); }

.cop-panel {
  width: 396px; height: 588px; max-height: calc(100vh - 48px); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gd-n200); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(31,39,56,.32), 0 8px 20px -8px rgba(31,39,56,.18);
  animation: copIn .22s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes copIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.cop-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--gd-n200); }
.cop-head-id { display: flex; align-items: center; gap: 10px; }
.cop-head-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--gd-coral); color: #fff; display: grid; place-items: center; }
.cop-head-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 14.5px; }
.cop-head-sub { font-size: 11.5px; color: var(--gd-n500); margin-top: 1px; }
.cop-x { width: 30px; height: 30px; border-radius: 8px; border: none; background: transparent; color: var(--gd-n500); display: grid; place-items: center; }
.cop-x:hover { background: var(--gd-n100); color: var(--gd-ink); }

.cop-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.cop-intro { color: var(--gd-n700); font-size: 13px; line-height: 1.55; background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: 12px; padding: 14px; }
.cop-intro p { margin: 0; }

.cop-msg-user {
  align-self: flex-end; max-width: 82%; background: var(--gd-coral); color: #fff; font-size: 13px; line-height: 1.45;
  padding: 9px 13px; border-radius: 14px 14px 4px 14px;
}
.cop-msg-ai { display: flex; gap: 9px; align-items: flex-start; max-width: 94%; }
.cop-msg-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--gd-coral-12); color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.cop-msg-content { background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: 4px 14px 14px 14px; padding: 12px 14px; }
.cop-ans { font-size: 13px; line-height: 1.55; color: var(--gd-ink); display: flex; flex-direction: column; gap: 9px; }
.cop-ans p { margin: 0; }
.cop-ans strong { font-weight: 700; }
.cop-foot { color: var(--gd-n700); font-size: 12.5px; }
.cop-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cop-tags-inline { display: inline-flex; flex-wrap: wrap; gap: 5px; vertical-align: middle; }
.cop-ref {
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: var(--gd-r-pill);
  background: var(--gd-coral-08); color: var(--gd-coral); font-weight: 700; font-size: 12px; white-space: nowrap;
}
.cop-qs { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.cop-qs li { font-size: 12.5px; line-height: 1.5; }
.cop-compare { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--gd-n200); border-radius: 10px; padding: 10px 12px; }
.cop-compare > div { font-size: 12.5px; }
.cop-cl { font-weight: 700; margin-right: 6px; }
.cop-similar { display: flex; flex-direction: column; gap: 8px; }
.cop-sim { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gd-n200); border-radius: 10px; padding: 8px 10px; }
.cop-sim-id { flex: 1; display: flex; flex-direction: column; }
.cop-sim-name { font-weight: 600; font-size: 12.5px; }
.cop-sim-sub { font-size: 11px; color: var(--gd-n500); }
.cop-typing { display: flex; gap: 4px; background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: 4px 14px 14px 14px; padding: 13px 14px; }
.cop-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gd-n400); animation: copDot 1.1s infinite ease-in-out; }
.cop-typing span:nth-child(2) { animation-delay: .15s; }
.cop-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes copDot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.cop-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--gd-n200); }
.cop-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--gd-n700);
  background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-pill); padding: 5px 10px;
  transition: all .14s ease;
}
.cop-chip:hover:not(:disabled) { border-color: var(--gd-coral); color: var(--gd-coral); background: var(--gd-coral-08); }
.cop-chip:disabled { opacity: .5; }

.cop-input { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--gd-n200); }
.cop-input input { flex: 1; height: 38px; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 0 12px; font-size: 13px; outline: none; }
.cop-input input:focus { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.cop-send { width: 38px; height: 38px; border-radius: var(--gd-r-md); border: none; background: var(--gd-coral); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cop-send:disabled { opacity: .4; }

/* ===== Comparison modal ===== */
.cmp-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(31,39,56,.5); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 32px; animation: cmpFade .18s ease both;
}
@keyframes cmpFade { from { opacity: 0; } to { opacity: 1; } }
.cmp-modal {
  width: 100%; max-width: 1180px; max-height: calc(100vh - 64px); display: flex; flex-direction: column;
  background: var(--gd-paper); border-radius: 18px; overflow: hidden; box-shadow: 0 32px 80px -16px rgba(0,0,0,.4);
  animation: cmpIn .24s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes cmpIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.cmp-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--gd-n200); }
.cmp-head-id { display: flex; align-items: center; gap: 12px; }
.cmp-head-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--gd-coral-12); color: var(--gd-coral); display: grid; place-items: center; }
.cmp-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 18px; margin: 0; letter-spacing: -0.01em; }
.cmp-sub { font-size: 12.5px; color: var(--gd-n500); margin-top: 2px; }
.cmp-x { width: 36px; height: 36px; border-radius: 10px; border: none; background: transparent; color: var(--gd-n500); display: grid; place-items: center; }
.cmp-x:hover { background: var(--gd-n100); color: var(--gd-ink); }

.cmp-scroll { overflow: auto; padding: 22px; }
.cmp-grid { display: grid; gap: 1px; background: var(--gd-n200); border: 1px solid var(--gd-n200); border-radius: 14px; overflow: hidden; min-width: 640px; }
.cmp-grid > * { background: #fff; }

.cmp-corner { padding: 16px; font-family: var(--gd-font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); display: flex; align-items: flex-end; background: var(--gd-n050); }
.cmp-col-head { position: relative; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: var(--gd-n050); }
.cmp-remove { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 7px; border: none; background: transparent; color: var(--gd-n400); display: grid; place-items: center; }
.cmp-remove:hover { background: var(--gd-error); color: #fff; }
.cmp-col-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; margin-top: 6px; }
.cmp-col-sub { font-size: 12px; color: var(--gd-n700); }
.cmp-col-co { font-size: 11.5px; color: var(--gd-n500); }

.cmp-col-add { display: grid; place-items: center; padding: 16px; background: var(--gd-n050); }
.cmp-add-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gd-n500); background: transparent; border: 1.5px dashed var(--gd-n300); border-radius: 12px; padding: 20px 24px; font-size: 12.5px; font-weight: 600; width: 100%; }
.cmp-add-btn:hover { border-color: var(--gd-coral); color: var(--gd-coral); }
.cmp-add-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--gd-n200); display: grid; place-items: center; }
.cmp-picker { width: 100%; display: flex; flex-direction: column; gap: 4px; max-height: 280px; overflow-y: auto; }
.cmp-picker-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); padding: 2px 4px 6px; }
.cmp-picker-item { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border: none; background: transparent; border-radius: 9px; text-align: left; }
.cmp-picker-item:hover { background: var(--gd-coral-08); }
.cmp-picker-id { display: flex; flex-direction: column; }
.cmp-picker-id span { font-size: 12.5px; font-weight: 600; }
.cmp-picker-id small { font-size: 11px; color: var(--gd-n500); }
.cmp-picker-cancel { margin-top: 4px; padding: 7px; border: 1px solid var(--gd-n200); background: #fff; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--gd-n700); }

.cmp-rowlabel { padding: 16px; font-weight: 600; font-size: 13px; color: var(--gd-ink); display: flex; align-items: center; background: var(--gd-n050); }
.cmp-cell { position: relative; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-content: center; transition: background .2s ease; }
.cmp-cell-empty { background: var(--gd-n050); }
.cmp-cell.is-win { background: rgba(43,182,115,.08); box-shadow: inset 0 0 0 1.5px rgba(43,182,115,.35); }
.cmp-win { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gd-success); }
.cmp-num { font-family: var(--gd-font-display); font-weight: 700; font-size: 17px; color: var(--gd-ink); }
.cmp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-none { font-size: 12.5px; color: var(--gd-success); font-weight: 600; }
.cmp-hint { text-align: center; color: var(--gd-n500); font-size: 13px; padding: 24px; }

/* ===== Tab views ===== */
.view-scroll { flex: 1; overflow-y: auto; background: var(--gd-paper); min-width: 0; }
.view-inner { max-width: 1080px; margin: 0 auto; padding: var(--gd-s6, 32px) var(--gd-s6, 32px) 64px; display: flex; flex-direction: column; gap: var(--gd-s5); }
.view-wide { max-width: 1280px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-title { font-family: var(--gd-font-display); font-weight: 800; font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.page-sub { font-size: 13.5px; color: var(--gd-n500); margin-top: 4px; }
.page-head-actions { display: flex; gap: 8px; flex-shrink: 0; }
.link-btn { background: none; border: none; color: var(--gd-coral); font-size: 12.5px; font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.panel-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--gd-s4); }
.panel-row .panel-title { margin: 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gd-s4); }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gd-s4); align-items: start; }
.dash-list { display: flex; flex-direction: column; gap: 4px; }
.dash-cand { display: flex; align-items: center; gap: 10px; padding: 10px; border: none; background: transparent; border-radius: var(--gd-r-md); text-align: left; width: 100%; }
.dash-cand:hover { background: var(--gd-n050); }
.dash-cand-id { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash-cand-name { font-weight: 600; font-size: 13px; }
.dash-cand-sub { font-size: 11.5px; color: var(--gd-n500); }
.dash-ats { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }
.activity { display: flex; align-items: center; gap: 10px; padding: 9px 10px; }
.activity-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--gd-coral-08); color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; }
.activity-txt { flex: 1; font-size: 12.5px; color: var(--gd-n700); }
.activity-txt strong { color: var(--gd-ink); font-weight: 600; }
.activity-when { font-size: 11px; color: var(--gd-n500); white-space: nowrap; }

/* Jobs */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gd-s4); }
.job-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: var(--gd-elev-1); text-align: left; transition: box-shadow .16s ease, border-color .16s ease, transform .16s ease; }
.job-card:hover { box-shadow: var(--gd-elev-2); transform: translateY(-2px); }
.job-card.is-active { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.job-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.job-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--gd-coral-08); color: var(--gd-coral); display: grid; place-items: center; }
.job-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }
.job-meta { font-size: 12.5px; color: var(--gd-n500); }
.job-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gd-n100); }
.job-app { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gd-n700); font-weight: 500; }
.job-current { font-size: 11px; font-weight: 700; color: var(--gd-coral); }

/* Pipeline kanban */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gd-s4); align-items: start; }
.kan-col { background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); padding: 12px; }
.kan-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.kan-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; }
.kan-count { font-size: 11px; font-weight: 700; color: var(--gd-n700); background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-pill); padding: 1px 8px; }
.kan-list { display: flex; flex-direction: column; gap: 8px; }
.kan-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); box-shadow: var(--gd-elev-1); text-align: left; transition: box-shadow .14s ease, transform .14s ease; }
.kan-card:hover { box-shadow: var(--gd-elev-2); transform: translateY(-1px); }
.kan-card-top { display: flex; align-items: center; gap: 9px; }
.kan-card-id { display: flex; flex-direction: column; min-width: 0; }
.kan-card-name { font-weight: 600; font-size: 13px; }
.kan-card-sub { font-size: 11px; color: var(--gd-n500); }
.kan-card-foot { display: flex; align-items: center; justify-content: space-between; }
.kan-ats { font-size: 12px; font-weight: 700; color: var(--gd-n700); }

/* Interviews */
.iv-day { display: flex; flex-direction: column; gap: 8px; }
.iv-day + .iv-day { margin-top: var(--gd-s3); }
.iv-day-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); }
.iv-list { display: flex; flex-direction: column; gap: 8px; }
.iv-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); box-shadow: var(--gd-elev-1); text-align: left; transition: box-shadow .14s ease; }
.iv-card:hover { box-shadow: var(--gd-elev-2); }
.iv-time { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; width: 72px; flex-shrink: 0; }
.iv-divider { width: 1px; align-self: stretch; background: var(--gd-n200); }
.iv-id { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.iv-name { font-weight: 600; font-size: 13.5px; }
.iv-kind { font-size: 12px; color: var(--gd-n500); }
.iv-panel { display: flex; }
.iv-panel > * { margin-left: -8px; box-shadow: 0 0 0 2px #fff; border-radius: 50%; }
.iv-panel > *:first-child { margin-left: 0; }

/* Analytics */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel-row { display: flex; align-items: center; gap: 12px; }
.funnel-label { width: 92px; font-size: 12.5px; font-weight: 500; flex-shrink: 0; }
.funnel-bar-wrap { flex: 1; background: var(--gd-n100); border-radius: var(--gd-r-pill); overflow: hidden; }
.funnel-bar { height: 28px; background: linear-gradient(90deg, var(--gd-coral), oklch(0.62 0.16 35)); border-radius: var(--gd-r-pill); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; color: #fff; font-weight: 700; font-size: 12px; min-width: 28px; transition: width .6s cubic-bezier(.22,.61,.36,1); }
.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut-num { font-family: var(--gd-font-display); font-weight: 800; font-size: 24px; fill: var(--gd-ink); }
.donut-cap { font-size: 9px; fill: var(--gd-n500); text-transform: uppercase; letter-spacing: .05em; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.legend-row { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.legend-label { flex: 1; font-size: 12.5px; }
.legend-n { font-weight: 700; font-size: 13px; }
.skilldemand { display: flex; flex-direction: column; gap: 10px; }
.sd-row { display: flex; align-items: center; gap: 12px; }
.sd-name { width: 120px; font-size: 12.5px; font-weight: 500; flex-shrink: 0; }
.sd-bar-wrap { flex: 1; background: var(--gd-n100); border-radius: var(--gd-r-pill); overflow: hidden; height: 10px; }
.sd-bar { height: 100%; background: var(--gd-coral); border-radius: var(--gd-r-pill); transition: width .6s cubic-bezier(.22,.61,.36,1); }
.sd-n { width: 20px; text-align: right; font-weight: 700; font-size: 12.5px; }

/* Settings */
.set-panel { display: flex; flex-direction: column; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gd-n100); }
.set-row:last-child { border-bottom: none; }
.set-k { font-weight: 600; font-size: 13.5px; }
.set-d { font-size: 12px; color: var(--gd-n500); margin-top: 2px; }
.set-v { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }

/* ===== shared helpers added in v3 ===== */
.i-good { color: var(--gd-success); } .i-warn { color: var(--gd-warning); } .i-bad { color: var(--gd-error); } .i-coral { color: var(--gd-coral); }
.panel-titlewrap { display: flex; align-items: baseline; gap: 8px; }
.panel-by { font-size: 11.5px; color: var(--gd-n500); }
.panel-divider { height: 1px; background: var(--gd-n100); margin: 16px 0; }
.seg { display: inline-flex; background: var(--gd-n100); border-radius: var(--gd-r-md); padding: 2px; gap: 2px; }
.seg-wide { display: flex; }
.seg-btn { border: none; background: transparent; font-size: 12px; font-weight: 600; color: var(--gd-n500); padding: 5px 11px; border-radius: 7px; flex: 1; }
.seg-btn.on { background: #fff; color: var(--gd-ink); box-shadow: var(--gd-elev-1); }
.dash-metric { display: flex; flex-direction: column; align-items: center; font-family: var(--gd-font-display); font-weight: 800; font-size: 16px; line-height: 1; }
.dash-metric small { font-size: 9px; font-weight: 700; color: var(--gd-n500); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.dash-empty, .jobs-empty, .kan-empty, .dash-cand-sub { color: var(--gd-n500); }
.dash-empty { font-size: 12.5px; padding: 12px 4px; }
.kan-empty { font-size: 18px; text-align: center; padding: 8px; color: var(--gd-n300); }
.health { display: flex; flex-direction: column; gap: 2px; }
.health-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid var(--gd-n050); }
.health-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.health-v { font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; }

/* req meters on candidate cards */
.row-reqs { display: flex; gap: 8px; flex-wrap: wrap; }
.req { display: inline-flex; align-items: center; gap: 6px; background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: var(--gd-r-pill); padding: 3px 9px 3px 8px; }
.req-full { background: rgba(43,182,115,.1); border-color: rgba(43,182,115,.3); }
.req-k { font-size: 11px; font-weight: 700; color: var(--gd-n700); }
.req-full .req-k { color: var(--gd-success); }
.req-dots { display: inline-flex; gap: 3px; }
.req-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gd-n300); }
.req-dot.on { background: var(--gd-coral); }
.req-full .req-dot.on { background: var(--gd-success); }
.req-v { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gd-ink); }

/* Analytics — insights + histogram */
.insights-panel { background: linear-gradient(180deg, #fff, var(--gd-coral-08)); }
.insights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.insight { display: flex; gap: 9px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); }
.insight-ico { flex-shrink: 0; margin-top: 1px; }
.insight-good .insight-ico { color: var(--gd-success); }
.insight-warn .insight-ico { color: var(--gd-warning); }
.insight-bad .insight-ico { color: var(--gd-error); }
.insight-neutral .insight-ico { color: var(--gd-coral); }
.insight-text { font-size: 12.5px; line-height: 1.5; color: var(--gd-ink); }
.hist { display: flex; align-items: flex-end; gap: 12px; height: 160px; padding-top: 8px; }
.hist-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.hist-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.hist-bar { width: 100%; background: linear-gradient(180deg, var(--gd-coral), oklch(0.62 0.16 35)); border-radius: 8px 8px 0 0; min-height: 4px; position: relative; display: flex; justify-content: center; transition: height .6s cubic-bezier(.22,.61,.36,1); }
.hist-n { position: absolute; top: -20px; font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; color: var(--gd-ink); }
.hist-label { font-size: 11px; color: var(--gd-n500); font-weight: 600; }
.sd-foot { font-size: 11.5px; color: var(--gd-n500); margin-top: 12px; }

/* Settings — MCP */
.mcp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gd-s4); }
.mcp-card { display: flex; flex-direction: column; padding: 16px; background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); transition: border-color .14s ease, box-shadow .14s ease; }
.mcp-card.is-on { border-color: rgba(43,182,115,.35); }
.mcp-card:hover { box-shadow: var(--gd-elev-2); }
.mcp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mcp-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.mcp-status { font-size: 11px; font-weight: 600; color: var(--gd-n500); display: inline-flex; align-items: center; gap: 5px; }
.mcp-status.on { color: var(--gd-success); }
.mcp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gd-success); }
.mcp-name { font-family: var(--gd-font-display); font-weight: 700; font-size: 14.5px; }
.mcp-desc { font-size: 12px; color: var(--gd-n500); line-height: 1.45; margin-top: 3px; flex: 1; }
.mcp-btn { margin-top: 14px; height: 34px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-coral); background: var(--gd-coral); color: #fff; font-size: 12.5px; font-weight: 600; }
.mcp-btn.is-on { background: #fff; color: var(--gd-n700); border-color: var(--gd-n200); }
.mcp-btn.is-on:hover { border-color: var(--gd-error); color: var(--gd-error); }

/* ===== Jobs ===== */
.jobs-section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); margin-bottom: 10px; }

/* Job detail */
.jd-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.jd-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--gd-coral-08); color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; }
.jd-id { flex: 1; min-width: 0; }
.jd-titlerow { display: flex; align-items: center; gap: 10px; }
.jd-title { font-family: var(--gd-font-display); font-weight: 800; font-size: 24px; margin: 0; letter-spacing: -0.02em; }
.jd-meta { font-size: 13px; color: var(--gd-n500); margin-top: 3px; }
.jd-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.jd-statusctl { display: flex; gap: 8px; }
.danger-mini:hover { border-color: var(--gd-error) !important; color: var(--gd-error) !important; }
.jd-desc { font-size: 13.5px; line-height: 1.6; color: var(--gd-ink); margin: 0 0 16px; text-wrap: pretty; }
.jd-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid var(--gd-n100); }
.jd-pipe-col { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: var(--gd-n050); border-radius: var(--gd-r-md); }
.jd-pipe-n { font-family: var(--gd-font-display); font-weight: 800; font-size: 20px; color: var(--gd-coral); }
.jd-pipe-l { font-size: 11px; font-weight: 600; color: var(--gd-n500); }
.jd-reqgroup { margin-bottom: 14px; }
.jd-reqgroup:last-child { margin-bottom: 0; }
.jd-reqlabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); margin-bottom: 8px; }
.jd-reqlabel.must { color: var(--gd-coral); }
.jd-reqlabel.pref { color: oklch(0.5 0.1 72); }
.jd-iv { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--gd-n050); }
.jd-iv:last-child { border-bottom: none; }
.jd-iv-date { display: flex; flex-direction: column; align-items: flex-start; width: 56px; flex-shrink: 0; font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; }
.jd-iv-date small { font-size: 11px; font-weight: 500; color: var(--gd-n500); }
.jd-iv-id { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.jd-iv-name { font-weight: 600; font-size: 13px; }
.jd-iv-kind { font-size: 11.5px; color: var(--gd-n500); }
.jobx-list { display: flex; flex-direction: column; gap: 12px; }
.jobx { background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: var(--gd-elev-1); padding: 16px 18px; transition: box-shadow .14s ease, border-color .14s ease; }
.jobx:hover { box-shadow: var(--gd-elev-2); }
.jobx.is-current { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.jobx.is-closed { opacity: .72; }
.jobx-top { display: flex; align-items: center; gap: 12px; }
.jobx-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--gd-coral-08); color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; }
.jobx-id { flex: 1; min-width: 0; }
.jobx-titlerow { display: flex; align-items: center; gap: 8px; }
.jobx-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 15.5px; }
.jobx-current { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gd-coral); background: var(--gd-coral-08); padding: 2px 7px; border-radius: var(--gd-r-pill); }
.jobx-meta { font-size: 12.5px; color: var(--gd-n500); margin-top: 2px; }
.jobx-menuwrap { position: relative; }
.jobx-menubtn { width: 34px; height: 34px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; color: var(--gd-n700); display: grid; place-items: center; }
.jobx-menubtn:hover { border-color: var(--gd-n300); }
.jobx-menu { left: auto; right: 0; width: 200px; }
.menu-sep { height: 1px; background: var(--gd-n100); margin: 4px 0; }
.menu-item.danger { color: var(--gd-error); }
.menu-item.danger:hover { background: rgba(210,59,59,.08); }
.jobx-stage { margin: 16px 0; }
.stepper { display: flex; align-items: center; gap: 0; }
.step { display: flex; align-items: center; gap: 7px; background: transparent; border: none; padding: 0 14px 0 0; position: relative; }
.step:not(:last-child)::after { content: ''; width: 18px; height: 2px; background: var(--gd-n200); margin-left: 0; }
.step.done:not(:last-child)::after { background: var(--gd-coral); }
.step-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gd-n100); color: var(--gd-n500); flex-shrink: 0; transition: all .15s ease; }
.step.done .step-dot { background: var(--gd-coral); color: #fff; }
.step.current .step-dot { background: var(--gd-coral); color: #fff; box-shadow: 0 0 0 4px var(--gd-coral-12); }
.step-label { font-size: 12px; font-weight: 600; color: var(--gd-n500); white-space: nowrap; }
.step.current .step-label { color: var(--gd-coral); }
.step.done .step-label { color: var(--gd-ink); }
.step:hover .step-label { color: var(--gd-ink); }
.stage-closed { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gd-success); background: rgba(43,182,115,.1); padding: 6px 12px; border-radius: var(--gd-r-pill); }
.jobx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gd-n100); }
.jobx-stats { display: flex; gap: 16px; }
.jobx-stat { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--gd-n700); font-weight: 500; }
.jobx-actions { display: flex; gap: 8px; }
.mini-btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-ink); }
.mini-btn:hover { border-color: var(--gd-n300); background: var(--gd-n050); }
.mini-btn.primary { background: var(--gd-coral); border-color: var(--gd-coral); color: #fff; }
.mini-btn.primary:hover { filter: brightness(.96); background: var(--gd-coral); }

/* forms */
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--gd-n700); background: none; border: none; margin-bottom: 4px; }
.back-link:hover { color: var(--gd-coral); }
.form-panel { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 600; color: var(--gd-ink); }
.field-hint { font-weight: 500; color: var(--gd-n500); font-size: 11.5px; }
.field-input { height: 40px; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 0 12px; font-size: 13.5px; outline: none; color: var(--gd-ink); background: #fff; }
.field-input:focus { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.field-area { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.taginput { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 40px; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 6px 8px; background: #fff; }
.taginput:focus-within { border-color: var(--gd-coral); box-shadow: 0 0 0 3px var(--gd-coral-12); }
.taginput input { flex: 1; min-width: 140px; border: none; outline: none; font-size: 13px; height: 26px; }
.taginput-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--gd-n100); color: var(--gd-ink); font-size: 12px; font-weight: 600; padding: 3px 5px 3px 9px; border-radius: var(--gd-r-pill); }
.taginput-chip.must { background: var(--gd-coral-08); color: var(--gd-coral); }
.taginput-chip.pref { background: rgba(232,163,61,.14); color: oklch(0.5 0.1 72); }
.taginput-chip button { border: none; background: transparent; color: inherit; display: grid; place-items: center; padding: 0; opacity: .6; }
.taginput-chip button:hover { opacity: 1; }
.form-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.form-note { font-size: 12px; color: var(--gd-n500); text-align: right; }

/* link modal */
.link-modal, .confirm-modal { width: 100%; max-width: 520px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 32px 80px -16px rgba(0,0,0,.4); animation: cmpIn .24s cubic-bezier(.22,.61,.36,1) both; }
.link-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--gd-n200); }
.link-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--gd-coral-08); color: var(--gd-coral); display: grid; place-items: center; flex-shrink: 0; }
.link-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 17px; margin: 0; }
.link-sub { font-size: 12.5px; color: var(--gd-n500); margin-top: 2px; }
.link-head .cmp-x { margin-left: auto; }
.link-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.link-job { font-size: 13px; font-weight: 600; color: var(--gd-n700); }
.link-url { display: flex; align-items: center; gap: 8px; background: var(--gd-n050); border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); padding: 8px 8px 8px 12px; }
.link-url-text { flex: 1; font-family: var(--gd-font-mono); font-size: 12.5px; color: var(--gd-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-copy { display: inline-flex; align-items: center; gap: 5px; background: var(--gd-coral); color: #fff; border: none; border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.link-copy.done { background: var(--gd-success); }
.link-channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.link-chan { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); background: #fff; font-size: 11.5px; font-weight: 600; color: var(--gd-n700); }
.link-chan:hover { border-color: var(--gd-coral); color: var(--gd-coral); }
.link-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--gd-n100); }
.link-foot-note { font-size: 12px; color: var(--gd-n500); }

/* confirm modal */
.confirm-modal { max-width: 440px; padding: 26px; text-align: center; }
.confirm-mark { width: 52px; height: 52px; border-radius: 14px; background: rgba(210,59,59,.1); color: var(--gd-error); display: grid; place-items: center; margin: 0 auto 14px; }
.confirm-title { font-family: var(--gd-font-display); font-weight: 700; font-size: 18px; margin: 0; }
.confirm-text { font-size: 13px; color: var(--gd-n700); margin: 8px 0 16px; line-height: 1.5; }
.confirm-list { display: flex; flex-direction: column; gap: 8px; background: var(--gd-n050); border-radius: var(--gd-r-md); padding: 14px; text-align: left; margin-bottom: 18px; }
.confirm-li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--gd-n700); }
.confirm-li svg { color: var(--gd-error); flex-shrink: 0; }
.confirm-foot { display: flex; justify-content: center; gap: 8px; }
.danger-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--gd-r-md); border: none; background: var(--gd-error); color: #fff; font-size: 13px; font-weight: 600; }
.danger-btn:hover { filter: brightness(.95); }

/* apply modal */
.apply-modal { width: 100%; max-width: 600px; max-height: calc(100vh - 64px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 32px 80px -16px rgba(0,0,0,.45); animation: cmpIn .24s cubic-bezier(.22,.61,.36,1) both; }
.apply-browser { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--gd-n100); border-bottom: 1px solid var(--gd-n200); flex-shrink: 0; }
.apply-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gd-n300); }
.apply-dot:nth-child(1) { background: #f96b5f; } .apply-dot:nth-child(2) { background: #f5bd4f; } .apply-dot:nth-child(3) { background: #61c554; }
.apply-addr { margin-left: 10px; flex: 1; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: var(--gd-r-pill); padding: 5px 12px; font-family: var(--gd-font-mono); font-size: 11.5px; color: var(--gd-n700); }
.apply-body { overflow-y: auto; padding: 28px; }
.apply-hero { text-align: center; margin-bottom: 18px; }
.apply-logo img { width: 40px; height: 40px; object-fit: contain; }
.apply-co { font-size: 12px; font-weight: 700; color: var(--gd-coral); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.apply-title { font-family: var(--gd-font-display); font-weight: 800; font-size: 24px; margin: 6px 0 0; letter-spacing: -0.02em; }
.apply-meta { font-size: 13px; color: var(--gd-n500); margin-top: 4px; }
.apply-desc { font-size: 13.5px; line-height: 1.6; color: var(--gd-ink); text-align: center; margin: 0 0 18px; }
.apply-reqs { display: flex; flex-direction: column; gap: 12px; background: var(--gd-n050); border-radius: var(--gd-r-md); padding: 16px; margin-bottom: 22px; }
.apply-reqlabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-n500); margin-bottom: 8px; }
.apply-form { display: flex; flex-direction: column; gap: 16px; }
.apply-formtitle { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }
.skillpick { display: flex; flex-wrap: wrap; gap: 7px; }
.skillpick-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: var(--gd-r-pill); border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-n700); }
.skillpick-chip.on { border-color: var(--gd-coral); background: var(--gd-coral-08); color: var(--gd-coral); }
.cv-drop { display: flex; align-items: center; justify-content: center; padding: 18px; border: 1.5px dashed var(--gd-n300); border-radius: var(--gd-r-md); cursor: pointer; }
.cv-drop:hover { border-color: var(--gd-coral); }
.cv-prompt { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gd-n500); }
.cv-file { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gd-coral); }
.cv-mock { display: block; margin: 6px auto 0; background: none; border: none; font-size: 11.5px; color: var(--gd-n500); text-decoration: underline; }
.apply-submit { height: 44px; border-radius: var(--gd-r-md); border: none; background: var(--gd-coral); color: #fff; font-family: var(--gd-font-display); font-weight: 700; font-size: 14px; }
.apply-submit.disabled { opacity: .45; }
.apply-fine { font-size: 11px; color: var(--gd-n500); text-align: center; }
.apply-done { padding: 44px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.apply-check { width: 60px; height: 60px; border-radius: 50%; background: rgba(43,182,115,.12); color: var(--gd-success); display: grid; place-items: center; margin-bottom: 16px; }
.apply-done h2 { font-family: var(--gd-font-display); font-weight: 800; font-size: 22px; margin: 0; }
.apply-done p { font-size: 13.5px; color: var(--gd-n700); line-height: 1.6; margin: 10px 0 20px; max-width: 380px; }
.apply-result { width: 100%; max-width: 340px; background: var(--gd-n050); border-radius: var(--gd-r-md); padding: 14px 16px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.apply-result-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--gd-n700); }
.apply-result-v { font-family: var(--gd-font-display); font-weight: 700; color: var(--gd-ink); }

/* ===== Interviews calendar ===== */
.cal-wrap { display: grid; grid-template-columns: 1fr 340px; gap: var(--gd-s4); align-items: start; }
.cal { background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: var(--gd-elev-1); overflow: hidden; }
.cal-toolbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--gd-n200); }
.cal-nav { display: flex; gap: 4px; }
.cal-navbtn { width: 32px; height: 32px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; color: var(--gd-n700); display: grid; place-items: center; }
.cal-navbtn:hover { border-color: var(--gd-n300); background: var(--gd-n050); }
.cal-month { font-family: var(--gd-font-display); font-weight: 700; font-size: 16px; flex: 1; }
.cal-today { height: 32px; padding: 0 14px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-ink); }
.cal-today:hover { border-color: var(--gd-coral); color: var(--gd-coral); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--gd-n200); }
.cal-dowcell { padding: 8px; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gd-n500); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell { min-height: 96px; border-right: 1px solid var(--gd-n100); border-bottom: 1px solid var(--gd-n100); padding: 6px; background: #fff; text-align: left; display: flex; flex-direction: column; gap: 4px; transition: background .12s ease; }
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.cal-empty { background: var(--gd-n050); cursor: default; }
.cal-cell:not(.cal-empty):hover { background: var(--gd-n050); }
.cal-cell.is-sel { background: var(--gd-coral-08); box-shadow: inset 0 0 0 2px var(--gd-coral); }
.cal-date { font-size: 12.5px; font-weight: 600; color: var(--gd-ink); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.cal-cell.is-today .cal-date { background: var(--gd-coral); color: #fff; }
.cal-events { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.cal-ev { font-size: 10px; font-weight: 600; color: #fff; padding: 2px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-more { font-size: 10px; font-weight: 600; color: var(--gd-n500); padding: 0 4px; }
.agenda { background: #fff; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-lg); box-shadow: var(--gd-elev-1); overflow: hidden; position: sticky; top: 0; }
.agenda-head { padding: 16px; border-bottom: 1px solid var(--gd-n200); }
.agenda-date { font-family: var(--gd-font-display); font-weight: 700; font-size: 15px; }
.agenda-count { font-size: 12px; color: var(--gd-n500); margin-top: 2px; }
.agenda-list { padding: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 540px; overflow-y: auto; }
.agenda-card { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--gd-n200); border-radius: var(--gd-r-md); background: #fff; text-align: left; transition: box-shadow .14s ease; }
.agenda-card:hover { box-shadow: var(--gd-elev-2); }
.agenda-time { display: flex; flex-direction: column; align-items: flex-start; width: 48px; flex-shrink: 0; }
.agenda-start { font-family: var(--gd-font-display); font-weight: 700; font-size: 13px; }
.agenda-end { font-size: 11px; color: var(--gd-n500); }
.agenda-rail { width: 3px; border-radius: 3px; flex-shrink: 0; }
.agenda-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.agenda-row1 { display: flex; align-items: center; gap: 7px; }
.agenda-name { font-weight: 600; font-size: 13px; flex: 1; }
.agenda-kind { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gd-n500); }
.agenda-panel { display: flex; align-items: center; gap: 6px; }
.agenda-panel-label { font-size: 11px; color: var(--gd-n500); margin-right: 2px; }
.agenda-panel > span:not(.agenda-panel-label) { margin-left: -6px; box-shadow: 0 0 0 2px #fff; border-radius: 50%; }
.agenda-empty { text-align: center; padding: 36px 16px; }
.agenda-empty-ico { width: 44px; height: 44px; border-radius: var(--gd-r-md); background: var(--gd-n050); color: var(--gd-n400); display: grid; place-items: center; margin: 0 auto 10px; }
.agenda-empty-t { font-weight: 600; font-size: 13.5px; }
.agenda-empty-s { font-size: 12px; color: var(--gd-n500); margin-top: 2px; }
.agenda-add { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; height: 32px; padding: 0 12px; border-radius: var(--gd-r-md); border: 1px solid var(--gd-n200); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--gd-coral); }
.agenda-add:hover { border-color: var(--gd-coral); }
