:root {
    color-scheme: light;
    --bg: #f5f6f8;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --surface-soft: #f1f3f5;
    --text: #212529;
    --muted: #6c757d;
    --line: #dee2e6;
    --brand: #114084;
    --brand-soft: #eef1f4;
    --accent: #ffd600;
    --accent-soft: #fff8cc;
    --danger: #dc3545;
    --success: #28a745;
    --secondary: #6c757d;
    --brand-rgb: 0, 85, 255;
    --accent-rgb: 255, 214, 0;
    --text-rgb: 33, 37, 41;
    --success-rgb: 40, 167, 69;
    --danger-rgb: 220, 53, 69;
    --shadow: 0 12px 32px rgba(33, 37, 41, 0.08);
    --radius-xl: 22px;
    --radius-lg: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
a { color: inherit; }
.page-shell { width: min(1060px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 48px; }
.hero, .panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.hero { overflow: hidden; position: relative; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #114084;
}
.hero__content { position: relative; padding: 26px 30px; color: #f8fbf9; }
.hero__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.hero__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.hero__brand-name {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
}
.hero__brand-copy {
    margin: 4px 0 0;
    max-width: 560px;
    color: rgba(248, 251, 249, .78);
    font-size: .88rem;
    line-height: 1.55;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.12); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
}
.hero h1 { margin: 12px 0 8px; font-size: clamp(1.2rem, 2.2vw, 1.75rem); line-height: 1.15; font-weight: 800; }
.hero p { margin: 0; max-width: 720px; color: rgba(248, 251, 249, .78); line-height: 1.65; font-size: .9rem; }
.grid-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.link-card {
    display: flex; flex-direction: column; justify-content: space-between; min-height: 185px; padding: 18px 20px;
    text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.link-card:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb), .28); box-shadow: 0 18px 36px rgba(var(--text-rgb), .1); }
