@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/Ethnocentric Rg.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/Ethnocentric Rg It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

.ethnocentric-text {
    font-family: 'Ethnocentric', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: normal;
}

.ethnocentric-text.the {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.ethnocentric-text.brain {
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

:root {
    --rowgear-primary: #C3000F;
    --rowgear-primary-light: #E63946;
    --rowgear-primary-dark: #8B0000;
    --rowgear-accent: #F5B83B;
    --executive-glass: rgba(255, 255, 255, 0.7);
    --executive-border: rgba(255, 255, 255, 0.6);
    --executive-shadow: 0 20px 50px rgba(13, 18, 30, 0.12);
}

.executive-shell {
    min-height: 100vh;
    padding: 2.25rem 2.5rem 3rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(195, 0, 15, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(91, 169, 221, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 184, 59, 0.08) 0%, transparent 40%),
        var(--mud-palette-background);
}

.mud-theme-dark .executive-shell {
    background:
        radial-gradient(circle at 15% 25%, rgba(91, 169, 221, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 75% 15%, rgba(195, 0, 15, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 60% 80%, rgba(245, 184, 59, 0.1) 0%, transparent 45%),
        var(--mud-palette-background);
}

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

.executive-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.45);
}

.mud-theme-dark .executive-eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.executive-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin: 0.3rem 0 0.5rem;
    color: var(--mud-palette-text-primary);
}

.executive-subtitle {
    max-width: 620px;
    font-size: 1rem;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.executive-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.executive-panel {
    background: var(--executive-glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--executive-border);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--executive-shadow);
}

.mud-theme-dark .executive-panel {
    background: rgba(20, 26, 40, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.executive-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.executive-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.executive-panel-subtitle {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 0.2rem;
}

.executive-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.executive-kpi-card {
    position: relative;
    padding: 1.25rem 1.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px rgba(12, 20, 40, 0.12);
    overflow: hidden;
}

.mud-theme-dark .executive-kpi-card {
    background: rgba(18, 24, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.executive-kpi-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(195, 0, 15, 0.16) 0%, transparent 70%);
    opacity: 0.7;
}

.executive-kpi-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
}

.executive-kpi-value {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.35rem 0;
}

.executive-kpi-trend {
    font-size: 0.85rem;
    color: rgba(195, 0, 15, 0.85);
    font-weight: 600;
}

.executive-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.executive-grid.two-column {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.executive-list {
    display: grid;
    gap: 0.85rem;
}

.executive-list-item {
    width: 100%;
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.executive-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(12, 20, 40, 0.12);
}

.mud-theme-dark .executive-list-item {
    background: rgba(26, 34, 50, 0.75);
}

.executive-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(195, 0, 15, 0.12);
    color: var(--rowgear-primary);
}

.executive-table {
    width: 100%;
    border-collapse: collapse;
}

.executive-table th {
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
    padding-bottom: 0.6rem;
}

.executive-table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.mud-theme-dark .executive-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.executive-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.executive-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.mud-theme-dark .executive-pill {
    background: rgba(30, 40, 60, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Rowgear Executive-style Page Shell */
.rg-page {
    min-height: 100vh;
    padding: 1.75rem 2.25rem 3rem;
    background:
        radial-gradient(circle at 20% 10%, rgba(195, 0, 15, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 75% 20%, rgba(91, 169, 221, 0.08) 0%, transparent 45%),
        var(--mud-palette-background);
}

.rg-hero {
    position: relative;
    border-radius: 22px;
    padding: 2rem 2.25rem 1.5rem;
    background: linear-gradient(135deg, #C3000F 0%, #A5000D 55%, #7D0008 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(195, 0, 15, 0.35);
    overflow: hidden;
    margin-bottom: 2rem;
}

.rg-hero::after {
    content: "";
    position: absolute;
    top: -35%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0.6;
}

.rg-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 0.9fr);
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.rg-hero-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 600;
    opacity: 0.7;
}

.rg-hero-title {
    font-family: 'Ethnocentric', sans-serif;
    font-size: clamp(2.1rem, 3.2vw, 3rem);
    font-weight: 800;
    margin: 0.4rem 0 0.6rem;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.rg-hero-subtitle {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

.rg-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1rem;
}

.rg-hero-stat {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    backdrop-filter: blur(10px);
}

.rg-hero-stat .stat-value {
    font-size: 1.6rem;
    font-weight: 800;
}

.rg-hero-stat .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    margin-top: 0.2rem;
}

.rg-hero-stat .stat-trend {
    font-size: 0.75rem;
    margin-top: 0.35rem;
    opacity: 0.8;
}

.rg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.rg-hero-btn {
    border-radius: 999px !important;
    padding: 0.55rem 1.4rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.rg-hero-btn.primary {
    background: #fff !important;
    color: #A1000D !important;
    border-color: #fff !important;
}

.rg-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.rg-grid {
    display: grid;
    gap: 1.5rem;
}

.rg-grid.two-column {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.rg-panel {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(12, 20, 40, 0.12);
    backdrop-filter: blur(18px);
}

.rg-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.rg-panel-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.rg-panel-subtitle {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}

.rg-panel-metric {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.2rem 0 0.4rem;
}

.rg-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rg-pill {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(195, 0, 15, 0.12);
    color: #A1000D;
}

.rg-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.rg-list-item {
    width: 100%;
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rg-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(12, 20, 40, 0.12);
}

.rg-list-title {
    font-weight: 700;
}

.rg-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(195, 0, 15, 0.12);
    color: #A1000D;
}

@media (max-width: 1100px) {
    .rg-hero-grid {
        grid-template-columns: 1fr;
    }

    .rg-hero-stats {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .rg-page {
        padding: 1.5rem;
    }

    .rg-hero {
        padding: 1.6rem 1.6rem 1.25rem;
    }

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

@media (max-width: 960px) {
    .executive-shell {
        padding: 1.5rem;
    }

    .executive-header {
        flex-direction: column;
    }
}
