/* BOCRA — brand blues & greens, yellow CTAs, light maroon accents */

:root {
  /* Core brand */
  --bocra-blue: #0a2744;
  --bocra-blue-mid: #123a5c;
  --bocra-blue-soft: #1a5080;
  --bocra-green: #15824d;
  --bocra-green-dark: #0f6b3f;
  --bocra-green-bright: #1fa35f;
  --bocra-yellow: #e4b80c;
  --bocra-yellow-hover: #f0cc2e;
  --bocra-yellow-muted: #f7e08a;
  --bocra-maroon: #7a454c;
  --bocra-maroon-light: #9a636b;

  /* Legacy aliases (used across components) */
  --bocra-navy: var(--bocra-blue);
  --bocra-navy-mid: var(--bocra-blue-mid);
  --bocra-teal: var(--bocra-green);
  --bocra-teal-dark: var(--bocra-green-dark);
  --bocra-gold: var(--bocra-yellow);
  --bocra-gold-hover: var(--bocra-yellow-hover);

  /* RGB channels for translucent mixes */
  --rgb-blue: 10 39 68;
  --rgb-green: 21 130 77;
  --rgb-yellow: 228 184 12;
  --rgb-maroon: 122 69 76;

  /* Page & panels */
  --bg: #dce8ee;
  --surface: #edf4f7;
  --surface-elevated: #f6fafc;
  --ink: #0a2744;
  --muted: #475569;
  --line: #9db4c4;
  --accent: var(--bocra-green);
  --accent-strong: var(--bocra-green-dark);
  --cta: var(--bocra-yellow);
  --cta-ink: #1a1508;
  --dark: var(--bocra-blue);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgb(var(--rgb-blue) / 0.1);
  --shadow-lg: 0 16px 36px -20px rgb(var(--rgb-blue) / 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--bocra-green);
  outline-offset: 2px;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}

.skip:focus {
  transform: translateY(0);
}

.skip--nav {
  left: 9rem;
}

/* —— Masthead —— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--surface-elevated) 0%, rgb(247 251 252 / 0.97) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgb(var(--rgb-green) / 0.4);
}

.masthead__ribbon {
  border-bottom: 1px solid rgb(var(--rgb-maroon) / 0.35);
  background: linear-gradient(92deg, var(--bocra-blue) 0%, var(--bocra-blue-mid) 48%, var(--bocra-maroon) 100%);
  font-size: 0.8125rem;
}

.masthead__ribbon-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #cbd5e1;
}

.masthead__ribbon-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.masthead__ribbon a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
}

.masthead__ribbon a:hover {
  color: #fde68a;
  text-decoration: underline;
}

.masthead__dot {
  color: rgb(148 163 184 / 0.7);
}

.masthead__ribbon-a11y {
  font-weight: 600;
  color: var(--bocra-yellow-muted);
  text-decoration: none;
}

.masthead__ribbon-a11y:hover {
  text-decoration: underline;
}

.masthead__bar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* While search is expanded, hide the logo so the bar can fit */
.masthead--search-open .brand {
  display: none;
}

.masthead__main {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .masthead__main {
    display: flex;
  }
}

.masthead__search-widget {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  position: relative;
  z-index: 45;
}

.masthead__search-widget.is-open {
  z-index: 55;
}

.masthead__search-expand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.22s ease, opacity 0.18s ease;
  margin-right: 0;
}

.masthead__search-widget.is-open .masthead__search-expand {
  max-width: min(18rem, 72vw);
  opacity: 1;
  margin-right: 0.35rem;
}

.masthead__search-form {
  margin: 0;
  min-width: 10rem;
}

.masthead__search-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 10rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
}

.masthead__search-input:focus {
  outline: 2px solid var(--bocra-green);
  outline-offset: 1px;
}

.masthead__search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: var(--surface-elevated);
  color: var(--bocra-navy);
  cursor: pointer;
}

.masthead__search-toggle:hover {
  background: rgb(var(--rgb-green) / 0.12);
  color: var(--bocra-teal-dark);
}

.masthead__search-toggle:focus-visible {
  outline: 2px solid var(--bocra-green);
  outline-offset: 2px;
}

.masthead__search-widget.is-open .masthead__search-toggle {
  background: rgb(var(--rgb-green) / 0.14);
}

.masthead__search-svg {
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--bocra-navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand__name {
  font-family: var(--font);
}

.brand__name--bocra {
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand__letter {
  line-height: 1;
}

.brand__letter--b { color: var(--bocra-blue); }
.brand__letter--o { color: var(--bocra-teal); }
.brand__letter--c { color: var(--bocra-yellow); }
.brand__letter--r { color: var(--bocra-maroon); }
.brand__letter--a { color: var(--bocra-green); }

.nav {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}

.nav__list a:hover {
  background: rgb(var(--rgb-green) / 0.12);
  color: var(--bocra-navy);
}

.nav__list a.nav__link--active {
  background: rgb(var(--rgb-green) / 0.22);
  color: var(--bocra-navy);
  font-weight: 700;
}

.nav__list a.nav__link--active:hover {
  background: rgb(var(--rgb-green) / 0.28);
}

.nav__emph {
  color: var(--bocra-teal-dark) !important;
}

.nav__item--drop {
  position: relative;
  list-style: none;
}

.nav__details {
  position: relative;
}

.nav__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.nav__summary::-webkit-details-marker {
  display: none;
}

.nav__summary::after {
  content: "▾";
  margin-left: 0.2rem;
  font-size: 0.72em;
  opacity: 0.65;
}

.nav__details[open] .nav__summary {
  background: rgb(var(--rgb-green) / 0.12);
  color: var(--bocra-navy);
}

.nav__sub {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 0.3rem);
  z-index: 70;
  min-width: 12rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--surface-elevated);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.nav__sub--end {
  left: auto;
  right: 0;
}

.nav__sub a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav__sub a:hover {
  background: rgb(var(--rgb-green) / 0.1);
  color: var(--bocra-navy);
}

.masthead__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.5rem;
}

