:root {
    --ink: #183639;
    --ink-soft: #567073;
    --ink-faint: #789092;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --surface-soft: #f3f7f5;
    --line: #dfe8e4;
    --teal: #16766f;
    --teal-dark: #0c5d58;
    --teal-soft: #dff1ec;
    --coral: #ef9b72;
    --yellow: #f5c85b;
    --danger: #b5473c;
    --shadow-sm: 0 8px 30px rgba(28, 61, 62, .07);
    --shadow-lg: 0 24px 70px rgba(28, 61, 62, .13);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --content: 1120px;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 8% 14%, rgba(220, 241, 235, .55), transparent 25rem),
        var(--paper);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

:focus-visible {
    outline: 3px solid rgba(22, 118, 111, .27);
    outline-offset: 3px;
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(24, 54, 57, .08);
    background: rgba(251, 250, 247, .9);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(calc(100% - 40px), var(--content));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: var(--ink);
    box-shadow: 0 8px 18px rgba(24, 54, 57, .18);
}

.brand-mark svg {
    width: 27px;
}

.brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.brand strong {
    font-size: 1.05rem;
    letter-spacing: -.02em;
}

.brand small {
    margin-top: 4px;
    color: var(--ink-faint);
    font-size: .69rem;
    font-weight: 650;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.admin-link,
.header-nav a,
.header-nav button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--ink-soft);
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.admin-link:hover,
.header-nav a:hover,
.header-nav button:hover {
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.admin-link svg,
.header-nav svg {
    width: 18px;
    height: 18px;
}

.header-nav,
.header-nav form {
    display: flex;
    align-items: center;
    margin: 0;
}

.page-content {
    width: min(calc(100% - 40px), var(--content));
    min-height: calc(100vh - 160px);
    margin: 0 auto;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid var(--line);
}

.site-footer > div {
    width: min(calc(100% - 40px), var(--content));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-faint);
    font-size: .83rem;
}

.site-footer a {
    color: var(--ink-soft);
    text-underline-offset: 3px;
}

.survey-hero {
    min-height: 420px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 52px;
    padding: 70px 0 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--teal);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .115em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 5px rgba(239, 155, 114, .15);
}

.hero-copy h1 {
    max-width: 680px;
    margin: 18px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5.2vw, 4.85rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.048em;
}

.hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.hero-meta span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    font-size: .84rem;
    font-weight: 700;
}

.hero-meta svg {
    width: 19px;
    color: var(--teal);
}

.hero-art {
    position: relative;
    min-height: 330px;
    display: grid;
    place-items: center;
}

.hero-art > svg {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    overflow: visible;
}

.art-blob {
    fill: #dcefe8;
    stroke: none;
}

.art-line {
    fill: none;
    stroke: var(--ink);
    stroke-width: 5;
}

.face {
    fill: #fffaf2;
    stroke: var(--ink);
    stroke-width: 4;
}

.face-line {
    stroke: var(--ink);
    stroke-width: 4;
}

.leaf {
    fill: var(--coral);
    stroke: var(--ink);
    stroke-width: 3;
}

.orb {
    position: absolute;
    border-radius: 50%;
}

.orb-one {
    top: 18px;
    right: 17%;
    width: 64px;
    height: 64px;
    background: var(--yellow);
}

.orb-two {
    bottom: 28px;
    left: 9%;
    width: 38px;
    height: 38px;
    border: 9px solid var(--teal);
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 12px 0 34px;
    padding: 18px 22px;
    border: 1px solid #cfe5df;
    border-radius: var(--radius-md);
    background: rgba(230, 244, 239, .75);
}

.privacy-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    border-radius: 14px;
    background: #fff;
}

.privacy-icon svg {
    width: 23px;
}

.privacy-note strong {
    display: block;
    margin-bottom: 2px;
    font-size: .95rem;
}

.privacy-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: .87rem;
}

.survey-form {
    width: min(100%, 820px);
    margin: 0 auto;
}

.company-card {
    margin: 0 0 28px;
    padding: 40px 44px 34px;
    border: 1px solid rgba(38, 80, 78, .1);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    animation: card-in .32s ease both;
}

