:root {
    --ink: #17211f;
    --ink-2: #24302d;
    --muted: #64706b;
    --muted-2: #87928d;
    --soft: #f5f7f1;
    --soft-2: #eef3ea;
    --graphite: #17211f;
    --graphite-2: #1f2a27;
    --surface: #ffffff;
    --surface-2: #fbfcf8;
    --line: #e1e7da;
    --line-strong: #cfd9c9;
    --teal: #0f766e;
    --teal-dark: #0a5e57;
    --teal-soft: #e3f6f1;
    --mint: #2dd4bf;
    --gold: #b88735;
    --gold-soft: #fff2d8;
    --blue: #2563eb;
    --red: #b42318;
    --shadow-sm: 0 6px 18px rgba(23, 33, 31, 0.05);
    --shadow-md: 0 16px 38px rgba(23, 33, 31, 0.09);
    --shadow-lg: 0 26px 64px rgba(23, 33, 31, 0.15);
}

/* Final full-site commercial redesign pass. */
:root {
    --pms-ink: #07111f;
    --pms-ink-2: #102033;
    --pms-text: #182333;
    --pms-muted: #677386;
    --pms-blue: #3168f4;
    --pms-blue-2: #0f4bd8;
    --pms-cyan: #20c7d9;
    --pms-gold: #c4934c;
    --pms-paper: #f5f7fb;
    --pms-paper-2: #eef3f8;
    --pms-line: rgba(7, 17, 31, 0.10);
}

body.public-page:not(.admin-shell) {
    background: var(--pms-paper);
    color: var(--pms-text);
}

body.public-page:not(.admin-shell) .btn {
    border-radius: 4px;
    letter-spacing: 0;
}

body.public-page:not(.admin-shell) .btn-primary {
    background: var(--pms-blue);
    color: #fff;
    box-shadow: 0 16px 40px rgba(49, 104, 244, 0.26);
}

body.public-page:not(.admin-shell) .btn-primary:hover {
    background: var(--pms-blue-2);
}

body.public-page:not(.admin-shell) .btn-light {
    border: 1px solid var(--pms-line);
    background: #fff;
    color: var(--pms-ink);
}

body.public-page:not(.admin-shell) .icon-tile {
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(49, 104, 244, 0.12), rgba(32, 199, 217, 0.12));
    color: var(--pms-blue);
}

body.public-page:not(.admin-shell) .badge {
    border-radius: 3px;
    font-weight: 900;
}

body.public-page:not(.admin-shell) .form-control {
    min-height: 48px;
    border-radius: 4px;
}

body.public-page:not(.admin-shell) .form-control:focus {
    border-color: rgba(49, 104, 244, 0.64);
    box-shadow: 0 0 0 4px rgba(49, 104, 244, 0.12);
}

@media (min-width: 1024px) {
    body.public-page:not(.admin-shell) .site-header {
        background: rgba(4, 10, 17, 0.34);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(12px);
    }

    body.public-page:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(4, 10, 17, 0.92);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    }

    body.public-page:not(.admin-shell) .site-header .h-16 {
        height: 72px;
    }

    body.public-page:not(.admin-shell) .nav-link {
        border-radius: 0;
        background: transparent !important;
        padding: 24px 14px 17px;
        color: rgba(255, 255, 255, 0.82);
    }

    body.public-page:not(.admin-shell) .nav-link:hover,
    body.public-page:not(.admin-shell) .nav-link.is-active {
        color: #fff;
    }

    body.public-page:not(.admin-shell) .nav-link::after {
        content: "";
        display: block;
        width: 0;
        height: 2px;
        margin: 8px auto 0;
        background: #fff;
        transition: width 0.18s ease;
    }

    body.public-page:not(.admin-shell) .nav-link:hover::after,
    body.public-page:not(.admin-shell) .nav-link.is-active::after {
        width: 22px;
    }

    body.public-page:not(.admin-shell) main {
        overflow: hidden;
        background: #fff;
    }

    body.public-page:not(.admin-shell) .section-band {
        padding: 112px 0;
    }

    body.public-page:not(.admin-shell) .section-heading {
        max-width: 1180px;
        margin: 0 auto 52px;
        text-align: left;
    }

    body.public-page:not(.admin-shell) .section-heading h2 {
        max-width: 900px;
        margin-left: 0;
        margin-right: 0;
        color: var(--pms-ink);
        font-size: 46px;
        line-height: 1.15;
    }

    body.public-page:not(.admin-shell) .section-heading p {
        max-width: 760px;
        margin-left: 0;
        margin-right: 0;
        color: var(--pms-muted);
        font-size: 17px;
        line-height: 1.86;
    }

    body.public-page:not(.admin-shell) .eyebrow,
    body.public-page:not(.admin-shell) .section-heading .eyebrow {
        color: var(--pms-blue);
    }

    body.public-page:not(.admin-shell) .eyebrow::before,
    body.public-page:not(.admin-shell) .section-heading .eyebrow::before {
        width: 34px;
        background: linear-gradient(90deg, var(--pms-blue), var(--pms-cyan));
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero {
        min-height: 640px;
        background:
            linear-gradient(90deg, rgba(4, 10, 17, 0.94), rgba(4, 10, 17, 0.58)),
            linear-gradient(135deg, #0b1625 0%, #0d2236 48%, #f0f4f8 100%);
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero::before {
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(4, 10, 17, 0.96) 0%, rgba(4, 10, 17, 0.68) 48%, rgba(4, 10, 17, 0.22) 100%),
            repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 96px);
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        z-index: 1;
        height: 160px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96));
        pointer-events: none;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero-media {
        z-index: 0;
        opacity: 0.46;
        filter: saturate(1.05) contrast(1.05);
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero-inner {
        position: relative;
        z-index: 2;
        display: flex;
        min-height: 640px;
        flex-direction: column;
        justify-content: center;
        padding-top: 132px;
        padding-bottom: 100px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-title {
        max-width: 1120px;
        font-size: clamp(56px, 5vw, 78px);
        line-height: 1.05;
        font-weight: 950;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-summary {
        max-width: 820px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 19px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-kicker {
        border-radius: 3px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.09);
    }

    body.public-page:not(.admin-shell) .feature-card,
    body.public-page:not(.admin-shell) .solution-card,
    body.public-page:not(.admin-shell) .content-card,
    body.public-page:not(.admin-shell) .download-card,
    body.public-page:not(.admin-shell) .article-panel,
    body.public-page:not(.admin-shell) .help-sidebar,
    body.public-page:not(.admin-shell) .form-panel {
        border: 1px solid var(--pms-line);
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 18px 54px rgba(10, 24, 39, 0.07);
    }

    body.public-page:not(.admin-shell) .feature-card:hover,
    body.public-page:not(.admin-shell) .solution-card:hover,
    body.public-page:not(.admin-shell) .content-card:hover {
        transform: translateY(-3px);
        border-color: rgba(49, 104, 244, 0.26);
        box-shadow: 0 26px 68px rgba(10, 24, 39, 0.10);
    }

    body.public-page:not(.admin-shell) .feature-card::after {
        inset: auto 0 0;
        height: 3px;
        border-radius: 0;
        background: linear-gradient(90deg, var(--pms-blue), var(--pms-cyan), var(--pms-gold));
    }

    /* Homepage: make every lower section visibly part of the redesign. */
    body.page-home:not(.admin-shell) .hero-slide,
    body.page-home:not(.admin-shell) .hero-content {
        min-height: 100vh;
    }

    body.page-home:not(.admin-shell) .hero-slide {
        height: 100vh;
    }

    body.page-home:not(.admin-shell) .hero-slide::before {
        background:
            linear-gradient(90deg, rgba(3, 10, 17, 0.90) 0%, rgba(3, 10, 17, 0.62) 45%, rgba(3, 10, 17, 0.16) 100%),
            repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 110px);
    }

    body.page-home:not(.admin-shell) .hero-content h1 {
        max-width: 790px;
        font-size: clamp(58px, 5.2vw, 80px);
        line-height: 1.05;
    }

    body.page-home:not(.admin-shell) .hero-content p {
        max-width: 720px;
        font-size: 20px;
        line-height: 1.86;
    }

    body.page-home:not(.admin-shell) .hero-metrics {
        max-width: 820px;
        border-width: 1px 0;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.20);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    body.page-home:not(.admin-shell) .hero-metric {
        background: transparent;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    body.page-home:not(.admin-shell) .hero-metric:last-child {
        border-right: 0;
    }

    body.page-home:not(.admin-shell) .home-flow-section {
        background: #fff !important;
    }

    body.page-home:not(.admin-shell) .home-flow-layout {
        display: grid;
        grid-template-columns: 0.86fr 1.14fr;
        gap: 76px;
        align-items: center;
    }

    body.page-home:not(.admin-shell) .home-section-copy h2 {
        margin: 16px 0 0;
        color: var(--pms-ink);
        font-size: 48px;
        line-height: 1.14;
        font-weight: 950;
    }

    body.page-home:not(.admin-shell) .home-section-copy p {
        margin-top: 20px;
        color: var(--pms-muted);
        font-size: 17px;
        line-height: 1.9;
    }

    body.page-home:not(.admin-shell) .operation-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border: 1px solid var(--pms-line);
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 22px 64px rgba(10, 24, 39, 0.08);
    }

    body.page-home:not(.admin-shell) .operation-item {
        min-height: 220px;
        border-right: 1px solid var(--pms-line);
        border-bottom: 1px solid var(--pms-line);
        background: #fff;
        padding: 36px;
    }

    body.page-home:not(.admin-shell) .operation-item:nth-child(2n) {
        border-right: 0;
    }

    body.page-home:not(.admin-shell) .operation-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    body.page-home:not(.admin-shell) .home-advantage-section {
        background: var(--pms-paper) !important;
    }

    body.page-home:not(.admin-shell) .home-advantage-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    body.page-home:not(.admin-shell) .home-advantage-grid .feature-card {
        min-height: 280px;
        padding: 34px;
    }

    body.page-home:not(.admin-shell) .home-advantage-grid .feature-card:first-child {
        grid-column: span 2;
        background:
            linear-gradient(135deg, rgba(49, 104, 244, 0.16), rgba(32, 199, 217, 0.08)),
            #fff;
    }

    body.page-home:not(.admin-shell) .home-product-section {
        background: var(--pms-ink) !important;
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-product-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-product-section .section-heading p {
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-product-lanes {
        display: grid;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-home:not(.admin-shell) .home-product-lane {
        display: grid;
        grid-template-columns: 110px 68px minmax(0, 1fr) auto;
        gap: 28px;
        align-items: center;
        min-height: 154px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        color: #fff;
        box-shadow: none;
    }

    body.page-home:not(.admin-shell) .home-product-lane:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    body.page-home:not(.admin-shell) .home-product-lane-index {
        color: rgba(255, 255, 255, 0.28);
        font-size: 38px;
        font-weight: 950;
    }

    body.page-home:not(.admin-shell) .home-product-lane h3,
    body.page-home:not(.admin-shell) .home-product-lane p,
    body.page-home:not(.admin-shell) .home-product-lane .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.86) !important;
    }

    body.page-home:not(.admin-shell) .home-lane-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-weight: 900;
    }

    body.page-home:not(.admin-shell) .home-solution-section {
        background: #fff !important;
    }

    body.page-home:not(.admin-shell) .home-solution-stack {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card {
        min-height: 360px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 42px;
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card:last-child {
        border-right: 0;
    }

    body.page-home:not(.admin-shell) .home-trust-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.22), transparent 46%),
            var(--pms-ink) !important;
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-trust-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-trust-section .section-heading p {
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-trust-metrics {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-home:not(.admin-shell) .home-trust-metrics .content-card {
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.page-home:not(.admin-shell) .home-trust-section .content-card {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-roadmap-section {
        background: var(--pms-paper) !important;
    }

    body.page-home:not(.admin-shell) .home-update-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        border: 1px solid var(--pms-line);
        background: #fff;
    }

    body.page-home:not(.admin-shell) .home-update-row .content-card {
        min-height: 250px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        box-shadow: none;
    }

    /* Features page. */
    body.page-features:not(.admin-shell) .public-architecture-section {
        background: #fff !important;
    }

    body.page-features:not(.admin-shell) .public-architecture-section > div > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid var(--pms-line);
        background: #fff;
    }

    body.page-features:not(.admin-shell) .public-architecture-section .feature-card {
        min-height: 370px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 46px;
        box-shadow: none;
    }

    body.page-features:not(.admin-shell) .public-architecture-section .feature-card:last-child {
        border-right: 0;
    }

    body.page-features:not(.admin-shell) .public-module-section {
        background: var(--pms-ink) !important;
        color: #fff;
    }

    body.page-features:not(.admin-shell) .public-module-section .section-heading h2,
    body.page-features:not(.admin-shell) .public-module-section .section-heading p {
        color: #fff;
    }

    body.page-features:not(.admin-shell) .public-module-section > div > .grid {
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card {
        grid-template-columns: minmax(0, 1fr) 440px !important;
        gap: 56px;
        align-items: center;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        color: #fff;
        padding: 48px 0;
        box-shadow: none;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card:hover {
        transform: none;
        box-shadow: none;
    }

    body.page-features:not(.admin-shell) .public-module-section .module-order {
        display: inline-block;
        margin-right: 16px;
        color: rgba(255, 255, 255, 0.26);
        font-size: 34px;
        font-weight: 950;
        vertical-align: middle;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card h3 {
        display: inline;
        color: #fff;
        font-size: 32px;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card p,
    body.page-features:not(.admin-shell) .public-module-section .content-card .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.74) !important;
    }

    body.page-features:not(.admin-shell) .public-module-section .badge {
        background: rgba(255, 255, 255, 0.10);
        color: rgba(255, 255, 255, 0.82);
    }

    body.page-features:not(.admin-shell) .public-module-section .screen-frame {
        min-height: 310px;
        border-color: rgba(255, 255, 255, 0.14);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.06);
    }

    body.page-features:not(.admin-shell) .public-difference-section {
        background: var(--pms-paper) !important;
    }

    body.page-features:not(.admin-shell) .public-difference-section > div > .grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-features:not(.admin-shell) .public-difference-section .feature-card {
        min-height: 270px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 34px;
        box-shadow: none;
    }

    body.page-features:not(.admin-shell) .public-demo-section,
    body.page-solutions:not(.admin-shell) .solution-form-section,
    body.page-about:not(.admin-shell) .about-vision-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.25), transparent 50%),
            var(--pms-ink) !important;
    }

    body.page-features:not(.admin-shell) .public-roadmap-section {
        background: #fff !important;
    }

    body.page-features:not(.admin-shell) .public-roadmap-section .timeline-line {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    body.page-features:not(.admin-shell) .public-roadmap-section .timeline-line::before,
    body.page-features:not(.admin-shell) .public-roadmap-section .timeline-point {
        display: none;
    }

    body.page-features:not(.admin-shell) .public-roadmap-section .content-card {
        margin-left: 0 !important;
        min-height: 260px;
        border-left: 5px solid var(--pms-blue);
        padding: 30px;
    }

    /* Solutions page. */
    body.page-solutions:not(.admin-shell) .solution-tabs-section {
        background: var(--pms-paper) !important;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section .mb-8 {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: visible;
        border: 1px solid var(--pms-line);
        background: #fff;
        padding: 0 !important;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section .tab-button {
        min-height: 78px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        justify-content: center;
        background: #fff;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section .tab-button.is-active {
        background: var(--pms-ink);
        color: #fff;
        box-shadow: none;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section article > .grid {
        grid-template-columns: minmax(0, 1fr) 430px !important;
        gap: 0;
        margin-top: 34px;
        border: 1px solid var(--pms-line);
        background: #fff;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section .content-card {
        min-height: 560px;
        border: 0;
        border-radius: 0;
        padding: 54px;
        box-shadow: none;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section aside.content-card {
        background: var(--pms-ink);
        color: #fff;
    }

    body.page-solutions:not(.admin-shell) .solution-tabs-section aside.content-card h3,
    body.page-solutions:not(.admin-shell) .solution-tabs-section aside.content-card p {
        color: #fff;
    }

    body.page-solutions:not(.admin-shell) .solution-guarantee-section {
        background: #fff !important;
    }

    body.page-solutions:not(.admin-shell) .solution-guarantee-section > div > .grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-solutions:not(.admin-shell) .solution-guarantee-section .feature-card {
        min-height: 230px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 30px;
        box-shadow: none;
    }

    /* Downloads page. */
    body.page-downloads:not(.admin-shell) .download-main-hero {
        background:
            linear-gradient(90deg, rgba(4, 10, 17, 0.94), rgba(4, 10, 17, 0.56)),
            url("../images/hero-pms.png") center / cover;
    }

    body.page-downloads:not(.admin-shell) .download-hero-inner {
        min-height: 680px;
        grid-template-columns: minmax(0, 0.94fr) 500px;
    }

    body.page-downloads:not(.admin-shell) .download-focus {
        border-radius: 6px;
        border-color: rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.10);
        padding: 44px;
    }

    body.page-downloads:not(.admin-shell) .download-list-section {
        background: var(--pms-paper) !important;
    }

    body.page-downloads:not(.admin-shell) .download-list-section > div > .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.page-downloads:not(.admin-shell) .download-card {
        grid-template-columns: 80px minmax(0, 1fr) 180px;
        min-height: 178px;
        padding: 34px;
    }

    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) {
        background: var(--pms-ink);
        color: #fff;
    }

    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) h2,
    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) p {
        color: #fff;
    }

    /* Help page. */
    body.page-help:not(.admin-shell) .help-category-section {
        background: #fff !important;
    }

    body.page-help:not(.admin-shell) .help-category-section > div > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-help:not(.admin-shell) .help-category-section .feature-card {
        min-height: 330px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 46px;
        box-shadow: none;
    }

    body.page-help:not(.admin-shell) .help-list-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.22), transparent 48%),
            var(--pms-ink) !important;
        color: #fff;
    }

    body.page-help:not(.admin-shell) .help-list-section .section-heading h2,
    body.page-help:not(.admin-shell) .help-list-section .section-heading p {
        color: #fff;
    }

    body.page-help:not(.admin-shell) .help-list-section > div > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.page-help:not(.admin-shell) .help-list-section .content-card {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    body.page-help:not(.admin-shell) .help-list-section .content-card h3,
    body.page-help:not(.admin-shell) .help-list-section .content-card p {
        color: rgba(255, 255, 255, 0.84);
    }

    body.page-help:not(.admin-shell) .help-article-section {
        background: var(--pms-paper) !important;
    }

    body.page-help:not(.admin-shell) .article-panel,
    body.page-help:not(.admin-shell) .help-sidebar {
        border-radius: 6px;
    }

    /* About page. */
    body.page-about:not(.admin-shell) .about-story-section {
        background: #fff !important;
    }

    body.page-about:not(.admin-shell) .about-story-section > div > .grid {
        grid-template-columns: 1.25fr 0.9fr 0.9fr !important;
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-about:not(.admin-shell) .about-story-section .content-card {
        min-height: 350px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 46px;
        box-shadow: none;
    }

    body.page-about:not(.admin-shell) .about-timeline-section {
        background: var(--pms-ink) !important;
        color: #fff;
    }

    body.page-about:not(.admin-shell) .about-timeline-section .section-heading h2,
    body.page-about:not(.admin-shell) .about-timeline-section .section-heading p {
        color: #fff;
    }

    body.page-about:not(.admin-shell) .about-timeline-section > div > .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-about:not(.admin-shell) .about-timeline-section .content-card {
        min-height: 290px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        color: #fff;
        padding: 34px;
        box-shadow: none;
    }

    body.page-about:not(.admin-shell) .about-timeline-section .content-card h3,
    body.page-about:not(.admin-shell) .about-timeline-section .content-card p {
        color: #fff;
    }

    body.page-about:not(.admin-shell) .about-honors-section {
        background: var(--pms-paper) !important;
    }

    body.page-about:not(.admin-shell) .about-honors-section .content-card {
        display: grid;
        grid-template-rows: 250px auto;
        border-radius: 6px;
    }

    body.page-about:not(.admin-shell) .about-strength-section {
        background: #fff !important;
    }

    body.page-about:not(.admin-shell) .about-strength-section > div > .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid var(--pms-line);
    }

    body.page-about:not(.admin-shell) .about-strength-section .feature-card {
        min-height: 280px;
        border: 0;
        border-right: 1px solid var(--pms-line);
        border-radius: 0;
        padding: 34px;
        box-shadow: none;
    }

    /* Contact page. */
    body.page-contact:not(.admin-shell) .contact-channels-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.22), transparent 48%),
            var(--pms-ink) !important;
        color: #fff;
    }

    body.page-contact:not(.admin-shell) .contact-channels-section > div > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.02);
    }

    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card {
        min-height: 260px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent !important;
        color: #fff;
        padding: 38px;
        box-shadow: none;
    }

    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card h2,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card p,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card a {
        color: #fff !important;
    }

    body.page-contact:not(.admin-shell) .contact-form-section {
        background: var(--pms-paper) !important;
    }

    body.page-contact:not(.admin-shell) .contact-form-section > div {
        grid-template-columns: minmax(0, 1fr) 500px !important;
        gap: 28px;
        align-items: stretch;
    }

    body.page-contact:not(.admin-shell) .contact-form-section .content-card,
    body.page-contact:not(.admin-shell) .contact-form-section form.content-card {
        min-height: 580px;
        border-radius: 6px;
    }

    body.page-contact:not(.admin-shell) .contact-form-section .content-card:first-child {
        padding: 0;
    }

    body.page-contact:not(.admin-shell) .contact-form-section form.content-card {
        padding: 38px;
        background: #fff;
    }

    /* Footer and floating service. */
    body.public-page:not(.admin-shell) .footer-band {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.24), transparent 46%),
            #02070d;
    }

    body.public-page:not(.admin-shell) .footer-band > .grid {
        grid-template-columns: 1.55fr 0.9fr 1.1fr 1fr !important;
        padding-top: 78px;
        padding-bottom: 78px;
    }

    body.public-page:not(.admin-shell) .floating-bar {
        gap: 10px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.public-page:not(.admin-shell) .floating-action {
        width: 66px;
        min-height: 74px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 16px 42px rgba(17, 30, 40, 0.16);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
    text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

table {
    border-collapse: collapse;
}

.text-ink {
    color: var(--ink);
}

.text-teal {
    color: var(--teal);
}

.text-mint {
    color: var(--mint);
}

.text-amberx {
    color: var(--gold);
}

.bg-panel {
    background: var(--soft);
}

.bg-teal {
    background: var(--teal);
}

.site-header {
    background: rgba(23, 33, 31, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(23, 33, 31, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(23, 33, 31, 0.22);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.brand-symbol {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f766e, #16836d);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 10px 22px rgba(15, 118, 110, 0.28);
}

.brand-text {
    font-size: 18px;
    letter-spacing: 0;
}

.brand-mark.has-logo {
    gap: 0;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: 42px;
    object-fit: contain;
}

.site-header .brand-logo {
    max-width: 176px;
    height: 40px;
}

.footer-band .brand-logo {
    max-width: 210px;
    height: 48px;
}

.brand-mark.text-ink {
    color: var(--ink);
}

.nav-link,
.mobile-nav-link {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
    white-space: nowrap;
}

.nav-dropdown {
    position: relative;
    padding: 8px 0;
    margin: -8px 0;
}

.nav-link-parent {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-link-parent svg {
    width: 14px;
    height: 14px;
}

.nav-dropdown-panel {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 80;
    display: grid;
    min-width: 210px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(23, 33, 31, 0.98);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 9px;
    border-radius: 8px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 850;
}

.nav-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.nav-dropdown-link svg {
    width: 16px;
    height: 16px;
    color: var(--mint);
}

.nav-dropdown-empty {
    display: block;
    padding: 10px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 13px;
    font-weight: 800;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu {
    background: rgba(23, 33, 31, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 48px rgba(23, 33, 31, 0.28);
}

.mobile-nav-link {
    display: block;
    margin: 4px 16px;
    padding: 12px 14px;
}

.mobile-nav-child {
    margin-left: 34px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.23);
}

.btn-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.28);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 7px 18px rgba(23, 33, 31, 0.04);
}

.btn-light:hover {
    border-color: rgba(15, 118, 110, 0.30);
    color: var(--teal-dark);
    box-shadow: 0 12px 24px rgba(23, 33, 31, 0.08);
}

.btn-danger {
    background: #fff;
    border-color: #f0c7c3;
    color: var(--red);
}

.btn-danger:hover {
    background: #fff5f4;
}

.icon-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.hero-slide {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
    background: var(--graphite);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(23, 33, 31, 0.93) 0%, rgba(23, 33, 31, 0.78) 42%, rgba(23, 33, 31, 0.18) 100%),
        linear-gradient(180deg, rgba(23, 33, 31, 0.06) 0%, rgba(23, 33, 31, 0.56) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 680px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 74px;
}

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    padding: 8px 13px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    font-weight: 900;
}

.hero-kicker svg,
.page-kicker svg {
    width: 15px;
    height: 15px;
    color: var(--mint);
}

.hero-content h1 {
    max-width: 850px;
    margin: 22px 0 0;
    font-size: 64px;
    line-height: 1.06;
    font-weight: 950;
}

.hero-content p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.82;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-metrics {
    display: grid;
    max-width: 760px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-metric {
    min-height: 86px;
    padding: 18px;
    background: rgba(23, 33, 31, 0.36);
}

.hero-metric strong {
    display: block;
    font-size: 25px;
    font-weight: 950;
}

.hero-metric span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.hero-dot.is-active {
    background: #fff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--graphite);
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 33, 31, 0.93), rgba(23, 33, 31, 0.76)),
        linear-gradient(180deg, rgba(15, 118, 110, 0.22), transparent 42%);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.30;
}

.page-hero-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 124px 16px 72px;
}

.page-breadcrumb {
    color: rgba(255, 255, 255, 0.60);
    font-size: 13px;
    font-weight: 800;
}

.page-hero-inner .page-kicker {
    display: flex;
    width: fit-content;
    margin-top: 28px;
}

.page-title {
    max-width: 900px;
    margin: 22px 0 0;
    font-size: 50px;
    line-height: 1.14;
    font-weight: 950;
}

.page-summary {
    max-width: 780px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.82;
}

.section-band {
    padding: 76px 0;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading .eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
}

.section-heading .eyebrow::before,
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--teal);
}