.masthead__user {
  display: inline-flex;
  align-items: center;
  max-width: 12rem;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bocra-navy);
  line-height: 1.2;
}

.masthead__user-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.masthead__link--dashboard,
.masthead__link--logout {
  font-weight: 600;
}

.site-flash-banner {
  margin: 0;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgb(var(--rgb-green) / 0.25);
  text-align: center;
  font-size: 0.875rem;
}

.nav__chips-item--user {
  list-style: none;
  width: 100%;
  flex: 1 1 100%;
}

.nav__chips-user {
  display: block;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bocra-navy);
}

.nav--compact {
  display: block;
  border-top: 1px solid var(--line);
  padding: 0.65rem 1rem 0.85rem;
  background: var(--surface);
}

@media (min-width: 900px) {
  .nav--compact {
    display: none;
  }
}

.nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__chips a {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: var(--surface-elevated);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bocra-navy);
  text-decoration: none;
}

.nav__chips a.nav__link--active {
  border-color: rgb(var(--rgb-green) / 0.55);
  background: rgb(var(--rgb-green) / 0.2);
  font-weight: 700;
}

.nav__chips-item--drop {
  list-style: none;
}

.nav__chips-item--full {
  flex: 1 1 100%;
  width: 100%;
}

.nav__details--chips {
  width: 100%;
}

.nav__summary--chips {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: var(--surface-elevated);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bocra-navy);
}

.nav__summary--chips::-webkit-details-marker {
  display: none;
}

.nav__summary--chips::after {
  content: "▾";
  margin-left: 0.25rem;
  font-size: 0.72em;
  opacity: 0.65;
}

.nav__details--chips[open] .nav__summary--chips {
  background: rgb(var(--rgb-green) / 0.12);
}

.nav__sub--chips {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  z-index: auto;
  min-width: 0;
  width: 100%;
  margin: 0.45rem 0 0;
  padding: 0.35rem 0;
  box-shadow: none;
}

.nav__sub--chips li {
  list-style: none;
}

.nav__sub--chips a {
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

.nav__sub--chips a:hover {
  background: rgb(var(--rgb-green) / 0.1);
}

.field {
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
}

.field--sm {
  padding: 0.4rem 0.55rem;
  font-size: 0.8125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
}

/* Primary actions: gold (BOCRA site accent) */
.btn--solid {
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: var(--shadow);
}

.btn--solid:hover {
  background: var(--bocra-gold-hover);
}

.btn--solid:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Header sign-in: navy pill */
.masthead__tools .btn--solid {
  background: var(--bocra-navy);
  color: #f8fafc;
}

.masthead__tools .btn--solid:hover {
  background: var(--bocra-navy-mid);
}

.btn--ghost {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgb(var(--rgb-green) / 0.12);
  border-color: rgb(var(--rgb-green) / 0.45);
}

/* Secondary CTA on dark hero only */
.hero .btn--ghost {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.35);
  color: #f8fafc;
}

.hero .btn--ghost:hover {
  background: rgb(255 255 255 / 0.18);
  border-color: rgb(253 230 138 / 0.55);
}

.hero .hero-btn--licensing {
  background: var(--bocra-yellow);
  border-color: var(--bocra-yellow);
  color: #12263a;
}

.hero .hero-btn--licensing:hover {
  background: #f5d568;
  border-color: #f5d568;
}

.hero .hero-btn--news {
  background: rgb(var(--rgb-green) / 0.24);
  border-color: rgb(var(--rgb-green) / 0.58);
  color: #f8fafc;
}

.hero .hero-btn--news:hover {
  background: rgb(var(--rgb-green) / 0.36);
  border-color: rgb(var(--rgb-green) / 0.74);
}

.hero .hero-btn--register {
  background: rgb(var(--rgb-maroon) / 0.34);
  border-color: rgb(var(--rgb-maroon) / 0.68);
  color: #fff;
}

.hero .hero-btn--register:hover {
  background: rgb(var(--rgb-maroon) / 0.5);
  border-color: rgb(var(--rgb-maroon) / 0.78);
}

.btn--lg {
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.main {
  min-height: 40vh;
}

/* —— Hero —— */
.hero {
  padding: clamp(2.75rem, 5vw, 4rem) 1rem clamp(3.5rem, 8vh, 6rem);
  min-height: min(92vh, 54rem);
  background: linear-gradient(155deg, var(--bocra-blue) 0%, var(--bocra-blue-mid) 38%, var(--bocra-green-dark) 100%);
  border-bottom: 2px solid rgb(var(--rgb-yellow) / 0.35);
}

.hero__layout {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  min-height: clamp(29rem, 72vh, 45rem);
  align-content: center;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 3rem;
  }
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bocra-yellow-muted);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  color: #cbd5e1;
  font-weight: 800;
  align-items: center;
}

