@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
    --accent: #683AC2;
    --accent-strong: #57309F;
    --accent-tint: rgba(104, 58, 194, 0.14);
    --accent-ring: rgba(104, 58, 194, 0.25);
    --accent-hover: #F4F0FB;

    --page: #ffffff;
    --ink: #3F4045;
    --ink-soft: #6E7076;
    --ink-faint: #9A9CA2;
    --field: #EFEFEF;
    --stripe: #F6F6F7;
    --line: #D9D9DB;

    --size-question: 1.125rem;
    --size-body: 1rem;
    --size-scale: 0.9375rem;

    --radius: 2px;
    --gap-question: 56px;
    --gap-label: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    font-size: var(--size-body);
    line-height: 1.5;
    color: var(--ink);
    background-color: var(--page);
    -webkit-font-smoothing: antialiased;
}

.quiz-container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 0 80px;
}

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

.question {
    margin: 0;
    padding: 0;
    border: none;
}

.question + .question {
    margin-top: var(--gap-question);
    padding-top: var(--gap-question);
    border-top: 1px solid var(--line);
}

.question-label {
    display: block;
    margin: 0 0 var(--gap-label);
    padding: 0;
    font-size: var(--size-question);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

.question-hint {
    display: block;
    margin-top: 4px;
    font-size: var(--size-body);
    font-weight: 400;
    color: var(--ink-soft);
}

.option input[type="radio"],
.option input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mark {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ink-faint);
    background-color: transparent;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mark-radio {
    border-radius: 50%;
}

.mark-check {
    border-radius: var(--radius);
}

.option:hover .mark {
    border-color: var(--ink-soft);
}

.option input:checked + .mark {
    border-color: var(--accent);
}

.mark-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background-color: var(--accent);
    transform: scale(0);
    transition: transform 0.15s ease;
}

.option input:checked + .mark-radio::after {
    transform: scale(1);
}

.option input:checked + .mark-check {
    background-color: var(--accent);
}

.mark-check::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 26%;
    height: 50%;
    border-right: 2px solid var(--page);
    border-bottom: 2px solid var(--page);
    transform: translate(-50%, -55%) rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.option input:checked + .mark-check::after {
    transform: translate(-50%, -55%) rotate(45deg) scale(1);
}

.option input:focus-visible + .mark {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.matrix-scroll {
    width: 100%;
}

.matrix {
    width: 100%;
    border-collapse: collapse;
}

.matrix th,
.matrix td {
    padding: 0;
}

.matrix thead th {
    padding: 0 8px 14px;
    font-size: var(--size-scale);
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    vertical-align: bottom;
    border-bottom: 1px solid var(--line);
}

.matrix thead .matrix-corner {
    border-bottom: 1px solid var(--line);
}

.matrix tbody th {
    width: 42%;
    padding: 6px 24px 6px 0;
    font-size: var(--size-body);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink);
    text-align: left;
    vertical-align: middle;
}

.matrix .matrix-first {
    border-left: 1px solid var(--line);
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
    border-bottom: 1px solid var(--line);
}

.matrix tbody tr:nth-child(even) {
    background-color: var(--stripe);
}

.matrix tbody tr:hover,
.matrix tbody tr:focus-within {
    background-color: var(--accent-hover);
}

.matrix-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    cursor: pointer;
}

.matrix-scale-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.matrix-row-trigger {
    display: none;
}

.choice-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.choice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: var(--radius);
    background-color: var(--field);
    color: var(--ink-soft);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.choice:hover {
    background-color: var(--accent-hover);
}

.choice:has(input:checked) {
    background-color: var(--accent-tint);
    color: var(--ink);
}

.choice-text {
    font-size: var(--size-body);
}

.specify-inline {
    flex: 0 1 320px;
    min-width: 0;
    margin-left: -6px;
    padding: 2px 4px;
    border: none;
    border-bottom: 1px solid var(--ink-faint);
    border-radius: 0;
    background-color: transparent;
    font-family: inherit;
    font-size: var(--size-body);
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s ease;
}

.specify-inline::placeholder {
    color: var(--ink-faint);
}

.specify-inline:hover {
    border-bottom-color: var(--ink-soft);
}

.specify-inline:focus {
    border-bottom-color: var(--accent);
    border-bottom-width: 2px;
    margin-bottom: -1px;
}

.select-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.select-field {
    width: 100%;
    padding: 14px 44px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--field);
    font-family: inherit;
    font-size: var(--size-body);
    color: var(--ink);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.select-field:hover {
    background-color: var(--accent-hover);
}

