:root {
  color-scheme: light;
  --navy: #111c34; --ink: #16233e; --muted: #56637a; --red: #a41f3e;
  --line: #e1e6ef; --paper: #f1f4f9; --white: #fff;
  font-family: 'DM Sans', Inter, system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #7655ce; outline-offset: 3px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.shell { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.masthead { color: white; background: var(--navy); border-bottom: 3px solid #a71e42; }
.masthead-inner { display: flex; align-items: center; gap: 24px; min-height: 77px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid #fc78944d; background: #851d3a; box-shadow: inset 0 1px 0 #ffffff24; }
.brand-mark svg { width: 31px; height: 31px; }
.brand strong { display: block; font: 800 22px/.95 'Manrope', system-ui, sans-serif; letter-spacing: -.05em; }
.brand strong span { color: #f282a2; }
.brand small { display: block; color: #c2cce1; font-size: 9px; font-weight: 700; letter-spacing: .18em; margin-top: 7px; }
.institution { font-size: 11px; line-height: 1.55; color: #c8d2e8; border-left: 1px solid #35415b; padding-left: 23px; }
.institution strong { color: #edf0f7; font-weight: 600; }
nav { display: flex; gap: 9px; align-items: center; margin-left: auto; }
.nav-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 38px; padding: 0 13px; border-radius: 8px; border: 1px solid #47536b; color: #f3f5fc; background: #1d2a43; font-size: 12px; font-weight: 700; }
.nav-button:hover { background: #34445f; }
.report-link { background: #a21d40; border-color: #d54f70; }
.report-link:hover { background: #ba2b50; }
.overview { margin-top: 30px; }
.hero { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 31px 36px 45px; min-height: 190px; border-radius: 19px; overflow: hidden; color: white; background: radial-gradient(ellipse at 96% 8%, #71405f 0%, transparent 48%), linear-gradient(112deg,#14203a 5%,#1b2e53 66%,#361c3a 100%); box-shadow: 0 10px 28px #1a27412b; }
.hero::after { content: ''; position: absolute; z-index: -1; width: 59%; height: 190%; right: -14%; top: -48%; transform: rotate(-22deg); background: repeating-linear-gradient(90deg, transparent 0 30px,#f2bbcf34 31px,transparent 32px 61px); mask-image: linear-gradient(90deg,transparent,#000 80%); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #dce4f6; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { width: 19px; height: 3px; border-radius: 9px; background: #f47c9e; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: 'Manrope', Inter, system-ui, sans-serif; letter-spacing: -.045em; }
h1 { font-size: clamp(34px,4.55vw,65px); line-height: 1.06; margin-block: 9px 11px; font-weight: 800; }
.hero p { color: #d5def1; font-size: clamp(13px,1.3vw,17px); }
.hero-clock { min-width: 164px; padding: 13px 20px 15px; border: 1px solid #e7cddd45; background: #1c233863; border-radius: 12px; text-align: center; }
.hero-clock time { display: block; font: 800 clamp(30px,4vw,53px)/1.04 'Manrope', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.hero-clock span { display: block; color: #e3d6e8; font-weight: 700; letter-spacing: .18em; font-size: 9px; margin-top: 7px; }
.stats { position: relative; display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); margin: -19px 15px 0; }
.office { --accent: #13694e; --tint: #e4f5ed; --stripe: #21946f; }
.out { --accent: #a02243; --tint: #fae8ee; --stripe: #ba3158; }
.leave { --accent: #855707; --tint: #fff0d5; --stripe: #be8726; }
.unreported { --accent: #52627e; --tint: #edf1f7; --stripe: #788aa6; }
.metric { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; text-align: left; color: var(--ink); box-shadow: 0 5px 18px #22375a0b; transition: border-color .16s, box-shadow .16s; }
.metric:hover, .metric[aria-pressed=true] { border-color: var(--stripe); box-shadow: 0 4px 16px #22375a22; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; color: var(--accent); border-radius: 8px; background: var(--tint); }
.metric-label { font-weight: 700; font-size: 13px; }
.metric strong { display: block; line-height: 1.05; margin-block: 4px 9px; font: 800 clamp(29px,3vw,43px)/1 'Manrope', sans-serif; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.track { display: block; height: 4px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--stripe); border-radius: inherit; }
.board { background: white; border: 1px solid var(--line); border-radius: 16px; margin-top: 23px; overflow: hidden; box-shadow: 0 8px 25px #2538580a; }
.board-head, .toolbar, .board-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-head { padding: 19px 22px 12px; }
h2 { font-size: clamp(21px,2.25vw,30px); line-height: 1.13; font-weight: 800; }
.board-head p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.feed { display: inline-flex; align-items: center; gap: 7px; border-radius: 30px; padding: 6px 10px; font-size: 11px; font-weight: 700; color: #465573; background: #eef2f9; white-space: nowrap; }
.feed.live { background: #e6f5ed; color: #176748; }
.feed.demo, .feed.stale, .feed.unavailable { color: #805008; background: #fff1d7; }
.feed i, .badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.toolbar { padding: 4px 22px 13px; flex-wrap: wrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; background: white; color: #4b5971; font-size: 12px; font-weight: 700; }
.filters button:hover { background: #edf1f8; }
.filters button[aria-pressed=true] { color: white; background: #243553; border-color: #243553; }
.search { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: #64728b; }
.search input { width: 180px; max-width: 100%; border: 0; background: transparent; font-size: 12px; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid #7655ce; outline-offset: 2px; }
.column-labels, .officer { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(116px,.75fr) minmax(0,1.4fr) minmax(100px,.55fr); gap: 16px; align-items: center; padding-inline: 22px; }
.column-labels { min-height: 35px; background: #f3f5fa; color: #586782; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.roster { list-style: none; margin: 0; padding: 0; }
.officer { min-height: 60px; padding-block: 9px; border-top: 1px solid #e9edf4; }
.officer:first-child { border-top-color: transparent; }
.identity, .assignment { min-width: 0; overflow-wrap: anywhere; }
.identity { display: flex; align-items: center; gap: 9px; }
.initials { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 8px; color: #344b78; background: #eaf0fa; font: 800 11px 'Manrope', sans-serif; }
.identity strong, .assignment strong { display: block; font-size: 14px; line-height: 1.27; }
.identity small, .assignment small, .period { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; }
.identity small, .assignment small { margin-top: 3px; }
.badge { color: var(--accent); background: var(--tint); display: inline-flex; align-items: center; gap: 6px; border-radius: 30px; padding: 5px 8px; font-size: 11px; font-weight: 800; white-space: nowrap; justify-self: start; }
.badge i { width: 6px; height: 6px; }
.empty { color: var(--muted); padding: 30px 22px; }
.board-foot { border-top: 1px solid var(--line); min-height: 42px; padding: 6px 22px; color: var(--muted); font-size: 11px; }
.site-footer { color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; gap: 10px; padding: 21px 2px; }
.tv-only { display: none; }
.tv .screen-only { display: none; }
.tv .tv-only { display: inline-flex; }
.tv .shell { width: calc(100% - clamp(28px,5vw,112px)); }
.tv .masthead-inner { min-height: 64px; }
.tv .overview { margin-top: 20px; }
.tv .hero { min-height: clamp(108px, 16vh, 200px); padding-block: 19px 29px; }
.tv .hero-clock time { font-size: clamp(28px,4.5vw,88px); }
.tv .column-labels { display: none; }
.tv .roster { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 0 15px 12px; }
.tv .officer { grid-template-columns: minmax(0,1fr) auto; gap: 5px 9px; align-content: center; border: 1px solid var(--line); border-left: 4px solid var(--stripe); border-radius: 9px; padding: 8px 10px; }
.tv .identity strong { font-size: clamp(13px,1.30vw,25px); }
.tv .assignment strong { font-size: clamp(12px,1.06vw,20px); }
.tv .identity small, .tv .assignment small, .tv .period, .tv .badge { font-size: clamp(10px,.86vw,16px); }
.tv .assignment { grid-column: 1; padding-left: 41px; }
.tv .period { justify-self: end; }
.tv .identity strong, .tv .assignment strong, .tv .assignment small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.tv .identity strong { -webkit-line-clamp: 2; }
.tv .pager { gap: 7px; align-items: center; white-space: nowrap; }
.pager button { width: 31px; height: 29px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 20px; line-height: 1; }
.pager button:hover { background: #edf1f8; }
@media (min-width: 1500px) {
  .tv .roster { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tv .metric { padding-block: 15px; }
  .tv .metric strong { font-size: clamp(42px,4vw,70px); }
  .tv .metric-label { font-size: clamp(15px,1.3vw,24px); }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 36px); }
  .institution { display: none; }
  .hero { padding-inline: 22px; }
  .metric { padding-inline: 12px; }
  .column-labels, .officer { grid-template-columns: minmax(0,1fr) 104px minmax(0,1fr) 77px; gap: 9px; padding-inline: 14px; }
  .board-head, .toolbar, .board-foot { padding-inline: 14px; }
}
@media (max-width: 620px) {
  .shell, .tv .shell { width: calc(100% - 24px); }
  .masthead-inner { min-height: 64px; }
  .masthead-inner, nav { gap: 7px; }
  .nav-button { padding-inline: 9px; font-size: 11px; }
  .overview { margin-top: 15px; }
  .hero { min-height: 154px; border-radius: 13px; padding: 20px 15px 28px; gap: 8px; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(27px,7.4vw,43px); }
  .hero-clock { display: none; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: -12px 6px 0; }
  .metric { padding: 8px 10px 10px; border-radius: 9px; }
  .metric strong { margin: 1px 0 5px; }
  .metric-icon { width: 26px; height: 26px; }
  .metric-label { font-size: 12px; }
  .board { margin-top: 14px; border-radius: 12px; }
  .board-head { padding-top: 14px; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .filters { gap: 4px; }
  .filters button { padding: 6px 7px; font-size: 10px; }
  .column-labels { display: none; }
  .tv .roster { grid-template-columns: minmax(0,1fr); }
  .tv .overview { margin-top: 15px; }
  .officer { grid-template-columns: minmax(0,1fr) auto; gap: 5px 7px; padding-block: 10px; }
  .assignment { padding-left: 41px; }
  .period { max-width: 83px; text-align: right; }
  .period:empty, .assignment:empty { display: none; }
  .identity strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
