/* ==========================================================================
   MyCouncil — 10 Distinct Modern Website Design Systems
   Each template defines an independent architectural layout & visual grammar
   across header, hero, section headers, content layouts, inner pages & footer.
   Scoped under html[data-site-template="..."] without font-token overrides.
   ========================================================================== */

/* Shared structural helpers */
.tpl-hirigaa-frieze {
    height: 8px;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(180, 83, 9, .92) 0 8px,
        rgba(245, 158, 11, .92) 8px 16px,
        rgba(20, 83, 45, .92) 16px 24px
    );
}
.hero-grad-1 { background: radial-gradient(circle at 80% 25%, rgba(var(--mc-teal-rgb), .38), transparent 50%), linear-gradient(135deg, var(--mc-navy), var(--mc-primary-dark) 55%, var(--mc-primary)); }
.hero-grad-2 { background: radial-gradient(circle at 75% 30%, rgba(var(--mc-teal-rgb), .32), transparent 52%), linear-gradient(135deg, var(--mc-primary-dark), var(--mc-navy) 60%, var(--mc-teal-dark)); }
.hero-grad-3 { background: radial-gradient(circle at 78% 28%, rgba(var(--mc-primary-rgb), .32), transparent 48%), linear-gradient(135deg, var(--mc-navy), var(--mc-teal-dark) 55%, var(--mc-primary)); }

/* Side-rail default styling when user enables Side Rail navigation on ANY template */
html[data-nav-position="side"] .tpl-split-rail {
    background: var(--site-nav-bg);
    color: var(--site-nav-text);
}
html[data-nav-position="side"] .tpl-split-rail .brand-name,
html[data-nav-position="side"] .tpl-split-rail .brand-tag {
    color: var(--site-nav-text);
}
html[data-nav-position="side"] .tpl-split-rail .split-rail-nav .nav-link {
    color: var(--site-nav-text);
    opacity: .88;
    border-radius: var(--mc-radius-sm);
    padding: .55rem .8rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
}
html[data-nav-position="side"] .tpl-split-rail .split-rail-nav .nav-link:hover,
html[data-nav-position="side"] .tpl-split-rail .split-rail-nav .nav-link.active {
    background: rgba(var(--mc-teal-rgb), .18);
    color: var(--site-nav-active);
    opacity: 1;
}
html[data-nav-position="side"] .tpl-split-rail .navbar-toggler {
    border-color: var(--site-nav-border);
}

/* Shared helper primitives used across multiple template section layouts */
.tpl-swiss-matrix {
    border-top: 1.5px solid var(--mc-primary);
    border-inline-start: 1.5px solid var(--mc-primary);
}
.tpl-swiss-matrix > [class*="col-"] {
    border-inline-end: 1.5px solid var(--mc-primary);
    border-bottom: 1.5px solid var(--mc-primary);
}
.tpl-swiss-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.45rem;
    background: var(--mc-surface);
    color: inherit;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}
.tpl-swiss-item:hover {
    background: color-mix(in srgb, var(--mc-teal) 9%, var(--mc-surface));
    color: var(--mc-primary);
}
.tpl-swiss-index {
    font-size: .78rem;
    letter-spacing: .08em;
    color: var(--mc-teal);
    font-weight: 700;
}

.tpl-gov-task-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-inline-start: 4px solid var(--mc-primary);
    border-radius: var(--mc-radius-sm);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.tpl-gov-task-row:hover {
    background: color-mix(in srgb, var(--mc-primary) 5%, var(--mc-surface));
    border-inline-start-color: var(--mc-teal);
    transform: translateY(-2px);
    color: inherit;
}
.tpl-gov-task-row .tpl-gov-title {
    color: var(--mc-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    font-weight: 700;
}

.tpl-bento-pod {
    border-radius: calc(var(--mc-radius) + .25rem);
    border: 1px solid var(--mc-border);
    background: var(--mc-surface);
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(var(--mc-primary-rgb), .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tpl-bento-pod:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(var(--mc-primary-rgb), .12);
    border-color: rgba(var(--mc-primary-rgb), .32);
    color: inherit;
}
.tpl-bento-pod.tpl-bento-pod-hero {
    background: linear-gradient(135deg, color-mix(in srgb, var(--mc-primary) 9%, var(--mc-surface)), color-mix(in srgb, var(--mc-teal) 10%, var(--mc-surface)));
    border-color: rgba(var(--mc-primary-rgb), .2);
}

.tpl-vista-panel {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius);
    overflow: hidden;
}
.tpl-vista-app-tile {
    display: flex;
    align-items: center;
    gap: .95rem;
    padding: 1rem 1.15rem;
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-sm);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tpl-vista-app-tile:hover {
    border-color: var(--mc-teal);
    box-shadow: 0 6px 18px rgba(var(--mc-primary-rgb), .08);
    color: inherit;
}

.tpl-editorial-index-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--mc-border);
    text-decoration: none;
    color: inherit;
}
.tpl-editorial-index-item:hover h3 {
    color: var(--mc-teal);
}

/* ==========================================================================
   01. MERIDIAN CIVIC — Ocean Glassmorphism Flagship
   ========================================================================== */
html[data-site-template="01-meridian-civic"] {
    --mc-primary: #0b2545;
    --mc-primary-rgb: 11, 37, 69;
    --mc-primary-dark: #071931;
    --mc-teal: #0d9488;
    --mc-teal-rgb: 13, 148, 136;
    --mc-teal-dark: #0f766e;
    --mc-navy: #0b2545;
    --mc-sand: #f4f8fb;
    --mc-surface: #ffffff;
    --mc-border: #dce7ef;
    --mc-muted: #52687a;
    --site-topbar-bg: #0b2545;
    --site-topbar-text: #d7e8f5;
    --site-nav-bg: rgba(255, 255, 255, .86);
    --site-nav-text: #0b2545;
    --site-nav-active: #0d9488;
    --site-nav-border: rgba(11, 37, 69, .10);
    --site-footer-bg: #0b2545;
    --site-footer-text: #c7dae9;
}
html[data-site-template="01-meridian-civic"] body {
    background-image:
        radial-gradient(circle at 10% 10%, rgba(13, 148, 136, .06), transparent 36%),
        radial-gradient(circle at 90% 30%, rgba(11, 37, 69, .05), transparent 40%);
}
html[data-site-template="01-meridian-civic"] .tpl-hdr-meridian {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
html[data-site-template="01-meridian-civic"] .mega-menu {
    --mega-accent: var(--mc-teal);
}
html[data-site-template="01-meridian-civic"] .hero-btn-primary {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}
html[data-site-template="01-meridian-civic"] .hero-btn-primary:hover {
    background: #be123c;
    border-color: #be123c;
    color: #fff;
}
html[data-site-template="01-meridian-civic"] .tpl-ftr-meridian .site-footer-glass {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--mc-radius);
}

/* ==========================================================================
   02. CORAL HORIZON — Organic Coastal Wave & Capsule Hospitality System
   ========================================================================== */
