/* ==========================================================================
   Harbour — Moss edition. The same portal theme for Bootstrap 5.3 in the green
   design language: moss greens on cream (light) and deep space (dark), glass
   surfaces, pill controls, grain, Space Grotesk headings with Instrument Serif
   accents and JetBrains Mono captions. Every class name is the one html/ uses,
   so the two templates are interchangeable stylesheet for stylesheet.
   Layer 1 of 2. Loaded AFTER bootstrap.min.css on every page.
   Admin-only styles live in admin.css (scoped to .adm-shell).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — Bootstrap variable overrides + the moss palette
   -------------------------------------------------------------------------- */
:root {
  /* brand — moss-600 on cream; the emphasis shade is moss-700 */
  --bs-primary: #3f6b54;
  --bs-primary-rgb: 63, 107, 84;
  --bs-primary-text-emphasis: #24453a;
  --bs-primary-bg-subtle: #e4ede6;
  --bs-primary-border-subtle: #c4d6ca;
  --bs-link-color: #3f6b54;
  --bs-link-color-rgb: 63, 107, 84;
  --bs-link-hover-color: #24453a;
  --bs-link-hover-color-rgb: 36, 69, 58;

  /* surfaces + ink — warm cream paper, near-black green ink */
  --bs-body-bg: #f5f0e8;
  --bs-body-color: #3f4844;
  --bs-body-color-rgb: 63, 72, 68;
  --bs-emphasis-color: #0f1713;
  --bs-secondary-color: rgba(63, 72, 68, .72);
  --bs-tertiary-color: rgba(63, 72, 68, .5);
  --bs-tertiary-bg: #ebe4d5;
  --bs-border-color: #d8dccf;
  --bs-border-color-translucent: rgba(63, 107, 84, .18);
  --bs-heading-color: #0f1713;

  /* typography — four voices: body, display, mono captions, serif accents */
  --bs-body-font-family: "Inter", system-ui, -apple-system, sans-serif;
  --bs-body-font-size: .875rem;
  --bs-body-line-height: 1.6;
  --hb-display-latin: "Space Grotesk", var(--bs-body-font-family); /* the Latin display stack; rtl.css puts the Arabic face in front of it */
  --hb-display: var(--hb-display-latin);
  --hb-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hb-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* radii — Harbour's: small corners only, pills deliberately flattened (the user, 2026-10-16) */
  --bs-border-radius-sm: .1875rem;
  --bs-border-radius: .3125rem;
  --bs-border-radius-lg: .4375rem;
  --bs-border-radius-xl: .6875rem;
  --bs-border-radius-2xl: .6875rem;
  --bs-border-radius-pill: .3125rem;

  /* shadows — warm and deep, never grey */
  --bs-box-shadow-sm: 0 2px 8px rgba(15, 23, 19, .06);
  --bs-box-shadow: 0 10px 28px rgba(15, 23, 19, .1);
  --bs-box-shadow-lg: 0 24px 60px -12px rgba(15, 23, 19, .22);

  /* the six tints — moss, leaf, amber, slate, sand, clay (names kept from
     Harbour so every t-/badge-/w- class still resolves) */
  --hb-lilac: #dfe9e1; --hb-lilac-ink: #3f6b54;   /* moss  */
  --hb-mint: #d7eddc;  --hb-mint-ink: #2f7a52;    /* leaf  */
  --hb-peach: #f6e2cc; --hb-peach-ink: #a86930;   /* amber */
  --hb-sky: #dde3ea;   --hb-sky-ink: #3f5468;     /* slate */
  --hb-lemon: #f0e6c6; --hb-lemon-ink: #85702a;   /* sand  */
  --hb-rose: #f3dcd4;  --hb-rose-ink: #a23325;    /* clay  */

  --hb-moss-500: #6fa37a;
  --hb-moss-600: #3f6b54;
  --hb-moss-700: #24453a;
  --hb-moss-900: #0f1713;
  --hb-amber: #cd8a4b;
  /* the scroll progress bar (effects.css, mirrored in rtl.css) */
  --hb-progress-1: #3f6b54; --hb-progress-2: #6fa37a; --hb-progress-3: #cd8a4b;

  --hb-ink: #0f1713;
  --hb-muted: #5f6a64;
  --hb-faint: #8b958f;
  --hb-line-soft: #e8e2d4;
  --hb-ease: cubic-bezier(.2, .7, .2, 1);

  /* themeable surfaces — every panel background goes through one of these,
     which is what makes the dark block at the bottom of this file possible */
  --hb-surface: #fffcf5;        /* cards, tables, sidebar   */
  --hb-surface-2: #faf6ec;      /* table heads, card footer */
  --hb-glass: rgba(255, 252, 245, .65);        /* sticky header      */
  --hb-glass-strong: rgba(255, 252, 245, .92); /* floating elements  */
  --hb-glass-soft: rgba(15, 23, 19, .03);      /* chips over the hero*/
  --hb-glass-line: rgba(63, 107, 84, .22);
  /* A card's and a table card's border; the dark theme's is stronger, as the glass line all but vanished there (the user, 2026-11-07). */
  --hb-card-line: var(--hb-glass-line);
  --hb-menu-bg: #fffcf5;
  --hb-console-bg: rgba(255, 252, 245, .7);
  --hb-input-bg: rgba(255, 253, 249, .92);
  --hb-hero-top: #efe8da;       /* top of the hero / page-head wash */

  /* the ambient glows behind heroes, the footer and the CTA panel */
  --hb-glow: radial-gradient(80% 50% at 90% 20%, rgba(111, 163, 122, .12) 0, transparent 55%),
             radial-gradient(60% 40% at 10% 90%, rgba(63, 107, 84, .1) 0, transparent 60%);
  --hb-liquid: radial-gradient(120% 80% at 75% 40%, rgba(111, 163, 122, .16) 0, transparent 55%),
               radial-gradient(80% 60% at 30% 85%, rgba(63, 107, 84, .1) 0, transparent 60%),
               radial-gradient(55% 55% at 82% 78%, rgba(205, 184, 145, .35) 0, #f5f0e8 70%),
               linear-gradient(180deg, #f5f0e8 0, #ebe4d5 100%);
  --hb-grain-opacity: .12;
  --hb-grain-blend: multiply;

  /* deliberately inverted surfaces (announce bar, CTA panel, toasts) —
     these stay dark in light mode and go darker still in dark mode */
  --hb-invert: #0f1713;
  --hb-on-invert: #f5f0e8;
}

/* --------------------------------------------------------------------------
   1b. Dark theme — deep space. Driven by data-bs-theme="dark" on <html>.
   The inline script in each page's <head> sets it before first paint.
   -------------------------------------------------------------------------- */
[data-bs-theme="dark"] {
  /* brand lifts to moss-500 so it keeps contrast on the dark ground */
  --bs-primary: #6fa37a;
  --bs-primary-rgb: 111, 163, 122;
  --bs-primary-text-emphasis: #a1c4ab;
  --bs-primary-bg-subtle: #16281f;
  --bs-primary-border-subtle: #2a4a39;
  --bs-link-color: #86b696;
  --bs-link-color-rgb: 134, 182, 150;
  --bs-link-hover-color: #b5d2be;
  --bs-link-hover-color-rgb: 181, 210, 190;

  --bs-body-bg: #0a0a1a;
  --bs-body-color: #b3bcc0;
  --bs-body-color-rgb: 179, 188, 192;
  --bs-emphasis-color: #f1f5f9;
  --bs-secondary-color: rgba(179, 188, 192, .72);
  --bs-tertiary-color: rgba(179, 188, 192, .5);
  --bs-tertiary-bg: #121a17;
  --bs-border-color: #1f2b28;
  --bs-border-color-translucent: rgba(111, 163, 122, .15);
  --bs-heading-color: #f1f5f9;

  --bs-box-shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --bs-box-shadow: 0 10px 28px rgba(0, 0, 0, .42);
  --bs-box-shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);

  /* tints become deep washes; the -ink pair becomes the light foreground */
  --hb-lilac: #16281f;  --hb-lilac-ink: #86b696;
  --hb-mint: #112a1d;   --hb-mint-ink: #7fd3a0;
  --hb-peach: #33210f;  --hb-peach-ink: #e0a364;
  --hb-sky: #161c2b;    --hb-sky-ink: #93a8c4;
  --hb-lemon: #2d2814;  --hb-lemon-ink: #d9c27a;
  --hb-rose: #311713;   --hb-rose-ink: #e8907f;

  --hb-ink: #f1f5f9;
  --hb-muted: #8e9a94;
  --hb-faint: #6b7670;
  --hb-line-soft: #182320;

  --hb-surface: #121a16;
  --hb-surface-2: #15201a;
  --hb-glass: rgba(15, 23, 19, .55);
  --hb-glass-strong: rgba(15, 23, 19, .92);
  --hb-glass-soft: rgba(255, 255, 255, .04);
  --hb-glass-line: rgba(111, 163, 122, .15);
  --hb-card-line: rgba(111, 163, 122, .32);
  --hb-menu-bg: #15201a;
  --hb-console-bg: rgba(15, 23, 19, .6);
  --hb-input-bg: rgba(15, 23, 19, .55);
  --hb-hero-top: #0a0f0c;

  --hb-glow: radial-gradient(80% 50% at 90% 20%, rgba(111, 163, 122, .08) 0, transparent 55%),
             radial-gradient(60% 40% at 10% 90%, rgba(63, 107, 84, .1) 0, transparent 60%);
  --hb-liquid: radial-gradient(120% 80% at 75% 40%, rgba(155, 207, 160, .14) 0, transparent 55%),
               radial-gradient(80% 60% at 30% 85%, rgba(63, 107, 84, .25) 0, transparent 60%),
               radial-gradient(55% 55% at 82% 78%, rgba(16, 31, 24, .9) 0, #0a0a1a 70%),
               linear-gradient(180deg, #0a0f0c 0, #0a0a1a 100%);
  --hb-grain-opacity: .4;
  --hb-grain-blend: overlay;

  --hb-invert: #15201a;
  --hb-on-invert: #f1f5f9;

  color-scheme: dark;
}

/* dark-only component corrections */
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-disabled-color: #fff; --bs-btn-bg: #3f6b54; --bs-btn-border-color: #3f6b54; --bs-btn-hover-bg: #6fa37a; --bs-btn-hover-border-color: #6fa37a; --bs-btn-active-bg: #86b696; --bs-btn-disabled-bg: #3f6b54; --bs-btn-disabled-border-color: #3f6b54; }
[data-bs-theme="dark"] .btn-dark { --bs-btn-bg: #24453a; --bs-btn-border-color: #24453a; --bs-btn-hover-bg: #2f5642; --bs-btn-hover-border-color: #2f5642; }
[data-bs-theme="dark"] .btn-outline-line { --bs-btn-color: rgba(241, 245, 249, .85); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(36, 69, 58, .4); --bs-btn-hover-border-color: #6fa37a; --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(36, 69, 58, .55); --bs-btn-active-border-color: #6fa37a; }
[data-bs-theme="dark"] .btn-soft { --bs-btn-color: var(--bs-primary-text-emphasis); --bs-btn-bg: var(--bs-primary-bg-subtle); --bs-btn-hover-color: #d9f5e3; --bs-btn-hover-bg: #1d3528; --bs-btn-active-bg: #244131; }
[data-bs-theme="dark"] .btn-light { --bs-btn-bg: #f1f5f9; --bs-btn-border-color: #f1f5f9; --bs-btn-color: #0f1713; --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; }
[data-bs-theme="dark"] .btn-icon:hover { border-color: var(--hb-moss-500); }
[data-bs-theme="dark"] .announce { background: #0a0f0c; color: rgba(241, 245, 249, .7); border-bottom: 1px solid var(--hb-glass-line); }
[data-bs-theme="dark"] .alert-primary { --bs-alert-color: #a1c4ab; --bs-alert-bg: #13231b; --bs-alert-border-color: #244134; }
[data-bs-theme="dark"] .alert-success { --bs-alert-color: #7fd3a0; --bs-alert-bg: #10261b; --bs-alert-border-color: #1f4631; }
[data-bs-theme="dark"] .alert-warning { --bs-alert-color: #e0a364; --bs-alert-bg: #2a1d10; --bs-alert-border-color: #4a331b; }
[data-bs-theme="dark"] .alert-danger { --bs-alert-color: #e8907f; --bs-alert-bg: #2c1612; --bs-alert-border-color: #4d2821; }
[data-bs-theme="dark"] .toast { --bs-toast-bg: #15201a; }
[data-bs-theme="dark"] .toast .btn-close { filter: invert(1) grayscale(1); }
[data-bs-theme="dark"] .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: var(--hb-input-bg); }
[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus { background-color: var(--hb-input-bg); }
[data-bs-theme="dark"] .form-check-input { background-color: var(--hb-input-bg); border-color: rgba(111, 163, 122, .35); }
/* Cms departure: .form-select only. BootstrapBlazor's <Select> is a .select wrapper around the field, so naming
   .select here painted the arrow across that wrapper, where it tiled under the translucent dark field. */
[data-bs-theme="dark"] .form-select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fa37a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-bs-theme="dark"] .form-control option, [data-bs-theme="dark"] .form-select option { background: #131e1a; color: #f5f0e8; }
/* photos are lit for a light page — take a little brightness out of them */
[data-bs-theme="dark"] .media-frame img, [data-bs-theme="dark"] .cat-tile img, [data-bs-theme="dark"] .hero-shot img { filter: brightness(.86) saturate(.95); }
[data-bs-theme="dark"] .blob { opacity: .5; }
[data-bs-theme="dark"] .brand-mark { background: linear-gradient(150deg, #3f6b54, #6fa37a); }
[data-bs-theme="dark"] .site-head .navbar { box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
[data-bs-theme="dark"] .dropdown-menu, [data-bs-theme="dark"] .modal-content, [data-bs-theme="dark"] .offcanvas { border: 1px solid rgba(111, 163, 122, .3); }
[data-bs-theme="dark"] .cta-panel { background: linear-gradient(145deg, rgba(36, 69, 58, .45), rgba(15, 23, 19, .9)); border: 1px solid rgba(111, 163, 122, .3); }
[data-bs-theme="dark"] .cat-tile .ico-tile { background: rgba(15, 23, 19, .85); color: #f1f5f9; }
[data-bs-theme="dark"] .stat-cell strong, [data-bs-theme="dark"] .plan-price { background-image: linear-gradient(135deg, #9bcfa0, #cd8a4b); }

/* --------------------------------------------------------------------------
   2. Base + typography
   -------------------------------------------------------------------------- */
html { scrollbar-width: thin; scrollbar-color: var(--hb-moss-600) var(--bs-tertiary-bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bs-tertiary-bg); }
::-webkit-scrollbar-thumb { background: var(--hb-moss-600); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--hb-moss-500); }
::selection { background: rgba(111, 163, 122, .35); color: var(--hb-ink); }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
/* film grain over the whole page — the signature of the green theme; it is a
   fixed, click-through layer so nothing underneath changes. On ::after, never ::before:
   BootstrapBlazor reads the screen size from body::before's content, and a blank one puts every table in card mode. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1090; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: var(--hb-grain-opacity); mix-blend-mode: var(--hb-grain-blend);
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.navbar-brand, .btn, .nav-link, .card-title { font-family: var(--hb-display); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.display-5 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.display-6 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
/* an <em> inside any heading is the serif accent: italic, regular weight, moss */
h1 em, h2 em, h3 em, .display-5 em, .display-6 em, .serif { font-family: var(--hb-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--bs-primary); }
.text-ink { color: var(--hb-ink) !important; }
.text-primary { color: var(--bs-primary-text-emphasis) !important; }
.text-soft { color: var(--hb-muted) !important; }
.fs-7 { font-size: .8125rem !important; }
.fs-8 { font-size: .75rem !important; }
.lh-tight { line-height: 1.25 !important; }
.mono { font-family: var(--hb-mono); }
a { transition: color .18s var(--hb-ease); }
:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 2px; border-radius: 3px; }

/* section rhythm */
.section { padding: 2rem 0; }
.section-sm { padding: 3.75rem 0; }
/* the eyebrow is the green theme's "§ 02 · caption": mono, tracked, with a serif section mark */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--hb-muted); font-family: var(--hb-mono); font-size: .625rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: "§"; font-family: var(--hb-serif); font-style: italic; font-size: 1rem; letter-spacing: 0; line-height: 1; color: var(--bs-primary); }
.eyebrow.eyebrow-plain::before { display: none; }
.section-head { max-width: 42rem; }

/* --------------------------------------------------------------------------
   3. Buttons + badges + icon tiles
   -------------------------------------------------------------------------- */
.btn { --bs-btn-font-size: .8125rem; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .5625rem; --bs-btn-border-radius: var(--bs-border-radius-pill); transition: all .18s var(--hb-ease); }
.btn-lg { --bs-btn-font-size: .875rem; --bs-btn-padding-x: 1.625rem; --bs-btn-padding-y: .8125rem; --bs-btn-border-radius: var(--bs-border-radius-pill); }
.btn-sm { --bs-btn-font-size: .75rem; --bs-btn-padding-x: .875rem; --bs-btn-padding-y: .4rem; --bs-btn-border-radius: var(--bs-border-radius-pill); }
/* Cms departure from html2/theme.css: an extra-small size. BootstrapBlazor ships .btn-xs, but .btn above overrides it. */
.btn-xs { --bs-btn-font-size: .6875rem; --bs-btn-padding-x: .625rem; --bs-btn-padding-y: .1875rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { --bs-btn-color: #fff; --bs-btn-bg: #3f6b54; --bs-btn-border-color: #3f6b54; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #6fa37a; --bs-btn-hover-border-color: #6fa37a; --bs-btn-active-color: #fff; --bs-btn-active-bg: #2f5642; --bs-btn-active-border-color: #2f5642; --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #3f6b54; --bs-btn-disabled-border-color: #3f6b54; box-shadow: 0 6px 18px rgba(63, 107, 84, .22); }
.btn-dark { --bs-btn-bg: #0f1713; --bs-btn-border-color: #0f1713; --bs-btn-hover-bg: #24453a; --bs-btn-hover-border-color: #24453a; }
/* the glass pill — the green theme's secondary button */
.btn-outline-line { --bs-btn-color: var(--hb-ink); --bs-btn-border-color: var(--hb-glass-line); --bs-btn-bg: var(--hb-glass); --bs-btn-hover-color: var(--bs-primary-text-emphasis); --bs-btn-hover-bg: rgba(63, 107, 84, .1); --bs-btn-hover-border-color: var(--hb-moss-500); --bs-btn-active-color: var(--bs-primary-text-emphasis); --bs-btn-active-bg: rgba(63, 107, 84, .16); --bs-btn-active-border-color: var(--hb-moss-500); border-width: 1px; border-style: solid; backdrop-filter: blur(14px); }
.btn-soft { --bs-btn-color: #24453a; --bs-btn-bg: #e4ede6; --bs-btn-border-color: transparent; --bs-btn-hover-color: #24453a; --bs-btn-hover-bg: #d4e2d8; --bs-btn-hover-border-color: transparent; --bs-btn-active-bg: #c4d6ca; }
.btn-ghost { --bs-btn-color: var(--bs-body-color); --bs-btn-bg: transparent; --bs-btn-border-color: transparent; --bs-btn-hover-color: var(--hb-ink); --bs-btn-hover-bg: rgba(63, 107, 84, .08); --bs-btn-hover-border-color: transparent; --bs-btn-active-bg: rgba(63, 107, 84, .12); --bs-btn-active-border-color: transparent; }
.btn-light { --bs-btn-bg: #f5f0e8; --bs-btn-border-color: #f5f0e8; --bs-btn-color: #0f1713; --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: #0f1713; }
/* round glass icon button, like the green nav's search and theme toggles */
.btn-icon { display: inline-grid; place-items: center; width: 2.375rem; height: 2.375rem; padding: 0; border: 1px solid var(--hb-glass-line); background: var(--hb-glass); color: var(--bs-body-color); border-radius: var(--bs-border-radius); backdrop-filter: blur(14px); transition: all .18s var(--hb-ease); }
.btn-icon:hover { border-color: var(--hb-moss-500); background: rgba(63, 107, 84, .12); color: var(--bs-primary-text-emphasis); }
.btn-icon.is-on { border-color: transparent; background: var(--hb-rose); color: var(--hb-rose-ink); }

.badge { font-family: var(--hb-mono); font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: .3125rem .5625rem; border-radius: var(--bs-border-radius-pill); }
.badge-lilac { background: var(--hb-lilac); color: var(--hb-lilac-ink); }
.badge-mint { background: var(--hb-mint); color: var(--hb-mint-ink); }
.badge-peach { background: var(--hb-peach); color: var(--hb-peach-ink); }
.badge-sky { background: var(--hb-sky); color: var(--hb-sky-ink); }
.badge-lemon { background: var(--hb-lemon); color: var(--hb-lemon-ink); }
.badge-rose { background: var(--hb-rose); color: var(--hb-rose-ink); }
.badge-quiet { background: var(--bs-tertiary-bg); color: var(--bs-body-color); }

/* tinted icon tile — the repeating visual device across every vertical */
.ico-tile { display: inline-grid; place-items: center; width: 2.625rem; height: 2.625rem; flex: none; border-radius: var(--bs-border-radius); background: var(--bs-primary-bg-subtle); color: var(--bs-primary-text-emphasis); font-size: 1.125rem; }
.ico-tile-sm { width: 2.125rem; height: 2.125rem; font-size: 1.0625rem; border-radius: var(--bs-border-radius-sm); }
.ico-tile-lg { width: 3.25rem; height: 3.25rem; font-size: 1.5rem; }
/* the icon font carries its own line-height and a -.125em baseline nudge;
   both are cancelled here so glyphs centre exactly inside every tile */
.ico-tile > .bi, .btn-icon > .bi, .step-no > .bi, .social-btn > .bi { display: block; line-height: 1; }
.ico-tile > .bi::before, .btn-icon > .bi::before, .social-btn > .bi::before { display: block; vertical-align: 0; }
.t-lilac { background: var(--hb-lilac); color: var(--hb-lilac-ink); }
.t-mint { background: var(--hb-mint); color: var(--hb-mint-ink); }
.t-peach { background: var(--hb-peach); color: var(--hb-peach-ink); }
.t-sky { background: var(--hb-sky); color: var(--hb-sky-ink); }
.t-lemon { background: var(--hb-lemon); color: var(--hb-lemon-ink); }
.t-rose { background: var(--hb-rose); color: var(--hb-rose-ink); }

/* --------------------------------------------------------------------------
   4. Forms — the green theme's tool inputs
   -------------------------------------------------------------------------- */
.form-label { font-family: var(--hb-display); font-size: .8125rem; font-weight: 600; color: var(--hb-ink); margin-bottom: .375rem; }
.form-control, .form-select { font-size: .875rem; padding: .5625rem .8125rem; border-color: rgba(63, 107, 84, .3); border-radius: var(--bs-border-radius); background-color: var(--hb-input-bg); color: var(--hb-ink); transition: border-color .14s var(--hb-ease), box-shadow .14s var(--hb-ease), background .14s var(--hb-ease); }
.form-control:hover, .form-select:hover { border-color: rgba(63, 107, 84, .5); }
.form-control:focus, .form-select:focus { border-color: var(--bs-primary); background-color: var(--hb-input-bg); color: var(--hb-ink); box-shadow: none; }
.form-control::placeholder { color: var(--hb-faint); }
.form-control-lg, .form-select-lg { font-size: .9375rem; padding: .75rem 1rem; border-radius: var(--bs-border-radius-lg); }
.form-control-sm, .form-select-sm { border-radius: var(--bs-border-radius-sm); }
.form-select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6b54' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.form-check-input { border-color: rgba(63, 107, 84, .4); background-color: var(--hb-input-bg); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.form-check-input:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 3px rgba(111, 163, 122, .22); }
.form-check-label { font-size: .8125rem; }
.form-switch .form-check-input { width: 2.375rem; height: 1.3125rem; }
.input-group-text { background: var(--bs-tertiary-bg); border-color: rgba(63, 107, 84, .3); color: var(--hb-muted); font-size: .8125rem; }
.input-group > .form-control:first-child, .input-group > .input-group-text:first-child { border-top-left-radius: var(--bs-border-radius-pill); border-bottom-left-radius: var(--bs-border-radius-pill); }
.input-group > .btn:last-child, .input-group > .form-control:last-child { border-top-right-radius: var(--bs-border-radius-pill); border-bottom-right-radius: var(--bs-border-radius-pill); }
.form-text { font-size: .75rem; font-style: italic; color: var(--hb-muted); }
.form-range { accent-color: var(--bs-primary); }
.form-range::-webkit-slider-thumb { background: var(--bs-primary); }
.form-range::-moz-range-thumb { background: var(--bs-primary); }
.form-range::-webkit-slider-runnable-track, .form-range::-moz-range-track { background: rgba(63, 107, 84, .2); }

/* --------------------------------------------------------------------------
   5. Header — the floating glass pill nav — mega menu, offcanvas nav
   -------------------------------------------------------------------------- */
.announce { background: var(--hb-moss-900); color: rgba(245, 240, 232, .75); font-family: var(--hb-mono); font-size: .6875rem; letter-spacing: .04em; padding: .5625rem 0; }
.announce a { color: #d9f5e3; font-weight: 600; text-decoration: none; }
.announce a:hover { color: #fff; }

/* the header is transparent; the navbar inside it is the glass pill that floats
   over the hero and stays with you as you scroll */
/* The floating header's height (its .75rem padding twice and the 4.25rem bar): the hero and the page head slide this far
   up under it, so their background fills the header's band and no stripe of the page background shows above them. */
:root { --hb-head-h: 5.75rem; }
.site-head { position: sticky; top: 0; z-index: 1030; padding: .75rem 0; background: transparent; border-bottom: 0; }
.site-head .navbar { padding: .375rem .5rem .375rem .875rem; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius-xl); background: var(--hb-glass); box-shadow: 0 10px 32px rgba(15, 23, 19, .08); backdrop-filter: blur(18px) saturate(140%); }
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.03em; color: var(--hb-ink); }
.brand-mark { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: var(--bs-border-radius); background: linear-gradient(150deg, #3f6b54, #6fa37a); color: #fff; font-size: .875rem; }
.site-head .nav-link { display: flex; align-items: center; gap: .3125rem; padding: .4375rem .875rem; border-radius: var(--bs-border-radius-pill); color: var(--hb-muted); font-size: .8125rem; font-weight: 500; transition: background .16s var(--hb-ease), color .16s var(--hb-ease); }
.site-head .nav-link:hover, .site-head .nav-link.show { background: rgba(63, 107, 84, .1); color: var(--hb-ink); }
.site-head .nav-link.active { background: linear-gradient(135deg, rgba(111, 163, 122, .35), rgba(63, 107, 84, .35)); border: 1px solid rgba(111, 163, 122, .35); color: var(--hb-ink); padding-top: .375rem; padding-bottom: .375rem; }
.site-head .nav-link .bi-chevron-down { font-size: .625rem; opacity: .6; transition: transform .25s var(--hb-ease); }
.site-head .nav-link.show .bi-chevron-down { transform: rotate(180deg); }

/* mega menu — the green theme's nav panel card */
.dropdown-menu { --bs-dropdown-bg: var(--hb-menu-bg); --bs-dropdown-border-color: var(--hb-glass-line); --bs-dropdown-border-radius: var(--bs-border-radius-lg); --bs-dropdown-link-color: var(--bs-body-color); --bs-dropdown-link-hover-bg: rgba(63, 107, 84, .1); --bs-dropdown-link-hover-color: var(--hb-ink); --bs-dropdown-link-active-bg: var(--bs-primary-bg-subtle); --bs-dropdown-link-active-color: var(--bs-primary-text-emphasis); --bs-dropdown-font-size: .8125rem; --bs-dropdown-item-border-radius: var(--bs-border-radius); box-shadow: 0 24px 60px rgba(15, 23, 19, .18); padding: .5rem; }
.mega { width: min(56rem, calc(100vw - 2rem)); padding: 1.125rem; border-radius: var(--bs-border-radius-xl); box-shadow: 0 24px 60px rgba(15, 23, 19, .22); background: var(--hb-menu-bg); backdrop-filter: blur(16px); }
.mega-wide { width: min(64rem, calc(100vw - 2rem)); }
.mega-title { padding: .625rem .75rem .375rem; color: var(--bs-primary); font-family: var(--hb-mono); font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mega-link { display: flex; align-items: flex-start; gap: .6875rem; padding: .5625rem .75rem; border-radius: var(--bs-border-radius); text-decoration: none; transition: background .16s var(--hb-ease); }
.mega-link:hover { background: rgba(63, 107, 84, .1); }
.mega-link strong { display: block; color: var(--hb-ink); font-family: var(--hb-display); font-size: .8438rem; font-weight: 600; }
.mega-link span:not(.ico-tile) { display: block; color: var(--hb-muted); font-size: .7188rem; line-height: 1.45; }
.mega-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; padding: 1.125rem; border-radius: var(--bs-border-radius-lg); }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(111, 163, 122, .15), rgba(15, 23, 19, .85)); }
.dropdown-menu .dropdown-item { display: flex; align-items: center; }
.dropdown-menu .dropdown-item > .bi { width: 1.25rem; flex: none; font-size: 1rem; text-align: center; }
.dropdown-menu .dropdown-item > .bi.me-2 { margin-right: .5rem; }
.dropdown-divider { border-top-color: var(--hb-glass-line); }

.mega-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding: .75rem 1rem; border-radius: var(--bs-border-radius-lg); border-top: 1px solid var(--hb-glass-line); background: transparent; color: var(--hb-muted); font-family: var(--hb-mono); font-size: .6875rem; }

.offcanvas { --bs-offcanvas-width: 21rem; --bs-offcanvas-bg: var(--hb-menu-bg); --bs-offcanvas-border-color: var(--hb-glass-line); }
.offcanvas .accordion-button { font-family: var(--hb-display); font-weight: 600; font-size: .875rem; }

/* --------------------------------------------------------------------------
   6. Hero + search console
   -------------------------------------------------------------------------- */
/* the hero starts above the sticky pill nav so the nav sits inside it, with no seam */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--hb-head-h)); padding: 9.75rem 0 4.5rem; background: var(--hb-liquid); }
/* Only the band does the sliding: it is the page's first thing, and its background has to fill the header's band. A hero
   in a row or a column (Cms's HeroSection without Banded, the only one without an id) is a padded panel inside the page's
   own spacing, so it keeps clear of the nav instead of climbing up behind it (the user, 2026-11-03). */
.hero:not([id]) { margin-top: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--hb-glow); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; pointer-events: none; }
.blob-1 { top: -5.5rem; left: -3.5rem; width: 22rem; height: 22rem; background: rgba(111, 163, 122, .35); }
.blob-2 { top: 2.5rem; right: -5rem; width: 24rem; height: 24rem; background: rgba(205, 138, 75, .22); }
.blob-3 { bottom: -8.5rem; left: 38%; width: 19rem; height: 19rem; background: rgba(63, 107, 84, .3); opacity: .6; }
.hero-title em { font-family: var(--hb-serif); font-style: italic; font-weight: 400; color: var(--bs-primary); }

/* the console is a glass panel with pill tabs */
.console { padding: .625rem; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius-xl); background: var(--hb-console-bg); box-shadow: var(--bs-box-shadow); backdrop-filter: blur(18px); }
.console .nav-pills { --bs-nav-pills-border-radius: var(--bs-border-radius-pill); gap: .125rem; padding: .125rem; }
.console .nav-link { display: flex; align-items: center; gap: .4375rem; padding: .4375rem .9375rem; color: var(--hb-muted); font-family: var(--hb-display); font-size: .7813rem; font-weight: 500; white-space: nowrap; }
.console .nav-link:hover { background: rgba(63, 107, 84, .1); color: var(--hb-ink); }
.console .nav-link.active { background: linear-gradient(135deg, rgba(111, 163, 122, .35), rgba(63, 107, 84, .35)); color: var(--hb-ink); box-shadow: inset 0 0 0 1px rgba(111, 163, 122, .35); }
.console-form { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: .375rem; margin-top: .5rem; padding: .375rem; border-radius: var(--bs-border-radius-lg); border: 1px solid var(--hb-glass-line); background: var(--hb-surface); box-shadow: 0 1px 2px rgba(15, 23, 19, .05); }
.console-cell { display: flex; flex-direction: column; justify-content: center; padding: .4375rem .875rem; border-right: 1px solid var(--hb-line-soft); }
.console-cell:last-of-type { border-right: 0; }
.console-cell label { color: var(--hb-faint); font-family: var(--hb-mono); font-size: .5625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.console-cell .form-control, .console-cell .form-select { height: 1.5rem; padding: 0; border: 0; border-radius: 0; background: none; font-size: .8438rem; font-weight: 500; box-shadow: none; }
.console-cell .form-select { background-position: right .25rem center; }
/* glass chip in mono, like the green theme's small pills */
.chip { display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .75rem; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius-pill); background: var(--hb-glass); color: var(--bs-body-color); font-family: var(--hb-mono); font-size: .6875rem; letter-spacing: .02em; text-decoration: none; backdrop-filter: blur(10px); transition: all .16s var(--hb-ease); }
.chip:hover { border-color: var(--hb-moss-500); background: rgba(63, 107, 84, .1); color: var(--bs-primary-text-emphasis); }

.hero-shot { position: relative; overflow: hidden; border-radius: var(--bs-border-radius-xl); box-shadow: 0 0 0 1px rgba(111, 163, 122, .2), 0 32px 80px -16px rgba(15, 23, 19, .4); aspect-ratio: 4 / 3.4; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
/* colour overlay on photography — a moss wash instead of the pastel one */
.tint-lilac { background: linear-gradient(200deg, rgba(63, 107, 84, .35), rgba(111, 163, 122, .08) 55%, rgba(205, 138, 75, .25)); mix-blend-mode: multiply; }
.tint-dark { background: linear-gradient(180deg, rgba(15, 23, 19, 0) 20%, rgba(15, 23, 19, .78)); }
.tint-top { background: linear-gradient(180deg, rgba(15, 23, 19, .28), transparent 45%); }
.wash { mix-blend-mode: soft-light; opacity: .85; }
.w-lilac { background: var(--hb-lilac); } .w-mint { background: var(--hb-mint); } .w-peach { background: var(--hb-peach); }
.w-sky { background: var(--hb-sky); } .w-lemon { background: var(--hb-lemon); } .w-rose { background: var(--hb-rose); }
.float-card { position: absolute; display: flex; align-items: center; gap: .6875rem; padding: .75rem .9375rem; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius-lg); background: var(--hb-glass-strong); box-shadow: var(--bs-box-shadow); backdrop-filter: blur(12px); }
.avatars { display: flex; }
.avatars img { width: 2rem; height: 2rem; border: 2px solid var(--bs-body-bg); border-radius: 50%; object-fit: cover; }
.avatars img + img { margin-left: -.625rem; }

/* --------------------------------------------------------------------------
   7. Cards — category tiles, listings, features, quotes, plans
   -------------------------------------------------------------------------- */
.card { --bs-card-border-color: var(--hb-card-line); --bs-card-border-radius: var(--bs-border-radius-xl); --bs-card-inner-border-radius: calc(var(--bs-border-radius-xl) - 1px); --bs-card-bg: var(--hb-surface); --bs-card-body-bg: var(--bs-card-bg); /* BootstrapBlazor paints .card-body with --bs-body-bg */ }
/* BootstrapBlazor rounds the body's top only when it is the card's :first-child, so a plan's badge before the body
   left its top corners square while its bottom stayed round (the user, 2026-11-04). The first body of the card takes
   the top corners whatever precedes it; the badge is an absolutely positioned span, not a body of its own. */
.card > .card-body:first-of-type { border-start-start-radius: var(--bs-card-inner-border-radius); border-start-end-radius: var(--bs-card-inner-border-radius); }
.card-hover { transition: transform .24s var(--hb-ease), box-shadow .24s var(--hb-ease), border-color .24s var(--hb-ease); }
.card-hover:hover { border-color: rgba(111, 163, 122, .45); transform: translateY(-3px); box-shadow: var(--bs-box-shadow); }
[data-bs-theme="dark"] .card-hover:hover { border-color: rgba(111, 163, 122, .6); }
.card-title { font-size: 1rem; font-weight: 700; color: var(--hb-ink); letter-spacing: -.01em; }

.cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 13.5rem; padding: 1.125rem; border-radius: var(--bs-border-radius-xl); color: #fff; text-decoration: none; transition: transform .25s var(--hb-ease), box-shadow .25s var(--hb-ease); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hb-ease); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--bs-box-shadow-lg); color: #fff; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .ico-tile { background: rgba(255, 252, 245, .92); color: #0f1713; }

.media-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bs-tertiary-bg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hb-ease); }
.card-hover:hover .media-frame img { transform: scale(1.04); }
.media-tag { position: absolute; bottom: .625rem; right: .625rem; display: inline-flex; align-items: center; gap: .3125rem; padding: .25rem .625rem; border: 1px solid rgba(111, 163, 122, .3); border-radius: var(--bs-border-radius-pill); background: rgba(15, 23, 19, .72); color: #fff; font-family: var(--hb-mono); font-size: .625rem; letter-spacing: .04em; backdrop-filter: blur(6px); }
.listing-price { font-family: var(--hb-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; color: var(--hb-ink); }
.listing-meta { display: flex; flex-wrap: wrap; gap: .875rem; color: var(--bs-body-color); font-size: .7813rem; }
.listing-meta span { display: inline-flex; align-items: center; gap: .375rem; }
.listing-meta .bi { color: var(--hb-moss-500); }
.card-foot { padding: .6875rem 1rem; border-top: 1px solid var(--hb-line-soft); background: var(--hb-surface-2); }
.avatar-sm { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 2.375rem; height: 2.375rem; border-radius: var(--bs-border-radius); object-fit: cover; }

/* horizontal list variant of the same card */
.listing-row .media-frame { height: 100%; min-height: 12.25rem; aspect-ratio: auto; }

/* the stat strip reads as one glass panel; the numbers wear the moss→amber gradient */
.stat-strip { overflow: hidden; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius-xl); background: var(--hb-glass-line); }
.stat-cell { padding: 1.625rem 1.5rem; background: var(--hb-surface); }
.stat-cell strong { display: block; font-family: var(--hb-display); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--hb-ink); background-image: linear-gradient(135deg, #3f6b54, #cd8a4b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: max-content; }

.quote-card .bi-star-fill { color: var(--hb-amber); font-size: .8125rem; }
.quote-card blockquote, .quote-card .card-text { font-family: var(--hb-serif); font-style: italic; font-size: 1.0625rem; line-height: 1.5; color: var(--hb-ink); }

.plan { position: relative; }
.plan.is-featured { border-color: var(--hb-moss-500); box-shadow: 0 0 0 1px rgba(111, 163, 122, .3), var(--bs-box-shadow); }
.plan-flag { position: absolute; top: -.6875rem; left: 1.75rem; }
.plan-price { font-family: var(--hb-display); font-size: 2.5rem; font-weight: 700; letter-spacing: -.035em; color: var(--hb-ink); background-image: linear-gradient(135deg, #3f6b54, #cd8a4b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: max-content; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6875rem; }
.plan-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .8438rem; }
.plan-list .bi-check2 { color: var(--hb-moss-500); }
.plan-list .off { color: var(--hb-faint); }

/* step numbers are serif italics, like the green theme's numbered lists */
.step-no { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--bs-border-radius); border: 1px solid rgba(111, 163, 122, .35); background: var(--bs-primary-bg-subtle); color: var(--bs-primary); font-family: var(--hb-serif); font-style: italic; font-size: 1.125rem; font-weight: 400; }

/* --------------------------------------------------------------------------
   8. Bootstrap component polish — accordion, tabs, table, pagination, toast…
   -------------------------------------------------------------------------- */
.accordion { --bs-accordion-bg: var(--hb-surface); --bs-accordion-border-color: var(--hb-glass-line); --bs-accordion-border-radius: var(--bs-border-radius-xl); --bs-accordion-inner-border-radius: calc(var(--bs-border-radius-xl) - 1px); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--hb-ink); --bs-accordion-btn-padding-y: 1.125rem; --bs-accordion-btn-padding-x: 1.375rem; --bs-accordion-body-padding-x: 1.375rem; --bs-accordion-btn-icon-width: .875rem; --bs-accordion-btn-icon-transform: rotate(45deg); }
.accordion-item + .accordion-item { margin-top: .5rem; }
.accordion-flush .accordion-item + .accordion-item { margin-top: 0; }
.accordion-button { font-family: var(--hb-display); font-size: .9375rem; font-weight: 600; color: var(--hb-ink); }
.accordion-button:not(.collapsed) { box-shadow: none; }
/* the chevron becomes the green FAQ's "+" that turns into an "×" */
.accordion-button::after { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fa37a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fa37a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.accordion-body { font-size: .8438rem; max-width: 72ch; }

.nav-tabs { --bs-nav-tabs-border-color: var(--hb-glass-line); --bs-nav-tabs-link-active-color: var(--hb-ink); --bs-nav-tabs-link-active-border-color: transparent transparent var(--bs-primary); --bs-nav-link-font-size: .8438rem; gap: .5rem; }
.nav-tabs .nav-link { padding: 0 .875rem .8125rem; border-width: 0 0 2px; border-radius: 0; color: var(--hb-muted); font-family: var(--hb-display); font-weight: 500; }
.nav-tabs .nav-link:hover { border-color: transparent transparent var(--hb-glass-line); color: var(--hb-ink); }
.nav-pills { --bs-nav-pills-border-radius: var(--bs-border-radius-pill); --bs-nav-pills-link-active-bg: var(--bs-primary); --bs-nav-pills-link-active-color: #fff; }

.breadcrumb { --bs-breadcrumb-font-size: .6875rem; --bs-breadcrumb-divider-color: var(--hb-faint); --bs-breadcrumb-item-active-color: var(--hb-ink); --bs-breadcrumb-margin-bottom: 0; font-family: var(--hb-mono); letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb a { color: var(--hb-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--bs-primary); }
.pagination { --bs-pagination-font-size: .8125rem; --bs-pagination-color: var(--bs-body-color); --bs-pagination-bg: var(--hb-glass); --bs-pagination-border-color: var(--hb-glass-line); --bs-pagination-hover-color: var(--bs-primary-text-emphasis); --bs-pagination-hover-bg: rgba(63, 107, 84, .1); --bs-pagination-hover-border-color: var(--hb-moss-500); --bs-pagination-active-bg: var(--hb-moss-600); --bs-pagination-active-border-color: var(--hb-moss-600); --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(111, 163, 122, .22); gap: .375rem; }
.pagination .page-link { border-radius: var(--bs-border-radius-pill); min-width: 2.25rem; text-align: center; font-family: var(--hb-mono); font-size: .75rem; }

.table { --bs-table-bg: transparent; --bs-table-color: var(--bs-body-color); --bs-table-border-color: var(--hb-line-soft); --bs-table-hover-bg: rgba(63, 107, 84, .05); font-size: .8125rem; margin: 0; }
.table > thead th { padding: .75rem 1.125rem; background: var(--hb-surface-2); color: var(--bs-primary); font-family: var(--hb-mono); font-size: .625rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border-bottom-color: var(--hb-glass-line); }
.table > tbody td { padding: .8125rem 1.125rem; vertical-align: middle; }
.table-card { overflow: hidden; border: 1px solid var(--hb-card-line); border-radius: var(--bs-border-radius-xl); background: var(--hb-surface); }

.alert { --bs-alert-border-radius: var(--bs-border-radius-lg); font-size: .8438rem; border-left-width: 3px; }
.alert-primary { --bs-alert-color: #24453a; --bs-alert-bg: #e8f0ea; --bs-alert-border-color: #c4d6ca; border-left-color: var(--hb-moss-500); }
.alert-success { --bs-alert-color: #2f7a52; --bs-alert-bg: #e6f4ea; --bs-alert-border-color: #bfe0ca; border-left-color: var(--hb-mint-ink); }
.alert-warning { --bs-alert-color: #a86930; --bs-alert-bg: #fbeede; --bs-alert-border-color: #efd3b3; border-left-color: var(--hb-amber); }
.alert-danger { --bs-alert-color: #a23325; --bs-alert-bg: #f9e7e2; --bs-alert-border-color: #eec4ba; border-left-color: var(--hb-rose-ink); }

.toast { --bs-toast-bg: var(--hb-invert); --bs-toast-color: var(--hb-on-invert); --bs-toast-border-color: rgba(111, 163, 122, .3); --bs-toast-border-radius: var(--bs-border-radius-lg); --bs-toast-box-shadow: var(--bs-box-shadow-lg); --bs-toast-font-size: .8125rem; backdrop-filter: blur(12px); }
.toast .btn-close { filter: invert(1) grayscale(1); opacity: .6; }
.toast .bi { color: var(--hb-moss-500); }

.tooltip { --bs-tooltip-bg: var(--hb-moss-900); --bs-tooltip-font-size: .6875rem; --bs-tooltip-border-radius: var(--bs-border-radius-sm); }
.modal { --bs-modal-bg: var(--hb-menu-bg); --bs-modal-border-color: var(--hb-glass-line); --bs-modal-border-radius: var(--bs-border-radius-xl); --bs-modal-box-shadow: 0 30px 80px rgba(15, 23, 19, .35); --bs-modal-header-border-color: var(--hb-glass-line); --bs-modal-footer-border-color: var(--hb-glass-line); }
.modal-title { font-size: 1.0625rem; }
.modal-backdrop { --bs-backdrop-bg: #080c0a; --bs-backdrop-opacity: .62; }
.progress { --bs-progress-height: .375rem; --bs-progress-bg: var(--bs-tertiary-bg); --bs-progress-bar-bg: var(--hb-moss-500); --bs-progress-border-radius: var(--bs-border-radius-pill); }
.placeholder { background-color: rgba(63, 107, 84, .14); border-radius: var(--bs-border-radius-sm); }

.empty-state { padding: 3.5rem 1.5rem; border: 1px dashed rgba(111, 163, 122, .4); border-radius: var(--bs-border-radius-xl); background: var(--hb-glass-soft); text-align: center; }

/* --------------------------------------------------------------------------
   9. Page shells — inner page header, filter rail, CTA, footer
   -------------------------------------------------------------------------- */
.page-head { position: relative; isolation: isolate; margin-top: calc(-1 * var(--hb-head-h)); padding: 7rem 0 1rem; border-bottom: 1px solid var(--hb-glass-line); background: linear-gradient(180deg, var(--hb-hero-top), var(--bs-body-bg)); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--hb-glow); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .875rem 0; }
.view-switch .btn { --bs-btn-padding-x: .75rem; --bs-btn-padding-y: .375rem; }
.view-switch .btn-group > .btn:first-child { border-top-left-radius: var(--bs-border-radius-pill); border-bottom-left-radius: var(--bs-border-radius-pill); }
.view-switch .btn-group > .btn:last-child { border-top-right-radius: var(--bs-border-radius-pill); border-bottom-right-radius: var(--bs-border-radius-pill); }
.filter-rail { position: sticky; top: 5.75rem; }
.filter-group { padding: 1rem 1.125rem; border-bottom: 1px solid var(--hb-line-soft); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h4 { font-size: .8125rem; margin-bottom: .625rem; }

/* the CTA panel is the green theme's result panel: a dark moss gradient with glows */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; padding: 3.5rem; border: 1px solid rgba(111, 163, 122, .3); border-radius: var(--bs-border-radius-xl); background: linear-gradient(145deg, #24453a, #0f1713 70%); color: #f5f0e8; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 60% at 85% 10%, rgba(111, 163, 122, .3) 0, transparent 55%), radial-gradient(50% 50% at 10% 100%, rgba(205, 138, 75, .18) 0, transparent 60%); }
.cta-panel .blob { filter: blur(70px); opacity: .5; }
.cta-panel .blob-1 { top: -7.5rem; left: -2.5rem; background: rgba(111, 163, 122, .5); }
.cta-panel .blob-2 { right: -7.5rem; bottom: -10rem; background: rgba(205, 138, 75, .35); }
.cta-panel .display-6, .cta-panel h2 { color: #f5f0e8; }
.cta-panel .text-white-50 { color: rgba(245, 240, 232, .7) !important; }
.cta-panel .btn-outline-line { --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .06); --bs-btn-border-color: rgba(111, 163, 122, .4); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(111, 163, 122, .2); --bs-btn-hover-border-color: #6fa37a; }
.cta-panel .btn-light { --bs-btn-bg: #6fa37a; --bs-btn-border-color: #6fa37a; --bs-btn-color: #fff; --bs-btn-hover-bg: #86b696; --bs-btn-hover-border-color: #86b696; --bs-btn-hover-color: #fff; }

/* the footer is an ambient section: a moss rule on top, mono column titles */
.site-foot { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--hb-glass-line); background: var(--bs-body-bg); }
.site-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 60% at 20% 0%, rgba(111, 163, 122, .14) 0, transparent 60%), radial-gradient(40% 50% at 90% 100%, rgba(205, 138, 75, .1) 0, transparent 60%); }
.site-foot h4 { font-family: var(--hb-mono); font-size: .625rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-primary); margin-bottom: .875rem; }
.site-foot a { display: inline-block; padding: .3125rem 0; color: var(--bs-body-color); font-family: var(--hb-display); font-size: .8438rem; text-decoration: none; }
.site-foot a:hover { color: var(--bs-primary-text-emphasis); }
.site-foot .border-top { border-top-color: var(--hb-glass-line) !important; }
.site-foot .fs-8 { font-family: var(--hb-mono); font-size: .6875rem !important; }
.site-foot .social-btn { display: grid; place-items: center; width: 2.375rem; height: 2.375rem; padding: 0; border: 1px solid var(--hb-glass-line); border-radius: var(--bs-border-radius); background: var(--hb-glass-soft); color: var(--bs-body-color); font-size: .9375rem; backdrop-filter: blur(10px); }
.site-foot .social-btn:hover { border-color: var(--hb-moss-600); background: var(--hb-moss-600); color: #fff; }

/* --------------------------------------------------------------------------
   10. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .section { padding: 2rem 0; }
  .filter-rail { position: static; }
  .console-form { grid-template-columns: 1fr 1fr; }
  .console-cell { border-right: 0; border-bottom: 1px solid var(--hb-line-soft); }
  .console-form .btn { grid-column: span 2; }
  .cta-panel { padding: 2.125rem; }
  .site-head .navbar { padding-left: .75rem; }
}
@media (max-width: 767.98px) {
  /* blur is costly on phones: glass goes nearly solid instead */
  .site-head .navbar, .console, .btn-outline-line, .btn-icon, .chip, .float-card { backdrop-filter: none; }
  .site-head .navbar { background: var(--hb-glass-strong); }
  .console { background: var(--hb-glass-strong); }
}
@media (max-width: 575.98px) {
  .console-form { grid-template-columns: 1fr; }
  .console-form .btn { grid-column: auto; }
  .float-card { display: none; }
  .cat-tile { min-height: 11rem; }
  .display-5 { font-size: clamp(2.25rem, 10vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   11. Right to left — this theme's own directional rules. rtl.css mirrors what
   both themes share; a rule that exists only here is mirrored here, so it stays
   inert under Harbour. Specificity beats rtl.css where the two would collide.
   -------------------------------------------------------------------------- */
[dir=rtl] .site-head .navbar { padding: .375rem .875rem .375rem .5rem; }
[dir=rtl] .input-group > .form-control:first-child, [dir=rtl] .input-group > .input-group-text:first-child { border-radius: 0 var(--bs-border-radius-pill) var(--bs-border-radius-pill) 0; }
[dir=rtl] .input-group > .btn:last-child, [dir=rtl] .input-group > .form-control:last-child { border-radius: var(--bs-border-radius-pill) 0 0 var(--bs-border-radius-pill); }
[dir=rtl] .view-switch .btn-group > .btn:first-child { border-radius: 0 var(--bs-border-radius-pill) var(--bs-border-radius-pill) 0; }
[dir=rtl] .view-switch .btn-group > .btn:last-child { border-radius: var(--bs-border-radius-pill) 0 0 var(--bs-border-radius-pill); }
[dir=rtl] .alert.alert-primary { border-right-color: var(--hb-moss-500); }
[dir=rtl] .alert.alert-warning { border-right-color: var(--hb-amber); }
[dir=rtl] .hero::after, [dir=rtl] .page-head::before { background: radial-gradient(80% 50% at 10% 20%, rgba(111, 163, 122, .12) 0, transparent 55%), radial-gradient(60% 40% at 90% 90%, rgba(63, 107, 84, .1) 0, transparent 60%); }
[dir=rtl] .cta-panel::before { background: radial-gradient(80% 60% at 15% 10%, rgba(111, 163, 122, .3) 0, transparent 55%), radial-gradient(50% 50% at 90% 100%, rgba(205, 138, 75, .18) 0, transparent 60%); }
[dir=rtl] .site-foot::before { background: radial-gradient(60% 60% at 80% 0%, rgba(111, 163, 122, .14) 0, transparent 60%), radial-gradient(40% 50% at 10% 100%, rgba(205, 138, 75, .1) 0, transparent 60%); }