.section-heading h2 {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: 40px;
    font-weight: 950;
    line-height: 1.18;
}

.section-heading p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.82;
}

.feature-card,
.solution-card,
.content-card,
.admin-card,
.login-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.feature-card,
.solution-card,
.content-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.solution-card:hover,
.content-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.30);
    box-shadow: var(--shadow-md);
}

.feature-card {
    position: relative;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    opacity: 0;
    transition: opacity 0.18s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.icon-tile {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    color: var(--teal);
    background: var(--teal-soft);
}

.icon-tile svg {
    width: 22px;
    height: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.badge-green {
    background: #dff7ea;
    color: #166534;
}

.badge-blue {
    background: #e0ecff;
    color: #1d4ed8;
}

.badge-gray {
    background: #eef1eb;
    color: #4e5a55;
}

.badge-orange {
    background: var(--gold-soft);
    color: #9a5d12;
}

.badge-red {
    background: #fee2e2;
    color: var(--red);
}

.form-control {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-control::placeholder {
    color: #9aa39e;
}

.form-control:focus {
    border-color: rgba(15, 118, 110, 0.64);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.form-hint {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.field-label {
    display: grid;
    gap: 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 900;
}

.field-label em {
    color: var(--muted-2);
    font-style: normal;
    font-weight: 600;
}

.alert {
    margin-bottom: 18px;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
}

.alert-success {
    background: #dff7ea;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: var(--red);
}

.image-placeholder {
    display: grid;
    min-height: 180px;
    place-items: center;
    border: 1px dashed #c6d2bf;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(184, 135, 53, 0.08)),
        #f7faf4;
    color: #68746d;
    text-align: center;
}

.image-placeholder svg {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
}

.operation-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow-sm);
}

.operation-item {
    min-height: 118px;
    background: #fff;
    padding: 22px;
}

.operation-item strong {
    display: block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 950;
}

.operation-item p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.module-row {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.screen-frame {
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ink);
}

.screen-frame img,
.screen-frame .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.screen-frame .image-placeholder {
    border: 0;
    border-radius: 0;
}

.timeline-line {
    position: relative;
}

.timeline-line::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--line);
}

.timeline-point {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
}

.cta-section {
    background:
        linear-gradient(110deg, rgba(15, 118, 110, 0.20), transparent 42%),
        var(--graphite);
    color: #fff;
}

.cta-copy {
    max-width: 680px;
}

.cta-copy h2 {
    margin-top: 14px;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 950;
}

.cta-copy p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.82;
}

.form-panel {
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.article-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.article-cover {
    width: 100%;
    max-height: 360px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.article-content {
    margin-top: 22px;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 2;
}

.help-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.help-sidebar h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 950;
}

.help-side-link {
    display: block;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
}

.help-side-link:hover {
    background: var(--teal-soft);
    color: var(--teal-dark);
}

.help-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.download-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(23, 33, 31, 0.94), rgba(23, 33, 31, 0.78)),
        url("../images/hero-pms.png") center / cover;
    color: #fff;
}

.download-hero-inner {
    display: grid;
    max-width: 1280px;
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 42px;
    align-items: center;
    margin: 0 auto;
    padding: 124px 16px 72px;
}

.download-focus {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    padding: 26px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.download-focus h2 {
    margin: 18px 0 0;
    font-size: 28px;
    line-height: 1.22;
    font-weight: 950;
}

.download-focus p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

.download-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.download-specs span {
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    padding: 6px 10px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
}

.download-focus .download-specs span {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.download-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.download-card > .btn,
.download-card > span.btn {
    white-space: nowrap;
}

.download-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.download-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 950;
}

.download-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-band {
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.16), transparent 46%),
        var(--graphite);
    color: #fff;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.qr-box {
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
}

