/* AIInterview public/account UI. Scoped to plugin page classes. */
.html-aiinterview-view-page .master-column-wrapper {
    min-width: 0;
}

.html-aiinterview-view-page .page-body,
.aiinterview-public-page .page-body,
.ai-interview-report-page .page-body,
.mock-report .page-body {
    min-width: 0;
    max-width: 100%;
}

.aiinterview-public-page .page-body,
.html-aiinterview-view-page .account-page .page-body,
.html-aiinterview-view-page .page-body {
    box-sizing: border-box;
}

.aiinterview-shell,
.ai-applications-page,
.employer-applications-page,
.vendor-scoreboard-page,
.vendor-job-creation-page,
.vendor-account-page,
.mock-history,
.mock-start,
.ai-interview-runtime-error-page {
    min-width: 0;
    max-width: 100%;
}

.aiinterview-card,
.applications-card,
.report-preview,
.ai-report-hero,
.ai-report-card,
.ai-report-turn,
.mock-report-hero,
.mock-report-card,
.mock-report-turn,
.job-ai-panel,
.job-ai-card {
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: none;
}

.applications-card,
.ai-report-hero,
.ai-report-card,
.mock-report-hero,
.mock-report-card,
.job-ai-panel {
    padding: 24px;
}

.aiinterview-public-page .page-title h1,
.html-aiinterview-view-page .page-title h1,
.ai-report-hero h2,
.ai-report-card h3,
.mock-report-hero h2,
.mock-report-card h3,
.job-ai-panel h2,
.job-ai-panel h3 {
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.aiinterview-public-page .buttons,
.html-aiinterview-view-page .buttons,
.job-ai-actions,
.employer-filter-actions,
.ai-report-actions,
.candidate-recording-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.aiinterview-public-page .button-1,
.aiinterview-public-page .button-2,
.html-aiinterview-view-page .button-1,
.html-aiinterview-view-page .button-2,
.job-ai-actions .button-1,
.job-ai-actions .button-2 {
    border-radius: 0;
    font-family: "Fjalla One", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.aiinterview-public-page .button-1,
.html-aiinterview-view-page .button-1,
.job-ai-actions .button-1 {
    border-color: var(--jb-accent, #35d6b4);
    background: var(--jb-accent, #35d6b4);
    color: #ffffff;
}

.aiinterview-public-page .button-2,
.html-aiinterview-view-page .button-2,
.job-ai-actions .button-2 {
    border-color: #d5d5d5;
    background: #f2f2f2;
    color: #454c52;
}

.applications-toolbar,
.results-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.applications-sort,
.employer-field,
.vendor-job-form-control,
.invite-field,
.job-ai-grid > div {
    min-width: 0;
}

.applications-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.applications-sort label {
    margin: 0;
    white-space: nowrap;
}

.applications-sort select,
.employer-field input,
.employer-field select,
.status-form input,
.status-form select,
.vendor-job-form-control input[type="text"],
.vendor-job-form-control input[type="email"],
.vendor-job-form-control input[type="date"],
.vendor-job-form-control input[type="datetime-local"],
.vendor-job-form-control input[type="number"],
.vendor-job-form-control input[type="file"],
.vendor-job-form-control textarea,
.vendor-job-form-control select,
.invite-field input,
.invite-field select,
.mock-start select,
.apply-job-page input[type="text"],
.apply-job-page input[type="file"],
.job-ai-card input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 9px 12px;
    background: #f0f0f0;
    color: #626970;
}

.html-aiinterview-view-page .inputs label,
.vendor-job-form-control label,
.employer-field label,
.job-ai-card label {
    color: #30363c;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
}

.html-aiinterview-view-page .form-control {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.employer-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px 18px;
    align-items: end;
    margin-bottom: 18px;
}

.employer-filter-form,
.vendor-job-form-shell,
.invite-create-form {
    display: grid;
    gap: 18px;
}

.employer-field {
    display: grid;
    gap: 8px;
}

.employer-field-wide {
    grid-column: span 2;
}

.employer-filter-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.employer-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #30363c;
    line-height: 1.45;
}

.status-form {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.vendor-job-form-grid {
    display: grid;
    gap: 16px;
}

.vendor-job-fieldset,
.invite-fieldset {
    padding: 0;
}

.vendor-job-form-section {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fbfbfb;
}

.vendor-job-form-section-title {
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.vendor-job-form-row {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 12px 18px;
    align-items: start;
}

.vendor-job-form-row-top {
    align-items: center;
}

.vendor-job-form-label {
    padding-top: 10px;
    color: #30363c;
    font-family: "Fjalla One", Arial, sans-serif;
    text-transform: uppercase;
}

.vendor-job-form-label label {
    margin: 0;
}

.vendor-job-form-control textarea {
    min-height: 120px;
    resize: vertical;
}

.vendor-job-form-control textarea[rows="2"] {
    min-height: 72px;
}

.vendor-job-form-unsupported {
    padding: 11px 12px;
    border: 1px dashed #c6cdd4;
    border-radius: 4px;
    background: #f8fafc;
    color: #5a6470;
    line-height: 1.5;
}

.vendor-job-form-control input[type="file"] {
    padding: 10px 12px;
}

.vendor-job-form-hint,
.applications-footnote,
.filter-summary,
.page-size-wrap,
.job-ai-note,
.job-ai-lead {
    color: #687078;
    line-height: 1.55;
}

.vendor-job-form-checkbox-list {
    display: grid;
    gap: 10px;
}

.vendor-job-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 16px 18px;
}

.invite-field {
    display: grid;
    gap: 8px;
}

.invite-field-wide {
    grid-column: span 2;
}

.invite-actions {
    justify-content: flex-start;
}

.invite-table-wrapper,
.employer-table-wrapper,
.history-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.applications-table,
.employer-table,
.mock-history .history-table,
.html-aiinterview-view-page .data-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.applications-table th,
.applications-table td,
.employer-table th,
.employer-table td,
.mock-history .history-table th,
.mock-history .history-table td,
.html-aiinterview-view-page .data-table th,
.html-aiinterview-view-page .data-table td {
    border: 0;
    border-bottom: 1px solid #e2e2e2;
    padding: 12px;
    text-align: left;
    vertical-align: top;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.applications-table th,
.employer-table th,
.mock-history .history-table th,
.html-aiinterview-view-page .data-table th {
    background: #272d33;
    color: #ffffff;
    font-family: "Fjalla One", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.html-aiinterview-view-page .table-wrapper,
.applications-table-wrap,
.mock-history .page-body,
.history-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.applications-table-scroller,
.employer-table-wrapper,
.invite-table-wrapper {
    -webkit-overflow-scrolling: touch;
}

.ai-report-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ai-report-back-button,
.ai-view-report-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-view-report-link i,
.ai-report-back-button i {
    font-size: 14px;
}

.employer-filter-shell {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fbfbfb;
}

.employer-filter-head {
    display: grid;
    gap: 6px;
}

.employer-filter-head strong {
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    text-transform: uppercase;
}

.employer-filter-head span {
    color: #687078;
    line-height: 1.5;
}

.score-chip,
.score-badge,
.charge-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eefaf7;
    color: #197f69;
    font-weight: 700;
    white-space: nowrap;
}

.score-chip {
    min-width: 40px;
    min-height: 40px;
}

.status-pill {
    background: #f5fbf9;
}

.report-preview {
    margin-top: 12px;
    padding: 18px;
    background: #fafafa;
}

.report-metrics,
.ai-report-grid,
.mock-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.report-metric,
.ai-report-stat,
.mock-report-stat {
    border: 1px solid #dedede;
    border-radius: 4px;
    padding: 14px;
    background: #fafafa;
}

.report-metric-label,
.ai-report-stat-label,
.mock-report-stat-label {
    margin-bottom: 6px;
    color: #687078;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.report-metric-value,
.ai-report-stat-value,
.mock-report-stat-value {
    color: var(--jb-accent-dark, #24b99a);
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.35rem;
}

.ai-report-stat-value.is-muted,
.mock-report-stat-value.is-muted {
    color: #20252b;
    font-size: 1rem;
}

.ai-report-wrap,
.mock-report-wrap {
    display: grid;
    max-width: 980px;
    margin: 0 auto;
    gap: 20px;
}

.ai-report-actions {
    justify-content: flex-start;
}

.candidate-recording-actions {
    align-items: flex-start;
}

.candidate-recording-actions .button-2 {
    min-height: 38px;
    padding: 8px 14px;
}

.ai-report-turn,
.mock-report-turn,
.ai-turn-card {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 14px;
}

.ai-report-answer,
.ai-report-feedback,
.mock-report-answer,
.mock-report-feedback,
.report-data,
.report-copy,
.ai-turn-card {
    color: #334155;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.ai-report-meta,
.mock-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    color: #667085;
    font-size: 0.85rem;
}

.job-ai-panel {
    display: grid;
    gap: 18px;
    border-left: 2px solid var(--jb-accent, #35d6b4);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.job-ai-grid {
    display: grid;
    gap: 16px;
    max-width: 100%;
    min-width: 0;
}

.job-ai-card {
    padding: 18px;
    background: #fafafa;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.job-ai-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 14px;
    gap: 12px;
}

.job-ai-actions .job-ai-action {
    all: unset;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 170px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    background-image: none;
    box-shadow: none;
    cursor: pointer;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.job-ai-actions .job-ai-action-primary {
    border-color: #1fb99b;
    background: #1fb99b;
    color: #ffffff;
}

.job-ai-actions .job-ai-action-primary:hover:not(:disabled),
.job-ai-actions .job-ai-action-primary:focus-visible {
    border-color: #159d84;
    background: #159d84;
    color: #ffffff;
}

.job-ai-actions .job-ai-action-secondary {
    border-color: #cfd6dc;
    background: #ffffff;
    color: #25313a;
}

.job-ai-actions .job-ai-action-secondary:hover:not(:disabled),
.job-ai-actions .job-ai-action-secondary:focus-visible {
    border-color: #b8c1c9;
    background: #f3f5f6;
    color: #17212a;
}

.job-ai-actions .job-ai-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.job-ai-actions .button-1,
.job-ai-actions .button-2,
.job-ai-card .button-1,
.job-ai-card .button-2 {
    min-width: 0;
}

.job-inline-message {
    display: none;
    border: 1px dashed #cfcfcf;
    padding: 14px 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.job-inline-message.is-visible {
    display: block;
}

.job-inline-message.is-error {
    border-color: #e3b4b4;
    background: #fff4f4;
    color: #9f3535;
}

.job-inline-message.is-success {
    border-color: #b9ded4;
    background: #eefaf7;
    color: #197f69;
}

.job-inline-message.is-info {
    border-color: #cfcfcf;
    background: #fafafa;
    color: #454c52;
}

.mock-start .page-body,
.ai-interview-runtime-error-page .page-body,
.apply-job-page .page-body,
.aiinterview-index-page .page-body {
    box-sizing: border-box;
    max-width: 900px;
    margin: 0 auto;
    border-left: 2px solid var(--jb-accent, #35d6b4);
    padding: 28px;
    background: #ffffff;
}

.mock-start form,
.apply-job-page form {
    display: grid;
    gap: 16px;
}

.aiinterview-success-message {
    border-color: #b9ded4;
    background: #eefaf7;
    color: #197f69;
}

.aiinterview-hidden {
    display: none;
}

.ai-report-drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
}

.ai-report-drawer.is-open {
    display: block;
}

.ai-report-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
}

.ai-report-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: min(760px, 100%);
    height: 100%;
    max-width: 100%;
    padding: 24px;
    box-sizing: border-box;
    border-left: 1px solid #d7dde6;
    background: #f8fafc;
    overflow: hidden;
}

.ai-report-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.ai-report-drawer-header h2 {
    margin: 0;
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.ai-report-drawer-close {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #ffffff;
    color: #20252b;
    font-size: 24px;
    line-height: 1;
}

.ai-report-drawer-status {
    min-height: 22px;
    color: #687078;
    line-height: 1.5;
}

.ai-report-drawer-body {
    min-width: 0;
    overflow: auto;
    padding-right: 6px;
}

.ai-report-drawer-body .ai-report-hero,
.ai-report-drawer-body .ai-report-card,
.ai-report-drawer-body .mock-report-card,
.ai-report-drawer-body .mock-report-hero {
    margin-bottom: 16px;
}

body.aiinterview-report-drawer-open {
    overflow: hidden;
}

.ai-job-product-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px;
    border: 1px solid #d8dee4;
    border-radius: 6px;
    background: #ffffff;
    box-sizing: border-box;
}

.ai-job-card-media,
.ai-job-card-body,
.ai-job-preview-drawer-panel,
.ai-job-preview-drawer-body {
    min-width: 0;
}

.ai-job-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-job-card-logo {
    display: block;
    width: 132px;
    height: 132px;
    border: 1px solid #d8dee4;
    border-radius: 6px;
    object-fit: cover;
    background: #f6f8fa;
}

.ai-job-card-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #188f78;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-job-card-body,
.ai-job-preview-drawer-body {
    display: grid;
    gap: 14px;
}

.ai-job-card-topline,
.ai-job-preview-drawer-header,
.ai-job-preview-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ai-job-card-kicker {
    color: #687078;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 0.84rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.ai-job-card-title-link {
    appearance: none;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.9rem;
    line-height: 1.05;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.ai-job-card-title-link:hover,
.ai-job-card-title-link:focus-visible {
    color: #188f78;
}

.ai-job-card-company {
    color: #374151;
    font-weight: 700;
    line-height: 1.5;
}

.ai-job-card-summary,
.ai-job-preview-description {
    color: #4b5563;
    line-height: 1.6;
}

.ai-job-card-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-job-card-spec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    max-width: 100%;
    padding: 7px 12px;
    border: 1px solid #d8dee4;
    border-radius: 999px;
    background: #f9fbfb;
    color: #334155;
    line-height: 1.4;
}

.ai-job-card-spec span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ai-job-card-spec-icon {
    color: #188f78;
}

.ai-job-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ai-job-card-view-job {
    min-height: 40px;
    padding: 10px 16px;
}

.ai-job-card-save {
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d8dee4;
    border-radius: 4px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-job-card-save:hover,
.ai-job-card-save:focus-visible {
    border-color: #188f78;
    color: #188f78;
}

.ai-job-card-save.is-saved {
    border-color: #20252b;
    background: #20252b;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px #20252b;
}

.ai-job-card-save[aria-pressed="true"] {
    border-color: #20252b;
    background: #20252b;
    color: #ffffff;
}

.ai-job-card-save.is-saved:hover,
.ai-job-card-save.is-saved:focus-visible,
.ai-job-card-save[aria-pressed="true"]:hover,
.ai-job-card-save[aria-pressed="true"]:focus-visible {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
}

.ai-job-card-save-icon-filled {
    display: none;
}

.ai-job-card-save.is-saved .ai-job-card-save-icon-outline {
    display: none;
}

.ai-job-card-save.is-saved .ai-job-card-save-icon-filled {
    display: inline-block;
}

.ai-job-card-save[aria-pressed="true"] .ai-job-card-save-icon-outline {
    display: none;
}

.ai-job-card-save[aria-pressed="true"] .ai-job-card-save-icon-filled {
    display: inline-block;
}

.ai-job-card-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-job-preview-drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.ai-job-preview-drawer.is-open {
    display: block;
}

.ai-job-preview-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.54);
}

.ai-job-preview-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(560px, 100%);
    height: 100%;
    padding: 24px;
    border-left: 1px solid #d8dee4;
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.ai-job-preview-drawer-header h2 {
    margin: 10px 0 0;
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.ai-job-preview-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d8dee4;
    border-radius: 4px;
    background: #ffffff;
    color: #20252b;
}

.ai-job-preview-drawer-body {
    overflow: auto;
    padding-right: 4px;
}

body.ai-job-preview-open {
    overflow: hidden;
}

@media (max-width: 1000px) {
    .employer-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-job-form-row {
        grid-template-columns: 1fr;
    }

    .vendor-job-form-label {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .applications-card,
    .ai-report-hero,
    .ai-report-card,
    .mock-report-hero,
    .mock-report-card,
    .job-ai-panel,
    .mock-start .page-body,
    .ai-interview-runtime-error-page .page-body,
    .apply-job-page .page-body,
    .aiinterview-index-page .page-body {
        padding: 16px;
    }

    .employer-filter-grid,
    .report-metrics,
    .ai-report-grid,
    .mock-report-grid {
        grid-template-columns: 1fr;
    }

    .aiinterview-public-page .buttons,
    .html-aiinterview-view-page .buttons,
    .job-ai-actions,
    .employer-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .aiinterview-public-page .button-1,
    .aiinterview-public-page .button-2,
    .html-aiinterview-view-page .button-1,
    .html-aiinterview-view-page .button-2,
    .job-ai-actions .button-1,
    .job-ai-actions .button-2,
    .job-ai-actions .job-ai-action {
        width: 100%;
    }

    .candidate-recording-actions,
    .ai-report-actions {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .applications-sort {
        flex-wrap: wrap;
    }

    .ai-report-drawer-panel {
        width: 100%;
        padding: 16px;
    }

    .ai-job-product-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .ai-job-card-logo {
        width: 88px;
        height: 88px;
    }

    .ai-job-card-title-link {
        font-size: 1.35rem;
    }

    .ai-job-preview-drawer-panel {
        padding: 16px;
    }
}

/* Runtime interview room */
.html-aiinterview-runtime-page body {
    margin: 0;
    background: #e5e7eb;
}

.html-aiinterview-runtime-page .master-wrapper-content,
.html-aiinterview-runtime-page .master-column-wrapper,
.html-aiinterview-runtime-page .center-2,
.html-aiinterview-runtime-page .page-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.runtime-shell {
    min-height: 100vh;
    padding: 12px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 36%),
        linear-gradient(180deg, #e5e7eb 0%, #d1d5db 100%);
    overflow-x: hidden;
}

.runtime-js-hidden {
    display: none;
}

.runtime-page {
    height: calc(100vh - 24px);
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid #cfd4dc;
    border-radius: 8px;
    background: #f8fafc;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

.runtime-topbar-main,
.runtime-title-block,
.runtime-sidebar-head {
    min-width: 0;
}

.runtime-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    border-bottom: 1px solid #d7dde6;
}

.runtime-topbar-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.runtime-title-block {
    display: grid;
    gap: 3px;
}

.runtime-eyebrow {
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.runtime-topbar h1 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.runtime-meta,
.runtime-actions,
.runtime-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.runtime-meta {
    justify-content: flex-end;
    color: #4b5563;
    font-weight: 700;
}

.runtime-timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #d0d7e2;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
}

.runtime-stop-button {
    min-width: 148px;
}

.runtime-progress {
    height: 6px;
    border-radius: 999px;
    background: #d1d5db;
    overflow: hidden;
}

.runtime-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: #0f766e;
    transition: width 0.2s ease;
}

.runtime-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
    gap: 16px;
    height: 100%;
    min-height: 0;
    align-items: stretch;
}

.runtime-stage,
.runtime-sidebar {
    display: grid;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
    box-sizing: border-box;
}

.runtime-stage {
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    align-content: stretch;
}

.runtime-video {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    height: 100%;
    border: 1px solid #bfc7d2;
    border-radius: 8px;
    background: linear-gradient(180deg, #747f8c 0%, #59626c 100%);
    color: #e5e7eb;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
}

.runtime-video video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.runtime-log-panel {
    display: none;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    max-width: 250px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    font-size: 11px;
    text-align: left;
}

.runtime-camera-placeholder {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
    color: #e5e7eb;
}

.runtime-camera-placeholder i {
    font-size: 36px;
}

.runtime-log-title {
    margin-bottom: 4px;
    color: #333;
    font-weight: 700;
}

.runtime-avatar {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 130px;
    min-height: 96px;
    padding: 12px;
    border: 1px solid #c7d0da;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.95);
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.runtime-avatar-label {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}

.runtime-avatar-label i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d8f8f1;
    color: #0f766e;
    font-size: 18px;
}

.runtime-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 14px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f1f5f9;
    gap: 12px;
    box-sizing: border-box;
}

.runtime-control-icons {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    justify-content: center;
    overflow-x: visible;
    overflow-y: visible;
}

.runtime-controls #start-or-next {
    flex: 0 0 auto;
    white-space: nowrap;
}

.runtime-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
}

.runtime-icon-button i {
    font-size: 15px;
}

.runtime-control-icons .runtime-icon-button {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.runtime-control-icons .runtime-icon-button:hover:not(:disabled) {
    border-color: #24b99a;
    background: #ecfdf8;
    color: #0f766e;
}

.runtime-control-icons .runtime-icon-button.is-active {
    border-color: #24b99a;
    background: #d8f8f1;
    color: #ffffff;
}

.runtime-control-icons .runtime-icon-button.is-active i {
    color: #0f766e;
}

.runtime-screen-share-status,
.runtime-mock-warning {
    padding: 8px 10px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff7ed;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #9a3412;
}

.runtime-screen-share-status.is-active {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.runtime-screen-share-status.is-warning,
.runtime-status.message-error {
    color: #b42318;
}

.runtime-sidebar {
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    align-content: stretch;
}

.runtime-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.runtime-sidebar h3 {
    margin: 0;
    color: #111827;
    font-size: 18px;
}

.runtime-sidebar-head p {
    margin: 4px 0 0;
    color: #6b7280;
    line-height: 1.5;
}

.runtime-question,
.runtime-message {
    min-height: 22px;
    padding: 10px 12px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    line-height: 1.5;
}

.runtime-message.is-info {
    border-color: #dbe3ec;
    background: #f8fafc;
    color: #475569;
}

.runtime-conversation,
.runtime-transcript-body {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 0;
    padding-right: 4px;
    overflow-y: auto;
}

.runtime-transcript-body {
    margin-top: 16px;
    max-height: 60vh;
}

.runtime-conversation {
    padding: 4px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #f8fafc;
    min-height: 0;
}

.runtime-chat-message {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.runtime-chat-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
}

.runtime-chat-message.is-user .runtime-chat-avatar {
    background: #d8f8f1;
    color: #0f766e;
}

.runtime-chat-bubble {
    padding: 12px 14px;
    border: 1px solid #d5dde8;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.runtime-chat-message.is-user .runtime-chat-bubble {
    border-color: #9fe7d8;
    background: #ecfdf8;
}

.runtime-chat-label {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.runtime-chat-text {
    white-space: pre-wrap;
    line-height: 1.6;
}

.runtime-chat-meta {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 12px;
}

.turn-card {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.turn-question {
    margin-bottom: 8px;
    color: #111827;
    font-weight: 700;
}

.turn-answer {
    margin-bottom: 8px;
    color: #374151;
    white-space: pre-wrap;
}

.turn-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
}

.runtime-answer textarea {
    width: 100%;
    min-height: 96px;
    max-height: 160px;
    padding: 12px 14px;
    border: 1px solid #d0d7e2;
    border-radius: 6px;
    background: #ffffff;
    resize: vertical;
    box-sizing: border-box;
}

.runtime-shell .button-1,
.runtime-shell .button-2,
.runtime-transcript .button-2,
.runtime-modal .button-1,
.runtime-modal .button-2 {
    min-height: 42px;
    min-width: 118px;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.runtime-shell .button-1,
.runtime-modal .button-1 {
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
}

.runtime-shell .button-1:hover:not(:disabled),
.runtime-modal .button-1:hover:not(:disabled) {
    border-color: #115e59;
    background: #115e59;
}

.runtime-shell .button-2,
.runtime-transcript .button-2,
.runtime-modal .button-2 {
    border: 1px solid #d0d7e2;
    background: #f8fafc;
    color: #374151;
}

.runtime-shell .button-2:hover:not(:disabled),
.runtime-transcript .button-2:hover:not(:disabled),
.runtime-modal .button-2:hover:not(:disabled) {
    border-color: #22d1b2;
    color: #111827;
}

.runtime-icon-button.button-2 {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 6px;
}

.runtime-back-button {
    border-color: transparent;
    background: transparent;
    color: #0f766e;
}

.runtime-back-button:hover:not(:disabled),
.runtime-back-button:focus-visible {
    border-color: #7cdcca;
    background: #ecfdf8;
    color: #0f766e;
    outline: none;
}

.runtime-answer-hidden {
    display: none;
}

.runtime-shell .button-1:disabled,
.runtime-shell .button-2:disabled,
.runtime-modal .button-1:disabled,
.runtime-modal .button-2:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.runtime-shell .button-1.is-loading,
.runtime-shell .button-2.is-loading {
    opacity: 0.8;
    cursor: wait;
}

.runtime-status {
    min-height: 24px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
}

.runtime-status.message-success {
    color: #166534;
}

.runtime-transcript,
.runtime-modal {
    display: none;
    position: fixed;
    inset: 0;
    padding: 24px;
    background: rgba(15, 23, 42, 0.5);
    z-index: 9999;
}

.runtime-modal {
    z-index: 10000;
}

.runtime-transcript.is-open,
.runtime-modal.is-open {
    display: grid;
    place-items: center;
}

.runtime-transcript-card,
.runtime-modal-card {
    width: min(900px, 100%);
    max-height: 85vh;
    overflow: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.runtime-modal-card {
    width: min(720px, 100%);
}

.runtime-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.runtime-modal-head h3,
.runtime-modal-card h3 {
    margin: 0;
    color: #111827;
}

.runtime-modal-card p {
    margin: 0 0 12px;
    color: #475467;
    line-height: 1.6;
}

.runtime-guidelines {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #111827;
}

.runtime-guidelines-ack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    color: #111827;
    font-weight: 700;
}

.runtime-guidelines-ack input {
    margin-top: 4px;
}

.runtime-modal-actions {
    margin-top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.runtime-meter {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 34px;
}

.runtime-meter span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: height 0.15s ease, background 0.15s ease;
}

@media (max-width: 1024px) {
    .runtime-layout {
        grid-template-columns: 1fr;
    }

    .runtime-stage,
    .runtime-sidebar {
        height: auto;
    }
}

@media (max-width: 520px) {
    .runtime-shell {
        padding: 8px;
    }

    .runtime-page,
    .runtime-stage,
    .runtime-sidebar {
        padding: 12px;
    }

    .runtime-topbar {
        align-items: flex-start;
    }

    .runtime-topbar-main,
    .runtime-meta,
    .runtime-controls {
        width: 100%;
    }

    .runtime-topbar h1 {
        font-size: 18px;
    }

    .runtime-video {
        min-height: 220px;
        height: auto;
    }

    .runtime-avatar {
        width: 108px;
        min-height: 82px;
    }

    .runtime-controls {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .runtime-control-icons {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .runtime-shell .button-1,
    .runtime-shell .button-2 {
        flex: 1 1 auto;
    }

    .runtime-icon-button {
        flex: 0 0 42px;
    }

    .runtime-sidebar {
        min-height: 58vh;
    }
}

.job-details-page {
    --job-bg: #f0f0f0;
    --job-card: #ffffff;
    --job-border: #d8d8d8;
    --job-text: #111827;
    --job-muted: #6b7280;
    --job-primary: #22d1b2;
    --job-primary-strong: #0f766e;
    --job-secondary: #f3fffb;
    --job-shadow: none;
}

.job-details-page .page-body {
    display: grid;
    gap: 28px;
}

.job-shell {
    display: grid;
    gap: 24px;
}

.job-shell .button-1,
.job-shell .button-2,
.job-shell button,
.job-shell .btn {
    border: 0;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.job-shell .button-1,
.job-shell .btn-primary {
    background: var(--job-primary);
    color: #fff;
    box-shadow: none;
}

.job-shell .button-1:hover,
.job-shell .btn-primary:hover {
    background: var(--job-primary-strong);
}

.job-shell .button-2,
.job-shell .btn-secondary {
    background: var(--job-secondary);
    color: var(--job-primary);
    border: 1px solid #bdebdc;
}

.job-shell .button-2:hover,
.job-shell .btn-secondary:hover {
    background: #dfeafe;
}

.job-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 420px);
    gap: 28px;
    padding: 32px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--job-shadow);
}

.job-hero-copy,
.job-main {
    display: grid;
    gap: 20px;
}

.job-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e8f0ff;
    color: var(--job-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.job-company {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

.job-company-logo {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--job-border);
    background: #fff;
}

.job-company-label {
    margin-bottom: 4px;
    color: var(--job-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.job-company-name {
    color: var(--job-text);
    font-size: 18px;
    font-weight: 700;
}

.job-title h1 {
    margin: 0;
    color: var(--job-text);
    font-size: 42px;
    line-height: 1.08;
}

.job-summary {
    margin: 0;
    color: var(--job-muted);
    font-size: 17px;
    line-height: 1.8;
}

.job-overview-meta,
.job-action-links,
.job-skills,
.job-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-pill,
.job-action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: #fff;
    color: var(--job-text);
    text-decoration: none;
}

.job-action-link {
    font-weight: 600;
    cursor: pointer;
}

.job-action-link:hover {
    border-color: var(--job-primary);
    color: var(--job-primary);
}

.job-action-link.is-saved {
    background: #ecfdf3;
    border-color: #abefc6;
    color: #027a48;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.job-fact,
.job-card,
.job-reviews-wrap {
    padding: 24px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: var(--job-card);
    box-shadow: var(--job-shadow);
}

.job-fact-label {
    margin-bottom: 8px;
    color: var(--job-muted);
    font-size: 14px;
}

.job-fact-value {
    color: var(--job-text);
    font-size: 30px;
    font-weight: 700;
}

.job-fact-value.small {
    font-size: 20px;
}

.job-meta-item {
    min-width: 180px;
    max-width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.job-meta-item .job-fact-label {
    margin-bottom: 6px;
}

.job-section-title {
    margin: 0 0 14px;
    color: var(--job-text);
    font-size: 28px;
}

.job-card p,
.job-card li {
    color: var(--job-text);
    line-height: 1.8;
}

.job-card ul {
    margin: 0;
    padding-left: 22px;
}

.job-skills span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: #edf3ff;
    color: var(--job-primary-strong);
    font-weight: 600;
}

.job-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 24px;
}

.job-spec-groups {
    display: grid;
    gap: 18px;
}

.job-spec-group {
    display: grid;
    gap: 12px;
}

.job-spec-group-name {
    color: var(--job-text);
    font-size: 18px;
    font-weight: 700;
}

.job-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.job-spec-item {
    padding: 16px 18px;
    border: 1px solid var(--job-border);
    border-radius: 8px;
    background: #f7f7f7;
}

.job-spec-label {
    margin-bottom: 8px;
    color: var(--job-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.job-spec-value {
    color: var(--job-text);
    line-height: 1.7;
}

.job-spec-value .attribute-squares {
    margin-top: 4px;
}

.job-reviews-wrap .product-reviews {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.job-review-overview {
    padding: 0;
    border: 0;
    background: transparent;
}

.html-aiinterview-employer-applications-page .fieldset,
.html-aiinterview-vendor-job-creation-page .fieldset,
.html-aiinterview-employer-manage-page .fieldset {
    min-width: 0;
}

.html-aiinterview-employer-applications-page .section,
.html-aiinterview-vendor-job-creation-page .section,
.html-aiinterview-employer-manage-page .section {
    min-width: 0;
}

.html-aiinterview-employer-applications-page .employer-table {
    min-width: 1240px;
    table-layout: fixed;
}

.html-aiinterview-employer-applications-page .employer-table .col-candidate {
    width: 180px;
    min-width: 180px;
}

.html-aiinterview-employer-applications-page .employer-table .col-email {
    width: 210px;
    min-width: 210px;
}

.html-aiinterview-employer-applications-page .employer-table .col-phone {
    width: 150px;
    min-width: 150px;
}

.html-aiinterview-employer-applications-page .employer-table .col-charge {
    width: 130px;
    min-width: 130px;
}

.html-aiinterview-employer-applications-page .employer-table .col-score,
.html-aiinterview-employer-applications-page .employer-table .col-attempts,
.html-aiinterview-employer-applications-page .employer-table .col-report {
    width: 110px;
    min-width: 110px;
}

.html-aiinterview-employer-applications-page .employer-table .col-applied {
    width: 170px;
    min-width: 170px;
}

.html-aiinterview-employer-applications-page .employer-table .col-message {
    width: 260px;
    min-width: 260px;
}

.html-aiinterview-employer-applications-page .employer-table .col-status {
    width: 250px;
    min-width: 250px;
}

.html-aiinterview-employer-applications-page .employer-filter-actions {
    justify-content: flex-start;
}

.html-aiinterview-employer-applications-page .status-form {
    grid-template-columns: 1fr;
}

.html-aiinterview-employer-applications-page .status-form .button-2 {
    justify-self: start;
}

.html-aiinterview-my-applications-page .applications-table-wrap,
.html-aiinterview-employer-applications-page .table-wrapper,
.html-aiinterview-employer-manage-page .table-wrapper {
    width: 100%;
    max-width: 100%;
}

.html-aiinterview-my-applications-page .applications-table {
    min-width: 760px;
}

.html-aiinterview-vendor-job-creation-page .vendor-job-submit,
.html-aiinterview-employer-manage-page .invite-actions .button-1,
.html-aiinterview-employer-applications-page .employer-filter-actions .button-1,
.html-aiinterview-employer-applications-page .employer-filter-actions .button-2 {
    min-height: 44px;
    padding: 10px 18px;
}

.html-aiinterview-scoreboard-page .master-wrapper-content,
.html-aiinterview-scoreboard-page .page,
.html-aiinterview-scoreboard-page .page-body,
.html-aiinterview-scoreboard-page .scoreboard-deck-shell,
.html-aiinterview-scoreboard-page .scoreboard-deck-table-section {
    min-width: 0;
    max-width: 100%;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-page {
    display: grid;
    gap: 20px;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-shell,
.html-aiinterview-scoreboard-page .scoreboard-deck-table-section {
    display: grid;
    gap: 18px;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 20px;
    align-items: end;
    padding: 20px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #ffffff;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-eyebrow,
.html-aiinterview-scoreboard-page .scoreboard-deck-metric-label,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview-label,
.html-aiinterview-scoreboard-page .scoreboard-deck-cell-secondary {
    display: block;
    color: #687078;
    line-height: 1.5;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-eyebrow {
    margin-bottom: 8px;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 0.88rem;
    text-transform: uppercase;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-title {
    margin: 0 0 10px;
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-copy {
    max-width: 780px;
    margin: 0;
    color: #4f5963;
    line-height: 1.6;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-actions {
    justify-content: flex-start;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-actions .button-1,
.html-aiinterview-scoreboard-page .scoreboard-deck-actions .button-2,
.html-aiinterview-scoreboard-page .scoreboard-deck-row-actions .button-2 {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 4px;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-summary,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview,
.html-aiinterview-scoreboard-page .scoreboard-deck-empty-state {
    padding: 0;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metrics,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview {
    display: grid;
    gap: 16px;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.html-aiinterview-scoreboard-page .scoreboard-deck-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metric,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview-card,
.html-aiinterview-scoreboard-page .scoreboard-deck-empty-state {
    min-width: 0;
    padding: 18px;
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #ffffff;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metric-label,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview-label {
    margin-bottom: 10px;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 0.84rem;
    text-transform: uppercase;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metric-value,
.html-aiinterview-scoreboard-page .scoreboard-deck-overview-value {
    display: block;
    color: #20252b;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.1;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-metric-detail {
    display: block;
    margin-top: 10px;
    color: #4f5963;
    line-height: 1.5;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-table {
    width: 100%;
    min-width: 980px;
    table-layout: fixed;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-table th,
.html-aiinterview-scoreboard-page .scoreboard-deck-table td {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-cell-primary {
    color: #20252b;
    font-weight: 700;
    line-height: 1.5;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-cell-secondary {
    margin-top: 4px;
    font-size: 0.9rem;
    word-break: break-word;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #cfe4de;
    border-radius: 4px;
    background: #f5fbf9;
    color: #145f50;
    font-weight: 700;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-score-muted {
    border-color: #dfdfdf;
    background: #f5f5f5;
    color: #687078;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-status.is-verified {
    background: #dbf5e8;
    color: #12603d;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-status.is-flagged {
    background: #f6d8dd;
    color: #781a28;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-status.is-evaluating {
    background: #f5e6bb;
    color: #6c4a00;
}

.html-aiinterview-scoreboard-page .scoreboard-deck-row-actions {
    justify-content: flex-start;
}

@media (max-width: 1080px) {
    .html-aiinterview-scoreboard-page .scoreboard-deck-metrics,
    .html-aiinterview-scoreboard-page .scoreboard-deck-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-hero,
    .job-content-grid {
        grid-template-columns: 1fr;
    }

    .invite-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .html-aiinterview-scoreboard-page .scoreboard-deck-header {
        padding: 18px;
    }

    .html-aiinterview-scoreboard-page .scoreboard-deck-title {
        font-size: 1.6rem;
    }

    .job-hero,
    .job-fact,
    .job-card,
    .job-reviews-wrap {
        padding: 20px;
    }

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

    .job-hero {
        padding: 20px;
    }

    .job-shell .job-ai-actions {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .job-shell .job-ai-actions .button-1,
    .job-shell .job-ai-actions .button-2,
    .job-shell .job-ai-actions .job-ai-action {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .html-aiinterview-scoreboard-page .scoreboard-deck-metrics,
    .html-aiinterview-scoreboard-page .scoreboard-deck-overview {
        grid-template-columns: 1fr;
    }

    .html-aiinterview-scoreboard-page .scoreboard-deck-actions,
    .html-aiinterview-scoreboard-page .scoreboard-deck-row-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .html-aiinterview-scoreboard-page .scoreboard-deck-actions .button-1,
    .html-aiinterview-scoreboard-page .scoreboard-deck-actions .button-2,
    .html-aiinterview-scoreboard-page .scoreboard-deck-row-actions .button-2 {
        width: 100%;
        text-align: center;
    }

    .employer-field-wide,
    .invite-field-wide {
        grid-column: auto;
    }

    .invite-form-grid {
        grid-template-columns: 1fr;
    }

    .job-ai-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .job-ai-panel,
    .job-ai-card,
    .job-inline-message,
    .job-meta-item,
    .report-preview {
        max-width: 100%;
    }
}

#job-apply-button.job-ai-action,
#start-job-interview.job-ai-action {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 168px;
    height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: none;
    font-family: "Fjalla One", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: uppercase;
    white-space: nowrap;
}

#job-apply-button.job-ai-action {
    border-color: #1fb99b;
    background-color: #1fb99b;
    color: #ffffff;
}

#job-apply-button.job-ai-action:hover:not(:disabled),
#job-apply-button.job-ai-action:focus-visible {
    border-color: #159d84;
    background-color: #159d84;
    color: #ffffff;
}

#start-job-interview.job-ai-action {
    border-color: #c7d0d7;
    background-color: #ffffff;
    color: #24313a;
}

#start-job-interview.job-ai-action:hover:not(:disabled),
#start-job-interview.job-ai-action:focus-visible {
    border-color: #aeb9c2;
    background-color: #f4f6f7;
    color: #141d24;
}

@media (max-width: 720px) {
    #job-apply-button.job-ai-action,
    #start-job-interview.job-ai-action {
        width: 100%;
        min-width: 0;
    }
}