.hero-dots__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.about-dots {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  color: var(--ink);
  font-weight: 900;
  align-items: center;
}

.about-dots__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
}

.about-connectivity-web {
  margin-top: -0.5rem;
  width: 100%;
}

.about-connectivity-web svg {
  display: block;
  width: 100%;
  height: auto;
}

.about-connectivity-block {
  align-items: start;
  gap: 0.9rem;
}

.about-connectivity-art {
  display: flex;
  justify-content: flex-end;
}

.about-connectivity-art .about-connectivity-web svg {
  max-width: 420px;
}

/* —— Landing disclaimer popup —— */
.landing-disclaimer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.landing-disclaimer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 39, 68, 0.55);
}

.landing-disclaimer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.25);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.2rem;
}

.landing-disclaimer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.landing-disclaimer__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 950;
  color: var(--ink);
}

.landing-disclaimer__close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b;
  padding: 0.1rem 0.35rem;
}

.landing-disclaimer__close:hover {
  color: var(--ink);
}

.landing-disclaimer__body {
  margin-top: 0.75rem;
  color: #334155;
}

.landing-disclaimer__body p {
  margin: 0;
  line-height: 1.55;
}

/* Media preview inside landing disclaimer */
.landing-disclaimer__media {
  margin-top: 1rem;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px dashed rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.06);
  overflow: hidden;
}

.landing-disclaimer__media--image {
  /* Responsive image height so the modal doesn't get too tall on very small screens */
  height: clamp(8rem, 22vw, 12rem);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

.landing-disclaimer__media--video {
  aspect-ratio: 16 / 9;
}

.landing-disclaimer__video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.landing-disclaimer__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.hero__art {
  position: relative;
  min-height: clamp(19rem, 44vh, 26rem);
}

@media (min-width: 960px) {
  .hero__art {
    min-height: clamp(24rem, 62vh, 36rem);
  }
}

.hero__art-frame {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgb(var(--rgb-green) / 0.45);
  background-color: rgb(15 23 42 / 0.35);
  background-image:
    linear-gradient(135deg, rgb(var(--rgb-green) / 0.45) 0%, transparent 50%),
    linear-gradient(225deg, rgb(var(--rgb-yellow) / 0.22) 0%, transparent 45%),
    repeating-linear-gradient(
      90deg,
      rgb(255 255 255 / 0.06) 0px,
      rgb(255 255 255 / 0.06) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      0deg,
      rgb(255 255 255 / 0.05) 0px,
      rgb(255 255 255 / 0.05) 1px,
      transparent 1px,
      transparent 22px
    );
  box-shadow: var(--shadow-lg);
}

.hero-service-carousel {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgb(var(--rgb-green) / 0.45);
  background: rgb(var(--rgb-green) / 0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-service-carousel__track {
  display: flex;
  gap: 1rem;
  height: 100%;
  width: max-content;
  padding: 1rem;
  animation: hero-carousel-slide 34s linear infinite;
}

.hero-service-carousel:hover .hero-service-carousel__track {
  animation-play-state: paused;
}

.hero-service-card {
  width: min(24rem, 66vw);
  min-height: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.18);
  position: relative;
  overflow: hidden;
  background: rgb(2 6 23 / 0.3);
}

@media (min-width: 960px) {
  .hero-service-card {
    width: min(23rem, 31vw);
  }
}

.hero-service-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
}

.hero-service-card__body {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
  background: rgb(var(--rgb-green) / 0.2);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.65rem;
  backdrop-filter: blur(2px);
}

.hero-service-card__title {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

.hero-service-card__apply {
  width: fit-content;
}

@keyframes hero-carousel-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

/* —— Bands —— */
.band {
  padding: 3rem 1rem;
}

.band--tint {
  background: linear-gradient(180deg, var(--surface) 0%, rgb(var(--rgb-green) / 0.09) 100%);
  border-top: 1px solid rgb(var(--rgb-green) / 0.22);
  border-bottom: 1px solid rgb(var(--rgb-green) / 0.22);
}

.band--dark {
  background: linear-gradient(160deg, var(--bocra-blue) 0%, var(--bocra-blue-mid) 48%, var(--bocra-maroon) 100%);
  color: #e2e8f0;
}

.band--last {
  padding-bottom: 4rem;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
}

.band__head {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.band__sub {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h2--on-dark {
  color: #fff;
}

/* Bento */
.bento {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
  }

  .bento__cell--wide {
    grid-column: span 2;
  }
}

.bento__link {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: linear-gradient(165deg, var(--surface-elevated) 0%, rgb(var(--rgb-blue) / 0.05) 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.bento__link:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--rgb-green) / 0.55);
}

.bento__label {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.bento__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.bento__go {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bocra-teal-dark);
}

.bento__cell--accent .bento__link {
  border-color: rgb(var(--rgb-yellow) / 0.45);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* Rail / timeline */
.rail {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgb(var(--rgb-green) / 0.22);
}

.rail__item {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgb(var(--rgb-green) / 0.18);
}

@media (min-width: 860px) {
  .rail__item {
    grid-template-columns: 64px 1fr auto;
    align-items: start;
    gap: 1.25rem;
  }
}

.rail__idx {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--bocra-teal-dark);
}

.rail__h {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.rail__p {
  margin: 0.35rem 0 0;
  color: #475569;
  font-size: 0.95rem;
}

.rail__a {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--bocra-teal-dark);
  text-decoration: none;
  white-space: nowrap;
}

.rail__a:hover {
  text-decoration: underline;
}

.wrap--split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .wrap--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 2rem;
  }
}

