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

:root {
    --navy-950: #061529;
    --navy-900: #0a1f3b;
    --navy-800: #102b52;
    --navy-700: #153a6f;
    --navy-100: #eaf1fb;
    --blue-600: #1d4f91;
    --blue-100: #eaf2ff;
    --gold-500: #d7a541;
    --gold-100: #fff7df;
    --white: #ffffff;
    --soft-white: #f7f9fc;
    --line: #d8e2f0;
    --line-strong: #c8d6ea;
    --text: #172235;
    --muted: #60708a;
    --success: #1b7f5f;
    --danger: #ba2f3c;
    --warning-bg: #fff6f5;
    --shadow: 0 18px 46px rgba(6, 21, 41, 0.10);
    --shadow-soft: 0 8px 22px rgba(6, 21, 41, 0.08);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 12px;
    --max-width: 1160px;
    --focus: 0 0 0 4px rgba(21, 58, 111, 0.18);
    --page-gutter: 32px;
    --shell-top-gap: 34px;
    --footer-gap: 96px;
    --page-bottom-gap: 64px;
    --step-min-height: 568px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(21, 58, 111, 0.10), transparent 32rem),
        radial-gradient(circle at top right, rgba(29, 79, 145, 0.08), transparent 30rem),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 52%, var(--white) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(16, 43, 82, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 43, 82, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
}

.site-header {
    width: calc(100% - var(--page-gutter));
    max-width: var(--max-width);
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--navy-950);
    text-decoration: none;
    padding: 8px 10px 8px 8px;
    border-radius: 20px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.brand:hover {
    background: rgba(255, 255, 255, 0.74);
    transform: translateY(-1px);
}