.company-heading {
    margin-bottom: 26px;
}

.company-heading h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.company-heading p {
    margin: 8px 0 0;
    color: var(--ink-faint);
    font-size: .88rem;
}

.company-field {
    margin-top: 17px;
}

.company-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: .82rem;
    font-weight: 750;
}

.company-field select,
.company-field input {
    width: 100%;
    min-height: 54px;
    padding: 11px 15px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfb;
    outline: none;
}

.company-field select:focus,
.company-field input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(22, 118, 111, .1);
}

.js-enabled .other-company-field {
    display: none;
}

.js-enabled .other-company-field.is-visible {
    display: block;
}

.company-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.progress-panel {
    margin-bottom: 16px;
    padding: 0 5px;
}

.progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: var(--ink-faint);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.progress-copy strong {
    color: var(--teal);
}

.progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #e5ebe8;
}

.progress-track span {
    display: block;
    width: 12.5%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), #42a99a);
    transition: width .35s ease;
}

.question-card {
    min-width: 0;
    margin: 0 0 28px;
    padding: 40px 44px 34px;
    border: 1px solid rgba(38, 80, 78, .1);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.js-enabled .question-card {
    display: none;
    animation: card-in .32s ease both;
}

.js-enabled .question-card.active {
    display: block;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-heading {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 17px;
    align-items: start;
    margin-bottom: 26px;
}

.question-number,
.summary-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    border-radius: 13px;
    background: var(--teal-soft);
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.question-topic {
    display: block;
    margin-bottom: 5px;
    color: var(--coral);
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .095em;
    text-transform: uppercase;
}

.question-heading legend {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.question-heading p {
    margin: 8px 0 0;
    color: var(--ink-faint);
    font-size: .88rem;
}

.answer-options {
    display: grid;
    gap: 10px;
}

.answer-option {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 17px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font-size: .95rem;
    font-weight: 650;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.answer-option:hover {
    border-color: #9bc9bf;
    background: #f9fcfb;
    transform: translateY(-1px);
}

.answer-option:has(input:checked) {
    color: var(--teal-dark);
    border-color: var(--teal);
    background: #eef8f4;
    box-shadow: 0 0 0 3px rgba(22, 118, 111, .07);
}

.answer-option:focus-within {
    outline: 3px solid rgba(22, 118, 111, .2);
    outline-offset: 2px;
}

.answer-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.radio-mark {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border: 2px solid #b6c8c5;
    border-radius: 50%;
    background: #fff;
}

.answer-option input:checked + .radio-mark {
    border: 6px solid var(--teal);
}

.answer-options.has-error .answer-option {
    border-color: rgba(181, 71, 60, .45);
}

.field-error,
.field-validation-error {
    display: block;
    margin-top: 7px;
    color: var(--danger);
    font-size: .79rem;
    font-weight: 700;
}

.field-validation-valid,
.validation-summary-valid {
    display: none;
}

.form-alert:not(:empty),
.validation-summary-errors {
    margin-bottom: 18px;
    padding: 13px 16px;
    color: #86372f;
    border: 1px solid #efd0cb;
    border-radius: 12px;
    background: #fff1ef;
    font-size: .86rem;
}

.form-alert ul {
    margin: 0;
    padding-left: 20px;
}

.comment-box {
    margin-top: 21px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.comment-box summary {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.comment-box summary::-webkit-details-marker {
    display: none;
}

.comment-box summary svg {
    width: 18px;
}

.comment-box summary span {
    color: var(--ink-faint);
    font-weight: 500;
}

.comment-box textarea {
    width: 100%;
    min-height: 112px;
    resize: vertical;
    margin-top: 13px;
    padding: 14px 15px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfb;
    outline: none;
}

.comment-box textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(22, 118, 111, .1);
}

.comment-box textarea::placeholder {
    color: #95a6a4;
}

.comment-footer {
    min-height: 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink-faint);
    font-size: .73rem;
}

.character-count {
    margin-left: auto;
    padding-top: 5px;
}

.question-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.btn-next,
.btn-submit,
.btn-login,
.btn-back,
.btn-secondary-action,
.btn-outline {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 13px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-next,
.btn-submit,
.btn-login {
    color: #fff;
    border: 1px solid var(--teal);
    background: var(--teal);
    box-shadow: 0 9px 22px rgba(22, 118, 111, .22);
}

.btn-next:hover,
.btn-submit:hover,
.btn-login:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

.btn-next svg,
.btn-submit svg,
.btn-back svg,
.btn-login svg,
.btn-outline svg {
    width: 19px;
}

.btn-submit svg {
    width: 20px;
}

.btn-submit:disabled {
    opacity: .68;
    cursor: wait;
}

.btn-back {
    padding-left: 9px;
    color: var(--ink-soft);
    border: 0;
    background: transparent;
}

.btn-back:hover {
    color: var(--teal-dark);
    background: var(--teal-soft);
}

.survey-footer-note {
    max-width: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px auto 0;
    color: var(--ink-faint);
    text-align: center;
    font-size: .8rem;
}

.survey-footer-note svg {
    flex: 0 0 auto;
    width: 19px;
}

.survey-footer-note p,
.noscript-note {
    margin: 0;
}

.noscript-note {
    padding: 12px;
    border-radius: 10px;
    background: #fff4d9;
    text-align: center;
}

.success-page .page-content,
.login-page .page-content {
    display: grid;
    align-items: center;
    padding-block: 62px;
}

.success-card {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 54px;
    border: 1px solid rgba(38, 80, 78, .1);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-mark {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    color: #fff;
    border: 10px solid #dff2ec;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 8px #f1f8f5;
}

.success-mark svg {
    width: 36px;
    stroke-width: 2.3;
}

.success-card h1 {
    margin: 17px auto 15px;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.success-card > p {
    margin: 0 auto;
    color: var(--ink-soft);
}

.success-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 24px 0;
    padding: 13px 15px;
    color: var(--teal-dark);
    border-radius: 12px;
    background: var(--teal-soft);
    font-size: .84rem;
    font-weight: 700;
}

.success-note svg {
    width: 20px;
}

.btn-secondary-action {
    color: var(--teal-dark);
    border: 1px solid #b9d7d0;
    background: #fff;
}

.btn-secondary-action:hover {
    background: var(--teal-soft);
}

.error-mark {
    color: #fff;
    border-color: #f7dad5;
    background: var(--danger);
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
}

.text-page {
    width: min(100%, 740px);
    margin: 72px auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.text-page h1 {
    margin: 15px 0;
    font-family: Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.text-page .lead {
    color: var(--ink-soft);
    font-size: 1.1rem;
}

.text-page section {
    margin: 32px 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.text-page h2 {
    margin: 0 0 7px;
    font-size: 1rem;
}

.text-page section p {
    margin: 0;
    color: var(--ink-soft);
}

/* Login */
.login-shell {
    width: min(100%, 960px);
    min-height: 590px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(38, 80, 78, .1);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.login-visual {
    position: relative;
    overflow: hidden;
    padding: 54px 48px;
    color: #fff;
    background: var(--ink);
}

.login-visual::after {
    position: absolute;
    right: -80px;
    top: -75px;
    width: 240px;
    height: 240px;
    border: 55px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    content: "";
}

.eyebrow-light {
    color: #9ed2c7;
}

.login-visual h1 {
    position: relative;
    z-index: 2;
    margin: 24px 0 18px;
    font-family: Georgia, serif;
    font-size: 3.1rem;
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.login-visual p {
    position: relative;
    z-index: 2;
    color: #b9cecd;
}

.login-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
}

.login-art path:first-child {
    fill: #245b59;
    stroke: none;
}

.login-art circle {
    fill: #f9d5ad;
    stroke: #fff;
    stroke-width: 3;
}

.login-art circle:nth-of-type(2) {
    fill: #ef9b72;
}

.login-art path:last-child {
    stroke: var(--ink);
    stroke-width: 4;
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 60px;
}

.login-heading {
    margin-bottom: 29px;
}

.login-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--teal);
    border-radius: 15px;
    background: var(--teal-soft);
}

.login-icon svg {
    width: 24px;
}

.login-heading h2 {
    margin: 18px 0 5px;
    font-family: Georgia, serif;
    font-size: 2rem;
    letter-spacing: -.025em;
}

.login-heading p,
.login-help {
    margin: 0;
    color: var(--ink-faint);
    font-size: .86rem;
}

.form-field {
    margin-bottom: 19px;
}

.form-field > label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: .8rem;
    font-weight: 750;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > svg {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 20px;
    color: #8ca09e;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    min-height: 52px;
    padding: 10px 48px 10px 46px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfb;
    outline: none;
}

.input-with-icon input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(22, 118, 111, .1);
}

.password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--ink-faint);
    border: 0;
    border-radius: 9px;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover {
    background: var(--surface-soft);
}

.password-toggle svg {
    width: 20px;
}

.btn-login {
    width: 100%;
    margin-top: 5px;
}

.login-help {
    margin-top: 22px;
    text-align: center;
}

/* Dashboard */
.admin-page {
    background: #f5f7f5;
}

.admin-page .page-content {
    width: min(calc(100% - 40px), 1320px);
}

.dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 52px 0 30px;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dashboard-heading h1,
.response-heading h1 {
    margin: 9px 0 4px;
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.dashboard-heading p,
.response-heading p {
    margin: 0;
    color: var(--ink-faint);
}

.btn-outline {
    flex: 0 0 auto;
    color: var(--teal-dark);
    border: 1px solid #b8d2cd;
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.metric-card {
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e1e8e5;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 54, 57, .04);
}

.metric-icon {
    flex: 0 0 auto;
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    color: var(--teal);
    border-radius: 15px;
    background: var(--teal-soft);
}

.metric-icon svg {
    width: 24px;
}

.metric-green {
    color: #3d7e58;
    background: #e5f3e8;
}

.metric-yellow {
    color: #98731a;
    background: #fff4d3;
}

.metric-card > div {
    display: flex;
    flex-direction: column;
}

.metric-card strong {
    font-family: Georgia, serif;
    font-size: 2.15rem;
    line-height: 1;
}

.metric-card span:last-child {
    margin-top: 7px;
    color: var(--ink-faint);
    font-size: .8rem;
    font-weight: 650;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    align-items: start;
    gap: 20px;
}

.dashboard-panel {
    overflow: hidden;
    border: 1px solid #e1e8e5;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 54, 57, .04);
}

.panel-heading {
    min-height: 81px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 23px;
    border-bottom: 1px solid #edf1ef;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1rem;
}

.panel-heading p {
    margin: 3px 0 0;
    color: var(--ink-faint);
    font-size: .75rem;
}

.response-count {
    padding: 5px 9px;
    color: var(--teal-dark);
    border-radius: 99px;
    background: var(--teal-soft);
    font-size: .68rem;
    font-weight: 750;
}

.summary-list {
    padding: 10px 18px 18px;
}

.summary-card {
    border-bottom: 1px solid #edf1ef;
}

.summary-card:last-child {
    border-bottom: 0;
}

.summary-card > summary {
    min-height: 88px;
    display: grid;
    grid-template-columns: 36px 1fr 22px;
    align-items: center;
    gap: 12px;
    padding: 13px 5px;
    list-style: none;
    cursor: pointer;
}

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

.summary-card .summary-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: .9rem;
}

.summary-card summary small,
.answer-detail-heading small {
    display: block;
    margin-bottom: 3px;
    color: var(--coral);
    font-size: .59rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.summary-card summary strong {
    display: block;
    font-size: .82rem;
    line-height: 1.35;
}

.summary-card summary > svg {
    width: 18px;
    color: var(--ink-faint);
    transition: transform .2s ease;
}

.summary-card[open] summary > svg {
    transform: rotate(180deg);
}

.summary-content {
    padding: 2px 8px 21px 52px;
}

.result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    column-gap: 13px;
    margin-top: 13px;
}

.result-label {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: .72rem;
}

.result-label strong {
    color: var(--teal-dark);
}

.result-track {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf1ef;
}

.result-track span {
    display: block;
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal), #5fb1a4);
}

.result-row > small {
    margin-top: -4px;
    color: var(--ink-faint);
    font-size: .63rem;
}

.empty-state {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    color: var(--ink-faint);
    text-align: center;
}

.empty-state > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--teal);
    border-radius: 18px;
    background: var(--teal-soft);
}

.empty-state svg {
    width: 27px;
}

.empty-state h3 {
    margin: 18px 0 5px;
    color: var(--ink);
    font-size: 1rem;
}

.empty-state p {
    max-width: 390px;
    margin: 0;
    font-size: .8rem;
}

.empty-state.compact {
    min-height: 150px;
}

.response-list {
    max-height: 720px;
    overflow-y: auto;
}

.response-item {
    min-height: 77px;
    display: grid;
    grid-template-columns: 39px 1fr auto 18px;
    align-items: center;
    gap: 11px;
    padding: 12px 20px;
    border-bottom: 1px solid #edf1ef;
    text-decoration: none;
    transition: background .18s ease;
}

.response-item:hover {
    background: #f7fbf9;
}

.response-avatar {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: var(--teal-dark);
    border-radius: 50%;
    background: var(--teal-soft);
}

.response-avatar svg {
    width: 19px;
}

.response-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.response-main strong {
    font-size: .78rem;
}

.response-main small {
    margin-top: 3px;
    color: var(--ink-faint);
    font-size: .65rem;
}

.comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 7px;
    color: #8a6919;
    border-radius: 99px;
    background: #fff2cf;
    font-size: .62rem;
    font-weight: 750;
}

.comment-badge svg,
.response-arrow {
    width: 14px;
}

.response-arrow {
    color: #a6b5b3;
}

/* Individual response */
.response-heading {
    padding: 42px 0 26px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 24px;
    color: var(--ink-soft);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    color: var(--teal);
}

.back-link svg {
    width: 17px;
}

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

.response-avatar.large {
    width: 58px;
    height: 58px;
}

.response-avatar.large svg {
    width: 26px;
}

.response-heading h1 {
    font-size: 2.35rem;
}

.confidential-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding: 14px 18px;
    color: #755818;
    border: 1px solid #f2dfaa;
    border-radius: 14px;
    background: #fff7df;
}

.confidential-note svg {
    flex: 0 0 auto;
    width: 21px;
}

.confidential-note p {
    margin: 0;
    font-size: .78rem;
}

.answer-detail-list {
    display: grid;
    gap: 14px;
}

.answer-detail-card {
    padding: 26px 28px;
    border: 1px solid #e1e8e5;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 5px 22px rgba(24, 54, 57, .035);
}

.answer-detail-heading {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
}

.answer-detail-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.3;
}