.prose {
  margin: 0.75rem 0 0;
  color: #475569;
  max-width: 60ch;
}

.stack {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.callout {
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: linear-gradient(165deg, var(--surface-elevated) 0%, rgb(var(--rgb-green) / 0.08) 100%);
  padding: 1.25rem 1.25rem 1.15rem;
  box-shadow: var(--shadow-lg);
}

.callout__h {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
}

.callout__p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout__a {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 900;
  color: var(--bocra-teal-dark);
  text-decoration: none;
}

.callout__a:hover {
  text-decoration: underline;
}

.tri {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .tri {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.tri__h {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: #fff;
}

.tri__p {
  margin: 0.45rem 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.tri__a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 900;
  color: #fde68a;
  text-decoration: none;
}

.tri__a:hover {
  color: #fff;
  text-decoration: underline;
}

.cols {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.cols__item {
  padding-top: 1rem;
  border-top: 2px solid rgb(var(--rgb-green) / 0.35);
}

.cols__h {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
}

.cols__p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Inner pages */
.page-prose {
  max-width: 48rem;
  margin: 1.25rem auto 2.5rem;
  padding: 2.75rem 1.25rem 3.5rem;
  background: var(--surface-elevated);
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.2);
  box-shadow: var(--shadow);
}

.page-prose h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--bocra-navy);
}

.page-prose__muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-prose__lead {
  font-size: 1.05rem;
  color: #475569;
  max-width: 65ch;
}

.page-prose__address {
  font-style: normal;
  margin: 0.75rem 0 1rem;
  line-height: 1.65;
}

.page-prose__cta {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.55);
}

.news-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.news-list__item {
  padding: 1rem 0;
  border-bottom: 1px solid rgb(var(--rgb-green) / 0.15);
}

.news-list__item:last-child {
  border-bottom: 0;
}

.news-list__meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bocra-teal-dark);
}

.news-list__h {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bocra-navy);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.2);
}

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

.data-table th,
.data-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgb(var(--rgb-blue) / 0.12);
}

.data-table th {
  background: rgb(var(--rgb-green) / 0.08);
  font-weight: 800;
  color: var(--ink);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.resource-section {
  margin-top: 2rem;
}

.resource-section__h {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bocra-navy);
}

.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-list li {
  margin-bottom: 0.45rem;
}

.resource-list__a {
  font-weight: 700;
  color: var(--bocra-green-dark);
  text-decoration: none;
}

.resource-list__a:hover {
  text-decoration: underline;
}

.page-prose p,
.page-prose li {
  color: #475569;
}

.page-prose ul,
.page-prose ol {
  margin-top: 1.25rem;
}

.page-prose--wide {
  max-width: 72rem;
}

.page-prose__steps {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
  color: #475569;
}

.page-prose__steps li {
  margin-bottom: 0.35rem;
}

.license-group {
  margin-top: 2rem;
}

.license-group__h {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bocra-navy);
}

.license-group__summary {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: #475569;
  max-width: 70ch;
}

.license-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .license-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.license-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.65);
  box-shadow: var(--shadow);
}

.license-card__h {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--bocra-navy);
  line-height: 1.35;
}

.license-card__p {
  margin: 0.5rem 0 0;
  flex: 1;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.license-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

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

@media (min-width: 720px) {
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .checklist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.license-checklist-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.page-prose .notice {
  margin-top: 2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-yellow) / 0.45);
  background: rgb(var(--rgb-yellow) / 0.12);
  font-size: 0.88rem;
  color: #5c4a12;
}

.contact-form-panel {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: rgb(var(--rgb-green) / 0.07);
}

.contact-form-panel__h {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-family: var(--serif);
  color: var(--bocra-navy);
}

.contact-form-panel .notice {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-form-panel .notice.contact-form-panel__success {
  border-color: rgb(var(--rgb-green) / 0.45);
  background: rgb(var(--rgb-green) / 0.12);
  color: #065f46;
}

.contact-form-panel .notice.contact-form-panel__error {
  border-color: rgb(220 38 38 / 0.35);
  background: rgb(254 226 226 / 0.6);
  color: #991b1b;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.foot {
  border-top: 1px solid rgb(var(--rgb-maroon) / 0.35);
  background: linear-gradient(180deg, var(--bocra-blue-mid) 0%, var(--bocra-blue) 72%, var(--bocra-maroon) 100%);
  color: #cbd5e1;
}

.foot__subscribe {
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(15 40 71 / 0.6);
}

.foot__subscribe-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 1rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .foot__subscribe-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.foot__h {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #f8fafc;
}

.foot__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 46ch;
}

.foot__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.foot__form .field {
  min-width: 16rem;
  flex: 1;
  background: rgb(10 22 40 / 0.5);
  border-color: rgb(255 255 255 / 0.15);
  color: #f1f5f9;
}

.foot__a11y {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #94a3b8;
}

