/* No Hungry Child — programme site */
:root {
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #f6f5f2;
  --white: #ffffff;
  --line: #e4e1db;
  --brand: #c0392b;
  --brand-dark: #9b2c20;
  --brand-soft: #f8e9e6;
  --forest: #1f4d3a;
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--brand); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(246, 245, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-utility {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, var(--brand-soft));
}

.header-utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 2.4rem;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  overflow: visible;
  position: relative;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.site-lang {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}

.site-lang-mobile {
  display: contents;
}

.site-lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 7.5rem;
  padding: 0.45rem 1.85rem 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.site-lang-select:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hide Google Translate chrome; keep page translation working */
.google-translate-host,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
body {
  top: 0 !important;
}
body > .skiptranslate,
.goog-te-spinner-pos {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* Google Translate injects <font>; keep header/nav from wrapping/overlapping */
.site-header font,
.site-nav font {
  vertical-align: inherit !important;
  white-space: inherit !important;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
  position: relative;
  z-index: 5;
  margin-right: 0.75rem;
}
.brand img { width: 64px; height: auto; flex-shrink: 0; display: block; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: visible;
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.site-nav > ul {
  display: flex;
  gap: 0.15rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}
.site-nav > ul > li {
  flex: 0 0 auto;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.86rem;
  white-space: nowrap;
  line-height: 1.2;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--brand); }
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus,
.site-nav a.btn-primary:visited {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.98rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand-soft); }
.btn-nav { padding: 0.55rem 0.9rem; font-size: 0.82rem; white-space: nowrap; flex-shrink: 0; }
.btn-small { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
.nobreak { white-space: nowrap; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  gap: 0.45rem;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}
.icon-whatsapp {
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.22);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #1a1210;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide,
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.is-active,
.hero-media {
  opacity: 1;
  transform: scale(1.01);
  animation: none;
}
.hero-media {
  /* legacy single-image hero still works */
  opacity: 1;
  animation: heroIn 1.2s ease-out both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,12,10,0.35) 0%, rgba(20,12,10,0.72) 55%, rgba(20,12,10,0.9) 100%),
    linear-gradient(90deg, rgba(192,57,43,0.28), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  max-width: 12ch;
  animation: rise 0.8s ease both;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 1rem;
  max-width: none;
  animation: rise 0.9s 0.08s ease both;
}
.hero h1 .nobreak {
  display: inline-block;
  max-width: 100%;
}
.hero-lead {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.5rem;
  animation: rise 1s 0.14s ease both;
}
.hero .btn-group { animation: rise 1s 0.2s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroIn {
  from { transform: scale(1.08); opacity: 0.7; }
  to { transform: scale(1.02); opacity: 1; }
}

.section {
  padding: 4.5rem 1.25rem;
}
.ppm-review-detail__actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.ppm-admin-review-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}
.ppm-admin-review-actions__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}
.ppm-admin-review-actions__reason {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  max-width: 36rem;
}
.ppm-admin-review-actions__reason label {
  font-size: 0.85rem;
}
.ppm-admin-review-actions__reason input[type="text"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ppm-review-subblock {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}
.ppm-review-subblock:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.review-modal[hidden] { display: none !important; }
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
}
.review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  outline: none;
}
.review-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.review-modal__title {
  margin: 0;
  font-size: 1.15rem;
}
.review-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 0.2rem 0.45rem;
}
.review-modal__body {
  padding: 1.1rem 1.25rem 1.4rem;
}
body.review-modal-open {
  overflow: hidden;
}
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-brand {
  background: var(--brand-soft);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.section-dark .section-kicker { color: #f0b4ab; }
.section h2,
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}
.section-dark .lead { color: rgba(255,255,255,0.84); }

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  background:
    radial-gradient(circle at top right, rgba(192,57,43,0.12), transparent 40%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { max-width: var(--max); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-soft); }
.card-soft { background: var(--white); box-shadow: var(--shadow); border: none; }

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.notice {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.cta-band {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr 1fr;
  background: var(--forest);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  overflow: hidden;
}
.cta-band h2 { margin: 0 0 0.5rem; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.86); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  position: relative;
}
.gallery-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}
.gallery-zoom:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.85rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  margin-top: 0.75rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background:
    linear-gradient(135deg, rgba(192,57,43,0.06), rgba(20,20,20,0.04)),
    #eee;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--ink-soft);
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}
.doc-card .meta {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.doc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.doc-card .doc-actions + .doc-actions { margin-top: 0; }

/* Portal table action cells: compact icon row, not stacked pills */
.portal-table .doc-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-top: 0;
  max-width: none;
  white-space: nowrap;
}
.portal-table .doc-actions form {
  display: inline-flex;
  margin: 0;
}
.portal-table .doc-icon-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.portal-table .doc-icon-btn:hover,
.portal-table .doc-icon-btn:focus {
  color: var(--brand);
  border-color: var(--brand);
  outline: none;
}
.portal-table .doc-icon-btn svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

