:root {
  color-scheme: light;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: #172d48;
  background: #e8eff7;
  --ink: #142b47;
  --muted: #3b526d;
  --accent: #214f83;
  --line: #a9bdd3;
  --edge: #7b97b6;
  --sheet: #fcfdff;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(#6584a510 1px, transparent 1px),
    linear-gradient(90deg, #6584a510 1px, transparent 1px),
    radial-gradient(ellipse at 50% 240px, #f5f8fc, transparent 960px);
  background-size: 24px 24px, 24px 24px, auto;
  line-height: 1.55;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: var(--accent); text-underline-offset: .17em; }
a:hover { color: #16385d; }
a:focus-visible, summary:focus-visible { outline: 2px solid #1f5f9f; outline-offset: 3px; }
.site-header a:focus-visible { outline-color: #fff; }
.counter { position: absolute; left: -9999px; }
.skip-link {
  position: fixed;
  z-index: 1;
  inset: 8px auto auto 8px;
  padding: 8px 12px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.wrap { width: min(73rem, calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  border-top: 1px solid #698bb0;
  border-bottom: 3px double #89a5c4;
  background: linear-gradient(#355b87, #1b3c62 85%);
  color: #fff;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding-block: 8px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -.045em;
  font-weight: 700;
  text-decoration: none;
}
.wordmark:hover { color: #fff; }
.wordmark img {
  margin-right: 9px;
  border: 1px solid #8aabce;
  border-radius: 3px;
  box-shadow: 0 1px 2px #102b4490;
}
.wordmark-domain { color: #b6cee8; }
.main-nav { display: flex; align-items: center; gap: clamp(.875rem, 2.8vw, 2rem); }
.main-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #edf4fe;
  font-size: .9375rem;
  text-decoration: none;
}
.main-nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid;
  border-radius: 3px;
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #ffffff80, 0 1px 0 #284d7029;
}
.header-button, .secondary {
  border-color: #7c9abb;
  background: linear-gradient(#fff, #e1ebf8 54%, #ceddf1 55%, #e1eaf6);
  color: #1e4169;
}
.header-button { justify-self: end; }
.header-button:hover, .secondary:hover { background: #f0f6fd; color: #153354; }
.primary {
  border-color: #24476f;
  background: linear-gradient(#517caf, #326093 48%, #275586 49%, #234c7d);
  color: #fff;
}
.primary:hover { background: linear-gradient(#456fa2, #204575); color: #fff; }
.button:active { box-shadow: inset 0 2px 3px #14345650; }

main.wrap { padding-block: 34px 36px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(22px, 3.6vw, 50px);
  border: 1px solid var(--edge);
  border-top: 4px solid #426a98;
  background: linear-gradient(110deg, #fcfdff 40%, #ecf3fc);
  box-shadow: inset 0 0 0 2px #fff, 2px 3px 0 #455f7c20;
}
.hero-copy { display: grid; justify-items: start; gap: 20px; }
h1 {
  color: var(--ink);
  font-size: clamp(2rem, 3.25vw, 2.6rem);
  line-height: 1.03;
  letter-spacing: -.054em;
}
h1 span { display: block; margin-top: .14em; color: #254f7c; font-size: .76em; letter-spacing: -.045em; }
.hero-copy p { max-width: 31rem; color: var(--muted); font-size: 1.0625rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; }

.sample {
  min-width: 0;
  border: 1px solid #6283a8;
  border-radius: 3px 3px 1px 1px;
  background: #f8fbff;
  box-shadow: 3px 4px 0 #b9cde45e, 0 9px 18px #26496c12;
}
.sample-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 39px;
  padding: 6px 12px;
  border-bottom: 1px solid #496c97;
  background: linear-gradient(#527aa8, #2c507c);
  box-shadow: inset 0 1px 0 #ffffff4d;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
}
.sample-label { color: #edf4ff; font-size: .8125rem; font-weight: 400; }
.sample-body { padding: 10px 12px 0; }
.sample table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .875rem; }
.sample caption { padding-bottom: 8px; color: var(--muted); text-align: left; font-weight: 700; }
.sample th, .sample td { padding: 5px 2px; border: 1px solid #a5bad2; text-align: center; }
.sample th:first-child { width: 42%; padding-inline: 8px 4px; text-align: left; overflow-wrap: anywhere; }
.sample thead { background: linear-gradient(#e9f1fb, #d7e5f4); }
.sample thead span { display: block; color: #435b79; font-size: .75rem; }
.sample .selected { background: #b9cee7; box-shadow: inset 0 2px 0 #4b76a6; }
.sample tbody tr:nth-child(even) { background: #edf3fa; }
.sample tbody th { font-weight: 400; }
.sample td { color: #637b96; }
.sample abbr { font-weight: 700; text-decoration: none; }
.sample .absent { background: #f9e3e5; color: #832f45; }
.sample .sick { background: #e5eaf9; color: #374981; }
.sample .late { background: #f9ecd1; color: #745016; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 9px 0 10px;
  color: var(--muted);
  font-size: .8125rem;
  list-style: none;
}
.legend b { display: inline-grid; place-items: center; width: 20px; border: 1px solid #a9bdd3; }

.panel { min-width: 0; border: 1px solid var(--edge); background: var(--sheet); box-shadow: 1px 2px 0 #455f7c20; }
section[id] { scroll-margin-top: 16px; }
#features { margin-top: 22px; }
.panel-title {
  padding: 8px 17px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#edf4fc, #d8e5f4);
  box-shadow: inset 0 1px 0 #fff;
  color: #1c3e66;
  font-size: 1.125rem;
  line-height: 1.4;
}
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roles article { padding: 17px 19px 19px; }
.roles article + article { border-left: 1px solid var(--line); }
.roles h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #1c3e66;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.roles ul { display: grid; gap: 7px; margin: 0; padding-left: 1.1rem; list-style-type: square; }
.roles li::marker { color: #4974a1; }
.role-icon {
  position: relative;
  flex: 0 0 23px;
  height: 23px;
  border: 1px solid #6c8eb4;
  background: linear-gradient(#fff, #dce9f8);
  box-shadow: inset 1px 1px #fff, 1px 1px 0 #213d6025;
}
.role-icon::before, .role-icon::after { content: ""; position: absolute; }
.roster-icon::before { inset: 4px 4px 4px 6px; border: 1px solid #4e79a9; background: #cadbf0; }
.roster-icon::after { inset: 7px 7px 7px 9px; border-block: 1px solid #4e79a9; }
.calendar-icon::before { inset: 5px 4px 4px; border: 1px solid #4e79a9; border-top-width: 4px; }
.calendar-icon::after { inset: 12px 8px 7px; border-inline: 1px solid #4e79a9; }
.committee-icon::before { width: 9px; height: 9px; left: 6px; top: 3px; border: 1px solid #4e79a9; border-radius: 50%; background: #c8dcef; }
.committee-icon::after { inset: 12px 4px 4px; border: 1px solid #4e79a9; border-radius: 5px 5px 0 0; background: #c8dcef; }

.lower-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 22px; }
.panel-body { padding: 16px 18px 19px; }
.start-body, .start-body dl { display: grid; gap: 13px; }
.start-body dt { margin-bottom: 2px; color: #1c3e66; font-weight: 700; }
.start-body dd, .faq p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.faq { padding: 0 17px; }
.faq details + details { border-top: 1px solid #c4d3e4; }
.faq summary { min-height: 48px; padding: 12px 0; color: #214f83; font-weight: 700; cursor: pointer; }
.faq summary::marker { color: #4a709a; }
.faq p { margin: 0 0 13px 17px; }

.site-footer { border-top: 1px solid #9fb4cd; background: #dce7f4; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 58px; padding-block: 6px; font-size: .875rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand { font-weight: 700; text-decoration: none; }
.footer-credit { gap: 5px; text-decoration: none; }
.footer-credit:hover { text-decoration: underline; }
.footer-credit span { color: #9e3556; }

@media (max-width: 960px) {
  .hero { gap: 25px; }
  .roles article { padding-inline: 14px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: 3px 12px; padding-block: 8px 0; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 4px; border-top: 1px solid #789bbd80; }
  .main-nav a { padding-inline: 4px; }
  main.wrap { padding-block: 18px 24px; }
  .hero, .lower-grid { grid-template-columns: 1fr; }
  .hero { padding: 22px; }
  h1 { font-size: clamp(1.95rem, 6.8vw, 3.15rem); }
  .hero-copy { gap: 15px; }
  .roles { grid-template-columns: 1fr; }
  .roles article { padding: 15px 16px; }
  .roles article + article { border-top: 1px solid var(--line); border-left: 0; }
  #features, .lower-grid { margin-top: 15px; }
  .lower-grid { gap: 15px; }
}

@media (max-width: 520px) {
  .footer-inner { gap: 0 8px; }
  .footer-credit { flex-basis: 100%; justify-content: center; border-top: 1px solid #b6c8dc; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 1.25rem); }
  .wordmark { font-size: 1.3rem; }
  .wordmark img { width: 30px; height: 30px; margin-right: 5px; }
  .button { padding-inline: 11px; }
  .hero { padding: 16px; }
  .sample-title, .sample-body { padding-inline: 7px; }
  .sample th:first-child { width: 46%; }
  .legend { gap: 5px; }
  .legend b { width: 16px; }
}
