/* Shared Career Center layout. All content changes are limited to screen media. */
.cc-mobile-bar,
.cc-mobile-backdrop,
.cc-mobile-navigation,
.cc-table-tools,
.cc-mobile-action-text,
.cc-mobile-profile-copy,
.cc-avatar-fallback,
.cc-mobile-only,
.cc-empty-avatar,
.cc-step-navigation,
.cc-add-icon {
    display: none;
}

@media screen and (max-width: 1024px) {
    html.career-responsive {
        --cc-blue: #1a4863;
        --cc-accent: #2d6fa1;
        --cc-canvas: #f4f7fa;
        --cc-text: #233b50;
        --cc-muted: #697b8c;
        --cc-border: #e0e7ee;
        --cc-gutter: 16px;
        width: 100%;
        background: var(--cc-canvas);
    }
    html.career-responsive body {
        display: block !important;
        width: 100%;
        min-width: 0;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        margin: 0;
        padding: 0;
        overflow: auto;
        background: var(--cc-canvas) !important;
        background-image: none !important;
        color: var(--cc-text);
        font-size: 14px;
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
    }
    html.career-responsive body::before {
        display: none !important;
        content: none !important;
    }
    html.career-responsive *,
    html.career-responsive *::before,
    html.career-responsive *::after {
        box-sizing: border-box;
    }
    html.career-responsive .cc-mobile-only { display: inline; }
    html.career-responsive .cc-desktop-only { display: none; }
    html.career-responsive .overlay:not(#overlay) {
        display: block;
        width: 100%;
        min-width: 0;
        min-height: calc(100dvh - 60px);
        background: var(--cc-canvas);
    }
    html.career-responsive .cc-mobile-navigation { display: contents; }
    html.career-responsive.cc-has-sidebar body { padding-top: 60px; }
    html.career-responsive .cc-mobile-bar {
        position: fixed;
        inset: 0 0 auto;
        z-index: 11000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: 60px;
        padding: 8px var(--cc-gutter);
        background: #fff;
        border-bottom: 1px solid var(--cc-border);
    }
    html.career-responsive .cc-mobile-brand {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        color: var(--cc-blue);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }
    html.career-responsive .cc-mobile-brand img {
        width: 40px;
        height: 38px;
        object-fit: contain;
        border: 0;
        border-radius: 0;
    }
    html.career-responsive .cc-mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 10px;
        border: 1px solid var(--cc-border);
        border-radius: 10px;
        background: #fff;
        color: var(--cc-blue);
        box-shadow: none;
        cursor: pointer;
    }
    html.career-responsive .cc-mobile-menu-button svg { width: 22px; height: 22px; }
    html.career-responsive #sidebar,
    html.career-responsive #sidebar.collapsed {
        position: fixed !important;
        top: 60px;
        bottom: 0;
        left: auto;
        right: 0;
        z-index: 11000;
        width: min(300px, 88vw) !important;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        min-height: 0;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #142f43;
        transform: translateX(105%) !important;
        visibility: hidden;
        transition: transform .2s ease, visibility .2s ease;
    }
    html.career-responsive.cc-menu-open #sidebar {
        visibility: visible;
        transform: translateX(0) !important;
    }
    html.career-responsive.cc-menu-open,
    html.career-responsive.cc-menu-open body { overflow: hidden; }
    html.career-responsive .cc-mobile-backdrop {
        position: fixed;
        inset: 60px 0 0;
        z-index: 10999;
        width: 100%;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgba(20, 47, 67, .35);
        box-shadow: none;
        cursor: pointer;
    }
    html.career-responsive.cc-menu-open .cc-mobile-backdrop { display: block; }
    html.career-responsive #sidebar a,
    html.career-responsive #sidebar .dropdown a {
        display: flex;
        align-items: center;
        min-height: 44px;
        width: 100%;
        padding: 10px;
        gap: 12px;
        font-size: 14px !important;
    }
    html.career-responsive #sidebar a span,
    html.career-responsive #sidebar.collapsed a span,
    html.career-responsive #sidebar.collapsed .sidebar-header h2,
    html.career-responsive #sidebar.collapsed .admin-header span { display: block; opacity: 1; }
    html.career-responsive #sidebar i,
    html.career-responsive #sidebar .dropdown i {
        font-size: 16px !important;
        padding: 0;
        flex: 0 0 20px;
        text-align: center;
    }
    html.career-responsive #sidebar img { max-width: 90px; height: auto; }
    html.career-responsive #sidebar .sidebar-header h2 { font-size: 20px !important; }
    html.career-responsive #sidebar .dropdown-menu { display: none; }
    html.career-responsive #sidebar .cc-nav-expanded > .dropdown-menu {
        display: flex;
        flex-direction: column;
        padding-left: 16px;
    }
    html.career-responsive #toggleSidebar { display: none; }

    /* Full-screen surfaces and a consistent spacing scale. */
    html.career-responsive .content,
    html.career-responsive .form-wrapper,
    html.career-responsive body #application-form {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
        margin: 0 !important;
        padding: 20px var(--cc-gutter) 32px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        animation: none;
    }
    html.career-responsive .content { gap: 20px; background: var(--cc-canvas); }
    html.career-responsive .form-wrapper,
    html.career-responsive body #application-form { background: #fff; }
    html.career-responsive .table-container {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        height: auto !important;
        margin: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }
    html.career-responsive h1 {
        margin: 0 0 20px;
        color: var(--cc-blue);
        font-size: 22px;
        font-weight: 600;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
    html.career-responsive h2,
    html.career-responsive .container h2 {
        margin: 24px 0 12px;
        padding: 0;
        border: 0;
        color: var(--cc-blue);
        font-size: 17px;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    html.career-responsive .form-wrapper h2 { display: block; }
    html.career-responsive h3 { color: var(--cc-blue); font-size: 15px; }
    html.career-responsive .form-header {
        width: 100%;
        padding: 14px 16px;
        margin: 0 0 16px;
        border: 0;
        border-radius: 10px;
        background: var(--cc-blue);
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
        text-align: center;
    }
    html.career-responsive .form-header span { font-size: inherit !important; }
    html.career-responsive .form-header span + br + span { font-size: 13px !important; }
    html.career-responsive .table-container > br,
    html.career-responsive .container > br,
    html.career-responsive .form-wrapper > br,
    html.career-responsive .page > form > br,
    html.career-responsive .form-header + br,
    html.career-responsive .cc-card-list + br { display: none; }
    html.career-responsive .form-group,
    html.career-responsive .form-group2,
    html.career-responsive .form-row,
    html.career-responsive .child-row {
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        gap: 14px;
        margin-bottom: 16px;
        flex-direction: column;
        align-items: stretch !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    html.career-responsive .form-group .form-row { margin-bottom: 0; }
    html.career-responsive .form-field,
    html.career-responsive .child-col {
        flex: 1 1 auto !important;
        width: 100%;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    html.career-responsive .form-group label,
    html.career-responsive .form-field label {
        margin-bottom: 6px;
        color: var(--cc-muted);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    html.career-responsive .form-field p {
        margin: 4px 0 0;
        color: var(--cc-text);
        font-size: 14px;
        line-height: 1.5;
    }
    html.career-responsive .form-field p:empty::before { content: '\2014'; color: var(--cc-muted); }
    html.career-responsive input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    html.career-responsive select,
    html.career-responsive textarea {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        min-height: 46px;
        height: auto;
        margin: 0;
        padding: 11px 12px;
        border: 1px solid var(--cc-border);
        border-radius: 9px;
        background: #fff;
        color: var(--cc-text);
        font-family: inherit;
        font-size: 16px;
        line-height: 1.4;
        box-shadow: none;
    }
    html.career-responsive input:disabled,
    html.career-responsive select:disabled { background: #f7f9fb; color: var(--cc-text); opacity: 1; }
    html.career-responsive textarea { min-height: 100px; resize: vertical; }
    html.career-responsive input[type="file"] { padding: 10px; font-size: 14px; overflow: hidden; }
    html.career-responsive input[type="checkbox"],
    html.career-responsive input[type="radio"] {
        flex-shrink: 0;
        width: 20px !important;
        height: 20px !important;
        padding: 0;
        accent-color: var(--cc-accent);
    }
    html.career-responsive .switch input { width: 0 !important; height: 0 !important; }
    html.career-responsive .radio-group { flex-wrap: wrap; gap: 10px; margin-top: 8px; max-width: 100%; }
    html.career-responsive .radio-group label { margin: 0; }
    html.career-responsive button,
    html.career-responsive .icon-button,
    html.career-responsive .apply-btn,
    html.career-responsive .signin-btn,
    html.career-responsive .cc-button {
        min-height: 44px;
        max-width: 100%;
        font-family: inherit;
        font-size: 14px;
        white-space: normal;
        box-shadow: none;
    }
    html.career-responsive .nav-buttons,
    html.career-responsive .modal-buttons,
    html.career-responsive .button-container,
    html.career-responsive .card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 100%;
    }
    html.career-responsive .nav-buttons { margin-top: 24px !important; }
    html.career-responsive .nav-buttons button,
    html.career-responsive .modal-buttons button { flex: 1 1 auto; justify-content: center; margin: 0; }
    html.career-responsive .step-indicator {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        max-width: 100%;
        margin: 0 0 20px;
        padding: 8px 0 12px;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    html.career-responsive .step-indicator::-webkit-scrollbar { display: none; }
    html.career-responsive .step { flex: 0 0 104px; text-align: center; }
    html.career-responsive .step span { margin-top: 7px; font-size: 12px; line-height: 1.35; }
    html.career-responsive .page { animation: none; }
    html.career-responsive .step-indicator { display: none; }
    html.career-responsive .cc-step-navigation {
        display: grid; gap: 6px; margin: 0 0 20px;
    }
    html.career-responsive .cc-step-navigation label {
        color: var(--cc-muted); font-size: 12px; font-weight: 500;
    }
    html.career-responsive .cc-step-navigation select {
        background: #edf3f8; color: var(--cc-blue); font-weight: 600;
    }
    html.career-responsive .cc-section-heading {
        align-items: center; flex-wrap: nowrap; gap: 12px; margin: 20px 0 12px !important;
    }
    html.career-responsive .cc-section-heading h2 {
        flex: 1; min-width: 0; margin: 0;
    }
    html.career-responsive .cc-add-entry {
        display: inline-flex; align-items: center; justify-content: center;
        flex: 0 0 44px; width: 44px; height: 44px; padding: 10px !important;
        border-radius: 9px;
    }
    html.career-responsive .cc-add-entry i { display: none; }
    html.career-responsive .cc-add-icon { display: inline-flex; pointer-events: none; }
    html.career-responsive .cc-section-bar {
        display: none;
        padding: 10px 14px !important;
        margin-bottom: 16px;
        border: 1px solid #dce7ef;
        border-radius: 9px;
        background: #edf3f8 !important;
        color: var(--cc-blue) !important;
        font-size: 16px !important;
        font-weight: 600;
        line-height: 1.4;
    }
    html.career-responsive .page > form > div:first-child:not(.form-group):not(.header-container) {
        border-radius: 9px;
    }

    /* Every labelled record becomes a card while retaining its original fields. */
    html.career-responsive .cc-table-scroll,
    html.career-responsive .table-scroll,
    html.career-responsive .application-table-scroll {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    html.career-responsive .cc-card-list { overflow: visible; border-radius: 0; }
    html.career-responsive table.cc-responsive-table { width: 100% !important; min-width: var(--cc-table-min-width, 0); }
    html.career-responsive table.cc-card-table,
    html.career-responsive table.cc-card-table tbody {
        display: grid;
        gap: 12px;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        height: auto !important;
        margin: 0 !important;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-align: left;
    }
    html.career-responsive .cc-card-table thead,
    html.career-responsive .cc-card-table .cc-table-heading-row { display: none; }
    html.career-responsive .cc-card-table .cc-record-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        width: 100%;
        min-width: 0;
        padding: 16px;
        border: 1px solid var(--cc-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(24, 52, 72, .025);
    }
    html.career-responsive .cc-card-table td {
        display: block;
        width: 100% !important;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent !important;
        color: var(--cc-text);
        font-size: 14px;
        font-weight: 400;
        text-align: left !important;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    html.career-responsive .cc-card-table td::before {
        display: block;
        content: attr(data-mobile-label);
        margin-bottom: 4px;
        color: var(--cc-muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.4;
    }
    html.career-responsive .cc-card-table td p { margin: 0; font-size: 14px; }
    html.career-responsive .cc-card-table .cc-cell-primary,
    html.career-responsive .cc-card-table .cc-cell-wide,
    html.career-responsive .cc-card-table .cc-cell-actions,
    html.career-responsive .cc-card-table .cc-cell-select { grid-column: 1 / -1; }
    html.career-responsive .cc-card-table .cc-cell-primary { order: -1; font-size: 16px; font-weight: 600; color: var(--cc-blue); }
    html.career-responsive .cc-card-table .cc-cell-index { display: none; }
    html.career-responsive .cc-card-table .cc-cell-select {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        order: -2;
    }
    html.career-responsive .cc-card-table .cc-cell-select::before { margin: 0; }
    html.career-responsive .cc-card-table .cc-cell-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        order: 5;
        padding-top: 12px;
        border-top: 1px solid var(--cc-border);
    }
    html.career-responsive .cc-card-table .cc-cell-actions::before,
    html.career-responsive .cc-card-table .cc-cell-labelled::before { display: none; }
    html.career-responsive .cc-card-table .icon-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 9px 12px;
        margin: 0;
        border: 1px solid var(--cc-border);
        border-radius: 8px;
        background: #f7fafd;
        color: var(--cc-blue);
        font-size: 13px;
        text-decoration: none;
    }
    html.career-responsive .cc-mobile-action-text { display: inline; pointer-events: none; }
    html.career-responsive .cc-card-table input[type="date"] { min-width: 0; }
    html.career-responsive .cc-card-table .form-field { margin: 0; }
    html.career-responsive .cc-card-table .to-cell { flex-wrap: wrap; }
    html.career-responsive .cc-card-table .delete-btn { margin-top: 0; }
    html.career-responsive input[type="range"].slider { width: 100%; }
    html.career-responsive input[type="range"].slider::-webkit-slider-thumb { opacity: 1; pointer-events: auto; }
    html.career-responsive .cc-table-tools {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
    }
    html.career-responsive .cc-table-tools > input,
    html.career-responsive .cc-table-tools > select { flex: 1 1 100%; }
    html.career-responsive .cc-table-tools > button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 9px;
        margin: 0;
    }
    html.career-responsive .cc-table-tools button[aria-label="Delete selected"] {
        border: 1px solid #e9cbcb;
        background: #fff !important;
        color: #a84848;
        font-size: 13px;
    }
    html.career-responsive .filter-bar,
    html.career-responsive .cc-toolbar,
    html.career-responsive .cc-filters,
    html.career-responsive .filters-container,
    html.career-responsive .search-container,
    html.career-responsive .cc-mobile-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
    html.career-responsive .cc-toolbar { position: static; padding: 0; border: 0; box-shadow: none; background: transparent; color: var(--cc-text); }
    html.career-responsive .cc-toolbar .cc-field { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--cc-text); backdrop-filter: none; }
    html.career-responsive .cc-toolbar .cc-field label { flex-shrink: 0; min-width: 44px; opacity: 1; font-weight: 500; }
    html.career-responsive .cc-toolbar .cc-select { appearance: auto; background: #fff; color: var(--cc-text); }
    html.career-responsive .cc-toolbar .cc-select option { background: #fff; color: var(--cc-text); }
    html.career-responsive .cc-toolbar .cc-button { background: var(--cc-blue); color: #fff; }
    html.career-responsive .cc-filters,
    html.career-responsive .filter-bar,
    html.career-responsive .filters-container,
    html.career-responsive .search-container { flex-direction: column; align-items: stretch; }
    html.career-responsive .cc-field,
    html.career-responsive .cc-select,
    html.career-responsive .custom-select-wrapper,
    html.career-responsive .input-icon-wrapper { width: 100%; max-width: 100%; min-width: 0; }
    html.career-responsive .filter-bar { margin-bottom: 16px; }
    html.career-responsive #jobSearchInput { margin-bottom: 16px !important; }
    html.career-responsive .cc-table-tools #jobSearchInput { margin-bottom: 0 !important; }

    /* A compact profile summary replaces the oversized repeated logo. */
    html.career-responsive .header-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        margin: 0 0 20px;
        padding: 16px;
        border: 1px solid var(--cc-border);
        border-radius: 12px;
        background: #f7f9fb;
    }
    html.career-responsive.cc-has-sidebar .header-container .logo,
    html.career-responsive .cc-profile-header .title,
    html.career-responsive .header-container br { display: none; }
    html.career-responsive .header-container .logo img { width: auto; max-width: 140px; height: 48px !important; }
    html.career-responsive .profile-image-wrapper {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }
    html.career-responsive .cc-avatar img {
        width: 72px !important;
        max-width: 72px !important;
        height: 72px !important;
        margin: 0 !important;
        border: 1px solid var(--cc-border) !important;
        border-radius: 50% !important;
        object-fit: cover;
    }
    html.career-responsive .cc-photo-missing img { display: none !important; }
    html.career-responsive .cc-photo-missing .cc-avatar-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        border: 1px solid #d5e2ed;
        border-radius: 50%;
        background: #e9f0f6;
        color: #7a98b0;
    }
    html.career-responsive .cc-avatar-fallback svg { width: 42px; height: 42px; }
    html.career-responsive .cc-mobile-profile-copy {
        display: flex;
        flex: 1 1 150px;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    html.career-responsive .cc-mobile-profile-copy strong { font-size: 16px; font-weight: 600; color: var(--cc-blue); overflow-wrap: anywhere; }
    html.career-responsive .cc-mobile-profile-copy span { font-size: 12px; color: var(--cc-muted); }
    html.career-responsive .cc-profile-upload .profile-image-wrapper { flex: 1 1 100%; }
    html.career-responsive .cc-profile-upload .cc-mobile-profile-copy { order: -1; }
    html.career-responsive .cc-profile-upload .profile-image-placeholder {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
        text-align: left;
    }
    html.career-responsive .cc-profile-upload .profile-image-placeholder input[type="file"] { flex: 1 1 180px; width: auto !important; }
    html.career-responsive .cc-profile-upload .profile-image-wrapper1 {
        width: 100%; max-width: 100%; height: auto; margin: 0; padding: 0; border: 0; background: transparent;
    }
    html.career-responsive .cc-profile-upload .profile-image-placeholder1 {
        display: flex; align-items: center; flex-wrap: wrap; gap: 12px; width: 100%; height: auto;
    }
    html.career-responsive .cc-profile-upload .profile-icon1 {
        display: flex; align-items: center; justify-content: center; position: static; flex: 0 0 72px;
        width: 72px; height: 72px; margin: 0; transform: none; border: 1px solid #d5e2ed;
        border-radius: 50%; background: #e9f0f6; color: #7a98b0;
    }
    html.career-responsive .cc-profile-upload .profile-icon1::before { display: none; }
    html.career-responsive .cc-profile-upload .cc-empty-avatar { display: block; width: 42px; height: 42px; }
    html.career-responsive .cc-profile-upload .profile-image-placeholder1 input[type="file"] { flex: 1 1 180px; width: auto !important; }
    html.career-responsive .resume-upload-wrapper { padding: 16px; border-radius: 10px; }
    html.career-responsive .resume-placeholder-text { max-width: 100%; padding: 8px; font-size: 13px; overflow-wrap: anywhere; }

    /* Dashboard cards have one visual container per application. */
    html.career-responsive .container,
    html.career-responsive .app-card {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        margin: 0 0 20px !important;
        padding: 16px;
        border: 1px solid var(--cc-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
    }
    html.career-responsive .container h2 { margin: 0; font-size: 16px; }
    html.career-responsive .container { gap: 12px; }
    html.career-responsive .cc-applications-section { padding: 0; border: 0; background: transparent; }
    html.career-responsive .cc-dashboard .table-container > h2 { margin-left: 0 !important; }
    html.career-responsive .cc-applications-section h2 { margin: 0 0 12px; }
    html.career-responsive .todo-content { align-items: center; gap: 14px; margin-top: 0; }
    html.career-responsive .todo-content p { margin: 0; font-size: 14px; line-height: 1.6; }
    html.career-responsive .todo-content .image { flex: 0 0 64px; width: 64px; height: 64px; }
    html.career-responsive table.cc-application-cards,
    html.career-responsive .cc-application-cards tbody {
        display: grid;
        gap: 12px;
        width: 100%;
        min-width: 0;
        margin: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    html.career-responsive .cc-application-cards thead { display: none; }
    html.career-responsive .cc-application-cards tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 16px;
        border: 1px solid var(--cc-border);
        border-radius: 12px;
        background: #fff;
    }
    html.career-responsive .cc-application-cards td {
        display: block;
        width: auto !important;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    html.career-responsive .cc-application-cards td:nth-child(1) { grid-column: 2; grid-row: 1; align-self: center; color: var(--cc-muted); font-size: 12px; }
    html.career-responsive .cc-application-cards td:nth-child(2) { grid-column: 1; grid-row: 1; font-size: 15px; font-weight: 600; color: var(--cc-blue); }
    html.career-responsive .cc-application-cards td:nth-child(3) { grid-column: 1 / -1; }
    html.career-responsive .cc-application-cards td:nth-child(3)::before { content: 'Status: '; color: var(--cc-muted); font-size: 13px; }
    html.career-responsive .cc-application-cards td:nth-child(4) { align-self: center; color: var(--cc-muted); font-size: 12px; }
    html.career-responsive .cc-application-cards td:nth-child(4)::before { content: 'Submitted '; }
    html.career-responsive .cc-application-cards td:nth-child(5) { text-align: right; }
    html.career-responsive .cc-application-cards .dropdown3-toggle svg { pointer-events: none; vertical-align: middle; }
    html.career-responsive .cc-application-cards .dropdown3-toggle { width: 40px; padding: 8px; color: var(--cc-blue); }
    html.career-responsive .status-badge { font-size: 12px; border-radius: 6px; padding: 4px 8px; }
    html.career-responsive .dropdown3-menu { right: 0; left: auto; max-width: calc(100vw - 64px); border-radius: 10px; z-index: 20; }
    html.career-responsive .cc-application-cards .dropdown3-menu { top: auto; bottom: 100%; }
    html.career-responsive .cc-card-table .dropdown3-menu { position: static; }
    html.career-responsive.cc-has-sidebar .top-banner,
    html.career-responsive #overlay:empty { display: none; }

    html.career-responsive .filters-wrapper,
    html.career-responsive .filters-wrapper2 { width: 100%; max-width: 100%; margin: 16px auto; padding: 0; }
    html.career-responsive .filters-container2 { display: flex; flex-wrap: wrap; gap: 10px; }
    html.career-responsive .job-list { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100%; padding: 0; margin: 20px auto; gap: 12px; }
    html.career-responsive .job-card { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--cc-border); border-radius: 12px; background: #fff; box-shadow: none; overflow-wrap: anywhere; }
    html.career-responsive .job-card .card-actions { position: static; margin-top: 14px; }
    html.career-responsive .topbar { width: 100%; gap: 12px; padding: 12px 16px; background: #fff; }
    html.career-responsive .topbar .logo { max-width: 100px; height: 42px; object-fit: contain; }
    html.career-responsive .main-section { width: 100% !important; max-width: 100%; padding: 40px 20px; border-radius: 12px; background: var(--cc-blue) !important; color: #fff; }
    html.career-responsive .main-section h1 { margin-bottom: 12px; color: #fff; font-size: 24px; }
    html.career-responsive .main-section p { margin: 0; }

    html.career-responsive .modal,
    html.career-responsive .modal-overlay { max-width: 100%; padding: 16px; z-index: 12000; }
    html.career-responsive .modal:not(.modal-overlay .modal) { width: 100%; left: 0; top: 0; height: 100vh; height: 100dvh; margin: 0; overflow-y: auto; }
    html.career-responsive .modal-content,
    html.career-responsive .modal-overlay .modal { width: min(100%, 600px) !important; min-width: 0; max-width: 100%; height: auto !important; max-height: calc(100dvh - 32px); padding: 20px; margin: auto; overflow-y: auto; border-radius: 14px; background: #fff; }
    html.career-responsive .close { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; top: 8px; right: 8px; }
    html.career-responsive #jobDescription,
    html.career-responsive #jobDescriptionContainer { max-width: 100%; overflow-wrap: anywhere; }
    html.career-responsive .ql-toolbar { display: flex; flex-wrap: wrap; max-width: 100%; }
    html.career-responsive .ql-toolbar button { min-height: 28px; }
    html.career-responsive .form { width: calc(100% - 32px); max-width: 440px; margin: 24px auto; transform: none; padding: 24px; gap: 18px; border: 1px solid var(--cc-border); border-radius: 14px; box-shadow: none; background: #fff; }
    html.career-responsive .inputForm { width: 100%; min-width: 0; }
    html.career-responsive .inputForm .input { min-height: 0; height: 100%; padding-right: 44px; border: 0; border-radius: 0; }
    html.career-responsive .inputForm .toggle-password { display: flex; align-items: center; justify-content: center; left: auto !important; right: 0; width: 44px; height: 44px; }
    html.career-responsive .agreement-text { font-size: 13px; overflow-wrap: anywhere; }
    html.career-responsive .cc-mobile-fluid { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-left: 0 !important; }
    html.career-responsive .cc-mobile-auto-height { height: auto !important; }
    html.career-responsive .cc-mobile-stack { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
    html.career-responsive iframe { max-width: 100%; }
    html.career-responsive .card { max-width: calc(100% - 32px); }
    html.career-responsive :focus-visible { outline: 3px solid var(--cc-accent); outline-offset: 3px; }
}

@media screen and (max-width: 480px) {
    html.career-responsive .nav-buttons { flex-direction: column; }
    html.career-responsive .nav-buttons button,
    html.career-responsive .page button[type="submit"] { width: 100%; }
    html.career-responsive .form-group[style*="padding"] { padding: 16px !important; }
    html.career-responsive .cc-card-table .cc-row-editable { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (min-width: 1025px) and (max-width: 1750px) {
    html.career-responsive.cc-has-sidebar #application-form { box-sizing: border-box; width: calc(100% - 470px); min-width: 0; }
    html.career-responsive #application-form .cc-table-scroll { max-width: 100%; overflow-x: auto; }
    html.career-responsive #application-form table.cc-responsive-table { min-width: 700px; }
}
@media screen and (prefers-reduced-motion: reduce) {
    html.career-responsive #sidebar { transition: none; }
}
@media print {
    .cc-mobile-bar,
    .cc-mobile-backdrop,
    .cc-table-tools,
    .cc-mobile-action-text,
    .cc-mobile-profile-copy,
    .cc-avatar-fallback,
    .cc-mobile-only,
    .cc-step-navigation,
    .cc-add-icon { display: none !important; }
    .cc-table-scroll { overflow: visible; }
}

/* A richer blue identity, with small warm accents rather than a wallpaper frame. */
.cc-welcome-kicker,
.cc-welcome-note,
.cc-welcome-emblem,
.cc-job-icon,
.cc-next-icon,
.cc-empty-state {
    display: none;
}
@media screen and (max-width: 1024px) {
    html.career-responsive {
        --cc-canvas: #eef4f8;
        --cc-border: #dce7ef;
        --cc-accent: #1876a5;
    }
    html.career-responsive .content {
        justify-content: flex-start;
        align-items: stretch;
    }
    html.career-responsive .cc-mobile-bar {
        background: linear-gradient(110deg, #fff, #f8fbfe);
        box-shadow: 0 3px 14px rgba(21, 64, 89, .05);
    }
    html.career-responsive .cc-mobile-menu-button {
        border-color: #d5e5f0;
        background: #edf5fb;
        color: #185c83;
    }
    html.career-responsive .cc-dashboard-welcome {
        display: block;
        position: relative;
        isolation: isolate;
        overflow: hidden;
        margin: 0 0 20px;
        padding: 22px 20px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 18px;
        background: linear-gradient(125deg, #133c58 0%, #1c6083 65%, #2989a4 100%);
        box-shadow: 0 10px 24px rgba(21, 77, 109, .16);
        color: #fff;
    }
    html.career-responsive .cc-dashboard-welcome::before,
    html.career-responsive .cc-dashboard-welcome::after {
        content: '';
        position: absolute;
        z-index: -1;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 50%;
        pointer-events: none;
    }
    html.career-responsive .cc-dashboard-welcome::before {
        width: 230px;
        height: 230px;
        right: -102px;
        top: -110px;
        background: rgba(255, 255, 255, .055);
    }
    html.career-responsive .cc-dashboard-welcome::after {
        width: 180px;
        height: 180px;
        right: -80px;
        bottom: -122px;
        background: rgba(255, 255, 255, .07);
    }
    html.career-responsive .cc-welcome-kicker {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 12px;
        color: #ffe1a0;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    html.career-responsive .cc-welcome-kicker::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #f8bd62;
        box-shadow: 0 0 0 3px rgba(248, 189, 98, .14);
    }
    html.career-responsive .cc-dashboard-welcome h1 {
        margin: 0;
        color: #fff;
        font-size: 28px;
        line-height: 1.25;
        letter-spacing: -.02em;
    }
    html.career-responsive .cc-welcome-small {
        display: block;
        margin-bottom: 3px;
        color: #d9eaf3;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0;
    }
    html.career-responsive .cc-welcome-name {
        display: block;
        max-width: calc(100% - 64px);
        overflow-wrap: anywhere;
    }
    html.career-responsive .cc-welcome-note {
        display: block;
        margin: 14px 0 0;
        color: #d9eaf3;
        font-size: 12px;
        line-height: 1.6;
    }
    html.career-responsive .cc-welcome-emblem {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 52px;
        right: 20px;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 14px;
        background: rgba(255, 255, 255, .1);
        color: #fff;
        transform: rotate(-8deg);
    }
    html.career-responsive .cc-welcome-emblem svg { width: 26px; height: 26px; }
    html.career-responsive .cc-todo-section {
        border-color: #ecdfc5;
        background: linear-gradient(120deg, #fff 0%, #fffaf0 100%);
        box-shadow: 0 4px 12px rgba(128, 93, 40, .045);
    }
    html.career-responsive .cc-todo-section h2,
    html.career-responsive .cc-next-heading {
        display: flex;
        align-items: center;
        gap: 9px;
    }
    html.career-responsive .cc-next-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        border-radius: 9px;
        background: #ffefce;
        color: #a76918;
    }
    html.career-responsive .cc-next-icon svg { width: 17px; height: 17px; }
    html.career-responsive .cc-applications-section h2,
    html.career-responsive .cc-applications-heading {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        font-size: 17px;
    }
    html.career-responsive .cc-count-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 26px;
        height: 26px;
        padding: 0 8px;
        border: 1px solid #d5e6f2;
        border-radius: 8px;
        background: #e4eff8;
        color: #2a6890;
        font-size: 12px;
        font-weight: 600;
    }
    html.career-responsive .cc-application-cards tbody tr,
    html.career-responsive .app-card {
        border-color: #d8e5ef;
        border-top: 3px solid #2b769f;
        border-radius: 14px;
        background: linear-gradient(150deg, #fff 50%, #fbfdff 100%);
        box-shadow: 0 5px 14px rgba(25, 72, 101, .055);
    }
    html.career-responsive .cc-application-cards td:nth-child(2),
    html.career-responsive .app-title {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        font-weight: 600;
    }
    html.career-responsive .cc-job-title { min-width: 0; }
    html.career-responsive .cc-job-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border: 1px solid #dfecf5;
        border-radius: 10px;
        background: #edf5fb;
        color: #337aa4;
    }
    html.career-responsive .cc-job-icon svg { width: 18px; height: 18px; }
    html.career-responsive .cc-application-cards td:nth-child(1),
    html.career-responsive .app-id {
        align-self: flex-start;
        padding: 4px 7px;
        border-radius: 6px;
        background: #eef4f8;
        color: #58809b;
        font-size: 11px;
        line-height: 1.5;
    }
    html.career-responsive .cc-application-cards td:nth-child(4),
    html.career-responsive .cc-application-cards td:nth-child(5) {
        padding-top: 10px;
        border-top: 1px solid #edf2f6;
    }
    html.career-responsive .cc-application-cards .dropdown3-toggle,
    html.career-responsive .app-card .action-btn {
        width: 36px;
        min-height: 36px;
        padding: 7px;
        border-radius: 9px;
        background: #edf5fa;
        color: #2a6d96;
    }
    html.career-responsive .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        line-height: 1.5;
    }
    html.career-responsive .status-badge::before {
        content: '';
        flex: 0 0 5px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
        opacity: .75;
    }
    html.career-responsive .status-badge.status-not-submitted,
    html.career-responsive .status-badge.progress { background: #e4eff9; color: #29688f; }
    html.career-responsive .cc-empty-state {
        display: grid;
        justify-items: center;
        gap: 8px;
        padding: 26px 20px;
        border: 1px dashed #c8dce9;
        border-radius: 14px;
        background: #f9fcfe;
        text-align: center;
    }
    html.career-responsive .cc-empty-state strong { color: var(--cc-blue); font-size: 15px; }
    html.career-responsive .cc-empty-state p { margin: 0; color: var(--cc-muted); font-size: 13px; }
    html.career-responsive .form-header {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        background: linear-gradient(115deg, #163e59, #247597);
        box-shadow: 0 5px 14px rgba(26, 72, 99, .11);
    }
    html.career-responsive .form-header::after {
        content: '';
        position: absolute;
        left: 16px;
        bottom: 0;
        width: 40px;
        height: 3px;
        border-radius: 3px;
        background: #f5bb68;
    }
    html.career-responsive .cc-card-table .cc-record-card,
    html.career-responsive .job-card {
        border-left: 3px solid #4586ac;
        box-shadow: 0 4px 12px rgba(26, 72, 99, .045);
    }
    html.career-responsive .cc-profile-header {
        background: linear-gradient(130deg, #edf5fb, #fff);
        border-color: #d4e4f0;
    }
    html.career-responsive .cc-step-navigation select {
        border-color: #cfe0ed;
        background: linear-gradient(120deg, #e8f1f8, #f8fbfe);
    }
    html.career-responsive .nav-btn.next-btn,
    html.career-responsive .page button[type="submit"],
    html.career-responsive .cc-table-tools #openJobModal2,
    html.career-responsive .form .button-submit {
        border: 1px solid #1d6389;
        background: linear-gradient(120deg, #1c5272, #2381a4);
        color: #fff;
        box-shadow: 0 4px 10px rgba(31, 106, 145, .13);
    }
}