/* Review modal / non-table action rows — same compact icons */
.ppm-review-detail .doc-icon-btn,
.child-photo-preview .doc-icon-btn,
.doc-actions .doc-icon-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.ppm-review-detail .doc-icon-btn svg,
.child-photo-preview .doc-icon-btn svg,
.doc-actions .doc-icon-btn svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.ppm-review-detail .doc-icon-btn:hover,
.ppm-review-detail .doc-icon-btn:focus,
.child-photo-preview .doc-icon-btn:hover,
.child-photo-preview .doc-icon-btn:focus,
.doc-actions .doc-icon-btn:hover,
.doc-actions .doc-icon-btn:focus {
  color: var(--brand);
  border-color: var(--brand);
  outline: none;
}
.ppm-review-detail .child-photo-preview {
  margin: 0.35rem 0 0.75rem;
}
.ppm-review-detail .child-photo-preview img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
}
.portal-table .doc-actions .btn-small {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  margin: 0;
}

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field[hidden],
.form-actions[hidden],
[hidden] { display: none !important; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.form-field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.form-field .hint strong { font-weight: 700; color: #c62828; }

.file-queue { display: flex; flex-direction: column; gap: 0.55rem; }
.file-queue__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.file-queue__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.file-queue__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.55rem 0.65rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.file-queue__name {
  flex: 1 1 10rem;
  font-size: 0.9rem;
  word-break: break-word;
}
.file-queue__meta { font-size: 0.8rem; }
.file-queue__empty { margin: 0; font-size: 0.85rem; }
.file-queue__empty[hidden] { display: none !important; }

.child-photo-preview img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
}
.portal-panel.is-focus-panel {
  outline: 2px solid rgba(198, 40, 40, 0.35);
  outline-offset: 2px;
}
.ppm-next-steps { margin-bottom: 1rem; }
.ppm-next-steps.is-focus-panel {
  outline: 2px solid rgba(198, 40, 40, 0.45);
  outline-offset: 2px;
}
.ppm-next-steps .form-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ppm-next-steps .form-actions-row .btn {
  min-height: 2.75rem;
}
details.portal-panel > summary.portal-panel__summary {
  list-style: none;
  cursor: pointer;
}
details.portal-panel > summary.portal-panel__summary::-webkit-details-marker { display: none; }
details.portal-panel > summary.portal-panel__summary h2 {
  display: inline;
  margin: 0;
  font-size: 1.15rem;
}
details.portal-panel > summary.portal-panel__summary::after {
  content: ' (tap to expand / edit)';
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
details.portal-panel[open] > summary.portal-panel__summary::after {
  content: ' (tap to collapse)';
}

.audit-report-groups {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.audit-date-group {
  margin: 0;
}
details.portal-panel.audit-date-group > summary.portal-panel__summary.audit-date-group__summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  padding: 0.5rem 0.65rem;
  margin: -0.35rem -0.5rem 0;
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  background: rgba(27, 107, 74, 0.05);
}
details.portal-panel.audit-date-group > summary.portal-panel__summary.audit-date-group__summary::after {
  content: none !important;
}
details.portal-panel.audit-date-group > summary.audit-date-group__summary:hover,
details.portal-panel.audit-date-group > summary.audit-date-group__summary:focus-visible {
  background: rgba(27, 107, 74, 0.1);
  outline: none;
}
details.portal-panel.audit-date-group > summary.audit-date-group__summary h2 {
  display: inline;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.audit-date-group__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease;
}
details.portal-panel.audit-date-group[open] > summary .audit-date-group__mark {
  transform: rotate(90deg);
}
.audit-date-group__hint {
  flex: 1 1 100%;
  padding-left: 2.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}
.audit-date-group__hint--collapse {
  display: none;
}
details.portal-panel.audit-date-group[open] > summary .audit-date-group__hint--expand {
  display: none;
}
details.portal-panel.audit-date-group[open] > summary .audit-date-group__hint--collapse {
  display: inline;
}
@media (min-width: 641px) {
  .audit-date-group__hint {
    flex: 0 0 auto;
    padding-left: 0;
    margin-left: auto;
  }
  details.portal-panel.audit-date-group > summary .audit-date-group__hint--expand,
  details.portal-panel.audit-date-group > summary .audit-date-group__hint--collapse {
    padding-left: 0;
    flex: 0 0 auto;
  }
}
.audit-date-group__body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.audit-upload-block {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.audit-upload-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.audit-upload-block__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.audit-upload-block__meta {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}
.audit-file-gallery {
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.audit-file-gallery figure {
  background: var(--card);
  border: 1px solid var(--line);
}
.audit-file-gallery img {
  height: 5.25rem;
  object-fit: cover;
  display: block;
}
.audit-file-gallery .gallery-zoom {
  cursor: zoom-in;
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1ef;
}
.audit-gallery-tile__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.audit-gallery-tile--link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  text-decoration: none;
  color: var(--brand);
  background: #eef1ef;
}
.audit-file-gallery figcaption {
  position: static;
  padding: 0.35rem 0.4rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audit-doc-list {
  margin-top: 0.5rem;
}
.audit-doc-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 0.45rem;
}
.audit-doc-list__body {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.audit-doc-list__name {
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.audit-doc-list__type {
  font-size: 0.82rem;
}
.audit-doc-list__desc {
  font-size: 0.88rem;
  line-height: 1.4;
}

.upload-file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.upload-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
}
.upload-file-remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #c62828;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.upload-file-count { margin: 0.45rem 0 0; font-size: 0.85rem; }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(192,57,43,0.35);
  border-color: var(--brand);
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.checkbox-field {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  grid-column: 1 / -1;
}
.checkbox-field input { margin-top: 0.3rem; }
.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.alert-error { background: #fdecea; color: #8a1f14; border: 1px solid #f5c2bc; }
.alert-success { background: #e8f6ef; color: #145a3a; border: 1px solid #b7e0c8; }

.site-footer {
  background: #111;
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand img { margin-bottom: 0.85rem; width: 96px; filter: brightness(1.05); }
.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 0.85rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a,
.site-footer .footer-address a,
.footer-legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.footer-links a:hover,
.site-footer .footer-address a:hover,
.footer-legal a:hover { color: #fff; }
.footer-links li { margin: 0.35rem 0; }
.footer-address { font-style: normal; line-height: 1.7; }

.contact-details {
  font-style: normal;
  line-height: 1.8;
  color: var(--ink-soft);
}
.contact-details a {
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
}
.contact-details a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.founder-split {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.25rem;
}
.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow);
}
.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Revamp: dropdown, tiles, timeline, partnership */
.has-dropdown {
  position: relative;
  z-index: 1;
}
.has-dropdown.is-open {
  z-index: 50;
}
.nav-dropdown-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown-toggle.is-active,
.has-dropdown.is-active-parent > .nav-dropdown-toggle { color: var(--brand); }
.site-nav ul.nav-dropdown,
.site-nav .nav-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 300px;
  width: max-content;
  max-width: min(92vw, 360px);
  max-height: min(70vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.18);
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  z-index: 400;
  gap: 0;
  -webkit-overflow-scrolling: touch;
}
.site-nav .has-dropdown.is-open > .nav-dropdown {
  display: flex !important;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.nav-dropdown a:hover { background: var(--brand-soft); }
.nav-social {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  position: relative;
  z-index: 0;
  flex-shrink: 0;
}
.nav-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--white);
}
.nav-social a:hover { border-color: var(--brand); color: var(--brand); }

.hero-support {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  max-width: 36rem;
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.95);
}
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.stat-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  text-align: center;
}
.stat-tile strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--brand-dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.stat-tile span { font-size: 0.88rem; color: var(--ink-soft); }

.partner-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
}
.partner-subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.partner-subnav-select {
  display: none;
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 2.25rem 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}
.partner-subnav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
}
.partner-subnav a.is-active,
.partner-subnav a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pathway-card {
  display: flex;
  flex-direction: column;
}
.pathway-more {
  margin-top: auto;
  padding-top: 1rem;
}
.pathway-more a {
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-dark);
}
.pathway-more a::after {
  content: " →";
}
.pathway-more a:hover {
  color: var(--brand);
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-left: 3px solid var(--brand-soft);
}
.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.35rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
}
.timeline strong { display: block; color: var(--brand-dark); margin-bottom: 0.2rem; }

