/* VolunteerReminder — app-specific tweaks.
   Loaded LAST (after /css/bootstrap.custom.css and /assets/css/style.css) so it
   layers the in-app surfaces (cards, tables, forms, buttons, badges) onto the
   legacy teal/yellow "Bootslander" theme. The header / navbar / footer chrome
   itself comes from /assets/css/style.css; this file only themes the content
   primitives the feature views use and offsets content below the fixed header.

   Brand: teal #2c749c (header/footer), yellow accent #d8c048 (links/highlights),
   Open Sans body / Montserrat headings (set by the theme css). */

:root {
  --teal: #2c749c;
  --teal-dark: #235d7e;
  --accent: #d8c048; /* yellow brand accent (links, highlights) */
  --accent-dark: #c4ab35;
  --accent-soft: #eaf2f7; /* pale teal wash for hovers / focus */
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #444444;
  --muted: #6b7280;
  --border: #e3e6ea;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --success: #166534;
  --success-soft: #f0fdf4;
  --warn: #92400e;
  --warn-soft: #fffbeb;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

.muted {
  color: var(--muted);
}

/* ---------- Fixed-header offset ----------
   The theme header is `position: fixed` and 110px tall. App pages (no hero)
   render content inside `#main`, so pad it clear of the header. Hero pages opt
   out so the transparent header overlays the hero. */
#main {
  padding-top: 130px;
  padding-bottom: 56px;
  min-height: 60vh;
}
#main.site-main--hero {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
}

/* ---------- Nav: accessible account-dropdown trigger ----------
   The trigger is a real <button> (was <a href="#">) so keyboard + screen-reader
   users can open the menu. Reset the native button chrome and inherit the
   theme's `.navbar a` typography so it looks identical to the old link. */
.navbar .dropdown > .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
  background: none;
  border: 0;
  cursor: pointer;
}
.navbar .dropdown > .nav-dropdown-toggle i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar .dropdown > .nav-dropdown-toggle:hover,
.navbar .dropdown > .nav-dropdown-toggle.active {
  color: #fff;
}
/* Keyboard focus ring (theme has none for the link). */
.navbar .dropdown > .nav-dropdown-toggle:focus-visible {
  outline: 2px solid #d8c048;
  outline-offset: 2px;
  color: #fff;
}
/* Open state driven by the chrome script (click / keyboard), mirroring the
   theme's `:hover > ul` reveal so click + keyboard match hover on desktop. */
.navbar .dropdown.dropdown-open > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar-mobile .dropdown.dropdown-open > ul,
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* ---------- Nav: Logout POST button inside the account dropdown ----------
   The legacy dropdown styles target <a>; render the POST submit so it matches. */
.navbar .dropdown ul li .nav-logout-form {
  margin: 0;
  padding: 0;
}
.navbar .dropdown ul li .nav-logout {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #01036f;
}
.navbar .dropdown ul li .nav-logout:hover {
  color: #d8c048;
}
/* Mobile (navbar-mobile) variant of the logout button */
.navbar-mobile .dropdown ul li .nav-logout {
  color: #0205a1;
}

