/*
 * Global styles and variables
 *
 * This stylesheet defines the shared look and feel for the entire site.
 * A modern sans‑serif font, soft color palette and generous spacing
 * create a clean, professional appearance across pages. Variables defined
 * at the root level make it easy to tune the design later.
 */

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

:root {
    --font-family-base: 'Poppins', Arial, sans-serif;
    --color-primary: #0d4a75; /* deep blue for nav and accents */
    --color-primary-dark: #062d47;
    --color-secondary: #1f6f8b;
    --color-light: #f5f7fa;
    --color-dark: #1e2a38;
    --color-text: #333;
    --color-muted: #6c757d;
    --border-radius: 8px;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--color-light);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.header-section {
    padding: 20px 0;
}

.hero-section {
    /* Create a striking hero area using a smooth gradient */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    min-height: 70vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Add a subtle decorative overlay to the hero section */
.hero-section::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Icon circles for feature cards */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Override Bootstrap primary colours with custom palette */
.bg-primary {
    background-color: var(--color-primary) !important;
}
.btn-light {
    background-color: #fff;
    border: none;
}
.btn-light:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

.footer {
    background-color: var(--color-primary-dark);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

footer a {
    color: #fff;
    margin: 0 8px;
    text-decoration: underline;
}

footer a:hover {
    color: #d1e9ff;
}

/* Footer styles */
.footer {
    background-color: #2b2e33;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative; /* Default position */
    width: 100%; /* Full width */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for separation */
}

.footer a:hover {
    color: #fff;
}

.carousel {
    margin-top: 20px; /* Adds spacing above the carousel */
    max-width: 800px; /* Set a fixed maximum width */
    margin-left: auto; /* Center the carousel */
    margin-right: auto; /* Center the carousel */
    height: 350px; /* Fixed height for the entire carousel */
}

.carousel-inner {
    background-color: #fff; /* Background color for carousel slides */
    border-radius: 10px; /* Rounded corners for carousel */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    height: 100%; /* Occupy the full height of the carousel */
}

.carousel-item {
    display: none; /* Hide all carousel items initially */
    position: relative; /* Position relative for slide animations */
    transition: transform 0.6s ease; /* Slide transition */
    justify-content: center; /* Center content */
    align-items: center; /* Center content */
    height: 100%; /* Fixed height to match the carousel height */
    text-align: center; /* Center text */
    padding: 20px; /* Padding inside each carousel item */
}

.carousel-item.active {
    display: flex; /* Show only active carousel item */
}

.benefits-list {
    padding: 20px; /* Additional padding for content spacing */
}

.benefits-list h2 {
    color: #333;
    margin: 15px 0; /* Spacing around salary text */
}

.benefits-list p {
    color: #666;
    margin: 5px 0; /* Spacing for benefits text */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333; /* Dark background for controls */
    border-radius: 50%; /* Circular controls */
    padding: 10px; /* Adds padding to controls */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #555; /* Darker background on hover */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Smaller width for controls */
}

.carousel-indicators li {
    background-color: #333; /* Color for carousel indicators */
}

.carousel-indicators .active {
    background-color: #555; /* Active indicator color */
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    .carousel {
        height: 300px; /* Adjusted height for smaller screens */
    }
    .carousel-inner,
    .carousel-item {
        height: 100%; /* Maintain fixed height on smaller screens */
    }
    .carousel-item {
        padding: 15px; /* Reduced padding on smaller screens */
    }
}

/*
 * Modern components introduced during the major site overhaul.
 * These rules define reusable sections and cards used on the new
 * homepage (features section), as well as the information page.  They rely
 * on the existing CSS variables for colours defined at the top of this file.
 */

/* Features section: used on the landing page to showcase what the program offers. */
.features-section {
    padding: 60px 20px;
    background-color: var(--color-light);
}
.features-section .feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease;
    height: 100%;
}
.features-section .feature-card:hover {
    transform: translateY(-5px);
}
.features-section .feature-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.features-section .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}
.features-section .feature-card p {
    font-size: 1rem;
    color: var(--color-muted);
}

/* Info page section: groups together information cards about private sector
   hiring, law enforcement roles, and preparation requirements. */
.info-section {
    padding: 60px 20px;
    background-color: var(--color-light);
}
.info-section h2 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}
.info-section .info-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}
.info-section .info-card h3 {
    margin-top: 0;
    color: var(--color-primary-dark);
    font-size: 1.4rem;
}
.info-section .info-card ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}
.info-section .info-card li {
    margin-bottom: 8px;
    color: var(--color-text);
}

/* Buttons within hero sections or call‑to‑action areas.  Use this class on
   anchor tags or button elements to create pill‑shaped primary buttons. */
.cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    color: #fff;
    background-color: var(--color-secondary);
    transition: background-color 0.3s;
    display: inline-block;
}
.cta-btn:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
    text-decoration: none;
}

.cta-btn-light {
    background-color: #fff;
    color: var(--color-primary);
}

.cta-btn-light:hover {
    background-color: #d1e9ff;
    color: var(--color-primary-dark);
}

.info-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.info-card h2 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.course-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 72px;
    padding: 16px;
    background: #fff;
    border: 1px solid #d9e3ef;
    border-bottom: 4px solid #1f6f8b;
    border-radius: 8px;
    color: var(--color-primary-dark);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.course-card i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.book-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.book-thumb {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px;
    overflow: hidden;
    border-radius: 10px 16px 16px 10px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(145deg, #0d4a75, #062d47);
    box-shadow:
        inset 12px 0 0 rgba(255, 255, 255, 0.12),
        inset 16px 0 0 rgba(0, 0, 0, 0.16),
        0 16px 28px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 18%, rgba(255,255,255,0.06) 54%, transparent);
    pointer-events: none;
}

.book-thumb:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow:
        inset 12px 0 0 rgba(255, 255, 255, 0.14),
        inset 16px 0 0 rgba(0, 0, 0, 0.18),
        0 22px 40px rgba(15, 23, 42, 0.24);
}

.book-thumb strong {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    line-height: 1.15;
}

.book-thumb small,
.book-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
}

.book-thumb small {
    margin-top: 12px;
}