.album-block { margin-top: 2.5rem; }
.album-block h3 { margin: 0 0 0.35rem; }
.album-block .lead { margin-bottom: 1rem; font-size: 1rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.pill-row span {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.footer-tagline { font-weight: 600; color: #fff; margin: 0.25rem 0 0.75rem; }
.footer-follow { margin: 1rem 0 0.35rem; color: #fff; font-weight: 600; font-size: 0.92rem; }
.social-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.social-row a { font-weight: 600; }

.leadership-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.leadership-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.doc-pending {
  opacity: 0.72;
  font-size: 0.9rem;
  color: var(--muted);
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.glance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}
.glance-card-accent {
  background: var(--brand-soft);
  border-color: transparent;
}
.glance-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.55rem;
}
.glance-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.glance-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 0.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
}
.lang-btn.is-active {
  background: var(--brand);
  color: #fff;
}
.home-video-panel[hidden] { display: none !important; }

@media (min-width: 769px) {
  .site-nav { gap: 0.65rem; }
  .site-nav > ul { gap: 0.15rem 0.55rem; }
}

/* Tablet / narrow laptop: keep horizontal nav, allow wrap before hamburger */
@media (min-width: 769px) and (max-width: 1180px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }
  .site-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-end;
  }
  .site-nav > ul {
    flex-wrap: wrap;
    row-gap: 0.35rem;
    justify-content: flex-end;
  }
  .site-nav a,
  .nav-dropdown-toggle {
    font-size: 0.82rem;
  }
}

