:root {
  --ink: #172e49;
  --navy: #122d49;
  --selected: #e8f1fa;
  --focus: #1c68ad;
  --shade: #122d4988;
  --muted: #526477;
  --paper: #f7f6f0;
  --line: #ced9e3;
  --action: #155994;
  --action-dark: #103f6b;
  --warm: #e6dac3;
  --section-space: clamp(2.5rem, 6vw, 5rem);
  --hero-photo-height: 480px;
  --bs-primary: #155994;
  --bs-primary-rgb: 21, 89, 148;
  --bs-link-color: #155994;
  --bs-link-color-rgb: 21, 89, 148;
  --bs-link-hover-color-rgb: 16, 63, 107;
  --bs-link-hover-color: #103f6b;
  --bs-body-color: #172e49;
  --bs-body-bg: #f7f6f0;
  --bs-border-color: #ced9e3
}

* {
  box-sizing: border-box
}

html {
  scroll-padding-top: 100px
}

body {
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--paper)
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  text-wrap: balance
}

h1,
h2,
.display-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.12
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.5rem)
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem)
}

h3 {
  font-size: 1.15rem;
  font-weight: 650
}

p {
  max-width: 72ch
}

a {
  color: var(--action);
  text-underline-offset: 4px
}

a:hover {
  text-decoration-thickness: 2px
}

img,
video {
  max-width: 100%
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation
}

:focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 4px !important
}

button,
.button,
.btn {
  min-height: 44px
}

button,
.button,
.btn-primary {
  border: 1px solid var(--action);
  background: var(--action);
  color: white;
  border-radius: 5px;
  padding: .65rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem
}

.btn-primary:hover,
.button:hover,
button:hover {
  background: var(--action-dark);
  color: white
}

.btn-outline-primary,
.button.secondary,
button.secondary {
  border: 1px solid var(--action);
  color: var(--action);
  background: transparent
}

.button.secondary:hover,
button.secondary:hover {
  background: var(--selected)
}

.btn-warning,
.bg-primary {
  background-color: var(--action) !important;
  color: white !important;
  border-color: var(--action) !important
}

.btn-link {
  background: none;
  border: 0;
  color: var(--action)
}

.shell {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto
}

.narrow {
  max-width: 760px
}

.section {
  padding-block: var(--section-space)
}

.eyebrow {
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--action);
  margin-bottom: 1rem
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.65
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .85rem
}

.preview-note {
  font-size: .72rem;
  letter-spacing: .05em;
  text-align: center;
  padding: 5px 12px;
  background: var(--selected);
  color: var(--ink)
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 2000;
  background: white;
  padding: 12px
}

.skip-link:focus {
  top: 5px
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1100
}

.header-inner {
  width: min(1360px, 100% - 3rem);
  margin: auto;
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0
}

.brand img {
  object-fit: contain;
  width: 70px;
  height: 62px
}

.brand span {
  font-size: .87rem;
  line-height: 1.25;
  font-weight: 650
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.6rem
}

.site-header nav>a,
.nav-utilities a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: .6rem 0
}

.site-header nav>a:hover,
.nav-utilities a:hover {
  text-decoration: underline
}

.site-header .join-link {
  color: var(--action);
  border-bottom: 2px solid var(--action)
}

.nav-utilities {
  display: flex;
  gap: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1.3rem
}

.menu-button {
  display: none
}

.site-footer {
  background: var(--navy);
  color: #f0f5fa;
  padding: 3rem 0 1rem;
  margin-top: 3rem
}

.site-footer a {
  color: #f0f5fa;
  display: block;
  margin: .45rem 0;
  text-decoration: none
}

.site-footer a:hover {
  text-decoration: underline
}

.site-footer h2 {
  font: 600 .8rem system-ui;
  color: #c1d6e9;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem
}

.footer-brand {
  font: 1.5rem Georgia
}

.footer-bottom {
  border-top: 1px solid #526d88;
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: .75rem;
  color: #c1d6e9
}

.hero {
  display: grid;
  grid-template-columns: .95fr 1.2fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0 4rem
}

