:root {
  --bg: #f2f6f3;
  --surface: #ffffff;
  --surface-alt: #f8faf8;
  --surface-sage: #eef4ef;
  --section-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 248, 0.98) 100%);
  --section-tint: linear-gradient(180deg, rgba(236, 243, 237, 0.96) 0%, rgba(229, 238, 231, 0.98) 100%);
  --sage: #d9e6da;
  --sage-deep: #b8c8ba;
  --ink: #1f2926;
  --muted: #68736f;
  --border: #d7e1da;
  --border-strong: #c5d1c8;
  --shadow: 0 18px 40px rgba(31, 41, 38, 0.06);
  --wrap: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(217, 230, 218, 0.42) 0%, rgba(217, 230, 218, 0) 28%),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg) 200px, var(--bg) 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 225, 218, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(40, 49, 47, 0.06);
  box-shadow: 0 4px 20px rgba(31, 41, 38, 0.05);
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(31, 41, 38, 0.04);
  transition: background 0.22s ease, transform 0.22s ease;
}

.header-nav__link:hover,
.header-nav__link:focus-visible {
  background: rgba(31, 41, 38, 0.08);
  transform: translateY(-1px);
}

.header-nav__link img {
  height: 28px;
  width: auto;
}

.header-nav__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand img {
  width: min(280px, 60vw);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 12px rgba(40, 49, 47, 0.08));
}

main {
  padding-bottom: 56px;
}

.hero,
.content-section,
.band-section,
.site-footer {
  position: relative;
}

.hero,
.content-section,
.band-section {
  padding: 82px 0;
}

.content-section::before,
.band-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 41, 38, 0.1), transparent);
  transform: translateX(-50%);
}

.hero {
  padding-top: 34px;
}

.band-section {
  background: linear-gradient(180deg, rgba(248, 250, 248, 0.88) 0%, rgba(241, 246, 242, 0.96) 100%);
}

.band-section--white {
  background: var(--surface);
}

.section-tone--surface {
  background: var(--section-surface);
}

.section-tone--tint {
  background: var(--section-tint);
}

.hero-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.hero-heading h1,
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-heading h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1.02;
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  font-weight: 700;
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.18;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow--icon svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.video-section {
  padding-top: 28px;
}

