:root {
  --ink: #17212b;
  --muted: #5d6875;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #eef5f8;
  --navy: #14324a;
  --green: #2f7d62;
  --amber: #f2ad4b;
  --red: #c95745;
  --shadow: 0 18px 50px rgba(20, 50, 74, 0.14);
}

/* Youth-focused theme, dark mode, and interaction polish */
:root {
  --blue: #2f80ed;
  --teal: #14b8a6;
  --violet: #7c3aed;
}

body {
  background: #f7fbff;
}

.site-header {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(29, 43, 83, 0.08);
}

.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 0 auto;
  padding-bottom: 7px;
  border-top: 0;
  color: var(--navy);
  white-space: nowrap;
}

.brand-wordmark::before {
  display: none;
}

.brand-wordmark::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 38px;
  height: 4px;
  background: var(--amber);
  border-radius: 999px;
}

.brand-drive {
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 950;
  line-height: 1;
}

.brand-with {
  color: var(--green);
  font-size: clamp(0.94rem, 1.5vw, 1.05rem);
  font-weight: 850;
  line-height: 1;
}

.brand-niall {
  color: var(--navy);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 760;
  line-height: 1;
}

.brand-bang {
  color: var(--amber);
  font-weight: 950;
}

.desktop-nav {
  gap: 10px;
}

.desktop-nav a {
  padding: 9px 11px;
  border-radius: 8px;
}

.desktop-nav a:hover {
  color: var(--blue);
  background: #eef6ff;
}

.account-button {
  min-height: 44px;
  white-space: nowrap;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px 0 58px;
  color: #17202f;
  background: #fff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(29, 43, 83, 0.07);
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.18s ease, box-shadow 0.22s ease;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 40px;
  height: 24px;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  transition: background 0.28s ease, border-color 0.28s ease;
}

.theme-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  background: #17202f;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.28);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.28s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29, 43, 83, 0.18);
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.theme-toggle-text {
  min-width: 38px;
  text-align: left;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(29, 43, 83, 0.58) 45%, rgba(20, 184, 166, 0.12));
}

.hero .eyebrow {
  display: inline-flex;
  padding: 8px 11px;
  color: #102033;
  background: #9ff6d2;
  border-radius: 8px;
}

.hero-content {
  animation: heroRise 0.7s ease both;
}

.quick-panel {
  border: 0;
  animation: heroRise 0.7s ease 0.12s both;
}

.quick-panel > div {
  padding: 6px 10px;
  border-left: 4px solid var(--blue);
}

.quick-panel > div:nth-child(2) {
  border-left-color: var(--green);
}

.quick-panel > div:nth-child(3) {
  border-left-color: var(--red);
}

.section-heading .eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  color: #1769c2;
  background: #e9f8ff;
  border-radius: 8px;
}

.style-note {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 9px 12px;
  color: #17202f;
  background: var(--amber);
  border: 2px solid #17202f;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(29, 43, 83, 0.12);
}

.module-jump-list {
  position: sticky;
  top: 72px;
  z-index: 12;
  padding: 10px;
  background: rgba(247, 251, 255, 0.9);
  border: 1px solid rgba(217, 226, 238, 0.7);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.module-jump-list a {
  box-shadow: 0 6px 14px rgba(29, 43, 83, 0.06);
}

.module-jump-list a:nth-child(1) {
  border-bottom: 3px solid var(--blue);
}

.module-jump-list a:nth-child(2) {
  border-bottom: 3px solid var(--teal);
}

.module-jump-list a:nth-child(3) {
  border-bottom: 3px solid var(--red);
}

.module-jump-list a:nth-child(4) {
  border-bottom: 3px solid var(--amber);
}

.module-jump-list a:nth-child(5) {
  border-bottom: 3px solid var(--violet);
}

.module-jump-list a:nth-child(6) {
  border-bottom: 3px solid var(--green);
}

.module-jump-list a:nth-child(7) {
  border-bottom: 3px solid #f97316;
}

.module-jump-list a:nth-child(8) {
  border-bottom: 3px solid #17202f;
}

.training-module {
  position: relative;
  border: 0;
  box-shadow: 0 16px 42px rgba(29, 43, 83, 0.11);
}

.training-module::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--blue);
}

.training-module:nth-child(2)::before {
  background: var(--teal);
}

.training-module:nth-child(3)::before {
  background: var(--red);
}

.training-module:nth-child(4)::before {
  background: var(--amber);
}

.training-module:nth-child(5)::before {
  background: var(--violet);
}

.training-module:nth-child(6)::before {
  background: var(--green);
}

.training-module:nth-child(7)::before {
  background: #f97316;
}

.training-module:nth-child(8)::before {
  background: #17202f;
}

.module-stage {
  background: #17202f;
}

.module-stage span {
  background: #fff;
  border: 3px solid var(--amber);
  animation: softPulse 3.2s ease-in-out infinite;
}

.module-columns h4 {
  display: inline-flex;
  padding: 7px 9px;
  color: #1769c2;
  background: #f1f7ff;
  border-radius: 8px;
}

