:root {
    --oac-bg: #f7f3eb;
    --oac-paper: #fffdf8;
    --oac-olive: #45572e;
    --oac-olive-soft: #6f7d57;
    --oac-text: #292d25;
    --oac-muted: #6f7468;
    --oac-line: #d9d8cd;
    --oac-shadow: 0 18px 50px rgba(36, 42, 29, .12);
}

.oac-center,
.oac-assessment-page {
    color: var(--oac-text);
    font-family: Arial, Helvetica, sans-serif;
}

.oac-center *,
.oac-assessment-page * {
    box-sizing: border-box;
}

.oac-center {
    position: relative;
    padding: 16px 12px 72px;
    background: var(--oac-bg);
}

.oac-center__inner {
    width: min(1660px, 100%);
    margin: 0 auto;
}

.oac-center__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--oac-olive-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.oac-center__eyebrow span {
    width: 28px;
    height: 1px;
    background: currentColor;
}

.oac-center__title {
    max-width: 760px;
    margin: 0 0 64px;
    color: var(--oac-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.07;
    letter-spacing: -.03em;
}

.oac-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 34px;
}

.oac-card {
    display: flex;
    min-height: 145px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 22px 20px;
    border: 1px solid var(--oac-olive-soft);
    border-radius: 5px;
    background: rgba(255, 255, 255, .16);
    color: var(--oac-text);
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.oac-card:hover,
.oac-card:focus-visible {
    transform: translateY(-3px);
    outline: none;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 15px 30px rgba(63, 73, 43, .09);
}

.oac-check {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--oac-olive-soft);
    border-radius: 50%;
    color: var(--oac-olive-soft);
}

.oac-check--small {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    border-width: 1px;
}

.oac-card__title {
    max-width: 100%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 1.4vw, 25px);
    line-height: 1.18;
}

.oac-modal[hidden] {
    display: none !important;
}

.oac-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
}

.oac-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 27, 23, .54);
    backdrop-filter: blur(1px);
}

.oac-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 34px 32px 36px;
    border: 1px solid var(--oac-olive-soft);
    border-radius: 9px;
    background: var(--oac-paper);
    box-shadow: var(--oac-shadow);
}

.oac-modal__dialog h3 {
    margin: 0 28px 22px 6px;
    color: var(--oac-olive);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}

.oac-modal__close {
    position: absolute;
    top: 11px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--oac-olive);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.oac-modal__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--oac-line);
}

.oac-modal__row:last-child {
    border-bottom: 0;
}

.oac-modal__row > div {
    min-width: 0;
}

.oac-modal__label {
    display: block;
    margin-bottom: 5px;
    color: #7c806e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.oac-modal__row p {
    margin: 0;
    color: #4f5b39;
    font-size: 14px;
    line-height: 1.55;
}

.oac-modal__button,
.oac-primary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: var(--oac-olive);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.oac-modal__button {
    width: 100%;
    margin-top: 20px;
    padding: 13px 18px;
}

.oac-primary-button {
    padding: 14px 24px;
}

.oac-modal__button:hover,
.oac-primary-button:hover {
    opacity: .92;
    transform: translateY(-1px);
}

body.oac-modal-open {
    overflow: hidden;
}

/* Questionnaire */
.oac-assessment-page {
    padding: 52px 20px 90px;
    background: var(--oac-bg);
}

.oac-assessment-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.oac-back-link {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--oac-olive) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.oac-assessment-header {
    margin-bottom: 30px;
}

.oac-assessment-header h1 {
    max-width: 900px;
    margin: 0 0 18px;
    color: var(--oac-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.oac-assessment-header > p {
    max-width: 820px;
    margin: 0;
    color: #5d6256;
    font-size: 17px;
    line-height: 1.7;
}

.oac-assessment-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--oac-line);
    border-radius: 9px;
    background: var(--oac-line);
}

.oac-assessment-facts div {
    padding: 18px 20px;
    background: var(--oac-paper);
}

.oac-assessment-facts span,
.oac-assessment-facts strong {
    display: block;
}

