.oll-app {
    min-height: calc(100dvh - var(--oa-header-height, 78px));
}
.oll-app [hidden] {
    display: none !important;
}
.oll-app .oll-purple {
    color: #8132bb;
}
.oll-app .oll-amber {
    color: #9c6000;
}
.oll-app .oll-green {
    color: #06734b;
}
.oll-app .oll-exam {
    background: transparent;
    box-sizing: border-box;
}
.oll-app .oll-workspace {
    align-self: center;
    width: min(100%, 1040px);
    margin: auto;
    min-width: 0;
}
.oll-app .oll-prompt {
    width: min(100%, 840px);
    margin: 0 auto 20px;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.45;
    letter-spacing: -0.015em;
    font-weight: 500;
    text-align: center;
    white-space: pre-line;
}
.oll-comparison,
.oll-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 36px);
    align-items: start;
    text-align: left;
}
.oll-app .oll-figure {
    margin: 0;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #dce3f3;
    border-radius: 12px;
    color: #243650;
}
.oll-app .oll-figure figcaption {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 10px;
}
.oll-figure svg {
    width: 100%;
    height: auto;
    display: block;
    font-family: system-ui, sans-serif;
}
.oll-scroll-table,
.oll-app .oa-table-scroll {
    max-width: 100%;
    overflow-x: auto;
}
.oll-data {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    text-align: center;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}
.oll-data th,
.oll-data td {
    padding: 5px 6px;
    border-bottom: 1px solid #e1e6f0;
    min-width: 2em;
}
.oll-data th {
    font-weight: 600;
}
.oll-data .oll-free {
    background: #e2f5e9;
}
.oll-chart-data {
    margin-top: 9px;
}
.oll-chart-data summary,
.oll-solution summary {
    color: #344d91;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
}
.oll-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
    margin: 5px 0;
    padding: 0;
    list-style: none;
}
.oll-chart-legend li {
    font-size: 12px;
    color: #37485d;
}
.oll-chart-legend i {
    display: inline-block;
    width: 13px;
    height: 3px;
    margin: 0 4px 3px 0;
}
.oll-app .oll-ranking h3 {
    font-size: 15px;
    margin: 0 0 10px;
    font-weight: 600;
    line-height: 1.45;
}
.oll-events {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.oll-event {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 52px;
    border: 1px solid #cdd6ed;
    border-radius: 10px;
    background: #fff;
    padding: 7px 9px;
    font-size: 14px;
    line-height: 1.45;
}
.oll-event:focus-within {
    border-color: var(--oa-accent);
}
.oll-event[data-dragging] {
    background: #f1f4ff;
    box-shadow: 0 4px 12px #354f9d24;
}
.oll-event .oll-handle,
.oll-event .oll-shift {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #f1f4fb;
    color: #344773;
    font-size: 16px !important;
    border-radius: 5px;
    min-width: 32px;
    min-height: 32px;
    padding: 2px;
    cursor: pointer;
}
.oll-event .oll-handle {
    touch-action: none;
    cursor: grab;
    min-height: 42px;
    flex-direction: column;
}
.oll-handle small {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
}
.oll-event p {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.oll-event p strong {
    color: #435eb0;
}
.oll-arrows {
    display: grid;
    gap: 2px;
}
.oll-shift[aria-disabled="true"] {
    opacity: 0.38;
}
.oll-confirm,
.oll-review-heading {
    text-align: center;
}
.oll-review-heading {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.oll-review-prompt {
    white-space: pre-line;
}
.oll-review-grid {
    font-size: 14px;
    line-height: 1.55;
}
.oll-app .oa-information-benchmarks {
    width: 100%;
    max-width: none;
}
.oll-app .oa-score-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    width: 20px;
    height: 20px;
    padding: 0;
}
.oll-app .oa-lobby,
.oll-app .oa-first-screen,
.oll-app .oa-review {
    min-width: 0;
}
.oll-app .oa-exam-bottom {
    align-self: end;
}
@media (max-width: 720px) {
    .oll-comparison,
    .oll-review-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .oll-app .oll-exam {
        padding: 16px 12px;
        gap: 12px;
    }
    .oll-app .oll-prompt {
        font-size: 16px;
        text-align: left;
        margin-bottom: 14px;
    }
    .oll-app .oll-figure {
        padding: 10px;
    }
    .oll-figure svg {
        max-height: 185px;
    }
    .oll-event .oll-shift {
        min-width: 36px;
    }
    .oll-ranking > .oa-exam-action {
        width: 100%;
    }
    .oll-app .oa-review {
        max-width: 100%;
        box-sizing: border-box;
    }
}
@media (prefers-reduced-motion: reduce) {
    .oll-app * {
        scroll-behavior: auto !important;
    }
}

.oll-app.oll-restoring .oa-lobby-content,
.oll-app.oll-restoring .oa-information {
    visibility: hidden;
}

.oll-app.oa-results-preparing .oll-workspace,
.oll-app.oa-results-preparing .oa-exam-bottom { visibility: hidden; }
.oll-app [data-oll-results] { width: 100%; }
.oll-app .oa-review .oa-question-list { gap: 18px; }
.oll-review-card { min-width: 0; padding: clamp(14px, 2vw, 24px); border: 1px solid #d7dfef; border-radius: 14px; background: white; }
.oll-review-heading { align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid #e1e7f2; padding-bottom: 10px; text-align: left; }
.oll-review-heading span { color: #51617d; font-size: 13px; }
.oll-review-prompt { margin: 14px 0; line-height: 1.55; }
.oll-orders { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.oll-orders dt { color: #51617d; font-size: 13px; }
.oll-orders dd { margin: 2px 0; font-weight: 650; }
.oll-review-events { list-style: none; padding: 0; margin: 14px 0 8px; }
.oll-review-events li { display: flex; gap: 8px; margin: 5px 0; align-items: baseline; }
.oll-review-events b { color: var(--oa-accent); }
.oll-solution ol { padding-left: 1.4rem; margin: 8px 0; }
.oll-solution li p { margin: 2px 0 10px; }