.link-card__tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 700; }
.link-card h2 { margin: 14px 0 6px; font-size: 1rem; font-weight: 700; }
.link-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .88rem; }
.link-card__footer { margin-top: 16px; font-size: .85rem; font-weight: 700; color: var(--brand); }
.survey-layout { display: grid; gap: 16px; margin-top: 18px; }
.panel { padding: 20px 22px; }
.status { min-height: 20px; margin-bottom: 12px; font-size: .85rem; font-weight: 600; }
.status--error { color: var(--danger); }
.status--success { color: var(--success); }
.status--info { color: var(--brand); }
.survey-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 20px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.survey-loading--overlay { min-height: 100%; justify-content: center; text-align: center; }
.spinner { width: 30px; height: 30px; border: 2.5px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.75s linear infinite; }
.dynamic-loading-host { position: relative; }
.dynamic-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(1px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 16px; margin-top: 18px; }
.auth-layout--single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.account-toolbar p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-toolbar, .admin-filter-panel { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 18px; }
.admin-toolbar__title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 750; }
.admin-toolbar__copy { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-toolbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-filter-panel { align-items: center; }
.admin-filter-panel .field-group { flex: 1; margin: 0; }
.admin-dashboard { margin-top: 18px; }
.admin-survey-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    background: var(--surface-strong);
}
.admin-survey-banner__copy h2 { margin: 6px 0 8px; font-size: 1.35rem; }
.admin-survey-banner__copy p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.admin-survey-banner__eyebrow {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef1f4;
    color: var(--brand);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.admin-survey-banner__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.admin-status-pill, .admin-inline-metric, .narrative-tag, .question-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
}
.admin-status-pill {
    background: rgba(var(--success-rgb), 0.12);
    color: var(--success);
}
.admin-status-pill--inactive {
    background: rgba(var(--danger-rgb), 0.12);
    color: var(--danger);
}
.admin-inline-metric {
    background: #eef1f4;
    color: var(--brand);
}
.admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.admin-insights-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 16px; margin-top: 16px; }
.stat-card { display: grid; gap: 8px; position: relative; overflow: hidden; min-height: 168px; }
.stat-card::before {
    content: "";
    position: absolute;
    inset: auto -35% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(var(--brand-rgb), 0.06);
}
.stat-card--spotlight {
    background: #114084;
    border-color: rgba(255, 255, 255, 0.08);
}
.stat-card--spotlight .stat-card__label,
.stat-card--spotlight .stat-card__meta { color: rgba(248, 251, 249, 0.76); }
.stat-card--spotlight .stat-card__value { color: #fff; }
.stat-card__label { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.stat-card__value { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1; font-weight: 800; color: var(--brand); }
.stat-card__value--small { font-size: clamp(1.05rem, 2.4vw, 1.45rem); line-height: 1.2; }
.stat-card__meta { margin: 0; color: var(--muted); font-size: .88rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; margin-top: 16px; }
.admin-section-heading { margin-bottom: 16px; }
.admin-section-heading h2 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 750; }
.admin-section-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
.admin-chart-card {
    background: var(--surface-strong);
}
.chart-shell {
    position: relative;
    height: 320px;
    max-height: 320px;
    padding: 8px 0 2px;
}
.chart-shell--compact {
    height: 260px;
    max-height: 260px;
}
.chart-shell--question {
    height: 170px;
    max-height: 170px;
}
.chart-shell--question-wide {
    height: 260px;
    max-height: 260px;
}
.admin-narrative { display: grid; gap: 14px; }
.narrative-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f1f3f5;
    border: 1px solid var(--line);
}
.narrative-card__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(var(--brand-rgb), 0.12);
    color: var(--brand);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.narrative-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.narrative-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.narrative-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.narrative-tag {
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand);
    border: 1px solid rgba(var(--brand-rgb), 0.08);
}
.narrative-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.narrative-metric {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
}
.narrative-metric span { display: block; color: var(--muted); font-size: .8rem; }
.narrative-metric strong { display: block; margin-top: 6px; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.bar-list, .comment-list, .question-summary-list, .option-summary-list, .matrix-summary-list, .text-sample-list { display: grid; gap: 12px; }
.question-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 14px;
    align-items: stretch;
}
.bar-item, .comment-card, .question-summary, .matrix-summary { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-strong); padding: 14px 16px; }
.bar-item__head, .option-summary__head, .matrix-summary__head, .comment-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar-item__head span, .option-summary__head strong, .matrix-summary__head span, .comment-card__meta span { color: var(--muted); font-size: .84rem; }
.bar-track { height: 11px; margin-top: 10px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; }
.bar-track--compact { height: 8px; margin-top: 8px; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--brand); }
.comment-card__meta strong { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.comment-card__question { margin: 10px 0 8px; font-size: .9rem; font-weight: 700; }
.comment-card__body { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.question-summary__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.question-summary__topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.question-summary__eyebrow {
    display: block;
    margin-bottom: 0;
    color: var(--brand);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: none;
    width: 100%;
}
.question-summary__meta-inline {
    flex-shrink: 0;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
}
.question-summary__head--compact {
    gap: 4px;
    margin-bottom: 8px;
    align-items: stretch;
}
.question-summary__head--compact > div:first-child {
    width: 100%;
}
.question-summary h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 700;
    min-height: calc(1.25em * 2);
}
.question-summary__stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.question-summary__metric { padding: 8px 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.question-summary__submetric {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 4px;
}
.question-summary__submetric strong {
    color: var(--text);
}
.question-summary--compact {
    padding: 14px;
    background: var(--surface-strong);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.question-summary--wide {
    grid-column: 1 / -1;
}
.question-summary__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.question-summary__body--compact {
    gap: 10px;
    flex: 1;
}
.question-summary__visual {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}
.question-summary__aside {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}
.question-summary__aside--compact { margin-top: auto; }
.question-summary__aside h4 {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.empty-visual {
    display: grid;
    place-items: center;
    min-height: 150px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--muted);
    font-size: .9rem;
    background: var(--surface-soft);
}
.option-summary { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.matrix-summary__head { margin-bottom: 10px; }
.matrix-snapshot {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}
.matrix-snapshot__row {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
}
.matrix-snapshot__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.matrix-snapshot__head span { color: var(--muted); font-size: .84rem; }
.matrix-snapshot__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.matrix-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef1f4;
    color: var(--brand);
    font-size: .8rem;
    font-weight: 700;
}
.text-sample { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: rgba(var(--accent-rgb), 0.20); color: var(--text); font-size: .9rem; line-height: 1.6; }
.auth-panel { display: flex; flex-direction: column; gap: 16px; }
.auth-panel--single { max-width: 640px; margin-left: auto; margin-right: auto; }
.auth-panel--muted { background: rgba(var(--brand-rgb), 0.04); }
.auth-panel__header h2 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 750; }
.auth-panel__header p { margin: 0; color: var(--muted); font-size: .9rem; }
.auth-status-title { margin-bottom: 8px; font-size: 1rem; }
.form-stack { display: grid; gap: 14px; }
.field-group { display: grid; gap: 6px; }
.field-label { font-size: .85rem; font-weight: 650; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions--stack > * { flex: 1 1 180px; }
.auth-links { display: grid; gap: 8px; font-size: .88rem; }
.auth-links a { color: var(--brand); text-decoration: none; font-weight: 650; }
.auth-links a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.feature-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.checkbox-row input { margin-top: 3px; }
.checkbox-row a { color: var(--brand); }
.code-input { letter-spacing: .32em; font-weight: 700; text-align: center; }
.surface-note { margin: 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-soft); color: var(--muted); font-size: .88rem; }
.participant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.survey-section { padding-top: 20px; border-top: 1px solid var(--line); }
.survey-section:first-child { padding-top: 0; border-top: 0; }
.survey-section h2 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.survey-section p.section-description { margin: 0 0 14px; color: var(--muted); line-height: 1.55; font-size: .88rem; }
.question-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-strong); transition: border-color 180ms ease; }
.question-card + .question-card { margin-top: 12px; }
.question-card--error { border-color: var(--danger); }
.question-card__error-msg { margin: 8px 0 0; font-size: .8rem; font-weight: 600; color: var(--danger); }
.question-title { margin: 0 0 12px; font-size: .92rem; line-height: 1.5; font-weight: 600; }
.required-mark { color: var(--danger); }
.option-list, .matrix-grid { display: grid; gap: 8px; }
.option-pill { display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); font-size: .9rem; }
.option-pill input { margin-top: 3px; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; font: inherit; font-size: .95rem; color: var(--text); }
.textarea { min-height: 110px; resize: vertical; }
.scale-wrapper { display: flex; flex-direction: column; gap: 6px; }
.scale-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.scale-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--surface-strong); cursor: pointer; flex-shrink: 0;
    transition: background 150ms ease, border-color 150ms ease;
}
.scale-btn input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.scale-btn__num { font-size: .95rem; font-weight: 700; color: var(--muted); transition: color 150ms ease; user-select: none; }
.scale-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.scale-btn:hover .scale-btn__num { color: var(--brand); }
.scale-btn:has(input:checked) { background: var(--brand); border-color: var(--brand); }
.scale-btn:has(input:checked) .scale-btn__num { color: #fff; }
.scale-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.matrix-table-wrap { overflow-x: auto; }
.matrix-table { width: 100%; min-width: 580px; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.matrix-table th, .matrix-table td { padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.matrix-table thead th { background: var(--surface-soft); text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.matrix-table tbody tr:last-child td { border-bottom: 0; }
.matrix-choice { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.button { appearance: none; border: 0; border-radius: 999px; padding: 9px 20px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.button--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(var(--brand-rgb), .24); }
.button--secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.muted { color: var(--muted); font-size: .88rem; }
.hidden { display: none !important; }
.privacy-copy { line-height: 1.7; color: var(--muted); font-size: .9rem; }
.privacy-copy h2 { margin-top: 24px; color: var(--text); font-size: 1.05rem; }
.privacy-copy strong { color: var(--text); }
.wizard-progress { padding: 12px 22px 14px; }
.wizard-meta { margin-bottom: 8px; }
.wizard-step-label { font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.wizard-bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.wizard-bar__fill { height: 100%; background: var(--brand); border-radius: 2px; transition: width 350ms ease; }
.survey-section.survey-section--solo { padding-top: 0; border-top: 0; }
@media (max-width: 768px) {
    .page-shell { width: min(100% - 16px, 1060px); padding-top: 14px; }
    .hero__content, .panel { padding: 16px 18px; }
    .hero__brand { align-items: flex-start; }
    .wizard-progress { padding: 10px 18px 12px; }
    .scale-btn { width: 42px; height: 42px; }
    .auth-layout { grid-template-columns: 1fr; }
    .account-toolbar { flex-direction: column; align-items: stretch; }
    .admin-toolbar, .admin-filter-panel, .question-summary__head, .admin-survey-banner, .question-summary__topline { flex-direction: column; align-items: stretch; }
    .admin-kpis, .admin-grid, .admin-insights-grid, .narrative-metrics { grid-template-columns: 1fr; }
    .question-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-survey-banner__meta { justify-content: flex-start; }
    .question-summary__meta-inline { text-align: left; }
    .chart-shell {
        height: 260px;
        max-height: 260px;
    }
    .chart-shell--compact {
        height: 240px;
        max-height: 240px;
    }
    .chart-shell--question {
        height: 160px;
        max-height: 160px;
    }
    .chart-shell--question-wide {
        height: 230px;
        max-height: 230px;
    }
}
@media (max-width: 600px) {
    .question-summary-grid { grid-template-columns: 1fr; }
    .matrix-table-wrap { overflow-x: visible; }
    .matrix-table { min-width: 0; display: block; border: 0; border-radius: 0; }
    .matrix-table thead { display: none; }
    .matrix-table tbody { display: block; }
    .matrix-table tbody tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
    .matrix-table tbody tr:last-child { border-bottom: 0; }
    .matrix-table td { border-bottom: 0; padding: 0; }
    .matrix-table td:first-child { display: block; font-size: .88rem; font-weight: 600; padding: 0 0 8px; }
    .matrix-table td.matrix-choice { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px 0 0; }
    .matrix-table td.matrix-choice::before { content: attr(data-label); font-size: .82rem; color: var(--muted); }
}
@media (max-width: 480px) {
    .actions .button { flex: 1 1 100px; }
}
