:root {
  color-scheme: light;
  --ink: #172624;
  --text: #3e505d;
  --muted: #536775;
  --blue: #1568bd;
  --line: #d6e0e8;
  --pale: #edf5fd;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #f3f6f9;
  font-size: 16px;
  line-height: 1.6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1265b6; outline-offset: 4px; }
h1:focus, main:focus { outline: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); letter-spacing: -.035em; margin: 0 0 12px; max-width: 780px; }
h2 { font-size: 1.35rem; margin: 0 0 16px; letter-spacing: -.015em; }
h3 { font-size: 1rem; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.site-header { background: #fff; border-top: 5px solid var(--blue); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1100px; margin: auto; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-inner img { display: block; max-width: 100%; height: auto; }
.home-link { font-size: .9rem; font-weight: 600; }
.planner { max-width: 1060px; padding: 40px 28px 24px; margin: 0 auto; }
.intro { margin-bottom: 30px; }
.eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .13em; color: var(--blue); margin: 0 0 12px; }
.intro-title { font-size: 1.25rem; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.intro > p:last-child { color: var(--muted); margin: 0; }
.steps { padding: 0; margin: 0 0 28px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; padding: 14px 10px; border-bottom: 3px solid var(--line); }
.steps li[aria-current] { border-color: var(--blue); color: var(--blue); font-weight: 700; }
.step-number { border: 1px solid var(--line); background: #fff; border-radius: 50%; width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps li[aria-current] .step-number { background: var(--blue); color: white; border-color: var(--blue); }
.step-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: 0 8px 32px #142e4610; }
.lead { font-size: 1.04rem; color: var(--muted); margin-bottom: 24px; }
.help { font-size: .9rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.department-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 12px; }
.department-option { border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: flex-start; gap: 12px; padding: 20px 16px; cursor: pointer; }
.department-option:hover { border-color: var(--blue); }
.department-option:has(input:checked) { border-color: var(--blue); background: var(--pale); box-shadow: inset 0 0 0 1px var(--blue); }
input[type="checkbox"] { accent-color: var(--blue); width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0 0; cursor: pointer; }
.department-option strong { color: var(--ink); display: block; line-height: 1.4; margin-bottom: 6px; font-size: .96rem; }
.department-option small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.actions { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.actions-end { justify-content: flex-end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; font-size: .94rem; line-height: 1.5; text-decoration: none; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: #0b5197; }
.secondary { background: white; color: var(--text); border-color: var(--line); }
.secondary:hover { border-color: var(--blue); color: var(--blue); }
.context-note { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
.context-note h2 { font-size: 1rem; margin-bottom: 8px; }
.context-note p { font-size: .9rem; color: var(--muted); margin: 0; }
.error { color: #ae2638; font-weight: 600; font-size: .9rem; }
.error:empty { display: none; }
.next-action { display: flex; align-items: center; gap: 18px; }
.selection-count { margin: 0; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.check-groups { display: grid; gap: 12px; }
.check-group { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.check-group summary { padding: 16px 18px; cursor: pointer; color: var(--ink); font-weight: 700; }
.check-group summary:hover { background: #f6f9fc; }
.group-count { float: right; font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: 10px; }
.check-group[open] summary { border-bottom: 1px solid var(--line); background: #f6f9fc; }
.check-group fieldset { padding: 10px 18px; }
.check-option { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; cursor: pointer; font-size: .94rem; }
.check-option + .check-option { border-top: 1px solid #edf1f5; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c8def3; background: var(--pale); border-radius: 10px; margin: 26px 0 18px; }
.total { padding: 22px 12px; text-align: center; }
.total + .total { border-left: 1px solid #c8def3; }
.total strong { display: block; color: var(--blue); font-size: 2.1rem; line-height: 1.2; margin-bottom: 8px; }
.total span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.text-button { border: 0; padding: 4px 0; color: var(--blue); background: none; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.result-section { margin-top: 36px; }
.selected-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.selected-checks ul { margin: 0; padding-left: 20px; font-size: .9rem; }
.selected-checks li { margin: 5px 0; }
.table-scroll { overflow-x: auto; margin-bottom: 16px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .88rem; }
th { background: #20364b; color: #fff; padding: 12px; font-weight: 600; }
td { padding: 15px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td:nth-child(2) { text-align: center; }
.asset-status { display: block; font-size: .76rem; color: #365e6d; margin-top: 5px; }
.calendar { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 22px; }
.calendar-month { display: grid; grid-template-columns: 155px minmax(0, 1fr); }
.calendar-month + .calendar-month { border-top: 1px solid var(--line); }
.month-heading { background: #f4f7fa; padding: 16px; }
.month-heading h3 { font-size: .91rem; margin: 0; }
.month-heading small { display: block; font-size: .74rem; color: var(--muted); margin-bottom: 4px; }
.month-activities { padding: 16px 20px; margin: 0; list-style: none; font-size: .9rem; }
.month-activities li + li { margin-top: 12px; }
.activity-department { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.empty-month { color: var(--muted); font-size: .85rem; }
.notice { background: #f4f7fa; border-left: 3px solid var(--blue); padding: 16px 18px; font-size: .86rem; color: var(--muted); }
.privacy-note { text-align: center; margin: 24px 0 0; font-size: .8rem; color: var(--muted); }
.site-footer { max-width: 1060px; margin: 0 auto; padding: 12px 28px 32px; display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; color: var(--muted); }
.site-footer p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; background: #fff; padding: 12px; z-index: 2; }
.skip-link:focus { top: 10px; }
@media (max-width: 640px) {
  .header-inner { padding: 14px 18px; }
  .header-inner img { width: 180px; }
  .header-inner .home-link { font-size: .75rem; max-width: 90px; text-align: right; }
  .planner { padding: 26px 16px 20px; }
  .intro { margin-bottom: 20px; }
  .steps { margin-bottom: 20px; }
  .steps li { font-size: .73rem; gap: 6px; padding: 10px 2px; }
  .step-number { width: 23px; height: 23px; }
  .step-panel { padding: 24px 18px; border-radius: 10px; }
  .department-grid, .selected-checks { grid-template-columns: 1fr; }
  .department-option { padding: 16px; }
  .actions { flex-wrap: wrap; }
  .next-action { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .next-action .selection-count { text-align: right; }
  .actions-end .button { width: 100%; }
  .total { padding: 18px 6px; }
  .total strong { font-size: 1.8rem; }
  .total span { font-size: .61rem; letter-spacing: 0; }
  .check-group summary { padding: 14px 12px; font-size: .85rem; }
  .group-count { font-size: .7rem; }
  .check-group fieldset { padding: 8px 12px; }
  .check-option { font-size: .87rem; }
  th, td { padding: 10px 8px; }
  table { font-size: .79rem; }
  .calendar-month { grid-template-columns: 1fr; }
  .month-heading { padding: 10px 14px; }
  .month-heading small { display: inline; margin-right: 8px; }
  .month-heading h3 { display: inline; }
  .month-activities { padding: 14px; }
  .site-footer { padding: 12px 18px 28px; flex-wrap: wrap; }
}