.select-field:focus-visible {
    border-color: var(--accent);
    background-color: var(--page);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ink-soft);
    border-bottom: 2px solid var(--ink-soft);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.slider-control-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    width: 100%;
}

.slider-track-wrap {
    width: 100%;
}

.slider-input {
    display: block;
    width: 100%;
    margin: 0;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 6px !important;
    border-radius: 10px !important;
    background-color: var(--field) !important;
    border: none !important;
    cursor: pointer;
}

.slider-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 3px solid var(--accent) !important;
    background-color: var(--page) !important;
    cursor: pointer;
}

.slider-input::-moz-range-thumb {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    border: 3px solid var(--accent) !important;
    background-color: var(--page) !important;
    cursor: pointer;
}

.slider-input::-moz-range-track {
    background-color: var(--field) !important;
    border: none !important;
    height: 6px !important;
}

.slider-scale {
    position: relative;
    margin: 14px 11px 0 11px;
    height: 22px;
    font-size: 13px;
    color: var(--ink-faint);
}

.slider-scale span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-weight: 400;
    color: var(--ink-faint);
}

.slider-entry {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: -11px;
    white-space: nowrap;
}

.slider-number {
    width: 68px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background-color: var(--page);
    text-align: center;
}

.slider-number:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

.slider-unit {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 700px) {
    .slider-control-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .slider-entry {
        justify-content: flex-start;
        margin-top: 4px;
    }
    .slider-scale {
        font-size: 11px;
    }
    .slider-number {
        width: 64px;
        font-size: 15px;
    }
    .slider-unit {
        font-size: 13px;
    }
}

.multi-entry-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.multi-entry-row {
    display: grid;
    grid-template-columns: 110px 120px;
    align-items: center;
    gap: 16px;
}

.multi-entry-row label {
    font-size: var(--size-body);
    font-weight: 400;
    color: var(--ink);
}

.multi-entry-row input {
    width: 120px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background-color: var(--page);
    font-family: inherit;
    font-size: var(--size-body);
    color: var(--ink);
}

.multi-entry-row input::placeholder {
    color: var(--ink-faint);
    font-size: 14px;
}