.hero h1 {
  margin-bottom: 1.25rem
}

.hero img {
  height: var(--hero-photo-height);
  object-fit: cover;
  width: 100%;
  border-radius: 3px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem
}

.band {
  background: var(--selected);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem
}

.event-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  align-items: start
}

.event-date {
  font-weight: 700;
  text-align: left;
  font-size: .85rem;
  line-height: 1.3
}

.event-date strong {
  display: block;
  font: 2rem Georgia
}

.event-row h3 {
  margin: .1rem 0 .4rem
}

.event-row h3 a {
  text-decoration: none;
  color: var(--ink)
}

.event-row p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted)
}

.event-type {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--action)
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start
}

.story-photo {
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 3px;
  width: 100%
}

.story-title {
  font: 2.3rem/1.2 Georgia;
  margin: 1rem 0
}

.story-title a {
  color: var(--ink);
  text-decoration: none
}

.rule {
  border-top: 1px solid var(--line)
}

.page-top {
  padding: 3rem 0 2rem
}

.page-top h1 {
  margin: .5rem 0 1rem
}

.breadcrumbs {
  font-size: .85rem;
  margin-bottom: 1.5rem
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0
}

.pill-nav a {
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  text-decoration: none;
  color: var(--ink);
  font-size: .9rem
}

.pill-nav a[aria-current],
.pill-nav .active {
  background: var(--ink);
  border-color: var(--ink);
  color: white
}

.filter-bar {
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: var(--selected);
  border: 1px solid var(--line)
}

label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .3rem
}

input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
select,
textarea {
  width: 100%;
  border: 1px solid #7e96ad;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: .65rem .8rem;
  min-height: 44px
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--action);
  margin-right: .5rem
}

.filter-bar input,
.filter-bar select {
  min-width: 150px
}

.filter-bar label {
  max-width: 240px
}

.field {
  margin: 1.2rem 0
}

.field input[type=file] {
  background: #fff
}

.errorlist {
  color: #9b2d25;
  font-size: .9rem;
  padding-left: 1.2rem;
  margin: .4rem 0
}

.form-help,
.helptext {
  font-size: .85rem;
  color: var(--muted)
}

.notice {
  background: var(--selected);
  border-left: 3px solid var(--action);
  padding: 1rem 1.25rem;
  margin: 1rem 0
}

.notice.warning {
  background: #fff0dd;
  border-color: #9d4c12
}

.status {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 3px;
  background: var(--selected);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700
}

.status.cancelled,
.status.failed,
.status.error,
.status.uncertain {
  background: #f7dfd7;
  color: #8f3025
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

.calendar-controls .button {
  min-height: 40px;
  padding: .4rem .8rem
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line)
}

.month-cell,
.weekday {
  padding: 9px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0
}

.weekday {
  background: var(--selected);
  font-size: .75rem;
  font-weight: 700;
  text-align: center
}

.month-cell {
  min-height: 115px;
  background: #fff
}

.month-cell.other {
  background: #e9edf2;
  color: #56677b
}

.month-cell.selected {
  box-shadow: inset 0 0 0 2px var(--action)
}

.date-number {
  font-size: .85rem;
  text-decoration: none
}

.month-event {
  display: block;
  font-size: .72rem;
  line-height: 1.3;
  margin-top: 6px;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid var(--action);
  padding-left: 5px;
  overflow-wrap: anywhere
}

.day-dot {
  display: none
}

.mobile-day {
  display: none
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 4rem
}

.details-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: .85rem 1.2rem;
  margin: 2rem 0
}

.details-list dt {
  color: var(--muted);
  font-weight: 500
}

.details-list dd {
  margin: 0
}

.event-action {
  padding: 1.5rem;
  border: 1px solid var(--line);
  align-self: start;
  background: white;
  position: sticky;
  top: 1rem
}

.event-action .button {
  width: 100%
}

.event-action h2 {
  font-size: 1.6rem
}

.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  overflow-wrap: anywhere
}

.prose p {
  max-width: 68ch
}

.prose img {
  height: auto
}