@media (max-width: 1280px) {
  .partner-subnav-pills { display: none; }
  .partner-subnav-select { display: block; }
  .glance-grid { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leadership-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .video-grid,
  .footer-grid,
  .form-grid,
  .cta-band,
  .founder-split {
    grid-template-columns: 1fr;
  }
  .gallery-grid img { height: 200px; }
}

/* Mobile nav — hamburger only at phone / small tablet widths */
@media (max-width: 768px) {
  .header-actions { display: flex; }
  .nav-toggle { display: inline-block; }
  .site-lang-desktop { display: none; }
  .site-nav {
    display: none;
    order: unset;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: none;
    min-width: 0;
    z-index: 20;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul {
    flex-direction: column;
    gap: 0.35rem;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
  }
  .site-nav > ul > li { width: 100%; }
  .site-nav a,
  .nav-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    font-size: 0.98rem;
    padding: 0.35rem 0;
  }
  .site-nav .btn-nav {
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    white-space: nowrap;
  }
  .header-utility-inner {
    padding: 0.35rem 1.25rem;
    min-height: 2.25rem;
  }
  .nav-portal-links {
    gap: 0.45rem 0.6rem;
  }
  .nav-portal-links .btn-nav {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }
  .site-nav .has-dropdown.is-open > .nav-dropdown {
    display: flex !important;
    position: static;
    box-shadow: none;
    border: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 0.25rem 0 0.25rem 0.75rem;
  }
  .site-lang-select { min-width: 6.75rem; font-size: 0.82rem; }
}

@media (max-width: 560px) {
  .stat-tiles { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-group { width: 100%; }
  .btn-group .btn { width: 100%; }
}

/* Programme cycle announcement modal */
body.announce-modal-open {
  overflow: hidden;
}

.announce-modal[hidden] {
  display: none !important;
}

.announce-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.announce-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 48, 0.62);
}

.announce-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(94vh, 980px);
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(8, 20, 40, 0.35);
  padding: 1.35rem 1.75rem 1.25rem;
  outline: none;
}

.announce-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 2px solid #163a66;
  background: #163a66;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.announce-modal__close:hover,
.announce-modal__close:focus {
  background: #0f2a4d;
  border-color: #0f2a4d;
}

.announce-modal__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 2.5rem;
  margin-bottom: 0.75rem;
}

.announce-modal__brand img {
  width: 72px;
  height: auto;
}

.announce-modal__brand strong {
  display: block;
  font-size: 1.15rem;
  color: #163a66;
  line-height: 1.2;
}

.announce-modal__brand em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.announce-modal__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.announce-modal__title {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  color: #163a66;
  line-height: 1.15;
}

.announce-modal__subtitle {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.announce-modal__cycles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.announce-cycle {
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid transparent;
}

.announce-cycle p {
  margin: 0;
  font-size: 0.95rem;
}

.announce-cycle__label {
  font-weight: 700;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem !important;
}

.announce-cycle--closed {
  background: #fdf0ef;
  border-color: #efc4bf;
}

.announce-cycle--closed .announce-cycle__label {
  color: var(--brand-dark);
}

.announce-cycle--open {
  background: #eef7f1;
  border-color: #b9d9c4;
}

.announce-cycle--open .announce-cycle__label {
  color: #1f6b3f;
}

.announce-cycle__date {
  margin-top: 0.65rem !important;
  display: inline-block;
  background: #1f6b3f;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem !important;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
}

.announce-cycle__deadline {
  margin-top: 0.75rem !important;
  padding: 0.65rem 0.75rem;
  border: 1px dashed #1f6b3f;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  color: #14532d;
  font-size: 0.9rem !important;
}

.announce-emph-red {
  color: var(--brand-dark);
}

.announce-modal__unchanged {
  background: #163a66;
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.announce-modal__unchanged p {
  margin: 0;
  font-size: 0.95rem;
}

.announce-unchanged {
  color: #f6d860;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.announce-modal__action {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.announce-modal__cta {
  margin-bottom: 0.75rem;
}

.announce-modal__thanks {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  color: #163a66;
  font-size: 1rem;
}

.announce-modal__signoff {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 720px) {
  .announce-modal {
    padding: 0.65rem;
    align-items: flex-start;
  }

  .announce-modal__dialog {
    width: 100%;
    max-height: 94vh;
    padding: 1.25rem 1rem 1.1rem;
    border-radius: 14px;
  }

  .announce-modal__cycles {
    grid-template-columns: 1fr;
  }

  .announce-modal__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .announce-modal__brand img {
    width: 64px;
  }

  .announce-modal__cta .btn {
    width: 100%;
  }
}

/* Partner / admin portal */
.portal-narrow { max-width: 480px; }
.form-field label .req,
.checkbox-label .req,
label .req {
  color: #c62828;
  font-weight: 700;
}

.section h2.portal-subhead,
.form-shell h2.portal-subhead,
.portal-subhead {
  margin: 1.35rem 0 0.55rem;
  font-size: 0.95rem;
  font-family: var(--sans, var(--font-body, inherit));
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.portal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.portal-nav[data-partner-tabs-nav] {
  position: sticky;
  top: calc(var(--header-h) + 2.6rem);
  z-index: 40;
  background: var(--paper);
  padding-top: 0.65rem;
  margin-top: -0.15rem;
  box-shadow: 0 8px 12px -12px rgba(20, 18, 14, 0.35);
}
.portal-nav a {
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}
.portal-nav a:hover,
.portal-nav a.is-active { color: var(--brand); }
.portal-nav-count {
  margin-left: 0.18em;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
  color: var(--brand);
}
.partner-tab-panel[hidden],
.partner-tab-panel:not(.is-active) {
  display: none !important;
}
.partner-tab-panel.is-active {
  display: block;
}
.partner-tab-panel.is-active > .portal-panel:first-child {
  border-top: 0;
  padding-top: 0;
}
.portal-panel {
  margin-bottom: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.portal-panel h2 { margin-top: 0; font-size: 1.2rem; }

.help-toc__list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}
.help-toc__list a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.help-toc__list a:hover { text-decoration: underline; }
.help-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.55rem;
  line-height: 1.5;
}
.help-steps ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}
.help-status-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
  line-height: 1.5;
}
.help-callout {
  border-top-color: rgba(198, 40, 40, 0.35);
}
.help-toc,
.help-callout,
.portal-panel[id] {
  scroll-margin-top: 6rem;
}