.qr-box img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.floating-service {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 70;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
}

.floating-bar {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(23, 33, 31, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(23, 33, 31, 0.16);
    backdrop-filter: blur(12px);
}

.floating-action {
    display: grid;
    width: 70px;
    min-height: 78px;
    place-items: center;
    gap: 6px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.floating-action:last-child {
    border-bottom: 0;
}

.floating-action svg {
    width: 25px;
    height: 25px;
    color: #b90808;
}

.floating-action:hover {
    background: #fff5f5;
    color: #b90808;
}

.floating-panel {
    position: absolute;
    right: 88px;
    display: flex;
    min-width: 260px;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(23, 33, 31, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    padding: 18px 20px;
    color: #b90808;
    box-shadow: 0 20px 48px rgba(23, 33, 31, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-panel-phone {
    top: 0;
}

.floating-panel-qr {
    top: 78px;
    min-width: 168px;
    min-height: 168px;
    justify-content: center;
    padding: 14px;
}

.floating-panel svg {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
}

.floating-panel strong {
    display: block;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
}

.floating-panel-qr img {
    width: 138px;
    height: 138px;
    border-radius: 8px;
    object-fit: cover;
}

.floating-panel-qr span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.floating-service:has(.floating-action:nth-child(1):hover) .floating-panel-phone,
.floating-service:has(.floating-panel-phone:hover) .floating-panel-phone,
.floating-service:has(.floating-action:nth-child(2):hover) .floating-panel-qr,
.floating-service:has(.floating-panel-qr:hover) .floating-panel-qr {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.floating-service.is-phone-open .floating-panel-phone,
.floating-service.is-qr-open .floating-panel-qr {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.floating-top svg {
    color: #b90808;
}

.tab-button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tab-button.is-active {
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
}

.login-shell {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.18), transparent 48%),
        var(--graphite);
}

.login-wrap {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: stretch;
}

.login-visual {
    position: relative;
    display: flex;
    min-height: 560px;
    align-items: flex-end;
    overflow: hidden;
    padding: 56px;
    color: #fff;
}

.login-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.login-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 18%, rgba(23, 33, 31, 0.86));
}

.login-visual-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.login-visual-content h1 {
    margin: 18px 0 0;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 950;
}

.login-visual-content p {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.82;
}

.login-side {
    display: grid;
    place-items: center;
    padding: 28px;
    background: #f5f7f1;
}

.login-panel {
    width: 100%;
    max-width: 430px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.admin-shell {
    min-height: 100vh;
    background: #f4f7f0;
}

.admin-layout {
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--graphite);
    color: #fff;
    box-shadow: 18px 0 40px rgba(23, 33, 31, 0.12);
}

.admin-sidebar-inner {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 20px 16px;
}

.admin-nav {
    display: grid;
    gap: 18px;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-nav-group {
    display: grid;
    gap: 5px;
}

.admin-nav-label {
    padding: 0 10px 4px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    font-weight: 900;
}

.admin-nav-link {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 9px 10px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-weight: 800;
    transition: background 0.18s ease, color 0.18s ease;
}

.admin-nav-link svg {
    width: 17px;
    height: 17px;
    color: rgba(45, 212, 191, 0.78);
}

.admin-nav-link:hover,
.admin-nav-link.is-active {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 22px;
    backdrop-filter: blur(16px);
}

.admin-topbar h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.admin-topbar p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-pill {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 7px 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-user-pill svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
}

.admin-content {
    padding: 22px;
}

.admin-card {
    border-color: #dfe6d8;
    box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06);
}

.admin-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
}

.admin-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 950;
}

.admin-stat {
    position: relative;
    min-height: 126px;
    overflow: hidden;
    padding: 18px;
}

.admin-stat::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--teal);
}

.admin-stat-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.admin-stat-value {
    margin-top: 12px;
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.admin-stat-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--teal-soft);
    color: var(--teal);
}

.admin-stat-icon svg {
    width: 21px;
    height: 21px;
}

.admin-quick-card {
    display: block;
    border: 1px solid #e6e8e1;
    border-radius: 10px;
    background: #fbfcf8;
    padding: 16px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-quick-card:hover {
    border-color: rgba(15, 118, 110, .35);
    box-shadow: 0 10px 24px rgba(23, 33, 31, .08);
    transform: translateY(-2px);
}

.admin-quick-card strong {
    font-weight: 950;
}

.admin-quick-card p {
    margin-top: 8px;
    color: var(--muted);
}

.admin-nav-subtitle {
    margin: 12px 12px 7px;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    font-weight: 900;
}

.admin-nav-details {
    margin-top: 6px;
}

.admin-nav-details summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 10px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 900;
    transition: background .18s ease, color .18s ease;
}

.admin-nav-details summary::after {
    content: "›";
    margin-left: auto;
    color: rgba(255, 255, 255, .42);
    font-size: 18px;
    line-height: 1;
    transition: transform .18s ease, color .18s ease;
}

.admin-nav-details summary::-webkit-details-marker {
    display: none;
}

.admin-nav-details summary:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.admin-nav-details summary svg {
    width: 17px;
    height: 17px;
    color: rgba(45, 212, 191, .78);
}

.admin-nav-details summary span {
    min-width: 0;
    flex: 1;
}

.admin-nav-details[open] summary {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.admin-nav-details[open] summary::after {
    color: rgba(255, 255, 255, .75);
    transform: rotate(90deg);
}

.admin-nav-details .admin-nav-link {
    min-height: 34px;
    margin: 5px 0 0 18px;
    padding: 8px 10px;
    font-size: 13px;
}

.admin-table {
    width: 100%;
    text-align: left;
    font-size: 13px;
}

.admin-table thead {
    background: #f2f5ee;
    color: var(--muted);
}

.admin-table th,
.admin-table td {
    border-top: 1px solid var(--line);
    padding: 12px 14px;
    vertical-align: top;
}

.admin-table th {
    border-top: 0;
    font-weight: 950;
}

.admin-table tbody tr:hover {
    background: #fbfcf8;
}

.admin-shell textarea.form-control {
    resize: vertical;
}

.admin-form-grid {
    display: grid;
    gap: 16px;
}

.preview-image {
    display: block;
    width: min(180px, 100%);
    height: 118px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.admin-card-desc {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.admin-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
}

.admin-logo-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}

.admin-logo-card-head {
    display: grid;
    gap: 5px;
}

.admin-logo-card-head strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
}

.admin-logo-card-head span {
    color: var(--muted);
    font-size: 13px;
}

.admin-logo-preview {
    display: grid;
    min-height: 104px;
    place-items: center;
    overflow: hidden;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background-color: #f8fafc;
    background-image:
        linear-gradient(45deg, rgba(148, 163, 184, .16) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(148, 163, 184, .16) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, .16) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, .16) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.admin-logo-preview img {
    display: block;
    width: auto;
    max-width: min(280px, 92%);
    max-height: 76px;
    object-fit: contain;
}

.admin-logo-preview.is-empty span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .admin-logo-grid {
        grid-template-columns: 1fr;
    }
}

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

.opacity-50 {
    opacity: 0.5;
}

@media (min-width: 1024px) {
    .admin-layout {
        display: grid;
        grid-template-columns: 264px minmax(0, 1fr);
    }
}

