/*
 * Premium interface layer
 * Loaded after style.css so public pages and the admin workspace share a
 * single, responsive light-sky visual language without changing any data flow.
 */

:root {
    --polish-ink: #102f46;
    --polish-ink-soft: #527187;
    --polish-sky: #eaf8fd;
    --polish-cyan: #26a9cf;
    --polish-teal: #087f86;
    --polish-gold: #f4a63c;
    --polish-line: rgba(14, 79, 111, 0.12);
    --polish-shadow: 0 1.25rem 3.2rem rgba(7, 67, 94, 0.11);
    --polish-shadow-hover: 0 1.8rem 4rem rgba(7, 67, 94, 0.17);
}

::selection {
    color: #fff;
    background: #097f9a;
}

body:not(.admin-body) {
    background:
        radial-gradient(circle at 3% 18%, rgba(82, 203, 226, 0.16), transparent 22rem),
        radial-gradient(circle at 97% 9%, rgba(247, 181, 77, 0.14), transparent 20rem),
        linear-gradient(180deg, #fbfeff 0%, #edf9fd 45%, #f7fcfe 100%);
}

body:not(.admin-body)::before {
    background-size: 96px 96px;
    opacity: 0.2;
}

body:not(.admin-body) .site-main {
    min-height: 52vh;
    padding-bottom: clamp(2rem, 5vw, 5rem);
}

/* Header and navigation */
.premium-topline {
    padding-block: 0.68rem;
    background:
        linear-gradient(96deg, #0a5479 0%, #167fa4 50%, #29aebd 100%);
}

.premium-topline .container,
.premium-topline .announcement-left,
.premium-topline .announcement-contact {
    align-items: center;
}

.premium-topline .container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-left {
    display: inline-flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.52rem;
}

.announcement-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: #ffca72;
    box-shadow: 0 0 0 0.3rem rgba(255, 202, 114, 0.16);
}

.announcement-pill {
    padding: 0.25rem 0.54rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.premium-site-header {
    padding-top: 0.68rem;
}

.premium-site-header .premium-navbar {
    width: min(1580px, calc(100% - 32px));
    padding: 0.66rem 0.78rem;
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 253, 0.88)),
        radial-gradient(circle at 94% 4%, rgba(246, 178, 70, 0.17), transparent 17rem);
    box-shadow: 0 1rem 2.8rem rgba(6, 64, 92, 0.12);
}

.premium-site-header .premium-navbar::before {
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.72), transparent 38%),
        linear-gradient(130deg, transparent 63%, rgba(20, 157, 176, 0.08));
}

.premium-brand {
    flex: 0 1 330px;
    max-width: 330px;
    gap: 0.65rem;
}

.premium-brand .brand-mark-shell {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #d7f4fc);
    box-shadow: 0 0.75rem 1.5rem rgba(12, 94, 128, 0.13);
}

.premium-brand .brand-mark-shell img {
    width: 44px;
    height: 44px;
}

.premium-brand .brand-kicker {
    color: #1687a5;
    font-size: 0.59rem;
    letter-spacing: 0.13em;
}

.premium-brand strong {
    color: #10334c;
    font-size: clamp(1.05rem, 1.25vw, 1.35rem);
    letter-spacing: -0.055em;
}

.premium-brand .brand-tagline {
    max-width: 30ch;
    color: #648094;
    font-size: 0.65rem;
    font-weight: 650;
}

.premium-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-color: rgba(10, 99, 132, 0.14);
    border-radius: 14px;
    color: #0d546f;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 850;
}

.premium-menu-toggle .navbar-toggler-icon {
    width: 1.12rem;
    height: 1.12rem;
}

.premium-nav-palette {
    gap: 0.45rem;
}

.premium-nav-menu {
    gap: 0.08rem;
    padding: 0.26rem;
    border: 1px solid rgba(12, 102, 135, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.64);
}

.premium-nav-menu .nav-link {
    padding: 0.56rem 0.67rem;
    border-radius: 10px;
    color: #42667c;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.premium-nav-menu .nav-link:hover,
.premium-nav-menu .nav-link:focus-visible {
    color: #075e7a;
    background: #e5f7fb;
}

.premium-nav-menu .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #0b5879, #0e8a8a);
    box-shadow: 0 0.48rem 1rem rgba(7, 91, 119, 0.18);
}

.premium-nav-menu .dropdown-toggle::after {
    margin-left: 0.34rem;
    vertical-align: 0.12em;
    border-width: 0.26em 0.23em 0;
}