.book-label {
    margin-bottom: auto;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.book-mark {
    position: absolute;
    top: 0;
    right: 24px;
    width: 22px;
    height: 74px;
    background: rgba(255, 255, 255, 0.84);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.federal-book {
    background: linear-gradient(145deg, #16324f, #0d4a75);
}

.law-book {
    background: linear-gradient(145deg, #123c45, #1f6f8b);
}

.language-book {
    background: linear-gradient(145deg, #49326b, #7251a3);
}

.math-book {
    background: linear-gradient(145deg, #5b3b16, #a3631f);
}

.resource-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.video-resource-card {
    flex-direction: column;
    min-height: 132px;
    padding: 22px;
    text-align: center;
}

.video-resource-card span {
    font-weight: 700;
}

.video-resource-card small {
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.video-feature-card h2 {
    margin-top: 10px;
}

.video-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 120, 212, 0.12);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.embed-placeholder {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #d7e3ef;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, #eef5fb, #fff);
    color: var(--color-primary-dark);
    font-weight: 700;
}

.embed-placeholder i {
    font-size: 3rem;
    color: var(--color-primary);
}

.video-note {
    border-left: 4px solid var(--color-secondary);
    padding: 22px;
    background: #f8fbff;
    border-radius: var(--border-radius);
}

.video-note h3 {
    color: var(--color-primary-dark);
    font-size: 1.25rem;
}

/* Override the footer once more to ensure consistency with our palette. */
footer.footer {
    background-color: var(--color-primary-dark);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}
footer.footer a {
    color: #cbd9e8;
    margin: 0 8px;
    text-decoration: none;
    transition: color 0.3s;
}
footer.footer a:hover {
    color: #fff;
}

/* Federal Employment Assistance course styling base. */
body.federal-course-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(31, 111, 139, 0.13), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(13, 74, 117, 0.10), transparent 32%),
        linear-gradient(145deg, #f7fbff 0%, #eaf2f8 48%, #f9fbfd 100%);
}

.federal-course-nav {
    background: rgba(13, 74, 117, 0.92) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(15, 42, 68, 0.14) !important;
}

.federal-course-hero {
    position: relative;
    max-width: min(1180px, calc(100vw - 32px));
    margin: 24px auto 0;
    overflow: hidden;
    border: 1px solid rgba(13, 74, 117, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(13, 74, 117, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 74, 117, 0.04) 1px, transparent 1px),
        rgba(255, 255, 255, 0.76);
    background-size: 34px 34px;
    color: #112235;
    box-shadow: 0 24px 70px rgba(15, 42, 68, 0.13);
}

.federal-course-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -58% auto;
    width: min(54vw, 560px);
    aspect-ratio: 1;
    border: 1px solid rgba(31, 111, 139, 0.13);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(31, 111, 139, 0.12), transparent 62%);
    pointer-events: none;
}

.federal-course-hero h1,
.federal-course-hero p,
.federal-course-hero a {
    position: relative;
    z-index: 1;
}

.federal-course-hero h1 {
    color: #112235;
    letter-spacing: -0.055em;
}

.federal-course-hero p {
    color: #4d6275;
}

.federal-course-main {
    max-width: 1180px;
}

.federal-course-panel {
    border: 1px solid rgba(13, 74, 117, 0.13);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 36px rgba(15, 42, 68, 0.10);
}

.federal-course-panel h2 {
    color: #112235;
    letter-spacing: -0.035em;
}

.federal-course-panel p {
    color: #4d6275;
}

.federal-course-page .course-card {
    border-color: rgba(13, 74, 117, 0.13);
    border-bottom-color: rgba(31, 111, 139, 0.52);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 24px rgba(15, 42, 68, 0.08);
}

.federal-course-page .video-resource-card {
    min-height: 146px;
}

.federal-course-page .book-thumb {
    border-radius: 16px 24px 24px 16px;
    box-shadow:
        inset 12px 0 0 rgba(255, 255, 255, 0.12),
        inset 16px 0 0 rgba(0, 0, 0, 0.16),
        0 18px 34px rgba(15, 42, 68, 0.18);
}

/* Veterans one-screen command center styling base. */
body.veterans-console-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 14%, rgba(31, 111, 139, 0.12), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(13, 74, 117, 0.10), transparent 30%),
        linear-gradient(145deg, #f7fbff 0%, #eaf2f8 46%, #f9fbfd 100%);
    color: #112235;
}

.veterans-console-page a,
.veterans-console-page button {
    font-family: inherit;
}

.veterans-console {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: clamp(8px, 1.6vh, 16px);
    width: min(1180px, calc(100vw - 24px));
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    margin: 12px auto;
    padding: clamp(12px, 2vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(13, 74, 117, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 70px rgba(15, 42, 68, 0.16);
    backdrop-filter: blur(18px);
}

.console-header,
.console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
}

.console-brand,
.console-footer-links a {
    color: #17344f;
    text-decoration: none;
}

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

.console-brand:hover,
.console-footer-links a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.console-brand-mark {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(31, 111, 139, 0.24);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #e8f2fa);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 10px 24px rgba(13, 74, 117, 0.10);
}

.console-brand strong,
.console-brand small {
    display: block;
    white-space: nowrap;
}

.console-brand strong {
    font-size: clamp(0.92rem, 1.7vw, 1.08rem);
    line-height: 1.1;
}

.console-brand small {
    margin-top: 3px;
    color: #6e8091;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.console-stage {
    display: grid;
    min-height: 0;
    padding: clamp(12px, 2.4vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(13, 74, 117, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(13, 74, 117, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 74, 117, 0.04) 1px, transparent 1px),
        rgba(255, 255, 255, 0.58);
    background-size: 34px 34px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.console-display {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(12px, 2.4vw, 24px);
    min-height: 0;
}

.console-video-plane,
.console-copy {
    min-height: 0;
    border: 1px solid rgba(13, 74, 117, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 36px rgba(15, 42, 68, 0.10);
}

.console-video-plane {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    overflow: hidden;
    color: #173a55;
    isolation: isolate;
    order: 2;
}

.console-copy {
    order: 1;
    background: rgba(232, 243, 250, 0.84);
}

.console-video-plane::before,
.console-video-plane::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    z-index: -1;
}

.console-video-plane::before {
    width: min(54vw, 520px);
    aspect-ratio: 1;
    border: 1px solid rgba(31, 111, 139, 0.16);
    background: radial-gradient(circle, rgba(31, 111, 139, 0.18), transparent 60%);
}

.console-video-plane::after {
    width: min(34vw, 320px);
    aspect-ratio: 1;
    border: 1px dashed rgba(13, 74, 117, 0.25);
}

.console-video-plane i {
    font-size: clamp(3.8rem, 10vw, 7.5rem);
    color: rgba(13, 74, 117, 0.88);
    filter: drop-shadow(0 14px 22px rgba(13, 74, 117, 0.16));
}

.console-video-plane span {
    padding: 8px 14px;
    border: 1px solid rgba(13, 74, 117, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #435c73;
    font-weight: 700;
    text-align: center;
}

.console-video-plane.is-detail-view {
    display: grid;
    place-items: center;
    padding: clamp(22px, 4vw, 46px);
}

.console-video-plane.is-detail-view::before {
    width: min(50vw, 480px);
    opacity: 0.58;
}

.console-video-plane.is-detail-view::after {
    display: none;
}

.console-detail-pane {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 24px minmax(144px, auto) minmax(136px, auto);
    align-content: center;
    max-width: 680px;
    min-height: 360px;
    text-align: left;
}

.console-detail-pane h2 {
    margin: 0;
    color: #112235;
    font-size: clamp(2.45rem, 3.35vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.console-detail-pane p:not(.console-kicker) {
    margin: 0;
    color: #42576a;
    font-size: clamp(1.25rem, 1.55vw, 1.8rem);
    line-height: 1.38;
    text-wrap: pretty;
}

.console-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 3vw, 32px);
    outline: none;
}

.console-copy.is-selector-only {
    justify-content: flex-start;
    padding: clamp(16px, 2.2vw, 26px);
}

.console-copy.is-selector-only .console-kicker {
    margin-bottom: 14px;
    color: #667c8e;
    font-size: 0.72rem;
}

.console-copy.is-selector-only h1,
.console-copy.is-selector-only > p:not(.console-kicker) {
    display: none;
}

.console-kicker {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.console-copy h1 {
    margin: 0;
    color: #112235;
    font-size: clamp(1.72rem, 4vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.console-copy > p:not(.console-kicker) {
    margin: clamp(10px, 2vh, 18px) 0;
    color: #4d6275;
    font-size: clamp(0.92rem, 1.8vw, 1.12rem);
    line-height: 1.45;
}

.console-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.console-copy.is-selector-only .console-action-row {
    display: block;
}

.console-selector-summary {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(13, 74, 117, 0.12);
    border-left: 4px solid rgba(31, 111, 139, 0.42);
    border-radius: 16px;
    background: rgba(247, 251, 255, 0.72);
    min-height: 122px;
}

.console-selector-summary span,
.console-selector-summary small,
.console-selector-summary strong {
    display: block;
}

.console-selector-summary span {
    color: #8193a3;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.console-selector-summary strong {
    margin-top: 5px;
    color: #17344f;
    font-size: clamp(0.9rem, 1.08vw, 1.02rem);
    line-height: 1.18;
    display: -webkit-box;
    min-height: 2.36em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.console-selector-summary small {
    margin-top: 7px;
    color: #6d8091;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7em;
}

.console-selector-label {
    margin: 0 0 7px;
    color: #8193a3;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.console-selector-label-secondary {
    margin-top: 14px;
}

.console-primary-action,
.console-secondary-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
}

.console-primary-action {
    border: 1px solid rgba(13, 74, 117, 0.18);
    background: linear-gradient(145deg, #174d74, #0d4a75);
    color: #fff;
    box-shadow: 0 12px 24px rgba(13, 74, 117, 0.22);
}

.console-primary-action:hover {
    color: #fff;
    text-decoration: none;
}

.console-secondary-action {
    border: 1px solid rgba(13, 74, 117, 0.16);
    background: rgba(255, 255, 255, 0.74);
    color: #17344f;
}

.console-secondary-action:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.console-muted-action {
    color: #64788a;
    font-weight: 700;
}

.console-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    min-height: 46px;
}

.console-chip-row-secondary {
    gap: 6px;
    min-height: 118px;
}

.console-chip {
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid rgba(13, 74, 117, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #2d4b64;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.console-chip-soft {
    min-height: 30px;
    padding: 5px 8px;
    border-color: rgba(13, 74, 117, 0.10);
    background: transparent;
    color: #617485;
    font-size: 0.68rem;
    font-weight: 700;
    box-shadow: none;
}

.console-chip,
.console-chip-soft {
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.console-chip.is-active {
    background: #dcecf7;
    border-color: rgba(13, 74, 117, 0.35);
    color: var(--color-primary-dark);
}

.console-detail-text {
    width: 100%;
    margin: 4px 0 0;
    padding: 12px 14px;
    border-left: 3px solid var(--color-secondary);
    border-radius: 12px;
    background: rgba(247, 251, 255, 0.84);
    color: #3f5568;
    font-size: 0.92rem;
    line-height: 1.4;
}

.console-mode-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.console-mode {
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid rgba(13, 74, 117, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.60);
    color: #3e5569;
    font-size: clamp(0.68rem, 1.15vw, 0.82rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 42, 68, 0.06);
}

.console-mode span {
    display: block;
    margin-bottom: 2px;
    color: #8293a2;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.console-mode.is-active {
    border-color: rgba(13, 74, 117, 0.34);
    background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(223, 238, 248, 0.88));
    color: var(--color-primary-dark);
    box-shadow: inset 0 -3px 0 rgba(31, 111, 139, 0.52), 0 12px 24px rgba(13, 74, 117, 0.10);
}

.console-mode:focus-visible,
.console-chip:focus-visible,
.console-primary-action:focus-visible,
.console-secondary-action:focus-visible,
.console-brand:focus-visible {
    outline: 3px solid rgba(31, 111, 139, 0.38);
    outline-offset: 3px;
}

.console-footer {
    color: #6a7f91;
    font-size: 0.78rem;
    font-weight: 600;
}

.console-footer-links {
    display: inline-flex;
    gap: 12px;
}

@media (max-width: 820px) {
    .veterans-console {
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        height: calc(100dvh - 12px);
        margin: 6px auto;
        padding: 10px;
        border-radius: 22px;
        gap: 8px;
    }

    .console-header {
        min-height: 38px;
    }

    .console-brand {
        gap: 8px;
    }

    .console-brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 13px;
        font-size: 0.68rem;
    }

    .console-brand strong {
        max-width: 48vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .console-brand small {
        display: none;
    }

    .console-stage {
        padding: 9px;
        border-radius: 18px;
    }

    .console-display {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(95px, 0.72fr) minmax(0, 1fr);
        gap: 8px;
    }

    .console-video-plane,
    .console-copy {
        border-radius: 16px;
    }

    .console-video-plane {
        gap: 6px;
    }

    .console-video-plane i {
        font-size: clamp(2.2rem, 13vw, 4rem);
    }

    .console-video-plane span {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .console-video-plane.is-detail-view {
        padding: 14px;
    }

    .console-detail-pane {
        grid-template-rows: 18px minmax(56px, auto) minmax(56px, auto);
        min-height: 160px;
    }

    .console-detail-pane h2 {
        font-size: clamp(1.1rem, 5.2vw, 1.55rem);
        line-height: 1.02;
    }

    .console-detail-pane p:not(.console-kicker) {
        margin-top: 7px;
        font-size: 0.72rem;
        line-height: 1.26;
    }

    .console-copy {
        padding: 12px;
    }

    .console-copy.is-selector-only {
        padding: 11px;
    }

    .console-copy.is-selector-only .console-kicker {
        margin-bottom: 7px;
        font-size: 0.54rem;
    }

    .console-selector-summary {
        margin-bottom: 8px;
        padding: 8px 10px;
        border-radius: 12px;
        min-height: 58px;
    }

    .console-selector-summary span {
        font-size: 0.5rem;
    }

    .console-selector-summary strong {
        margin-top: 3px;
        font-size: 0.72rem;
        min-height: 1.2em;
        -webkit-line-clamp: 1;
    }

    .console-selector-summary small {
        display: none;
    }

    .console-kicker {
        margin-bottom: 5px;
        font-size: 0.62rem;
    }

    .console-copy h1 {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .console-copy > p:not(.console-kicker) {
        margin: 7px 0;
        font-size: 0.78rem;
        line-height: 1.32;
    }

    .console-primary-action,
    .console-secondary-action {
        min-height: 38px;
        padding: 8px 11px;
        border-radius: 12px;
        font-size: 0.78rem;
    }

    .console-chip-row {
        gap: 5px;
        min-height: 34px;
    }

    .console-chip {
        min-height: 32px;
        padding: 6px 8px;
        font-size: 0.68rem;
    }

    .console-chip-soft {
        min-height: 25px;
        padding: 4px 6px;
        font-size: 0.52rem;
    }

    .console-chip-row-secondary {
        min-height: 62px;
    }

    .console-selector-label {
        margin-bottom: 4px;
        font-size: 0.5rem;
    }

    .console-selector-label-secondary {
        margin-top: 7px;
    }

    .console-detail-text {
        margin-top: 2px;
        padding: 8px 10px;
        font-size: 0.7rem;
        line-height: 1.25;
    }

    .console-mode-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .console-mode {
        min-height: 38px;
        padding: 6px 7px;
        border-radius: 12px;
        font-size: 0.62rem;
    }

    .console-mode span {
        display: none;
    }

    .console-footer {
        min-height: 24px;
        font-size: 0.62rem;
    }

    .console-footer-links {
        gap: 7px;
    }
}

/* Federal landing page: clean conversion entry with no nav bar. */
body.federal-landing-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(36, 95, 135, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 95, 135, 0.055) 1px, transparent 1px),
        #f4f7fb;
    background-size: 38px 38px;
    color: #102234;
}

.federal-landing-shell {
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.federal-landing-header {
    display: flex;
    align-items: center;
    min-height: clamp(58px, 7vh, 74px);
    padding: 10px clamp(18px, 3vw, 34px);
    background: #245f87;
    color: #fff;
}

.federal-landing-brand {
    color: #fff;
    font-size: clamp(1.18rem, 2.3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.federal-landing-brand:hover {
    color: #fff;
    text-decoration: none;
}

.federal-landing-main {
    display: grid;
    align-items: center;
    min-height: 0;
    padding: clamp(14px, 3vh, 28px) clamp(16px, 4vw, 68px);
    overflow: hidden;
}

.federal-landing-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.78fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
    width: min(1180px, 100%);
    max-height: 100%;
    margin: 0 auto;
    padding: clamp(24px, 4.8vh, 52px) clamp(28px, 5vw, 64px);
    border: 1px solid #dbe7ef;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px rgba(15, 42, 68, 0.12);
    overflow: hidden;
}

.federal-landing-kicker {
    margin: 0 0 clamp(10px, 1.8vh, 18px);
    color: #1677a6;
    font-size: clamp(0.72rem, 1.05vw, 0.92rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.federal-landing-copy h1 {
    max-width: 640px;
    margin: 0;
    color: #102234;
    font-size: clamp(2rem, 4.2vw, 4.05rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.federal-landing-copy p:not(.federal-landing-kicker) {
    max-width: 500px;
    margin: clamp(14px, 2.2vh, 24px) 0 0;
    color: #526575;
    font-size: clamp(0.92rem, 1.35vw, 1.16rem);
    line-height: 1.42;
}

.federal-landing-actions {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vh, 16px);
    align-items: center;
    justify-content: center;
}

.federal-landing-actions .cta-btn {
    display: inline-flex;
    width: min(100%, 330px);
    min-height: clamp(48px, 6.4vh, 62px);
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: clamp(0.92rem, 1.45vw, 1.12rem);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.federal-landing-action-primary {
    background: #247f99;
}

.federal-landing-action-primary:hover {
    background: #245f87;
}

.federal-landing-action {
    border: 1px solid #d6e1ea;
    color: #245f87;
}

.federal-landing-footer {
    margin-top: 0;
    padding-top: clamp(14px, 2.4vh, 22px) !important;
    padding-bottom: clamp(14px, 2.4vh, 22px) !important;
    font-size: clamp(0.72rem, 1.05vw, 0.92rem);
}

.federal-page-top {
    padding: 18px clamp(16px, 4vw, 42px) 0;
}

.federal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #d6e1ea;
    border-radius: 999px;
    background: #fff;
    color: #245f87;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 42, 68, 0.06);
}

.federal-back-link:hover {
    background: #eef6fb;
    color: #123852;
    text-decoration: none;
}

@media (max-width: 860px) {
    body.federal-landing-page {
        overflow: auto;
    }

    .federal-landing-shell {
        min-height: 100vh;
        height: auto;
        overflow: visible;
    }

    .federal-landing-header {
        min-height: 70px;
    }

    .federal-landing-panel {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
        padding: clamp(26px, 7vw, 42px);
        overflow: visible;
    }

    .federal-landing-actions {
        justify-content: flex-start;
    }

    .federal-landing-actions .cta-btn {
        width: 100%;
        min-height: 54px;
    }
}

@media (max-width: 420px) {
    .console-footer span:first-child {
        display: none;
    }

    .console-footer {
        justify-content: center;
    }
}

/* Federal Employment Assistance rectangular console. */
body.federal-console-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(167, 122, 43, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(167, 122, 43, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 16% 12%, rgba(176, 123, 36, 0.20), transparent 28%),
        radial-gradient(circle at 86% 24%, rgba(33, 75, 92, 0.22), transparent 34%),
        linear-gradient(145deg, #f4efe5 0%, #e7edf0 46%, #f8f3e9 100%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    color: #17242e;
}

.federal-console-page a,
.federal-console-page button {
    font-family: inherit;
}

.federal-console {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: clamp(8px, 1.7vh, 16px);
    width: min(1220px, calc(100vw - 24px));
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    margin: 12px auto;
    padding: clamp(12px, 2vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(57, 76, 88, 0.22);
    border-radius: 18px;
    background: rgba(250, 248, 242, 0.82);
    box-shadow: 0 24px 70px rgba(54, 62, 68, 0.18);
    backdrop-filter: blur(16px);
}

.federal-console-header,
.federal-console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.federal-console-brand,
.federal-console-topnav a,
.federal-console-footer-links a {
    color: #243645;
    text-decoration: none;
}

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

.federal-console-brand:hover,
.federal-console-topnav a:hover,
.federal-console-footer-links a:hover {
    color: #8a5a17;
    text-decoration: none;
}

.federal-console-brand-mark {
    display: inline-grid;
    width: 48px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(138, 90, 23, 0.35);
    border-radius: 8px;
    background: linear-gradient(145deg, #fff9ed, #e9d4ac);
    color: #56380f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: inset -4px 0 0 rgba(45, 69, 82, 0.12), 0 10px 22px rgba(70, 50, 21, 0.10);
}

.federal-console-brand strong,
.federal-console-brand small {
    display: block;
    white-space: nowrap;
}

.federal-console-brand strong {
    font-size: clamp(0.96rem, 1.6vw, 1.14rem);
    line-height: 1.1;
}

.federal-console-brand small {
    margin-top: 3px;
    color: #6f6557;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.federal-console-topnav,
.federal-console-footer-links {
    display: inline-flex;
    gap: 8px;
}

.federal-console-topnav a {
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid rgba(57, 76, 88, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
    color: #314655;
    font-size: 0.78rem;
    font-weight: 800;
}

.federal-console-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(12px, 2vw, 20px);
    min-height: 0;
    padding: clamp(10px, 1.7vw, 18px);
    overflow: hidden;
    border: 1px solid rgba(57, 76, 88, 0.16);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(45, 69, 82, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(45, 69, 82, 0.045) 1px, transparent 1px),
        rgba(255, 252, 245, 0.62);
    background-size: 34px 34px;
}

.federal-console-detail,
.federal-console-map {
    min-height: 0;
    border: 1px solid rgba(57, 76, 88, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(54, 62, 68, 0.10);
}

.federal-console-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 4.4vw, 58px);
    outline: none;
}

.federal-console-kicker {
    margin: 0 0 10px;
    color: #8a5a17;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.federal-console-detail h1 {
    margin: 0;
    color: #17242e;
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.federal-console-detail > p:not(.federal-console-kicker) {
    max-width: 680px;
    margin: clamp(12px, 2.2vh, 22px) 0;
    color: #4f6170;
    font-size: clamp(1rem, 1.55vw, 1.34rem);
    line-height: 1.45;
}

.federal-console-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.federal-console-primary,
.federal-console-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.federal-console-primary {
    border: 1px solid rgba(138, 90, 23, 0.24);
    background: linear-gradient(145deg, #9a671e, #6f4510);
    color: #fff;
    box-shadow: 0 12px 24px rgba(111, 69, 16, 0.22);
}

.federal-console-primary:hover {
    color: #fff;
    text-decoration: none;
}

.federal-console-secondary {
    border: 1px solid rgba(45, 69, 82, 0.18);
    background: rgba(255, 255, 255, 0.74);
    color: #2d4552;
}

.federal-console-secondary:hover {
    color: #8a5a17;
    text-decoration: none;
}

.federal-console-map {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    padding: clamp(16px, 2.6vw, 28px);
    overflow: hidden;
    background: rgba(36, 54, 69, 0.92);
}

.federal-map-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(58px, 1fr);
    gap: 10px;
    min-height: 0;
}

.federal-map-tile {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(225, 181, 101, 0.74), rgba(137, 91, 28, 0.82));
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16), 0 10px 18px rgba(0, 0, 0, 0.12);
    opacity: 0.82;
}

.federal-map-tile-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.federal-map-tile-wide {
    grid-column: span 2;
}

.federal-map-tile-tall {
    grid-row: span 2;
}

.federal-map-label {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #f7ead5;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.federal-map-videos .federal-map-tile {
    background: linear-gradient(145deg, rgba(83, 140, 147, 0.82), rgba(30, 82, 94, 0.86));
}

.federal-map-books .federal-map-tile {
    background: linear-gradient(145deg, rgba(117, 97, 155, 0.86), rgba(67, 56, 101, 0.88));
}

.federal-map-enroll .federal-map-tile {
    background: linear-gradient(145deg, rgba(177, 111, 62, 0.88), rgba(111, 58, 29, 0.9));
}

.federal-map-portal .federal-map-tile {
    background: linear-gradient(145deg, rgba(72, 121, 98, 0.88), rgba(31, 79, 64, 0.9));
}

.federal-console-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.federal-console-mode {
    min-height: 74px;
    padding: 10px 12px;
    border: 1px solid rgba(57, 76, 88, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.56);
    color: #3d4e5a;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(54, 62, 68, 0.07);
}

.federal-console-mode span,
.federal-console-mode strong,
.federal-console-mode small {
    display: block;
}

.federal-console-mode span {
    color: #9a7b48;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.federal-console-mode strong {
    margin-top: 4px;
    color: #253847;
    font-size: clamp(0.78rem, 1.05vw, 0.94rem);
    line-height: 1.12;
}

.federal-console-mode small {
    margin-top: 2px;
    color: #6d7b84;
    font-size: 0.68rem;
    font-weight: 700;
}

.federal-console-mode.is-active {
    border-color: rgba(138, 90, 23, 0.36);
    background: linear-gradient(145deg, rgba(255, 250, 239, 0.96), rgba(233, 212, 172, 0.82));
    box-shadow: inset 0 -4px 0 rgba(138, 90, 23, 0.56), 0 12px 24px rgba(111, 69, 16, 0.11);
}

.federal-console-mode:focus-visible,
.federal-console-primary:focus-visible,
.federal-console-secondary:focus-visible,
.federal-console-topnav a:focus-visible,
.federal-console-footer-links a:focus-visible {
    outline: 3px solid rgba(138, 90, 23, 0.34);
    outline-offset: 3px;
}

.federal-console-footer {
    color: #6d746f;
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 820px) {
    .federal-console {
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        height: calc(100dvh - 12px);
        margin: 6px auto;
        padding: 10px;
        border-radius: 14px;
        gap: 8px;
    }

    .federal-console-brand {
        gap: 8px;
    }

    .federal-console-brand-mark {
        width: 40px;
        height: 36px;
        font-size: 0.7rem;
    }

    .federal-console-brand strong {
        max-width: 52vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .federal-console-brand small,
    .federal-console-topnav {
        display: none;
    }

    .federal-console-stage {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) minmax(90px, 0.42fr);
        gap: 8px;
        padding: 8px;
        border-radius: 12px;
    }

    .federal-console-detail {
        padding: 16px;
        border-radius: 9px;
    }

    .federal-console-detail h1 {
        font-size: clamp(1.45rem, 8vw, 2.35rem);
        line-height: 0.98;
    }

    .federal-console-detail > p:not(.federal-console-kicker) {
        margin: 9px 0;
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .federal-console-kicker {
        margin-bottom: 6px;
        font-size: 0.62rem;
    }

    .federal-console-actions {
        gap: 7px;
    }

    .federal-console-primary,
    .federal-console-secondary {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.72rem;
    }

    .federal-console-map {
        padding: 10px;
        border-radius: 9px;
    }

    .federal-map-grid {
        grid-auto-rows: minmax(22px, 1fr);
        gap: 5px;
    }

    .federal-map-label {
        padding: 7px 9px;
        font-size: 0.88rem;
    }

    .federal-console-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
    }

    .federal-console-mode {
        min-height: 48px;
        padding: 7px;
        border-radius: 7px;
    }

    .federal-console-mode span,
    .federal-console-mode small {
        display: none;
    }

    .federal-console-mode strong {
        margin-top: 0;
        font-size: 0.62rem;
    }

    .federal-console-footer {
        font-size: 0.62rem;
    }

    .federal-console-footer span:first-child {
        display: none;
    }

    .federal-console-footer {
        justify-content: center;
    }
}

/* Federal sales-focused single-page landing experience. */
body.federal-sales-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(39, 121, 175, 0.15), transparent 32%),
        radial-gradient(circle at 84% 24%, rgba(13, 74, 117, 0.12), transparent 34%),
        linear-gradient(145deg, #f8fcff 0%, #edf6fc 48%, #f8fbff 100%);
    color: #102234;
}

.federal-sales-page a {
    font-family: inherit;
}

.federal-sales-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(10px, 1.8vh, 18px);
    width: min(1220px, calc(100vw - 24px));
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    margin: 12px auto;
    padding: clamp(14px, 2vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(13, 74, 117, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 80px rgba(26, 67, 103, 0.15);
    backdrop-filter: blur(16px);
}

.federal-sales-header,
.federal-sales-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.federal-sales-brand,
.federal-sales-nav a,
.federal-sales-footer-links a,
.federal-preview-row {
    color: #19364f;
    text-decoration: none;
}

.federal-sales-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.federal-sales-brand:hover,
.federal-sales-nav a:hover,
.federal-sales-footer-links a:hover,
.federal-preview-row:hover {
    color: #0d70a4;
    text-decoration: none;
}

.federal-sales-brand-mark {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(39, 121, 175, 0.24);
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #dff1fb);
    color: #0d4a75;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 28px rgba(13, 74, 117, 0.10);
}

.federal-sales-brand strong,
.federal-sales-brand small {
    display: block;
    white-space: nowrap;
}

.federal-sales-brand strong {
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.1;
}

.federal-sales-brand small {
    margin-top: 3px;
    color: #658095;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.federal-sales-nav,
.federal-sales-footer-links {
    display: inline-flex;
    gap: 8px;
}

.federal-sales-nav a {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(13, 74, 117, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #21465f;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(26, 67, 103, 0.06);
}

.federal-sales-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(12px, 2vw, 20px);
    min-height: 0;
    padding: clamp(16px, 3vw, 36px);
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(13, 74, 117, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 74, 117, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
}

.federal-sales-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    max-width: 720px;
}

.federal-sales-kicker {
    margin: 0 0 10px;
    color: #0d70a4;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.federal-sales-hero h1 {
    margin: 0;
    color: #102234;
    font-size: clamp(2.65rem, 5.3vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.federal-sales-lead {
    max-width: 620px;
    margin: clamp(14px, 2.4vh, 24px) 0;
    color: #4a6274;
    font-size: clamp(1.05rem, 1.65vw, 1.36rem);
    line-height: 1.42;
}

.federal-sales-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.federal-sales-primary,
.federal-sales-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.federal-sales-primary {
    border: 1px solid rgba(13, 74, 117, 0.18);
    background: linear-gradient(145deg, #176fa3, #0d4a75);
    color: #fff;
    box-shadow: 0 16px 32px rgba(13, 74, 117, 0.22);
}

.federal-sales-primary:hover {
    color: #fff;
    text-decoration: none;
}

.federal-sales-secondary {
    border: 1px solid rgba(40, 100, 145, 0.15);
    background: rgba(255, 255, 255, 0.62);
    color: #244b65;
    box-shadow: 0 10px 22px rgba(26, 67, 103, 0.06);
}

.federal-sales-secondary:hover {
    color: #0d70a4;
    text-decoration: none;
}

.federal-course-preview {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 2.2vw, 22px);
    border: 1px solid rgba(13, 74, 117, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: 0 18px 42px rgba(26, 67, 103, 0.08);
}

.federal-preview-heading {
    margin-bottom: 4px;
}

.federal-preview-heading span,
.federal-preview-heading strong {
    display: block;
}

.federal-preview-heading span {
    color: #7892a4;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.federal-preview-heading strong {
    color: #102234;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    letter-spacing: -0.035em;
}

.federal-preview-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 84px;
    padding: 12px;
    border: 1px solid rgba(13, 74, 117, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.54);
    transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.federal-preview-row:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 28px rgba(26, 67, 103, 0.09);
}

.federal-preview-index {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: #e3f2fa;
    color: #0d70a4;
    font-size: 0.72rem;
    font-weight: 800;
}

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

.federal-preview-row strong {
    color: #19364f;
    line-height: 1.12;
}

.federal-preview-row small {
    margin-top: 4px;
    color: #6b8192;
    font-weight: 650;
    line-height: 1.25;
}

.federal-sales-conversion {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid rgba(13, 74, 117, 0.10);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(230, 244, 252, 0.72), rgba(255, 255, 255, 0.64));
    box-shadow: 0 18px 36px rgba(26, 67, 103, 0.08);
}

.federal-sales-conversion h2 {
    margin: 0;
    color: #102234;
    font-size: clamp(1.28rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.federal-sales-conversion p:not(.federal-sales-kicker) {
    max-width: 760px;
    margin: 8px 0 0;
    color: #4a6274;
    line-height: 1.4;
}

.federal-sales-actions-right {
    justify-content: flex-end;
}

.federal-sales-footer {
    color: #657f91;
    font-size: 0.78rem;
    font-weight: 700;
}

.federal-sales-brand:focus-visible,
.federal-sales-nav a:focus-visible,
.federal-sales-primary:focus-visible,
.federal-sales-secondary:focus-visible,
.federal-preview-row:focus-visible,
.federal-sales-footer-links a:focus-visible {
    outline: 3px solid rgba(39, 121, 175, 0.34);
    outline-offset: 3px;
}

@media (max-width: 860px) {
    body.federal-sales-page {
        overflow: auto;
    }

    .federal-sales-shell {
        min-height: calc(100vh - 12px);
        height: auto;
        width: calc(100vw - 12px);
        margin: 6px auto;
        padding: 10px;
        border-radius: 22px;
    }

    .federal-sales-brand small,
    .federal-sales-nav {
        display: none;
    }

    .federal-sales-stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 14px;
        overflow: visible;
    }

    .federal-sales-hero h1 {
        font-size: clamp(2rem, 10vw, 3.4rem);
    }

    .federal-sales-lead {
        font-size: 0.94rem;
    }

    .federal-sales-primary,
    .federal-sales-secondary {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .federal-course-preview {
        padding: 12px;
    }

    .federal-preview-row {
        min-height: 70px;
    }

    .federal-sales-conversion {
        grid-template-columns: 1fr;
    }

    .federal-sales-actions-right {
        justify-content: flex-start;
    }

    .federal-sales-footer {
        justify-content: center;
        font-size: 0.65rem;
    }

    .federal-sales-footer span:first-child {
        display: none;
    }
}

/* Stable single-page shell for Federal Employment Assistance. */
body.federal-app-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #f4f7fb;
}

.federal-app-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #f4f7fb;
}

.federal-app-nav,
.federal-app-footer {
    flex: 0 0 auto;
}

.federal-pane-shell {
    min-height: 0;
    padding: 0;
    background: #f4f7fb;
}

.federal-content-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f4f7fb;
}

body.embedded-federal-page {
    min-height: auto;
    overflow: auto;
    background: #f4f7fb;
}

html.is-embedded-federal-page body > nav,
html.is-embedded-federal-page body > footer,
body.embedded-federal-page > nav,
body.embedded-federal-page > footer {
    display: none !important;
}

html.is-embedded-federal-page body #appContent,
body.embedded-federal-page #appContent {
    min-height: auto !important;
    padding: clamp(48px, 8vw, 92px) 0 !important;
}

html.is-embedded-federal-page body .container.my-5,
html.is-embedded-federal-page body main.container,
body.embedded-federal-page .container.my-5,
body.embedded-federal-page main.container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: clamp(28px, 5vw, 56px) !important;
    padding-bottom: clamp(28px, 5vw, 56px) !important;
}

body.embedded-federal-page.federal-course-page .federal-course-hero {
    padding-top: clamp(34px, 5vw, 64px);
}

body.embedded-federal-page .federal-home-main {
    min-height: auto;
}

/* Federal site continuity layer based on the Member Portal shell. */
.federal-course-nav {
    background: #245f87 !important;
    box-shadow: none !important;
}

.federal-course-nav .navbar-brand {
    letter-spacing: -0.02em;
}

.federal-course-nav .nav-link {
    font-weight: 600;
}

.federal-course-nav .nav-item.active .nav-link {
    color: #fff !important;
}

.federal-home-page,
.federal-course-page,
body:not(.veterans-console-page):not(.federal-sales-page):not(.federal-console-page) {
    background: #f4f7fb;
}

.text-primary {
    color: #1677e8 !important;
}

.cta-btn {
    border-radius: 999px;
    background: #247f99;
    box-shadow: none;
    font-weight: 700;
}

.cta-btn:hover {
    background: #245f87;
}

.cta-btn-light {
    border: 1px solid #d6e1ea;
    background: #fff;
    color: #245f87;
}

.cta-btn-light:hover {
    background: #eef6fb;
    color: #123852;
}

footer.footer {
    margin-top: 0;
    background: #073a58;
}

.federal-home-main {
    min-height: calc(100vh - 250px);
}

.federal-home-hero {
    padding: clamp(44px, 7vw, 86px) 0 clamp(28px, 4vw, 46px);
    background:
        linear-gradient(90deg, rgba(36, 95, 135, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 95, 135, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #f8fbfe 0%, #f4f7fb 100%);
    background-size: 38px 38px, 38px 38px, auto;
}

.federal-home-kicker {
    margin: 0 0 12px;
    color: #1677a6;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.federal-home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #102234;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.federal-home-lead {
    max-width: 640px;
    margin: 24px 0;
    color: #4c6172;
    font-size: clamp(1.12rem, 1.9vw, 1.55rem);
    line-height: 1.42;
}

.federal-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.federal-home-preview {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #dbe7ef;
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 42px rgba(15, 42, 68, 0.08);
}

.federal-home-preview h2 {
    margin: 0 0 18px;
    color: #102234;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.045em;
}

.federal-home-preview-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 14px 0;
    border-top: 1px solid #e3edf4;
    color: #183852;
    text-decoration: none;
}

.federal-home-preview-row:hover {
    color: #1677a6;
    text-decoration: none;
}

.federal-home-preview-row span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #e4f3fb;
    color: #1677a6;
    font-size: 0.78rem;
    font-weight: 800;
}

.federal-home-preview-row strong {
    font-size: 1.02rem;
}

.federal-home-message {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    justify-content: center;
}

.federal-home-message p:not(.federal-home-kicker) {
    margin: 14px 0 0;
    color: #526575;
    font-size: 1.08rem;
    line-height: 1.5;
}

.federal-home-conversion {
    padding: 0 0 clamp(36px, 5vw, 70px);
    background: #f4f7fb;
}

.federal-home-conversion-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #dbe7ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 42, 68, 0.08);
}

.federal-home-conversion-panel h2 {
    max-width: 760px;
    margin: 0;
    color: #102234;
    font-size: clamp(1.65rem, 3.1vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.federal-home-conversion-panel p:not(.federal-home-kicker) {
    max-width: 760px;
    margin: 14px 0 0;
    color: #526575;
    font-size: 1.05rem;
}

.federal-course-hero {
    max-width: none;
    margin: 0;
    padding: clamp(44px, 6vw, 76px) 20px;
    border: none;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(36, 95, 135, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(36, 95, 135, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #f8fbfe 0%, #f4f7fb 100%);
    background-size: 38px 38px, 38px 38px, auto;
    box-shadow: none;
}

.federal-course-hero::before {
    display: none;
}

.federal-course-hero h1 {
    color: #102234;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.federal-course-hero p {
    color: #526575;
    font-size: 1.15rem;
}

.federal-course-panel,
.card {
    border: 1px solid #dbe7ef !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(15, 42, 68, 0.07) !important;
}

.federal-course-page .course-card {
    border-radius: 14px;
    box-shadow: none;
}

@media (max-width: 860px) {
    .federal-home-conversion-panel {
        grid-template-columns: 1fr;
    }

    .federal-home-hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }
}

/* Federal console fluid presentation refresh. */
body.federal-console-page {
    background:
        radial-gradient(circle at 12% 20%, rgba(52, 142, 190, 0.20), transparent 30%),
        radial-gradient(circle at 82% 16%, rgba(20, 77, 126, 0.15), transparent 34%),
        radial-gradient(circle at 72% 82%, rgba(99, 173, 214, 0.14), transparent 30%),
        linear-gradient(145deg, #f8fcff 0%, #eaf4fb 48%, #f6fbff 100%);
    color: #102234;
}

.federal-console {
    border-color: rgba(40, 100, 145, 0.12);
    border-radius: 30px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(247, 252, 255, 0.62)),
        rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 80px rgba(26, 67, 103, 0.16);
}

.federal-console-brand-mark {
    border-color: rgba(39, 121, 175, 0.28);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #dff1fb);
    color: #0d4a75;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82), 0 12px 28px rgba(13, 74, 117, 0.10);
}

.federal-console-brand strong,
.federal-console-mode strong,
.federal-map-label,
.federal-console-detail h1 {
    color: #102234;
}

.federal-console-brand small {
    color: #658095;
}

.federal-console-topnav a {
    border-color: rgba(40, 100, 145, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.50);
    color: #21465f;
    box-shadow: 0 10px 24px rgba(26, 67, 103, 0.06);
}

.federal-console-stage {
    position: relative;
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
    border-color: transparent;
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(13, 74, 117, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(13, 74, 117, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    isolation: isolate;
}

.federal-console-stage::before,
.federal-console-stage::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.federal-console-stage::before {
    inset: 8% auto auto 43%;
    width: min(40vw, 520px);
    aspect-ratio: 1;
    border: 1px solid rgba(39, 121, 175, 0.12);
    background: radial-gradient(circle, rgba(77, 154, 198, 0.16), transparent 62%);
    animation: federalDrift 12s ease-in-out infinite alternate;
}

.federal-console-stage::after {
    inset: auto 4% 6% auto;
    width: min(34vw, 420px);
    aspect-ratio: 1;
    border: 1px dashed rgba(13, 74, 117, 0.14);
    animation: federalDriftReverse 14s ease-in-out infinite alternate;
}

.federal-console-detail,
.federal-console-map {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.federal-console-detail {
    padding-left: clamp(24px, 5vw, 72px);
}

.federal-console-kicker {
    color: #0d70a4;
}

.federal-console-detail h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 5.9vw, 6rem);
}

.federal-console-detail > p:not(.federal-console-kicker) {
    color: #4a6274;
}

.federal-console-primary,
.federal-console-secondary {
    border-radius: 999px;
}

.federal-console-primary {
    border-color: rgba(13, 74, 117, 0.18);
    background: linear-gradient(145deg, #176fa3, #0d4a75);
    box-shadow: 0 16px 32px rgba(13, 74, 117, 0.22);
}

.federal-console-secondary {
    border-color: rgba(40, 100, 145, 0.15);
    background: rgba(255, 255, 255, 0.56);
    color: #244b65;
    box-shadow: 0 10px 22px rgba(26, 67, 103, 0.06);
}

.federal-console-map {
    align-content: center;
    padding: clamp(20px, 4vw, 54px);
}

.federal-map-grid {
    position: relative;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: minmax(42px, 1fr);
    gap: clamp(8px, 1vw, 14px);
    min-height: min(48vh, 430px);
}

.federal-map-grid::before {
    content: "";
    position: absolute;
    inset: 8% 2% 16% 9%;
    border: 1px solid rgba(13, 74, 117, 0.10);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.54), transparent 64%);
    animation: federalPulse 6s ease-in-out infinite;
}

.federal-map-tile {
    position: relative;
    z-index: 1;
    border-color: rgba(39, 121, 175, 0.18);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.70), rgba(207, 232, 246, 0.42));
    box-shadow: 0 16px 30px rgba(26, 67, 103, 0.09);
    opacity: 0.86;
    animation: federalFloat 8s ease-in-out infinite;
}

.federal-map-tile:nth-child(2n) {
    animation-delay: -2s;
}

.federal-map-tile:nth-child(3n) {
    animation-delay: -4s;
}

.federal-map-tile-lg {
    grid-column: span 3;
    grid-row: span 3;
}

.federal-map-tile-wide {
    grid-column: span 3;
}

.federal-map-tile-tall {
    grid-row: span 3;
}

.federal-map-label {
    justify-self: start;
    max-width: min(100%, 520px);
    margin-top: 12px;
    padding: 14px 18px;
    border-color: rgba(39, 121, 175, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    color: #244b65;
    box-shadow: 0 16px 30px rgba(26, 67, 103, 0.08);
}

.federal-map-videos .federal-map-tile,
.federal-map-books .federal-map-tile,
.federal-map-enroll .federal-map-tile,
.federal-map-portal .federal-map-tile {
    background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(198, 228, 244, 0.46));
}

.federal-map-enroll .federal-map-tile {
    border-color: rgba(31, 111, 139, 0.22);
    background: linear-gradient(145deg, rgba(255,255,255,0.72), rgba(181, 222, 242, 0.52));
}

.federal-console-rail {
    gap: 10px;
}

.federal-console-mode {
    min-height: 76px;
    border-color: rgba(40, 100, 145, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 28px rgba(26, 67, 103, 0.06);
    transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.federal-console-mode:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.70);
}

.federal-console-mode span {
    color: #6f94aa;
}

.federal-console-mode small {
    color: #718898;
}

.federal-console-mode.is-active {
    border-color: rgba(13, 74, 117, 0.28);
    background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(217, 238, 249, 0.68));
    box-shadow: inset 0 -3px 0 rgba(39, 121, 175, 0.48), 0 16px 34px rgba(26, 67, 103, 0.10);
}

.federal-console-footer {
    color: #657f91;
}

@keyframes federalFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -7px, 0);
    }
}

@keyframes federalPulse {
    0%, 100% {
        opacity: 0.62;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.025);
    }
}

@keyframes federalDrift {
    from {
        transform: translate3d(-12px, 0, 0);
    }
    to {
        transform: translate3d(18px, 12px, 0);
    }
}

@keyframes federalDriftReverse {
    from {
        transform: translate3d(14px, 8px, 0);
    }
    to {
        transform: translate3d(-18px, -8px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .federal-console-stage::before,
    .federal-console-stage::after,
    .federal-map-grid::before,
    .federal-map-tile {
        animation: none;
    }
}

@media (max-width: 820px) {
    .federal-console {
        border-radius: 22px;
    }

    .federal-console-stage {
        grid-template-rows: minmax(0, 1fr) minmax(76px, 0.36fr);
    }

    .federal-map-grid {
        min-height: 88px;
        grid-auto-rows: minmax(16px, 1fr);
    }

    .federal-map-tile {
        border-radius: 14px;
    }

    .federal-map-label {
        margin-top: 4px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}