.primary-button,
.secondary-button,
.outline-button,
.secondary-action,
.module-jump-list a {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.primary-button.is-disabled,
.secondary-button.is-disabled,
.outline-button.is-disabled,
.secondary-action.is-disabled {
  color: #5d6875;
  background: #eef2f6;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.primary-button::after,
.secondary-button::after,
.secondary-action::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  transition: left 0.55s ease;
}

.support-cta {
  justify-self: stretch;
  margin-top: 12px;
  min-height: 54px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(47, 125, 98, 0.28);
  animation: supportCtaPulse 2.8s ease-in-out infinite;
}

.support-cta::before {
  content: "→";
  position: absolute;
  right: 18px;
  font-size: 1.15rem;
  transition: transform 0.22s ease;
}

.support-cta:hover::before {
  transform: translateX(4px);
}

.primary-button:not(.is-disabled):hover::after,
.secondary-button:not(.is-disabled):hover::after,
.secondary-action:not(.is-disabled):hover::after {
  left: 115%;
}

.primary-button:not(.is-disabled):hover,
.secondary-button:not(.is-disabled):hover,
.secondary-action:not(.is-disabled):hover,
.outline-button:not(.is-disabled):hover,
.module-jump-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29, 43, 83, 0.18);
}

.training-module,
.resource-grid article,
.webinar-layout article {
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.55s ease;
}

.training-module:hover,
.resource-grid article:hover,
.webinar-layout article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(29, 43, 83, 0.16);
}

.training-module.reveal-ready {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

.training-module.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.click-ripple {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.55s ease-out forwards;
}

body.dark-mode {
  --ink: #f7fbff;
  --muted: #b7c4d7;
  --line: #31405f;
  --paper: #17202f;
  --soft: #111827;
  --navy: #0b1120;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  color: #f7fbff;
  background: #0b1120;
}

body.dark-mode .site-header {
  background: rgba(11, 17, 32, 0.88);
  border-bottom-color: #263653;
}

body.dark-mode .brand-wordmark,
body.dark-mode .brand-drive,
body.dark-mode .brand-niall {
  color: #f7fbff;
}

body.dark-mode .brand-with {
  color: #9ee6bf;
}

body.dark-mode .outline-button,
body.dark-mode .secondary-button,
body.dark-mode .theme-toggle {
  color: #f7fbff;
  background: #18243b;
  border-color: #475569;
}

body.dark-mode .outline-button.is-disabled,
body.dark-mode .secondary-button.is-disabled {
  color: #98a7bb;
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .hero-actions .primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #2f7d62, #256b55);
}

body.dark-mode .theme-toggle::before {
  background: #312e81;
  border-color: var(--violet);
}

body.dark-mode .theme-toggle::after {
  transform: translateX(16px);
  background: var(--amber);
}

body.dark-mode .hero-overlay {
  background: linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(30, 41, 59, 0.7) 48%, rgba(124, 58, 237, 0.18));
}

body.dark-mode .quick-panel,
body.dark-mode .training-module,
body.dark-mode .resource-grid article,
body.dark-mode .webinar-layout article,
body.dark-mode .booking-summary,
body.dark-mode .covered-areas,
body.dark-mode .booking-request-state,
body.dark-mode .booking-request-form,
body.dark-mode .webinar-request-form {
  background: #17202f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body.dark-mode .section-heading h2 h3 footer strong,
body.dark-mode .module-content h3,
body.dark-mode .brand strong,
body.dark-mode .quick-panel strong {
  color: #f7fbff;
}

body.dark-mode .section-heading .eyebrow,
body.dark-mode .module-columns h4 {
  color: #93c5fd;
  background: #1e293b;
}

body.dark-mode .course-preview-section,
body.dark-mode.course-page {
  background:
    radial-gradient(circle at 12% 20%, rgba(47, 128, 237, 0.16), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(242, 173, 75, 0.1), transparent 28%),
    #0b1120;
}

body.dark-mode .course-preview-section .section-heading h2,
body.dark-mode .course-preview-section .section-heading p,
body.dark-mode .course-hero h1,
body.dark-mode .course-hero-copy > p:not(.eyebrow),
body.dark-mode .continue-card h3,
body.dark-mode .continue-card p,
body.dark-mode .course-progress-panel strong,
body.dark-mode .course-preview-list {
  color: #f7fbff;
}

body.dark-mode .continue-card,
body.dark-mode .course-progress-panel {
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .course-pill {
  color: #102033;
  background: var(--amber);
}

body.dark-mode .style-note {
  color: #fff;
  background: var(--violet);
  border-color: #c4b5fd;
}

body.dark-mode .module-jump-list {
  background: rgba(11, 17, 32, 0.88);
  border-color: #31405f;
}

body.dark-mode .module-jump-list a {
  color: #e2e8f0;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .module-jump-list a:hover {
  color: #17202f;
  background: var(--amber);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  color: #f7fbff;
  background: #0f172a;
  border-color: #31405f;
}

body.dark-mode label,
body.dark-mode .webinar-request-form h3,
body.dark-mode .booking-request-form h3,
body.dark-mode .booking-request-state h3,
body.dark-mode .support-label {
  color: #f7fbff;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #a9b7ca;
  opacity: 1;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes supportCtaPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(47, 125, 98, 0.25);
  }
  50% {
    box-shadow: 0 20px 44px rgba(47, 125, 98, 0.38);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(47, 125, 98, 0.24);
  }
  50% {
    box-shadow: 0 20px 46px rgba(47, 125, 98, 0.38);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .training-module.reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Learn to drive online course page */
.course-page {
  background:
    radial-gradient(circle at 14% 12%, rgba(47, 128, 237, 0.14), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(255, 92, 122, 0.16), transparent 30%),
    #f7fbff;
}

.course-preview-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(47, 128, 237, 0.12), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 92, 122, 0.12), transparent 28%),
    #f7fbff;
}

