        *:not(.fa):not(.fas):not([class^="fa-"]):not([class*=" fa-"]) {
            font-family: var(--app-font-family, 'Cairo', Tahoma, Arial, sans-serif);
            letter-spacing: 0;
        }

        :root {
            --portal-ink: #1f2937;
            --portal-muted: #667085;
            --portal-gold: #b8892f;
            --portal-gold-soft: #d4a94d;
            --portal-green: #16704a;
            --portal-panel: rgba(255, 255, 255, .9);
            --portal-panel-deep: rgba(255, 250, 242, .82);
        }

        body {
            min-height: 100vh;
            margin: 0;
            background: #17120d url('assets/img/portal-accounting-bg.png') center center / cover no-repeat fixed;
            color: #f8fafc;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background:
                radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .26), transparent 38%),
                linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(250, 246, 239, .58));
            pointer-events: none;
            z-index: 0;
        }

        .portal-shell {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
        }

        .portal-topbar {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            background: rgba(255, 255, 255, .88);
            border-bottom: 1px solid rgba(184, 137, 47, .16);
            box-shadow: 0 10px 30px rgba(31, 41, 55, .07);
            backdrop-filter: blur(16px);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .brand-logo {
            width: 54px;
            height: 54px;
            border-radius: 8px;
            object-fit: contain;
            background: rgba(255, 252, 244, .92);
            border: 1px solid rgba(214, 168, 75, .32);
            padding: 6px;
            box-shadow: 0 12px 28px rgba(31, 41, 55, .12);
        }

        .brand-mark {
            width: 52px;
            height: 52px;
            border-radius: 8px;
            display: grid;
            place-items: center;
            color: #fff;
            background: linear-gradient(135deg, #b7791f, #14532d);
            font-size: 22px;
            box-shadow: 0 12px 28px rgba(31, 41, 55, .12);
        }

        .brand-title {
            margin: 0;
            font-size: 1.85rem;
            line-height: 1.25;
            font-weight: 800;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--portal-ink);
            text-shadow: none;
        }

        .portal-main {
            width: min(1060px, calc(100% - 36px));
            margin: 0 auto;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 34px 0 28px;
        }

        .portal-heading {
            margin-bottom: 26px;
            text-align: center;
            padding: 18px 22px;
            border-radius: 8px;
            background: rgba(255, 255, 255, .72);
            border: 1px solid rgba(255, 255, 255, .68);
            box-shadow: 0 14px 40px rgba(31, 41, 55, .08);
            backdrop-filter: blur(10px);
        }

        .portal-heading h1 {
            margin: 0 0 8px;
            font-size: 2.8rem;
            line-height: 1.18;
            font-weight: 800;
            color: var(--portal-ink);
            text-shadow: none;
        }

        .portal-heading p {
            margin: 0;
            color: var(--portal-muted);
            font-size: 1rem;
            font-weight: 600;
        }

        .section-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .section-card {
            min-height: 204px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 24px 28px;
            border-radius: 8px;
            background:
                radial-gradient(circle at 12% 0%, rgba(212, 169, 77, .11), transparent 34%),
                linear-gradient(145deg, var(--portal-panel), var(--portal-panel-deep));
            border: 1px solid rgba(184, 137, 47, .18);
            box-shadow: 0 18px 48px rgba(31, 41, 55, .12), inset 0 1px 0 rgba(255, 255, 255, .72);
            backdrop-filter: blur(12px);
            text-decoration: none;
            color: var(--portal-ink);
            overflow: hidden;
            position: relative;
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .section-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(255, 255, 255, .34), transparent 46%);
            pointer-events: none;
        }

        .section-card > * {
            position: relative;
            z-index: 1;
        }

        .section-card:hover {
            transform: translateY(-2px);
            border-color: rgba(184, 137, 47, .36);
            box-shadow: 0 24px 58px rgba(31, 41, 55, .16), inset 0 1px 0 rgba(255, 255, 255, .82);
            color: var(--portal-ink);
        }

        .portal-footer {
            padding: 16px;
            text-align: center;
            color: #6b7280;
            font-size: 14px;
            font-weight: 700;
            text-shadow: none;
        }

        .portal-footer strong {
            color: var(--portal-gold-soft);
        }

        .section-icon {
            width: 54px;
            height: 54px;
            border-radius: 8px;
            display: grid;
            place-items: center;
            color: #fffbeb;
            font-size: 22px;
            margin-bottom: 16px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 24px rgba(31, 41, 55, .14);
        }

        .section-card.restaurant .section-icon {
            background: linear-gradient(135deg, #b8892f, #16704a);
        }

        .section-card.hr .section-icon {
            background: linear-gradient(135deg, #0f766e, #1d4ed8);
        }

        .section-card.employee .section-icon {
            background: linear-gradient(135deg, #16704a, #b8892f);
        }

        .section-card.warehouse .section-icon {
            background: linear-gradient(135deg, #0f766e, #2563eb);
        }

        .section-card.training .section-icon {
            background: linear-gradient(135deg, #7c3aed, #0ea5e9);
        }

        .section-card h2 {
            margin: 0;
            font-size: 2rem;
            line-height: 1.32;
            font-weight: 800;
            color: var(--portal-ink);
            text-shadow: none;
        }

        .section-label {
            color: var(--portal-gold);
            font-weight: 700;
            letter-spacing: 0;
            text-transform: uppercase;
            font-size: .9rem;
        }

        .section-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: 30px;
            color: #475467;
            font-weight: 700;
        }

        .section-footer > i {
            color: var(--portal-gold);
            font-size: 18px;
        }

        .login-badge {
            border-radius: 8px;
            padding: 7px 10px;
            font-size: 13px;
            background: rgba(22, 112, 74, .08);
            color: var(--portal-green);
            border: 1px solid rgba(22, 112, 74, .16);
            font-weight: 800;
        }

        @media (max-width: 720px) {
            .portal-topbar {
                justify-content: flex-start;
                padding: 12px 18px;
            }

            .brand-logo,
            .brand-mark {
                width: 48px;
                height: 48px;
            }

            .brand-title {
                font-size: 1.35rem;
            }

            .portal-heading h1 {
                font-size: 2.1rem;
            }

            .portal-heading p {
                font-size: .95rem;
            }

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

            .section-card {
                min-height: 178px;
                padding: 22px;
            }

            .section-card h2 {
                font-size: 1.55rem;
            }
        }