.portal-dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.portal-dl dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}
.portal-dl dd { margin: 0.2rem 0 0; }
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.portal-table th,
.portal-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.portal-table-detail {
  max-width: 52rem;
}
.portal-table-detail tbody th {
  width: 38%;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.portal-table-detail thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.report-metrics-table {
  font-size: 0.9rem;
  max-width: none;
}
.report-metrics-table th,
.report-metrics-table td {
  padding: 0.4rem 0.55rem;
}
.report-metrics-table tbody th {
  width: auto;
  min-width: 7.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.02);
}
.report-metrics-table tbody td {
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 720px) {
  .report-metrics-table tbody th,
  .report-metrics-table tbody td {
    display: table-cell;
  }
  .report-metrics-table tr {
    display: table-row;
  }
}
.table-wrap { overflow-x: auto; }
.table-wrap--scroll {
  max-height: min(28rem, 62vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
}
.table-wrap--scroll .portal-table { margin-bottom: 0; }
.table-wrap--scroll .portal-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-muted, #f1f5f9);
  box-shadow: 0 1px 0 var(--border, #e2e8f0);
}

.meet-reg-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.meet-reg-panel__head h2 { margin: 0; }
.meet-reg-panel__count { font-weight: 400; font-size: 0.95rem; }
.meet-reg-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  align-items: center;
}
.meet-reg-search input[type="search"] {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 8px;
  font-size: 1rem;
}
.meet-reg-summary { margin: 0 0 0.65rem; font-size: 0.9rem; }
.meet-reg-panel {
  min-width: 0;
  max-width: 100%;
}
.meet-reg-table-wrap {
  overflow-x: hidden;
  max-width: 100%;
}
.meet-reg-table {
  width: 100%;
  table-layout: fixed;
  font-size: 0.9rem;
}
.meet-reg-table th,
.meet-reg-table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  vertical-align: top;
  padding: 0.55rem 0.45rem;
  min-width: 0;
}
.meet-reg-table th:nth-child(1),
.meet-reg-table td:nth-child(1) { width: 11%; }
.meet-reg-table th:nth-child(2),
.meet-reg-table td:nth-child(2) { width: 10%; }
.meet-reg-table th:nth-child(3),
.meet-reg-table td:nth-child(3) { width: 12%; }
.meet-reg-table th:nth-child(4),
.meet-reg-table td:nth-child(4) { width: 49%; }
.meet-reg-table th:nth-child(5),
.meet-reg-table td:nth-child(5) { width: 18%; }
.meet-reg-cell--when {
  font-size: 0.84rem;
  line-height: 1.35;
}
.meet-reg-org-name {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.meet-reg-org-meta,
.meet-reg-org-source {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
}
.meet-reg-table tbody tr.meet-reg-row td {
  background: #fff;
  border-bottom: none;
  box-shadow: inset 5px 0 0 #e8edf2;
}
.meet-reg-table tbody tr.meet-reg-row--stripe:not(.meet-reg-row--actions) td {
  background: linear-gradient(105deg, #dce8f8 0%, #ede4dc 42%, #fff 88%);
  box-shadow: inset 5px 0 0 #5b7cfa;
}
.meet-reg-table tbody tr.meet-reg-row--partner:not(.meet-reg-row--actions) td {
  box-shadow: inset 5px 0 0 #0170b9;
}
.meet-reg-table tbody tr.meet-reg-row--partner.meet-reg-row--stripe:not(.meet-reg-row--actions) td {
  background: linear-gradient(105deg, #d4e4f8 0%, #e8eef5 45%, #fff 90%);
}
.meet-reg-row--actions td {
  padding: 0.45rem 0.55rem 0.75rem;
  background: linear-gradient(180deg, #eef2f6 0%, #f8fafc 100%);
  box-shadow: inset 5px 0 0 #cbd5e1;
}
.meet-reg-row--actions.meet-reg-row--stripe td {
  background: linear-gradient(180deg, #dbeafe 0%, #eef2ff 55%, #f8fafc 100%);
  box-shadow: inset 5px 0 0 #5b7cfa;
}
.meet-reg-row--actions.meet-reg-row--partner td {
  box-shadow: inset 5px 0 0 #0170b9;
}
.meet-reg-row--group-end td {
  border-bottom: 3px solid #c5ced8;
  padding-bottom: 0.85rem;
}
.meet-reg-row--group-end.meet-reg-row--actions td {
  padding-bottom: 0.95rem;
}
.meet-reg-action-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  max-width: 100%;
  min-width: 0;
}
.meet-reg-action-form__label {
  flex: 0 0 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted, #64748b);
  margin-bottom: 0.1rem;
}
.meet-reg-action-form select {
  flex: 1 1 9.5rem;
  min-width: 0;
  max-width: 100%;
  font-size: 0.86rem;
}
.meet-reg-action-form select[name="reschedule_meet_slot"] {
  flex: 1 1 14rem;
}
.meet-reg-action-form textarea {
  flex: 2 1 14rem;
  min-width: 0;
  min-height: 2.25rem;
  font-size: 0.86rem;
  resize: vertical;
}
.meet-reg-action-form button[type="submit"] {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .meet-reg-table th:nth-child(3),
  .meet-reg-table td:nth-child(3) { display: none; }
  .meet-reg-table th:nth-child(1),
  .meet-reg-table td:nth-child(1) { width: 22%; }
  .meet-reg-table th:nth-child(2),
  .meet-reg-table td:nth-child(2) { width: 22%; }
  .meet-reg-table th:nth-child(4),
  .meet-reg-table td:nth-child(4) { width: 38%; }
  .meet-reg-table th:nth-child(5),
  .meet-reg-table td:nth-child(5) { width: 18%; }
  .meet-reg-action-form select,
  .meet-reg-action-form textarea,
  .meet-reg-action-form button[type="submit"] {
    flex: 1 1 100%;
  }
}
.meet-reg-status {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #eef2f0;
  color: #33403a;
}
.meet-reg-status--approved {
  background: #e6f4ea;
  color: #1e6b3a;
}
.meet-reg-status--rescheduled {
  background: #fff4e5;
  color: #9a5b00;
}
.meet-reg-status--pending {
  background: #eef2f0;
  color: #475569;
}
.meet-reg-status-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  max-width: 100%;
  white-space: normal;
}
.portal-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, #e2e8f0);
}
.portal-pager__status { font-size: 0.9rem; color: var(--muted, #64748b); }
.portal-pager__link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--nhc-red, #b45309);
}
.portal-pager__link:hover { text-decoration: underline; }
.portal-pager__link--disabled {
  color: var(--muted, #94a3b8);
  font-weight: 500;
  pointer-events: none;
}
.meet-today-widget {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
}
.meet-today-widget__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.meet-today-widget__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.meet-today-stat {
  flex: 1 1 7rem;
  min-width: 6.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.meet-today-stat__n {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--nhc-navy, #0f2a4a);
}
.meet-today-stat__l {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  margin-top: 0.15rem;
}
.meet-today-stat--muted .meet-today-stat__n { color: #64748b; }
.meet-today-table-wrap { max-height: 14rem; }
.meet-today-table { font-size: 0.88rem; }
.meet-today-widget__empty { margin: 0; font-size: 0.9rem; }
.portal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.portal-filters a {
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--text);
}
.portal-filters a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}
.form-actions-row { gap: 0.65rem; }
.checkbox-label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-weight: 500;
}
.muted { color: var(--muted); }
.nav-portal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
}
.nav-portal-links > a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.86rem;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-portal-links > a:not(.btn):hover {
  color: var(--brand);
}
.nav-portal-who {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Document preview modal (admin / partner uploads) */
body.doc-modal-open {
  overflow: hidden;
}
.doc-modal[hidden] {
  display: none !important;
}
.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, 0.72);
}
.doc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.doc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.doc-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.doc-modal__rotate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  position: relative;
}
.doc-modal__rotate[hidden] {
  display: none !important;
}
.doc-modal__rotate-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.doc-modal__rotate-btn:hover,
.doc-modal__rotate-btn:focus {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}
.doc-modal__rotate-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.doc-modal__rotate-status {
  font-size: 0.85rem;
  color: #ccc;
  position: absolute;
  right: 1rem;
  max-width: 40%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}