@media (max-width: 1023px) {
    .admin-sidebar-inner {
        position: relative;
        height: auto;
    }

    .admin-nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .admin-nav-group {
        min-width: 190px;
    }

    .admin-topbar {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-actions {
        flex-wrap: wrap;
    }

    .login-wrap {
        grid-template-columns: 1fr;
    }

    .login-visual {
        min-height: 360px;
        padding: 38px 24px;
    }

    .download-hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 108px;
    }

    .download-focus {
        max-width: 560px;
    }

    .help-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        max-width: 148px;
        height: 36px;
    }

    .site-header .brand-logo {
        max-width: 146px;
        height: 36px;
    }

    .floating-service {
        right: 10px;
    }

    .floating-action {
        width: 56px;
        min-height: 62px;
        font-size: 12px;
    }

    .floating-action svg {
        width: 21px;
        height: 21px;
    }

    .floating-panel {
        right: 68px;
        min-width: 210px;
        padding: 14px 16px;
    }

    .floating-panel strong {
        font-size: 17px;
    }

    .floating-panel-phone {
        top: 0;
    }

    .floating-panel-qr {
        top: 62px;
        min-width: 142px;
        min-height: 142px;
    }

    .floating-panel-qr img {
        width: 116px;
        height: 116px;
    }

    .hero-slide,
    .hero-content {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 86px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.12;
    }

    .hero-content p,
    .page-summary {
        font-size: 16px;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero-inner {
        padding-top: 108px;
        padding-bottom: 58px;
    }

    .page-title,
    .login-visual-content h1 {
        font-size: 34px;
    }

    .section-band {
        padding: 56px 0;
    }

    .section-heading h2,
    .cta-copy h2 {
        font-size: 30px;
    }

    .operation-strip {
        grid-template-columns: 1fr;
    }

    .module-row {
        grid-template-columns: 1fr;
    }

    .admin-content {
        padding: 16px;
    }

    .article-panel {
        padding: 22px;
    }

    .download-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .download-card > .btn,
    .download-card > span.btn {
        width: 100%;
    }

    .download-specs {
        gap: 6px;
    }

    .mobile-nav-child {
        margin-left: 26px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .download-focus h2 {
        font-size: 24px;
    }
}

/* Yiletoo-inspired visual direction for the public site.
   Keep boss-provided PHP content/data intact; only tune presentation. */
body:not(.admin-shell) {
    --brand-blue: #2f6bff;
    --brand-blue-dark: #1f55dc;
    --brand-cyan: #10d7d0;
    --ink: #101923;
    --graphite: #0f171d;
    --teal: #0f766e;
    --teal-dark: #0c5f5a;
    --soft: #f6f8fb;
    --line: #e5ebf0;
    background: #fff;
}

body:not(.admin-shell) .site-header {
    background: rgba(9, 17, 23, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

body:not(.admin-shell) .site-header.is-scrolled {
    background: rgba(10, 18, 25, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

body:not(.admin-shell) .site-header .h-16 {
    height: 72px;
}

body:not(.admin-shell) .site-header .brand-logo {
    max-width: 188px;
    height: 44px;
}

body:not(.admin-shell) .nav-link,
body:not(.admin-shell) .mobile-nav-link {
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 850;
}

body:not(.admin-shell) .nav-link {
    padding: 11px 16px;
}

body:not(.admin-shell) .nav-link:hover,
body:not(.admin-shell) .nav-link.is-active,
body:not(.admin-shell) .mobile-nav-link:hover,
body:not(.admin-shell) .mobile-nav-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

body:not(.admin-shell) .nav-dropdown-panel {
    border-radius: 16px;
    background: rgba(10, 18, 25, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

body:not(.admin-shell) .btn {
    min-height: 46px;
    border-radius: 10px;
    padding: 12px 19px;
    font-weight: 900;
}

body:not(.admin-shell) .btn-primary {
    background: var(--brand-blue);
    box-shadow: 0 18px 42px rgba(47, 107, 255, 0.32);
}

body:not(.admin-shell) .btn-primary:hover {
    background: var(--brand-blue-dark);
    box-shadow: 0 20px 46px rgba(47, 107, 255, 0.38);
}

body:not(.admin-shell) .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
}

body:not(.admin-shell) .hero-slide {
    min-height: 760px;
}

body:not(.admin-shell) .hero-slide::before {
    background:
        linear-gradient(90deg, rgba(6, 14, 20, 0.92) 0%, rgba(6, 14, 20, 0.72) 43%, rgba(6, 14, 20, 0.20) 100%),
        radial-gradient(circle at 18% 30%, rgba(47, 107, 255, 0.28), transparent 28%),
        linear-gradient(180deg, rgba(6, 14, 20, 0.10), rgba(6, 14, 20, 0.58));
}

body:not(.admin-shell) .hero-bg {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.02);
}

body:not(.admin-shell) .hero-content {
    min-height: 760px;
    padding-top: 112px;
    padding-bottom: 92px;
}

body:not(.admin-shell) .hero-kicker,
body:not(.admin-shell) .page-kicker {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body:not(.admin-shell) .hero-kicker svg,
body:not(.admin-shell) .page-kicker svg {
    color: var(--brand-cyan);
}

body:not(.admin-shell) .hero-content h1 {
    max-width: 760px;
    margin-top: 24px;
    font-size: clamp(56px, 5.4vw, 76px);
    line-height: 1.06;
    letter-spacing: 0;
}

body:not(.admin-shell) .hero-content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

body:not(.admin-shell) .hero-actions {
    gap: 14px;
    margin-top: 34px;
}

body:not(.admin-shell) .hero-metrics {
    max-width: 800px;
    margin-top: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
}

body:not(.admin-shell) .hero-metric {
    min-height: 94px;
    background: rgba(255, 255, 255, 0.04);
}

body:not(.admin-shell) .hero-metric strong {
    font-size: 28px;
}

body:not(.admin-shell) .hero-dot {
    width: 38px;
    height: 4px;
}

body:not(.admin-shell) .hero-dot.is-active {
    background: var(--brand-blue);
}

body:not(.admin-shell) .section-band {
    padding: 92px 0;
}

body:not(.admin-shell) .section-heading {
    max-width: 860px;
}

body:not(.admin-shell) .section-heading h2,
body:not(.admin-shell) .cta-copy h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.14;
}

body:not(.admin-shell) .section-heading .eyebrow,
body:not(.admin-shell) .eyebrow {
    color: var(--teal);
}

body:not(.admin-shell) .section-heading .eyebrow::before,
body:not(.admin-shell) .eyebrow::before {
    width: 28px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

body:not(.admin-shell) .operation-strip {
    gap: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body:not(.admin-shell) .operation-item,
body:not(.admin-shell) .feature-card,
body:not(.admin-shell) .solution-card,
body:not(.admin-shell) .content-card {
    border: 1px solid rgba(226, 235, 240, 0.94);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(16, 33, 48, 0.06);
}

body:not(.admin-shell) .operation-item {
    min-height: 148px;
    padding: 28px;
}

body:not(.admin-shell) .feature-card,
body:not(.admin-shell) .solution-card,
body:not(.admin-shell) .content-card {
    overflow: hidden;
}

body:not(.admin-shell) .feature-card:hover,
body:not(.admin-shell) .solution-card:hover,
body:not(.admin-shell) .content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 107, 255, 0.22);
    box-shadow: 0 24px 58px rgba(16, 33, 48, 0.10);
}

body:not(.admin-shell) .feature-card::after {
    inset: auto 0 0;
    height: 4px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), var(--teal));
}

body:not(.admin-shell) .icon-tile {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.10), rgba(16, 215, 208, 0.13));
    color: var(--teal);
}

body:not(.admin-shell) .icon-tile svg {
    width: 24px;
    height: 24px;
}

body:not(.admin-shell) .badge {
    border-radius: 999px;
    padding: 6px 12px;
}

body:not(.admin-shell) .floating-service {
    right: 24px;
    bottom: 34px;
}

body:not(.admin-shell) .floating-bar {
    overflow: visible;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body:not(.admin-shell) .floating-action {
    width: 66px;
    min-height: 76px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #53606a;
    box-shadow: 0 16px 42px rgba(17, 30, 40, 0.16);
}

body:not(.admin-shell) .floating-action:first-child {
    background: var(--brand-blue);
    color: #fff;
}

body:not(.admin-shell) .floating-action:hover {
    background: var(--brand-blue);
    color: #fff;
}

body:not(.admin-shell) .floating-top svg {
    color: currentColor;
}

@media (max-width: 1280px) {
    body:not(.admin-shell) .nav-link {
        padding-inline: 12px;
        font-size: 14px;
    }

    body:not(.admin-shell) .site-header .brand-logo {
        max-width: 168px;
    }
}

@media (max-width: 768px) {
    body:not(.admin-shell) .site-header .h-16 {
        height: 64px;
    }

    body:not(.admin-shell) .site-header .brand-logo {
        max-width: 146px;
        height: 36px;
    }

    body:not(.admin-shell) .hero-slide,
    body:not(.admin-shell) .hero-content {
        min-height: 690px;
    }

    body:not(.admin-shell) .hero-content {
        padding-top: 104px;
        padding-bottom: 74px;
    }

    body:not(.admin-shell) .hero-content h1 {
        font-size: 38px;
        line-height: 1.12;
    }

    body:not(.admin-shell) .hero-content p {
        font-size: 16px;
        line-height: 1.72;
    }

    body:not(.admin-shell) .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body:not(.admin-shell) .hero-actions .btn {
        width: 100%;
    }

    body:not(.admin-shell) .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-shell) .section-band {
        padding: 60px 0;
    }

    body:not(.admin-shell) .section-heading h2,
    body:not(.admin-shell) .cta-copy h2 {
        font-size: 30px;
    }

    body:not(.admin-shell) .operation-strip {
        gap: 12px;
    }

    body:not(.admin-shell) .operation-item {
        min-height: auto;
    }

    body:not(.admin-shell) .floating-service {
        right: 12px;
        bottom: 18px;
    }

    body:not(.admin-shell) .floating-action {
        width: 58px;
        min-height: 66px;
    }
}

@media (max-width: 768px) {
    body:not(.admin-shell) {
        overflow-x: hidden;
    }

    body:not(.admin-shell) .hero-content h1,
    body:not(.admin-shell) .page-title,
    body:not(.admin-shell) .section-heading h2 {
        display: block;
        width: min(100%, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body:not(.admin-shell) .hero-content h1 {
        font-size: 34px;
        line-height: 1.16;
    }

    body:not(.admin-shell) .page-title {
        font-size: 32px;
    }

    body:not(.admin-shell) .section-heading {
        max-width: calc(100vw - 32px);
    }

    body:not(.admin-shell) .section-heading h2 {
        font-size: 28px;
    }

    body:not(.admin-shell) .section-heading p {
        max-width: calc(100vw - 32px);
    }
}

/* PC-only natural homepage direction: closer to yiletoo's calm immersive first screen. */
@media (min-width: 1024px) {
    body:not(.admin-shell) .site-header {
        background: rgba(7, 13, 18, 0.38);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(8px);
    }

    body:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(7, 13, 18, 0.84);
        border-bottom-color: rgba(255, 255, 255, 0.10);
    }

    body:not(.admin-shell) .site-header .h-16 {
        height: 68px;
    }

    body:not(.admin-shell) .nav-link {
        border-radius: 0;
        padding: 22px 13px;
        background: transparent !important;
        color: rgba(255, 255, 255, 0.82);
    }

    body:not(.admin-shell) .nav-link:hover,
    body:not(.admin-shell) .nav-link.is-active {
        color: #fff;
    }

    body:not(.admin-shell) .nav-link::after {
        content: "";
        display: block;
        width: 0;
        height: 2px;
        margin: 8px auto 0;
        background: #fff;
        transition: width 0.18s ease;
    }

    body:not(.admin-shell) .nav-link:hover::after,
    body:not(.admin-shell) .nav-link.is-active::after {
        width: 22px;
    }

    body:not(.admin-shell) .site-header .btn {
        min-height: 46px;
        border-radius: 4px;
        padding-inline: 20px;
    }

    body:not(.admin-shell) .site-header .btn-primary {
        background: #3768f6;
        box-shadow: none;
    }

    body:not(.admin-shell) .site-header .btn-ghost {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.26);
    }

    body:not(.admin-shell) .hero-slide,
    body:not(.admin-shell) .hero-content {
        min-height: 100vh;
    }

    body:not(.admin-shell) .hero-slide {
        height: 100vh;
    }

    body:not(.admin-shell) .hero-slide::before {
        background:
            linear-gradient(90deg, rgba(3, 10, 16, 0.84) 0%, rgba(3, 10, 16, 0.58) 44%, rgba(3, 10, 16, 0.16) 100%),
            linear-gradient(180deg, rgba(3, 10, 16, 0.22) 0%, rgba(3, 10, 16, 0.36) 100%);
    }

    body:not(.admin-shell) .hero-bg {
        filter: saturate(1.04) contrast(1.02);
        transform: none;
    }

    body:not(.admin-shell) .hero-content {
        align-items: center;
        padding-top: 96px;
        padding-bottom: 96px;
    }

    body:not(.admin-shell) .hero-kicker {
        border-radius: 3px;
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.08);
        padding: 9px 14px;
    }

    body:not(.admin-shell) .hero-content h1 {
        max-width: 760px;
        margin-top: 26px;
        font-size: clamp(58px, 5.2vw, 76px);
        line-height: 1.06;
        font-weight: 950;
    }

    body:not(.admin-shell) .hero-content p {
        max-width: 690px;
        margin-top: 28px;
        font-size: 20px;
        line-height: 1.85;
    }

    body:not(.admin-shell) .hero-actions {
        margin-top: 34px;
    }

    body:not(.admin-shell) .hero-actions .btn {
        border-radius: 4px;
        min-width: 148px;
    }

    body:not(.admin-shell) .hero-metrics {
        max-width: 760px;
        margin-top: 42px;
        border-width: 1px 0;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.20);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    body:not(.admin-shell) .hero-metric {
        min-height: 88px;
        background: transparent;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    body:not(.admin-shell) .hero-metric:last-child {
        border-right: 0;
    }

    body:not(.admin-shell) .hero-dots {
        bottom: 36px;
    }

    body:not(.admin-shell) .hero-dot {
        width: 34px;
        height: 3px;
        border-radius: 0;
    }

    body:not(.admin-shell) .section-band {
        padding: 96px 0;
    }

    body:not(.admin-shell) .section-heading {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    body:not(.admin-shell) .section-heading h2 {
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
        font-size: 44px;
        line-height: 1.16;
    }

    body:not(.admin-shell) .section-heading p {
        margin-left: auto;
        margin-right: auto;
    }

    body:not(.admin-shell) .operation-strip {
        gap: 24px;
    }

    body:not(.admin-shell) .operation-item,
    body:not(.admin-shell) .feature-card,
    body:not(.admin-shell) .solution-card,
    body:not(.admin-shell) .content-card {
        border-radius: 10px;
        box-shadow: 0 14px 38px rgba(16, 33, 48, 0.055);
    }

    body:not(.admin-shell) .floating-service {
        right: 30px;
        bottom: 42px;
    }
}

/* PMS official site PC final pass: calmer product-site presentation. */
@media (min-width: 1024px) {
    body:not(.admin-shell) {
        background:
            linear-gradient(180deg, #ffffff 0, #ffffff 36%, #f6f8fb 100%);
        color: #07111f;
    }

    body:not(.admin-shell) main {
        background: #fff;
    }

    body:not(.admin-shell) .site-header {
        background: rgba(5, 12, 18, 0.42);
        box-shadow: none;
    }

    body:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(5, 12, 18, 0.88);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    }

    body:not(.admin-shell) .brand-logo {
        height: 38px;
    }

    body:not(.admin-shell) .btn {
        min-height: 46px;
        border-radius: 4px;
        padding: 0 20px;
        font-size: 14px;
        font-weight: 900;
    }

    body:not(.admin-shell) .btn-primary {
        background: #3168f4;
        box-shadow: 0 14px 34px rgba(49, 104, 244, 0.30);
    }

    body:not(.admin-shell) .btn-primary:hover {
        background: #255de6;
    }

    body:not(.admin-shell) .btn-ghost {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.34);
        background: rgba(255, 255, 255, 0.08);
    }

    body:not(.admin-shell) .btn-light {
        color: #102033;
        border-color: rgba(16, 32, 51, 0.10);
        background: #f6f8fb;
    }

    body:not(.admin-shell) .hero-slide::before {
        background:
            linear-gradient(90deg, rgba(3, 9, 15, 0.88) 0%, rgba(3, 9, 15, 0.66) 42%, rgba(3, 9, 15, 0.20) 100%),
            linear-gradient(180deg, rgba(3, 9, 15, 0.14) 0%, rgba(3, 9, 15, 0.54) 100%);
    }

    body:not(.admin-shell) .hero-content h1 {
        letter-spacing: 0;
        text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    }

    body:not(.admin-shell) .hero-metric strong {
        font-size: 27px;
        letter-spacing: 0;
    }

    body:not(.admin-shell) .page-hero {
        isolation: isolate;
        min-height: 540px;
        background: #071018 url("../images/hero-pms.png") center / cover no-repeat;
    }

    body:not(.admin-shell) .page-hero::before {
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(3, 9, 15, 0.88) 0%, rgba(3, 9, 15, 0.70) 50%, rgba(3, 9, 15, 0.26) 100%),
            linear-gradient(180deg, rgba(3, 9, 15, 0.24) 0%, rgba(3, 9, 15, 0.66) 100%);
    }

    body:not(.admin-shell) .page-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        z-index: 1;
        height: 120px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.98));
        opacity: 0.10;
        pointer-events: none;
    }

    body:not(.admin-shell) .page-hero-media {
        z-index: 0;
        opacity: 0.42;
        filter: saturate(1.04) contrast(1.03);
    }

    body:not(.admin-shell) .page-hero-inner {
        z-index: 2;
        max-width: 1280px;
        min-height: 540px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 118px;
        padding-bottom: 78px;
    }

    body:not(.admin-shell) .page-breadcrumb {
        color: rgba(255, 255, 255, 0.70);
    }

    body:not(.admin-shell) .page-kicker {
        border-radius: 4px;
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.10);
        color: rgba(255, 255, 255, 0.88);
        padding: 8px 13px;
    }

    body:not(.admin-shell) .page-title {
        max-width: 1080px;
        font-size: clamp(44px, 3.9vw, 58px);
        line-height: 1.12;
        text-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
    }

    body:not(.admin-shell) .page-summary {
        max-width: 790px;
        color: rgba(255, 255, 255, 0.82);
        font-size: 18px;
        line-height: 1.9;
    }

    body:not(.admin-shell) .section-band {
        position: relative;
        padding: 104px 0;
    }

    body:not(.admin-shell) .section-band.bg-white {
        background: #fff !important;
    }

    body:not(.admin-shell) .section-band.bg-\[\#fbfbf8\],
    body:not(.admin-shell) .section-band.bg-\[\#f3f6ef\] {
        background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%) !important;
    }

    body:not(.admin-shell) .section-heading {
        max-width: 860px;
        margin-bottom: 48px;
    }

    body:not(.admin-shell) .section-heading .eyebrow,
    body:not(.admin-shell) .eyebrow {
        color: #176dff;
        letter-spacing: 0;
    }

    body:not(.admin-shell) .section-heading .eyebrow::before,
    body:not(.admin-shell) .eyebrow::before {
        width: 26px;
        background: #176dff;
    }

    body:not(.admin-shell) .section-heading h2 {
        color: #07111f;
        font-size: 42px;
        letter-spacing: 0;
    }

    body:not(.admin-shell) .section-heading p {
        max-width: 720px;
        color: #5b6675;
        font-size: 16px;
    }

    body:not(.admin-shell) .operation-strip {
        max-width: 1160px;
        margin: 0 auto;
        gap: 0;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body:not(.admin-shell) .operation-item {
        min-height: 170px;
        border: 1px solid rgba(15, 31, 48, 0.08);
        border-right: 0;
        background:
            linear-gradient(180deg, #ffffff, #f9fbfd);
        padding: 30px 28px;
        box-shadow: none;
    }

    body:not(.admin-shell) .operation-item:first-child {
        border-radius: 8px 0 0 8px;
    }

    body:not(.admin-shell) .operation-item:last-child {
        border-right: 1px solid rgba(15, 31, 48, 0.08);
        border-radius: 0 8px 8px 0;
    }

    body:not(.admin-shell) .operation-item strong {
        color: #07111f;
        font-size: 18px;
    }

    body:not(.admin-shell) .operation-item p {
        color: #607083;
        font-size: 14px;
    }

    body:not(.admin-shell) .feature-card,
    body:not(.admin-shell) .solution-card,
    body:not(.admin-shell) .content-card,
    body:not(.admin-shell) .article-panel,
    body:not(.admin-shell) .help-sidebar,
    body:not(.admin-shell) .form-panel,
    body:not(.admin-shell) .download-card {
        border-color: rgba(15, 31, 48, 0.08);
        border-radius: 8px;
        box-shadow: 0 18px 48px rgba(12, 28, 44, 0.06);
    }

    body:not(.admin-shell) .feature-card,
    body:not(.admin-shell) .solution-card,
    body:not(.admin-shell) .content-card {
        background: rgba(255, 255, 255, 0.96);
    }

    body:not(.admin-shell) .feature-card:hover,
    body:not(.admin-shell) .solution-card:hover,
    body:not(.admin-shell) .content-card:hover {
        transform: translateY(-3px);
        border-color: rgba(49, 104, 244, 0.20);
        box-shadow: 0 24px 64px rgba(12, 28, 44, 0.10);
    }

    body:not(.admin-shell) .feature-card::after {
        inset: auto 22px 0;
        background: linear-gradient(90deg, #3168f4, #16b7ad);
    }

    body:not(.admin-shell) .icon-tile {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        color: #0f766e;
        background: linear-gradient(180deg, #e8fbf7, #dff5ff);
    }

    body:not(.admin-shell) .badge {
        border-radius: 4px;
        padding: 6px 10px;
    }

    body:not(.admin-shell) .badge-blue {
        background: #eaf1ff;
        color: #255de6;
    }

    body:not(.admin-shell) .badge-green {
        background: #e5f7ed;
        color: #12683b;
    }

    body:not(.admin-shell) .badge-gray {
        background: #eef2f6;
        color: #4f5d6d;
    }

    body:not(.admin-shell) .screen-frame {
        border: 1px solid rgba(15, 31, 48, 0.08);
        border-radius: 8px;
        background: #07111f;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    body:not(.admin-shell) .tab-button {
        min-height: 44px;
        border-radius: 4px;
        border-color: rgba(15, 31, 48, 0.10);
        background: #fff;
        color: #314052;
    }

    body:not(.admin-shell) .tab-button.is-active {
        border-color: #3168f4;
        background: #3168f4;
        color: #fff;
        box-shadow: 0 14px 32px rgba(49, 104, 244, 0.22);
    }

    body:not(.admin-shell) .cta-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.26), transparent 48%),
            linear-gradient(135deg, #07111f 0%, #102236 100%);
    }

    body:not(.admin-shell) .cta-section .section-heading h2,
    body:not(.admin-shell) .cta-copy h2 {
        color: #fff;
    }

    body:not(.admin-shell) .form-control {
        min-height: 46px;
        border-radius: 4px;
        border-color: rgba(15, 31, 48, 0.10);
        background: #fbfcfe;
        padding: 11px 13px;
    }

    body:not(.admin-shell) textarea.form-control {
        min-height: 120px;
    }

    body:not(.admin-shell) .download-hero {
        background:
            linear-gradient(90deg, rgba(3, 9, 15, 0.88) 0%, rgba(3, 9, 15, 0.66) 50%, rgba(3, 9, 15, 0.28) 100%),
            url("../images/hero-pms.png") center / cover no-repeat;
    }

    body:not(.admin-shell) .download-hero-inner {
        min-height: 620px;
        grid-template-columns: minmax(0, 1fr) 440px;
        padding-top: 118px;
        padding-bottom: 88px;
    }

    body:not(.admin-shell) .download-focus {
        border-radius: 8px;
        border-color: rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20);
    }

    body:not(.admin-shell) .download-card {
        grid-template-columns: 54px minmax(0, 1fr) 150px;
        min-height: 150px;
        padding: 26px;
    }

    body:not(.admin-shell) .download-card h2,
    body:not(.admin-shell) .feature-card h2,
    body:not(.admin-shell) .feature-card h3,
    body:not(.admin-shell) .solution-card h3,
    body:not(.admin-shell) .content-card h2,
    body:not(.admin-shell) .content-card h3 {
        color: #07111f;
        letter-spacing: 0;
    }

    body:not(.admin-shell) .article-panel {
        padding: 42px;
    }

    body:not(.admin-shell) .article-content {
        color: #263445;
    }

    body:not(.admin-shell) .help-sidebar {
        top: 96px;
        padding: 24px;
    }

    body:not(.admin-shell) .help-side-link {
        border-radius: 4px;
        padding: 12px 14px;
    }

    body:not(.admin-shell) .footer-band {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.16), transparent 45%),
            #07111f;
    }

    body:not(.admin-shell) .footer-band .py-12 {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    body:not(.admin-shell) .qr-box {
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.07);
    }

    body:not(.admin-shell) .floating-service {
        right: 30px;
        top: auto;
        bottom: 42px;
        transform: none;
    }

    body:not(.admin-shell) .floating-bar {
        gap: 12px;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    body:not(.admin-shell) .floating-action {
        width: 66px;
        min-height: 76px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        color: #4a5664;
        box-shadow: 0 18px 44px rgba(12, 28, 44, 0.16);
    }

    body:not(.admin-shell) .floating-action:first-child {
        background: #3168f4;
        color: #fff;
    }

    body:not(.admin-shell) .floating-action:first-child svg {
        color: #ff1744;
    }

    body:not(.admin-shell) .floating-action:hover {
        transform: translateY(-2px);
    }

    body:not(.admin-shell) .floating-panel {
        right: 84px;
        border-radius: 8px;
    }
}

