.aibe-page {
    background: #f7f9fb;
    color: #111827;
}

.aibe-shell {
    margin: 0 auto;
    max-width: 1320px;
    padding: 88px 20px 68px;
}

.aibe-hero {
    align-items: end;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    padding: 18px 0 30px;
}

.aibe-kicker {
    color: #8a3d30;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.aibe-hero h1 {
    color: #111816;
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
    max-width: 780px;
    text-align: left;
}

.aibe-lede {
    color: #40504b;
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 760px;
}

.aibe-alert {
    background: #fff8ed;
    border: 1px solid #e5c99a;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(77, 59, 24, 0.08);
    padding: 18px;
}

.aibe-alert strong {
    color: #5a2b16;
    display: block;
    font-size: 0.94rem;
    margin-bottom: 8px;
}

.aibe-alert p,
.aibe-proof p,
.aibe-empty p,
.aibe-source-note p {
    color: #4c5b56;
    line-height: 1.55;
    margin: 0;
}

.aibe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.aibe-button {
    align-items: center;
    background: #18211f;
    border: 1px solid #18211f;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    text-decoration: none;
}

.aibe-button.secondary {
    background: #fff;
    color: #18211f;
}

.aibe-status-grid,
.aibe-subject-grid,
.aibe-gate-grid {
    display: grid;
    gap: 12px;
}

.aibe-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 10px 0 24px;
}

.aibe-status-card,
.aibe-subject-card,
.aibe-gate-card,
.aibe-proof,
.aibe-empty,
.aibe-source-note {
    background: #fff;
    border: 1px solid #dfe5dc;
    border-radius: 8px;
}

.aibe-status-card {
    padding: 16px;
}

.aibe-status-card dt {
    color: #63706b;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.aibe-status-card dd {
    color: #16201d;
    font-size: 1.4rem;
    font-weight: 850;
    margin: 0;
}

.aibe-band {
    border-top: 1px solid #dfe5dc;
    padding: 34px 0;
}