.prose blockquote {
  border-left: 3px solid var(--line);
  padding-left: 1rem;
  color: var(--muted)
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: .9rem
}

.data-table th,
.data-table td {
  padding: 1rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top
}

.data-table th {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted)
}

.data-table th button {
  color: var(--ink);
  padding: 0;
  background: none;
  border: 0;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  min-height: 28px
}

.empty-state {
  padding: 2rem 0;
  max-width: 660px;
  color: var(--muted)
}

.empty-state h2 {
  color: var(--ink);
  font-size: 1.7rem
}

.split-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0
}

.split-links>a {
  padding: 1.5rem 0;
  border-top: 2px solid var(--action);
  font: 1.5rem Georgia;
  text-decoration: none
}

.board-row {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 2rem
}

.board-row.no-image {
  grid-template-columns: 1fr
}

.board-row img {
  width: 150px;
  height: 110px;
  object-fit: cover
}

.board-row h2 {
  font-size: 1.7rem;
  margin: .5rem 0
}

.board-row h2 a {
  color: var(--ink);
  text-decoration: none
}

.post-meta {
  font-size: .8rem;
  color: var(--muted)
}

.post-content {
  font: 1.15rem/1.9 Georgia;
  white-space: normal
}

.attachment-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0
}

.attachment-item {
  padding: 1rem;
  background: var(--selected);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow-wrap: anywhere
}

.attachment-photo {
  max-height: 520px;
  object-fit: contain;
  width: auto
}

.comment {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line)
}

.comment p {
  white-space: pre-wrap
}

.draft-tools {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: var(--paper);
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  z-index: 10
}

.upload-row {
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
  font-size: .9rem
}

.upload-row progress {
  width: 100%;
  height: 8px
}

.upload-actions {
  display: flex;
  gap: .75rem;
  margin-top: .5rem
}

.upload-actions button {
  font-size: .8rem;
  min-height: 34px;
  padding: .3rem .7rem
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem
}

.plan {
  padding: 1.4rem 0;
  border-top: 2px solid var(--action)
}

.plan .price {
  font: 2.3rem Georgia;
  margin: .8rem 0
}

.account-summary {
  padding: 2rem;
  background: var(--selected);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem
}

.account-summary h2 {
  font-size: 2.1rem
}

.member-sections {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem
}

.staff-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--selected);
  border-bottom: 1px solid var(--line);
  padding: .75rem 1rem
}

.staff-nav a {
  font-size: .8rem;
  text-decoration: none
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem
}

.work-group {
  border-top: 2px solid var(--action);
  padding-top: 1rem
}

.work-group a {
  display: block;
  margin: .6rem 0
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0
}

.metric {
  border-left: 1px solid var(--line);
  padding-left: 1rem
}

.metric strong {
  font: 2.2rem Georgia;
  display: block
}

.metric span {
  font-size: .8rem;
  color: var(--muted)
}

.trend {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin: 2rem 0
}

.trend>div {
  background: var(--action);
  flex: 1;
  min-height: 2px
}

.pdf-reader {
  width: 100%;
  height: 78vh;
  min-height: 520px;
  background: #e6ecf3;
  border: 0
}

.hut-cover {
  border: 1px solid var(--line);
  padding: 2rem;
  background: #eee8d7;
  margin-bottom: 1rem
}

.hut-cover h2 {
  font: 3rem Georgia
}

.hut-detail-page .hut-ai-panel {
  background: transparent !important
}

details {
  border-top: 1px solid var(--line);
  padding: 1rem 0
}

summary {
  cursor: pointer;
  font-weight: 600
}

