@font-face {
    font-family: "Comfortaa";
    src: url("../fonts/comfortaa/Comfortaa-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Comfortaa";
    src: url("../fonts/comfortaa/Comfortaa-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --recredify-primary: #0757c9;
    --recredify-primary-dark: #063f94;
    --recredify-surface: #f4f7fc;
    --recredify-border: #e4eaf4;
}

body {
    color: #14213d;
}

.bg-primary {
    background-color: var(--recredify-primary) !important;
}

.btn-primary {
    --bs-btn-bg: var(--recredify-primary);
    --bs-btn-border-color: var(--recredify-primary);
    --bs-btn-hover-bg: var(--recredify-primary-dark);
    --bs-btn-hover-border-color: var(--recredify-primary-dark);
}

.hero-section {
    background: radial-gradient(circle at top right, #dcecff 0, var(--recredify-surface) 48%, #fff 100%);
}

.secure-card {
    border-radius: 1.25rem;
}

.metric-card {
    background: var(--recredify-surface);
    border-radius: 0.85rem;
    padding: 1rem;
}

.metric-card strong {
    display: block;
    font-size: 1.35rem;
}

.metric-card span {
    color: #68738a;
    font-size: 0.875rem;
}

.feature-card {
    background-color: #fff;
    border: 1px solid var(--recredify-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.auth-container {
    min-height: calc(100vh - 190px);
}

.auth-card {
    max-width: 480px;
    border-radius: 1rem;
}

.auth-stage {
    min-height: calc(100vh - 61px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 8%, rgba(73, 149, 255, 0.42), transparent 35%),
        radial-gradient(circle at 90% 75%, rgba(22, 218, 187, 0.2), transparent 30%),
        linear-gradient(135deg, #061a43 0%, #0757c9 58%, #062a68 100%);
}

.auth-muted {
    color: rgba(255, 255, 255, 0.75);
}

.auth-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    color: #a9cfff;
}

.glass-security,
.glass-auth-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(4, 23, 58, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 1.5rem;
}

.glass-security {
    max-width: 380px;
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.11);
}

.security-dot {
    width: 0.7rem;
    height: 0.7rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: #35e5ae;
    box-shadow: 0 0 0 5px rgba(53, 229, 174, 0.14);
}

.auth-input .input-group-text {
    background: #edf4ff;
    border-color: #d9e5f8;
    color: var(--recredify-primary-dark);
    font-weight: 600;
}

.auth-input .form-control,
.otp-control {
    border-color: #d9e5f8;
}

.otp-card {
    max-width: 470px;
}

.otp-control {
    height: 4rem;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.55em;
    padding-left: calc(0.75rem + 0.55em);
}

.verification-stage {
    min-height: calc(100vh - 61px);
    background:
        radial-gradient(circle at 12% 18%, rgba(24, 106, 225, 0.16), transparent 33%),
        radial-gradient(circle at 90% 8%, rgba(20, 191, 160, 0.12), transparent 28%),
        #f3f7fd;
}

.verification-aside {
    padding: 1rem 0;
    color: #10213c;
}

.verification-aside p {
    margin: 1rem 0 2rem;
    color: #697992;
    line-height: 1.7;
}

.verification-steps {
    display: grid;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.verification-steps li {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    color: #8a99ad;
}

.verification-steps li > span {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50%;
    border: 1px solid #d1dced;
    background: #fff;
}

.verification-steps strong,
.verification-steps small {
    display: block;
}

.verification-steps small {
    margin-top: 0.08rem;
    font-size: 0.8rem;
}

.verification-steps .is-active {
    color: #142844;
}

.verification-steps .is-active > span {
    color: #fff;
    background: var(--recredify-primary);
    border-color: var(--recredify-primary);
    box-shadow: 0 7px 19px rgba(7, 87, 201, 0.25);
}

.verification-steps .is-complete > span {
    color: #fff;
    font-size: 0;
    background: #18a67d;
    border-color: #18a67d;
}

.verification-steps .is-complete > span::after {
    content: "";
    width: 0.44rem;
    height: 0.75rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
}

.verification-card {
    background: rgba(255, 255, 255, 0.94);
}

.verification-chip {
    display: inline-flex;
    padding: 0.33rem 0.7rem;
    color: #246ccf;
    font-size: 0.73rem;
    font-weight: 600;
    background: #edf4ff;
    border-radius: 999px;
}

.pan-control {
    letter-spacing: 0.15em;
    font-weight: 600;
}

.verification-consent {
    padding: 1rem 1rem 1rem 2.6rem;
    border: 1px solid #dfE7f3;
    border-radius: 0.8rem;
    background: #f8fafe;
}

.verification-consent .form-check-input {
    margin-top: 0.15rem;
}

.verification-consent label {
    color: #53637a;
    line-height: 1.55;
}

.linked-details {
    overflow: hidden;
    border: 1px solid #e1e8f3;
    border-radius: 0.85rem;
    background: #f8faff;
}

.linked-details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e8edf5;
}

.linked-details div:last-child {
    border-bottom: 0;
}

.linked-details small {
    color: #718096;
}

.linked-details strong {
    text-align: right;
}

#linkedMobileUnavailable {
    display: grid;
    gap: 0.35rem;
    line-height: 1.5;
}

.sandbox-note {
    padding: 0.75rem 0.85rem;
    color: #718096;
    font-size: 0.8rem;
    line-height: 1.5;
    border: 1px dashed #d8e2f2;
    border-radius: 0.65rem;
    background: #f8faff;
}

.checkout-card {
    max-width: 535px;
}

.checkout-summary {
    padding: 0.4rem 1.2rem;
    border-radius: 0.85rem;
    background: #f6f9fe;
    border: 1px solid #e2eaf6;
}

.checkout-summary div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e7edf7;
}

.checkout-summary div:last-child {
    border-bottom: 0;
}

.checkout-summary span {
    color: #6f7f96;
}

.checkout-total strong {
    color: var(--recredify-primary);
    font-size: 1.25rem;
}

.payment-method-row {
    display: flex;
    gap: 0.55rem;
    justify-content: center;
}

.payment-method-row span {
    padding: 0.35rem 0.65rem;
    color: #536a88;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    background: #edf4ff;
}

.payment-state-icon {
    position: relative;
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.payment-state-icon.success {
    background: #e5faf3;
}

.payment-state-icon.success::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    top: 1.02rem;
    width: 0.95rem;
    height: 1.65rem;
    border-right: 3px solid #18a67d;
    border-bottom: 3px solid #18a67d;
    transform: rotate(45deg);
}

.payment-state-icon.processing {
    background: #eef5ff;
}

.payment-state-icon.processing::after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    margin: auto;
    border: 3px solid #c8dbf8;
    border-top-color: var(--recredify-primary);
    border-radius: 50%;
}

.payment-state-icon.failed {
    background: #fff0f2;
}

.payment-state-icon.failed::before,
.payment-state-icon.failed::after {
    content: "";
    position: absolute;
    left: 1.08rem;
    top: 1.9rem;
    width: 1.85rem;
    height: 3px;
    background: #db3c53;
    transform: rotate(45deg);
}

.payment-state-icon.failed::after {
    transform: rotate(-45deg);
}

.gateway-mode-badge {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.gateway-mode-badge.is-test {
    color: #9a6700;
    background: #fff4d7;
}

.gateway-mode-badge.is-live {
    color: #117653;
    background: #e6f8f1;
}

.gateway-settings-card .form-label {
    font-weight: 500;
}

.gateway-methods {
    min-height: 2.4rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    padding: 0.4rem 0;
}

.gateway-methods label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #53637a;
}

.webhook-url {
    display: block;
    padding: 0.8rem;
    overflow-wrap: anywhere;
    color: #155ec7;
    border-radius: 0.55rem;
    background: #f4f8ff;
}

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.dashboard-sidebar {
    flex: 0 0 255px;
}

.dashboard-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .dashboard-layout {
        display: block;
    }

    .dashboard-sidebar {
        border-bottom: 1px solid var(--recredify-border);
        border-right: 0 !important;
    }

    .dashboard-sidebar .nav {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .verification-aside {
        padding-top: 0;
    }

    .verification-steps {
        display: flex;
        gap: 0.65rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .verification-steps li {
        flex: 0 0 auto;
        padding: 0.45rem 0.7rem 0.45rem 0.45rem;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 9px rgba(20, 41, 70, 0.04);
    }

    .verification-steps li > span {
        width: 1.8rem;
        height: 1.8rem;
    }
}

/* Premium marketing website */
.landing-page {
    --premium-navy: #050f22;
    --premium-navy-soft: #0c1d36;
    --premium-blue: #2377ee;
    --premium-gold: #d5a84b;
    --premium-text: #10213c;
    --premium-muted: #66748c;
    --premium-line: #e6ebf3;
    background: #fff;
    color: var(--premium-text);
    font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

.landing-page h1,
.landing-page h2,
.landing-page h3 {
    letter-spacing: -0.045em;
}

.marketing-header {
    padding: 1rem 0;
    transition: padding 0.25s ease;
}

.premium-navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.65rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    background: rgba(8, 18, 37, 0.52);
    box-shadow: 0 18px 45px rgba(2, 9, 20, 0.16);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.marketing-header.nav-scrolled {
    padding-top: 0.55rem;
}

.marketing-header.nav-scrolled .premium-navbar {
    background: rgba(5, 15, 34, 0.94);
    box-shadow: 0 16px 45px rgba(2, 9, 20, 0.3);
}

.premium-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.premium-brand span,
.suite-sidebar-brand span {
    font-family: "Comfortaa", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.premium-brand:hover {
    color: #fff;
}

.premium-links {
    gap: 0.45rem;
}

.premium-links .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.6rem 0.85rem !important;
    font-size: 0.94rem;
    border: 0;
    background: transparent;
}

.premium-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.28rem;
    height: 2px;
    background: #5ea3ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.premium-links .nav-link:hover,
.premium-links .nav-link:focus,
.premium-links .desktop-open > .nav-link {
    color: #fff;
}

.premium-links .nav-link:hover::after,
.premium-links .nav-link:focus::after,
.premium-links .desktop-open > .nav-link::after {
    transform: scaleX(1);
}

.navigation-toggle {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.navigation-toggle::before {
    content: "";
    order: 2;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.22s ease;
}

.desktop-open > .navigation-toggle::before {
    transform: rotate(225deg) translate(-2px, -1px);
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #378df8, #095ad1);
    border: 1px solid rgba(115, 180, 255, 0.46);
    border-radius: 0.7rem;
    box-shadow: 0 10px 28px rgba(24, 111, 230, 0.32);
    padding-left: 1.3rem;
    padding-right: 1.3rem;
}

.btn-premium:hover,
.btn-premium:focus {
    color: #fff;
    background: linear-gradient(135deg, #4999fb, #0750bc);
    transform: translateY(-1px);
}

.btn-glass,
.btn-ghost-light {
    display: inline-flex;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.7rem;
}

.btn-glass:hover,
.btn-ghost-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(870px, calc(100vw - 3rem));
    margin-top: 0.85rem !important;
    padding: 1.25rem;
    border: 1px solid rgba(224, 230, 240, 0.96);
    border-radius: 1rem;
    box-shadow: 0 22px 55px rgba(8, 17, 32, 0.18);
}

.navigation-desktop-slot .position-lg-static {
    position: static;
}

.navigation-desktop-slot .adaptive-submenu {
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.19s ease, visibility 0.19s ease, transform 0.19s ease;
}

.navigation-desktop-slot .mega-menu {
        background: #fff;
    display: block;
    transform: translateX(-50%) translateY(8px);
}

.navigation-desktop-slot .resource-menu {
    position: absolute;
    display: block;
    min-width: 210px;
    margin-top: 0.65rem;
    transform: translateY(8px);
}

.navigation-desktop-slot .has-submenu:hover > .adaptive-submenu,
.navigation-desktop-slot .has-submenu:focus-within > .adaptive-submenu,
.navigation-desktop-slot .has-submenu.desktop-open > .adaptive-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navigation-desktop-slot .has-submenu:hover > .resource-menu,
.navigation-desktop-slot .has-submenu:focus-within > .resource-menu,
.navigation-desktop-slot .has-submenu.desktop-open > .resource-menu {
    transform: translateY(0);
}

.mega-caption {
    display: block;
    margin: 0.35rem 0 0.5rem;
    color: #70809a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.mega-link {
    display: block;
    padding: 0.65rem 0.7rem;
    color: var(--premium-text);
    text-decoration: none;
    border-radius: 0.6rem;
}

.mega-link:hover {
    background: #f1f6fe;
}

.mega-link strong,
.mega-link small {
    display: block;
}

.mega-link small {
    margin-top: 0.2rem;
    color: var(--premium-muted);
}

.mega-feature {
    height: 100%;
    padding: 1rem;
    color: #fff;
    background: var(--premium-navy-soft);
    border-radius: 0.8rem;
}

.mega-feature span {
    color: #76adfd;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.mega-feature strong {
    display: block;
    margin-top: 0.5rem;
}

.mega-feature p {
    margin: 0.45rem 0;
    color: #a9b7c9;
    font-size: 0.86rem;
}

.mega-feature a {
    color: #6ea8ff;
    text-decoration: none;
}

.resource-menu {
    padding: 0.5rem;
    border: 0;
    border-radius: 0.8rem;
    box-shadow: 0 18px 44px rgba(8, 17, 32, 0.15);
    background: #fff;
}

.resource-menu .dropdown-item {
    padding: 0.65rem 0.9rem;
    border-radius: 0.45rem;
}

.mobile-nav-drawer {
    width: min(88vw, 390px) !important;
    background:
        radial-gradient(circle at top right, rgba(45, 127, 244, 0.32), transparent 40%),
        #071328 !important;
}

.navigation-mobile-slot .adaptive-navigation {
    flex-direction: column;
    gap: 0;
}

.navigation-mobile-slot .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navigation-mobile-slot .nav-link {
    display: flex;
    width: 100%;
    padding: 0.95rem 0 !important;
    color: #eef4fc;
    font-size: 1.15rem;
    text-align: left;
    text-decoration: none;
}

.navigation-mobile-slot .nav-link::after {
    display: none;
}

.navigation-mobile-slot .navigation-toggle {
    justify-content: space-between;
}

.navigation-mobile-slot .navigation-toggle::before {
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.2rem;
}

.navigation-mobile-slot .navigation-toggle[aria-expanded="true"]::before {
    transform: rotate(225deg);
}

.navigation-mobile-slot .adaptive-submenu {
    padding-bottom: 0.8rem;
}

.navigation-mobile-slot .mega-menu,
.navigation-mobile-slot .resource-menu {
    position: static;
    width: auto;
    margin: 0 !important;
    padding: 0 0 0.55rem;
    transform: none;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.navigation-mobile-slot .mega-caption {
    margin-top: 0.8rem;
    color: #7891b2;
}

.navigation-mobile-slot .mega-link {
    padding: 0.65rem 0;
    color: #e7effb;
}

.navigation-mobile-slot .mega-link:hover {
    color: #fff;
    background: transparent;
}

.navigation-mobile-slot .mega-link small {
    color: #8597af;
}

.navigation-mobile-slot .mega-feature {
    margin-top: 0.8rem;
    background: rgba(255, 255, 255, 0.07);
}

.navigation-mobile-slot .resource-menu .dropdown-item {
    color: #e7effb;
    padding: 0.7rem 0;
}

.navigation-mobile-slot .resource-menu .dropdown-item:hover {
    color: #fff;
    background: transparent;
}

.mobile-nav-caption {
    color: #7389a8;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.mobile-nav-actions {
    padding-top: 2rem;
}

.cinematic-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 75% 40%, rgba(32, 114, 231, 0.18), transparent 30%),
        linear-gradient(110deg, #050d1c 0%, #071428 46%, #091c35 100%);
}

.hero-row {
    min-height: 100vh;
    padding-top: 7.25rem;
    padding-bottom: 4.5rem;
}

.hero-orb {
    position: absolute;
    filter: blur(6px);
    pointer-events: none;
}

.hero-orb-one {
    right: 3%;
    bottom: 10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(31, 110, 227, 0.2), transparent 66%);
}

.hero-orb-two {
    left: -14%;
    top: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 83, 195, 0.2), transparent 68%);
}

.hero-pill {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1.4rem;
    color: #7db4ff;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(67, 139, 241, 0.32);
    border-radius: 999px;
    background: rgba(22, 83, 169, 0.16);
}

.hero-title {
    max-width: 660px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.75rem, 5.2vw, 4.6rem);
    line-height: 1.03;
    font-weight: 700;
}

.hero-title span {
    color: #51a0ff;
}

.hero-copy {
    max-width: 525px;
    margin-bottom: 2.2rem;
    color: #9caabd;
    font-size: clamp(1.02rem, 1.4vw, 1.12rem);
    line-height: 1.7;
}

.hero-actions .btn {
    min-height: 3.3rem;
    padding-left: 1.55rem;
    padding-right: 1.55rem;
    border-radius: 0.7rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.8rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatars span {
    width: 2rem;
    height: 2rem;
    margin-right: -0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #14335b;
    border: 2px solid #071428;
    border-radius: 50%;
    font-size: 0.7rem;
}

.trust-avatars span:nth-child(2) {
    background: #206bd2;
}

.trust-avatars span:nth-child(3) {
    background: #315378;
}

.hero-trust strong,
.hero-trust small {
    display: block;
}

.hero-trust strong {
    font-size: 0.88rem;
}

.hero-trust small {
    color: #8999b0;
}

.hero-visual {
    position: relative;
    max-width: 505px;
    min-height: 540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(22, 39, 67, 0.62);
    box-shadow: 0 24px 62px rgba(0, 5, 15, 0.36);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.score-card {
    width: min(100%, 405px);
    padding: 1.8rem;
    border-radius: 1.4rem;
}

.score-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #dbe8f8;
    font-size: 0.92rem;
}

.score-brand span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #398afa;
}

.verified-pill {
    padding: 0.3rem 0.7rem;
    color: #2ac992;
    background: rgba(20, 181, 125, 0.13);
    border-radius: 999px;
    font-size: 0.76rem;
}

.score-content {
    padding: 2.25rem 0 1.8rem;
    text-align: center;
}

.score-number {
    font-size: 4.4rem;
    font-weight: 650;
    line-height: 1;
}

.score-grade {
    margin: 0.55rem 0 1.65rem;
    color: #48dbad;
    font-weight: 500;
}

