:root {
  --ink: #142a2e;
  --ink-soft: #526468;
  --paper: #f5f3ed;
  --surface: #fffefa;
  --surface-2: #eceae2;
  --line: #d9d8d0;
  --teal: #0c5f60;
  --teal-2: #0b7774;
  --mint: #bce3d3;
  --mint-soft: #e2f1e9;
  --amber: #f2bd59;
  --coral: #e87b60;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 42, 46, 0.1);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  color: #eaf3ef;
  background: var(--ink);
  border-right: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 3px;
  color: var(--ink);
  background: var(--amber);
  font: 800 19px/1 Georgia, serif;
}
.brand strong, .brand span { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand span { margin-top: 2px; color: #9eb2b2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: grid; gap: 5px; margin-top: 42px; }
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 0;
  border-radius: 11px;
  color: #9fb0b1;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}
.nav-item svg { width: 18px; }
.nav-item:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-item.active { color: var(--white); background: rgba(188,227,211,.12); }
.nav-item.active svg { color: var(--mint); }
.nav-count { margin-left: auto; min-width: 23px; padding: 3px 7px; border-radius: 999px; color: var(--mint); background: rgba(188,227,211,.12); font-size: 11px; text-align: center; }
.sidebar-card {
  margin: auto 2px 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.sidebar-card .eyebrow { color: var(--amber); }
.sidebar-card strong { display: block; margin: 9px 0 7px; font-family: Georgia, serif; font-size: 18px; line-height: 1.25; }
.sidebar-card p { margin: 0; color: #9fb0b1; font-size: 12px; line-height: 1.5; }
.profile-chip { display: flex; align-items: center; gap: 10px; padding: 13px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.profile-chip .avatar { flex: 0 0 auto; }
.profile-chip div:nth-child(2) { min-width: 0; }
.profile-chip strong, .profile-chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-chip strong { font-size: 12px; }
.profile-chip span { margin-top: 3px; color: #819697; font-size: 10px; }
.profile-chip > svg { margin-left: auto; color: #718889; width: 17px; }
.avatar { display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--mint); font-weight: 800; }
.avatar-small { width: 33px; height: 33px; font-size: 10px; }

.main-column { min-width: 0; width: calc(100% - 250px); margin-left: 250px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 74px;
  display: flex;
  align-items: center;
  padding: 0 38px;
  border-bottom: 1px solid rgba(20,42,46,.09);
  background: rgba(245,243,237,.94);
  backdrop-filter: blur(14px);
}
.topbar-copy { display: flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: 12px; }
.topbar-copy strong { color: var(--ink); }
.separator { color: #a8adab; }
.topbar-actions { display: flex; gap: 9px; margin-left: auto; }
.content { min-height: calc(100vh - 74px); padding: 40px; }
.page { display: none; animation: page-in .28s ease both; }
.page.active { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } }

.eyebrow { color: var(--teal-2); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font: 500 clamp(38px, 4.7vw, 67px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
h1 em { color: var(--teal-2); font-weight: 500; }
h2 { margin-bottom: 0; font: 600 22px/1.15 Georgia, serif; letter-spacing: -.02em; }
p { color: var(--ink-soft); line-height: 1.65; }
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 40px;
  min-height: 390px;
  padding: 48px 54px;
  border: 1px solid #d6dad2;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border: 58px solid var(--mint-soft);
  border-radius: 50%;
  opacity: .65;
}
.hero > div:first-child { position: relative; z-index: 2; align-self: center; }
.hero h1 { max-width: 600px; margin-top: 13px; }
.hero p { max-width: 600px; margin-bottom: 24px; font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.primary-button, .secondary-button, .ghost-button, .text-button, .filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.primary-button { min-height: 43px; padding: 0 17px; border-radius: 10px; color: var(--white); background: var(--teal); font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(12,95,96,.16); }
.primary-button:hover { background: #084d4f; transform: translateY(-1px); }
.primary-button svg, .secondary-button svg, .ghost-button svg { width: 17px; }
.secondary-button { min-height: 43px; padding: 0 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 12px; font-weight: 700; }
.secondary-button:hover { border-color: #aeb9b4; background: var(--white); }
.ghost-button { height: 39px; padding: 0 13px; border-radius: 9px; color: var(--ink-soft); background: transparent; font-size: 12px; font-weight: 700; }
.ghost-button:hover { background: var(--surface-2); }
.text-button { padding: 4px 0; color: var(--teal); background: transparent; font-size: 12px; font-weight: 800; }
.text-button svg { width: 15px; transition: transform .16s ease; }
.text-button:hover svg { transform: translateX(3px); }
.wide { width: 100%; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-button { display: none; margin-right: 12px; }

.proof-card { position: relative; z-index: 2; display: grid; place-items: center; min-height: 280px; }
.proof-center {
  position: relative;
  z-index: 3;
  width: 145px;
  height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(20,42,46,.22);
}
.proof-center svg { width: 32px; height: 32px; margin-bottom: 9px; color: var(--mint); }
.proof-center strong { font: 600 20px Georgia, serif; }
.proof-center span { margin-top: 4px; color: #99b1ae; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.proof-orbit { position: absolute; border: 1px solid #bdcac4; border-radius: 50%; }
.orbit-one { width: 240px; height: 240px; }
.orbit-two { width: 325px; height: 325px; border-style: dashed; opacity: .55; }
.signal {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  padding: 9px 11px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(20,42,46,.1);
  font-size: 10px;
  font-weight: 700;
}
.signal span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: var(--teal); background: var(--mint-soft); font-size: 9px; }
.signal-top { top: 12px; right: 0; }
.signal-right { right: -6px; bottom: 55px; }
.signal-bottom { left: 0; bottom: 35px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.metric-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: 11px; }
.metric-top svg { width: 17px; color: var(--teal-2); }
.metric-card > strong { display: block; margin: 14px 0 8px; font: 600 34px Georgia, serif; letter-spacing: -.04em; }
.metric-card small { color: #7b8989; font-size: 10px; }
.metric-card small b { color: var(--teal-2); }
.accent-metric { color: var(--white); background: var(--teal); border-color: var(--teal); }
.accent-metric .metric-top, .accent-metric small { color: #b8d9d4; }
.accent-metric .metric-top svg { color: var(--amber); }

.dashboard-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 18px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.recent-panel, .score-panel { padding: 24px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.panel-heading h2 { margin-top: 6px; }
.candidate-list { display: grid; }
.candidate-row { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(120px,1fr) 68px 92px; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid #e6e5de; }
.candidate-row:first-child { border-top: 0; padding-top: 0; }
.candidate-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.candidate-person .avatar { width: 35px; height: 35px; flex: 0 0 auto; font-size: 10px; }
.candidate-person strong, .candidate-person span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.candidate-person strong { font-size: 12px; }
.candidate-person span { margin-top: 3px; color: #869190; font-size: 10px; }
.candidate-role { color: var(--ink-soft); font-size: 11px; }
.score-badge { font: 600 17px Georgia, serif; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.status-pill.verified, .status-pill.live { color: #08605b; background: var(--mint-soft); }
.status-pill.review { color: #97552c; background: #f9e7cf; }
.status-pill.progress { color: #526071; background: #e9ebef; }
.score-chart { display: grid; gap: 14px; margin: 28px 0; }
.chart-row { display: grid; grid-template-columns: 48px 1fr 20px; gap: 10px; align-items: center; color: #7b8787; font-size: 9px; }
.chart-row > div { height: 7px; overflow: hidden; border-radius: 10px; background: #e6e8e4; }
.chart-row i { display: block; height: 100%; border-radius: inherit; background: var(--teal-2); }
.chart-row b { color: var(--ink); text-align: right; }
.chart-note { display: flex; gap: 11px; padding: 14px; border-radius: 12px; background: var(--mint-soft); }
.chart-note svg { flex: 0 0 auto; width: 20px; color: var(--teal); }
.chart-note p { margin: 0; font-size: 10px; line-height: 1.45; }
.chart-note strong { display: block; color: var(--ink); margin-bottom: 2px; }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; }
.page-header h1 { margin: 10px 0 12px; font-size: clamp(39px,4.8vw,65px); }
.page-header p { max-width: 560px; margin-bottom: 0; font-size: 14px; }
.page-header.compact { align-items: center; }
.page-header.compact h1 { font-size: 45px; }
.toolbar, .table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.search-box { width: min(360px,100%); display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.search-box svg { width: 16px; color: #7c8988; }
.search-box input { width: 100%; height: 42px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.toolbar-note { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34a274; box-shadow: 0 0 0 4px #dff1e8; }
.assessment-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.assessment-card { position: relative; overflow: hidden; min-height: 300px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.assessment-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--card-accent, var(--teal)); }
.assessment-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; border-radius: 13px; color: var(--teal); background: var(--mint-soft); }
.assessment-icon svg { width: 21px; }
.assessment-card h2 { font-size: 24px; }
.assessment-card p { margin: 9px 0 20px; font-size: 11px; }
.assessment-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 25px; }
.assessment-tags span { padding: 5px 8px; border-radius: 6px; color: #5e6d6d; background: var(--surface-2); font-size: 9px; }
.assessment-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e5e4dd; color: #768585; font-size: 10px; }
.assessment-meta strong { display: block; margin-top: 3px; color: var(--ink); font-size: 12px; }
.assessment-card .card-action { position: absolute; right: 17px; top: 17px; }
.card-action { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; }
.card-action svg { width: 16px; }

.table-panel { overflow: hidden; }
.table-toolbar { padding: 18px; margin: 0; border-bottom: 1px solid var(--line); }
.filter-group { display: flex; padding: 3px; border-radius: 9px; background: var(--surface-2); }
.filter-button { padding: 7px 10px; border-radius: 7px; color: var(--ink-soft); background: transparent; font-size: 10px; font-weight: 700; }
.filter-button.active { color: var(--ink); background: var(--white); box-shadow: 0 2px 6px rgba(20,42,46,.08); }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.data-table th { padding: 13px 18px; color: #788585; background: #f8f7f2; font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .08em; }
.data-table td { padding: 16px 18px; border-top: 1px solid #e8e6df; color: var(--ink-soft); font-size: 11px; }
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: #faf9f5; }
.data-table .candidate-person strong { color: var(--ink); }
.table-score { display: flex; align-items: center; gap: 9px; }
.mini-progress { width: 52px; height: 5px; border-radius: 6px; background: #e4e5e0; }
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--teal-2); }
.integrity-cell { display: flex; gap: 5px; align-items: center; }
.integrity-cell span { width: 7px; height: 7px; border-radius: 50%; background: #c9d0ce; }
.integrity-cell span.on { background: var(--teal-2); }
.view-button { border: 0; background: transparent; color: var(--teal); font-size: 10px; font-weight: 800; cursor: pointer; }
.empty-state { grid-column: 1/-1; padding: 50px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius); }

.credential-summary { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.credential-summary div { padding: 22px; border-left: 1px solid var(--line); }
.credential-summary div:first-child { border-left: 0; }
.credential-summary span, .credential-summary strong { display: block; }
.credential-summary span { color: var(--ink-soft); font-size: 10px; }
.credential-summary strong { margin-top: 8px; font: 600 28px Georgia, serif; }
.credential-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.credential-card { position: relative; overflow: hidden; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.credential-card::after { content: ""; position: absolute; right: -42px; top: -48px; width: 125px; height: 125px; border: 24px solid var(--mint-soft); border-radius: 50%; }
.credential-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.credential-seal { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: var(--white); background: var(--teal); box-shadow: inset 0 0 0 4px var(--mint); }
.credential-seal svg { width: 22px; }
.credential-card h2 { margin-top: 23px; font-size: 25px; }
.credential-card > p { margin: 7px 0 22px; font-size: 11px; }
.credential-details { display: grid; grid-template-columns: 1.4fr .6fr; gap: 12px; padding: 15px; border-radius: 11px; background: #f1f0ea; }
.credential-details span, .credential-details strong { display: block; }
.credential-details span { color: #7a8786; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.credential-details strong { margin-top: 5px; font-size: 11px; }
.credential-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.credential-id { color: var(--teal); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; }

.verify-shell { min-height: calc(100vh - 154px); display: grid; grid-template-columns: 1fr 480px; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.verify-copy h1 { margin: 12px 0 20px; font-size: clamp(48px,6vw,80px); }
.verify-copy > p { max-width: 520px; font-size: 15px; }
.privacy-note { display: flex; gap: 10px; max-width: 480px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: #738180; font-size: 11px; line-height: 1.5; }
.privacy-note svg { flex: 0 0 auto; width: 18px; color: var(--teal-2); }
.verify-card { position: relative; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.verify-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 27px; border-radius: 15px; color: var(--white); background: var(--teal); }
.verify-mark svg { width: 26px; }
.verify-card h2 { font-size: 30px; }
.verify-card > p { margin: 8px 0 24px; font-size: 11px; }
.inline-code { padding: 3px 6px; border: 0; border-radius: 5px; color: var(--teal); background: var(--mint-soft); font: 700 10px ui-monospace, monospace; cursor: pointer; }
.verify-card label, .form-field { display: grid; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 800; }
.verify-card input, .form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid #cdd2ce;
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
}
.verify-card input:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(11,119,116,.1); }
.verify-card form .primary-button { margin-top: 12px; }
.verification-success, .verification-error { margin-top: 18px; padding: 16px; border-radius: 11px; }
.verification-success { border: 1px solid #b5d8ca; background: var(--mint-soft); }
.verification-error { border: 1px solid #e6bfaf; background: #fbebe5; }
.verification-result-head { display: flex; gap: 10px; align-items: center; }
.verification-result-head svg { width: 22px; color: var(--teal); }
.verification-result-head strong { font: 600 17px Georgia, serif; }
.verification-success dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0 0; padding-top: 14px; border-top: 1px solid #c6ded4; }
.verification-success dt { color: #6c7d78; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.verification-success dd { margin: 4px 0 0; font-size: 10px; font-weight: 700; }

.candidate-header { display: flex; align-items: center; justify-content: space-between; max-width: 950px; margin: 0 auto 36px; }
.compact-brand { color: var(--ink); padding: 0; }
.compact-brand .brand-mark { width: 34px; height: 34px; }
.compact-brand span { color: #7a8988; }
.timer { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font: 700 12px ui-monospace, monospace; }
.timer svg { width: 17px; color: var(--teal-2); }
.assessment-shell { max-width: 950px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: start; }
.assessment-intro { position: sticky; top: 115px; }
.assessment-intro h1 { margin-top: 12px; font-size: 52px; }
.assessment-intro > p { font-size: 13px; }
.integrity-banner { display: flex; gap: 11px; margin-top: 27px; padding: 16px; border: 1px solid #bed6cc; border-radius: 12px; background: var(--mint-soft); }
.integrity-banner svg { flex: 0 0 auto; width: 20px; color: var(--teal); }
.integrity-banner p { margin: 0; font-size: 10px; line-height: 1.5; }
.integrity-banner strong { display: block; color: var(--ink); }
.question-stack { display: grid; gap: 14px; }
.question-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.question-card > span { color: var(--teal-2); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.question-card h2 { margin: 10px 0 19px; font: 600 20px/1.3 Georgia, serif; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px; border: 1px solid #d9dcd8; border-radius: 9px; color: var(--ink-soft); font-size: 11px; cursor: pointer; transition: .15s ease; }
.choice:hover { border-color: #a8bbb4; }
.choice:has(input:checked) { color: var(--ink); border-color: var(--teal-2); background: var(--mint-soft); }
.choice input { accent-color: var(--teal); }
.question-card textarea { width: 100%; min-height: 140px; padding: 13px; resize: vertical; border: 1px solid #ccd2ce; border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font: 12px/1.6 inherit; }
.question-card textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(11,119,116,.1); }
.response-meta { display: flex; justify-content: space-between; margin-top: 7px; color: #879291; font-size: 9px; }
.submit-assessment { min-height: 48px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10,24,27,.7); backdrop-filter: blur(5px); }
.modal { position: relative; width: min(550px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 35px; border-radius: 22px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.3); animation: modal-in .2s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal-head { padding-right: 45px; margin-bottom: 25px; }
.modal-head h2 { margin: 8px 0 7px; font-size: 31px; }
.modal-head p { margin: 0; font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field.full { grid-column: 1/-1; }
.form-field textarea { min-height: 90px; padding-top: 12px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.credential-modal { text-align: center; }
.credential-modal .credential-seal { width: 70px; height: 70px; margin: 0 auto 20px; }
.credential-modal .credential-seal svg { width: 34px; }
.credential-modal h2 { font-size: 34px; }
.credential-modal .credential-id { display: inline-block; margin: 8px 0 20px; padding: 7px 10px; border-radius: 7px; background: var(--mint-soft); }
.credential-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; text-align: left; }
.credential-modal-grid div { padding: 13px; border-radius: 10px; background: var(--surface-2); }
.credential-modal-grid span, .credential-modal-grid strong { display: block; }
.credential-modal-grid span { color: #7d8988; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.credential-modal-grid strong { margin-top: 5px; font-size: 11px; }
.hash-block { overflow-wrap: anywhere; padding: 12px; border: 1px dashed #b9c4bf; border-radius: 9px; color: #6a7a78; background: #f8f7f2; font: 9px/1.5 ui-monospace, monospace; text-align: left; }
.modal-button-row { display: flex; gap: 9px; margin-top: 17px; }
.modal-button-row button { flex: 1; }
.toast { position: fixed; z-index: 150; right: 24px; bottom: 24px; max-width: 340px; padding: 13px 16px; border-radius: 11px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .72fr; padding: 40px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .assessment-grid { grid-template-columns: repeat(2,1fr); }
  .verify-shell { grid-template-columns: 1fr 430px; gap: 45px; }
  .signal-top { right: -15px; }
  .signal-bottom { left: -20px; }
}

@media (max-width: 900px) {
  .sidebar { width: 216px; }
  .main-column { width: calc(100% - 216px); margin-left: 216px; }
  .content { padding: 28px; }
  .topbar { padding: 0 28px; }
  .hero { grid-template-columns: 1fr; }
  .proof-card { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .verify-shell { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .verify-copy h1 { font-size: 58px; }
  .assessment-shell { grid-template-columns: 1fr; }
  .assessment-intro { position: static; }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); width: min(280px,86vw); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
  .sidebar.open { transform: translateX(0); }
  .main-column { width: 100%; margin-left: 0; }
  .menu-button { display: grid; }
  .workspace-label, .separator, .ghost-button { display: none; }
  .topbar { height: 66px; padding: 0 16px; }
  .topbar-actions .primary-button { min-height: 38px; padding: 0 12px; font-size: 10px; }
  .content { padding: 20px 16px 35px; }
  .hero { min-height: 0; padding: 30px 23px; border-radius: 21px; }
  .hero h1 { font-size: 45px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .metric-grid, .assessment-grid, .credential-grid, .credential-summary { grid-template-columns: 1fr; }
  .dashboard-grid { gap: 14px; }
  .candidate-row { grid-template-columns: 1fr 55px 86px; }
  .candidate-role { display: none; }
  .page-header { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .page-header h1 { font-size: 45px; }
  .toolbar, .table-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .filter-group { overflow-x: auto; }
  .credential-summary div { border-left: 0; border-top: 1px solid var(--line); }
  .credential-summary div:first-child { border-top: 0; }
  .verify-card { padding: 28px 22px; }
  .verify-copy h1 { font-size: 49px; }
  .candidate-header { margin-bottom: 25px; }
  .candidate-header .compact-brand span { display: none; }
  .assessment-intro h1 { font-size: 45px; }
  .question-card { padding: 20px; }
  .form-grid, .credential-modal-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 22px; }
  .modal-button-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