html[data-site-template="02-coral-horizon"] {
    --mc-primary: #0284c7;
    --mc-primary-rgb: 2, 132, 199;
    --mc-primary-dark: #0369a1;
    --mc-teal: #06b6d4;
    --mc-teal-rgb: 6, 182, 212;
    --mc-teal-dark: #0891b2;
    --mc-navy: #082f49;
    --mc-sand: #f0f9ff;
    --mc-surface: #ffffff;
    --mc-border: #bae6fd;
    --mc-muted: #4b6e84;
    --mc-radius: 1.5rem;
    --mc-radius-sm: 1rem;
    --site-topbar-bg: #082f49;
    --site-topbar-text: #e0f2fe;
    --site-nav-bg: rgba(255, 255, 255, .94);
    --site-nav-text: #082f49;
    --site-nav-active: #0284c7;
    --site-nav-border: rgba(2, 132, 199, .18);
    --site-footer-bg: #082f49;
    --site-footer-text: #bae6fd;
}
html[data-site-template="02-coral-horizon"] body {
    background-image:
        radial-gradient(circle at 88% 12%, rgba(6, 182, 212, .10), transparent 38%),
        radial-gradient(circle at 12% 45%, rgba(245, 158, 11, .06), transparent 34%);
}
html[data-site-template="02-coral-horizon"] .tpl-pill-header {
    background: transparent;
    border-bottom: 0;
    padding-block: .65rem;
}
html[data-site-template="02-coral-horizon"] .tpl-floating-pill {
    background: var(--site-nav-bg);
    color: var(--site-nav-text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--mc-primary-rgb), .2);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(8, 47, 73, .10);
}
html[data-site-template="02-coral-horizon"] .tpl-floating-pill .nav-link {
    border-radius: 999px;
}
html[data-site-template="02-coral-horizon"] .tpl-coral-hero {
    background: radial-gradient(circle at 85% 20%, rgba(var(--mc-teal-rgb), .24), transparent 52%),
                linear-gradient(155deg, color-mix(in srgb, var(--mc-primary) 13%, #fff) 0%, color-mix(in srgb, var(--mc-teal) 18%, #fff) 55%, var(--mc-sand) 100%);
    color: var(--mc-navy);
}
html[data-site-template="02-coral-horizon"] .tpl-coral-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .95rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--mc-primary-dark);
    font-weight: 600;
    border: 1px solid rgba(var(--mc-primary-rgb), .22);
}
html[data-site-template="02-coral-horizon"] .tpl-coral-pill-badge .dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #f59e0b;
}
html[data-site-template="02-coral-horizon"] .tpl-coral-arch-card {
    border-start-start-radius: 4.5rem;
    border-start-end-radius: 1.75rem;
    border-end-end-radius: 4.5rem;
    border-end-start-radius: 1.75rem;
    border: 4px solid #ffffff;
}
html[data-site-template="02-coral-horizon"] .tpl-arch-slide {
    min-height: 360px;
}
html[data-site-template="02-coral-horizon"] .tpl-coral-wave {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    pointer-events: none;
}
html[data-site-template="02-coral-horizon"] .tpl-sec-coral {
    text-align: center;
    margin-bottom: 2rem;
}
html[data-site-template="02-coral-horizon"] .tpl-sec-coral .section-title::after {
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    border-radius: 999px;
}
html[data-site-template="02-coral-horizon"] .tpl-srv-coral {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.35rem;
    border-radius: var(--mc-radius);
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    box-shadow: 0 10px 28px rgba(var(--mc-primary-rgb), .08);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform .2s ease, border-color .2s ease;
}
html[data-site-template="02-coral-horizon"] .tpl-srv-coral:hover {
    transform: translateY(-4px);
    border-color: var(--mc-teal);
    color: inherit;
}
html[data-site-template="02-coral-horizon"] .tpl-srv-coral .coral-medallion {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
}
html[data-site-template="02-coral-horizon"] .tpl-news-arch .news-img-wrap {
    border-radius: 2rem 2rem .75rem .75rem;
    margin: .75rem .75rem 0;
    height: 205px;
}
html[data-site-template="02-coral-horizon"] .tpl-stat-ribbon-coral {
    background: linear-gradient(125deg, var(--mc-primary-dark), var(--mc-primary) 55%, var(--mc-teal));
    color: #fff;
    border-radius: calc(var(--mc-radius) + .5rem);
    padding: 2rem 1.5rem;
    box-shadow: 0 16px 38px rgba(var(--mc-primary-rgb), .2);
}
html[data-site-template="02-coral-horizon"] .tpl-quick-capsule {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    text-decoration: none;
    color: var(--mc-navy);
    box-shadow: 0 6px 18px rgba(var(--mc-primary-rgb), .07);
    transition: transform .18s ease, background-color .18s ease;
}
html[data-site-template="02-coral-horizon"] .tpl-quick-capsule:hover {
    transform: translateY(-3px);
    border-color: var(--mc-primary);
}
html[data-site-template="02-coral-horizon"] .tpl-quick-capsule .cap-orb {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mc-primary), var(--mc-teal));
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
html[data-inner-banner="gradient"][data-site-template="02-coral-horizon"] .page-hero:not(.has-banner-photo) {
    background: linear-gradient(135deg, var(--mc-primary-dark), var(--mc-primary) 55%, var(--mc-teal));
    padding-bottom: 4.5rem;
}
html[data-site-template="02-coral-horizon"] .page-hero.tpl-ph-coral::after { display: none; }
html[data-site-template="02-coral-horizon"] .site-footer.tpl-ftr-coral {
    margin-top: 6rem;
    border-top: 0;
    padding-top: 2.5rem !important;
}
html[data-site-template="02-coral-horizon"] .tpl-footer-wave-svg {
    position: absolute;
    inset-inline: 0;
    top: -47px;
    color: var(--site-footer-bg);
    pointer-events: none;
}

/* ==========================================================================
   03. SWISS CIVIC GRID — International Typographic Style & 0px Grid Matrix
   ========================================================================== */