.brand__mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(200, 214, 234, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(10, 31, 59, 0.18);
    overflow: hidden;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__text strong {
    font-size: 1rem;
    line-height: 1.1;
}

.brand__text small {
    color: var(--muted);
}

.admin-reveal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, #8f1421, var(--danger));
    box-shadow: 0 12px 22px rgba(186, 47, 60, 0.22);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-reveal-button[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero {
    width: calc(100% - var(--page-gutter));
    max-width: var(--max-width);
    margin: 64px auto 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.hero[data-active="false"] {
    display: none;
}

.hero--step {
    width: 100%;
    margin: 0;
    min-height: var(--step-min-height);
}

.hero__content,
.hero__card,
.form-shell,
.thank-you__card {
    border: 1px solid rgba(200, 214, 234, 0.86);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.hero__content {
    padding: clamp(30px, 5vw, 56px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.hero__content > * {
    position: relative;
    z-index: 1;
}

.hero__content::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(21, 58, 111, 0.09);
    pointer-events: none;
    z-index: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--navy-700);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: var(--navy-950);
    font-size: clamp(2.25rem, 5.8vw, 4.75rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.hero__lead {
    margin-bottom: 18px;
    color: var(--navy-800);
    font-size: clamp(1.12rem, 2vw, 1.52rem);
    font-weight: 800;
}

.hero__text {
    max-width: 760px;
    color: #40526a;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero__card {
    min-height: 100%;
    padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 34px);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        linear-gradient(150deg, rgba(6, 21, 41, 0.98), rgba(29, 79, 145, 0.95)),
        var(--navy-900);
    position: relative;
    overflow: hidden;
}

.hero__card > * {
    position: relative;
    z-index: 1;
}

.hero__card::after {
    content: "";
    position: absolute;
    right: -152px;
    bottom: -84px;
    width: 440px;
    height: 440px;
    background: url("../../img/UPO.png") center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: 0.16;
    pointer-events: none;
}

.hero__card h2 {
    margin-bottom: 12px;
    font-size: 1.42rem;
    letter-spacing: -0.02em;
}

.hero__card p {
    max-width: 310px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.72;
}

.form-shell {
    width: calc(100% - var(--page-gutter));
    max-width: var(--max-width);
    margin: var(--shell-top-gap) auto var(--footer-gap);
    padding: clamp(16px, 2.8vw, 28px);
    border-radius: var(--radius-lg);
    min-width: 0;
    overflow: hidden;
}

.alert {
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    line-height: 1.55;
}

.alert strong {
    display: block;
    margin-bottom: 8px;
}

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

.alert--error {
    color: #8a1f2b;
    border: 1px solid rgba(186, 47, 60, 0.24);
    background: var(--warning-bg);
}

.survey-form {
    display: grid;
    gap: 22px;
    min-width: 0;
}

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

.form-intro,
.form-section {
    margin: 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: var(--radius-lg);
    background: #ffffff;
    min-width: 0;
}

.form-intro,
.form-section {
    display: none;
}

.form-intro[data-active="true"],
.form-section[data-active="true"] {
    display: block;
    min-height: var(--step-min-height);
    animation: step-in 0.2s ease-out;
}

.hero--step[data-active="true"] {
    animation: step-in 0.2s ease-out;
}

.form-intro h2 {
    margin-bottom: 18px;
    color: var(--navy-950);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.form-intro p {
    max-width: 860px;
    color: var(--navy-800);
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.form-intro ul {
    display: grid;
    gap: 14px;
    max-width: 840px;
    margin: 26px 0 0;
    padding: 0;
    color: var(--navy-800);
    line-height: 1.6;
    list-style: none;
}

.form-intro li {
    position: relative;
    padding: 16px 18px 16px 48px;
    border: 1px solid rgba(21, 58, 111, 0.12);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
    font-size: 1.02rem;
    font-weight: 700;
}

.form-intro li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--navy-950), var(--blue-600));
    box-shadow: 0 0 0 5px rgba(21, 58, 111, 0.10);
}

.form-section legend {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    color: var(--navy-950);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.form-section legend span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    color: var(--white);
    font-size: 0.88rem;
    background: linear-gradient(145deg, var(--navy-950), var(--blue-600));
}

.section-help {
    margin: 14px 0 28px;
    color: var(--navy-950);
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    font-weight: 900;
    line-height: 1.45;
}

.field-group {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.field-label {
    margin: 0;
    color: var(--navy-950);
    font-weight: 850;
}

.option-grid,
.category-grid,
.form-row {
    display: grid;
    gap: 14px;
}

.form-section > .form-row {
    margin-bottom: 28px;
}

.option-grid--two,
.form-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.option-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.option-card,
.category-card {
    position: relative;
    display: flex;
    min-height: 100%;
    min-width: 0;
    gap: 14px;
    padding: 18px 48px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.option-card--tall {
    min-height: 156px;
}

.option-card:hover,
.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 58, 111, 0.36);
    box-shadow: 0 10px 24px rgba(6, 21, 41, 0.08);
}

.option-card input,
.category-card input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.option-card span,
.category-card span {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.option-card strong,
.category-card strong {
    color: var(--navy-950);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.option-card small,
.category-card small,
.field small {
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.option-card:has(input:checked),
.category-card:has(input:checked) {
    border-color: rgba(21, 58, 111, 0.72);
    background: linear-gradient(180deg, #f2f7ff, #ffffff);
    box-shadow: 0 12px 26px rgba(21, 58, 111, 0.12);
}

.option-card:has(input:checked)::after,
.category-card:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
    background: linear-gradient(145deg, var(--navy-950), var(--blue-600));
}

.conditional-panel {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed rgba(21, 58, 111, 0.34);
    border-radius: var(--radius-md);
    background: #f8fbff;
}

.conditional-panel[data-active="true"] {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.field--calendar {
    max-width: none;
    margin: 0;
}

.field span {
    color: var(--navy-950);
    font-weight: 800;
}

.field em {
    color: var(--muted);
    font-style: normal;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
input[type="search"],
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 15px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
    min-height: 180px;
    overflow: hidden;
    resize: none;
    line-height: 1.62;
}

select {
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, var(--navy-800) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
        linear-gradient(135deg, var(--navy-800) 50%, transparent 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
        var(--white);
    padding-right: 38px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy-700);
    background: #ffffff;
    box-shadow: var(--focus);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    box-shadow: 0 0 0 1000px #f6f8fb inset;
    border-color: var(--line-strong);
    caret-color: var(--text);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger);
    background: #fffafa;
}

.date-picker {
    position: relative;
    display: grid;
    gap: 10px;
    width: 100%;
}

.date-picker__trigger {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--navy-950);
    background: linear-gradient(180deg, #f2f7ff, #ffffff);
    cursor: pointer;
    text-align: center;
    font-weight: 900;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.date-picker__trigger::after {
    content: "▾";
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    background: linear-gradient(145deg, var(--navy-950), var(--blue-600));
}

.date-picker__trigger:hover,
.date-picker__trigger:focus {
    border-color: var(--navy-700);
    box-shadow: var(--focus);
    outline: none;
}

.date-picker__panel {
    display: none;
    gap: 12px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    z-index: 20;
    width: min(360px, calc(100vw - 40px));
    padding: 0 0 14px;
    border: 1px solid rgba(200, 214, 234, 0.96);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 16px 42px rgba(6, 21, 41, 0.16);
    overflow: hidden;
    transform: translateX(-50%);
}

.date-picker[data-open="true"] .date-picker__panel {
    display: grid;
    animation: date-picker-in 0.16s ease-out;
}

.date-picker[data-open="true"] .date-picker__trigger::after {
    content: "▴";
}

.date-picker__header {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
}

.date-picker__header strong {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.date-picker__nav,
.date-picker__clear,
.date-picker__day {
    border: 0;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.date-picker__nav {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.35rem;
    font-weight: 900;
}

.date-picker__nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.date-picker__nav:active,
.date-picker__day:active {
    transform: scale(0.96);
}

.date-picker__weekdays,
.date-picker__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 0 12px;
}

.date-picker__weekdays span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.date-picker__day {
    aspect-ratio: 1;
    border-radius: 12px;
    color: var(--navy-950);
    background: #f8fbff;
    font-weight: 800;
    min-height: 38px;
}

.date-picker__day:hover {
    background: var(--blue-100);
}

.date-picker__day.is-muted {
    color: #9aa8ba;
    background: #f7f9fc;
}

.date-picker__day.is-disabled,
.date-picker__nav.is-disabled {
    color: #b6c1cf;
    background: #f3f6fa;
    cursor: not-allowed;
    opacity: 0.62;
}

.date-picker__day.is-disabled:hover,
.date-picker__nav.is-disabled:hover {
    background: #f3f6fa;
    box-shadow: none;
    transform: none;
}

.date-picker__day.is-today {
    box-shadow: inset 0 0 0 2px rgba(21, 58, 111, 0.24);
}

.date-picker__day.is-selected {
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-950), var(--blue-600));
    box-shadow: 0 10px 20px rgba(10, 31, 59, 0.18);
}

.date-picker__clear {
    justify-self: center;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--navy-800);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 900;
}

.date-picker__clear:hover {
    background: var(--blue-100);
}

.button:focus-visible,
.date-picker__trigger:focus-visible,
.date-picker__day:focus-visible,
.date-picker__nav:focus-visible,
.date-picker__clear:focus-visible {
    box-shadow: var(--focus);
}

.field-error {
    color: var(--danger);
    font-size: 0.88rem;
    font-weight: 700;
}

.counter {
    justify-self: end;
}

.commitment-card {
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    color: var(--navy-950);
    background: linear-gradient(135deg, #fff8e8, #ffffff);
    border: 1px solid #f2dfaa;
}

.commitment-card p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.commitment-card strong {
    color: var(--navy-700);
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #fbfdff;
    border: 1px solid var(--line);
    color: #394963;
    line-height: 1.55;
    cursor: pointer;
}

.consent input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--navy-700);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    padding: 8px 2px 0;
}

.form-actions[data-active="false"] {
    display: none;
}

.step-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.step-actions--end {
    justify-content: flex-end;
}

.step-actions > .button,
.form-actions > .button {
    flex: 0 1 auto;
    max-width: 100%;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
    box-shadow: 0 10px 22px rgba(10, 31, 59, 0.20);
}

.button--ghost {
    color: var(--navy-900);
    background: var(--white);
    border-color: var(--line-strong);
}

.button--ghost:hover {
    border-color: rgba(21, 58, 111, 0.38);
    background: #f5f8fc;
}

.button--danger {
    color: var(--white);
    background: linear-gradient(135deg, #9d1f2b, var(--danger));
    border-color: rgba(186, 47, 60, 0.20);
    box-shadow: 0 10px 20px rgba(186, 47, 60, 0.16);
}

.button--danger:hover {
    background: linear-gradient(135deg, #861721, #a92935);
    box-shadow: 0 12px 24px rgba(186, 47, 60, 0.20);
}

.site-footer {
    width: calc(100% - var(--page-gutter));
    max-width: var(--max-width);
    margin: 0 auto var(--page-bottom-gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes date-picker-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.thank-you-page {
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.thank-you {
    width: min(680px, 100%);
}

.thank-you__card {
    padding: clamp(30px, 6vw, 58px);
    border-radius: var(--radius-lg);
    text-align: center;
}

.success-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--success), #28a176);
}

.mailbox-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    position: relative;
    color: var(--white);
}

.mailbox-icon__box {
    width: 66px;
    height: 44px;
    display: block;
    border-radius: 28px 28px 12px 12px;
    background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
    box-shadow: 0 14px 28px rgba(10, 31, 59, 0.22);
    position: relative;
}

.mailbox-icon__box::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 14px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
}

.mailbox-icon__flag {
    width: 20px;
    height: 30px;
    position: absolute;
    right: 13px;
    top: 16px;
    border-radius: 4px 4px 2px 2px;
    background: #d8e0ea;
    box-shadow: 0 4px 10px rgba(10, 31, 59, 0.18);
}

.mailbox-icon__post {
    width: 9px;
    height: 36px;
    position: absolute;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--navy-700), var(--navy-950));
}

.thank-you__card h1 {
    color: var(--navy-950);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.thank-you__card p {
    color: #465872;
    line-height: 1.7;
}

.thank-you__redirect {
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.folio-box {
    display: grid;
    gap: 8px;
    margin: 26px auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #f7fbff;
}

.folio-box span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.folio-box strong {
    color: var(--navy-950);
    font-size: 1.18rem;
    word-break: break-word;
}

.admin-page {
    min-height: 100vh;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 16px;
}

.admin-login__card,
.admin-shell {
    width: min(var(--max-width), calc(100% - var(--page-gutter)));
}

.admin-login__card {
    max-width: 500px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    text-align: center;
}

.admin-login__brand {
    justify-content: center;
    margin: 0 auto 24px;
}

.admin-login__card h1 {
    margin-bottom: 12px;
    color: var(--navy-950);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.admin-title h1 {
    max-width: 780px;
    margin-bottom: 16px;
    color: var(--navy-950);
    font-size: clamp(2.45rem, 4.8vw, 4.05rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.admin-login__lead {
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.55;
}

.admin-form {
    display: grid;
    gap: 15px;
    text-align: center;
}

.admin-form .field {
    text-align: center;
}

.admin-form input {
    text-align: center;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-left: 54px;
    padding-right: 54px;
}

.password-toggle {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--navy-800);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.password-toggle:hover {
    background: var(--blue-100);
}

.password-toggle:focus-visible {
    box-shadow: var(--focus);
}

.password-toggle span {
    width: 22px;
    height: 14px;
    position: relative;
    display: block;
    border: 2px solid currentColor;
    border-radius: 999px / 70%;
}

.password-toggle span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.password-toggle[aria-pressed="true"] span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-36deg);
}

.admin-login__button {
    width: 100%;
    margin-top: 4px;
}

.admin-header {
    width: calc(100% - var(--page-gutter));
    max-width: var(--max-width);
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-session {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.admin-shell {
    margin: 34px auto 64px;
    display: grid;
    gap: 22px;
}

.admin-shell--dashboard {
    gap: 26px;
}

.admin-title {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.admin-title__lead {
    max-width: 760px;
    margin: 0;
    color: #40526a;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.65;
}

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

.admin-title--compact h1 {
    margin-bottom: 0;
}

.admin-title--compact > p {
    margin-bottom: 0;
    color: var(--muted);
    font-weight: 850;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-stats article,
.admin-report,
.admin-empty {
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.admin-stats article {
    padding: 20px;
    text-align: center;
}

.admin-stats span,
.admin-report dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    color: var(--navy-950);
    font-size: 2rem;
    line-height: 1;
}

.admin-stats--charts {
    align-items: stretch;
}

.admin-metric {
    min-height: 190px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    text-align: left;
}

.admin-metric__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-metric__top strong {
    margin: 0;
    font-size: 1.85rem;
}

.admin-metric p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.admin-metric__bar {
    height: 16px;
    display: flex;
    align-self: center;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff8;
    box-shadow: inset 0 0 0 1px rgba(200, 214, 234, 0.78);
}

.admin-metric__bar i,
.admin-metric__bar b {
    display: block;
    min-width: 0;
}

.admin-metric__bar i {
    background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
}

.admin-metric__bar b {
    background: linear-gradient(135deg, #2f78bd, #75a7df);
}

.admin-meter {
    --value: 0;
    width: 96px;
    aspect-ratio: 1;
    place-self: center;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background:
        conic-gradient(var(--navy-700) calc(var(--value) * 1%), #e8eff8 0);
    box-shadow: inset 0 0 0 1px rgba(200, 214, 234, 0.82);
}

.admin-meter::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(216, 226, 240, 0.85);
}

.admin-meter span {
    position: relative;
    z-index: 1;
    color: var(--navy-950);
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: 0;
}

.admin-meter--contact {
    background:
        conic-gradient(#2f78bd calc(var(--value) * 1%), #e8eff8 0);
}

.admin-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1.18fr) repeat(2, minmax(210px, 0.9fr)) minmax(220px, 0.86fr);
    gap: 14px;
    align-items: stretch;
}

.admin-overview > article {
    min-height: 190px;
    padding: 18px;
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 34px rgba(6, 21, 41, 0.08);
}

.admin-overview__summary {
    display: grid;
    gap: 18px;
}

.admin-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.admin-card__header div {
    display: grid;
    gap: 6px;
}

.admin-card__header--center {
    justify-content: center;
    text-align: center;
}

.admin-card__header span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-card__header strong {
    color: var(--navy-950);
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1.05;
}

.admin-card__header small {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--navy-800);
    background: var(--blue-100);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-bars {
    height: 92px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 9px;
    padding-top: 8px;
}

.admin-bars i {
    display: block;
    min-height: 18px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--navy-700), var(--blue-600));
    box-shadow: 0 10px 20px rgba(21, 58, 111, 0.16);
}

.admin-bars i:nth-child(2n) {
    background: linear-gradient(180deg, #75a7df, #4f86c5);
    box-shadow: 0 10px 20px rgba(79, 134, 197, 0.16);
}

.admin-bars i:nth-child(3n) {
    background: linear-gradient(180deg, #dceafd, #b9d3f4);
    box-shadow: none;
}

.admin-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #f3f8ff;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 850;
}

.admin-split span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--navy-800);
}

.admin-split time {
    color: var(--navy-950);
    font-size: 0.92rem;
    font-weight: 950;
}

.admin-split b {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 999px;
    background: var(--navy-700);
}

.admin-split time::before {
    content: "";
    width: 9px;
    height: 9px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 999px;
    background: #75a7df;
}

.admin-overview__card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 14px;
    overflow: hidden;
}

.admin-overview__card .admin-card__header strong {
    font-size: 2.1rem;
}

.admin-overview__card p,
.admin-overview__activity p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.45;
}

.admin-sparkline {
    width: 100%;
    min-height: 64px;
    align-self: center;
    overflow: visible;
}

.admin-sparkline path {
    fill: none;
    stroke: var(--navy-700);
    stroke-linecap: round;
    stroke-width: 5;
    filter: drop-shadow(0 8px 10px rgba(21, 58, 111, 0.18));
}

.admin-sparkline--contact path {
    stroke: #2f78bd;
    filter: drop-shadow(0 8px 10px rgba(47, 120, 189, 0.18));
}

.admin-overview__activity {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    gap: 12px;
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0%, rgba(117, 167, 223, 0.30), transparent 46%),
        linear-gradient(145deg, var(--navy-950), var(--blue-600)) !important;
}

.admin-overview__activity .admin-card__header span,
.admin-overview__activity p,
.admin-overview__activity small {
    color: rgba(255, 255, 255, 0.74);
}

.admin-overview__activity .admin-card__header strong {
    color: var(--white);
    font-size: 1.72rem;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.admin-overview__activity small {
    align-self: end;
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-calendar-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "day"
        "date"
        "time";
    justify-items: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    align-self: center;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    text-align: center;
}

.admin-calendar-card strong {
    grid-area: day;
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 950;
    line-height: 0.95;
}

.admin-calendar-card > span:last-child {
    grid-area: date;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 900;
}

.admin-calendar-card time {
    grid-area: time;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 950;
}

.admin-empty {
    padding: clamp(28px, 5vw, 42px);
    border: 1px dashed rgba(21, 58, 111, 0.28);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    box-shadow: 0 14px 32px rgba(6, 21, 41, 0.07);
    text-align: center;
}

.admin-empty h2 {
    margin-bottom: 8px;
    color: var(--navy-950);
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
}

.admin-empty p {
    margin-bottom: 0;
    color: var(--muted);
}

.admin-report-list {
    display: grid;
    gap: 12px;
}

.admin-report-row {
    overflow: hidden;
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 30px rgba(6, 21, 41, 0.07);
}

.admin-report-row__summary {
    min-height: 92px;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(260px, 1.1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.admin-report-row__summary::-webkit-details-marker {
    display: none;
}

.admin-report-row__summary::marker {
    content: "";
}

.admin-report-row__summary:hover,
.admin-report-row[open] .admin-report-row__summary {
    background: #f8fbff;
}

.admin-report-row[open] .admin-report-row__summary {
    box-shadow: inset 0 -1px 0 var(--line);
}

.admin-report-row__identity {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.admin-report-row__identity span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-report-row__identity strong {
    color: var(--navy-950);
    font-size: 1.04rem;
    font-weight: 950;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.admin-report-row__badges {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-report-row__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--navy-800);
    background: #edf5ff;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-report-row__badges span:first-child {
    background: #f3f8ff;
    box-shadow: inset 0 0 0 1px rgba(185, 211, 244, 0.8);
}

.admin-report-row__meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
    white-space: nowrap;
}

.admin-report-row__chevron {
    width: 34px;
    height: 34px;
    position: relative;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #f3f8ff;
    transition: transform 0.18s ease, background 0.18s ease;
}

.admin-report-row__chevron::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--navy-700);
    border-bottom: 2px solid var(--navy-700);
    transform: rotate(45deg) translate(-1px, -1px);
}

.admin-report-row[open] .admin-report-row__chevron {
    background: var(--blue-100);
    transform: rotate(180deg);
}

.admin-report-row__detail {
    display: grid;
    gap: 16px;
    padding: 20px 22px 22px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-detail-panel,
.admin-description-panel {
    padding: 18px;
    border: 1px solid rgba(200, 214, 234, 0.78);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.admin-detail-panel h3,
.admin-description-panel h3 {
    margin: 0 0 14px;
    color: var(--navy-950);
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-detail-panel dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.admin-detail-panel dl > div {
    display: grid;
    grid-template-columns: minmax(112px, 0.7fr) minmax(0, 1.3fr);
    gap: 12px;
}

.admin-detail-panel dt {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.admin-detail-panel dd {
    margin: 0;
    color: var(--navy-950);
    font-size: 0.9rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.admin-detail-panel dd span {
    color: var(--muted);
    font-weight: 700;
}

.admin-detail-panel a {
    color: var(--blue-600);
    font-weight: 900;
    text-decoration: none;
}

.admin-detail-panel a:hover {
    text-decoration: underline;
}

.admin-anonymous-note {
    position: relative;
    isolation: isolate;
    min-height: 132px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px dashed rgba(79, 134, 197, 0.42);
    border-radius: 16px;
    color: var(--navy-800);
    background: #f3f8ff;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
    overflow: hidden;
}

.admin-anonymous-note::before {
    content: "";
    position: absolute;
    width: 138px;
    height: 138px;
    right: -28px;
    bottom: -24px;
    z-index: -1;
    opacity: 0.12;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23153a6f' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 60s17-28 46-28 46 28 46 28-17 28-46 28S14 60 14 60Z'/%3E%3Ccircle cx='60' cy='60' r='13'/%3E%3Cpath d='M24 96 96 24'/%3E%3C/g%3E%3C/svg%3E");
}

.admin-description-panel p {
    margin: 0;
    color: #40526a;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.7;
    white-space: pre-wrap;
}

.admin-table-card {
    display: grid;
    gap: 14px;
}

.admin-list-title,
.admin-row {
    border: 1px solid rgba(200, 214, 234, 0.92);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-soft);
}

.admin-list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    text-align: left;
}

.admin-list-title h2 {
    margin: 0 0 6px;
    color: var(--navy-950);
    font-size: clamp(1.6rem, 2.8vw, 2.15rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.035em;
}

.admin-list-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.admin-list-title > span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--navy-950);
    background: #edf4fc;
    font-size: 0.82rem;
    font-weight: 950;
}

.admin-row {
    overflow: hidden;
}

.admin-row__summary {
    display: grid;
    grid-template-columns: minmax(190px, 0.95fr) minmax(280px, 1.5fr) minmax(112px, auto) 34px;
    gap: 18px;
    align-items: center;
    min-height: 92px;
    padding: 20px 24px;
    color: var(--navy-950);
    cursor: pointer;
    list-style: none;
    text-align: left;
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.admin-row__summary::-webkit-details-marker {
    display: none;
}

.admin-row__summary::marker {
    content: "";
}

.admin-row__summary:hover {
    background: #f8fbff;
}

.admin-row[open] .admin-row__summary {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    box-shadow: inset 0 -1px 0 var(--line);
}

.admin-row__identity,
.admin-row__badges {
    min-width: 0;
}

.admin-row__identity {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.admin-row__identity strong {
    color: var(--navy-950);
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.admin-row__folio {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--navy-950);
    background: #edf4fc;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.admin-row__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.admin-chip {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--navy-950);
    background: #eef4fb;
    font-size: 0.8rem;
    font-weight: 950;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.admin-chip--contact {
    background: #f5f8fc;
    border: 1px solid var(--line);
}

.admin-chip--report {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
}

.admin-row__date {
    justify-self: end;
    color: #61728e;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-row__chevron {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    background: #eef4fb;
    transition: background 0.16s ease;
}

.admin-row__chevron::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--navy-700);
    border-bottom: 2px solid var(--navy-700);
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.16s ease, border-color 0.16s ease;
}

.admin-row[open] .admin-row__chevron {
    background: #fff1f2;
}

.admin-row[open] .admin-row__chevron::after {
    border-color: var(--danger);
    transform: rotate(-135deg) translate(-1px, -1px);
}

.admin-row__body {
    display: grid;
    gap: 14px;
    padding: 24px;
    background:
        linear-gradient(180deg, #fbfdff, #ffffff);
}

.admin-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-950);
    font-size: 0.9rem;
    font-weight: 950;
}

.admin-section-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.admin-report__meta,
.admin-report__contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-report__meta > div,
.admin-report__contact > div {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    text-align: left;
}

.admin-report dt {
    color: var(--navy-950);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-report dd {
    margin: 0;
    color: #40526a;
    font-weight: 800;
    line-height: 1.4;
}

.admin-report__contact {
    margin-top: 0;
    padding: 0;
    border: 1px dashed rgba(21, 58, 111, 0.22);
    border-radius: var(--radius-lg);
    background: transparent;
    border: 0;
}

.admin-report__detail {
    margin-top: 0;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--navy-700);
}

.admin-report__detail h3 {
    margin: 0 0 10px;
    color: var(--navy-950);
    font-size: 1rem;
}

.admin-report__detail p {
    margin-bottom: 0;
    color: #3c4d66;
    line-height: 1.7;
}

@media (max-width: 920px) {
    .hero,
    .option-grid--three,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        margin-top: 36px;
    }

    .hero--step {
        margin: 0;
    }

    .hero__card {
        min-height: 280px;
    }

    .admin-title--compact {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .admin-overview__summary {
        grid-column: 1 / -1;
    }

    .admin-list-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-report-row__summary {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

    .admin-report-row__meta {
        width: 100%;
        justify-content: space-between;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-row__summary {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
        padding: 20px;
    }

    .admin-row__badges {
        justify-content: flex-start;
    }

    .admin-row__date,
    .admin-row__chevron {
        justify-self: end;
    }

    .admin-row__body {
        padding: 18px;
    }
}

@media (max-width: 680px) {
    :root {
        --page-gutter: 22px;
        --shell-top-gap: 24px;
        --footer-gap: 64px;
        --page-bottom-gap: 42px;
        --step-min-height: auto;
    }

    body {
        text-align: center;
    }

    .brand__mark {
        width: 48px;
        height: 48px;
    }

    .brand {
        margin: 0 auto;
        text-align: left;
    }

    .hero {
        gap: 14px;
        justify-items: center;
    }

    .hero h1 {
        margin-inline: auto;
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .admin-title h1 {
        font-size: clamp(2.1rem, 12vw, 3rem);
    }

    .admin-title__lead {
        font-size: 0.98rem;
    }

    .admin-overview {
        grid-template-columns: 1fr;
    }

    .admin-overview > article {
        min-height: 0;
        padding: 16px;
    }

    .admin-bars {
        height: 78px;
    }

    .admin-report-row__summary,
    .admin-report-row__detail {
        padding-inline: 16px;
    }

    .admin-detail-panel dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hero__text,
    .hero__lead,
    .form-intro p,
    .section-help {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__content,
    .hero__card,
    .form-intro,
    .form-section {
        border-radius: 22px;
    }

    .hero__content,
    .hero__card {
        width: 100%;
        text-align: center;
    }

    .hero__content::after {
        right: 50%;
        bottom: -130px;
        transform: translateX(50%);
    }

    .hero__card {
        display: grid;
        justify-items: center;
    }

    .form-shell {
        padding: 14px;
    }

    .form-intro,
    .form-section {
        padding: 24px 18px;
    }

    .form-intro h2 {
        font-size: clamp(2.25rem, 11vw, 3rem);
    }

    .form-intro ul {
        text-align: left;
    }

    .form-section legend {
        justify-content: center;
        width: 100%;
        padding: 0;
    }

    .option-card,
    .category-card {
        text-align: left;
    }

    .field,
    .field-group,
    .conditional-panel,
    .commitment-card,
    .consent {
        text-align: left;
    }

    .field--calendar {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .date-picker__panel {
        padding-bottom: 12px;
        width: min(340px, calc(100vw - 34px));
    }

    .date-picker__weekdays,
    .date-picker__grid {
        gap: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .date-picker__day {
        border-radius: 10px;
        font-size: 0.88rem;
    }

    .counter {
        justify-self: center;
    }

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

    .form-section > .form-row {
        margin-bottom: 24px;
    }

    .form-actions,
    .step-actions,
    .site-footer,
    .admin-header,
    .admin-session {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .site-header {
        justify-content: center;
    }

    .admin-reveal-button {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        width: min(280px, calc(100vw - 34px));
    }

    .admin-reveal-button[data-visible="true"] {
        transform: translateX(-50%) translateY(0);
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-report__header {
        flex-direction: column;
    }

    .admin-report__header time {
        white-space: normal;
    }

    .hero .step-actions {
        align-items: stretch;
        justify-content: center;
        width: 100%;
    }

    .hero .step-actions--end {
        justify-content: center;
    }

    .button {
        width: 100%;
    }
}

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