.multi-entry-row input:focus {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

@media (max-width: 700px) {
    .multi-entry-row {
        grid-template-columns: 90px 110px;
        gap: 12px;
    }
    .multi-entry-row label {
        font-size: 15px;
    }
    .multi-entry-row input {
        width: 110px;
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .matrix thead th {
        font-size: 0.8125rem;
        padding: 0 4px 12px;
    }
    .matrix tbody th {
        width: 34%;
        padding-right: 14px;
        font-size: 0.9375rem;
    }
    .matrix-cell {
        padding: 14px 4px;
    }
}

@media (max-width: 720px) {
    :root {
        --gap-question: 40px;
    }
    .quiz-container {
        padding: 32px 0 64px;
    }
    .matrix,
    .matrix tbody,
    .matrix tr,
    .matrix th,
    .matrix td {
        display: block;
        width: auto;
    }
    .matrix thead {
        display: none;
    }
    .matrix tbody tr {
        margin-bottom: 28px;
    }
    .matrix tbody tr,
    .matrix tbody tr:nth-child(even),
    .matrix tbody tr:hover,
    .matrix tbody tr:focus-within {
        background-color: transparent;
    }
    .matrix tbody th {
        width: auto;
        padding: 0 0 12px;
        font-size: var(--size-body);
        font-weight: 500;
    }
    .matrix .matrix-first,
    .matrix tbody tr:last-child th,
    .matrix tbody tr:last-child td {
        border: none;
    }
    .matrix td + td {
        margin-top: 6px;
    }
    .matrix-cell {
        justify-content: flex-start;
        gap: 14px;
        padding: 13px 16px;
        border-radius: var(--radius);
        background-color: var(--field);
        color: var(--ink-soft);
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    .matrix-cell:hover {
        background-color: var(--accent-hover);
    }
    .matrix-cell:has(input:checked) {
        background-color: var(--accent-tint);
        color: var(--ink);
    }
    .matrix-scale-text {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        font-size: var(--size-body);
    }
}

@media (max-width: 720px) {
    .matrix tbody tr {
        scroll-margin-top: 24px;
    }

    .matrix-row-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background-color: var(--field);
        font-family: inherit;
        font-size: var(--size-body);
        font-weight: 400;
        text-align: left;
        color: var(--ink-faint);
        cursor: pointer;
        transition: border-color 0.15s ease, background-color 0.15s ease;
    }

    .matrix-row--answered .matrix-row-trigger {
        color: var(--ink);
    }

    .matrix-row-trigger:hover {
        background-color: var(--accent-hover);
    }

    .matrix-row-trigger:focus-visible {
        outline: none;
        border-color: var(--accent);
        background-color: var(--page);
        box-shadow: 0 0 0 3px var(--accent-ring);
    }

    .matrix-row-trigger::after {
        content: "";
        flex: 0 0 8px;
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--ink-soft);
        border-bottom: 2px solid var(--ink-soft);
        transform: translateY(-3px) rotate(45deg);
        transition: transform 0.15s ease;
    }

    .matrix tbody tr:not(.matrix-row--collapsed) .matrix-row-trigger::after {
        transform: translateY(2px) rotate(225deg);
    }

    .matrix tbody tr.matrix-row--collapsed td {
        display: none;
    }

    .matrix tbody tr.matrix-row--collapsed th {
        padding-bottom: 0;
    }

    .matrix-row--invalid .matrix-row-trigger {
        border-color: #C0392B;
        box-shadow: 0 0 0 1px #C0392B;
    }

    .question--invalid:has(.matrix-row-trigger) {
        outline: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
    }
}

.hidden {
    display: none !important;
}

.loading-state {
    padding: 48px 0;
    text-align: center;
    font-size: var(--size-body);
    color: var(--ink-faint);
}

.submit-bar {
    margin-top: var(--gap-question);
    padding-top: var(--gap-question);
    border-top: 1px solid var(--line);
}

.submit-button {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius);
    background-color: var(--accent);
    color: var(--page);
    font-family: inherit;
    font-size: var(--size-body);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.submit-button:hover {
    background-color: var(--accent-strong);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.status-message {
    margin-top: 12px;
    font-size: var(--size-body);
    text-align: center;
}

.status-message--pending {
    color: var(--ink-soft);
}

.status-message--success {
    color: #2E7D32;
}

.status-message--error {
    color: #C0392B;
}

.required-mark {
    color: #C0392B;
    margin-left: 2px;
}

.question--invalid {
    outline: 2px solid #C0392B;
    outline-offset: 8px;
}

.text-field {
    width: 100%;
    max-width: 480px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--field);
    font-family: inherit;
    font-size: var(--size-body);
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.text-field:hover {
    background-color: var(--accent-hover);
}

.text-field:focus-visible {
    border-color: var(--accent);
    background-color: var(--page);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.text-block {
    font-size: var(--size-body);
    color: var(--ink);
    line-height: 1.6;
}

.report-page,
.survey-page,
.survey-page .question--light {
    --r-bg: #ffffff;
    --r-ink: #1F1D24;
    --r-muted: #6E7076;
    --r-accent-text: var(--accent);
    --r-surface: #F8F6FC;
    --r-border: #E6E1F0;
    --r-rule: #E7E5EC;
    --r-track: #ECEAF1;
    --r-avg: rgba(31, 29, 36, 0.45);
    --r-callout: #F2EDFB;
    --r-shadow: 0 1px 2px rgba(31, 29, 36, 0.05), 0 4px 14px rgba(31, 29, 36, 0.04);
    --r-grid: rgba(31, 29, 36, 0.12);
    --r-grid-strong: rgba(31, 29, 36, 0.2);
    --r-shadow-hover: 0 10px 24px rgba(31, 29, 36, 0.09);
    --r-skel-shine: rgba(255, 255, 255, 0.6);
    --r-hero-from: #F1EBFC;
    --r-hero-to: #FBFAFE;
    --r-tip-bg: #1F1D24;
    --r-tip-ink: #ffffff;
    --r-tip-muted: rgba(255, 255, 255, 0.75);

    font-family: "Montserrat", sans-serif;
    background-color: var(--r-bg);
    color: var(--r-ink);
}

.report-page {
    padding-bottom: 6rem;
}

[data-theme="dark"] {
    color-scheme: dark;
    background-color: #15131A;
}

[data-theme="dark"] .report-page,
[data-theme="dark"] .survey-page {
    --r-bg: #15131A;
    --r-ink: #ECEAF2;
    --r-muted: #A3A0AE;
    --r-accent-text: #B79BF2;
    --r-surface: #1F1C27;
    --r-border: #34303F;
    --r-rule: #2C2935;
    --r-track: #2E2A39;
    --r-avg: rgba(236, 234, 242, 0.55);
    --r-callout: #251F36;
    --r-shadow: none;
    --r-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.35);
    --r-skel-shine: rgba(255, 255, 255, 0.06);
    --r-hero-from: #261E3A;
    --r-hero-to: #1A1724;
    --r-grid: rgba(236, 234, 242, 0.12);
    --r-grid-strong: rgba(236, 234, 242, 0.24);
    --r-tip-bg: #ECEAF2;
    --r-tip-ink: #15131A;
    --r-tip-muted: rgba(21, 19, 26, 0.7);
}

.r-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--r-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.r-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.r-back:hover,
.r-back:focus-visible {
    color: var(--r-accent-text);
}

.r-back:hover svg {
    transform: translateX(-3px);
}

.r-meta {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--r-muted);
}

.r-link {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--r-accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.r-link:hover {
    text-decoration-thickness: 2px;
}

.r-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--r-border);
    border-radius: 999px;
    background-color: var(--r-surface);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--r-ink);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.r-theme-toggle:hover {
    border-color: var(--accent);
}