.video-card {
  display: grid;
  gap: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.video-header {
  display: grid;
  justify-items: center;
}

.video-header__logo {
  width: min(100%, 420px);
  height: auto;
}

.video-player {
  width: 100%;
}

.video-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  background: #101414;
  box-shadow: 0 14px 32px rgba(15, 22, 20, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-embed:hover,
.video-embed:focus-visible {
  transform: translateY(-2px);
  border-color: #b9c8bc;
  box-shadow: 0 20px 42px rgba(15, 22, 20, 0.1);
}

.video-details {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.video-details__eyebrow,
.video-details__date,
.video-details__venue,
.video-details__location {
  margin: 0;
}

.video-details__eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-details__date {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.video-details__venue,
.video-details__location {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-carousel {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.feature-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(26, 32, 30, 0.34);
  color: #fff;
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.feature-carousel__nav--prev {
  left: 18px;
}

.feature-carousel__nav--next {
  right: 18px;
}

.feature-carousel:hover .feature-carousel__nav,
.feature-carousel:focus-within .feature-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.feature-carousel__nav:hover,
.feature-carousel__nav:focus-visible {
  background: rgba(26, 32, 30, 0.56);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-50%) scale(1.04);
}

.feature-carousel__nav:focus-visible {
  outline: 0;
}

.feature-carousel__nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-carousel__track {
  position: relative;
  min-height: clamp(280px, 38vw, 560px);
  background: transparent;
  overflow: hidden;
  transition: height 0.35s ease;
  border: 1px solid var(--border-strong);
  box-shadow: 0 22px 50px rgba(31, 41, 38, 0.05);
}

.feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  z-index: 1;
}

.feature-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  z-index: 3;
}

.feature-slide.is-entering,
.feature-slide.is-exiting {
  visibility: visible;
}

.feature-slide.is-entering {
  opacity: 1;
  z-index: 3;
  animation: heroSlideIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-slide.is-exiting {
  z-index: 2;
  animation: heroSlideOut 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.split-layout--reverse {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.content-copy {
  max-width: 430px;
}

.content-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-lead {
  max-width: 40ch;
  white-space: normal;
  font-size: 1.03rem;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.licensing-section {
  display: grid;
  gap: 34px;
}

.wrap.licensing-section {
  width: min(1380px, calc(100vw - 32px));
}

.licensing-header {
  display: grid;
  gap: 0;
  justify-items: center;
  text-align: center;
}

.licensing-meta-row {
  display: block;
  margin-top: 16px;
}

.licensing-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.licensing-register-card {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.licensing-register-card__header {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.licensing-register-card__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.licensing-register-card__title {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
  max-width: 62ch;
}

.licensing-register-card__title span {
  display: block;
  white-space: nowrap;
}

.licensing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.licensing-actions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  max-width: 100%;
  border: 1px solid #5d7164;
  background: linear-gradient(180deg, #2c3b36 0%, #202b28 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  box-shadow: 0 12px 24px rgba(31, 41, 38, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.licensing-actions__button--secondary {
  border-color: #3a80a8;
  background: linear-gradient(180deg, #3f99ca 0%, #267db0 100%);
}

.licensing-actions__button::before,
.workshop-actions__button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 120%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
  transform: skewX(-22deg);
  transition: transform 0.55s ease;
  z-index: -1;
}

.licensing-actions__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.licensing-actions__button:hover,
.licensing-actions__button:focus-visible {
  background: linear-gradient(180deg, #344640 0%, #26322f 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(31, 41, 38, 0.14);
}

.licensing-actions__button--secondary:hover,
.licensing-actions__button--secondary:focus-visible {
  background: linear-gradient(180deg, #4aa7d8 0%, #2b88bc 100%);
}

.licensing-actions__button:hover::before,
.licensing-actions__button:focus-visible::before,
.workshop-actions__button:hover::before,
.workshop-actions__button:focus-visible::before {
  transform: translateX(220%) skewX(-22deg);
}

.licensing-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: transparent;
}

.licensing-calendar {
  width: 100%;
}

.licensing-calendar-stack {
  display: grid;
  gap: 24px;
  width: 100%;
}

.licensing-calendar__poster {
  width: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(245, 248, 246, 0.98) 100%);
  border: 1px solid rgba(31, 41, 38, 0.08);
  box-shadow:
    0 22px 48px rgba(31, 41, 38, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.licensing-calendar__poster--slate {
  background: linear-gradient(180deg, #91a0a8 0%, #8797a0 100%);
}

.licensing-calendar__topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(31, 41, 38, 0.08);
}

.licensing-calendar__top-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.licensing-calendar__poster--slate .licensing-calendar__topbar {
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

.licensing-calendar__eyebrow,
.licensing-calendar__month,
.licensing-header-card__times p,
.licensing-session__subtitle {
  margin: 0;
  text-transform: uppercase;
}

.licensing-calendar__eyebrow {
  color: #72807a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.licensing-calendar__title {
  margin-top: 8px;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.licensing-calendar__poster--slate .licensing-calendar__eyebrow,
.licensing-calendar__poster--slate .licensing-calendar__title,
.licensing-calendar__poster--slate .licensing-calendar__month {
  color: #fff;
}

.licensing-calendar__month {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: right;
}

.licensing-calendar__export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(31, 41, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #31403b;
  font-family: "Source Sans 3", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 41, 38, 0.06);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.licensing-calendar__export svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.licensing-calendar__export:hover,
.licensing-calendar__export:focus-visible {
  border-color: rgba(31, 41, 38, 0.2);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 41, 38, 0.1);
}

.licensing-calendar__headers,
.licensing-calendar__body {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.licensing-calendar__scroller {
  --licensing-frame-width: 1160px;
  --licensing-frame-height: 774px;
  overflow: visible;
}

.licensing-calendar__frame {
  width: 100%;
}

.licensing-calendar__canvas {
  width: 100%;
}

.licensing-calendar__body {
  margin-top: 12px;
}

.licensing-header-card {
  min-height: 164px;
  padding: 18px 16px 16px;
  color: #fff;
  box-shadow:
    0 16px 28px rgba(31, 41, 38, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.licensing-header-card--blue {
  background: linear-gradient(180deg, #2c8fd4 0%, #246f9f 100%);
}

.licensing-header-card--green {
  background: linear-gradient(180deg, #19961a 0%, #117414 100%);
}

.licensing-header-card--slate {
  background: linear-gradient(180deg, #465a6a 0%, #334654 100%);
}

.licensing-header-card h4 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.7vw, 1.36rem);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.licensing-header-card__host {
  margin: 0 0 14px;
  font-size: 0.68rem;
  font-family: "Source Sans 3", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.92;
}

.licensing-header-card__times {
  display: grid;
  gap: 5px;
}

.licensing-header-card__times p {
  font-size: 0.76rem;
  font-family: "Source Sans 3", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.26;
}

.licensing-calendar__placeholder {
  min-height: 108px;
}

.licensing-session {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid rgba(31, 41, 38, 0.08);
  box-shadow:
    0 10px 24px rgba(31, 41, 38, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.licensing-session--single {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 18px 14px 16px 54px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.licensing-session--single:hover,
.licensing-session--single:focus-within {
  transform: translateY(-1px);
  border-color: rgba(31, 41, 38, 0.12);
  box-shadow:
    0 14px 28px rgba(31, 41, 38, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.94) inset;
}

.licensing-session__date {
  position: absolute;
  top: 14px;
  left: 16px;
  margin: 0;
  color: #11a4dc;
  font-size: clamp(1.34rem, 1.8vw, 1.82rem);
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.licensing-session--monday .licensing-session__date,
.licensing-session--wednesday .licensing-session__date {
  color: #2f8bca;
}

.licensing-session--tuesday .licensing-session__date,
.licensing-session--thursday .licensing-session__date {
  color: #149216;
}

.licensing-session--friday .licensing-session__date,
.licensing-session--saturday .licensing-session__date {
  color: #3f5362;
}

.licensing-session__copy {
  display: grid;
  gap: 5px;
  width: 100%;
  max-width: 12ch;
  align-content: center;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.licensing-session__title {
  margin: 0;
  color: #202b28;
  font-size: 0.88rem;
  font-family: "Source Sans 3", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.licensing-session__subtitle {
  color: #74807c;
  font-size: 0.68rem;
  font-family: "Source Sans 3", "Segoe UI Variable", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.licensing-session--empty {
  min-height: 108px;
  border-style: dashed;
  border-color: rgba(31, 41, 38, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(247, 250, 248, 0.58) 100%);
}

.licensing-register-card__details {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 12px;
  text-align: center;
}

.licensing-register-card__detail {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.licensing-media img,
.licensing-calendar__poster {
  border: 1px solid rgba(31, 41, 38, 0.08);
  box-shadow:
    0 22px 48px rgba(31, 41, 38, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.licensing-media:hover img,
.licensing-media:hover .licensing-calendar__poster {
  transform: translateY(-2px);
  box-shadow:
    0 28px 54px rgba(31, 41, 38, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.weekly-sessions-header {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.weekly-sessions-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.weekly-sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.session-card {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #bfd0c1;
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.session-card:hover,
.session-card:focus-within {
  transform: translateY(-3px);
  border-color: #c6d1c7;
  box-shadow: 0 20px 40px rgba(31, 41, 38, 0.08);
}

.session-card img {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.session-card__body {
  display: grid;
  gap: 14px;
  padding: 20px 20px 22px;
}

.session-card__details {
  display: grid;
  gap: 8px;
}

.session-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.session-card__detail svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.session-card__button {
  width: 100%;
}

.framed-media {
  padding: 0;
  background: transparent;
  border: 0;
}

.framed-media img {
  width: 100%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.05);
}

.stacked-media {
  display: grid;
  gap: 18px;
}

.stacked-media img {
  padding: 12px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.schedule-card {
  overflow: hidden;
}

.schedule-card img {
  width: 100%;
  background: var(--surface-alt);
}

.schedule-card__body {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.duo-grid--center {
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
}

.duo-card {
  display: grid;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.duo-card__copy--center {
  text-align: center;
}

.duo-card--center h3 {
  margin-top: 0;
}

.duo-card img,
.gallery-card img {
  width: 100%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.05);
}

.workshop-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 28px auto 0;
  padding-bottom: 4px;
}

.workshop-carousel {
  position: relative;
}

.workshop-carousel__nav,
.workshop-carousel__dots {
  display: none;
}

.workshop-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(26, 32, 30, 0.58);
  color: #fff;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.workshop-carousel__nav:disabled {
  opacity: 0.45;
}

.workshop-carousel__nav--prev {
  left: 8px;
}

.workshop-carousel__nav--next {
  right: 8px;
}

.workshop-carousel__nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workshop-carousel__dots {
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.workshop-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(104, 115, 111, 0.28);
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.workshop-carousel__dot.is-active {
  background: #2c3b36;
  transform: scale(1.15);
}

.workshop-gallery::-webkit-scrollbar {
  height: 10px;
}

.workshop-gallery::-webkit-scrollbar-thumb {
  background: var(--sage-deep);
}

.workshop-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 34px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.workshop-actions__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.workshop-actions__text {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
  text-align: center;
}

.workshop-actions__text--single-line-desktop {
  white-space: nowrap;
}

.workshop-actions__text strong {
  color: var(--ink);
  font-weight: 700;
}

.workshop-actions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  max-width: 100%;
  border: 1px solid #5d7164;
  background: linear-gradient(180deg, #2c3b36 0%, #202b28 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  box-shadow: 0 12px 24px rgba(31, 41, 38, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.workshop-actions__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workshop-actions__button:hover,
.workshop-actions__button:focus-visible {
  background: linear-gradient(180deg, #344640 0%, #26322f 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(31, 41, 38, 0.14);
}

.workshop-actions__button--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.workshop-actions__button--secondary:hover,
.workshop-actions__button--secondary:focus-visible {
  background: var(--surface-sage);
  color: var(--ink);
}

.titan-x-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.workshop-card {
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: none;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.workshop-card:hover,
.workshop-card:focus-visible {
  transform: translateY(-2px);
  border-color: #bcc9be;
  box-shadow: 0 16px 34px rgba(31, 41, 38, 0.08);
}

.workshop-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.workshop-card:hover img,
.workshop-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.qualifiers-section {
  padding-top: 48px;
}

.qualifiers-header {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 32px;
  text-align: center;
}

.qualifiers-title {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.qualifiers-copy {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.qualifiers-copy--single-line-desktop {
  max-width: none;
  white-space: nowrap;
}

.qualifiers-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.05);
  cursor: zoom-in;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.qualifiers-media:hover,
.qualifiers-media:focus-visible {
  transform: translateY(-2px);
  border-color: #bcc9be;
  box-shadow: 0 24px 44px rgba(31, 41, 38, 0.1);
}

.qualifiers-media img {
  width: 100%;
  display: block;
}

.qualifiers-actions {
  display: grid;
  justify-items: center;
  margin-top: 24px;
}

.titan-x-hero {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.titan-x-hero img {
  max-width: min(400px, 80%);
  height: auto;
}

.titan-x-hero--full {
  padding: 32px 0;
}

.titan-x-hero--full img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 41, 38, 0.1);
}

.gx-landing {
  padding-bottom: 48px;
}

.gx-landing__hero {
  background: linear-gradient(160deg, #1a2420 0%, #2c3b36 40%, #1f2926 100%);
  padding: 64px 0 56px;
  text-align: center;
}

.gx-landing__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gx-landing__logo {
  max-width: min(260px, 60%);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.gx-landing__tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.gx-landing__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #2c8c54 0%, #237a47 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(44, 140, 84, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gx-landing__cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gx-landing__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(44, 140, 84, 0.4);
}

.gx-landing__banner {
  margin-top: -28px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(31, 41, 38, 0.14);
}

.gx-landing__banner img {
  width: 100%;
  display: block;
}

.gx-zoom-card {
  margin-top: 28px;
}

.gx-zoom-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #1a2723 0%, #243530 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.gx-zoom-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gx-zoom-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(45, 140, 255, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
}

.gx-zoom-card__icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #2d8cff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gx-zoom-card__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gx-zoom-card__label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.gx-zoom-card__time {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.gx-zoom-card__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gx-zoom-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

.gx-zoom-card__meta strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.gx-zoom-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #2d8cff;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(45, 140, 255, 0.25);
  white-space: nowrap;
}

.gx-zoom-card__btn:hover {
  background: #1a6fdd;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 140, 255, 0.35);
}

.gx-zoom-card__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .gx-zoom-card__inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .gx-zoom-card__left {
    flex-direction: column;
  }
  .gx-zoom-card__right {
    flex-direction: column;
    gap: 12px;
  }
  .gx-zoom-card__meta {
    text-align: center;
  }
}

.gx-landing__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gx-landing__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gx-landing__feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 41, 38, 0.08);
}

.gx-landing__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--surface-sage);
}

.gx-landing__feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #2c3b36;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gx-landing__feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.gx-landing__feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.gx-landing__back {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gx-landing__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.gx-landing__back a:hover {
  color: var(--ink);
}

.gx-landing__back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Dashboard Hero ── */

.dash-hero-section {
  background: linear-gradient(160deg, #1a2420 0%, #2c3b36 40%, #1f2926 100%);
  padding: 36px 0;
}

.dash-hero-section__content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dash-hero-section__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.dash-hero-section__title {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dash-hero-section__sub {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ── Dashboard ── */

.dash-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.dash-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.dash-nav__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dash-nav__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.dash-nav__tab:hover,
.dash-nav__tab:focus-visible {
  color: var(--ink);
  background: var(--surface-sage);
}

.dash-nav__tab.is-active {
  color: var(--ink);
  background: var(--surface-sage);
  font-weight: 700;
}

.dash-nav__welcome {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  white-space: nowrap;
}

.dash-nav__welcome strong {
  color: var(--ink);
}

.dash-section {
  padding-top: 36px;
}

.dash-heading {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}

.dash-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.dash-hero-banner {
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 41, 38, 0.10), 0 2px 8px rgba(31, 41, 38, 0.06);
}

.dash-hero-banner img {
  width: 100%;
  display: block;
}

.dash-stats-header--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-agent-select-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-agent-select__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.dash-agent-select {
  max-width: 280px;
}

.dash-stats-block {
  display: grid;
  gap: 24px;
}

.dash-stats-header {
  display: grid;
  gap: 4px;
}

.dash-stats-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dash-stat-card {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #bfd0c1;
  padding: 18px 14px 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  border-color: #c6d1c7;
  box-shadow: 0 20px 40px rgba(31, 41, 38, 0.08);
}

.dash-stats-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-stat-card--pop {
  --card-accent: #2c3b36;
  border-top: none;
  border-left: 4px solid var(--card-accent);
  border-radius: 10px;
  padding: 24px 22px;
  text-align: left;
  justify-items: start;
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.06), 0 1px 2px rgba(31, 41, 38, 0.04);
  position: relative;
  overflow: hidden;
}

.dash-stat-card--pop::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--card-accent);
  opacity: 0.04;
  border-radius: 0 0 0 80px;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.dash-stat-card--pop:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 32px rgba(31, 41, 38, 0.10), 0 2px 6px rgba(31, 41, 38, 0.06);
}

.dash-stat-card--pop:hover::after {
  opacity: 0.08;
}

.dash-stat-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.dash-stat-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #2c3b36;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
  transition: opacity 0.2s ease, stroke 0.2s ease;
}

.dash-stat-card--pop:hover .dash-stat-card__icon svg {
  opacity: 1;
  stroke: #2c8c54;
}

.dash-stat-card--pop .dash-stat-card__value {
  font-size: 2rem;
}

.dash-stat-card__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-stat-card__value {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.dash-stat-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}

.dash-stat-card__badge-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.dash-stat-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.dash-stat-card__badge--green {
  background: #2c8c54;
}

.dash-stat-card__badge--red {
  background: #c0392b;
}

/* ── Leaderboard ── */

.dash-leaderboard {
  margin-bottom: 32px;
}

.dash-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.dash-leader-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  border-top: 3px solid var(--leader-accent, #2c3b36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-leader-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 41, 38, 0.08);
}

.dash-leader-card__title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-leader-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-leader-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
  transition: background 0.15s ease;
}

.dash-leader-card__item--top {
  background: rgba(44, 140, 84, 0.08);
}

.dash-leader-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--border);
  color: var(--muted);
}

.dash-leader-card__item--top .dash-leader-card__rank {
  background: #2c8c54;
  color: #fff;
}

.dash-leader-card__name {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-leader-card__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.dash-leader-card__empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  padding: 12px 0;
}

/* ── Live Report ── */

.report-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.report-controls__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-controls__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.report-controls__export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #2c8c54 0%, #237a47 100%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(44, 140, 84, 0.24);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.report-controls__export::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}

.report-controls__export:hover,
.report-controls__export:focus-visible {
  background: linear-gradient(180deg, #33a060 0%, #2c8c54 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 140, 84, 0.28);
}

.report-banner {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 41, 38, 0.12), 0 2px 8px rgba(31, 41, 38, 0.06);
}

.report-banner img {
  width: 100%;
  display: block;
}

.report-week-section {
  margin-top: 32px;
}

.report-week-section:first-of-type {
  margin-top: 24px;
}

.report-week-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.report-week-header__label {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--heading, #1a2723);
}

.report-week-header__dates {
  font-size: 0.84rem;
  color: var(--muted, #8a9490);
}

.report-week-header__current {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 165, 81, 0.12);
  color: #00a551;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.report-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(31, 41, 38, 0.07), 0 1px 4px rgba(31, 41, 38, 0.04);
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  white-space: nowrap;
}

.report-table th,
.report-table td {
  padding: 12px 16px;
  border: 1px solid rgba(215, 225, 218, 0.6);
  text-align: center;
  vertical-align: middle;
}

.report-table__head-row th {
  background: linear-gradient(180deg, #2c3b36 0%, #1f2926 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-color: #3a4f48;
  padding: 10px 8px 8px;
  vertical-align: top;
}

.th-label {
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}

.th-filter {
  display: block;
  width: 100%;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.th-filter::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.th-filter:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
}

select.th-filter {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
}

select.th-filter option {
  background: #2c3b36;
  color: #fff;
}

.report-sortable {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.report-sortable:hover {
  background: linear-gradient(180deg, #3a4f48 0%, #2c3b36 100%);
}

.report-sortable .th-label::after {
  content: "\2195";
  margin-left: 6px;
  opacity: 0.35;
  font-size: 0.7em;
}

.report-sortable.sort-asc .th-label::after {
  content: "\25B2";
  opacity: 1;
}

.report-sortable.sort-desc .th-label::after {
  content: "\25BC";
  opacity: 1;
}

.report-table__name {
  text-align: left !important;
  font-weight: 600;
  text-transform: uppercase;
}

.report-table__code {
  text-transform: uppercase;
}

.report-table__section-row td {
  background: linear-gradient(180deg, #263330 0%, #1a2420 100%);
  color: #fff;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-color: #3a4f48;
  padding: 10px 16px;
}

.report-month-summary {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 2px solid var(--border, #e0e0e0);
}

.report-month-summary .report-week-header {
  white-space: nowrap;
}

.report-month-summary .report-week-header__label {
  font-size: 1rem;
}

.report-table__level-tag {
  font-weight: 600;
  margin-left: 16px;
  opacity: 0.85;
}

.report-table__highlight-row td {
  background: rgba(44, 59, 54, 0.06);
  font-weight: 700;
}

.report-table tbody tr {
  transition: background 0.18s ease;
}

.report-table tbody tr:not(.report-table__section-row):not(.report-table__highlight-row):nth-child(even) {
  background: rgba(242, 246, 243, 0.5);
}

.report-table tbody tr:not(.report-table__section-row):not(.report-table__highlight-row):hover {
  background: rgba(200, 220, 205, 0.35);
}

.gx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gx-badge--1 {
  background: #ffffff;
  color: #333333;
  border: 1px solid #333333;
}

.gx-badge--2 {
  background: #00aaee;
}

.gx-badge--3 {
  background: #c41230;
}

.gx-badge--4 {
  background: #00a551;
}

.gx-badge--5 {
  background: #ffd400;
  color: #333333;
}

.gx-badge--6 {
  background: #8b2f97;
}

.gx-badge--7 {
  background: #000000;
}

.gx-badge--8 {
  background: #a67c52;
}

.gx-badge--9 {
  background: #c0c0c0;
  color: #333333;
}

.gx-badge--10 {
  background: #c8a951;
  color: #333333;
}

.gx-badge--11 {
  background: #e0e0e0;
  color: #333333;
}

.gx-badge--12 {
  background: #555555;
}


input[type="number"].report-filter {
  -moz-appearance: textfield;
}

input[type="number"].report-filter::-webkit-outer-spin-button,
input[type="number"].report-filter::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Submissions ── */

.sub-week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sub-week-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.sub-week-btn:hover,
.sub-week-btn:focus-visible {
  background: var(--surface-sage);
  border-color: var(--sage-deep);
}

.sub-week-select-wrap {
  position: relative;
}

.sub-week-select {
  appearance: none;
  padding: 10px 38px 10px 16px;
  border: 1px solid var(--border-strong);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2368736f' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.sub-week-select:hover,
.sub-week-select:focus-visible {
  border-color: var(--sage-deep);
  outline: none;
}

.sub-week-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.04);
}

.sub-week-bar__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.sub-week-bar__icon {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sub-week-bar__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  flex: 1;
}

.sub-week-bar__date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.sub-week-bar__divider {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
}

.sub-week-bar__detail {
  font-size: 0.82rem;
  color: var(--muted);
}

.sub-week-bar__detail strong {
  color: var(--ink);
}

.sub-week-bar__flags {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.sub-week-bar__flag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sub-week-bar__flag--on {
  background: #e8f5e9;
  color: #2e7d32;
}

.sub-week-bar__flag--off {
  background: #f5f5f5;
  color: var(--muted);
}

.sub-week-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #bfd0c1;
  margin-bottom: 8px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.sub-week-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 41, 38, 0.07);
}

.sub-week-card__title {
  margin: 0;
  padding: 16px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--surface-sage);
  border-bottom: 1px solid var(--border);
}

.sub-week-card__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  padding: 18px 22px;
}

.sub-week-card__detail {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.sub-week-card__flags {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.sub-form-title {
  margin: 0 0 22px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.sub-countdown-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.sub-countdown-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c8c54;
  flex-shrink: 0;
  animation: countdown-pulse 1.6s ease-in-out infinite;
}

@keyframes countdown-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.sub-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #bfd0c1;
  padding: 24px;
}

.sub-form-countdown {
  margin: 0;
  color: #2c8c54;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sub-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
}

.sub-form-alert__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.sub-form-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.sub-form-alert--error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.sub-form-alert--error p {
  margin: 0 0 4px;
}

.sub-form-alert--error p:last-child {
  margin-bottom: 0;
}

.sub-form fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.sub-form-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.sub-form-group__title {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sub-form-group__grid {
  display: grid;
  gap: 16px;
}

.sub-form-group__grid--2x2 {
  grid-template-columns: repeat(4, 1fr);
}

.sub-form-group__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.sub-form-group__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.sub-form-group__grid--8 {
  grid-template-columns: repeat(8, 1fr);
}

.sub-form-group + .sub-form-group {
  margin-top: 16px;
}

.sub-form__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.sub-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-form__label {
  display: flex;
  align-items: flex-end;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sub-form__label sup {
  font-size: 0.65em;
  color: var(--muted);
}

.sub-form__input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-alt);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sub-form__input:focus {
  outline: none;
  border-color: #2c8c54;
  box-shadow: 0 0 0 3px rgba(44, 140, 84, 0.14);
  background: var(--surface);
}

.sub-form__input--readonly {
  background: var(--surface-sage);
  color: var(--ink);
  font-weight: 700;
  cursor: default;
}

.sub-form__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  margin-bottom: 0;
}

.sub-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  min-height: 52px;
  min-width: 240px;
  padding: 0 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #2c3b36 0%, #202b28 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 2px 8px rgba(31, 41, 38, 0.16);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-form__submit-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sub-form__submit::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 120%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
  transform: skewX(-22deg);
  transition: transform 0.55s ease;
  z-index: -1;
}

.sub-form__submit:hover,
.sub-form__submit:focus-visible {
  background: linear-gradient(180deg, #344640 0%, #26322f 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(31, 41, 38, 0.18);
}

.sub-form__submit:hover::before,
.sub-form__submit:focus-visible::before {
  transform: translateX(220%) skewX(-22deg);
}

.sub-form-map {
  margin-bottom: 20px;
}

.sub-form-map__text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.sub-form__table-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.sub-form__table-header--11 {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

.sub-form__grid--11 {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

.sub-form__table-header--12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sub-form__grid--12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

select.sub-form__input {
  appearance: none;
  padding-right: 32px;
  background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2368736f' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 10px no-repeat;
  cursor: pointer;
}

input[type="number"].sub-form__input {
  -moz-appearance: textfield;
}

input[type="number"].sub-form__input::-webkit-outer-spin-button,
input[type="number"].sub-form__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sub-form__table-header span {
  display: flex;
  align-items: flex-end;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid #202b28;
}

.sub-form__table-header sup {
  font-size: 0.6em;
  color: var(--muted);
}

.sub-form__notes {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.sub-form__notes p {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.sub-form__notes sup {
  font-size: 0.65em;
}

.qualifiers-carousel {
  max-width: 1080px;
  margin: 0 auto;
}

.feature-carousel--hero .feature-carousel__track,
.qualifiers-carousel .feature-carousel__track {
  min-height: clamp(320px, 42vw, 780px);
  background: var(--surface);
}

.feature-carousel--hero .feature-slide img,
.qualifiers-carousel .feature-slide img {
  object-fit: contain;
}

.feature-carousel--hero .feature-carousel__nav,
.qualifiers-carousel .feature-carousel__nav {
  opacity: 1;
  pointer-events: auto;
  background: rgba(26, 32, 30, 0.5);
  border-color: rgba(255, 255, 255, 0.84);
}

.qualifiers-media--carousel {
  height: 100%;
  border: 0;
  box-shadow: none;
}

.qualifiers-media--carousel:hover,
.qualifiers-media--carousel:focus-visible {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.qualifiers-media--carousel img {
  height: 100%;
  object-fit: contain;
}

.album-section {
  padding-top: 48px;
}

.album-header {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 36px;
  text-align: center;
}

.album-title {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.album-copy {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.album-actions {
  display: grid;
  justify-items: center;
  margin-top: 6px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.album-photo {
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: none;
  cursor: zoom-in;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.album-photo:hover,
.album-photo:focus-visible {
  transform: translateY(-2px);
  border-color: #bcc9be;
  box-shadow: 0 16px 34px rgba(31, 41, 38, 0.08);
}

.album-photo img {
  width: 100%;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card--wide {
  grid-column: span 2;
}

.gallery-card__body {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
}

.office-section {
  padding-top: 40px;
}

.office-header {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.office-title {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.office-copy {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.office-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 178px;
  padding: 24px 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 248, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.05);
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.office-card:hover,
.office-card:focus-visible {
  transform: translateY(-3px);
  border-color: #bcc9be;
  box-shadow: 0 24px 46px rgba(31, 41, 38, 0.09);
}

.office-card:focus-visible {
  outline: 0;
}

.office-card.is-active {
  border-color: #5d7164;
  background: linear-gradient(180deg, #2c3b36 0%, #202b28 100%);
  box-shadow: 0 24px 46px rgba(31, 41, 38, 0.14);
}

.office-card.is-active .eyebrow,
.office-card.is-active .eyebrow svg,
.office-card.is-active .office-address,
.office-card.is-active .office-address svg {
  color: rgba(255, 255, 255, 0.82);
  stroke: rgba(255, 255, 255, 0.82);
}

.office-card.is-active h2 {
  color: #ffffff;
}

.office-card .eyebrow {
  margin-bottom: 2px;
}

.office-card h2 {
  max-width: none;
  font-size: clamp(1.28rem, 1.58vw, 1.72rem);
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
}

.office-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}

.office-address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.office-map {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(31, 41, 38, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.office-map:hover {
  transform: translateY(-2px);
  border-color: #bcc9be;
  box-shadow: 0 24px 44px rgba(31, 41, 38, 0.09);
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 60px;
  background: linear-gradient(180deg, #26322f 0%, #1d2523 100%);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 29, 28, 0.82);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 88vh;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.lightbox__image {
  width: 100%;
  max-height: calc(88vh - 32px);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}


.footer-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  width: min(220px, 52vw);
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.footer-copy svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideIn {
  from {
    opacity: 0.35;
    transform: translate3d(14%, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroSlideOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(-14%, 0, 0);
  }
}

.reveal-item {
  will-change: opacity, transform, filter;
}

html.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.motion-ready .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1024px) {
  .split-layout,
  .split-layout--reverse,
  .licensing-detail-row,
  .duo-grid,
  .album-grid,
  .gallery-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .split-layout--reverse {
    gap: 28px;
  }

  .duo-grid--center {
    grid-template-columns: 1fr;
  }

  .workshop-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: none;
  }

  .gallery-card--wide {
    grid-column: span 1;
  }

  .feature-carousel__track {
    min-height: clamp(240px, 46vw, 420px);
  }

  .feature-carousel__nav {
    width: 44px;
    height: 44px;
  }

  .feature-carousel__nav--prev {
    left: 10px;
  }

  .feature-carousel__nav--next {
    right: 10px;
  }

  .content-copy {
    max-width: none;
  }

  .licensing-actions {
    align-items: flex-start;
    justify-content: center;
  }

  .licensing-calendar__scroller {
    --licensing-tablet-scale: min(1, calc((100vw - 72px) / var(--licensing-frame-width)));
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(var(--licensing-tablet-scale) * var(--licensing-frame-height));
    overflow: hidden;
  }

  .licensing-calendar__frame {
    width: calc(var(--licensing-frame-width) * var(--licensing-tablet-scale));
    height: calc(var(--licensing-frame-height) * var(--licensing-tablet-scale));
    flex: 0 0 auto;
  }

  .licensing-calendar__canvas {
    width: var(--licensing-frame-width);
    transform: scale(var(--licensing-tablet-scale));
    transform-origin: top left;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: min(100vw - 24px, 1180px);
  }

  .content-section#training {
    padding: 36px 0 40px;
  }

  .wrap.licensing-section {
    width: var(--wrap);
  }

  .licensing-section {
    gap: 18px;
  }

  .licensing-meta-row {
    margin-top: 10px;
  }

  .site-header {
    position: static;
  }

  .header-grid {
    padding: 12px 0;
  }

  .brand img {
    width: min(200px, 50vw);
  }

  .header-nav__link {
    padding: 6px 10px;
    gap: 6px;
  }

  .header-nav__link img {
    height: 22px;
  }

  .header-nav__badge {
    font-size: 0.65rem;
  }

  .dash-nav .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .dash-nav__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dash-nav__tab {
    padding: 10px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .dash-nav__welcome {
    padding: 8px 0 12px;
    text-align: center;
    border-top: 1px solid var(--border);
  }

  .dash-stats-grid,
  .dash-stats-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .dash-hero-section {
    padding: 24px 0;
  }

  .dash-hero-section__icon {
    width: 36px;
    height: 36px;
  }

  .dash-hero-section__title {
    font-size: 1.2rem;
  }

  .dash-hero-section__sub {
    font-size: 0.78rem;
  }

  .gx-landing__hero {
    padding: 40px 0 36px;
  }

  .gx-landing__logo {
    max-width: min(200px, 50%);
  }

  .gx-landing__tagline {
    font-size: 0.9rem;
  }

  .gx-landing__cta {
    padding: 14px 28px;
    font-size: 0.82rem;
  }

  .gx-landing__features {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .gx-landing__feature {
    padding: 24px 20px;
  }

  .sub-week-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sub-week-bar__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .sub-week-bar__divider {
    display: none;
  }

  .sub-week-bar__flags {
    margin-left: 0;
  }

  .sub-week-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .sub-week-card__details {
    flex-direction: column;
    gap: 8px;
  }

  .sub-week-card__flags {
    margin-left: 0;
  }

  .sub-form-group__grid--2x2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .sub-form-group__grid--8 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .sub-form-group__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .sub-form-group__grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-form__table-header,
  .sub-form__table-header--11 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sub-form__grid,
  .sub-form__grid--11,
  .sub-form__grid--12 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sub-countdown-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .sub-form-countdown {
    font-size: 1rem;
    text-align: center;
  }

  .report-controls {
    flex-wrap: wrap;
  }

  .hero,
  .content-section,
  .band-section {
    padding: 56px 0;
  }

  .weekly-sessions-header,
  .qualifiers-header,
  .office-header,
  .album-header {
    margin-bottom: 24px;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .weekly-sessions-grid {
    grid-template-columns: 1fr;
  }

  .hero-heading {
    margin-bottom: 18px;
  }

  .hero-banner,
  .feature-carousel,
  .split-layout,
  .video-card,
  .duo-card {
    padding: 0;
  }

  .office-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .office-card h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    white-space: normal;
  }

  .office-map {
    aspect-ratio: 4 / 3;
  }

  .workshop-carousel {
    margin-top: 28px;
    padding-inline: 10px;
  }

  .workshop-carousel__nav {
    display: grid;
  }

  .workshop-carousel__dots {
    display: flex;
  }

  .workshop-gallery {
    display: flex;
    gap: 14px;
    margin-top: 0;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .workshop-gallery::-webkit-scrollbar {
    display: none;
  }

  .workshop-card {
    flex: 0 0 calc(100% - 28px);
    scroll-snap-align: center;
  }

  .pill-row--three {
    grid-template-columns: 1fr;
  }

  .workshop-actions {
    padding: 0;
  }

  .workshop-actions__button,
  .licensing-actions__button {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .licensing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(320px, 100%);
    gap: 10px;
    align-items: stretch;
    justify-content: stretch;
    margin-inline: auto;
  }

  .section-lead {
    white-space: normal;
  }

  .workshop-actions__text--single-line-desktop {
    white-space: normal;
  }

  .licensing-register-card {
    padding: 0;
  }

  .licensing-register-card__header {
    gap: 4px;
  }

  .licensing-register-card__title {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .licensing-register-card__title span {
    white-space: normal;
  }

  .licensing-actions__button {
    max-width: none;
    min-height: 42px;
    gap: 8px;
  }

  .licensing-actions__button svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .licensing-calendar__poster {
    padding: 14px;
  }

  .licensing-calendar__topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .licensing-calendar__month {
    text-align: left;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
  }

  .licensing-calendar__top-actions {
    width: 100%;
    justify-items: start;
  }

  .licensing-calendar__month {
    order: 1;
  }

  .licensing-calendar__export {
    order: 2;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .licensing-calendar__title {
    margin-top: 6px;
    font-size: clamp(1.15rem, 5.8vw, 1.6rem);
    line-height: 1.08;
  }

  .licensing-calendar__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .licensing-media {
    gap: 14px;
  }

  .licensing-calendar__scroller {
    --licensing-mobile-scale: calc((100vw - 64px) / var(--licensing-frame-width));
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(var(--licensing-mobile-scale) * var(--licensing-frame-height));
    overflow: hidden;
  }

  .licensing-calendar__frame {
    width: calc(var(--licensing-frame-width) * var(--licensing-mobile-scale));
    height: calc(var(--licensing-frame-height) * var(--licensing-mobile-scale));
    flex: 0 0 auto;
  }

  .licensing-calendar__canvas {
    width: var(--licensing-frame-width);
    transform: scale(var(--licensing-mobile-scale));
    transform-origin: top left;
  }

  .framed-media,
  .stacked-media img {
    padding: 10px;
  }

  .feature-carousel__track {
    min-height: 220px;
  }

  .feature-carousel--hero .feature-carousel__track,
  .qualifiers-carousel .feature-carousel__track {
    min-height: clamp(220px, 62vw, 420px);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .video-details__venue,
  .video-details__location {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .qualifiers-copy--single-line-desktop {
    white-space: normal;
  }

  .session-card__body,
  .schedule-card__body,
  .gallery-card__body {
    padding: 18px 16px;
  }

  .session-card__detail,
  .office-address {
    align-items: flex-start;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    width: min(100vw - 16px, 920px);
    max-height: 92vh;
    padding: 12px;
  }

  .lightbox__image {
    max-height: calc(92vh - 24px);
  }
}

@media (max-width: 480px) {
  .sub-form-group__grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-form-group__grid--8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-stats-grid,
  .dash-stats-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-leaderboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-stats-header--between {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dash-agent-select-wrap {
    width: 100%;
  }

  .dash-agent-select {
    max-width: none;
    flex: 1;
  }

  .report-controls {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .dash-nav__tab {
    padding: 8px 10px;
    font-size: 0.75rem;
    gap: 5px;
  }

  .dash-nav__icon {
    width: 14px;
    height: 14px;
  }

  .dash-leaderboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dash-leader-card {
    padding: 12px 10px;
  }

  .dash-leader-card__title {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  .dash-leader-card__item {
    padding: 6px 6px;
    gap: 6px;
  }

  .dash-leader-card__rank {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  .dash-leader-card__name {
    font-size: 0.7rem;
  }

  .dash-leader-card__value {
    font-size: 0.8rem;
  }

  .dash-leader-card__empty {
    font-size: 0.75rem;
  }

  .dash-stats-grid,
  .dash-stats-grid--3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dash-stat-card--pop {
    padding: 14px 12px;
  }

  .dash-hero-banner {
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .dash-agent-select-wrap {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .dash-stats-grid,
  .dash-stats-grid--3 {
    grid-template-columns: 1fr;
  }

  .dash-leaderboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero,
  .content-section,
  .band-section {
    padding: 48px 0;
  }

  .feature-carousel__nav {
    width: 38px;
    height: 38px;
  }

  .feature-carousel__nav svg {
    width: 18px;
    height: 18px;
  }

  .feature-carousel__nav--prev {
    left: 8px;
  }

  .feature-carousel__nav--next {
    right: 8px;
  }

  .feature-carousel--hero .feature-carousel__track,
  .qualifiers-carousel .feature-carousel__track {
    min-height: clamp(190px, 64vw, 320px);
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .workshop-carousel {
    padding-inline: 6px;
  }

  .workshop-card {
    flex-basis: calc(100% - 20px);
  }

  .video-details__date {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }
}

/* ═══════════════════════════════════════════════
   Admin Panel
   ═══════════════════════════════════════════════ */

/* ── Login page ── */

.admin-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 40px 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #2c3b36;
  border-radius: 10px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 28px;
}

.admin-login-icon {
  width: 40px;
  height: 40px;
  stroke: #2c3b36;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}

.admin-login-title {
  font-size: 1.5rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px !important;
}

.admin-login-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-login-form {
  display: grid;
  gap: 20px;
}

.admin-password-wrap {
  position: relative;
}

.admin-password-wrap .admin-input {
  padding-right: 44px;
}

.admin-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.admin-password-toggle:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.admin-password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Shared admin components ── */

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field--checkbox {
  justify-content: flex-end;
}

.admin-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-required {
  color: #c62828;
}

.admin-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface-alt);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-input:focus {
  outline: none;
  border-color: #2c8c54;
  box-shadow: 0 0 0 3px rgba(44, 140, 84, 0.14);
  background: var(--surface);
}

.admin-select {
  appearance: none;
  padding-right: 32px;
  background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2368736f' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 10px no-repeat;
  cursor: pointer;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2c3b36;
  cursor: pointer;
}

/* ── Buttons ── */

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.admin-btn--primary {
  background: linear-gradient(180deg, #2c3b36 0%, #202b28 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(31, 41, 38, 0.16);
}

.admin-btn--primary:hover,
.admin-btn--primary:focus-visible {
  background: linear-gradient(180deg, #344640 0%, #26322f 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 41, 38, 0.2);
}

.admin-btn--outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.admin-btn--outline:hover,
.admin-btn--outline:focus-visible {
  background: var(--surface-alt);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.admin-btn--danger {
  background: #c62828;
  color: #fff;
}

.admin-btn--danger:hover,
.admin-btn--danger:focus-visible {
  background: #b71c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.admin-btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 0.72rem;
  border-radius: 6px;
}

.admin-btn--full {
  width: 100%;
  height: 48px;
}

/* ── Shell layout (sidebar + main) ── */

.admin-shell {
  display: flex;
  min-height: calc(100vh - 80px);
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #202b28 0%, #1a2320 100%);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-sidebar__icon {
  width: 22px;
  height: 22px;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  flex: 1;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

.admin-sidebar__link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.admin-sidebar__link:hover,
.admin-sidebar__link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-sidebar__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-sidebar__footer {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__logout {
  color: rgba(255, 255, 255, 0.5);
}

.admin-sidebar__logout:hover,
.admin-sidebar__logout:focus-visible {
  color: #ef9a9a;
  background: rgba(198, 40, 40, 0.15);
}

.admin-sidebar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-sidebar__user svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Audit trail ── */

.audit-detail-cell {
  padding: 0 16px 16px !important;
  background: var(--surface-alt);
}

.audit-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.audit-detail-block {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.audit-detail-block--old {
  background: rgba(198, 40, 40, 0.04);
  border: 1px solid rgba(198, 40, 40, 0.12);
}

.audit-detail-block--new {
  background: rgba(46, 125, 50, 0.04);
  border: 1px solid rgba(46, 125, 50, 0.12);
}

.audit-detail-block h4 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.audit-detail-block dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
}

.audit-detail-block dt {
  font-weight: 600;
  color: var(--muted);
}

.audit-detail-block dd {
  margin: 0;
  word-break: break-all;
}

/* ── Main content area ── */

.admin-main {
  flex: 1;
  padding: 32px 40px;
  min-width: 0;
}

/* ── Page header ── */

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.admin-page-header__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-page-title {
  font-size: 1.5rem !important;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 !important;
}

.admin-page-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ── Alerts ── */

.admin-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.admin-alert p {
  margin: 0 0 2px;
}

.admin-alert p:last-child {
  margin-bottom: 0;
}

.admin-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.admin-alert--error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ── Stat cards ── */

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.04);
}

.admin-stat-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.admin-stat-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-stat-card__icon--agents {
  background: rgba(44, 140, 84, 0.1);
  color: #2c8c54;
}

.admin-stat-card__icon--submissions {
  background: rgba(44, 143, 212, 0.1);
  color: #2c8fd4;
}

.admin-stat-card__icon--weeks {
  background: rgba(156, 120, 60, 0.1);
  color: #9c783c;
}

.admin-stat-card__body {
  display: flex;
  flex-direction: column;
}

.admin-stat-card__value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.admin-stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Quick links ── */

.admin-section-title {
  font-size: 1rem !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px !important;
}

.admin-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-quick-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-quick-link:hover,
.admin-quick-link:focus-visible {
  background: var(--surface-sage);
  color: var(--ink);
  border-color: var(--ink);
  border-style: solid;
  transform: translateY(-1px);
}

/* ── Tables ── */

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table thead {
  background: var(--surface-sage);
}

.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--border-strong);
  white-space: nowrap;
}

.admin-table th a {
  color: inherit;
  text-decoration: none;
}

.admin-table th a:hover {
  color: var(--ink);
}

.admin-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tbody tr:nth-child(even) {
  background: var(--surface-alt);
}

.admin-table tbody tr:hover {
  background: var(--surface-sage);
}

.admin-table__actions-col {
  width: 160px;
}

.admin-table__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.admin-inline-form {
  display: inline;
}

.admin-reset-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-input--sm {
  height: 32px;
  padding: 4px 10px;
  font-size: 0.8rem;
}

/* ── Badges ── */

.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-badge--md {
  background: rgba(44, 143, 212, 0.12);
  color: #2c8fd4;
}

.admin-badge--ta {
  background: rgba(44, 140, 84, 0.12);
  color: #2c8c54;
}

.admin-badge--smd {
  background: rgba(156, 120, 60, 0.12);
  color: #9c783c;
}

.admin-badge--a {
  background: rgba(158, 158, 158, 0.15);
  color: #666666;
}

.admin-badge--yes {
  background: #e8f5e9;
  color: #2e7d32;
}

.admin-badge--no {
  background: #fbe9e7;
  color: #c62828;
}

/* ── Form cards ── */

.admin-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(31, 41, 38, 0.04);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── Mini stats row ── */

.admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-top: 3px solid var(--border-strong);
}

.admin-mini-stat--green { border-top-color: #2e7d32; }
.admin-mini-stat--red { border-top-color: #c62828; }
.admin-mini-stat--accent { border-top-color: #2c3b36; }

.admin-mini-stat__value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.admin-mini-stat__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Toolbar (filter + search) ── */

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-toolbar__filter,
.admin-toolbar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.admin-toolbar__filter:focus-within,
.admin-toolbar__search:focus-within {
  border-color: var(--ink);
}

.admin-toolbar__icon {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.admin-toolbar__select {
  border: none;
  background: transparent;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  min-width: 180px;
}

.admin-toolbar__select:focus { outline: none; }

.admin-toolbar__input {
  border: none;
  background: transparent;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--ink);
  padding: 0;
  width: 180px;
}

.admin-toolbar__input::placeholder { color: var(--muted); }
.admin-toolbar__input:focus { outline: none; }

/* ── Table enhancements ── */

.admin-table__num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.admin-table__center {
  text-align: center !important;
}

.admin-agent-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.admin-agent-cell__name {
  font-weight: 700;
  color: var(--ink);
}

.admin-agent-cell__code {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: monospace;
  letter-spacing: 0.04em;
}

.admin-week-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(44, 59, 54, 0.08);
  color: var(--ink);
}

.admin-date-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.admin-date-cell__date {
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-date-cell__time {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Status icons ── */

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.admin-status svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-status--on-time {
  background: #e8f5e9;
  color: #2e7d32;
}

.admin-status--late {
  background: #fff3e0;
  color: #e65100;
}

/* ── Icon buttons ── */

.admin-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.admin-icon-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-icon-btn--edit {
  color: var(--muted);
}

.admin-icon-btn--edit:hover {
  color: #2c8fd4;
  border-color: #2c8fd4;
  background: rgba(44, 143, 212, 0.06);
  transform: translateY(-1px);
}

.admin-icon-btn--delete {
  color: var(--muted);
}

.admin-icon-btn--delete:hover {
  color: #c62828;
  border-color: #c62828;
  background: rgba(198, 40, 40, 0.06);
  transform: translateY(-1px);
}

/* ── Empty state ── */

.admin-table__empty {
  text-align: center;
  padding: 48px 16px !important;
  color: var(--muted);
}

.admin-table__empty svg {
  width: 32px;
  height: 32px;
  stroke: var(--border-strong);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin: 0 auto 8px;
}

.admin-table__empty span {
  font-size: 0.88rem;
  font-style: italic;
}

/* ── Legacy filter bar ── */

.admin-filter-bar {
  margin-bottom: 20px;
}

.admin-filter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-filter-select {
  max-width: 320px;
}

/* ── Header admin link ── */

.header-nav__admin {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(31, 41, 38, 0.04);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-nav__admin svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-nav__admin:hover,
.header-nav__admin:focus-visible {
  background: rgba(31, 41, 38, 0.08);
  color: var(--ink);
}

/* ── Responsive admin ── */

@media (max-width: 900px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
    gap: 4px;
  }

  .admin-sidebar__brand {
    width: 100%;
    padding: 0 8px 12px;
    margin-bottom: 4px;
  }

  .admin-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    gap: 4px;
  }

  .admin-sidebar__footer {
    padding: 4px;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: auto;
  }

  .admin-main {
    padding: 24px 20px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-quick-links__grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
