:root {
    --ink: #12211b;
    --ink-soft: #516059;
    --paper: #f4f3ec;
    --paper-bright: #fbfaf6;
    --line: #d9dbd1;
    --lime: #dfff62;
    --lime-deep: #badb39;
    --green: #183f32;
    --orange: #ff7d55;
    --blue: #4967e9;
    --radius: 22px;
    --shadow: 0 22px 70px rgba(25, 48, 38, 0.09);
    --font: Pretendard, "Apple SD Gothic Neo", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
label,
summary,
select,
input[type="range"] {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.shell {
    width: min(100% - 40px, 920px);
    margin-inline: auto;
}

.eyebrow,
.section-kicker {
    margin: 0 0 15px;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.eyebrow span {
    display: inline-block;
    width: 24px;
    height: 2px;
    margin: 0 9px 3px 0;
    background: var(--lime);
}

.survey-hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    background: var(--green);
}

.survey-hero::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 92px 0 85px;
}

.hero-inner .eyebrow {
    color: #c9d5cd;
}

.hero-inner h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(48px, 8vw, 82px);
    font-weight: 780;
    letter-spacing: -0.065em;
    line-height: 1.08;
}

.hero-inner h1 em {
    color: var(--lime);
    font-style: normal;
}

.hero-inner > p {
    margin: 30px 0 0;
    color: #c9d5cd;
    font-size: 17px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 37px;
}

.hero-meta span {
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #f2f7f4;
    font-size: 13px;
    font-weight: 700;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(223,255,98,.28);
    border-radius: 50%;
}

.hero-orbit::after {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 5px solid var(--green);
    border-radius: 50%;
    background: var(--lime);
    content: "";
}

.hero-orbit-one {
    right: -90px;
    bottom: -180px;
    width: 510px;
    height: 510px;
}

.hero-orbit-one::after {
    top: 69px;
    left: 65px;
}

.hero-orbit-two {
    right: 65px;
    bottom: -60px;
    width: 260px;
    height: 260px;
}

.hero-orbit-two::after {
    right: 10px;
    bottom: 66px;
}

.progress-wrap {
    position: sticky;
    z-index: 10;
    top: 0;
    height: 5px;
    background: rgba(18,33,27,.12);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--lime-deep);
    transition: width .35s ease;
}

.survey-main {
    position: relative;
    z-index: 3;
    padding: 78px 0 100px;
}

.survey-form {
    display: grid;
    gap: 24px;
}

.question-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 22px;
    padding: 44px;
    border: 1px solid rgba(18,33,27,.08);
    border-radius: var(--radius);
    background: var(--paper-bright);
    box-shadow: 0 8px 35px rgba(25,48,38,.035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.question-card:focus-within {
    border-color: rgba(24,63,50,.33);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.question-number {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .08em;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    width: 100%;
    padding: 0;
    font-size: clamp(22px, 3vw, 29px);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.35;
}

.question-hint {
    margin: 10px 0 26px;
    color: var(--ink-soft);
    font-size: 14px;
}

.option-grid {
    display: grid;
    gap: 10px;
}

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

.option-list {
    display: grid;
    gap: 10px;
}

.choice-card {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 13px;
    padding: 14px 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.choice-card:hover {
    border-color: #9ea79f;
    transform: translateY(-1px);
}

.choice-card:has(input:checked) {
    border-color: var(--green);
    background: #f1f7dc;
}

.choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.choice-indicator {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #a3aaa5;
    border-radius: 5px;
    background: #fff;
}

input[type="radio"] + .choice-indicator {
    border-radius: 50%;
}

.choice-card input:checked + .choice-indicator {
    border-color: var(--green);
    background: var(--green);
}

.choice-card input:checked + .choice-indicator::after {
    position: absolute;
    top: 4px;
    left: 6px;
    width: 5px;
    height: 8px;
    border: solid var(--lime);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.choice-card input:focus-visible + .choice-indicator {
    outline: 3px solid rgba(73,103,233,.28);
    outline-offset: 3px;
}

.conditional-field {
    display: none;
    margin-top: 16px;
}

.conditional-field.is-visible {
    display: block;
}

.conditional-field label,
.login-form label,
.response-manage-form label {
    display: grid;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.conditional-field input,
.login-form input,
.filter-bar input,
.filter-bar select,
.response-manage-form select,
.response-manage-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    outline: none;
}

.conditional-field input,
.login-form input {
    height: 52px;
    padding: 0 15px;
}

.conditional-field input:focus,
.login-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.response-manage-form select:focus,
.response-manage-form textarea:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(24,63,50,.09);
}

.textarea-wrap {
    position: relative;
}

.textarea-wrap textarea,
.response-manage-form textarea {
    display: block;
    width: 100%;
    resize: vertical;
}

.textarea-wrap textarea {
    min-height: 170px;
    padding: 18px 18px 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    outline: none;
    line-height: 1.7;
}

.char-count {
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: #89938d;
    font-size: 12px;
}

.nps-card {
    background: #eff1e5;
}

.nps-value {
    margin: 24px 0 4px;
    color: var(--green);
    font-size: 74px;
    font-weight: 820;
    letter-spacing: -.07em;
    line-height: 1;
}

.nps-value small {
    margin-left: 9px;
    color: var(--ink-soft);
    font-size: 15px;
    letter-spacing: 0;
}

.nps-range {
    width: 100%;
    height: 38px;
    margin: 18px 0 3px;
    accent-color: var(--green);
    cursor: pointer;
}

.nps-scale {
    display: flex;
    justify-content: space-between;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.nps-scale span:first-child {
    text-align: left;
}

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

.nps-scale small {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 500;
}

.submit-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 34px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--green);
}

.submit-panel strong {
    font-size: 17px;
}

.submit-panel p {
    margin: 3px 0 0;
    color: #bfcfc6;
    font-size: 13px;
}

.primary-button,
.outline-button,
.small-button,
.filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}

.primary-button {
    min-height: 54px;
    gap: 26px;
    padding: 0 22px;
    color: var(--green);
    background: var(--lime);
}

.primary-button:hover,
.outline-button:hover,
.small-button:hover,
.filter-button:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.primary-button:focus-visible,
.outline-button:focus-visible,
.small-button:focus-visible,
.filter-button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(73,103,233,.35);
    outline-offset: 3px;
}