/* ---------- Banners / alerts ---------- */
.impersonation {
  /* Fixed strip ABOVE the fixed teal header (z-index ~1030); the
     body.is-impersonating rules below push the header + content down to clear
     it, so the banner is never hidden behind the header. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--warn-soft);
  border-bottom: 1px solid #fcd9a5;
  color: var(--warn);
  padding: 10px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.impersonation__exit {
  color: var(--warn);
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
/* Inline in-page notice (e.g. Stripe TEST-mode). Not fixed like .impersonation. */
.banner {
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.banner--warn {
  background: var(--warn-soft);
  border: 1px solid #fcd9a5;
  color: var(--warn);
}
.banner code {
  background: rgba(146, 64, 14, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}
/* While impersonating, drop the fixed header + content below the 40px banner. */
body.is-impersonating #header {
  top: 40px;
}
body.is-impersonating #main {
  padding-top: 170px;
}

/* ---------- FullCalendar (schedules calendar view) ----------
   The Bootslander theme colors EVERY <a> yellow (#d8c048); FullCalendar renders
   its event chips as <a>, so event text + dots were pale-yellow-on-white and
   effectively invisible. Restore readable contrast: dark text + teal dots. */
.fc .fc-daygrid-event {
  color: var(--text);
}
.fc a.fc-event,
.fc a.fc-event:hover,
.fc a.fc-event:focus {
  color: var(--text);
  text-decoration: none;
}
.fc .fc-daygrid-event .fc-event-time {
  color: var(--muted);
  font-weight: 600;
}
.fc .fc-daygrid-event-dot {
  border-color: var(--teal);
}
/* Background-style (all-day / block) events get a teal fill with white text. */
.fc .fc-h-event {
  background-color: var(--teal);
  border-color: var(--teal);
}
.fc .fc-h-event .fc-event-title,
.fc .fc-h-event .fc-event-time {
  color: #fff;
}

.alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 20px 0 0;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.alert--error {
  background: var(--danger-soft);
  border-color: #f4c7c7;
  color: var(--danger);
}
.alert--success {
  background: var(--success-soft);
  border-color: #bbf0c9;
  color: var(--success);
}
/* Gray cross-promo / note alert (legacy Bootstrap `alert alert-primary`). */
.alert--muted {
  background: #f6f7f9;
  border-color: var(--border);
  color: var(--text);
}
.alert__heading {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: "Montserrat", sans-serif;
  color: var(--teal);
}
.alert--muted p {
  margin: 0;
}
/* Informational alert (matches the legacy Bootstrap `alert alert-info`). */
.alert--info {
  background: var(--accent-soft);
  border-color: #b9d6e6;
  color: var(--teal-dark);
}
.alert--info p {
  margin: 0 0 8px;
}
.alert--info p:last-child {
  margin-bottom: 0;
}
/* Lead-in copy + icon headings used on the Reminders page. */
.lead-copy {
  margin: 0 0 16px;
}
.icon-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-family: "Montserrat", sans-serif;
  color: var(--teal);
}
.icon-heading i {
  color: var(--accent-dark);
}

/* ---------- Page header ---------- */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: #fafaff;
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.page-header__title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #37517e;
}
.page-header__subtitle {
  margin: 4px 0 0;
}
.page-header__actions {
  display: flex;
  gap: 10px;
}

/* Hero content must sit above the full-cover teal #hero:before overlay
   (the legacy hero-bg.jpg isn't shipped; the :before IS the teal background). */
#hero .container {
  position: relative;
  z-index: 2;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}
.card--narrow {
  max-width: 440px;
  margin: 48px auto;
}
.card__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-family: "Montserrat", sans-serif;
  color: var(--teal);
}

/* ---------- Tables ---------- */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
}
.table-wrap thead th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 16px;
  background: #fbfbfc;
  border-bottom: 1px solid var(--border);
}
.table-wrap tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}
.table-wrap tbody tr:hover {
  background: var(--accent-soft);
}

.empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 18px;
}
.field > label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field__hint {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea {
  min-height: 90px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.checkbox input {
  width: auto;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}
@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.field-inline .field {
  flex: 1 1 160px;
}

/* Right-aligned inline Edit/Delete actions in table rows. */
.row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}
.row-actions form {
  margin: 0;
}
.inline-form {
  display: inline;
  margin: 0;
}

/* Visually hidden but available to assistive tech. */
.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;
}

/* ---------- Buttons ----------
   Primary actions are teal (matches the header); the brand yellow is reserved
   for links/highlights. Reset the underline the theme applies to <a>. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.12s ease;
}
.btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  text-decoration: none;
}
.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  background: #f1f3f5;
  color: var(--text);
}
.btn--danger {
  background: var(--surface);
  color: var(--danger);
  border-color: #f0c5c5;
}
.btn--danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn--sm {
  padding: 7px 14px;
  font-size: 0.9rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Section title ---------- */
