:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #142033; background: #edf3f8; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(900px, calc(100% - 28px)); margin: 0 auto 50px; }
header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 34px 4px 22px; }
header h1 { margin: 5px 0; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; }
header p { margin: 0; color: #607083; }
.eyebrow { color: #e85d04; font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.portal-link { color: #0b4f71; font-weight: 800; text-decoration: none; }
h2 { margin: 0 0 14px; font-size: 20px; }
.card { margin: 14px 0; padding: 20px; border: 1px solid #dce6ef; border-radius: 17px; background: #fff; box-shadow: 0 8px 25px #1d31490f; }
#access-card { max-width: 520px; margin-inline: auto; }
label { display: grid; gap: 7px; margin: 13px 0; color: #526174; font-size: 13px; font-weight: 750; }
input, select, button { width: 100%; padding: 11px 12px; border: 1px solid #c9d7e4; border-radius: 10px; font: inherit; }
input, select { color: #142033; background: #fff; }
button { margin-top: 7px; border: 0; color: #fff; background: #e85d04; cursor: pointer; font-weight: 850; }
button:hover { background: #c64b00; }
button:disabled { cursor: not-allowed; opacity: .58; }
.hint { color: #607083; font-size: 13px; line-height: 1.45; }
.status { min-height: 20px; padding: 0 8px; line-height: 1.45; }
.status.ok { color: #087443; }
.status.error { color: #bb1e2e; }
.hidden { display: none !important; }
.empty { color: #708090; font-size: 14px; }
.action-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.action-head h2 { margin: 4px 0; font-size: clamp(21px, 4vw, 29px); }
.action-head .hint { margin: 0; }
.quiet-button { width: auto; margin: 0; padding: 9px 11px; color: #0b4f71; background: #edf3f8; font-size: 12px; white-space: nowrap; }
.quiet-button:hover { color: #fff; background: #0b4f71; }
.event-state { margin: 12px 0; padding: 13px; border-radius: 11px; color: #0b4f71; background: #eaf5fb; }
.event-progress { display: grid; gap: 11px; }
.event-progress > div { display: grid; gap: 3px; }
.event-progress strong { font-size: 15px; }
.event-progress span { color: #526174; font-size: 12px; }
.event-progress ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: progress; }
.event-progress li { position: relative; padding: 8px 7px 8px 27px; border-radius: 8px; color: #708090; background: #fff; font-size: 11px; line-height: 1.25; }
.event-progress li::before { position: absolute; top: 7px; left: 7px; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; color: #708090; background: #edf3f8; content: counter(progress); counter-increment: progress; font-size: 10px; font-weight: 900; }
.event-progress li.is-done { color: #067647; background: #ecfdf3; }
.event-progress li.is-done::before { color: #fff; background: #067647; content: '✓'; }
.event-progress li.is-current { color: #0b4f71; background: #fff7ed; }
.event-progress li.is-current::before { color: #fff; background: #e85d04; }
#submit { min-height: 52px; font-size: 16px; }
.employee-calendar-card { margin-top: 16px; }
.employee-calendar-card > summary { color: #0b4f71; cursor: pointer; font-weight: 850; }
.employee-calendar-card[open] > summary { margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid #e4ebf1; }

@media (max-width: 620px) {
  .shell { width: min(100% - 18px, 900px); }
  header { align-items: flex-start; flex-direction: column; padding-top: 24px; }
  .card { padding: 14px; border-radius: 14px; }
  .action-head { align-items: flex-start; }
  .quiet-button { padding: 8px; }
  .event-progress ol { grid-template-columns: 1fr; }
  .employee-action-card { box-shadow: 0 12px 32px #102a4317; }
}