/* 2026 commercial homepage rebuild: make the redesign visibly different on PC. */
@media (min-width: 1024px) {
    body:not(.admin-shell) .home-hero-shell {
        background: #03080d;
    }

    body:not(.admin-shell) .home-hero-shell .hero-slide,
    body:not(.admin-shell) .home-hero-shell .hero-content {
        min-height: 100vh;
    }

    body:not(.admin-shell) .home-hero-shell .hero-slide {
        height: 100vh;
    }

    body:not(.admin-shell) .home-hero-shell .hero-slide::before {
        background:
            radial-gradient(circle at 78% 18%, rgba(49, 104, 244, 0.28), transparent 28%),
            linear-gradient(90deg, rgba(2, 7, 12, 0.96) 0%, rgba(2, 7, 12, 0.72) 42%, rgba(2, 7, 12, 0.28) 100%),
            linear-gradient(180deg, rgba(2, 7, 12, 0.12) 0%, rgba(2, 7, 12, 0.78) 100%);
    }

    body:not(.admin-shell) .home-hero-shell .hero-bg {
        object-position: 58% center;
        transform: scale(1.06);
        filter: saturate(1.08) contrast(1.08);
    }

    body:not(.admin-shell) .home-hero-shell .hero-content {
        align-items: flex-end;
        padding-top: 160px;
        padding-bottom: 122px;
    }

    body:not(.admin-shell) .home-hero-shell .hero-kicker {
        border-radius: 0;
        border-width: 0 0 1px;
        border-color: rgba(255, 255, 255, 0.42);
        background: transparent;
        padding: 0 0 12px;
        color: rgba(255, 255, 255, 0.88);
    }

    body:not(.admin-shell) .home-hero-shell .hero-content h1,
    body:not(.admin-shell) .home-hero-shell .hero-content .hero-heading {
        max-width: 900px;
        margin-top: 30px;
        font-size: clamp(70px, 7vw, 106px);
        line-height: 0.98;
        letter-spacing: 0;
    }

    body:not(.admin-shell) .home-hero-shell .hero-content p {
        max-width: 760px;
        margin-top: 28px;
        color: rgba(255, 255, 255, 0.84);
        font-size: 21px;
    }

    body:not(.admin-shell) .home-hero-shell .hero-actions {
        margin-top: 36px;
    }

    body:not(.admin-shell) .home-hero-shell .hero-actions .btn {
        min-height: 52px;
        border-radius: 2px;
        padding-inline: 24px;
    }

    body:not(.admin-shell) .home-hero-shell .hero-metrics {
        max-width: 880px;
        margin-top: 56px;
        border-top-color: rgba(255, 255, 255, 0.32);
        border-bottom-color: rgba(255, 255, 255, 0.32);
    }

    body:not(.admin-shell) .home-hero-shell .hero-metric {
        min-height: 96px;
        padding: 20px 24px;
    }

    body:not(.admin-shell) .home-hero-shell .hero-metric strong {
        font-size: 34px;
    }

    body:not(.admin-shell) .hero-system-rail {
        position: absolute;
        right: 5.6vw;
        top: 18vh;
        z-index: 2;
        display: grid;
        justify-items: end;
        gap: 16px;
        color: rgba(255, 255, 255, 0.42);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-align: right;
        pointer-events: none;
    }

    body:not(.admin-shell) .hero-system-rail span:first-child {
        color: transparent;
        font-size: clamp(110px, 13vw, 190px);
        line-height: 0.82;
        letter-spacing: 0;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
        text-stroke: 1px rgba(255, 255, 255, 0.22);
    }

    body:not(.admin-shell) .hero-scroll-cue {
        position: absolute;
        left: 34px;
        bottom: 38px;
        z-index: 5;
        writing-mode: vertical-rl;
        color: rgba(255, 255, 255, 0.52);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.22em;
    }

    body:not(.admin-shell) .hero-scroll-cue::after {
        content: "";
        display: block;
        width: 1px;
        height: 54px;
        margin: 12px auto 0;
        background: rgba(255, 255, 255, 0.42);
    }

    body:not(.admin-shell) .home-hero-shell .hero-dots {
        left: auto;
        right: 112px;
        bottom: 54px;
        transform: none;
    }

    body:not(.admin-shell) .site-header {
        top: 18px;
        left: 50%;
        right: auto;
        width: min(1240px, calc(100% - 64px));
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(3, 8, 13, 0.48);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    }

    body:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(3, 8, 13, 0.88);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    }

    body:not(.admin-shell) .site-header .h-16 {
        height: 62px;
    }

    body:not(.admin-shell) .site-header .max-w-7xl {
        max-width: none;
    }

    body:not(.admin-shell) .site-header .btn {
        min-height: 42px;
        border-radius: 999px;
    }

    body:not(.admin-shell) .nav-link {
        padding: 18px 12px;
    }

    body:not(.admin-shell) .home-flow-section {
        overflow: hidden;
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.16), transparent 42%),
            #06111d !important;
        color: #fff;
    }

    body:not(.admin-shell) .home-flow-layout {
        display: grid;
        grid-template-columns: 0.86fr 1.14fr;
        gap: 72px;
        align-items: center;
    }

    body:not(.admin-shell) .home-section-copy {
        max-width: 500px;
    }

    body:not(.admin-shell) .home-section-copy .eyebrow {
        color: #5eead4;
    }

    body:not(.admin-shell) .home-section-copy .eyebrow::before {
        background: #5eead4;
    }

    body:not(.admin-shell) .home-section-copy h2 {
        margin: 22px 0 0;
        color: #fff;
        font-size: 50px;
        line-height: 1.12;
        font-weight: 950;
    }

    body:not(.admin-shell) .home-section-copy p {
        margin: 22px 0 0;
        color: rgba(255, 255, 255, 0.68);
        font-size: 17px;
        line-height: 1.9;
    }

    body:not(.admin-shell) .home-flow-section .operation-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
        background: rgba(255, 255, 255, 0.10);
    }

    body:not(.admin-shell) .home-flow-section .operation-item {
        min-height: 230px;
        border: 0;
        border-radius: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
        padding: 34px;
        color: #fff;
    }

    body:not(.admin-shell) .home-flow-section .operation-item:first-child,
    body:not(.admin-shell) .home-flow-section .operation-item:last-child {
        border-radius: 0;
    }

    body:not(.admin-shell) .home-flow-section .operation-item .icon-tile {
        background: rgba(94, 234, 212, 0.12);
        color: #5eead4;
    }

    body:not(.admin-shell) .home-flow-section .operation-item strong {
        color: #fff;
        font-size: 22px;
    }

    body:not(.admin-shell) .home-flow-section .operation-item p {
        color: rgba(255, 255, 255, 0.66);
        font-size: 15px;
    }

    body:not(.admin-shell) .home-advantage-section {
        background: #f5f8fc !important;
    }

    body:not(.admin-shell) .home-advantage-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    body:not(.admin-shell) .home-advantage-grid .feature-card {
        min-height: 230px;
        padding: 32px;
    }

    body:not(.admin-shell) .home-advantage-grid .feature-card:first-child {
        grid-column: span 2;
        background:
            linear-gradient(135deg, rgba(49, 104, 244, 0.12), rgba(94, 234, 212, 0.12)),
            #fff;
    }

    body:not(.admin-shell) .home-advantage-grid .feature-card:first-child h3 {
        max-width: 520px;
        font-size: 30px;
    }

    body:not(.admin-shell) .home-product-section {
        background: #fff !important;
    }

    body:not(.admin-shell) .home-product-lanes {
        display: grid;
        gap: 14px;
    }

    body:not(.admin-shell) .home-product-lane {
        display: grid;
        grid-template-columns: 110px 76px minmax(0, 1fr) 150px;
        gap: 24px;
        align-items: center;
        min-height: 142px;
        border-radius: 0;
        padding: 28px 34px;
        box-shadow: none;
        border-color: rgba(7, 17, 31, 0.10);
    }

    body:not(.admin-shell) .home-product-lane:hover {
        background: #07111f;
        color: #fff;
        transform: none;
    }

    body:not(.admin-shell) .home-product-lane:hover h3,
    body:not(.admin-shell) .home-product-lane:hover p {
        color: #fff !important;
    }

    body:not(.admin-shell) .home-product-lane-index {
        color: transparent;
        font-size: 54px;
        line-height: 1;
        font-weight: 950;
        -webkit-text-stroke: 1px rgba(49, 104, 244, 0.46);
        text-stroke: 1px rgba(49, 104, 244, 0.46);
    }

    body:not(.admin-shell) .home-product-lane-body h3 {
        font-size: 25px;
    }

    body:not(.admin-shell) .home-lane-link {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        color: #3168f4;
        font-size: 14px;
        font-weight: 950;
        white-space: nowrap;
    }

    body:not(.admin-shell) .home-lane-link svg {
        width: 16px;
        height: 16px;
    }

    body:not(.admin-shell) .home-product-lane:hover .home-lane-link {
        color: #5eead4;
    }

    body:not(.admin-shell) .home-solution-section {
        background:
            linear-gradient(180deg, #f5f8fc 0%, #fff 100%) !important;
    }

    body:not(.admin-shell) .home-solution-stack {
        display: grid;
        gap: 18px;
    }

    body:not(.admin-shell) .home-solution-stack .solution-card {
        position: relative;
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr) 150px;
        gap: 30px;
        align-items: center;
        min-height: 168px;
        overflow: hidden;
        padding: 34px 40px;
    }

    body:not(.admin-shell) .home-solution-stack .solution-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: linear-gradient(180deg, #3168f4, #5eead4);
    }

    body:not(.admin-shell) .home-solution-stack .solution-card h3 {
        margin: 0;
        font-size: 26px;
    }

    body:not(.admin-shell) .home-solution-stack .solution-card p {
        margin: 0;
    }

    body:not(.admin-shell) .home-trust-section {
        background: #07111f !important;
        color: #fff;
    }

    body:not(.admin-shell) .home-trust-section .section-heading h2,
    body:not(.admin-shell) .home-trust-section .section-heading p {
        color: #fff;
    }

    body:not(.admin-shell) .home-trust-section .section-heading p {
        color: rgba(255, 255, 255, 0.66);
    }

    body:not(.admin-shell) .home-trust-metrics {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    body:not(.admin-shell) .home-trust-metrics .content-card {
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #fff;
    }

    body:not(.admin-shell) .home-trust-metrics .content-card:last-child {
        border-right: 0;
    }

    body:not(.admin-shell) .home-trust-metrics .text-teal {
        color: #5eead4;
        font-size: 52px;
    }

    body:not(.admin-shell) .home-trust-metrics .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.62);
    }

    body:not(.admin-shell) .home-trust-section .content-card {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    body:not(.admin-shell) .home-trust-section .content-card h3,
    body:not(.admin-shell) .home-trust-section .content-card p,
    body:not(.admin-shell) .home-trust-section .content-card .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.78);
    }

    body:not(.admin-shell) .home-roadmap-section {
        background: #f5f8fc !important;
    }

    body:not(.admin-shell) .home-roadmap-section > div > .mb-8 {
        border-bottom: 1px solid rgba(7, 17, 31, 0.10);
        padding-bottom: 28px;
    }

    body:not(.admin-shell) .home-update-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body:not(.admin-shell) .home-update-row .content-card {
        min-height: 230px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        border-radius: 0;
        box-shadow: none;
    }

    body:not(.admin-shell) .home-update-row .content-card:last-child {
        border-right: 0;
    }

    body:not(.admin-shell) .footer-band {
        background: #02070d;
    }
}