.premium-navbar .dropdown-menu {
    min-width: 15.5rem;
    margin-top: 0.72rem;
    padding: 0.48rem;
    border: 1px solid rgba(9, 94, 125, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1.4rem 3rem rgba(7, 63, 88, 0.16);
}

.premium-navbar .dropdown-item {
    padding: 0.64rem 0.72rem;
    border-radius: 10px;
    color: #315a71;
    font-size: 0.77rem;
    font-weight: 720;
}

.premium-navbar .dropdown-item:hover,
.premium-navbar .dropdown-item:focus {
    color: #075f79;
    background: #e7f8fb;
}

.premium-nav-utility {
    gap: 0.4rem;
}

.premium-nav-utility .nav-support-link,
.premium-nav-utility .nav-catalogue-cta,
.premium-nav-utility .premium-cart {
    min-height: 38px;
    padding: 0.56rem 0.7rem;
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
}

.premium-nav-utility .nav-support-link {
    color: #0a687e;
    background: #e3f8fa;
}

.premium-nav-utility .nav-catalogue-cta {
    color: #fff;
    background: linear-gradient(135deg, #0a7891, #0d9488);
    box-shadow: 0 0.55rem 1.1rem rgba(7, 123, 139, 0.18);
}

.premium-nav-utility .premium-cart {
    border: 0;
    color: #fff;
    background: #123e57;
}

.premium-nav-utility .premium-cart .badge {
    margin-left: 0.26rem;
    color: #123e57;
}

/* Reusable public page surfaces */
body:not(.admin-body) .section-block,
body:not(.admin-body) .filter-panel,
body:not(.admin-body) .detail-sidebar,
body:not(.admin-body) .checkout-form,
body:not(.admin-body) .checkout-summary,
body:not(.admin-body) .contact-card,
body:not(.admin-body) .about-card {
    border-color: var(--polish-line);
    box-shadow: var(--polish-shadow);
}

body:not(.admin-body) .section-block {
    overflow: clip;
    background:
        linear-gradient(132deg, rgba(255, 255, 255, 0.93), rgba(242, 252, 255, 0.88));
}

body:not(.admin-body) .section-heading {
    max-width: 52rem;
}

body:not(.admin-body) .section-heading h1,
body:not(.admin-body) .section-heading h2 {
    color: var(--polish-ink);
    letter-spacing: -0.06em;
}

body:not(.admin-body) .section-heading p,
body:not(.admin-body) .text-muted {
    color: var(--polish-ink-soft) !important;
}

body:not(.admin-body) .eyebrow,
body:not(.admin-body) .catalogue-count-pill {
    color: #0c7896;
}

body:not(.admin-body) .btn {
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body:not(.admin-body) .btn:hover,
body:not(.admin-body) .btn:focus-visible {
    transform: translateY(-2px);
}

body:not(.admin-body) .btn-primary {
    border-color: #087c98;
    background: linear-gradient(135deg, #087797, #0d988d);
    box-shadow: 0 0.7rem 1.35rem rgba(8, 119, 151, 0.18);
}

body:not(.admin-body) .btn-primary:hover,
body:not(.admin-body) .btn-primary:focus-visible {
    border-color: #076781;
    background: linear-gradient(135deg, #076b87, #0b847c);
    box-shadow: 0 0.95rem 1.7rem rgba(8, 103, 132, 0.23);
}

body:not(.admin-body) .btn-outline-primary {
    border-color: rgba(8, 122, 151, 0.32);
    color: #087493;
    background: rgba(255, 255, 255, 0.64);
}

body:not(.admin-body) .btn-outline-primary:hover,
body:not(.admin-body) .btn-outline-primary:focus-visible {
    border-color: #087493;
    color: #fff;
    background: #087493;
}

body:not(.admin-body) .form-control,
body:not(.admin-body) .form-select {
    min-height: 46px;
    border-color: rgba(12, 92, 125, 0.16);
    border-radius: 12px;
    color: #173f55;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

body:not(.admin-body) .form-control:focus,
body:not(.admin-body) .form-select:focus {
    border-color: #20a5c6;
    box-shadow: 0 0 0 0.22rem rgba(32, 165, 198, 0.14);
}

/* Project catalogue cards */
.subject-shortcut-grid {
    gap: 1rem;
}

.subject-shortcut-card {
    position: relative;
    overflow: hidden;
    min-height: 162px;
    border-color: rgba(10, 114, 147, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 9%, rgba(74, 201, 218, 0.22), transparent 8rem),
        linear-gradient(135deg, #fff, #eafaff);
    box-shadow: 0 0.9rem 2.2rem rgba(8, 80, 108, 0.09);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.subject-shortcut-card::after {
    position: absolute;
    right: 1rem;
    bottom: 0.8rem;
    color: rgba(5, 107, 138, 0.25);
    content: "+";
    font-family: Georgia, serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 0.7;
}

.subject-shortcut-card:hover,
.subject-shortcut-card:focus-visible {
    border-color: rgba(10, 143, 165, 0.32);
    box-shadow: var(--polish-shadow-hover);
    transform: translateY(-4px);
}

.subject-shortcut-card.accent {
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 213, 129, 0.36), transparent 9rem),
        linear-gradient(135deg, #0c536f, #0c8d8a);
}

.subject-shortcut-card.accent small,
.subject-shortcut-card.accent span {
    color: rgba(238, 253, 255, 0.8);
}

.filter-panel {
    position: relative;
    border: 1px solid rgba(9, 114, 145, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(122, 221, 233, 0.16), transparent 14rem),
        rgba(255, 255, 255, 0.78);
    box-shadow: 0 1rem 2.4rem rgba(9, 83, 111, 0.08);
}

.catalogue-toolbar-rich {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(9, 108, 138, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
}

.project-card,
.home-v3-project-card {
    border-color: rgba(8, 101, 132, 0.12);
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 253, 0.92));
    box-shadow: 0 0.85rem 2rem rgba(7, 76, 102, 0.09);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card:hover,
.home-v3-project-card:hover {
    border-color: rgba(8, 131, 154, 0.32);
    box-shadow: var(--polish-shadow-hover);
    transform: translateY(-5px);
}

.project-card-media,
.home-v3-project-image {
    background: #dff4fa;
}

.project-card-media img,
.home-v3-project-image img {
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-media img,
.home-v3-project-card:hover .home-v3-project-image img {
    transform: scale(1.055);
}

.project-card-body h3,
.home-v3-project-content h3,
.detail-sidebar h1 {
    color: #123c54;
}

.project-card .badge,
.home-v3-project-card .badge,
.project-card-meta span,
.home-v3-project-meta span {
    border-color: rgba(9, 121, 151, 0.13);
    background: #e9f9fc;
    color: #146984;
}

.pagination .page-link {
    min-width: 2.55rem;
    min-height: 2.55rem;
    display: grid;
    place-items: center;
    margin: 0 0.16rem;
    border: 1px solid rgba(10, 106, 138, 0.13);
    border-radius: 11px !important;
    color: #166987;
    background: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.pagination .page-item.active .page-link {
    border-color: #0b848b;
    color: #fff;
    background: linear-gradient(135deg, #087692, #0c9288);
}

/* Detail, order, and support experiences */
.project-detail-breadcrumb {
    margin: 0 auto 1rem;
    color: #638095;
    font-size: 0.76rem;
    font-weight: 720;
}

.project-detail-breadcrumb a {
    color: #117795;
}

.detail-gallery,
.detail-sidebar {
    border-radius: 24px;
}

.detail-hero-image {
    border-radius: 20px;
    box-shadow: 0 1rem 2.5rem rgba(7, 66, 91, 0.16);
}

.gallery-card {
    overflow: hidden;
    border-color: rgba(9, 102, 134, 0.12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0.65rem 1.4rem rgba(7, 80, 107, 0.08);
}

.detail-sidebar {
    background:
        radial-gradient(circle at 94% 6%, rgba(246, 185, 78, 0.2), transparent 12rem),
        linear-gradient(145deg, #ffffff, #eaf9fc);
}

.detail-sidebar .price,
.project-price,
.checkout-summary-total strong {
    color: #0a777d;
}

.checkout-hero,
.checkout-submit-panel {
    border-radius: 24px;
}

.checkout-method-card,
.checkout-proof-card,
.checkout-summary-card,
.checkout-support-card {
    border-color: rgba(8, 108, 140, 0.12);
    border-radius: 18px;
}

.checkout-method-card.is-selected {
    border-color: #1aa4b4;
    box-shadow: 0 0.85rem 1.8rem rgba(11, 138, 151, 0.14);
}

/* Footer and fixed assistance */
.premium-site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    border-top: 1px solid rgba(12, 102, 133, 0.1);
    background:
        radial-gradient(circle at 8% 0%, rgba(90, 210, 225, 0.24), transparent 19rem),
        radial-gradient(circle at 92% 0%, rgba(248, 188, 81, 0.16), transparent 20rem),
        linear-gradient(135deg, #092f47, #075b70 58%, #0a7d80);
}

.premium-footer-callout {
    border-color: rgba(196, 245, 248, 0.22);
    background: rgba(3, 44, 64, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.09);
}

.premium-footer-grid,
.premium-footer-bottom {
    border-color: rgba(205, 243, 246, 0.16);
}

.whatsapp-float {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: linear-gradient(135deg, #15ad59, #25d366);
    box-shadow: 0 1rem 2rem rgba(16, 139, 72, 0.26);
}

/* Admin workspace */
.admin-body {
    background:
        radial-gradient(circle at 0% 0%, rgba(96, 211, 229, 0.18), transparent 25rem),
        radial-gradient(circle at 100% 12%, rgba(252, 196, 98, 0.14), transparent 22rem),
        linear-gradient(145deg, #f6fcfe, #e6f5fb 55%, #f7fcfe);
}

.admin-shell {
    grid-template-columns: 282px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.25rem 1rem 1.5rem;
    background:
        radial-gradient(circle at 87% 2%, rgba(118, 221, 234, 0.39), transparent 11rem),
        linear-gradient(180deg, #f9feff 0%, #e4f6fb 52%, #c9ebf5 100%);
    scrollbar-width: thin;
}

.admin-sidebar::-webkit-scrollbar { width: 7px; }
.admin-sidebar::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(11, 110, 141, 0.27); }

.admin-brand {
    gap: 0.72rem;
    padding: 0.42rem 0.36rem 1rem;
    margin-bottom: 0.85rem;
}

.admin-brand img {
    width: 42px;
    height: 42px;
    padding: 0.2rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0.65rem 1.2rem rgba(9, 92, 122, 0.14);
}

.admin-brand strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: -0.04em;
}

.admin-brand small {
    display: block;
    max-width: 17ch;
    font-size: 0.6rem;
    line-height: 1.35;
}

.admin-nav {
    gap: 0.18rem;
}

.admin-nav-group {
    padding: 0.72rem 0 0.1rem;
}

.admin-nav-group + .admin-nav-group {
    margin-top: 0.35rem;
    border-top: 1px solid rgba(9, 107, 139, 0.1);
}

.admin-nav-label {
    display: block;
    padding: 0 0.64rem 0.36rem;
    color: #63889b;
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.admin-nav .nav-link {
    position: relative;
    margin-bottom: 0.1rem;
    padding: 0.58rem 0.68rem 0.58rem 0.86rem;
    border-radius: 11px;
    color: #3a6175;
    font-size: 0.72rem;
    font-weight: 730;
    line-height: 1.25;
}

.admin-nav .nav-link::before {
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.56rem;
    display: inline-block;
    border-radius: 50%;
    background: #86cedd;
    content: "";
    vertical-align: 0.08em;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link:focus-visible {
    color: #075d78;
    background: rgba(255, 255, 255, 0.72);
}

.admin-nav .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #0a6485, #0a8c88);
    box-shadow: 0 0.55rem 1rem rgba(7, 103, 132, 0.17);
}

.admin-nav .nav-link.active::before { background: #ffd17b; }
.admin-nav .nav-link.text-danger { color: #b24343 !important; }
.admin-nav .nav-link.text-danger::before { background: #e88d85; }

.admin-sidebar-card {
    margin-top: 1rem;
    padding: 1rem;
    border-color: rgba(8, 111, 143, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0.8rem 1.8rem rgba(8, 93, 121, 0.1);
}

.admin-sidebar-card .d-grid { gap: 0.38rem !important; }

.admin-sidebar-card .btn {
    padding: 0.48rem 0.56rem;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 800;
    text-align: left;
}

.admin-content {
    padding: clamp(1rem, 2vw, 1.8rem);
}

.admin-topbar {
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background:
        radial-gradient(circle at 96% 0%, rgba(89, 210, 225, 0.21), transparent 14rem),
        rgba(255, 255, 255, 0.82);
    box-shadow: 0 1rem 2.4rem rgba(9, 80, 106, 0.1);
}

.admin-topbar h1 {
    color: #123e56;
    font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.admin-topbar-actions .badge {
    padding: 0.52rem 0.7rem;
    border: 1px solid rgba(8, 104, 136, 0.12);
    color: #386377;
    background: #fff !important;
    font-size: 0.66rem;
}

.admin-content .card,
.admin-content .table-responsive,
.admin-content .admin-panel,
.admin-content .admin-table-card {
    border-color: rgba(9, 103, 135, 0.11);
    border-radius: 18px;
    box-shadow: 0 0.9rem 2rem rgba(7, 75, 100, 0.07);
}

.admin-content .table-responsive {
    background: rgba(255, 255, 255, 0.74);
}

.admin-content .table thead th {
    border-bottom-color: rgba(9, 105, 138, 0.12);
    color: #477084;
    background: rgba(226, 246, 251, 0.58);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-content .table > :not(caption) > * > * {
    border-bottom-color: rgba(10, 101, 133, 0.08);
}

@media (max-width: 1399.98px) {
    .premium-site-header .premium-navbar { width: min(1260px, calc(100% - 24px)); }

    .premium-navbar .navbar-collapse {
        width: 100%;
        margin-top: 0.6rem;
    }

    .premium-nav-palette {
        align-items: stretch;
        padding: 0.64rem;
        border: 1px solid rgba(10, 101, 133, 0.1);
        border-radius: 18px;
        background: rgba(249, 254, 255, 0.92);
        box-shadow: 0 1rem 2rem rgba(7, 78, 105, 0.09);
    }

    .premium-nav-menu {
        align-items: stretch !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .premium-nav-menu .nav-link {
        padding: 0.78rem 0.8rem;
    }

    .premium-navbar .dropdown-menu {
        margin: 0.16rem 0 0.42rem;
        border-radius: 12px;
        box-shadow: none;
    }

    .premium-nav-utility {
        padding-top: 0.62rem;
        border-top: 1px solid rgba(10, 101, 133, 0.1);
    }
}

@media (max-width: 991.98px) {
    .admin-shell { display: block; }
    .admin-sidebar { position: relative; height: auto; max-height: none; overflow: visible; }
    .admin-sidebar-card { display: none; }
    .admin-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 0.5rem; }
    .admin-nav-group { padding: 0.5rem 0; }
    .admin-nav-group + .admin-nav-group { margin-top: 0; border-top: 0; }
    .admin-nav-label { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .premium-topline .container { align-items: flex-start; flex-direction: column; }
    .announcement-contact { padding: 0; border: 0; background: transparent; }
    .announcement-pill { display: none; }
    .premium-brand { max-width: calc(100% - 6.6rem); }
    .premium-brand .brand-kicker,
    .premium-brand .brand-tagline { display: none; }
    .premium-brand strong { font-size: 1.12rem; }
    .premium-site-header .premium-navbar { width: calc(100% - 18px); padding: 0.52rem; border-radius: 20px; }
    .premium-nav-utility { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .premium-nav-utility .premium-cart { grid-column: 1 / -1; text-align: center; }
    .subject-shortcut-card { min-height: 142px; }
    .admin-content { padding: 0.8rem; }
    .admin-topbar { align-items: stretch; flex-direction: column; padding: 1rem; border-radius: 18px; }
    .admin-topbar-actions { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .announcement-copy { font-size: 0.71rem; }
    .announcement-contact { gap: 0.4rem; font-size: 0.72rem; }
    .premium-brand .brand-mark-shell { width: 47px; height: 47px; border-radius: 15px; }
    .premium-brand .brand-mark-shell img { width: 38px; height: 38px; }
    .premium-menu-toggle { padding: 0.48rem 0.58rem; }
    .premium-menu-toggle .navbar-toggler-label { display: none; }
    .section-block,
    .filter-panel { border-radius: 18px !important; }
    .detail-gallery,
    .detail-sidebar,
    .checkout-hero,
    .checkout-submit-panel { border-radius: 18px; }
    .admin-nav { grid-template-columns: 1fr; }
    .admin-nav-label { padding-left: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .home-v3-project-card,
    .subject-shortcut-card,
    body:not(.admin-body) .btn,
    .project-card-media img,
    .home-v3-project-image img { transition: none; }
}

/* Final interaction details: visible, consistent, and deliberately subtle. */
:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(31, 165, 197, 0.42);
    outline-offset: 3px;
}

.home-page-v7 .home-v5-hero {
    border-color: rgba(173, 230, 239, 0.66);
    box-shadow: 0 1.5rem 4rem rgba(7, 79, 107, 0.12);
}

.home-page-v7 .home-v6-session-ribbon {
    border-color: rgba(238, 158, 56, 0.3);
    background: linear-gradient(135deg, rgba(255, 246, 232, 0.94), rgba(255, 233, 204, 0.82));
    box-shadow: 0 0.7rem 1.4rem rgba(230, 148, 48, 0.1);
}

.home-page-v7 .home-v3-search {
    border-color: rgba(10, 125, 155, 0.14);
    box-shadow: 0 1rem 2rem rgba(8, 98, 128, 0.1);
}

.home-page-v7 .home-v3-reassurance span {
    border-color: rgba(12, 128, 146, 0.13);
    background: rgba(255, 255, 255, 0.72);
}

.home-page-v7 .home-v3-quick-filters a {
    border-color: rgba(12, 123, 153, 0.13);
    background: rgba(255, 255, 255, 0.76);
}

.home-page-v7 .home-v3-quick-filters a:hover,
.home-page-v7 .home-v3-quick-filters a:focus-visible {
    border-color: rgba(7, 132, 153, 0.33);
    color: #076e87;
    background: #e9fafe;
}

.home-page-v7 .home-v7-artwork {
    isolation: isolate;
}

.home-page-v7 .home-v7-artwork::after {
    background-size: 150% 100%, 100% 100%;
}

.premium-status-dot {
    width: 0.5rem;
    height: 0.5rem;
    display: inline-block;
    border-radius: 50%;
    background: #31bf88;
    box-shadow: 0 0 0 0.28rem rgba(49, 191, 136, 0.13);
}

.admin-content .badge:not(.rounded-pill) {
    border-radius: 8px;
    font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
    .home-page-v7 .home-v7-artwork::after {
        animation: polish-hero-sheen 13s ease-in-out infinite;
    }

    .premium-nav-menu .nav-link.active {
        animation: polish-active-nav-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

@keyframes polish-hero-sheen {
    0%, 100% { background-position: 0% 0%, 0% 0%; }
    50% { background-position: 100% 0%, 0% 0%; }
}

@keyframes polish-active-nav-in {
    from { opacity: 0.35; transform: translateY(-2px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Subject collection color system on the homepage. */
.home-page-v7 .home-v3-collections .home-v3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: #087c9a;
}

.home-page-v7 .home-v3-collections .home-v3-eyebrow::before {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #44cce1, #2687d0);
    box-shadow: 0 0 0 0.3rem rgba(54, 180, 213, 0.14);
    content: "";
}

.home-page-v7 .home-v3-collection-card {
    --collection-ink: #123f58;
    --collection-soft: #658195;
    --collection-action: #087a98;
    --collection-symbol: #0b728f;
    position: relative;
    isolation: isolate;
    border-width: 1px;
    box-shadow: 0 1rem 2.2rem rgba(10, 78, 105, 0.1);
}

.home-page-v7 .home-v3-collection-card::after {
    z-index: -1;
    width: 178px;
    height: 178px;
    opacity: 0.85;
}

.home-page-v7 .home-v3-collection-card strong { color: var(--collection-ink); }
.home-page-v7 .home-v3-collection-card small { color: var(--collection-soft); }
.home-page-v7 .home-v3-collection-card b { color: var(--collection-action); }
.home-page-v7 .home-v3-collection-card .home-v3-card-symbol {
    color: var(--collection-symbol);
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.82);
}

.home-page-v7 .home-v3-collection-card.is-primary {
    --collection-ink: #0c4d6e;
    --collection-soft: #487994;
    --collection-action: #087ca1;
    --collection-symbol: #0783a5;
    border-color: rgba(31, 161, 202, 0.22);
    background:
        radial-gradient(circle at 92% 10%, rgba(67, 206, 225, 0.34), transparent 10rem),
        linear-gradient(145deg, #d9f7ff, #f5fdff 65%, #c5eef8);
}

.home-page-v7 .home-v3-collection-card.is-primary::after { background: rgba(255, 255, 255, 0.56); }

.home-page-v7 .home-v3-collection-card.is-deep {
    --collection-ink: #ffffff;
    --collection-soft: #cdd8ff;
    --collection-action: #ffe09a;
    --collection-symbol: #3752ad;
    border-color: rgba(87, 104, 209, 0.45);
    background:
        radial-gradient(circle at 92% 8%, rgba(140, 181, 255, 0.31), transparent 10rem),
        linear-gradient(145deg, #263c91, #4a52ae 58%, #7655b0);
}

.home-page-v7 .home-v3-collection-card.is-deep::after { background: rgba(255, 255, 255, 0.11); }

.home-page-v7 .home-v3-collection-card.is-mint {
    --collection-ink: #0b5f58;
    --collection-soft: #417b73;
    --collection-action: #087f73;
    --collection-symbol: #078772;
    border-color: rgba(38, 169, 137, 0.23);
    background:
        radial-gradient(circle at 93% 7%, rgba(87, 222, 179, 0.29), transparent 10rem),
        linear-gradient(145deg, #d9faed, #f8fffc 65%, #cbf2df);
}

.home-page-v7 .home-v3-collection-card.is-mint::after { background: rgba(255, 255, 255, 0.58); }

.home-page-v7 .home-v3-collection-card.is-sun {
    --collection-ink: #70400a;
    --collection-soft: #8c6a36;
    --collection-action: #c8750a;
    --collection-symbol: #c4770d;
    border-color: rgba(232, 164, 56, 0.28);
    background:
        radial-gradient(circle at 93% 9%, rgba(255, 202, 100, 0.4), transparent 10rem),
        linear-gradient(145deg, #fff0c6, #fffaf0 65%, #ffe0a6);
}

.home-page-v7 .home-v3-collection-card.is-sun::after { background: rgba(255, 255, 255, 0.6); }

.home-page-v7 .home-v3-collection-card.is-lilac {
    --collection-ink: #4e367e;
    --collection-soft: #78669b;
    --collection-action: #7650ad;
    --collection-symbol: #7550aa;
    border-color: rgba(137, 105, 194, 0.25);
    background:
        radial-gradient(circle at 93% 8%, rgba(197, 153, 239, 0.31), transparent 10rem),
        linear-gradient(145deg, #eee4ff, #fbf9ff 64%, #e1d1ff);
}

.home-page-v7 .home-v3-collection-card.is-lilac::after { background: rgba(255, 255, 255, 0.58); }

.home-page-v7 .home-v3-collection-card.is-outline {
    --collection-ink: #814356;
    --collection-soft: #946775;
    --collection-action: #be586c;
    --collection-symbol: #bd586b;
    border-style: solid;
    border-color: rgba(222, 113, 132, 0.3);
    background:
        radial-gradient(circle at 93% 8%, rgba(255, 156, 159, 0.3), transparent 10rem),
        linear-gradient(145deg, #ffe9e8, #fffafa 63%, #ffd7d8);
}

.home-page-v7 .home-v3-collection-card.is-outline::after { background: rgba(255, 255, 255, 0.62); }

.home-page-v7 .home-v3-collection-card:hover,
.home-page-v7 .home-v3-collection-card:focus-visible {
    border-color: color-mix(in srgb, var(--collection-action) 42%, white);
    box-shadow: 0 1.45rem 2.8rem color-mix(in srgb, var(--collection-action) 20%, transparent);
}

.home-page-v7 .home-v3-collection-card:hover::before,
.home-page-v7 .home-v3-collection-card:focus-visible::before {
    color: var(--collection-action);
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
    .home-page-v7 .home-v3-collection-card:hover,
    .home-page-v7 .home-v3-collection-card:focus-visible {
        border-color: rgba(8, 124, 152, 0.38);
        box-shadow: 0 1.45rem 2.8rem rgba(10, 78, 105, 0.17);
    }
}

/* A distinct final guidance card keeps the footer call to action easy to spot. */
.premium-site-footer .premium-footer-callout {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 228, 169, 0.72);
    color: #54360f;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.62), transparent 11rem),
        radial-gradient(circle at 10% 95%, rgba(255, 178, 84, 0.27), transparent 16rem),
        linear-gradient(135deg, #fff9e4, #ffe9bd 54%, #ffd4aa);
    box-shadow:
        0 1.45rem 3.1rem rgba(0, 31, 47, 0.23),
        inset 0 1px rgba(255, 255, 255, 0.84);
}

.premium-site-footer .premium-footer-callout::before {
    position: absolute;
    z-index: 0;
    top: -7rem;
    right: 10%;
    width: 15rem;
    height: 15rem;
    border: 1.35rem solid rgba(185, 103, 31, 0.11);
    border-radius: 50%;
    content: "";
}

.premium-site-footer .premium-footer-callout > * {
    position: relative;
    z-index: 1;
}

.premium-site-footer .premium-footer-eyebrow { color: #b56712; }
.premium-site-footer .premium-footer-callout h2 { color: #54340c; }
.premium-site-footer .premium-footer-callout p { color: #7d6040; }

.premium-site-footer .premium-footer-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #08617d, #079389);
    box-shadow: 0 0.8rem 1.45rem rgba(5, 104, 119, 0.23);
}

.premium-site-footer .premium-footer-primary:hover,
.premium-site-footer .premium-footer-primary:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #07536d, #067a78);
}

.premium-site-footer .premium-footer-secondary {
    border-color: rgba(163, 97, 20, 0.26);
    color: #85500d;
    background: rgba(255, 255, 255, 0.7);
}

.premium-site-footer .premium-footer-secondary:hover,
.premium-site-footer .premium-footer-secondary:focus-visible {
    border-color: rgba(142, 78, 8, 0.45);
    color: #653704;
    background: rgba(255, 255, 255, 0.92);
}

/* Admin workspace refinement: calm, legible operational surfaces. */
.admin-content .content-panel,
.admin-content .admin-hero,
.admin-content .alert {
    border: 1px solid rgba(10, 105, 137, 0.12);
    border-radius: 20px;
    box-shadow: 0 1rem 2.3rem rgba(8, 72, 97, 0.07);
}

.admin-content .content-panel {
    padding: clamp(1.1rem, 2.4vw, 1.65rem);
    background: rgba(255, 255, 255, 0.88);
}

.admin-content .admin-section-header {
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.admin-content .admin-section-kicker,
.admin-content .admin-hero-kicker {
    color: #087998;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.admin-content .form-label {
    margin-bottom: 0.46rem;
    color: #284f64;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-content .form-control,
.admin-content .form-select {
    min-height: 2.8rem;
    border-color: rgba(9, 102, 135, 0.17);
    border-radius: 12px;
    color: #163f55;
    background-color: #fbfeff;
    box-shadow: inset 0 1px 1px rgba(12, 99, 132, 0.03);
}

.admin-content textarea.form-control { min-height: 7.5rem; }

.admin-content .form-control:focus,
.admin-content .form-select:focus {
    border-color: #2ba7bd;
    box-shadow: 0 0 0 0.22rem rgba(43, 167, 189, 0.15);
}

.admin-content .alert { border-left-width: 5px; }

.admin-session-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.48rem 0.65rem;
    border: 1px solid rgba(21, 153, 111, 0.17);
    border-radius: 999px;
    color: #287563;
    background: rgba(238, 255, 248, 0.82);
    font-size: 0.66rem;
    font-weight: 850;
    white-space: nowrap;
}

.admin-session-indicator i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #22b77c;
    box-shadow: 0 0 0 0.22rem rgba(34, 183, 124, 0.12);
}

.admin-action-dock {
    position: relative;
    overflow: hidden;
}

.admin-action-dock::after {
    position: absolute;
    top: -4.5rem;
    right: -4.7rem;
    width: 10rem;
    height: 10rem;
    border: 1rem solid rgba(70, 190, 206, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.admin-action-dock > * { position: relative; z-index: 1; }

/* Password settings: visual feedback always mirrors server-side requirements. */
.security-password-page { --security-teal: #07858d; }

.password-security-card {
    border-top: 4px solid #29a7b7 !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(105, 215, 226, 0.16), transparent 13rem),
        rgba(255, 255, 255, 0.92) !important;
}

.security-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    flex: 0 0 auto;
    padding: 0.42rem 0.64rem;
    border: 1px solid rgba(5, 128, 141, 0.16);
    border-radius: 999px;
    color: #087682;
    background: #edfffd;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.security-lock-badge::before {
    content: "\1F512";
    font-size: 0.78rem;
}

.password-input-wrap { position: relative; }

.password-input-wrap .form-control { padding-right: 4.75rem; }

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 0.48rem;
    min-width: 3.55rem;
    padding: 0.28rem 0.46rem;
    border: 0;
    border-radius: 8px;
    color: #0a6c8b;
    background: #e5f7fb;
    font-size: 0.66rem;
    font-weight: 900;
    transform: translateY(-50%);
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
    color: #ffffff;
    outline: none;
    background: #087d9a;
}

.password-strength-wrap {
    padding: 0.88rem 0.95rem;
    border: 1px solid rgba(8, 116, 145, 0.11);
    border-radius: 14px;
    background: linear-gradient(135deg, #f5fdff, #f9fcff);
}

.password-strength-wrap strong { color: #244f64; font-size: 0.78rem; }
.password-strength-message { color: #628093; font-size: 0.72rem; font-weight: 800; }
.password-strength-message[data-strength="3"] { color: #ad7412; }
.password-strength-message[data-strength="4"] { color: #157761; }

.password-strength-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.32rem;
    margin: 0.72rem 0 0.54rem;
}

.password-strength-meter span {
    height: 0.42rem;
    border-radius: 999px;
    background: #d9eaf0;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.password-strength-meter[data-strength="1"] span.is-active { background: #df6767; }
.password-strength-meter[data-strength="2"] span.is-active { background: #e7a343; }
.password-strength-meter[data-strength="3"] span.is-active { background: #39a78b; }
.password-strength-meter[data-strength="4"] span.is-active { background: #087e91; box-shadow: 0 0.2rem 0.45rem rgba(8, 126, 145, 0.16); }

.password-match-message { min-height: 1.15rem; color: #738d9c; font-size: 0.7rem; font-weight: 750; }
.password-match-message.is-valid { color: #16785f; }
.password-match-message.is-invalid { color: #bd4e4e; }

.password-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.password-form-actions .btn { min-height: 2.8rem; }

.password-guidance-card {
    background:
        radial-gradient(circle at 90% 6%, rgba(255, 212, 133, 0.25), transparent 11rem),
        linear-gradient(150deg, #fffefa, #fff8e8) !important;
}

.password-rule-list {
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.password-rule-list li {
    color: #637c89;
    transition: color 160ms ease;
}

.password-rule-list li::before {
    content: "";
    width: 0.58rem;
    height: 0.58rem;
    border: 2px solid #9db7c2;
    border-radius: 50%;
    background: transparent;
}

.password-rule-list li.is-valid { color: #18755f; }
.password-rule-list li.is-valid::before { border-color: #25a47f; background: #25a47f; box-shadow: inset 0 0 0 2px #ffffff; }

.password-guidance-note {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(194, 139, 42, 0.17);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.62);
}

.password-guidance-note strong { color: #865812; font-size: 0.76rem; }
.password-guidance-note p { margin: 0.32rem 0 0; color: #846c4c; font-size: 0.75rem; line-height: 1.55; }

@media (max-width: 575.98px) {
    .admin-session-indicator { display: none; }
    .security-lock-badge { margin-top: 0.1rem; }
    .password-form-actions .btn { width: 100%; }
}

/* Illustrated subject discovery cards on the homepage. */
.home-page-v7 .home-v3-collections {
    position: relative;
    overflow: hidden;
    border-color: rgba(10, 121, 154, 0.13);
    background:
        radial-gradient(circle at 98% 5%, rgba(113, 219, 230, 0.19), transparent 19rem),
        radial-gradient(circle at 1% 100%, rgba(255, 202, 118, 0.16), transparent 20rem),
        rgba(255, 255, 255, 0.8);
}

.home-page-v7 .home-v3-collections .home-v3-section-head {
    position: relative;
    z-index: 1;
}

.home-page-v7 .home-v3-collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-page-v7 .home-v3-collection-card {
    min-height: 240px;
    padding: 1rem;
    border-radius: 22px;
    transform: translateZ(0);
}

.home-page-v7 .home-v3-collection-card::after { display: none; }
.home-page-v7 .home-v3-collection-card::before { display: none; }

.home-page-v7 .home-v3-collection-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(62%, 15.5rem);
    min-height: 100%;
    flex-direction: column;
}

.home-page-v7 .home-v3-collection-art {
    position: absolute;
    z-index: 1;
    top: 1rem;
    right: 1rem;
    width: clamp(6.5rem, 27%, 9.2rem);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30% 14% 30% 14%;
    background: #dff5fa;
    box-shadow: 0 1rem 1.9rem rgba(7, 66, 89, 0.2);
    transform: rotate(3deg);
}

.home-page-v7 .home-v3-collection-art::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 46%, rgba(2, 43, 70, 0.13));
    content: "";
    pointer-events: none;
}

.home-page-v7 .home-v3-collection-art img {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    max-width: none;
    height: 200%;
    object-fit: fill;
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page-v7 .collection-cs .home-v3-collection-art img { left: -100%; }
.home-page-v7 .collection-python .home-v3-collection-art img { left: -200%; }
.home-page-v7 .collection-java .home-v3-collection-art img { top: -100%; }
.home-page-v7 .collection-mysql .home-v3-collection-art img { top: -100%; left: -100%; }
.home-page-v7 .collection-custom .home-v3-collection-art img { top: -100%; left: -200%; }

.home-page-v7 .home-v3-collection-card .home-v3-card-symbol {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.86rem;
    border-radius: 13px;
    box-shadow: 0 0.68rem 1.35rem rgba(8, 86, 115, 0.13);
}

.home-page-v7 .home-v3-collection-card strong {
    max-width: 14ch;
    margin-top: auto;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    letter-spacing: -0.025em;
}

.home-page-v7 .home-v3-collection-card small {
    min-height: 0;
    margin-top: 0.48rem;
    font-size: 0.74rem;
}

.home-page-v7 .home-v3-collection-card b {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.78rem;
    font-size: 0.75rem;
}

.home-page-v7 .home-v3-collection-card b span {
    display: inline-block;
    font-size: 1rem;
    line-height: 0.8;
    transition: transform 180ms ease;
}

.home-page-v7 .home-v3-collection-card:hover .home-v3-collection-art,
.home-page-v7 .home-v3-collection-card:focus-visible .home-v3-collection-art {
    box-shadow: 0 1.35rem 2.35rem rgba(7, 66, 89, 0.25);
    transform: rotate(0deg) translateY(-0.3rem);
}

.home-page-v7 .home-v3-collection-card:hover .home-v3-collection-art img,
.home-page-v7 .home-v3-collection-card:focus-visible .home-v3-collection-art img { transform: scale(1.08); }

.home-page-v7 .home-v3-collection-card:hover b span,
.home-page-v7 .home-v3-collection-card:focus-visible b span { transform: translateX(0.25rem); }

@media (max-width: 991.98px) {
    .home-page-v7 .home-v3-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page-v7 .home-v3-collection-card { min-height: 224px; }
}

@media (max-width: 575.98px) {
    .home-page-v7 .home-v3-collection-grid { grid-template-columns: 1fr; }
    .home-page-v7 .home-v3-collection-card { min-height: 208px; }
    .home-page-v7 .home-v3-collection-art { width: 7.5rem; }
    .home-page-v7 .home-v3-collection-content { width: min(61%, 16rem); }
}

@media (prefers-reduced-motion: reduce) {
    .home-page-v7 .home-v3-collection-art,
    .home-page-v7 .home-v3-collection-art img,
    .home-page-v7 .home-v3-collection-card b span { transition: none; }
}

/* Branded academic graphics for the global header without competing with navigation. */
.premium-topline {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 45%, rgba(120, 229, 237, 0.2), transparent 13rem),
        linear-gradient(96deg, #073b5a 0%, #0a658a 47%, #15999e 100%);
}

.premium-topline::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.44;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.44) 1px, transparent 1.4px),
        linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.14) 44.5% 45%, transparent 45.5% 100%);
    background-position: 0 0, 0 0;
    background-size: 22px 22px, 130px 100%;
    content: "";
    pointer-events: none;
}

.premium-site-header {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(circle at 88% -25%, rgba(136, 224, 246, 0.42), transparent 30rem),
        linear-gradient(180deg, rgba(244, 253, 255, 0.98), rgba(234, 248, 252, 0.94));
}

.premium-site-header .premium-navbar {
    border-color: rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(104deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(229, 249, 253, 0.91) 100%),
        url("../images/nav-education-pattern.svg") center / cover no-repeat;
    box-shadow:
        0 1.1rem 2.8rem rgba(7, 68, 95, 0.13),
        inset 0 1px rgba(255, 255, 255, 0.92);
}

.premium-site-header .premium-navbar::before {
    opacity: 0.8;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.76), transparent 40%),
        url("../images/nav-education-pattern.svg") center / cover no-repeat;
}

.premium-site-header .premium-navbar::after {
    top: -4rem;
    right: 18%;
    width: 17rem;
    height: 9rem;
    border-width: 1.2rem;
    border-color: rgba(30, 170, 194, 0.11);
    box-shadow: 0 0 0 1rem rgba(92, 210, 226, 0.05);
}

.premium-brand .brand-mark-shell {
    position: relative;
    overflow: visible;
    border-color: rgba(20, 148, 187, 0.28);
    background:
        radial-gradient(circle at 22% 16%, #ffffff 0 8%, transparent 8.5%),
        linear-gradient(145deg, #f8feff, #c9eff9);
    box-shadow:
        0 0.85rem 1.65rem rgba(10, 110, 147, 0.2),
        inset 0 1px rgba(255, 255, 255, 0.94);
}

.premium-brand .brand-mark-shell::before {
    position: absolute;
    z-index: -1;
    inset: -0.48rem;
    border: 1px solid rgba(55, 185, 209, 0.24);
    border-radius: 22px 17px 23px 16px;
    content: "";
    transform: rotate(-6deg);
}

.premium-brand .brand-mark-shell::after {
    position: absolute;
    right: -0.15rem;
    bottom: -0.12rem;
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #f2a340;
    box-shadow: 0 0 0 0.22rem rgba(242, 163, 64, 0.16);
    content: "";
}

.premium-brand .brand-mark-shell img { position: relative; z-index: 1; }

.premium-nav-menu {
    border-color: rgba(20, 131, 160, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.82), 0 0.6rem 1.2rem rgba(7, 84, 112, 0.05);
    backdrop-filter: blur(12px);
}

.premium-nav-menu .nav-link:not(.active)::before {
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    margin-right: 0.32rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #50c9db, #2b8fbc);
    content: "";
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 180ms ease, transform 180ms ease;
    vertical-align: 0.08em;
}

.premium-nav-menu .nav-link:not(.active):hover::before,
.premium-nav-menu .nav-link:not(.active):focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1399.98px) {
    .premium-site-header .premium-navbar::before { background-position: 28% center; opacity: 0.5; }
    .premium-nav-menu .nav-link:not(.active)::before { display: none; }
}

@media (max-width: 575.98px) {
    .premium-topline::before { opacity: 0.26; }
    .premium-site-header .premium-navbar::before { background-position: left center; opacity: 0.34; }
    .premium-brand .brand-mark-shell::before { inset: -0.25rem; }
}

/* Homepage discovery, trust, and guidance layers. */
.premium-nav-utility .nav-app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    min-height: 2.65rem;
    padding: 0.56rem 0.78rem;
    border: 1px solid rgba(10, 117, 151, 0.16);
    border-radius: 0.9rem;
    background: rgba(242, 252, 255, 0.84);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.86);
    color: #125274;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.premium-nav-utility .nav-app-link:hover,
.premium-nav-utility .nav-app-link:focus-visible {
    border-color: rgba(18, 151, 187, 0.36);
    background: #ffffff;
    box-shadow: 0 0.55rem 1.1rem rgba(13, 113, 147, 0.12);
    color: #083d5d;
    transform: translateY(-1px);
}

.premium-nav-utility .nav-app-link-icon {
    display: grid;
    width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border-radius: 0.42rem;
    background: linear-gradient(135deg, #168eb7, #45c5d8);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}

.home-page-v8 .home-v8-discovery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.55fr);
    gap: clamp(1.25rem, 3vw, 3.5rem);
    align-items: center;
    max-width: min(1380px, calc(100% - 2rem));
    margin: clamp(1.75rem, 4vw, 4.5rem) auto;
    padding: clamp(1.5rem, 3.6vw, 3.4rem);
    overflow: hidden;
    border: 1px solid rgba(35, 159, 189, 0.14);
    border-radius: clamp(1.35rem, 2.2vw, 2.25rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(142, 225, 237, 0.36), transparent 21rem),
        radial-gradient(circle at 32% 112%, rgba(255, 204, 132, 0.17), transparent 19rem),
        linear-gradient(118deg, #f8feff, #eefaff 60%, #f8fffc);
    box-shadow: 0 1.2rem 3.2rem rgba(16, 90, 122, 0.08);
}

.home-page-v8 .home-v8-discovery::after {
    position: absolute;
    right: -4rem;
    top: -5rem;
    width: 14rem;
    height: 14rem;
    border: 2.2rem solid rgba(53, 190, 209, 0.1);
    border-radius: 43% 57% 62% 38% / 46% 41% 59% 54%;
    content: "";
    pointer-events: none;
    transform: rotate(20deg);
}

.home-page-v8 .home-v8-discovery-intro,
.home-page-v8 .home-v8-filter-form,
.home-page-v8 .home-v8-tech-chips { position: relative; z-index: 1; }

.home-page-v8 .home-v8-discovery-intro h2,
.home-page-v8 .home-v8-benefits h2,
.home-page-v8 .home-v8-student-notes h2,
.home-page-v8 .home-v8-faq h2 {
    max-width: 14ch;
    margin: 0.6rem 0 0;
    color: #123f5c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.85rem, 3.2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.home-page-v8 .home-v8-discovery-intro p,
.home-page-v8 .home-v8-benefits-head p,
.home-page-v8 .home-v8-student-notes-copy p,
.home-page-v8 .home-v8-faq-intro p {
    max-width: 40rem;
    margin: 1rem 0 0;
    color: #526d80;
    font-size: 0.98rem;
    line-height: 1.72;
}

.home-page-v8 .home-v8-filter-form {
    display: grid;
    grid-template-columns: minmax(12rem, 1.65fr) repeat(4, minmax(8rem, 1fr));
    gap: 0.82rem;
    align-items: end;
    padding: 1rem;
    border: 1px solid rgba(32, 142, 172, 0.15);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0.95rem 2rem rgba(22, 117, 147, 0.08), inset 0 1px rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}

.home-page-v8 .home-v8-filter-field {
    display: grid;
    gap: 0.36rem;
    min-width: 0;
}

.home-page-v8 .home-v8-filter-field label {
    color: #5d7687;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.home-page-v8 .home-v8-filter-field input,
.home-page-v8 .home-v8-filter-field select {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(40, 129, 155, 0.16);
    border-radius: 0.72rem;
    outline: none;
    background: rgba(252, 254, 255, 0.97);
    color: #153b56;
    font: inherit;
    font-size: 0.82rem;
}

.home-page-v8 .home-v8-filter-field input:focus,
.home-page-v8 .home-v8-filter-field select:focus {
    border-color: #2aaac3;
    box-shadow: 0 0 0 0.2rem rgba(42, 170, 195, 0.15);
}

.home-page-v8 .home-v8-filter-form button {
    grid-column: span 2;
    min-height: 2.8rem;
    padding: 0.6rem 0.8rem;
    border: 0;
    border-radius: 0.72rem;
    background: linear-gradient(135deg, #0b5578, #178cac);
    box-shadow: 0 0.7rem 1.15rem rgba(10, 91, 124, 0.18);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.home-page-v8 .home-v8-filter-form button:hover,
.home-page-v8 .home-v8-filter-form button:focus-visible {
    box-shadow: 0 0.9rem 1.45rem rgba(10, 91, 124, 0.26);
    transform: translateY(-2px);
}

.home-page-v8 .home-v8-tech-chips {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: -0.05rem 0 0;
}

.home-page-v8 .home-v8-tech-chips > span {
    margin-right: 0.15rem;
    color: #678395;
    font-size: 0.78rem;
    font-weight: 750;
}

.home-page-v8 .home-v8-tech-chips a {
    padding: 0.32rem 0.62rem;
    border: 1px solid rgba(31, 145, 174, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #1a6585;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-page-v8 .home-v8-tech-chips a:hover,
.home-page-v8 .home-v8-tech-chips a:focus-visible {
    background: #0c6589;
    color: #ffffff;
    transform: translateY(-1px);
}

.home-page-v8 .home-v8-slider-fallback { max-width: min(1380px, calc(100% - 2rem)); }

.home-page-v8 .home-v8-fallback-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
    overflow: hidden;
    border-radius: 1.5rem;
    background: #0b3f5b;
    box-shadow: 0 1rem 2.3rem rgba(12, 63, 91, 0.14);
}

.home-page-v8 .home-v8-fallback-slide img {
    width: 100%;
    min-height: 20rem;
    height: 100%;
    object-fit: cover;
}

.home-page-v8 .home-v8-fallback-slide > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.8rem, 5vw, 4.4rem);
    color: #dffaff;
}

.home-page-v8 .home-v8-fallback-slide span,
.home-page-v8 .home-v8-fallback-slide > div > span {
    color: #75dff1;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-page-v8 .home-v8-fallback-slide h2 {
    max-width: 15ch;
    margin: 0.8rem 0 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.98;
}

.home-page-v8 .home-v8-fallback-slide p { margin: 1rem 0 0; color: rgba(235, 252, 255, 0.77); line-height: 1.65; }

.home-page-v8 .home-v8-fallback-slide a,
.home-page-v8 .home-v8-student-notes-copy a,
.home-page-v8 .home-v8-faq-intro a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    margin-top: 1.3rem;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.home-page-v8 .home-v8-fallback-slide a { color: #a9f0fb; }

.home-page-v8 .home-v8-benefits {
    max-width: min(1380px, calc(100% - 2rem));
    margin: clamp(2.5rem, 6vw, 6rem) auto;
}

.home-page-v8 .home-v8-benefits-head {
    display: grid;
    grid-template-columns: minmax(17rem, 0.92fr) minmax(18rem, 0.5fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.55rem;
}

.home-page-v8 .home-v8-benefits-head h2 { max-width: 20ch; }
.home-page-v8 .home-v8-benefits-head p { justify-self: end; margin-bottom: 0.05rem; }

.home-page-v8 .home-v8-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-page-v8 .home-v8-benefit-grid article {
    min-height: 13.4rem;
    padding: 1.4rem;
    border: 1px solid rgba(30, 132, 162, 0.12);
    border-radius: 1.15rem;
    background: linear-gradient(150deg, #ffffff, #f1fbfd);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 95, 127, 0.055);
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.home-page-v8 .home-v8-benefit-grid article:hover {
    border-color: rgba(32, 154, 186, 0.32);
    box-shadow: 0 1.1rem 2rem rgba(15, 95, 127, 0.12);
    transform: translateY(-4px);
}

.home-page-v8 .home-v8-benefit-icon {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #0a6389, #3ec2d2);
    box-shadow: 0 0.55rem 1rem rgba(23, 141, 172, 0.2);
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.84rem;
    font-weight: 850;
}

.home-page-v8 .home-v8-benefit-icon.is-report { background: linear-gradient(135deg, #d7832e, #f2bb57); }
.home-page-v8 .home-v8-benefit-icon.is-preview { background: linear-gradient(135deg, #4261a1, #78a7e6); }
.home-page-v8 .home-v8-benefit-icon.is-payment { background: linear-gradient(135deg, #16845f, #59c69c); }
.home-page-v8 .home-v8-benefit-icon.is-access { background: linear-gradient(135deg, #7655aa, #b68ee1); }
.home-page-v8 .home-v8-benefit-icon.is-support { background: linear-gradient(135deg, #c25f56, #ed9b76); }

.home-page-v8 .home-v8-benefit-grid h3 {
    margin: 0;
    color: #173e59;
    font-size: 1.02rem;
    font-weight: 850;
}

.home-page-v8 .home-v8-benefit-grid p { margin: 0.58rem 0 0; color: #5a7485; font-size: 0.86rem; line-height: 1.62; }

.home-page-v8 .home-v8-student-notes {
    display: grid;
    grid-template-columns: minmax(15rem, 0.83fr) minmax(0, 1.17fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    max-width: min(1380px, calc(100% - 2rem));
    margin: clamp(2.5rem, 6vw, 6rem) auto;
    padding: clamp(1.55rem, 4vw, 4.3rem);
    border-radius: clamp(1.4rem, 2.5vw, 2.5rem);
    background: linear-gradient(132deg, #123f5c, #0b6383 68%, #1593a4);
    box-shadow: 0 1.4rem 2.8rem rgba(12, 72, 99, 0.18);
    color: #ffffff;
}

.home-page-v8 .home-v8-student-notes h2 { color: #ffffff; }
.home-page-v8 .home-v8-student-notes-copy p { color: rgba(232, 253, 255, 0.77); }
.home-page-v8 .home-v8-student-notes-copy a { color: #b7f5ff; }

.home-page-v8 .home-v8-student-note-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    align-items: stretch;
}

.home-page-v8 .home-v8-student-note-list article {
    display: flex;
    flex-direction: column;
    min-height: 13rem;
    padding: 1.1rem;
    border: 1px solid rgba(182, 242, 250, 0.18);
    border-radius: 1rem;
    background: rgba(3, 43, 65, 0.2);
}

.home-page-v8 .home-v8-student-note-list article > span { color: #81e7f4; font-size: 0.74rem; font-weight: 850; letter-spacing: 0.11em; }
.home-page-v8 .home-v8-student-note-list blockquote { margin: 1rem 0 0; color: #ffffff; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.35; }
.home-page-v8 .home-v8-student-note-list small { margin-top: auto; padding-top: 1rem; color: rgba(211, 249, 255, 0.74); font-size: 0.72rem; font-weight: 700; }

.home-page-v8 .home-v8-faq {
    display: grid;
    grid-template-columns: minmax(15rem, 0.7fr) minmax(20rem, 1.1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    max-width: min(1200px, calc(100% - 2rem));
    margin: clamp(2.5rem, 6vw, 6.5rem) auto clamp(2rem, 5vw, 5rem);
}

.home-page-v8 .home-v8-faq h2 { max-width: 13ch; }
.home-page-v8 .home-v8-faq-intro a { color: #0f688a; }

.home-page-v8 .home-v8-faq-list { display: grid; gap: 0.75rem; }

.home-page-v8 .home-v8-faq-list details {
    overflow: hidden;
    border: 1px solid rgba(37, 132, 161, 0.13);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.6rem 1.15rem rgba(15, 89, 118, 0.045);
}

.home-page-v8 .home-v8-faq-list summary {
    position: relative;
    padding: 1.08rem 3.5rem 1.08rem 1.15rem;
    color: #173e59;
    cursor: pointer;
    font-size: 0.94rem;
    font-weight: 820;
    list-style: none;
}

.home-page-v8 .home-v8-faq-list summary::-webkit-details-marker { display: none; }
.home-page-v8 .home-v8-faq-list summary::after { position: absolute; right: 1.1rem; top: 50%; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #e9f9fc; color: #147898; content: "+"; font-size: 1.2rem; font-weight: 650; line-height: 1.3rem; text-align: center; transform: translateY(-50%); }
.home-page-v8 .home-v8-faq-list details[open] summary::after { content: "-"; background: #0e6688; color: #ffffff; }
.home-page-v8 .home-v8-faq-list p { margin: -0.1rem 1.15rem 1.1rem; color: #5a7385; font-size: 0.9rem; line-height: 1.68; }

@media (max-width: 1599.98px) and (min-width: 1400px) {
    .premium-nav-utility .nav-app-link { width: 2.65rem; padding: 0.52rem; }
    .premium-nav-utility .nav-app-link > span:last-child { display: none; }
}

@media (max-width: 1199.98px) {
    .home-page-v8 .home-v8-discovery { grid-template-columns: 1fr; }
    .home-page-v8 .home-v8-tech-chips { grid-column: auto; }
    .home-page-v8 .home-v8-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-page-v8 .home-v8-filter-field.is-search { grid-column: span 2; }
    .home-page-v8 .home-v8-filter-form button { grid-column: auto; }
    .home-page-v8 .home-v8-student-note-list { grid-template-columns: 1fr; }
    .home-page-v8 .home-v8-student-note-list article { min-height: auto; }
}

@media (max-width: 991.98px) {
    .home-page-v8 .home-v8-benefits-head,
    .home-page-v8 .home-v8-student-notes,
    .home-page-v8 .home-v8-faq,
    .home-page-v8 .home-v8-fallback-slide { grid-template-columns: 1fr; }
    .home-page-v8 .home-v8-benefits-head p { justify-self: start; }
    .home-page-v8 .home-v8-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page-v8 .home-v8-fallback-slide img { min-height: 14rem; max-height: 23rem; }
}

@media (max-width: 767.98px) {
    .premium-nav-utility .nav-app-link { flex: 1 1 auto; }
    .home-page-v8 .home-v8-discovery { max-width: min(100% - 1.25rem, 1380px); padding: 1.25rem; }
    .home-page-v8 .home-v8-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.8rem; }
    .home-page-v8 .home-v8-filter-field.is-search,
    .home-page-v8 .home-v8-filter-form button { grid-column: span 2; }
    .home-page-v8 .home-v8-benefits,
    .home-page-v8 .home-v8-student-notes,
    .home-page-v8 .home-v8-faq,
    .home-page-v8 .home-v8-slider-fallback { max-width: min(100% - 1.25rem, 1380px); }
    .home-page-v8 .home-v8-benefit-grid { grid-template-columns: 1fr; }
    .home-page-v8 .home-v8-benefit-grid article { min-height: 0; }
}

@media (max-width: 499.98px) {
    .home-page-v8 .home-v8-filter-form { grid-template-columns: 1fr; }
    .home-page-v8 .home-v8-filter-field.is-search,
    .home-page-v8 .home-v8-filter-form button { grid-column: auto; }
    .home-page-v8 .home-v8-tech-chips { align-items: flex-start; flex-direction: column; }
    .home-page-v8 .home-v8-tech-chips > span { margin: 0; }
    .home-page-v8 .home-v8-fallback-slide > div { padding: 1.5rem 1.25rem 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-nav-utility .nav-app-link,
    .home-page-v8 .home-v8-filter-form button,
    .home-page-v8 .home-v8-tech-chips a,
    .home-page-v8 .home-v8-benefit-grid article { transition: none; }
    .premium-nav-utility .nav-app-link:hover,
    .premium-nav-utility .nav-app-link:focus-visible,
    .home-page-v8 .home-v8-filter-form button:hover,
    .home-page-v8 .home-v8-filter-form button:focus-visible,
    .home-page-v8 .home-v8-tech-chips a:hover,
    .home-page-v8 .home-v8-tech-chips a:focus-visible,
    .home-page-v8 .home-v8-benefit-grid article:hover { transform: none; }
}

/* Premium admin command workspace. Shared by every protected admin page. */
.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 72% -9%, rgba(128, 223, 240, 0.25), transparent 31rem),
        radial-gradient(circle at 100% 44%, rgba(255, 194, 104, 0.13), transparent 24rem),
        linear-gradient(145deg, #f8feff 0%, #e8f7fb 52%, #f5fbfd 100%);
}

.admin-body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(28, 145, 171, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 145, 171, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    pointer-events: none;
}

.admin-shell { grid-template-columns: 294px minmax(0, 1fr); }

.admin-sidebar {
    isolation: isolate;
    border-right: 1px solid rgba(37, 151, 181, 0.17);
    background:
        linear-gradient(180deg, rgba(250, 254, 255, 0.97), rgba(230, 248, 252, 0.96) 48%, rgba(204, 238, 246, 0.98)),
        url("../images/nav-education-pattern.svg") center / cover no-repeat;
    box-shadow: 1.1rem 0 3.5rem rgba(8, 91, 118, 0.11);
}

.admin-sidebar::before {
    z-index: -1;
    right: -5rem;
    top: -4.5rem;
    width: 15rem;
    height: 15rem;
    border: 1.5rem solid rgba(50, 190, 210, 0.12);
    border-radius: 42% 58% 57% 43% / 49% 41% 59% 51%;
    background: none;
    transform: rotate(18deg);
}

.admin-sidebar::after {
    z-index: -1;
    left: -6rem;
    bottom: -4.5rem;
    width: 15rem;
    height: 15rem;
    border: 1.65rem solid rgba(245, 173, 82, 0.13);
    border-radius: 59% 41% 38% 62% / 47% 58% 42% 53%;
    background: none;
    transform: rotate(-23deg);
}

.admin-brand {
    position: relative;
    align-items: center;
    padding: 0.48rem 0.35rem 1rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(17, 127, 156, 0.13);
}

.admin-brand::after {
    position: absolute;
    right: 0.25rem;
    bottom: -1px;
    width: 4.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d94b4, #65d2df, #f0ad56);
    content: "";
}

.admin-brand img {
    position: relative;
    border: 1px solid rgba(21, 145, 181, 0.22);
    background: linear-gradient(145deg, #ffffff, #d7f4fb);
    box-shadow: 0 0.75rem 1.55rem rgba(9, 105, 135, 0.18), inset 0 1px rgba(255, 255, 255, 0.95);
}

.admin-brand img::after { content: ""; }
.admin-brand strong { color: #123d59; font-size: 1.18rem; }
.admin-brand small { color: #57778a; font-weight: 680; }

.admin-operator-card {
    position: relative;
    z-index: 1;
    margin: 0.15rem 0 0.9rem;
    padding: 0.82rem;
    overflow: hidden;
    border: 1px solid rgba(18, 140, 172, 0.15);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(106, 218, 232, 0.26), transparent 6rem),
        rgba(255, 255, 255, 0.71);
    box-shadow: 0 0.75rem 1.6rem rgba(9, 95, 124, 0.08), inset 0 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.admin-operator-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.37rem;
    margin-bottom: 0.65rem;
    color: #438095;
    font-size: 0.59rem;
    font-weight: 900;
    letter-spacing: 0.105em;
    text-transform: uppercase;
}

.admin-operator-kicker i {
    width: 0.43rem;
    height: 0.43rem;
    border-radius: 50%;
    background: #1baa73;
    box-shadow: 0 0 0 0.2rem rgba(27, 170, 115, 0.12);
}

.admin-operator-profile { display: flex; gap: 0.63rem; align-items: center; }

.admin-operator-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 2.28rem;
    height: 2.28rem;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #17698c, #30b2c5);
    box-shadow: 0 0.45rem 0.85rem rgba(18, 111, 142, 0.19);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.admin-operator-profile strong,
.admin-operator-profile small { display: block; }
.admin-operator-profile strong { max-width: 14rem; overflow: hidden; color: #123e5a; font-size: 0.76rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.admin-operator-profile small { margin-top: 0.1rem; color: #668494; font-size: 0.62rem; font-weight: 680; }

.admin-operator-links { display: flex; gap: 0.4rem; margin-top: 0.75rem; }
.admin-operator-links a { flex: 1 1 0; padding: 0.34rem 0.38rem; border: 1px solid rgba(17, 128, 157, 0.13); border-radius: 0.48rem; background: rgba(255, 255, 255, 0.68); color: #1c6684; font-size: 0.61rem; font-weight: 800; text-align: center; text-decoration: none; transition: background 180ms ease, color 180ms ease; }
.admin-operator-links a:hover, .admin-operator-links a:focus-visible { background: #116b8d; color: #ffffff; }

.admin-nav-group { position: relative; z-index: 1; }
.admin-nav-label { display: flex; align-items: center; gap: 0.38rem; color: #578397; }
.admin-nav-label::before { width: 0.42rem; height: 0.42rem; border: 1px solid rgba(23, 142, 169, 0.25); border-radius: 50%; background: rgba(117, 215, 228, 0.38); content: ""; }

.admin-nav .nav-link {
    border: 1px solid transparent;
    background: transparent;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link:focus-visible {
    border-color: rgba(24, 144, 174, 0.13);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0.5rem 1rem rgba(8, 94, 124, 0.055);
    transform: translateX(3px);
}

.admin-nav .nav-link.active {
    border-color: rgba(12, 111, 142, 0.18);
    background: linear-gradient(135deg, #0c5f82, #118c94 70%, #27afbf);
    box-shadow: 0 0.75rem 1.35rem rgba(6, 92, 124, 0.2);
}

.admin-sidebar-card { position: relative; z-index: 1; border-color: rgba(11, 123, 153, 0.15); background: rgba(255, 255, 255, 0.76); }
.admin-action-dock::before { position: absolute; right: 0.8rem; bottom: 0.7rem; width: 2.5rem; height: 0.35rem; border-radius: 999px; background: linear-gradient(90deg, #52cbda, #f2b258); content: ""; }

.admin-content { position: relative; }

.admin-topbar {
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background:
        linear-gradient(102deg, rgba(255, 255, 255, 0.94), rgba(245, 254, 255, 0.79) 55%, rgba(228, 249, 252, 0.9)),
        url("../images/nav-education-pattern.svg") center / cover no-repeat;
    box-shadow: 0 1rem 2.7rem rgba(8, 82, 110, 0.1), inset 0 1px rgba(255, 255, 255, 0.96);
}

.admin-topbar::before {
    position: absolute;
    z-index: -1;
    right: 1rem;
    top: -4.4rem;
    width: 14rem;
    height: 10rem;
    border: 1.5rem solid rgba(42, 180, 199, 0.1);
    border-radius: 45% 55% 60% 40% / 48% 47% 53% 52%;
    content: "";
    transform: rotate(-18deg);
}

.admin-topbar-copy { position: relative; z-index: 1; }
.admin-topbar-kicker { color: #167c99; }
.admin-topbar-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -0.045em; }
.admin-topbar-copy p { color: #5f7b8d !important; font-size: 0.79rem; line-height: 1.55; }

.admin-topbar-actions { position: relative; z-index: 1; }
.admin-topbar-actions .btn { min-height: 2.38rem; border-color: rgba(21, 123, 153, 0.17); border-radius: 0.72rem; color: #15536f; background: rgba(255, 255, 255, 0.66); font-size: 0.69rem; font-weight: 800; }
.admin-topbar-actions .btn.btn-primary { border-color: transparent; background: linear-gradient(135deg, #0d6488, #1aa6b5); box-shadow: 0 0.55rem 1rem rgba(11, 104, 137, 0.18); color: #ffffff; }
.admin-topbar-actions .btn:hover, .admin-topbar-actions .btn:focus-visible { border-color: rgba(19, 129, 160, 0.34); background: #ffffff; color: #0a5272; }
.admin-topbar-actions .btn.btn-primary:hover, .admin-topbar-actions .btn.btn-primary:focus-visible { background: linear-gradient(135deg, #084d70, #118b9a); color: #ffffff; }

.admin-content .content-panel,
.admin-content .admin-panel,
.admin-content .admin-table-card {
    overflow: hidden;
    border-color: rgba(16, 127, 157, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(140, 226, 237, 0.12), transparent 14rem),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 1rem 2.35rem rgba(6, 87, 115, 0.07), inset 0 1px rgba(255, 255, 255, 0.85);
}

.admin-content .admin-section-kicker { color: #14809d; }
.admin-content .admin-section-header h2 { color: #153e58; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.025em; }
.admin-content .admin-section-header .btn { border-radius: 0.68rem; font-size: 0.7rem; font-weight: 800; }

.admin-content .table-responsive { overflow-x: auto; border: 1px solid rgba(18, 130, 160, 0.12); background: rgba(255, 255, 255, 0.78); }
.admin-content .table { margin-bottom: 0; }
.admin-content .table thead th { position: sticky; top: 0; z-index: 2; padding-top: 0.9rem; padding-bottom: 0.9rem; background: linear-gradient(180deg, #effcff, #e2f5f9); color: #386980; }
.admin-content .table tbody tr { transition: background 160ms ease; }
.admin-content .table tbody tr:hover { background: rgba(80, 198, 216, 0.07); }
.admin-content .table td { vertical-align: middle; }

.admin-content .badge { font-weight: 800; letter-spacing: 0.02em; }
.admin-content .btn { border-radius: 0.68rem; font-weight: 780; }
.admin-content .btn-primary { border-color: transparent; background: linear-gradient(135deg, #0e6386, #18a5b5); box-shadow: 0 0.55rem 1.1rem rgba(11, 103, 136, 0.16); }
.admin-content .btn-primary:hover, .admin-content .btn-primary:focus-visible { background: linear-gradient(135deg, #094b6d, #108795); }
.admin-content .btn-outline-dark { border-color: rgba(18, 91, 118, 0.23); color: #1a5269; }
.admin-content .btn-outline-dark:hover, .admin-content .btn-outline-dark:focus-visible { border-color: #116b8c; background: #116b8c; color: #ffffff; }

.admin-content .form-control,
.admin-content .form-select { transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.admin-content .form-control:hover,
.admin-content .form-select:hover { border-color: rgba(15, 139, 171, 0.33); background: #ffffff; }

.dashboard-command-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background:
        radial-gradient(circle at 85% 16%, rgba(255, 213, 140, 0.25), transparent 15rem),
        linear-gradient(122deg, #083e5c 0%, #096584 47%, #149aa5 100%);
    box-shadow: 0 1.4rem 3rem rgba(7, 74, 99, 0.19) !important;
}

.dashboard-command-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(130deg, transparent 0 45%, rgba(255, 255, 255, 0.2) 45.5% 46%, transparent 46.5% 100%),
        radial-gradient(circle, rgba(255, 255, 255, 0.62) 1px, transparent 1.45px);
    background-size: 160px 100%, 22px 22px;
    content: "";
}

.dashboard-command-hero::after {
    position: absolute;
    z-index: -1;
    right: -3rem;
    bottom: -5rem;
    width: 19rem;
    height: 19rem;
    border: 2.8rem solid rgba(129, 229, 239, 0.13);
    border-radius: 50%;
    content: "";
}

.dashboard-command-hero .admin-hero-copy,
.dashboard-command-hero .dashboard-score-panel { position: relative; z-index: 1; }
.dashboard-command-hero .admin-hero-kicker { color: #a9edf6; }
.dashboard-command-hero h2 { max-width: 18ch; font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.04em; }
.dashboard-command-hero p { max-width: 60ch; color: rgba(237, 253, 255, 0.8); }
.dashboard-command-hero .btn { border-radius: 0.72rem; font-size: 0.72rem; font-weight: 800; }
.dashboard-command-hero .btn-light { border-color: #ffffff; color: #0d5375; background: #ffffff; }
.dashboard-command-hero .btn-outline-light { border-color: rgba(224, 252, 255, 0.35); background: rgba(5, 63, 87, 0.12); }
.dashboard-command-hero .btn-outline-light:hover, .dashboard-command-hero .btn-outline-light:focus-visible { background: rgba(255, 255, 255, 0.14); }

.dashboard-score-orb { position: relative; width: min(100%, 230px); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 0.7rem rgba(255, 255, 255, 0.18), 0 1.35rem 2.4rem rgba(1, 41, 61, 0.25); }
.dashboard-score-orb::after { position: absolute; inset: 0.85rem; border: 1px dashed rgba(10, 77, 102, 0.24); border-radius: inherit; content: ""; }
.dashboard-score-orb span, .dashboard-score-orb strong { position: relative; z-index: 1; }
.dashboard-score-list span { justify-content: flex-start; padding-left: 0.9rem; background: rgba(0, 46, 69, 0.16); font-size: 0.72rem; }
.dashboard-score-list span::before { width: 0.4rem; height: 0.4rem; margin-right: 0.48rem; border-radius: 50%; background: #80e8f1; box-shadow: 0 0 0 0.2rem rgba(128, 232, 241, 0.11); content: ""; }

.dashboard-kpi-card { min-height: 178px; border-color: rgba(22, 135, 165, 0.13); box-shadow: 0 0.9rem 1.9rem rgba(10, 92, 119, 0.075); }
.dashboard-kpi-card::before { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0; height: 0.22rem; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, #1393ad, #80dce6); content: ""; }
.dashboard-kpi-card.is-hot::before { background: linear-gradient(90deg, #d8744d, #f2b659); }
.dashboard-kpi-card.is-money::before { background: linear-gradient(90deg, #138066, #6fd3a2); }
.dashboard-kpi-card:hover { transform: translateY(-5px); }
.dashboard-kpi-label { border: 1px solid rgba(13, 137, 166, 0.1); color: #477487; font-size: 0.64rem; }

.dashboard-priority-card,
.dashboard-order-card { border-color: rgba(21, 128, 158, 0.11); border-radius: 1rem; box-shadow: 0 0.45rem 0.9rem rgba(7, 83, 111, 0.045); }
.dashboard-priority-card em { border: 1px solid rgba(17, 139, 170, 0.12); background: #e7f8fb; color: #146985; font-size: 0.7rem; }
.dashboard-progress-track { height: 0.64rem; background: #e2f1f4; }
.dashboard-progress-track span { background: linear-gradient(90deg, #0d688c, #24b2bd 62%, #efb358); box-shadow: 0 0.18rem 0.48rem rgba(27, 161, 181, 0.24); }
.dashboard-health-score { background: linear-gradient(135deg, #0c5275, #108695 68%, #27b4bd); }
.dashboard-action-grid .admin-action-tile { position: relative; overflow: hidden; border-color: rgba(20, 135, 166, 0.12); }
.dashboard-action-grid .admin-action-tile::after { position: absolute; right: -1.45rem; bottom: -1.65rem; width: 5rem; height: 5rem; border: 0.85rem solid rgba(79, 196, 210, 0.12); border-radius: 50%; content: ""; }
.dashboard-action-grid .admin-action-tile > * { position: relative; z-index: 1; }

@media (max-width: 991.98px) {
    .admin-body::before { display: none; }
    .admin-operator-card { display: none; }
    .admin-sidebar { background: linear-gradient(160deg, #f8feff, #dff4fa); }
    .admin-nav .nav-link:hover,
    .admin-nav .nav-link:focus-visible { transform: none; }
}

@media (max-width: 767.98px) {
    .admin-topbar::before { right: -4rem; opacity: 0.58; }
    .dashboard-command-hero h2 { max-width: 100%; }
    .dashboard-score-orb { width: min(100%, 190px); }
}

@media (prefers-reduced-motion: reduce) {
    .admin-nav .nav-link,
    .admin-operator-links a,
    .admin-topbar-actions .btn,
    .admin-content .table tbody tr,
    .dashboard-kpi-card { transition: none; }
    .admin-nav .nav-link:hover,
    .admin-nav .nav-link:focus-visible,
    .dashboard-kpi-card:hover { transform: none; }
}

/* Dedicated secure administrator access screen. */
.premium-admin-login {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 82% 2%, rgba(113, 216, 234, 0.28), transparent 27rem),
        radial-gradient(circle at 8% 95%, rgba(254, 188, 93, 0.17), transparent 24rem),
        linear-gradient(145deg, #f6fdff, #e7f7fb 54%, #f8fcfd);
}

.premium-admin-login::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    opacity: 0.24;
    background-image:
        radial-gradient(circle, rgba(23, 139, 165, 0.35) 1px, transparent 1.4px),
        linear-gradient(130deg, transparent 0 46%, rgba(23, 139, 165, 0.13) 46.5% 47%, transparent 47.5% 100%);
    background-size: 24px 24px, 170px 100%;
    content: "";
    pointer-events: none;
}

.premium-admin-login .admin-login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    width: min(1240px, calc(100% - 2rem));
    min-height: min(760px, calc(100vh - 2rem));
    margin: 1rem auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1.6rem 4.8rem rgba(6, 75, 101, 0.16), inset 0 1px rgba(255, 255, 255, 0.88);
}

.premium-admin-login .admin-login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.7rem, 5vw, 4.5rem);
    overflow: hidden;
    color: #f4fdff;
    background:
        radial-gradient(circle at 87% 13%, rgba(255, 207, 120, 0.3), transparent 13rem),
        radial-gradient(circle at 2% 96%, rgba(100, 219, 229, 0.2), transparent 18rem),
        linear-gradient(132deg, #073d5a 0%, #086381 53%, #11959d 100%);
}

.premium-admin-login .admin-login-visual::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0.35;
    background:
        url("../images/nav-education-pattern.svg") center / cover no-repeat,
        linear-gradient(120deg, transparent 0 39%, rgba(255, 255, 255, 0.14) 39.4% 40%, transparent 40.4% 100%);
    content: "";
    mix-blend-mode: screen;
    pointer-events: none;
}

.premium-admin-login .admin-login-visual::after {
    position: absolute;
    z-index: 0;
    right: -6rem;
    bottom: -7rem;
    width: 25rem;
    height: 25rem;
    border: 3.4rem solid rgba(152, 238, 244, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 1.3rem rgba(255, 194, 102, 0.06);
    content: "";
}

.premium-admin-login .admin-login-brand,
.premium-admin-login .admin-login-visual-copy,
.premium-admin-login .admin-login-trust-list,
.premium-admin-login .admin-login-public-link { position: relative; z-index: 1; }

.premium-admin-login .admin-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    width: fit-content;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.premium-admin-login .admin-login-brand > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.27);
}

.premium-admin-login .admin-login-brand img { width: 2.5rem; height: 2.5rem; }

.premium-admin-login .admin-login-visual-copy { margin: auto 0 2.25rem; }
.premium-admin-login .admin-login-kicker { display: inline-flex; align-items: center; gap: 0.44rem; padding: 0.45rem 0.67rem; border: 1px solid rgba(190, 246, 250, 0.25); border-radius: 999px; background: rgba(0, 44, 67, 0.16); color: #b7f3fa; font-size: 0.67rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.premium-admin-login .admin-login-kicker::before { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #7ce0eb; box-shadow: 0 0 0 0.22rem rgba(124, 224, 235, 0.13); content: ""; }

.premium-admin-login .admin-login-visual h1 {
    max-width: 12ch;
    margin: 1.2rem 0 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.6vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.premium-admin-login .admin-login-visual p { max-width: 38rem; margin: 1.25rem 0 0; color: rgba(235, 253, 255, 0.78); font-size: 1rem; line-height: 1.72; }

.premium-admin-login .admin-login-trust-list { display: grid; gap: 0.62rem; margin: 0; padding: 0; list-style: none; }
.premium-admin-login .admin-login-trust-list li { display: flex; align-items: center; gap: 0.65rem; color: rgba(243, 254, 255, 0.88); font-size: 0.79rem; font-weight: 700; }
.premium-admin-login .admin-login-trust-list li span { display: grid; width: 1.58rem; height: 1.58rem; place-items: center; border: 1px solid rgba(205, 248, 252, 0.25); border-radius: 0.52rem; background: rgba(255, 255, 255, 0.11); color: #9aedf5; font-size: 0.6rem; font-weight: 900; }

.premium-admin-login .admin-login-public-link { width: fit-content; margin-top: 1.5rem; color: #b7f3fa; font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.premium-admin-login .admin-login-public-link:hover, .premium-admin-login .admin-login-public-link:focus-visible { color: #ffffff; text-decoration: underline; }

.premium-admin-login .admin-login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.7rem, 5vw, 5.25rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(135, 228, 239, 0.2), transparent 15rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 255, 0.95));
}

.premium-admin-login .admin-login-panel-head { display: flex; align-items: center; gap: 0.7rem; }
.premium-admin-login .admin-login-panel-icon { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid rgba(17, 145, 180, 0.18); border-radius: 0.9rem; background: linear-gradient(145deg, #e8fafe, #c7f0f6); box-shadow: inset 0 1px rgba(255, 255, 255, 0.92); font-size: 1.12rem; }
.premium-admin-login .admin-login-panel-copy small, .premium-admin-login .admin-login-panel-copy strong { display: block; }
.premium-admin-login .admin-login-panel-copy small { color: #578196; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.premium-admin-login .admin-login-panel-copy strong { margin-top: 0.15rem; color: #15435e; font-size: 0.86rem; }

.premium-admin-login .admin-login-panel h2 { margin: 1.65rem 0 0; color: #143f5c; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.055em; line-height: 0.98; }
.premium-admin-login .admin-login-intro { margin: 0.75rem 0 0; color: #607b8c; font-size: 0.9rem; line-height: 1.65; }
.premium-admin-login .admin-login-panel .alert { margin: 1.25rem 0 0; border-width: 1px 1px 1px 4px; border-radius: 0.82rem; font-size: 0.83rem; }

.premium-admin-login .admin-login-form { display: grid; gap: 1.05rem; margin-top: 1.6rem; }
.premium-admin-login .admin-login-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.premium-admin-login .admin-login-field { display: grid; gap: 0.42rem; }
.premium-admin-login .admin-login-field > label { color: #365c70; font-size: 0.75rem; font-weight: 850; }
.premium-admin-login .admin-login-field input { width: 100%; min-height: 3.15rem; padding: 0.72rem 0.85rem; border: 1px solid rgba(18, 129, 158, 0.17); border-radius: 0.82rem; outline: none; background: #fbfeff; color: #153e58; font: inherit; font-size: 0.94rem; box-shadow: inset 0 1px 1px rgba(7, 81, 108, 0.02); }
.premium-admin-login .admin-login-field input:focus { border-color: #23a3bd; box-shadow: 0 0 0 0.23rem rgba(35, 163, 189, 0.15); background: #ffffff; }

.premium-admin-login .admin-login-password-wrap { position: relative; }
.premium-admin-login .admin-login-password-wrap input { padding-right: 4.8rem; }
.premium-admin-login .admin-login-password-toggle { position: absolute; top: 50%; right: 0.42rem; min-width: 3.6rem; padding: 0.37rem 0.46rem; border: 0; border-radius: 0.56rem; background: #e5f8fb; color: #0e6f8e; cursor: pointer; font-size: 0.68rem; font-weight: 900; transform: translateY(-50%); }
.premium-admin-login .admin-login-password-toggle:hover, .premium-admin-login .admin-login-password-toggle:focus-visible { background: #0e6f8e; color: #ffffff; }
.premium-admin-login .admin-login-caps { min-height: 0.95rem; color: #ad6a20; font-size: 0.68rem; font-weight: 800; }

.premium-admin-login .admin-login-submit { display: inline-flex; align-items: center; justify-content: space-between; min-height: 3.2rem; margin-top: 0.2rem; padding: 0.6rem 0.9rem 0.6rem 1rem; border: 0; border-radius: 0.85rem; background: linear-gradient(135deg, #0a5478, #148ca8 58%, #2ab0bc); box-shadow: 0 0.9rem 1.45rem rgba(12, 104, 138, 0.2); color: #ffffff; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: 850; transition: box-shadow 180ms ease, transform 180ms ease; }
.premium-admin-login .admin-login-submit b { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 0.56rem; background: rgba(255, 255, 255, 0.17); font-size: 1rem; }
.premium-admin-login .admin-login-submit:hover, .premium-admin-login .admin-login-submit:focus-visible { box-shadow: 0 1.1rem 1.85rem rgba(12, 104, 138, 0.28); transform: translateY(-2px); }

.premium-admin-login .admin-login-panel-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.7rem; margin-top: 1.25rem; color: #678595; font-size: 0.7rem; font-weight: 720; }
.premium-admin-login .admin-login-panel-footer span { display: inline-flex; align-items: center; gap: 0.36rem; }
.premium-admin-login .admin-login-panel-footer i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #27a978; box-shadow: 0 0 0 0.18rem rgba(39, 169, 120, 0.11); }
.premium-admin-login .admin-login-panel-footer a { color: #136b8a; font-weight: 850; text-decoration: none; }
.premium-admin-login .admin-login-panel-footer a:hover, .premium-admin-login .admin-login-panel-footer a:focus-visible { color: #0a4567; text-decoration: underline; }

.home-page-v8 .home-v3-final { position: relative; }
.home-page-v8 .home-v8-admin-entry { position: absolute; right: clamp(1.25rem, 4vw, 4rem); bottom: 1rem; margin: 0; color: rgba(237, 253, 255, 0.68); font-size: 0.68rem; }
.home-page-v8 .home-v8-admin-entry a { color: #b5f2fb; font-weight: 850; text-decoration: none; }
.home-page-v8 .home-v8-admin-entry a:hover, .home-page-v8 .home-v8-admin-entry a:focus-visible { color: #ffffff; text-decoration: underline; }

@media (max-width: 899.98px) {
    .premium-admin-login .admin-login-shell { grid-template-columns: 1fr; width: min(650px, calc(100% - 1.25rem)); min-height: 0; margin: 0.65rem auto; }
    .premium-admin-login .admin-login-visual { min-height: 23rem; padding: clamp(1.4rem, 5vw, 2.6rem); }
    .premium-admin-login .admin-login-visual-copy { margin: auto 0 1.5rem; }
    .premium-admin-login .admin-login-visual h1 { max-width: 17ch; font-size: clamp(2rem, 6.8vw, 3.55rem); }
    .premium-admin-login .admin-login-panel { padding: clamp(1.45rem, 6vw, 3rem); }
    .home-page-v8 .home-v8-admin-entry { position: static; width: 100%; margin-top: 1.05rem; text-align: center; }
}

@media (max-width: 499.98px) {
    .premium-admin-login .admin-login-shell { width: 100%; margin: 0; border-radius: 0; }
    .premium-admin-login .admin-login-visual { min-height: 21rem; }
    .premium-admin-login .admin-login-trust-list li { align-items: flex-start; font-size: 0.73rem; }
    .premium-admin-login .admin-login-panel-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .premium-admin-login .admin-login-submit { transition: none; }
    .premium-admin-login .admin-login-submit:hover, .premium-admin-login .admin-login-submit:focus-visible { transform: none; }
}

/* Guided buyer checkout: visual polish and clear payment-state feedback. */
.checkout-elite-page {
    background:
        radial-gradient(circle at 9% 22%, rgba(116, 221, 235, 0.16), transparent 22rem),
        radial-gradient(circle at 92% 32%, rgba(255, 198, 103, 0.13), transparent 24rem),
        #f8fdfe;
}

.checkout-elite-page .checkout-hero-copy {
    position: relative;
    overflow: hidden;
    border-color: rgba(15, 130, 159, 0.13);
    background:
        radial-gradient(circle at 87% 0%, rgba(130, 224, 235, 0.31), transparent 14rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 251, 253, 0.92));
    box-shadow: 0 1rem 2.3rem rgba(8, 89, 114, 0.09);
}

.checkout-elite-page .checkout-hero-copy::after {
    position: absolute;
    right: -4rem;
    bottom: -6rem;
    width: 15rem;
    height: 15rem;
    border: 1.5rem solid rgba(34, 176, 190, 0.1);
    border-radius: 50%;
    content: "";
}

.checkout-elite-page .checkout-hero-copy > * { position: relative; z-index: 1; }
.checkout-elite-page .checkout-hero-copy h1 { max-width: 18ch; color: #153f59; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.1vw, 4rem); letter-spacing: -0.058em; }
.checkout-elite-page .checkout-proof-card { position: relative; overflow: hidden; border-color: rgba(20, 139, 168, 0.14); background: rgba(255, 255, 255, 0.86); box-shadow: 0 0.8rem 1.7rem rgba(10, 82, 105, 0.075); }
.checkout-elite-page .checkout-proof-card::before { position: absolute; left: 0; top: 0.9rem; bottom: 0.9rem; width: 0.24rem; border-radius: 0 999px 999px 0; background: linear-gradient(#32bed0, #f1b455); content: ""; }
.checkout-elite-page .checkout-proof-card strong { padding-left: 0.25rem; color: #14516d; }

.checkout-elite-page .checkout-section {
    border-color: rgba(17, 128, 157, 0.12);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 252, 253, 0.72));
    box-shadow: 0 0.9rem 2rem rgba(8, 89, 114, 0.05);
}

.checkout-elite-page .checkout-section-header h2,
.checkout-elite-page .checkout-summary h2 { color: #153f59; font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.032em; }
.checkout-elite-page .checkout-section-header p { color: #608092; font-size: 0.83rem; }
.checkout-elite-page .checkout-step-badge { border: 1px solid rgba(22, 139, 168, 0.15); background: linear-gradient(135deg, #e7f9fb, #fff4df); color: #19708c; }
.checkout-elite-page .form-control,
.checkout-elite-page .form-select { border-color: rgba(17, 126, 156, 0.18); background: rgba(255, 255, 255, 0.94); }
.checkout-elite-page .form-control:focus,
.checkout-elite-page .form-select:focus { border-color: #27a7bd; box-shadow: 0 0 0 0.22rem rgba(39, 167, 189, 0.13); }

.checkout-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checkout-elite-page .checkout-method-card { border-color: rgba(15, 123, 152, 0.13); background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 252, 254, 0.82)); box-shadow: 0 0.7rem 1.5rem rgba(7, 85, 110, 0.06); }
.checkout-elite-page .checkout-method-card::after { position: absolute; right: 1rem; bottom: 0.85rem; width: 1.45rem; height: 1.45rem; border: 1px solid rgba(20, 132, 159, 0.15); border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 0.24rem #edf9fb; content: ""; }
.checkout-elite-page .checkout-method-card.is-selected::after { border-color: #1592a7; background: radial-gradient(circle, #1592a7 0 35%, #ffffff 39%); box-shadow: 0 0 0 0.22rem rgba(21, 146, 167, 0.12); }
.checkout-elite-page .checkout-method-card.is-selected { border-color: rgba(20, 151, 174, 0.42); background: linear-gradient(145deg, rgba(222, 248, 251, 0.96), rgba(255, 255, 255, 0.97)); }
.checkout-elite-page .checkout-method-identity { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.checkout-elite-page .checkout-method-icon { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border: 1px solid rgba(16, 124, 153, 0.14); border-radius: 0.68rem; background: linear-gradient(145deg, #e8fafc, #d0f0f5); color: #146984; font-size: 0.63rem; font-weight: 900; letter-spacing: 0.03em; }
.checkout-elite-page .checkout-method-icon.is-gateway { background: linear-gradient(145deg, #e5efff, #d5e6ff); color: #2957a0; }
.checkout-elite-page .checkout-method-icon.is-upi { background: linear-gradient(145deg, #e6f9ee, #d0f1df); color: #17754d; }
.checkout-elite-page .checkout-method-icon.is-qr { background: linear-gradient(145deg, #fff3e2, #ffe6bc); color: #a7640c; }
.checkout-elite-page .checkout-method-icon.is-manual { background: linear-gradient(145deg, #f3eafe, #e8d9fb); color: #70489e; }
.checkout-elite-page .checkout-method-icon.is-bank { background: linear-gradient(145deg, #e9f2f8, #d7e6f0); color: #235a7a; }
.checkout-elite-page .checkout-method-kicker { background: transparent; color: #588092; font-size: 0.61rem; }
.checkout-elite-page .checkout-method-card strong { padding-right: 1.8rem; color: #17445e; }
.checkout-elite-page .checkout-method-card small { color: #668293; }

.checkout-elite-page .checkout-reference-panel[hidden],
.checkout-elite-page .checkout-proof-upload[hidden] { display: none !important; }
.checkout-elite-page .checkout-proof-status { min-height: 1.1rem; margin-top: 0.45rem; color: #197b59; font-size: 0.71rem; font-weight: 750; }
.checkout-elite-page .checkout-proof-status.is-error { color: #b84f4f; }
.checkout-elite-page .checkout-gateway-steps { display: grid; gap: 0.6rem; margin-top: 1rem; }
.checkout-elite-page .checkout-gateway-steps > div { display: flex; align-items: center; gap: 0.65rem; padding: 0.72rem; border: 1px solid rgba(17, 129, 158, 0.1); border-radius: 0.75rem; background: rgba(255, 255, 255, 0.68); }
.checkout-elite-page .checkout-gateway-steps b { display: grid; flex: 0 0 auto; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 0.55rem; background: linear-gradient(135deg, #126789, #25aaba); color: #ffffff; font-size: 0.61rem; }
.checkout-elite-page .checkout-gateway-steps span { color: #668293; font-size: 0.7rem; line-height: 1.45; }
.checkout-elite-page .checkout-gateway-steps strong { display: inline; margin-right: 0.23rem; color: #20566e; }

.checkout-elite-page .checkout-consent { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.85rem 0.95rem; border: 1px solid rgba(15, 129, 158, 0.14); border-radius: 0.85rem; background: linear-gradient(135deg, rgba(231, 249, 251, 0.88), rgba(255, 250, 240, 0.72)); color: #4f7182; font-size: 0.76rem; line-height: 1.6; }
.checkout-elite-page .checkout-consent input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: #0d8298; }
.checkout-elite-page .checkout-consent a { color: #106e8d; font-weight: 850; }
.checkout-elite-page .checkout-live-status { margin-top: 0.9rem; padding: 0.65rem 0.75rem; border-left: 0.25rem solid #1b9db2; border-radius: 0 0.65rem 0.65rem 0; background: rgba(229, 249, 251, 0.76); color: #356a80; font-size: 0.73rem; font-weight: 720; }
.checkout-elite-page .checkout-submit-actions .btn-primary { min-height: 3.1rem; border: 0; background: linear-gradient(135deg, #0b5a7c, #118b9e 58%, #2cb7bd); box-shadow: 0 0.9rem 1.5rem rgba(12, 112, 139, 0.2); }
.checkout-elite-page .checkout-submit-actions .btn-primary:disabled { opacity: 0.75; transform: none; }
.checkout-elite-page .checkout-summary-card { border-color: rgba(15, 129, 158, 0.15); background: linear-gradient(155deg, #ffffff, #e7f8fb); box-shadow: 0 1.1rem 2.4rem rgba(8, 88, 112, 0.1); }
.checkout-elite-page .checkout-summary-focus { border-color: rgba(26, 149, 170, 0.16); background: rgba(255, 255, 255, 0.78); }

@media (max-width: 767.98px) {
    .checkout-elite-page .checkout-hero-copy h1 { max-width: none; font-size: clamp(2.2rem, 11vw, 3.25rem); }
    .checkout-elite-page .checkout-method-card:hover { transform: none; }
    .checkout-elite-page .checkout-consent { font-size: 0.72rem; }
    .checkout-elite-page .checkout-gateway-steps > div { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-elite-page .checkout-method-card,
    .checkout-elite-page .checkout-submit-actions .btn-primary { transition: none; }
}

/* Always-visible administrator entry without crowding the public navigation. */
.premium-nav-utility { flex-wrap: wrap; }
.premium-nav-utility .nav-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 2.45rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(24, 106, 137, 0.2);
    border-radius: 999px;
    background: rgba(247, 253, 255, 0.9);
    box-shadow: 0 0.38rem 0.95rem rgba(14, 88, 116, 0.07);
    color: #1a5f79;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.premium-nav-utility .nav-admin-link:hover,
.premium-nav-utility .nav-admin-link:focus-visible {
    border-color: rgba(20, 133, 158, 0.45);
    background: #e9f8fa;
    box-shadow: 0 0.55rem 1.1rem rgba(14, 108, 137, 0.13);
    color: #104f69;
    transform: translateY(-1px);
}

.nav-admin-link-indicator {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: #4bbf93;
    box-shadow: 0 0 0 0.2rem rgba(75, 191, 147, 0.14);
}

@media (max-width: 1399.98px) {
    .premium-nav-utility .nav-admin-link { padding-inline: 0.66rem; }
}

@media (max-width: 575.98px) {
    .premium-nav-utility .nav-admin-link { width: 100%; }
}

/* Unified type system: editorial confidence for headings, clarity for every task. */
:root {
    --font-ui: "Plus Jakarta Sans", "Trebuchet MS", "Segoe UI", sans-serif;
    --font-editorial: "Fraunces", Georgia, serif;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-ui);
    font-optical-sizing: auto;
    font-synthesis: none;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) h4,
body:not(.admin-body) h5,
body:not(.admin-body) h6,
.premium-brand strong,
.brand-serif,
.checkout-elite-page .checkout-hero-copy h1,
.checkout-elite-page .checkout-summary h2 {
    font-family: var(--font-editorial);
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 0;
}

.premium-brand strong {
    font-weight: 700;
    letter-spacing: -0.052em;
}

.premium-nav-menu .nav-link,
.premium-nav-utility a,
.premium-topline,
.announcement-bar {
    font-family: var(--font-ui);
    letter-spacing: -0.012em;
}

.premium-nav-menu .nav-link,
.premium-nav-utility a,
.premium-nav-utility .btn {
    font-weight: 780;
}

.project-card .price,
.project-price,
.currency-value,
.checkout-elite-page .checkout-summary-price,
.admin-body .table,
.admin-body .badge,
.admin-body .dashboard-kpi-card strong {
    font-variant-numeric: tabular-nums;
}

.admin-body .admin-topbar-copy h1,
.admin-body .admin-content .admin-section-header h2,
.admin-body .dashboard-command-hero h2,
.admin-body .admin-command-dialog-head h2,
.premium-admin-login .admin-login-panel h2,
.premium-admin-verify .admin-verify-visual h1,
.premium-admin-verify .admin-verify-panel h2 {
    font-family: var(--font-editorial);
    font-optical-sizing: auto;
    font-variation-settings: "opsz" 58, "SOFT" 18, "WONK" 0;
}

.admin-body .admin-nav,
.admin-body .admin-content,
.admin-body .admin-topbar,
.admin-body .form-control,
.admin-body .form-select {
    font-family: var(--font-ui);
}

@media (max-width: 575.98px) {
    .premium-brand strong { letter-spacing: -0.043em; }
    .premium-nav-menu .nav-link,
    .premium-nav-utility a { letter-spacing: 0; }
}