.capture-body {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: white;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.page-top+.section {
  padding-top: 0
}

.feedback {
  padding-top: 1rem
}

.pagination {
  gap: .5rem
}

.container {
  max-width: 1200px
}

.card {
  border-color: var(--line);
  border-radius: 4px;
  box-shadow: none !important;
  background: white
}

.table-primary,
.table-dark {
  --bs-table-bg: var(--selected);
  --bs-table-color: #172e49
}

.modal-content {
  background: var(--paper)
}

.alert-info {
  background: var(--selected);
  border-color: #b7cde1;
  color: var(--ink)
}

.badge.bg-primary {
  background: var(--action) !important
}

.text-primary {
  color: var(--action) !important
}

.btn-outline-primary {
  --bs-btn-color: var(--action);
  --bs-btn-border-color: var(--action);
  --bs-btn-hover-bg: var(--action);
  --bs-btn-hover-border-color: var(--action)
}

main>.container {
  margin-top: 2.5rem !important
}

main .container h2 {
  font-size: 2rem
}

main form {
  max-width: 100%
}

main .table-responsive {
  border: 0
}

.form-check-input:checked {
  background-color: var(--action);
  border-color: var(--action)
}

.local-tag {
  font-size: .75rem;
  background: #e6dabc;
  color: #4e4228;
  padding: 3px 7px;
  border-radius: 3px
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

iframe {
  max-width: 100%
}

@media(max-width:1060px) {
  .brand span {
    display: none
  }

  .site-header nav {
    gap: 1.2rem
  }

  .hero {
    gap: 2rem;
    --hero-photo-height: 400px
  }
}

@media(max-width:850px) {
  .header-inner {
    min-height: 70px;
    width: calc(100% - 2rem)
  }

  .brand img {
    width: 58px;
    height: 48px
  }

  .brand span {
    display: block;
    font-size: .75rem
  }

  .menu-button {
    display: flex;
    background: transparent;
    color: var(--ink);
    border: 0;
    gap: .7rem;
    padding: .5rem
  }

  .menu-button:hover {
    background: var(--selected);
    color: var(--ink)
  }

  #menu-close {
    align-self: flex-end
  }

  #public-menu {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    height: 100dvh;
    background: var(--paper);
    padding: 1rem 1.5rem;
    align-items: stretch;
    justify-content: flex-start;
    gap: .4rem;
    z-index: 1200;
    overflow: auto
  }

  #public-menu.open {
    display: flex;
    flex-direction: column
  }

  #public-menu>a,
  .nav-utilities a {
    font: 1.5rem Georgia;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line)
  }

  .nav-utilities {
    display: flex;
    flex-direction: column;
    border: 0;
    padding: 0;
    gap: 0
  }

  #menu-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--shade);
    z-index: 1150
  }

  .hero {
    padding-top: 2rem;
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .hero h1 {
    max-width: 12ch
  }

  .hero img {
    height: 340px;
    order: 2
  }

  .editorial-grid,
  .event-layout,
  .member-sections {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .event-action {
    position: static
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .plan-grid,
  .work-grid {
    grid-template-columns: 1fr 1fr
  }

  .month-cell {
    min-height: 70px
  }

  .month-event {
    font-size: .65rem
  }

  .metrics {
    grid-template-columns: 1fr 1fr
  }

  .event-row {
    grid-template-columns: 60px 1fr
  }

  .event-row>.status {
    grid-column: 2
  }

  .split-links {
    gap: 1rem
  }
}

@media(max-width:560px) {
  .shell {
    width: calc(100% - 2rem)
  }

  .preview-note {
    font-size: .59rem;
    letter-spacing: 0;
    padding: 4px 8px
  }

  .brand span {
    font-size: .7rem
  }

  .page-top {
    padding: 2rem 0 1.5rem
  }

  h1 {
    font-size: 2.65rem
  }

  .hero {
    padding-bottom: 2.5rem
  }

  .hero img {
    height: 270px
  }

  .hero-actions {
    gap: 1rem;
    margin-top: 1.5rem
  }

  .lede {
    font-size: 1.05rem
  }

  .section-heading {
    align-items: start;
    flex-direction: column
  }

  .section-heading h2 {
    margin-bottom: 0
  }

  .event-row {
    gap: 1rem;
    padding: 1rem 0
  }

  .event-date strong {
    font-size: 1.6rem
  }

  .editorial-grid {
    gap: 2rem
  }

  .split-links {
    grid-template-columns: 1fr
  }

  .split-links>a {
    padding: .85rem 0;
    font-size: 1.3rem
  }

  .filter-bar {
    padding: .85rem;
    gap: .75rem
  }

  .filter-bar label {
    flex: 1 1 120px;
    max-width: 100%
  }

  .filter-bar input,
  .filter-bar select {
    min-width: 0
  }

  .calendar-controls {
    gap: .75rem
  }

  .month-cell {
    min-height: 55px;
    padding: 6px;
    text-align: center
  }

  .month-event {
    display: none
  }

  .day-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--action);
    border-radius: 50%;
    margin: 5px auto 0
  }

  .weekday {
    font-size: .65rem;
    padding: 6px
  }

  .mobile-day {
    display: block;
    margin-top: 1.5rem
  }

  .desktop-month-agenda {
    display: none
  }

  .data-table.responsive thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden
  }

  .data-table.responsive tbody,
  .data-table.responsive tr,
  .data-table.responsive td {
    display: block
  }

  .data-table.responsive tr {
    border-top: 1px solid var(--line);
    padding: 1rem 0
  }

  .data-table.responsive td {
    border: 0;
    padding: .25rem 0;
    overflow-wrap: anywhere
  }

  .data-table.responsive td:before {
    content: attr(data-label);
    display: inline-block;
    min-width: 80px;
    font-size: .75rem;
    color: var(--muted);
    margin-right: 1rem
  }

  .data-table.responsive td[data-primary] {
    font-size: 1.05rem;
    font-weight: 650
  }

  .data-table.responsive td[data-primary]:before {
    display: none
  }

  .board-row {
    grid-template-columns: 1fr 85px;
    gap: 1rem;
    padding: 1.4rem 0
  }

  .board-row img {
    width: 85px;
    height: 85px
  }

  .board-row h2 {
    font-size: 1.4rem
  }

  .plan-grid,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .plan {
    padding: 1rem 0
  }

  .details-list {
    grid-template-columns: 1fr;
    gap: .2rem
  }

  .details-list dd {
    margin-bottom: 1rem
  }

  .footer-grid {
    gap: 1.5rem
  }

  .site-footer {
    padding-top: 2.5rem
  }

  .site-footer h2 {
    font-size: .72rem
  }

  .site-footer a {
    font-size: .86rem
  }

  .footer-brand {
    font-size: 1.3rem !important
  }

  .staff-nav {
    justify-content: start;
    gap: .7rem;
    padding: .6rem 1rem
  }

  .staff-nav a {
    font-size: .7rem
  }

  .metrics {
    gap: 1rem
  }

  .metric strong {
    font-size: 1.8rem
  }

  .pdf-reader {
    display: none
  }

  .pdf-mobile-note {
    display: block
  }

  .hut-detail-page .hut-stat-grid {
    display: block
  }

  .draft-tools {
    gap: .65rem
  }

  .draft-tools .button,
  .draft-tools button {
    font-size: .85rem;
    padding: .6rem .8rem
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem
  }

  .table-responsive {
    max-width: 100%
  }

  .form-label {
    font-size: .85rem
  }
}