.foot__grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .foot__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.foot__p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.foot__p a {
  color: var(--bocra-green-bright);
  font-weight: 700;
  text-decoration: none;
}

.foot__p a:hover {
  color: #fde68a;
  text-decoration: underline;
}

.foot__explore-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  align-content: start;
}

.foot__explore-list li {
  margin: 0;
  min-width: 0;
}

.foot__explore-list a {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bocra-green-bright);
  text-decoration: none;
}

.foot__explore-list a:hover {
  color: #fde68a;
  text-decoration: underline;
}

.foot__legal {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
}

/* Assistant */
.assist {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.assist__panel {
  width: min(100vw - 2rem, 22rem);
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: var(--surface-elevated);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.assist__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--bocra-navy);
}

.assist__text {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.assist__messages {
  margin: 0.7rem 0;
  max-height: 12rem;
  overflow-y: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.15rem;
}

.assist__msg {
  margin: 0;
  padding: 0.5rem 0.62rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.assist__msg--user {
  background: rgb(var(--rgb-blue) / 0.12);
  border: 1px solid rgb(var(--rgb-blue) / 0.25);
  color: #0f172a;
}

.assist__msg--bot {
  background: rgb(var(--rgb-green) / 0.1);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  color: #1f2937;
}

.assist__hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: #b45309;
}

.assist__fab {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  border: 1px solid rgb(var(--rgb-yellow) / 0.55);
  background: linear-gradient(155deg, var(--bocra-yellow-hover) 0%, var(--bocra-yellow) 45%, #c9a00a 100%);
  color: var(--cta-ink);
  box-shadow:
    0 4px 14px rgb(var(--rgb-blue) / 0.2),
    0 0 0 1px rgb(255 255 255 / 0.35) inset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assist__fab:hover {
  filter: brightness(1.06);
  box-shadow:
    0 6px 18px rgb(var(--rgb-blue) / 0.22),
    0 0 0 1px rgb(255 255 255 / 0.45) inset;
}

.assist__fab:focus-visible {
  outline: 2px solid var(--bocra-navy);
  outline-offset: 3px;
}

#chat-icon-close {
  font-size: 1.5rem;
  line-height: 1;
}

/* —— Auth / legal / forms —— */
.masthead__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bocra-teal-dark);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}

.masthead__link:hover {
  text-decoration: underline;
}

.auth {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.auth__card {
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
}

.auth__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--bocra-navy);
}

.auth__intro {
  margin: 0.65rem 0 1.25rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

.auth__track {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.09);
}

.auth__track-p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bocra-navy);
  line-height: 1.45;
}

.auth__links {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.875rem;
}

.auth__links a {
  color: var(--bocra-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.auth__links a:hover {
  text-decoration: underline;
}

.auth__links--extra {
  margin-top: 0.5rem;
}

.auth__sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.auth__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

.auth-methods {
  margin: 0;
}

.auth-methods__h {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--bocra-navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-methods__h:first-child {
  margin-top: 0;
}

.auth-methods__h--second {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.auth-methods__h--inline {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--bocra-navy);
  text-transform: none;
  letter-spacing: normal;
}

.auth-methods__hint {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 42rem;
}

.form--otp-send {
  margin-bottom: 0.5rem;
}

.form--otp-verify {
  margin-top: 0.25rem;
}

.auth-methods--login-code .form--otp-verify {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.auth__flash {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
}

.auth__flash--success {
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.08);
  color: #14532d;
}

.auth__flash--warn {
  border: 1px solid rgb(180 83 9 / 0.35);
  background: rgb(254 243 199 / 0.9);
  color: #9a3412;
}

.portal__flash {
  margin: 0 0 1rem;
}

.auth__errors {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(185 28 28 / 0.35);
  background: rgb(254 242 242 / 0.9);
}

.auth__errors-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: #7f1d1d;
  line-height: 1.45;
}

.form {
  margin: 0;
}

.form__row {
  margin-bottom: 1rem;
}

.form__row--inline {
  margin-bottom: 0.5rem;
}

.form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bocra-navy);
}

.form__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

.form__inline {
  font-weight: 500;
  cursor: pointer;
}

.whistle-anon-panel {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: rgb(var(--rgb-green) / 0.07);
}

.whistle-anon-panel .notice {
  margin-bottom: 0;
}

.whistle-anon-form textarea.field {
  min-height: 9rem;
  resize: vertical;
}

.field--block {
  display: block;
  width: 100%;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #334155;
  cursor: pointer;
}

.form__check input {
  margin-top: 0.2rem;
}

.form__check--legal {
  align-items: flex-start;
}

.form__check--legal span {
  line-height: 1.45;
}

.form__actions {
  margin-top: 1.25rem;
}

.form__actions--split {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.form__error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #b91c1c;
}

.form__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.form__row--privacy {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(var(--rgb-green) / 0.15);
}

.legal {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.legal__h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  color: var(--bocra-navy);
}

.legal__updated {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
}

.legal__body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
}

.legal__back {
  margin: 2rem 0 0;
  font-size: 0.9rem;
}