.oac-assessment-facts span {
    margin-bottom: 5px;
    color: var(--oac-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.oac-assessment-facts strong {
    color: var(--oac-olive);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 400;
}

.oac-unavailable,
.oac-login-gate,
.oac-start-gate,
.oac-participant-card,
.oac-dimension,
.oac-reflections,
.oac-results {
    border: 1px solid var(--oac-line);
    border-radius: 12px;
    background: var(--oac-paper);
    box-shadow: 0 16px 38px rgba(42, 47, 33, .06);
}

.oac-unavailable {
    padding: 38px;
}

.oac-unavailable h2 {
    margin: 0 0 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 400;
}

.oac-unavailable p {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--oac-muted);
    line-height: 1.7;
}

.oac-start-gate {
    padding: 42px;
    text-align: center;
}

.oac-start-gate h2 {
    margin: 8px 0 12px;
    color: var(--oac-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.15;
}

.oac-start-gate p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: var(--oac-muted);
    font-size: 15px;
    line-height: 1.7;
}

.oac-start-button {
    min-width: 220px;
}

.oac-start-status {
    min-height: 22px;
    margin-top: 12px;
    color: var(--oac-olive);
    font-size: 13px;
}

.oac-start-status.is-error {
    color: #a62c2c;
}

.oac-assessment-workspace[hidden] {
    display: none !important;
}

.oac-progress-anchor {
    width: 100%;
    height: 0;
}

.oac-progress-anchor.is-active {
    height: var(--oac-progress-height, 0px);
    margin-bottom: 20px;
}

.oac-progress-panel {
    position: sticky;
    z-index: 30;
    top: 10px;
    margin: 0 0 20px;
    padding: 14px 18px;
    border: 1px solid rgba(69, 87, 46, .26);
    border-radius: 9px;
    background: rgba(255, 253, 248, .95);
    box-shadow: 0 9px 22px rgba(44, 49, 35, .08);
    backdrop-filter: blur(10px);
}

.oac-progress-panel.is-fixed {
    position: fixed !important;
    z-index: 99999;
    margin: 0 !important;
    box-sizing: border-box;
}

.oac-progress-panel__text {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    color: var(--oac-olive);
    font-size: 13px;
}

.oac-progress-track,
.oac-result-bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e7e8e0;
}

.oac-progress-track span,
.oac-result-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--oac-olive);
    transition: width .3s ease;
}

.oac-assessment-form {
    display: grid;
    gap: 26px;
}

.oac-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.oac-participant-card {
    display: grid;
    grid-template-columns: .85fr 1.5fr;
    gap: 36px;
    padding: 32px;
}