/* Whole public site rebuild pass: every public page gets a visible body redesign. */
@media (min-width: 1024px) {
    body.public-page:not(.admin-shell):not(.page-home) main {
        background: #fff;
    }

    body.public-page:not(.admin-shell):not(.page-home) main > .section-band {
        padding: 110px 0;
    }

    body.public-page:not(.admin-shell):not(.page-home) main > .section-band:nth-of-type(odd) {
        background: #f5f8fc;
    }

    body.public-page:not(.admin-shell):not(.page-home) main > .section-band:nth-of-type(even) {
        background: #fff;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading {
        max-width: none;
        margin-bottom: 50px;
        text-align: left;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading h2 {
        max-width: 850px;
        margin-left: 0;
        margin-right: 0;
        font-size: 46px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading p {
        max-width: 760px;
        margin-left: 0;
        margin-right: 0;
        font-size: 17px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero {
        min-height: 590px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero-inner {
        min-height: 590px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-title {
        max-width: 1160px;
        font-size: clamp(58px, 5.3vw, 82px);
        line-height: 1.04;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-summary {
        max-width: 860px;
        font-size: 19px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .feature-card,
    body.public-page:not(.admin-shell):not(.page-home) .solution-card,
    body.public-page:not(.admin-shell):not(.page-home) .content-card,
    body.public-page:not(.admin-shell):not(.page-home) .download-card,
    body.public-page:not(.admin-shell):not(.page-home) .article-panel,
    body.public-page:not(.admin-shell):not(.page-home) .help-sidebar {
        border-radius: 0;
        box-shadow: none;
    }

    /* Features page */
    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(2) > div > .grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card {
        min-height: 330px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
        padding: 42px;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card:last-child {
        border-right: 0;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) {
        background: #07111f !important;
        color: #fff;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading h2,
    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading p {
        color: #fff;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading p {
        color: rgba(255, 255, 255, 0.66);
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card {
        grid-template-columns: minmax(0, 1fr) 420px !important;
        gap: 46px;
        align-items: center;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
        background: transparent;
        color: #fff;
        padding: 42px 0;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card:hover {
        transform: none;
        box-shadow: none;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card h3,
    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card p,
    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.82) !important;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card h3 {
        color: #fff !important;
        font-size: 32px;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(3) .screen-frame {
        min-height: 300px;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.06);
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(4) > div > .grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body.page-features:not(.admin-shell) main > .section-band:nth-of-type(4) .feature-card {
        min-height: 250px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
        padding: 32px;
    }

    body.page-features:not(.admin-shell) #roadmap .timeline-line {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    body.page-features:not(.admin-shell) #roadmap .timeline-line::before {
        display: none;
    }

    body.page-features:not(.admin-shell) #roadmap .content-card {
        margin-left: 0 !important;
        min-height: 260px;
        border-left: 5px solid #3168f4;
        padding: 30px;
    }

    body.page-features:not(.admin-shell) #roadmap .timeline-point {
        display: none;
    }

    /* Solutions page */
    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) {
        background: #f5f8fc !important;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) .mb-8 {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: visible;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
        padding: 0 !important;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) .tab-button {
        min-height: 72px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        border-radius: 0;
        justify-content: center;
        background: #fff;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) .tab-button.is-active {
        background: #07111f;
        color: #fff;
        box-shadow: none;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) article > .grid {
        grid-template-columns: minmax(0, 1fr) 420px !important;
        margin-top: 32px;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) .content-card {
        min-height: 520px;
        padding: 46px;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) aside.content-card {
        background: #07111f;
        color: #fff;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) aside.content-card h3,
    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(2) aside.content-card p {
        color: #fff;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(3) > div > .grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body.page-solutions:not(.admin-shell) main > .section-band:nth-of-type(3) .feature-card {
        min-height: 210px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
        padding: 28px;
    }

    /* Downloads page */
    body.page-downloads:not(.admin-shell) .download-hero-inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(480px, 0.55fr);
        min-height: 680px;
    }

    body.page-downloads:not(.admin-shell) .download-focus {
        border-radius: 0;
        padding: 42px;
    }

    body.page-downloads:not(.admin-shell) #download-list {
        background: #f5f8fc !important;
    }

    body.page-downloads:not(.admin-shell) #download-list > div > .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.page-downloads:not(.admin-shell) .download-card {
        grid-template-columns: 74px minmax(0, 1fr) 180px;
        min-height: 170px;
        background: #fff;
        padding: 34px;
    }

    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) {
        background: #07111f;
        color: #fff;
    }

    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) h2,
    body.page-downloads:not(.admin-shell) .download-card:nth-child(odd) p {
        color: #fff;
    }

    /* Help page */
    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(2) > div > .grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card {
        min-height: 300px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
        padding: 42px;
    }

    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) {
        background: #07111f !important;
        color: #fff;
    }

    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading h2,
    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading p {
        color: #fff;
    }

    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card h3,
    body.page-help:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card p {
        color: rgba(255, 255, 255, 0.84);
    }

    /* About page */
    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(2) > div > .grid {
        display: grid;
        grid-template-columns: 1.2fr 0.9fr 0.9fr;
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(2) .content-card {
        min-height: 320px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        padding: 42px;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) {
        background: #07111f !important;
        color: #fff;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading h2,
    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) .section-heading p {
        color: #fff;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) > div > .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card {
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent;
        color: #fff;
        padding: 34px;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card h3,
    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card p {
        color: #fff;
    }

    body.page-about:not(.admin-shell) main > .section-band:nth-of-type(4) .content-card {
        display: grid;
        grid-template-rows: 240px auto;
    }

    /* Contact page */
    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(2) {
        background: #07111f !important;
        color: #fff;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(2) > div > .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card {
        min-height: 240px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent;
        color: #fff;
        padding: 34px;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card h2,
    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(2) .feature-card p {
        color: #fff;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(3) > div {
        grid-template-columns: minmax(0, 1fr) 500px !important;
        align-items: stretch;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card,
    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(3) form.content-card {
        min-height: 560px;
        padding: 34px;
    }

    body.page-contact:not(.admin-shell) main > .section-band:nth-of-type(3) .content-card:first-child {
        padding: 0;
        overflow: hidden;
    }

    /* Footer also becomes visibly different site-wide. */
    body.public-page:not(.admin-shell) .footer-band {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.24), transparent 44%),
            #02070d;
    }

    body.public-page:not(.admin-shell) .footer-band > .grid {
        grid-template-columns: 1.6fr 0.9fr 1.1fr 1fr !important;
        padding-top: 76px;
        padding-bottom: 76px;
    }

    body.public-page:not(.admin-shell) .footer-title {
        color: #fff;
        font-size: 16px;
    }

    body.public-page:not(.admin-shell) .footer-links {
        gap: 13px;
    }

    body.page-contact:not(.admin-shell) .contact-channels-section {
        background: #07111f !important;
        color: #fff;
    }

    body.page-contact:not(.admin-shell) .contact-channels-section > div > .grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.02);
    }

    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card {
        min-height: 250px;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent !important;
        color: #fff;
        padding: 36px;
    }

    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card h2,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card p,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card a {
        color: #fff !important;
    }

    body.page-contact:not(.admin-shell) .contact-form-section {
        background: #f5f8fc !important;
    }

    body.page-contact:not(.admin-shell) .contact-form-section > div {
        grid-template-columns: minmax(0, 1fr) 500px !important;
        gap: 28px;
    }

    body.page-contact:not(.admin-shell) .contact-form-section .content-card,
    body.page-contact:not(.admin-shell) .contact-form-section form.content-card {
        min-height: 560px;
        border-radius: 0;
    }

    body.page-contact:not(.admin-shell) .contact-form-section form.content-card {
        padding: 36px;
        background: #fff;
    }
}

/* Final override layer: must stay at the end of this file. */
@media (min-width: 1024px) {
    body.public-page:not(.admin-shell) .site-header {
        background: rgba(4, 10, 17, 0.38);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(12px);
    }

    body.public-page:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(4, 10, 17, 0.92);
    }

    body.public-page:not(.admin-shell) .site-header .h-16 {
        height: 72px;
    }

    body.public-page:not(.admin-shell) .nav-link {
        border-radius: 0;
        background: transparent !important;
        color: rgba(255, 255, 255, 0.84);
    }

    body.public-page:not(.admin-shell) .nav-link:hover,
    body.public-page:not(.admin-shell) .nav-link.is-active {
        color: #fff;
    }

    body.public-page:not(.admin-shell) .btn {
        border-radius: 4px;
    }

    body.public-page:not(.admin-shell) .btn-primary {
        background: #3168f4;
        box-shadow: 0 16px 40px rgba(49, 104, 244, 0.26);
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero,
    body.page-downloads:not(.admin-shell) .download-main-hero {
        min-height: 640px;
        background:
            linear-gradient(90deg, rgba(4, 10, 17, 0.94), rgba(4, 10, 17, 0.58)),
            linear-gradient(135deg, #07111f 0%, #0d2236 52%, #eef3f8 100%) !important;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero::before {
        background:
            linear-gradient(90deg, rgba(4, 10, 17, 0.96) 0%, rgba(4, 10, 17, 0.68) 48%, rgba(4, 10, 17, 0.22) 100%),
            repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 96px);
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero-inner {
        display: flex;
        min-height: 640px;
        flex-direction: column;
        justify-content: center;
        padding-top: 132px;
        padding-bottom: 100px;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-title {
        font-size: clamp(56px, 5vw, 78px);
        line-height: 1.05;
    }

    body.public-page:not(.admin-shell):not(.page-home) main > .section-band {
        padding: 112px 0;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading {
        max-width: 1180px;
        margin: 0 auto 52px;
        text-align: left;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading h2 {
        max-width: 900px;
        margin-left: 0;
        margin-right: 0;
        font-size: 46px;
        line-height: 1.15;
    }

    body.public-page:not(.admin-shell):not(.page-home) .section-heading p {
        max-width: 760px;
        margin-left: 0;
        margin-right: 0;
        font-size: 17px;
        line-height: 1.86;
    }

    body.public-page:not(.admin-shell) .feature-card,
    body.public-page:not(.admin-shell) .solution-card,
    body.public-page:not(.admin-shell) .content-card,
    body.public-page:not(.admin-shell) .download-card,
    body.public-page:not(.admin-shell) .form-panel {
        border-radius: 6px;
    }

    body.page-home:not(.admin-shell) .hero-slide,
    body.page-home:not(.admin-shell) .hero-content {
        min-height: 100vh;
    }

    body.page-home:not(.admin-shell) .home-flow-section {
        background: #fff !important;
        color: #07111f;
    }

    body.page-home:not(.admin-shell) .home-flow-section .home-section-copy h2 {
        color: #07111f !important;
        font-size: 48px;
        line-height: 1.14;
    }

    body.page-home:not(.admin-shell) .home-flow-section .home-section-copy p {
        color: #677386 !important;
    }

    body.page-home:not(.admin-shell) .home-flow-layout {
        display: grid;
        grid-template-columns: 0.86fr 1.14fr;
        gap: 76px;
        align-items: center;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
        border-radius: 6px;
        background: #fff !important;
        box-shadow: 0 22px 64px rgba(10, 24, 39, 0.08);
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item {
        min-height: 210px;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        border-bottom: 1px solid rgba(7, 17, 31, 0.10);
        background: #fff !important;
        color: #07111f !important;
        padding: 34px;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item:nth-child(2n) {
        border-right: 0;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item .icon-tile {
        background: linear-gradient(135deg, rgba(49, 104, 244, 0.12), rgba(32, 199, 217, 0.12));
        color: #3168f4;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item strong {
        display: block;
        color: #07111f !important;
        font-size: 21px;
    }

    body.page-home:not(.admin-shell) .home-flow-section .operation-item p {
        color: #677386 !important;
        font-size: 15px;
    }

    body.page-home:not(.admin-shell) .home-advantage-section {
        background: #f5f7fb !important;
    }

    body.page-home:not(.admin-shell) .home-product-section {
        background: #07111f !important;
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-product-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-product-section .section-heading p {
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-product-lanes {
        display: grid;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    body.page-home:not(.admin-shell) .home-product-lane {
        display: grid;
        grid-template-columns: 110px 68px minmax(0, 1fr) auto;
        gap: 28px;
        align-items: center;
        min-height: 150px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        background: transparent !important;
        color: #fff;
        box-shadow: none;
    }

    body.page-home:not(.admin-shell) .home-product-lane h3,
    body.page-home:not(.admin-shell) .home-product-lane p,
    body.page-home:not(.admin-shell) .home-product-lane .text-\[\#67706d\] {
        color: rgba(255, 255, 255, 0.84) !important;
    }

    body.page-home:not(.admin-shell) .home-solution-section {
        background: #f5f7fb !important;
    }

    body.page-home:not(.admin-shell) .home-solution-stack {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        border: 1px solid rgba(7, 17, 31, 0.10);
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card {
        min-height: 350px;
        border: 0;
        border-right: 1px solid rgba(7, 17, 31, 0.10);
        border-radius: 0;
        background: #fff !important;
        padding: 42px;
    }

    body.page-home:not(.admin-shell) .home-trust-section {
        background:
            linear-gradient(90deg, rgba(49, 104, 244, 0.22), transparent 46%),
            #07111f !important;
        color: #fff;
    }

    body.page-home:not(.admin-shell) .home-trust-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-trust-section .section-heading p {
        color: #fff;
    }
}

@media (min-width: 1024px) {
    body.page-home:not(.admin-shell) .home-solution-stack .solution-card {
        position: relative;
        display: block !important;
        min-height: 350px;
        padding: 42px !important;
        overflow: hidden;
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card h3 {
        margin-top: 22px;
        color: #07111f !important;
        font-size: 26px;
        line-height: 1.28;
        writing-mode: horizontal-tb;
        word-break: normal;
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card p,
    body.page-home:not(.admin-shell) .home-solution-stack .solution-card .text-\[\#67706d\] {
        margin-top: 18px;
        color: #677386 !important;
        line-height: 1.82;
        writing-mode: horizontal-tb;
        word-break: normal;
    }

    body.page-home:not(.admin-shell) .home-solution-stack .solution-card a {
        margin-top: 24px;
    }
}

/* Rescue pass: calm enterprise style after rejected visual direction. Keep this last. */
@media (min-width: 1024px) {
    body.public-page:not(.admin-shell) {
        background: #f6f8fb;
        color: #172033;
    }

    body.public-page:not(.admin-shell) .site-header {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
        backdrop-filter: blur(10px);
    }

    body.public-page:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08) !important;
    }

    body.public-page:not(.admin-shell) .site-header .h-16 {
        height: 72px !important;
    }

    body.public-page:not(.admin-shell) .site-header .max-w-7xl {
        max-width: 1280px !important;
    }

    body.public-page:not(.admin-shell) .brand-mark,
    body.public-page:not(.admin-shell) .brand-text {
        color: #111827 !important;
    }

    body.public-page:not(.admin-shell) .nav-link,
    body.public-page:not(.admin-shell) .nav-link.nav-link-parent {
        padding: 24px 13px 18px !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #263142 !important;
        font-weight: 850;
    }

    body.public-page:not(.admin-shell) .nav-link:hover,
    body.public-page:not(.admin-shell) .nav-link.is-active {
        color: #1f5eff !important;
    }

    body.public-page:not(.admin-shell) .nav-link::after {
        background: #1f5eff !important;
    }

    body.public-page:not(.admin-shell) .nav-link svg {
        color: currentColor !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn {
        min-height: 40px !important;
        border-radius: 4px !important;
        padding: 9px 16px !important;
        box-shadow: none !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn-ghost {
        border: 1px solid rgba(15, 23, 42, 0.15) !important;
        background: #fff !important;
        color: #263142 !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn-primary {
        background: #1f5eff !important;
        color: #fff !important;
    }

    body.public-page:not(.admin-shell) .nav-dropdown-panel {
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14) !important;
    }

    body.public-page:not(.admin-shell) .nav-dropdown-link {
        color: #263142 !important;
    }

    body.public-page:not(.admin-shell) .nav-dropdown-link:hover {
        background: #f4f7ff !important;
        color: #1f5eff !important;
    }

    body.public-page:not(.admin-shell) .floating-service {
        right: 22px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    body.public-page:not(.admin-shell) .floating-bar {
        display: grid !important;
        gap: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(15, 23, 42, 0.10) !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12) !important;
        backdrop-filter: none !important;
    }

    body.public-page:not(.admin-shell) .floating-action,
    body.public-page:not(.admin-shell) .floating-action:first-child {
        width: 56px !important;
        min-height: 60px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #526071 !important;
        box-shadow: none !important;
        font-size: 12px !important;
    }

    body.public-page:not(.admin-shell) .floating-action:last-child {
        border-bottom: 0 !important;
    }

    body.public-page:not(.admin-shell) .floating-action svg,
    body.public-page:not(.admin-shell) .floating-action:first-child svg,
    body.public-page:not(.admin-shell) .floating-top svg {
        width: 20px !important;
        height: 20px !important;
        color: #1f5eff !important;
    }

    body.public-page:not(.admin-shell) .floating-action:hover {
        transform: none !important;
        background: #f4f7ff !important;
        color: #1f5eff !important;
    }

    body.public-page:not(.admin-shell) .floating-panel {
        right: 68px !important;
        border-radius: 8px !important;
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14) !important;
    }

    body.page-home:not(.admin-shell) .hero-slide,
    body.page-home:not(.admin-shell) .hero-content {
        min-height: 720px !important;
        height: auto !important;
    }

    body.page-home:not(.admin-shell) .hero-content {
        padding-top: 128px !important;
        padding-bottom: 82px !important;
    }

    body.page-home:not(.admin-shell) .hero-content h1 {
        max-width: 760px !important;
        font-size: 58px !important;
        line-height: 1.1 !important;
    }

    body.page-home:not(.admin-shell) .hero-content p {
        max-width: 690px !important;
        font-size: 18px !important;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero,
    body.page-downloads:not(.admin-shell) .download-main-hero {
        min-height: 460px !important;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-hero-inner,
    body.page-downloads:not(.admin-shell) .download-hero-inner {
        min-height: 460px !important;
        padding-top: 118px !important;
        padding-bottom: 64px !important;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-title,
    body.page-downloads:not(.admin-shell) .page-title {
        max-width: 920px !important;
        font-size: 48px !important;
        line-height: 1.18 !important;
    }

    body.public-page:not(.admin-shell):not(.page-home) .page-summary,
    body.page-downloads:not(.admin-shell) .page-summary {
        max-width: 760px !important;
        font-size: 17px !important;
        line-height: 1.82 !important;
    }

    body.public-page:not(.admin-shell) .section-band,
    body.public-page:not(.admin-shell):not(.page-home) main > .section-band {
        padding: 82px 0 !important;
    }

    body.public-page:not(.admin-shell) .section-heading,
    body.public-page:not(.admin-shell):not(.page-home) .section-heading {
        margin-bottom: 34px !important;
    }

    body.public-page:not(.admin-shell) .section-heading h2,
    body.public-page:not(.admin-shell):not(.page-home) .section-heading h2 {
        font-size: 36px !important;
        line-height: 1.24 !important;
    }

    body.public-page:not(.admin-shell) .section-heading p,
    body.public-page:not(.admin-shell):not(.page-home) .section-heading p {
        font-size: 16px !important;
    }

    body.public-page:not(.admin-shell) .feature-card,
    body.public-page:not(.admin-shell) .solution-card,
    body.public-page:not(.admin-shell) .content-card,
    body.public-page:not(.admin-shell) .download-card,
    body.public-page:not(.admin-shell) .article-panel,
    body.public-page:not(.admin-shell) .help-sidebar,
    body.public-page:not(.admin-shell) .form-panel {
        border-radius: 8px !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        background: #fff !important;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05) !important;
    }

    body.public-page:not(.admin-shell) .feature-card:hover,
    body.public-page:not(.admin-shell) .solution-card:hover,
    body.public-page:not(.admin-shell) .content-card:hover {
        transform: none !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08) !important;
    }

    body.page-features:not(.admin-shell) .public-module-section,
    body.page-about:not(.admin-shell) .about-timeline-section,
    body.page-help:not(.admin-shell) .help-list-section,
    body.page-contact:not(.admin-shell) .contact-channels-section,
    body.page-home:not(.admin-shell) .home-product-section,
    body.page-home:not(.admin-shell) .home-trust-section {
        background: #f6f8fb !important;
        color: #172033 !important;
    }

    body.page-features:not(.admin-shell) .public-module-section .section-heading h2,
    body.page-features:not(.admin-shell) .public-module-section .section-heading p,
    body.page-about:not(.admin-shell) .about-timeline-section .section-heading h2,
    body.page-about:not(.admin-shell) .about-timeline-section .section-heading p,
    body.page-help:not(.admin-shell) .help-list-section .section-heading h2,
    body.page-help:not(.admin-shell) .help-list-section .section-heading p,
    body.page-home:not(.admin-shell) .home-product-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-product-section .section-heading p,
    body.page-home:not(.admin-shell) .home-trust-section .section-heading h2,
    body.page-home:not(.admin-shell) .home-trust-section .section-heading p {
        color: #172033 !important;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card,
    body.page-home:not(.admin-shell) .home-product-lane,
    body.page-about:not(.admin-shell) .about-timeline-section .content-card,
    body.page-help:not(.admin-shell) .help-list-section .content-card,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card,
    body.page-home:not(.admin-shell) .home-trust-section .content-card {
        background: #fff !important;
        color: #172033 !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 8px !important;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05) !important;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card h3,
    body.page-features:not(.admin-shell) .public-module-section .content-card p,
    body.page-features:not(.admin-shell) .public-module-section .content-card .text-\[\#67706d\],
    body.page-home:not(.admin-shell) .home-product-lane h3,
    body.page-home:not(.admin-shell) .home-product-lane p,
    body.page-home:not(.admin-shell) .home-product-lane .text-\[\#67706d\],
    body.page-about:not(.admin-shell) .about-timeline-section .content-card h3,
    body.page-about:not(.admin-shell) .about-timeline-section .content-card p,
    body.page-help:not(.admin-shell) .help-list-section .content-card h3,
    body.page-help:not(.admin-shell) .help-list-section .content-card p,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card h2,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card p,
    body.page-contact:not(.admin-shell) .contact-channels-section .feature-card a,
    body.page-home:not(.admin-shell) .home-trust-section .content-card h3,
    body.page-home:not(.admin-shell) .home-trust-section .content-card p {
        color: #172033 !important;
    }

    body.page-home:not(.admin-shell) .home-product-lanes,
    body.page-features:not(.admin-shell) .public-module-section > div > .grid {
        gap: 18px !important;
        border: 0 !important;
    }

    body.page-home:not(.admin-shell) .home-product-lane {
        grid-template-columns: 70px 54px minmax(0, 1fr) auto !important;
        min-height: 120px !important;
        padding: 24px !important;
    }

    body.page-features:not(.admin-shell) .public-module-section .content-card {
        padding: 28px !important;
    }

    body.page-home:not(.admin-shell) .home-trust-metrics {
        border: 0 !important;
        gap: 18px !important;
    }

    body.public-page:not(.admin-shell) .footer-band {
        background: #101827 !important;
    }
}

/* Header correction: the current logo is made for dark backgrounds. */
@media (min-width: 1024px) {
    body.public-page:not(.admin-shell) .site-header {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
        background: rgba(6, 13, 24, 0.96) !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
        backdrop-filter: blur(10px);
    }

    body.public-page:not(.admin-shell) .site-header.is-scrolled {
        background: rgba(6, 13, 24, 0.98) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
    }

    body.public-page:not(.admin-shell) .site-header .max-w-7xl {
        max-width: 1280px !important;
    }

    body.public-page:not(.admin-shell) .brand-mark,
    body.public-page:not(.admin-shell) .brand-text {
        color: #fff !important;
    }

    body.public-page:not(.admin-shell) .nav-link,
    body.public-page:not(.admin-shell) .nav-link.nav-link-parent {
        color: rgba(255, 255, 255, 0.82) !important;
        background: transparent !important;
    }

    body.public-page:not(.admin-shell) .nav-link:hover,
    body.public-page:not(.admin-shell) .nav-link.is-active {
        color: #fff !important;
    }

    body.public-page:not(.admin-shell) .nav-link::after {
        background: #fff !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn-ghost {
        border: 1px solid rgba(255, 255, 255, 0.26) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        color: #fff !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn-primary {
        background: #1f5eff !important;
        color: #fff !important;
    }
}

/* Header alignment fix: keep logo, nav text, dropdown arrows and buttons on one vertical center line. */
@media (min-width: 1024px) {
    body.public-page:not(.admin-shell) .site-header .h-16 {
        height: 72px !important;
        align-items: center !important;
    }

    body.public-page:not(.admin-shell) .brand-mark {
        display: inline-flex !important;
        height: 72px !important;
        align-items: center !important;
        gap: 10px !important;
        line-height: 1 !important;
    }

    body.public-page:not(.admin-shell) .brand-logo {
        display: block !important;
        width: auto !important;
        max-width: 178px !important;
        max-height: 44px !important;
        object-fit: contain !important;
    }

    body.public-page:not(.admin-shell) nav.lg\:flex {
        height: 72px !important;
        align-items: center !important;
    }

    body.public-page:not(.admin-shell) .nav-dropdown {
        display: flex !important;
        height: 72px !important;
        align-items: center !important;
    }

    body.public-page:not(.admin-shell) .nav-link,
    body.public-page:not(.admin-shell) .nav-link.nav-link-parent {
        position: relative !important;
        display: inline-flex !important;
        height: 72px !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 0 12px !important;
        line-height: 1 !important;
    }

    body.public-page:not(.admin-shell) .nav-link svg {
        width: 15px !important;
        height: 15px !important;
        margin-top: 0 !important;
        flex: 0 0 auto !important;
    }

    body.public-page:not(.admin-shell) .nav-link::after {
        position: absolute !important;
        left: 50% !important;
        bottom: 13px !important;
        margin: 0 !important;
        transform: translateX(-50%) !important;
    }

    body.public-page:not(.admin-shell) .site-header .xl\:flex {
        height: 72px !important;
        align-items: center !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn {
        display: inline-flex !important;
        height: 40px !important;
        min-height: 40px !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 0 16px !important;
        line-height: 1 !important;
    }

    body.public-page:not(.admin-shell) .site-header .btn svg {
        width: 16px !important;
        height: 16px !important;
        margin-top: 0 !important;
    }
}

/* Admin UI refresh: B2B commercial management system, calm navy palette. */
body.admin-shell {
    --admin-bg: #f5f7fb;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f8fafc;
    --admin-sidebar: #13233a;
    --admin-sidebar-2: #0f1d31;
    --admin-navy: #17375e;
    --admin-navy-2: #0f2a4d;
    --admin-blue: #2563eb;
    --admin-line: #e2e8f0;
    --admin-line-strong: #cbd5e1;
    --admin-text: #172033;
    --admin-muted: #667085;
    --admin-muted-2: #94a3b8;
    --admin-danger: #b42318;
    --admin-success: #067647;
    --admin-radius: 10px;
    --admin-radius-sm: 8px;
    --admin-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    min-height: 100vh !important;
    background: var(--admin-bg) !important;
    color: var(--admin-text) !important;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-shell * {
    scrollbar-color: rgba(148, 163, 184, 0.55) transparent;
}

body.admin-shell .admin-layout {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(245, 247, 251, 0.98));
}

body.admin-shell .admin-sidebar {
    background: var(--admin-sidebar) !important;
    color: #e5edf7 !important;
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.10) !important;
}

body.admin-shell .admin-sidebar-inner {
    padding: 18px 14px !important;
}

body.admin-shell .admin-sidebar .brand-mark {
    height: 50px;
    margin-bottom: 18px !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.10);
    border-radius: 0 !important;
    color: #fff !important;
}

body.admin-shell .admin-sidebar .brand-symbol {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

body.admin-shell .admin-sidebar .brand-text {
    color: #f8fafc !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.admin-shell .admin-nav {
    gap: 14px !important;
    padding-right: 2px !important;
}

body.admin-shell .admin-nav-group {
    gap: 4px !important;
}

body.admin-shell .admin-nav-label {
    padding: 0 10px 5px !important;
    color: rgba(226, 232, 240, 0.48) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.admin-shell .admin-nav-link,
body.admin-shell .admin-nav-details summary {
    min-height: 38px !important;
    border: 1px solid transparent;
    border-radius: var(--admin-radius-sm) !important;
    background: transparent;
    color: rgba(226, 232, 240, 0.76) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

body.admin-shell .admin-nav-link svg,
body.admin-shell .admin-nav-details summary svg {
    width: 16px !important;
    height: 16px !important;
    color: rgba(191, 219, 254, 0.82) !important;
}

body.admin-shell .admin-nav-link:hover,
body.admin-shell .admin-nav-details summary:hover {
    border-color: rgba(191, 219, 254, 0.12);
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
}

body.admin-shell .admin-nav-link.is-active,
body.admin-shell .admin-nav-details[open] summary {
    border-color: rgba(191, 219, 254, 0.18);
    background: rgba(37, 99, 235, 0.20) !important;
    color: #fff !important;
}

body.admin-shell .admin-nav-link.is-active svg,
body.admin-shell .admin-nav-details[open] summary svg {
    color: #dbeafe !important;
}

body.admin-shell .admin-nav-details summary::after {
    content: "›" !important;
    color: rgba(226, 232, 240, 0.46) !important;
    font-size: 18px !important;
}

body.admin-shell .admin-nav-details .admin-nav-link {
    margin-left: 14px !important;
    min-height: 34px !important;
    padding: 7px 10px !important;
    color: rgba(226, 232, 240, 0.68) !important;
}

body.admin-shell .admin-main {
    min-width: 0;
    background: var(--admin-bg);
}

body.admin-shell .admin-topbar {
    min-height: 70px !important;
    border-bottom: 1px solid var(--admin-line) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(14px);
}

body.admin-shell .admin-topbar h1 {
    color: var(--admin-text) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

body.admin-shell .admin-topbar p,
body.admin-shell .admin-card-desc,
body.admin-shell .admin-quick-card p {
    color: var(--admin-muted) !important;
    font-weight: 400;
}

body.admin-shell .admin-content {
    padding: 24px !important;
}

body.admin-shell .admin-card,
body.admin-shell .content-card,
body.admin-shell .form-panel {
    border: 1px solid var(--admin-line) !important;
    border-radius: var(--admin-radius) !important;
    background: var(--admin-surface) !important;
    box-shadow: var(--admin-shadow) !important;
}

body.admin-shell .admin-card-header {
    min-height: 62px;
    border-bottom: 1px solid var(--admin-line) !important;
    padding: 16px 18px !important;
}

body.admin-shell .admin-card-title {
    color: var(--admin-text) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
}

body.admin-shell .admin-stat {
    min-height: 118px !important;
    overflow: hidden;
    padding: 18px !important;
}

body.admin-shell .admin-stat::after {
    width: 3px !important;
    background: var(--admin-navy) !important;
}

body.admin-shell .admin-stat-label {
    color: var(--admin-muted) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}

body.admin-shell .admin-stat-value {
    color: var(--admin-text) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
}

body.admin-shell .admin-stat-icon {
    border: 1px solid #dbeafe;
    border-radius: 9px !important;
    background: #eff6ff !important;
    color: var(--admin-navy) !important;
}

body.admin-shell .admin-quick-card,
body.admin-shell .admin-logo-card {
    border: 1px solid var(--admin-line) !important;
    border-radius: var(--admin-radius) !important;
    background: var(--admin-surface-soft) !important;
    color: var(--admin-text) !important;
    box-shadow: none !important;
    transition: border-color .16s ease, background .16s ease;
}

body.admin-shell .admin-quick-card:hover {
    transform: none !important;
    border-color: #bfdbfe !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055) !important;
}

body.admin-shell .admin-quick-card strong,
body.admin-shell .admin-logo-card-head strong {
    color: var(--admin-text) !important;
    font-weight: 750 !important;
}

body.admin-shell .admin-table {
    border-collapse: separate;
    border-spacing: 0;
    color: var(--admin-text);
    font-size: 13px !important;
}

body.admin-shell .admin-table thead {
    background: #f8fafc !important;
    color: #475569 !important;
}

body.admin-shell .admin-table th {
    border-top: 0 !important;
    border-bottom: 1px solid var(--admin-line) !important;
    font-size: 12px;
    font-weight: 750 !important;
    letter-spacing: 0.02em;
}

body.admin-shell .admin-table td {
    border-top: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    color: #334155;
}

body.admin-shell .admin-table tbody tr:hover {
    background: #f8fafc !important;
}

body.admin-shell .admin-user-pill {
    border: 1px solid var(--admin-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #475569 !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
    font-weight: 650 !important;
}

body.admin-shell .admin-user-pill svg {
    color: var(--admin-navy) !important;
}

body.admin-shell .btn {
    min-height: 38px;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

body.admin-shell .btn-primary {
    border: 1px solid var(--admin-navy) !important;
    background: var(--admin-navy) !important;
    color: #fff !important;
}

body.admin-shell .btn-primary:hover {
    border-color: var(--admin-navy-2) !important;
    background: var(--admin-navy-2) !important;
}

body.admin-shell .btn-light,
body.admin-shell .btn-ghost {
    border: 1px solid var(--admin-line) !important;
    background: #fff !important;
    color: #344054 !important;
}

body.admin-shell .btn-light:hover,
body.admin-shell .btn-ghost:hover {
    border-color: #bfdbfe !important;
    background: #f8fafc !important;
    color: var(--admin-navy) !important;
}

body.admin-shell .btn-danger {
    border: 1px solid #fecaca !important;
    background: #fff5f5 !important;
    color: var(--admin-danger) !important;
}

body.admin-shell .btn-danger:hover {
    background: #fee2e2 !important;
}

body.admin-shell .form-control {
    min-height: 42px !important;
    border: 1px solid var(--admin-line-strong) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--admin-text) !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

body.admin-shell .form-control::placeholder {
    color: #98a2b3 !important;
}

body.admin-shell .form-control:focus {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10) !important;
}

body.admin-shell .field-label > span {
    color: #344054;
    font-size: 13px;
    font-weight: 650;
}

body.admin-shell .form-hint {
    color: var(--admin-muted) !important;
}

body.admin-shell .alert {
    border-radius: 10px !important;
    box-shadow: none !important;
}

body.admin-shell .alert-success {
    border: 1px solid #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: var(--admin-success) !important;
}

body.admin-shell .alert-error {
    border: 1px solid #fecaca !important;
    background: #fff5f5 !important;
    color: var(--admin-danger) !important;
}

body.admin-shell .preview-image,
body.admin-shell .admin-logo-preview {
    border-color: var(--admin-line) !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
}

body.admin-shell .badge,
body.admin-shell [class*="badge-"] {
    border-radius: 999px !important;
    font-weight: 700 !important;
}

@media (min-width: 1024px) {
    body.admin-shell .admin-layout {
        grid-template-columns: 260px minmax(0, 1fr) !important;
    }
}

@media (max-width: 1023px) {
    body.admin-shell .admin-sidebar {
        box-shadow: none !important;
    }

    body.admin-shell .admin-topbar {
        align-items: flex-start;
    }
}

body.login-shell {
    min-height: 100vh !important;
    background: #f5f7fb !important;
    color: #172033;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login-shell .login-wrap {
    grid-template-columns: minmax(0, 1fr) 440px;
}

body.login-shell .login-visual {
    background: #13233a;
    color: #fff;
}

body.login-shell .login-visual img {
    opacity: 0.18 !important;
    filter: grayscale(0.2) saturate(0.75);
}

body.login-shell .login-visual::after {
    background:
        linear-gradient(90deg, rgba(19, 35, 58, 0.94), rgba(19, 35, 58, 0.72)),
        linear-gradient(180deg, rgba(15, 29, 49, 0.20), rgba(15, 29, 49, 0.92)) !important;
}

body.login-shell .login-visual-content h1 {
    max-width: 720px;
    font-size: clamp(38px, 4vw, 52px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

body.login-shell .login-visual-content p {
    color: rgba(226, 232, 240, 0.82) !important;
}

body.login-shell .login-side {
    background: #f5f7fb !important;
}

body.login-shell .login-panel {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08) !important;
}

body.login-shell .brand-symbol {
    border-radius: 9px;
    background: #17375e !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.login-shell .brand-text,
body.login-shell h1 {
    color: #172033 !important;
}

body.login-shell .page-kicker {
    border: 1px solid rgba(226, 232, 240, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
}

body.login-shell .form-control {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.login-shell .form-control:focus {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10) !important;
}

body.login-shell .btn-primary {
    border: 1px solid #17375e !important;
    background: #17375e !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.login-shell .btn-primary:hover {
    background: #0f2a4d !important;
}

/* Admin UI finishing pass: normalize legacy utility colors inside admin only. */
body.admin-shell .text-teal,
body.admin-shell [class*="text-teal"] {
    color: var(--admin-navy) !important;
}

body.admin-shell .text-ink,
body.admin-shell [class*="text-ink"] {
    color: var(--admin-text) !important;
}

body.admin-shell .text-amberx,
body.admin-shell [class*="text-amberx"] {
    color: #b54708 !important;
}

body.admin-shell .text-red-600,
body.admin-shell [class*="text-red"] {
    color: var(--admin-danger) !important;
}

body.admin-shell [class*="text-[#67706d]"] {
    color: var(--admin-muted) !important;
}

body.admin-shell [class*="border-[#e6e8e1]"],
body.admin-shell [class*="border-[#dfe6de]"],
body.admin-shell [class*="border-[#dfe6d8]"] {
    border-color: var(--admin-line) !important;
}

body.admin-shell [class*="bg-[#f6f7f2]"],
body.admin-shell [class*="bg-[#f8fbf8]"],
body.admin-shell [class*="bg-[#fbfcf8]"] {
    background-color: #f8fafc !important;
}

body.admin-shell .admin-card .rounded-lg,
body.admin-shell .admin-card .rounded-2xl,
body.admin-shell .admin-card [class*="rounded-"] {
    border-color: var(--admin-line) !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

body.admin-shell .admin-card .rounded-2xl {
    border-radius: 12px !important;
}

body.admin-shell .admin-card .text-xl,
body.admin-shell .admin-card .font-black {
    color: var(--admin-text);
}

body.admin-shell .admin-card form,
body.admin-shell .admin-card .grid {
    min-width: 0;
}

body.admin-shell .admin-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.admin-shell select.form-control {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px !important;
}

body.admin-shell textarea.form-control {
    line-height: 1.72 !important;
}

body.admin-shell input[type="file"].form-control {
    padding: 7px 10px !important;
    color: var(--admin-muted) !important;
}

body.admin-shell input[type="file"].form-control::file-selector-button {
    margin-right: 12px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    background: #f8fafc;
    padding: 7px 12px;
    color: var(--admin-navy);
    font-weight: 700;
}

body.admin-shell td details summary {
    color: var(--admin-navy) !important;
    outline: none;
}

body.admin-shell td details[open] summary {
    margin-bottom: 8px;
}

body.admin-shell .badge-green {
    border: 1px solid #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: var(--admin-success) !important;
}

body.admin-shell .badge-blue,
body.admin-shell .badge-gray {
    border: 1px solid #dbeafe !important;
    background: #eff6ff !important;
    color: var(--admin-navy) !important;
}

body.admin-shell .badge-orange {
    border: 1px solid #fed7aa !important;
    background: #fff7ed !important;
    color: #b54708 !important;
}

body.admin-shell .badge-red {
    border: 1px solid #fecaca !important;
    background: #fff5f5 !important;
    color: var(--admin-danger) !important;
}

body.admin-shell .pointer-events-none {
    cursor: not-allowed;
}

body.admin-shell textarea[readonly].form-control {
    background: #0f172a !important;
    border-color: #1e293b !important;
    color: #dbeafe !important;
}

body.admin-shell .admin-logo-preview {
    background-color: #f8fafc !important;
    background-image:
        linear-gradient(45deg, rgba(148, 163, 184, .12) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(148, 163, 184, .12) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, .12) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, .12) 75%);
}

@media (max-width: 768px) {
    body.admin-shell .admin-content {
        padding: 16px !important;
    }

    body.admin-shell .admin-topbar {
        padding: 14px 16px !important;
    }

    body.login-shell .login-wrap {
        grid-template-columns: 1fr;
    }

    body.login-shell .login-visual {
        min-height: 300px;
        padding: 32px 24px;
    }

    body.login-shell .login-side {
        padding: 20px;
    }
}

/* Login page redesign: centered frosted card over esports hotel background. */
body.login-shell {
    position: relative;
    min-height: 100vh !important;
    overflow: hidden;
    background: #eaf4f8 !important;
    color: #172033;
}

body.login-shell::before {
    content: "";
    position: fixed;
    inset: -18px;
    z-index: 0;
    background: var(--login-bg-image, url("../images/hero-pms.png")) center center / cover no-repeat;
    filter: blur(3px) brightness(1.45) saturate(1.12);
    transform: scale(1.03);
}

body.login-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 22% 20%, rgba(170, 231, 255, 0.46), transparent 34%),
        radial-gradient(circle at 82% 22%, rgba(255, 196, 226, 0.42), transparent 32%),
        linear-gradient(90deg, rgba(231, 246, 250, 0.68), rgba(236, 244, 246, 0.56));
    backdrop-filter: blur(1px);
}

body.login-shell .login-wrap {
    position: relative;
    z-index: 2;
    display: grid !important;
    min-height: 100vh;
    grid-template-columns: 1fr !important;
    place-items: center;
    padding: 32px 20px;
}

body.login-shell .login-card-shell {
    display: grid;
    width: 100%;
    place-items: center;
}

body.login-shell .login-card {
    width: min(430px, calc(100vw - 40px));
    max-width: 430px;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    padding: 40px 34px 30px !important;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(18px);
}

body.login-shell .login-logo-orb {
    position: relative;
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    place-items: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.42), transparent 26%),
        linear-gradient(135deg, #ffc83d, #f2aa00);
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.28);
}

body.login-shell .login-logo-orb span {
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
    transform: rotate(-10deg);
}

body.login-shell .login-logo-orb i {
    position: absolute;
    right: 17px;
    top: 20px;
    width: 15px;
    height: 13px;
    border-radius: 4px 7px 4px 8px;
    background: #d9253f;
    transform: rotate(18deg);
}

body.login-shell .login-logo-orb i::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 4px;
    height: 6px;
    border-left: 2px solid #ffd166;
    border-right: 2px solid #ffd166;
    transform: skewX(-16deg);
}

body.login-shell .login-logo-image {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.login-shell .login-logo-image img {
    display: block;
    width: 72%;
    height: 72%;
    object-fit: contain;
}

body.login-shell .login-heading {
    text-align: center;
}

body.login-shell .login-heading h1 {
    margin: 0;
    color: #1f2a2e !important;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.35;
}

body.login-shell .login-heading p {
    margin: 11px 0 26px;
    color: #8a979d;
    font-size: 13px;
    line-height: 1.7;
}

body.login-shell .login-card .alert {
    margin: 0 0 16px;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px;
}

body.login-shell .login-form-grid {
    display: grid;
    gap: 14px;
}

body.login-shell .login-field {
    display: flex;
    height: 50px;
    align-items: center;
    gap: 15px;
    border: 1px solid #dfe6ea;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.78);
    padding: 0 16px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.login-shell .login-field:focus-within {
    border-color: rgba(15, 118, 110, 0.42);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

body.login-shell .login-field-icon {
    width: 18px;
    color: #9aa8ae;
    font-size: 10px;
    text-align: center;
    line-height: 1;
}

body.login-shell .login-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243036;
    font-size: 14px;
    font-weight: 700;
}

body.login-shell .login-field input::placeholder {
    color: #9ba8ad;
    font-weight: 700;
}

body.login-shell .login-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 12px;
}

body.login-shell .login-captcha-code {
    height: 50px;
    border: 1px solid #e2e8ec;
    border-radius: 9px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.84)),
        repeating-linear-gradient(-12deg, transparent 0 12px, rgba(15, 118, 110, 0.08) 12px 14px);
    color: #08756c;
    cursor: pointer;
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 950;
    letter-spacing: 8px;
    line-height: 1;
    padding-left: 10px;
    text-shadow: 0 1px 0 #fff;
}

body.login-shell .login-remember {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    color: #58666b;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

body.login-shell .login-remember input {
    width: 15px;
    height: 15px;
    accent-color: #0f766e;
}

body.login-shell .login-submit {
    width: 100%;
    height: 50px;
    margin-top: 2px;
    border: 0 !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #09937e, #006855) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 26px rgba(0, 104, 85, 0.22) !important;
}

body.login-shell .login-submit:hover {
    background: linear-gradient(135deg, #0b806f, #005a49) !important;
    transform: none !important;
}

body.login-shell .login-copyright {
    margin-top: 24px;
    color: #9aa6aa;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 520px) {
    body.login-shell .login-card {
        padding: 34px 24px 26px !important;
    }

    body.login-shell .login-heading h1 {
        font-size: 19px;
    }

    body.login-shell .login-captcha-row {
        grid-template-columns: 1fr;
    }
}

/* Login page artifact fix: keep only the centered card, avoid wide white render layer. */
body.login-shell::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.login-shell .login-card-shell {
    background: transparent !important;
}

body.login-shell .login-card {
    overflow: hidden;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