@media(min-width:561px) {
  .pdf-mobile-note {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* Staff summary keeps its default metrics and trend in one desktop viewport. */
.analytics-top {padding-block:1.5rem 1rem}
.analytics-top .section-heading {align-items:center;margin-bottom:.75rem}
.analytics-top h1 {font-size:clamp(2rem,3vw,3rem);margin:0}
.analytics-top form {display:flex;gap:.75rem;align-items:flex-end}
.analytics-top form label {margin:0}
.analytics-top .eyebrow {margin-bottom:.6rem}
.analytics-top p {font-size:.92rem;margin-bottom:.75rem}
.analytics-body h2 {font-size:1.65rem}
.analytics-body .trend {height:140px}

/* Shared program and membership choices. */
.program-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; margin-top:2rem }
.program-grid article { border-top:2px solid var(--action); padding-top:1.3rem }
.term-choice { display:flex; align-items:center; gap:.7rem; padding:.8rem; border:1px solid var(--line); border-radius:4px; margin:.6rem 0; cursor:pointer }
.term-choice:has(input:checked) { background:var(--selected); border-color:var(--action) }
.term-choice input { accent-color:var(--action); width:1.2rem; height:1.2rem }
.term-choice strong { margin-left:auto; white-space:nowrap }
.selection-summary { background:var(--selected); padding:1rem; border-left:3px solid var(--action); margin:1rem 0 }
@media(max-width:700px) { .program-grid { grid-template-columns:1fr } }

a:hover { color:var(--action-dark) }

.event-row>div, .program-grid>* { min-width:0; overflow-wrap:anywhere }
.site-footer a:hover, .site-footer a:focus-visible { color:#ffffff; text-decoration:underline }
.site-footer a:focus-visible { outline-color:#c1d6e9 !important }

/* Shared readiness and table-first standings layouts. */
.racing-choices { grid-template-columns:repeat(2,minmax(0,1fr)) }
.standings-extra { margin:1.5rem 0; padding:1rem 0; border-top:1px solid var(--line) }
.board-row>img { display:block; width:100%; height:180px; object-fit:cover; border-radius:4px }
.board-row>div { min-width:0 }
.readiness { background:var(--selected); padding:1.2rem; margin:1rem 0 }
.person-list>article { padding:1rem 0; border-bottom:1px solid var(--line) }
.private-details { font-size:.9rem; color:var(--muted) }
@media(max-width:560px) {
  .board-row { grid-template-columns:1fr }
  .board-row>img { grid-row:1; height:210px }
  .racing-choices { grid-template-columns:1fr }
}

/* Shared board-directory and private archive review layouts. */
.director-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
}
.director-list article {
  padding:1rem 0;
  border-top:1px solid var(--line);
  min-width:0;
}
.director-list a { overflow-wrap:anywhere }
.director-list h2 { font-size:1.6rem }
.archive-cover {
  display:block;
  max-width:100%;
  width:180px;
  height:auto;
}
.archive-rows article {
  border-top:1px solid var(--line);
  padding:1.5rem 0;
  display:flex;
  gap:1.2rem;
}
.archive-rows article>div { min-width:0; overflow-wrap:anywhere }
.archive-review { overflow-wrap:anywhere }
@media(max-width:560px) {
  .director-list { grid-template-columns:1fr }
  .archive-rows article { display:block }
  .archive-cover { width:120px; margin-bottom:1rem }
}

/* Visitor archive and shared editing controls. */
.issue-shelf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem
}

.issue-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1.2rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem
}

