:root {
    --pure-deep: #082f3c;
    --pure-teal: #0d554f;
    --pure-mint: #b6f4dc;
    --pure-surface: #f8fffd;
    --pure-border: #d7e6e5;
}

.site-navbar.water-nav,
body.client-shell .navbar.portal-nav,
body.admin-shell .top-header {
    top: .6rem;
    border: 1px solid var(--pure-border);
    border-radius: 1.35rem;
    background: var(--pure-surface) !important;
    box-shadow: 0 .65rem 1.8rem #082f3c18;
}

.site-navbar.water-nav {
    width: min(1240px, calc(100% - 1.5rem));
    margin: .6rem auto;
    padding: .55rem .7rem;
}

.water-nav .navbar-nav { padding: .25rem; border-radius: 1rem; background: #e9f4f1; }
.water-nav .navbar-nav .nav-link.active { color: white; background: var(--pure-teal); border-radius: .75rem; }
.water-nav .btn-ocean { border-radius: 2rem; }

body.client-shell .navbar.portal-nav {
    width: min(1240px, calc(100% - 1.5rem));
    margin-inline: auto;
}

body.admin-shell .top-header { margin-inline: clamp(.65rem, 1.6vw, 1.5rem); }

.site-shell {
    background: radial-gradient(ellipse at top left, #e1f5ef, transparent 42rem), #f5faf9;
}

.site-shell .site-page-hero {
    background: radial-gradient(ellipse at 90% 35%, #206c70, transparent 62%), var(--pure-deep);
    color: white;
    padding-block: clamp(2rem, 5vw, 4rem);
}

.site-page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.05em; }
.site-page-hero p, .site-page-hero p.text-muted { color: #d4e8e9 !important; }
.site-page-hero .section-eyebrow { color: var(--pure-mint); background: #ffffff18; }
.site-shell .site-card { border-color: var(--pure-border); }
.site-shell .site-footer { background: var(--pure-deep); }

.portal-auth-card { border-top: 4px solid #38a997; }
.portal-auth-card .portal-auth-title { color: var(--pure-deep); font-weight: 800; }
.portal-auth-card .btn-primary { background: var(--pure-teal); border-color: var(--pure-teal); }
.portal-auth-card .btn-primary:hover { background: var(--pure-deep); border-color: var(--pure-deep); }

.water-nav :focus-visible, .portal-nav :focus-visible {
    outline: 3px solid #147c72;
    outline-offset: 3px;
}

.site-shell .site-page-hero {
    padding-block: clamp(1.6rem, 3.5vw, 3rem);
    background: linear-gradient(115deg, #e2f6ef, #f3fbfa 68%, #e6f1f4);
    color: var(--pure-deep);
    border-block: 1px solid var(--pure-border);
}
.site-shell .site-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.site-shell .site-page-hero p { color: #405c64 !important; }
.site-shell .site-page-hero .section-eyebrow {
    background: transparent;
    color: var(--pure-teal);
    padding: 0;
}
.site-shell .site-page-hero + section { padding-block: clamp(1.25rem, 3vw, 2.5rem) !important; }
.site-shell .site-card { border-radius: 1rem; box-shadow: 0 .25rem 1rem #082f3c0c; }
.site-shell .site-card:hover { transform: none; }
.site-shell .site-footer { margin-top: 1.5rem; padding-block: 2rem 1.25rem; }
.site-shell .site-footer a { overflow-wrap: anywhere; }
.site-shell .wa-float { width: 3rem; height: 3rem; right: 1rem; bottom: 1rem; }
.client-shell .dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.client-shell .client-dash .dash-hero { padding: clamp(1rem, 2.4vw, 1.75rem); }
.client-shell .dash-panel[id] { scroll-margin-top: 6rem; }
.admin-shell .top-header .breadcrumb { margin: .15rem 0 0; font-size: .82rem; }
.admin-shell .top-header .page-title { line-height: 1.2; margin: 0; }
@media (max-width: 991.98px) {
    .water-nav .navbar-collapse.show { max-height: 72dvh; overflow-y: auto; }
    .water-nav .navbar-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; }
    .water-nav .navbar-collapse > .d-flex { padding: .25rem; }
}
@media (max-width: 575.98px) {
    .site-shell .water-nav, .client-shell .navbar.portal-nav {
        width: calc(100% - 1rem);
        border-radius: 1rem;
    }
    .site-shell .site-footer { padding-bottom: 4rem; }
    .admin-shell .top-header { border-radius: 1rem; }
}
