:root {
  color-scheme: light;
  --ink: #191b31;
  --muted: #555971;
  --accent: #3d36a6;
  --line: #dfdfeb;
  --paper: #f7f7fa;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #5754b9; outline-offset: 4px; }
.wrap { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: white; padding: .5rem; z-index: 2; }
.skip:focus { top: 1rem; }
.top, .about .source-guide { margin-top: 1rem; }
.info-page { padding: 2.25rem 0 3rem; }
.info-page h2 { margin-top: 1.65rem; line-height: 1.2; letter-spacing: -.025em; }
.info-page li + li { margin-top: .3rem; }
.footer { background: white; border-bottom: 1px solid var(--line); }
.top-inner, .footer .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; gap: 1rem; }
nav { display: flex; gap: 1rem; align-items: center; }
nav a, .brand, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.brand { color: var(--ink); display: flex; align-items: center; gap: .55rem; font-weight: 750; letter-spacing: -.03em; }
.brand img { width: 1.9rem; height: 1.9rem; }
h1, h2, h3, p { margin-top: 0; }
.hero { padding: clamp(2rem, 7vw, 4rem) 0 2.2rem; }
.kicker { color: var(--muted); font-weight: 650; margin-bottom: .45rem; }
h1 { font-weight: 780; font-size: clamp(2.35rem, 7vw, 4.1rem); line-height: 1.03; letter-spacing: -.065em; margin-bottom: 1.3rem; }
label { display: grid; gap: .35rem; font-weight: 700; font-size: .875rem; }
.workplace { width: min(25rem, 100%); }
select { width: 100%; min-width: 0; appearance: none; padding: .65rem 2rem .65rem .75rem; font: inherit; font-size: 1rem; color: var(--ink); background: white url("chevron.svg") right .62rem center / 1rem no-repeat; border: 1px solid #a7a9c4; border-radius: .45rem; }
.work-result { background: #eeedff; margin-top: 1rem; border-left: 4px solid var(--accent); border-radius: .45rem; padding: clamp(1rem, 3vw, 1.5rem); }
.work-result[data-tone="off"] { background: #e7f4eb; border-color: #23714b; }
.work-result[data-tone="off"] a { color: #165838; }
.work-result[data-tone="neutral"] { background: white; border-color: #777b98; }
.work-result h2 { font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.16; letter-spacing: -.04em; margin-bottom: .38rem; }
.work-result p { margin-bottom: .45rem; max-width: 42rem; }
.work-result a, .source { font-size: .9rem; font-weight: 650; }
.next { padding: .95rem 0 .1rem; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .7rem; }
.next-label { color: var(--muted); font-size: .875rem; margin: 0; font-weight: 650; }
.next p { margin: 0; }
.next strong { font-weight: 705; }
.next time { color: var(--muted); }
.calendar { background: white; border-radius: .65rem; border: 1px solid var(--line); padding: clamp(1rem, 4vw, 1.65rem); scroll-margin-top: 1rem; }
.calendar h2, .about h2 { font-size: clamp(1.35rem, 5vw, 1.85rem); line-height: 1.15; letter-spacing: -.045em; margin-bottom: .4rem; }
.calendar-intro p, .calendar-heading p, .empty p, .about p { color: var(--muted); margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1.2rem 0; }
.filters label { max-width: 100%; }
.calendar-heading { display: flex; gap: .65rem 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1rem; }
.calendar-heading h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.calendar-heading p { font-size: .875rem; }
.calendar-today { margin: .85rem 0 0; padding: .55rem .75rem; background: #eeedff; border-radius: .35rem; }
.events { padding: 0; margin: .7rem 0 0; list-style: none; }
.events li { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.events li:last-child { border: 0; }
.events time, .events small { color: var(--muted); font-size: .875rem; }
.events small, .event-weekday { display: block; }
.event-date { line-height: 1.35; }
.event-date > span:first-child { color: var(--ink); font-weight: 650; }
.events .today-mark { background: #e7f4eb; border-radius: .28rem; padding: .08rem .4rem; font-size: .875rem; font-weight: 650; }
.empty { border-radius: .45rem; background: var(--paper); padding: .85rem; margin-top: .85rem; }
.empty a { display: inline-block; margin: .55rem 1rem 0 0; }
.about { margin: 2.2rem 0; }
.about details { border-bottom: 1px solid var(--line); padding: .7rem .1rem; }
.about summary { font-weight: 650; cursor: pointer; }
.about p { margin: .48rem 0 .2rem; }
.footer { border: 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.sponsor { margin-top: 1.25rem; text-align: center; min-height: 5.5rem; }
@media (max-width: 25rem) {
  .top-inner, nav { gap: .55rem; }
  .events li { grid-template-columns: 5.25rem minmax(0, 1fr) auto; gap: .4rem; }
}