.doc-modal__toolbar[hidden] {
  display: none !important;
}
.doc-modal__toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.doc-modal__tool-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.doc-modal__tool-btn:hover,
.doc-modal__tool-btn:focus {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}
.doc-modal__tool-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.doc-modal__tool-status {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  min-width: 4rem;
}
.doc-modal__image-stage {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.doc-modal__image-stage[hidden] {
  display: none !important;
}
.doc-modal__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
.doc-modal__close:hover,
.doc-modal__close:focus {
  border-color: var(--brand);
  color: var(--brand);
}
.doc-modal__body {
  flex: 1;
  min-height: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.doc-modal__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.12s ease;
}
.doc-modal__video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #000;
}
.doc-modal__frame {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  border: 0;
  background: #fff;
}
.doc-modal__pdf-mobile {
  margin: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  max-width: 22rem;
  color: #f5f5f5;
  text-align: center;
}
.doc-modal__pdf-mobile-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.doc-modal__pdf-mobile-actions {
  margin: 0;
}
.doc-modal__fallback {
  margin: 0;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
}
.doc-modal__fallback a {
  color: #fff;
  text-decoration: underline;
}
.doc-modal__loading {
  margin: 0;
  padding: 1.5rem;
  color: #ddd;
  text-align: center;
}
.media-event-block {
  margin: 1.75rem 0 2.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.media-event-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.gallery-grid video {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}

@media (max-width: 640px) {
  .doc-modal {
    padding: 0;
  }
  .doc-modal__dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
  }
  .doc-modal__title {
    font-size: 0.9rem;
  }
}

