/* Flat violet-and-teal screen theme. Official print layouts remain unchanged. */
@media screen {
    body.rsp-theme {
        --ink: #302c43;
        --muted: #686279;
        --line: #e4e0ef;
        --surface: #f3f3fc;
        --workspace: #f7f8fc;
        --brand: #5743cb;
        --theme-primary: #6250de;
        --theme-soft: #eeebff;
        --theme-gradient: linear-gradient(#6250de, #6250de);
        --theme-shadow: none;
        --theme-inset: none;
        --bs-primary: #6250de;
        --bs-primary-rgb: 98, 80, 222;
        --bs-link-color: #5743cb;
        --bs-link-hover-color: #42309e;
        --app-tab-background: #eeebff;
        --app-tab-color: #5c5778;
        --app-tab-hover: #e0daff;
        --app-tab-active: #6250de;
        background: #f7f8fc;
        color: var(--ink);
        font-family: "Segoe UI", Arial, sans-serif;
    }
    .rsp-theme .app-header {
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--theme-shadow);
    }
    .rsp-theme :is(.app-primary-navbar, .quick-menu) { background: #fff; }
    .rsp-theme .app-primary-navbar {
        --navbar-brand-height: 58px;
        /* Increase the original brand + padding height by 10%. */
        padding-block: calc(.55rem + (var(--navbar-brand-height) + .625rem) * .05);
        align-items: center;
    }
    .rsp-theme .app-primary-navbar > .container-fluid,
    .rsp-theme .app-primary-navbar .navbar-collapse { align-items: center; }
    .rsp-theme .app-primary-navbar .app-nav :is(.nav-link, .nav-button) { justify-content: center; }
    @media (max-width: 1199.98px) {
        .rsp-theme .app-primary-navbar .app-nav :is(.nav-link, .nav-button) { justify-content: flex-start; align-items: center; }
    }
    @media (max-width: 991.98px) {
        .rsp-theme .app-primary-navbar .app-nav :is(.nav-link, .nav-button) { justify-content: flex-start; align-items: center; }
    }
    @media (max-width: 575.98px) {
        .rsp-theme .app-primary-navbar { --navbar-brand-height: 46px; }
    }
    .rsp-theme :is(.brand-title, .login-system-title strong) {
        background-image: var(--theme-gradient);
        background-clip: text;
        -webkit-background-clip: text;
        color: var(--theme-primary);
        -webkit-text-fill-color: transparent;
    }
    .rsp-theme .login-system-title {
        inset-inline-end: clamp(1rem, 3vw, 2rem);
        flex-wrap: wrap;
        row-gap: .25rem;
    }
    .rsp-theme .login-system-title strong {
        display: block;
        flex-shrink: 0;
        max-width: 100%;
        padding-block: .1em;
        line-height: 1.25;
        background: none;
        background-clip: border-box;
        -webkit-background-clip: border-box;
        color: var(--login-title-color, #4338ca);
        -webkit-text-fill-color: currentColor;
    }
    .rsp-theme .login-system-title span { min-width: 0; overflow-wrap: anywhere; }
    .rsp-theme .app-nav .nav-item { border-radius: 6px; }
    .rsp-theme .app-nav :is(.nav-link, .nav-button) { color: #5c5778; }
    .rsp-theme .app-nav :is(.nav-link, .nav-button):hover,
    .rsp-theme .quick-menu-link:hover { color: #5743cb; background: #eeebff; }
    .rsp-theme :is(.workflow-card, .metric-card, .dashboard-summary-group, .card, .vacancy-card, .login-card, .setup-card, .applicant-login-guide) {
        background: #fff;
        border-color: #dedaf0;
        border-radius: 6px;
        box-shadow: var(--theme-shadow);
    }
    .rsp-theme .workflow-card:has(> .list-toolbar) { border-radius: 6px; border-color: #e5e2f3; box-shadow: var(--theme-shadow); }
    .rsp-theme .listing-page-heading { border-radius: 6px; border-color: var(--line); }
    .rsp-theme :is(.page-heading h1, .card-heading h2, .vacancy-detail-heading h1) { color: #302c43; }
    .rsp-theme .eyebrow { color: #5743cb; }
    .rsp-theme .vacancy-card:hover,
    .rsp-theme .vacancy-card:focus-within { border-color: #7869e9; box-shadow: none; }
    .rsp-theme .modal-content { border: 0; border-radius: 10px; background: #fff; box-shadow: 0 18px 55px rgba(30, 25, 55, .12); }
    .rsp-theme :is(.modal-header, .modal-footer, .card-heading) { border-color: #eeebf5; }
    .rsp-theme :is(.dropdown-menu, .popover) { border-color: var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(46, 29, 77, .1); }
    .rsp-theme .dropdown-item:hover { color: #42309e; background: #eeebff; }
    .rsp-theme .dropdown-item:active { color: #fff; background: #6250de; }

    /* Keep the existing button sizes, icon-only actions, and semantic colors. */
    .rsp-theme .btn:not(.sheet-print-controls *) { border-radius: 4px; }
    .rsp-theme .btn-primary:not(:is(.list-action-icon, .icon-action, .sheet-print-controls *)) {
        --bs-btn-bg: #6250de;
        --bs-btn-border-color: #6250de;
        --bs-btn-hover-bg: #6235ad;
        --bs-btn-hover-border-color: #6235ad;
        --bs-btn-active-bg: #42309e;
        --bs-btn-disabled-bg: #6250de;
        --bs-btn-disabled-border-color: #6250de;
        color: #fff;
        border-color: transparent;
        background: var(--theme-gradient);
    }
    .rsp-theme .btn-primary:not(:is(.list-action-icon, .icon-action, .sheet-print-controls *)):hover { background: #5140c4; }
    .rsp-theme .btn-outline-primary:not(:is(.list-action-icon, .icon-action, .sheet-print-controls *)) {
        --bs-btn-color: #5743cb;
        --bs-btn-border-color: #b9aff2;
        --bs-btn-hover-bg: #eeebff;
        --bs-btn-hover-color: #42309e;
        --bs-btn-hover-border-color: #5743cb;
        --bs-btn-active-bg: #e0daff;
        --bs-btn-active-color: #42309e;
        color: #5743cb;
        border-color: #b9aff2;
    }
    .rsp-theme .btn-light:not(.sheet-print-controls *) { background: #eeebff; border-color: #eeebff; color: #5c5778; }
    .rsp-theme :is(.list-action-icon, .icon-action, .table-expand-button, .pds-row-action, .season-lifecycle-trigger) { border-radius: 8px; }

    /* PDS is a prescribed form: do not restyle its fields or sheet contents. */
    .rsp-theme :is(.form-control, .form-select):not(.pds-form-sheet *) {
        background-color: #f1effb;
        border-color: #e1ddf1;
        border-radius: 4px;
        box-shadow: var(--theme-inset);
        color: #302c43;
    }
    .rsp-theme :is(.form-control, .form-select):not(.pds-form-sheet *):focus {
        background-color: #fff;
        border-color: #7869e9;
        box-shadow: 0 0 0 .18rem rgba(117, 65, 197, .13);
    }
    .rsp-theme :is(.form-control, .form-select):disabled { background-color: #eeecf3; color: #746e80; }
    .rsp-theme .form-control::placeholder { color: #787184; opacity: 1; }
    /* Floating labels occupy the empty field; keep its placeholder hidden. */
    .rsp-theme .form-floating > .form-control::placeholder { color: transparent; opacity: 0; }
    .rsp-theme :is(.form-control, .form-select).is-invalid { border-color: #dc3545; }
    .rsp-theme :is(.form-control, .form-select).is-valid { border-color: #198754; }
    .rsp-theme .form-check-input:checked { background-color: #6250de; border-color: #6250de; }
    .rsp-theme .list-search-field .form-control { border-radius: 4px; }
    .rsp-theme .list-toolbar { border-color: var(--line); gap: .75rem; flex-wrap: wrap; }
    .rsp-theme .list-search-form { flex-wrap: wrap; }
    .rsp-theme .app-table { --bs-table-border-color: #e9e5f2; --bs-table-hover-bg: #f6f2fc; color: #302c43; }
    .rsp-theme .app-table thead th { background: #f5f2fb; color: #5c5778; border-color: #e4deee; }
    .rsp-theme .app-table :is(td, th) { overflow-wrap: anywhere; }
    .rsp-theme .page-link { color: #5743cb; border-color: var(--line); }
    .rsp-theme .page-item.active .page-link { background: #6250de; color: #fff; border-color: #6250de; }

    /* Compact rectangular tabs without changing routes. */
    .rsp-theme :is(.screening-view-tabs, .module-view-tabs, .nav-tabs, .account-manage-nav) { gap: .15rem; border: 0; flex-wrap: wrap; }
    .rsp-theme :is(.screening-view-tab, .module-view-tab, .season-workspace-links a, .nav-tabs .nav-link, .account-manage-nav a) {
        clip-path: none;
        border-radius: 6px !important;
        padding-inline: .85rem;
    }
    .rsp-theme :is(.screening-view-tab.is-active, .module-view-tab.active, .season-workspace-links a.active, .nav-tabs .nav-link.active, .account-manage-nav a.active) { background: var(--theme-gradient); color: #fff; }
    .rsp-theme .season-workspace-nav { border-radius: 6px; border-color: var(--line); flex-wrap: wrap; overflow: visible; box-shadow: var(--theme-shadow); }
    .rsp-theme .season-workspace-links { min-width: 0; flex-wrap: wrap; gap: .3rem; }
    .rsp-theme .recruitment-stage-bar { padding: 0; gap: 0; justify-content: flex-start; flex-wrap: nowrap; }
    .rsp-theme .season-stage-shortcuts .recruitment-stage-bar { margin-bottom: 0; border: 0; box-shadow: none; }
    .rsp-theme .recruitment-stage-bar .season-workspace-links { gap: 0; margin-left: 0; }
    /* Add 10% to the row height while retaining the current text size. */
    .rsp-theme .recruitment-stage-bar .season-workspace-links > a {
        line-height: 1.5;
        padding-block: calc(.44rem + .075em);
    }
    .rsp-theme .recruitment-stage-bar .season-workspace-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        flex: 0 0 2rem;
        width: 2rem;
        height: 2rem;
        margin-left: auto;
        padding: .35rem;
        background: transparent;
        border: 0;
        box-shadow: none;
        color: var(--ink);
    }
    .rsp-theme .season-workspace-close:hover { background: #eeebff; color: var(--app-tab-active); }
    .rsp-theme .season-workspace-close:focus-visible { outline: 2px solid var(--app-tab-active); outline-offset: -2px; }
    .rsp-theme :is(.recruitment-stage-bar .season-workspace-links > a, .screening-view-tab, .module-view-tab) {
        border-radius: 0 !important;
    }
    /* In-page tabs: white surface and a blue top marker, separate from the stage bar. */
    .rsp-theme :is(.screening-view-tabs, .module-view-tabs, .nav-tabs, .pds-page-tab-list, .account-manage-nav) {
        gap: 0;
        background: #fff;
        border: 1px solid #e9e5f2;
        border-radius: 0;
        box-shadow: none;
    }
    .rsp-theme :is(.screening-view-tab, .module-view-tab, .nav-tabs .nav-link, .pds-page-tabs [data-pds-page-target], .account-manage-nav a) {
        border: 0;
        border-top: 2px solid transparent;
        border-radius: 0 !important;
        clip-path: none;
        margin: 0;
        background: #fff;
        color: #475569;
        box-shadow: none;
        font-weight: 500;
        padding: .7rem 1.15rem;
        justify-content: center;
        transition: color .15s ease, background-color .15s ease;
    }
    .rsp-theme :is(.screening-view-tab, .module-view-tab, .nav-tabs .nav-link, .pds-page-tabs [data-pds-page-target], .account-manage-nav a):hover {
        color: #0878bd;
        background: #f4faff;
        box-shadow: none;
    }
    .rsp-theme :is(.screening-view-tab, .module-view-tab, .nav-tabs .nav-link, .pds-page-tabs [data-pds-page-target], .account-manage-nav a):focus-visible {
        outline: 2px solid #0878bd;
        outline-offset: -2px;
    }
    .rsp-theme :is(.screening-view-tab.is-active, .module-view-tab.active, .nav-tabs .nav-link.active, .pds-page-tabs [data-pds-page-target].active, .account-manage-nav a.active) {
        border-top-color: #0878bd;
        background: linear-gradient(to bottom, #e8f4fb, #fff);
        color: #0878bd;
        font-weight: 700;
        box-shadow: inset 0 -1.5px 0 var(--app-tab-active);
    }
    .rsp-theme :is(.screening-view-tab, .module-view-tab, .nav-tabs .nav-link, .pds-page-tabs [data-pds-page-target], .account-manage-nav a) :is(i, strong) {
        color: inherit;
    }
    .rsp-theme :is(.auth-main, .account-setup-main) { background: transparent; }
    .rsp-theme.auth-page,
    .rsp-theme.account-setup-page { --auth-gradient: linear-gradient(135deg, #f7f8fc, #eeebff); --auth-pattern: none; --auth-title-gradient: var(--theme-gradient); background: #f7f8fc; }
    .rsp-theme.auth-page :is(.login-card, .applicant-login-guide),
    .rsp-theme.account-setup-page .setup-card { background: #fff; border: 1px solid #dedaf0; border-radius: 6px; box-shadow: var(--theme-shadow); }
    /* Compact three-dot menus: flat rows, not pill-shaped form buttons. */
    .rsp-theme .season-lifecycle-panel {
        padding: 5px;
        border: 1px solid #e9e3f1;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(55, 35, 89, .12);
    }
    .rsp-theme .season-lifecycle-panel.examination-compact-menu {
        width: 12rem;
        max-width: calc(100vw - 2rem);
        padding: 5px;
    }
    .rsp-theme .season-lifecycle-panel .season-actions { gap: 2px; }
    .rsp-theme .season-lifecycle-panel .season-actions .btn {
        min-height: 32px;
        padding: 7px 9px;
        border-radius: 4px !important;
        gap: 8px !important;
        font-size: .78rem;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
        text-align: left;
    }
    .rsp-theme .season-lifecycle-panel .season-actions .btn > i {
        width: 16px;
        flex: 0 0 16px;
        margin: 0 !important;
        font-size: 14px;
        color: #8065a5;
    }
    .rsp-theme .season-lifecycle-panel .season-actions .btn > span { min-width: 0; }
    .rsp-theme .season-lifecycle-panel .season-actions .btn:not(.btn-outline-danger):is(:hover, :focus-visible) {
        background: transparent !important;
        color: #61379e !important;
    }
    .rsp-theme .season-lifecycle-panel .season-actions .btn-outline-danger > i { color: #b91c1c; }
    .rsp-theme :is(a, button, input, select, textarea):focus-visible { outline-color: #7869e9; }
    /* Teal secondary accents complement violet primary actions. */
    .rsp-theme .btn-light:not(:is(.list-action-icon, .icon-action, .season-lifecycle-panel *, .sheet-print-controls *)) {
        background: #ddf7f2;
        border-color: #a8e5db;
        color: #086b60;
        box-shadow: none;
    }
    .rsp-theme .btn-light:not(:is(.list-action-icon, .icon-action, .season-lifecycle-panel *, .sheet-print-controls *)):hover {
        background: #c8efe7;
        border-color: #62c9b8;
    }
    .rsp-theme .btn-success:not(:is(.list-action-icon, .icon-action, .sheet-print-controls *)) {
        background: #087f72;
        border-color: #087f72;
        color: #fff;
    }
    .rsp-theme .btn-success:not(:is(.list-action-icon, .icon-action, .sheet-print-controls *)):hover {
        background: #06685e;
        border-color: #06685e;
    }
    /* Public home: one responsive image per request, welcome copy, then sign-in. */
    .rsp-theme.auth-page.login-landing-page { background: #f5f9fd; }
    .rsp-theme.login-landing-page .auth-main {
        display: block;
        min-height: 0;
        padding: 0;
    }
    .rsp-theme.login-landing-page .login-page-content { max-width: none; margin: 0; }
    .rsp-theme .public-header .container-fluid { max-width: 1600px; margin-inline: auto; }
    .rsp-theme .public-header .app-brand { max-width: 100%; margin-right: .75rem; }
    .rsp-theme .public-navbar .navbar-toggler { padding: .35rem .5rem; font-size: 1.5rem; color: #4338ca; }
    .rsp-theme .public-navbar-menu { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; min-width: 0; }
    .rsp-theme .public-navbar-account { display: flex; justify-content: flex-end; }
    .rsp-theme .public-navbar-links { align-items: center; gap: .15rem; }
    .rsp-theme .public-navbar-links .nav-item,
    .rsp-theme .public-navbar-account form { display: flex; align-items: center; margin: 0; }
    .rsp-theme .public-navbar-link {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding: .5rem .55rem;
        font-size: .8rem;
        font-weight: 400;
        line-height: 1.5;
        white-space: nowrap;
        text-decoration: none;
    }
    .rsp-theme .public-navbar-link > i { color: #1d4ed8; }
    .rsp-theme .public-navbar-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
    .rsp-theme .public-navbar-auth { font-weight: 600; }
    /* Sign-in actions use the solid appearance requested for these buttons. */
    .rsp-theme :is(.public-navbar-signin, .login-submit).btn,
    .rsp-theme :is(.public-navbar-signin, .login-submit).btn:is(:hover, :focus, :active) {
        color: #fff !important;
        background: #4338ca !important;
        border-color: #4338ca !important;
    }
    .rsp-theme :is(.public-navbar-signin, .login-submit).btn:hover { background: #3730a3 !important; border-color: #3730a3 !important; }
    .rsp-theme :is(.public-navbar-signin, .login-submit) > i { color: inherit; }
    .rsp-theme.auth-page.public-information-page { background: #f5f9fd; }
    .rsp-theme.public-information-page .auth-main {
        display: block;
        min-height: calc(100vh - 90px);
        padding: clamp(1.5rem, 4vw, 4rem) 1.25rem;
    }
    .rsp-theme .public-information-content { width: 100%; max-width: 900px; margin-inline: auto; }
    .rsp-theme .public-information-heading { margin-bottom: 1.75rem; }
    .rsp-theme .public-information-eyebrow { color: #4338ca; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .rsp-theme .public-information-heading h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.035em; }
    .rsp-theme .public-information-heading > p:last-child { max-width: 44rem; color: #52647a; line-height: 1.7; }
    .rsp-theme .public-information-body { padding: clamp(1.25rem, 3vw, 2.5rem); background: #fff; border: 1px solid #e0e8f1; border-radius: 6px; }
    .rsp-theme .public-information-body section + section { margin-top: 1.75rem; }
    .rsp-theme .public-information-body h2 { margin-bottom: .6rem; font-size: 1.15rem; }
    .rsp-theme .public-information-body :is(p, li) { color: #52647a; font-size: .95rem; line-height: 1.75; }
    .rsp-theme .public-information-body p:last-child { margin-bottom: 0; }
    .rsp-theme .public-information-body li + li { margin-top: .35rem; }
    .rsp-theme.public-site-page { display: flex; flex-direction: column; min-height: 100vh; }
    .rsp-theme.public-site-page > :is(.auth-main, .app-main) { flex: 1 0 auto; min-height: 0; }
    .rsp-theme .public-footer { flex-shrink: 0; border-top: 1px solid #dde5ef; background: #ebf0f7; color: #52647a; }
    .rsp-theme .public-footer-grid {
        display: grid;
        grid-template-columns: minmax(15rem, 1.45fr) repeat(4, minmax(0, 1fr));
        gap: clamp(1.25rem, 2.5vw, 3rem);
        width: 100%;
        max-width: 1600px;
        margin-inline: auto;
        padding: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 3.5vw, 4rem);
    }
    .rsp-theme .public-footer-brand { min-width: 0; }
    .rsp-theme .public-footer-brand-link { display: flex; align-items: center; gap: .85rem; color: #16354e; text-decoration: none; }
    .rsp-theme .public-footer-logo { flex-shrink: 0; width: 88px; height: 88px; object-fit: contain; }
    .rsp-theme .public-footer-brand-copy { display: grid; min-width: 0; gap: .4rem; }
    .rsp-theme .public-footer-brand-copy strong { font-size: 1.3rem; font-weight: 750; letter-spacing: -.035em; }
    .rsp-theme .public-footer-brand-copy > span { font-size: .8rem; line-height: 1.5; }
    .rsp-theme .public-footer-agency { display: flex; justify-content: flex-start; margin-top: 1.25rem; }
    .rsp-theme .public-footer-creator { display: grid; width: 100%; max-width: 260px; min-width: 0; justify-items: start; text-align: left; gap: .4rem; }
    .rsp-theme .public-footer-creator > span { width: 100%; text-align: center; font-size: .75rem; line-height: 1.5; }
    .rsp-theme .public-footer-creator img { display: block; width: 100%; height: auto; }
    .rsp-theme .public-footer-group { min-width: 0; }
    .rsp-theme .public-footer-group h2 { display: flex; align-items: center; gap: .65rem; margin: .25rem 0 1.1rem; color: #16354e; font-size: 1rem; line-height: 1.5; }
    .rsp-theme .public-footer-group h2 > i { color: #1d4ed8; font-size: 1.1rem; }
    .rsp-theme .public-footer-group ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
    .rsp-theme .public-footer-group form { margin: 0; }
    .rsp-theme .public-footer-link { display: inline-flex; align-items: flex-start; gap: .6rem; max-width: 100%; padding: .2rem 0; color: #52647a; font-size: .85rem; line-height: 1.6; text-align: left; text-decoration: none; }
    .rsp-theme .public-footer-link > i { flex-shrink: 0; color: #1d4ed8; }
    .rsp-theme .public-footer-link > span { min-width: 0; overflow-wrap: anywhere; }
    .rsp-theme a.public-footer-link:hover { color: #1d4ed8; text-decoration: underline; text-underline-offset: .2em; }
    .rsp-theme .public-footer-link.btn { margin-left: -1px; border-radius: 0; }
    .rsp-theme .public-footer-bottom { border-top: 1px solid #dde5ef; background: #f5f8fc; }
    .rsp-theme .public-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; width: 100%; max-width: 1600px; margin-inline: auto; padding: 1.25rem clamp(1.5rem, 3.5vw, 4rem); font-size: .75rem; line-height: 1.6; }
    .rsp-theme .public-footer-bottom-inner > span:first-child { display: flex; align-items: center; gap: .6rem; }
    .rsp-theme .public-footer-bottom-inner i { color: #1d4ed8; }
    @media (max-width: 1199.98px) {
        .rsp-theme .public-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .rsp-theme .public-footer-brand { grid-column: 1 / -1; }
        .rsp-theme .public-footer-brand-link { max-width: 23rem; }
    }
    @media (max-width: 767.98px) {
        .rsp-theme .public-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; padding: 2rem 1.25rem; }
        .rsp-theme .public-footer-brand-link { max-width: 21rem; }
        .rsp-theme .public-footer-group h2 { gap: .5rem; font-size: .95rem; }
        .rsp-theme .public-footer-link { gap: .45rem; }
        .rsp-theme .public-footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
    }
    @media (max-width: 1199.98px) {
        .rsp-theme .public-navbar .app-brand { max-width: calc(100% - 3.5rem); }
        .rsp-theme .public-navbar-menu { width: 100%; padding-bottom: .25rem; }
        .rsp-theme .public-navbar-links { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; padding-block: .75rem .25rem; }
        .rsp-theme .public-navbar-auth { margin-left: 0; }
    }
    .rsp-theme .login-banner {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        display: grid;
        align-items: center;
        min-height: clamp(330px, 33.97vw, 650px);
        background: #e5f1ff;
    }
    .rsp-theme .login-banner-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        pointer-events: none;
    }
    .rsp-theme .login-banner-inner {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 1600px;
        margin-inline: auto;
        padding: clamp(1.5rem, 3.5vw, 4rem);
    }
    .rsp-theme .login-banner-copy { width: 46%; max-width: 38rem; }
    .rsp-theme .login-banner-copy .eyebrow {
        color: #36546e;
        font-size: .7rem;
        letter-spacing: .13em;
        margin-bottom: 1rem;
    }
    .rsp-theme .login-banner-copy h1 {
        color: #16354e;
        font-size: clamp(2rem, 3.4vw, 3.8rem);
        font-weight: 700;
        line-height: 1.1;
        letter-spacing: -.045em;
        margin: 0 0 1rem;
        overflow-wrap: break-word;
    }
    .rsp-theme .login-banner-copy .applicant-career-description {
        max-width: 31rem;
        color: #36546e;
        font-size: clamp(.95rem, 1.2vw, 1.15rem);
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }
    .rsp-theme .login-banner-copy .btn { font-size: .85rem; }
    .rsp-theme.login-landing-page .login-shell {
        padding: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3.5vw, 4rem);
        max-width: 1600px;
        grid-template-columns: minmax(0, 455px) minmax(0, 1fr);
        gap: clamp(1.25rem, 2vw, 2rem);
        align-items: start;
        justify-items: stretch;
    }
    .rsp-theme.login-landing-page .login-card {
        width: 100%;
        max-width: 455px;
        scroll-margin-top: 9rem;
        background: #fff;
        border-color: #e0e8f1;
        padding: clamp(1.5rem, 3vw, 2.5rem);
    }
    .rsp-theme.login-landing-page .login-card h2 {
        margin: .2rem 0 .5rem;
        font-size: 1.5rem;
    }
    .rsp-theme.login-landing-page .login-form { max-width: none; }
    .rsp-theme.login-landing-page .login-credential-field { width: 50%; }
    .rsp-theme .applicant-opportunities { min-width: 0; }
    .rsp-theme .applicant-opportunities-heading { display: flex; align-items: flex-start; gap: .85rem; margin: .15rem 0 1.25rem; }
    .rsp-theme .applicant-opportunities-heading > i { color: #4338ca; font-size: 1.9rem; line-height: 1.25; }
    .rsp-theme .applicant-opportunities-heading .eyebrow { margin-bottom: .35rem; font-size: .65rem; }
    .rsp-theme .applicant-opportunities-heading h2 { margin-bottom: .45rem; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.025em; }
    .rsp-theme .applicant-opportunities-heading p:last-child { margin: 0; color: #52647a; font-size: .9rem; line-height: 1.6; }
    .rsp-theme .applicant-opportunity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .rsp-theme .applicant-opportunity-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 1.25rem; border: 1px solid #e0e8f1; border-radius: 10px; background: #fff; }
    .rsp-theme .applicant-opportunity-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; margin-bottom: 1rem; border-radius: 9px; background: #eef2ff; color: #1d4ed8; font-size: 1.3rem; }
    .rsp-theme .applicant-opportunity-icon-vacancies { background: #eaf7f3; color: #087f72; }
    .rsp-theme .applicant-opportunity-card h3 { margin: 0 0 .65rem; font-size: 1rem; line-height: 1.4; }
    .rsp-theme .applicant-opportunity-card p { margin-bottom: 1rem; color: #52647a; font-size: .85rem; line-height: 1.7; }
    .rsp-theme .applicant-opportunity-card .applicant-vacancy-availability { color: #36546e; }
    .rsp-theme .applicant-opportunity-card > .btn { margin-top: auto; max-width: 100%; padding-inline: .4rem; font-size: .8rem; text-align: left; }
    .rsp-theme .applicant-opportunity-card > .btn span { min-width: 0; }
    .rsp-theme .applicant-career-guidance { margin-top: 1.25rem; padding: 1.5rem; border: 1px solid #e0e8f1; border-radius: 10px; background: #fff; }
    .rsp-theme .applicant-career-guidance h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; font-size: 1.1rem; }
    .rsp-theme .applicant-career-guidance h3 > i { color: #1d4ed8; }
    .rsp-theme .applicant-career-guidance p { color: #52647a; font-size: .85rem; line-height: 1.7; }
    .rsp-theme .applicant-career-guidance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
    .rsp-theme .applicant-career-guidance-grid > div { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
    .rsp-theme .applicant-career-guidance-grid > div > i { flex-shrink: 0; color: #1d4ed8; font-size: 1.15rem; }
    .rsp-theme .applicant-career-guidance-grid h4 { margin-bottom: .5rem; font-size: .95rem; }
    .rsp-theme .applicant-career-guidance-grid p { margin: 0; }
    .rsp-theme .applicant-career-guidance .applicant-career-reminder { display: flex; align-items: flex-start; gap: .65rem; margin: 0; padding-top: 1rem; border-top: 1px solid #e0e8f1; font-size: .8rem; }
    .rsp-theme .applicant-career-reminder > i { color: #1d4ed8; }
    @media (min-width: 992px) and (max-width: 1199.98px) {
        .rsp-theme.login-landing-page .login-shell { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
        .rsp-theme .applicant-opportunity-grid { grid-template-columns: 1fr; }
        .rsp-theme .applicant-career-guidance-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 991.98px) {
        .rsp-theme.login-landing-page .login-shell { grid-template-columns: minmax(0, 1fr); }
        .rsp-theme.login-landing-page .login-card { max-width: none; }
    }
    @media (max-width: 639.98px) {
        .rsp-theme .applicant-opportunity-grid,
        .rsp-theme .applicant-career-guidance-grid { grid-template-columns: 1fr; }
        .rsp-theme .applicant-opportunities-heading { gap: .6rem; }
        .rsp-theme .applicant-career-guidance { padding: 1.25rem; }
    }
    @media (max-width: 767.98px) {
        .rsp-theme .login-banner { min-height: 330px; }
        .rsp-theme .login-banner-image { object-position: right center; }
        .rsp-theme .login-banner::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(240, 248, 255, .97) 0%, rgba(240, 248, 255, .94) 38%, rgba(240, 248, 255, .68) 65%, rgba(240, 248, 255, .05) 100%);
            pointer-events: none;
        }
        .rsp-theme .login-banner-inner { padding: 1.75rem 1.25rem; }
        .rsp-theme .login-banner-copy { width: 68%; max-width: 28rem; }
        .rsp-theme .login-banner-copy .eyebrow { font-size: .6rem; letter-spacing: .08em; }
        .rsp-theme .login-banner-copy h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
        .rsp-theme .login-banner-copy .applicant-career-description { font-size: .875rem; line-height: 1.55; }
        .rsp-theme .login-banner-copy .btn { font-size: .75rem; padding: .4rem .35rem; }
        .rsp-theme.login-landing-page .login-shell { padding-inline: 1.25rem; }
        .rsp-theme .public-header .app-brand { gap: .6rem; white-space: normal; }
        .rsp-theme .public-header .brand-logos { gap: .25rem; }
        .rsp-theme .public-header .brand-title { font-size: 1.15rem; }
        .rsp-theme .public-header .brand-subtitle { font-size: .55rem; }
    }
    .rsp-theme .progress { background: #ece9ff; }
    .rsp-theme .progress-bar { background: #6554e8; }
    .rsp-theme .vacancy-card-grade { color: #087f72; }
    /* Shared message/dialog presentation; retain modal sizing and scrolling. */
    .rsp-theme .modal { --bs-modal-padding: 1.75rem; --bs-modal-header-padding: 2rem 2rem 1rem; }
    .rsp-theme .modal-header { border-bottom: 0; padding: 2rem 2rem 1rem; gap: 1rem; align-items: flex-start; }
    .rsp-theme .modal-title { color: #17132f; font-weight: 700; line-height: 1.35; }
    .rsp-theme .modal-body { padding: 1rem 2rem 1.5rem; color: #716c80; line-height: 1.6; }
    .rsp-theme .modal-body :is(label, .form-label, th) { color: #302c43; }
    .rsp-theme .modal-footer { border-top: 0; padding: 1.5rem 2rem 2rem; gap: .75rem; justify-content: flex-end; background: #fff; border-radius: 0 0 10px 10px; }
    .rsp-theme .modal-footer > * { margin: 0; }
    .rsp-theme .modal-footer .btn { padding: .55rem 1.1rem; font-weight: 600; }
    .rsp-theme .modal-footer :is(.btn-light, .btn-secondary, .btn-outline-secondary) { background: transparent; border-color: transparent; color: #262139; box-shadow: none; }
    .rsp-theme .modal-footer :is(.btn-light, .btn-secondary, .btn-outline-secondary):hover { background: #f2f1f7; }
    .rsp-theme :is(.modal-footer, .app-flash-actions) .btn-primary { background: #3974d4; border-color: #3974d4; color: #fff; }
    .rsp-theme :is(.modal-footer, .app-flash-actions) .btn-primary:hover { background: #285fb7; border-color: #285fb7; }
    .rsp-theme .modal-header .btn-close { flex-shrink: 0; opacity: .55; }
    .rsp-theme .confirmation-heading { display: flex; align-items: center; gap: .85rem; }
    .rsp-theme .confirmation-heading > i { color: #e36673; font-size: 1.75rem; line-height: 1; flex-shrink: 0; }
    .rsp-theme .app-flash-content { padding: 2rem; align-items: start; gap: 1rem; }
    .rsp-theme .app-flash-icon { width: 2rem; height: 2rem; background: transparent; border-radius: 0; font-size: 1.75rem; }
    .rsp-theme .app-flash-copy h2 { font-size: 1.25rem; margin-bottom: 1rem; }
    .rsp-theme .app-flash-copy p { color: #716c80; font-size: 1rem; line-height: 1.6; }
    .rsp-theme .app-flash-actions { margin-top: 2rem; }
    .rsp-theme .alert { background: #fff; color: #605a70; border: 1px solid #eeecf3; border-left: 3px solid var(--message-accent, #3974d4); border-radius: 8px; padding: 1.15rem 1.35rem; box-shadow: 0 5px 20px rgba(30, 25, 55, .04); line-height: 1.6; }
    .rsp-theme .alert-danger { --message-accent: #d95163; }
    .rsp-theme .alert-warning { --message-accent: #b97816; }
    .rsp-theme .alert-success { --message-accent: #19815c; }
    .rsp-theme .alert :is(strong, .alert-heading) { color: #302c43; }
    .rsp-theme .alert > i { color: var(--message-accent, #3974d4); }
    .rsp-theme .alert-dismissible { padding-right: 3rem; }
    @media (max-width: 575.98px) {
        .rsp-theme .modal-header { padding: 1.25rem 1.25rem .75rem; }
        .rsp-theme .modal-body { padding: .75rem 1.25rem 1rem; }
        .rsp-theme .modal-footer { padding: 1rem 1.25rem 1.25rem; }
        .rsp-theme .app-flash-content { padding: 1.5rem; }
    }
    .rsp-theme :is(a, button, input, select, textarea):focus-visible {
        outline: 2px solid #6554e8;
        outline-offset: 2px;
    }

}