.legal__back a {
  color: var(--bocra-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.legal__back a:hover {
  text-decoration: underline;
}

.foot__legal-links {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-size: 0.85rem;
}

.foot__legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.foot__legal-links a:hover {
  color: var(--bocra-green-bright);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 1rem;
  background: linear-gradient(180deg, var(--bocra-blue-mid) 0%, var(--bocra-blue) 85%, var(--bocra-maroon) 100%);
  border-top: 2px solid rgb(var(--rgb-yellow) / 0.4);
  box-shadow: 0 -8px 30px rgb(0 0 0 / 0.2);
}

.cookie-banner__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.cookie-banner__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn--cookie.btn--ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: #f8fafc;
  background: transparent;
}

.btn--cookie.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.btn--cookie.btn--solid {
  background: var(--bocra-gold);
  color: var(--bocra-navy);
}

.cookie-banner__more {
  margin: 0;
  font-size: 0.78rem;
}

.cookie-banner__more a {
  color: var(--bocra-green-bright);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner__more a:hover {
  text-decoration: underline;
}

/* —— Portal hub & role portals —— */
.portal-hub {
  padding: 2rem 1rem 3.5rem;
  background: linear-gradient(180deg, rgb(232 242 243) 0%, var(--bg) 55%);
  border-bottom: 1px solid rgb(var(--rgb-green) / 0.22);
}

.portal-hub__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.portal-hub__head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.portal-hub__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--bocra-navy);
}

.portal-hub__intro {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  color: #475569;
  line-height: 1.55;
}

.portal-hub__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .portal-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portal-hub__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: linear-gradient(165deg, var(--surface-elevated) 0%, #e8f4f2 100%);
  box-shadow: var(--shadow);
}

.portal-hub__card--staff {
  border-color: rgb(var(--rgb-yellow) / 0.45);
  background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 100%);
}

.portal-hub__h {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--bocra-navy);
}

.portal-hub__text {
  margin: 0.5rem 0 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.portal-hub__card .btn {
  margin-top: 1.25rem;
  align-self: flex-start;
}

.portal {
  display: grid;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

@media (min-width: 900px) {
  .portal {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }
}

.portal__sidebar {
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.25);
  background: var(--surface-elevated);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .portal__sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.portal__sidebar-head {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.portal__back {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bocra-teal-dark);
  text-decoration: none;
}

.portal__back:hover {
  text-decoration: underline;
}

.portal__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--bocra-navy);
  letter-spacing: -0.02em;
}

.portal__nav {
  padding: 0.5rem 0.35rem 0.75rem;
}

.portal__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal__nav-list li {
  margin: 0;
}

.portal__nav-link {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.portal__nav-link:hover {
  background: rgb(var(--rgb-green) / 0.1);
  color: var(--bocra-navy);
}

.portal__nav-link.is-active {
  background: rgb(var(--rgb-green) / 0.18);
  color: var(--bocra-navy);
}

.portal__body {
  min-width: 0;
}

.portal__header {
  margin-bottom: 1.5rem;
}

.portal__h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 700;
  color: var(--bocra-navy);
}

.portal__lead {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  color: #475569;
  max-width: 60ch;
}

.portal__callout {
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.08);
}

.portal__callout-p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bocra-navy);
}

.portal__callout-sub {
  margin: 0.45rem 0 0.85rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 65ch;
}

.portal__section {
  margin-bottom: 2.25rem;
  scroll-margin-top: 6rem;
}

.portal__section--shortcuts {
  padding-bottom: 0.25rem;
}

.license-grid--portal-shortcuts {
  margin-top: 0.35rem;
}

.license-card--shortcut .license-card__h {
  font-size: 0.95rem;
}

.portal__h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--bocra-navy);
}

.portal__copy {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: #475569;
  max-width: 65ch;
}

.portal__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.portal__stat {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.7);
}

.portal__stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bocra-navy);
  line-height: 1.1;
}

.portal__stat-lbl {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.portal__placeholder {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.06);
  font-size: 0.875rem;
  color: #64748b;
}

.portal__muted {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: rgb(100 116 139 / 0.85);
  font-weight: 600;
}

.breadcrumb__link {
  color: var(--bocra-blue);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb__link:hover {
  text-decoration: underline;
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 800;
}

.portal__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.25rem 0 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.2);
  background: rgb(255 255 255 / 0.85);
}

.portal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.portal__table th,
.portal__table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgb(15 23 42 / 0.08);
}

.portal__table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgb(var(--rgb-green) / 0.06);
}

.portal__table tbody tr:last-child td {
  border-bottom: none;
}

.portal__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgb(15 23 42 / 0.06);
  color: #334155;
}

.portal__badge--approved {
  background: rgb(var(--rgb-green) / 0.18);
  color: #14532d;
}

.portal__badge--submitted,
.portal__badge--under_review {
  background: rgb(59 130 246 / 0.15);
  color: #1e40af;
}

.portal__badge--draft {
  background: rgb(100 116 139 / 0.15);
  color: #475569;
}

.portal__badge--rejected {
  background: rgb(220 38 38 / 0.12);
  color: #991b1b;
}

.portal__badge--withdrawn {
  background: rgb(15 23 42 / 0.08);
  color: #64748b;
}

.license-card__status {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

.portal__h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--bocra-navy);
}

.portal__dl {
  margin: 0.75rem 0 1rem;
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.portal__dl dt {
  margin: 0;
  font-weight: 700;
  color: #64748b;
}

.portal__dl dd {
  margin: 0;
  color: #334155;
}

.portal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: flex-end;
  margin: 0 0 1rem;
}

.portal__filter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portal__filter .field {
  min-width: 11rem;
}

