:root {
  color-scheme: light dark;
  --accent: #099996;
  --background: light-dark(#f1f7f6, #101b1d);
  --panel: light-dark(#ffffff, #18292b);
  --text: light-dark(#132a2c, #f0f9f8);
  --muted: light-dark(#435c60, #b4cdca);
  --line: light-dark(#c7dbd9, #426260);
  --action: light-dark(#056b68, #80e2d9);
  --focus: light-dark(#065e5b, #8ef7e8);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}
.site-header {
  min-height: 5rem;
  padding: 1rem max(5vw, calc((100vw - 71rem) / 2));
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.brand, .preferences { display: flex; align-items: center; gap: .7rem; }
.brand { font-weight: 650; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: .55rem;
  color: #0c2224;
  background: var(--accent);
  font-weight: 750;
  letter-spacing: -.045em;
}
.preferences button, .preferences select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: .55rem;
  min-height: 2.75rem;
  padding: .35rem .75rem;
  font: inherit;
}
.preferences button, .preferences select { cursor: pointer; }
main { width: min(90%, 71rem); margin-inline: auto; padding-block: clamp(3rem, 10vw, 8rem) 3rem; }
.intro { margin-bottom: clamp(2.1rem, 6vw, 4.2rem); }
h1, h2, p { margin: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
.intro p { margin-top: 1rem; color: var(--muted); font-size: clamp(1.05rem, 2.3vw, 1.35rem); }
.cafes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cafe {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  min-height: 12.8rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: .25rem solid var(--accent);
  border-radius: .75rem;
  text-decoration: none;
  color: inherit;
}
.cafe h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.cafe p { color: var(--muted); }
.open { display: flex; gap: .4rem; justify-content: space-between; padding-top: .5rem; margin-top: auto; color: var(--action); font-weight: 650; }
.cafe:hover .open span:first-child { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .7rem; color: var(--text); background: var(--panel); }
@media (max-width: 47rem) {
  .cafes { grid-template-columns: 1fr; }
  .cafe { min-height: 0; }
}
@media (forced-colors: active) {
  .cafe { border: 1px solid LinkText; }
}

[hidden] { display: none !important; }
.classroom-entry { margin-bottom: 2rem; }
.entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.entry-actions a, .school-check-link a { color: var(--action); }
.entry-actions .entry-button {
  background: var(--action);
  color: var(--panel);
  border-radius: .55rem;
  padding: .7rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.entry-button:hover { text-decoration: underline; }
.school-check-link { margin-top: 1.5rem; }

:root { --control-border: light-dark(#677c7b, #849e9d); }
.preferences select, .preferences button, form :is(input, select, textarea, button) {
  border: 1px solid var(--control-border);
  background-color: var(--panel);
  color: var(--text);
  font-family: inherit;
}
.brand { color: var(--text); }

:root.solo-pref-large { font-size: 120%; }
:root.solo-pref-contrast {
  --text: light-dark(#000, #fff);
  --muted: light-dark(#222, #eee);
  --background: light-dark(#fff, #000);
  --panel: light-dark(#fff, #101010);
  --line: light-dark(#383838, #ddd);
  --control-border: var(--line);
  --action: light-dark(#004b49, #95fff4);
}
:root.solo-pref-motion *, :root.solo-pref-motion *::before, :root.solo-pref-motion *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
  scroll-behavior: auto !important;
}
#pupil-settings { margin-block: 1.5rem; border: 1px solid var(--line); }
#pupil-settings label { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; }
