
        /* =========================================================
           ROOT
        ========================================================= */

        :root {
            --navy: var(--brand-primary);
            --navy-light: var(--brand-primary-light);
            --navy-dark: var(--brand-primary-dark);
            --navy-darker: var(--brand-primary-dark);

            --gold: var(--brand-secondary);
            --gold-light: var(--brand-secondary-light);
            --gold-dark: var(--brand-secondary-dark);
            --gold-soft: var(--brand-secondary-soft);

            --white: #ffffff;
            --background: #f5f7fa;
            --surface: #ffffff;
            --surface-soft: #f8f9fb;

            --text: var(--brand-text);
            --text-secondary: var(--brand-text-secondary);
            --text-light: #98a2b3;

            --border: var(--brand-border);
            --border-dark: #d0d5dd;

            --success: var(--brand-success);
            --success-soft: #eaf8f2;

            --danger: var(--brand-danger);
            --danger-soft: #fff0ee;

            --warning: var(--brand-warning);
            --warning-soft: #fff7e8;

            --info: var(--brand-info);
            --info-soft: #edf4ff;

            --purple: #7a4bc2;
            --purple-soft: #f4efff;

            --shadow-xs: 0 2px 8px rgba(10, 20, 40, 0.04);
            --shadow-sm: 0 10px 28px rgba(10, 20, 40, 0.07);
            --shadow-md: 0 18px 50px rgba(10, 20, 40, 0.11);
            --shadow-lg: 0 35px 90px rgba(10, 20, 40, 0.16);

            --radius-sm: 10px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-pill: 999px;

            --container: 1220px;

            --transition-fast: 160ms ease;
            --transition: 240ms ease;
            --transition-slow: 450ms ease;
        }


        /* =========================================================
           RESET
        ========================================================= */

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 100px;
        }

        body {
            min-height: 100vh;
            overflow-x: hidden;
            color: var(--text);
            background: var(--background);
            font-family: "Alexandria", sans-serif;
            line-height: 1.8;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
        }

        body.menu-open,
        body.modal-open {
            overflow: hidden;
        }

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

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

        button {
            border: 0;
            cursor: pointer;
        }

        input,
        select,
        textarea {
            width: 100%;
        }

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

        ul {
            list-style: none;
        }

        ::selection {
            color: var(--navy-dark);
            background: var(--gold-light);
        }

        :focus-visible {
            outline: 3px solid rgba(198, 146, 20, 0.30);
            outline-offset: 3px;
        }


        /* =========================================================
           GENERAL
        ========================================================= */

        .container {
            width: min(calc(100% - 40px), var(--container));
            margin-inline: auto;
        }

        .hidden {
            display: none !important;
        }

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


        /* =========================================================
           BUTTONS
        ========================================================= */

        .btn {
            display: inline-flex;
            min-height: 49px;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 11px 21px;
            color: inherit;
            background: transparent;
            border: 1px solid transparent;
            border-radius: 13px;
            font-size: 0.82rem;
            font-weight: 700;
            white-space: nowrap;
            transition:
                color var(--transition),
                background-color var(--transition),
                border-color var(--transition),
                box-shadow var(--transition),
                transform var(--transition);
        }

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

        .btn:disabled {
            cursor: not-allowed;
            opacity: 0.6;
            transform: none;
        }

        .btn-primary {
            color: var(--white);
            background: var(--navy);
            box-shadow: 0 10px 24px rgba(20, 33, 61, 0.20);
        }

        .btn-primary:hover:not(:disabled) {
            background: var(--navy-light);
            box-shadow: 0 14px 30px rgba(20, 33, 61, 0.26);
        }

        .btn-gold {
            color: var(--navy-dark);
            background: var(--gold);
            box-shadow: 0 10px 25px rgba(198, 146, 20, 0.22);
        }

        .btn-gold:hover:not(:disabled) {
            background: var(--gold-light);
        }

        .btn-success {
            color: var(--white);
            background: var(--success);
            box-shadow: 0 10px 24px rgba(22, 138, 91, 0.20);
        }

        .btn-success:hover {
            background: #107349;
        }

        .btn-danger {
            color: var(--danger);
            background: var(--danger-soft);
            border-color: rgba(217, 45, 32, 0.20);
        }

        .btn-danger:hover {
            color: var(--white);
            background: var(--danger);
            border-color: var(--danger);
        }

        .btn-outline {
            color: var(--navy);
            background: var(--white);
            border-color: var(--border-dark);
        }

        .btn-outline:hover {
            color: var(--white);
            background: var(--navy);
            border-color: var(--navy);
        }

        .btn-soft {
            color: var(--navy);
            background: var(--surface-soft);
            border-color: var(--border);
        }

        .btn-soft:hover {
            background: var(--gold-soft);
            border-color: rgba(198, 146, 20, 0.30);
        }

        .btn-sm {
            min-height: 41px;
            padding: 8px 15px;
            border-radius: 11px;
            font-size: 0.75rem;
        }

        .btn-lg {
            min-height: 57px;
            padding: 14px 26px;
            border-radius: 15px;
            font-size: 0.9rem;
        }

        .btn-full {
            width: 100%;
        }

        .button-loader {
            display: none;
            width: 17px;
            height: 17px;
            border: 2px solid rgba(255, 255, 255, 0.34);
            border-top-color: var(--white);
            border-radius: 50%;
            animation: spin 700ms linear infinite;
        }

        .btn.loading .button-loader {
            display: inline-block;
        }

        .btn.loading .button-text,
        .btn.loading .button-icon {
            display: none;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }


        /* =========================================================
           TOP BAR
        ========================================================= */

        .topbar {
            position: relative;
            z-index: 1100;
            color: rgba(255, 255, 255, 0.82);
            background: var(--navy-dark);
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            font-size: 0.73rem;
        }

        .topbar-content {
            display: flex;
            min-height: 40px;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .topbar-message,
        .topbar-links {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .topbar i {
            color: var(--gold-light);
        }

        .topbar-link {
            transition: color var(--transition-fast);
        }

        .topbar-link:hover {
            color: var(--gold-light);
        }


        /* =========================================================
           NAVBAR
        ========================================================= */

        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.96);
            border-bottom: 1px solid transparent;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            transition:
                background-color var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.99);
            border-color: var(--border);
            box-shadow: var(--shadow-sm);
        }

        .navbar-content {
            display: grid;
            grid-template-columns: auto 1fr auto;
            min-height: 82px;
            align-items: center;
            gap: 34px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .logo-mark {
            position: relative;
            display: grid;
            width: 46px;
            height: 46px;
            place-items: center;
            overflow: hidden;
            color: var(--navy-dark);
            background: var(--gold);
            border-radius: 14px;
            box-shadow: 0 10px 24px rgba(198, 146, 20, 0.18);
        }

        .logo-mark::before {
            position: absolute;
            inset: 6px;
            border: 1px solid rgba(9, 20, 38, 0.18);
            border-radius: 9px;
            content: "";
        }

        .logo-mark i {
            position: relative;
            z-index: 1;
            font-size: 1.25rem;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.15;
        }

        .logo-name {
            color: var(--navy-dark);
            font-size: 1.28rem;
            font-weight: 800;
            letter-spacing: -0.04em;
        }

        .logo-tagline {
            margin-top: 5px;
            color: var(--text-secondary);
            font-size: 0.58rem;
            font-weight: 500;
        }

        .nav-center-message {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            color: var(--text-secondary);
            font-size: 0.71rem;
            font-weight: 600;
        }

        .nav-center-message i {
            color: var(--warning);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .menu-toggle {
            display: none;
            width: 46px;
            height: 46px;
            color: var(--navy);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-size: 1.15rem;
        }


        /* =========================================================
           MOBILE DRAWER
        ========================================================= */

        .mobile-overlay {
            position: fixed;
            z-index: 1998;
            inset: 0;
            visibility: hidden;
            background: rgba(5, 13, 25, 0.62);
            opacity: 0;
            backdrop-filter: blur(4px);
            transition:
                opacity var(--transition),
                visibility var(--transition);
        }

        .mobile-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        .mobile-drawer {
            position: fixed;
            top: 0;
            right: 0;
            z-index: 1999;
            width: min(88%, 370px);
            height: 100dvh;
            overflow-y: auto;
            background: var(--white);
            box-shadow: var(--shadow-lg);
            transform: translateX(105%);
            transition: transform var(--transition-slow);
        }

        .mobile-drawer.active {
            transform: translateX(0);
        }

        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid var(--border);
        }

        .drawer-close {
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            color: var(--navy);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 11px;
        }

        .drawer-body {
            padding: 18px;
        }

        .drawer-links {
            display: grid;
            gap: 7px;
        }

        .drawer-link {
            display: flex;
            min-height: 50px;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 10px 14px;
            color: var(--text);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 11px;
            font-size: 0.79rem;
            font-weight: 600;
        }

        .drawer-link i {
            color: var(--gold-dark);
        }

        .drawer-note {
            margin-top: 18px;
            padding: 16px;
            color: var(--text-secondary);
            background: var(--gold-soft);
            border: 1px solid rgba(198, 146, 20, 0.20);
            border-radius: 14px;
            font-size: 0.7rem;
            line-height: 1.85;
        }


        /* =========================================================
           HERO
        ========================================================= */

        .status-hero {
            position: relative;
            overflow: hidden;
            color: var(--white);
            background:
                radial-gradient(
                    circle at 8% 20%,
                    rgba(198, 146, 20, 0.18),
                    transparent 30%
                ),
                radial-gradient(
                    circle at 90% 85%,
                    rgba(59, 88, 148, 0.28),
                    transparent 32%
                ),
                linear-gradient(120deg, var(--navy-dark), var(--navy));
        }

        .status-hero::before {
            position: absolute;
            inset: 0;
            opacity: 0.22;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            background-size: 50px 50px;
            content: "";
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            min-height: 315px;
            align-items: center;
            gap: 55px;
            padding-block: 58px 88px;
        }

        .breadcrumbs {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 9px;
            margin-bottom: 17px;
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.69rem;
        }

        .breadcrumbs i {
            color: var(--gold);
            font-size: 0.54rem;
        }

        .hero-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 15px;
            padding: 7px 14px;
            color: var(--gold-light);
            background: rgba(198, 146, 20, 0.10);
            border: 1px solid rgba(228, 184, 62, 0.23);
            border-radius: var(--radius-pill);
            font-size: 0.7rem;
            font-weight: 700;
        }

        .hero-status-badge .status-dot {
            width: 8px;
            height: 8px;
            background: var(--warning);
            border-radius: 50%;
            box-shadow: 0 0 0 6px rgba(220, 124, 18, 0.12);
            animation: statusPulse 1.8s ease-in-out infinite;
        }

        .hero-status-badge.changes {
            color: #ffd69b;
            background: rgba(220, 124, 18, 0.12);
        }

        .hero-status-badge.approved {
            color: #9ce3c3;
            background: rgba(22, 138, 91, 0.12);
            border-color: rgba(156, 227, 195, 0.22);
        }

        .hero-status-badge.approved .status-dot {
            background: var(--success);
            box-shadow: 0 0 0 6px rgba(22, 138, 91, 0.13);
        }

        @keyframes statusPulse {
            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.28);
            }
        }

        .hero-title {
            margin-bottom: 11px;
            font-size: clamp(2rem, 4.5vw, 3.55rem);
            font-weight: 800;
            line-height: 1.3;
            letter-spacing: -0.045em;
        }

        .hero-description {
            max-width: 760px;
            color: rgba(255, 255, 255, 0.67);
            font-size: 0.82rem;
            line-height: 2;
        }

        .hero-icon-card {
            display: grid;
            width: 148px;
            height: 148px;
            place-items: center;
            color: var(--navy-dark);
            background: var(--gold);
            border: 14px solid rgba(255, 255, 255, 0.07);
            border-radius: 39px;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
            font-size: 3rem;
        }

        .hero-icon-card.changes {
            color: var(--white);
            background: var(--warning);
        }

        .hero-icon-card.approved {
            color: var(--white);
            background: var(--success);
        }


        /* =========================================================
           MAIN LAYOUT
        ========================================================= */

        .status-section {
            position: relative;
            z-index: 5;
            margin-top: -48px;
            padding-bottom: 90px;
        }

        .status-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 320px;
            align-items: start;
            gap: 28px;
        }

        .main-column,
        .sidebar-column {
            display: grid;
            gap: 22px;
        }

        .sidebar-column {
            position: sticky;
            top: 105px;
        }

        .content-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 23px;
            box-shadow: var(--shadow-sm);
        }

        .content-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 22px 24px;
            border-bottom: 1px solid var(--border);
        }

        .content-card-title {
            display: flex;
            align-items: center;
            gap: 11px;
            color: var(--navy-dark);
            font-size: 0.86rem;
            font-weight: 800;
        }

        .content-card-title i {
            display: grid;
            width: 39px;
            height: 39px;
            place-items: center;
            color: var(--navy);
            background: var(--gold-soft);
            border-radius: 11px;
        }

        .content-card-body {
            padding: 24px;
        }


        /* =========================================================
           APPLICATION SUMMARY
        ========================================================= */

        .application-summary {
            overflow: hidden;
        }

        .application-summary-top {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            align-items: center;
            gap: 18px;
            padding: 26px;
            background:
                radial-gradient(
                    circle at 5% 100%,
                    rgba(198, 146, 20, 0.12),
                    transparent 35%
                ),
                var(--white);
        }

        .application-type-icon {
            display: grid;
            width: 66px;
            height: 66px;
            place-items: center;
            color: var(--white);
            background: var(--navy);
            border-radius: 19px;
            font-size: 1.4rem;
        }

        .application-title {
            margin-bottom: 4px;
            color: var(--navy-dark);
            font-size: 1rem;
            font-weight: 800;
        }

        .application-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 7px 15px;
            color: var(--text-secondary);
            font-size: 0.62rem;
        }

        .application-meta span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .application-meta i {
            color: var(--gold-dark);
        }

        .application-reference-box {
            min-width: 200px;
            padding: 13px 15px;
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 13px;
            text-align: center;
        }

        .reference-label {
            display: block;
            margin-bottom: 4px;
            color: var(--text-light);
            font-size: 0.53rem;
        }

        .reference-value {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            color: var(--navy-dark);
            font-size: 0.76rem;
            font-weight: 800;
            direction: ltr;
        }

        .copy-reference {
            display: grid;
            width: 29px;
            height: 29px;
            place-items: center;
            color: var(--gold-dark);
            background: var(--gold-soft);
            border-radius: 8px;
            font-size: 0.67rem;
        }

        .application-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
            padding: 17px 25px;
            background: var(--surface-soft);
            border-top: 1px solid var(--border);
        }


        /* =========================================================
           STATUS MESSAGE
        ========================================================= */

        .status-message {
            position: relative;
            overflow: hidden;
            padding: 28px;
            background: var(--warning-soft);
            border: 1px solid rgba(220, 124, 18, 0.20);
            border-radius: 22px;
            box-shadow: var(--shadow-sm);
        }

        .status-message::before {
            position: absolute;
            top: -60px;
            left: -60px;
            width: 160px;
            height: 160px;
            border: 30px solid rgba(220, 124, 18, 0.06);
            border-radius: 50%;
            content: "";
        }

        .status-message.changes {
            background: var(--danger-soft);
            border-color: rgba(217, 45, 32, 0.18);
        }

        .status-message.approved {
            background: var(--success-soft);
            border-color: rgba(22, 138, 91, 0.20);
        }

        .status-message-content {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: flex-start;
            gap: 18px;
        }

        .status-message-icon {
            display: grid;
            width: 58px;
            height: 58px;
            flex-shrink: 0;
            place-items: center;
            color: var(--warning);
            background: var(--white);
            border-radius: 17px;
            box-shadow: var(--shadow-xs);
            font-size: 1.2rem;
        }

        .status-message.changes .status-message-icon {
            color: var(--danger);
        }

        .status-message.approved .status-message-icon {
            color: var(--success);
        }

        .status-message h2 {
            margin-bottom: 7px;
            color: var(--navy-dark);
            font-size: 1.15rem;
            font-weight: 800;
        }

        .status-message p {
            color: var(--text-secondary);
            font-size: 0.7rem;
            line-height: 1.9;
        }

        .status-message-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
            margin-top: 18px;
        }


        /* =========================================================
           TIMELINE
        ========================================================= */

        .status-timeline {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            position: relative;
            gap: 10px;
        }

        .status-timeline::before {
            position: absolute;
            top: 26px;
            right: 12.5%;
            left: 12.5%;
            height: 3px;
            background: var(--border);
            content: "";
        }

        .status-timeline-progress {
            position: absolute;
            top: 26px;
            right: 12.5%;
            width: 25%;
            height: 3px;
            background: var(--gold);
            transition: width 500ms ease;
        }

        .status-timeline-progress.changes {
            width: 50%;
            background: var(--warning);
        }

        .status-timeline-progress.approved {
            width: 75%;
            background: var(--success);
        }

        .timeline-step {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .timeline-icon {
            display: grid;
            width: 54px;
            height: 54px;
            margin-bottom: 12px;
            place-items: center;
            color: var(--text-light);
            background: var(--white);
            border: 3px solid var(--border);
            border-radius: 17px;
            font-size: 1rem;
            transition:
                color var(--transition),
                background-color var(--transition),
                border-color var(--transition);
        }

        .timeline-step.completed .timeline-icon {
            color: var(--navy-dark);
            background: var(--gold);
            border-color: var(--gold);
        }

        .timeline-step.active .timeline-icon {
            color: var(--white);
            background: var(--navy);
            border-color: var(--navy);
            box-shadow: 0 0 0 6px rgba(20, 33, 61, 0.08);
        }

        .timeline-step.changes .timeline-icon {
            color: var(--white);
            background: var(--warning);
            border-color: var(--warning);
        }

        .timeline-step.approved .timeline-icon {
            color: var(--white);
            background: var(--success);
            border-color: var(--success);
        }

        .timeline-title {
            margin-bottom: 4px;
            color: var(--navy-dark);
            font-size: 0.66rem;
            font-weight: 800;
        }

        .timeline-date {
            color: var(--text-light);
            font-size: 0.53rem;
            line-height: 1.6;
        }


        /* =========================================================
           CHANGES REQUEST
        ========================================================= */

        .changes-request-card {
            display: none;
            overflow: hidden;
            background: var(--white);
            border: 1px solid rgba(217, 45, 32, 0.20);
            border-radius: 22px;
            box-shadow: var(--shadow-sm);
        }

        .changes-request-card.visible {
            display: block;
        }

        .changes-header {
            display: flex;
            align-items: center;
            gap: 13px;
            padding: 20px 23px;
            color: #8e251c;
            background: var(--danger-soft);
            border-bottom: 1px solid rgba(217, 45, 32, 0.15);
        }

        .changes-header i {
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            color: var(--danger);
            background: var(--white);
            border-radius: 12px;
        }

        .changes-header h2 {
            font-size: 0.87rem;
            font-weight: 800;
        }

        .changes-header p {
            color: #a24841;
            font-size: 0.6rem;
        }

        .changes-body {
            padding: 23px;
        }

        .change-items {
            display: grid;
            gap: 12px;
            margin-bottom: 20px;
        }

        .change-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 15px;
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 13px;
        }

        .change-item-number {
            display: grid;
            width: 31px;
            height: 31px;
            flex-shrink: 0;
            place-items: center;
            color: var(--danger);
            background: var(--danger-soft);
            border-radius: 9px;
            font-size: 0.62rem;
            font-weight: 800;
        }

        .change-item strong {
            display: block;
            margin-bottom: 3px;
            color: var(--navy-dark);
            font-size: 0.66rem;
        }

        .change-item span {
            display: block;
            color: var(--text-secondary);
            font-size: 0.59rem;
            line-height: 1.75;
        }


        /* =========================================================
           APPROVAL
        ========================================================= */

        .approval-card {
            display: none;
            padding: 30px;
            overflow: hidden;
            color: var(--white);
            background:
                radial-gradient(
                    circle at 10% 90%,
                    rgba(228, 184, 62, 0.22),
                    transparent 35%
                ),
                linear-gradient(145deg, var(--success), #0d6640);
            border-radius: 23px;
            box-shadow: var(--shadow-md);
        }

        .approval-card.visible {
            display: block;
        }

        .approval-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

        .approval-info {
            display: flex;
            align-items: flex-start;
            gap: 17px;
        }

        .approval-icon {
            display: grid;
            width: 66px;
            height: 66px;
            flex-shrink: 0;
            place-items: center;
            color: var(--success);
            background: var(--white);
            border-radius: 19px;
            font-size: 1.45rem;
        }

        .approval-card h2 {
            margin-bottom: 6px;
            font-size: 1.15rem;
            font-weight: 800;
        }

        .approval-card p {
            max-width: 620px;
            color: rgba(255, 255, 255, 0.76);
            font-size: 0.69rem;
            line-height: 1.9;
        }

        .approval-card .btn {
            flex-shrink: 0;
        }


        /* =========================================================
           DOCUMENTS
        ========================================================= */

        .documents-list {
            display: grid;
            gap: 11px;
        }

        .document-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 15px;
            padding: 14px 15px;
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 13px;
        }

        .document-info {
            display: flex;
            min-width: 0;
            align-items: center;
            gap: 11px;
        }

        .document-icon {
            display: grid;
            width: 39px;
            height: 39px;
            flex-shrink: 0;
            place-items: center;
            color: var(--navy);
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 11px;
        }

        .document-info strong {
            display: block;
            margin-bottom: 2px;
            color: var(--navy-dark);
            font-size: 0.64rem;
        }

        .document-info span {
            display: block;
            color: var(--text-light);
            font-size: 0.54rem;
        }

        .document-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: var(--radius-pill);
            font-size: 0.54rem;
            font-weight: 700;
        }

        .document-status.pending {
            color: var(--warning);
            background: var(--warning-soft);
        }

        .document-status.verified {
            color: var(--success);
            background: var(--success-soft);
        }

        .document-status.rejected {
            color: var(--danger);
            background: var(--danger-soft);
        }


        /* =========================================================
           DETAILS
        ========================================================= */

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

        .detail-item {
            padding: 17px 18px;
            border-bottom: 1px solid var(--border);
        }

        .detail-item:nth-child(odd) {
            border-left: 1px solid var(--border);
        }

        .detail-item:last-child,
        .detail-item:nth-last-child(2) {
            border-bottom: 0;
        }

        .detail-label {
            display: block;
            margin-bottom: 4px;
            color: var(--text-light);
            font-size: 0.55rem;
        }

        .detail-value {
            display: block;
            color: var(--navy-dark);
            font-size: 0.66rem;
            font-weight: 700;
            overflow-wrap: anywhere;
        }


        /* =========================================================
           SIDEBAR
        ========================================================= */

        .sidebar-card {
            overflow: hidden;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            box-shadow: var(--shadow-sm);
        }

        .sidebar-card-header {
            padding: 21px;
            color: var(--white);
            background:
                radial-gradient(
                    circle at 10% 100%,
                    rgba(198, 146, 20, 0.22),
                    transparent 42%
                ),
                linear-gradient(145deg, var(--navy), var(--navy-dark));
        }

        .sidebar-card-header-icon {
            display: grid;
            width: 46px;
            height: 46px;
            margin-bottom: 13px;
            place-items: center;
            color: var(--navy-dark);
            background: var(--gold);
            border-radius: 14px;
        }

        .sidebar-card-header h3 {
            margin-bottom: 5px;
            font-size: 0.85rem;
            font-weight: 800;
        }

        .sidebar-card-header p {
            color: rgba(255, 255, 255, 0.63);
            font-size: 0.61rem;
            line-height: 1.8;
        }

        .sidebar-card-body {
            padding: 20px;
        }

        .time-estimate {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 17px;
            padding: 14px;
            color: var(--text-secondary);
            background: var(--warning-soft);
            border: 1px solid rgba(220, 124, 18, 0.18);
            border-radius: 13px;
        }

        .time-estimate i {
            display: grid;
            width: 39px;
            height: 39px;
            flex-shrink: 0;
            place-items: center;
            color: var(--warning);
            background: var(--white);
            border-radius: 11px;
        }

        .time-estimate strong {
            display: block;
            color: var(--navy-dark);
            font-size: 0.66rem;
        }

        .time-estimate span {
            display: block;
            font-size: 0.56rem;
        }

        .review-notes {
            display: grid;
            gap: 11px;
        }

        .review-note {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            color: var(--text-secondary);
            font-size: 0.59rem;
            line-height: 1.75;
        }

        .review-note i {
            margin-top: 4px;
            color: var(--success);
        }

        .support-card {
            padding: 21px;
        }

        .support-card h3 {
            display: flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 7px;
            color: var(--navy-dark);
            font-size: 0.77rem;
            font-weight: 800;
        }

        .support-card h3 i {
            color: var(--gold-dark);
        }

        .support-card > p {
            margin-bottom: 15px;
            color: var(--text-secondary);
            font-size: 0.61rem;
            line-height: 1.8;
        }

        .support-links {
            display: grid;
            gap: 9px;
        }

        .support-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px;
            color: var(--text-secondary);
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 11px;
            font-size: 0.59rem;
            font-weight: 700;
            transition:
                color var(--transition),
                background-color var(--transition),
                border-color var(--transition),
                transform var(--transition);
        }

        .support-link:hover {
            color: var(--navy);
            background: var(--gold-soft);
            border-color: rgba(198, 146, 20, 0.28);
            transform: translateX(-3px);
        }

        .support-link i {
            display: grid;
            width: 31px;
            height: 31px;
            place-items: center;
            color: var(--navy);
            background: var(--white);
            border-radius: 9px;
        }


        /* =========================================================
           NOTIFICATIONS
        ========================================================= */

        .notification-preferences {
            display: grid;
            gap: 11px;
        }

        .notification-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 12px;
            background: var(--surface-soft);
            border: 1px solid var(--border);
            border-radius: 12px;
        }

        .notification-option-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .notification-option-info i {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            color: var(--navy);
            background: var(--white);
            border-radius: 10px;
        }

        .notification-option strong {
            display: block;
            color: var(--navy-dark);
            font-size: 0.61rem;
        }

        .notification-option span {
            display: block;
            color: var(--text-light);
            font-size: 0.52rem;
        }

        .switch {
            position: relative;
            width: 44px;
            height: 24px;
            flex-shrink: 0;
        }

        .switch input {
            position: absolute;
            width: 1px;
            height: 1px;
            opacity: 0;
        }

        .switch-track {
            position: absolute;
            inset: 0;
            background: var(--border-dark);
            border-radius: var(--radius-pill);
            cursor: pointer;
            transition: background-color var(--transition);
        }

        .switch-track::after {
            position: absolute;
            top: 3px;
            right: 3px;
            width: 18px;
            height: 18px;
            background: var(--white);
            border-radius: 50%;
            box-shadow: var(--shadow-xs);
            content: "";
            transition: transform var(--transition);
        }

        .switch input:checked + .switch-track {
            background: var(--success);
        }

        .switch input:checked + .switch-track::after {
            transform: translateX(-20px);
        }


        /* =========================================================
           TOAST
        ========================================================= */

        .toast {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 3500;
            display: flex;
            visibility: hidden;
            max-width: 360px;
            align-items: center;
            gap: 11px;
            padding: 14px 16px;
            color: var(--white);
            background: var(--navy-dark);
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 13px;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            transform: translateY(18px);
            transition:
                visibility var(--transition),
                opacity var(--transition),
                transform var(--transition);
        }

        .toast.visible {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

        .toast i {
            color: var(--gold-light);
        }

        .toast span {
            font-size: 0.64rem;
        }


        /* =========================================================
           MODAL
        ========================================================= */

        .modal-overlay {
            position: fixed;
            z-index: 3000;
            inset: 0;
            display: grid;
            visibility: hidden;
            place-items: center;
            padding: 20px;
            background: rgba(5, 13, 25, 0.74);
            opacity: 0;
            backdrop-filter: blur(7px);
            transition:
                visibility var(--transition),
                opacity var(--transition);
        }

        .modal-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        .confirmation-modal {
            width: min(100%, 480px);
            padding: 35px;
            text-align: center;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 25px;
            box-shadow: var(--shadow-lg);
            transform: translateY(20px) scale(0.97);
            transition: transform var(--transition);
        }

        .modal-overlay.active .confirmation-modal {
            transform: translateY(0) scale(1);
        }

        .confirmation-modal-icon {
            display: grid;
            width: 82px;
            height: 82px;
            margin: 0 auto 21px;
            place-items: center;
            color: var(--danger);
            background: var(--danger-soft);
            border-radius: 25px;
            font-size: 1.8rem;
        }

        .confirmation-modal h2 {
            margin-bottom: 9px;
            color: var(--navy-dark);
            font-size: 1.25rem;
            font-weight: 800;
        }

        .confirmation-modal p {
            margin-bottom: 22px;
            color: var(--text-secondary);
            font-size: 0.7rem;
            line-height: 1.9;
        }

        .modal-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }


        /* =========================================================
           FOOTER
        ========================================================= */

        .status-footer {
            color: rgba(255, 255, 255, 0.55);
            background: var(--navy-darker);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .status-footer-content {
            display: flex;
            min-height: 72px;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            font-size: 0.63rem;
        }

        .status-footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }

        .status-footer-links a:hover {
            color: var(--gold-light);
        }


        /* =========================================================
           RESPONSIVE
        ========================================================= */

        @media (max-width: 1050px) {
            .status-layout {
                grid-template-columns: minmax(0, 1fr) 285px;
            }
        }

        @media (max-width: 930px) {
            .topbar {
                display: none;
            }

            .navbar-content {
                min-height: 74px;
                grid-template-columns: auto 1fr;
            }

            .nav-center-message,
            .nav-actions {
                display: none;
            }

            .menu-toggle {
                display: grid;
                justify-self: end;
                place-items: center;
            }

            .status-layout {
                grid-template-columns: 1fr;
            }

            .sidebar-column {
                position: static;
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-content {
                grid-template-columns: 1fr;
            }

            .hero-icon-card {
                width: 110px;
                height: 110px;
                border-radius: 30px;
                font-size: 2.2rem;
            }

            .application-summary-top {
                grid-template-columns: auto minmax(0, 1fr);
            }

            .application-reference-box {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 720px) {
            .container {
                width: min(calc(100% - 28px), var(--container));
            }

            .logo-mark {
                width: 42px;
                height: 42px;
            }

            .logo-name {
                font-size: 1.14rem;
            }

            .logo-tagline {
                display: none;
            }

            .hero-content {
                min-height: auto;
                padding-block: 48px 82px;
            }

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

            .status-section {
                margin-top: -38px;
                padding-bottom: 65px;
            }

            .application-summary-top {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .application-type-icon {
                margin-inline: auto;
            }

            .application-meta {
                justify-content: center;
            }

            .application-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

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

            .status-message-content {
                flex-direction: column;
            }

            .status-message-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

            .status-message-actions .btn {
                width: 100%;
            }

            .status-timeline {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .status-timeline::before,
            .status-timeline-progress {
                top: 27px;
                right: 26px;
                bottom: 27px;
                left: auto;
                width: 3px;
                height: auto;
            }

            .status-timeline-progress {
                height: 25%;
            }

            .status-timeline-progress.changes {
                width: 3px;
                height: 50%;
            }

            .status-timeline-progress.approved {
                width: 3px;
                height: 75%;
            }

            .timeline-step {
                min-height: 95px;
                align-items: flex-start;
                padding-right: 72px;
                text-align: right;
            }

            .timeline-icon {
                position: absolute;
                top: 0;
                right: 0;
            }

            .approval-content {
                align-items: flex-start;
                flex-direction: column;
            }

            .approval-info {
                flex-direction: column;
            }

            .approval-card .btn {
                width: 100%;
            }

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

            .detail-item:nth-child(odd) {
                border-left: 0;
            }

            .detail-item:nth-last-child(2) {
                border-bottom: 1px solid var(--border);
            }

            .sidebar-column {
                grid-template-columns: 1fr;
            }

            .status-footer-content {
                flex-direction: column;
                justify-content: center;
                padding-block: 20px;
                text-align: center;
            }

            .status-footer-links {
                justify-content: center;
            }

            .toast {
                right: 14px;
                bottom: 14px;
                left: 14px;
                max-width: none;
            }

            .modal-actions {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 470px) {
            .content-card-header {
                align-items: flex-start;
                flex-direction: column;
            }

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

            .document-status {
                width: fit-content;
            }

            .confirmation-modal {
                padding: 29px 20px;
            }
        }


        /* =========================================================
           PRINT
        ========================================================= */

        @media print {
            .topbar,
            .navbar,
            .status-footer,
            .sidebar-column,
            .application-actions,
            .status-message-actions,
            .toast,
            .modal-overlay {
                display: none !important;
            }

            body {
                background: var(--white);
            }

            .status-hero {
                color: var(--navy-dark);
                background: var(--white);
            }

            .status-hero::before {
                display: none;
            }

            .hero-content {
                min-height: auto;
                padding-block: 25px;
            }

            .hero-title {
                color: var(--navy-dark);
            }

            .hero-description,
            .breadcrumbs {
                color: var(--text-secondary);
            }

            .hero-icon-card {
                color: var(--navy-dark);
                background: var(--gold-soft);
                box-shadow: none;
            }

            .status-section {
                margin-top: 0;
                padding-bottom: 0;
            }

            .status-layout {
                display: block;
            }

            .content-card,
            .status-message,
            .approval-card,
            .changes-request-card {
                break-inside: avoid;
                box-shadow: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
    
body.pending-application-loading main {
    visibility: hidden;
}

body.pending-application-unavailable .application-summary,
body.pending-application-unavailable .main-column > .content-card,
body.pending-application-unavailable #changesRequestCard,
body.pending-application-unavailable #approvalCard,
body.pending-application-unavailable .sidebar-column {
    display: none !important;
}