.r-theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.r-theme-toggle svg {
    width: 14px;
    height: 14px;
}

.r-icon-sun,
[data-theme="dark"] .r-icon-moon {
    display: none;
}

[data-theme="dark"] .r-icon-sun {
    display: block;
}

.report-page h1,
.report-page h2,
.survey-page h1 {
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--r-ink);
}

.r-muted {
    color: var(--r-muted);
}

.r-rule {
    border-color: var(--r-rule);
}

.r-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--r-accent-text);
}

.r-eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 2px;
    margin-right: 0.625rem;
    border-radius: 1px;
    background-color: currentColor;
    vertical-align: middle;
}

.r-card .r-eyebrow::before {
    display: none;
}

.r-hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 2.25rem 2rem;
    border: 1px solid var(--r-border);
    border-radius: 20px;
    background-color: var(--r-hero-from);
    background-image: linear-gradient(135deg, var(--r-hero-from) 0%, var(--r-hero-to) 70%);
}

.r-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 15rem;
    height: 15rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 100 100' fill='none' stroke='%23683AC2' stroke-opacity='0.2' stroke-width='0.6'%3E%3Cpath d='M72 -18L118 28L72 74L26 28ZM72 -2L102 28L72 58L42 28ZM72 14L86 28L72 42L58 28ZM72 -18V74M26 28H118'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.r-hero > * {
    position: relative;
}

.report-page .r-hero h1,
.survey-page .r-hero h1 {
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.r-utilbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.r-card {
    background-color: var(--r-surface);
    border: 1px solid var(--r-border);
    border-radius: 12px;
    box-shadow: var(--r-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.r-card-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--r-accent-text);
}

.r-callout {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--accent);
    border-radius: 4px 12px 12px 4px;
    background-color: var(--r-callout);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
}

.r-download {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background-color: var(--accent);
    color: #ffffff;
    cursor: pointer;
}

.r-download:hover {
    background-color: var(--accent-strong);
}

.r-download:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--accent-ring);
}

.r-download.is-busy {
    cursor: progress;
}

.r-download.is-busy svg {
    display: none;
}

.r-download.is-busy::after {
    content: "";
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: r-spin 0.8s linear infinite;
}

@keyframes r-spin {
    to {
        transform: rotate(360deg);
    }
}