.homepage-course-preview {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.course-coming-soon-panel {
  max-width: 860px;
  grid-template-columns: 1fr;
}

.continue-card {
  background: #fff;
  border: 1px solid rgba(217, 226, 238, 0.82);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(29, 43, 83, 0.11);
}

.continue-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.continue-card h3 {
  font-size: 1.8rem;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: end;
  padding: 84px clamp(20px, 5vw, 70px) 48px;
}

.course-hero-copy {
  max-width: 880px;
}

.course-hero h1 {
  max-width: 920px;
  color: #17202f;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
}

.course-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.course-progress-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 226, 238, 0.82);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(29, 43, 83, 0.12);
}

.course-progress-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.course-pill {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: #17202f;
  background: var(--amber);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.course-progress-panel strong {
  color: #17202f;
  font-size: 2.1rem;
  line-height: 1;
}

.course-preview-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .course-hero,
  .homepage-course-preview {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand small,
.small-note,
.section-heading p,
.training-module p,
.training-module li,
.resource-grid p,
.webinar-layout p p {
  color: var(--muted);
}

.brand small {
  display: block;
}

.brand-copy strong {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 70px) 74px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(12, 26, 37, 0.88), rgba(12, 26, 37, 0.48) 48%, rgba(12, 26, 37, 0.1));
}

.hero-content {
  position: relative;
  max-width: 820px;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a7eccf;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-actions,
.quick-panel,
.webinar-layout,
.booking-layout,
.footer,
.modal-card {
  display: flex;
  gap: 14px;
}

.primary-button,
.secondary-button,
.outline-button,
.secondary-action {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: white;
  background: linear-gradient(135deg, var(--green), #256b55);
  box-shadow: 0 16px 34px rgba(47, 125, 98, 0.24);
}

.secondary-button,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(20, 50, 74, 0.12);
  box-shadow: 0 14px 30px rgba(20, 50, 74, 0.12);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1.02rem;
}

.hero-actions .cta-strong {
  animation: ctaPulse 3.4s ease-in-out infinite;
}

.hero-actions .cta-support {
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .cta-muted {
  color: #5d6875;
  background: #eef2f6;
  box-shadow: none;
}

.quick-panel {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 34px));
  margin: -34px auto 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-panel > div {
  flex: 1;
  min-width: 0;
}

.quick-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
}

.section,
.band {
  padding: 92px clamp(20px, 5vw, 70px);
}

.band {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.module-jump-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto 34px;
}

.module-jump-list a {
  padding: 10px 13px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
}

.module-jump-list a:hover {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.training-roadmap {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.training-module {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  scroll-margin-top: 92px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 50, 74, 0.06);
}

.module-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  color: white;
  background: var(--navy);
}

.module-stage span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--navy);
  background: var(--amber);
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 950;
}

.module-stage strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.module-content {
  padding: 24px;
}

.module-content h3 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.module-content > p {
  max-width: 860px;
  line-height: 1.6;
}

.module-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.module-columns h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.module-columns ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.5;
}

.support-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.support-price {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 10px;
  color: #30210d;
  background: var(--amber);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.support-label {
  color: var(--navy);
  font-size: 0.9rem;
}

.resource-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.resource-grid {
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid article,
.webinar-layout article,
.booking-summary,
.covered-areas,
.booking-request-state,
.booking-request-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 50, 74, 0.06);
}

.resource-grid article,
.webinar-layout article,
.booking-summary,
.covered-areas {
  padding: 18px;
}

.webinar-layout {
  max-width: 960px;
  margin: 0 auto;
}

.webinar-layout article {
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
}

.webinar-layout article .support-cta {
  align-self: end;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.booking-request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  padding: 28px;
}

.booking-request-form[hidden] {
  display: none;
}

.booking-request-state {
  flex: 1;
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 360px;
  padding: 32px;
}

.booking-request-state[hidden] {
  display: none;
}

.booking-request-state h3 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.booking-request-state p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.booking-request-state .primary-button {
  width: fit-content;
  margin-top: 8px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-message[data-type="error"] {
  color: var(--red);
}

.form-message[data-type="success"] {
  color: var(--green);
}

.form-honeypot {
  display: none;
}

.booking-layout {
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}


.covered-areas {
  position: sticky;
  top: 90px;
  width: 340px;
}

.covered-areas h3 {
  margin-bottom: 8px;
}

.covered-areas p,
.covered-areas li {
  color: var(--muted);
}

.covered-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.covered-areas li {
  padding: 7px 10px;
  color: var(--navy);
  background: #f1f7ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.covered-areas li a,
.covered-areas li span {
  display: block;
  color: inherit;
}

.covered-areas li:has(a) {
  background: #eef6ff;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.covered-areas li:has(a):hover {
  background: #dff0ff;
  border-color: #bcd9f4;
  transform: translateY(-1px);
}

.area-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.area-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.area-links a,
.footer-links a {
  padding: 8px 10px;
  color: var(--navy);
  background: #eef6ff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.area-hero {
  display: grid;
  gap: 20px;
  min-height: 60vh;
  align-content: center;
  padding: 140px clamp(22px, 7vw, 120px) 80px;
  color: white;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(20, 50, 74, 0.76)),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.area-hero h1 {
  max-width: 860px;
  margin: 0;
  color: white;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
}

.area-hero > p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

.area-content article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 50, 74, 0.06);
}