.selected-answer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 19px 0 0 56px;
    color: var(--teal-dark);
    font-size: .88rem;
    font-weight: 750;
}

.selected-answer > span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--teal);
}

.selected-answer svg {
    width: 15px;
    stroke-width: 2.4;
}

.answer-detail-card blockquote {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 9px;
    margin: 18px 0 0 56px;
    padding: 15px 17px;
    color: var(--ink-soft);
    border-left: 3px solid var(--coral);
    border-radius: 0 12px 12px 0;
    background: #fbf7f3;
}

.answer-detail-card blockquote svg {
    width: 22px;
    color: var(--coral);
}

.answer-detail-card blockquote p,
.no-comment {
    margin: 0;
    white-space: pre-wrap;
}

.no-comment {
    margin: 17px 0 0 56px;
    color: #98a7a5;
    font-size: .76rem;
    font-style: italic;
}

@media (max-width: 900px) {
    .survey-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 5px;
        padding-top: 54px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-art {
        min-height: 260px;
    }

    .hero-art > svg {
        width: 310px;
    }

    .orb-one {
        right: 28%;
    }

    .orb-two {
        left: 24%;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .recent-panel {
        order: -1;
    }

    .response-list {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .page-content,
    .site-footer > div,
    .admin-page .page-content {
        width: min(calc(100% - 28px), var(--content));
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand small {
        display: none;
    }

    .admin-link {
        padding-inline: 10px;
        font-size: .78rem;
    }

    .site-footer > div {
        min-height: 94px;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }

    .survey-hero {
        padding: 43px 0 26px;
    }

    .hero-copy h1 {
        margin-top: 16px;
        font-size: clamp(2.55rem, 12vw, 3.8rem);
    }

    .hero-copy > p {
        font-size: .98rem;
    }

    .hero-meta {
        margin-top: 23px;
    }

    .hero-meta span {
        min-height: 39px;
        font-size: .76rem;
    }

    .hero-art {
        min-height: 225px;
    }

    .hero-art > svg {
        width: 270px;
    }

    .orb-one {
        width: 48px;
        height: 48px;
    }

    .orb-two {
        width: 30px;
        height: 30px;
        border-width: 7px;
    }

    .privacy-note {
        align-items: flex-start;
        margin-bottom: 27px;
        padding: 15px;
        border-radius: 16px;
    }

    .privacy-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .privacy-note p {
        font-size: .78rem;
    }

    .question-card {
        padding: 25px 18px 22px;
        border-radius: 21px;
        box-shadow: 0 15px 45px rgba(28, 61, 62, .1);
    }

    .company-card {
        padding: 25px 18px 22px;
        border-radius: 21px;
        box-shadow: 0 15px 45px rgba(28, 61, 62, .1);
    }

    .company-actions .btn-next {
        width: 100%;
    }

    .question-heading {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        margin-bottom: 21px;
    }

    .question-number {
        width: 37px;
        height: 37px;
        border-radius: 11px;
        font-size: 1rem;
    }

    .question-heading legend {
        font-size: 1.4rem;
    }

    .question-heading p {
        font-size: .8rem;
    }

    .answer-option {
        min-height: 55px;
        padding: 11px 14px;
        font-size: .9rem;
    }

    .question-actions {
        margin-top: 25px;
    }

    .btn-next,
    .btn-submit {
        min-height: 52px;
        padding-inline: 18px;
    }

    .success-page .page-content,
    .login-page .page-content {
        padding-block: 30px;
    }

    .success-card,
    .text-page {
        padding: 35px 23px;
        border-radius: 22px;
    }

    .login-shell {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .login-visual {
        min-height: 260px;
        padding: 36px 28px;
    }

    .login-visual h1 {
        max-width: 330px;
        margin-top: 18px;
        font-size: 2.3rem;
    }

    .login-visual p {
        max-width: 330px;
        font-size: .85rem;
    }

    .login-art {
        width: 70%;
        opacity: .72;
    }

    .login-panel {
        padding: 35px 25px 38px;
    }

    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 38px;
    }

    .dashboard-heading .btn-outline,
    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions {
        justify-content: stretch;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

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

    .summary-list {
        padding-inline: 12px;
    }

    .summary-content {
        padding-left: 3px;
    }

    .summary-card > summary {
        grid-template-columns: 34px 1fr 18px;
        gap: 10px;
    }

    .summary-card summary strong {
        font-size: .76rem;
    }

    .response-item {
        padding-inline: 14px;
    }

    .answer-detail-card {
        padding: 21px 18px;
    }

    .answer-detail-heading {
        grid-template-columns: 36px 1fr;
        gap: 11px;
    }

    .answer-detail-heading .summary-number {
        width: 36px;
        height: 36px;
    }

    .selected-answer,
    .answer-detail-card blockquote,
    .no-comment {
        margin-left: 47px;
    }
}

@media (max-width: 430px) {
    .admin-link svg {
        display: none;
    }

    .header-nav a,
    .header-nav button {
        padding-inline: 8px;
        font-size: .75rem;
    }

    .question-actions {
        align-items: stretch;
    }

    .btn-back {
        padding-inline: 7px;
        font-size: .83rem;
    }

    .btn-next,
    .btn-submit {
        flex: 1;
        font-size: .87rem;
    }

    .survey-footer-note {
        align-items: flex-start;
        text-align: left;
    }

    .response-item {
        grid-template-columns: 36px 1fr auto;
    }

    .response-arrow {
        display: none;
    }

    .answer-detail-card blockquote {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