.r-pdf-status {
    position: fixed;
    right: 1.5rem;
    bottom: calc(1.5rem + 3.5rem + 0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    max-width: min(18rem, calc(100vw - 3rem));
    margin: 0;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    background-color: var(--r-tip-bg);
    color: var(--r-tip-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.r-pdf-status.is-error {
    background-color: #B42318;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .r-download.is-busy::after {
        animation: none;
    }
}

.r-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.r-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.r-swatch {
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.r-legend-toggle {
    padding: 0.25rem 0.625rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.r-legend .r-legend-toggle {
    margin-left: -0.625rem;
}

.r-legend:has(.r-legend-toggle) {
    gap: 1rem;
}

.r-legend-toggle:hover {
    background-color: var(--r-surface);
    border-color: var(--r-border);
}

.r-legend-toggle:focus-visible,
.r-type:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.r-legend-toggle[aria-pressed="false"] {
    opacity: 0.45;
    text-decoration: line-through;
}

.r-hint {
    font-size: 0.75rem;
    color: var(--r-muted);
}

.r-scores {
    padding: 1.25rem 1.5rem 1rem;
    border: 1px solid var(--r-border);
    border-radius: 12px;
    background-color: var(--r-surface);
}

.r-scores-title {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.r-scores-title .r-muted {
    font-weight: 500;
}

.r-scores-row {
    display: grid;
    grid-template-columns: minmax(7rem, 1.2fr) 1fr 1fr;
    gap: 0.375rem 1.25rem;
    align-items: center;
    margin: 0 -0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.r-scores-row .r-skel {
    margin: 0;
}

.r-scores-row.is-selected {
    background-color: var(--accent-tint);
}

.r-scores-row.is-selected .r-scores-name {
    color: var(--r-accent-text);
}

.r-scores-colhead {
    padding-top: 0;
    padding-bottom: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--r-muted);
}

.r-scores-colhead > span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.r-scores-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.r-score {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: opacity 0.15s ease;
}

.r-score .r-meter-track {
    flex: 1;
    height: 8px;
}

.r-score-value {
    min-width: 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.hide-0 .r-score--0,
.hide-1 .r-score--1 {
    opacity: 0.3;
}

.r-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.r-row > * {
    flex: 1 1 0;
}

@media (min-width: 640px) {
    .r-row {
        flex-direction: row;
    }
}

.html2pdf__container .r-no-pdf {
    display: none !important;
}

.html2pdf__container .r-hero::before {
    display: none !important;
}

.html2pdf__container *,
.html2pdf__container *::before,
.html2pdf__container *::after {
    transition: none !important;
    animation: none !important;
}

.html2pdf__container .r-row {
    flex-direction: row;
}

.html2pdf__container .r-chart canvas {
    width: 450px !important;
    height: 450px !important;
}

.r-type-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.r-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border: 1px solid var(--r-border);
    border-radius: 10px;
    background-color: var(--r-surface);
    font: inherit;
    line-height: 1.5;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.r-type-body {
    flex: 1;
    min-width: 0;
}

.r-type:hover {
    border-color: var(--accent);
    box-shadow: var(--r-shadow);
    transform: translateY(-1px);
}

.r-type.is-selected {
    background-color: var(--r-callout);
    border-color: var(--accent);
}

.r-type.is-selected .font-bold {
    color: var(--r-accent-text);
}

.r-type-chev {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--r-border);
    border-radius: 999px;
    background-color: var(--r-bg);
    color: var(--r-accent-text);
    transition: transform 0.2s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.r-type-chev svg {
    width: 14px;
    height: 14px;
}

.r-type:hover .r-type-chev {
    border-color: var(--accent);
}

.r-type.is-selected .r-type-chev {
    transform: rotate(180deg);
    border-color: var(--accent);
    background-color: var(--accent);
    color: #ffffff;
}

.r-type-detail {
    display: block;
    margin-top: 0.375rem;
    font-weight: 600;
    animation: r-fade-in 0.2s ease;
}

@keyframes r-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.r-type-detail[hidden] {
    display: none;
}

.r-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.r-filter {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--r-border);
    border-radius: 999px;
    background-color: var(--r-bg);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--r-ink);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.r-filter:hover {
    border-color: var(--accent);
}

.r-filter:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.r-filter[aria-pressed="true"] {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.r-filters-note {
    margin: -0.75rem 0 1.25rem;
}

.r-compare-group {
    margin-bottom: 1.5rem;
}

.r-fade {
    animation: r-fade-in 0.3s ease;
}

.r-notice {
    margin: -0.75rem 0 1.5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--r-border);
    border-radius: 8px;
    background-color: var(--r-surface);
    font-size: 0.8125rem;
}

.r-bar {
    margin-bottom: 1.75rem;
}

.r-bar-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.r-bar-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.r-bar-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.r-pbar-track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background-color: var(--r-track);
}

.r-pbar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--pct);
    height: 100%;
    border-radius: 999px;
    background-image: linear-gradient(90deg, var(--c-soft), var(--c));
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.r-pbar-avg {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 2px;
    height: 22px;
    margin-left: -1px;
    border-radius: 1px;
    background-color: var(--r-avg);
}

.r-pbar-dot {
    position: absolute;
    top: 50%;
    left: var(--pct);
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 4px solid var(--r-bg);
    border-radius: 50%;
    background-color: var(--c);
    box-shadow: 0 0 0 1px var(--c), 0 2px 6px rgba(31, 29, 36, 0.25);
    transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.15s ease;
}

.r-pbar-scale {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--r-muted);
}

.r-pbar-scale span:last-child {
    text-align: right;
}

.r-pbar-track {
    cursor: default;
    outline: none;
}

.r-pbar-track:focus-visible {
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.r-pbar-avg::before {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: -8px;
    right: -8px;
}

.r-tip {
    position: absolute;
    z-index: 5;
    padding: 6px 10px;
    border-radius: 8px;
    background-color: var(--r-tip-bg);
    color: var(--r-tip-ink);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.r-tip--you {
    bottom: calc(100% + 14px);
    left: clamp(110px, var(--pct), calc(100% - 110px));
    transform: translateX(-50%);
}

.r-tip--below {
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
}

.r-pbar-track:hover .r-tip--you,
.r-pbar-track:focus .r-tip--you,
.r-pbar-avg:hover .r-tip--below {
    visibility: visible;
    opacity: 1;
}

.r-pbar-track:hover .r-pbar-dot,
.r-pbar-track:focus .r-pbar-dot {
    box-shadow: 0 0 0 1px var(--c), 0 0 0 6px var(--c-soft), 0 2px 6px rgba(31, 29, 36, 0.25);
}

.r-meter-track {
    height: 12px;
    border-radius: 999px;
    background-color: var(--r-track);
    overflow: hidden;
}

.r-meter-fill {
    width: var(--pct);
    height: 100%;
    border-radius: 999px;
    background-color: var(--c);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.r-split {
    display: flex;
    width: 100%;
    height: 2.25rem;
    border-radius: 10px;
    overflow: hidden;
}

.r-split > div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1F1D24;
    transition: opacity 0.15s ease;
}

.r-split {
    clip-path: inset(0 0 0 0 round 10px);
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.r-skel {
    display: block;
    height: 0.875rem;
    margin-bottom: 0.625rem;
    border-radius: 6px;
    background-color: var(--r-track);
    background-image: linear-gradient(90deg, transparent 0%, var(--r-skel-shine) 50%, transparent 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: r-shimmer 1.4s linear infinite;
}

@keyframes r-shimmer {
    from { background-position: 150% 0; }
    to { background-position: -50% 0; }
}

.r-skel-pills,
.r-skel-barhead {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.r-skel-pills {
    margin-bottom: 1.5rem;
}

.r-skel-barhead {
    justify-content: space-between;
    margin-top: 1.25rem;
}

.r-skel-pill {
    height: 2rem;
    border-radius: 999px;
}

.r-skel-track {
    height: 12px;
    border-radius: 999px;
}

.r-skel-block {
    height: 4.5rem;
    margin-top: 2rem;
    border-radius: 12px;
}

.r-skel-split {
    height: 2.25rem;
    margin: 1rem 0;
    border-radius: 10px;
}

.r-skel-title {
    height: 1.25rem;
    margin: 0.75rem 0 1rem;
}

.r-chart {
    position: relative;
    aspect-ratio: 1 / 1;
}

.r-chart-skel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--r-track);
    stroke-width: 0.8;
    animation: r-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes r-pulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.r-dyn > * {
    animation: r-fade-in 0.3s ease;
}

@media (hover: hover) {
    .r-card:hover {
        transform: translateY(-3px);
        border-color: var(--accent-ring);
        box-shadow: var(--r-shadow-hover);
    }
    .r-split:hover > div {
        opacity: 0.55;
    }
    .r-split > div:hover {
        opacity: 1;
    }
    .r-download:hover {
        transform: scale(1.06);
    }
    .r-theme-toggle:hover svg {
        transform: rotate(-20deg);
    }
}

.r-download {
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.r-theme-toggle svg {
    transition: transform 0.2s ease;
}

.r-reveal {
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.r-motion .r-reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
}

.r-motion .r-reveal:not(.is-in) .r-pbar-fill,
.r-motion .r-reveal:not(.is-in) .r-meter-fill {
    width: 0;
}

.r-motion .r-reveal:not(.is-in) .r-pbar-dot {
    left: 0;
}

.r-motion .r-reveal:not(.is-in) .r-split {
    clip-path: inset(0 100% 0 0 round 10px);
}

.r-bar + .r-bar .r-meter-fill,
.r-bar + .r-bar .r-pbar-fill,
.r-bar + .r-bar .r-pbar-dot {
    transition-delay: 0.08s;
}

.html2pdf__container .r-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.html2pdf__container .r-split {
    clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .r-skel,
    .r-chart-skel {
        animation: none !important;
    }
    .r-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .report-page *,
    .report-page *::before,
    .report-page *::after {
        animation-duration: 0.01ms !important;
    }
}

@media (max-width: 640px) {
    .report-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .report-content {
        padding-left: 0;
        padding-right: 0;
        padding-top: 1rem;
    }
    .report-page h1 {
        font-size: 1.875rem;
    }
    .r-hero {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 16px;
    }
    .r-hero::before {
        width: 10rem;
        height: 10rem;
    }
    .r-scores {
        padding: 1rem 1rem 0.75rem;
    }
    .r-scores-row {
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
    }
    .r-scores-name,
    .r-scores-row > .r-skel:first-child {
        grid-column: 1 / -1;
    }
    .r-scores-colhead > span:first-child {
        display: none;
    }
    .report-page .r-hero h1,
    .survey-page .r-hero h1 {
        font-size: 2rem;
    }
    .report-page h2 {
        font-size: 1.5rem;
    }
    .r-callout {
        padding: 1rem 1.125rem;
    }

    .html2pdf__container .report-page {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .html2pdf__container .report-content {
        padding: 3rem 1.5rem;
    }
    .html2pdf__container .report-page h1 {
        font-size: 2.25rem;
    }
    .html2pdf__container .r-hero {
        padding: 2.25rem 2.25rem 2rem;
        border-radius: 20px;
    }
    .html2pdf__container .r-hero::before {
        width: 15rem;
        height: 15rem;
    }
    .html2pdf__container .r-scores {
        padding: 1.25rem 1.5rem 1rem;
    }
    .html2pdf__container .r-scores-row {
        grid-template-columns: minmax(7rem, 1.2fr) 1fr 1fr;
        column-gap: 1.25rem;
    }
    .html2pdf__container .r-scores-name {
        grid-column: auto;
    }
    .html2pdf__container .r-scores-colhead > span:first-child {
        display: inline-flex;
    }
    .html2pdf__container .report-page .r-hero h1 {
        font-size: 2.75rem;
    }
    .html2pdf__container .report-page h2 {
        font-size: 1.875rem;
    }
    .html2pdf__container .r-callout {
        padding: 1.25rem 1.5rem;
    }
}

.survey-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .survey-shell {
        width: 70%;
    }
}

.s-hero {
    margin-bottom: 1.75rem;
}

.s-panel {
    padding: 2rem 1.5rem;
    border: 1px solid var(--r-border);
    border-radius: 16px;
    background-color: var(--r-surface);
    box-shadow: var(--r-shadow);
    text-align: center;
    color: var(--r-muted);
}

.s-panel p {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--r-ink);
}

@media (max-width: 640px) {
    .s-panel {
        padding: 1.5rem 1rem;
    }
}

.survey-page,
.survey-page .question--light {
    --page: var(--r-bg);
    --ink: var(--r-ink);
    --ink-soft: var(--r-muted);
    --field: var(--r-surface);
    --line: var(--r-border);
    --stripe: #F6F6F8;
    --accent-hover: #EEE6FB;
}

.survey-page .question--light {
    --ink-faint: #9A9CA2;
    --accent-tint: rgba(104, 58, 194, 0.14);
    color-scheme: light;
}

[data-theme="dark"] .survey-page .question--light .required-mark {
    color: #C0392B;
}

[data-theme="dark"] .survey-page {
    --ink-faint: #77738A;
    --stripe: #1B1922;
    --accent-hover: rgba(104, 58, 194, 0.24);
    --accent-tint: rgba(104, 58, 194, 0.32);
}

[data-theme="dark"] .survey-page .status-message--error,
[data-theme="dark"] .survey-page .required-mark {
    color: #F2766B;
}

[data-theme="dark"] .survey-page .status-message--success {
    color: #7BD389;
}

.survey-page .question {
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid var(--r-border);
    border-radius: 16px;
    background-color: var(--r-bg);
    box-shadow: var(--r-shadow);
}

.survey-page .question + .question {
    margin-top: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--r-border);
}

.survey-page .question-label {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--r-ink);
}

.survey-page .question-label ul,
.survey-page .question-label ol {
    margin: 0.625rem 0 0;
    padding-left: 1.25rem;
}

.survey-page .question-label ul {
    list-style: disc;
}

.survey-page .question-label ol {
    list-style: decimal;
}

.survey-page .question-label li {
    margin-top: 0.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--r-muted);
}

.survey-page .question-label li::marker {
    color: var(--accent);
}

.survey-page .question-hint {
    font-size: 0.875rem;
    font-weight: 500;
}

.survey-page .text-block {
    color: var(--r-ink);
}

.survey-page .question.question--heading {
    padding: 1rem 0 0.25rem;
    border: none;
    background: none;
    box-shadow: none;
}

.survey-page .question--heading .text-block {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--r-ink);
}

.survey-page .question--heading .text-block::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-bottom: 0.75rem;
    border-radius: 2px;
    background-color: var(--accent);
}

@media (max-width: 640px) {
    .survey-page .question--heading .text-block {
        font-size: 1.25rem;
    }
}

.survey-page .question.question--invalid {
    border-color: #C0392B;
    outline-offset: 2px;
}

.survey-page,
.survey-page .question--light {
    --s-invalid: #C0392B;
    --s-invalid-bg: #FDEEEC;
}

[data-theme="dark"] .survey-page {
    --s-invalid: #F2766B;
    --s-invalid-bg: rgba(242, 118, 107, 0.12);
}

@media (min-width: 721px) {
    .survey-page .matrix tbody tr.matrix-row--invalid > th,
    .survey-page .matrix tbody tr.matrix-row--invalid > td {
        background-color: var(--s-invalid-bg);
        box-shadow: inset 0 2px 0 var(--s-invalid), inset 0 -2px 0 var(--s-invalid);
    }
    .survey-page .matrix tbody tr.matrix-row--invalid > th {
        box-shadow: inset 2px 0 0 var(--s-invalid), inset 0 2px 0 var(--s-invalid), inset 0 -2px 0 var(--s-invalid);
        padding-left: 0.625rem;
    }
    .survey-page .matrix tbody tr.matrix-row--invalid > td:last-child {
        box-shadow: inset -2px 0 0 var(--s-invalid), inset 0 2px 0 var(--s-invalid), inset 0 -2px 0 var(--s-invalid);
    }
    .survey-page .matrix tbody tr.matrix-row--invalid > th::after {
        content: "Please answer this row";
        display: block;
        margin-top: 0.125rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--s-invalid);
    }
}