.section-title {
  margin: 32px 0 12px;
  font-size: 1.25rem;
  font-family: "Montserrat", sans-serif;
  color: var(--teal);
}

/* ---------- Schedule form bits ---------- */
.type-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.type-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  background: var(--surface);
}
.type-radio input {
  width: auto;
  margin: 0;
}
.type-block {
  margin-bottom: 8px;
}
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
select[multiple] {
  padding: 6px;
}

.preview {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.preview__list {
  margin: 8px 0 0;
  padding-left: 18px;
}
.preview__list li {
  margin: 2px 0;
}

.exceptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px 16px;
  margin: 12px 0 20px;
}

/* ---------- Schedules list: view toggle + copy icon + search ---------- */
.view-toggle {
  display: inline-flex;
  gap: 6px;
}
.btn--icon {
  padding: 8px 12px;
}
.btn--icon i {
  font-size: 1rem;
  line-height: 1;
}
/* The active view's toggle reads as the current (disabled) selection. */
.btn--icon.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  pointer-events: none;
}

/* Inline copy-to-duplicate icon in the Schedule column. */
.copy-form {
  display: inline;
  margin: 0;
}
.copy-schedule {
  background: none;
  border: 0;
  padding: 0 0 0 8px;
  cursor: pointer;
  color: var(--teal);
  vertical-align: middle;
}
.copy-schedule:hover {
  color: var(--accent-dark);
}
.copy-schedule i {
  font-size: 1.05rem;
}

/* Name search box above the roster table. */
#scheduleSearch {
  max-width: 420px;
}

/* ---------- FullCalendar (CDN) light touches ---------- */
#calendar {
  font-size: 0.92rem;
}
.fc .fc-button-primary {
  background: var(--teal);
  border-color: var(--teal);
}
.fc .fc-button-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.fc-event {
  cursor: pointer;
}

/* ---------- Marketing / home helpers ----------
   The teal hero (#hero, .btn-get-started, .hero-waves) and the Success Stories
   section (.about) are styled by the legacy theme css (/assets/css/style.css).
   These are just small tweaks so the ported home content sits well on the
   themed page. */
#success .description {
  line-height: 1.6;
  font-size: 1rem;
}
/* Keep the legacy fixed-size tutorial embed from overflowing on small screens. */
#main iframe {
  max-width: 100%;
}

.prose {
  max-width: 70ch;
}
.prose p {
  margin: 0 0 1em;
}

/* ---------- Read-only inputs ---------- */
input[readonly] {
  background: #f6f7f9;
  color: var(--muted);
  cursor: default;
}

/* ---------- Key/value rows (read-only detail panels) ---------- */
.kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.kv:last-of-type {
  border-bottom: none;
}
.kv__key {
  font-weight: 600;
  font-size: 0.9rem;
}
.kv__val {
  color: var(--muted);
}

/* ---------- Status badges ---------- */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}
.badge--on {
  color: var(--success);
  background: var(--success-soft);
}
.badge--off {
  color: var(--muted);
  background: #f6f7f9;
}

/* ---------- Billing: plan grid ----------
   Echoes the legacy `.pricing .box` look (centered cards, a big yellow price,
   yellow check-marked features) but built on the app card primitive so it sits
   natively in the teal/yellow theme. The most-popular plan gets a yellow accent
   ribbon; the account's current plan is outlined in teal. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.card--plan {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.card--plan .card__title {
  margin-bottom: 4px;
}
.card--plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.card--plan.is-current {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}
.plan__ribbon {
  position: absolute;
  top: 12px;
  right: -34px;
  width: 130px;
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Montserrat", sans-serif;
  padding: 3px 0;
  text-align: center;
}
.plan__price {
  margin: 8px 0 4px;
  font-family: "Poppins", sans-serif;
  line-height: 1;
}
.plan__price sup {
  font-size: 1.1rem;
  top: -0.9rem;
  color: var(--accent);
  font-weight: 600;
}
.plan__price strong {
  font-size: 2.6rem;
  color: var(--accent);
  font-weight: 600;
}
.plan__price .muted {
  font-size: 0.9rem;
  font-weight: 300;
}
.plan__annual {
  margin: -8px 0 12px;
  font-size: 0.85rem;
}
.plan__blurb {
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  font-size: 0.92rem;
}
.plan__features li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.plan__features li:last-child {
  border-bottom: 0;
}
.plan__features i {
  color: var(--accent);
  font-size: 1rem;
  vertical-align: -1px;
}
/* Push the CTA / current badge to the bottom so cards with differing feature
   counts keep their actions aligned. */