.area-content h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.05;
}

.area-content p {
  color: var(--muted);
}

.area-content .primary-button {
  margin-top: 8px;
}

.availability-status {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #e8f7ef;
  border: 1px solid rgba(47, 125, 98, 0.28);
  border-radius: 8px;
}

.availability-status strong {
  color: var(--green);
}

.availability-status span {
  color: var(--muted);
}

.availability-status[data-status="waiting-list"] {
  background: #fff6e8;
  border-color: rgba(242, 173, 75, 0.44);
}

.availability-status[data-status="waiting-list"] strong {
  color: #9a5e10;
}

.booking-request-form {
  flex: 1;
}

.booking-request-form .primary-button {
  width: 100%;
  margin-top: 16px;
}


.footer {
  align-items: center;
  justify-content: space-between;
  padding: 34px clamp(20px, 5vw, 70px);
  color: white;
  background: var(--navy);
}

.footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer .outline-button {
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}

.footer-links a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.modal {
  width: min(94vw, 460px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(10, 22, 31, 0.55);
}

.modal-card {
  flex-direction: column;
  padding: 26px;
}

.account-card {
  display: grid;
  gap: 16px;
}

.account-card h2,
.account-card p {
  margin: 0;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-actions button {
  display: grid;
  min-height: 44px;
  place-items: center;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.account-actions button.is-active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form[hidden] {
  display: none;
}

.account-status {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.account-status:empty,
.account-status[hidden] {
  display: none;
}

.account-status[data-type="success"] {
  color: #1f6b4a;
  background: #e9f7ef;
  border-color: #b9e4ca;
}

.account-status[data-type="error"] {
  color: #9a3412;
  background: #fff1e9;
  border-color: #fed7aa;
}

.account-signed-in {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-signed-in strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.account-signed-in[hidden] {
  display: none;
}

.small-note[hidden] {
  display: none;
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

body.dark-mode .account-card,
body.dark-mode .account-actions button,
body.dark-mode .account-status,
body.dark-mode .account-signed-in {
  color: #f7fbff;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .account-actions button.is-active {
  color: white;
  background: #4b8f70;
  border-color: #4b8f70;
}

body.dark-mode .account-signed-in strong {
  color: #f7fbff;
}

body.dark-mode .account-status[data-type="success"] {
  color: #bff2d6;
  background: #173426;
  border-color: #285d42;
}

body.dark-mode .account-status[data-type="error"] {
  color: #fed7aa;
  background: #3a2118;
  border-color: #7c2d12;
}

.dashboard-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6f9 100%);
}

.dashboard-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.dashboard-hero {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 30px;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

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

.dashboard-grid[hidden] {
  display: none;
}

.lesson-student-only[hidden],
.lesson-access-card[hidden] {
  display: none;
}

.dashboard-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 50, 74, 0.08);
}

.dashboard-card-wide {
  grid-column: 1 / -1;
}

.dashboard-welcome-card,
.dashboard-action-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.dashboard-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.06;
}

.dashboard-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.dashboard-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.dashboard-actions .primary-button,
.dashboard-actions .secondary-button,
.dashboard-actions .outline-button {
  min-height: 46px;
}

.status-pill {
  justify-self: end;
  padding: 9px 12px;
  color: #1f684f;
  background: #e8f7ef;
  border: 1px solid #c7ead6;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.is-danger {
  color: #8c2f1f;
  background: #fff1eb;
  border-color: #f1c5b8;
}

.status-pill.is-warning {
  color: #7a4a0b;
  background: #fff6dd;
  border-color: #f1dca0;
}

.status-pill.is-success {
  color: #1f684f;
  background: #e8f7ef;
  border-color: #c7ead6;
}

.status-pill.is-muted {
  color: #465362;
  background: #eef3f7;
  border-color: #d7e0e8;
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-list:empty {
  display: none;
}

.dashboard-list li {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lesson-diary-card {
  gap: 22px;
}

.diary-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.diary-pill {
  margin-top: 2px;
}

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

.diary-empty-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.diary-slot {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease, background 0.2s ease;
}

.diary-slot strong {
  font-size: 1rem;
}

.diary-slot span {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 950;
}

.diary-slot:hover,
.diary-slot.is-selected {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(47, 125, 98, 0.14);
  transform: translateY(-2px);
}

.diary-slot.is-selected {
  outline: 3px solid rgba(47, 125, 98, 0.16);
}

.diary-request-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.diary-request-form .primary-button {
  min-height: 48px;
}

.diary-request-form .form-message {
  margin: 0;
  color: var(--muted);
}

.diary-request-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.diary-request-summary h3 {
  margin: 0;
  font-size: 1.15rem;
}

.diary-request-summary > p {
  margin: 0;
  color: var(--muted);
}

.diary-request-summary > p[hidden] {
  display: none;
}

.lesson-progress-card {
  gap: 22px;
}

.course-access-card,
.lesson-access-card {
  align-content: start;
}

.lesson-access-card {
  border-color: #c7ead6;
  background: linear-gradient(135deg, #ffffff, #f2fbf6);
}

.lesson-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.lesson-stats div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lesson-stats span {
  color: var(--green);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 950;
  line-height: 1;
}

.lesson-stats strong {
  color: var(--ink);
}

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

.payment-shortcut-card,
.payment-balance-card {
  gap: 22px;
}

.payment-option-card {
  min-height: 280px;
}

.payment-option-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.payment-option-card-featured {
  border-color: #c7ead6;
  background: linear-gradient(135deg, #ffffff, #f2fbf6);
}

.stripe-checkout-button {
  border: 0;
}

.stripe-checkout-button.is-disabled,
.stripe-checkout-button:disabled {
  pointer-events: auto;
  color: #5d6875;
  background: #e7edf3;
  box-shadow: none;
  cursor: not-allowed;
}

.stripe-checkout-button.is-loading {
  opacity: 0.78;
  cursor: wait;
}

.payment-return-notice {
  max-width: 760px;
  margin: 18px auto 0;
}

.payment-history-card {
  align-content: start;
}

.payment-history-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-history-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-history-list strong {
  color: var(--ink);
}

.lesson-record-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lesson-record-panel h3 {
  margin: 0;
  font-size: 1.15rem;
}

.lesson-record-panel > p {
  margin: 0;
  color: var(--muted);
}

.lesson-record-panel > p[hidden] {
  display: none;
}

.lesson-record-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-record-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lesson-record-list strong,
.lesson-record-list span {
  display: block;
}

.lesson-record-list span,
.lesson-record-list p {
  color: var(--muted);
}

.lesson-record-list p {
  grid-column: 1 / -1;
  margin: 0;
}

.lesson-record-list em {
  align-self: start;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.lesson-record-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lesson-cancel-button {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.lesson-action-note {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
}

.dashboard-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-timeline li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 4px solid var(--green);
}

.dashboard-timeline strong {
  color: var(--ink);
}

.dashboard-timeline span {
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-status {
  margin: 22px 0 0;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-status:empty,
.dashboard-status[hidden] {
  display: none;
}

.dashboard-status[data-type="error"] {
  color: #9a3412;
  background: #fff1e9;
  border-color: #fed7aa;
}

body.dark-mode.dashboard-page {
  background: linear-gradient(180deg, #0f1624 0%, #111a2a 100%);
}

body.dark-mode .dashboard-card,
body.dark-mode .dashboard-list li,
body.dark-mode .diary-slot,
body.dark-mode .lesson-stats div,
body.dark-mode .lesson-record-panel,
body.dark-mode .lesson-record-list li,
body.dark-mode .diary-request-summary,
body.dark-mode .dashboard-status {
  color: #f7fbff;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .lesson-access-card {
  background: linear-gradient(135deg, #17202f, #152b22);
  border-color: #2f7d62;
}

body.dark-mode .payment-option-card-featured {
  background: linear-gradient(135deg, #17202f, #152b22);
  border-color: #2f7d62;
}

body.dark-mode .payment-history-list li {
  background: #111827;
  border-color: #31405f;
}

body.dark-mode .payment-history-list strong {
  color: #f7fbff;
}

body.dark-mode .status-pill {
  color: #bbf7d0;
  background: #143527;
  border-color: #2f7d62;
}

body.dark-mode .dashboard-hero p:not(.eyebrow),
body.dark-mode .dashboard-card p,
body.dark-mode .dashboard-list span,
body.dark-mode .diary-request-form .form-message,
body.dark-mode .diary-request-summary > p,
body.dark-mode .dashboard-timeline span {
  color: #cbd5e1;
}

body.dark-mode .diary-slot:hover,
body.dark-mode .diary-slot.is-selected {
  background: #1f2a3c;
  border-color: #9ee6bf;
}

body.dark-mode .diary-slot span {
  color: #9ee6bf;
}

body.dark-mode .lesson-stats strong,
body.dark-mode .lesson-record-panel h3,
body.dark-mode .diary-request-summary h3 {
  color: #f7fbff;
}

body.dark-mode .lesson-record-list span,
body.dark-mode .lesson-record-list p {
  color: #cbd5e1;
}

body.dark-mode .lesson-action-note {
  color: #9ee6bf;
}

body.dark-mode .dashboard-timeline strong {
  color: #f7fbff;
}

.admin-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6f9 100%);
}

.admin-login-card {
  display: grid;
  gap: 22px;
  width: min(100%, 560px);
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card.is-admin-dashboard {
  width: min(100%, 1180px);
}

.admin-login-card h1,
.admin-login-card p {
  margin: 0;
}

.admin-login-card h1 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.96;
}

.admin-panel {
  display: grid;
  gap: 22px;
}

.admin-panel[hidden],
#adminSignedOut[hidden] {
  display: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-login-help {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.admin-login-help p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(135deg, #f7fbff, #eef7f3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-toolbar h2,
.admin-toolbar p {
  margin: 0;
}

.admin-toolbar h2 {
  margin-top: 6px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.admin-toolbar p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(190px, 0.7fr));
  gap: 14px;
  align-items: end;
}

.admin-filter-bar input,
.admin-filter-bar select {
  min-height: 48px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.admin-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stat-grid strong {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.admin-stat-grid span {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

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

.admin-board-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 50, 74, 0.08);
}

.admin-board-card-wide {
  grid-column: 1 / -1;
}

.admin-card-link {
  justify-self: start;
}

.admin-card-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
}

.admin-card-heading h2,
.admin-board-card p {
  margin: 0;
}

.admin-card-heading h2 {
  margin-top: 5px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.admin-board-card > p {
  color: var(--muted);
  line-height: 1.5;
}

.admin-diary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: start;
  gap: 22px;
}

.admin-diary-panel {
  min-height: 100%;
}

.is-primary-planner {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.admin-week-builder {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.planner-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.planner-step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.planner-step h3,
.compact-tool-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15;
}

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

.planner-grid h3,
.planner-grid .full,
.planner-grid.is-note {
  grid-column: 1 / -1;
}

.admin-week-builder label,
.admin-availability-form label,
.admin-assign-form label,
.weekday-picker {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.weekday-picker {
  padding: 0;
  border: 0;
}

.weekday-picker legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--ink);
  font-weight: 900;
}

.weekday-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-options label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.weekday-options label:hover {
  transform: translateY(-1px);
  border-color: rgba(71, 132, 103, 0.45);
}

.weekday-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.weekday-options span {
  color: var(--navy);
  font-weight: 900;
}

.weekday-options label:has(input:checked) {
  background: #e8f5ee;
  border-color: rgba(71, 132, 103, 0.55);
  box-shadow: inset 0 0 0 1px rgba(71, 132, 103, 0.2);
}

.weekday-options label:has(input:checked) span {
  color: var(--green);
}

.admin-week-builder input:not([type="checkbox"]),
.admin-week-builder select,
.admin-availability-form input,
.admin-assign-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.planner-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff8ec;
  border: 1px solid rgba(242, 184, 85, 0.45);
  border-radius: 8px;
}

.planner-submit-row p {
  margin: 0;
  color: #6b5b3d;
  line-height: 1.45;
}

.planner-submit-row .primary-button,
.admin-availability-form .primary-button,
.admin-assign-form .secondary-button {
  min-height: 46px;
  white-space: nowrap;
}

.admin-side-stack {
  display: grid;
  gap: 14px;
}

.compact-tool-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-availability-form,
.admin-assign-form {
  display: grid;
  gap: 12px;
  align-items: end;
}

.admin-availability-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-availability-form .full,
.admin-availability-form .primary-button,
.admin-assign-form .secondary-button {
  grid-column: 1 / -1;
}

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

.admin-diary-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-diary-controls .secondary-button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.admin-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.admin-day-column {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 130px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-day-heading {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.admin-day-heading strong {
  color: var(--navy);
  font-size: 1rem;
}

.admin-day-heading span,
.admin-day-empty {
  color: var(--muted);
}

.admin-day-empty {
  margin: 0;
  font-size: 0.95rem;
}

.admin-slot-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.admin-slot-card.is-booked {
  border-left-color: var(--amber);
}

.admin-slot-card.is-pending {
  border-left-color: #3b82f6;
}

.admin-slot-card.is-hidden {
  opacity: 0.72;
  border-left-color: #94a3b8;
}

.admin-slot-time {
  color: var(--ink);
  font-size: 1rem;
}

.admin-slot-status {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-slot-card.is-booked .admin-slot-status {
  color: #9a5a10;
}

.admin-slot-card.is-pending .admin-slot-status {
  color: #2563eb;
}

.admin-slot-card.is-hidden .admin-slot-status {
  color: #64748b;
}

.admin-slot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-slot-actions .primary-button,
.admin-slot-actions .secondary-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.8rem;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-list.compact .admin-list-item {
  gap: 8px;
}

.admin-list.compact .admin-list-item .status-pill {
  justify-self: start;
}

.admin-list-content {
  display: grid;
  gap: 8px;
}

.admin-list-content h3,
.admin-list-content p,
.admin-list-content ul {
  margin: 0;
}

.admin-list-content h3 {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.admin-list-content p,
.admin-list-content li {
  color: var(--muted);
  line-height: 1.45;
}

.admin-list-content ul {
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-list-actions .primary-button,
.admin-list-actions .secondary-button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.admin-empty-state {
  margin: 0;
  padding: 16px;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.admin-student-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  background: transparent;
  border: 0;
}

.admin-student-dialog::backdrop {
  background: rgba(10, 17, 32, 0.54);
}

.admin-student-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.admin-history-panel {
  display: grid;
  gap: 12px;
}

.admin-history-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.admin-payment-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(241, 247, 244, 0.95), rgba(255, 255, 255, 0.98));
}

.admin-payment-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-payment-heading h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.2rem;
}

.admin-payment-heading p {
  margin: 0;
  color: var(--ink-muted);
}

.admin-payment-summary {
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(72, 136, 103, 0.12);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
}

.admin-payment-grid {
  align-items: end;
}

.admin-notes-field {
  display: grid;
  gap: 8px;
}

.admin-notes-field textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-payment-actions {
  display: flex;
  justify-content: flex-start;
}

.admin-history-list {
  display: grid;
  max-height: 340px;
  gap: 10px;
  overflow: auto;
}

.admin-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

body.dark-mode .admin-login-page {
  background: #0b1120;
}

body.dark-mode .admin-login-card {
  color: #f7fbff;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .admin-student-form {
  color: #f7fbff;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .admin-payment-panel {
  background: linear-gradient(135deg, rgba(24, 34, 52, 0.95), rgba(17, 24, 39, 0.98));
  border-color: #31405f;
}

body.dark-mode .admin-payment-heading p {
  color: #b4c1db;
}

body.dark-mode .admin-payment-summary {
  background: rgba(72, 136, 103, 0.18);
  color: #f7fbff;
}

body.dark-mode .admin-filter-bar input,
body.dark-mode .admin-filter-bar select {
  color: #f7fbff;
  background: #0f172a;
  border-color: #405173;
}

body.dark-mode .status-pill.is-danger {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  border-color: rgba(248, 113, 113, 0.45);
}

body.dark-mode .status-pill.is-warning {
  color: #fde68a;
  background: rgba(133, 77, 14, 0.35);
  border-color: rgba(250, 204, 21, 0.4);
}

body.dark-mode .status-pill.is-success {
  color: #bbf7d0;
  background: rgba(21, 128, 61, 0.28);
  border-color: rgba(134, 239, 172, 0.35);
}

body.dark-mode .status-pill.is-muted {
  color: #dbe4ef;
  background: rgba(71, 85, 105, 0.35);
  border-color: rgba(148, 163, 184, 0.35);
}

body.dark-mode .admin-login-card h1,
body.dark-mode .admin-toolbar h2,
body.dark-mode .admin-card-heading h2,
body.dark-mode .planner-step h3,
body.dark-mode .compact-tool-card h3,
body.dark-mode .admin-history-panel h3,
body.dark-mode .admin-list-content h3,
body.dark-mode .admin-stat-grid span {
  color: #f7fbff;
}

body.dark-mode .admin-toolbar,
body.dark-mode .admin-board-card,
body.dark-mode .admin-day-column,
body.dark-mode .admin-slot-card,
body.dark-mode .admin-list-item,
body.dark-mode .admin-stat-grid article,
body.dark-mode .admin-empty-state {
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .planner-step,
body.dark-mode .compact-tool-card,
body.dark-mode .weekday-options label {
  background: #0f172a;
  border-color: #31405f;
}

body.dark-mode .planner-submit-row {
  background: rgba(242, 184, 85, 0.1);
  border-color: rgba(242, 184, 85, 0.32);
}

body.dark-mode .planner-submit-row p {
  color: #f4d7a2;
}

body.dark-mode .admin-toolbar p,
body.dark-mode .admin-board-card > p,
body.dark-mode .admin-list-content p,
body.dark-mode .admin-list-content li,
body.dark-mode .admin-empty-state {
  color: #cbd5e1;
}

body.dark-mode .admin-availability-form label,
body.dark-mode .admin-assign-form label,
body.dark-mode .admin-week-builder label,
body.dark-mode .weekday-picker,
body.dark-mode .weekday-picker legend {
  color: #f7fbff;
}

body.dark-mode .weekday-options span {
  color: #e5edf7;
}

body.dark-mode .weekday-options label:has(input:checked) {
  background: rgba(71, 132, 103, 0.22);
  border-color: rgba(138, 208, 171, 0.55);
  box-shadow: inset 0 0 0 1px rgba(138, 208, 171, 0.16);
}

body.dark-mode .weekday-options label:has(input:checked) span {
  color: #a7f3d0;
}

body.dark-mode .admin-week-builder input:not([type="checkbox"]),
body.dark-mode .admin-week-builder select,
body.dark-mode .admin-availability-form input,
body.dark-mode .admin-assign-form select {
  color: #f7fbff;
  background: #0f172a;
  border-color: #405173;
}

body.dark-mode .admin-day-heading {
  border-color: #31405f;
}

body.dark-mode .admin-day-heading strong,
body.dark-mode .admin-slot-time {
  color: #f7fbff;
}

body.dark-mode .admin-day-heading span,
body.dark-mode .admin-day-empty,
body.dark-mode .admin-slot-card p {
  color: #cbd5e1;
}

body.dark-mode .area-content article {
  color: #f7fbff;
  background: #17202f;
  border-color: #31405f;
}

body.dark-mode .area-content h2 {
  color: #f7fbff;
}

body.dark-mode .area-content p {
  color: #cad4e3;
}

.webinar-request-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 50, 74, 0.06);
}

.webinar-request-form:target,
.webinar-request-form.is-visible {
  display: grid;
}

.webinar-request-form .eyebrow,
.webinar-request-form h3 {
  grid-column: 1 / -1;
}

.close-button {
  align-self: end;
  width: 38px;
  height: 38px;
  background: var(--soft);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.35rem;
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .desktop-nav {
    display: none;
  }

  .account-button {
    order: 3;
  }

  .resource-grid,
  .review-grid,
  .training-module,
  .module-columns,
  .area-content,
  .admin-diary-layout {
    grid-template-columns: 1fr;
  }

  .module-stage {
    flex-direction: row;
    align-items: center;
  }

  .split,
  .booking-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .booking-summary,
  .covered-areas {
    position: static;
    width: auto;
  }

  .admin-week-grid {
    grid-template-columns: repeat(7, minmax(180px, 1fr));
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 116px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 12px;
    padding: 10px 14px;
    justify-content: stretch;
  }

  .brand {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

  .brand small {
    display: none;
  }

  .brand-wordmark {
    gap: 3px;
  }

  .brand-drive {
    font-size: 1.16rem;
  }

  .brand-with {
    font-size: 0.86rem;
  }

  .brand-niall {
    font-size: 1rem;
  }

  .site-header > .outline-button:not(.account-button),
  .site-header > .is-disabled {
    display: none;
  }

  .theme-toggle {
    justify-self: start;
    width: 54px;
    min-height: 42px;
    padding: 0;
  }

  .theme-toggle::before {
    left: 7px;
    width: 38px;
    height: 23px;
  }

  .theme-toggle::after {
    left: 11px;
    width: 17px;
    height: 17px;
  }

  .theme-toggle-icon,
  .theme-toggle-text {
    display: none;
  }

  .account-button {
    justify-self: end;
    min-height: 42px;
    padding: 0 16px;
  }

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

  .planner-step,
  .planner-submit-row {
    grid-template-columns: 1fr;
  }

  .planner-step {
    gap: 12px;
  }

  .planner-step-number {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

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

  .weekday-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-diary-controls {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-diary-controls .secondary-button,
  .admin-week-builder .primary-button,
  .planner-submit-row .primary-button,
  .admin-availability-form .primary-button,
  .admin-assign-form .secondary-button,
  .admin-card-link {
    width: 100%;
  }

  .admin-week-grid {
    grid-template-columns: repeat(7, minmax(210px, 1fr));
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 44px;
    align-items: end;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 26, 37, 0.28), rgba(12, 26, 37, 0.91));
  }

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

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.04;
  }

  .hero-content > p:not(.eyebrow),
  .section-heading p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions,
  .area-hero .hero-actions,
  .quick-panel,
  .webinar-layout,
  .footer {
    flex-direction: column;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .hero-actions .is-disabled .outline-button {
    width: 100%;
  }

  .quick-panel {
    width: calc(100% - 28px);
    margin-top: -18px;
    padding: 16px;
  }

  .quick-panel > div {
    padding: 10px 12px;
  }

  .section,
  .band {
    padding: 58px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .resource-grid article,
  .webinar-layout article,
  .covered-areas,
  .booking-request-form,
  .webinar-request-form,
  .area-content article {
    padding: 18px;
  }


  .covered-areas ul {
    gap: 7px;
  }

  .covered-areas li {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .module-jump-list {
    justify-content: stretch;
    position: static;
  }

  .module-jump-list a {
    flex: 1 1 145px;
    text-align: center;
  }

  .module-stage,
  .module-content {
    padding: 18px;
  }

  .module-stage span {
    width: 46px;
    height: 46px;
  }

  .booking-request-form,
  .webinar-request-form {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 0.98rem;
  }

  textarea {
    min-height: 112px;
  }

  .full {
    grid-column: auto;
  }

  .area-hero {
    min-height: auto;
    padding: 96px 18px 48px;
  }

  .area-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
    line-height: 0.98;
  }

  .footer {
    align-items: stretch;
    gap: 18px;
  }

  .footer .outline-button {
    width: 100%;
  }

  .footer-links {
    gap: 7px;
  }

  .modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .modal-card {
    padding: 20px;
  }

  .account-card h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    line-height: 1;
  }

  .account-card > p:not(.eyebrow),
  .account-status,
  .account-actions button,
  .auth-form label,
  .auth-form input,
  .account-signed-in,
  .account-signed-in .primary-button,
  .account-signed-in .secondary-action {
    font-size: 1rem;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    width: min(100% - 28px, 1180px);
    padding: 48px 0;
  }

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

  .dashboard-welcome-card,
  .dashboard-action-panel,
  .diary-heading,
  .admin-toolbar,
  .admin-filter-bar,
  .admin-card-heading {
    grid-template-columns: 1fr;
  }

  .status-pill {
    justify-self: start;
  }

  .admin-login-page {
    place-items: start stretch;
    padding: 16px;
  }

  .admin-login-card {
    padding: 20px;
  }

  .admin-stat-grid,
  .admin-board {
    grid-template-columns: 1fr;
  }

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

  .admin-actions,
  .admin-list-actions,
  .admin-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .admin-payment-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-actions .secondary-action,
  .admin-list-actions .primary-button,
  .admin-list-actions .secondary-button,
  .admin-dialog-actions .primary-button,
  .admin-dialog-actions .secondary-button,
  .admin-availability-form .primary-button,
  .admin-assign-form .secondary-button,
  .admin-toolbar .primary-button {
    width: 100%;
  }

  .diary-slot-grid {
    grid-template-columns: 1fr;
  }

  .lesson-stats,
  .payment-stats,
  .lesson-record-grid,
  .lesson-record-list li {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-actions .primary-button,
  .dashboard-actions .secondary-button,
  .dashboard-actions .outline-button {
    width: 100%;
  }
}