.survey-page .question--invalid .multi-entry-row input:placeholder-shown {
    border-color: var(--s-invalid);
    box-shadow: 0 0 0 1px var(--s-invalid);
}

.survey-page .choice {
    border: 1px solid var(--r-border);
    border-radius: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.survey-page .choice:hover {
    border-color: var(--accent);
}

.survey-page .choice:has(input:checked) {
    border-color: var(--accent);
}

.survey-page .select-field,
.survey-page .text-field {
    border-radius: 10px;
}

.survey-page .select-field:focus-visible,
.survey-page .text-field:focus-visible {
    background-color: var(--r-bg);
}

.survey-page .slider-track-wrap {
    position: relative;
    padding-top: 2.25rem;
}

.survey-page .slider-entry {
    margin-top: 25px;
}

.slider-bubble {
    position: absolute;
    top: 0;
    left: calc(11px + (100% - 22px) * var(--p, 0));
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    border: 5px solid transparent;
    border-top-color: var(--accent);
    transform: translateX(-50%);
}

.survey-page .slider-input {
    background-color: var(--r-track) !important;
}

.survey-page .slider-input::-moz-range-track {
    background-color: var(--r-track) !important;
}

.survey-page .slider-number,
.survey-page .multi-entry-row input {
    border-radius: 8px;
    color: var(--r-ink);
    background-color: var(--r-bg);
}

.survey-page .matrix thead th {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--r-muted);
}

.survey-page .matrix tbody th {
    color: var(--r-ink);
}

.s-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.s-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.s-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.s-btn--primary {
    background-color: var(--accent);
    color: #ffffff;
}

.s-btn--primary:hover:not(:disabled) {
    background-color: var(--accent-strong);
}

.s-btn--back {
    border-color: var(--r-border);
    background-color: var(--r-surface);
    color: var(--r-ink);
}

.s-btn--back:hover {
    border-color: var(--accent);
}

@media (max-width: 700px) {
    .survey-page .slider-entry {
        margin-top: 4px;
    }
}

@media (max-width: 720px) {
    .survey-page .question {
        padding: 1.25rem 1rem 1rem;
        border-radius: 14px;
    }
    .survey-page .question + .question {
        padding-top: 1.25rem;
    }
    .survey-page .matrix-cell,
    .survey-page .matrix-row-trigger {
        border: 1px solid var(--r-border);
        border-radius: 10px;
    }
    .survey-page .matrix-cell:has(input:checked),
    .survey-page .matrix-row-trigger:focus-visible {
        border-color: var(--accent);
    }
    .survey-page .matrix-row--invalid .matrix-row-trigger {
        border-color: #C0392B;
    }
}