.success-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    padding: 52px;
    border-radius: var(--radius);
    background: var(--paper-bright);
    box-shadow: var(--shadow);
}

.success-card:focus {
    outline: none;
}

.success-mark {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: var(--lime);
    font-size: 28px;
    font-weight: 900;
}

.success-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.045em;
}

.success-card > div > p:not(.eyebrow) {
    margin: 10px 0 22px;
    color: var(--ink-soft);
}

.text-link {
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    margin-left: 7px;
}

.error-summary,
.login-error {
    border: 1px solid #e8a998;
    border-radius: 12px;
    color: #7d2f1e;
    background: #fff0eb;
}

.error-summary {
    margin-bottom: 24px;
    padding: 20px 24px;
}

.error-summary ul {
    margin: 7px 0 0;
    padding-left: 20px;
    font-size: 14px;
}

.site-footer {
    padding: 54px 0;
    color: #fff;
    background: #10271f;
}

.site-footer .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer span {
    color: var(--lime);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.site-footer p {
    margin: 0;
    color: #9fb0a7;
    font-size: 13px;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.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;
}

/* Admin login */
.admin-login-page {
    min-height: 100vh;
    background: var(--paper-bright);
}

.login-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
}

.login-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(36px, 6vw, 82px);
    color: #fff;
    background: var(--green);
}

.back-link {
    width: fit-content;
    color: #c8d7cf;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.login-brand h1 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(46px, 6vw, 75px);
    letter-spacing: -.065em;
    line-height: 1.07;
}

.login-brand h1 em {
    color: var(--lime);
    font-style: normal;
}

.login-brand div > p:last-child {
    max-width: 520px;
    margin: 27px 0 0;
    color: #b9cac1;
}

.login-brand small {
    color: #92a79c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.login-panel {
    display: grid;
    align-items: center;
    padding: clamp(36px, 7vw, 100px);
}

.login-form {
    display: grid;
    width: min(100%, 460px);
    gap: 22px;
    margin-inline: auto;
}

.section-kicker {
    color: #718078;
}

.login-form h2,
.admin-title-row h1,
.responses-heading h2,
.chart-card h2 {
    margin: 0;
    letter-spacing: -.045em;
}

.login-form h2 {
    font-size: 37px;
}

.login-form > div:first-child > p:last-child {
    margin: 7px 0 5px;
    color: var(--ink-soft);
    font-size: 14px;
}

.login-form input {
    height: 56px;
    margin-top: 2px;
}

.login-error {
    padding: 12px 15px;
    font-size: 13px;
}

.login-form .primary-button {
    width: 100%;
    margin-top: 6px;
    color: #fff;
    background: var(--green);
}

/* Admin dashboard */
.admin-page {
    min-height: 100vh;
    background: #f2f3ef;
}

.admin-header {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    padding: 12px max(24px, calc((100vw - 1240px) / 2));
    border-bottom: 1px solid #e1e4dd;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    line-height: 1.15;
    text-decoration: none;
    letter-spacing: .09em;
}