.aibe-section-head {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.aibe-section-head h2 {
    color: #111816;
    font-size: 1.45rem;
    letter-spacing: 0;
    margin: 0;
}

.aibe-section-head p {
    color: #63706b;
    line-height: 1.5;
    margin: 0;
    max-width: 680px;
}

.aibe-empty {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 22px;
}

.aibe-empty h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.aibe-empty-badge,
.aibe-proof-badge {
    background: #f1f4ef;
    border-radius: 999px;
    color: #37433f;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 7px 10px;
    white-space: nowrap;
}

.aibe-gate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aibe-gate-card,
.aibe-proof {
    padding: 18px;
}

.aibe-gate-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.aibe-gate-card p {
    color: #4c5b56;
    line-height: 1.55;
    margin: 0;
}

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

.aibe-subject-card {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 16px;
}

.aibe-subject-card span {
    color: #1f2a27;
    font-weight: 750;
    line-height: 1.35;
}

.aibe-subject-card strong {
    background: #e7efe9;
    border-radius: 999px;
    color: #1f4f43;
    min-width: 42px;
    padding: 6px 10px;
    text-align: center;
}

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

.aibe-proof h3 {
    font-size: 1rem;
    margin: 10px 0 8px;
}

.aibe-proof ul {
    color: #40504b;
    line-height: 1.65;
    margin: 10px 0 0;
    padding-left: 18px;
}

.aibe-source-note {
    margin-top: 18px;
    padding: 16px;
}

.aibe-hero.compact {
    align-items: center;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    padding: 8px 0 12px;
}

.aibe-hero.compact h1 {
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.04;
    max-width: 760px;
}

.aibe-hero.compact .aibe-lede {
    font-size: 0.97rem;
    line-height: 1.5;
    margin-top: 10px;
    max-width: 820px;
}

.aibe-hero.compact .aibe-actions {
    margin-top: 12px;
}

.aibe-hero.compact .aibe-alert {
    padding: 14px;
}

.aibe-exam-app {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
    margin: 12px 0 28px;
    overflow: hidden;
    position: relative;
}

.aibe-exam-topbar {
    align-items: center;
    background: #101827;
    color: #ffffff;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 1fr) auto auto auto auto auto;
    min-height: 64px;
    min-width: 0;
    padding: 10px 14px;
}

.aibe-exam-topbar > * {
    min-width: 0;
}

.aibe-exam-title {
    color: #9fb3c8;
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.aibe-exam-topbar strong,
.aibe-exam-paper-heading {
    display: block;
    font-size: 1rem;
    letter-spacing: 0;
}

.aibe-exam-paper-heading {
    color: #ffffff;
    font-weight: 950;
    line-height: 1.18;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aibe-exam-clock {
    align-items: center;
    background: #172235;
    border: 1px solid #27354b;
    border-radius: 8px;
    color: #f8fafc;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 850;
    gap: 8px;
    justify-content: center;
    min-width: 126px;
    padding: 10px 12px;
}

.aibe-exam-clock i {
    color: #4fd1c5;
}

.aibe-exam-counters {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0;
}

.aibe-exam-counters div {
    align-items: center;
    background: #172235;
    border: 1px solid #27354b;
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    min-height: 40px;
    min-width: 0;
    padding: 8px 11px;
    text-align: left;
    white-space: nowrap;
}

.aibe-exam-counters dt {
    color: #9fb3c8;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.aibe-exam-counters dd {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.aibe-exam-submit {
    background: #0f766e;
    border: 1px solid #0f766e;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 850;
    min-height: 42px;
    padding: 10px 14px;
    white-space: nowrap;
}

.aibe-exam-submit:hover {
    background: #0b5f59;
    border-color: #0b5f59;
}

.aibe-report-inline {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 820;
    gap: 8px;
    justify-content: center;
    min-height: 40px;
    padding: 9px 12px;
    text-decoration: none;
    width: max-content;
}

.aibe-report-inline:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.aibe-exam-submit.wide {
    width: 100%;
}

.aibe-exam-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 286px;
    min-height: 640px;
}

.aibe-exam-sections {
    background: #f3f6fa;
    border-right: 1px solid #d7dee8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.aibe-paper-switcher {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 9px 10px;
}

.aibe-paper-switcher label {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.aibe-paper-switcher select {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #d8e1ee;
    border-radius: 7px;
    color: #0f172a;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 820;
    min-height: 36px;
    padding: 8px 30px 8px 10px;
    width: 100%;
}

.aibe-paper-locked span {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.aibe-paper-locked strong {
    background: #f8fafc;
    border: 1px solid #d8e1ee;
    border-radius: 7px;
    color: #0f172a;
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.35;
    min-height: 36px;
    padding: 8px 10px;
}

.aibe-paper-switcher-compact {
    display: none;
}

.aibe-exam-sections .aibe-overview-row,
.aibe-exam-sections a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-size: 0.84rem;
    font-weight: 780;
    gap: 8px;
    justify-content: space-between;
    min-height: 38px;
    padding: 9px 10px;
    text-align: left;
    text-decoration: none;
}

.aibe-exam-sections a:hover,
.aibe-exam-sections .aibe-overview-row.is-active {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.aibe-exam-sections span {
    color: #64748b;
    font-size: 0.76rem;
}

.aibe-overview-note {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 680;
    line-height: 1.45;
    margin: 2px 0 4px;
    padding: 0 4px;
}

.aibe-paper-seo-summary {
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    color: #475569;
    display: grid;
    gap: 7px;
    margin-top: 4px;
    padding: 11px 10px;
}

.aibe-paper-seo-summary h2 {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 920;
    line-height: 1.25;
    margin: 0;
}

.aibe-paper-seo-summary p {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 680;
    line-height: 1.45;
    margin: 0;
}

.aibe-question-panel {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aibe-question-meta {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    min-height: 54px;
    padding: 12px 18px;
}

.aibe-question-meta > span:first-child {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.aibe-question-meta-actions {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.aibe-question-meta-actions button,
.aibe-question-meta-actions a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 850;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.aibe-question-meta-actions button:hover,
.aibe-question-meta-actions a:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.aibe-mobile-palette-toggle {
    display: none !important;
}

.aibe-question-meta-actions > span {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #3730a3;
    font-size: 0.74rem;
    font-weight: 850;
    padding: 6px 10px;
}

.aibe-question-card {
    flex: 1;
    padding: 22px;
}

.aibe-question-locked {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 22px;
}

.aibe-question-locked span {
    color: #0f766e;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aibe-question-locked p {
    color: #1f2937;
    font-size: 1.08rem;
    font-weight: 720;
    line-height: 1.65;
    margin: 0;
    max-width: 850px;
}

.aibe-question-lines {
    display: grid;
    gap: 9px;
    margin-top: 18px;
    max-width: 780px;
}

.aibe-question-lines i {
    background: linear-gradient(90deg, #e2e8f0, #f8fafc);
    border-radius: 8px;
    display: block;
    height: 12px;
}

.aibe-question-lines i:nth-child(2) {
    width: 84%;
}

.aibe-question-lines i:nth-child(3) {
    width: 62%;
}

.aibe-options {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.aibe-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1f2937;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 58px;
    padding: 12px;
    text-align: left;
}

.aibe-option:hover,
.aibe-option.is-selected {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.aibe-option.is-correct-answer {
    background: #f0fdf4;
    border-color: #22c55e;
}

.aibe-option.is-wrong-selected {
    background: #fef2f2;
    border-color: #ef4444;
}

.aibe-option.is-not-scored-selected {
    background: #f8fafc;
    border-color: #94a3b8;
}

.aibe-option:disabled {
    cursor: default;
}

.aibe-option span {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #0f172a;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.aibe-option.is-selected span {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
}

.aibe-option strong {
    font-size: 0.95rem;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.aibe-option-review {
    align-self: center;
    background: #e7f8f2;
    border-radius: 999px;
    color: #0f766e;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    grid-column: 2;
    justify-self: start;
    padding: 4px 8px;
}

.aibe-option.is-wrong-selected .aibe-option-review {
    background: #fee2e2;
    color: #b91c1c;
}

.aibe-option.is-not-scored-selected .aibe-option-review {
    background: #e2e8f0;
    color: #475569;
}

.aibe-exam-actions {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 18px;
}

.aibe-exam-actions button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 820;
    gap: 8px;
    min-height: 40px;
    padding: 9px 12px;
}

.aibe-exam-actions button.primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.aibe-palette {
    background: #f8fafc;
    border-left: 1px solid #d7dee8;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 14px;
}

.aibe-palette-head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.aibe-palette-head strong {
    color: #0f172a;
    font-size: 0.98rem;
}

.aibe-palette-close {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: none;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.aibe-palette-close i {
    pointer-events: none;
}

.aibe-palette-close:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.aibe-palette-grid {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.aibe-palette-cell {
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 850;
    height: 36px;
    justify-content: center;
    min-width: 0;
}

.aibe-palette-cell.is-answered {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.aibe-palette-cell.is-marked {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}

.aibe-palette-cell.is-current {
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
    outline: 2px solid #0f766e;
    outline-offset: 1px;
}

.aibe-palette-cell.is-seen {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.aibe-palette-cell.is-not-visited {
    background: #ffffff;
    color: #64748b;
}

.aibe-palette-legend {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    padding-top: 12px;
}

.aibe-palette-legend span {
    align-items: center;
    color: #475569;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 760;
    gap: 6px;
}

.aibe-palette-legend i {
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    height: 12px;
    width: 12px;
}

.aibe-palette-legend i.is-answered {
    background: #dcfce7;
    border-color: #86efac;
}

.aibe-palette-legend i.is-marked {
    background: #ede9fe;
    border-color: #c4b5fd;
}

.aibe-palette-legend i.is-current {
    background: #ffffff;
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.22);
}

.aibe-palette-legend i.is-seen {
    background: #fff7ed;
    border-color: #fed7aa;
}

.aibe-palette-legend i.is-not-visited {
    background: #ffffff;
}

.aibe-palette-backdrop {
    background: rgba(15, 23, 42, 0.42);
    border: 0;
    cursor: pointer;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 2;
}

.aibe-palette-backdrop[hidden] {
    display: none;
}

.aibe-submit-modal,
.aibe-pause-modal {
    align-items: center;
    background: rgba(15, 23, 42, 0.56);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: absolute;
    z-index: 5;
}

.aibe-pause-modal {
    z-index: 6;
}

.aibe-submit-modal[hidden],
.aibe-pause-modal[hidden] {
    display: none;
}

.aibe-submit-dialog,
.aibe-pause-dialog {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
    max-height: calc(100vh - 36px);
    max-width: 520px;
    overflow-y: auto;
    padding: 22px;
    position: relative;
    width: 100%;
}

.aibe-pause-dialog {
    display: grid;
    gap: 12px;
    max-width: 440px;
    text-align: center;
}

.aibe-submit-dialog h2 {
    color: #0f172a;
    font-size: 1.35rem;
    margin: 0 34px 8px 0;
}

.aibe-pause-dialog h2 {
    color: #0f172a;
    font-size: 1.45rem;
    margin: 0;
}

.aibe-submit-dialog p,
.aibe-pause-dialog p {
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.aibe-pause-dialog .aibe-exam-submit {
    justify-content: center;
    margin-top: 4px;
    width: 100%;
}

.aibe-submit-close {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 34px;
}

.aibe-submit-close i,
.aibe-start-close i,
.aibe-report-close i {
    pointer-events: none;
}

.aibe-submit-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0;
}

.aibe-submit-summary span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 760;
    padding: 10px;
    text-align: center;
}

.aibe-submit-summary strong {
    color: #0f172a;
    display: block;
    font-size: 1.2rem;
}

.aibe-public-rank-consent {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #d7e6e4;
    border-radius: 8px;
    color: #0f172a;
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
    padding: 12px;
    text-align: left;
}

.aibe-public-rank-consent input {
    accent-color: #0f766e;
    flex: 0 0 auto;
    height: 18px;
    margin: 2px 0 0;
    width: 18px;
}

.aibe-public-rank-consent span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.aibe-public-rank-consent strong {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.3;
}

.aibe-public-rank-consent em {
    color: #475569;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 680;
    line-height: 1.45;
}

@media (max-width: 860px) {
    .aibe-hero,
    .aibe-empty,
    .aibe-proof-grid {
        grid-template-columns: 1fr;
    }

    .aibe-exam-topbar,
    .aibe-exam-layout {
        grid-template-columns: 1fr;
    }

    .aibe-hero.compact {
        grid-template-columns: 1fr;
    }

    .aibe-exam-sections {
        border-bottom: 1px solid #d7dee8;
        border-right: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aibe-paper-switcher {
        grid-column: 1 / -1;
    }

    .aibe-palette {
        border-left: 0;
        border-top: 1px solid #d7dee8;
    }

    .aibe-palette-grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }

    .aibe-status-grid,
    .aibe-gate-grid,
    .aibe-subject-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aibe-section-head {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .aibe-shell {
        padding: 84px 14px 48px;
    }

    .aibe-status-grid,
    .aibe-gate-grid,
    .aibe-subject-grid {
        grid-template-columns: 1fr;
    }

    .aibe-actions {
        flex-direction: column;
    }

    .aibe-button {
        justify-content: center;
        width: 100%;
    }

    .aibe-exam-app {
        margin-left: -6px;
        margin-right: -6px;
    }

    .aibe-exam-topbar {
        gap: 10px;
        padding: 12px;
    }

    .aibe-submit-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aibe-exam-counters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .aibe-exam-counters div {
        gap: 4px;
        min-width: 0;
        padding: 7px 5px;
    }

    .aibe-exam-counters dt {
        font-size: 0.58rem;
    }

    .aibe-exam-counters dd {
        font-size: 0.92rem;
    }

    .aibe-exam-layout {
        min-height: auto;
    }

    .aibe-exam-sections {
        grid-template-columns: 1fr;
        max-height: 210px;
        overflow: auto;
    }

    .aibe-question-meta,
    .aibe-exam-actions,
    .aibe-palette-head {
        align-items: stretch;
        flex-direction: column;
    }

    .aibe-question-card {
        padding: 16px;
    }

    .aibe-option {
        align-items: start;
        min-height: 0;
    }

    .aibe-exam-actions button,
    .aibe-exam-actions button.primary {
        justify-content: center;
        width: 100%;
    }

    .aibe-palette-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.aibe-test-page {
    background: #ffffff;
    margin: 0;
}

.aibe-production-shell {
    max-width: none;
    min-height: 100vh;
    padding: 0;
}

.aibe-selector-page {
    background: #f5f7fb;
    color: #0f172a;
    margin: 0;
}

.aibe-paper-shell {
    background: #f5f7fb;
    min-height: 100vh;
    padding: 18px clamp(16px, 4vw, 44px) 42px;
}

.aibe-paper-home {
    display: grid;
    gap: 16px;
    margin: 0 auto;
    max-width: 1180px;
}

.aibe-paper-command {
    align-items: center;
    background: #101827;
    border: 1px solid #1f2a3d;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-width: 0;
    padding: 14px 18px;
}

.aibe-paper-brand {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
}

.aibe-brand-lockup {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.aibe-brand-mark {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    display: inline-flex;
    flex: 0 0 auto;
    height: 40px;
    justify-content: center;
    overflow: hidden;
    width: 40px;
}

.aibe-brand-mark img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.aibe-brand-wordmark {
    color: currentColor;
    display: block;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    min-width: 0;
    white-space: nowrap;
}

.aibe-paper-brand > div {
    min-width: 0;
}

.aibe-paper-brand > div > span {
    color: #cbd5e1;
    display: block;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.aibe-paper-brand strong {
    color: #ffffff;
    display: block;
    font-size: 1rem;
    font-weight: 920;
    margin-top: 4px;
}

.aibe-paper-command-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.aibe-paper-command-meta span {
    background: rgba(148, 163, 184, 0.13);
    border: 1px solid rgba(203, 213, 225, 0.16);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 8px 10px;
    white-space: nowrap;
}

.aibe-paper-workbench {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    padding: 8px 0 2px;
}

.aibe-paper-intro h1 {
    color: #0f172a;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.04;
    margin: 0;
}

.aibe-paper-intro p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 10px 0 0;
    max-width: 680px;
}

.aibe-paper-home-form {
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 8px;
    margin: 0 auto;
    max-width: 900px;
    padding: 10px;
    text-align: left;
    width: 100%;
}

.aibe-paper-home-form label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.aibe-paper-home-control {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(190px, 0.9fr) minmax(260px, 1fr) auto;
    min-width: 0;
}

.aibe-paper-home-form select {
    appearance: none;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 18px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 820;
    min-height: 48px;
    min-width: 0;
    padding: 0 46px 0 14px;
    width: 100%;
}

.aibe-paper-home-form button,
.aibe-paper-card-actions a {
    align-items: center;
    background: #0f766e;
    border: 1px solid #0f766e;
    border-radius: 8px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
}

.aibe-paper-home-form button:hover,
.aibe-paper-card-actions a:hover {
    background: #0b5f59;
    border-color: #0b5f59;
}

.aibe-paper-card-actions {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.72fr);
    justify-content: flex-end;
    justify-self: stretch;
    max-width: 500px;
    min-width: 0;
    width: 100%;
}

.aibe-paper-card-actions .aibe-paper-read-link {
    background: #ffffff;
    border-color: #99f6e4;
    color: #0f766e;
}

.aibe-paper-card-actions .aibe-paper-read-link:hover {
    background: #ecfdf5;
    border-color: #0f766e;
    color: #0b5f59;
}

.aibe-start-modal {
    align-items: center;
    background: rgba(15, 23, 42, 0.64);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 1400;
}

.aibe-start-modal[hidden] {
    display: none;
}

.aibe-start-dialog {
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.34);
    max-height: calc(100vh - 36px);
    max-width: 560px;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    width: min(100%, 560px);
}

.aibe-start-kicker {
    color: #0f766e;
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.aibe-start-dialog h2 {
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 42px 10px 0;
}

.aibe-start-dialog p {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0;
}

.aibe-start-dialog p strong {
    color: #0f172a;
}

.aibe-start-note {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534 !important;
    padding: 12px;
}

.aibe-start-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    margin-top: 18px;
}

.aibe-start-primary,
.aibe-start-secondary,
.aibe-start-close {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.aibe-start-primary,
.aibe-start-secondary {
    font-size: 0.92rem;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
}

.aibe-start-primary {
    background: #0f766e;
    border: 1px solid #0f766e;
    color: #ffffff;
}

.aibe-start-primary:hover {
    background: #0b5f59;
    border-color: #0b5f59;
}

.aibe-start-primary:disabled {
    cursor: wait;
    opacity: 0.8;
}

.aibe-start-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.aibe-start-secondary:hover,
.aibe-start-close:hover {
    background: #f1f5f9;
}

.aibe-start-close {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    height: 36px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
}

.aibe-start-primary:focus-visible,
.aibe-start-secondary:focus-visible,
.aibe-start-close:focus-visible,
.aibe-report-primary:focus-visible,
.aibe-report-secondary:focus-visible,
.aibe-report-close:focus-visible,
.aibe-report-dialog input:focus-visible,
.aibe-report-dialog select:focus-visible,
.aibe-report-dialog textarea:focus-visible,
.aibe-report-inline:focus-visible,
.aibe-question-meta-actions button:focus-visible,
.aibe-question-meta-actions a:focus-visible,
.aibe-palette-close:focus-visible,
.aibe-palette-cell:focus-visible,
.aibe-paper-card-title-link:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.35);
    outline-offset: 2px;
}

.aibe-report-modal {
    align-items: center;
    background: rgba(15, 23, 42, 0.58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    pointer-events: auto;
    position: fixed;
    z-index: 2500;
}

.aibe-report-modal[hidden] {
    display: none;
}

.aibe-report-dialog {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.28);
    color: #0f172a;
    max-height: min(760px, calc(100vh - 32px));
    max-width: 540px;
    overflow: auto;
    padding: 24px;
    position: relative;
    width: min(100%, 540px);
    z-index: 1;
}

.aibe-report-dialog h2 {
    font-size: 1.35rem;
    margin: 0 42px 8px 0;
}

.aibe-report-dialog p {
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.aibe-report-context {
    background: #f1f5f9;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 850;
    margin: 14px 0 !important;
    padding: 10px 12px;
}

.aibe-report-dialog form {
    display: grid;
    gap: 12px;
}

.aibe-report-dialog label {
    color: #334155;
    display: grid;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 6px;
}

.aibe-report-dialog label span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 760;
}

.aibe-report-dialog input,
.aibe-report-dialog select,
.aibe-report-dialog textarea {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    font: inherit;
    min-height: 42px;
    padding: 10px 12px;
    width: 100%;
}

.aibe-report-dialog textarea {
    line-height: 1.45;
    min-height: 118px;
    resize: vertical;
}

.aibe-report-honeypot {
    left: -10000px;
    position: absolute;
    top: auto;
}

.aibe-report-status {
    font-size: 0.84rem;
    font-weight: 820;
    min-height: 20px;
}

.aibe-report-status.is-success {
    color: #0f766e;
}

.aibe-report-status.is-error {
    color: #b91c1c;
}

.aibe-report-status.is-muted {
    color: #64748b;
}

.aibe-report-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1.2fr;
}

.aibe-report-primary,
.aibe-report-secondary,
.aibe-report-close {
    border-radius: 8px;
    cursor: pointer;
    font-weight: 850;
}

.aibe-report-primary,
.aibe-report-secondary {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
}

.aibe-report-primary {
    background: #0f766e;
    border: 1px solid #0f766e;
    color: #ffffff;
}

.aibe-report-primary:hover {
    background: #0b5f59;
    border-color: #0b5f59;
}

.aibe-report-primary:disabled {
    cursor: wait;
    opacity: 0.7;
}

.aibe-report-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.aibe-report-secondary:hover,
.aibe-report-close:hover {
    border-color: #0f766e;
    color: #0f766e;
}

.aibe-report-close {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 36px;
    z-index: 2;
}

.aibe-paper-toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
}

.aibe-paper-search {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    box-sizing: border-box;
    color: #64748b;
    display: inline-flex;
    gap: 8px;
    min-height: 42px;
    min-width: 280px;
    padding: 0 12px;
}

.aibe-paper-search input {
    background: transparent;
    border: 0;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 760;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.aibe-paper-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.aibe-paper-list-panel {
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.aibe-paper-list-heading {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px;
}

.aibe-paper-list-heading h2 {
    color: #0f172a;
    font-size: 1.08rem;
    margin: 0;
}

.aibe-paper-list-heading p {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 4px 0 0;
}

.aibe-paper-list-heading > strong {
    align-items: center;
    background: #eef7f5;
    border: 1px solid #99d5cc;
    border-radius: 8px;
    color: #0f766e;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    min-height: 36px;
    min-width: 44px;
    padding: 0 10px;
}

.aibe-paper-list {
    display: grid;
}

.aibe-paper-search-empty {
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 780;
    line-height: 1.45;
    margin: 0;
    padding: 22px 16px;
    text-align: center;
}

.aibe-paper-card {
    align-items: center;
    background: #ffffff;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(240px, 1.35fr) minmax(300px, 1.3fr) auto;
    min-width: 0;
    padding: 14px 16px;
}

.aibe-paper-card + .aibe-paper-card {
    border-top: 1px solid #e2e8f0;
}

.aibe-paper-card.is-selected {
    background: #f0fdfa;
    box-shadow: inset 4px 0 0 #0f766e;
}

.aibe-paper-card[hidden] {
    display: none;
}

.aibe-paper-card-main {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
}

.aibe-paper-card-icon {
    align-items: center;
    background: #eef7f5;
    border: 1px solid #b7dfd8;
    border-radius: 8px;
    color: #0f766e;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.aibe-paper-card-main span:not(.aibe-paper-card-icon) {
    color: #0f766e;
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.aibe-paper-card-main h2 {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.25;
    margin: 3px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aibe-paper-card-title-link {
    color: inherit;
    text-decoration: none;
}

.aibe-paper-card-title-link:hover {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aibe-paper-card-meta {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    min-width: 0;
}

.aibe-paper-card-meta div {
    min-width: 0;
}

.aibe-paper-card-meta dt {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.aibe-paper-card-meta dd {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 920;
    margin: 4px 0 0;
}

.aibe-paper-ranking {
    background: #101827;
    border: 1px solid #1f2a3d;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
    color: #ffffff;
    display: grid;
    gap: 14px;
    padding: 18px;
    position: sticky;
    top: 18px;
}

.aibe-paper-ranking-head > span {
    color: #99f6e4;
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.aibe-paper-ranking h2 {
    color: #ffffff;
    font-size: 1.14rem;
    line-height: 1.25;
    margin: 4px 0 6px;
}

.aibe-paper-ranking p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

.aibe-paper-ranking ol,
.aibe-result-ranking ol {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aibe-paper-ranking li,
.aibe-ranking-row {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.13);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 42px;
    padding: 8px 10px;
}

.aibe-paper-ranking li strong,
.aibe-ranking-row strong {
    color: #99f6e4;
    font-size: 0.88rem;
}

.aibe-ranking-person {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.aibe-ranking-copy {
    display: block;
    min-width: 0;
}

.aibe-ranking-avatar {
    align-items: center;
    background: rgba(153, 246, 228, 0.16);
    border: 1px solid rgba(153, 246, 228, 0.28);
    border-radius: 50%;
    color: #ccfbf1;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 0.68rem;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    object-fit: cover;
    overflow: hidden;
    width: 28px;
}

.aibe-ranking-name {
    color: #ffffff;
    display: block;
    font-size: 0.88rem;
    font-weight: 820;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.aibe-ranking-person small {
    color: #94a3b8;
    display: block;
    font-size: 0.66rem;
    font-weight: 760;
    line-height: 1.2;
    margin-top: 2px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aibe-paper-ranking li em,
.aibe-ranking-row em {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.aibe-global-ranking li em span,
.aibe-global-ranking li em small {
    display: block;
}

.aibe-global-ranking li em small {
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 760;
    line-height: 1.15;
    margin-top: 2px;
}

.aibe-paper-ranking-empty {
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(203, 213, 225, 0.22);
    border-radius: 8px;
    color: #cbd5e1;
    padding: 12px;
}

.aibe-google-cta {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    color: #0f172a;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 850;
    gap: 10px;
    justify-content: center;
    line-height: 1.2;
    min-height: 46px;
    padding: 11px 16px;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.aibe-google-cta:hover {
    background: #ffffff;
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    color: #0f172a;
    transform: translateY(-1px);
}

.aibe-paper-home-form select:focus-visible,
.aibe-paper-home-form button:focus-visible,
.aibe-paper-card-actions a:focus-visible,
.aibe-next-exam-source a:focus-visible,
.aibe-google-cta:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.32);
    outline-offset: 2px;
}

.aibe-paper-search:focus-within {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.aibe-google-icon {
    display: inline-block;
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}

.aibe-google-cta span {
    color: inherit;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
}

.aibe-paper-ranking .aibe-google-cta {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f172a;
    justify-self: stretch;
}

.aibe-paper-ranking .aibe-google-cta:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.aibe-paper-ranking-note,
.aibe-result-login-note {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

.aibe-paper-shell {
    background:
        linear-gradient(180deg, #ffffff 0, #ffffff 760px, #f5f7fb 760px, #f5f7fb 100%);
    min-height: 100vh;
    padding: 86px clamp(14px, 4vw, 44px) 46px;
}

.aibe-paper-home {
    display: grid;
    gap: 18px;
    margin: 0 auto;
    max-width: 1240px;
}

.aibe-paper-command {
    align-items: center;
    background: #0f172a;
    border: 1px solid #263449;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-width: 0;
    padding: 13px 16px;
}

.aibe-paper-command-meta span {
    background: rgba(248, 250, 252, 0.08);
    border-color: rgba(203, 213, 225, 0.2);
}

.aibe-next-exam-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: none;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 0.82fr);
    justify-self: center;
    max-width: 900px;
    min-width: 0;
    overflow: hidden;
    padding: 12px 14px;
    position: relative;
    text-align: left;
    width: 100%;
}

.aibe-next-exam-card::before {
    background: #0f766e;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 4px;
}

.aibe-next-exam-copy {
    min-width: 0;
    padding-top: 4px;
}

.aibe-next-exam-copy > span,
.aibe-next-exam-source > span {
    color: #0f766e;
    display: block;
    font-size: 0.72rem;
    font-weight: 920;
    line-height: 1.2;
    text-transform: uppercase;
}

.aibe-next-exam-copy h2 {
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.22;
    margin: 5px 0 6px;
}

.aibe-next-exam-copy p {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 760;
    line-height: 1.45;
    margin: 0;
}

.aibe-next-exam-timer {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 2;
    grid-row: 1 / span 2;
}

.aibe-next-exam-timer div {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    display: grid;
    gap: 2px;
    min-height: 58px;
    min-width: 0;
    padding: 8px 10px;
    place-items: center;
}

.aibe-next-exam-timer strong {
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1;
}

.aibe-next-exam-timer span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.aibe-next-exam-source {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    padding-top: 2px;
}

.aibe-next-exam-source a {
    align-items: center;
    background: #effaf8;
    border: 1px solid #99d5cc;
    border-radius: 8px;
    color: #0f766e;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    min-height: 34px;
    padding: 0 10px;
    text-decoration: none;
    white-space: nowrap;
}

.aibe-next-exam-source a:hover {
    background: #dff5f0;
}

.aibe-paper-hero {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #0f172a;
    display: grid;
    gap: clamp(20px, 3vw, 28px);
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    padding: clamp(38px, 5vw, 74px) 0 clamp(30px, 4vw, 54px);
    position: relative;
    text-align: center;
}

.aibe-paper-intro {
    align-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    justify-items: center;
    margin: 0 auto;
    max-width: 1040px;
    min-height: 0;
    overflow: visible;
    padding: 0;
    position: relative;
}

.aibe-paper-intro::before {
    content: none;
}

.aibe-paper-kicker {
    color: #0f766e;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 920;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aibe-paper-title-lockup {
    align-items: center;
    color: #475569;
    display: inline-grid;
    justify-items: center;
    margin-bottom: 24px;
    min-width: 0;
}

.aibe-paper-title-lockup img {
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    flex: 0 0 auto;
    height: clamp(72px, 6vw, 90px);
    object-fit: contain;
    padding: 0;
    width: clamp(72px, 6vw, 90px);
}

.aibe-paper-intro h1 {
    color: #050505;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(3.2rem, 5.65vw, 5.15rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
    max-width: 1120px;
}

.aibe-paper-intro p {
    color: #69707b;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    font-weight: 640;
    line-height: 1.45;
    margin: 22px 0 0;
    max-width: 760px;
}

.aibe-paper-highlights {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.2fr);
    justify-self: center;
    margin-top: 30px;
    max-width: 1080px;
    width: 100%;
}

.aibe-paper-highlights > span {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #475569;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 680;
    gap: 14px;
    justify-content: center;
    min-height: 54px;
    min-width: 0;
    padding: 0 28px;
    position: relative;
    text-align: left;
}

.aibe-paper-highlights > span + span {
    border-left: 2px solid #d6d9de;
}

.aibe-paper-highlights i {
    align-items: center;
    background: #e6f4f0;
    border-radius: 999px;
    color: #2b776d;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.08rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.aibe-paper-highlights > span > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.aibe-paper-highlights strong {
    color: #0f172a;
    display: block;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.2;
}

.aibe-paper-highlights em {
    color: #69707b;
    display: block;
    font-style: normal;
    line-height: 1.28;
}

.aibe-paper-rating-card {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    display: grid;
    gap: 4px;
    justify-items: center;
    max-width: 640px;
    padding: 0;
    text-align: center;
}

.aibe-paper-rating-card[hidden] {
    display: none;
}

.aibe-paper-rating-card span {
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.aibe-paper-rating-card strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 940;
}

.aibe-paper-rating-card p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

.aibe-paper-hero-panel {
    align-content: start;
    display: grid;
    gap: 14px;
    justify-self: center;
    max-width: 700px;
    min-width: 0;
    width: 100%;
}

.aibe-hero-support {
    align-content: start;
    display: grid;
    gap: 14px;
    justify-self: center;
    max-width: 1080px;
    min-width: 0;
    width: 100%;
}

.aibe-paper-home-form {
    align-content: start;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    display: grid;
    gap: 0;
    justify-self: center;
    margin: 0 auto;
    max-width: 700px;
    padding: 0;
    text-align: left;
    width: 100%;
}

.aibe-selected-paper {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-sizing: border-box;
    color: #0f172a;
    display: inline-flex;
    gap: 16px;
    min-width: 0;
    padding: 0;
    pointer-events: none;
}

.aibe-paper-home-form .aibe-selected-paper {
    grid-template-columns: none;
}

.aibe-paper-pill-icon {
    align-items: center;
    background: #e6f4f0;
    border-radius: 8px;
    color: #2b776d;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.02rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.aibe-selected-paper strong {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 820;
    line-height: 1.22;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aibe-selected-paper p {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 780;
    line-height: 1.4;
    margin: 0;
}

.aibe-paper-home-form label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.aibe-paper-home-control {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 999px;
    box-sizing: border-box;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    min-width: 0;
    padding: 6px 7px 6px 24px;
    position: relative;
}

.aibe-paper-home-control:focus-within {
    border-color: rgba(15, 118, 110, 0.6);
    box-shadow: 0 0 0 4px rgba(45, 127, 118, 0.12), 0 6px 22px rgba(15, 23, 42, 0.08);
}

.aibe-paper-select-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 56px;
    min-width: 0;
    position: relative;
}

.aibe-paper-select-chevron {
    color: #050505;
    display: inline-flex;
    font-size: 1.05rem;
    justify-self: end;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.aibe-paper-home-form select {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    inset: 0;
    min-height: auto;
    opacity: 0;
    padding: 0;
    position: absolute;
    width: auto;
    z-index: 3;
}

.aibe-paper-start-row {
    display: grid;
    min-width: 0;
}

.aibe-paper-home-form button {
    align-items: center;
    background: linear-gradient(180deg, #2f7d72 0%, #185f58 100%);
    border: 1px solid rgba(12, 82, 76, 0.16);
    border-radius: 999px;
    box-shadow: inset 0 -8px 18px rgba(5, 45, 42, 0.16), 0 10px 20px rgba(15, 118, 110, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.06rem;
    font-weight: 820;
    gap: 12px;
    justify-content: center;
    min-height: 58px;
    min-width: 212px;
    padding: 0 34px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    z-index: 4;
}

.aibe-paper-home-form button:hover {
    background: linear-gradient(180deg, #286f66 0%, #104f49 100%);
    border-color: rgba(12, 82, 76, 0.26);
}

.aibe-paper-form-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    min-width: 0;
}

.aibe-paper-start-note {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 760;
    line-height: 1.45;
    margin: 0;
}

.aibe-paper-dashboard {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.aibe-paper-list-panel {
    background: #ffffff;
    border: 1px solid #d9e3ee;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.aibe-paper-list-heading {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px 18px;
}

.aibe-paper-list-heading span {
    color: #0f766e;
    display: block;
    font-size: 0.72rem;
    font-weight: 920;
    text-transform: uppercase;
}

.aibe-paper-toolbar {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    padding: 12px 14px;
}

.aibe-paper-search {
    background: #ffffff;
    margin-left: auto;
}

.aibe-paper-card {
    align-items: center;
    background: #ffffff;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(250px, 1.25fr) minmax(210px, 0.75fr) minmax(330px, 0.9fr);
    min-width: 0;
    padding: 13px 16px;
}

.aibe-paper-card:hover {
    background: #fbfdff;
}

.aibe-paper-card.is-selected {
    background: #ffffff;
    box-shadow: inset 4px 0 0 #0f766e;
}

.aibe-paper-card.is-selected:hover {
    background: #fbfdff;
}

.aibe-paper-card-icon {
    background: #effaf8;
    border-color: #b7dfd8;
}

.aibe-paper-card-main span.aibe-paper-selected-badge {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    color: #0f766e;
    display: inline-flex;
    font-size: 0.66rem;
    font-weight: 920;
    line-height: 1;
    margin-top: 8px;
    padding: 5px 8px;
    text-transform: uppercase;
    width: max-content;
}

.aibe-paper-card-main span.aibe-paper-selected-badge[hidden] {
    display: none !important;
}

.aibe-paper-card-actions a {
    font-size: 0.86rem;
    line-height: 1.15;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: normal;
    padding: 10px 12px;
    text-align: center;
    white-space: normal;
    width: 100%;
}

.aibe-paper-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 18px;
}

.aibe-paper-side .aibe-next-exam-card {
    grid-template-columns: 1fr;
    max-width: none;
}

.aibe-paper-side .aibe-next-exam-timer {
    grid-column: auto;
    grid-row: auto;
}

.aibe-global-ranking li {
    align-items: center;
}

.aibe-paper-ranking {
    position: static;
    top: auto;
}

.aibe-seo-content {
    border-top: 1px solid #dbe4ef;
    color: #334155;
    display: grid;
    gap: clamp(22px, 3vw, 34px);
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    margin-top: 26px;
    padding: 34px 0 6px;
}

.aibe-seo-copy {
    min-width: 0;
}

.aibe-seo-copy > span {
    color: #0f766e;
    display: block;
    font-size: 0.72rem;
    font-weight: 920;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aibe-seo-copy h2,
.aibe-seo-faq h2 {
    color: #0f172a;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.06;
    margin: 0 0 14px;
}

.aibe-seo-copy p {
    color: #475569;
    font-size: 1rem;
    font-weight: 640;
    line-height: 1.72;
    margin: 0;
    max-width: 760px;
}

.aibe-seo-copy p + p {
    margin-top: 14px;
}

.aibe-seo-pattern {
    align-self: start;
    background: #ffffff;
    border: 1px solid #d9e3ee;
    border-radius: 8px;
    min-width: 0;
    padding: 20px;
}

.aibe-seo-pattern h3,
.aibe-seo-faq h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 12px;
}

.aibe-seo-pattern ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aibe-seo-pattern li {
    color: #475569;
    font-size: 0.92rem;
    font-weight: 720;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}

.aibe-seo-pattern li::before {
    background: #0f766e;
    border-radius: 999px;
    content: "";
    height: 7px;
    left: 4px;
    position: absolute;
    top: 10px;
    width: 7px;
}

.aibe-seo-trust {
    background: #ffffff;
    border: 1px solid #d9e3ee;
    border-radius: 8px;
    grid-column: 1 / -1;
    padding: 20px;
}

.aibe-seo-trust h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 10px;
}

.aibe-seo-trust p {
    color: #475569;
    font-size: 0.94rem;
    font-weight: 640;
    line-height: 1.65;
    margin: 0;
}

.aibe-seo-trust p + p {
    margin-top: 10px;
}

.aibe-seo-faq {
    border-top: 1px solid #dbe4ef;
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    padding-top: 28px;
}

.aibe-seo-faq details {
    border-bottom: 1px solid #dbe4ef;
    min-width: 0;
}

.aibe-seo-faq summary {
    color: #0f172a;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.35;
    list-style: none;
    padding: 18px 32px 18px 0;
    position: relative;
}

.aibe-seo-faq summary::-webkit-details-marker {
    display: none;
}

.aibe-seo-faq summary::after {
    color: #0f766e;
    content: "+";
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 18px;
}

.aibe-seo-faq details[open] summary::after {
    content: "-";
}

.aibe-seo-faq p {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 640;
    line-height: 1.65;
    margin: -4px 0 18px;
    max-width: 860px;
}

.aibe-production-exam {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.aibe-production-exam .aibe-exam-topbar {
    grid-template-columns: minmax(220px, 1fr) auto auto auto auto auto auto;
    position: sticky;
    top: 0;
    z-index: 4;
}

.aibe-production-exam .aibe-exam-layout {
    flex: 1;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.aibe-production-exam .aibe-exam-sections,
.aibe-production-exam .aibe-question-panel,
.aibe-production-exam .aibe-palette {
    min-height: 0;
}

.aibe-production-exam .aibe-exam-sections {
    overflow: auto;
}

.aibe-production-exam .aibe-question-panel {
    overflow: hidden;
}

.aibe-production-exam .aibe-question-card {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 18px 22px 14px;
}

.aibe-production-exam .aibe-options {
    gap: 9px;
    margin-top: 14px;
}

.aibe-production-exam .aibe-option {
    min-height: 50px;
    padding: 9px 12px;
}

.aibe-production-exam .aibe-option span {
    height: 30px;
    width: 30px;
}

.aibe-production-exam .aibe-exam-actions {
    flex-shrink: 0;
    min-height: 62px;
    padding: 10px 18px;
}

.aibe-production-exam .aibe-palette {
    overflow: hidden;
}

.aibe-production-exam .aibe-palette-grid {
    align-content: start;
    flex: 1;
    overflow: auto;
    padding: 8px 8px 6px;
    scroll-padding: 8px;
}

.aibe-exam-brand {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
}

.aibe-exam-brand > div {
    min-width: 0;
}

.aibe-exam-brand .aibe-brand-lockup {
    max-width: 170px;
    overflow: hidden;
}

.aibe-exam-brand .aibe-brand-mark {
    box-shadow: none;
    height: 38px;
    width: 38px;
}

.aibe-exam-brand .aibe-brand-wordmark {
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aibe-exam-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aibe-exam-utility {
    align-items: center;
    background: #172235;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 850;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    justify-self: end;
    white-space: nowrap;
}

.aibe-exam-utility:hover {
    background: #22304a;
}

.aibe-exam-utility[aria-pressed="true"] {
    border-color: #99f6e4;
    color: #99f6e4;
}

.aibe-exam-utility:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.aibe-exam-account-pill {
    align-items: center;
    background: #172235;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #dbeafe;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.aibe-exam-topbar > .aibe-exam-submit {
    justify-self: end;
}

.aibe-exam-account-pill .aibe-google-icon {
    background: #ffffff;
    border-radius: 999px;
    height: 18px;
    padding: 2px;
    width: 18px;
}

.aibe-exam-account-pill.is-link:hover {
    background: #22304a;
    border-color: #4fd1c5;
    color: #ffffff;
}

.aibe-question-live {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 14px;
}

.aibe-ended-banner {
    align-items: center;
    background: #ecfdf5;
    border-bottom: 1px solid #99f6e4;
    color: #134e4a;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 22px;
}

.aibe-ended-banner[hidden] {
    display: none;
}

.aibe-ended-copy {
    align-items: center;
    display: flex;
    flex: 1 1 360px;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.aibe-ended-banner strong {
    color: #0f766e;
    font-weight: 900;
}

.aibe-ended-banner span {
    font-size: 0.84rem;
    font-weight: 750;
}

.aibe-ended-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.aibe-ended-actions button,
.aibe-ended-actions a {
    align-items: center;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.aibe-ended-actions button {
    background: #0f766e;
    color: #ffffff;
    cursor: pointer;
}

.aibe-ended-actions a {
    background: #ffffff;
    color: #0f766e;
}

.aibe-question-text {
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    max-width: 980px;
    overflow-wrap: anywhere;
}

.aibe-option:focus-visible,
.aibe-palette-cell:focus-visible,
.aibe-exam-actions button:focus-visible,
.aibe-exam-submit:focus-visible,
.aibe-exam-utility:focus-visible,
.aibe-submit-close:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.35);
    outline-offset: 2px;
}

.aibe-exam-actions button.is-active {
    background: #ede9fe;
    border-color: #a78bfa;
    color: #5b21b6;
}

.aibe-exam-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.aibe-production-exam.is-submitted .aibe-option:not(.is-selected) {
    opacity: 0.72;
}

.aibe-production-exam.is-submitted .aibe-option.is-correct-answer {
    opacity: 1;
}

.aibe-production-exam.is-paused .aibe-question-card,
.aibe-production-exam.is-paused .aibe-exam-actions,
.aibe-production-exam.is-paused .aibe-palette {
    filter: grayscale(0.12);
}

.aibe-production-exam.is-paused .aibe-exam-actions button,
.aibe-production-exam.is-paused .aibe-option {
    cursor: not-allowed;
}

.aibe-production-exam.is-submitted .aibe-exam-actions button:not([data-aibe-prev]):not([data-aibe-next]),
.aibe-production-exam.is-submitted .aibe-option {
    cursor: not-allowed;
}

.aibe-submit-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.aibe-result-panel {
    text-align: center;
}

.aibe-result-panel:focus {
    outline: none;
}

.aibe-answer-review {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    display: grid;
    gap: 4px;
    margin-top: 14px;
    padding: 11px 12px;
}

.aibe-answer-review[hidden] {
    display: none;
}

.aibe-answer-review strong {
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 930;
}

.aibe-answer-review span {
    color: #475569;
    font-size: 0.82rem;
    font-weight: 720;
    line-height: 1.45;
}

.aibe-answer-review[data-review-status="correct"] {
    background: #f0fdf4;
    border-color: #86efac;
}

.aibe-answer-review[data-review-status="wrong"] {
    background: #fff7ed;
    border-color: #fed7aa;
}

.aibe-answer-review[data-review-status="unanswered"] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.aibe-result-mode-note {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 680;
    line-height: 1.55;
    margin: 6px auto 0;
    max-width: 650px;
}

.aibe-score-line {
    align-items: end;
    color: #0f172a;
    display: inline-flex;
    gap: 4px;
    justify-content: center;
    margin: 8px 0 10px;
}

.aibe-score-line strong {
    font-size: 3rem;
    font-weight: 950;
    line-height: 0.95;
}

.aibe-score-line span {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 850;
}

.aibe-result-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
}

.aibe-result-grid span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 760;
    padding: 10px;
    text-align: center;
}

.aibe-result-grid strong {
    color: #0f172a;
    display: block;
    font-size: 1.25rem;
}

.aibe-result-insights {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    margin: 16px 0 0;
    padding: 14px;
    text-align: left;
}

.aibe-result-insights h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.aibe-result-insights p {
    color: #475569;
    font-size: 0.86rem;
    font-weight: 680;
    line-height: 1.55;
    margin: 0 0 10px;
}

.aibe-result-insights ul {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aibe-result-insights li {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 760;
    line-height: 1.45;
    padding-left: 18px;
    position: relative;
}

.aibe-result-insights li::before {
    background: #0f766e;
    border-radius: 999px;
    content: "";
    height: 6px;
    left: 2px;
    position: absolute;
    top: 8px;
    width: 6px;
}

.aibe-result-ranking {
    border-top: 1px solid #e2e8f0;
    margin: 16px 0 0;
    padding-top: 14px;
    text-align: left;
}

.aibe-result-ranking h3 {
    color: #0f172a;
    font-size: 1rem;
    margin: 0 0 6px;
}

.aibe-current-rank {
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 850;
    margin: 12px 0;
    padding: 10px 12px;
}

.aibe-current-rank strong {
    color: #0f766e;
}

.aibe-result-ranking ol {
    margin-top: 12px;
}

.aibe-guest-claim-controls {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.aibe-guest-claim-controls[hidden] {
    display: none;
}

.aibe-guest-claim-controls .aibe-public-rank-consent {
    margin: 0;
}

.aibe-guest-claim-controls .aibe-exam-submit {
    justify-content: center;
}

.aibe-result-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1.4fr 1fr;
    margin-top: 16px;
}

.aibe-result-actions .aibe-exam-submit,
.aibe-result-actions .aibe-exam-utility {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.aibe-result-actions .aibe-exam-submit {
    color: #ffffff;
    text-decoration: none;
}

.aibe-result-actions .aibe-exam-utility {
    color: #ffffff;
    text-decoration: none;
}

.aibe-result-actions .aibe-exam-utility:hover {
    color: #ffffff;
}

.aibe-result-actions .aibe-exam-utility:last-child:nth-child(3) {
    grid-column: 1 / -1;
}

.aibe-result-login-cta {
    margin-top: 12px;
    width: 100%;
}

.aibe-result-login-note {
    margin-top: 8px;
    text-align: center;
}

.aibe-exam-app:fullscreen {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    width: 100vw;
}

.aibe-exam-app:fullscreen .aibe-exam-layout {
    flex: 1;
    min-height: 0;
    height: auto;
}

.aibe-question-read-shell {
    background: #f6f8fb;
    min-height: 100vh;
    padding: 36px 18px 56px;
}

.aibe-question-read-hero,
.aibe-question-read-layout,
.aibe-question-nav {
    margin: 0 auto;
    max-width: 1120px;
}

.aibe-question-read-hero {
    display: grid;
    gap: 14px;
    padding: 24px 0 26px;
}

.aibe-question-read-hero.is-missing {
    max-width: 820px;
}

.aibe-question-breadcrumbs {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 760;
    gap: 8px;
}

.aibe-question-breadcrumbs a {
    color: #0f766e;
    text-decoration: none;
}

.aibe-question-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aibe-question-kicker {
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 920;
    letter-spacing: 0;
    text-transform: uppercase;
}

.aibe-question-read-hero h1 {
    color: #0f172a;
    font-size: clamp(2rem, 5vw, 3.75rem);
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
    max-width: 920px;
}

.aibe-question-read-hero p {
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.7;
    margin: 0;
    max-width: 820px;
}

.aibe-question-official-note {
    background: #ffffff;
    border: 1px solid #dbe7e4;
    border-radius: 8px;
    color: #334155 !important;
    padding: 12px 14px;
}

.aibe-question-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.aibe-question-actions a,
.aibe-question-nav a {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 880;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    text-decoration: none;
}

.aibe-question-primary {
    background: #0f766e;
    border: 1px solid #0f766e;
    color: #ffffff;
}

.aibe-question-secondary,
.aibe-question-nav a {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.aibe-question-read-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.aibe-question-read-card,
.aibe-question-answer-card,
.aibe-question-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.aibe-question-read-card {
    padding: 24px;
}

.aibe-question-read-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.aibe-question-read-meta span {
    background: #ecfdf5;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 880;
    padding: 7px 10px;
}

.aibe-question-read-stem {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 780;
    line-height: 1.65;
    margin: 0 0 20px;
}

.aibe-question-read-options {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aibe-question-read-options li {
    align-items: start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 13px;
}

.aibe-question-read-options li.is-correct {
    background: #ecfdf5;
    border-color: #0f766e;
}

.aibe-question-read-options span {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    display: inline-flex;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.aibe-question-read-options strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 680;
    line-height: 1.55;
}

.aibe-question-read-options em {
    color: #0f766e;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    grid-column: 2;
    text-transform: uppercase;
}

.aibe-question-answer-card {
    align-self: start;
    display: grid;
    gap: 12px;
    padding: 20px;
    position: sticky;
    top: 18px;
}

.aibe-question-answer-card > span {
    color: #0f766e;
    font-size: 0.74rem;
    font-weight: 920;
    text-transform: uppercase;
}

.aibe-question-answer-card h2 {
    color: #0f172a;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0;
}

.aibe-question-answer-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.aibe-question-answer-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aibe-question-answer-list li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    line-height: 1.55;
    padding: 10px;
}

.aibe-question-source {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding-top: 12px;
}

.aibe-question-source a {
    color: #0f766e;
    font-weight: 820;
    text-decoration: none;
}

.aibe-question-source a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aibe-question-nav {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
}

.aibe-question-nav > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aibe-question-nav h2 {
    color: #0f172a;
    font-size: 1rem;
    margin: 0 0 10px;
}

.aibe-question-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1320px) {
    .aibe-paper-dashboard {
        grid-template-columns: 1fr;
    }

    .aibe-paper-side {
        position: static;
        top: auto;
    }

    .aibe-paper-ranking {
        position: static;
    }

    .aibe-paper-card {
        grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr) minmax(280px, 0.9fr);
    }

    .aibe-paper-card-actions {
        max-width: none;
    }
}

@media (max-width: 1180px) {
    .aibe-paper-grid {
        grid-template-columns: 1fr;
    }

    .aibe-paper-dashboard {
        grid-template-columns: 1fr;
    }

    .aibe-question-read-layout {
        grid-template-columns: 1fr;
    }

    .aibe-question-answer-card {
        position: static;
    }

    .aibe-paper-side {
        position: static;
        top: auto;
    }

    .aibe-paper-ranking {
        position: static;
    }

    .aibe-paper-card {
        grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr) minmax(280px, 0.9fr);
    }

    .aibe-paper-card-actions {
        max-width: none;
    }

    .aibe-production-exam .aibe-exam-topbar {
        grid-template-columns: minmax(0, 1fr) auto auto auto auto auto;
    }

    .aibe-production-exam .aibe-exam-counters {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .aibe-production-exam .aibe-exam-clock {
        justify-self: end;
    }

    .aibe-production-exam .aibe-exam-layout {
        grid-template-columns: 180px minmax(0, 1fr) 260px;
    }
}

@media (max-width: 900px) {
    .aibe-paper-shell {
        background:
            linear-gradient(180deg, #ffffff 0, #ffffff 785px, #f5f7fb 785px, #f5f7fb 100%);
        padding: 76px 12px 34px;
    }

    .aibe-paper-hero,
    .aibe-paper-dashboard,
    .aibe-seo-content,
    .aibe-next-exam-card {
        grid-template-columns: 1fr;
    }

    .aibe-paper-hero {
        padding: 20px 0 16px;
    }

    .aibe-paper-hero-panel,
    .aibe-hero-support {
        grid-column: auto;
        grid-row: auto;
    }

    .aibe-paper-command {
        align-items: stretch;
        flex-direction: column;
    }

    .aibe-paper-command-meta {
        justify-content: flex-start;
    }

    .aibe-next-exam-source {
        align-items: start;
        justify-items: start;
        min-width: 0;
    }

    .aibe-next-exam-card {
        grid-template-columns: 1fr;
    }

    .aibe-next-exam-timer {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aibe-paper-workbench,
    .aibe-paper-toolbar,
    .aibe-paper-card {
        grid-template-columns: 1fr;
    }

    .aibe-paper-card {
        grid-template-areas:
            "paper"
            "meta"
            "action";
    }

    .aibe-paper-card-main {
        grid-area: paper;
    }

    .aibe-paper-card-meta {
        grid-area: meta;
    }

    .aibe-paper-card-actions {
        grid-area: action;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: stretch;
        max-width: none;
    }

    .aibe-paper-card-actions a {
        min-height: 48px;
    }

    .aibe-paper-card-main h2 {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .aibe-paper-home-control {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 12px;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
    }

    .aibe-paper-home-control:focus-within {
        border-color: transparent;
        box-shadow: none;
    }

    .aibe-paper-select-row {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.16);
        border-radius: 18px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
        min-height: 58px;
        padding: 0 14px 0 12px;
    }

    .aibe-paper-select-row:focus-within {
        border-color: rgba(15, 118, 110, 0.54);
        box-shadow: 0 0 0 4px rgba(45, 127, 118, 0.1), 0 8px 22px rgba(15, 23, 42, 0.08);
    }

    .aibe-selected-paper {
        display: inline-flex;
        min-height: 56px;
        padding: 0 38px 0 0;
        width: 100%;
    }

    .aibe-paper-home-form select {
        height: 58px;
        inset: 0;
        width: 100%;
    }

    .aibe-paper-select-chevron {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
    }

    .aibe-paper-toolbar {
        align-items: stretch;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .aibe-paper-search {
        min-height: 48px;
        min-width: 0;
        width: 100%;
    }

    .aibe-report-inline {
        justify-self: stretch;
        min-height: 44px;
    }

    .aibe-paper-intro h1 {
        font-size: 2.7rem;
    }

    .aibe-paper-title-lockup {
        margin-bottom: 16px;
    }

    .aibe-paper-title-lockup img {
        height: 62px;
        width: 62px;
    }

    .aibe-paper-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aibe-paper-highlights > span {
        gap: 8px;
        padding: 0 8px;
    }

    .aibe-paper-highlights > span + span {
        border-left: 0;
    }

    .aibe-paper-card-actions a,
    .aibe-paper-home-form button,
    .aibe-report-inline {
        width: 100%;
    }

    .aibe-paper-home-form button {
        grid-column: 1 / -1;
        min-height: 54px;
        min-width: 0;
    }

    .aibe-seo-content {
        margin-top: 18px;
        padding-top: 26px;
    }

    .aibe-seo-pattern {
        padding: 16px;
    }

    .aibe-seo-faq {
        grid-column: auto;
        padding-top: 22px;
    }

    .aibe-seo-faq summary {
        padding: 16px 30px 16px 0;
    }

    .aibe-start-actions {
        grid-template-columns: 1fr;
    }

    .aibe-production-exam {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .aibe-production-exam .aibe-exam-topbar {
        align-items: center;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) 42px minmax(94px, 0.64fr);
        min-height: 0;
        padding: 8px 10px;
    }

    .aibe-production-exam .aibe-exam-layout {
        grid-template-columns: 1fr;
    }

    .aibe-production-exam .aibe-exam-layout {
        height: auto;
        overflow: visible;
    }

    .aibe-production-exam .aibe-question-panel {
        order: 1;
        overflow: visible;
    }

    .aibe-production-exam .aibe-exam-sections {
        order: 2;
    }

    .aibe-production-exam.is-submitted {
        height: auto;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aibe-production-exam.is-submitted .aibe-question-panel,
    .aibe-production-exam.is-submitted .aibe-question-card,
    .aibe-production-exam.is-submitted .aibe-exam-layout {
        overflow: visible;
    }

    .aibe-production-exam.is-submitted .aibe-exam-actions {
        position: static;
    }

    .aibe-production-exam .aibe-paper-switcher-compact {
        background: #172235;
        border-color: #334155;
        display: grid;
    }

    .aibe-production-exam .aibe-paper-switcher-compact label {
        color: #cbd5e1;
    }

    .aibe-production-exam .aibe-paper-switcher-compact select {
        background: #0f172a;
        border-color: #334155;
        color: #ffffff;
    }

    .aibe-production-exam .aibe-exam-sections .aibe-paper-switcher {
        display: none;
    }

    .aibe-production-exam .aibe-palette {
        border: 1px solid #d7dee8;
        border-radius: 14px 14px 0 0;
        bottom: 0;
        box-shadow: 0 -18px 56px rgba(15, 23, 42, 0.24);
        left: 10px;
        max-height: min(74dvh, 620px);
        opacity: 0;
        order: 3;
        overflow: hidden;
        padding: 14px;
        pointer-events: none;
        position: fixed;
        right: 10px;
        transform: translateY(calc(100% + 18px));
        transition: transform 180ms ease, opacity 180ms ease;
        z-index: 19;
    }

    .aibe-production-exam .aibe-palette-backdrop {
        z-index: 18;
    }

    .aibe-production-exam.is-palette-open .aibe-palette {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .aibe-production-exam .aibe-palette-head {
        align-items: center;
        flex-direction: row;
        margin-bottom: 12px;
    }

    .aibe-production-exam .aibe-palette-close {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .aibe-production-exam .aibe-palette-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-height: min(52dvh, 440px);
        overflow: auto;
        padding: 8px;
        scroll-padding: 8px;
    }

    .aibe-production-exam .aibe-palette-cell {
        min-height: 44px;
    }

    .aibe-production-exam .aibe-palette-legend {
        display: none;
    }

    .aibe-mobile-palette-toggle {
        display: inline-flex !important;
    }

    .aibe-production-exam .aibe-exam-brand {
        grid-column: 1 / 2;
        grid-row: 1;
        gap: 8px;
    }

    .aibe-production-exam .aibe-exam-brand .aibe-brand-lockup {
        max-width: 36px;
    }

    .aibe-production-exam .aibe-exam-brand .aibe-brand-mark {
        height: 34px;
        width: 34px;
    }

    .aibe-production-exam .aibe-exam-brand .aibe-brand-wordmark {
        display: none;
    }

    .aibe-production-exam .aibe-exam-title {
        font-size: 0.6rem;
        margin-bottom: 2px;
    }

    .aibe-production-exam .aibe-exam-brand strong {
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .aibe-production-exam .aibe-exam-account-pill {
        display: none;
    }

    .aibe-production-exam .aibe-exam-clock {
        grid-column: 2 / 4;
        grid-row: 1;
        justify-self: end;
        min-height: 36px;
        min-width: 118px;
        padding: 7px 9px;
        width: auto;
    }

    .aibe-production-exam .aibe-exam-counters {
        display: grid;
        gap: 6px;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .aibe-production-exam .aibe-exam-counters div {
        gap: 5px;
        min-height: 31px;
        padding: 5px 7px;
    }

    .aibe-production-exam .aibe-exam-counters dt {
        font-size: 0.55rem;
    }

    .aibe-production-exam .aibe-exam-counters dd {
        font-size: 0.9rem;
    }

    .aibe-production-exam [data-aibe-pause] {
        grid-column: 1;
        grid-row: 3;
    }

    .aibe-production-exam [data-aibe-fullscreen] {
        grid-column: 2;
        grid-row: 3;
        min-width: 42px;
        padding: 0;
    }

    .aibe-production-exam [data-aibe-fullscreen] span {
        clip: rect(0 0 0 0);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .aibe-production-exam .aibe-exam-topbar > .aibe-exam-submit {
        grid-column: 3;
        grid-row: 3;
    }

    .aibe-exam-utility,
    .aibe-exam-submit,
    .aibe-exam-clock {
        justify-content: center;
        width: 100%;
    }

    .aibe-production-exam [data-aibe-pause],
    .aibe-production-exam [data-aibe-fullscreen],
    .aibe-production-exam .aibe-exam-topbar > .aibe-exam-submit {
        min-height: 38px;
        padding-bottom: 7px;
        padding-top: 7px;
    }

    .aibe-production-exam .aibe-question-card,
    .aibe-production-exam .aibe-exam-sections {
        overflow: visible;
    }

    .aibe-exam-app:fullscreen {
        display: block;
        height: 100dvh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
    }

    .aibe-exam-app:-webkit-full-screen {
        display: block;
        height: 100vh;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
    }

    .aibe-exam-app:fullscreen .aibe-exam-topbar {
        position: sticky;
        top: 0;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-exam-topbar {
        position: sticky;
        top: 0;
    }

    .aibe-exam-app:fullscreen .aibe-exam-layout {
        display: grid;
        flex: none;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-exam-layout {
        display: grid;
        flex: none;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .aibe-exam-app:fullscreen .aibe-question-panel {
        display: block;
        overflow: visible;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-question-panel {
        display: block;
        overflow: visible;
    }

    .aibe-exam-app:fullscreen .aibe-question-card,
    .aibe-exam-app:fullscreen .aibe-exam-sections {
        overflow: visible;
    }

    .aibe-exam-app:fullscreen .aibe-exam-sections {
        max-height: none;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-question-card,
    .aibe-exam-app:-webkit-full-screen .aibe-exam-sections {
        overflow: visible;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-exam-sections {
        max-height: none;
    }

    .aibe-exam-app:fullscreen .aibe-exam-actions {
        position: static;
    }

    .aibe-exam-app:-webkit-full-screen .aibe-exam-actions {
        position: static;
    }
}

@media (max-width: 560px) {
    .aibe-question-read-shell {
        padding: 24px 12px 40px;
    }

    .aibe-question-read-hero h1 {
        font-size: 2rem;
    }

    .aibe-question-actions,
    .aibe-question-nav > div {
        display: grid;
        grid-template-columns: 1fr;
    }

    .aibe-question-read-card,
    .aibe-question-answer-card,
    .aibe-question-nav {
        padding: 14px;
    }

    .aibe-question-read-options li {
        padding: 11px;
    }

    .aibe-paper-hero {
        gap: 14px;
        padding: 16px 0 12px;
    }

    .aibe-paper-title-lockup {
        margin-bottom: 10px;
    }

    .aibe-paper-title-lockup img {
        height: 52px;
        width: 52px;
    }

    .aibe-paper-intro p {
        font-size: 0.98rem;
        margin-top: 12px;
    }

    .aibe-paper-hero-panel {
        max-width: 100%;
    }

    .aibe-paper-home-control {
        gap: 7px;
    }

    .aibe-paper-select-row {
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
        min-height: 46px;
    }

    .aibe-paper-select-row:focus-within {
        box-shadow: 0 0 0 3px rgba(45, 127, 118, 0.1), 0 5px 14px rgba(15, 23, 42, 0.06);
    }

    .aibe-selected-paper {
        min-height: 46px;
        padding: 0 42px 0 10px;
    }

    .aibe-paper-pill-icon {
        height: 30px;
        width: 30px;
    }

    .aibe-selected-paper strong {
        font-size: 0.98rem;
    }

    .aibe-paper-home-form select {
        height: 46px;
    }

    .aibe-paper-home-form button {
        box-shadow: 0 7px 14px rgba(15, 118, 110, 0.16);
        font-size: 0.98rem;
        min-height: 46px;
    }

    .aibe-next-exam-card {
        padding: 14px;
    }

    .aibe-next-exam-copy h2 {
        font-size: 1.02rem;
    }

    .aibe-next-exam-timer {
        gap: 6px;
    }

    .aibe-next-exam-timer div {
        min-height: 58px;
        min-width: 0;
        padding: 7px 6px;
    }

    .aibe-next-exam-timer strong {
        font-size: 1.08rem;
    }

    .aibe-paper-card-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aibe-paper-highlights {
        gap: 8px 10px;
        margin-top: 14px;
    }

    .aibe-paper-highlights > span {
        justify-content: flex-start;
        min-height: 38px;
        padding: 0;
    }

    .aibe-paper-highlights i {
        font-size: 0.9rem;
        height: 32px;
        width: 32px;
    }

    .aibe-paper-highlights strong {
        font-size: 0.9rem;
    }

    .aibe-paper-highlights em {
        font-size: 0.78rem;
    }

    .aibe-paper-list-heading {
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .aibe-paper-toolbar {
        padding: 10px;
    }

    .aibe-paper-card {
        gap: 12px;
        padding: 14px;
    }

    .aibe-paper-card-main {
        align-items: start;
    }

    .aibe-paper-card-actions a {
        min-height: 46px;
    }

    .aibe-paper-ranking li,
    .aibe-ranking-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .aibe-paper-ranking li em,
    .aibe-ranking-row em {
        grid-column: 2;
    }

    .aibe-paper-intro h1 {
        font-size: 2.26rem;
    }

    .aibe-exam-brand {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .aibe-exam-brand strong {
        font-size: 0.92rem;
    }

    .aibe-question-text {
        font-size: 1rem;
        line-height: 1.55;
    }

    .aibe-option-review {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 48px;
    }

    .aibe-question-meta {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .aibe-question-meta-actions {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .aibe-ended-banner {
        align-items: stretch;
        padding: 10px 14px;
    }

    .aibe-ended-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .aibe-ended-actions {
        display: grid;
        flex-basis: 100%;
        grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
        width: 100%;
    }

    .aibe-ended-actions button,
    .aibe-ended-actions a {
        line-height: 1.2;
        min-height: 38px;
        white-space: normal;
    }

    .aibe-submit-actions,
    .aibe-result-grid,
    .aibe-result-actions,
    .aibe-report-actions {
        grid-template-columns: 1fr;
    }

    .aibe-result-actions .aibe-exam-utility:last-child:nth-child(3) {
        grid-column: auto;
    }
}