.oac-section-kicker,
.oac-dimension__header > span {
    color: var(--oac-olive-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.oac-participant-card h2,
.oac-dimension__header h2 {
    margin: 8px 0 10px;
    color: var(--oac-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.15;
}

.oac-participant-card p,
.oac-dimension__header p {
    margin: 0;
    color: var(--oac-muted);
    line-height: 1.65;
}

.oac-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.oac-field-grid label,
.oac-comment-field,
.oac-reflection-list label {
    display: block;
}

.oac-field-grid label > span,
.oac-comment-field > span,
.oac-reflection-list label > span {
    display: block;
    margin-bottom: 8px;
    color: #515749;
    font-size: 13px;
    font-weight: 700;
}

.oac-field-grid input,
.oac-comment-field textarea,
.oac-reflection-list textarea {
    display: block;
    width: 100%;
    border: 1px solid #cecec3;
    border-radius: 7px;
    background: #fff;
    color: var(--oac-text);
    font: inherit;
    outline: none;
}

.oac-field-grid input {
    min-height: 48px;
    padding: 10px 13px;
}

.oac-comment-field textarea,
.oac-reflection-list textarea {
    min-height: 112px;
    padding: 13px;
    line-height: 1.55;
    resize: vertical;
}

.oac-field-grid input:focus,
.oac-comment-field textarea:focus,
.oac-reflection-list textarea:focus {
    border-color: var(--oac-olive);
    box-shadow: 0 0 0 3px rgba(69, 87, 46, .11);
}

.oac-field-wide {
    grid-column: 1 / -1;
}

.oac-scale-key {
    position: sticky;
    z-index: 20;
    top: 86px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 1px solid var(--oac-olive-soft);
    border-radius: 8px;
    background: var(--oac-paper);
    box-shadow: 0 8px 20px rgba(42, 47, 33, .06);
}

.oac-scale-key span {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    border-right: 1px solid var(--oac-line);
    color: #555b4e;
    font-size: 11px;
    text-align: center;
}

.oac-scale-key span:last-child {
    border-right: 0;
}

.oac-scale-key b {
    color: var(--oac-olive);
    font-size: 15px;
}

.oac-dimension,
.oac-reflections {
    overflow: hidden;
}

.oac-dimension__header {
    padding: 30px 32px;
    background: var(--oac-olive);
    color: #fff;
}

.oac-dimension__header > span,
.oac-dimension__header p {
    color: rgba(255, 255, 255, .72);
}

.oac-dimension__header h2 {
    color: #fff;
}

.oac-question-table__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(5, 72px);
    align-items: center;
    min-height: 54px;
    padding: 0 22px;
    border-bottom: 1px solid var(--oac-line);
    background: #eff0e9;
    color: var(--oac-olive);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.oac-question-table__head b {
    text-align: center;
}

.oac-rating-question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    margin: 0;
    padding: 22px;
    border: 0;
    border-bottom: 1px solid var(--oac-line);
}

.oac-rating-question:nth-of-type(even) {
    background: #fbfaf5;
}

.oac-rating-question legend {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    color: #34392f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.45;
}

.oac-rating-question legend > span {
    display: inline-flex;
    min-width: 42px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b7bbaa;
    border-radius: 999px;
    color: var(--oac-olive);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.oac-rating-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.oac-rating-options label {
    cursor: pointer;
}

.oac-rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.oac-rating-options label > span {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d2c8;
    border-radius: 7px;
    background: #fff;
    color: #59604f;
    transition: .15s ease;
}

.oac-rating-options small {
    display: none;
}

.oac-rating-options input:checked + span {
    border-color: var(--oac-olive);
    background: var(--oac-olive);
    color: #fff;
    box-shadow: 0 5px 12px rgba(69, 87, 46, .18);
}

.oac-rating-options input:focus-visible + span {
    outline: 3px solid rgba(69, 87, 46, .22);
    outline-offset: 2px;
}

.oac-comment-field {
    padding: 22px;
    border-bottom: 1px solid var(--oac-line);
    background: #f8f3e4;
}

.oac-comment-field > span::before {
    content: '○';
    margin-right: 8px;
    color: var(--oac-olive);
}

.oac-reflection-list {
    padding: 8px 26px 26px;
}

.oac-reflection-list label {
    padding: 22px 0;
    border-bottom: 1px solid var(--oac-line);
}

.oac-reflection-list label:last-child {
    border-bottom: 0;
}

.oac-reflection-list label > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}

.oac-reflection-list label > span b {
    color: var(--oac-olive);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.oac-form-error {
    padding: 14px 16px;
    border: 1px solid #d59b9b;
    border-radius: 7px;
    background: #fff2f2;
    color: #8b2020;
    line-height: 1.5;
}

.oac-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.oac-submit-row p {
    margin: 0;
    color: var(--oac-muted);
    font-size: 13px;
}

.oac-primary-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.oac-spinner {
    display: none;
    width: 17px;
    height: 17px;
    margin-left: 9px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: oac-spin .8s linear infinite;
}

.oac-primary-button.is-loading .oac-spinner {
    display: inline-block;
}

@keyframes oac-spin { to { transform: rotate(360deg); } }

.oac-results[hidden] {
    display: none !important;
}

.oac-results {
    padding: 38px;
}

.oac-result-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 32px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--oac-line);
}

.oac-result-kicker {
    color: var(--oac-olive-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.oac-result-top h2 {
    margin: 8px 0 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.1;
}

.oac-result-top p {
    margin: 0;
    color: var(--oac-muted);
    line-height: 1.65;
}

.oac-result-score {
    text-align: center;
}

.oac-result-score strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 68px;
    font-weight: 400;
    line-height: 1;
}

.oac-result-badge {
    display: inline-flex;
    margin-top: 14px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.oac-result-meta {
    margin-top: 13px;
    color: var(--oac-muted);
    font-size: 12px;
}

.oac-result-dimensions {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.oac-result-dimension__head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.oac-result-dimension__head strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 400;
}

.oac-result-dimension__head span {
    font-size: 13px;
    font-weight: 700;
}

.oac-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.oac-secondary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--oac-olive);
    border-radius: 6px;
    color: var(--oac-olive) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.oac-result-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f6f0dd;
    color: #66634e;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .oac-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oac-question-table__head { grid-template-columns: minmax(0, 1fr) repeat(5, 58px); }
    .oac-rating-question { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 760px) {
    .oac-center { padding-top: 12px; }
    .oac-center__title { margin-bottom: 38px; }
    .oac-card-grid { grid-template-columns: 1fr; gap: 18px; }
    .oac-card { min-height: 126px; }
    .oac-assessment-page { padding: 34px 14px 64px; }
    .oac-assessment-facts { grid-template-columns: 1fr; }
    .oac-participant-card { grid-template-columns: 1fr; padding: 24px; }
    .oac-field-grid { grid-template-columns: 1fr; }
    .oac-field-wide { grid-column: auto; }
    .oac-scale-key { display: none; }
    .oac-question-table__head { display: none; }
    .oac-dimension__header { padding: 24px; }
    .oac-rating-question { display: block; padding: 20px; }
    .oac-rating-options { margin-top: 18px; }
    .oac-rating-options label > span { min-height: 58px; flex-direction: column; gap: 3px; }
    .oac-rating-options small { display: block; max-width: 58px; overflow: hidden; font-size: 8px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
    .oac-submit-row { align-items: stretch; flex-direction: column; }
    .oac-submit-row .oac-primary-button { width: 100%; }
    .oac-result-top { grid-template-columns: 1fr; }
    .oac-result-score { text-align: left; }
    .oac-results { padding: 24px; }
}

@media (max-width: 440px) {
    .oac-modal__dialog { padding: 28px 22px; }
    .oac-rating-options { gap: 4px; }
    .oac-rating-options label > span { min-height: 52px; }
}


/* Account-gated assessment flow */
.oac-modal__button[hidden],
.oac-modal__auth[hidden] {
    display: none !important;
}

.oac-modal__auth {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--oac-line);
}

.oac-modal__auth > p {
    margin: 0 0 14px;
    color: var(--oac-muted);
    font-size: 14px;
    line-height: 1.55;
}

.oac-modal__auth > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.oac-modal__auth .oac-modal__button {
    margin-top: 0;
}

.oac-modal__auth .oac-secondary-button {
    width: 100%;
}

.oac-login-gate {
    padding: 38px;
}

.oac-login-gate h2 {
    margin: 8px 0 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 400;
}

.oac-login-gate p {
    max-width: 720px;
    margin: 0;
    color: var(--oac-muted);
    line-height: 1.7;
}

.oac-login-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 440px) {
    .oac-modal__auth > div {
        grid-template-columns: 1fr;
    }

    .oac-login-gate {
        padding: 26px 22px;
    }

    .oac-login-gate__actions a {
        width: 100%;
    }
}

/* Flexible question types */
.oac-flex-question-list {
    display: grid;
    gap: 18px;
    padding: 24px;
}
.oac-flex-question {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--oac-line);
    border-radius: 8px;
    background: #fff;
}
.oac-flex-question legend {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    color: var(--oac-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
}
.oac-flex-question legend em { color: #9d2c2c; font-style: normal; }
.oac-question-code {
    display: inline-flex;
    margin-right: 9px;
    color: var(--oac-olive);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.oac-flex-question .oac-rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.oac-flex-question .oac-rating-options label { position: relative; cursor: pointer; }
.oac-flex-question .oac-rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.oac-flex-question .oac-rating-options label > span {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    border: 1px solid var(--oac-line);
    border-radius: 7px;
    text-align: center;
    transition: .18s ease;
}
.oac-flex-question .oac-rating-options label > span b { font-size: 17px; }
.oac-flex-question .oac-rating-options label > span small { color: var(--oac-muted); font-size: 10px; line-height: 1.25; }
.oac-flex-question .oac-rating-options input:checked + span {
    position: relative;
    border-color: #344321;
    background: var(--oac-olive);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(72,94,46,.20), 0 8px 18px rgba(52,67,33,.18);
    transform: translateY(-1px);
}
.oac-flex-question .oac-rating-options input:checked + span::after {
    content: '✓';
    position: absolute;
    top: 7px;
    right: 8px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--oac-olive);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
}
.oac-flex-question .oac-rating-options input:checked + span small,
.oac-flex-question .oac-rating-options input:checked + span b {
    color: #fff;
}
.oac-flex-question .oac-rating-options input:focus-visible + span {
    outline: 3px solid rgba(69,87,46,.28);
    outline-offset: 2px;
}
.oac-choice-options { display: grid; gap: 10px; }
.oac-choice-options label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid var(--oac-line);
    border-radius: 7px;
    cursor: pointer;
}
.oac-choice-options label:hover { background: #fafaf5; }
.oac-choice-options input { margin-top: 3px; accent-color: var(--oac-olive); }
.oac-choice-options label:has(input:checked) {
    border-color: var(--oac-olive);
    background: #eef2e6;
    box-shadow: 0 0 0 2px rgba(72,94,46,.10);
    color: #344321;
    font-weight: 700;
}
.oac-flex-question textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 13px 14px;
    border: 1px solid var(--oac-line);
    border-radius: 7px;
    background: #fff;
    color: var(--oac-ink);
    font: inherit;
    resize: vertical;
}
.oac-flex-question textarea:focus { outline: 2px solid rgba(72,94,46,.18); border-color: var(--oac-olive); }
@media (max-width: 650px) {
    .oac-flex-question-list { padding: 16px; }
    .oac-flex-question { padding: 18px 15px; }
    .oac-flex-question .oac-rating-options { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .oac-flex-question .oac-rating-options label > span { min-height: 56px; padding: 7px 2px; }
    .oac-flex-question .oac-rating-options label > span small { display: none; }
}

.oac-payment-gate [data-oac-paypal-buttons] {
    width: 100%;
    max-width: 420px;
    margin: 24px auto 16px;
}

.oac-payment-gate [data-oac-payment-check] {
    display: flex;
    width: 100%;
    max-width: 420px;
    min-height: 44px;
    margin: 0 auto;
    box-sizing: border-box;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.oac-payment-gate [data-oac-payment-check]:disabled {
    opacity: .6;
    cursor: wait;
}

.oac-payment-gate [data-oac-payment-status] {
    margin: 16px auto 0;
    min-height: 26px;
}

@media (max-width: 560px) {
    .oac-start-gate.oac-payment-gate { padding: 28px 20px; }
}

/* v2.3: pricing and timed assessments */
.oac-card__price {
    margin-top: auto;
    color: var(--oac-olive);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.oac-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--oac-line);
    color: var(--oac-olive);
}

.oac-timer span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.oac-timer strong {
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

.oac-timer.is-warning {
    color: #b56b00;
}

.oac-timer.is-expired {
    color: #a62c2c;
}

.oac-timer-note {
    margin: 8px 0 0;
    color: var(--oac-muted);
    font-size: 12px;
    line-height: 1.5;
}

.oac-auth-popup{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99999;display:flex;align-items:center;justify-content:center}
.oac-auth-popup__box{background:#fff;padding:30px;border-radius:16px;max-width:420px;width:90%;text-align:center;position:relative}
.oac-auth-popup__box a,.oac-auth-popup__box button{margin:8px;display:inline-block}
.oac-auth-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:24px}
