:root {
  color-scheme: light;
  --red: #d71932;
  --red-dark: #b91026;
  --ink: #18191c;
  --muted: #74767e;
  --line: #e8e9ed;
  --soft: #f7f8fa;
  --pink: #fff1f3;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 750;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
.shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  display: inline-block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.red-text {
  color: var(--red);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
}
.red-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.button,
button:not(.text-button):not(.icon-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 10px;
  min-height: 50px;
  padding: 13px 20px;
  font-weight: 650;
  font-size: 0.875rem;
  line-height: 1.3;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover,
button:not(.text-button):not(.icon-button):hover {
  background: var(--red-dark);
}
.button:active,
button:active {
  transform: translateY(1px);
}
.button.secondary,
button.secondary:not(.text-button):not(.icon-button) {
  color: var(--ink);
  background: white;
  border-color: #dfe0e5;
}
.button.secondary:hover,
button.secondary:not(.text-button):not(.icon-button):hover {
  background: var(--soft);
}
.button-small {
  min-height: 42px;
  padding: 10px 15px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--red);
  min-height: 44px;
}
.text-link .icon {
  width: 17px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--red);
  font-size: 0.875rem;
  padding: 12px 0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover {
  background: var(--soft);
}
.disabled {
  opacity: 0.25;
  pointer-events: none;
}
:focus-visible {
  outline: 3px solid #ed8594;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  background: white;
  padding: 14px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 94px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}
.header-inner {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 52px;
  height: 60px;
  object-fit: contain;
}
.brand-type {
  font-size: 1.24rem;
  letter-spacing: 0.14em;
  font-weight: 850;
  line-height: 1.25;
}
.brand-type small {
  display: block;
  font-size: 0.49rem;
  letter-spacing: 0.19em;
  font-weight: 600;
  color: var(--muted);
  margin-top: 5px;
}
.desktop-tabs {
  align-self: stretch;
  display: flex;
  gap: 40px;
}
.desktop-tabs a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid transparent;
  padding: 3px 5px 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.desktop-tabs a[aria-current] {
  border-bottom-color: var(--red);
  color: var(--red);
}
.desktop-tabs a .icon {
  width: 18px;
}
.header-account {
  display: flex;
  justify-content: flex-end;
  min-width: 180px;
}
.account-menu {
  position: relative;
}
.account-menu > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-height: 48px;
  list-style: none;
}
.account-menu summary::-webkit-details-marker,
.date-picker summary::-webkit-details-marker {
  display: none;
}
.account-name {
  font-size: 0.875rem;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f5;
  color: #4d4f58;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.account-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 260px;
  z-index: 30;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px #1f23301c;
}
.account-popover p {
  font-size: 0.85rem;
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.account-popover small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.account-popover > a,
.account-popover .text-button {
  display: block;
  padding: 12px 8px;
  font-size: 0.85rem;
  width: 100%;
  text-align: left;
  border-radius: 6px;
}
.account-popover > a:hover {
  background: var(--soft);
}
.account-popover form {
  margin: 0;
}
.mobile-tabs {
  display: none;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  color: var(--muted);
  font-size: 0.75rem;
}
.site-footer > .shell {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 28px;
}
.site-footer strong {
  color: var(--ink);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}
.site-footer strong span {
  color: var(--red);
}
.site-footer small {
  margin-left: auto;
  font-size: 0.7rem;
}
.messages {
  margin-top: 24px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.notice.error {
  background: var(--pink);
  border-color: #f2cad0;
}
.notice .icon {
  margin-top: 2px;
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0 60px;
}
.hero-copy {
  padding-block: 20px;
}
.hero h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.15rem);
  line-height: 1.035;
  letter-spacing: -0.065em;
  font-weight: 780;
  margin-bottom: 26px;
}
.hero h1 em {
  color: var(--red);
  font-style: normal;
}
.hero-description {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 350px;
  margin-bottom: 30px;
}
.hero-footnote {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 18px;
  margin-bottom: 0;
}
.hero-footnote .icon {
  width: 15px;
  height: 15px;
}
.hero-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1.14;
  background: #080808;
  border-radius: 24px;
  overflow: hidden;
}
.hero-visual > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, #000b);
  pointer-events: none;
}
.hero-visual figcaption {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: white;
}
.photo-mark {
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}
.photo-mark span {
  color: var(--red);
  margin-left: 3px;
}
.hero-visual figcaption > span:last-child {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-align: right;
}
.news-section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
}
.section-heading h2 {
  font-size: 1.9rem;
}
.section-note {
  color: var(--muted);
  font-size: 0.8rem;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.news-feed {
  display: grid;
  gap: 20px;
}
.news-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.news-card.is-pinned {
  border-top: 3px solid var(--red);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.7rem;
}
.category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6rem;
  font-weight: 750;
  color: var(--red);
  background: var(--pink);
  padding: 5px 8px;
  border-radius: 4px;
}
.news-meta time {
  margin-left: auto;
  color: var(--muted);
}
.pin-label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.65rem;
}
.pin-label .icon {
  width: 13px;
  height: 13px;
}
.news-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.post-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #62646c;
  overflow-wrap: anywhere;
}
.post-body p:last-child {
  margin-bottom: 0;
}
.post-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-aside {
  background: var(--soft);
  border-radius: 14px;
  padding: 28px;
}
.aside-icon {
  color: var(--red);
  display: inline-flex;
  margin-bottom: 20px;
}
.home-aside h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.home-aside p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.8;
}
.aside-divider {
  height: 1px;
  background: #e2e3e8;
  margin: 22px 0;
}
.home-aside .aside-tip {
  font-size: 0.75rem;
}
.empty-mural {
  padding: 38px 30px;
  border: 1px dashed #d7d9e0;
  border-radius: 14px;
  background: linear-gradient(120deg, #fcfcfd, #fff);
  min-height: 265px;
}
.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
  background: #fff;
  color: var(--red);
}
.empty-mural h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.empty-mural p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 400px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  font-size: 0.875rem;
}
.agenda-page {
  padding-top: 42px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.page-heading h1 {
  font-size: 2.35rem;
  margin-bottom: 12px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading p:not(.eyebrow) {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.calendar-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 4px 20px #171b2403;
}
.calendar-toolbar {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 3;
}
.week-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}
.arrow-pair {
  display: flex;
  gap: 0;
}
.week-title h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.week-title h2 span {
  color: #a7a8af;
  margin-inline: 4px;
}
.week-title > span {
  font-size: 0.67rem;
  color: var(--muted);
}
.calendar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.today-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.date-picker {
  position: relative;
}
.date-picker summary {
  list-style: none;
}
.date-picker form {
  position: absolute;
  z-index: 20;
  right: 0;
  top: 50px;
  width: 245px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 16px 30px #1112;
}
.date-picker form label {
  font-size: 0.8rem;
}
.date-picker form button {
  width: 100%;
  margin-top: 12px;
  min-height: 44px !important;
}
.view-toggle {
  display: flex;
  background: var(--soft);
  padding: 4px;
  border-radius: 9px;
  gap: 3px;
}
.view-toggle a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  min-height: 36px;
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 6px;
}
.view-toggle a[aria-current] {
  background: white;
  border-color: var(--line);
  box-shadow: 0 1px 4px #12152008;
  color: var(--ink);
  font-weight: 600;
}
.view-toggle .icon {
  width: 16px;
  height: 16px;
}
.week-grid {
  display: grid;
  grid-template-columns: 58px repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.time-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b4b6bf;
  border-bottom: 1px solid var(--line);
}
.time-heading .icon {
  width: 15px;
  height: 15px;
}
.day-heading {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.day-name {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}
.day-number {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.6;
  min-width: 38px;
  text-align: center;
  letter-spacing: -0.04em;
}
.day-heading.is-today .day-number {
  background: var(--red);
  color: white;
  border-radius: 50%;
  line-height: 38px;
}
.day-heading.is-today .day-name {
  color: var(--red);
}
.day-heading.is-outside .day-name,
.day-heading.is-outside .day-number {
  color: #b9bbc2;
}
.today-dot {
  display: none;
}
.time-label {
  padding-top: 16px;
  display: flex;
  justify-content: center;
  color: #8c8e96;
  font-size: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.calendar-cell {
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 124px;
  padding: 6px;
  min-width: 0;
  position: relative;
  background-image: linear-gradient(
    transparent calc(50% - 1px),
    #f7f7f9 50%,
    transparent calc(50% + 1px)
  );
}
.calendar-cell.today-column {
  background-color: #fffafb;
}
.calendar-cell.past-column {
  background-color: #fafafb;
}
.calendar-event {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 7px;
  background: #fff0f2;
  border-left: 3px solid #e14b60;
  padding: 10px 9px;
  min-height: 102px;
  transition:
    filter 0.15s,
    box-shadow 0.15s;
  overflow: hidden;
}
.calendar-event:hover {
  filter: brightness(0.97);
  box-shadow: 0 3px 12px #dc1d3420;
}
.event-time {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  color: #a62b3d;
}
.event-name {
  font-size: 0.8rem;
  font-weight: 650;
  color: #812736;
}
.event-count {
  font-size: 0.66rem;
  color: #91444f;
  margin-top: auto;
  white-space: nowrap;
}
.event-divider {
  padding: 0 2px;
}
.calendar-event.event-full {
  background: #f1f2f5;
  border-left-color: #8d909c;
}
.event-full .event-time,
.event-full .event-name,
.event-full .event-count {
  color: #666975;
}
.calendar-event.event-mine {
  background: #292c34;
  border-color: #17191e;
}
.event-mine .event-time,
.event-mine .event-name {
  color: white;
}
.event-mine .event-count {
  color: #c1c5cf;
}
.event-check {
  position: absolute;
  right: 5px;
  top: 6px;
  color: #fff;
}
.event-check .icon {
  width: 13px;
  height: 13px;
}
.calendar-event.event-cancelled {
  background: #fff;
  border: 1px dashed #d5d7de;
  opacity: 0.7;
}
.event-cancelled .event-time,
.event-cancelled .event-name {
  color: #888b95;
  text-decoration: line-through;
}
.event-cancelled .event-count {
  color: #888b95;
}
.calendar-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  min-height: 300px;
}
.calendar-empty h3 {
  margin-bottom: 10px;
}
.calendar-empty p {
  font-size: 0.85rem;
  color: var(--muted);
}
.calendar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 15px;
}
.calendar-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.calendar-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--muted);
}
.calendar-legend i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.legend-available {
  background: #e14b60;
}
.legend-full {
  background: #8d909c;
}
.legend-mine {
  background: #292c34;
}
.legend-cancelled {
  border: 1px solid #9ca0ab;
}
.calendar-hint {
  font-size: 0.65rem;
  color: #9a9ca5;
}
.calendar-help {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
}
.calendar-help > .icon {
  width: 17px;
}
.calendar-help p {
  font-size: 0.75rem;
  margin: 0;
  max-width: 650px;
}
.calendar-help p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
.calendar-help > span {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.65rem;
}
.week-list {
  border-top: 1px solid var(--line);
  padding: 0 24px;
}
.list-day {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.list-date {
  width: 46px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.list-date > span {
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.list-date > strong {
  font-size: 1.4rem;
  font-weight: 600;
}
.list-date.is-today {
  color: var(--red);
}
.list-events {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.list-event {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.list-event time {
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.list-event > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.list-event > div strong {
  font-size: 0.85rem;
}
.list-event > div span {
  font-size: 0.7rem;
  color: var(--muted);
}
.list-event-status {
  margin-left: auto;
  color: var(--red);
  font-size: 0.7rem;
  white-space: nowrap;
}
.list-event.event-mine {
  border-left: 3px solid var(--ink);
}
.list-event.event-cancelled {
  opacity: 0.6;
}
.list-event > .icon {
  width: 16px;
  color: #aaa;
}
.no-sessions {
  font-size: 0.75rem;
  color: #a2a4ac;
  margin: 14px 0;
}
.training-dialog {
  background: #fff;
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(480px, calc(100% - 32px));
  max-height: 85dvh;
  color: var(--ink);
  box-shadow: 0 25px 100px #0003;
  overscroll-behavior: contain;
}
.training-dialog::backdrop {
  background: #14151b73;
  backdrop-filter: blur(4px);
}
.training-dialog[open] {
  animation: dialog-in 0.18s ease-out;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.training-content {
  padding: 34px;
}
.training-content > .eyebrow {
  padding-right: 30px;
  margin-bottom: 14px;
  font-size: 0.57rem;
}
.training-content > h2 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}
.training-date {
  color: var(--muted);
  font-size: 0.87rem;
}
.training-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 22px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}
.training-stats > div {
  display: grid;
  grid-template-columns: 22px auto;
  gap: 4px 8px;
  align-items: center;
}
.training-stats .icon {
  width: 17px;
  color: #8b8e97;
}
.training-stats strong {
  font-size: 1.1rem;
  font-weight: 650;
}
.training-stats span {
  grid-column: 2;
  font-size: 0.65rem;
  color: var(--muted);
}
.availability > span {
  font-size: 0.75rem;
  font-weight: 600;
}
.availability progress {
  margin-top: 10px;
}
.own-confirmation {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  background: var(--soft);
  border-radius: 8px;
  padding: 12px;
  margin-top: 20px;
}
.own-confirmation .icon {
  width: 17px;
}
.participants {
  margin-top: 26px;
}
.participants h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  letter-spacing: 0;
}
.participants h3 > span {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
}
.participants ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
}
.participants li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  padding: 8px 0;
}
.participants li > span:last-child {
  overflow-wrap: anywhere;
}
.participants small {
  color: var(--muted);
  margin-left: 8px;
  font-size: 0.65rem;
}
.training-action {
  margin-top: 26px;
}
.training-action > .button {
  width: 100%;
}
.training-action p {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}
.drawer-handle {
  display: none;
}
.training-page {
  max-width: 500px;
  margin: 20px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.content-narrow {
  max-width: 760px;
  padding-top: 44px;
  min-height: 60vh;
}
.content-narrow > h1 {
  font-size: 2.15rem;
}
.content-narrow > p {
  color: var(--muted);
  font-size: 0.9rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin: 18px 0;
  background: #fff;
  overflow-wrap: anywhere;
}
.card h2,
.card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}
.card p {
  font-size: 0.87rem;
  color: #6c6f78;
}
.card .row h2,
.card .row h3 {
  margin: 0;
}
.card > a:not(.button) {
  color: var(--red);
  font-size: 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.row,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.row {
  justify-content: space-between;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  background: var(--soft);
  color: #737681;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.4;
}
.stack {
  width: 100%;
}
.stack p {
  margin-bottom: 22px;
}
.stack > button {
  width: 100%;
  margin-top: 8px;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  margin-top: 28px;
}
.form-heading {
  max-width: 580px;
}
.form-heading h1 {
  font-size: 2.1rem;
}
.form-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.form-heading .eyebrow {
  margin-bottom: 14px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
input:not([type="checkbox"]):not([type="hidden"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #dfe1e7;
  background: #fff;
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
}
input::placeholder,
textarea::placeholder {
  color: #a5a7af;
  font-size: 0.875rem;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  vertical-align: middle;
  margin: 0 8px 0 0;
}
textarea {
  resize: vertical;
}
.stack p:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.stack p:has(input[type="checkbox"]) label {
  margin: 0;
}
.helptext {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}
.helptext ul {
  padding-left: 20px;
}
.errorlist {
  color: var(--red-dark);
  font-size: 0.8rem;
  padding-left: 18px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  min-height: 44px;
  margin-bottom: 18px;
}
.admin-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin: 22px 0;
}
.admin-nav > a {
  min-height: 42px;
  padding: 10px 14px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}
.admin-nav > a:hover {
  color: var(--red);
}
.content-narrow details:not(.account-menu) {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin: 16px 0;
}
.content-narrow details > summary {
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 0;
}
.content-narrow details[open] {
  padding-bottom: 18px;
}
.content-narrow details p {
  font-size: 0.85rem;
  color: var(--muted);
}
.content-narrow details .stack {
  padding-top: 15px;
}
.content-narrow section {
  margin: 36px 0;
}
.content-narrow section > h2 {
  font-size: 1.35rem;
}
.content-narrow section > p {
  color: var(--muted);
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
  font-size: 0.8rem;
}
progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 5px;
  border: 0;
  background: #f0f1f4;
  border-radius: 5px;
  accent-color: var(--red);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #f0f1f4;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: var(--red);
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: var(--red);
}
.login-panel {
  max-width: 420px;
  margin: 20px auto 40px;
  text-align: center;
}
.login-panel > .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}
.login-panel h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.login-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.87rem;
}
.login-panel > .stack {
  text-align: left;
  margin-top: 32px;
}
.login-panel .login-help {
  font-size: 0.75rem !important;
  line-height: 1.8;
  margin-top: 25px;
}
.login-panel > .empty-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
}
.content-narrow .section-heading h1 {
  font-size: 2rem;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .hero {
    gap: 90px;
  }
  .hero-visual {
    aspect-ratio: 1.13;
  }
}
@media (max-width: 1000px) {
  .header-account {
    min-width: 150px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-visual {
    aspect-ratio: 0.92;
  }
  .home-columns {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 265px;
  }
  .calendar-toolbar {
    padding: 18px;
  }
  .week-controls {
    gap: 8px;
  }
  .week-title h2 {
    font-size: 1.05rem;
  }
  .calendar-tools {
    gap: 6px;
  }
  .calendar-event {
    padding: 8px 6px;
  }
  .event-name {
    font-size: 0.7rem;
  }
  .desktop-event-label {
    display: none;
  }
  .calendar-hint {
    display: none;
  }
  .view-toggle a {
    padding: 8px;
  }
  .hero-description {
    font-size: 0.93rem;
  }
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .shell,
  .header-inner {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 76px;
  }
  .header-inner {
    gap: 14px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 38px;
    height: 48px;
  }
  .brand-type {
    font-size: 1.05rem;
  }
  .brand-type small {
    font-size: 0.42rem;
    letter-spacing: 0.13em;
  }
  .desktop-tabs {
    display: none;
  }
  .header-account {
    min-width: 0;
  }
  .header-account .button {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.75rem;
  }
  .header-account .button .icon {
    width: 16px;
  }
  .account-name {
    display: none;
  }
  .account-menu > summary {
    gap: 5px;
  }
  .account-menu > summary > .icon {
    width: 16px;
  }
  .account-popover {
    top: calc(100% + 8px);
  }
  .mobile-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px #1b1b2504;
  }
  .mobile-tabs > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    font-size: 0.78rem;
    color: #858893;
    font-weight: 600;
    border-radius: 11px;
  }
  .mobile-tabs > a .icon {
    width: 20px;
    height: 20px;
  }
  .mobile-tabs > a[aria-current] {
    background: var(--pink);
    color: var(--red);
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 0 32px;
    align-items: stretch;
  }
  .hero-visual {
    order: -1;
    aspect-ratio: 1.6;
    border-radius: 16px;
  }
  .hero-visual > img {
    object-position: 62% 36%;
  }
  .hero-visual figcaption {
    bottom: 16px;
    left: 18px;
    right: 18px;
  }
  .photo-mark {
    font-size: 1.55rem;
  }
  .hero-visual figcaption > span:last-child {
    font-size: 0.52rem;
  }
  .hero-copy {
    padding: 26px 2px 0;
  }
  .hero .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 9.8vw, 3.5rem);
    letter-spacing: -0.065em;
    margin-bottom: 18px;
    line-height: 1.06;
  }
  .hero-description {
    font-size: 0.86rem;
    line-height: 1.7;
    max-width: 330px;
    margin-bottom: 22px;
  }
  .hero-copy > .button {
    width: 100%;
    font-size: 0.82rem;
    min-height: 52px;
    justify-content: space-between;
    padding-inline: 18px;
  }
  .hero-footnote {
    justify-content: center;
    font-size: 0.62rem;
    margin-top: 14px;
  }
  .hero-footnote .icon {
    width: 14px;
  }
  .news-section {
    padding-top: 28px;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .section-heading .eyebrow {
    font-size: 0.52rem;
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 1.65rem;
  }
  .section-note {
    font-size: 0.62rem;
    display: none;
  }
  .section-heading .button {
    font-size: 0.7rem;
    min-height: 42px;
    padding: 10px 12px;
  }
  .section-heading .button .icon {
    width: 15px;
  }
  .home-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .empty-mural {
    padding: 25px 22px;
    min-height: 0;
  }
  .empty-mural h3 {
    font-size: 1.1rem;
  }
  .empty-mural p {
    font-size: 0.8rem;
  }
  .empty-mural .empty-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }
  .news-card {
    padding: 22px 20px;
  }
  .news-card h3 {
    font-size: 1.2rem;
  }
  .news-meta {
    gap: 8px;
    font-size: 0.62rem;
  }
  .news-meta time {
    font-size: 0.62rem;
  }
  .post-body {
    font-size: 0.82rem;
  }
  .home-aside {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;
  }
  .aside-icon {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .home-aside h3 {
    grid-column: 1;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  .home-aside h3 br {
    display: none;
  }
  .home-aside h3 br:after {
    content: " ";
  }
  .home-aside > p,
  .home-aside > .text-link,
  .aside-divider {
    grid-column: 1/-1;
  }
  .home-aside p {
    font-size: 0.78rem;
  }
  .home-aside .aside-divider {
    margin: 14px 0;
  }
  .site-footer {
    margin-top: 42px;
  }
  .site-footer > .shell {
    gap: 8px;
    padding-block: 22px;
    flex-wrap: wrap;
  }
  .site-footer strong {
    font-size: 0.72rem;
  }
  .site-footer span {
    font-size: 0.63rem;
  }
  .site-footer small {
    font-size: 0.6rem;
  }
  .agenda-page {
    padding-top: 28px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 1.85rem;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
  }
  .page-heading .eyebrow {
    font-size: 0.53rem;
    margin-bottom: 12px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 0.78rem;
    line-height: 1.6;
    max-width: 285px;
  }
  .page-heading > .button {
    min-height: 42px;
    font-size: 0.72rem;
    padding: 10px 13px;
  }
  .page-heading > .button .icon {
    width: 16px;
  }
  .calendar-panel {
    border-radius: 12px;
  }
  .calendar-toolbar {
    padding: 14px 10px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .week-controls {
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
    padding-left: 4px;
  }
  .week-title h2 {
    font-size: 1.05rem;
  }
  .week-title > span {
    font-size: 0.6rem;
  }
  .arrow-pair .icon-button {
    width: 40px;
    height: 40px;
    background: var(--soft);
    border-radius: 7px;
    margin-left: 4px;
  }
  .arrow-pair .icon {
    width: 17px;
  }
  .calendar-tools {
    width: 100%;
    gap: 6px;
  }
  .today-button {
    padding: 8px 12px;
    font-size: 0.72rem;
    min-height: 38px;
  }
  .date-picker > .icon-button {
    width: 38px;
    height: 38px;
  }
  .date-picker > .icon-button .icon {
    width: 18px;
  }
  .date-picker form {
    left: -60px;
    right: auto;
    top: 44px;
  }
  .view-toggle {
    margin-left: auto;
    padding: 3px;
  }
  .view-toggle a {
    min-height: 32px;
    font-size: 0.65rem;
    padding: 6px 9px;
    gap: 5px;
  }
  .view-toggle a .icon {
    width: 14px;
    height: 14px;
  }
  .week-grid {
    grid-template-columns: 31px repeat(7, minmax(0, 1fr));
  }
  .day-heading {
    min-height: 66px;
    gap: 3px;
  }
  .day-name {
    font-size: 0.59rem;
    letter-spacing: 0.01em;
  }
  .day-number {
    font-size: 1rem;
    min-width: 28px;
    line-height: 28px;
  }
  .day-heading.is-today .day-number {
    line-height: 28px;
  }
  .time-heading .icon {
    width: 12px;
    height: 12px;
  }
  .time-label {
    font-size: 0.55rem;
    padding-top: 14px;
    letter-spacing: -0.04em;
  }
  .calendar-cell {
    min-height: 88px;
    padding: 3px 2px;
    background-image: none;
  }
  .calendar-event {
    min-height: 78px;
    padding: 8px 2px 6px;
    border-left-width: 2px;
    gap: 4px;
    border-radius: 5px;
    align-items: center;
  }
  .event-time {
    font-size: 0.66rem;
    letter-spacing: -0.045em;
    font-weight: 700;
    white-space: nowrap;
  }
  .event-name {
    display: none;
  }
  .event-count {
    font-size: 0.65rem;
    margin-top: auto;
    line-height: 1.5;
    font-weight: 550;
  }
  .event-divider {
    padding: 0 1px;
  }
  .event-check {
    right: 0;
    top: 29px;
    width: 100%;
    text-align: center;
    line-height: 1;
  }
  .event-check .icon {
    width: 12px;
    height: 12px;
  }
  .calendar-bottom {
    padding: 15px 10px;
  }
  .calendar-legend {
    gap: 8px 12px;
  }
  .calendar-legend > span {
    font-size: 0.6rem;
    gap: 4px;
  }
  .calendar-legend i {
    width: 6px;
    height: 6px;
  }
  .calendar-help {
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
  }
  .calendar-help > .icon {
    width: 16px;
    margin-top: 2px;
  }
  .calendar-help p {
    font-size: 0.68rem;
    line-height: 1.65;
  }
  .calendar-help > span {
    display: none;
  }
  .calendar-empty {
    min-height: 260px;
    padding: 30px 16px;
  }
  .calendar-empty h3 {
    font-size: 1rem;
  }
  .calendar-empty p {
    font-size: 0.75rem;
    max-width: 200px;
  }
  .calendar-empty .empty-icon {
    width: 42px;
    height: 42px;
  }
  .week-list {
    padding: 0 12px;
  }
  .list-day {
    gap: 10px;
    padding: 16px 0;
  }
  .list-date {
    width: 28px;
  }
  .list-date > span {
    font-size: 0.52rem;
  }
  .list-date > strong {
    font-size: 1.2rem;
  }
  .list-event {
    padding: 12px 10px;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
  }
  .list-event time {
    font-size: 0.72rem;
  }
  .list-event > div strong {
    font-size: 0.72rem;
  }
  .list-event > div span {
    font-size: 0.6rem;
  }
  .list-event-status {
    font-size: 0.58rem;
    white-space: normal;
  }
  .list-event > .icon {
    display: none;
  }
  .no-sessions {
    font-size: 0.65rem;
    margin: 10px 0;
  }
  .training-dialog {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 40px);
    margin: 0;
    inset: auto 0 0;
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .training-dialog[open] {
    animation: sheet-in 0.22s ease-out;
  }
  .drawer-handle {
    display: block;
    width: 34px;
    height: 4px;
    background: #dfe0e6;
    border-radius: 4px;
    margin: 10px auto 0;
  }
  .dialog-close {
    right: 14px;
    top: 24px;
  }
  .training-content {
    padding: 30px 24px 26px;
  }
  .training-content > h2 {
    font-size: 1.6rem;
  }
  .training-content > .eyebrow {
    font-size: 0.51rem;
  }
  .training-date {
    font-size: 0.8rem;
  }
  .training-stats {
    gap: 10px;
    margin: 22px 0 18px;
    padding: 18px 0;
  }
  .training-stats strong {
    font-size: 1.05rem;
  }
  .training-stats span {
    font-size: 0.58rem;
  }
  .participants ul {
    max-height: 180px;
  }
  .training-action .button {
    min-height: 52px;
  }
  .training-page {
    margin-top: 12px;
  }
  .training-page .training-content {
    padding: 26px 20px;
  }
  .content-narrow {
    padding-top: 28px;
  }
  .content-narrow > h1 {
    font-size: 1.9rem;
  }
  .content-narrow > p {
    font-size: 0.8rem;
  }
  .card {
    padding: 20px;
    margin: 14px 0;
  }
  .card h2,
  .card h3 {
    font-size: 1rem;
  }
  .card p {
    font-size: 0.78rem;
  }
  .card > a:not(.button) {
    font-size: 0.75rem;
  }
  .card .button,
  .card button {
    font-size: 0.75rem;
  }
  .content-narrow section {
    margin: 28px 0;
  }
  .content-narrow section > h2 {
    font-size: 1.2rem;
  }
  .content-narrow section > p {
    font-size: 0.78rem;
  }
  .content-narrow details:not(.account-menu) {
    padding-inline: 14px;
  }
  .content-narrow details > summary {
    font-size: 0.78rem;
  }
  .content-narrow details p {
    font-size: 0.75rem;
  }
  .form-heading h1 {
    font-size: 1.8rem;
  }
  .form-heading > p:not(.eyebrow) {
    font-size: 0.82rem;
  }
  .form-panel {
    padding: 22px 18px;
    margin-top: 24px;
  }
  .stack p {
    margin-bottom: 20px;
  }
  label {
    font-size: 0.78rem;
  }
  .helptext {
    font-size: 0.68rem;
  }
  .admin-nav {
    gap: 5px;
    margin: 20px 0;
  }
  .admin-nav > a {
    padding: 10px 11px;
    font-size: 0.65rem;
    min-height: 38px;
  }
  .login-panel {
    padding-inline: 8px;
    margin-top: 12px;
  }
  .login-panel h1 {
    font-size: 2.15rem;
  }
  .login-panel > p:not(.eyebrow) {
    font-size: 0.8rem;
  }
  .login-panel .eyebrow {
    font-size: 0.55rem;
  }
  .content-narrow .section-heading h1 {
    font-size: 1.75rem;
  }
  .notice {
    font-size: 0.78rem;
    padding: 14px;
  }
  .pagination {
    font-size: 0.75rem;
  }
  .pagination .button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.75rem;
  }
}
@media (max-width: 360px) {
  .shell,
  .header-inner {
    width: calc(100% - 28px);
  }
  .brand-type small {
    font-size: 0.39rem;
  }
  .hero h1 {
    font-size: 2.45rem;
  }
  .hero-copy > .button {
    font-size: 0.74rem;
    padding-inline: 14px;
  }
  .hero-footnote {
    font-size: 0.56rem;
  }
  .page-heading h1 {
    font-size: 1.68rem;
  }
  .week-grid {
    grid-template-columns: 27px repeat(7, minmax(0, 1fr));
  }
  .calendar-cell {
    padding: 3px 1px;
  }
  .event-time {
    font-size: 0.6rem;
  }
  .calendar-legend {
    gap: 8px;
  }
  .calendar-legend > span {
    font-size: 0.56rem;
  }
  .event-count {
    font-size: 0.6rem;
  }
  .week-title h2 {
    font-size: 0.97rem;
  }
  .site-footer small {
    width: 100%;
    margin: 3px 0 0;
  }
  .list-event {
    gap: 6px;
  }
  .list-event-status {
    margin-left: 0;
    width: 100%;
    padding-left: 39px;
  }
  .home-aside {
    padding: 22px;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.admin-nav > a[aria-current] {
  background: var(--ink);
  color: #fff;
}
.admin-nav > a[aria-current]:hover {
  color: #fff;
}
.admin-page {
  padding-top: 42px;
  min-height: 60vh;
}
.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}
.admin-shortcut {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.admin-shortcut:hover {
  border-color: #d3d5dc;
  transform: translateY(-2px);
}
.admin-shortcut strong {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-top: 14px;
}
.admin-shortcut > span:not(.shortcut-icon) {
  font-size: 0.85rem;
  font-weight: 600;
}
.admin-shortcut small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--muted);
}
.admin-shortcut small .icon {
  width: 14px;
}
.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--ink);
}
.admin-shortcut.has-pending {
  border-color: var(--red);
  background: var(--pink);
}
.admin-shortcut.has-pending .shortcut-icon {
  background: var(--red);
  color: #fff;
}
.admin-section {
  margin-bottom: 36px;
}
.request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.request-card .news-meta {
  margin-bottom: 10px;
}
.request-card h3 a:hover {
  color: var(--red);
}
.request-card p:last-child {
  margin-bottom: 0;
}
.request-card small {
  color: var(--muted);
}
.request-card .button {
  flex-shrink: 0;
}
.admin-empty,
.inline-guidance {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px dashed #d7d9e0;
  border-radius: 14px;
  background: #fcfcfd;
}
.admin-empty .empty-icon {
  margin: 0;
}
.admin-empty h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.admin-empty p,
.inline-guidance p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.inline-guidance {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0;
}
.inline-guidance p:first-child {
  color: var(--ink);
  font-weight: 600;
}
.admin-history details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin: 12px 0;
}
.admin-history summary {
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  padding: 12px 0;
}
.admin-history details p {
  font-size: 0.82rem;
}
.student-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.student-search input {
  max-width: 420px;
}
.student-search button {
  flex-shrink: 0;
}
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.student-grid > .admin-empty {
  grid-column: 1 / -1;
}
.student-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.student-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.student-card-heading > div {
  flex: 1;
  min-width: 0;
}
.student-card-heading h2 {
  font-size: 1.02rem;
  letter-spacing: -0.025em;
  margin: 0;
}
.student-card-heading h2 a:hover {
  color: var(--red);
}
.student-card-heading p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.student-card > .text-link {
  min-height: 32px;
}
.onboarding-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  margin: 24px 0;
  min-width: 0;
}
.onboarding-section legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.onboarding-section legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
}
.section-description {
  font-size: 0.85rem;
  color: var(--muted);
}
.student-profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.student-profile-heading > .avatar {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
  background: var(--pink);
  color: var(--red);
}
.student-profile-heading .eyebrow {
  margin-bottom: 8px;
}
.student-profile-heading h1 {
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.student-profile-heading p:not(.eyebrow) {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.routine-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.routine-row > div {
  flex: 1;
  min-width: 0;
}
.routine-row h3 {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
}
.routine-row p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}
.routine-row .category {
  display: inline-block;
  margin-top: 8px;
}
.routine-row > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--red);
  flex-shrink: 0;
}
.routine-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--red);
  flex-shrink: 0;
}
.routine-icon .icon {
  width: 18px;
}
.profile-account-actions {
  margin-top: 10px;
}
.capacity-default {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.content-narrow section.capacity-default > h2 {
  margin-bottom: 8px;
}
.capacity-default .stack p {
  margin-bottom: 14px;
}
.capacity-default .stack input {
  max-width: 200px;
}
.capacity-default .stack > button {
  width: auto;
}
.capacity-date-filter .actions {
  flex-wrap: nowrap;
  margin-bottom: 14px;
}
.capacity-date-filter input {
  max-width: 220px;
}
.admin-training-limit {
  padding: 18px;
  border-radius: 12px;
  background: var(--soft);
  margin-bottom: 8px;
}
.admin-training-limit h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.training-action .admin-training-limit p {
  text-align: left;
  margin: 0 0 6px;
}
.capacity-editor,
.content-narrow details.capacity-editor {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
.capacity-editor > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--red);
  cursor: pointer;
}
.capacity-editor form {
  display: grid;
  gap: 10px;
  padding: 6px 0 10px;
}
.capacity-editor label {
  margin: 0;
}
.capacity-editor button {
  width: 100%;
}
.training-action > .text-link {
  width: 100%;
  justify-content: center;
}
.training-action button.full-class-button:disabled {
  width: 100%;
  background: #eceef2;
  border-color: #eceef2;
  color: var(--muted);
  transform: none;
}
@media (max-width: 1000px) {
  .admin-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .admin-page {
    padding-top: 28px;
  }
  .admin-shortcuts {
    gap: 10px;
    margin-bottom: 32px;
  }
  .admin-shortcut {
    padding: 16px;
  }
  .admin-shortcut strong {
    font-size: 1.6rem;
    margin-top: 10px;
  }
  .admin-shortcut > span:not(.shortcut-icon) {
    font-size: 0.75rem;
  }
  .admin-shortcut small {
    display: none;
  }
  .request-card {
    flex-direction: column;
    align-items: stretch;
  }
  .student-search input {
    max-width: none;
  }
  .student-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-section {
    padding: 18px;
  }
  .capacity-default {
    padding: 18px;
  }
  .routine-row {
    padding: 14px;
  }
  .student-profile-heading > .avatar {
    width: 52px;
    height: 52px;
  }
}
.week-board {
  display: grid;
  grid-template-columns: 46px repeat(var(--days, 5), minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.week-corner {
  min-height: 1px;
}
.week-head,
.week-time,
.week-picker button.week-head,
.week-picker button.week-time {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.week-time,
.week-picker button.week-time {
  justify-content: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
  color: var(--ink);
}
.week-picker button.week-head:hover,
.week-picker button.week-time:hover {
  background: var(--soft);
  color: var(--red);
}
.week-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  margin: 0;
  padding: 8px 4px;
  border: 1px solid #dfe1e7;
  border-radius: 12px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s,
    transform 0.1s;
}
.week-cell:hover {
  border-color: #c4c7cf;
}
.week-cell:active {
  transform: scale(0.97);
}
.week-cell small {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}
.cell-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cfd2d9;
  color: transparent;
}
.cell-mark .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.cell-count {
  color: var(--muted);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}
.week-cell:has(input:checked) {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.week-cell:has(input:checked) .cell-mark {
  background: #fff;
  border-color: #fff;
  color: var(--red);
}
.week-cell:has(input:checked) .cell-count,
.week-cell:has(input:checked) small {
  color: #ffd9de;
}
.week-cell:has(input:focus-visible) {
  outline: 3px solid #ed8594;
  outline-offset: 2px;
}
.week-cell.is-full {
  cursor: not-allowed;
  background: var(--soft);
  border-style: dashed;
}
.week-cell.is-full .cell-mark {
  opacity: 0.35;
}
.week-cell.is-empty {
  cursor: default;
  background: repeating-linear-gradient(135deg, #fafbfc 0 6px, #f3f4f6 6px 7px);
  border-color: transparent;
}
.week-picker .week-summary {
  min-height: 1.5em;
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 650;
}
.week-picker .helptext {
  margin-top: 4px;
  margin-bottom: 18px;
}
.slot-board .week-cell.is-slot {
  background: var(--pink);
  border-color: #f6c9d0;
  color: var(--ink);
}
.slot-board .week-cell.is-slot:hover {
  border-color: var(--red);
}
.slot-board .week-cell.is-slot .cell-count {
  color: var(--red);
  font-weight: 750;
  font-size: 0.75rem;
}
.slot-board .week-cell.is-inactive {
  background: var(--soft);
  border-color: var(--line);
}
.slot-board .week-cell.is-inactive .cell-count {
  color: var(--muted);
  text-decoration: line-through;
}
.slot-board .week-cell.is-editing {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.slot-board .week-cell.is-add {
  cursor: pointer;
  color: transparent;
}
.slot-board .week-cell.is-add:hover {
  border-color: #c4c7cf;
  border-style: dashed;
  color: var(--red);
}
.slot-board .week-cell.is-add .icon {
  width: 18px;
}
.slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 26px;
  font-size: 0.7rem;
  color: var(--muted);
}
.slot-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.slot-legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid #f6c9d0;
  background: var(--pink);
}
.slot-legend .legend-add {
  border-color: transparent;
  background: repeating-linear-gradient(135deg, #fafbfc 0 3px, #e3e5e9 3px 4px);
}
.week-strip {
  display: flex;
  gap: 4px;
}
.week-strip > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  padding: 6px 2px;
  border-radius: 8px;
  background: var(--soft);
  color: #a3a6ae;
}
.week-strip b {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.week-strip small {
  font-size: 0.66rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.week-strip > span.is-on {
  background: var(--ink);
  color: #fff;
}
.week-strip.is-large {
  gap: 8px;
  margin: 22px 0 8px;
}
.week-strip.is-large > span {
  padding: 12px 4px;
  border-radius: 12px;
}
.week-strip.is-large b {
  font-size: 0.68rem;
}
.week-strip.is-large small {
  font-size: 0.9rem;
}
.week-strip.is-large > span.is-on {
  background: var(--red);
}
.student-no-routine {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}
.student-card {
  justify-content: space-between;
}
.routine-save {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.routine-save p {
  flex: 1;
  margin: 0;
}
.routine-save input {
  max-width: 240px;
}
.stack .routine-save > button {
  width: auto;
  margin: 0 0 30px;
}
.routine-changes {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--soft);
}
.routine-changes h3 {
  font-size: 0.85rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.routine-changes p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 0.8rem;
}
.routine-changes .icon {
  width: 15px;
  color: var(--red);
}
@media (max-width: 700px) {
  .week-board {
    grid-template-columns: 34px repeat(var(--days, 5), minmax(0, 1fr));
    gap: 5px;
  }
  .week-cell {
    min-height: 58px;
    border-radius: 10px;
    padding: 6px 2px;
  }
  .cell-mark {
    width: 20px;
    height: 20px;
  }
  .week-time {
    font-size: 0.72rem;
  }
  .week-head,
  .week-picker button.week-head {
    font-size: 0.62rem;
  }
  .routine-save {
    flex-direction: column;
    align-items: stretch;
  }
  .routine-save input {
    max-width: none;
  }
  .stack .routine-save > button {
    width: 100%;
    margin: 0;
  }
  .week-strip.is-large small {
    font-size: 0.75rem;
  }
}
.danger-zone {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #f3c2ca;
  border-radius: 12px;
  background: #fffafb;
}
.danger-zone h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.content-narrow .danger-zone p {
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.danger-zone button.danger:not(.text-button):not(.icon-button) {
  background: #fff;
  color: var(--red-dark);
  border-color: var(--red);
}
.danger-zone button.danger:not(.text-button):not(.icon-button):hover {
  background: var(--red);
  color: #fff;
}
.removed-slots {
  margin: 24px 0;
}
.removed-slots h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.removed-slots p {
  font-size: 0.78rem;
  color: var(--muted);
}
.removed-slots > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.removed-slots a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px dashed #d7d9e0;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.removed-slots a:hover {
  color: var(--red);
  border-color: var(--red);
}
.removed-slots .icon {
  width: 14px;
}
:root {
  --gold: #b7791f;
  --gold-soft: #fff6e6;
  --gold-line: #f2d39c;
}
.account-popover .push-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.account-popover .push-toggle .icon {
  width: 17px;
}
.urgent-banner {
  background: var(--red);
  color: #fff;
}
.urgent-banner > .shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
}
.urgent-banner p {
  flex: 1;
  margin: 0;
  font-size: 0.85rem;
  min-width: 0;
}
.urgent-banner p span {
  opacity: 0.9;
}
.urgent-banner > .shell > a {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.urgent-banner .icon-button {
  color: #fff;
  width: 36px;
  height: 36px;
}
.urgent-banner .icon-button:hover {
  background: #ffffff22;
}
.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.footer-address:hover {
  color: var(--red);
}
.footer-address .icon {
  width: 15px;
}
.share-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.share-box .button .icon {
  width: 16px;
}
.share-preview {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 16px 18px;
  border-radius: 12px;
  background: #e7f6e9;
  border: 1px solid #c9e8cd;
  margin: 0 0 6px;
}
.share-section {
  margin-top: 30px;
}
.event-list {
  display: grid;
  gap: 12px;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.event-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-1px);
}
.event-card > .icon {
  color: var(--muted);
}
.event-card.is-cancelled {
  opacity: 0.6;
}
.event-card.is-cancelled .event-body > strong {
  text-decoration: line-through;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 66px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  line-height: 1.1;
}
.event-date strong {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.event-date small {
  font-size: 0.58rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.event-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-body .news-meta {
  margin: 0;
}
.event-body .category {
  color: var(--gold);
  background: var(--gold-soft);
}
.event-body > strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.75rem;
  color: var(--muted);
}
.event-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-facts .icon {
  width: 14px;
}
.event-answer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}
.event-answer.is-yes {
  color: #1f7a3a;
}
.event-answer .icon {
  width: 13px;
}
.section-lead {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 520px;
  margin: 12px 0 0;
}
.past-events {
  margin-top: 24px;
}
.event-page {
  max-width: 640px;
}
.event-page h1 {
  overflow-wrap: anywhere;
}
.event-cancelled-note,
.cancel-reason {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--pink);
  color: var(--red-dark);
  font-size: 0.85rem;
  font-weight: 600;
}
.event-cancelled-note .icon,
.cancel-reason .icon {
  width: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cancel-reason {
  margin-top: 18px;
}
.event-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.event-info > div {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--soft);
}
.event-info dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.event-info dt .icon {
  width: 14px;
}
.event-info dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.event-info dd small {
  font-weight: 500;
  color: var(--muted);
}
.event-info .text-link {
  min-height: 32px;
}
.rsvp-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 28px;
}
.content-narrow .rsvp-panel > h2 {
  font-size: 1.3rem;
}
.rsvp-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rsvp-panel > .button {
  width: 100%;
}
.admin-tools {
  margin-top: 28px;
}
.danger-zone > summary {
  color: var(--red-dark);
}
.content-narrow details.danger-zone {
  border-color: #f3c2ca;
  background: #fffafb;
}
.day-sessions {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}
.day-session {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
}
.day-session strong {
  font-variant-numeric: tabular-nums;
}
.day-session span {
  flex: 1;
  color: var(--muted);
}
.day-session.is-cancelled strong {
  text-decoration: line-through;
  color: var(--muted);
}
.day-session form {
  margin: 0;
}
.holiday-list {
  display: grid;
  gap: 10px;
}
.holiday-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.holiday-row > div {
  flex: 1;
  min-width: 0;
}
.holiday-row h3 {
  font-size: 1rem;
  margin: 0 0 2px;
}
.holiday-row p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.setup-hint {
  margin-bottom: 32px;
}
.home-events {
  padding-top: 30px;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
}
.school-info h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.school-info p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.school-info p .icon {
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--red);
}
.news-card.is-urgent {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--pink);
}
.urgent-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-weight: 700;
}
.urgent-label .icon {
  width: 14px;
}
.holiday-tag {
  font-size: 0.55rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 1px 6px;
  border-radius: 4px;
}
.close-day-link {
  font-size: 0.6rem;
  font-weight: 650;
  color: var(--red);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.close-day-link:hover {
  text-decoration: underline;
}
.list-events > .close-day-link {
  font-size: 0.72rem;
  align-self: flex-start;
}
.calendar-event.event-special {
  background: var(--gold-soft);
  border-left-color: var(--gold);
  margin-top: 6px;
}
.calendar-event.event-special:first-child {
  margin-top: 0;
}
.event-special .event-time,
.event-special .event-name,
.event-special .event-count {
  color: #7a4f12;
}
.event-special .event-name {
  overflow-wrap: anywhere;
}
.legend-special {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}
.list-event.event-special {
  border-color: var(--gold-line);
  background: var(--gold-soft);
}
.list-event.event-special .list-event-status .icon {
  color: var(--gold);
}
.list-holiday {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--gold);
}
.list-holiday .icon {
  width: 15px;
}
.cancel-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.push-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  margin: 8px 0 24px;
}
.push-card[hidden] {
  display: none;
}
.push-card > .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #ff8b9b;
}
.push-card > div {
  flex: 1;
}
.content-narrow .push-card h2 {
  font-size: 1rem;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.push-card p {
  margin: 0;
  font-size: 0.8rem;
  color: #c9ccd4;
}
.push-card .button {
  flex-shrink: 0;
}
.push-card .button[hidden] {
  display: none;
}
.event-form .field-date,
.event-form .field-start,
.event-form .field-end {
  display: inline-block;
  width: calc(33.33% - 8px);
  margin-right: 8px;
  vertical-align: top;
}
.event-form .field-end {
  margin-right: 0;
}
@media (max-width: 700px) {
  .urgent-banner > .shell {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .urgent-banner p {
    flex-basis: calc(100% - 80px);
    font-size: 0.78rem;
  }
  .site-footer > .shell {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .footer-address {
    order: 3;
    width: 100%;
  }
  .event-card {
    gap: 12px;
    padding: 14px;
  }
  .event-date {
    width: 50px;
    height: 60px;
  }
  .event-card > .icon {
    display: none;
  }
  .rsvp-panel {
    padding: 18px;
  }
  .holiday-row {
    flex-wrap: wrap;
  }
  .holiday-row .button {
    width: 100%;
  }
  .push-card {
    flex-wrap: wrap;
  }
  .push-card .button {
    width: 100%;
  }
  .event-form .field-date {
    width: 100%;
    margin-right: 0;
  }
  .event-form .field-start,
  .event-form .field-end {
    width: calc(50% - 4px);
  }
  .event-form .field-start {
    margin-right: 8px;
  }
  .close-day-link {
    font-size: 0.5rem;
  }
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.post-grid > .card {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.post-grid > .card > .text-link {
  margin-top: auto;
}
.post-grid > .empty-mural {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}
