:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: #18342c;
  background: #f8f9f4;
  font-synthesis: none;
  --ink: #18342c;
  --muted: #4f6259;
  --line: #dbe2d8;
  --paper: #fff;
  --green: #1d4b3d;
  --heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], .js-only, .is-js .no-script-only { display: none !important; }
.is-js .js-only:not([hidden]) { display: revert !important; }
.is-js .button.js-only:not([hidden]), .is-js .switch.js-only:not([hidden]) { display: inline-flex !important; }
.is-js .filters.js-only:not([hidden]) { display: flex !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; line-height: 1.55; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--heading); letter-spacing: -.035em; }
a { color: inherit; }
button, select { font: inherit; }
button, select, .date-type label, .switch label { cursor: pointer; }
:focus-visible { outline: 3px solid #28654f; outline-offset: 4px; }
.skip { position: fixed; inset: .5rem auto auto 1rem; z-index: 5; transform: translateY(-180%); background: white; padding: .65rem 1rem; }
.skip:focus { transform: none; }
.shell { width: min(100% - 3.5rem, 73rem); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner, .footer-inner { min-height: 4.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; font-size: 1.08rem; font-weight: 780; letter-spacing: -.035em; text-decoration: none; }
.brand > span:last-child { color: #48685a; }
.brand-icon { display: grid; grid-template-columns: repeat(2, .36rem); gap: .13rem; background: var(--green); border-radius: .42rem; padding: .4rem; margin-right: .12rem; }
.brand-icon i { width: .36rem; height: .36rem; border-radius: .1rem; background: #bde8ad; }
.brand-icon i:nth-child(2), .brand-icon i:nth-child(3) { background: #72ae81; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
nav a { color: var(--muted); font-weight: 650; font-size: .88rem; text-decoration: none; }
nav a:hover, .brand:hover { color: #205640; text-decoration: underline; text-underline-offset: .2em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .92fr); gap: clamp(2.2rem, 7.5vw, 7.3rem); align-items: center; padding-block: clamp(2.8rem, 6vw, 5.35rem); }
.eyebrow { font-size: .82rem; font-weight: 790; color: #416452; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { padding-inline: .35em; color: #6e8a7c; }
h1 { font-size: clamp(3.25rem, 6.5vw, 6.3rem); line-height: .97; font-weight: 500; margin-top: .85rem; }
h1 em { color: #357455; font-weight: inherit; white-space: nowrap; }
.intro { max-width: 31rem; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.22rem); margin-top: 1.25rem; }
.button { min-height: 2.85rem; padding: .67rem 1rem; justify-content: center; align-items: center; gap: .6rem; border-radius: .65rem; font-size: .91rem; font-weight: 730; text-decoration: none; white-space: nowrap; }
.button-dark { display: inline-flex; margin-top: 1.6rem; background: var(--green); color: white; border: 1px solid var(--green); }
.button-dark:hover { background: #10392d; }
.button-outline { background: var(--paper); color: var(--green); border: 1px solid #b5c8bb; }
.button-outline:hover { background: #edf5ec; }
.button-outline:disabled { cursor: default; opacity: .57; }
.download-icon { width: .9rem; height: .8rem; display: inline-block; position: relative; border-right: 1.5px solid currentColor; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; border-top: 0; border-radius: 0 0 .12rem .12rem; clip-path: polygon(0 48%, 26% 48%, 26% 0, 74% 0, 74% 48%, 100% 48%, 100% 100%, 0 100%); }
.download-icon::before, .download-icon::after { content: ""; position: absolute; left: 50%; }
.download-icon::before { border-left: 1.5px solid currentColor; height: .53rem; transform: translateX(-50%); }
.download-icon::after { width: .32rem; height: .32rem; top: .19rem; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-50%) rotate(45deg); }
.facts { display: flex; flex-wrap: wrap; gap: .75rem 0; margin-top: 1.9rem; }
.facts > div { padding-inline: clamp(.75rem, 2.3vw, 1.65rem); border-left: 1px solid #ccd8cc; }
.facts > div:first-child { border: 0; padding-left: 0; }
.facts > div:last-child { padding-right: 0; }
.facts dd { font-family: var(--heading); font-weight: 600; font-size: 2rem; line-height: 1; }
.facts dt { margin-top: .28rem; font-size: .82rem; color: var(--muted); font-weight: 630; }
.fact-note { color: var(--muted); margin-top: .65rem; font-size: .78rem; }
.hero-card { color: #ffffff; padding: clamp(1.35rem, 2.6vw, 2rem); background: #1a4539; border-radius: 1.55rem; box-shadow: 0 1.15rem 2.6rem #173a2822; }
.hero-card-header { display: flex; justify-content: space-between; align-items: center; gap: .4rem .8rem; }
.hero-card-header p { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; color: #bddec5; font-weight: 730; }
.hero-card h2 { font-weight: 500; font-size: clamp(1.7rem, 3.1vw, 2.7rem); line-height: 1.06; margin-top: .15rem; }
.duration { display: grid; min-width: 3.7rem; border: 1px solid #57836d; border-radius: .65rem; padding: .45rem .65rem; text-align: center; color: #d2ebd5; font-size: .74rem; line-height: 1.25; }
.duration strong { display: block; color: #dafaaf; font-family: var(--heading); font-size: 1.7rem; font-weight: 500; }
.hero-range { color: #e5f3e7; margin-top: .35rem; font-size: .95rem; }
.mini-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .27rem; margin-top: 1.22rem; text-align: center; }
.mini-week > span { display: grid; place-items: center; min-height: clamp(1.6rem, 3.8vw, 2.2rem); border-radius: .3rem; font-size: .78rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.mini-week > span:nth-child(-n+7) { color: #c0dfc7; min-height: 1.2rem; font-size: .7rem; }
.mini-week .on { color: #214c30; background: #c9e5bc; }
.mini-week .on.weekend { color: #19372a; background: #a8cd9f; }
.mini-week .off { color: #bad6c1; background: #265444; }
.mini-week .back { color: #ecf8eb; border: 1px solid #82b890; }
.hero-card-footer { display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: space-between; border-top: 1px solid #557969; margin-top: 1rem; padding-top: .73rem; font-size: .76rem; color: #d6eadb; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16.8rem, .46fr); align-items: start; gap: 1.4rem; }
.dates-panel, .leave-panel, .reference-card { border: 1px solid var(--line); border-radius: 1.25rem; }
.dates-panel { padding: clamp(1rem, 2.6vw, 1.8rem); background: var(--paper); }
.section-top { display: flex; gap: .55rem; justify-content: space-between; align-items: flex-end; }
.section-kicker { font-size: .73rem; }
.section-top h2, .leave-heading h2 { font-size: clamp(1.95rem, 4vw, 3rem); font-weight: 500; line-height: 1; margin-top: .25rem; }
.filters { flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin-top: 1.35rem; }
fieldset { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
.date-type legend, .select-label { color: var(--muted); font-size: .79rem; font-weight: 700; }
.date-type legend { padding: 0; margin-bottom: .25rem; }
.date-type { display: flex; align-items: center; flex-wrap: wrap; gap: .16rem; }
.date-type input, .switch input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.date-type label > span, .switch label > span { display: block; border-radius: .43rem; color: #345448; font-weight: 700; font-size: .88rem; padding: .4rem .62rem; border: 1px solid transparent; }
.date-type label:hover > span, .switch label:hover > span { text-decoration: underline; text-underline-offset: .16em; }
.date-type :checked + span, .switch :checked + span { color: #184e35; background: #e4f2e4; border-color: #c2dcc4; }
.date-type :focus-visible + span, .switch :focus-visible + span { outline: 3px solid #28654f; outline-offset: 2px; }
.select-label { display: grid; gap: .25rem; }
select { border-radius: .45rem; border: 1px solid #c6d4ca; color: var(--ink); background: #fff; min-height: 2.27rem; padding-inline: .5rem 1.65rem; font-size: .88rem; appearance: none; background-image: url("./chevron.svg"); background-repeat: no-repeat; background-position: right .5rem center; }
select:disabled { opacity: .5; }
.table-note { display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; border-bottom: 1px solid var(--line); margin-top: 1rem; padding-block: .48rem; font-size: .78rem; color: var(--muted); }
.event-list { margin: 0; padding: 0; list-style: none; }
.event-list li { display: grid; grid-template-columns: minmax(5.6rem, 1fr) minmax(0, 2.15fr) auto; align-items: center; gap: .45rem .75rem; padding-block: .75rem; border-bottom: 1px solid #e6ebe4; }
.event-list li:last-child { border-bottom: 0; }
.event-date { display: grid; color: #284d3c; }
.event-date strong { line-height: 1.35; font-size: .9rem; }
.event-date > span, .event-list li p { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.event-list h3 { font-size: .93rem; line-height: 1.37; font-weight: 740; }
.event-list h3 + p { margin-top: .19rem; }
.tag { width: fit-content; border-radius: .28rem; padding: .18rem .42rem; font-weight: 720; font-size: .74rem; white-space: nowrap; }
.tag.break { color: #20523c; background: #e1f0e2; }
.tag.closure { color: #3e4c79; background: #edf0fb; }
.tag.public { color: #77432d; background: #faeee2; }
.empty, .download-status:not(:empty) { padding-top: .8rem; color: #315b48; }
.leave-panel { padding: clamp(1rem, 2.3vw, 1.55rem); background: #edf3e7; position: sticky; top: 1rem; }
.leave-heading > p:last-child { color: var(--muted); margin-top: .65rem; font-size: .94rem; }
.switch { flex-wrap: wrap; gap: .22rem; margin-top: 1rem; }
.switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.switch :checked + span { background: white; border-color: #c8d7c4; }
.idea-group { padding-top: .45rem; }
.idea-group > h3 { margin-top: .55rem; font-size: 1rem; }
.idea { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .65rem; align-items: center; border-bottom: 1px solid #d7e1d1; padding-block: .64rem; }
.idea-count { display: grid; place-items: center; padding: .3rem; background: #dae9d6; color: #385e45; border-radius: .45rem; font-size: .72rem; line-height: 1.1; }
.idea-count b { font-family: var(--heading); font-size: 1.36rem; }
.idea strong { color: #274c39; font-size: .95rem; }
.idea p { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.leave-footnote { color: var(--muted); margin-top: .75rem; font-size: .81rem; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; padding-block: 1.4rem 2.7rem; }
.reference-card { background: var(--paper); padding: clamp(1rem, 2.3vw, 1.6rem); }
.reference-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.12; font-weight: 600; }
.reference-card p, .sources dd { color: var(--muted); font-size: .93rem; }
.reference-card p { margin-top: .65rem; }
.term-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.term-list > div { background: #eff5eb; border-radius: .5rem; padding: .5rem .65rem; }
.term-list dt, .sources dt { font-size: .8rem; font-weight: 740; color: #375e48; }
.term-list dd { font-size: .9rem; font-weight: 660; }
.sources { display: grid; gap: .6rem; margin-top: .75rem; }
.sources a { text-underline-offset: .18em; }
.sources a:hover { color: #205640; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-inner .brand { color: var(--ink); }
@media (max-width: 57rem) {
  .shell { width: min(100% - 2.5rem, 73rem); }
  .hero { gap: 2rem; }
  .main-grid { gap: .8rem; }
  .event-list li { gap: .3rem .5rem; grid-template-columns: minmax(4.55rem, .9fr) minmax(0, 2fr) auto; }
  .tag { font-size: .69rem; }
}
@media (max-width: 43rem) {
  .hero, .main-grid, .reference-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: start; gap: 1.6rem; }
  .hero-card { max-width: 29rem; width: 100%; }
  .main-grid, .reference-grid { gap: .85rem; }
  .leave-panel { position: static; }
  .hero-break { display: none; }
  .hero h1 { max-width: 33rem; }
}
@media (max-width: 28rem) {
  .shell { width: calc(100% - 1.5rem); }
  .topbar-inner { align-items: flex-start; flex-direction: column; gap: .62rem; padding-block: .66rem; }
  nav { gap: .9rem; }
  .section-top { flex-wrap: wrap; align-items: start; }
  .event-list li { grid-template-columns: minmax(4.45rem, .6fr) minmax(0, 1.65fr); }
  .tag { grid-column: 2; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .2rem; padding-block: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .topbar, .hero-card, .button, .filters, .leave-panel, footer, .table-note :nth-child(2) { display: none !important; }
  .shell { width: 100%; }
  .hero { display: block; padding-block: .75rem; }
  h1 { font-size: 3rem; }
  .main-grid, .reference-grid { display: block; }
  .event-list li, .reference-card { break-inside: avoid; }
}