.admin-logo > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 9px;
    color: var(--green);
    background: var(--lime);
    font-size: 18px;
    font-weight: 900;
}

.admin-header nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.admin-header nav a,
.admin-header nav button {
    padding: 0;
    border: 0;
    color: var(--ink-soft);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.admin-shell {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
    padding: 58px 0 90px;
}

.admin-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.admin-title-row h1 {
    font-size: 42px;
}

.admin-title-row > div > p:last-child {
    margin: 5px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.outline-button {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid #c9cdc5;
    color: var(--ink);
    background: #fff;
    font-size: 12px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.metric-card {
    min-height: 164px;
    padding: 23px;
    border: 1px solid #e0e3dc;
    border-radius: 16px;
    background: #fff;
}

.metric-card > span,
.metric-card small {
    display: block;
    color: #6f7d75;
    font-size: 12px;
    font-weight: 700;
}

.metric-card strong {
    display: block;
    margin: 15px 0 11px;
    font-size: 43px;
    letter-spacing: -.055em;
    line-height: 1;
}

.metric-card strong em {
    margin-left: 3px;
    color: #859087;
    font-size: 14px;
    font-style: normal;
}

.metric-card.accent {
    background: var(--lime);
}

.metric-card.accent > span,
.metric-card.accent small {
    color: #4f5e22;
}

.metric-card.dark {
    color: #fff;
    background: var(--green);
}

.metric-card.dark > span,
.metric-card.dark small {
    color: #b2c4ba;
}

.chart-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 34px;
    min-height: 255px;
    margin-top: 14px;
    padding: 30px;
    border: 1px solid #e0e3dc;
    border-radius: 16px;
    background: #fff;
}

.chart-card h2 {
    font-size: 23px;
}

.bar-chart {
    display: grid;
    height: 165px;
    grid-template-columns: repeat(11, 1fr);
    align-items: end;
    gap: 10px;
    border-bottom: 1px solid #dfe3dc;
}

.bar-column {
    display: grid;
    height: 100%;
    grid-template-rows: 21px 1fr 26px;
    align-items: end;
    text-align: center;
}

.bar-value {
    color: #7c8982;
    font-size: 10px;
}

.bar {
    width: min(100%, 33px);
    height: var(--bar-height, 4%);
    min-height: 4px;
    margin-inline: auto;
    border-radius: 5px 5px 0 0;
    background: #c8ccc7;
}

.bar.h0 { --bar-height: 4%; }
.bar.h1 { --bar-height: 10%; }
.bar.h2 { --bar-height: 20%; }
.bar.h3 { --bar-height: 30%; }
.bar.h4 { --bar-height: 40%; }
.bar.h5 { --bar-height: 50%; }
.bar.h6 { --bar-height: 60%; }
.bar.h7 { --bar-height: 70%; }
.bar.h8 { --bar-height: 80%; }
.bar.h9 { --bar-height: 90%; }
.bar.h10 { --bar-height: 100%; }

.bar.detractor,
.dot.detractor {
    background: #ef8d70;
}

.bar.passive,
.dot.passive {
    background: #f0c85a;
}

.bar.promoter,
.dot.promoter {
    background: #75a98a;
}

.bar-column small {
    padding-top: 7px;
    color: #6f7d75;
    font-size: 10px;
}

.chart-legend {
    display: flex;
    grid-column: 2;
    justify-content: flex-end;
    gap: 18px;
    color: #6f7d75;
    font-size: 10px;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.responses-section {
    margin-top: 60px;
}

.responses-heading h2 {
    font-size: 28px;
}

.responses-heading h2 span {
    display: inline-grid;
    min-width: 26px;
    height: 26px;
    margin-left: 5px;
    place-items: center;
    border-radius: 999px;
    color: #5d6a63;
    background: #e4e7e1;
    font-size: 11px;
    vertical-align: 5px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(140px, 1fr)) auto auto;
    gap: 9px;
    margin: 22px 0 14px;
}

.filter-bar input,
.filter-bar select {
    height: 44px;
    padding: 0 12px;
    color: #55635b;
    font-size: 12px;
}

.filter-button,
.small-button {
    min-height: 42px;
    padding: 0 15px;
    color: #fff;
    background: var(--green);
    font-size: 12px;
}

.reset-link {
    align-self: center;
    color: #6d7a73;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.response-list {
    display: grid;
    gap: 9px;
}

.response-card {
    border: 1px solid #e0e3dc;
    border-radius: 14px;
    background: #fff;
    overflow: clip;
}

.response-card summary {
    display: grid;
    min-height: 118px;
    grid-template-columns: 75px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.response-card summary::-webkit-details-marker {
    display: none;
}

.response-score {
    display: grid;
    width: 66px;
    height: 66px;
    place-content: center;
    border-radius: 12px;
    text-align: center;
}

.response-score.detractor { background: #fff0eb; color: #a74f37; }
.response-score.passive { background: #fff6d8; color: #8a6b12; }
.response-score.promoter { background: #e9f4ed; color: #2b7050; }

.response-score strong {
    font-size: 25px;
    line-height: 1;
}

.response-score span {
    font-size: 9px;
    font-weight: 700;
}

.response-preview {
    min-width: 0;
}

.response-preview > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.response-preview time,
.response-preview p {
    color: #7b8780;
    font-size: 11px;
}

.response-preview > strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.response-preview p {
    margin: 3px 0 0;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.status-badge.new { color: #704e00; background: #fff0a7; }
.status-badge.reviewed { color: #205b43; background: #dff1e7; }
.status-badge.archived { color: #5f6964; background: #e7e9e6; }

.details-toggle {
    color: #6b7870;
    font-size: 11px;
    font-weight: 700;
}

.details-toggle i {
    margin-left: 5px;
    font-size: 17px;
    font-style: normal;
    vertical-align: -2px;
}

.response-card[open] .details-toggle i {
    display: inline-block;
    transform: rotate(45deg);
}

.response-detail {
    padding: 26px 28px 30px 123px;
    border-top: 1px solid #edf0ea;
    background: #fbfcf9;
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 23px 40px;
    margin: 0;
}

.answer-grid > div {
    min-width: 0;
}

.answer-grid .wide {
    grid-column: 1 / -1;
}

.answer-grid dt {
    margin-bottom: 5px;
    color: #7b8780;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.answer-grid dd {
    margin: 0;
    font-size: 13px;
}

.long-answer {
    padding: 15px;
    border-radius: 9px;
    background: #f0f2ed;
    line-height: 1.75;
}

.response-manage-form {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid #e2e6df;
}

.response-manage-form select {
    height: 42px;
    padding: 0 10px;
}

.response-manage-form textarea {
    min-height: 42px;
    padding: 9px 11px;
}

.empty-state {
    padding: 70px 30px;
    border: 1px dashed #cdd2cb;
    border-radius: 14px;
    text-align: center;
}

.empty-state p {
    margin: 4px 0 0;
    color: #77847d;
    font-size: 13px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    font-size: 12px;
}

.pagination a {
    font-weight: 800;
    text-decoration: none;
}

.pagination span {
    color: #77847d;
}

@media (max-width: 980px) {
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .chart-card {
        grid-template-columns: 170px 1fr;
    }
}

@media (max-width: 760px) {
    .shell,
    .admin-shell {
        width: min(100% - 28px, 920px);
    }

    .survey-hero {
        min-height: 540px;
    }

    .hero-inner {
        padding-top: 70px;
    }

    .hero-inner h1 {
        font-size: clamp(43px, 13vw, 66px);
    }

    .hero-inner > p br {
        display: none;
    }

    .hero-orbit-one {
        right: -260px;
    }

    .question-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 22px;
    }

    .question-number {
        width: 43px;
        height: 43px;
    }

    .option-grid-two {
        grid-template-columns: 1fr;
    }

    .submit-panel,
    .site-footer .shell,
    .admin-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .submit-panel {
        display: flex;
        padding: 27px 24px;
    }

    .primary-button {
        width: 100%;
    }

    .success-card {
        grid-template-columns: 1fr;
        padding: 34px 26px;
    }

    .login-shell {
        display: block;
    }

    .login-brand {
        min-height: 440px;
        padding: 34px 25px;
    }

    .login-brand h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .login-panel {
        padding: 60px 25px;
    }

    .admin-header {
        padding-inline: 16px;
    }

    .admin-header nav {
        gap: 12px;
    }

    .admin-shell {
        padding-top: 38px;
    }

    .admin-title-row {
        display: flex;
    }

    .admin-title-row h1 {
        font-size: 35px;
    }

    .outline-button {
        width: fit-content;
    }

    .chart-card {
        grid-template-columns: 1fr;
        overflow-x: auto;
    }

    .bar-chart {
        min-width: 500px;
    }

    .chart-legend {
        grid-column: 1;
        justify-content: flex-start;
    }

    .response-card summary {
        grid-template-columns: 58px 1fr;
        gap: 13px;
        padding: 16px;
    }

    .response-score {
        width: 55px;
        height: 55px;
    }

    .details-toggle {
        display: none;
    }

    .response-detail {
        padding: 24px 18px;
    }

    .answer-grid,
    .response-manage-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .metric-grid,
    .filter-bar {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: 1;
    }

    .metric-card {
        min-height: 140px;
    }

    .site-footer .shell {
        display: flex;
    }

    .admin-header nav a {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