.issue-card img {
    width: 120px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 3px 12px #102f4920
}

.issue-card h2,
.archive-hits h2 {
    font-size: 1.5rem
}

.issue-title-cover {
    background: var(--selected);
    padding: 1rem;
    font-family: Georgia, serif;
    min-height: 140px
}

.archive-hits article {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line)
}

.selected-article {
    border-left: 4px solid var(--action);
    padding-left: 1rem;
    scroll-margin-top: 1rem
}

.editor-section {
    margin: 2rem 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    min-width: 0
}

.editor-section legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    float: none;
    width: auto
}

.editor-section input[type=checkbox] {
    width: 1.15rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    display: inline-block;
    appearance: auto;
    background-image: none;
    vertical-align: middle;
    accent-color: var(--action)
}

[data-event-field][hidden],
[data-waiver-field][hidden] {
    display: none
}

#signature-pad {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    background: white;
    border: 1px solid var(--line);
    touch-action: none
}

.hero>img {
    object-position: 50% 62%
}

@media(max-width:800px) {
    .issue-shelf {
        grid-template-columns: 1fr
    }
}

@media(max-width:390px) {
    .issue-card {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: .8rem
    }

    .issue-card img {
        width: 85px
    }
}

.signed-waiver-text {
    padding: 1.2rem;
    border: 1px solid var(--line);
    background: white;
    font-size: 1rem;
    line-height: 1.75;
    overflow-wrap: anywhere
}

.waiver-signature {
    display: block;
    max-width: 100%;
    width: 560px;
    height: auto;
    border: 1px solid var(--line);
    background: white;
    margin: 1rem 0
}

