:root {
  color-scheme: light;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  color: #253a2d;
  background: #f5f5ee;
  --ink: #263b2d;
  --green: #2e4835;
  --darker: #22382a;
  --muted: #5b6b5d;
  --line: #e1e5d9;
  --soft: #eef2e8;
  --surface: #fffefa;
  --white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.icon { width: 18px; height: 18px; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) { width: 1px; height: 1px; padding: 0; position: absolute; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: absolute; z-index: 5; background: white; padding: .8rem; }
:focus-visible { outline: 2px solid #527849; outline-offset: 3px; }
.shell { max-width: 1264px; padding-inline: 38px; margin-inline: auto; }
.topbar { background: #fffefa; border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 76px; display: flex; align-items: center; gap: 20px; }
.wordmark { display: flex; gap: 10px; align-items: center; }
.brand-mark { display: grid; place-items: center; border-radius: 12px; background: var(--green); color: #fffefa; font-family: Georgia, serif; font-style: italic; font-size: 1.36rem; width: 37px; height: 37px; padding-right: 2px; }
.wordmark strong { font-family: Georgia, serif; font-size: 1.28rem; letter-spacing: -.035em; display: block; line-height: 1; }
.wordmark div span { display: block; margin-top: 5px; font-size: .55rem; letter-spacing: .17em; font-weight: 750; color: var(--muted); }
.top-separator { height: 26px; border-left: 1px solid var(--line); }
.context, .portal-link { font-size: .85rem; font-weight: 620; color: var(--muted); }
.top-right { margin-left: auto; display: flex; gap: 17px; align-items: center; }
.portal-link { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.portal-link:hover { text-decoration: underline; }
.portal-link .icon { width: 14px; height: 14px; }
.profile { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e7eddf; font-size: .77rem; font-weight: 750; }
.logout { border: 0; background: transparent; color: var(--muted); font-size: .78rem; padding: 7px 2px; }
.logout:hover { color: var(--green); text-decoration: underline; }
.hero { margin-top: 30px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 197px; padding: 30px 36px; border-radius: 19px; background: var(--green); color: #fffefa; box-shadow: 0 4px 12px #25372a12; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-weight: 750; color: #d7e1c9; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow .icon { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.85rem, 4.7vw, 4.2rem); letter-spacing: -.066em; line-height: 1.02; margin: 10px 0 11px; }
.hero-copy > p:last-child { font-size: 1.04rem; color: #e6ebdf; }
.hero-art { position: absolute; z-index: 0; top: 50%; right: 12%; width: 0; height: 0; }
.art-ring { position: absolute; inset: auto; left: -169px; top: -169px; width: 338px; height: 338px; border: 1px solid #d0ddba39; border-radius: 50%; }
.art-ring:nth-child(2) { left: -132px; top: -132px; width: 264px; height: 264px; }
.art-card { position: absolute; color: #dae7c8; display: grid; place-items: center; width: 93px; height: 105px; left: -49px; top: -55px; border-radius: 20px; background: #3b5640; border: 1px solid #aec3a17a; transform: rotate(-12deg); }
.art-card .icon { width: 42px; height: 42px; stroke-width: 1.35; }
.art-check { position: absolute; color: #334633; display: grid; place-items: center; border-radius: 50%; width: 37px; height: 37px; left: 28px; top: 15px; background: #dce8c2; }
.art-check .icon { width: 22px; height: 22px; stroke-width: 2; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 1px 17px; }
.counter, .toolbar-actions { display: flex; align-items: center; gap: 10px; }
.counter > .icon { color: #648062; }
.counter strong { font-size: .99rem; }
.timezone { font-size: .79rem; color: var(--muted); border-left: 1px solid #dce0d2; padding-left: 11px; }
.button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 39px; padding: 8px 13px; border-radius: 8px; border: 1px solid transparent; font-weight: 680; font-size: .85rem; white-space: nowrap; color: var(--green); background: transparent; }
.button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.button.primary:hover:enabled { background: var(--darker); }
.button.secondary { background: var(--surface); border-color: #dbe1d3; }
.button.secondary:hover:enabled, .button.icon-only:hover:enabled { background: var(--soft); }
.button.icon-only { width: 39px; padding-inline: 0; }
.notice { margin: 0 0 14px; padding: 12px 15px; border-radius: 8px; background: #f6eadb; color: #623f20; }
.layout { display: grid; grid-template-columns: 336px minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { border-radius: 15px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 3px 8px #2b3d2606; min-width: 0; }
.directory { position: sticky; top: 12px; overflow: hidden; }
.directory-head { padding: 18px 17px 15px; border-bottom: 1px solid var(--line); }
.directory-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.directory-title h2 { font-size: 1.36rem; letter-spacing: -.035em; }
.count { background: var(--soft); color: var(--green); font-weight: 720; font-size: .76rem; border-radius: 20px; padding: 4px 9px; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 10px; color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #dce1d5; border-radius: 8px; padding: 9px 11px; color: var(--ink); background: #fffefa; }
::placeholder { color: #6c786b; opacity: 1; }
.search-field input { height: 39px; padding-left: 35px; font-size: .84rem; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.filter-row select { height: 36px; padding: 5px 6px; font-size: .82rem; }
.candidates { max-height: max(390px, calc(100vh - 200px)); overflow: auto; padding: 4px 8px 9px; }
.day-label { color: var(--muted); font-size: .71rem; font-weight: 750; text-transform: uppercase; letter-spacing: .085em; padding: 12px 9px 5px; }
.candidate { background: transparent; width: 100%; text-align: left; border: 1px solid transparent; border-radius: 9px; padding: 10px 7px 10px 8px; margin: 2px 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) 15px; align-items: center; gap: 8px; color: var(--ink); }
.candidate:hover { background: #f5f7f0; }
.candidate[aria-current="true"] { border-color: #d7e2ce; background: #eaf1e4; }
.candidate > .icon { width: 15px; height: 15px; color: #657963; }
.candidate time { font-weight: 750; font-size: .79rem; font-variant-numeric: tabular-nums; align-self: start; margin-top: 2px; color: #49634c; }
.candidate-info { min-width: 0; }
.candidate-info strong, .candidate-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.candidate-info strong { font-size: .91rem; }
.candidate-info small { color: var(--muted); font-size: .75rem; margin-top: 3px; }
.list-empty { padding: 15px 9px 22px; color: var(--muted); }
.detail { min-height: 342px; }
.detail-head { padding: 22px 24px 16px; }
.detail-label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.detail-title { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; margin-top: 6px; }
.detail-title h2 { font-size: clamp(1.62rem, 2.6vw, 2.44rem); letter-spacing: -.048em; line-height: 1.15; overflow-wrap: anywhere; }
.detail-title .button { min-height: 34px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); margin-top: 12px; font-size: .84rem; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta .icon { width: 16px; height: 16px; color: #648062; }
.role-line { margin-top: 6px; font-weight: 640; font-size: .94rem; }
.tab-row { display: flex; gap: 19px; align-items: stretch; border-bottom: 1px solid var(--line); padding-inline: 24px; }
.tab { padding: 12px 2px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); min-height: 42px; font-size: .84rem; font-weight: 670; }
.tab[aria-pressed="true"] { color: var(--green); border-color: #446449; }
.tab .icon { width: 16px; height: 16px; margin-right: 5px; }
.tab-count { background: var(--soft); padding: 2px 5px; border-radius: 20px; font-size: .7rem; margin-left: 4px; }
.review-body { padding: 19px 24px 24px; }
.progress-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.progress-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.progress-label { color: var(--muted); font-weight: 640; font-size: .79rem; }
progress { appearance: none; -webkit-appearance: none; height: 5px; width: 100%; border: 0; border-radius: 9px; background: #e9ede2; }
progress::-webkit-progress-bar { background: #e9ede2; border-radius: 9px; }
progress::-webkit-progress-value { background: #628661; border-radius: 9px; }
progress::-moz-progress-bar { background: #628661; border-radius: 9px; }
.progress-count { font-size: .77rem; color: var(--green); font-weight: 770; }
.question-set-label { display: inline-flex; margin: 0 0 13px; padding: 5px 9px; border-radius: 20px; background: var(--soft); color: var(--green); font-size: .72rem; font-weight: 750; }
.availability, .overall-score { border-top: 1px solid #e8ebe2; padding: 17px 0 18px; }
.section-heading { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.section-heading h3, .overall-score h3 { margin: 3px 0 0; font-size: .98rem; }
.day-picker, .shift-picker { border: 0; margin: 14px 0 0; padding: 0; }
.day-picker legend, .shift-picker legend { margin-bottom: 7px; color: var(--muted); font-size: .77rem; font-weight: 700; }
.day-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.day-picker label { position: relative; margin: 0; }
.day-picker input { position: absolute; opacity: 0; pointer-events: none; }
.day-picker span { display: block; padding: 7px 9px; border: 1px solid #dce1d5; border-radius: 8px; background: #fffefa; color: var(--muted); font-size: .77rem; font-weight: 650; cursor: pointer; }
.day-picker input:checked + span { border-color: #789274; background: #e7f0df; color: var(--green); }
.day-picker input:focus-visible + span { outline: 2px solid #527849; outline-offset: 2px; }
.availability-grid { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(250px, 1.2fr); gap: 14px; align-items: end; margin-top: 14px; }
.availability-grid > label { color: var(--muted); font-size: .77rem; font-weight: 700; }
.availability-grid select { display: block; margin-top: 7px; min-height: 39px; }
.shift-picker { margin-top: 0; }
.shift-picker button { min-height: 39px; padding: 7px 10px; border: 1px solid #dce1d5; background: #fffefa; color: var(--muted); font-size: .78rem; font-weight: 650; }
.shift-picker button:first-of-type { border-radius: 8px 0 0 8px; }
.shift-picker button:last-of-type { border-radius: 0 8px 8px 0; }
.shift-picker button + button { border-left: 0; }
.shift-picker button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.notes-label { display: block; margin-top: 12px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.question .notes-label { margin: 12px 0 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.notes-label textarea { margin-top: 6px; color: var(--ink); font-weight: 450; }
.question { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; border-top: 1px solid #e8ebe2; padding: 15px 0 14px; }
.question > div { min-width: 0; }
.question-number { background: var(--soft); display: grid; width: 29px; height: 29px; place-items: center; color: var(--green); font-size: .76rem; font-weight: 800; border-radius: 8px; }
.question-number.done { background: #dfeadc; }
.question label, .question-prompt { font-weight: 650; font-size: .92rem; line-height: 1.42; display: block; margin: 4px 0 8px; }
.tag { display: block; color: var(--muted); font-weight: 750; letter-spacing: .06em; font-size: .66rem; text-transform: uppercase; }
.question textarea { display: block; resize: vertical; min-height: 65px; font-size: .88rem; padding: 9px 10px; line-height: 1.38; }
.rating-row { display: flex; align-items: center; gap: 12px; margin: 8px 0 11px; color: var(--muted); font-size: .77rem; font-weight: 650; }
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars button { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: #c8cec3; font-size: 1.48rem; line-height: 1; }
.stars button:hover, .stars button.filled, .stars span.filled { color: #d49622; }
.read-only-stars { margin: 8px 0; color: #c8cec3; font-size: 1.15rem; }
.read-only-stars strong { margin-left: 7px; color: var(--green); font-size: .76rem; }
.overall-score { margin-top: 2px; }
.score-picker { display: grid; grid-template-columns: repeat(10, minmax(31px, 1fr)); gap: 5px; margin-top: 11px; }
.score-picker button { min-height: 36px; border: 1px solid #dce1d5; border-radius: 7px; background: #fffefa; color: var(--muted); font-weight: 750; }
.score-picker button:hover, .score-picker button.selected { border-color: var(--green); background: var(--green); color: white; }
.overall-result { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; color: var(--green); }
.overall-result strong { font-size: 2rem; line-height: 1; }
.overall-result span { color: var(--muted); font-weight: 700; }
.availability-summary { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 9px; margin: 13px 0 0; }
.availability-summary div { padding: 9px; border-radius: 8px; background: #f4f6f0; }
.availability-summary dt { color: var(--muted); font-size: .67rem; font-weight: 750; text-transform: uppercase; }
.availability-summary dd { margin: 4px 0 0; font-size: .82rem; font-weight: 650; }
.read-only-section { padding-inline: 12px; }
.review-footer { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 15px; }
.review-message { flex: 1 1 100%; color: var(--muted); font-size: .82rem; }
.review-message:empty { display: none; }
.review-message.failure, .form-error { color: #913a2c; }
.reviewer { border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; }
.reviewer summary { cursor: pointer; padding: 13px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.reviewer summary strong { color: var(--green); }
.reviewer-content { padding: 0 12px 12px; }
.reviewer .question { margin-inline: 0; }
.read-only-answer { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.empty-detail { padding: 48px 26px; min-height: 342px; display: grid; align-content: center; justify-items: center; gap: 11px; text-align: center; color: var(--muted); }
.empty-detail > .icon { width: 35px; height: 35px; color: #628061; }
.empty-detail h2 { color: var(--ink); font-size: 1.25rem; }
footer { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); padding: 28px 0; font-size: .78rem; }
footer .icon { height: 14px; width: 14px; }
dialog { color: var(--ink); width: min(435px, calc(100vw - 26px)); padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 20px 60px #25372a40; }
dialog::backdrop { background: #23372a61; }
.login-page { min-height: 100vh; background: #f5f5ee; }
.login-main { min-height: calc(100vh - 77px); display: grid; place-items: center; padding-block: 38px; }
.login-card { width: min(448px, 100%); padding: 34px; border-radius: 17px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 36px #273a2a17; }
.login-card .eyebrow { color: #667764; }
.login-card h1 { margin: 11px 0 9px; font-size: 2.2rem; letter-spacing: -.05em; }
.login-intro { color: var(--muted); line-height: 1.45; margin-bottom: 24px; }
.login-card label { display: block; margin-top: 13px; font-size: .84rem; font-weight: 680; }
.login-card input { display: block; margin-top: 5px; min-height: 43px; }
.login-card .button { width: 100%; margin-top: 19px; min-height: 43px; }
.login-error { min-height: 19px; margin-top: 12px; color: #913a2c; font-size: .84rem; }
.login-note { margin-top: 17px; color: var(--muted); font-size: .77rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.login-note .icon { width: 14px; height: 14px; }
.dialog-header, .dialog-actions { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
dialog h2 { font-size: 1.37rem; letter-spacing: -.025em; }
dialog label { display: block; margin-top: 11px; font-size: .84rem; font-weight: 650; }
dialog input, dialog select { display: block; margin-top: 4px; font-weight: 450; }
.form-hint { display: block; min-height: 1.1em; margin-top: 5px; color: var(--muted); font-size: .75rem; font-weight: 500; }
.dialog-actions { justify-content: flex-end; margin-top: 17px; }
.form-error { font-size: .84rem; margin-top: 11px; }
@media (max-width: 900px) {
  .shell { padding-inline: 20px; }
  .layout { grid-template-columns: 285px minmax(0, 1fr); gap: 12px; }
  .hero-art { right: 15%; }
}
@media (max-width: 680px) {
  .shell { padding-inline: 13px; }
  .topbar-inner { gap: 11px; min-height: 62px; }
  .top-right { gap: 9px; }
  .top-separator, .context, .timezone { display: none; }
  .portal-link { font-size: .75rem; }
  .hero { margin-top: 15px; padding: 23px 18px; min-height: 157px; border-radius: 14px; }
  .hero-copy > p:last-child { font-size: .9rem; max-width: 240px; line-height: 1.25; }
  .hero-art { transform: scale(.62); opacity: .77; right: 14%; }
  .toolbar { padding-block: 16px 12px; }
  .toolbar-actions { gap: 5px; }
  .counter { gap: 6px; }
  .counter strong { font-size: .86rem; }
  .layout { grid-template-columns: 1fr; }
  .directory { position: static; }
  .candidates { max-height: 230px; }
  .directory-head, .detail-head { padding-inline: 15px; }
  .review-body, .tab-row { padding-inline: 15px; }
  .availability-grid { grid-template-columns: 1fr; }
  .score-picker { grid-template-columns: repeat(5, 1fr); }
  .rating-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .availability-summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { .button, .candidate { transition: background .14s ease; } }