.portal__filter-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.portal__admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.portal__footer-systems {
  margin-top: 2.5rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.7);
}

.portal__footer-systems-h {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--bocra-navy);
}

.portal__footer-systems-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.portal__footer-systems-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  padding: 1.05rem 1.1rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.65);
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  line-height: 1.3;
}

.portal__footer-systems-link:focus-visible {
  outline: 2px solid var(--bocra-yellow);
  outline-offset: 3px;
}

.portal__footer-systems-link:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--rgb-green) / 0.55);
}

.portal__footer-systems-link:hover {
  text-decoration: none;
}

/* (removed shared footer continue button) */

/* Different color cards (order matters in portal-end.php) */
.portal__footer-systems-list > li:nth-child(1) .license-card--shortcut {
  border-color: rgb(var(--rgb-blue) / 0.55);
  background: linear-gradient(165deg, #eff6ff 0%, rgb(10 39 68 / 0.03) 100%);
}

.portal__footer-systems-list > li:nth-child(2) .license-card--shortcut {
  border-color: rgb(var(--rgb-green) / 0.55);
  background: linear-gradient(165deg, #ecfdf5 0%, rgb(21 130 77 / 0.03) 100%);
}

.portal__footer-systems-list > li:nth-child(3) .license-card--shortcut {
  border-color: rgb(var(--rgb-maroon) / 0.55);
  background: linear-gradient(165deg, #fff1f2 0%, rgb(122 69 76 / 0.03) 100%);
}

/* —— Homepage additions (brand / hubs) —— */
.home-iam-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.home-iam-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: linear-gradient(165deg, var(--surface-elevated) 0%, rgb(var(--rgb-blue) / 0.05) 100%);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, border-color 0.12s ease;
  min-height: 150px;
  position: relative;
  padding-left: 2.1rem;
}

.home-iam-card::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgb(var(--rgb-green) / 0.4);
  box-shadow: 0 0 0 4px rgb(var(--rgb-green) / 0.08);
}

.home-iam-grid > li:nth-child(1) .home-iam-card::before {
  background: var(--bocra-blue);
  box-shadow: 0 0 0 4px rgba(10,39,68,0.10);
}

.home-iam-grid > li:nth-child(2) .home-iam-card::before {
  background: var(--bocra-maroon);
  box-shadow: 0 0 0 4px rgba(122,69,76,0.10);
}

.home-iam-grid > li:nth-child(3) .home-iam-card::before {
  background: var(--bocra-yellow);
  box-shadow: 0 0 0 4px rgba(228,184,12,0.14);
}

.home-iam-grid > li:nth-child(4) .home-iam-card::before {
  background: var(--bocra-green);
  box-shadow: 0 0 0 4px rgba(21,130,77,0.10);
}

.home-iam-card:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--rgb-green) / 0.55);
}

.home-iam-card:focus-visible {
  outline: 2px solid var(--bocra-yellow);
  outline-offset: 3px;
}

.home-iam-card__title {
  font-weight: 900;
  color: var(--ink);
  font-size: 1.05rem;
}

.home-iam-card__p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-sector-legend {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  color: var(--ink);
  font-weight: 800;
}

.home-sector-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.home-dot--telecom {
  background: var(--bocra-blue);
}

.home-dot--broadcasting {
  background: var(--bocra-maroon);
}

.home-dot--postal {
  background: var(--bocra-green);
}

.home-dot--internet {
  background: var(--bocra-yellow);
}

.home-video-placeholder {
  border-radius: var(--radius);
  border: 1px dashed rgb(var(--rgb-green) / 0.35);
  background: rgb(var(--rgb-green) / 0.06);
  padding: 1.25rem 1.2rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
}

.home-connectivity-web {
  width: 100%;
}

.home-media-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.home-info-card {
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.28);
  background: linear-gradient(165deg, var(--surface-elevated) 0%, rgb(var(--rgb-blue) / 0.05) 100%);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.15rem 1.05rem;
}

.home-info-card__h {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
}

.home-info-card__p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-stakeholder-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.home-roadshow-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .home-roadshow-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.home-map-placeholder {
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.2);
  background: rgb(255 255 255 / 0.7);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  text-align: center;
  color: #64748b;
  font-weight: 900;
}

.home-map-placeholder__h {
  margin: 0;
  font-weight: 900;
  font-size: 1rem;
}

.home-map-placeholder__p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.home-subhead {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
}

.home-legacy-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.home-legacy-list__p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.home-sector-pill-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .home-sector-pill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-sector-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--rgb-green) / 0.18);
  background: rgb(255 255 255 / 0.65);
  box-shadow: 0 1px 0 rgb(var(--rgb-green) / 0.06);
  font-weight: 900;
  color: var(--ink);
}

.home-sector-pill--telecom .home-dot {
  background: var(--bocra-blue);
}

.home-sector-pill--broadcasting .home-dot {
  background: var(--bocra-maroon);
}

.home-sector-pill--postal .home-dot {
  background: var(--bocra-green);
}

.home-sector-pill--internet .home-dot {
  background: var(--bocra-yellow);
}

/* Emergency & Crisis Features (Network Outage Map + Live Demo Broadcast) */
.emergency-page {
  margin-top: 1.25rem;
}

.emergency-top-grid {
  margin-top: 1.25rem;
}