.card--plan form,
.plan__ctas,
.plan__current {
  margin-top: auto;
}
.plan__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan__current {
  align-self: center;
}

/* ---------- Login page: stacked sign-in methods ---------- */
/* "— or —" separator between the primary magic-link form and the alternate
   methods stacked below it (password now; passkey/SMS in later phases). */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--border);
}
/* Collapsible alternate-method block (<details>): the summary reads like a
   quiet link so the magic-link form stays visually primary. */
.login-alt > summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
  list-style-position: inside;
}
.login-alt[open] > summary {
  margin-bottom: 14px;
}

/* ---------- Passkeys (login button + security-page list) ---------- */
/* The security page's registered-passkey rows: name/badge/dates on the left,
   the scoped Remove form on the right. Plain list — no JS required to render
   or delete; only the ADD ceremony needs webauthn-client.js. */
.passkey-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.passkey-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.passkey-item:last-child {
  border-bottom: none;
}
.passkey-item p {
  margin: 2px 0 0;
}

/* ---------- SEO Phase-0 element demotions (seo-plan M4) ----------
   The header wordmark was an <h1> on every page and the hero value-prop was an
   <h2>; both are now non-heading elements so each page has exactly ONE h1.
   These rules mirror the theme's #header .logo h1 / #hero h2 styles
   (assets/css/style.css:156-167, 440-450) for the replacement elements. */
#header .logo .logo-wordmark {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}
#header .logo .logo-wordmark a,
#header .logo .logo-wordmark a:hover {
  color: #fff;
  text-decoration: none;
}
/* Hero subtitle <p> replacing the old #hero h2 (+ the empty h3's 40px gap,
   through which the h2's 20px margin previously collapsed). */
#hero .hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 24px;
}
@media (max-width: 991px) {
  #hero .hero-tagline {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/* ---------- Pricing FAQ (visible content backing the FAQPage JSON-LD) ---------- */
.faq__q {
  margin: 18px 0 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--teal);
}
.faq__a {
  margin: 0 0 8px;
}

/* ---------- Volunteer-usage meter (contacts page) ----------
   "N of M volunteers" progress bar + upgrade CTA (growth-plan §7.2). Three
   states via a modifier: ok (neutral teal), warn (amber, >=90%), full (red, at
   cap). Rendered only for capped accounts — grandfathered/legacy accounts show
   no meter at all. */
.vmeter {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.vmeter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.vmeter__count {
  font-size: 0.95rem;
  color: var(--text);
}
.vmeter__count strong {
  font-size: 1.05rem;
}
.vmeter__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}
.vmeter__track {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: #eef1f4;
  overflow: hidden;
}
.vmeter__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.vmeter__note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
/* Warning (>=90%): amber accents. */
.vmeter--warn {
  border-color: #f0d9a8;
  background: var(--warn-soft);
}
.vmeter--warn .vmeter__fill {
  background: var(--accent-dark);
}
.vmeter--warn .vmeter__note {
  color: var(--warn);
}
/* Full (at/over cap): red accents + emphasized note. */
.vmeter--full {
  border-color: #f4c7c7;
  background: var(--danger-soft);
}
.vmeter--full .vmeter__fill {
  background: var(--danger);
}
.vmeter--full .vmeter__note {
  color: var(--danger);
  font-weight: 600;
}