/* Partner Programme Management */
.ppm-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}
.ppm-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, rgba(255,255,255,0.55), transparent);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ppm-tile:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.ppm-tile-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}
.ppm-tile-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.ppm-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.ppm-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
}
.ppm-check a {
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}
.ppm-rag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.ppm-check-green .ppm-rag,
.ppm-rag-green { background: #2e7d32; }
.ppm-check-amber .ppm-rag,
.ppm-rag-amber { background: #ef6c00; }
.ppm-check-red .ppm-rag,
.ppm-rag-red { background: #c62828; }
.ppm-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.85rem;
}
.ppm-stat {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
}
.ppm-stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}
.ppm-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.ppm-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ppm-badge-pending { color: #ef6c00; border-color: #ef6c00; }
.ppm-badge-approved { color: #2e7d32; border-color: #2e7d32; }
.ppm-badge-rejected,
.ppm-badge-correction { color: #c62828; border-color: #c62828; }

.monitor-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.monitor-table-wrap { overflow-x: auto; }
.monitor-table { min-width: 960px; font-size: 0.9rem; }
.monitor-compliance {
  display: inline-block;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.monitor-compliance-green { background: #e8f5ee; color: #2e7d32; }
.monitor-compliance-amber { background: #fff4e5; color: #ef6c00; }
.monitor-compliance-red { background: #fdecea; color: #c62828; }
.monitor-row-red td:first-child { box-shadow: inset 3px 0 0 #c62828; }
.monitor-row-amber td:first-child { box-shadow: inset 3px 0 0 #ef6c00; }
.monitor-filters .form-grid { margin-bottom: 0.35rem; }
.action-required-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.action-required-item a {
  display: block;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.action-required-item a:hover { border-color: var(--brand); }
.action-required-item strong { display: block; margin-bottom: 0.2rem; }
.action-required-item span { color: var(--muted); font-size: 0.92rem; }
.action-required-red a { border-left: 3px solid #c62828; }
.action-required-amber a { border-left: 3px solid #ef6c00; }

/* Daily NGO Google Meet (/meet/) */
.meet-hero {
  background: linear-gradient(165deg, #0f3d2e 0%, #143f2f 45%, #1a5240 100%);
  color: #fff;
  padding: 1.75rem 0 2rem;
  text-align: center;
}
.meet-hero__inner { max-width: 640px; }
.meet-hero__logo-wrap {
  display: inline-block;
  margin: 0 auto 1rem;
  padding: 0.9rem 1.15rem 0.7rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.meet-hero__logo {
  display: block;
  margin: 0 auto;
  height: auto;
  width: min(240px, 78vw);
}
.meet-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.2;
}
.meet-hero__title .nobreak {
  white-space: nowrap;
}
.meet-hero__schedule {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.45;
}
.meet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.btn-meet {
  min-width: min(100%, 11rem);
  font-weight: 700;
}
.btn-meet-wide {
  width: 100%;
  max-width: 420px;
  font-weight: 700;
}
.btn-meet-join {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.meet-content { max-width: 760px; }
.meet-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.meet-block:last-child { border-bottom: none; }
.meet-meta {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}
.meet-meta div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
}
.meet-meta dt {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.meet-meta dd { margin: 0; }
.meet-list {
  padding-left: 1.25rem;
  line-height: 1.55;
}
.meet-list li { margin-bottom: 0.35rem; }
.meet-join-panel {
  background: var(--surface-alt, #f4f8f6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  border-bottom: none;
  text-align: center;
}
.meet-join-instruction {
  margin: 0 0 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.meet-slot-select option:disabled {
  color: #8a9490;
}
.meet-schedule-repeat {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
}
.meet-important {
  background: #fff8f0;
  border: 1px solid #f0dcc4;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  border-bottom: none;
}
.meet-join-card {
  margin-top: 1rem;
  padding: 1.15rem 1.1rem 1.25rem;
  background: var(--surface-alt, #f4f8f6);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.meet-join-card__cta { margin-bottom: 0.65rem; }
.meet-join-card__time { margin: 0 0 1rem; font-size: 1rem; }
.meet-join-card__link { text-align: left; margin-top: 0.5rem; }
.meet-join-card__link-label { display: block; margin-bottom: 0.4rem; font-size: 0.88rem; }
.meet-join-card__ref,
.meet-join-card__note { margin: 0.85rem 0 0; font-size: 0.88rem; line-height: 1.45; text-align: left; }
.meet-link-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.meet-link-copy__input {
  width: 100%;
  font-size: 16px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.meet-link-copy__btn { width: 100%; min-height: 44px; }
.meet-link-copy__status { margin: 0.35rem 0 0; }
.meet-form .form-field input,
.meet-form .form-field select,
.meet-form .form-field textarea {
  font-size: 16px;
  min-height: 44px;
}
.meet-form .form-field textarea { min-height: 5.5rem; }
.form-field--full { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .meet-meta { grid-template-columns: 1fr 1fr; }
  .meet-link-copy { flex-direction: row; align-items: stretch; }
  .meet-link-copy__input { flex: 1; min-width: 0; }
  .meet-link-copy__btn { width: auto; flex-shrink: 0; min-width: 7rem; }
}

.meet-postponed-banner { margin-bottom: 1.25rem; }

.btn-meet-disabled,
.btn-meet-disabled:hover,
.btn-meet-disabled:focus {
  background: #94a3b8 !important;
  border-color: #94a3b8 !important;
  color: #f8fafc !important;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.95;
}

body.meet-postpone-open { overflow: hidden; }
.meet-postpone[hidden] { display: none !important; }
.meet-postpone {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.meet-postpone__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.78);
}
.meet-postpone__panel {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: min(96vh, 920px);
  overflow: auto;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .meet-postpone {
    padding: 1rem;
  }
  .meet-postpone__panel {
    width: min(620px, 96vw);
    max-height: min(96vh, 960px);
  }
}
.meet-postpone__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--nhc-navy, #0f2a4a);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.meet-postpone__close:hover { background: #fff; }
.meet-postpone__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: 14px;
}

/* Homepage YouTube welcome video */
body.welcome-video-open { overflow: hidden; }
.welcome-video[hidden] { display: none !important; }
.welcome-video {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.welcome-video__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.72);
}
.welcome-video__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 720px);
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}
.welcome-video__dialog--stack {
  width: min(1040px, 100%);
  max-height: min(94vh, 900px);
  overflow: hidden;
}
.welcome-video__intro {
  margin: 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}
.welcome-video__stack {
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  min-height: 0;
}
.welcome-video__segment {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.welcome-video__segment:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.welcome-video__segment-head {
  flex-shrink: 0;
  min-height: 4.25rem;
  margin-bottom: 0.65rem;
}
.welcome-video__segment-title {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.welcome-video__segment-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.welcome-video-dual {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.welcome-video-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
}
.welcome-video-inline__head {
  margin-bottom: 0.65rem;
}
.welcome-video-inline__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.welcome-video-inline__meta {
  margin: 0;
  font-size: 0.92rem;
}
.welcome-video-inline__label {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
@media (min-width: 900px) {
  .welcome-video__stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    align-items: stretch;
  }
  .welcome-video__segment {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    height: 100%;
  }
  .welcome-video__segment:first-child {
    padding-right: 0.75rem;
    border-right: 1px solid var(--line);
  }
  .welcome-video__segment:last-child {
    padding-left: 0.75rem;
  }
  .welcome-video-dual {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
  .welcome-video-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
  }
  .welcome-video-inline:nth-child(-n + 3) {
    grid-column: span 2;
  }
  .welcome-video-inline:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .welcome-video-inline:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
.welcome-video__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.welcome-video__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  padding-right: 0.25rem;
}
.welcome-video__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.15rem 0.35rem;
}
.welcome-video__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #0a1410;
  border-radius: 10px;
  overflow: hidden;
}
.welcome-video__poster,
.welcome-video__player {
  width: 100%;
}
.welcome-video__play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.welcome-video__play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, 0.28);
  pointer-events: none;
  z-index: 1;
  transition: background 0.2s ease;
}
.welcome-video__play:hover::before,
.welcome-video__play:focus-visible::before {
  background: rgba(8, 16, 12, 0.38);
}
.welcome-video__play img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
  vertical-align: top;
}
.welcome-video__play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(198, 40, 40, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.welcome-video__play:hover .welcome-video__play-icon,
.welcome-video__play:focus-visible .welcome-video__play-icon {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}
.welcome-video__play-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent #fff;
}
.welcome-video__play--large .welcome-video__play-icon {
  width: 5.25rem;
  height: 5.25rem;
}
.welcome-video__iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.welcome-video__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.welcome-video-inline {
  max-width: none;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(20, 63, 47, 0.18);
}
@media (min-width: 640px) and (max-width: 899px) {
  .welcome-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
  .welcome-video-inline:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.625rem);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .ppm-tile-grid { grid-template-columns: 1fr; }
  .portal-nav { gap: 0.5rem 0.85rem; font-size: 0.92rem; }
}

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