@media print {

    .site-header,
    .site-footer,
    .preview-note,
    .waiver-receipt .button {
        display: none
    }

    .waiver-receipt {
        width: 100%;
        max-width: none
    }

    .signed-waiver-text {
        border: 0;
        padding: 0
    }
}


.home-bulletin {
    border-bottom: 1px solid var(--line)
}

.home-post-feature.has-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center
}

.home-post-feature:not(.has-photo) {
    max-width: 52rem
}

.home-membership .editorial-grid {
    align-items: center
}

.home-post-photo {
    display: block
}

.issue-search {
    padding-block: 1.5rem;
    border-block: 1px solid var(--line);
    margin-bottom: 1.5rem
}

.issue-search .archive-hits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem
}

.archive-hit-title {
    font-size: 1.35rem;
    overflow-wrap: anywhere
}

.reader-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-block: 1rem
}

.reader-jump {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0
}

.reader-jump label {
    max-width: 12rem;
    margin: 0
}

.reader-jump input {
    width: 100%
}

@media(max-width:700px) {
    .home-post-feature.has-photo {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .home-membership .editorial-grid {
        gap: 1.5rem
    }

    .issue-search .archive-hits {
        grid-template-columns: 1fr
    }

    .reader-controls {
        gap: .7rem
    }
}

.home-post-photo .story-photo {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain
}

.mobile-table-sort {
    display: none
}

@media(max-width:767.98px) {
    .mobile-table-sort {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem;
        margin-bottom: 1rem
    }

    .mobile-table-sort label {
        flex: 1 1 10rem;
        min-width: 0;
        max-width: 100%
    }

    .mobile-table-sort select {
        width: 100%;
        max-width: 100%
    }
}
.account-greeting { overflow-wrap: anywhere; }

.reader-view-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-block: 1rem
}

.reader-issue-title { font-weight: 650; margin-bottom: .5rem }
.reader-text h2 { font-size: 1.5rem }
.ocr-text-body { max-width: 75ch; line-height: 1.75; overflow-wrap: anywhere }
.ocr-text-body p { max-width: none; margin-bottom: 1.15em }

/* Short desktop viewports: compact at 650px, easing back to the original
   dimensions at 800px. The existing mobile layout and readable controls stay
   independent of viewport height. Keep these after the width-based rules. */
@media screen and (min-width: 851px) and (max-height: 800px) {
    :root {
        --laptop-room: clamp(0px, calc(100vh - 650px), 150px)
    }

    .header-inner {
        min-height: calc(78px + var(--laptop-room) * .1066667)
    }

    h1 {
        font-size: clamp(2.3rem, 5.5vw, calc(3.125rem + var(--laptop-room) * .1466667))
    }

    .lede {
        font-size: calc(1.125rem + var(--laptop-room) * .008);
        line-height: calc(1.5em + var(--laptop-room) * .0192);
        text-wrap: pretty
    }

    .section {
        padding-block: min(var(--section-space), calc(2.5rem + var(--laptop-room) * .2666667))
    }

    .page-top {
        padding-top: calc(1.25rem + var(--laptop-room) * .1866667);
        padding-bottom: calc(1rem + var(--laptop-room) * .1066667)
    }

    .eyebrow {
        margin-bottom: calc(.5rem + var(--laptop-room) * .0533333)
    }

    .hero {
        padding-top: calc(1.25rem + var(--laptop-room) * .1866667);
        padding-bottom: calc(1.5rem + var(--laptop-room) * .2666667)
    }

    .hero h1 {
        margin-bottom: calc(.875rem + var(--laptop-room) * .04)
    }

    .hero img {
        height: min(var(--hero-photo-height), calc(310px + var(--laptop-room) * 1.1333333))
    }

    .page-top .archive-cover {
        width: calc(150px + var(--laptop-room) * .2)
    }

    .hero-actions {
        margin-top: calc(1.25rem + var(--laptop-room) * .08)
    }

    .pill-nav {
        margin-block: calc(.875rem + var(--laptop-room) * .0666667)
    }

    .issue-shelf {
        margin-top: calc(1.25rem + var(--laptop-room) * .08)
    }
}