html[data-site-template="03-swiss-civic-grid"] {
    --mc-primary: #111827;
    --mc-primary-rgb: 17, 24, 39;
    --mc-primary-dark: #030712;
    --mc-teal: #059669;
    --mc-teal-rgb: 5, 150, 105;
    --mc-teal-dark: #047857;
    --mc-navy: #111827;
    --mc-sand: #f9fafb;
    --mc-surface: #ffffff;
    --mc-border: #111827;
    --mc-muted: #4b5563;
    --mc-radius: 0px;
    --mc-radius-sm: 0px;
    --mc-shadow: none;
    --mc-shadow-lg: none;
    --site-topbar-bg: #111827;
    --site-topbar-text: #f3f4f6;
    --site-nav-bg: #ffffff;
    --site-nav-text: #111827;
    --site-nav-active: #059669;
    --site-nav-border: #111827;
    --site-footer-bg: #111827;
    --site-footer-text: #e5e7eb;
}
html[data-site-template="03-swiss-civic-grid"] body {
    background-image:
        linear-gradient(to right, rgba(17, 24, 39, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 24, 39, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}
html[data-site-template="03-swiss-civic-grid"] .card,
html[data-site-template="03-swiss-civic-grid"] .category-card,
html[data-site-template="03-swiss-civic-grid"] .quick-card,
html[data-site-template="03-swiss-civic-grid"] .stat-tile,
html[data-site-template="03-swiss-civic-grid"] .tele-card,
html[data-site-template="03-swiss-civic-grid"] .quickpay-strip,
html[data-site-template="03-swiss-civic-grid"] .btn,
html[data-site-template="03-swiss-civic-grid"] .badge,
html[data-site-template="03-swiss-civic-grid"] .form-control,
html[data-site-template="03-swiss-civic-grid"] .form-select,
html[data-site-template="03-swiss-civic-grid"] .mega-menu,
html[data-site-template="03-swiss-civic-grid"] .mega-link,
html[data-site-template="03-swiss-civic-grid"] .mega-icon,
html[data-site-template="03-swiss-civic-grid"] .mega-all-link,
html[data-site-template="03-swiss-civic-grid"] .hero-search,
html[data-site-template="03-swiss-civic-grid"] .mc-filter-pills {
    border-radius: var(--mc-radius-sm, 0px);
    box-shadow: none;
}
html[data-site-template="03-swiss-civic-grid"] .card,
html[data-site-template="03-swiss-civic-grid"] .category-card,
html[data-site-template="03-swiss-civic-grid"] .stat-tile {
    border: 1.5px solid var(--mc-primary);
}
html[data-site-template="03-swiss-civic-grid"] .card:hover,
html[data-site-template="03-swiss-civic-grid"] .category-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--mc-primary);
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-header {
    border-bottom: 1.5px solid var(--site-nav-border);
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-cell {
    padding-block: .65rem;
    padding-inline-end: 1.25rem;
    border-inline-end: 1px solid #d1d5db;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-nav-cell {
    padding-inline-start: 1rem;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-hero {
    background: var(--mc-surface);
    border-bottom: 1.5px solid var(--mc-primary) !important;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-statement {
    border-inline-end: 1.5px solid var(--mc-primary);
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-cell-box {
    border-bottom: 1.5px solid var(--mc-primary);
    border-inline-end: 1.5px solid var(--mc-primary);
    background: var(--mc-sand);
    transition: background-color .15s ease;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-swiss-cell-box:hover {
    background: color-mix(in srgb, var(--mc-teal) 10%, #fff);
}
html[data-site-template="03-swiss-civic-grid"] .tpl-sec-swiss {
    border-top: 2px solid var(--mc-primary);
    border-bottom: 1px solid #cbd5e1;
    padding-block: .85rem;
    margin-bottom: 1.5rem;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-sec-swiss .section-title::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="03-swiss-civic-grid"] .page-hero:not(.has-banner-photo) {
    background: var(--mc-surface);
    color: var(--mc-navy);
    border-bottom: 2px solid var(--mc-primary);
    padding: 2.25rem 0;
}
html[data-inner-banner="gradient"][data-site-template="03-swiss-civic-grid"] .page-hero:not(.has-banner-photo)::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="03-swiss-civic-grid"] .page-hero:not(.has-banner-photo) .hero-filter {
    background: var(--mc-sand);
    border: 1.5px solid var(--mc-primary);
}
html[data-site-template="03-swiss-civic-grid"] .tpl-ftr-swiss {
    border-top: 3px solid var(--mc-teal);
    padding-top: 0 !important;
}
html[data-site-template="03-swiss-civic-grid"] .tpl-ftr-swiss-grid > [class*="col-"] {
    border-inline-end: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

/* ==========================================================================
   04. BENTO PULSE — Modular SaaS Bento Mosaic & Segmented Pill Header
   ========================================================================== */
html[data-site-template="04-bento-pulse"] {
    --mc-primary: #3730a3;
    --mc-primary-rgb: 55, 48, 163;
    --mc-primary-dark: #312e81;
    --mc-teal: #0ea5e9;
    --mc-teal-rgb: 14, 165, 233;
    --mc-teal-dark: #0284c7;
    --mc-navy: #1e1b4b;
    --mc-sand: #eef2f8;
    --mc-surface: #ffffff;
    --mc-border: #dfe6f2;
    --mc-muted: #475569;
    --mc-radius: 1.35rem;
    --mc-radius-sm: .85rem;
    --site-nav-bg: rgba(255, 255, 255, .92);
    --site-nav-text: #1e1b4b;
    --site-nav-active: #3730a3;
    --site-nav-border: #dfe6f2;
    --site-footer-bg: #1e1b4b;
    --site-footer-text: #e0e7ff;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-header {
    background: var(--site-nav-bg);
    backdrop-filter: blur(16px);
}
html[data-site-template="04-bento-pulse"] .tpl-bento-nav-track {
    background: var(--mc-sand);
    border: 1px solid var(--mc-border);
    border-radius: 999px;
    padding: .25rem .4rem;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-nav-track .nav-link {
    border-radius: 999px;
    padding: .42rem .85rem;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-nav-track .nav-link.active {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(var(--mc-primary-rgb), .12);
}
html[data-site-template="04-bento-pulse"] .tpl-bento-nav-track .nav-link.active::after {
    display: none;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-tile {
    border-radius: var(--mc-radius);
    border: 1px solid var(--mc-border);
    box-shadow: 0 10px 28px rgba(var(--mc-primary-rgb), .07);
}
html[data-site-template="04-bento-pulse"] .tpl-bento-slide {
    min-height: 360px;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-pulse-accent {
    background: linear-gradient(135deg, var(--mc-primary-dark) 0%, var(--mc-primary) 55%, var(--mc-teal) 100%);
    color: #ffffff;
    border-color: transparent;
}
html[data-site-template="04-bento-pulse"] .tpl-bento-pulse-accent h2 {
    color: #ffffff;
}
html[data-site-template="04-bento-pulse"] .tpl-sec-bento-badge {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .75rem;
    background: rgba(var(--mc-primary-rgb), .10);
    color: var(--mc-primary);
    display: inline-grid;
    place-items: center;
}
html[data-inner-banner="gradient"][data-site-template="04-bento-pulse"] .page-hero.tpl-ph-bento {
    background: transparent;
    padding: 1.5rem 0 0;
}
html[data-inner-banner="gradient"][data-site-template="04-bento-pulse"] .page-hero.tpl-ph-bento::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="04-bento-pulse"] .tpl-ph-bento-card {
    background: linear-gradient(135deg, var(--mc-navy), var(--mc-primary) 60%, var(--mc-teal));
    border-radius: calc(var(--mc-radius) + .35rem);
    padding: 2.5rem 2.25rem;
    box-shadow: 0 18px 40px rgba(var(--mc-primary-rgb), .18);
}
html[data-site-template="04-bento-pulse"] .tpl-ftr-bento-shell .site-footer.tpl-ftr-bento {
    margin-top: 3rem;
    border-top: 0;
    border-radius: calc(var(--mc-radius) + .4rem);
    overflow: hidden;
    box-shadow: 0 22px 46px rgba(15, 23, 42, .18);
}
html[data-site-template="04-bento-pulse"] .tpl-bento-footer-pod {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--mc-radius);
    padding: 1.4rem;
    height: 100%;
}

/* ==========================================================================
   05. SOVEREIGN CREST — Formal State Heritage, Gold Seal & Official Gazette
   ========================================================================== */
html[data-site-template="05-sovereign-crest"] {
    --mc-primary: #14532d;
    --mc-primary-rgb: 20, 83, 45;
    --mc-primary-dark: #0f3d21;
    --mc-teal: #b45309;
    --mc-teal-rgb: 180, 83, 9;
    --mc-teal-dark: #92400e;
    --mc-navy: #1e293b;
    --mc-sand: #fdfbf7;
    --mc-surface: #ffffff;
    --mc-border: #e6dcc8;
    --mc-muted: #57534e;
    --site-topbar-bg: #0f3d21;
    --site-topbar-text: #fef3c7;
    --site-nav-bg: #14532d;
    --site-nav-text: #ffffff;
    --site-nav-active: #fde68a;
    --site-nav-border: rgba(254, 243, 199, .24);
    --site-footer-bg: #0f3d21;
    --site-footer-text: #ecfdf5;
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-tier {
    background: var(--mc-sand);
    color: var(--mc-primary);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-tier .brand-name,
html[data-site-template="05-sovereign-crest"] .tpl-crest-tier .brand-tag {
    color: var(--mc-primary);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-logo { height: 60px; }
html[data-site-template="05-sovereign-crest"] .tpl-crest-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--mc-border);
    background: #ffffff;
    color: var(--mc-navy);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon {
    background: var(--site-nav-bg);
    color: var(--site-nav-text);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .nav-link {
    color: var(--site-nav-text);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .nav-link:hover,
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .dropdown-mega:hover > .nav-link,
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .dropdown-mega.is-hover-open > .nav-link,
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .show > .nav-link,
html[data-site-template="05-sovereign-crest"] .tpl-crest-ribbon .nav-link.active {
    color: var(--site-nav-active);
    background: rgba(255, 255, 255, .12);
}
html[data-site-template="05-sovereign-crest"] .tpl-crest-frame {
    padding: 2.2rem 2rem;
    background: rgba(15, 61, 33, .74);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(251, 191, 36, .78);
    outline: 1px solid rgba(251, 191, 36, .35);
    outline-offset: 6px;
}
html[data-site-template="05-sovereign-crest"] .tpl-sec-crest {
    text-align: center;
    margin-bottom: 2rem;
}
html[data-site-template="05-sovereign-crest"] .tpl-sec-crest .crest-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--mc-teal);
    margin-bottom: .35rem;
}
html[data-site-template="05-sovereign-crest"] .tpl-sec-crest .crest-line {
    width: 3.5rem;
    height: 1.5px;
    background: rgba(var(--mc-teal-rgb), .55);
}
html[data-site-template="05-sovereign-crest"] .tpl-sec-crest .section-title::after { display: none; }
html[data-site-template="05-sovereign-crest"] .card,
html[data-site-template="05-sovereign-crest"] .category-card,
html[data-site-template="05-sovereign-crest"] .stat-tile {
    border-top: 3px solid var(--mc-teal);
}
html[data-site-template="05-sovereign-crest"] .tpl-gazette-row {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-inline-start: 4px solid var(--mc-primary);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, background-color .15s ease;
}
html[data-site-template="05-sovereign-crest"] .tpl-gazette-row:hover {
    background: color-mix(in srgb, var(--mc-teal) 5%, var(--mc-surface));
    border-inline-start-color: var(--mc-teal);
}
html[data-inner-banner="gradient"][data-site-template="05-sovereign-crest"] .page-hero.tpl-ph-crest {
    background: linear-gradient(135deg, var(--mc-primary-dark), var(--mc-primary));
    border-bottom: 4px solid var(--mc-teal);
    text-align: center;
}
html[data-site-template="05-sovereign-crest"] .site-footer.tpl-ftr-crest {
    border-top: 0;
    padding-top: 0 !important;
}

/* ==========================================================================
   06. CHRONICLE EDITORIAL — Broadsheet Newspaper & Column-Ruled Index
   ========================================================================== */
html[data-site-template="06-chronicle-editorial"] {
    --mc-primary: #0f172a;
    --mc-primary-rgb: 15, 23, 42;
    --mc-primary-dark: #020617;
    --mc-teal: #dc2626;
    --mc-teal-rgb: 220, 38, 38;
    --mc-teal-dark: #b91c1c;
    --mc-navy: #0f172a;
    --mc-sand: #faf8f5;
    --mc-surface: #ffffff;
    --mc-border: #d6d3ce;
    --mc-muted: #57534e;
    --mc-radius: 0px;
    --mc-radius-sm: 0px;
    --mc-shadow: none;
    --mc-shadow-lg: none;
    --site-nav-bg: #faf8f5;
    --site-nav-text: #0f172a;
    --site-nav-active: #dc2626;
    --site-nav-border: #0f172a;
    --site-footer-bg: #0f172a;
    --site-footer-text: #e7e5e4;
}
html[data-site-template="06-chronicle-editorial"] .card,
html[data-site-template="06-chronicle-editorial"] .category-card,
html[data-site-template="06-chronicle-editorial"] .pub-card,
html[data-site-template="06-chronicle-editorial"] .news-card,
html[data-site-template="06-chronicle-editorial"] .stat-tile,
html[data-site-template="06-chronicle-editorial"] .btn {
    border-radius: var(--mc-radius-sm, 0px);
    box-shadow: none;
}
html[data-site-template="06-chronicle-editorial"] .card,
html[data-site-template="06-chronicle-editorial"] .category-card {
    border-top: 2px solid var(--mc-primary);
}
html[data-site-template="06-chronicle-editorial"] .tpl-edition-strip {
    background: #f1ede4;
    color: var(--mc-navy);
}
html[data-site-template="06-chronicle-editorial"] .tpl-nameplate {
    background: #faf8f5;
    border-bottom: 3px double var(--mc-primary);
}
html[data-site-template="06-chronicle-editorial"] .tpl-nameplate-title {
    font-size: clamp(1.5rem, 2.7vw, 2.35rem);
    letter-spacing: -.02em;
}
html[data-site-template="06-chronicle-editorial"] .tpl-broadsheet-nav {
    background: var(--site-nav-bg);
    color: var(--site-nav-text);
    border-bottom: 1.5px solid var(--site-nav-border);
}
html[data-site-template="06-chronicle-editorial"] .tpl-sec-broadsheet {
    border-top: 3px solid var(--mc-primary);
    border-bottom: 1px solid var(--mc-border);
    padding-block: .65rem;
    margin-bottom: 1.5rem;
}
html[data-site-template="06-chronicle-editorial"] .tpl-sec-broadsheet .section-title::after { display: none; }
@media (min-width: 992px) {
    html[data-site-template="06-chronicle-editorial"] .tpl-broadsheet-col-rule {
        border-inline-end: 1px solid var(--mc-border);
    }
}
html[data-inner-banner="gradient"][data-site-template="06-chronicle-editorial"] .page-hero.tpl-ph-broadsheet {
    background: #faf8f5;
    color: var(--mc-navy);
    border-top: 3px double var(--mc-primary);
    border-bottom: 1.5px solid var(--mc-primary);
    padding: 2rem 0;
}
html[data-inner-banner="gradient"][data-site-template="06-chronicle-editorial"] .page-hero.tpl-ph-broadsheet::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="06-chronicle-editorial"] .page-hero.tpl-ph-broadsheet .badge {
    background: var(--mc-teal) !important;
    color: #fff !important;
    border: 0 !important;
}
html[data-site-template="06-chronicle-editorial"] .tpl-ftr-broadsheet {
    border-top: 4px double var(--mc-teal);
}

/* ==========================================================================
   07. COMMAND CONCIERGE — High-Contrast GOV Utility & Task Rows
   ========================================================================== */
html[data-site-template="07-command-concierge"] {
    --mc-primary: #1d4ed8;
    --mc-primary-rgb: 29, 78, 216;
    --mc-primary-dark: #1e40af;
    --mc-teal: #0284c7;
    --mc-teal-rgb: 2, 132, 199;
    --mc-teal-dark: #0369a1;
    --mc-navy: #090d16;
    --mc-sand: #f8fafc;
    --mc-surface: #ffffff;
    --mc-border: #cbd5e1;
    --mc-muted: #475569;
    --site-nav-bg: #ffffff;
    --site-nav-text: #090d16;
    --site-nav-active: #1d4ed8;
    --site-nav-border: #1d4ed8;
    --site-footer-bg: #090d16;
    --site-footer-text: #dbeafe;
}
html[data-site-template="07-command-concierge"] .tpl-concierge-header {
    border-bottom: 3px solid var(--mc-primary);
}
html[data-site-template="07-command-concierge"] .tpl-concierge-hero {
    min-height: 440px;
}
html[data-site-template="07-command-concierge"] .tpl-concierge-task {
    background: rgba(255, 255, 255, .95);
    color: var(--mc-navy);
    border: 1px solid rgba(255, 255, 255, .45);
    transition: transform .15s ease, background-color .15s ease;
}
html[data-site-template="07-command-concierge"] .tpl-concierge-task:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: var(--mc-primary);
}
html[data-site-template="07-command-concierge"] .tpl-sec-concierge {
    border-inline-start: 5px solid var(--mc-primary);
    padding-inline-start: .95rem;
    margin-bottom: 1.5rem;
}
html[data-site-template="07-command-concierge"] .tpl-sec-concierge .section-title::after { display: none; }
html[data-site-template="07-command-concierge"] .tpl-gov-notice-row {
    background: var(--mc-surface);
    border-bottom: 1px solid var(--mc-border);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
}
html[data-site-template="07-command-concierge"] .tpl-gov-notice-row:nth-child(even) {
    background: #f1f5f9;
}
html[data-site-template="07-command-concierge"] .tpl-gov-notice-row:hover {
    background: #eff6ff;
}
html[data-site-template="07-command-concierge"] .category-card,
html[data-site-template="07-command-concierge"] .pub-card {
    border-inline-start: 4px solid var(--mc-primary);
}
html[data-inner-banner="gradient"][data-site-template="07-command-concierge"] .page-hero.tpl-ph-concierge {
    background: var(--mc-primary);
    border-bottom: 6px solid var(--mc-navy);
}
html[data-inner-banner="gradient"][data-site-template="07-command-concierge"] .page-hero.tpl-ph-concierge::after { display: none; }
html[data-site-template="07-command-concierge"] .tpl-ftr-concierge {
    border-top: 4px solid var(--mc-primary);
}

/* ==========================================================================
   08. SPLIT VISTA — Persistent Vertical Side-Rail Civic OS Workspace
   ========================================================================== */
html[data-site-template="08-split-vista"] {
    --mc-primary: #0f172a;
    --mc-primary-rgb: 15, 23, 42;
    --mc-primary-dark: #020617;
    --mc-teal: #10b981;
    --mc-teal-rgb: 16, 185, 129;
    --mc-teal-dark: #059669;
    --mc-navy: #0f172a;
    --mc-sand: #f1f5f9;
    --mc-surface: #ffffff;
    --mc-border: #dbe3ed;
    --mc-muted: #475569;
    --site-nav-bg: #0f172a;
    --site-nav-text: #f8fafc;
    --site-nav-active: #10b981;
    --site-nav-border: rgba(255, 255, 255, .12);
    --site-footer-bg: #0f172a;
    --site-footer-text: #cbd5e1;
}
html[data-site-template="08-split-vista"] .tpl-sec-vista {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-sm);
    padding: .85rem 1.15rem;
    margin-bottom: 1.25rem;
}
html[data-site-template="08-split-vista"] .tpl-sec-vista .section-title::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="08-split-vista"] .page-hero.tpl-ph-vista {
    background: transparent;
    padding: 1.5rem 0 0;
}
html[data-inner-banner="gradient"][data-site-template="08-split-vista"] .page-hero.tpl-ph-vista::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="08-split-vista"] .tpl-ph-vista-card {
    background: linear-gradient(120deg, var(--mc-navy), var(--mc-primary-dark) 65%, var(--mc-teal-dark));
    border-radius: var(--mc-radius);
    padding: 2rem 2.25rem;
}
html[data-site-template="08-split-vista"] .tpl-ftr-vista {
    border-top: 2px solid var(--mc-teal);
    padding-block: 1.75rem !important;
}

/* ==========================================================================
   09. VERDANT CANOPY — Biophilic Eco-Island & Asymmetric Leaf Geometry
   ========================================================================== */
html[data-site-template="09-verdant-canopy"] {
    --mc-primary: #15803d;
    --mc-primary-rgb: 21, 128, 61;
    --mc-primary-dark: #166534;
    --mc-teal: #c2410c;
    --mc-teal-rgb: 194, 65, 12;
    --mc-teal-dark: #9a3412;
    --mc-navy: #1c1917;
    --mc-sand: #f2f9f4;
    --mc-surface: #ffffff;
    --mc-border: #bbf7d0;
    --mc-muted: #57534e;
    --mc-radius: 1.25rem;
    --mc-radius-sm: .75rem;
    --site-topbar-bg: #14532d;
    --site-topbar-text: #dcfce7;
    --site-nav-bg: #ffffff;
    --site-nav-text: #1c1917;
    --site-nav-active: #15803d;
    --site-nav-border: #bbf7d0;
    --site-footer-bg: #14532d;
    --site-footer-text: #dcfce7;
}
html[data-site-template="09-verdant-canopy"] .tpl-eco-header {
    border-bottom: 2px solid #bbf7d0;
}
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .card,
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .category-card,
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .quick-card,
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .stat-tile,
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .tpl-eco-frame {
    border-radius: 1.85rem .45rem 1.85rem .45rem;
}
html[data-site-template="09-verdant-canopy"][data-site-radius="rounded"] .svcc-grid.svcc-mode-list .category-card.svcc-card {
    border-radius: 0 !important;
}
html[data-site-template="09-verdant-canopy"] .tpl-eco-report-btn {
    background: var(--mc-teal);
    border-color: var(--mc-teal);
}
html[data-site-template="09-verdant-canopy"] .card:hover,
html[data-site-template="09-verdant-canopy"] .category-card:hover {
    border-color: var(--mc-primary);
}
html[data-site-template="09-verdant-canopy"] .tpl-sec-verdant-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .85rem;
    border-radius: 1.2rem .3rem;
    background: rgba(var(--mc-primary-rgb), .12);
    color: var(--mc-primary-dark);
    font-weight: 700;
}
html[data-inner-banner="gradient"][data-site-template="09-verdant-canopy"] .page-hero.tpl-ph-verdant {
    background: transparent;
    padding: 1.5rem 0 0;
}
html[data-inner-banner="gradient"][data-site-template="09-verdant-canopy"] .page-hero.tpl-ph-verdant::after { display: none; }
html[data-inner-banner="gradient"][data-site-template="09-verdant-canopy"] .tpl-ph-verdant-card {
    background: linear-gradient(135deg, #14532d, var(--mc-primary) 65%, #047857);
    border-radius: 2.2rem .55rem;
    padding: 2.5rem 2.25rem;
    border: 2px solid #bbf7d0;
}
html[data-site-template="09-verdant-canopy"] .tpl-eco-prefooter {
    background: linear-gradient(125deg, #dcfce7, #fef3c7);
    border: 1px solid #bbf7d0;
    border-radius: 2rem .5rem;
    color: var(--mc-navy);
}

/* ==========================================================================
   10. NOCTURNE LUXE — Dark-Mode Cyber-Aurora Smart-City HUD
   ========================================================================== */
html[data-site-template="10-nocturne-luxe"] {
    --mc-primary: #38bdf8;
    --mc-primary-rgb: 56, 189, 248;
    --mc-primary-dark: #0284c7;
    --mc-teal: #fbbf24;
    --mc-teal-rgb: 251, 191, 36;
    --mc-teal-dark: #d97706;
    --mc-navy: #f8fafc;
    --mc-sand: #060a14;
    --mc-surface: #0e1627;
    --mc-border: rgba(56, 189, 248, .22);
    --mc-muted: #94a3b8;
    --site-topbar-bg: #03060d;
    --site-topbar-text: #cbd5e1;
    --site-nav-bg: rgba(6, 10, 20, .88);
    --site-nav-text: #f8fafc;
    --site-nav-active: #38bdf8;
    --site-nav-border: rgba(56, 189, 248, .22);
    --site-footer-bg: #040710;
    --site-footer-text: #cbd5e1;
    --bs-body-bg: #060a14;
    --bs-body-color: #e2e8f0;
    --bs-card-bg: #0e1627;
    --bs-card-color: #e2e8f0;
    --bs-border-color: rgba(56, 189, 248, .20);
}
html[data-site-template="10-nocturne-luxe"] body {
    background-color: #060a14;
    background-image:
        radial-gradient(circle at 14% 12%, rgba(56, 189, 248, .14), transparent 36%),
        radial-gradient(circle at 86% 24%, rgba(251, 191, 36, .10), transparent 34%),
        radial-gradient(circle at 50% 80%, rgba(14, 165, 233, .08), transparent 42%);
    color: #e2e8f0;
}
html[data-site-template="10-nocturne-luxe"] .site-header,
html[data-site-template="10-nocturne-luxe"] .tpl-nocturne-header,
html[data-site-template="10-nocturne-luxe"] .citizen-topbar {
    background: var(--site-nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--site-nav-border);
}
html[data-site-template="10-nocturne-luxe"] .site-header .nav-link,
html[data-site-template="10-nocturne-luxe"] .site-header .brand-name,
html[data-site-template="10-nocturne-luxe"] .citizen-topbar .brand-name {
    color: var(--site-nav-text);
}
html[data-site-template="10-nocturne-luxe"] .site-header .nav-link.active,
html[data-site-template="10-nocturne-luxe"] .site-header .nav-link:hover,
html[data-site-template="10-nocturne-luxe"] .site-header .dropdown-mega:hover > .nav-link,
html[data-site-template="10-nocturne-luxe"] .site-header .dropdown-mega.is-hover-open > .nav-link,
html[data-site-template="10-nocturne-luxe"] .site-header .show > .nav-link {
    color: var(--site-nav-active);
    background: rgba(56, 189, 248, .14);
}
html[data-site-template="10-nocturne-luxe"] .site-header .navbar-toggler {
    filter: invert(1) brightness(2);
}
html[data-site-template="10-nocturne-luxe"] .tpl-nocturne-hero {
    min-height: var(--site-hero-min-height);
    background: radial-gradient(circle at 20% 25%, rgba(56, 189, 248, .22), transparent 45%),
                radial-gradient(circle at 82% 70%, rgba(251, 191, 36, .16), transparent 46%),
                linear-gradient(155deg, #03060d 0%, #070d1c 58%, #0c1730 100%);
    border-bottom: 1px solid rgba(56, 189, 248, .25);
}
html[data-site-template="10-nocturne-luxe"] .tpl-nocturne-hud {
    background: rgba(8, 13, 27, .76);
    border: 1px solid rgba(56, 189, 248, .32);
    border-radius: var(--mc-radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .1);
}
html[data-site-template="10-nocturne-luxe"] .tpl-sec-nocturne .section-title::after {
    background: linear-gradient(90deg, var(--mc-primary), var(--mc-teal));
}
html[data-site-template="10-nocturne-luxe"] .card,
html[data-site-template="10-nocturne-luxe"] .category-card,
html[data-site-template="10-nocturne-luxe"] .quick-dock,
html[data-site-template="10-nocturne-luxe"] .quick-card,
html[data-site-template="10-nocturne-luxe"] .stat-tile,
html[data-site-template="10-nocturne-luxe"] .quickpay-strip,
html[data-site-template="10-nocturne-luxe"] .tele-card.tele-card-modern,
html[data-site-template="10-nocturne-luxe"] .tele-card.tele-card-modern.tele-air,
html[data-site-template="10-nocturne-luxe"] .tele-card.tele-card-modern.tele-sea,
html[data-site-template="10-nocturne-luxe"] .mc-filter-pills,
html[data-site-template="10-nocturne-luxe"] .project-card-modern,
html[data-site-template="10-nocturne-luxe"] .place-card,
html[data-site-template="10-nocturne-luxe"] .exec-leader-card,
html[data-site-template="10-nocturne-luxe"] .exec-member-card,
html[data-site-template="10-nocturne-luxe"] .sitting-card-modern,
html[data-site-template="10-nocturne-luxe"] .fin-report-card,
html[data-site-template="10-nocturne-luxe"] .dir-card-modern,
html[data-site-template="10-nocturne-luxe"] .dir-emergency-tile,
html[data-site-template="10-nocturne-luxe"] .mc-summary-card,
html[data-site-template="10-nocturne-luxe"] .svc-card-modern,
html[data-site-template="10-nocturne-luxe"] .svcc-sidebar-card,
html[data-site-template="10-nocturne-luxe"] .svcc-help-card,
html[data-site-template="10-nocturne-luxe"] .svcc-active-cat-banner,
html[data-site-template="10-nocturne-luxe"] .svcc-toolbar,
html[data-site-template="10-nocturne-luxe"] .svcc-grid.svcc-mode-list,
html[data-site-template="10-nocturne-luxe"] .svcc-card,
html[data-site-template="10-nocturne-luxe"] .svcc-howto,
html[data-site-template="10-nocturne-luxe"] .svcc-empty,
html[data-site-template="10-nocturne-luxe"] .svcd-glance-card,
html[data-site-template="10-nocturne-luxe"] .svcd-card,
html[data-site-template="10-nocturne-luxe"] .svcd-cert-card,
html[data-site-template="10-nocturne-luxe"] .svcd-apply-card,
html[data-site-template="10-nocturne-luxe"] .mc-qp-empty,
html[data-site-template="10-nocturne-luxe"] .mc-qp-summary,
html[data-site-template="10-nocturne-luxe"] .tender-card-modern,
html[data-site-template="10-nocturne-luxe"] .pub-listing-card,
html[data-site-template="10-nocturne-luxe"] .contact-channel-card,
html[data-site-template="10-nocturne-luxe"] .contact-assist-link,
html[data-site-template="10-nocturne-luxe"] .tpl-vista-panel,
html[data-site-template="10-nocturne-luxe"] .modal-content,
html[data-site-template="10-nocturne-luxe"] .dropdown-menu,
html[data-site-template="10-nocturne-luxe"] .mega-menu {
    background: rgba(14, 22, 39, .92) !important;
    color: #e2e8f0 !important;
    border-color: rgba(56, 189, 248, .22) !important;
}
html[data-site-template="10-nocturne-luxe"] .category-card,
html[data-site-template="10-nocturne-luxe"] .pub-card,
html[data-site-template="10-nocturne-luxe"] .stat-tile {
    position: relative;
    overflow: hidden;
}
html[data-site-template="10-nocturne-luxe"] .category-card::before,
html[data-site-template="10-nocturne-luxe"] .pub-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .75), rgba(251, 191, 36, .6), transparent);
}
html[data-site-template="10-nocturne-luxe"] .tele-card.tele-card-modern .tele-metric {
    background: rgba(10, 16, 30, .85);
    border-color: rgba(56, 189, 248, .18);
}
html[data-site-template="10-nocturne-luxe"] .tele-card.tele-card-modern .val,
html[data-site-template="10-nocturne-luxe"] .project-card-modern h6,
html[data-site-template="10-nocturne-luxe"] .place-card .fw-bold,
html[data-site-template="10-nocturne-luxe"] .section-title,
html[data-site-template="10-nocturne-luxe"] .quick-card,
html[data-site-template="10-nocturne-luxe"] .exec-leader-name,
html[data-site-template="10-nocturne-luxe"] .exec-member-name,
html[data-site-template="10-nocturne-luxe"] .sitting-title,
html[data-site-template="10-nocturne-luxe"] .dir-card-title,
html[data-site-template="10-nocturne-luxe"] .mc-summary-val,
html[data-site-template="10-nocturne-luxe"] .pub-date-day,
html[data-site-template="10-nocturne-luxe"] .pub-list-title,
html[data-site-template="10-nocturne-luxe"] .svc-title-link,
html[data-site-template="10-nocturne-luxe"] .svcc-card-title a,
html[data-site-template="10-nocturne-luxe"] .svcc-sidebar-head,
html[data-site-template="10-nocturne-luxe"] .svcc-count-badge,
html[data-site-template="10-nocturne-luxe"] .svcd-glance-val,
html[data-site-template="10-nocturne-luxe"] .svcd-kv-val,
html[data-site-template="10-nocturne-luxe"] .svcd-doc-title,
html[data-site-template="10-nocturne-luxe"] .svcd-step-title,
html[data-site-template="10-nocturne-luxe"] .tender-title {
    color: #f8fafc !important;
}
html[data-site-template="10-nocturne-luxe"] .mc-pill:not(.active),
html[data-site-template="10-nocturne-luxe"] .att-download-row,
html[data-site-template="10-nocturne-luxe"] .pub-date-box,
html[data-site-template="10-nocturne-luxe"] .tender-metrics,
html[data-site-template="10-nocturne-luxe"] .svc-code-pill,
html[data-site-template="10-nocturne-luxe"] .svc-chip:not(.is-free),
html[data-site-template="10-nocturne-luxe"] .svcc-code,
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill:not(.is-free):not(.is-fast):not(.is-cert),
html[data-site-template="10-nocturne-luxe"] .svcc-view-toggle,
html[data-site-template="10-nocturne-luxe"] .svcc-howto-step,
html[data-site-template="10-nocturne-luxe"] .svcc-howto-icon,
html[data-site-template="10-nocturne-luxe"] .svcc-cat-count,
html[data-site-template="10-nocturne-luxe"] .svcc-banner-clear,
html[data-site-template="10-nocturne-luxe"] .svcd-doc-item,
html[data-site-template="10-nocturne-luxe"] .svcd-doc-ico,
html[data-site-template="10-nocturne-luxe"] .svcd-timeline-node:not(.is-accent):not(.is-complete) {
    background-color: #16223a !important;
    color: #e2e8f0 !important;
    border-color: rgba(56, 189, 248, .22) !important;
}
html[data-site-template="10-nocturne-luxe"] .mc-filter-pills .btn:not(.active) { color: #cbd5e1; }
html[data-site-template="10-nocturne-luxe"] .mc-quick-pill {
    background: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .25);
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .list-group-item,
html[data-site-template="10-nocturne-luxe"] .table {
    background-color: #0e1627 !important;
    color: #e2e8f0 !important;
    border-color: rgba(56, 189, 248, .16) !important;
}
html[data-site-template="10-nocturne-luxe"] .list-group-item-action:hover {
    background-color: #16223a !important;
    color: #38bdf8 !important;
}
html[data-site-template="10-nocturne-luxe"] .mega-menu {
    --mega-accent: #38bdf8;
    border-top-color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .mega-header {
    border-bottom-color: rgba(56, 189, 248, .16);
    background: rgba(15, 23, 42, .55);
}
html[data-site-template="10-nocturne-luxe"] .mega-eyebrow,
html[data-site-template="10-nocturne-luxe"] .mega-link .mega-desc {
    color: #94a3b8 !important;
}
html[data-site-template="10-nocturne-luxe"] .mega-link {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    border-color: transparent !important;
}
html[data-site-template="10-nocturne-luxe"] .mega-link:hover,
html[data-site-template="10-nocturne-luxe"] .mega-link:focus-visible,
html[data-site-template="10-nocturne-luxe"] .mega-link.is-active {
    background-color: rgba(56, 189, 248, .10) !important;
    border-color: rgba(56, 189, 248, .24) !important;
    color: #38bdf8 !important;
}
html[data-site-template="10-nocturne-luxe"] .mega-link .mega-icon {
    background: rgba(56, 189, 248, .14);
    border-color: rgba(56, 189, 248, .25);
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .mega-link:hover .mega-icon,
html[data-site-template="10-nocturne-luxe"] .mega-link:focus-visible .mega-icon,
html[data-site-template="10-nocturne-luxe"] .mega-link.is-active .mega-icon {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #090e1a;
}
html[data-site-template="10-nocturne-luxe"] .bg-white,
html[data-site-template="10-nocturne-luxe"] .bg-light,
html[data-site-template="10-nocturne-luxe"] .text-bg-light {
    background-color: #16223a !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .text-muted { color: #94a3b8 !important; }
html[data-site-template="10-nocturne-luxe"] .pub-card h3,
html[data-site-template="10-nocturne-luxe"] .news-card h3,
html[data-site-template="10-nocturne-luxe"] .stat-tile .num,
html[data-site-template="10-nocturne-luxe"] .form-label {
    color: #f8fafc !important;
}
html[data-site-template="10-nocturne-luxe"] .form-control,
html[data-site-template="10-nocturne-luxe"] .form-select,
html[data-site-template="10-nocturne-luxe"] .input-group-text {
    background-color: #0f172a;
    border-color: rgba(56, 189, 248, .28);
    color: #f8fafc;
}
html[data-site-template="10-nocturne-luxe"] .form-control::placeholder { color: #94a3b8; }
html[data-inner-banner="gradient"][data-site-template="10-nocturne-luxe"] .page-hero:not(.has-banner-photo),
html[data-site-template="10-nocturne-luxe"] .site-footer {
    background: radial-gradient(circle at 22% 28%, rgba(56, 189, 248, .18), transparent 44%),
                radial-gradient(circle at 80% 72%, rgba(251, 191, 36, .12), transparent 42%),
                linear-gradient(135deg, #02050c, #060a14 60%, #0e1627);
    border-top: 2px solid rgba(56, 189, 248, .45);
}
html[data-site-template="10-nocturne-luxe"] .hero-grad-1,
html[data-site-template="10-nocturne-luxe"] .hero-grad-2,
html[data-site-template="10-nocturne-luxe"] .hero-grad-3 {
    background:
        radial-gradient(circle at 22% 28%, rgba(56, 189, 248, .25), transparent 44%),
        radial-gradient(circle at 78% 65%, rgba(251, 191, 36, .18), transparent 46%),
        linear-gradient(140deg, #020617 0%, #090e1a 55%, #0f172a 100%);
}
html[data-site-template="10-nocturne-luxe"] [data-svc-accent="1"] { --svc-accent: #818cf8; --svc-accent-rgb: 129, 140, 248; }
html[data-site-template="10-nocturne-luxe"] [data-svc-accent="4"] { --svc-accent: #34d399; --svc-accent-rgb: 52, 211, 153; }
html[data-site-template="10-nocturne-luxe"] .svcc-cat-link,
html[data-site-template="10-nocturne-luxe"] .svcc-filter-item {
    color: #cbd5e1;
}
html[data-site-template="10-nocturne-luxe"] .svcc-cat-link:hover,
html[data-site-template="10-nocturne-luxe"] .svcc-filter-item:hover {
    color: #f8fafc;
}
html[data-site-template="10-nocturne-luxe"] .svcc-cat-link.active,
html[data-site-template="10-nocturne-luxe"] .svcc-filter-item.active {
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .svcc-cat-link.active .svcc-cat-count,
html[data-site-template="10-nocturne-luxe"] .svcc-filter-item.active .svcc-cat-count {
    background-color: #0e1627 !important;
    color: #38bdf8 !important;
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-free {
    background: rgba(45, 212, 191, .16);
    color: #5eead4;
    border-color: rgba(45, 212, 191, .30);
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-fast {
    background: rgba(251, 191, 36, .16);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, .30);
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-cert {
    background: rgba(129, 140, 248, .18);
    color: #c7d2fe;
    border-color: rgba(129, 140, 248, .32);
}
html[data-site-template="10-nocturne-luxe"] .svcd-empty-docs {
    background: rgba(45, 212, 191, .14);
    color: #5eead4;
    border-color: rgba(45, 212, 191, .28);
}
html[data-site-template="10-nocturne-luxe"] .svcc-detail-link {
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .svcc-grid.svcc-mode-list .svcc-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}
html[data-site-template="10-nocturne-luxe"] .svcc-grid.svcc-mode-list .category-card.svcc-card::before {
    display: none !important;
}
html[data-site-template="10-nocturne-luxe"] .svcc-grid.svcc-mode-list .svcc-card + .svcc-card {
    border-top: 1px solid rgba(56, 189, 248, .18) !important;
}
html[data-site-template="10-nocturne-luxe"] .svcc-grid.svcc-mode-list .svcc-card:hover {
    background: rgba(56, 189, 248, .07) !important;
}
html[data-site-template="10-nocturne-luxe"] .mc-input-icon,
html[data-site-template="10-nocturne-luxe"] .mc-verify-guide-item,
html[data-site-template="10-nocturne-luxe"] .mc-gw-pill {
    background-color: #16223a !important;
    border-color: rgba(56, 189, 248, .24) !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-valid {
    background: linear-gradient(125deg, rgba(45, 212, 191, .16), rgba(14, 22, 39, .92) 72%);
}
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-expired {
    background: linear-gradient(125deg, rgba(251, 191, 36, .16), rgba(14, 22, 39, .92) 72%);
}
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-revoked {
    background: linear-gradient(125deg, rgba(248, 113, 113, .16), rgba(14, 22, 39, .92) 72%);
}
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-valid .mc-verify-status-title { color: #5eead4; }
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-expired .mc-verify-status-title { color: #fcd34d; }
html[data-site-template="10-nocturne-luxe"] .mc-verify-banner.is-revoked .mc-verify-status-title { color: #fca5a5; }
html[data-site-template="10-nocturne-luxe"] .issc-vote-btn:not(.is-voted) {
    background: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .28);
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-status-open {
    background: rgba(251, 191, 36, .16); color: #fcd34d; border-color: rgba(251, 191, 36, .30);
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-status-progress {
    background: rgba(129, 140, 248, .18); color: #c7d2fe; border-color: rgba(129, 140, 248, .32);
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-status-resolved {
    background: rgba(45, 212, 191, .16); color: #5eead4; border-color: rgba(45, 212, 191, .30);
}
html[data-site-template="10-nocturne-luxe"] .svcc-meta-pill.is-overdue {
    background: rgba(248, 113, 113, .18); color: #fca5a5; border-color: rgba(248, 113, 113, .32);
}
html[data-site-template="10-nocturne-luxe"] .slot-btn {
    border-color: rgba(56, 189, 248, .22);
    color: #e2e8f0;
}
html[data-site-template="10-nocturne-luxe"] .slot.available,
html[data-site-template="10-nocturne-luxe"] .slot-btn.available { background: rgba(45, 212, 191, .14); color: #99f6e4; }
html[data-site-template="10-nocturne-luxe"] .slot-btn.night.available { background: rgba(129, 140, 248, .18); color: #c7d2fe; }
html[data-site-template="10-nocturne-luxe"] .slot.booked,
html[data-site-template="10-nocturne-luxe"] .slot-btn.booked { background: rgba(248, 113, 113, .18); color: #fca5a5; }
html[data-site-template="10-nocturne-luxe"] .slot.blocked,
html[data-site-template="10-nocturne-luxe"] .slot-btn.blocked { background: rgba(251, 191, 36, .18); color: #fcd34d; }
html[data-site-template="10-nocturne-luxe"] .slot.past,
html[data-site-template="10-nocturne-luxe"] .slot-btn.past { background: #0f172a; color: #64748b; }
html[data-site-template="10-nocturne-luxe"] .cnc-stat-box,
html[data-site-template="10-nocturne-luxe"] .cnc-decision-item,
html[data-site-template="10-nocturne-luxe"] .cnc-rollcall-row,
html[data-site-template="10-nocturne-luxe"] .cnc-att-row,
html[data-site-template="10-nocturne-luxe"] .sitc-date-box {
    background-color: #16223a !important;
    border-color: rgba(56, 189, 248, .22) !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .cnc-live-banner {
    background: linear-gradient(135deg, rgba(248, 113, 113, .14), rgba(14, 22, 39, .92) 60%) !important;
    border-color: rgba(248, 113, 113, .38) !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .cnc-vote-row {
    border-bottom-color: rgba(56, 189, 248, .18) !important;
}
html[data-site-template="10-nocturne-luxe"] .cnc-vote-row:hover,
html[data-site-template="10-nocturne-luxe"] .cnc-att-row:hover {
    background: rgba(56, 189, 248, .08) !important;
}
html[data-site-template="10-nocturne-luxe"] .sitc-date-day {
    color: #38bdf8;
}
html[data-site-template="10-nocturne-luxe"] .newsx-spotlight,
html[data-site-template="10-nocturne-luxe"] .newsx-hero,
html[data-site-template="10-nocturne-luxe"] .newsd-figure,
html[data-site-template="10-nocturne-luxe"] .newsd-pager-link {
    background-color: #0e1627 !important;
    border-color: rgba(56, 189, 248, .22) !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .newsx-mini-card,
html[data-site-template="10-nocturne-luxe"] .finc-att-row,
html[data-site-template="10-nocturne-luxe"] .prcc-metrics,
html[data-site-template="10-nocturne-luxe"] .prjc-list-thumb,
html[data-site-template="10-nocturne-luxe"] .newsd-figcaption,
html[data-site-template="10-nocturne-luxe"] .newsd-article-foot,
html[data-site-template="10-nocturne-luxe"] .newsd-prose blockquote,
html[data-site-template="10-nocturne-luxe"] .newsd-prose th,
html[data-site-template="10-nocturne-luxe"] .newsd-share-btn,
html[data-site-template="10-nocturne-luxe"] .proj-milestone-node {
    background-color: #16223a !important;
    border-color: rgba(56, 189, 248, .22) !important;
    color: #e2e8f0 !important;
}
html[data-site-template="10-nocturne-luxe"] .newsd-share-btn:hover {
    background-color: #0284c7 !important;
    color: #fff !important;
}
html[data-site-template="10-nocturne-luxe"] .newsx-hero-title,
html[data-site-template="10-nocturne-luxe"] .newsx-card-title,
html[data-site-template="10-nocturne-luxe"] .newsd-prose,
html[data-site-template="10-nocturne-luxe"] .newsd-prose h2,
html[data-site-template="10-nocturne-luxe"] .newsd-prose h3,
html[data-site-template="10-nocturne-luxe"] .newsd-prose h4 {
    color: #f8fafc !important;
}
html[data-site-template="10-nocturne-luxe"] .newsd-deadline-banner {
    background: linear-gradient(125deg, rgba(251, 191, 36, .14), rgba(14, 22, 39, .92) 70%) !important;
    border-color: rgba(251, 191, 36, .34) !important;
}
html[data-site-template="10-nocturne-luxe"] .newsd-rel-item {
    border-bottom-color: rgba(56, 189, 248, .18) !important;
}
html[data-site-template="10-nocturne-luxe"] .proj-milestone-item.is-done .proj-milestone-node {
    background-color: rgba(45, 212, 191, .2) !important;
    border-color: #2dd4bf !important;
    color: #5eead4 !important;
}
html[data-site-template="10-nocturne-luxe"] .proj-milestone-item.is-active .proj-milestone-node {
    background-color: rgba(56, 189, 248, .22) !important;
    border-color: #38bdf8 !important;
    color: #7dd3fc !important;
}