.score-track {
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.score-track span {
    display: block;
    width: 81%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2481f3, #32dda6);
}

.score-range {
    margin-top: 0.55rem;
    color: #71829a;
}

.score-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.score-stats div {
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.7rem;
}

.score-stats small,
.score-stats strong {
    display: block;
}

.score-stats small {
    color: #8d9db4;
}

.score-stats strong {
    margin-top: 0.25rem;
}

.floating-data {
    position: absolute;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.75rem;
}

.floating-data-top {
    top: 17%;
    right: 0;
}

.floating-data-bottom {
    bottom: 17%;
    left: 0;
}

.floating-data strong,
.floating-data small {
    display: block;
}

.floating-data strong {
    font-size: 0.78rem;
}

.floating-data small {
    color: #8d9db4;
    font-size: 0.7rem;
}

.status-icon {
    color: #36daaa;
    font-size: 1.3rem;
}

.shield-icon {
    display: block;
    width: 1.1rem;
    height: 1.25rem;
    background: #3085fa;
    clip-path: polygon(50% 0, 100% 18%, 88% 72%, 50% 100%, 12% 72%, 0 18%);
}

.trust-strip {
    color: #fff;
    background: #0b172c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-metric {
    padding: 2rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-metric strong {
    display: block;
    color: #f3f7fd;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
}

.trust-metric span {
    color: #8596ac;
    font-size: 0.86rem;
}

.premium-section {
    padding: clamp(4.5rem, 8vw, 6.8rem) 0;
}

.section-kicker {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--premium-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.section-intro {
    max-width: 660px;
    margin: 0 auto clamp(2.7rem, 5vw, 3.8rem);
}

.section-intro h2,
.section-title {
    margin-bottom: 1rem;
    color: var(--premium-text);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.16;
}

.section-intro p,
.section-copy {
    color: var(--premium-muted);
    line-height: 1.7;
}

.service-section {
    background: #fff;
}

.premium-service-card {
    position: relative;
    height: 100%;
    padding: 1.55rem;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.premium-service-card:hover {
    transform: translateY(-5px);
    border-color: #ccd9ee;
    box-shadow: 0 18px 44px rgba(11, 30, 56, 0.08);
}

.service-index {
    position: absolute;
    right: 1.35rem;
    top: 1.2rem;
    color: #dfe7f2;
    font-size: 2rem;
    font-weight: 600;
}

.service-tag {
    display: inline-block;
    margin-bottom: 2.6rem;
    padding: 0.36rem 0.7rem;
    color: #276fd2;
    background: #eff5ff;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
}

.premium-service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.premium-service-card p {
    min-height: 74px;
    color: var(--premium-muted);
    line-height: 1.65;
    font-size: 0.94rem;
}

.premium-service-card a,
.journal-card a {
    color: var(--premium-blue);
    font-weight: 600;
    text-decoration: none;
}

.why-section {
    background: #f6f8fc;
}

.assurance-panel {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.3rem;
    background:
        radial-gradient(circle at center, rgba(50, 125, 234, 0.12), transparent 44%),
        linear-gradient(145deg, #0b1930, #152b4c);
}

.assurance-ring {
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(62, 137, 246, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(39, 112, 222, 0.06), 0 0 0 86px rgba(39, 112, 222, 0.035);
}

.shield-mark {
    display: block;
    width: 72px;
    height: 84px;
    background: linear-gradient(145deg, #438ff6, #1665dc);
    clip-path: polygon(50% 0, 100% 18%, 88% 70%, 50% 100%, 12% 70%, 0 18%);
}

.assurance-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 0.85rem 1.05rem;
    color: #fff;
    border-radius: 0.7rem;
}

.assurance-badge strong,
.assurance-badge small {
    display: block;
}

.assurance-badge small {
    color: #95a8c1;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-top: 2rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #43526a;
    font-size: 0.94rem;
}

.advantage-item span {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #ebf3ff;
}

.advantage-item span::after {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.29rem;
    width: 0.38rem;
    height: 0.62rem;
    border-right: 2px solid #2377ee;
    border-bottom: 2px solid #2377ee;
    transform: rotate(45deg);
}

.testimonial-section {
    background: #fff;
}

.testimonial-lead {
    max-width: 365px;
}

.testimonial-card {
    height: 100%;
    margin: 0;
    padding: 1.6rem;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
}

.rating {
    margin-bottom: 1.2rem;
    color: #e3b454;
    letter-spacing: 0.17em;
    font-size: 0.8rem;
}

.testimonial-card blockquote {
    min-height: 108px;
    margin-bottom: 1.25rem;
    color: #314159;
    font-size: 1.02rem;
    line-height: 1.65;
}

.testimonial-card figcaption strong,
.testimonial-card figcaption span {
    display: block;
}

.testimonial-card figcaption span {
    color: var(--premium-muted);
    font-size: 0.85rem;
}

.journal-section {
    background: #f6f8fc;
}

.journal-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
    background: #fff;
}

.journal-art {
    height: 195px;
    padding: 1.1rem;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.journal-art span {
    padding: 0.36rem 0.7rem;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 999px;
    background: rgba(7, 21, 42, 0.46);
}

.art-1 {
    background:
        linear-gradient(135deg, rgba(9, 37, 78, 0.48), rgba(12, 80, 166, 0.22)),
        linear-gradient(45deg, #b5c9e6, #e4ecf8 58%, #9fb8dd);
}

.art-2 {
    background:
        linear-gradient(135deg, rgba(8, 20, 42, 0.42), transparent),
        radial-gradient(circle at 28% 32%, #467fcf, #122740 70%);
}

.art-3 {
    background:
        linear-gradient(120deg, rgba(7, 20, 38, 0.38), transparent),
        linear-gradient(45deg, #11243c, #5278ae);
}

.journal-body {
    padding: 1.35rem;
}

.journal-body small {
    color: #75859c;
}

.journal-body h3 {
    min-height: 59px;
    margin: 0.7rem 0 1.2rem;
    font-size: 1.24rem;
}

.cta-section {
    padding: 0 0 clamp(4rem, 7vw, 6.4rem);
    background: #f6f8fc;
}

.cta-card {
    padding: clamp(2.7rem, 6vw, 4.2rem) 1.25rem;
    text-align: center;
    color: #fff;
    border-radius: 1.3rem;
    background:
        radial-gradient(circle at 50% 0, rgba(41, 130, 249, 0.32), transparent 42%),
        #07152d;
}

.cta-card .section-kicker {
    color: #79b1ff;
}

.cta-card h2 {
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-card p {
    max-width: 570px;
    margin: 0 auto 2rem;
    color: #9caabd;
}

.premium-footer {
    color: #b0bfd1;
    background: #050f22;
}

.footer-cta-panel {
    padding: 2.3rem 0;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-panel h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.footer-heading {
    margin-bottom: 1.25rem;
    color: #e8f0fa;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.premium-footer a:not(.premium-brand):not(.btn) {
    display: block;
    margin-bottom: 0.78rem;
    color: #9cabc0;
    text-decoration: none;
}

.premium-footer a:not(.premium-brand):not(.btn):hover {
    color: #fff;
}

.footer-copy {
    max-width: 355px;
    color: #8799b2;
    line-height: 1.7;
}

.footer-chip {
    padding: 0.35rem 0.55rem;
    color: #90abce;
    border: 1px solid rgba(150, 180, 215, 0.19);
    border-radius: 0.4rem;
    font-size: 0.72rem;
}

.footer-bottom {
    padding: 1.3rem 0 1.7rem;
    color: #73849c;
    font-size: 0.84rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal-item {
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.reveal-item.is-visible {
    transform: none;
    opacity: 1;
}

@media (max-width: 1199.98px) {
    .premium-navbar {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .floating-data-top {
        right: 1rem;
    }
}

@media (max-width: 991.98px) {
    .cinematic-hero {
        min-height: 0;
    }

    .hero-row {
        min-height: 0;
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .hero-visual {
        min-height: 485px;
    }

    .footer-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-nav-actions .navigation-actions {
        display: block !important;
    }

    .mobile-nav-actions .btn {
        display: flex !important;
        width: 100%;
        margin-bottom: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .marketing-header {
        padding: 0.7rem 0;
    }

    .premium-navbar {
        margin: 0 0.7rem;
        padding: 0.52rem 0.7rem;
        border-radius: 1rem;
    }

    .hero-row {
        padding-top: 6.25rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .hero-copy {
        font-size: 0.98rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        margin-top: 2rem;
    }

    .hero-visual {
        min-height: 406px;
    }

    .score-card {
        padding: 1.25rem;
    }

    .score-content {
        padding: 1.55rem 0 1.2rem;
    }

    .score-number {
        font-size: 3.5rem;
    }

    .floating-data {
        display: none;
    }

    .trust-metric {
        padding: 1.35rem 0.45rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .premium-section {
        padding: 3.75rem 0;
    }

    .assurance-panel {
        min-height: 340px;
    }

    .assurance-ring {
        transform: scale(0.78);
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card blockquote,
    .journal-body h3 {
        min-height: 0;
    }
}

/* Personal credit portal V5: premium palette and separate score-grade widget. */
.credit-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.92fr);
    gap: 20px;
}

.credit-overview-grid .command-center-hero {
    display: block;
    min-height: 286px;
    padding: 32px;
    background:
        radial-gradient(circle at 92% 12%, rgba(48, 56, 132, 0.38), transparent 28%),
        linear-gradient(135deg, #182039 0%, #171b26 58%, #1b1c32 100%);
}

.credit-overview-grid .command-center-hero h2 {
    max-width: 760px;
    margin-top: 12px;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.08;
}

.credit-overview-grid .command-center-hero p {
    max-width: 720px;
    margin-top: 14px;
    font-size: 0.88rem;
}

.hero-inline-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
}

.hero-inline-metrics span {
    color: var(--credit-muted);
    font-size: 0.74rem;
}

.hero-inline-metrics strong {
    margin-left: 5px;
    color: #ffffff;
    font-size: 0.82rem;
}

.credit-grade-card {
    display: grid;
    align-content: space-between;
    min-height: 286px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(10, 193, 190, 0.18), transparent 32%),
        linear-gradient(150deg, #17262e, #171b26 68%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.credit-grade-card > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.credit-grade-card small {
    color: var(--credit-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.grade-status {
    padding: 5px 9px;
    border-radius: 999px;
    color: #86e2ce;
    background: rgba(0, 196, 140, 0.12);
    font-size: 0.68rem;
    font-weight: 700;
}

.grade-score-meter {
    position: relative;
    display: grid;
    width: 214px;
    height: 116px;
    margin: 16px auto 0;
    place-items: end center;
    overflow: hidden;
}

.grade-score-meter::before,
.grade-score-meter::after {
    position: absolute;
    bottom: -101px;
    width: 202px;
    height: 202px;
    border-radius: 50%;
    content: "";
}

.grade-score-meter::before {
    background: conic-gradient(from 270deg, #ff8a5b 0 18%, #f5b942 18% 42%, #9b6ad7 42% 68%, #22b987 68% 100%);
}

.grade-score-meter::after {
    bottom: -80px;
    width: 160px;
    height: 160px;
    background: #19242b;
}

.grade-score-meter div {
    position: relative;
    z-index: 1;
    padding-bottom: 8px;
    text-align: center;
}

.grade-score-meter strong,
.grade-score-meter span {
    display: block;
}

.grade-score-meter strong {
    color: #ffffff;
    font-size: 2.2rem;
    letter-spacing: -0.06em;
}

.grade-score-meter span,
.credit-grade-card p {
    color: var(--credit-muted);
    font-size: 0.7rem;
}

.credit-grade-card p {
    margin: 0;
    text-align: center;
}

.snapshot-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.snapshot-kpi-grid .credit-kpi-card {
    min-height: 154px;
    padding: 18px;
    border-color: rgba(255, 255, 255, 0.065);
}

.snapshot-kpi-grid .credit-kpi-card::after {
    display: block;
    width: 96px;
    height: 96px;
    opacity: 0.42;
    filter: blur(18px);
}

.snapshot-tone-1 {
    --kpi-orb: rgba(94, 86, 255, 0.36);
    background: linear-gradient(145deg, rgba(49, 45, 103, 0.62), #171b26 68%);
}

.snapshot-tone-2 {
    --kpi-orb: rgba(38, 173, 196, 0.34);
    background: linear-gradient(145deg, rgba(21, 69, 83, 0.64), #171b26 68%);
}

.snapshot-tone-3 {
    --kpi-orb: rgba(0, 196, 140, 0.28);
    background: linear-gradient(145deg, rgba(18, 75, 66, 0.58), #171b26 68%);
}

.snapshot-tone-4 {
    --kpi-orb: rgba(255, 176, 32, 0.3);
    background: linear-gradient(145deg, rgba(88, 62, 21, 0.56), #171b26 68%);
}

.snapshot-tone-5 {
    --kpi-orb: rgba(255, 90, 90, 0.28);
    background: linear-gradient(145deg, rgba(88, 39, 42, 0.58), #171b26 68%);
}

.snapshot-tone-6 {
    --kpi-orb: rgba(151, 92, 231, 0.3);
    background: linear-gradient(145deg, rgba(67, 37, 93, 0.58), #171b26 68%);
}

.snapshot-kpi-grid .credit-kpi-icon {
    color: rgba(255, 255, 255, 0.78);
}

.snapshot-kpi-grid .kpi-status {
    color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1199.98px) {
    .credit-overview-grid {
        grid-template-columns: 1fr;
    }

    .credit-grade-card {
        min-height: 246px;
    }
}

@media (max-width: 575.98px) {
    .credit-overview-grid .command-center-hero {
        padding: 24px;
    }

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

/* Premium fintech dashboard suite */
.member-dashboard-page,
.admin-dashboard-page {
    --suite-primary: #6945f6;
    --suite-primary-deep: #4226bf;
    --suite-primary-soft: #edeaff;
    --suite-navy: #0d1633;
    --suite-text: #151c35;
    --suite-muted: #74819b;
    --suite-border: #e9ebf4;
    --suite-card: #fff;
    --suite-success: #20a875;
    --suite-warning: #ed9b38;
    --suite-danger: #e25267;
    --suite-radius: 22px;
    --suite-shadow: 0 10px 30px rgba(27, 31, 68, 0.055);
    background: #f5f7fb;
    color: var(--suite-text);
}

.member-dashboard-page .dashboard-layout,
.admin-dashboard-page .dashboard-layout {
    min-height: 100vh;
}

.suite-sidebar {
    flex-basis: 276px;
    min-width: 276px;
    color: #a7b1d0;
    border-right: 0 !important;
    background: linear-gradient(178deg, #101735, #0c122a 74%) !important;
    transition: flex-basis 0.24s ease, min-width 0.24s ease;
}

.suite-sidebar .dashboard-sidebar-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    gap: 0.55rem;
    padding: 1.3rem 1rem 1rem;
    overflow-y: auto;
}

.suite-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin: 0 0 1.25rem 0.42rem;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.suite-sidebar-brand img {
    filter: drop-shadow(0 7px 16px rgba(105, 69, 246, 0.46));
}

.suite-sidebar .sidebar-section-label {
    display: block;
    margin: 1.1rem 0.55rem 0.45rem;
    color: #606d91;
    font-size: 0.62rem;
}

.suite-sidebar .admin-sidebar-badge {
    margin: 0 0.35rem 0.28rem;
    color: #bfafff;
    border-color: rgba(153, 123, 255, 0.32);
    background: rgba(107, 67, 247, 0.16);
}

.suite-sidebar .dashboard-nav .nav-link {
    position: relative;
    display: flex;
    gap: 0.76rem;
    align-items: center;
    min-height: 45px;
    margin-bottom: 0.16rem;
    padding: 0.62rem 0.62rem;
    color: #aeb7d3 !important;
    border-radius: 13px;
    font-size: 0.86rem;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.suite-sidebar .dashboard-nav .nav-link:hover,
.suite-sidebar .dashboard-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(100deg, rgba(108, 70, 247, 0.28), rgba(108, 70, 247, 0.08));
}

.suite-sidebar .dashboard-nav .nav-link.active::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    bottom: 0.65rem;
    left: -1rem;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background: #7956ff;
    box-shadow: 0 0 14px #8766ff;
}

.suite-sidebar .navigation-icon {
    display: inline-grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid rgba(185, 195, 224, 0.3);
    border-radius: 9px;
}

.suite-sidebar .navigation-glyph {
    width: 17px;
    height: 17px;
}

.suite-sidebar .nav-link.active .navigation-icon {
    border-color: rgba(155, 129, 255, 0.72);
    background: rgba(113, 73, 252, 0.24);
    box-shadow: 0 6px 14px rgba(90, 50, 225, 0.23);
}

.suite-sidebar .sidebar-profile-card {
    margin-top: auto;
    padding: 0.7rem;
    color: #fff;
    border-color: rgba(140, 150, 185, 0.18);
    background: rgba(255, 255, 255, 0.055);
}

.suite-sidebar .sidebar-profile-card strong {
    color: #fff;
}

.suite-sidebar .sidebar-profile-card small {
    color: #8d99bd;
}

.suite-sidebar .sidebar-avatar {
    background: linear-gradient(135deg, #8865ff, #5433db);
}

.member-dashboard-page .dashboard-content,
.admin-dashboard-page .dashboard-content {
    max-width: none;
    padding: 0 1.35rem 1.6rem !important;
    background: #f5f7fb;
}

.suite-command-bar {
    z-index: 1020;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    margin: 0 -1.35rem 1.45rem;
    padding: 0.75rem 1.35rem;
    border-bottom: 1px solid var(--suite-border);
    background: rgba(245, 247, 251, 0.9);
    backdrop-filter: blur(18px);
}

.suite-command-leading,
.suite-command-actions {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.suite-command-leading small,
.suite-command-leading strong {
    display: block;
}

.suite-command-leading small {
    color: var(--suite-muted);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.suite-command-leading strong {
    color: var(--suite-text);
    font-size: 0.94rem;
}

.suite-sidebar-toggle,
.suite-icon-action {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--suite-border);
    border-radius: 13px;
    color: #53607c;
    background: #fff;
}

.suite-sidebar-toggle .navigation-icon {
    width: 20px;
    height: 20px;
}

.suite-search {
    position: relative;
    flex: 0 1 405px;
    margin-right: auto;
    margin-left: clamp(0.5rem, 4vw, 2rem);
}

.suite-search .suite-search-glyph {
    position: absolute;
    top: 50%;
    left: 1rem;
    width: 18px;
    height: 18px;
    color: #98a5bd;
    transform: translateY(-50%);
}

.suite-search input {
    width: 100%;
    height: 46px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid var(--suite-border);
    border-radius: 14px;
    background: #fff;
    color: var(--suite-text);
    outline: none;
}

.suite-search input:focus {
    border-color: #b9a8ff;
    box-shadow: 0 0 0 4px rgba(111, 72, 247, 0.08);
}

.suite-filter,
.suite-export {
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0 0.85rem;
    color: #596781;
    border: 1px solid var(--suite-border);
    border-radius: 13px;
    background: #fff;
    font-size: 0.84rem;
}

.suite-filter .navigation-icon {
    width: 15px;
    height: 15px;
}

.suite-export {
    color: var(--suite-primary);
    font-weight: 600;
}

.suite-bell {
    width: 18px;
    height: 18px;
}

.suite-icon-action b {
    position: absolute;
    top: 7px;
    right: 7px;
    min-width: 15px;
    padding: 1px 4px;
    color: #fff;
    border-radius: 8px;
    background: var(--suite-primary);
    font-size: 0.58rem;
}

.suite-avatar-button {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.25rem 0.55rem 0.25rem 0.25rem;
    border: 0;
    color: var(--suite-text);
    background: transparent;
    font-size: 0.83rem;
}

.suite-avatar-button span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(135deg, #8663ff, #5133d2);
}

.suite-avatar-button::after {
    display: none;
}

.suite-notification-menu,
.suite-profile-menu {
    min-width: 270px;
    padding: 0.75rem;
    border: 1px solid var(--suite-border);
    border-radius: 16px;
    box-shadow: var(--suite-shadow);
}

.suite-notification-menu h2 {
    padding: 0.35rem 0.5rem;
    font-size: 0.92rem;
}

.suite-notification-menu div {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid #f0f1f6;
}

.suite-notification-menu strong,
.suite-notification-menu small {
    display: block;
}

.suite-notification-menu strong {
    font-size: 0.82rem;
}

.suite-notification-menu small {
    color: var(--suite-muted);
}

.suite-notification-menu a {
    display: block;
    padding: 0.7rem 0.5rem 0.2rem;
    color: var(--suite-primary);
    font-size: 0.82rem;
    text-decoration: none;
}

.suite-profile-menu small {
    display: block;
    padding: 0.25rem 0.75rem 0.55rem;
    color: var(--suite-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.suite-dashboard {
    max-width: 1450px;
    margin: 0 auto;
}

.dashboard-page-heading,
.admin-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem !important;
}

.dashboard-page-heading .dashboard-label,
.admin-heading .admin-eyebrow {
    color: var(--suite-primary);
}

.dashboard-page-heading h1,
.admin-heading h1 {
    margin: 0;
    color: var(--suite-text);
    font-size: clamp(1.6rem, 3vw, 2.05rem);
    font-weight: 720;
    letter-spacing: -0.045em;
}

.dashboard-page-heading p,
.admin-heading p {
    margin: 0.4rem 0 0;
    color: var(--suite-muted);
}

.suite-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.suite-title-row small {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--suite-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.suite-title-row h1 {
    margin: 0;
    color: var(--suite-text);
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    font-weight: 720;
    letter-spacing: -0.045em;
}

.suite-title-row p {
    margin: 0.42rem 0 0;
    color: var(--suite-muted);
}

.suite-card,
.dashboard-panel,
.admin-panel {
    border: 1px solid var(--suite-border) !important;
    border-radius: var(--suite-radius) !important;
    background: var(--suite-card);
    box-shadow: var(--suite-shadow) !important;
}

.dashboard-panel,
.admin-panel {
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.panel-heading,
.admin-panel-heading {
    margin-bottom: 1rem;
}

.panel-heading h2,
.admin-panel-heading h2 {
    color: var(--suite-text);
}

.admin-kpi,
.dashboard-stat-card {
    border-radius: 19px;
    border-color: var(--suite-border);
    box-shadow: var(--suite-shadow);
}

.admin-kpi.revenue,
.dashboard-stat-card.accent {
    border-color: transparent;
    background: linear-gradient(135deg, #7652fc, #5334d7);
}

.dashboard-table,
.admin-table {
    color: #39445d;
    font-size: 0.84rem;
}

.dashboard-table > :not(caption) > * > *,
.admin-table > :not(caption) > * > * {
    padding: 0.78rem 0.6rem;
    border-bottom-color: #eef0f7;
}

.dashboard-table thead th,
.admin-table thead th {
    color: #8b97ad;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
}

.status-pill {
    border-radius: 999px;
}

.status-ready,
.status-completed,
.status-confirmed,
.status-resolved,
.status-active {
    color: #15815d;
    background: #e9f9f2;
}

.status-requested,
.status-processing,
.status-in_progress,
.status-authorized,
.status-pending {
    color: #6440e9;
    background: #efebff;
}

.suite-card {
    height: 100%;
    padding: 1.15rem;
}

.suite-card:hover,
.suite-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(34, 28, 79, 0.075) !important;
}

.suite-metric {
    position: relative;
    height: 100%;
    min-height: 130px;
    padding: 1.05rem;
    overflow: hidden;
    border: 1px solid var(--suite-border);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--suite-shadow);
    transition: all 0.18s ease;
}

.suite-metric.is-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #7652fc, #5334d7);
}

.suite-metric small,
.suite-metric strong,
.suite-metric span {
    display: block;
}

.suite-metric small {
    color: var(--suite-muted);
    font-size: 0.73rem;
    font-weight: 600;
}

.suite-metric strong {
    margin: 0.6rem 0 0.35rem;
    color: var(--suite-text);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    letter-spacing: -0.04em;
}

.suite-metric span {
    color: #8994ac;
    font-size: 0.73rem;
}

.suite-metric.is-primary small,
.suite-metric.is-primary strong,
.suite-metric.is-primary span {
    color: #fff;
}

.suite-trend-up {
    color: var(--suite-success) !important;
}

.suite-trend-down {
    color: var(--suite-danger) !important;
}

.suite-panel-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.suite-panel-header small {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--suite-primary);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.suite-panel-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 680;
}

.suite-panel-header a {
    color: var(--suite-primary);
    font-size: 0.8rem;
    text-decoration: none;
}

.suite-bars {
    display: flex;
    gap: clamp(0.55rem, 1vw, 1rem);
    align-items: end;
    height: 190px;
    padding: 1.1rem 0.35rem 0;
}

.suite-bars div {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    gap: 0.5rem;
}

.suite-bars i {
    display: block;
    min-height: 8px;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, #7755fd, #b39fff);
    transform-origin: bottom;
    animation: suite-rise 0.6s ease both;
}

.suite-bars b {
    color: #91a0ba;
    font-size: 0.68rem;
    font-weight: 500;
    text-align: center;
}

.suite-area-chart {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 15px;
    background: repeating-linear-gradient(to bottom, transparent 0 46px, #f0f1f7 47px 48px);
}

.suite-area-chart svg {
    width: 100%;
    height: 100%;
}

.suite-area-chart .chart-line {
    fill: none;
    stroke: var(--suite-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.suite-area-chart .chart-fill {
    fill: url(#suiteAreaGradient);
}

.suite-donut {
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: conic-gradient(#704cf4 0 68%, #28bc8c 68% 88%, #ecad40 88% 96%, #eaecf4 96% 100%);
}

.suite-donut::after {
    content: attr(data-value);
    display: grid;
    width: 106px;
    height: 106px;
    place-items: center;
    color: var(--suite-text);
    border-radius: 50%;
    background: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.suite-radial {
    position: relative;
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--suite-primary) calc(var(--value) * 1%), #ececf6 0);
}

.suite-radial::before {
    content: "";
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: #fff;
}

.suite-radial-content {
    position: absolute;
    text-align: center;
}

.suite-radial-content strong {
    display: block;
    font-size: 1.55rem;
}

.suite-radial-content small {
    color: var(--suite-muted);
}

.suite-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    color: var(--suite-muted);
    font-size: 0.72rem;
}

.suite-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--suite-primary);
}

.suite-list {
    display: grid;
    gap: 0.7rem;
}

.suite-list-item {
    display: flex;
    gap: 0.72rem;
    align-items: center;
    padding: 0.7rem;
    border-radius: 14px;
    background: #f9f9fd;
}

.suite-list-item > i {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--suite-primary-soft);
}

.suite-list-item strong,
.suite-list-item small {
    display: block;
}

.suite-list-item strong {
    font-size: 0.83rem;
}

.suite-list-item small {
    color: var(--suite-muted);
    font-size: 0.72rem;
}

.suite-list-item .status-pill {
    margin-left: auto;
}

.suite-table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.suite-table-toolbar input,
.suite-table-toolbar select {
    min-height: 38px;
    border: 1px solid var(--suite-border);
    border-radius: 11px;
    color: var(--suite-muted);
    background: #fafbfe;
    font-size: 0.78rem;
}

.suite-data-table {
    color: #39445d;
    font-size: 0.82rem;
}

.suite-data-table > :not(caption) > * > * {
    padding: 0.7rem 0.55rem;
    border-bottom-color: #eef0f7;
}

.suite-data-table thead th {
    color: #8b97ad;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.suite-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.9rem;
    color: var(--suite-muted);
    font-size: 0.74rem;
}

.suite-pagination div {
    display: flex;
    gap: 0.35rem;
}

.suite-pagination button {
    min-width: 30px;
    height: 30px;
    border: 1px solid var(--suite-border);
    border-radius: 9px;
    color: var(--suite-muted);
    background: #fff;
}

.suite-pagination button.active {
    color: #fff;
    border-color: var(--suite-primary);
    background: var(--suite-primary);
}

.suite-hero {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: clamp(1.35rem, 3vw, 1.9rem);
    color: #fff;
    border-radius: 25px;
    background: linear-gradient(126deg, #161d48, #5434dd 58%, #805fff);
    box-shadow: 0 18px 45px rgba(65, 38, 167, 0.2);
}

.suite-hero::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 182, 255, 0.48), transparent 64%);
    animation: suite-pulse 4s ease-in-out infinite;
}

.suite-hero h2 {
    position: relative;
    max-width: 530px;
    margin: 0.7rem 0 0.8rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    letter-spacing: -0.05em;
}

.suite-hero p {
    position: relative;
    max-width: 500px;
    color: rgba(239, 237, 255, 0.82);
}

.suite-chip-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.suite-chip {
    padding: 0.46rem 0.7rem;
    border: 1px solid rgba(226, 221, 255, 0.21);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
}

.suite-floating-metrics {
    position: relative;
    display: grid;
    gap: 0.55rem;
}

.suite-floating-metric {
    padding: 0.8rem;
    border: 1px solid rgba(237, 234, 255, 0.25);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
}

.suite-floating-metric strong {
    display: block;
    font-size: 1.18rem;
}

.suite-floating-metric small {
    color: rgba(238, 235, 255, 0.75);
}

.suite-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.suite-timeline li {
    position: relative;
    padding: 0 0 1rem 1.4rem;
}

.suite-timeline li::before {
    content: "";
    position: absolute;
    top: 0.18rem;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--suite-primary);
    box-shadow: 0 0 0 5px var(--suite-primary-soft);
}

.suite-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 0.25rem;
    left: 4px;
    width: 1px;
    background: #e3e4ef;
}

.suite-timeline strong,
.suite-timeline small {
    display: block;
}

.suite-timeline strong {
    font-size: 0.83rem;
}

.suite-timeline small {
    margin-top: 0.2rem;
    color: var(--suite-muted);
    font-size: 0.71rem;
}

.suite-kanban {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.suite-kanban-column {
    padding: 0.7rem;
    border-radius: 15px;
    background: #f7f8fc;
}

.suite-kanban-column h3 {
    margin: 0 0 0.75rem;
    color: var(--suite-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.suite-kanban-task {
    padding: 0.65rem;
    margin-bottom: 0.55rem;
    border: 1px solid #edf0f7;
    border-radius: 11px;
    background: #fff;
    font-size: 0.75rem;
}

.suite-kanban-task strong {
    display: block;
    margin-bottom: 0.28rem;
}

.suite-heatmap {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(12, 1fr);
    margin: 1rem 0;
}

.suite-heatmap span {
    aspect-ratio: 1;
    border-radius: 5px;
    background: #ecebfb;
}

.suite-heatmap span:nth-child(3n) {
    background: #cfc2ff;
}

.suite-heatmap span:nth-child(5n) {
    background: #8c70f8;
}

.suite-heatmap span:nth-child(7n) {
    background: #5936df;
}

.suite-security-alert {
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem;
    margin-bottom: 0.6rem;
    border-radius: 13px;
    background: #fff6f7;
}

.suite-security-alert b {
    color: var(--suite-danger);
    font-size: 0.79rem;
}

.suite-security-alert small {
    display: block;
    color: var(--suite-muted);
}

[data-suite-reveal] {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

[data-suite-reveal].is-ready {
    opacity: 1;
    transform: none;
}

.suite-skeleton {
    overflow: hidden;
    border-radius: 10px;
    background: #edf0f6;
}

.suite-skeleton::after {
    content: "";
    display: block;
    height: 100%;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: suite-loading 1.3s infinite;
}

.suite-sidebar-collapsed .suite-sidebar {
    flex-basis: 82px;
    min-width: 82px;
}

.suite-sidebar-collapsed .suite-sidebar-brand span,
.suite-sidebar-collapsed .suite-sidebar .sidebar-section-label,
.suite-sidebar-collapsed .suite-sidebar .admin-sidebar-badge,
.suite-sidebar-collapsed .suite-sidebar .nav-link .sidebar-link-label,
.suite-sidebar-collapsed .suite-sidebar .sidebar-utility-link .sidebar-link-label,
.suite-sidebar-collapsed .suite-sidebar .sidebar-profile-card div {
    display: none;
}

.suite-sidebar-collapsed .suite-sidebar .nav-link .navigation-icon {
    display: inline-grid;
}

.suite-sidebar-collapsed .suite-sidebar-brand {
    margin-left: 0.4rem;
}

.suite-sidebar-collapsed .suite-sidebar .dashboard-nav .nav-link {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
}

.suite-sidebar-collapsed .suite-sidebar .sidebar-utility-link {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
}

.suite-sidebar-collapsed .suite-sidebar .sidebar-profile-card {
    justify-content: center;
    padding: 0.45rem;
}

@keyframes suite-rise {
    from { transform: scaleY(0.05); opacity: 0.35; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes suite-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.09); opacity: 1; }
}

@keyframes suite-loading {
    100% { transform: translateX(100%); }
}

@media (max-width: 1199.98px) {
    .suite-command-leading div {
        display: none;
    }

    .suite-search {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .member-dashboard-page .app-master-header,
    .admin-dashboard-page .app-master-header {
        display: block;
    }

    .member-dashboard-page .desktop-navbar-row,
    .admin-dashboard-page .desktop-navbar-row {
        display: none !important;
    }

    .member-dashboard-page .mobile-navbar-row,
    .admin-dashboard-page .mobile-navbar-row {
        display: flex !important;
    }

    .suite-sidebar {
        display: none !important;
    }

    .member-dashboard-page .dashboard-content,
    .admin-dashboard-page .dashboard-content {
        padding: 0 1rem 5.8rem !important;
    }

    .suite-command-bar {
        top: 67px;
        margin: 0 -1rem 1rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .suite-search {
        display: none;
    }

    .suite-kanban {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .member-dashboard-page .app-master-header,
    .admin-dashboard-page .app-master-header {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .suite-command-bar {
        gap: 0.4rem;
        min-height: 62px;
        margin-bottom: 0.85rem;
    }

    .suite-command-leading strong {
        font-size: 0.83rem;
    }

    .suite-icon-action,
    .suite-avatar-button span {
        width: 39px;
        height: 39px;
    }

    .suite-title-row {
        margin-bottom: 1rem;
    }

    .suite-title-row h1 {
        font-size: 1.45rem;
    }

    .suite-hero {
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-suite-reveal],
    .suite-hero::after,
    .suite-bars i,
    .suite-skeleton::after {
        animation: none;
        transition: none;
    }

    [data-suite-reveal] {
        opacity: 1;
        transform: none;
    }
}

[data-bs-theme="dark"] .member-dashboard-page,
[data-bs-theme="dark"] .admin-dashboard-page,
.dashboard-theme-dark {
    --suite-card: #151a34;
    --suite-text: #f1f3fb;
    --suite-muted: #98a3c1;
    --suite-border: #252c4d;
    background: #0c1128;
}

/* Member dashboard */
.member-dashboard-page {
    background:
        radial-gradient(circle at 92% 3%, rgba(30, 111, 230, 0.12), transparent 28%),
        #f4f7fc;
    color: #10213c;
}

.member-dashboard-page .dashboard-layout {
    min-height: calc(100vh - 61px);
}

.member-dashboard-page .dashboard-sidebar {
    background: rgba(255, 255, 255, 0.94) !important;
}

.member-dashboard-page .dashboard-nav .nav-link {
    margin-bottom: 0.18rem;
    padding: 0.72rem 0.85rem;
    border-radius: 0.72rem;
    color: #5d6c84 !important;
    font-weight: 500;
}

.member-dashboard-page .dashboard-nav .nav-link.active {
    color: #0757c9 !important;
    background: #e9f2ff;
}

.member-dashboard-page .dashboard-content {
    max-width: 1380px;
}

.dashboard-hero {
    overflow: hidden;
    padding: clamp(1.45rem, 4vw, 2.45rem);
    color: #fff;
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 91% 6%, rgba(77, 155, 255, 0.4), transparent 32%),
        linear-gradient(120deg, #061833, #073d91 70%, #0e6ae4);
    box-shadow: 0 22px 52px rgba(8, 37, 83, 0.14);
}

.dashboard-label {
    display: inline-flex;
    margin-bottom: 0.65rem;
    color: #327ce1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-hero .dashboard-label {
    color: #92c2ff;
}

.dashboard-hero h1 {
    max-width: 590px;
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 650;
    letter-spacing: -0.045em;
}

.dashboard-hero p {
    max-width: 575px;
    margin-bottom: 1.55rem;
    color: rgba(234, 243, 255, 0.78);
    line-height: 1.6;
}

.dashboard-action {
    min-height: 2.8rem;
    display: inline-flex;
    align-items: center;
    border-radius: 0.7rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.dashboard-hero .btn-primary {
    color: #0757c9;
    border-color: #fff;
    background: #fff;
}

.profile-progress {
    max-width: 390px;
    margin-left: auto;
    padding: 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.19);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(15px);
}

.profile-progress small,
.profile-progress strong {
    display: block;
}

.profile-progress small {
    color: rgba(232, 242, 255, 0.69);
    font-size: 0.78rem;
}

.profile-progress strong {
    font-size: 1.04rem;
}

.profile-progress span {
    padding: 0.35rem 0.65rem;
    color: #ffe3aa;
    background: rgba(222, 165, 48, 0.17);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-progress span.is-complete {
    color: #52e5af;
    background: rgba(43, 201, 145, 0.15);
}

.profile-progress .progress {
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.17);
}

.profile-progress .progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #56a0ff, #45ddaf);
}

.profile-progress p {
    font-size: 0.82rem;
}

.dashboard-stat-card {
    height: 100%;
    padding: 1.18rem;
    border: 1px solid #e4eaf4;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 18px rgba(11, 30, 56, 0.035);
}

.dashboard-stat-card small,
.dashboard-stat-card strong,
.dashboard-stat-card span {
    display: block;
}

.dashboard-stat-card small {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

.dashboard-stat-card strong {
    margin: 0.35rem 0;
    color: #10213c;
    font-size: clamp(1.35rem, 3vw, 1.72rem);
    font-weight: 650;
}

.dashboard-stat-card span {
    color: #77879e;
    font-size: 0.76rem;
}

.dashboard-stat-card.accent {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(130deg, #0757c9, #1e79ed);
}

.dashboard-stat-card.accent small,
.dashboard-stat-card.accent strong,
.dashboard-stat-card.accent span {
    color: #fff;
}

.dashboard-panel {
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border: 1px solid #e4eaf4;
    border-radius: 1rem;
    box-shadow: 0 5px 22px rgba(11, 30, 56, 0.035);
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.panel-heading .dashboard-label {
    margin-bottom: 0.28rem;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.dashboard-empty {
    padding: 2.15rem 1rem;
    text-align: center;
    color: #718096;
    border-radius: 0.78rem;
    background: #f7faff;
}

.dashboard-empty strong {
    display: block;
    margin-bottom: 0.42rem;
    color: #314159;
}

.dashboard-empty p {
    margin: 0;
    font-size: 0.9rem;
}

.dashboard-empty.compact {
    padding: 1.35rem 0.8rem;
}

.dashboard-list {
    display: grid;
    gap: 0.6rem;
}

.dashboard-list-row {
    display: grid;
    grid-template-columns: 1fr auto 126px;
    align-items: center;
    gap: 0.85rem;
    padding: 0.86rem 0.95rem;
    border: 1px solid #edf1f7;
    border-radius: 0.74rem;
}

.dashboard-list-row strong,
.dashboard-list-row small {
    display: block;
}

.dashboard-list-row small {
    margin-top: 0.18rem;
    color: #77879d;
}

.dashboard-list-row > :last-child {
    text-align: right;
}

.status-pill {
    display: inline-flex;
    padding: 0.3rem 0.62rem;
    font-size: 0.74rem;
    font-weight: 650;
    border-radius: 999px;
    color: #53637a;
    background: #edf1f7;
}

.status-ready,
.status-completed,
.status-confirmed,
.status-resolved {
    color: #11815f;
    background: #e5faf2;
}

.status-processing,
.status-authorized,
.status-requested,
.status-in_progress {
    color: #0757c9;
    background: #eaf2ff;
}

.status-failed,
.status-cancelled {
    color: #c53249;
    background: #ffedf0;
}

.dashboard-table {
    color: #30415b;
    font-size: 0.9rem;
}

.dashboard-table > :not(caption) > * > * {
    padding: 0.8rem 0.55rem;
    border-bottom-color: #eef2f7;
}

.dashboard-table thead th {
    color: #72839a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ticket-row {
    padding: 0.78rem 0;
    border-bottom: 1px solid #eef2f7;
}

.ticket-row:last-child {
    border-bottom: 0;
}

.ticket-row strong,
.ticket-row small {
    display: block;
}

.ticket-row small {
    margin-top: 0.24rem;
    color: #718096;
}

.appointment-card {
    padding: 0.85rem;
    margin-bottom: 0.7rem;
    border: 1px solid #e9eff7;
    border-radius: 0.75rem;
    background: #fbfcff;
}

.appointment-card:last-child {
    margin-bottom: 0;
}

.appointment-card strong {
    display: block;
    color: #14243e;
    font-size: 0.91rem;
}

.appointment-reference {
    display: block;
    margin-bottom: 0.2rem;
    color: #2377ee !important;
    font-size: 0.67rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.appointment-card > p {
    margin: 0.72rem 0;
    color: #697991;
    font-size: 0.78rem;
}

.appointment-schedule {
    padding: 0.6rem 0.68rem;
    margin-bottom: 0.65rem;
    border-radius: 0.52rem;
    background: #f0f6ff;
}

.appointment-schedule small,
.appointment-schedule strong {
    display: block;
}

.appointment-schedule small {
    color: #6e8099;
    font-size: 0.68rem;
}

.appointment-schedule strong {
    margin-top: 0.16rem;
    color: #174989;
    font-size: 0.83rem;
}

.appointment-advisor {
    display: block;
    margin-bottom: 0.55rem;
    color: #52647d;
}

.appointment-note {
    margin: 0.45rem 0 !important;
    padding: 0.48rem 0.58rem;
    color: #586b83 !important;
    border-radius: 0.45rem;
    background: #f1f4f8;
}

.appointment-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: 0.7rem;
}

.appointment-actions .alert {
    display: none;
}

.status-rejected {
    color: #c53249;
    background: #ffedf0;
}

.dashboard-form .form-label,
.dashboard-modal .form-label {
    color: #596a82;
    font-size: 0.82rem;
    font-weight: 500;
}

.dashboard-form .form-control,
.dashboard-modal .form-control,
.dashboard-modal .form-select {
    min-height: 2.72rem;
    border-color: #e1e8f3;
    border-radius: 0.64rem;
}

.dashboard-form .form-control.is-verified {
    color: #117e5b;
    background: #eefbf7;
}

.unread-chip {
    padding: 0.32rem 0.62rem;
    color: #0757c9;
    font-size: 0.74rem;
    font-weight: 650;
    border-radius: 999px;
    background: #ebf3ff;
}

.notice-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef2f7;
}

.notice-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.notice-row.is-unread strong::before {
    content: "";
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.55rem;
    vertical-align: middle;
    border-radius: 50%;
    background: #1976ed;
}

.notice-row strong {
    font-size: 0.9rem;
}

.notice-row p {
    margin: 0.28rem 0;
    color: #5e708a;
    font-size: 0.83rem;
    line-height: 1.45;
}

.notice-row small {
    color: #8998ad;
    font-size: 0.75rem;
}

.notice-read {
    padding: 0;
    color: #0757c9;
    font-size: 0.78rem;
    text-decoration: none;
}

.activity-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-timeline li {
    position: relative;
    padding: 0 0 1.1rem 1.25rem;
    color: #35455e;
}

.activity-timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.62rem;
    bottom: 0;
    width: 1px;
    background: #dce5f2;
}

.activity-timeline li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #2377ee;
}

.activity-timeline strong,
.activity-timeline small {
    display: block;
}

.activity-timeline strong {
    font-size: 0.86rem;
    font-weight: 500;
}

.activity-timeline small {
    margin-top: 0.23rem;
    color: #8191a8;
    font-size: 0.76rem;
}

.dashboard-modal {
    overflow: hidden;
    border: 0;
    border-radius: 1.05rem;
    box-shadow: 0 22px 64px rgba(8, 27, 55, 0.18);
}

@media (max-width: 991.98px) {
    .member-dashboard-page .dashboard-content {
        padding-bottom: 5.4rem !important;
    }

    .member-dashboard-page .dashboard-sidebar {
        position: fixed;
        z-index: 1030;
        left: 0;
        right: 0;
        bottom: 0;
        border-top: 1px solid #e2e8f2;
        box-shadow: 0 -8px 25px rgba(9, 24, 47, 0.07);
    }

    .member-dashboard-page .dashboard-sidebar .p-3 {
        padding: 0.42rem 0.55rem !important;
    }

    .member-dashboard-page .dashboard-sidebar p {
        display: none;
    }

    .member-dashboard-page .dashboard-nav {
        justify-content: space-between;
        gap: 0 !important;
        overflow-x: auto;
    }

    .member-dashboard-page .dashboard-nav .nav-link {
        flex: 0 0 auto;
        min-width: 70px;
        margin: 0;
        padding: 0.55rem 0.62rem;
        text-align: center;
        font-size: 0.76rem;
    }

    .profile-progress {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .member-dashboard-page .dashboard-content {
        padding: 0.8rem 0.8rem 5rem !important;
    }

    .dashboard-hero {
        padding: 1.25rem 1.05rem;
        border-radius: 1.05rem;
    }

    .dashboard-hero p {
        font-size: 0.88rem;
    }

    .dashboard-action {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.9rem;
    }

    .dashboard-stat-card {
        padding: 0.9rem;
    }

    .dashboard-stat-card strong {
        font-size: 1.25rem;
    }

    .dashboard-stat-card span {
        min-height: 30px;
    }

    .dashboard-panel {
        padding: 0.95rem;
    }

    .dashboard-list-row {
        grid-template-columns: 1fr auto;
    }

    .dashboard-list-row > :last-child {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* Administration console */
.admin-dashboard-page {
    background: #f3f6fb;
    color: #12223d;
}

.admin-dashboard-page .dashboard-sidebar {
    background: #07162d !important;
    border-color: #07162d !important;
    color: #fff;
}

.admin-dashboard-page .dashboard-sidebar p {
    color: #6f87a9 !important;
    letter-spacing: 0.13em;
}

.admin-dashboard-page .dashboard-nav .nav-link {
    padding: 0.66rem 0.82rem;
    margin-bottom: 0.12rem;
    color: #a9b8ce !important;
    border-radius: 0.62rem;
    font-size: 0.92rem;
}

.admin-dashboard-page .dashboard-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.admin-dashboard-page .dashboard-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(120deg, #1564da, #217bee);
}

.admin-console {
    max-width: 1410px;
}

.admin-heading {
    display: flex;
    gap: 1.5rem;
    align-items: end;
    justify-content: space-between;
    padding: 1.65rem 1.8rem;
    color: #fff;
    border-radius: 1.18rem;
    background:
        radial-gradient(circle at 83% 15%, rgba(48, 135, 247, 0.3), transparent 30%),
        #081830;
}

.admin-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: #67a8ff;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.admin-heading h1 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.045em;
}

.admin-heading p {
    max-width: 660px;
    margin: 0;
    color: #a2b1c5;
}

.admin-live {
    flex: 0 0 auto;
    padding: 0.74rem 0.9rem;
    color: #cfe0f5;
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.045);
}

.admin-live span {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.38rem;
    border-radius: 50%;
    background: #38d49e;
}

.admin-live small {
    display: block;
    margin-top: 0.24rem;
    color: #8499b5;
}

.admin-kpi {
    height: 100%;
    padding: 1.08rem;
    border: 1px solid #e1e8f3;
    border-radius: 0.9rem;
    box-shadow: 0 3px 15px rgba(13, 30, 54, 0.03);
}

.admin-kpi small,
.admin-kpi strong,
.admin-kpi span {
    display: block;
}

.admin-kpi small {
    color: #697990;
    font-size: 0.78rem;
}

.admin-kpi strong {
    margin: 0.34rem 0;
    color: #101f37;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 650;
}

.admin-kpi span {
    color: #8594a9;
    font-size: 0.73rem;
}

.admin-kpi.revenue {
    border-color: #d6eee5;
    background: #f2fcf8;
}

.admin-kpi.revenue strong {
    color: #11815f;
}

.admin-kpi.warning {
    border-color: #f4e6c5;
    background: #fffaf1;
}

.admin-kpi.warning strong {
    color: #ae7114;
}

.admin-panel {
    padding: clamp(1rem, 2vw, 1.3rem);
    border: 1px solid #e1e8f3;
    border-radius: 0.98rem;
    box-shadow: 0 5px 20px rgba(12, 31, 57, 0.035);
}

.admin-panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.admin-panel-heading span {
    display: block;
    margin-bottom: 0.2rem;
    color: #2377ee;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-panel-heading h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 650;
}

.admin-panel-heading small {
    color: #8191a6;
}

.admin-chart {
    height: 230px;
    display: flex;
    align-items: flex-end;
    gap: clamp(0.5rem, 4vw, 1.3rem);
    padding: 1.2rem 0.55rem 0;
}

.admin-chart-column {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.admin-chart-value {
    margin-bottom: 0.42rem;
    color: #60718a;
    font-size: 0.65rem;
}

.admin-chart-bar {
    min-height: 7px;
    border-radius: 0.42rem 0.42rem 0 0;
    background: linear-gradient(180deg, #4a96fa, #0757c9);
}

.admin-chart-column span {
    margin-top: 0.55rem;
    color: #6c7e97;
    font-size: 0.74rem;
}

.admin-distribution {
    display: grid;
    gap: 1.02rem;
}

.admin-distribution label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.38rem;
    color: #596b84;
    font-size: 0.82rem;
}

.admin-distribution .progress {
    height: 0.43rem;
    background: #eaf0f8;
}

.admin-distribution .progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #176de6, #36caa0);
}

.admin-table {
    color: #34445d;
    font-size: 0.88rem;
}

.admin-table > :not(caption) > * > * {
    padding: 0.72rem 0.48rem;
    border-color: #eef2f7;
}

.admin-table thead th {
    color: #718298;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    color: #74849b;
}

.admin-tag {
    padding: 0.24rem 0.5rem;
    color: #245fae;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    background: #edf4ff;
}

.admin-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.admin-inline-form .form-select {
    min-width: 108px;
}

.admin-record {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f7;
}

.admin-record:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-record strong,
.admin-record small {
    display: block;
}

.admin-record small {
    margin-top: 0.18rem;
    color: #74849b;
    font-size: 0.78rem;
}

.admin-edit-row {
    grid-template-columns: minmax(125px, 1fr) 76px 106px auto;
}

.admin-status-row {
    grid-template-columns: minmax(150px, 1fr) 125px auto;
}

.admin-blog-row {
    grid-template-columns: minmax(150px, 1fr) auto auto;
}

.admin-consultation {
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef2f7;
}

.admin-consultation:last-child {
    border-bottom: 0;
}

.admin-consultation strong,
.admin-consultation small {
    display: block;
}

.admin-consultation small {
    margin-top: 0.18rem;
    color: #74849b;
}

.consultation-request-times {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.82rem;
}

.consultation-request-times div {
    min-width: 164px;
    padding: 0.56rem 0.65rem;
    border-radius: 0.48rem;
    background: #f3f7fd;
}

.consultation-request-times small,
.consultation-request-times strong {
    display: block;
}

.consultation-request-times strong {
    margin-top: 0.15rem;
    color: #25456f;
    font-size: 0.8rem;
}

.consultation-user-note {
    margin: 0.72rem 0 0;
    padding: 0.55rem 0.65rem;
    color: #64758c;
    font-size: 0.8rem;
    border-radius: 0.5rem;
    background: #f7f9fc;
}

.admin-consultation .form-label {
    margin-bottom: 0.22rem;
    color: #718299;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-cms-form {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f7;
}

.admin-cms-form:last-child {
    border-bottom: 0;
}

.admin-cms-form .form-label {
    display: flex;
    justify-content: space-between;
    color: #35455d;
    font-size: 0.83rem;
    font-weight: 600;
}

.admin-cms-form .form-label small {
    color: #8091a7;
    text-transform: capitalize;
}

.admin-modal {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 25px 65px rgba(8, 24, 47, 0.21);
}

.super-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.super-module-grid a {
    padding: 1rem;
    color: #13243e;
    text-decoration: none;
    border: 1px solid #e2e9f3;
    border-radius: 0.8rem;
    background: #fbfcff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.super-module-grid a:hover {
    border-color: #c4dafb;
    box-shadow: 0 10px 24px rgba(18, 54, 109, 0.06);
}

.super-module-grid strong,
.super-module-grid small,
.super-audit-row strong,
.super-audit-row small,
.super-admin-card strong,
.super-admin-card small {
    display: block;
}

.super-module-grid small,
.super-audit-row small,
.super-admin-card small {
    margin-top: 0.25rem;
    color: #74849b;
}

.super-audit-row {
    padding: 0.7rem 0;
    border-bottom: 1px solid #eef2f7;
}

.super-audit-row:last-child {
    border-bottom: 0;
}

.super-edit-form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(175px, 1fr) 84px 92px auto;
    gap: 0.35rem;
    min-width: 540px;
}

.super-row-actions {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.super-admin-card {
    padding: 1rem 0;
    border-bottom: 1px solid #eef2f7;
}

.super-admin-card:last-child {
    border-bottom: 0;
}

.permission-picker,
.permission-editor {
    display: grid;
    gap: 0.5rem;
}

.permission-editor {
    grid-template-columns: repeat(2, minmax(175px, 1fr));
    margin: 0.85rem 0;
    padding: 0.8rem;
    border-radius: 0.65rem;
    background: #f8fafd;
}

.permission-editor .btn {
    grid-column: 1 / -1;
    width: max-content;
}

@media (max-width: 767.98px) {
    .super-module-grid,
    .permission-editor {
        grid-template-columns: 1fr;
    }
}

/* Structured marketing pages reuse the established landing-page palette. */
.structured-marketing-page {
    background: #061225;
    color: #f5f8ff;
}

.structured-hero {
    padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
    background: radial-gradient(circle at 84% 42%, rgba(41, 127, 246, 0.18), transparent 32%), #061225;
}

.structured-hero h1 {
    max-width: 790px;
    margin: 1rem 0 1.2rem;
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.structured-hero p {
    max-width: 680px;
    margin-bottom: 2rem;
    color: #aebcd1;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.structured-hero-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid rgba(111, 146, 195, 0.25);
    border-radius: 1.4rem;
    background: rgba(23, 48, 82, 0.45);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.structured-hero-card small {
    color: #4d9aff;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.structured-hero-card strong {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.35;
}

.structured-hero-card span {
    color: #6fe0bf;
}

.compact-hero {
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.compact-hero h1 {
    max-width: 900px;
}

.structured-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: #07162b;
}

.structured-section:nth-of-type(odd) {
    background: #061225;
}

.structured-heading {
    max-width: 680px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.structured-heading h2 {
    margin: 0.75rem 0;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.structured-heading p {
    color: #9dacbf;
}

.structured-feature,
.process-card {
    height: 100%;
    padding: clamp(1.35rem, 2.5vw, 1.9rem);
    border: 1px solid rgba(111, 146, 195, 0.2);
    border-radius: 1.15rem;
    background: rgba(14, 33, 58, 0.72);
}

.structured-feature > span,
.process-card > span {
    display: block;
    margin-bottom: 1rem;
    color: #3286f4;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.structured-feature h2,
.structured-feature h3,
.process-card h3 {
    margin: 0 0 0.75rem;
    color: #f7faff;
    font-size: 1.16rem;
}

.structured-feature p,
.process-card p {
    margin: 0;
    color: #9eaec3;
    line-height: 1.65;
}

.structured-feature a {
    display: inline-block;
    margin-top: 1.15rem;
    color: #66a8ff;
    text-decoration: none;
}

.trust-section {
    background: linear-gradient(135deg, #081a34, #07162b);
}

.trust-point {
    height: 100%;
    padding: 1.45rem;
    border: 1px solid rgba(56, 132, 239, 0.22);
    border-radius: 1rem;
    color: #e2ebfa;
    background: rgba(24, 55, 91, 0.38);
}

.structured-faq {
    max-width: 880px;
}

.structured-faq .accordion-item {
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(111, 146, 195, 0.18);
    border-radius: 0.85rem;
    background: rgba(14, 33, 58, 0.72);
}

.structured-faq .accordion-button,
.structured-faq .accordion-body {
    color: #eef4ff;
    background: transparent;
}

.structured-faq .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #62a2ff;
}

.structured-faq .accordion-button::after {
    filter: invert(1);
}

.structured-faq .accordion-body {
    color: #9eaec3;
}

.structured-cta {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #061225;
}

.structured-cta .container-xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(47, 123, 239, 0.3);
    border-radius: 1.4rem;
    background: linear-gradient(110deg, rgba(22, 58, 104, 0.66), rgba(11, 29, 54, 0.8));
}

.structured-cta h2 {
    margin: 0.55rem 0 0;
}

.marketing-not-found {
    min-height: 70vh;
    padding-top: 11rem;
    color: #fff;
    background: #061225;
}

.editor-media-uploader {
    margin-bottom: 0.85rem;
}

.editor-media-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 122px;
    padding: 1rem;
    color: #324662;
    text-align: center;
    border: 1px dashed #a8bfdc;
    border-radius: 0.75rem;
    background: #f6f9fd;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.editor-media-dropzone span {
    margin-top: 0.25rem;
    color: #6f8097;
    font-size: 0.84rem;
}

.editor-media-dropzone.is-dragging {
    border-color: #2779e9;
    background: #eef5ff;
}

.editor-media-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border: 1px solid #dbe6f4;
    border-radius: 0.75rem;
    background: #f8fbff;
}

.editor-media-preview img {
    width: 104px;
    height: 76px;
    border-radius: 0.55rem;
    object-fit: cover;
}

.rich-editor figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 0.7rem;
}

@media (max-width: 575.98px) {
    .structured-cta .container-xl {
        margin-right: 0.75rem;
        margin-left: 0.75rem;
    }

    .editor-media-preview {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-toast {
    position: sticky;
    z-index: 3;
    top: 74px;
}

.blog-admin-filter .form-label {
    color: #667890;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-admin-list {
    display: grid;
    gap: 0.8rem;
}

.blog-admin-item {
    display: grid;
    grid-template-columns: 88px minmax(220px, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.72rem;
    border: 1px solid #e9eef6;
    border-radius: 0.78rem;
}

.blog-thumb {
    width: 88px;
    height: 72px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #377fe6;
    font-weight: 700;
    border-radius: 0.58rem;
    background: linear-gradient(135deg, #eaf3ff, #d4e5fd);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-admin-copy h2 {
    margin: 0 0 0.28rem;
    font-size: 0.98rem;
}

.blog-admin-copy code {
    display: block;
    margin-bottom: 0.2rem;
    color: #1770e7;
    font-size: 0.77rem;
}

.blog-admin-copy small {
    color: #72839a;
    font-size: 0.75rem;
}

.blog-admin-actions {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.blog-category-list > div {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #eef2f7;
}

.blog-category-list > div:last-child {
    border-bottom: 0;
}

.blog-category-list strong,
.blog-category-list small {
    display: block;
}

.blog-category-list small {
    color: #7b8ba1;
    font-size: 0.75rem;
}

.article-body-editor {
    min-height: 460px;
}

.blog-library-table th {
    color: #64758c;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.blog-library-table td {
    color: #263850;
    font-size: 0.88rem;
    border-color: #edf1f7;
}

.blog-library-table code {
    color: #1872e8;
    font-size: 0.76rem;
}

.seo-score,
.seo-live-score {
    display: inline-flex;
    padding: 0.28rem 0.52rem;
    border-radius: 999px;
    color: #a83a1a;
    font-size: 0.76rem;
    font-weight: 700;
    background: #ffefe9;
}

.seo-score.is-fair,
.seo-live-score.is-fair {
    color: #987000;
    background: #fff4d6;
}

.seo-score.is-good,
.seo-live-score.is-good {
    color: #05814f;
    background: #dbf9ea;
}

.rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    padding: 0.55rem;
    border: 1px solid #dce4ef;
    border-bottom: 0;
    border-radius: 0.65rem 0.65rem 0 0;
    background: #f8fafc;
}

.rich-toolbar button {
    min-width: 2.25rem;
    padding: 0.38rem 0.58rem;
    color: #34475f;
    font-size: 0.82rem;
    border: 1px solid #e0e7f0;
    border-radius: 0.38rem;
    background: #fff;
}

.rich-toolbar button:hover {
    color: #0757c9;
    border-color: #b7d1fa;
}

.rich-editor {
    overflow-y: auto;
    padding: 1rem;
    color: #25364e;
    border: 1px solid #dce4ef;
    border-radius: 0 0 0.65rem 0.65rem;
    background: #fff;
}

.rich-editor:empty::before {
    color: #8694a7;
    content: "Write clear, educational content...";
}

.seo-preview {
    margin-top: 0.55rem;
    padding: 0.9rem;
    border: 1px solid #e2e9f3;
    border-radius: 0.72rem;
    background: #fff;
}

.seo-preview-url {
    display: block;
    color: #23873d;
}

.seo-preview-title {
    margin: 0.32rem 0;
    overflow: hidden;
    color: #1a0dab;
    font-size: 1rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seo-preview-description {
    margin: 0;
    color: #56677d;
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .admin-dashboard-page .dashboard-content {
        padding-bottom: 5.3rem !important;
    }

    .admin-dashboard-page .dashboard-sidebar {
        position: fixed;
        z-index: 1030;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
    }

    .admin-dashboard-page .dashboard-sidebar .p-3 {
        padding: 0.45rem !important;
    }

    .admin-dashboard-page .dashboard-sidebar p {
        display: none;
    }

    .admin-dashboard-page .dashboard-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.2rem !important;
    }

    .admin-dashboard-page .dashboard-nav .nav-link {
        flex: 0 0 auto;
        padding: 0.5rem 0.68rem;
        font-size: 0.76rem;
    }

    .admin-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard-page .dashboard-content {
        padding: 0.8rem 0.8rem 5rem !important;
    }

    .admin-heading {
        padding: 1.15rem;
    }

    .admin-chart {
        height: 180px;
        padding-left: 0;
        padding-right: 0;
    }

    .admin-chart-value {
        display: none;
    }

    .admin-record,
    .admin-edit-row,
    .admin-status-row {
        grid-template-columns: 1fr auto;
    }

    .admin-record form,
    .admin-edit-row > .admin-score {
        grid-column: 1 / -1;
    }

    .admin-edit-row .form-select {
        grid-column: 1;
    }

    .blog-admin-item {
        grid-template-columns: 68px 1fr;
        gap: 0.7rem;
    }

    .blog-thumb {
        width: 68px;
        height: 64px;
    }

    .blog-admin-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .article-body-editor {
        min-height: 300px;
    }

    .blog-library-table .blog-admin-actions {
        min-width: 230px;
    }
}

/* Public journal */
.blog-page {
    background: #fff;
}

.blog-hero {
    padding: clamp(8.4rem, 15vw, 10rem) 0 clamp(3.5rem, 7vw, 5.2rem);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 72% 18%, rgba(39, 119, 236, 0.3), transparent 32%),
        linear-gradient(120deg, #050f22, #0a203d);
}

.blog-hero .section-kicker {
    color: #76adfd;
}

.blog-hero h1 {
    max-width: 760px;
    margin: 0 auto 1rem;
    font-size: clamp(2.15rem, 5vw, 3.45rem);
    line-height: 1.12;
}

.blog-hero p {
    max-width: 590px;
    margin: 0 auto 2.15rem;
    color: #a4b2c6;
    font-size: 1.03rem;
    line-height: 1.7;
}

.blog-search-form {
    max-width: 630px;
    margin: 0 auto;
    padding: 0.43rem;
    display: flex;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.78rem;
    background: rgba(255, 255, 255, 0.08);
}

.blog-search-form .form-control {
    color: #fff;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.blog-search-form .form-control::placeholder {
    color: #92a4bd;
}

.blog-library {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #f6f8fc;
}

.blog-filters {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    margin-bottom: 3rem;
    padding-bottom: 0.25rem;
}

.blog-filters a {
    flex: 0 0 auto;
    padding: 0.58rem 0.95rem;
    color: #576881;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2e8f3;
    border-radius: 999px;
    background: #fff;
}

.blog-filters a.active,
.blog-filters a:hover {
    color: #fff;
    border-color: #0757c9;
    background: #0757c9;
}

.blog-filters small {
    margin-left: 0.34rem;
    opacity: 0.73;
}

.blog-results-title {
    margin: 0;
    color: #10213c;
    font-size: clamp(1.6rem, 3vw, 2.05rem);
}

.public-blog-card {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5ebf4;
    border-radius: 1.05rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(8, 26, 52, 0.08);
}

.blog-cover {
    display: block;
    height: 215px;
    overflow: hidden;
    background: #dce9fb;
}

.blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.public-blog-card:hover .blog-cover img {
    transform: scale(1.035);
}

.blog-cover-placeholder {
    display: block;
    height: 100%;
    background:
        radial-gradient(circle at 78% 32%, rgba(45, 124, 239, 0.28), transparent 22%),
        linear-gradient(130deg, #0b2342, #1764d5 62%, #5c9cf4);
}

.blog-card-copy {
    flex: 1;
    padding: 1.35rem;
}

.blog-category {
    display: inline-flex;
    margin-right: 0.62rem;
    color: #176de5;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-card-copy time {
    color: #8291a7;
    font-size: 0.78rem;
}

.blog-card-copy h2 {
    margin: 0.7rem 0 0.7rem;
    font-size: 1.32rem;
    line-height: 1.28;
    letter-spacing: -0.035em;
}

.blog-card-copy h2 a {
    color: #10213c;
    text-decoration: none;
}

.blog-card-copy p {
    color: #63738b;
    font-size: 0.91rem;
    line-height: 1.62;
}

.blog-read-link {
    color: #176de5;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.public-blog-card.is-feature {
    flex-direction: row;
}

.public-blog-card.is-feature .blog-cover {
    flex: 0 0 52%;
    height: auto;
    min-height: 350px;
}

.public-blog-card.is-feature .blog-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.55rem, 4vw, 2.6rem);
}

.public-blog-card.is-feature h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.blog-empty {
    padding: clamp(3rem, 8vw, 5rem) 1rem;
    text-align: center;
    border: 1px solid #e5ebf4;
    border-radius: 1rem;
    background: #fff;
}

.blog-empty h2 {
    font-size: 1.5rem;
}

.blog-empty p {
    color: #66778f;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 3rem;
}

.blog-pagination a {
    min-width: 2.5rem;
    padding: 0.55rem;
    color: #586981;
    text-align: center;
    text-decoration: none;
    border: 1px solid #e2e8f2;
    border-radius: 0.55rem;
    background: #fff;
}

.blog-pagination a.active {
    color: #fff;
    border-color: #0757c9;
    background: #0757c9;
}

.article-page {
    padding-top: clamp(7.8rem, 13vw, 9rem);
}

.article-container {
    max-width: 790px;
}

.article-header {
    margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.article-category {
    display: inline-flex;
    margin-bottom: 1.35rem;
    padding: 0.38rem 0.75rem;
    color: #176de5;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 999px;
    background: #edf4ff;
}

.article-header h1 {
    margin-bottom: 1.2rem;
    color: #101f39;
    font-size: clamp(2.1rem, 5vw, 3.55rem);
    line-height: 1.11;
}

.article-header p {
    margin-bottom: 1.7rem;
    color: #62738b;
    font-size: clamp(1rem, 2vw, 1.13rem);
    line-height: 1.7;
}

.article-byline {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    color: #7a8ba2;
    font-size: 0.88rem;
}

.article-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: 1.2rem;
}

.article-tags span {
    padding: 0.3rem 0.68rem;
    color: #53657d;
    font-size: 0.76rem;
    border-radius: 999px;
    background: #f1f5fa;
}

.article-feature-image {
    width: 100%;
    max-height: 520px;
    margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
    object-fit: cover;
    border-radius: 1.1rem;
}

.article-content {
    padding-bottom: clamp(3.2rem, 7vw, 5.3rem);
}

.article-content p {
    margin-bottom: 1.45rem;
    color: #35465e;
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 2.2rem 0 1rem;
    color: #142640;
    line-height: 1.25;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.45rem;
    padding-left: 1.35rem;
    color: #35465e;
    font-size: 1.03rem;
    line-height: 1.8;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.2rem;
    color: #263a56;
    border-left: 4px solid #2578ed;
    border-radius: 0.2rem 0.6rem 0.6rem 0.2rem;
    background: #f1f6ff;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.4rem 0;
    border-radius: 0.8rem;
}

.preview-banner {
    position: fixed;
    z-index: 1015;
    top: 6.7rem;
    left: 50%;
    padding: 0.55rem 1.05rem;
    color: #433500;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #f2db83;
    border-radius: 999px;
    background: #fff6d6;
    transform: translateX(-50%);
}

.related-articles {
    padding: clamp(3rem, 6vw, 4.6rem) 0;
    background: #f6f8fc;
}

.related-articles h2 {
    font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.related-card {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid #e4eaf3;
    border-radius: 0.85rem;
    background: #fff;
}

.related-card span {
    color: #2377ee;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.related-card h3 {
    margin: 0.62rem 0 0.8rem;
    font-size: 1.15rem;
}

.related-card h3 a {
    color: #12223d;
    text-decoration: none;
}

.related-card time {
    color: #718198;
    font-size: 0.8rem;
}

.blog-not-found {
    min-height: 70vh;
    padding: 11rem 0 4rem;
}

.blog-not-found p {
    margin: 1rem 0 2rem;
    color: #64758d;
}

@media (max-width: 767.98px) {
    .preview-banner {
        top: 5.25rem;
        width: calc(100% - 1.4rem);
        text-align: center;
    }

    .public-blog-card.is-feature {
        display: block;
    }

    .public-blog-card.is-feature .blog-cover {
        height: 220px;
        min-height: 0;
    }

    .blog-search-form {
        display: block;
    }

    .blog-search-form .btn {
        width: 100%;
        margin-top: 0.45rem;
    }

    .article-byline {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1100;
    padding: 0.7rem 1rem;
    border-radius: 0.65rem;
    color: #fff;
    background: #0757c9;
    transform: translateY(-150%);
    transition: transform 0.15s ease-in-out;
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(36, 119, 238, 0.55);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .mobile-nav-drawer .nav-link,
    .mobile-nav-drawer .dropdown-item,
    .mobile-nav-actions .btn {
        min-height: 44px;
    }

    .dashboard-content .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}

/* Centralized enterprise navigation */
.enterprise-header {
    --premium-text: #10213c;
    --premium-muted: #66748c;
    --premium-navy-soft: #0c1d36;
    z-index: 1040;
}

.app-master-header {
    padding: 0.55rem 0;
    background: #07162d;
}

.enterprise-navbar {
    width: min(1360px, calc(100% - 2rem));
    max-width: none;
}

.app-master-header .enterprise-navbar {
    background: rgba(12, 29, 54, 0.96);
}

.desktop-navbar-row {
    min-height: 54px;
    flex-wrap: nowrap;
}

.enterprise-links {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.05rem, 0.6vw, 0.4rem);
}

.enterprise-links .nav-link {
    white-space: nowrap;
    font-size: clamp(0.76rem, 0.88vw, 0.92rem);
    padding-left: clamp(0.4rem, 0.6vw, 0.72rem) !important;
    padding-right: clamp(0.4rem, 0.6vw, 0.72rem) !important;
}

.enterprise-links .nav-link.active {
    color: #fff;
}

.enterprise-links .nav-link.active::after {
    transform: scaleX(1);
}

.enterprise-submenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.enterprise-links .has-submenu:hover > .enterprise-submenu,
.enterprise-links .has-submenu:focus-within > .enterprise-submenu,
.enterprise-links .has-submenu.desktop-open > .enterprise-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.enterprise-links .has-submenu:not(.position-static) {
    position: relative;
}

.enterprise-links .mega-menu {
    left: 50%;
    width: min(1120px, calc(100vw - 3rem));
    display: block;
    margin-top: -1.1rem !important;
    padding: 1.55rem;
    transform: translateX(-50%) translateY(12px);
}

.enterprise-links .has-submenu:hover > .mega-menu,
.enterprise-links .has-submenu:focus-within > .mega-menu,
.enterprise-links .has-submenu.desktop-open > .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.enterprise-links .mega-link {
    padding: 0.58rem 0.6rem;
    color: #182a46;
    font-size: 0.9rem;
    font-weight: 500;
}

.enterprise-links .mega-caption {
    margin-bottom: 0.72rem;
    color: #2377ee;
    text-transform: uppercase;
}

.navigation-dropdown {
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 0;
    z-index: 10;
    width: 215px;
    padding: 0.48rem;
    border: 1px solid #e7edf7;
    border-radius: 0.78rem;
    box-shadow: 0 18px 45px rgba(8, 17, 32, 0.15);
    transform: translateY(10px);
}

.enterprise-links .has-submenu:hover > .navigation-dropdown,
.enterprise-links .has-submenu:focus-within > .navigation-dropdown,
.enterprise-links .has-submenu.desktop-open > .navigation-dropdown {
    transform: translateY(0);
}

.navigation-dropdown a {
    display: block;
    padding: 0.68rem 0.78rem;
    color: #1b2d49;
    border-radius: 0.5rem;
    text-decoration: none;
}

.navigation-dropdown a:hover,
.navigation-dropdown a:focus {
    color: #0757c9;
    background: #eef5ff;
}

.header-cta {
    white-space: nowrap;
    font-size: 0.88rem;
}

.profile-action {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #eaf3ff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.profile-action:hover,
.profile-action:focus {
    color: #fff;
    background: rgba(43, 123, 238, 0.34);
}

.profile-action .navigation-icon {
    width: 19px;
    height: 19px;
}

.profile-dropdown-menu {
    min-width: 215px;
    margin-top: 0.55rem !important;
    padding: 0.5rem;
    border: 1px solid #e1e8f3;
    border-radius: 0.82rem;
    box-shadow: 0 20px 48px rgba(7, 20, 43, 0.2);
}

.profile-role-label {
    display: block;
    padding: 0.38rem 0.72rem 0.55rem;
    color: #73839b;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.profile-dropdown-menu .dropdown-item {
    padding: 0.62rem 0.72rem;
    color: #1d304d;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.profile-dropdown-menu .dropdown-item:hover,
.profile-dropdown-menu .dropdown-item:focus {
    color: #0757c9;
    background: #eef5ff;
}

.profile-dropdown-menu .profile-logout {
    color: #b52f43;
}

.header-login {
    min-height: 42px;
    align-items: center;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

.demo-access-card {
    padding: 0.78rem 0.85rem;
    color: #49607d;
    border: 1px dashed #ccdcf3;
    border-radius: 0.68rem;
    background: #f5f9ff;
    font-size: 0.76rem;
}

.demo-access-card strong,
.demo-access-card small {
    display: block;
}

.demo-access-card strong {
    margin-bottom: 0.3rem;
    color: #0757c9;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.navigation-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    color: currentColor;
    opacity: 1;
}

.navigation-glyph {
    display: block;
    width: 100%;
    height: 100%;
}

.mobile-navbar-row {
    position: relative;
    min-height: 52px;
}

.mobile-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.06rem;
}

.mobile-menu-trigger {
    padding: 0.28rem;
}

.mobile-nav-drawer {
    color: #e9f1fd;
    border-right: 1px solid rgba(130, 177, 245, 0.15);
    box-shadow: 28px 0 60px rgba(4, 13, 28, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.offcanvas-backdrop.show {
    opacity: 0.58;
    backdrop-filter: blur(3px);
}

.mobile-drawer-navigation .accordion-item {
    color: inherit;
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
}

.mobile-navigation-link,
.mobile-drawer-navigation .accordion-button,
.mobile-workspace-link {
    display: flex;
    align-items: center;
    gap: 0.78rem;
    width: 100%;
    min-height: 48px;
    padding: 0.74rem 0.1rem;
    color: #dfebfc;
    text-decoration: none;
    font-size: 0.94rem;
    background: transparent;
    box-shadow: none;
}

.mobile-navigation-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-navigation .accordion-button::after {
    filter: brightness(0) invert(1);
    opacity: 0.72;
}

.mobile-drawer-navigation .accordion-button:not(.collapsed),
.mobile-navigation-link.active,
.mobile-workspace-link.active {
    color: #70adff;
    background: transparent;
}

.mobile-drawer-navigation .accordion-body {
    padding: 0.1rem 0 0.68rem 1.92rem;
}

.mobile-child-link {
    display: block;
    padding: 0.54rem 0.25rem;
    color: #d1deef;
    font-size: 0.89rem;
    text-decoration: none;
}

.mobile-child-link:hover,
.mobile-child-link:focus {
    color: #65a5ff;
}

.mobile-mega-caption {
    display: block;
    margin: 0.72rem 0 0.18rem;
    color: #6484af;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.workspace-caption {
    margin-top: 1.7rem;
    margin-bottom: 0.35rem;
}

.mobile-workspace-navigation {
    display: grid;
    gap: 0.08rem;
}

.mobile-drawer-cta {
    padding: 1.6rem 0 0.65rem;
}

.mobile-footer-dock {
    position: fixed;
    right: 1rem;
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    left: 1rem;
    z-index: 1035;
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 68px;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(202, 218, 242, 0.72);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 42px rgba(10, 30, 61, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-dock-link {
    display: grid;
    justify-items: center;
    gap: 0.26rem;
    min-width: 70px;
    padding: 0.38rem 0.45rem;
    color: #6d7f98;
    font-size: 0.69rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-dock-link.active {
    color: #0757c9;
}

.mobile-dock-link.is-featured {
    transform: translateY(-17px);
    color: #0757c9;
}

.mobile-dock-link.is-featured .navigation-icon {
    width: 48px;
    height: 48px;
    padding: 1rem;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(140deg, #358cf7, #0757c9);
    box-shadow: 0 12px 26px rgba(7, 87, 201, 0.33);
}

.mobile-dock-link.is-featured .navigation-glyph {
    width: 19px;
    height: 19px;
}

.dashboard-sidebar-inner {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 78px);
    padding: 1.2rem 0.85rem;
}

.sidebar-section-label {
    margin: 0.25rem 0.7rem 0.85rem;
    color: #72839b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.suite-sidebar .dashboard-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.sidebar-utility-section {
    display: grid;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.suite-sidebar .sidebar-utility-section {
    flex: 0 0 auto;
}

.sidebar-utility-form {
    margin: 0;
}

.sidebar-utility-link,
.sidebar-utility-form .sidebar-utility-link {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.7rem;
    color: inherit;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-utility-link:hover,
.sidebar-utility-link:focus-visible {
    text-decoration: none;
}

.sidebar-logout-link {
    color: #fda4af !important;
}

.sidebar-utility-link .navigation-icon {
    transform: scale(0.9);
    transform-origin: center;
}

.sidebar-profile-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    padding: 0.82rem;
    border: 1px solid #e1e9f5;
    border-radius: 0.82rem;
    background: #f5f9ff;
}

.sidebar-avatar {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    background: linear-gradient(135deg, #267aea, #0757c9);
}

.sidebar-profile-card strong,
.sidebar-profile-card small {
    display: block;
}

.sidebar-profile-card strong {
    color: #132542;
    font-size: 0.87rem;
}

.sidebar-profile-card small {
    color: #62758e;
    font-size: 0.74rem;
}

.status-inactive,
.status-blocked {
    color: #c53249;
    background: #ffedf0;
}

.admin-sidebar-badge {
    align-self: flex-start;
    margin: 0.25rem 0.7rem 1rem;
    padding: 0.3rem 0.72rem;
    color: #88b9ff;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border: 1px solid rgba(87, 150, 242, 0.32);
    border-radius: 999px;
    background: rgba(28, 107, 226, 0.16);
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    .enterprise-navbar {
        width: calc(100% - 1rem);
        margin: 0 auto;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .premium-brand span {
        display: none;
    }

    .desktop-navbar-row {
        flex-wrap: wrap;
    }

    .enterprise-links {
        order: 3;
        flex: 0 0 100%;
        margin-top: 0.35rem;
        justify-content: space-between !important;
    }

    .enterprise-links .nav-item {
        flex: 1 1 0;
    }

    .enterprise-links .nav-link {
        justify-content: center;
        min-height: 48px;
        white-space: normal;
        text-align: center;
        line-height: 1.18;
    }

    .header-actions {
        margin-left: auto !important;
    }

    .header-cta {
        padding-left: 0.72rem;
        padding-right: 0.72rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 84px;
    }

    .app-master-header {
        padding: 0.45rem 0;
    }

    .enterprise-navbar {
        width: calc(100% - 1.1rem);
        margin: 0 auto;
        padding: 0.42rem 0.56rem;
        border-radius: 1rem;
    }

    .dashboard-layout {
        display: block;
    }

    .member-dashboard-page .dashboard-sidebar,
    .admin-dashboard-page .dashboard-sidebar {
        display: none !important;
        position: static !important;
    }

    .member-dashboard-page .dashboard-content,
    .admin-dashboard-page .dashboard-content {
        padding-bottom: 1.5rem !important;
    }
}

/* Dashboard suite cascade guard: keep legacy module styles from overriding the premium shell. */
.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link,
.member-dashboard-page .suite-sidebar .sidebar-utility-link,
.admin-dashboard-page .suite-sidebar .sidebar-utility-link {
    color: #aeb8d4 !important;
    border-radius: 13px;
}

.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active,
.member-dashboard-page .suite-sidebar .sidebar-utility-link:hover,
.member-dashboard-page .suite-sidebar .sidebar-utility-link:focus-visible,
.admin-dashboard-page .suite-sidebar .sidebar-utility-link:hover,
.admin-dashboard-page .suite-sidebar .sidebar-utility-link:focus-visible {
    color: #fff !important;
    background: linear-gradient(100deg, rgba(108, 70, 247, 0.28), rgba(108, 70, 247, 0.08));
}

.member-dashboard-page .dashboard-panel,
.admin-dashboard-page .admin-panel {
    border-color: var(--suite-border);
    border-radius: var(--suite-radius);
    box-shadow: var(--suite-shadow);
}

@media (max-width: 991.98px) {
    .member-dashboard-page .dashboard-content,
    .admin-dashboard-page .dashboard-content {
        padding: 0 1rem 5.8rem !important;
    }
}

/* Member portal shell repair: supersede the original blue/white dashboard skin. */
.member-dashboard-page .dashboard-layout {
    min-height: 100vh;
}

.member-dashboard-page .suite-sidebar,
.admin-dashboard-page .suite-sidebar {
    flex: 0 0 276px;
    min-width: 276px;
    max-width: 276px;
    color: #aeb7d3;
    border-right: 0 !important;
    background: linear-gradient(178deg, #101735, #0c122a 74%) !important;
    transition: flex-basis 0.24s ease, min-width 0.24s ease, max-width 0.24s ease;
}

.member-dashboard-page.suite-sidebar-collapsed .suite-sidebar,
.admin-dashboard-page.suite-sidebar-collapsed .suite-sidebar {
    flex: 0 0 82px;
    min-width: 82px;
    max-width: 82px;
}

.member-dashboard-page .suite-sidebar .sidebar-section-label,
.admin-dashboard-page .suite-sidebar .sidebar-section-label {
    color: #687598;
}

.member-dashboard-page .suite-sidebar .navigation-icon,
.admin-dashboard-page .suite-sidebar .navigation-icon {
    border-color: rgba(185, 195, 224, 0.3);
}

.member-dashboard-page .suite-sidebar .sidebar-profile-card,
.admin-dashboard-page .suite-sidebar .sidebar-profile-card {
    border-color: rgba(140, 150, 185, 0.18);
    background: rgba(255, 255, 255, 0.055);
}

.member-dashboard-page .dashboard-content,
.admin-dashboard-page .dashboard-content {
    max-width: none;
    border: 0;
}

.member-dashboard-page .suite-metric,
.admin-dashboard-page .suite-metric {
    display: block;
}

.member-dashboard-page .dashboard-page-heading {
    align-items: flex-start;
    justify-content: flex-start;
}

.member-dashboard-page .dashboard-page-heading .dashboard-label {
    margin-bottom: 0.45rem;
}

.member-dashboard-page .dashboard-page-heading p {
    max-width: 650px;
}

.portal-module-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 330px;
}

.portal-side-card {
    padding: 1.2rem;
}

.portal-side-card h3 {
    margin: 0.45rem 0 0.55rem;
    color: var(--suite-text);
    font-size: 1.05rem;
}

.portal-side-card p {
    margin: 0;
    color: var(--suite-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.portal-mini-metrics {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.portal-mini-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.68rem 0.74rem;
    border: 1px solid #edf0f7;
    border-radius: 13px;
    background: #fafbfe;
}

.portal-mini-metric span {
    color: var(--suite-muted);
    font-size: 0.77rem;
}

.portal-mini-metric strong {
    color: var(--suite-text);
    font-size: 0.84rem;
}

.portal-empty {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-height: 164px;
    padding: 1.3rem;
    border: 1px dashed #e1def5;
    border-radius: 18px;
    background: linear-gradient(135deg, #fafaff, #f6f7ff);
}

.portal-empty-icon {
    display: inline-grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    place-items: center;
    color: #6945f6;
    font-weight: 700;
    border-radius: 15px;
    background: #eeebff;
}

.portal-empty strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--suite-text);
}

.portal-empty p {
    margin: 0 0 0.85rem;
    color: var(--suite-muted);
    font-size: 0.85rem;
}

.portal-stat-row {
    margin-bottom: 1rem;
}

.portal-stat-row .suite-metric {
    min-height: 105px;
}

.portal-ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eef0f7;
}

.portal-ticket:last-child {
    border-bottom: 0;
}

.report-data-table {
    min-width: 780px;
}

.report-detail-grid {
    display: grid;
    gap: 0.75rem;
}

.report-detail-card {
    display: grid;
    gap: 0.32rem;
    padding: 0.9rem 1rem;
    border: 1px solid #ebeaf5;
    border-radius: 15px;
    background: #fafbff;
}

.report-detail-card strong {
    color: var(--suite-text);
    font-size: 0.91rem;
}

.report-detail-card small,
.report-detail-card span {
    color: var(--suite-muted);
    font-size: 0.8rem;
}

@media (max-width: 1199.98px) {
    .portal-module-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .portal-empty {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Premium dashboard system: shared visual layer for member, admin and super admin portals. */
.member-dashboard-page,
.admin-dashboard-page {
    --suite-bg: #f5f7fc;
    --suite-card: rgba(255, 255, 255, 0.94);
    --suite-text: #101a3b;
    --suite-muted: #71809f;
    --suite-border: rgba(131, 145, 179, 0.18);
    --suite-primary: #6548ed;
    --suite-primary-deep: #35228d;
    --suite-shadow: 0 16px 42px rgba(51, 63, 106, 0.08);
    --suite-shadow-hover: 0 22px 52px rgba(61, 66, 130, 0.15);
    background:
        radial-gradient(circle at 88% 6%, rgba(116, 95, 246, 0.07), transparent 22rem),
        linear-gradient(135deg, #f8faff 0%, #f4f6fb 48%, #f7f8fd 100%);
    color: var(--suite-text);
}

.member-dashboard-page .dashboard-content,
.admin-dashboard-page .dashboard-content {
    padding: 0 !important;
    background: transparent;
}

.member-dashboard-page .suite-dashboard,
.admin-dashboard-page .suite-dashboard,
.member-dashboard-page .member-dashboard,
.admin-dashboard-page .admin-console {
    max-width: 1800px;
    padding: 30px 32px 40px;
    margin-inline: auto;
}

.member-dashboard-page .suite-command-bar,
.admin-dashboard-page .suite-command-bar {
    z-index: 1025;
    min-height: 82px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--suite-border);
    background: rgba(251, 252, 255, 0.84);
    box-shadow: 0 8px 28px rgba(45, 55, 94, 0.035);
    backdrop-filter: blur(20px);
}

.suite-command-leading {
    min-width: 268px;
}

.suite-command-leading small,
.suite-panel-header small,
.suite-title-row small,
.dashboard-label {
    color: #6747ef;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.suite-command-leading strong {
    color: var(--suite-text);
    font-size: 1rem;
    line-height: 1.2;
}

.suite-search {
    max-width: 580px;
    min-height: 48px;
    border: 1px solid var(--suite-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(69, 78, 120, 0.035);
}

.suite-search:focus-within {
    border-color: rgba(101, 72, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(101, 72, 237, 0.1);
}

.suite-search input {
    color: var(--suite-text);
    font-size: 0.92rem;
}

.suite-search input::placeholder {
    color: #9ca7be;
}

.suite-filter,
.suite-icon-action,
.suite-export,
.suite-sidebar-toggle,
.suite-avatar-button {
    min-height: 46px;
    border: 1px solid var(--suite-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    transition: 180ms ease;
}

.suite-filter:hover,
.suite-icon-action:hover,
.suite-export:hover,
.suite-sidebar-toggle:hover,
.suite-avatar-button:hover {
    border-color: rgba(101, 72, 237, 0.36);
    background: #fff;
    box-shadow: 0 8px 20px rgba(72, 63, 156, 0.1);
    transform: translateY(-1px);
}

.member-dashboard-page .suite-sidebar,
.admin-dashboard-page .suite-sidebar {
    background:
        radial-gradient(circle at 42% 0%, rgba(101, 72, 237, 0.22), transparent 18rem),
        linear-gradient(180deg, #10183b 0%, #101736 52%, #0d1430 100%);
    box-shadow: 10px 0 28px rgba(30, 35, 70, 0.08);
}

.suite-sidebar .dashboard-sidebar-inner {
    padding: 21px 18px 18px;
}

.suite-sidebar-brand {
    margin-bottom: 24px;
}

.suite-sidebar-brand span {
    color: #fff;
    font-size: 1.04rem;
    font-weight: 800;
}

.suite-sidebar .sidebar-section-label {
    margin: 18px 10px 7px;
    color: rgba(184, 195, 232, 0.57);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link {
    min-height: 48px;
    padding: 7px 10px;
    margin-bottom: 4px;
    color: #b8c2dd;
    border-radius: 13px;
    font-size: 0.87rem;
    font-weight: 600;
}

.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active {
    color: #fff;
    background: linear-gradient(105deg, rgba(106, 74, 238, 0.52), rgba(107, 82, 219, 0.16));
    box-shadow: 0 8px 18px rgba(14, 9, 62, 0.2);
}

.suite-sidebar .navigation-icon {
    width: 35px;
    height: 35px;
    color: #aebbe0;
    border-color: rgba(190, 201, 238, 0.22);
    border-radius: 11px;
}

.suite-sidebar .nav-link.active .navigation-icon,
.suite-sidebar .nav-link:hover .navigation-icon {
    color: #fff;
    border-color: rgba(168, 144, 255, 0.7);
    background: rgba(137, 105, 255, 0.22);
    box-shadow: 0 0 20px rgba(132, 92, 255, 0.2);
}

.suite-sidebar .sidebar-profile-card {
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(186, 197, 235, 0.16);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.suite-sidebar .sidebar-avatar {
    background: linear-gradient(135deg, #7652ff, #5535df);
    box-shadow: 0 8px 18px rgba(97, 67, 228, 0.34);
}

.suite-title-row,
.dashboard-page-heading {
    align-items: end;
    gap: 16px;
    margin-bottom: 24px;
}

.suite-title-row h1,
.dashboard-page-heading h1 {
    margin-top: 5px;
    color: var(--suite-text);
    font-size: clamp(1.72rem, 2.2vw, 2.22rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.suite-title-row p,
.dashboard-page-heading p {
    max-width: 760px;
    margin-top: 7px;
    color: var(--suite-muted);
    font-size: 0.94rem;
}

.suite-card,
.dashboard-panel,
.admin-card,
.super-admin-card {
    border: 1px solid var(--suite-border);
    border-radius: 20px;
    background: var(--suite-card);
    box-shadow: var(--suite-shadow);
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.suite-card,
.dashboard-panel {
    padding: 20px;
}

.suite-card:hover,
.dashboard-panel:hover,
.admin-card:hover,
.super-admin-card:hover {
    border-color: rgba(101, 72, 237, 0.23);
    box-shadow: var(--suite-shadow-hover);
    transform: translateY(-2px);
}

.suite-metric {
    min-height: 136px;
    padding: 18px;
    border: 1px solid var(--suite-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(54, 63, 105, 0.065);
}

.suite-metric.is-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #492bbb 0%, #6842e8 55%, #8064f8 100%);
    box-shadow: 0 16px 30px rgba(87, 57, 204, 0.22);
}

.suite-metric small {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.suite-metric strong {
    margin-block: 12px 5px;
    color: var(--suite-text);
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.suite-metric span {
    color: var(--suite-muted);
    font-size: 0.78rem;
}

.suite-panel-header {
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(136, 148, 181, 0.13);
}

.suite-panel-header h2 {
    margin-top: 4px;
    color: var(--suite-text);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.suite-list-item {
    padding: 12px 4px;
    border-color: rgba(134, 147, 179, 0.13);
}

.suite-list-item:hover {
    background: rgba(101, 72, 237, 0.035);
}

.table-responsive {
    border-radius: 16px;
}

.suite-data-table,
.admin-table,
.dashboard-table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
    color: var(--suite-text);
}

.suite-data-table thead th,
.admin-table thead th,
.dashboard-table thead th {
    padding: 13px 15px;
    color: #7886a3;
    border-bottom-color: rgba(132, 145, 177, 0.16);
    background: #f8f9fd;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.suite-data-table tbody td,
.admin-table tbody td,
.dashboard-table tbody td {
    padding: 15px;
    color: #263453;
    border-bottom-color: rgba(132, 145, 177, 0.11);
    font-size: 0.85rem;
    vertical-align: middle;
}

.suite-data-table tbody tr,
.admin-table tbody tr,
.dashboard-table tbody tr {
    transition: background-color 150ms ease;
}

.suite-data-table tbody tr:hover,
.admin-table tbody tr:hover,
.dashboard-table tbody tr:hover {
    background: rgba(101, 72, 237, 0.035);
}

.status-pill,
.admin-tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-transform: capitalize;
}

.status-ready,
.status-completed,
.status-approved,
.status-active,
.status-confirmed {
    color: #087854;
    border-color: rgba(24, 169, 119, 0.16);
    background: #e8f8f2;
}

.status-processing,
.status-pending,
.status-requested {
    color: #a06505;
    border-color: rgba(229, 162, 49, 0.18);
    background: #fff6df;
}

.status-failed,
.status-rejected,
.status-blocked,
.status-declined {
    color: #c43c58;
    border-color: rgba(211, 69, 98, 0.16);
    background: #fff0f2;
}

.member-dashboard-page .btn,
.admin-dashboard-page .btn {
    min-height: 42px;
    padding: 8px 15px;
    border-radius: 11px;
    font-size: 0.84rem;
    font-weight: 700;
    transition: 180ms ease;
}

.member-dashboard-page .btn-primary,
.admin-dashboard-page .btn-primary {
    border-color: #6042e2;
    background: linear-gradient(135deg, #6849ed, #5232d2);
    box-shadow: 0 8px 17px rgba(92, 60, 213, 0.18);
}

.member-dashboard-page .btn:hover,
.admin-dashboard-page .btn:hover {
    box-shadow: 0 10px 22px rgba(76, 63, 151, 0.15);
    transform: translateY(-1px);
}

.member-dashboard-page .form-label,
.admin-dashboard-page .form-label,
.dashboard-modal .form-label {
    margin-bottom: 6px;
    color: #53617d;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.member-dashboard-page .form-control,
.member-dashboard-page .form-select,
.admin-dashboard-page .form-control,
.admin-dashboard-page .form-select,
.dashboard-modal .form-control,
.dashboard-modal .form-select {
    min-height: 46px;
    border: 1px solid rgba(126, 141, 175, 0.25);
    border-radius: 11px;
    background-color: #fbfcff;
    color: var(--suite-text);
    font-size: 0.9rem;
    transition: 160ms ease;
}

.member-dashboard-page .form-control:focus,
.member-dashboard-page .form-select:focus,
.admin-dashboard-page .form-control:focus,
.admin-dashboard-page .form-select:focus,
.dashboard-modal .form-control:focus,
.dashboard-modal .form-select:focus {
    border-color: rgba(101, 72, 237, 0.58);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(101, 72, 237, 0.1);
}

.member-dashboard-page textarea.form-control,
.admin-dashboard-page textarea.form-control,
.dashboard-modal textarea.form-control {
    min-height: 108px;
}

.dashboard-modal {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(29, 37, 77, 0.18);
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-form-card {
    padding: 20px;
    border: 1px solid var(--suite-border);
    border-radius: 16px;
    background: rgba(250, 251, 255, 0.8);
}

.dashboard-form-card h2 {
    margin-bottom: 4px;
    color: var(--suite-text);
    font-size: 1rem;
    font-weight: 800;
}

.dashboard-form-card p {
    margin-bottom: 16px;
    color: var(--suite-muted);
    font-size: 0.82rem;
}

.dashboard-focused-panel {
    max-width: 980px;
}

input[type="date"],
input[type="datetime-local"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: 150ms ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(101, 72, 237, 0.1);
    opacity: 1;
}

[data-suite-reveal] {
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 360ms ease, transform 360ms ease;
}

[data-suite-reveal].is-ready {
    transform: translateY(0);
    opacity: 1;
}

.member-dashboard-page .dropdown-menu,
.admin-dashboard-page .dropdown-menu {
    padding: 8px;
    border: 1px solid var(--suite-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(42, 51, 92, 0.14);
    backdrop-filter: blur(18px);
    animation: suite-dropdown-in 160ms ease both;
}

.member-dashboard-page .dropdown-item,
.admin-dashboard-page .dropdown-item {
    min-height: 38px;
    padding: 9px 11px;
    color: #40506f;
    border-radius: 9px;
    font-size: 0.83rem;
    font-weight: 600;
}

.member-dashboard-page .dropdown-item:hover,
.member-dashboard-page .dropdown-item:focus,
.admin-dashboard-page .dropdown-item:hover,
.admin-dashboard-page .dropdown-item:focus {
    color: #5336d4;
    background: rgba(101, 72, 237, 0.075);
}

.suite-data-table thead,
.admin-table thead,
.dashboard-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.suite-empty,
.portal-empty {
    border-color: rgba(101, 72, 237, 0.18);
    background: linear-gradient(135deg, rgba(251, 251, 255, 0.94), rgba(245, 247, 255, 0.9));
}

.suite-skeleton {
    position: relative;
    overflow: hidden;
    min-height: 14px;
    border-radius: 999px;
    background: #edf0f8;
}

.suite-skeleton::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    content: "";
    transform: translateX(-100%);
    animation: suite-skeleton-loading 1.25s ease-in-out infinite;
}

.member-dashboard-page :focus-visible,
.admin-dashboard-page :focus-visible {
    outline: 3px solid rgba(101, 72, 237, 0.34);
    outline-offset: 2px;
}

@keyframes suite-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes suite-skeleton-loading {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 1199.98px) {
    .suite-command-leading {
        min-width: 228px;
    }

    .member-dashboard-page .suite-dashboard,
    .admin-dashboard-page .suite-dashboard,
    .member-dashboard-page .member-dashboard,
    .admin-dashboard-page .admin-console {
        padding: 24px;
    }
}

@media (max-width: 991.98px) {
    .member-dashboard-page .suite-command-bar,
    .admin-dashboard-page .suite-command-bar {
        min-height: 72px;
        padding: 11px 16px;
    }

    .suite-command-leading {
        min-width: auto;
    }

    .member-dashboard-page .suite-dashboard,
    .admin-dashboard-page .suite-dashboard,
    .member-dashboard-page .member-dashboard,
    .admin-dashboard-page .admin-console {
        padding: 20px 16px 32px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-form-grid {
        grid-template-columns: 1fr;
    }

    .suite-title-row,
    .dashboard-page-heading {
        align-items: start;
        flex-direction: column;
    }

    .suite-card,
    .dashboard-panel {
        padding: 16px;
        border-radius: 17px;
    }

    .suite-metric {
        min-height: 118px;
        padding: 15px;
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .suite-command-leading div {
        display: none;
    }

    .suite-command-actions {
        gap: 6px;
    }

    .suite-icon-action,
    .suite-avatar-button,
    .suite-sidebar-toggle {
        min-height: 42px;
    }

    .suite-title-row h1,
    .dashboard-page-heading h1 {
        font-size: 1.62rem;
    }

    .member-dashboard-page .suite-dashboard,
    .admin-dashboard-page .suite-dashboard,
    .member-dashboard-page .member-dashboard,
    .admin-dashboard-page .admin-console {
        padding-inline: 12px;
    }
}

/* Dashboard shell repair: single-scroll light SaaS layout inspired by the supplied reference. */
.member-dashboard-page,
.admin-dashboard-page {
    overflow-x: hidden;
    overflow-y: auto;
    background: #f1f2f5;
}

.member-dashboard-page .dashboard-layout,
.admin-dashboard-page .dashboard-layout {
    align-items: stretch;
    min-height: 100vh;
    background: #f7f8fb;
}

.member-dashboard-page .suite-sidebar,
.admin-dashboard-page .suite-sidebar {
    align-self: stretch;
    color: #667085;
    border-right: 1px solid #eaecf0 !important;
    background: #fbfbfc !important;
    box-shadow: none;
}

.suite-sidebar .dashboard-sidebar-inner {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 100vh;
    padding: 18px 14px 16px;
    overflow: visible;
}

.suite-sidebar-brand {
    gap: 9px;
    margin: 0 5px 22px;
}

.suite-sidebar-brand img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 5px 10px rgba(83, 63, 213, 0.16));
}

.suite-sidebar-brand span {
    color: #4d35c9;
    font-size: 0.98rem;
    font-weight: 800;
}

.suite-sidebar .sidebar-section-label {
    margin: 17px 8px 6px;
    color: #98a0b2;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.suite-sidebar .admin-sidebar-badge {
    margin-inline: 6px;
    color: #5b43d1;
    border-color: rgba(101, 72, 237, 0.2);
    background: #f0edff;
}

.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link {
    min-height: 41px;
    gap: 8px;
    padding: 5px 7px;
    margin-bottom: 2px;
    color: #667085 !important;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 650;
}

.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.member-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active {
    color: #4d35c9 !important;
    background: #f0efff;
    box-shadow: none;
}

.suite-sidebar .dashboard-nav .nav-link.active::before {
    top: 8px;
    bottom: 8px;
    left: -14px;
    width: 3px;
    background: #6448ee;
    box-shadow: none;
}

.suite-sidebar .navigation-icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    color: #7b8495;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.suite-sidebar .navigation-glyph {
    width: 16px;
    height: 16px;
}

.suite-sidebar .nav-link.active .navigation-icon,
.suite-sidebar .nav-link:hover .navigation-icon {
    color: #5c42df;
    border: 0;
    background: #e6e2ff;
    box-shadow: none;
}

.suite-sidebar .sidebar-profile-card {
    gap: 8px;
    padding: 9px;
    color: #30384d;
    border: 1px solid #eaecf2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(34, 44, 72, 0.035);
}

.suite-sidebar .sidebar-profile-card strong {
    color: #30384d;
    font-size: 0.76rem;
}

.suite-sidebar .sidebar-profile-card small {
    color: #8a94a7;
    font-size: 0.66rem;
}

.suite-sidebar .sidebar-avatar {
    width: 33px;
    height: 33px;
    color: #fff;
    background: linear-gradient(135deg, #7154ee, #4d34c8);
    box-shadow: none;
}

.member-dashboard-page .dashboard-content,
.admin-dashboard-page .dashboard-content {
    min-height: 100vh;
    overflow: visible;
    background: #fff;
}

.member-dashboard-page .suite-command-bar,
.admin-dashboard-page .suite-command-bar {
    min-height: 68px;
    margin: 0;
    padding: 10px 22px;
    border-bottom: 1px solid #eef0f4;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.suite-command-leading {
    min-width: 218px;
}

.suite-command-leading small {
    color: #98a0b2;
    font-size: 0.57rem;
    letter-spacing: 0.13em;
}

.suite-command-leading strong {
    color: #252b3d;
    font-size: 0.88rem;
}

.suite-search {
    max-width: 470px;
    min-height: 40px;
    border-color: #e9ebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.suite-search:focus-within {
    border-color: rgba(101, 72, 237, 0.42);
    box-shadow: 0 0 0 3px rgba(101, 72, 237, 0.08);
}

.suite-filter,
.suite-icon-action,
.suite-export,
.suite-sidebar-toggle,
.suite-avatar-button {
    min-height: 40px;
    border-color: #e9ebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.suite-filter:hover,
.suite-icon-action:hover,
.suite-export:hover,
.suite-sidebar-toggle:hover,
.suite-avatar-button:hover {
    border-color: #d9d3fb;
    background: #faf9ff;
    box-shadow: none;
    transform: none;
}

.member-dashboard-page .suite-dashboard,
.admin-dashboard-page .suite-dashboard,
.member-dashboard-page .member-dashboard,
.admin-dashboard-page .admin-console {
    max-width: 1720px;
    padding: 24px 24px 34px;
}

.suite-title-row,
.dashboard-page-heading {
    margin-bottom: 18px;
}

.suite-title-row h1,
.dashboard-page-heading h1 {
    margin-top: 3px;
    color: #1f2433;
    font-size: clamp(1.48rem, 1.8vw, 1.9rem);
    letter-spacing: -0.04em;
}

.suite-title-row p,
.dashboard-page-heading p {
    margin-top: 4px;
    color: #8790a3;
    font-size: 0.84rem;
}

.suite-card,
.dashboard-panel,
.admin-card,
.super-admin-card {
    border-color: #eceef3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(24, 32, 56, 0.035);
    backdrop-filter: none;
}

.suite-card,
.dashboard-panel {
    padding: 16px;
}

.suite-card:hover,
.dashboard-panel:hover,
.admin-card:hover,
.super-admin-card:hover {
    border-color: #e4e0fa;
    box-shadow: 0 8px 20px rgba(46, 49, 86, 0.07);
    transform: translateY(-1px);
}

.suite-metric {
    min-height: 110px;
    padding: 14px;
    border-color: #eceef3;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(24, 32, 56, 0.03);
}

.suite-metric.is-primary {
    background: linear-gradient(135deg, #5536db, #7457f2);
    box-shadow: 0 9px 18px rgba(83, 54, 205, 0.16);
}

.suite-metric small {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
}

.suite-metric strong {
    margin-block: 9px 3px;
    font-size: clamp(1.38rem, 1.7vw, 1.82rem);
}

.suite-metric span {
    font-size: 0.71rem;
}

.suite-panel-header {
    padding-bottom: 11px;
    margin-bottom: 11px;
}

.suite-panel-header h2 {
    font-size: 0.98rem;
}

.suite-data-table thead th,
.admin-table thead th,
.dashboard-table thead th {
    padding: 11px 13px;
    background: #fbfbfc;
}

.suite-data-table tbody td,
.admin-table tbody td,
.dashboard-table tbody td {
    padding: 12px 13px;
    font-size: 0.79rem;
}

.member-dashboard-page .btn,
.admin-dashboard-page .btn {
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 0.78rem;
}

.member-dashboard-page .btn-primary,
.admin-dashboard-page .btn-primary {
    border-color: #6044df;
    background: #6044df;
    box-shadow: none;
}

.member-dashboard-page .btn:hover,
.admin-dashboard-page .btn:hover {
    box-shadow: none;
    transform: none;
}

@media (min-width: 992px) {
    .member-dashboard-page .suite-command-bar,
    .admin-dashboard-page .suite-command-bar {
        top: 0;
    }
}

@media (max-width: 991.98px) {
    .member-dashboard-page .dashboard-content,
    .admin-dashboard-page .dashboard-content {
        min-height: auto;
    }

    .member-dashboard-page .suite-command-bar,
    .admin-dashboard-page .suite-command-bar {
        margin: 0;
        padding-inline: 14px;
    }

    .member-dashboard-page .suite-dashboard,
    .admin-dashboard-page .suite-dashboard,
    .member-dashboard-page .member-dashboard,
    .admin-dashboard-page .admin-console {
        padding: 18px 14px 30px;
    }
}

/* Unified dashboard headings: reference-inspired lavender workspace header. */
.dashboard-page-heading,
.admin-heading,
.suite-title-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 112px;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid rgba(112, 86, 221, 0.1);
    border-radius: 14px;
    background:
        radial-gradient(circle at 92% 14%, rgba(122, 91, 241, 0.14), transparent 11rem),
        linear-gradient(115deg, #e8e3ff 0%, #f1efff 54%, #faf9ff 100%);
    box-shadow: 0 6px 18px rgba(89, 72, 163, 0.055);
}

.dashboard-page-heading::after,
.admin-heading::after,
.suite-title-row::after {
    position: absolute;
    right: 34px;
    bottom: -55px;
    width: 138px;
    height: 138px;
    border: 18px solid rgba(112, 83, 230, 0.065);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.dashboard-page-heading > *,
.admin-heading > *,
.suite-title-row > * {
    position: relative;
    z-index: 1;
}

.dashboard-heading-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 5px;
}

.dashboard-heading-path {
    color: #8b81ad;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.dashboard-heading-status {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    padding: 7px 10px;
    color: #5b45bb;
    border: 1px solid rgba(104, 74, 224, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    font-size: 0.69rem;
    font-weight: 800;
}

.dashboard-heading-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2caf82;
    box-shadow: 0 0 0 4px rgba(44, 175, 130, 0.12);
}

.dashboard-page-heading .dashboard-label,
.admin-heading .admin-eyebrow,
.suite-title-row small {
    color: #6549df;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-page-heading h1,
.admin-heading h1,
.suite-title-row h1 {
    margin: 0;
    color: #22253a;
    font-size: clamp(1.5rem, 1.8vw, 1.94rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.dashboard-page-heading p,
.admin-heading p,
.suite-title-row p {
    max-width: 780px;
    margin: 6px 0 0;
    color: #7b8298;
    font-size: 0.82rem;
    line-height: 1.55;
}

.dashboard-page-heading + .portal-stat-row,
.admin-heading + .row,
.suite-title-row + .row {
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .dashboard-page-heading,
    .admin-heading,
    .suite-title-row {
        align-items: flex-start;
        min-height: auto;
        padding: 15px;
        border-radius: 12px;
    }

    .dashboard-heading-status {
        padding: 6px 9px;
    }

    .dashboard-heading-path {
        flex-basis: 100%;
    }
}

/* Figma style-guide consolidation: one application type scale and dashboard visual language. */
:root {
    --rc-font-ui: "DM Sans", "Segoe UI", Arial, sans-serif;
    --rc-font-brand: "Comfortaa", "Segoe UI", Arial, sans-serif;
    --rc-guide-primary-900: #1f327e;
    --rc-guide-primary-800: #2f4cbc;
    --rc-guide-primary-700: #3f66fb;
    --rc-guide-primary-600: #9fb2fd;
    --rc-guide-primary-500: #cfd8fe;
    --rc-guide-secondary: #1a202c;
    --rc-guide-neutral-900: #333333;
    --rc-guide-neutral-700: #8c8c8c;
    --rc-guide-neutral-600: #595959;
    --rc-guide-neutral-100: #f5f5f5;
    --rc-guide-success-800: #2d912d;
    --rc-guide-success-500: #ceefce;
    --rc-guide-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --rc-guide-shadow-md: 0 8px 20px rgba(31, 50, 126, 0.07);
}

body,
.landing-page,
.member-dashboard-page,
.admin-dashboard-page {
    font-family: var(--rc-font-ui);
}

button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.dropdown-menu {
    font-family: inherit;
}

.premium-brand span,
.suite-sidebar-brand span {
    font-family: var(--rc-font-brand);
}

.member-dashboard-page,
.admin-dashboard-page {
    color: var(--rc-guide-secondary);
    background: #f7f9fd;
}

.member-dashboard-page .suite-command-bar,
.admin-dashboard-page .suite-command-bar {
    border-color: #e9edf5;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--rc-guide-shadow-xs);
}

.member-dashboard-page .suite-sidebar,
.admin-dashboard-page .suite-sidebar {
    border-color: #e9edf5;
    background: #ffffff;
    box-shadow: 6px 0 20px rgba(31, 50, 126, 0.035);
}

.member-dashboard-page .suite-sidebar a,
.admin-dashboard-page .suite-sidebar a {
    color: #667085;
    font-size: 0.82rem;
    font-weight: 600;
}

.member-dashboard-page .suite-sidebar a:hover,
.admin-dashboard-page .suite-sidebar a:hover {
    color: var(--rc-guide-primary-800);
    background: #f5f7ff;
}

.member-dashboard-page .suite-sidebar a.is-active,
.admin-dashboard-page .suite-sidebar a.is-active {
    color: var(--rc-guide-primary-800);
    background: #eef2ff;
    box-shadow: inset 3px 0 var(--rc-guide-primary-700);
}

.member-dashboard-page .suite-sidebar-section,
.admin-dashboard-page .suite-sidebar-section {
    color: #7d8bad;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.dashboard-page-heading,
.admin-heading,
.suite-title-row {
    min-height: auto;
    padding: 18px 20px;
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    background: linear-gradient(105deg, #f3f6ff 0%, #fbfcff 68%, #ffffff 100%);
    box-shadow: var(--rc-guide-shadow-xs);
}

.dashboard-page-heading::after,
.admin-heading::after,
.suite-title-row::after {
    display: none;
}

.dashboard-heading-meta {
    gap: 8px;
    margin-bottom: 7px;
}

.dashboard-heading-path {
    color: #7d8bad;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0;
}

.dashboard-heading-status {
    gap: 6px;
    padding: 4px 8px;
    color: var(--rc-guide-primary-800);
    border: 1px solid var(--rc-guide-primary-500);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
}

.dashboard-heading-status i {
    width: 6px;
    height: 6px;
    background: #32a97d;
}

.dashboard-page-heading .dashboard-label,
.admin-heading .admin-eyebrow,
.suite-title-row small,
.dashboard-label,
.admin-eyebrow {
    color: var(--rc-guide-primary-800);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.dashboard-page-heading h1,
.admin-heading h1,
.suite-title-row h1 {
    color: var(--rc-guide-secondary);
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.dashboard-page-heading p,
.admin-heading p,
.suite-title-row p {
    margin-top: 6px;
    color: #667085;
    font-size: 0.88rem;
    line-height: 1.5;
}

.suite-card,
.dashboard-panel,
.admin-card,
.super-admin-card,
.suite-metric {
    border-color: #e6ebf5;
    border-radius: 14px;
    box-shadow: var(--rc-guide-shadow-xs);
}

.suite-card:hover,
.dashboard-panel:hover,
.admin-card:hover,
.super-admin-card:hover {
    border-color: var(--rc-guide-primary-500);
    box-shadow: var(--rc-guide-shadow-md);
}

.suite-metric.is-primary {
    background: linear-gradient(135deg, var(--rc-guide-primary-900), var(--rc-guide-primary-700));
    box-shadow: 0 10px 22px rgba(63, 102, 251, 0.2);
}

.suite-metric small,
.suite-panel-header small,
.admin-card small {
    color: #7180a1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.suite-metric strong {
    color: var(--rc-guide-secondary);
    font-size: clamp(1.45rem, 1.8vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.suite-metric.is-primary strong,
.suite-metric.is-primary small,
.suite-metric.is-primary span {
    color: #ffffff;
}

.suite-panel-header h2,
.dashboard-panel h2,
.admin-card h2 {
    color: var(--rc-guide-secondary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.018em;
}

.suite-data-table,
.admin-table,
.dashboard-table {
    color: var(--rc-guide-secondary);
    font-size: 0.8rem;
}

.suite-data-table thead th,
.admin-table thead th,
.dashboard-table thead th {
    color: #7180a1;
    background: #f8faff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-dashboard-page .btn,
.admin-dashboard-page .btn {
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.member-dashboard-page .btn-primary,
.admin-dashboard-page .btn-primary {
    border-color: var(--rc-guide-primary-700);
    background: var(--rc-guide-primary-700);
}

.member-dashboard-page .btn-primary:hover,
.admin-dashboard-page .btn-primary:hover {
    border-color: var(--rc-guide-primary-800);
    background: var(--rc-guide-primary-800);
}

.member-dashboard-page .form-control,
.member-dashboard-page .form-select,
.admin-dashboard-page .form-control,
.admin-dashboard-page .form-select {
    border-color: #e0e6f0;
    border-radius: 9px;
    color: var(--rc-guide-secondary);
    font-size: 0.82rem;
}

.member-dashboard-page .form-control:focus,
.member-dashboard-page .form-select:focus,
.admin-dashboard-page .form-control:focus,
.admin-dashboard-page .form-select:focus {
    border-color: var(--rc-guide-primary-600);
    box-shadow: 0 0 0 3px rgba(63, 102, 251, 0.12);
}

@media (max-width: 767.98px) {
    .dashboard-page-heading,
    .admin-heading,
    .suite-title-row {
        padding: 15px;
    }

    .dashboard-heading-meta {
        gap: 6px;
    }

    .dashboard-heading-status {
        order: 3;
    }
}

/* Dashboard body gutter: override Bootstrap px-0 wrappers used by detail pages. */
.member-dashboard-page .suite-dashboard,
.admin-dashboard-page .suite-dashboard,
.member-dashboard-page .member-dashboard,
.admin-dashboard-page .admin-console {
    padding: 24px 24px 34px !important;
}

@media (max-width: 991.98px) {
    .member-dashboard-page .suite-dashboard,
    .admin-dashboard-page .suite-dashboard,
    .member-dashboard-page .member-dashboard,
    .admin-dashboard-page .admin-console {
        padding: 18px 16px 30px !important;
    }
}

/* Personal credit portal: restrained dark financial-product dashboard. */
.personal-credit-dashboard {
    --credit-bg: #0f1117;
    --credit-surface: #171a23;
    --credit-surface-raised: #1d2230;
    --credit-border: rgba(255, 255, 255, 0.06);
    --credit-text: #ffffff;
    --credit-muted: #9aa4b2;
    --credit-accent: #6c5ce7;
    --credit-success: #00c48c;
    --credit-warning: #ffb020;
    --credit-danger: #ff5a5a;
    color: var(--credit-text);
    background: var(--credit-bg);
}

.personal-credit-dashboard .dashboard-layout,
.personal-credit-dashboard .dashboard-content {
    background: var(--credit-bg);
}

.personal-credit-dashboard .suite-sidebar {
    flex-basis: 260px;
    min-width: 260px;
    color: var(--credit-muted);
    border-color: var(--credit-border) !important;
    background: #12151d !important;
    box-shadow: none;
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar {
    flex-basis: 88px;
    min-width: 88px;
}

.personal-credit-dashboard .suite-sidebar-brand span {
    color: var(--credit-text);
}

.personal-credit-dashboard .suite-sidebar-brand img {
    filter: none;
}

.personal-credit-dashboard .suite-sidebar .sidebar-section-label {
    color: #6f7887;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link {
    color: var(--credit-muted) !important;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link:hover,
.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(108, 92, 231, 0.12);
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link.active::before {
    background: var(--credit-accent);
    box-shadow: none;
}

.personal-credit-dashboard .suite-sidebar .navigation-icon,
.personal-credit-dashboard .suite-sidebar .nav-link:hover .navigation-icon,
.personal-credit-dashboard .suite-sidebar .nav-link.active .navigation-icon {
    color: inherit;
    background: transparent;
    box-shadow: none;
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card {
    color: var(--credit-text);
    border-color: var(--credit-border);
    background: var(--credit-surface);
    box-shadow: none;
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card strong {
    color: var(--credit-text);
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card small {
    color: var(--credit-muted);
}

.personal-credit-dashboard .suite-command-bar {
    border-color: var(--credit-border);
    background: rgba(15, 17, 23, 0.96);
    box-shadow: none;
}

.personal-credit-dashboard .suite-command-leading small,
.personal-credit-dashboard .suite-command-leading strong {
    color: var(--credit-muted);
}

.personal-credit-dashboard .suite-command-leading strong {
    color: var(--credit-text);
}

.personal-credit-dashboard .suite-search,
.personal-credit-dashboard .suite-filter,
.personal-credit-dashboard .suite-icon-action,
.personal-credit-dashboard .suite-export,
.personal-credit-dashboard .suite-sidebar-toggle,
.personal-credit-dashboard .suite-avatar-button {
    color: var(--credit-muted);
    border-color: var(--credit-border);
    background: var(--credit-surface);
}

.personal-credit-dashboard .suite-search input,
.personal-credit-dashboard .suite-search input::placeholder {
    color: var(--credit-muted);
}

.personal-credit-dashboard .suite-filter:hover,
.personal-credit-dashboard .suite-icon-action:hover,
.personal-credit-dashboard .suite-export:hover,
.personal-credit-dashboard .suite-sidebar-toggle:hover,
.personal-credit-dashboard .suite-avatar-button:hover {
    color: #ffffff;
    border-color: rgba(108, 92, 231, 0.46);
    background: var(--credit-surface-raised);
}

.personal-credit-dashboard .dropdown-menu {
    color: var(--credit-text);
    border-color: var(--credit-border);
    background: var(--credit-surface-raised);
}

.personal-credit-dashboard .dropdown-menu a,
.personal-credit-dashboard .dropdown-item {
    color: var(--credit-muted);
}

.personal-credit-dashboard .dropdown-item:hover {
    color: #ffffff;
    background: rgba(108, 92, 231, 0.12);
}

.personal-credit-dashboard .member-dashboard {
    max-width: 1680px;
    padding: 24px 32px 40px !important;
}

.client-portal-heading {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.client-portal-heading small,
.dark-card-heading small,
.credit-score-hero > div > small,
.credit-kpi-card small {
    display: block;
    color: var(--credit-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.client-portal-heading h1 {
    margin: 6px 0 4px;
    color: var(--credit-text);
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.client-portal-heading p,
.credit-score-hero p,
.credit-action-list p,
.consultation-card p {
    margin: 0;
    color: var(--credit-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.personal-credit-dashboard .btn {
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 12px;
}

.personal-credit-dashboard .btn-primary {
    border-color: var(--credit-accent);
    background: var(--credit-accent);
}

.personal-credit-dashboard .btn-outline-light {
    color: #d7dbe5;
    border-color: rgba(255, 255, 255, 0.14);
}

.credit-score-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
    min-height: 260px;
    padding: 32px;
    border: 1px solid var(--credit-border);
    border-radius: 20px;
    background: var(--credit-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.credit-score-value {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.credit-score-band {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 10px 0 16px;
}

.credit-score-band span,
.credit-score-band b,
.impact-chip {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.credit-score-band span {
    color: var(--credit-warning);
    background: rgba(255, 176, 32, 0.1);
}

.credit-score-band b {
    color: var(--credit-success);
    background: rgba(0, 196, 140, 0.1);
}

.credit-score-hero h2 {
    max-width: 650px;
    margin: 10px 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.05em;
}

.credit-score-gauge-wrap {
    position: relative;
    width: 250px;
    margin-inline: auto;
}

.credit-score-gauge {
    position: relative;
    display: grid;
    width: 250px;
    height: 132px;
    place-items: end center;
    overflow: hidden;
}

.credit-score-gauge::before,
.credit-score-gauge::after {
    position: absolute;
    bottom: -118px;
    width: 236px;
    height: 236px;
    border-radius: 50%;
    content: "";
}

.credit-score-gauge::before {
    background: conic-gradient(from 270deg, var(--credit-accent) calc(var(--value) * 1.8deg), rgba(255, 255, 255, 0.08) 0 180deg, transparent 0);
}

.credit-score-gauge::after {
    bottom: -94px;
    width: 188px;
    height: 188px;
    background: var(--credit-surface);
}

.credit-score-gauge div {
    position: relative;
    z-index: 1;
    padding-bottom: 8px;
    text-align: center;
}

.credit-score-gauge strong,
.credit-score-gauge small {
    display: block;
}

.credit-score-gauge strong {
    font-size: 2rem;
}

.credit-score-gauge small,
.credit-score-gauge-wrap > span {
    color: var(--credit-muted);
    font-size: 0.7rem;
}

.credit-score-gauge-wrap > span {
    position: absolute;
    bottom: -2px;
}

.credit-score-gauge-wrap > span:last-child {
    right: 0;
}

.credit-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.command-kpi-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.credit-kpi-card,
.dark-portal-card {
    border: 1px solid var(--credit-border);
    border-radius: 20px;
    background: var(--credit-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.credit-kpi-card:hover,
.dark-portal-card:hover {
    border-color: rgba(108, 92, 231, 0.34);
    transform: translateY(-2px);
}

.credit-kpi-card {
    min-height: 164px;
    padding: 24px;
}

.credit-kpi-card strong,
.credit-kpi-card span {
    display: block;
}

.credit-kpi-card strong {
    margin: 22px 0 6px;
    color: var(--credit-text);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.credit-kpi-card span {
    color: var(--credit-muted);
    font-size: 0.78rem;
}

.credit-kpi-card.is-unavailable {
    background: rgba(29, 34, 48, 0.72);
}

.credit-kpi-card.is-unavailable strong,
.credit-score-gauge.is-unavailable strong {
    color: var(--credit-muted);
}

.credit-score-gauge.is-unavailable::before {
    background: conic-gradient(from 270deg, rgba(255, 255, 255, 0.08) 0 180deg, transparent 0);
}

.suite-metric.is-unavailable strong {
    color: #9aa4b2;
}

.credit-hero-facts,
.snapshot-grid,
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
}

.credit-hero-facts {
    max-width: 720px;
    margin-top: 22px;
}

.credit-hero-facts div,
.snapshot-grid article,
.strength-grid article {
    padding: 14px;
    border: 1px solid var(--credit-border);
    border-radius: 14px;
    background: var(--credit-surface-raised);
}

.credit-hero-facts small,
.credit-hero-facts strong,
.snapshot-grid small,
.snapshot-grid strong,
.snapshot-grid span,
.strength-grid small,
.strength-grid strong,
.strength-grid span {
    display: block;
}

.credit-hero-facts strong,
.snapshot-grid strong,
.strength-grid strong {
    margin-top: 6px;
    color: var(--credit-text);
    font-size: 1rem;
}

.snapshot-grid span,
.strength-grid span {
    margin-top: 4px;
    color: var(--credit-muted);
    font-size: 0.72rem;
}

.snapshot-grid .is-unavailable strong,
.strength-grid .is-unavailable strong {
    color: var(--credit-muted);
}

.risk-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.risk-chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.risk-critical {
    color: #ff9191;
    background: rgba(255, 90, 90, 0.12);
}

.risk-high {
    color: #ffc767;
    background: rgba(255, 176, 32, 0.12);
}

.risk-medium {
    color: #ddd8ff;
    background: rgba(108, 92, 231, 0.16);
}

.dark-portal-card {
    height: 100%;
    padding: 24px;
}

.dark-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.dark-card-heading h2 {
    margin: 5px 0 0;
    color: var(--credit-text);
    font-size: 1.18rem;
    font-weight: 600;
}

.dark-card-heading a,
.dark-report-table a {
    color: #a89fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.credit-action-list {
    display: grid;
    gap: 12px;
}

.credit-action-list article,
.consultation-card article {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--credit-border);
    border-radius: 16px;
    background: var(--credit-surface-raised);
}

.credit-action-list article > div,
.consultation-card article > div {
    flex: 1;
}

.credit-action-list strong,
.consultation-card strong,
.credit-insight-list strong {
    display: block;
    color: var(--credit-text);
    font-size: 0.82rem;
}

.impact-high {
    color: #ffcc72;
    background: rgba(255, 176, 32, 0.1);
}

.impact-medium {
    color: #b7afff;
    background: rgba(108, 92, 231, 0.14);
}

.impact-critical {
    color: #ff9191;
    background: rgba(255, 90, 90, 0.12);
}

.impact-monitor {
    color: #7de0c2;
    background: rgba(0, 196, 140, 0.1);
}

.action-index {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    color: #d9d5ff;
    background: rgba(108, 92, 231, 0.18);
    font-size: 0.75rem;
}

.recovery-roadmap {
    position: relative;
    display: grid;
    gap: 16px;
}

.recovery-roadmap::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 1px;
    background: rgba(108, 92, 231, 0.45);
    content: "";
}

.recovery-roadmap article {
    position: relative;
    padding-left: 28px;
}

.recovery-roadmap article::before {
    position: absolute;
    top: 6px;
    left: 2px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--credit-surface);
    border-radius: 50%;
    background: var(--credit-accent);
    box-shadow: 0 0 0 1px rgba(108, 92, 231, 0.55);
    content: "";
}

.recovery-roadmap small,
.recovery-roadmap strong,
.recovery-roadmap span {
    display: block;
}

.recovery-roadmap strong {
    color: var(--credit-text);
    font-size: 1rem;
}

.recovery-roadmap span,
.portal-muted,
.readiness-card p {
    color: var(--credit-muted);
    font-size: 0.76rem;
}

.readiness-value {
    display: block;
    color: var(--credit-text);
    font-size: 2.5rem;
    letter-spacing: -0.06em;
}

.readiness-track {
    height: 8px;
    margin: 16px 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.readiness-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--credit-accent);
}

.account-intelligence-table td:first-child {
    color: var(--credit-text);
    font-weight: 700;
}

.credit-insight-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.credit-insight-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--credit-border);
}

.credit-insight-list li:last-child {
    border-bottom: 0;
}

.credit-insight-list i {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--credit-surface);
    border-radius: 50%;
    background: var(--credit-success);
    box-shadow: 0 0 0 1px rgba(0, 196, 140, 0.45);
}

.credit-insight-list div {
    flex: 1;
}

.credit-insight-list small,
.credit-insight-list time,
.consultation-card time {
    color: var(--credit-muted);
    font-size: 0.7rem;
}

.dark-report-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--credit-muted);
    --bs-table-border-color: var(--credit-border);
    font-size: 0.78rem;
}

.dark-report-table th {
    color: #747f90;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dark-report-table td,
.dark-report-table th {
    padding: 13px 8px;
}

.consultation-card {
    display: grid;
    align-content: start;
}

.consultation-card article + article {
    margin-top: 12px;
}

.consultation-card time {
    color: #b7afff;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .personal-credit-dashboard .member-dashboard {
        padding: 18px 16px 32px !important;
    }

    .credit-score-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 575.98px) {
    .client-portal-heading {
        display: block;
    }

    .client-portal-heading > div + div {
        margin-top: 16px;
    }

    .credit-score-hero {
        padding: 24px;
    }

    .credit-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* Personal credit portal V3: premium depth and clearer visual priority. */
.personal-credit-dashboard .suite-command-bar {
    gap: 24px;
    padding-inline: 24px;
}

.personal-credit-dashboard .suite-search {
    width: min(420px, 100%);
    max-width: 420px;
    height: 48px;
}

.personal-credit-dashboard .suite-export {
    gap: 7px;
    color: #ffffff;
    border-color: var(--credit-accent);
    background: var(--credit-accent);
}

.personal-credit-dashboard .suite-export .navigation-icon {
    width: 16px;
    height: 16px;
}

.personal-credit-dashboard .suite-avatar-button {
    width: 48px;
    min-width: 48px;
    padding: 3px;
}

.personal-credit-dashboard .suite-avatar-button::after {
    display: none;
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card.is-avatar-only {
    justify-content: center;
    width: 56px;
    margin-inline: auto;
    padding: 6px;
    border-color: transparent;
    background: transparent;
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card.is-avatar-only:hover {
    border-color: rgba(108, 92, 231, 0.28);
    background: rgba(108, 92, 231, 0.08);
}

.command-center-hero {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 390px;
    min-height: 340px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 15%, rgba(108, 92, 231, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(30, 36, 51, 0.98), rgba(23, 27, 38, 0.98));
}

.command-center-hero::after {
    position: absolute;
    right: -110px;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    content: "";
}

.command-center-hero > * {
    position: relative;
    z-index: 1;
}

.command-center-hero .credit-score-value {
    font-size: clamp(3.5rem, 6vw, 4rem);
}

.command-center-hero .credit-score-gauge-wrap,
.command-center-hero .credit-score-gauge {
    width: 325px;
}

.command-center-hero .credit-score-gauge {
    height: 172px;
}

.command-center-hero .credit-score-gauge::before,
.command-center-hero .credit-score-gauge::after {
    bottom: -153px;
    width: 307px;
    height: 307px;
}

.command-center-hero .credit-score-gauge::after {
    bottom: -122px;
    width: 244px;
    height: 244px;
    background: #1b2030;
}

.command-center-hero .credit-score-gauge strong {
    font-size: 2.5rem;
}

.command-center-hero .credit-score-gauge small {
    margin-top: 5px;
    color: #c5bddf;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.risk-positive {
    color: #7de0c2;
    background: rgba(0, 196, 140, 0.11);
}

.command-kpi-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.credit-kpi-card {
    position: relative;
    min-height: 184px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 45%),
        var(--credit-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.credit-kpi-card::after {
    position: absolute;
    top: -42px;
    right: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--kpi-orb, rgba(108, 92, 231, 0.22));
    filter: blur(10px);
    opacity: 0.7;
    content: "";
}

.credit-kpi-card:hover,
.dark-portal-card:hover {
    border-color: rgba(108, 92, 231, 0.38);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.credit-kpi-npa_accounts {
    --kpi-orb: rgba(255, 90, 90, 0.28);
}

.credit-kpi-written_off_accounts {
    --kpi-orb: rgba(255, 138, 76, 0.28);
}

.credit-kpi-utilization {
    --kpi-orb: rgba(255, 176, 32, 0.26);
}

.credit-kpi-enquiries {
    --kpi-orb: rgba(83, 146, 255, 0.24);
}

.credit-kpi-funding_readiness {
    --kpi-orb: rgba(108, 92, 231, 0.34);
    grid-column: span 2;
}

.credit-kpi-icon {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px solid var(--credit-border);
    border-radius: 10px;
    color: #c7c0ff;
    background: rgba(255, 255, 255, 0.035);
}

.credit-kpi-icon .navigation-icon {
    width: 18px;
    height: 18px;
}

.credit-kpi-card strong {
    margin: 12px 0 6px;
    font-size: 2.2rem;
}

.kpi-status {
    display: inline-flex;
    margin-top: 14px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #b9b1ff;
    background: rgba(108, 92, 231, 0.12);
    font-size: 0.65rem;
}

.account-intelligence-table tbody tr,
.dark-report-table tbody tr {
    transition: background 0.2s ease;
}

.account-intelligence-table tbody tr:hover,
.dark-report-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.06);
}

.report-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .command-center-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .command-kpi-grid {
        grid-template-columns: 1fr;
    }

    .credit-kpi-funding_readiness {
        grid-column: auto;
    }

    .command-center-hero .credit-score-gauge-wrap,
    .command-center-hero .credit-score-gauge {
        width: 280px;
    }
}

/* V5 tone precedence: keep KPI color accents visible above earlier neutral overrides. */
.snapshot-kpi-grid .credit-kpi-card {
    min-height: 154px;
    padding: 18px;
    border-color: rgba(255, 255, 255, 0.065);
}

.snapshot-kpi-grid .credit-kpi-card::after {
    display: block;
    width: 96px;
    height: 96px;
    opacity: 0.42;
    filter: blur(18px);
}

.snapshot-kpi-grid .snapshot-tone-1 {
    --kpi-orb: rgba(94, 86, 255, 0.36);
    background: linear-gradient(145deg, rgba(49, 45, 103, 0.62), #171b26 68%);
}

.snapshot-kpi-grid .snapshot-tone-2 {
    --kpi-orb: rgba(38, 173, 196, 0.34);
    background: linear-gradient(145deg, rgba(21, 69, 83, 0.64), #171b26 68%);
}

.snapshot-kpi-grid .snapshot-tone-3 {
    --kpi-orb: rgba(0, 196, 140, 0.28);
    background: linear-gradient(145deg, rgba(18, 75, 66, 0.58), #171b26 68%);
}

.snapshot-kpi-grid .snapshot-tone-4 {
    --kpi-orb: rgba(255, 176, 32, 0.3);
    background: linear-gradient(145deg, rgba(88, 62, 21, 0.56), #171b26 68%);
}

.snapshot-kpi-grid .snapshot-tone-5 {
    --kpi-orb: rgba(255, 90, 90, 0.28);
    background: linear-gradient(145deg, rgba(88, 39, 42, 0.58), #171b26 68%);
}

.snapshot-kpi-grid .snapshot-tone-6 {
    --kpi-orb: rgba(151, 92, 231, 0.3);
    background: linear-gradient(145deg, rgba(67, 37, 93, 0.58), #171b26 68%);
}

/* Personal credit portal V4: simplify visual language and prioritize decisions. */
.personal-credit-dashboard .suite-sidebar .dashboard-nav {
    gap: 4px;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link {
    min-height: 44px;
    margin-bottom: 2px;
}

.personal-credit-dashboard .member-dashboard {
    padding-bottom: 56px !important;
}

.command-center-hero {
    grid-template-columns: minmax(0, 1fr) 330px;
    min-height: 252px;
    background: var(--credit-surface);
}

.command-center-hero::after {
    display: none;
}

.command-center-hero .credit-score-gauge-wrap,
.command-center-hero .credit-score-gauge {
    width: 280px;
}

.command-center-hero .credit-score-gauge {
    height: 148px;
}

.command-center-hero .credit-score-gauge::before,
.command-center-hero .credit-score-gauge::after {
    bottom: -132px;
    width: 264px;
    height: 264px;
}

.command-center-hero .credit-score-gauge::after {
    bottom: -105px;
    width: 210px;
    height: 210px;
    background: var(--credit-surface);
}

.command-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.credit-kpi-card,
.dark-portal-card {
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 20px;
    background: var(--credit-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.credit-kpi-card {
    min-height: 152px;
    padding: 20px;
}

.credit-kpi-card::after {
    display: none;
}

.credit-kpi-card:hover,
.dark-portal-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.credit-kpi-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--credit-muted);
    background: transparent;
}

.credit-kpi-npa_accounts .credit-kpi-icon {
    color: var(--credit-danger);
}

.credit-kpi-written_off_accounts .credit-kpi-icon {
    color: var(--credit-warning);
}

.credit-kpi-utilization .credit-kpi-icon {
    color: var(--credit-warning);
}

.credit-kpi-enquiries .credit-kpi-icon {
    color: #78a8ff;
}

.credit-kpi-card strong {
    margin: 8px 0 4px;
    font-size: 2rem;
}

.kpi-status {
    margin-top: 10px;
    color: var(--credit-muted);
    background: rgba(255, 255, 255, 0.045);
}

.command-section {
    margin-top: 20px !important;
}

.credit-action-list article {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--credit-border);
    border-radius: 0;
    background: transparent;
}

.credit-action-list article:last-child {
    border-bottom: 0;
}

.score-projection-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.projection-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.055);
    stroke-width: 1;
}

.projection-line {
    fill: none;
    stroke: var(--credit-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.score-projection-chart circle {
    fill: var(--credit-surface);
    stroke: var(--credit-accent);
    stroke-width: 3;
}

.projection-score {
    fill: var(--credit-text);
    font-size: 12px;
    font-weight: 700;
}

.projection-label {
    fill: var(--credit-muted);
    font-size: 10px;
}

.projection-readiness {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding-top: 12px;
    border-top: 1px solid var(--credit-border);
}

.projection-readiness span,
.projection-readiness small {
    color: var(--credit-muted);
    font-size: 0.72rem;
}

.projection-readiness strong {
    color: var(--credit-text);
    font-size: 1.3rem;
}

.report-card-list {
    display: grid;
    gap: 0;
}

.report-card-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--credit-border);
}

.report-card-row:last-child {
    border-bottom: 0;
}

.report-file-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: #bcb5ff;
    background: rgba(108, 92, 231, 0.12);
}

.report-file-icon .navigation-icon {
    width: 18px;
    height: 18px;
}

.report-card-row strong,
.report-card-row small {
    display: block;
}

.report-card-row strong {
    color: var(--credit-text);
    font-size: 0.85rem;
}

.report-card-row small {
    margin-top: 4px;
    color: var(--credit-muted);
    font-size: 0.72rem;
}

.report-card-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 991.98px) {
    .command-center-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .command-kpi-grid {
        grid-template-columns: 1fr;
    }

    .report-card-row {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .report-card-row .status-pill,
    .report-card-actions {
        grid-column: 2;
        justify-self: start;
    }
}

/* V5 tone precedence: keep KPI accents visible above earlier neutral card rules. */
.snapshot-kpi-grid .credit-kpi-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 146px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: linear-gradient(145deg, rgba(24, 29, 42, 0.98), rgba(17, 21, 31, 0.98));
}

.snapshot-kpi-grid .credit-kpi-card::after {
    position: absolute;
    right: -42px;
    bottom: -54px;
    z-index: -1;
    display: block;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--snapshot-orb, rgba(108, 92, 231, 0.22));
    content: "";
    filter: blur(18px);
}

.snapshot-kpi-grid .snapshot-tone-1 {
    --snapshot-orb: rgba(123, 97, 255, 0.42);
    background: linear-gradient(145deg, rgba(47, 38, 113, 0.98), rgba(27, 25, 63, 0.98));
}

.snapshot-kpi-grid .snapshot-tone-2 {
    --snapshot-orb: rgba(0, 196, 140, 0.36);
    background: linear-gradient(145deg, rgba(16, 56, 61, 0.98), rgba(17, 31, 39, 0.98));
}

.snapshot-kpi-grid .snapshot-tone-3 {
    --snapshot-orb: rgba(255, 176, 32, 0.36);
    background: linear-gradient(145deg, rgba(68, 53, 29, 0.98), rgba(35, 30, 25, 0.98));
}

.snapshot-kpi-grid .snapshot-tone-4 {
    --snapshot-orb: rgba(73, 145, 255, 0.38);
    background: linear-gradient(145deg, rgba(24, 51, 82, 0.98), rgba(21, 30, 45, 0.98));
}

.snapshot-kpi-grid .snapshot-tone-5 {
    --snapshot-orb: rgba(255, 90, 90, 0.34);
    background: linear-gradient(145deg, rgba(78, 38, 45, 0.98), rgba(38, 25, 32, 0.98));
}

.snapshot-kpi-grid .snapshot-tone-6 {
    --snapshot-orb: rgba(185, 112, 255, 0.34);
    background: linear-gradient(145deg, rgba(63, 40, 86, 0.98), rgba(31, 25, 45, 0.98));
}

/* Personal credit portal refinement: quiet premium hierarchy and thin grade meter. */
.personal-credit-dashboard {
    --credit-surface: #171b26;
    --credit-surface-raised: #1b2030;
}

.personal-credit-dashboard .suite-command-bar {
    gap: 20px;
    min-height: 74px;
    padding-inline: 20px;
}

.personal-credit-dashboard .suite-search {
    width: min(440px, 100%);
    max-width: 440px;
    height: 42px;
}

.personal-credit-dashboard .suite-filter,
.personal-credit-dashboard .suite-icon-action,
.personal-credit-dashboard .suite-sidebar-toggle,
.personal-credit-dashboard .suite-avatar-button {
    min-height: 42px;
    border-radius: 11px;
}

.personal-credit-dashboard .suite-avatar-button {
    width: 44px;
    min-width: 44px;
}

.personal-credit-dashboard .member-dashboard {
    padding: 38px 32px 64px !important;
}

.client-portal-heading {
    margin-bottom: 30px;
}

.client-portal-heading h1 {
    margin-top: 0;
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
}

.client-portal-heading p {
    font-size: 0.9rem;
}

.credit-overview-grid {
    grid-template-columns: minmax(0, 2fr) minmax(330px, 0.96fr);
    gap: 20px;
}

.credit-overview-grid .command-center-hero {
    display: flex;
    min-height: 300px;
    padding: 20px;
    align-items: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 14%, rgba(77, 71, 177, 0.22), transparent 28%),
        linear-gradient(135deg, #192139 0%, #171b26 62%, #1d1d36 100%);
}

.credit-overview-grid .command-center-hero h2 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2.25rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.065em;
}

.credit-overview-grid .command-center-hero p {
    max-width: 820px;
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.75;
}

.hero-inline-metrics {
    gap: 12px 28px;
    margin-top: 30px;
}

.hero-inline-metrics span {
    font-size: 0.78rem;
}

.hero-inline-metrics strong {
    font-size: 0.88rem;
}

.credit-overview-grid .command-center-hero .btn {
    min-height: 52px;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
}

.credit-grade-card {
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background:
        radial-gradient(circle at 72% 45%, rgba(68, 125, 130, 0.12), transparent 44%),
        radial-gradient(circle at 100% 0, rgba(8, 174, 174, 0.12), transparent 34%),
        #171b26;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.grade-status {
    padding: 6px 11px;
    color: #8de0d0;
    background: rgba(0, 196, 140, 0.1);
}

.grade-score-meter {
    position: relative;
    display: grid;
    width: min(100%, 320px);
    height: 196px;
    margin: 4px auto 0;
    overflow: visible;
    place-items: center;
}

.grade-score-meter svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.grade-score-meter::before,
.grade-score-meter::after {
    display: none;
}

.grade-meter-track,
.grade-meter-progress {
    fill: none;
    stroke-linecap: round;
    stroke-width: 10px;
}

.grade-meter-track {
    stroke: rgba(255, 255, 255, 0.075);
}

.grade-meter-progress {
    stroke: url(#creditGradeGradient);
    stroke-dasharray: var(--grade-progress) 100;
    filter: url(#creditGradeGlow);
}

.grade-meter-ticks {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-linecap: round;
    stroke-width: 2px;
}

.grade-score-meter div {
    position: relative;
    z-index: 1;
    align-self: end;
    padding-bottom: 20px;
    text-align: center;
}

.grade-score-meter strong,
.grade-score-meter span {
    display: block;
}

.grade-score-meter strong {
    color: #ffffff;
    font-size: 2.65rem;
    letter-spacing: -0.075em;
    line-height: 1;
}

.grade-score-meter span,
.credit-grade-card p {
    color: var(--credit-muted);
    font-size: 0.76rem;
}

.credit-grade-card p {
    margin: 0;
    text-align: center;
}

.snapshot-kpi-grid {
    gap: 16px;
    margin-top: 20px;
}

.snapshot-kpi-grid .credit-kpi-card,
.snapshot-kpi-grid .snapshot-tone-1,
.snapshot-kpi-grid .snapshot-tone-2,
.snapshot-kpi-grid .snapshot-tone-3,
.snapshot-kpi-grid .snapshot-tone-4,
.snapshot-kpi-grid .snapshot-tone-5,
.snapshot-kpi-grid .snapshot-tone-6,
.dark-portal-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    background: #171b26;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.snapshot-kpi-grid .credit-kpi-card::after {
    display: none;
}

.credit-kpi-card:hover,
.dark-portal-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .credit-overview-grid {
        grid-template-columns: 1fr;
    }

    .credit-grade-card {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .personal-credit-dashboard .member-dashboard {
        padding: 24px 16px 48px !important;
    }

    .credit-overview-grid .command-center-hero {
        min-height: auto;
        padding: 28px 24px;
    }

    .credit-overview-grid .command-center-hero h2 {
        font-size: 2.15rem;
    }

    .credit-grade-card {
        min-height: 294px;
        padding: 22px;
    }
}

/* Member portal navigation restructure: compact controls and anchored menus. */
.personal-credit-dashboard .suite-command-bar {
    gap: 14px;
    min-height: 86px;
    padding-inline: 24px;
}

.personal-credit-dashboard .suite-command-leading {
    flex: 0 0 auto;
}

.personal-credit-dashboard .suite-sidebar-toggle {
    position: relative;
    overflow: hidden;
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.personal-credit-dashboard .suite-sidebar-toggle .navigation-icon {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.personal-credit-dashboard .suite-sidebar-toggle .suite-expand-icon {
    position: absolute;
    opacity: 0;
    transform: translateX(-6px);
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar-toggle .suite-collapse-icon {
    opacity: 0;
    transform: translateX(6px);
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar-toggle .suite-expand-icon {
    opacity: 1;
    transform: none;
}

.personal-credit-dashboard .suite-search {
    width: min(506px, 100%);
    max-width: 506px;
    height: 48px;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #171b26;
}

.personal-credit-dashboard .suite-search input {
    color: #ffffff;
}

.personal-credit-dashboard .suite-search input::placeholder {
    color: #7c8497;
}

.personal-credit-dashboard .suite-command-actions {
    flex: 0 0 auto;
}

.personal-credit-dashboard .suite-command-actions > .dropdown {
    position: relative;
}

.personal-credit-dashboard .suite-notification-menu,
.personal-credit-dashboard .suite-command-actions .suite-profile-menu {
    inset: calc(100% + 10px) 0 auto auto !important;
    width: min(360px, calc(100vw - 32px));
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: #171b26;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: none !important;
}

.personal-credit-dashboard .suite-command-actions .suite-profile-menu {
    width: min(220px, calc(100vw - 32px));
    max-width: min(220px, calc(100vw - 32px));
}

.personal-credit-dashboard .suite-sidebar {
    flex-basis: 286px;
    min-width: 286px;
    transition: flex-basis 0.28s ease, min-width 0.28s ease;
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar {
    flex-basis: 88px;
    min-width: 88px;
}

.personal-credit-dashboard .suite-sidebar .dashboard-sidebar-inner {
    min-height: 0;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav {
    display: block;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 132, 151, 0.35) transparent;
}

.personal-credit-dashboard .suite-sidebar .sidebar-section-label {
    display: block;
    margin: 17px 14px 7px;
    color: #6f7887;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link {
    min-height: 42px;
    padding: 10px 14px;
}

.personal-credit-dashboard .sidebar-profile-dropdown {
    flex: 0 0 auto;
    align-self: flex-start;
}

.personal-credit-dashboard .suite-sidebar .sidebar-profile-card.is-avatar-only {
    width: 46px;
    padding: 0;
    border: 0;
    background: transparent;
}

.personal-credit-dashboard .sidebar-profile-dropdown .suite-profile-menu {
    inset: auto auto 0 calc(100% + 10px) !important;
    width: 200px;
    max-width: min(200px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #171b26;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: none !important;
}

.credit-overview-grid .command-center-hero h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.command-section {
    margin-top: 40px;
}

/* Sidebar edge control and strict compact member state. */
.suite-sidebar {
    position: relative;
    overflow: visible;
}

.sidebar-edge-toggle {
    position: absolute;
    top: 25px;
    right: -21px;
    z-index: 12;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
}

.sidebar-edge-toggle .navigation-icon {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.sidebar-edge-toggle .suite-expand-icon {
    position: absolute;
    opacity: 0;
    transform: translateX(-6px);
}

.suite-sidebar-collapsed .sidebar-edge-toggle .suite-collapse-icon {
    opacity: 0;
    transform: translateX(6px);
}

.suite-sidebar-collapsed .sidebar-edge-toggle .suite-expand-icon {
    opacity: 1;
    transform: none;
}

.personal-credit-dashboard .suite-command-bar {
    padding-left: 24px;
}

.personal-credit-dashboard .suite-search {
    margin-left: 0;
    background: #171b26 !important;
}

.personal-credit-dashboard .suite-search input,
.personal-credit-dashboard .suite-search input:focus {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none;
}

.personal-credit-dashboard .suite-search input::placeholder {
    color: #7c8497 !important;
    opacity: 1;
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar-brand span,
.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar .sidebar-section-label,
.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar .sidebar-link-label {
    display: none !important;
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar .dashboard-nav .nav-link {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar .navigation-icon {
    display: inline-grid;
    margin: 0;
}

/* Member overview polish: restrained hierarchy and ambient KPI color. */
.personal-credit-dashboard .client-portal-heading h1 {
    font-size: clamp(1.65rem, 1.18rem, 2rem);
    letter-spacing: -0.045em;
}

.personal-credit-dashboard .credit-overview-grid .command-center-hero h2 {
    font-size: clamp(2.15rem, 3.25vw, 2.9rem);
    letter-spacing: -0.055em;
}

.personal-credit-dashboard .snapshot-kpi-grid .credit-kpi-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 168px;
    padding: 20px;
    background:
        radial-gradient(circle at 88% 105%, var(--snapshot-glow), transparent 44%),
        linear-gradient(145deg, var(--snapshot-wash), #171b26 68%);
}

.personal-credit-dashboard .snapshot-kpi-grid .credit-kpi-card::before {
    position: absolute;
    right: -18px;
    bottom: -38px;
    z-index: -1;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    content: "";
    opacity: 0.7;
    background: var(--snapshot-glow);
    filter: blur(30px);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-1 {
    --snapshot-wash: rgba(62, 50, 129, 0.76);
    --snapshot-glow: rgba(103, 86, 255, 0.56);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-2 {
    --snapshot-wash: rgba(17, 72, 84, 0.76);
    --snapshot-glow: rgba(35, 198, 220, 0.5);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-3 {
    --snapshot-wash: rgba(16, 75, 65, 0.76);
    --snapshot-glow: rgba(17, 198, 150, 0.48);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-4 {
    --snapshot-wash: rgba(90, 61, 21, 0.72);
    --snapshot-glow: rgba(242, 184, 75, 0.48);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-5 {
    --snapshot-wash: rgba(90, 36, 45, 0.74);
    --snapshot-glow: rgba(255, 100, 115, 0.46);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-6 {
    --snapshot-wash: rgba(65, 37, 102, 0.74);
    --snapshot-glow: rgba(154, 95, 255, 0.5);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-7 {
    --snapshot-wash: rgba(42, 47, 102, 0.76);
    --snapshot-glow: rgba(93, 123, 255, 0.52);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-8 {
    --snapshot-wash: rgba(82, 44, 61, 0.74);
    --snapshot-glow: rgba(225, 105, 171, 0.48);
}

.personal-credit-dashboard .snapshot-kpi-grid .snapshot-tone-9 {
    --snapshot-wash: rgba(43, 69, 49, 0.76);
    --snapshot-glow: rgba(128, 196, 92, 0.48);
}

.personal-credit-dashboard .snapshot-kpi-grid .credit-kpi-icon {
    color: rgba(255, 255, 255, 0.78);
}

.personal-credit-dashboard .snapshot-kpi-grid .credit-kpi-card.is-unavailable {
    opacity: 0.8;
}

/* Left hero card only: premium verified-credit presentation. */
.personal-credit-dashboard .credit-overview-grid .command-center-hero {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    padding: 48px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.2), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(138, 124, 255, 0.12), transparent 45%),
        linear-gradient(135deg, #18203b 0%, #21294b 45%, #2a2d63 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.personal-credit-dashboard .credit-overview-grid .command-center-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
        radial-gradient(circle at 74% 110%, rgba(115, 97, 255, 0.16), transparent 38%);
}

.personal-credit-dashboard .command-center-hero > div {
    max-width: 900px;
}

.personal-credit-dashboard .hero-verified-label {
    display: block;
    color: rgba(223, 228, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.personal-credit-dashboard .credit-overview-grid .command-center-hero h2 {
    margin-top: 14px;
    font-size: clamp(2.35rem, 2vw, 2.5rem);
    font-weight: 500;
}

.personal-credit-dashboard .credit-overview-grid .command-center-hero p {
    max-width: 860px;
    margin-top: 14px;
    color: rgba(226, 231, 255, 0.76);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
}

.personal-credit-dashboard .hero-inline-metrics {
    gap: 12px 30px;
    margin-top: 24px;
}

.personal-credit-dashboard .hero-inline-metrics span,
.personal-credit-dashboard .hero-inline-metrics strong {
    font-size: 1rem;
    font-weight: 500;
}

.personal-credit-dashboard .hero-inline-metrics strong {
    margin-left: 4px;
    color: #ffffff;
    font-weight: 700;
}

.hero-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.personal-credit-dashboard .hero-report-actions .btn {
    min-height: 46px;
    padding: 11px 17px;
    font-size: 0.94rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .personal-credit-dashboard .credit-overview-grid .command-center-hero {
        padding: 28px 24px;
    }

    .personal-credit-dashboard .credit-overview-grid .command-center-hero h2 {
        font-size: 2.25rem;
    }

    .personal-credit-dashboard .credit-overview-grid .command-center-hero p {
        font-size: 0.95rem;
    }

    .personal-credit-dashboard .hero-inline-metrics span,
    .personal-credit-dashboard .hero-inline-metrics strong {
        font-size: 0.86rem;
    }
}

/* Dashboard interaction polish: SaaS-style edge toggle and restrained hovers. */
.personal-credit-dashboard .sidebar-edge-toggle {
    position: absolute;
    top: 34px;
    right: -13px;
    z-index: 20;
    width: 26px;
    min-width: 26px;
    height: 26px;
    min-height: 26px;
    padding: 0;
    overflow: hidden;
    color: #9aa4b2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: #171b26;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.personal-credit-dashboard .sidebar-edge-toggle .navigation-icon,
.personal-credit-dashboard .sidebar-edge-toggle .navigation-glyph {
    width: 14px;
    height: 14px;
}

.personal-credit-dashboard .sidebar-edge-toggle:hover,
.personal-credit-dashboard .sidebar-edge-toggle:focus-visible {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.62);
    background: #22283a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.personal-credit-dashboard .btn-outline-light:hover,
.personal-credit-dashboard .btn-outline-light:focus-visible,
.personal-credit-dashboard .btn-outline-light:active {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.58);
    background: rgba(108, 92, 231, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.personal-credit-dashboard .btn-primary:hover,
.personal-credit-dashboard .btn-primary:focus-visible,
.personal-credit-dashboard .btn-primary:active {
    color: #ffffff;
    border-color: #8b7cff;
    background: #7868ee;
    box-shadow: 0 10px 22px rgba(108, 92, 231, 0.24);
    transform: translateY(-1px);
}

.personal-credit-dashboard .suite-filter:hover,
.personal-credit-dashboard .suite-icon-action:hover,
.personal-credit-dashboard .suite-avatar-button:hover {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.36);
    background: #1d2230;
}

/* Member sidebar readability and verified identity presentation. */
.personal-credit-dashboard .suite-sidebar-brand,
.personal-credit-dashboard .suite-sidebar-brand:hover,
.personal-credit-dashboard .suite-sidebar-brand:focus-visible {
    color: #ffffff;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.personal-credit-dashboard .suite-sidebar-brand:hover img,
.personal-credit-dashboard .suite-sidebar-brand:focus-visible img {
    filter: none;
    transform: none;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
}

.personal-credit-dashboard .suite-sidebar .navigation-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

.personal-credit-dashboard .suite-sidebar .navigation-glyph {
    width: 24px;
    height: 24px;
}

.personal-credit-dashboard .suite-avatar-button {
    width: auto;
    min-width: 48px;
    gap: 8px;
    padding-right: 12px;
}

.personal-credit-dashboard .suite-avatar-name {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
}

/* Header fixes: unclipped sidebar toggle, neutral brand, and live notifications. */
.personal-credit-dashboard .suite-sidebar {
    position: relative;
    z-index: 1035;
    overflow: visible !important;
}

.personal-credit-dashboard .suite-sidebar .dashboard-sidebar-inner {
    overflow: visible !important;
}

.personal-credit-dashboard .suite-sidebar .dashboard-nav {
    overflow-y: auto;
}

.personal-credit-dashboard .sidebar-edge-toggle {
    z-index: 9999;
    overflow: visible;
}

.personal-credit-dashboard .suite-sidebar-brand,
.personal-credit-dashboard .suite-sidebar-brand:hover,
.personal-credit-dashboard .suite-sidebar-brand:focus,
.personal-credit-dashboard .suite-sidebar-brand:focus-visible,
.personal-credit-dashboard .suite-sidebar-brand:active {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0;
    text-decoration: none;
    transform: none !important;
}

.personal-credit-dashboard .suite-sidebar-brand img,
.personal-credit-dashboard .suite-sidebar-brand:hover img,
.personal-credit-dashboard .suite-sidebar-brand:focus img,
.personal-credit-dashboard .suite-sidebar-brand:active img {
    filter: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.personal-credit-dashboard .suite-bell,
.personal-credit-dashboard .suite-bell .navigation-glyph {
    width: 19px;
    height: 19px;
}

.personal-credit-dashboard .suite-notification-count {
    top: 5px;
    right: 5px;
    min-width: 16px;
    padding: 1px 4px;
    border-radius: 999px;
    font-size: 0.6rem;
    line-height: 1.2;
    text-align: center;
}

.personal-credit-dashboard .suite-notification-menu {
    width: min(300px, calc(100vw - 32px));
    max-width: min(300px, calc(100vw - 32px));
    padding: 10px;
}

.personal-credit-dashboard .suite-notification-list {
    max-height: 270px;
    padding: 0;
    overflow-y: auto;
    border-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 132, 151, 0.44) transparent;
}

.personal-credit-dashboard .suite-notification-menu .suite-notification-item,
.personal-credit-dashboard .suite-notification-menu .suite-notification-empty {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.personal-credit-dashboard .suite-notification-menu .suite-notification-item.is-unread {
    background: rgba(108, 92, 231, 0.08);
}

.personal-credit-dashboard .suite-notification-menu .suite-notification-item strong {
    color: #ffffff;
}

.personal-credit-dashboard .suite-notification-menu .suite-notification-item small,
.personal-credit-dashboard .suite-notification-menu .suite-notification-empty small {
    color: #9aa4b2;
    line-height: 1.45;
}

/* Brand-row anchor: keep the collapse control level with the logo. */
.personal-credit-dashboard .suite-sidebar-brand-row {
    position: relative;
    z-index: 10000;
    flex: 0 0 auto;
}

.personal-credit-dashboard .suite-sidebar-brand-row .suite-sidebar-brand {
    margin-bottom: 1.25rem;
}

.personal-credit-dashboard .suite-sidebar-brand-row .sidebar-edge-toggle {
    position: absolute !important;
    top: 18px !important;
    right: -29px !important;
    z-index: 10001 !important;
    transform: translateY(-50%) !important;
}

.personal-credit-dashboard .suite-sidebar-brand-row .sidebar-edge-toggle .navigation-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-grid;
    margin: 0;
    place-items: center;
    transform: translate(-50%, -50%);
}

.personal-credit-dashboard .suite-sidebar-brand-row .sidebar-edge-toggle .suite-expand-icon {
    opacity: 0;
    transform: translate(calc(-50% - 4px), -50%);
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar-brand-row .sidebar-edge-toggle .suite-collapse-icon {
    opacity: 0;
    transform: translate(calc(-50% + 4px), -50%);
}

.personal-credit-dashboard.suite-sidebar-collapsed .suite-sidebar-brand-row .sidebar-edge-toggle .suite-expand-icon {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Public landing screen: editorial credit-intelligence hero. */
.landing-page .cinematic-hero {
    min-height: 760px;
    isolation: isolate;
    background:
        radial-gradient(circle at 49% 20%, rgba(103, 211, 143, 0.52), transparent 31%),
        radial-gradient(circle at 6% 56%, rgba(43, 116, 132, 0.38), transparent 28%),
        radial-gradient(circle at 100% 58%, rgba(21, 116, 80, 0.28), transparent 26%),
        linear-gradient(115deg, #0a1b2d 0%, #101b31 46%, #0a1728 100%);
}

.landing-page .cinematic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.72;
    background:
        linear-gradient(122deg, transparent 0 23%, rgba(255, 255, 255, 0.1) 23.08%, transparent 23.2%),
        linear-gradient(48deg, transparent 0 75%, rgba(255, 255, 255, 0.08) 75.08%, transparent 75.2%);
    pointer-events: none;
}

.landing-page .credit-grid-lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.6;
    background-image:
        linear-gradient(rgba(210, 255, 230, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(210, 255, 230, 0.11) 1px, transparent 1px);
    background-size: 134px 134px;
    pointer-events: none;
}

.landing-page .hero-orb-one {
    right: 19%;
    bottom: 6%;
    background: radial-gradient(circle, rgba(54, 200, 111, 0.3), transparent 66%);
}

.landing-page .hero-orb-two {
    left: -7%;
    top: 17%;
    background: radial-gradient(circle, rgba(72, 160, 181, 0.22), transparent 68%);
}

.landing-page .credit-landing-stage {
    position: relative;
    min-height: 760px;
    padding: 158px 0 68px;
}

.landing-page .credit-landing-copy {
    position: relative;
    z-index: 4;
    max-width: 480px;
}

.landing-page .hero-pill {
    color: #9ce6b7;
    border-color: rgba(123, 226, 160, 0.3);
    background: rgba(67, 178, 108, 0.12);
}

.landing-page .hero-title {
    max-width: 490px;
    font-size: clamp(3.2rem, 5.8vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.07em;
}

.landing-page .hero-title span {
    color: rgba(232, 241, 246, 0.56);
}

.landing-page .hero-copy {
    max-width: 430px;
    margin-bottom: 1.75rem;
    color: rgba(225, 237, 244, 0.7);
}

.landing-page .hero-actions .btn-premium {
    gap: 0.65rem;
    color: #092019;
    border-color: rgba(136, 241, 165, 0.66);
    background: linear-gradient(135deg, #96edaa, #56c779);
    box-shadow: 0 16px 34px rgba(23, 164, 83, 0.2);
}

.landing-page .hero-actions .btn-premium:hover,
.landing-page .hero-actions .btn-premium:focus {
    color: #092019;
    background: linear-gradient(135deg, #a3f3b3, #61d282);
}

.landing-page .hero-security-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.1rem;
    color: rgba(218, 234, 239, 0.64);
    font-size: 0.8rem;
}

.landing-page .hero-security-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #5ad384;
    box-shadow: 0 0 0 5px rgba(90, 211, 132, 0.11);
}

.landing-page .credit-report-device {
    position: absolute;
    right: 23.5%;
    bottom: -108px;
    z-index: 3;
    width: 326px;
    min-height: 615px;
    padding: 1.2rem;
    overflow: hidden;
    color: #102a29;
    border: 6px solid rgba(222, 235, 232, 0.76);
    border-bottom: 0;
    border-radius: 38px 38px 0 0;
    background: linear-gradient(155deg, #f6fbfa, #dae7e4);
    box-shadow:
        0 38px 70px rgba(0, 0, 0, 0.34),
        inset 0 0 0 2px rgba(7, 20, 29, 0.6);
    transform: perspective(1000px) rotateY(-10deg) rotateZ(-4deg);
    transform-origin: bottom center;
}

.landing-page .device-topbar,
.landing-page .device-score-row,
.landing-page .device-score-range,
.landing-page .device-section-title,
.landing-page .device-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-page .device-topbar {
    padding: 0.25rem 0.15rem 1.2rem;
}

.landing-page .device-caption,
.landing-page .device-topbar strong,
.landing-page .device-score-card small,
.landing-page .device-account-row small {
    display: block;
}

.landing-page .device-caption {
    margin-bottom: 0.15rem;
    color: #54706c;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.landing-page .device-topbar strong {
    font-size: 0.82rem;
}

.landing-page .device-shield {
    width: 1.4rem;
    height: 1.55rem;
    background: #258a5c;
    clip-path: polygon(50% 0, 100% 18%, 88% 72%, 50% 100%, 12% 72%, 0 18%);
}

.landing-page .device-score-card {
    padding: 1.15rem;
    color: #effbf4;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 15% 10%, rgba(57, 195, 108, 0.56), transparent 52%),
        #10283a;
}

.landing-page .device-score-card small {
    color: rgba(235, 250, 242, 0.72);
}

.landing-page .device-score-row {
    margin: 0.55rem 0 0.85rem;
}

.landing-page .device-score-row strong {
    font-size: 2.75rem;
    line-height: 1;
}

.landing-page .device-score-row span {
    padding: 0.22rem 0.52rem;
    color: #a6f1b9;
    border-radius: 999px;
    background: rgba(107, 230, 145, 0.15);
    font-size: 0.65rem;
}

.landing-page .device-score-track,
.landing-page .floating-progress {
    height: 0.35rem;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.13);
}

.landing-page .device-score-track span,
.landing-page .floating-progress i {
    display: block;
    width: 67%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6ae28c, #b0efaa);
}

.landing-page .device-score-range {
    margin-top: 0.45rem;
}

.landing-page .device-score-range small {
    font-size: 0.55rem;
}

.landing-page .device-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin: 1rem 0 1.2rem;
}

.landing-page .device-insight-grid div {
    padding: 0.72rem 0.45rem;
    text-align: center;
    border: 1px solid rgba(14, 64, 61, 0.08);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.58);
}

.landing-page .device-insight-icon,
.landing-page .device-insight-grid small,
.landing-page .device-insight-grid strong {
    display: block;
}

.landing-page .device-insight-icon {
    color: #238a5c;
    font-size: 1rem;
    font-weight: 700;
}

.landing-page .device-insight-grid small,
.landing-page .device-account-row small {
    margin: 0.25rem 0 0.08rem;
    color: #708682;
    font-size: 0.55rem;
}

.landing-page .device-insight-grid strong,
.landing-page .device-section-title {
    font-size: 0.68rem;
}

.landing-page .device-section-title {
    margin-bottom: 0.45rem;
}

.landing-page .device-section-title span {
    color: #298a60;
    font-size: 0.62rem;
}

.landing-page .device-account-row {
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.62rem 0;
    border-top: 1px solid rgba(35, 83, 79, 0.1);
}

.landing-page .device-account-row div {
    flex: 1;
}

.landing-page .device-account-row strong,
.landing-page .device-account-row b {
    font-size: 0.64rem;
}

.landing-page .device-account-row b {
    color: #258a5c;
}

.landing-page .account-bullet {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #44bd71;
}

.landing-page .account-bullet-blue {
    background: #4b8dad;
}

.landing-page .credit-floating-card {
    position: absolute;
    z-index: 5;
    padding: 1rem 1.1rem;
    color: #edf8f3;
    border: 1px solid rgba(231, 255, 239, 0.28);
    background: rgba(10, 25, 38, 0.48);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.landing-page .credit-floating-card::before,
.landing-page .credit-floating-card::after {
    content: "";
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background: #eef8f4;
}

.landing-page .credit-floating-card::before {
    top: -0.2rem;
    left: -0.2rem;
}

.landing-page .credit-floating-card::after {
    right: -0.2rem;
    bottom: -0.2rem;
}

.landing-page .credit-floating-card span,
.landing-page .credit-floating-card small,
.landing-page .credit-floating-card em {
    display: block;
}

.landing-page .credit-floating-card span {
    color: rgba(223, 239, 233, 0.7);
    font-size: 0.72rem;
}

.landing-page .credit-floating-score {
    right: 0;
    top: 214px;
    width: 208px;
}

.landing-page .credit-floating-score strong {
    color: #73dc91;
    font-size: 2.35rem;
    font-weight: 500;
}

.landing-page .credit-floating-score small {
    display: inline;
    color: rgba(223, 239, 233, 0.62);
}

.landing-page .credit-floating-score em {
    margin-top: 0.35rem;
    color: #73dc91;
    font-size: 0.68rem;
    font-style: normal;
}

.landing-page .credit-floating-readiness {
    right: 0;
    top: 368px;
    width: 172px;
}

.landing-page .credit-floating-readiness strong {
    display: block;
    margin: 0.35rem 0 0.65rem;
    color: #73dc91;
    font-size: 1.85rem;
    font-weight: 500;
}

.landing-page .credit-floating-secure {
    left: 3%;
    bottom: 58px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.landing-page .credit-floating-secure strong,
.landing-page .credit-floating-secure small {
    display: block;
}

.landing-page .credit-floating-secure strong {
    font-size: 0.78rem;
}

.landing-page .credit-floating-secure small {
    color: rgba(223, 239, 233, 0.58);
    font-size: 0.66rem;
}

.landing-page .floating-lock {
    width: 1rem;
    height: 1.12rem;
    border-radius: 0.35rem;
    background: #6bdd8d;
    clip-path: polygon(20% 32%, 28% 0, 72% 0, 80% 32%, 100% 32%, 100% 100%, 0 100%, 0 32%);
}

.landing-page .credit-landing-aside {
    position: absolute;
    right: 0;
    bottom: 74px;
    z-index: 4;
    width: 236px;
    text-align: right;
}

.landing-page .credit-landing-aside p {
    color: rgba(226, 238, 242, 0.7);
    font-size: 0.85rem;
    line-height: 1.7;
}

.landing-page .credit-aside-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.7rem;
    padding: 0.78rem 1.05rem;
    color: #eef7f2;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.landing-page .credit-aside-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.landing-page .landing-proof {
    padding: clamp(4rem, 7vw, 6.6rem) 0;
    text-align: center;
    background: #fff;
}

.landing-page .proof-stars {
    color: #42bb6a;
    font-size: 1.65rem;
    letter-spacing: 0.28em;
}

.landing-page .landing-proof blockquote {
    max-width: 900px;
    margin: 1.7rem auto 3rem;
    color: #162c32;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.34;
}

.landing-page .proof-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.landing-page .proof-metrics div {
    padding: 0.4rem 1rem;
    border-right: 1px solid #e5ebe8;
}

.landing-page .proof-metrics div:last-child {
    border-right: 0;
}

.landing-page .proof-metrics strong,
.landing-page .proof-metrics span {
    display: block;
}

.landing-page .proof-metrics strong {
    color: #143a34;
    font-size: 1.25rem;
}

.landing-page .proof-metrics span {
    margin-top: 0.25rem;
    color: #73847f;
    font-size: 0.73rem;
}

@media (max-width: 1199px) {
    .landing-page .credit-landing-stage {
        min-height: 720px;
    }

    .landing-page .credit-report-device {
        right: 24%;
        width: 290px;
    }

    .landing-page .credit-floating-score,
    .landing-page .credit-floating-readiness,
    .landing-page .credit-landing-aside {
        right: 1%;
    }

    .landing-page .credit-landing-aside {
        width: 200px;
    }
}

@media (max-width: 991px) {
    .landing-page .cinematic-hero {
        min-height: auto;
    }

    .landing-page .credit-landing-stage {
        min-height: 1010px;
        padding-top: 138px;
    }

    .landing-page .credit-landing-copy {
        max-width: 620px;
    }

    .landing-page .hero-title,
    .landing-page .hero-copy {
        max-width: 590px;
    }

    .landing-page .credit-report-device {
        right: 50%;
        bottom: -92px;
        width: 300px;
        transform: translateX(50%) perspective(1000px) rotateY(-8deg) rotateZ(-3deg);
    }

    .landing-page .credit-floating-score {
        top: auto;
        right: 5%;
        bottom: 318px;
    }

    .landing-page .credit-floating-readiness {
        top: auto;
        right: 4%;
        bottom: 195px;
    }

    .landing-page .credit-floating-secure {
        left: 4%;
        bottom: 224px;
    }

    .landing-page .credit-landing-aside {
        display: none;
    }
}

@media (max-width: 575px) {
    .landing-page .credit-grid-lines {
        background-size: 92px 92px;
    }

    .landing-page .credit-landing-stage {
        min-height: 910px;
        padding-top: 122px;
    }

    .landing-page .hero-title {
        font-size: clamp(3rem, 16vw, 4.1rem);
    }

    .landing-page .credit-report-device {
        width: 260px;
        bottom: -110px;
    }

    .landing-page .credit-floating-score {
        right: 0;
        bottom: 265px;
        width: 152px;
        padding: 0.72rem;
    }

    .landing-page .credit-floating-score strong {
        font-size: 1.8rem;
    }

    .landing-page .credit-floating-readiness {
        display: none;
    }

    .landing-page .credit-floating-secure {
        left: 0;
        bottom: 186px;
        padding: 0.72rem;
    }

    .landing-page .proof-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-page .proof-metrics div:nth-child(2) {
        border-right: 0;
    }

    .landing-page .proof-metrics div:nth-child(n + 3) {
        margin-top: 1rem;
    }
}

/* Landing hero artwork and ReCredify brand palette. */
.landing-page .cinematic-hero {
    background:
        radial-gradient(circle at 51% 17%, rgba(108, 92, 231, 0.54), transparent 31%),
        radial-gradient(circle at 6% 58%, rgba(55, 92, 190, 0.38), transparent 28%),
        radial-gradient(circle at 100% 56%, rgba(102, 66, 205, 0.3), transparent 26%),
        linear-gradient(115deg, #090f22 0%, #10152f 46%, #090e20 100%);
}

.landing-page .credit-grid-lines {
    background-image:
        linear-gradient(rgba(176, 167, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 167, 255, 0.12) 1px, transparent 1px);
}

.landing-page .hero-orb-one {
    background: radial-gradient(circle, rgba(108, 92, 231, 0.36), transparent 66%);
}

.landing-page .hero-orb-two {
    background: radial-gradient(circle, rgba(74, 112, 236, 0.24), transparent 68%);
}

.landing-page .hero-pill {
    color: #c5bcff;
    border-color: rgba(139, 124, 255, 0.38);
    background: rgba(108, 92, 231, 0.14);
}

.landing-page .hero-actions .btn-premium {
    color: #fff;
    border-color: rgba(164, 151, 255, 0.72);
    background: linear-gradient(135deg, #8b7cff, #6554e8);
    box-shadow: 0 16px 34px rgba(88, 69, 221, 0.28);
}

.landing-page .hero-actions .btn-premium:hover,
.landing-page .hero-actions .btn-premium:focus {
    color: #fff;
    background: linear-gradient(135deg, #9d91ff, #7463f0);
}

.landing-page .hero-security-dot {
    background: #8b7cff;
    box-shadow: 0 0 0 5px rgba(139, 124, 255, 0.13);
}

.landing-page .credit-app-preview {
    position: absolute;
    right: 10%;
    bottom: -112px;
    z-index: 3;
    width: min(700px, 58vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 38px 52px rgba(0, 0, 0, 0.34));
    pointer-events: none;
}

.landing-page .credit-floating-card {
    border-color: rgba(194, 185, 255, 0.3);
    background: rgba(12, 16, 42, 0.56);
}

.landing-page .credit-floating-card::before,
.landing-page .credit-floating-card::after {
    background: #d8d2ff;
}

.landing-page .credit-floating-score strong,
.landing-page .credit-floating-score em,
.landing-page .credit-floating-readiness strong {
    color: #a99dff;
}

.landing-page .floating-progress i {
    background: linear-gradient(90deg, #6c5ce7, #a99dff);
}

.landing-page .floating-lock {
    background: #8b7cff;
}

.landing-page .proof-stars {
    color: #6c5ce7;
}

.landing-page .proof-metrics strong {
    color: #27234c;
}

@media (max-width: 1199px) {
    .landing-page .credit-app-preview {
        right: 8%;
        bottom: -86px;
        width: min(620px, 59vw);
    }
}

@media (max-width: 991px) {
    .landing-page .credit-app-preview {
        right: 50%;
        bottom: -98px;
        width: min(590px, 82vw);
        transform: translateX(50%);
    }
}

@media (max-width: 575px) {
    .landing-page .credit-app-preview {
        bottom: -38px;
        width: min(510px, 112vw);
    }
}

/* Framed ReCredify application hero with credit-intelligence widgets. */
.landing-page {
    background: #eef1f8;
}

.landing-page .cinematic-hero {
    min-height: 820px;
    margin: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(164, 151, 255, 0.32);
    border-radius: 2.8rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 30px 70px rgba(8, 10, 30, 0.2);
}

.landing-page .cinematic-hero::after {
    content: "";
    position: absolute;
    right: 8%;
    top: 16%;
    z-index: -1;
    width: 520px;
    height: 520px;
    opacity: 0.55;
    background-image: radial-gradient(rgba(164, 151, 255, 0.42) 1px, transparent 1px);
    background-size: 10px 10px;
    mask-image: radial-gradient(circle, #000 0%, transparent 70%);
    pointer-events: none;
}

.landing-page .credit-landing-stage {
    min-height: 820px;
    padding-top: 178px;
}

.landing-page .credit-landing-copy {
    max-width: 520px;
}

.landing-page .hero-title {
    max-width: 550px;
    font-size: clamp(3.3rem, 5.8vw, 5.75rem);
    line-height: 0.98;
}

.landing-page .hero-copy {
    max-width: 500px;
}

.landing-page .credit-app-preview {
    right: 8.5%;
    bottom: -58px;
    width: min(720px, 58vw);
}

.landing-page .credit-floating-card {
    border-radius: 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.landing-page .credit-floating-card::before,
.landing-page .credit-floating-card::after {
    width: 0.35rem;
    height: 0.35rem;
}

.landing-page .credit-widget-kicker {
    color: rgba(225, 221, 255, 0.64) !important;
    font-size: 0.67rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-page .credit-widget-value {
    margin-top: 0.35rem;
}

.landing-page .credit-floating-score {
    top: 234px;
    right: 2.5%;
    width: 210px;
}

.landing-page .credit-floating-readiness {
    top: 396px;
    right: 1%;
    width: 190px;
}

.landing-page .credit-floating-readiness small {
    margin-top: 0.58rem;
    color: rgba(223, 219, 255, 0.56);
    font-size: 0.67rem;
}

.landing-page .credit-floating-grade {
    top: 290px;
    right: 30%;
    width: 142px;
}

.landing-page .credit-floating-grade strong,
.landing-page .credit-floating-recovery strong {
    display: block;
    margin-top: 0.3rem;
    color: #a99dff;
    font-size: 2.1rem;
    line-height: 1;
}

.landing-page .credit-floating-grade em,
.landing-page .credit-floating-recovery em {
    margin-top: 0.4rem;
    color: rgba(223, 219, 255, 0.6);
    font-size: 0.66rem;
    font-style: normal;
}

.landing-page .credit-floating-recovery {
    right: 24.5%;
    bottom: 78px;
    width: 170px;
}

.landing-page .credit-floating-secure {
    left: auto;
    right: 3%;
    bottom: 88px;
}

.landing-page .credit-landing-aside {
    right: auto;
    left: 0;
    bottom: 74px;
    width: 220px;
    text-align: left;
}

.landing-page .credit-landing-aside span {
    color: #9e91ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.landing-page .credit-landing-aside p {
    margin-top: 0.62rem;
}

.landing-page .credit-widget-controls {
    position: absolute;
    right: 0.4%;
    top: 174px;
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}

.landing-page .credit-widget-controls span {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    color: #bcb3ff;
    border: 1px solid rgba(194, 185, 255, 0.28);
    border-radius: 50%;
    background: rgba(12, 16, 42, 0.48);
    place-items: center;
}

.landing-page .landing-proof {
    margin-top: -3.55rem;
    padding-top: 7.6rem;
}

@media (max-width: 1199px) {
    .landing-page .credit-app-preview {
        right: 7%;
        bottom: -26px;
        width: min(650px, 60vw);
    }

    .landing-page .credit-floating-grade {
        right: 26%;
    }

    .landing-page .credit-floating-recovery {
        right: 22%;
    }
}

@media (max-width: 991px) {
    .landing-page .cinematic-hero {
        min-height: 1120px;
        margin: 0.5rem;
        border-radius: 2.1rem;
    }

    .landing-page .credit-landing-stage {
        min-height: 1120px;
        padding-top: 148px;
    }

    .landing-page .credit-app-preview {
        right: 50%;
        bottom: -46px;
        width: min(660px, 87vw);
        transform: translateX(50%);
    }

    .landing-page .credit-floating-score {
        top: auto;
        right: 4%;
        bottom: 352px;
    }

    .landing-page .credit-floating-readiness {
        top: auto;
        right: 3%;
        bottom: 205px;
    }

    .landing-page .credit-floating-grade {
        top: auto;
        right: auto;
        left: 4%;
        bottom: 340px;
    }

    .landing-page .credit-floating-recovery {
        right: auto;
        left: 3%;
        bottom: 205px;
    }

    .landing-page .credit-floating-secure,
    .landing-page .credit-landing-aside,
    .landing-page .credit-widget-controls {
        display: none;
    }
}

@media (max-width: 575px) {
    .landing-page .cinematic-hero {
        min-height: 980px;
        margin: 0.35rem;
        border-radius: 1.55rem;
    }

    .landing-page .credit-landing-stage {
        min-height: 980px;
        padding-top: 126px;
    }

    .landing-page .hero-title {
        font-size: clamp(3rem, 15vw, 4.2rem);
    }

    .landing-page .credit-app-preview {
        bottom: 6px;
        width: min(540px, 124vw);
    }

    .landing-page .credit-floating-card {
        padding: 0.74rem;
        border-radius: 0.75rem;
    }

    .landing-page .credit-floating-score {
        right: 2%;
        bottom: 292px;
        width: 142px;
    }

    .landing-page .credit-floating-score strong {
        font-size: 1.65rem;
    }

    .landing-page .credit-floating-readiness {
        right: 2%;
        bottom: 188px;
        display: block;
        width: 142px;
    }

    .landing-page .credit-floating-readiness strong,
    .landing-page .credit-floating-grade strong,
    .landing-page .credit-floating-recovery strong {
        font-size: 1.45rem;
    }

    .landing-page .credit-floating-grade {
        left: 2%;
        bottom: 280px;
        width: 116px;
    }

    .landing-page .credit-floating-recovery {
        left: 2%;
        bottom: 178px;
        width: 142px;
    }

    .landing-page .credit-widget-kicker {
        font-size: 0.52rem !important;
        letter-spacing: 0.08em;
    }

    .landing-page .credit-floating-card em,
    .landing-page .credit-floating-card small {
        font-size: 0.56rem;
    }
}

/* Portrait phone artwork and reference-style bottom edge cut. */
.landing-page .hero-bottom-cut {
    position: absolute;
    right: 18%;
    bottom: -1px;
    z-index: 8;
    width: min(380px, 30vw);
    height: 66px;
    background: #eef1f8;
    border-radius: 52% 52% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

.landing-page .credit-app-preview {
    right: 17%;
    bottom: -48px;
    width: min(370px, 29vw);
    filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.3));
}

.landing-page .credit-floating-score {
    right: 3%;
}

.landing-page .credit-floating-readiness {
    right: 1.5%;
}

.landing-page .credit-floating-grade {
    right: 31%;
}

.landing-page .credit-floating-recovery {
    right: 29%;
    bottom: 108px;
}

.landing-page .credit-floating-secure {
    right: 3%;
    bottom: 112px;
}

.landing-page .landing-proof {
    margin-top: -0.75rem;
    padding-top: 6.2rem;
}

@media (max-width: 1199px) {
    .landing-page .credit-app-preview {
        right: 17%;
        bottom: -42px;
        width: min(350px, 30vw);
    }

    .landing-page .credit-floating-grade {
        right: 31%;
    }

    .landing-page .credit-floating-recovery {
        right: 28%;
    }
}

@media (max-width: 991px) {
    .landing-page .hero-bottom-cut {
        right: 50%;
        width: min(360px, 58vw);
        transform: translateX(50%);
    }

    .landing-page .credit-app-preview {
        right: 50%;
        bottom: -30px;
        width: min(360px, 58vw);
        transform: translateX(50%);
    }
}

@media (max-width: 575px) {
    .landing-page .hero-bottom-cut {
        width: min(270px, 72vw);
        height: 42px;
    }

    .landing-page .credit-app-preview {
        bottom: -8px;
        width: min(300px, 72vw);
    }
}

/* Reference-matched landing hero frame. */
.landing-page .cinematic-hero {
    min-height: 920px;
    margin: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 2.8rem;
    background:
        radial-gradient(circle at 73% 42%, rgba(102, 81, 209, 0.16), transparent 29%),
        radial-gradient(circle at 17% 47%, rgba(48, 79, 130, 0.13), transparent 32%),
        linear-gradient(112deg, #070d1b 0%, #091326 52%, #070d1c 100%);
}

.landing-page .cinematic-hero::before {
    opacity: 0.34;
}

.landing-page .credit-grid-lines {
    opacity: 0.22;
    background-size: 148px 148px;
}

.landing-page .credit-landing-stage {
    min-height: 780px;
    padding-top: 188px;
}

.landing-page .credit-landing-copy {
    max-width: 540px;
}

.landing-page .hero-pill {
    padding: 0.42rem 1rem;
    color: #bcb1ff;
    letter-spacing: 0.2em;
    background: rgba(108, 92, 231, 0.1);
}

.landing-page .hero-title {
    max-width: 560px;
    margin-top: 1.8rem;
    font-size: clamp(3.25rem, 5.2vw, 5.2rem);
    line-height: 1.02;
}

.landing-page .hero-copy {
    max-width: 510px;
    color: rgba(221, 227, 247, 0.66);
}

.landing-page .hero-actions .btn {
    min-width: 168px;
    border-radius: 999px;
}

.landing-page .credit-app-preview {
    right: 16%;
    bottom: 56px;
    width: min(390px, 31vw);
}

.landing-page .credit-floating-card {
    background: rgba(15, 20, 44, 0.88);
    border-color: rgba(190, 181, 255, 0.22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.landing-page .credit-floating-score {
    top: 258px;
    right: 3.4%;
    width: 225px;
}

.landing-page .credit-floating-readiness {
    top: 432px;
    right: 2%;
    width: 205px;
}

.landing-page .credit-floating-grade {
    top: 352px;
    right: 29%;
    z-index: 2;
    opacity: 0.52;
}

.landing-page .credit-floating-recovery {
    right: 26%;
    bottom: 178px;
}

.landing-page .credit-floating-secure {
    right: 3%;
    bottom: 176px;
}

.landing-page .credit-widget-controls {
    right: 2%;
    top: 194px;
}

.landing-page .credit-landing-aside {
    display: none;
}

.landing-page .hero-bottom-cut {
    display: none;
}

.landing-page .hero-lower-rail {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: grid;
    min-height: 142px;
    grid-template-columns: minmax(220px, 1fr) 180px minmax(620px, 2.35fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 4.5rem 1.05rem;
    color: #172039;
    background: #f7f8fc;
    border-radius: 0 0 2.65rem 2.65rem;
}

.landing-page .hero-lower-rail::before {
    content: "";
    position: absolute;
    top: -54px;
    left: 39%;
    width: 300px;
    height: 56px;
    background: #f7f8fc;
    border-radius: 52% 52% 0 0 / 100% 100% 0 0;
}

.landing-page .hero-rail-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-page .hero-rail-summary strong,
.landing-page .hero-rail-summary small {
    display: block;
}

.landing-page .hero-rail-summary strong {
    font-size: 0.88rem;
}

.landing-page .hero-rail-summary small {
    margin-top: 0.12rem;
    color: #7e879c;
    font-size: 0.72rem;
}

.landing-page .hero-rail-mark {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    color: #fff;
    border-radius: 0.78rem;
    background: linear-gradient(135deg, #725eff, #4937cf);
    font-weight: 700;
    place-items: center;
}

.landing-page .hero-rail-progress {
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: #dfe3ec;
}

.landing-page .hero-rail-progress span {
    display: block;
    width: 54%;
    height: 100%;
    border-radius: inherit;
    background: #6250df;
}

.landing-page .hero-rail-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}

.landing-page .hero-rail-tiles div {
    min-height: 76px;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e5ee;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.78);
}

.landing-page .hero-rail-tiles strong,
.landing-page .hero-rail-tiles span {
    display: block;
}

.landing-page .hero-rail-tiles strong {
    color: #4f3ed0;
    font-size: 1.2rem;
}

.landing-page .hero-rail-tiles span {
    margin-top: 0.28rem;
    color: #798195;
    font-size: 0.68rem;
}

.landing-page .landing-proof {
    margin-top: 0;
    padding-top: 5.6rem;
}

.landing-page .hero-actions {
    position: relative;
    z-index: 6;
}

.landing-page .hero-security-note {
    position: relative;
    z-index: 6;
    margin-top: 2rem;
}

.landing-page .credit-floating-recovery {
    bottom: 196px;
}

.landing-page .credit-floating-secure {
    bottom: 194px;
}

@media (max-width: 1199px) {
    .landing-page .hero-lower-rail {
        grid-template-columns: minmax(190px, 1fr) 120px minmax(520px, 2fr);
        gap: 1rem;
        padding-right: 2.3rem;
        padding-left: 2.3rem;
    }

    .landing-page .credit-app-preview {
        right: 16%;
        width: min(370px, 32vw);
    }
}

@media (max-width: 991px) {
    .landing-page .cinematic-hero {
        min-height: 1140px;
    }

    .landing-page .credit-landing-stage {
        min-height: 998px;
    }

    .landing-page .credit-app-preview {
        right: 50%;
        bottom: 82px;
        width: min(360px, 58vw);
    }

    .landing-page .hero-lower-rail {
        min-height: 142px;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem 1.4rem;
    }

    .landing-page .hero-lower-rail::before {
        left: 50%;
        width: min(320px, 60vw);
        transform: translateX(-50%);
    }

    .landing-page .hero-rail-summary,
    .landing-page .hero-rail-progress {
        display: none;
    }

    .landing-page .hero-rail-tiles div {
        min-height: 66px;
    }
}

@media (max-width: 575px) {
    .landing-page .cinematic-hero {
        min-height: 1060px;
    }

    .landing-page .credit-landing-stage {
        min-height: 918px;
    }

    .landing-page .credit-app-preview {
        bottom: 104px;
        width: min(300px, 72vw);
    }

    .landing-page .hero-lower-rail {
        min-height: 142px;
        padding: 0.78rem;
    }

    .landing-page .hero-lower-rail::before {
        top: -36px;
        width: min(250px, 68vw);
        height: 38px;
    }

    .landing-page .hero-rail-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }

    .landing-page .hero-rail-tiles div {
        min-height: 54px;
        padding: 0.56rem 0.68rem;
    }

    .landing-page .hero-rail-tiles strong {
        font-size: 0.98rem;
    }

    .landing-page .hero-rail-tiles span {
        margin-top: 0.12rem;
        font-size: 0.6rem;
    }
}

/* ReCredify dashboard design-system rollout. */
:root {
    --rc-dark-bg: #0f1117;
    --rc-dark-sidebar: #12151d;
    --rc-dark-card: #171b26;
    --rc-dark-raised: #1d2230;
    --rc-dark-border: rgba(255, 255, 255, 0.07);
    --rc-dark-text: #f7f8fc;
    --rc-dark-muted: #9aa4b2;
    --rc-purple: #6c5ce7;
    --rc-purple-soft: rgba(108, 92, 231, 0.14);
    --rc-success: #00c48c;
    --rc-warning: #ffb020;
    --rc-danger: #ff5a5a;
}

.auth-experience-page,
body:has(.verification-stage) {
    color: var(--rc-dark-text);
    background:
        radial-gradient(circle at 78% 12%, rgba(108, 92, 231, 0.18), transparent 28%),
        radial-gradient(circle at 8% 86%, rgba(52, 82, 170, 0.14), transparent 26%),
        var(--rc-dark-bg);
}

.auth-experience-page .app-master-header,
body:has(.verification-stage) .app-master-header {
    border-bottom: 1px solid var(--rc-dark-border);
    background: rgba(15, 17, 23, 0.96);
}

.auth-experience-page .auth-stage,
body:has(.verification-stage) .verification-stage {
    min-height: calc(100vh - 76px);
}

.auth-experience-page .auth-muted,
body:has(.verification-stage) .verification-aside p {
    color: var(--rc-dark-muted);
}

.auth-experience-page .glass-auth-card,
body:has(.verification-stage) .glass-auth-card {
    max-width: 620px;
    color: var(--rc-dark-text);
    border: 1px solid var(--rc-dark-border) !important;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
        rgba(23, 27, 38, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
}

.auth-experience-page .auth-card,
.auth-experience-page .otp-card {
    max-width: 540px;
}

.auth-experience-page h1,
.auth-experience-page h2,
body:has(.verification-stage) h1,
body:has(.verification-stage) h2,
body:has(.verification-stage) h3 {
    color: var(--rc-dark-text) !important;
}

.auth-experience-page .text-secondary,
body:has(.verification-stage) .text-secondary,
body:has(.verification-stage) .form-text,
body:has(.verification-stage) .sandbox-note {
    color: var(--rc-dark-muted) !important;
}

.auth-experience-page .auth-eyebrow,
body:has(.verification-stage) .auth-eyebrow,
body:has(.verification-stage) .verification-chip {
    color: #b7afff;
}

.auth-experience-page .glass-security,
body:has(.verification-stage) .verification-aside {
    padding: 1.1rem;
    border: 1px solid var(--rc-dark-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.auth-experience-page .form-control,
.auth-experience-page .form-select,
.auth-experience-page .input-group-text,
body:has(.verification-stage) .form-control,
body:has(.verification-stage) .form-select,
body:has(.verification-stage) .input-group-text {
    color: var(--rc-dark-text) !important;
    border-color: var(--rc-dark-border) !important;
    background: rgba(255, 255, 255, 0.045) !important;
}

.auth-experience-page .form-control::placeholder,
body:has(.verification-stage) .form-control::placeholder,
body:has(.verification-stage) textarea::placeholder {
    color: #727d8d;
}

.auth-experience-page .form-control:focus,
.auth-experience-page .form-select:focus,
body:has(.verification-stage) .form-control:focus,
body:has(.verification-stage) .form-select:focus {
    border-color: rgba(139, 124, 255, 0.76) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.18) !important;
}

.auth-experience-page .btn-primary,
body:has(.verification-stage) .btn-primary {
    border-color: var(--rc-purple) !important;
    background: var(--rc-purple) !important;
}

.auth-experience-page .btn-primary:hover,
body:has(.verification-stage) .btn-primary:hover {
    border-color: #7d6df0 !important;
    background: #7d6df0 !important;
}

.auth-experience-page .btn-outline-primary,
body:has(.verification-stage) .btn-outline-primary {
    color: #b7afff;
    border-color: rgba(139, 124, 255, 0.44);
}

.auth-experience-page .btn-link,
body:has(.verification-stage) .btn-link,
.auth-experience-page a,
body:has(.verification-stage) a {
    color: #b7afff;
}

body:has(.verification-stage) .verification-steps li {
    border-color: var(--rc-dark-border);
    background: rgba(255, 255, 255, 0.025);
}

body:has(.verification-stage) .verification-steps li > span {
    color: var(--rc-dark-muted);
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-raised);
}

body:has(.verification-stage) .verification-steps li.is-active > span,
body:has(.verification-stage) .verification-steps li.is-complete > span {
    color: #fff;
    border-color: var(--rc-purple);
    background: var(--rc-purple);
}

body:has(.verification-stage) .verification-steps strong {
    color: var(--rc-dark-text);
}

body:has(.verification-stage) .verification-steps small {
    color: var(--rc-dark-muted);
}

body:has(.verification-stage) .checkout-summary,
body:has(.verification-stage) .linked-details,
body:has(.verification-stage) .info-panel-box {
    color: var(--rc-dark-text);
    border: 1px solid var(--rc-dark-border) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

body:has(.verification-stage) #cibilTabs {
    border-color: var(--rc-dark-border) !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

body:has(.verification-stage) #cibilTabs .nav-link {
    color: var(--rc-dark-muted) !important;
}

body:has(.verification-stage) #cibilTabs .nav-link.active {
    color: #fff !important;
    background: var(--rc-purple) !important;
    box-shadow: none !important;
}

body:has(.verification-stage) #cibilTabs .nav-link.active::after {
    background: #d9d5ff !important;
}

body:has(.verification-stage) .commercial-modal-content {
    color: var(--rc-dark-text);
    border-color: var(--rc-dark-border) !important;
    background: rgba(23, 27, 38, 0.98) !important;
}

body:has(.verification-stage) .commercial-modal-header,
body:has(.verification-stage) .commercial-modal-footer {
    border-color: var(--rc-dark-border) !important;
    background: var(--rc-dark-raised) !important;
}

body:has(.verification-stage) .modal .text-dark,
body:has(.verification-stage) .modal .text-secondary {
    color: var(--rc-dark-text) !important;
}

body:has(.verification-stage) .modal .text-secondary {
    color: var(--rc-dark-muted) !important;
}

.member-dashboard-page:not(.personal-credit-dashboard),
.admin-dashboard-page {
    --suite-card: var(--rc-dark-card);
    --suite-text: var(--rc-dark-text);
    --suite-muted: var(--rc-dark-muted);
    --suite-border: var(--rc-dark-border);
    color: var(--rc-dark-text);
    background: var(--rc-dark-bg);
}

.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-layout,
.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-content,
.admin-dashboard-page .dashboard-layout,
.admin-dashboard-page .dashboard-content {
    background: var(--rc-dark-bg);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-sidebar,
.admin-dashboard-page .suite-sidebar {
    color: var(--rc-dark-muted);
    border-color: var(--rc-dark-border) !important;
    background: var(--rc-dark-sidebar) !important;
    box-shadow: none;
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-sidebar-brand span,
.admin-dashboard-page .suite-sidebar-brand span {
    color: var(--rc-dark-text);
}

.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-nav .nav-link,
.admin-dashboard-page .dashboard-nav .nav-link {
    color: var(--rc-dark-muted) !important;
}

.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-nav .nav-link:hover,
.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-nav .nav-link.active,
.admin-dashboard-page .dashboard-nav .nav-link:hover,
.admin-dashboard-page .dashboard-nav .nav-link.active {
    color: #fff !important;
    background: var(--rc-purple-soft);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-command-bar,
.admin-dashboard-page .suite-command-bar {
    border-color: var(--rc-dark-border);
    background: rgba(15, 17, 23, 0.96);
    box-shadow: none;
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-search,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-filter,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-icon-action,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-avatar-button,
.admin-dashboard-page .suite-search,
.admin-dashboard-page .suite-filter,
.admin-dashboard-page .suite-icon-action,
.admin-dashboard-page .suite-avatar-button {
    color: var(--rc-dark-muted);
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-card);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-search input,
.admin-dashboard-page .suite-search input {
    color: var(--rc-dark-text);
    background: transparent;
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-card,
.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-panel,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-metric,
.admin-dashboard-page .suite-card,
.admin-dashboard-page .admin-panel,
.admin-dashboard-page .suite-metric {
    color: var(--rc-dark-text);
    border-color: var(--rc-dark-border) !important;
    background: var(--rc-dark-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16) !important;
}

.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-page-heading,
.admin-dashboard-page .admin-heading,
.admin-dashboard-page .suite-title-row {
    border-color: var(--rc-dark-border);
    background: linear-gradient(135deg, rgba(36, 41, 61, 0.96), rgba(23, 27, 38, 0.98));
    box-shadow: none;
}

.member-dashboard-page:not(.personal-credit-dashboard) h1,
.member-dashboard-page:not(.personal-credit-dashboard) h2,
.member-dashboard-page:not(.personal-credit-dashboard) h3,
.admin-dashboard-page h1,
.admin-dashboard-page h2,
.admin-dashboard-page h3 {
    color: var(--rc-dark-text);
}

.member-dashboard-page:not(.personal-credit-dashboard) p,
.member-dashboard-page:not(.personal-credit-dashboard) small,
.admin-dashboard-page p,
.admin-dashboard-page small {
    color: var(--rc-dark-muted);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-data-table,
.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-table,
.admin-dashboard-page .suite-data-table,
.admin-dashboard-page .admin-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--rc-dark-muted);
    --bs-table-border-color: var(--rc-dark-border);
    color: var(--rc-dark-muted);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-data-table thead th,
.member-dashboard-page:not(.personal-credit-dashboard) .dashboard-table thead th,
.admin-dashboard-page .suite-data-table thead th,
.admin-dashboard-page .admin-table thead th {
    color: #747f90;
    background: rgba(255, 255, 255, 0.025);
}

.member-dashboard-page:not(.personal-credit-dashboard) .form-control,
.member-dashboard-page:not(.personal-credit-dashboard) .form-select,
.admin-dashboard-page .form-control,
.admin-dashboard-page .form-select {
    color: var(--rc-dark-text);
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-raised);
}

.member-dashboard-page:not(.personal-credit-dashboard) .dropdown-menu,
.admin-dashboard-page .dropdown-menu {
    color: var(--rc-dark-text);
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-raised);
}

.member-dashboard-page:not(.personal-credit-dashboard) .dropdown-item,
.admin-dashboard-page .dropdown-item {
    color: var(--rc-dark-muted);
}

.member-dashboard-page:not(.personal-credit-dashboard) .dropdown-item:hover,
.admin-dashboard-page .dropdown-item:hover {
    color: #fff;
    background: var(--rc-purple-soft);
}

.portal-empty,
.dashboard-empty,
.suite-empty {
    padding: 1.4rem;
    border: 1px dashed rgba(139, 124, 255, 0.34);
    border-radius: 16px;
    background: rgba(108, 92, 231, 0.06);
}

.suite-skeleton {
    background: rgba(255, 255, 255, 0.06);
}

.suite-skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(139, 124, 255, 0.18), transparent);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-notification-menu,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-profile-menu,
.admin-dashboard-page .suite-notification-menu,
.admin-dashboard-page .suite-profile-menu {
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-raised);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-notification-menu div,
.admin-dashboard-page .suite-notification-menu div {
    border-bottom-color: var(--rc-dark-border);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-notification-item:hover,
.admin-dashboard-page .suite-notification-item:hover {
    background: var(--rc-purple-soft);
}

.member-dashboard-page:not(.personal-credit-dashboard) .suite-notification-item.is-unread,
.admin-dashboard-page .suite-notification-item.is-unread {
    background: rgba(108, 92, 231, 0.08);
}

.admin-dashboard-page .text-dark,
.admin-dashboard-page .bg-light,
.admin-dashboard-page .modal-content .text-dark {
    color: var(--rc-dark-text) !important;
}

.admin-dashboard-page .bg-light,
.admin-dashboard-page .modal-content,
.admin-dashboard-page .modal-header,
.admin-dashboard-page .modal-footer,
.admin-dashboard-page .card {
    border-color: var(--rc-dark-border) !important;
    background: var(--rc-dark-card) !important;
}

.admin-dashboard-page .modal-header,
.admin-dashboard-page .modal-footer {
    background: var(--rc-dark-raised) !important;
}

.admin-dashboard-page .suite-list-item,
.admin-dashboard-page .suite-kanban-column,
.admin-dashboard-page .suite-kanban-task,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-list-item,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-kanban-column,
.member-dashboard-page:not(.personal-credit-dashboard) .suite-kanban-task {
    color: var(--rc-dark-text);
    border-color: var(--rc-dark-border);
    background: var(--rc-dark-raised);
}

.auth-experience-page footer,
body:has(.verification-stage) footer {
    color: var(--rc-dark-muted);
    border-color: var(--rc-dark-border) !important;
    background: var(--rc-dark-bg) !important;
}

.auth-experience-page .alert,
body:has(.verification-stage) .alert,
.admin-dashboard-page .alert {
    border-radius: 14px;
}
/* Unified member portal theme: keep secondary pages aligned with the approved overview. */
.portal-theme-dashboard {
    --portal-bg: #0f1117;
    --portal-sidebar: #12151d;
    --portal-card: #171b26;
    --portal-card-raised: #1b2030;
    --portal-border: rgba(255, 255, 255, 0.06);
    --portal-text: #ffffff;
    --portal-muted: #9aa4b2;
    --portal-accent: #6c5ce7;
    --portal-accent-soft: rgba(108, 92, 231, 0.16);
    color: var(--portal-text);
    background: var(--portal-bg) !important;
    font-family: var(--rc-font-ui, "Segoe UI", Arial, sans-serif);
}

.portal-theme-dashboard .dashboard-layout,
.portal-theme-dashboard .dashboard-content,
.portal-theme-dashboard .dashboard-main,
.portal-theme-dashboard .member-dashboard {
    background: var(--portal-bg) !important;
}

.portal-theme-dashboard .member-dashboard {
    max-width: 1680px;
    padding: 24px 32px 56px !important;
}

.portal-theme-dashboard .portal-page-heading {
    display: block;
    min-height: 0;
    margin-bottom: 24px !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.portal-theme-dashboard .portal-page-heading::before,
.portal-theme-dashboard .portal-page-heading::after {
    display: none;
}

.portal-theme-dashboard .portal-page-heading .dashboard-heading-meta {
    display: none;
}

.portal-theme-dashboard .portal-page-heading h1 {
    margin: 0 0 4px;
    color: var(--portal-text);
    font-size: clamp(1.65rem, 1.18rem, 2rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.portal-theme-dashboard .portal-page-heading p {
    max-width: 860px;
    margin: 0;
    color: var(--portal-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.portal-theme-dashboard .dashboard-panel,
.portal-theme-dashboard .suite-card,
.portal-theme-dashboard .suite-metric,
.portal-theme-dashboard .dashboard-form-card,
.portal-theme-dashboard .appointment-card,
.portal-theme-dashboard .portal-side-card,
.portal-theme-dashboard .portal-module-card,
.portal-theme-dashboard .empty-state-card {
    border: 1px solid var(--portal-border) !important;
    border-radius: 20px !important;
    background: var(--portal-card) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.portal-theme-dashboard .dashboard-panel,
.portal-theme-dashboard .suite-card,
.portal-theme-dashboard .dashboard-form-card,
.portal-theme-dashboard .appointment-card,
.portal-theme-dashboard .portal-side-card,
.portal-theme-dashboard .portal-module-card {
    padding: 20px;
}

.portal-theme-dashboard .row.g-4 {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
}

.portal-theme-dashboard .portal-module-grid {
    gap: 20px;
    margin-top: 20px;
}

.portal-theme-dashboard .portal-stat-row {
    gap: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.portal-theme-dashboard .suite-metric {
    min-height: 148px;
    padding: 20px;
}

.portal-theme-dashboard .dashboard-panel h2,
.portal-theme-dashboard .dashboard-panel h3,
.portal-theme-dashboard .suite-card h2,
.portal-theme-dashboard .suite-card h3,
.portal-theme-dashboard .dashboard-form-card h2,
.portal-theme-dashboard .dashboard-form-card h3 {
    color: var(--portal-text);
    letter-spacing: -0.025em;
}

.portal-theme-dashboard .dashboard-panel p,
.portal-theme-dashboard .suite-card p,
.portal-theme-dashboard .dashboard-form-card p,
.portal-theme-dashboard .appointment-card p,
.portal-theme-dashboard .portal-side-card p {
    color: var(--portal-muted);
}

.portal-theme-dashboard .panel-heading,
.portal-theme-dashboard .card-heading,
.portal-theme-dashboard .suite-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.portal-theme-dashboard .notice-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--portal-border);
}

.portal-theme-dashboard .notice-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.portal-theme-dashboard .notice-row strong,
.portal-theme-dashboard .activity-timeline strong {
    color: var(--portal-text);
}

.portal-theme-dashboard .notice-row p,
.portal-theme-dashboard .activity-timeline p,
.portal-theme-dashboard .activity-timeline small {
    color: var(--portal-muted) !important;
}

.portal-theme-dashboard .activity-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-theme-dashboard .activity-timeline li {
    position: relative;
    padding: 0 0 20px 22px;
    color: var(--portal-text);
}

.portal-theme-dashboard .activity-timeline li:last-child {
    padding-bottom: 0;
}

.portal-theme-dashboard .activity-timeline li::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--portal-accent);
    content: "";
}

.portal-theme-dashboard .activity-timeline li::after {
    position: absolute;
    top: 17px;
    bottom: 0;
    left: 4px;
    width: 1px;
    background: rgba(108, 92, 231, 0.3);
    content: "";
}

.portal-theme-dashboard .activity-timeline li:last-child::after {
    display: none;
}

.portal-theme-dashboard .table,
.portal-theme-dashboard .dashboard-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--portal-muted);
    --bs-table-border-color: var(--portal-border);
    margin-bottom: 0;
    color: var(--portal-muted);
}

.portal-theme-dashboard .table th,
.portal-theme-dashboard .dashboard-table th {
    color: rgba(226, 231, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portal-theme-dashboard .table td,
.portal-theme-dashboard .dashboard-table td {
    color: var(--portal-muted);
    vertical-align: middle;
}

.portal-theme-dashboard .form-control,
.portal-theme-dashboard .form-select,
.portal-theme-dashboard textarea {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--portal-text);
    background: #121722;
}

.portal-theme-dashboard .form-control:focus,
.portal-theme-dashboard .form-select:focus,
.portal-theme-dashboard textarea:focus {
    border-color: rgba(139, 124, 255, 0.7);
    color: var(--portal-text);
    background: #121722;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.16);
}

.portal-theme-dashboard .suite-sidebar {
    background: var(--portal-sidebar) !important;
}

.portal-theme-dashboard .suite-sidebar .dashboard-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
}

.portal-theme-dashboard .suite-sidebar .sidebar-utility-link {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
}

.portal-theme-dashboard .suite-sidebar .sidebar-utility-section {
    margin-inline: 0;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.member-dashboard-page .suite-sidebar .dashboard-sidebar-inner,
.admin-dashboard-page .suite-sidebar .dashboard-sidebar-inner,
.personal-credit-dashboard .suite-sidebar .dashboard-sidebar-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh;
}

.member-dashboard-page .suite-sidebar .dashboard-nav,
.admin-dashboard-page .suite-sidebar .dashboard-nav,
.personal-credit-dashboard .suite-sidebar .dashboard-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 124, 255, 0.38) rgba(255, 255, 255, 0.035);
}

.member-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar,
.admin-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar,
.personal-credit-dashboard .suite-sidebar .dashboard-nav::-webkit-scrollbar {
    width: 6px;
}

.member-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-track,
.admin-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-track,
.personal-credit-dashboard .suite-sidebar .dashboard-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.025);
    border-radius: 999px;
}

.member-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb,
.admin-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb,
.personal-credit-dashboard .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(139, 124, 255, 0.38);
}

.member-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb:hover,
.admin-dashboard-page .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb:hover,
.personal-credit-dashboard .suite-sidebar .dashboard-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 124, 255, 0.58);
}

.member-dashboard-page .suite-sidebar .sidebar-utility-section,
.admin-dashboard-page .suite-sidebar .sidebar-utility-section,
.personal-credit-dashboard .suite-sidebar .sidebar-utility-section {
    margin-top: auto !important;
}

/* ReCredify internal dashboard refinement layer */
.admin-dashboard-page .suite-table-toolbar.admin-table-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--rc-dark-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-dashboard-page .admin-table-wrap {
    border: 1px solid var(--rc-dark-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    overflow: visible;
}

.admin-dashboard-page .admin-table {
    min-width: 920px;
}

.admin-dashboard-page .admin-table th,
.admin-dashboard-page .suite-data-table th {
    white-space: nowrap;
}

.admin-dashboard-page .admin-table td,
.admin-dashboard-page .suite-data-table td {
    vertical-align: middle;
}

.admin-dashboard-page .admin-table td:last-child,
.admin-dashboard-page .suite-data-table td:last-child {
    text-align: right;
}

.admin-dashboard-page .admin-table strong,
.admin-dashboard-page .suite-data-table strong {
    color: var(--rc-dark-text);
}

.admin-dashboard-page .admin-table td small,
.admin-dashboard-page .suite-data-table td small {
    display: block;
    margin-top: 3px;
    color: var(--rc-dark-muted);
}

.admin-table-primary {
    display: block;
    color: var(--rc-dark-text);
    font-weight: 650;
}

.super-row-actions.is-table-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 280px;
}

.admin-action-details {
    position: relative;
}

.admin-action-details > summary {
    list-style: none;
    cursor: pointer;
}

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

.admin-action-details[open] > summary {
    color: #fff;
    border-color: rgba(139, 124, 255, 0.6);
    background: rgba(108, 92, 231, 0.18);
}

.admin-action-details .super-edit-form {
    width: min(360px, 82vw);
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
    text-align: left;
    border: 1px solid rgba(139, 124, 255, 0.28);
    border-radius: 12px;
    background: #151a25;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.admin-action-details .super-edit-form label {
    color: var(--rc-dark-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-action-details .super-edit-form .dashboard-form-actions {
    grid-column: 1 / -1;
}

.admin-dashboard-page .btn-sm {
    min-height: 32px;
}

.admin-dashboard-page .admin-action-menu {
    display: inline-flex;
    justify-content: flex-end;
}

.admin-dashboard-page .admin-action-menu .dropdown-menu {
    min-width: 180px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.admin-dashboard-page .admin-action-menu .dropdown-item {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-dashboard-page .admin-action-menu .dropdown-item.text-danger {
    color: #ff5c78 !important;
}

.admin-dashboard-page .admin-action-menu .dropdown-item.text-danger:hover {
    color: #fff !important;
    background: rgba(255, 76, 106, 0.18);
}

.admin-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rc-dark-border);
    color: var(--rc-dark-muted);
    font-size: 0.84rem;
}

.admin-detail-grid,
.admin-form-grid,
.admin-kpi-strip,
.admin-edit-context {
    display: grid;
    gap: 12px;
}

.admin-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.admin-kpi-strip {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.admin-edit-context {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.admin-detail-grid > div,
.admin-kpi-strip > div,
.admin-edit-context > div {
    padding: 14px;
    border: 1px solid var(--rc-dark-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-detail-grid small,
.admin-kpi-strip small,
.admin-edit-context small {
    display: block;
    margin-bottom: 6px;
    color: var(--rc-dark-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-detail-grid strong,
.admin-kpi-strip strong,
.admin-edit-context strong {
    color: var(--rc-dark-text);
    font-size: 0.95rem;
}

.admin-edit-form {
    padding-bottom: 0;
}

.admin-sticky-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 24px -1.25rem 0;
    padding: 14px 1.25rem;
    border-top: 1px solid var(--rc-dark-border);
    border-radius: 0 0 12px 12px;
    background: rgba(18, 22, 31, 0.96);
    backdrop-filter: blur(14px);
}

.admin-confirm-modal .modal-content {
    border: 1px solid var(--rc-dark-border);
    border-radius: 14px;
    background: var(--rc-dark-card);
}

.admin-confirm-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.72;
}

@media (max-width: 991.98px) {
    .admin-dashboard-page .suite-table-toolbar.admin-table-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-page .admin-table-wrap {
        overflow-x: auto;
    }

    .super-row-actions.is-table-actions {
        justify-content: flex-start;
    }

    .admin-action-details .super-edit-form {
        grid-template-columns: 1fr;
    }

    .admin-detail-grid,
    .admin-form-grid,
    .admin-edit-context {
        grid-template-columns: 1fr;
    }

    .admin-pagination-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.portal-theme-dashboard .suite-sidebar .navigation-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

.portal-theme-dashboard .suite-sidebar .navigation-glyph {
    width: 24px;
    height: 24px;
}

.portal-theme-dashboard .suite-sidebar-brand,
.portal-theme-dashboard .suite-sidebar-brand:hover,
.portal-theme-dashboard .suite-sidebar-brand:focus,
.portal-theme-dashboard .suite-sidebar-brand:active {
    background: transparent !important;
    box-shadow: none !important;
}

.portal-theme-dashboard .suite-sidebar-brand-row {
    position: relative;
    z-index: 10000;
}

.portal-theme-dashboard .suite-sidebar-brand-row .sidebar-edge-toggle {
    position: absolute !important;
    top: 18px !important;
    right: -29px !important;
    z-index: 10001 !important;
    transform: translateY(-50%) !important;
}

.portal-theme-dashboard .suite-sidebar.is-collapsed .suite-sidebar-brand-row .sidebar-edge-toggle {
    right: -19px !important;
}

@media (max-width: 767.98px) {
    .portal-theme-dashboard .member-dashboard {
        padding: 20px 16px 40px !important;
    }

    .portal-theme-dashboard .dashboard-panel,
    .portal-theme-dashboard .suite-card,
    .portal-theme-dashboard .dashboard-form-card,
    .portal-theme-dashboard .appointment-card,
    .portal-theme-dashboard .portal-side-card,
    .portal-theme-dashboard .portal-module-card {
        padding: 16px;
    }
}

/* Auth and verification screens use the same neutral dashboard background and card system. */
.auth-experience-page,
.workflow-experience-page,
body:has(.verification-stage) {
    color: #ffffff;
    background: #0f1117 !important;
}

.auth-experience-page .auth-stage,
.workflow-experience-page .verification-stage,
body:has(.verification-stage) .verification-stage {
    background: #0f1117 !important;
}

.auth-experience-page .auth-card,
.auth-experience-page .glass-auth-card,
.workflow-experience-page .card,
.workflow-experience-page .glass-auth-card,
.workflow-experience-page .verification-panel,
.workflow-experience-page .verification-aside,
body:has(.verification-stage) .glass-auth-card,
body:has(.verification-stage) .verification-panel,
body:has(.verification-stage) .verification-aside {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    background: #171b26 !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

/* Icon-only dashboard controls do not need Bootstrap dropdown carets. */
.suite-icon-action.dropdown-toggle::after,
.suite-avatar-button.dropdown-toggle::after,
.sidebar-profile-card.dropdown-toggle::after {
    display: none !important;
}

.credit-kpi-card strong {
    margin: 8px 0 4px;
    font-size: 1.5rem;
}

/* Secondary portal reports use the same dark surface and readable hierarchy as overview. */
.portal-theme-dashboard .suite-metric small,
.portal-theme-dashboard .suite-panel-header small,
.portal-theme-dashboard .dashboard-label {
    color: rgba(153, 168, 255, 0.82);
}

.portal-theme-dashboard .suite-metric strong,
.portal-theme-dashboard .suite-panel-header h2,
.portal-theme-dashboard .dashboard-list-row strong,
.portal-theme-dashboard .report-detail-card strong,
.portal-theme-dashboard .suite-timeline strong {
    color: var(--portal-text);
}

.portal-theme-dashboard .suite-metric span,
.portal-theme-dashboard .dashboard-list-row small,
.portal-theme-dashboard .report-detail-card small,
.portal-theme-dashboard .report-detail-card span,
.portal-theme-dashboard .suite-timeline small {
    color: var(--portal-muted);
}

.portal-theme-dashboard .dashboard-list-row,
.portal-theme-dashboard .portal-mini-metric,
.portal-theme-dashboard .report-detail-card {
    border: 1px solid var(--portal-border);
    background: #141925;
}

.portal-theme-dashboard .dashboard-list-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    border-radius: 14px;
}

.portal-theme-dashboard .dashboard-list-row .btn {
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.portal-theme-dashboard .portal-mini-metric span {
    color: var(--portal-muted);
}

.portal-theme-dashboard .portal-mini-metric strong {
    color: var(--portal-text);
}

.portal-theme-dashboard .suite-data-table {
    color: var(--portal-muted);
}

.portal-theme-dashboard .suite-data-table thead {
    background: #121722;
}

.portal-theme-dashboard .suite-data-table thead th {
    color: rgba(198, 207, 255, 0.72);
    background: #121722 !important;
}

.portal-theme-dashboard .suite-data-table tbody td {
    color: var(--portal-muted);
    border-bottom-color: var(--portal-border);
    background: #171b26 !important;
}

.portal-theme-dashboard .suite-data-table tbody td strong {
    color: var(--portal-text);
}

.portal-theme-dashboard .suite-data-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.07);
}

.portal-theme-dashboard .suite-data-table tbody tr:hover td {
    background: rgba(108, 92, 231, 0.07) !important;
}

.portal-theme-dashboard .suite-timeline li::before {
    border-color: rgba(139, 124, 255, 0.32);
    background: var(--portal-accent);
}

.portal-theme-dashboard .suite-timeline li:not(:last-child)::after {
    background: rgba(139, 124, 255, 0.26);
}

.portal-theme-dashboard .portal-empty {
    border-color: rgba(139, 124, 255, 0.24);
    background: #141925;
}

.portal-theme-dashboard .portal-empty-icon {
    color: #a99cff;
    background: rgba(108, 92, 231, 0.16);
}

.portal-theme-dashboard .portal-empty strong {
    color: var(--portal-text);
}

.portal-theme-dashboard .portal-empty p {
    color: var(--portal-muted);
}

.portal-theme-dashboard .status-ready,
.portal-theme-dashboard .status-completed,
.portal-theme-dashboard .status-confirmed,
.portal-theme-dashboard .status-resolved,
.portal-theme-dashboard .status-active {
    color: #8fe8c4;
    background: rgba(20, 137, 101, 0.18);
}

.portal-theme-dashboard .status-requested,
.portal-theme-dashboard .status-processing,
.portal-theme-dashboard .status-in_progress,
.portal-theme-dashboard .status-authorized,
.portal-theme-dashboard .status-pending {
    color: #b4a7ff;
    background: rgba(108, 92, 231, 0.18);
}

/* Shared portal standards: a restrained type scale and repeatable spacing rhythm. */
.portal-theme-dashboard .member-dashboard {
    font-size: 0.9rem;
    line-height: 1.55;
}

.portal-theme-dashboard .dashboard-panel,
.portal-theme-dashboard .suite-card,
.portal-theme-dashboard .dashboard-form-card,
.portal-theme-dashboard .appointment-card,
.portal-theme-dashboard .portal-side-card,
.portal-theme-dashboard .portal-module-card {
    padding: 20px;
}

.portal-theme-dashboard .dashboard-panel h2,
.portal-theme-dashboard .suite-card h2,
.portal-theme-dashboard .dashboard-form-card h2 {
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.portal-theme-dashboard .dashboard-panel h3,
.portal-theme-dashboard .suite-card h3,
.portal-theme-dashboard .dashboard-form-card h3 {
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.portal-theme-dashboard .dashboard-panel p,
.portal-theme-dashboard .suite-card p,
.portal-theme-dashboard .dashboard-form-card p,
.portal-theme-dashboard .portal-side-card p {
    margin-bottom: 0;
    font-size: 0.84rem;
    line-height: 1.65;
}

.portal-theme-dashboard .suite-panel-header,
.portal-theme-dashboard .panel-heading,
.portal-theme-dashboard .card-heading,
.portal-theme-dashboard .suite-card-heading {
    margin-bottom: 16px;
}

.portal-theme-dashboard .portal-module-grid,
.portal-theme-dashboard .row.g-3 {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
}

.portal-theme-dashboard .portal-mini-metrics,
.portal-theme-dashboard .report-detail-grid,
.portal-theme-dashboard .dashboard-list {
    gap: 10px;
}

@media (max-width: 767.98px) {
    .portal-theme-dashboard .dashboard-list-row {
        grid-template-columns: 1fr;
    }

    .portal-theme-dashboard .dashboard-list-row > :last-child {
        text-align: left;
    }

    .portal-theme-dashboard .dashboard-list-row .btn {
        justify-self: start;
        white-space: normal;
    }
}

/* Unified dashboard actions: hero-style filled primary and restrained outline secondary. */
.portal-theme-dashboard .btn,
.admin-dashboard-page .btn {
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.portal-theme-dashboard .btn-primary,
.admin-dashboard-page .btn-primary {
    color: #ffffff;
    border-color: #6c5ce7;
    background: #6c5ce7;
    box-shadow: none;
}

.portal-theme-dashboard .btn-primary:hover,
.portal-theme-dashboard .btn-primary:focus-visible,
.portal-theme-dashboard .btn-primary:active,
.admin-dashboard-page .btn-primary:hover,
.admin-dashboard-page .btn-primary:focus-visible,
.admin-dashboard-page .btn-primary:active {
    color: #ffffff;
    border-color: #8b7cff;
    background: #7868ee;
    box-shadow: 0 10px 22px rgba(108, 92, 231, 0.24);
    transform: translateY(-1px);
}

.portal-theme-dashboard .btn-outline-primary,
.portal-theme-dashboard .btn-outline-secondary,
.portal-theme-dashboard .btn-outline-light,
.admin-dashboard-page .btn-outline-primary,
.admin-dashboard-page .btn-outline-secondary,
.admin-dashboard-page .btn-outline-light {
    color: #d7dbe5;
    border-color: rgba(255, 255, 255, 0.14);
    background: transparent;
    box-shadow: none;
}

.portal-theme-dashboard .btn-outline-primary:hover,
.portal-theme-dashboard .btn-outline-primary:focus-visible,
.portal-theme-dashboard .btn-outline-primary:active,
.portal-theme-dashboard .btn-outline-secondary:hover,
.portal-theme-dashboard .btn-outline-secondary:focus-visible,
.portal-theme-dashboard .btn-outline-secondary:active,
.portal-theme-dashboard .btn-outline-light:hover,
.portal-theme-dashboard .btn-outline-light:focus-visible,
.portal-theme-dashboard .btn-outline-light:active,
.admin-dashboard-page .btn-outline-primary:hover,
.admin-dashboard-page .btn-outline-primary:focus-visible,
.admin-dashboard-page .btn-outline-primary:active,
.admin-dashboard-page .btn-outline-secondary:hover,
.admin-dashboard-page .btn-outline-secondary:focus-visible,
.admin-dashboard-page .btn-outline-secondary:active,
.admin-dashboard-page .btn-outline-light:hover,
.admin-dashboard-page .btn-outline-light:focus-visible,
.admin-dashboard-page .btn-outline-light:active {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.58);
    background: rgba(108, 92, 231, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

/* Reports overview: stacked summary, report center, and monitoring in one row. */
.portal-theme-dashboard .reports-overview-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 2.35fr) minmax(270px, 0.95fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 20px;
    margin-bottom: 20px;
}

.portal-theme-dashboard .reports-summary-stack {
    display: grid;
    gap: 16px;
}

.portal-theme-dashboard .reports-summary-stack .suite-metric {
    min-height: 0;
}

.portal-theme-dashboard .reports-overview-grid > .dashboard-panel,
.portal-theme-dashboard .reports-overview-grid > .portal-side-card {
    height: 100%;
}

@media (max-width: 1199.98px) {
    .portal-theme-dashboard .reports-overview-grid {
        grid-template-columns: minmax(180px, 0.78fr) minmax(0, 2fr);
    }

    .portal-theme-dashboard .reports-overview-grid > .portal-side-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .portal-theme-dashboard .reports-overview-grid {
        grid-template-columns: 1fr;
    }

    .portal-theme-dashboard .reports-overview-grid > .portal-side-card {
        grid-column: auto;
    }
}

/* Profile and form controls: independent section cards with dark, consistent fields. */
.portal-theme-dashboard .profile-settings-layout {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.portal-theme-dashboard .profile-settings-layout .dashboard-form-grid {
    width: 100%;
    gap: 16px;
}

.portal-theme-dashboard .profile-settings-layout .dashboard-form-card {
    min-height: 100%;
}

.portal-theme-dashboard .form-control[readonly],
.portal-theme-dashboard .form-control:disabled,
.portal-theme-dashboard .form-control.is-verified {
    color: #8fe8c4;
    border-color: rgba(57, 191, 144, 0.22);
    background: rgba(20, 137, 101, 0.1);
    opacity: 1;
}

.portal-theme-dashboard input[type="date"],
.portal-theme-dashboard input[type="datetime-local"] {
    color-scheme: dark;
    padding-right: 44px;
}

.portal-theme-dashboard input[type="date"]::-webkit-calendar-picker-indicator,
.portal-theme-dashboard input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    margin-right: 2px;
    padding: 7px;
    border-radius: 9px;
    cursor: pointer;
    filter: invert(80%) sepia(10%) saturate(801%) hue-rotate(203deg) brightness(104%) contrast(92%);
    opacity: 0.88;
}

.portal-theme-dashboard input[type="date"]::-webkit-calendar-picker-indicator:hover,
.portal-theme-dashboard input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(108, 92, 231, 0.18);
    opacity: 1;
}

.dashboard-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.dashboard-form-actions.is-compact {
    margin-top: 10px;
}

.admin-status-row > .btn:last-child,
.permission-editor > .dashboard-form-actions {
    justify-self: end;
}

.dashboard-modal .modal-footer {
    justify-content: flex-end;
}

/* Premium calendar: shared replacement for browser-native date popups. */
.premium-calendar-input {
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 45%, #a99cff 45%, #a99cff 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #a99cff 45%, #a99cff 55%, transparent 55%);
    background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px;
}

.premium-calendar {
    position: absolute;
    z-index: 12000;
    padding: 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: #171b26;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    font-family: var(--rc-font-ui, "Segoe UI", Arial, sans-serif);
    animation: suite-dropdown-in 160ms ease both;
}

.premium-calendar-header,
.premium-calendar-footer,
.premium-calendar-weekdays,
.premium-calendar-days {
    display: grid;
    align-items: center;
}

.premium-calendar-header {
    grid-template-columns: 34px 1fr 34px;
    gap: 8px;
    margin-bottom: 12px;
    text-align: center;
}

.premium-calendar-header strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.premium-calendar-nav {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #c9c3ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 1.35rem;
    line-height: 1;
}

.premium-calendar-nav:hover {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.52);
    background: rgba(108, 92, 231, 0.16);
}

.premium-calendar-weekdays,
.premium-calendar-days {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.premium-calendar-weekdays {
    margin-bottom: 6px;
    color: #7f8aa2;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.premium-calendar-day {
    width: 100%;
    min-height: 34px;
    color: #dce2f2;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    font-size: 0.78rem;
}

.premium-calendar-day:hover:not(:disabled) {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.3);
    background: rgba(108, 92, 231, 0.14);
}

.premium-calendar-day.is-muted {
    color: #566074;
}

.premium-calendar-day.is-today {
    border-color: rgba(139, 124, 255, 0.58);
}

.premium-calendar-day.is-selected {
    color: #ffffff;
    border-color: #6c5ce7;
    background: #6c5ce7;
    box-shadow: 0 6px 14px rgba(108, 92, 231, 0.24);
}

.premium-calendar-day:disabled {
    cursor: not-allowed;
    opacity: 0.28;
}

.premium-calendar-time {
    display: grid;
    grid-template-columns: 1fr 104px;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #aeb7ca;
    font-size: 0.75rem;
    font-weight: 700;
}

.premium-calendar-time input {
    min-height: 36px;
    padding: 6px 8px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: #121722;
    color-scheme: dark;
}

.premium-calendar-footer {
    grid-auto-flow: column;
    justify-content: end;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.premium-calendar-link,
.premium-calendar-apply {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 700;
}

.premium-calendar-link {
    color: #aeb7ca;
    border: 1px solid transparent;
    background: transparent;
}

.premium-calendar-link:hover {
    color: #ffffff;
    background: rgba(108, 92, 231, 0.12);
}

.premium-calendar-apply {
    color: #ffffff;
    border: 1px solid #6c5ce7;
    background: #6c5ce7;
}

/* Portal popups and dropdowns share the same dark card and field system. */
.member-dashboard-page .modal-content,
.admin-dashboard-page .modal-content,
.workflow-experience-page .modal-content,
.auth-experience-page .modal-content,
.member-dashboard-page .dropdown-menu,
.admin-dashboard-page .dropdown-menu,
.workflow-experience-page .dropdown-menu,
.auth-experience-page .dropdown-menu {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    background: #1b2030 !important;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32) !important;
}

.member-dashboard-page .modal-header,
.member-dashboard-page .modal-footer,
.admin-dashboard-page .modal-header,
.admin-dashboard-page .modal-footer,
.workflow-experience-page .modal-header,
.workflow-experience-page .modal-footer,
.auth-experience-page .modal-header,
.auth-experience-page .modal-footer {
    border-color: rgba(255, 255, 255, 0.07) !important;
    background: transparent !important;
}

.member-dashboard-page .modal-title,
.admin-dashboard-page .modal-title,
.workflow-experience-page .modal-title,
.auth-experience-page .modal-title {
    color: #ffffff;
}

.member-dashboard-page .modal-content .form-control,
.member-dashboard-page .modal-content .form-select,
.member-dashboard-page .modal-content textarea,
.admin-dashboard-page .modal-content .form-control,
.admin-dashboard-page .modal-content .form-select,
.admin-dashboard-page .modal-content textarea,
.workflow-experience-page .modal-content .form-control,
.workflow-experience-page .modal-content .form-select,
.workflow-experience-page .modal-content textarea,
.auth-experience-page .modal-content .form-control,
.auth-experience-page .modal-content .form-select,
.auth-experience-page .modal-content textarea {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: #121722 !important;
}

.member-dashboard-page .modal-content .form-select option,
.admin-dashboard-page .modal-content .form-select option,
.workflow-experience-page .modal-content .form-select option,
.auth-experience-page .modal-content .form-select option {
    color: #ffffff;
    background: #171b26;
}

.member-dashboard-page .modal-content .input-group-text,
.admin-dashboard-page .modal-content .input-group-text,
.workflow-experience-page .modal-content .input-group-text,
.auth-experience-page .modal-content .input-group-text {
    color: #aeb7ca;
    border-color: rgba(255, 255, 255, 0.1);
    background: #171b26;
}

.member-dashboard-page .dropdown-item,
.admin-dashboard-page .dropdown-item,
.workflow-experience-page .dropdown-item,
.auth-experience-page .dropdown-item {
    color: #aeb7ca;
}

.member-dashboard-page .dropdown-item:hover,
.member-dashboard-page .dropdown-item:focus,
.admin-dashboard-page .dropdown-item:hover,
.admin-dashboard-page .dropdown-item:focus,
.workflow-experience-page .dropdown-item:hover,
.workflow-experience-page .dropdown-item:focus,
.auth-experience-page .dropdown-item:hover,
.auth-experience-page .dropdown-item:focus {
    color: #ffffff;
    background: rgba(108, 92, 231, 0.14);
}

.member-dashboard-page .modal-content .btn-close,
.admin-dashboard-page .modal-content .btn-close,
.workflow-experience-page .modal-content .btn-close,
.auth-experience-page .modal-content .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.72;
}

.member-dashboard-page .modal-backdrop,
.admin-dashboard-page .modal-backdrop,
.workflow-experience-page .modal-backdrop,
.auth-experience-page .modal-backdrop {
    --bs-backdrop-opacity: 0.68;
}

/* Reports page KPI cards reuse the overview dashboard's distinct color system. */
.portal-theme-dashboard .report-kpi-grid .suite-metric {
    position: relative;
    isolation: isolate;
    min-height: 166px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 88% 105%, var(--report-kpi-glow), transparent 44%),
        linear-gradient(145deg, var(--report-kpi-wash), #171b26 68%);
}

.portal-theme-dashboard .report-kpi-grid .suite-metric::before {
    position: absolute;
    right: -18px;
    bottom: -38px;
    z-index: -1;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    content: "";
    opacity: 0.7;
    background: var(--report-kpi-glow);
    filter: blur(30px);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-1 {
    --report-kpi-wash: rgba(62, 50, 129, 0.76);
    --report-kpi-glow: rgba(103, 86, 255, 0.56);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-2 {
    --report-kpi-wash: rgba(17, 72, 84, 0.76);
    --report-kpi-glow: rgba(35, 198, 220, 0.5);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-3 {
    --report-kpi-wash: rgba(16, 75, 65, 0.76);
    --report-kpi-glow: rgba(17, 198, 150, 0.48);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-4 {
    --report-kpi-wash: rgba(90, 61, 21, 0.72);
    --report-kpi-glow: rgba(242, 184, 75, 0.48);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-5 {
    --report-kpi-wash: rgba(90, 36, 45, 0.74);
    --report-kpi-glow: rgba(255, 100, 115, 0.46);
}

.portal-theme-dashboard .report-kpi-grid .report-kpi-tone-6 {
    --report-kpi-wash: rgba(65, 37, 102, 0.74);
    --report-kpi-glow: rgba(154, 95, 255, 0.5);
}

.personal-credit-dashboard .snapshot-kpi-grid .credit-kpi-card {
    min-height: 150px;
}

.portal-theme-dashboard .report-kpi-grid .suite-metric {
    min-height: 100px;
}

/* Admin operations design system: shared tokens and reusable enterprise UI rules. */
:root {
    --admin-bg: #0f1117;
    --admin-surface: #171b26;
    --admin-surface-raised: #1b2030;
    --admin-surface-subtle: #141925;
    --admin-border: rgba(255, 255, 255, 0.07);
    --admin-border-strong: rgba(255, 255, 255, 0.12);
    --admin-text: #f7f8fc;
    --admin-muted: #a6afc0;
    --admin-subtle: #788398;
    --admin-primary: #6c5ce7;
    --admin-primary-hover: #7868ee;
    --admin-success: #39bf90;
    --admin-warning: #e8ab48;
    --admin-danger: #ef6a78;
    --admin-info: #4e9cff;
    --admin-radius-sm: 10px;
    --admin-radius-md: 14px;
    --admin-radius-lg: 20px;
    --admin-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    --admin-space-1: 6px;
    --admin-space-2: 10px;
    --admin-space-3: 16px;
    --admin-space-4: 20px;
    --admin-space-5: 28px;
}

.admin-dashboard-page {
    color: var(--admin-text);
    background: var(--admin-bg);
}

.admin-dashboard-page .dashboard-content {
    background: var(--admin-bg);
}

.admin-dashboard-page .suite-dashboard,
.admin-dashboard-page .admin-console {
    display: grid;
    gap: var(--admin-space-3);
    padding: 24px 28px 32px;
}

.admin-dashboard-page .admin-console > .row,
.admin-dashboard-page .admin-console > .suite-title-row,
.admin-dashboard-page .admin-console > .suite-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.admin-dashboard-page .suite-card,
.admin-dashboard-page .admin-panel,
.admin-dashboard-page .admin-card,
.admin-dashboard-page .suite-metric,
.admin-dashboard-page .dashboard-panel {
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    background: var(--admin-surface);
    box-shadow: none;
}

.admin-dashboard-page .suite-card,
.admin-dashboard-page .admin-panel,
.admin-dashboard-page .admin-card,
.admin-dashboard-page .dashboard-panel {
    padding: var(--admin-space-4);
}

.admin-dashboard-page .suite-title-row,
.admin-dashboard-page .admin-heading {
    gap: var(--admin-space-3);
    margin: 0 !important;
    padding: 18px 20px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(23, 27, 38, 0.96) 54%);
}

.admin-dashboard-page .suite-title-row h1,
.admin-dashboard-page .admin-heading h1 {
    margin: 3px 0 4px;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    letter-spacing: -0.04em;
}

.admin-dashboard-page .suite-title-row p,
.admin-dashboard-page .admin-heading p,
.admin-dashboard-page .suite-card p {
    margin-bottom: 0;
    color: var(--admin-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.admin-dashboard-page .suite-title-row small,
.admin-dashboard-page .admin-eyebrow,
.admin-dashboard-page .suite-panel-header small,
.admin-dashboard-page .suite-metric small {
    color: rgba(153, 168, 255, 0.9);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-dashboard-page .suite-command-bar {
    gap: var(--admin-space-3);
    padding: 14px 22px;
    border-color: var(--admin-border);
    background: rgba(15, 17, 23, 0.94);
}

.admin-dashboard-page .suite-search {
    width: min(620px, 48vw);
    max-width: 620px;
    border-color: var(--admin-border-strong);
    background: var(--admin-surface-subtle);
}

.admin-dashboard-page .suite-filter,
.admin-dashboard-page .suite-icon-action,
.admin-dashboard-page .suite-avatar-button {
    border-color: var(--admin-border);
    background: var(--admin-surface);
}

.admin-dashboard-page .suite-sidebar .sidebar-section-label {
    margin-top: 18px;
    color: rgba(175, 186, 215, 0.78);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link {
    min-height: 48px;
    padding: 11px 14px;
    color: var(--admin-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active {
    color: #ffffff;
    background: rgba(108, 92, 231, 0.16);
}

.admin-dashboard-page .suite-sidebar .navigation-icon,
.admin-dashboard-page .suite-sidebar .navigation-glyph {
    width: 24px;
    height: 24px;
}

.admin-dashboard-page .suite-metric {
    min-height: 126px;
    padding: 18px;
}

.admin-dashboard-page .admin-kpi-card {
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--admin-kpi-accent) 34%, transparent);
    background: linear-gradient(145deg, color-mix(in srgb, var(--admin-kpi-accent) 13%, #171b26), #171b26 78%);
}

.admin-dashboard-page .admin-kpi-card::after {
    position: absolute;
    right: -34px;
    bottom: -58px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    content: "";
    background: color-mix(in srgb, var(--admin-kpi-accent) 35%, transparent);
    filter: blur(34px);
}

.admin-kpi-blue { --admin-kpi-accent: #4e9cff; }
.admin-kpi-purple { --admin-kpi-accent: #8b7cff; }
.admin-kpi-amber { --admin-kpi-accent: #e8ab48; }
.admin-kpi-green { --admin-kpi-accent: #39bf90; }

.admin-dashboard-page .suite-panel-header {
    gap: var(--admin-space-3);
    margin-bottom: var(--admin-space-3);
}

.admin-dashboard-page .suite-panel-header h2 {
    margin: 3px 0 0;
    color: var(--admin-text);
    font-size: 1rem;
    font-weight: 750;
}

.admin-activity-widget {
    padding: 16px 20px !important;
}

.admin-activity-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.admin-activity-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    color: var(--admin-text);
    text-decoration: none;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-md);
    background: var(--admin-surface-subtle);
}

.admin-activity-item:hover {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.42);
    background: rgba(108, 92, 231, 0.1);
}

.admin-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--admin-info);
    box-shadow: 0 0 0 4px rgba(78, 156, 255, 0.12);
}

.admin-activity-item strong,
.admin-activity-item small {
    display: block;
}

.admin-activity-item strong {
    font-size: 0.82rem;
}

.admin-activity-item small {
    overflow: hidden;
    margin-top: 3px;
    color: var(--admin-muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-activity-item b {
    color: #a99cff;
    font-size: 0.72rem;
}

.admin-inline-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-inline-stats span {
    min-width: 94px;
    padding: 8px 10px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    background: var(--admin-surface-subtle);
}

.admin-inline-stats small,
.admin-inline-stats strong {
    display: block;
}

.admin-inline-stats small {
    color: var(--admin-subtle);
    font-size: 0.63rem;
}

.admin-inline-stats strong {
    margin-top: 3px;
    color: var(--admin-text);
    font-size: 0.95rem;
}

.admin-empty-state {
    display: grid;
    min-height: 184px;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding: 20px;
    color: var(--admin-muted);
    text-align: center;
    border: 1px dashed rgba(139, 124, 255, 0.28);
    border-radius: var(--admin-radius-md);
    background: var(--admin-surface-subtle);
}

.admin-empty-state strong {
    color: var(--admin-text);
    font-size: 0.9rem;
}

.admin-empty-state-compact {
    min-height: 112px;
}

.admin-empty-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    color: #a99cff;
    place-items: center;
    border-radius: 12px;
    background: rgba(108, 92, 231, 0.16);
}

.admin-queue-layout {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.admin-dashboard-page .admin-queue-layout .suite-donut {
    width: 138px;
    height: 138px;
    margin: 0;
}

.admin-queue-counts {
    display: grid;
    gap: 8px;
}

.admin-queue-counts span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    background: var(--admin-surface-subtle);
}

.admin-queue-counts i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--admin-primary);
}

.admin-queue-counts span:nth-child(2) i { background: var(--admin-success); }
.admin-queue-counts span:nth-child(3) i { background: var(--admin-warning); }

.admin-queue-counts small {
    color: var(--admin-muted);
    font-size: 0.74rem;
}

.admin-queue-counts strong {
    color: var(--admin-text);
    font-size: 0.9rem;
}

.admin-dashboard-page .suite-kanban {
    gap: 12px;
}

.admin-dashboard-page .suite-kanban-column {
    min-height: 190px;
    padding: 13px;
    border-color: var(--admin-border);
    border-radius: var(--admin-radius-md);
    background: var(--admin-surface-subtle);
}

.admin-dashboard-page .suite-kanban-column h3 {
    min-height: 28px;
    margin-bottom: 10px;
    color: rgba(198, 207, 255, 0.84);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-dashboard-page .suite-kanban-task {
    min-height: 58px;
    padding: 10px;
    border-color: var(--admin-border);
    border-radius: var(--admin-radius-sm);
    background: var(--admin-surface-raised);
}

.admin-dashboard-page .table-responsive {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-md);
}

.admin-dashboard-page .suite-data-table,
.admin-dashboard-page .admin-table,
.admin-dashboard-page .dashboard-table,
.admin-dashboard-page .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--admin-muted);
    --bs-table-border-color: var(--admin-border);
    margin-bottom: 0;
    color: var(--admin-muted);
}

.admin-dashboard-page .suite-data-table thead th,
.admin-dashboard-page .admin-table thead th,
.admin-dashboard-page .dashboard-table thead th,
.admin-dashboard-page .table thead th {
    color: rgba(198, 207, 255, 0.78);
    border-bottom-color: var(--admin-border);
    background: #121722 !important;
}

.admin-dashboard-page .suite-data-table tbody td,
.admin-dashboard-page .admin-table tbody td,
.admin-dashboard-page .dashboard-table tbody td,
.admin-dashboard-page .table tbody td {
    color: var(--admin-muted);
    border-bottom-color: var(--admin-border);
    background: var(--admin-surface) !important;
}

.admin-dashboard-page .suite-data-table tbody tr:hover td,
.admin-dashboard-page .admin-table tbody tr:hover td,
.admin-dashboard-page .dashboard-table tbody tr:hover td,
.admin-dashboard-page .table tbody tr:hover td {
    background: rgba(108, 92, 231, 0.08) !important;
}

.admin-dashboard-page .text-dark {
    color: var(--admin-text) !important;
}

.admin-dashboard-page .form-control,
.admin-dashboard-page .form-select,
.admin-dashboard-page textarea,
.admin-dashboard-page .input-group-text {
    color: var(--admin-text);
    border-color: var(--admin-border-strong);
    border-radius: var(--admin-radius-sm);
    background-color: var(--admin-surface-subtle);
}

.admin-dashboard-page .form-control:focus,
.admin-dashboard-page .form-select:focus,
.admin-dashboard-page textarea:focus {
    color: var(--admin-text);
    border-color: rgba(139, 124, 255, 0.72);
    background: var(--admin-surface-subtle);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.14);
}

.admin-dashboard-page .form-select option {
    color: var(--admin-text);
    background: var(--admin-surface);
}

.admin-dashboard-page .alert {
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-md);
    background: var(--admin-surface-raised);
}

.admin-overflow-card {
    overflow: hidden;
}

.admin-reference-code {
    font-size: 0.8rem;
}

.admin-file-name {
    max-width: 180px;
    font-size: 0.72rem;
}

.admin-table-select {
    width: auto;
    max-width: 170px;
    padding: 0.2rem 1.8rem 0.2rem 0.4rem;
    font-size: 0.78rem;
}

.admin-dashboard-page .admin-table-action {
    min-height: 32px;
    padding: 5px 9px;
    border-radius: 8px;
    font-size: 0.72rem;
}

.admin-reference-badge {
    font-size: 0.85rem;
    border-color: var(--admin-border-strong) !important;
}

.admin-meta-badge {
    font-size: 0.78rem;
    font-weight: 600;
}

.admin-request-details {
    min-height: 80px;
    max-height: 180px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.5;
    border-color: var(--admin-border) !important;
    border-radius: var(--admin-radius-sm);
    background: var(--admin-surface-subtle);
}

.admin-request-notes {
    min-height: 80px;
    resize: vertical;
}

.admin-dashboard-page .modal-content .bg-light,
.admin-dashboard-page .bg-light {
    color: var(--admin-muted) !important;
    border-color: var(--admin-border) !important;
    background: var(--admin-surface-subtle) !important;
}

.admin-dashboard-page .bg-secondary-subtle {
    color: #c6cfff !important;
    border-color: rgba(153, 168, 255, 0.22) !important;
    background: rgba(104, 119, 176, 0.14) !important;
}

.admin-dashboard-page .bg-warning-subtle {
    color: #f5c76d !important;
    border-color: rgba(232, 171, 72, 0.24) !important;
    background: rgba(232, 171, 72, 0.13) !important;
}

.admin-dashboard-page .bg-info-subtle {
    color: #8ec5ff !important;
    border-color: rgba(78, 156, 255, 0.24) !important;
    background: rgba(78, 156, 255, 0.13) !important;
}

.admin-dashboard-page .bg-success-subtle {
    color: #8fe8c4 !important;
    border-color: rgba(57, 191, 144, 0.24) !important;
    background: rgba(57, 191, 144, 0.13) !important;
}

.admin-dashboard-page .bg-danger-subtle {
    color: #ffabb4 !important;
    border-color: rgba(239, 106, 120, 0.24) !important;
    background: rgba(239, 106, 120, 0.13) !important;
}

.admin-dashboard-page .pagination {
    gap: 6px;
}

.admin-dashboard-page .page-link {
    color: var(--admin-muted);
    border-color: var(--admin-border);
    border-radius: 8px !important;
    background: var(--admin-surface-subtle);
}

.admin-dashboard-page .page-link:hover,
.admin-dashboard-page .page-link:focus {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.46);
    background: rgba(108, 92, 231, 0.16);
    box-shadow: none;
}

/* Admin dashboard visual corrections after the consolidated theme rollout. */
.admin-dashboard-page .suite-sidebar-toggle {
    z-index: 40;
    color: #aeb7ca;
    border: 1px solid var(--admin-border-strong);
    background: #171b26;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.admin-dashboard-page .suite-sidebar-toggle:hover,
.admin-dashboard-page .suite-sidebar-toggle:focus-visible {
    color: #ffffff;
    border-color: rgba(139, 124, 255, 0.56);
    background: #20263a;
}

.admin-dashboard-page .suite-sidebar-brand,
.admin-dashboard-page .suite-sidebar-brand:hover,
.admin-dashboard-page .suite-sidebar-brand:focus {
    color: #ffffff;
    background: transparent !important;
    box-shadow: none !important;
}

.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link {
    color: #a8b2c6;
}

.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link .navigation-icon {
    color: #919db1;
}

.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link:hover .navigation-icon,
.admin-dashboard-page .suite-sidebar .dashboard-nav .nav-link.active .navigation-icon {
    color: #b8adff;
}

.admin-dashboard-page .suite-sidebar .admin-sidebar-badge {
    color: #b8adff;
    border: 1px solid rgba(139, 124, 255, 0.26);
    background: rgba(108, 92, 231, 0.12);
}

.admin-dashboard-page .suite-sidebar .sidebar-profile-card {
    color: var(--admin-text);
    border-color: var(--admin-border);
    background: var(--admin-surface);
}

.admin-dashboard-page .suite-sidebar .sidebar-profile-card strong {
    color: #f7f8fc;
}

.admin-dashboard-page .suite-sidebar .sidebar-profile-card small {
    color: #98a4b8;
}

.admin-dashboard-page .suite-metric strong,
.admin-dashboard-page .admin-kpi-card strong {
    position: relative;
    z-index: 1;
    color: #ffffff !important;
}

.admin-dashboard-page .admin-kpi-card span {
    position: relative;
    z-index: 1;
    color: #b6c0d0;
}

.admin-dashboard-page .admin-kpi-purple span,
.admin-dashboard-page .admin-kpi-green span {
    color: #76dfb6;
}

.admin-dashboard-page .admin-analytics-heading {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(270px, auto);
    align-items: start;
}

.admin-dashboard-page .admin-inline-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    flex-wrap: nowrap;
    width: min(100%, 360px);
}

.admin-dashboard-page .admin-inline-stats span {
    min-width: 0;
}

.admin-dashboard-page .admin-inline-stats small {
    white-space: nowrap;
}

.admin-dashboard-page .admin-queue-layout .suite-donut {
    background: conic-gradient(#704cf4 0 68%, #28bc8c 68% 88%, #ecad40 88% 96%, rgba(255, 255, 255, 0.12) 96% 100%);
}

.admin-dashboard-page .suite-donut::after {
    color: #ffffff;
    border: 1px solid var(--admin-border);
    background: #141925;
}

.admin-dashboard-page .suite-bars {
    border-top: 1px solid var(--admin-border);
}

.admin-dashboard-page .suite-bars b {
    color: #a7b1c5;
}

.admin-dashboard-page .suite-data-table tbody td,
.admin-dashboard-page .admin-table tbody td,
.admin-dashboard-page .dashboard-table tbody td,
.admin-dashboard-page .table tbody td {
    color: #b8c1d0;
}

.admin-dashboard-page .suite-data-table tbody td strong,
.admin-dashboard-page .admin-table tbody td strong,
.admin-dashboard-page .dashboard-table tbody td strong,
.admin-dashboard-page .table tbody td strong {
    color: #f7f8fc;
}

.admin-dashboard-page .admin-activity-item strong {
    color: #f7f8fc;
}

.admin-dashboard-page .suite-timeline strong {
    color: #f7f8fc;
}

.admin-dashboard-page .suite-timeline small {
    color: #a6afc0;
}

@media (max-width: 1199.98px) {
    .admin-dashboard-page .admin-analytics-heading {
        align-items: flex-start;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .admin-inline-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .admin-dashboard-page .suite-dashboard,
    .admin-dashboard-page .admin-console {
        padding: 16px;
    }

    .admin-dashboard-page .suite-title-row,
    .admin-dashboard-page .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-command-actions,
    .admin-command-actions .btn {
        width: 100%;
    }

    .admin-dashboard-page .suite-search {
        width: 100%;
    }

    .admin-inline-stats {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-inline-stats span {
        min-width: 0;
    }

    .admin-queue-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .admin-queue-counts {
        width: 100%;
    }
}

/* Commercial CIBIL dashboard: existing portal components with business-credit depth. */
.portal-theme-dashboard .commercial-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 16px;
}

.portal-theme-dashboard .commercial-score-card {
    background:
        radial-gradient(circle at 82% 18%, rgba(108, 92, 231, 0.2), transparent 38%),
        linear-gradient(135deg, #18203b, #242653);
}

.commercial-score-layout {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
}

.commercial-score-layout > div:first-child strong,
.commercial-score-layout > div:first-child span,
.commercial-score-layout > div:first-child small {
    display: block;
}

.commercial-score-layout > div:first-child strong {
    color: #ffffff;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1;
}

.commercial-score-layout > div:first-child span {
    margin-top: 8px;
    color: #a99cff;
    font-size: 1rem;
    font-weight: 800;
}

.commercial-score-layout > div:first-child small {
    margin-top: 8px;
    color: var(--portal-muted);
}

.commercial-score-ring {
    display: grid;
    width: 148px;
    height: 148px;
    flex: 0 0 148px;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #1b2030 76%, transparent 77% 100%),
        conic-gradient(#8b7cff var(--commercial-score), rgba(255, 255, 255, 0.08) 0);
}

.commercial-score-ring b,
.commercial-score-ring small {
    display: block;
}

.commercial-score-ring b {
    color: #ffffff;
    font-size: 1.45rem;
}

.commercial-score-ring small {
    max-width: 84px;
    color: var(--portal-muted);
    font-size: 0.68rem;
}

.commercial-mini-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commercial-mini-grid div {
    padding: 13px;
    border: 1px solid var(--portal-border);
    border-radius: 12px;
    background: #141925;
}

.commercial-mini-grid small,
.commercial-mini-grid strong {
    display: block;
}

.commercial-mini-grid small {
    color: var(--portal-muted);
    font-size: 0.7rem;
}

.commercial-mini-grid strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 1rem;
}

.portal-theme-dashboard .commercial-tone-1,
.portal-theme-dashboard .commercial-tone-2,
.portal-theme-dashboard .commercial-tone-3,
.portal-theme-dashboard .commercial-tone-4 {
    border-color: rgba(255, 255, 255, 0.08);
}

.portal-theme-dashboard .commercial-tone-1 { background: linear-gradient(145deg, rgba(62, 50, 129, 0.78), #171b26 76%); }
.portal-theme-dashboard .commercial-tone-2 { background: linear-gradient(145deg, rgba(17, 72, 84, 0.78), #171b26 76%); }
.portal-theme-dashboard .commercial-tone-3 { background: linear-gradient(145deg, rgba(16, 75, 65, 0.78), #171b26 76%); }
.portal-theme-dashboard .commercial-tone-4 { background: linear-gradient(145deg, rgba(90, 61, 21, 0.74), #171b26 76%); }

.commercial-score-trend {
    display: grid;
    min-height: 230px;
    gap: 14px;
    align-items: end;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commercial-score-trend div {
    display: grid;
    height: 100%;
    gap: 8px;
    align-items: end;
    grid-template-rows: auto 1fr auto;
    text-align: center;
}

.commercial-score-trend strong {
    color: #ffffff;
    font-size: 0.85rem;
}

.commercial-score-trend i {
    display: block;
    width: min(100%, 62px);
    justify-self: center;
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient(180deg, #6c5ce7, #a99cff);
}

.commercial-score-trend small {
    color: var(--portal-muted);
}

.commercial-insights li {
    padding-bottom: 14px;
}

.commercial-insights strong {
    color: var(--portal-text);
    font-size: 0.82rem;
    line-height: 1.55;
}

.admin-request-summary,
.admin-published-indicator {
    padding: 13px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    background: var(--admin-surface-subtle);
}

.admin-request-summary small,
.admin-published-indicator strong,
.admin-published-indicator small {
    display: block;
}

.admin-request-summary small,
.admin-published-indicator small {
    color: var(--admin-muted);
    font-size: 0.74rem;
}

.admin-request-summary p {
    margin: 6px 0 0;
}

.admin-published-indicator {
    border-color: rgba(57, 191, 144, 0.24);
    background: rgba(57, 191, 144, 0.08);
}

.admin-published-indicator strong {
    color: #8fe8c4;
    font-size: 0.82rem;
}

@media (max-width: 767.98px) {
    .portal-theme-dashboard .commercial-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .commercial-score-layout {
        align-items: flex-start;
        flex-direction: column;
    }
}
.personal-credit-dashboard .commercial-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.personal-credit-dashboard .commercial-dashboard-grid > .suite-card,
.personal-credit-dashboard .commercial-score-card {
    min-height: 360px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: #171b26;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.personal-credit-dashboard .commercial-score-card {
    background:
        radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.20), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(138, 124, 255, 0.12), transparent 45%),
        linear-gradient(135deg, #18203b 0%, #21294b 45%, #2a2d63 100%);
}

.personal-credit-dashboard .commercial-score-layout > div:first-child > strong {
    font-size: clamp(3.4rem, 5vw, 4.8rem);
}

.personal-credit-dashboard .suite-metric.commercial-tone-1,
.personal-credit-dashboard .suite-metric.commercial-tone-2,
.personal-credit-dashboard .suite-metric.commercial-tone-3,
.personal-credit-dashboard .suite-metric.commercial-tone-4 {
    min-height: 150px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
}

.personal-credit-dashboard .suite-metric.commercial-tone-1 {
    background: linear-gradient(145deg, #242044 0%, #191d2a 58%, #4d3ed0 140%);
}

.personal-credit-dashboard .suite-metric.commercial-tone-2 {
    background: linear-gradient(145deg, #10343e 0%, #191d2a 60%, #168ba1 145%);
}

.personal-credit-dashboard .suite-metric.commercial-tone-3 {
    background: linear-gradient(145deg, #103d38 0%, #191d2a 60%, #128b72 145%);
}

.personal-credit-dashboard .suite-metric.commercial-tone-4 {
    background: linear-gradient(145deg, #4a351c 0%, #191d2a 60%, #b4893d 145%);
}

@media (max-width: 1100px) {
    .personal-credit-dashboard .commercial-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* External-analysis pages still render a few legacy suite helpers. Keep them in the shared portal language. */
.personal-credit-dashboard .member-dashboard .suite-card,
.personal-credit-dashboard .member-dashboard .suite-hero,
.personal-credit-dashboard .member-dashboard .suite-metric,
.personal-credit-dashboard .member-dashboard .suite-list-item {
    color: var(--portal-text);
    border-color: rgba(255, 255, 255, 0.06) !important;
    background-color: #171b26 !important;
}

.personal-credit-dashboard .member-dashboard .suite-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.16), transparent 42%),
        linear-gradient(135deg, #18203b 0%, #21294b 52%, #2a2d63 100%) !important;
}

.personal-credit-dashboard .member-dashboard .text-dark {
    color: #f8f9ff !important;
}

.personal-credit-dashboard .member-dashboard .text-secondary,
.personal-credit-dashboard .member-dashboard .portal-muted {
    color: rgba(226, 231, 255, 0.68) !important;
}

.personal-credit-dashboard .member-dashboard .bg-light,
.personal-credit-dashboard .member-dashboard .metric-card-locked {
    background: rgba(255, 255, 255, 0.035) !important;
}

.commercial-request-state {
    margin-top: 24px;
}

.commercial-upload-flow {
    margin-top: 22px;
}

.commercial-upload-field .form-label span {
    display: inline-flex;
    margin-left: 8px;
    color: #8f9bb8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.commercial-upload-zone.portal-upload-card {
    min-height: 300px;
    padding: clamp(30px, 4.5vw, 52px) 24px;
}

.commercial-submit-actions {
    align-items: center;
    margin-top: 14px;
}

.analysis-request-state {
    margin-top: 24px;
}

.analysis-workflow-card {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: #171b26;
}

.analysis-workflow-pane {
    display: grid;
}

.analysis-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.analysis-stepper-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.analysis-stepper-item > span {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #8f9bb8;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
}

.analysis-stepper-item small,
.analysis-stepper-item em {
    display: block;
    color: #8f9bb8;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.analysis-stepper-item strong {
    display: block;
    margin: 2px 0;
    color: #ffffff;
    font-size: 0.95rem;
}

.analysis-stepper-item.is-active {
    border-color: rgba(139, 124, 255, 0.36);
    background: rgba(108, 92, 231, 0.12);
}

.analysis-stepper-item.is-active > span {
    color: #ffffff;
    background: #6c5ce7;
    box-shadow: 0 0 0 6px rgba(108, 92, 231, 0.16);
}

.analysis-stepper-item.is-completed {
    border-color: rgba(70, 223, 178, 0.24);
    background: rgba(36, 193, 143, 0.08);
}

.analysis-stepper-item.is-completed > span {
    color: #0d2c23;
    background: #79e8c0;
}

.analysis-details-grid {
    margin-top: 18px;
    margin-bottom: 22px;
}

.analysis-workflow-card .portal-upload-card {
    min-height: 300px;
    padding: clamp(28px, 3.5vw, 46px) 24px;
}

.analysis-workflow-card .analysis-upload-zone {
    margin-top: 0 !important;
}

.analysis-success-panel {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid rgba(70, 223, 178, 0.22);
    border-radius: 18px;
    color: #dffcf2;
    background: rgba(36, 193, 143, 0.1);
}

.analysis-success-panel b {
    color: #79e8c0;
    font-size: 1.15rem;
}

.analysis-success-panel p {
    margin: 0;
    color: rgba(226, 231, 255, 0.74);
}

.analysis-status-grid {
    margin-top: 18px;
    gap: 12px;
}

.analysis-status-grid .report-detail-card {
    min-height: 84px;
    padding: 18px 20px;
    border-radius: 18px;
}

.analysis-status-grid .report-detail-card strong {
    font-size: 1rem;
}

.upload-remove-file {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffb3c1;
    background: rgba(255, 107, 139, 0.1);
    font-size: 0.76rem;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .analysis-stepper {
        grid-template-columns: 1fr;
    }
}

.analysis-request-state .analysis-upload-zone {
    margin-top: 0;
}

.identity-match-mark {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid rgba(70, 223, 178, 0.22);
    border-radius: 50%;
    color: #79e8c0;
    background: rgba(36, 193, 143, 0.13);
    font-size: 0.72rem;
    font-weight: 800;
}

.analysis-upload-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.portal-upload-card,
.analysis-upload-zone {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: clamp(36px, 6vw, 72px) 24px;
    border: 1px dashed rgba(139, 124, 255, 0.5);
    border-radius: 22px;
    background:
        radial-gradient(circle at 76% 86%, rgba(139, 124, 255, 0.18), transparent 25%),
        linear-gradient(135deg, rgba(108, 92, 231, 0.14), rgba(255, 255, 255, 0.025));
    text-align: center;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portal-upload-card:hover,
.portal-upload-card.is-dragging {
    border-color: rgba(139, 124, 255, 0.78);
    background:
        radial-gradient(circle at 76% 86%, rgba(139, 124, 255, 0.24), transparent 25%),
        linear-gradient(135deg, rgba(108, 92, 231, 0.18), rgba(255, 255, 255, 0.035));
    transform: translateY(-1px);
}

.portal-upload-card.is-selected,
.analysis-upload-zone.is-selected {
    border-style: solid;
    border-color: rgba(70, 223, 178, 0.58);
    box-shadow: 0 0 0 1px rgba(70, 223, 178, 0.12), 0 18px 42px rgba(36, 193, 143, 0.08);
}

.portal-upload-card.is-error {
    border-color: rgba(255, 107, 139, 0.5);
}

.portal-upload-card.is-uploading {
    pointer-events: none;
}

.portal-upload-card.is-success,
.analysis-upload-zone.is-success {
    border-style: solid;
    border-color: rgba(70, 223, 178, 0.62);
    background:
        radial-gradient(circle at 50% 72%, rgba(70, 223, 178, 0.16), transparent 24%),
        linear-gradient(135deg, rgba(20, 84, 82, 0.24), rgba(255, 255, 255, 0.025));
    box-shadow: 0 0 0 1px rgba(70, 223, 178, 0.12), 0 20px 50px rgba(36, 193, 143, 0.1);
}

.analysis-upload-zone input[type="file"] {
    width: min(100%, 520px);
    color: var(--portal-muted);
}

.analysis-upload-zone h3,
.analysis-upload-zone p {
    margin: 0;
}

.analysis-upload-zone h3 {
    color: #ffffff;
    font-size: 1.55rem;
}

.analysis-upload-zone p,
.analysis-upload-zone > small {
    max-width: 640px;
    color: var(--portal-muted);
}

.analysis-upload-note {
    display: block;
    max-width: 760px;
    margin-top: 2px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: rgba(226, 231, 255, 0.74);
    background: rgba(255, 255, 255, 0.035);
    line-height: 1.6;
}

.analysis-upload-note strong {
    color: #ffffff;
}

.analysis-upload-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.analysis-upload-chips span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: rgba(238, 240, 255, 0.82);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.75rem;
}

.portal-upload-icon svg {
    width: 42px;
    height: 42px;
    color: #8b7cff;
}

.upload-file-summary {
    display: inline-flex;
    max-width: min(100%, 720px);
    padding: 10px 14px;
    border: 1px solid rgba(242, 184, 75, 0.32);
    border-radius: 999px;
    color: #f2b84b;
    background: rgba(242, 184, 75, 0.08);
    font-size: 0.82rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.portal-upload-card.is-selected .upload-file-summary,
.analysis-upload-zone.is-selected .upload-file-summary,
.portal-upload-card.is-success .upload-file-summary,
.analysis-upload-zone.is-success .upload-file-summary {
    border-color: rgba(70, 223, 178, 0.44);
    color: #79e8c0;
    background: rgba(36, 193, 143, 0.14);
}

.portal-upload-card.is-error .upload-file-summary {
    border-color: rgba(255, 107, 139, 0.36);
    color: #ff9aac;
    background: rgba(255, 107, 139, 0.1);
}

.upload-progress-wrap {
    display: grid;
    width: min(100%, 520px);
    gap: 8px;
}

.upload-progress-track {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.upload-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6c5ce7, #8b7cff, #46dfb2);
    transition: width 160ms ease;
}

.upload-progress-wrap small,
.upload-inline-message {
    color: var(--portal-muted);
    font-size: 0.78rem;
}

.upload-success-state {
    display: grid;
    gap: 5px;
    padding: 16px 20px;
    border: 1px solid rgba(70, 223, 178, 0.22);
    border-radius: 16px;
    color: #79e8c0;
    background: rgba(36, 193, 143, 0.12);
}

.upload-success-state b {
    color: #dffcf2;
}

.upload-success-state small {
    color: rgba(226, 231, 255, 0.72);
}

.commercial-readiness-summary strong,
.commercial-readiness-summary span {
    display: block;
}

.commercial-readiness-summary strong {
    margin-top: 24px;
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
}

.commercial-readiness-summary span {
    margin-top: 10px;
    color: #a99cff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.commercial-readiness-summary p {
    margin: 26px 0 0;
    color: var(--portal-muted);
    line-height: 1.7;
}

/* Custom Dark Theme Audited & Consolidated Overrides */

/* Phase 2 & 10: Input Fields, Textareas, Placeholders, and Accessibility */
.admin-dashboard-page .form-control::placeholder,
.admin-dashboard-page textarea::placeholder,
.portal-theme-dashboard .form-control::placeholder,
.portal-theme-dashboard textarea::placeholder {
    color: var(--admin-muted) !important;
    opacity: 0.72 !important;
}

.admin-dashboard-page .text-secondary,
.admin-dashboard-page .text-muted {
    color: var(--admin-muted) !important;
}

/* Phase 3: Select Dropdowns Arrows and Option styles */
.admin-dashboard-page .form-select,
.portal-theme-dashboard .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f7f8fc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

/* Phase 4: Custom Gauge and Donut Widget Dark Mode Override */
.admin-dashboard-page .suite-radial {
    background: conic-gradient(var(--admin-primary) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0) !important;
}
.admin-dashboard-page .suite-radial::before {
    background: var(--admin-surface) !important;
}
.admin-dashboard-page .suite-donut {
    background: conic-gradient(#704cf4 0 68%, #28bc8c 68% 88%, #ecad40 88% 96%, rgba(255, 255, 255, 0.08) 96% 100%) !important;
}
.admin-dashboard-page .suite-donut::after {
    color: #ffffff !important;
    border: 1px solid var(--admin-border) !important;
    background: var(--admin-surface) !important;
}
.admin-dashboard-page .suite-area-chart {
    background: repeating-linear-gradient(to bottom, transparent 0 46px, var(--admin-border) 47px 48px) !important;
}

/* Phase 6 & 11: Access Directory Administrators Page Card & Editor Background Override */
.admin-dashboard-page .super-admin-card {
    border-bottom: 1px solid var(--admin-border) !important;
    color: var(--admin-text) !important;
}
.admin-dashboard-page .super-admin-card small {
    color: var(--admin-muted) !important;
}
.admin-dashboard-page .permission-editor {
    border: 1px solid var(--admin-border) !important;
    background: var(--admin-surface-raised) !important;
    color: var(--admin-text) !important;
}

/* Phase 5: Icon alignment & centering within empty i placeholder tags */
.suite-list-item > i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.suite-list-item > i .navigation-icon {
    flex: 0 0 1.25rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

/* ==========================================================================
   ACCESS DIRECTORY ADMINISTRATORS: PREMIUM SaaS AUDIT & REFACTOR OVERRIDES
   ========================================================================== */

/* Stripe/Linear SaaS Style Admin Heading and Eyebrow */
.admin-dashboard-page .admin-heading {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(17, 24, 39, 0.98) 60%) !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
}

.admin-dashboard-page .admin-heading h1 {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #f9fafb !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 6px !important;
}

.admin-dashboard-page .admin-heading p {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
}

.admin-dashboard-page .admin-eyebrow {
    color: #818cf8 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.admin-dashboard-page .admin-eyebrow .navigation-icon {
    flex: 0 0 0.875rem !important;
    width: 0.875rem !important;
    height: 0.875rem !important;
}

/* Premium Card Panel Containers */
.admin-dashboard-page .admin-panel {
    background: #111827 !important; /* Premium Stripe Dark Surface */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    padding: 24px !important;
}

/* Panel Heading styles */
.admin-dashboard-page .admin-panel-heading {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-dashboard-page .admin-panel-heading .navigation-icon {
    color: #818cf8;
    flex: 0 0 1.25rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.admin-dashboard-page .admin-panel-heading span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #818cf8;
    letter-spacing: 0.07em;
    display: block;
    margin-bottom: 2px;
}

.admin-dashboard-page .admin-panel-heading h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f9fafb;
    margin: 0;
}

/* Form Styling - Inputs & Labels */
.admin-dashboard-page .form-label {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #d1d5db !important;
    margin-bottom: 6px !important;
}

.admin-dashboard-page .form-control {
    background-color: #1f2937 !important; /* Secondary surface */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #f9fafb !important;
    padding: 10px 14px !important;
    font-size: 0.875rem !important;
}

.admin-dashboard-page .form-control:focus {
    border-color: #6366f1 !important;
    background-color: #1f2937 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Checkboxes & Form Check Input Styling */
.admin-dashboard-page .form-check-input {
    background-color: #1f2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.admin-dashboard-page .form-check-input:checked {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Permission picker in Left Column */
.admin-dashboard-page .permission-picker label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: #d1d5db;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.admin-dashboard-page .permission-picker label:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

/* Administrators Access Directory List Cards */
.admin-dashboard-page .super-admin-card {
    background: #1f2937 !important; /* Secondary Surface Card background */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    transition: all 0.2s ease !important;
}

.admin-dashboard-page .super-admin-card:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px) !important;
    background: #242f3d !important; /* Slight hover lift */
}

.admin-dashboard-page .super-admin-card strong {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #f9fafb !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-dashboard-page .super-admin-card strong .navigation-icon {
    color: #818cf8;
    flex: 0 0 1rem !important;
    width: 1rem !important;
    height: 1rem !important;
}

.admin-dashboard-page .super-admin-card small {
    font-size: 0.775rem !important;
    color: #9ca3af !important;
    margin-top: 4px !important;
}

/* Subtle Enterprise Badges */
.admin-dashboard-page .status-pill {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Badge variants */
.admin-dashboard-page .status-pill.status-active {
    color: #34d399 !important; /* Emerald-400 */
    background: rgba(52, 211, 153, 0.1) !important;
    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}

.admin-dashboard-page .status-pill.status-inactive,
.admin-dashboard-page .status-pill.status-disabled {
    color: #f87171 !important; /* Red-400 */
    background: rgba(248, 113, 113, 0.1) !important;
    border: 1px solid rgba(248, 113, 113, 0.15) !important;
}

.admin-dashboard-page .status-pill.status-super_admin,
.admin-dashboard-page .status-pill.status-admin {
    color: #818cf8 !important; /* Indigo-400 */
    background: rgba(129, 140, 248, 0.1) !important;
    border: 1px solid rgba(129, 140, 248, 0.15) !important;
}

/* Permission Editor panel within Admin Cards */
.admin-dashboard-page .permission-editor {
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(17, 24, 39, 0.5) !important; /* Darker embedded zone */
    padding: 14px !important;
    margin: 14px 0 !important;
    border-radius: 8px !important;
}

.admin-dashboard-page .permission-editor label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.775rem;
    color: #d1d5db;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.12s ease;
}

.admin-dashboard-page .permission-editor label:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

/* Premium Buttons Styling */
.admin-dashboard-page .btn {
    font-weight: 500 !important;
    font-size: 0.825rem !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    transition: all 0.15s ease !important;
}

.admin-dashboard-page .btn-sm {
    padding: 5px 11px !important;
    font-size: 0.75rem !important;
}

/* Primary Button (Create / Provision) */
.admin-dashboard-page .btn-primary {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}

.admin-dashboard-page .btn-primary:hover,
.admin-dashboard-page .btn-primary:active {
    background-color: #4338ca !important;
    border-color: #4338ca !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

/* Secondary Button (Activate / Reset) */
.admin-dashboard-page .btn-outline-secondary {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #9ca3af !important;
    background: transparent !important;
}

.admin-dashboard-page .btn-outline-secondary:hover,
.admin-dashboard-page .btn-outline-secondary:active {
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #f3f4f6 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    transform: translateY(-1px);
}

/* Save Permissions Button */
.admin-dashboard-page .btn-outline-primary {
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
    color: #a5b4fc !important;
    background: transparent !important;
}

.admin-dashboard-page .btn-outline-primary:hover,
.admin-dashboard-page .btn-outline-primary:active {
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.admin-dashboard-page .super-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Sidebar Bottom Utility Section - Back to Website Refactoring */
.suite-sidebar .sidebar-utility-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.16rem !important;
    margin-top: auto !important;
    padding-top: 1rem !important;
    padding-bottom: 0.2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.suite-sidebar .sidebar-utility-section .nav-link {
    position: relative !important;
    display: flex !important;
    gap: 0.76rem !important;
    align-items: center !important;
    min-height: 45px !important;
    padding: 0.62rem 0.62rem !important;
    border-radius: 13px !important;
    font-size: 0.86rem !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
    color: #aeb7d3 !important;
    cursor: pointer !important;
    background: transparent !important;
    width: 100% !important;
}

.suite-sidebar .sidebar-utility-section .nav-link .navigation-icon {
    flex: 0 0 1.1rem !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
    color: currentColor !important;
    transform: none !important;
}

/* Hover effects */
.suite-sidebar .sidebar-utility-section .nav-link:hover {
    color: #fff !important;
    background: linear-gradient(100deg, rgba(108, 70, 247, 0.28), rgba(108, 70, 247, 0.08)) !important;
    text-decoration: none !important;
}

/* Admin Dashboard Specific Colors */
.admin-dashboard-page .suite-sidebar .sidebar-utility-section .nav-link {
    color: #a8b2c6 !important;
}

.admin-dashboard-page .suite-sidebar .sidebar-utility-section .nav-link .navigation-icon {
    color: #919db1 !important;
}

.admin-dashboard-page .suite-sidebar .sidebar-utility-section .nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(100deg, rgba(108, 92, 231, 0.28), rgba(108, 92, 231, 0.08)) !important;
}

.admin-dashboard-page .suite-sidebar .sidebar-utility-section .nav-link:hover .navigation-icon {
    color: #b8adff !important;
}

/* Client Portal Specific Fonts and Heights */
.portal-theme-dashboard .suite-sidebar .sidebar-utility-section .nav-link {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Traffic Overview Widget Alignment */
.admin-dashboard-page .traffic-overview-card .suite-panel-header {
    align-items: center !important;
}

/* B2B Performance - Commercial Analytics Card Redesign */
.admin-dashboard-page .commercial-analytics-card {
    background: #0f172a !important; /* Premium Dark Background */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease;
}

.admin-dashboard-page .commercial-analytics-card:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.admin-dashboard-page .commercial-analytics-card .card-eyebrow {
    color: #6366f1 !important; /* Accent */
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    display: block;
    margin-bottom: 2px;
}

.admin-dashboard-page .commercial-analytics-card .card-title {
    color: #ffffff !important; /* Primary Text */
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin: 0;
}

/* Status badge overlay */
.admin-dashboard-page .commercial-analytics-card .status-ready {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

/* KPI Panel wrappers */
.admin-dashboard-page .commercial-analytics-card .kpi-panel {
    background: #111827 !important; /* Secondary Surface */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 14px 10px !important;
    text-align: center;
    transition: background 0.15s ease;
}

.admin-dashboard-page .commercial-analytics-card .kpi-panel:hover {
    background: #1e293b !important;
}

.admin-dashboard-page .commercial-analytics-card .kpi-label {
    color: #94a3b8 !important; /* Muted Text */
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    display: block;
    margin-bottom: 6px;
}

.admin-dashboard-page .commercial-analytics-card .kpi-value {
    color: #ffffff !important; /* Primary Text */
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.admin-dashboard-page .commercial-analytics-card .conversion-rate-kpi .kpi-value {
    color: #6366f1 !important; /* Accent text for conversion */
}

/* Sub-KPI minor blocks */
.admin-dashboard-page .commercial-analytics-card .kpi-subpanel {
    background: #111827 !important; /* Secondary Surface */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 10px 6px !important;
    text-align: center;
    transition: background 0.15s ease;
}

.admin-dashboard-page .commercial-analytics-card .kpi-subpanel:hover {
    background: #1e293b !important;
}

.admin-dashboard-page .commercial-analytics-card .subkpi-label {
    color: #cbd5e1 !important; /* Secondary Text */
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.admin-dashboard-page .commercial-analytics-card .subkpi-value {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.1;
    display: block;
}

/* Subkpi color accents */
.admin-dashboard-page .commercial-analytics-card .kpi-pending .subkpi-value {
    color: #f59e0b !important; /* Warning */
}

.admin-dashboard-page .commercial-analytics-card .kpi-pending .kpi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    display: inline-block;
}

.admin-dashboard-page .commercial-analytics-card .kpi-approved .subkpi-value {
    color: #10b981 !important; /* Positive */
}

.admin-dashboard-page .commercial-analytics-card .kpi-approved .kpi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}

.admin-dashboard-page .commercial-analytics-card .kpi-rejected .subkpi-value {
    color: #ef4444 !important; /* Negative */
}

.admin-dashboard-page .commercial-analytics-card .kpi-rejected .kpi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
}

/* Admin Management Section Heading Override */
.admin-dashboard-page .admin-panel-heading {
    justify-content: flex-start !important;
    gap: 12px !important;
    align-items: center !important;
}

.admin-dashboard-page .admin-panel-heading .admin-panel-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Success Button (Activate) */
.admin-dashboard-page .btn-outline-success {
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #a7f3d0 !important;
    background: transparent !important;
}

.admin-dashboard-page .btn-outline-success:hover,
.admin-dashboard-page .btn-outline-success:active {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Danger Button (Disable) */
.admin-dashboard-page .btn-outline-danger {
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
    background: transparent !important;
}

.admin-dashboard-page .btn-outline-danger:hover,
.admin-dashboard-page .btn-outline-danger:active {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Admin Unified Action Bar */
.admin-dashboard-page .admin-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-dashboard-page .admin-action-bar-left {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-dashboard-page .admin-action-bar-right {
    display: flex;
    justify-content: flex-end;
}

/* Phase 2, 7 & 9: Reusable Icon Utility Classes & Sizing Normalization */
.admin-dashboard-page .icon-success,
.admin-dashboard-page .icon-status {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
}
.admin-dashboard-page .icon-success .navigation-icon,
.admin-dashboard-page .icon-status .navigation-icon {
    color: #10b981 !important;
}

.admin-dashboard-page .icon-analytics,
.admin-dashboard-page .icon-calendar {
    background-color: rgba(99, 102, 241, 0.15) !important;
    color: #6366f1 !important;
}
.admin-dashboard-page .icon-analytics .navigation-icon,
.admin-dashboard-page .icon-calendar .navigation-icon {
    color: #6366f1 !important;
}

.admin-dashboard-page .icon-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
}
.admin-dashboard-page .icon-warning .navigation-icon {
    color: #f59e0b !important;
}

.admin-dashboard-page .icon-danger,
.admin-dashboard-page .icon-ticket {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}
.admin-dashboard-page .icon-danger .navigation-icon,
.admin-dashboard-page .icon-ticket .navigation-icon {
    color: #ef4444 !important;
}

.admin-dashboard-page .icon-info {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
}
.admin-dashboard-page .icon-info .navigation-icon {
    color: #3b82f6 !important;
}

/* Fallback list-item icon wrapper styling for dark theme dashboard list items */
.admin-dashboard-page .suite-list-item > i {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb !important;
}

/* Sizing normalization */
.admin-dashboard-page .icon-sm,
.admin-dashboard-page .credit-kpi-icon {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.admin-dashboard-page .icon-sm .navigation-icon,
.admin-dashboard-page .credit-kpi-icon .navigation-icon {
    width: 1rem !important;
    height: 1rem !important;
}

.admin-dashboard-page .icon-md,
.admin-dashboard-page .suite-list-item > i {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 10px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.admin-dashboard-page .icon-md .navigation-icon,
.admin-dashboard-page .suite-list-item > i .navigation-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.admin-dashboard-page .icon-lg {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 12px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.admin-dashboard-page .icon-lg .navigation-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
}

/* Subtle Dark-Theme Badges Overrides */
.admin-dashboard-page .status-pill.status-ready,
.admin-dashboard-page .status-pill.status-completed,
.admin-dashboard-page .status-pill.status-confirmed,
.admin-dashboard-page .status-pill.status-resolved,
.admin-dashboard-page .status-pill.status-good {
    color: #34d399 !important; /* Emerald-400 */
    background: rgba(52, 211, 153, 0.1) !important;
    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}

.admin-dashboard-page .status-pill.status-processing,
.admin-dashboard-page .status-pill.status-authorized,
.admin-dashboard-page .status-pill.status-requested,
.admin-dashboard-page .status-pill.status-in_progress,
.admin-dashboard-page .status-pill.status-review {
    color: #60a5fa !important; /* Blue-400 */
    background: rgba(96, 165, 250, 0.1) !important;
    border: 1px solid rgba(96, 165, 250, 0.15) !important;
}

.admin-dashboard-page .status-pill.status-failed,
.admin-dashboard-page .status-pill.status-cancelled,
.admin-dashboard-page .status-pill.status-critical {
    color: #f87171 !important; /* Red-400 */
    background: rgba(248, 113, 113, 0.1) !important;
    border: 1px solid rgba(248, 113, 113, 0.15) !important;
}

/* Security Alert Cards Overrides */
.admin-dashboard-page .suite-security-alert {
    background: var(--rc-dark-raised) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--rc-dark-text) !important;
}

.admin-dashboard-page .suite-security-alert.alert-warning {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}
.admin-dashboard-page .suite-security-alert.alert-warning b {
    color: #f59e0b !important;
}

.admin-dashboard-page .suite-security-alert.alert-info {
    background: rgba(59, 130, 246, 0.08) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
}
.admin-dashboard-page .suite-security-alert.alert-info b {
    color: #3b82f6 !important;
}

.admin-dashboard-page .suite-security-alert.alert-success {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}
.admin-dashboard-page .suite-security-alert.alert-success b {
    color: #10b981 !important;
}