.emergency-card {
  border-radius: var(--radius);
  border: 1px solid rgb(var(--rgb-green) / 0.22);
  background: rgb(255 255 255 / 0.55);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.emergency-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.emergency-card__h {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--bocra-navy);
}

.emergency-card__h--live {
  position: relative;
  padding-left: 2.1rem;
}

.emergency-card__h--live::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--bocra-green-dark);
  font-size: 1rem;
  animation: emergencyDotBlink 1.2s infinite;
}

@keyframes emergencyDotBlink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.emergency-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--muted);
}

.emergency-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.emergency-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.emergency-dot--minor {
  background: rgb(var(--rgb-green) / 0.75);
  fill: rgb(var(--rgb-green) / 0.75);
}

.emergency-dot--major {
  background: rgb(245 158 11 / 0.85);
  fill: rgb(245 158 11 / 0.85);
}

.emergency-dot--critical {
  background: rgb(220 38 38 / 0.85);
  fill: rgb(220 38 38 / 0.9);
}

.emergency-controls {
  margin-top: 0.65rem;
}

.emergency-filters {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emergency-filter[data-active="true"] {
  border-color: rgb(var(--rgb-green) / 0.55) !important;
  background: rgb(var(--rgb-green) / 0.14) !important;
  color: var(--ink) !important;
}

.emergency-map-frame {
  margin-top: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.18);
  background: rgb(255 255 255 / 0.65);
  padding: 0.85rem;
}

.emergency-map {
  width: 100%;
  height: auto;
  display: block;
}

.emergency-map__shape {
  fill: rgb(var(--rgb-green) / 0.06);
  stroke: rgb(var(--rgb-green) / 0.28);
  stroke-width: 2.2;
}

.emergency-map__markers {
  cursor: pointer;
}

.emergency-marker__core {
  pointer-events: none;
}

.emergency-marker__ring {
  fill: none;
  stroke-width: 3;
  opacity: 0.35;
  animation: emergencyPulse 1.9s infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.emergency-dot--minor.emergency-marker__ring {
  stroke: rgb(var(--rgb-green) / 0.7);
}

.emergency-dot--major.emergency-marker__ring {
  stroke: rgb(245 158 11 / 0.9);
}

.emergency-dot--critical.emergency-marker__ring {
  stroke: rgb(220 38 38 / 0.95);
}

@keyframes emergencyPulse {
  0% { transform: scale(0.9); opacity: 0.15; }
  65% { opacity: 0.35; }
  100% { transform: scale(1.15); opacity: 0; }
}

.emergency-marker__txt {
  font-size: 10px;
  font-weight: 900;
  fill: rgba(10, 39, 68, 0.9);
  pointer-events: none;
  text-transform: uppercase;
}

.emergency-details {
  margin-top: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.18);
  background: rgb(255 255 255 / 0.6);
}

.emergency-details__p {
  margin: 0;
  font-weight: 900;
  color: var(--bocra-navy);
}

.emergency-details__sub {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.emergency-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.emergency-broadcast-banner {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgb(var(--rgb-green) / 0.08);
  border: 1px solid rgb(var(--rgb-green) / 0.18);
}

.emergency-broadcast-banner__small {
  margin: 0;
  font-weight: 900;
  color: var(--muted);
  font-size: 0.9rem;
}

.emergency-broadcast-banner__updated {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9rem;
}

.emergency-alert-list-wrap {
  margin-top: 0.85rem;
}

.emergency-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.emergency-alert {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.18);
  background: rgb(255 255 255 / 0.6);
}

.emergency-alert:focus-visible {
  outline: 2px solid var(--bocra-green);
  outline-offset: 2px;
}

.emergency-alert__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.emergency-pill {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.emergency-pill--minor {
  background: rgb(var(--rgb-green) / 0.12);
  color: #14532d;
  border: 1px solid rgb(var(--rgb-green) / 0.25);
}

.emergency-pill--major {
  background: rgb(245 158 11 / 0.15);
  color: #92400e;
  border: 1px solid rgb(245 158 11 / 0.35);
}

.emergency-pill--critical {
  background: rgb(220 38 38 / 0.12);
  color: #991b1b;
  border: 1px solid rgb(220 38 38 / 0.3);
}

.emergency-alert__time {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.emergency-alert__title {
  margin: 0.55rem 0 0;
  font-weight: 900;
  color: var(--bocra-navy);
}

.emergency-alert__body {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.emergency-infra-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .emergency-infra-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.emergency-status {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(var(--rgb-green) / 0.18);
  background: rgb(255 255 255 / 0.6);
}

.emergency-status__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.emergency-status__h {
  margin: 0;
  font-weight: 900;
  color: var(--bocra-navy);
}

.emergency-status__v {
  margin: 0;
  font-weight: 900;
  color: var(--ink);
}

.emergency-status__bar {
  margin-top: 0.55rem;
  height: 10px;
  background: rgb(15 23 42 / 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.emergency-status__fill {
  display: block;
  height: 100%;
  background: rgb(var(--rgb-green) / 0.55);
}

.emergency-status__p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.emergency-status--major .emergency-status__fill {
  background: rgb(245 158 11 / 0.8);
}

.emergency-status--critical .emergency-status__fill {
  background: rgb(220 38 38 / 0.85);
}

.emergency-card--hub {
  margin-top: 0.2rem;
}
