:root {
    --sea-900: #064f57;
    --sea-700: #087985;
    --sea-500: #0aa6b5;
    --sea-200: #b9eee8;
    --foam: #eefdf8;
    --sun: #f7c948;
    --lemon: #ffe37a;
    --coral: #ef6950;
    --coral-dark: #bb3d32;
    --tomato: #d94335;
    --olive: #637a46;
    --ink: #14343a;
    --paper: #fff8e6;
    --white: #ffffff;
    --line: #b9d8d2;
    --shadow: rgba(8, 67, 73, 0.24);
    --radius: 8px;
}

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

.response-admin-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(150, 229, 223, 0.16);
    background:
        linear-gradient(180deg, rgba(31, 105, 131, 0.18), rgba(10, 62, 82, 0.1)),
        rgba(10, 58, 79, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.response-admin-card__title {
    display: grid;
    gap: 4px;
}

.response-admin-card__title strong {
    font-size: 1.2rem;
    line-height: 1.2;
    color: #ffffff;
}

.response-admin-card__title span {
    color: rgba(226, 240, 247, 0.86);
    font-weight: 700;
}

.response-admin-card__detail-toggle {
    width: 100%;
    justify-content: center;
}

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

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

.response-admin-card__meta-item,
.response-admin-card__section,
.response-editor__group {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(150, 229, 223, 0.12);
    background: rgba(255, 255, 255, 0.035);
}

.response-admin-card__meta-item {
    display: grid;
    gap: 8px;
}

.response-admin-card__meta-item span,
.response-person-card__row span,
.response-admin-card__section h3,
.response-editor__group h3 {
    color: #ffd566;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.83rem;
}

.response-admin-card__meta-item strong,
.response-admin-card__meta-item a,
.response-admin-card__legacy-note,
.response-admin-card__empty {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.response-admin-card__meta-item a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.response-admin-card__section {
    display: grid;
    gap: 14px;
}

.response-admin-card__section h3,
.response-editor__group h3 {
    margin: 0;
}

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

.response-person-card {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(150, 229, 223, 0.1);
}

.response-person-card__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.response-person-card__row strong {
    color: #ffffff;
    font-weight: 800;
    text-align: right;
}

.response-admin-card__actions,
.response-editor__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.response-admin-card__delete-form {
    margin: 0;
}

.response-admin-card__delete-form,
.response-admin-card__delete-button,
.response-editor__actions .button {
    width: 100%;
}

.response-editor {
    display: grid;
    gap: 18px;
    padding-top: 6px;
}

.response-editor__grid,
.response-editor__entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.response-editor__status {
    margin: 0;
}

.response-editor__status-options {
    gap: 10px;
}

.response-editor__guest-groups {
    display: grid;
    gap: 14px;
}

.response-editor__group {
    display: grid;
    gap: 14px;
}

.response-editor__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.response-editor__group-header .button {
    flex-shrink: 0;
}

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

.response-editor__entry {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(150, 229, 223, 0.1);
}

.response-editor__entry-remove {
    justify-self: end;
}

.response-editor__empty {
    margin: 0;
    color: rgba(226, 240, 247, 0.78);
    font-weight: 700;
}

.response-admin-card__legacy-note {
    margin: 0;
    line-height: 1.6;
}

.response-admin-card__empty {
    margin: 0;
}

[data-response-detail-body][hidden],
.response-editor[hidden] {
    display: none !important;
}

@media (max-width: 719px) {
    .response-admin-card {
        padding: 18px 16px;
        gap: 14px;
        border-radius: 20px;
    }

    .response-admin-card__header {
        grid-template-columns: 1fr;
        display: grid;
        justify-items: start;
        gap: 10px;
    }

    .response-admin-card__title strong {
        font-size: 1.1rem;
    }

    .response-admin-card__meta,
    .response-editor__grid,
    .response-editor__entry-grid,
    .response-admin-card__actions,
    .response-editor__actions {
        grid-template-columns: 1fr;
    }

    .response-editor__group-header {
        align-items: stretch;
        flex-direction: column;
    }

    .response-editor__group-header .button,
    .response-editor__entry-remove {
        width: 100%;
        justify-self: stretch;
    }

    .response-person-card__row {
        display: grid;
        gap: 4px;
    }

    .response-person-card__row strong {
        text-align: left;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0;
    background:
        repeating-linear-gradient(135deg, rgba(10, 166, 181, 0.08) 0 12px, transparent 12px 24px),
        var(--foam);
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.invite-hero {
    position: relative;
    min-height: 86svh;
    padding: 24px 0 64px;
    color: var(--white);
    background-image:
        linear-gradient(90deg, rgba(6, 79, 87, 0.86), rgba(6, 79, 87, 0.38)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.invite-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    background: repeating-linear-gradient(90deg, var(--sun) 0 40px, var(--coral) 40px 80px, var(--sea-500) 80px 120px);
}

.site-header,
.admin-header {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 48px;
    color: var(--ink);
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 1.6rem;
    text-decoration: none;
    background: var(--lemon);
    border: 3px solid rgba(20, 52, 58, 0.28);
    border-radius: var(--radius);
    box-shadow: 0 5px 0 rgba(20, 52, 58, 0.24);
}

.site-header nav,
.admin-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.site-header nav a,
.admin-header nav a {
    min-height: 42px;
    padding: 9px 13px;
    color: var(--white);
    font-weight: 900;
    text-decoration: none;
    background: rgba(6, 79, 87, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
}

.hero-copy {
    width: min(760px, calc(100% - 32px));
    margin: 96px auto 0;
    transform: translateX(-180px);
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--sun);
    font-weight: 900;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.story-grid h2,
.login-panel h1 {
    margin: 0;
    font-family: "Chewy", "Nunito", sans-serif;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 720px;
    font-size: 4.8rem;
    text-shadow: 0 5px 0 rgba(20, 52, 58, 0.32);
}

.hero-line {
    max-width: 600px;
    margin: 18px 0 22px;
    font-size: 1.25rem;
    font-weight: 800;
}

.event-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.event-facts span {
    padding: 9px 12px;
    color: var(--ink);
    font-weight: 900;
    background: var(--paper);
    border: 2px solid rgba(20, 52, 58, 0.15);
    border-radius: var(--radius);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 0 -4px 0 rgba(20, 52, 58, 0.25), 0 6px 0 rgba(20, 52, 58, 0.18), 0 12px 24px var(--shadow);
}

.button-primary {
    background: linear-gradient(180deg, var(--lemon), var(--sun));
}

.button-secondary {
    color: var(--white);
    background: linear-gradient(180deg, var(--sea-500), var(--sea-700));
}

.button.is-disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.story-band {
    padding: 56px 0;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.story-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
}

.story-grid h2,
.section-heading h1,
.section-heading h2,
.login-panel h1 {
    color: var(--sea-900);
    font-size: 3rem;
}

.story-grid p:last-child {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
}

.rsvp-section,
.guest-section {
    padding: 72px 0;
}

.rsvp-section {
    background:
        repeating-linear-gradient(0deg, rgba(239, 105, 80, 0.08) 0 10px, transparent 10px 20px),
        var(--foam);
}

.guest-section {
    background: var(--sea-200);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading p:last-child {
    margin: 10px 0 0;
    font-weight: 800;
}

.rsvp-form,
.login-panel,
.admin-dashboard {
    padding: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid rgba(6, 79, 87, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(6, 79, 87, 0.16);
}

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

.field {
    display: grid;
    gap: 8px;
    font-weight: 900;
}

.field input,
.field textarea,
.login-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    outline: none;
}

.field textarea {
    min-height: 118px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.login-form input:focus {
    border-color: var(--sea-500);
    box-shadow: 0 0 0 4px rgba(10, 166, 181, 0.18);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.counter-field,
.total-box {
    display: grid;
    gap: 10px;
    align-content: center;
    min-height: 116px;
    padding: 16px;
    background: var(--paper);
    border: 2px solid rgba(99, 122, 70, 0.22);
    border-radius: var(--radius);
}

.counter-field > span,
.total-box span {
    font-weight: 900;
}

.counter {
    display: grid;
    grid-template-columns: 44px minmax(64px, 1fr) 44px;
    gap: 8px;
    align-items: center;
}

.counter button {
    width: 44px;
    height: 44px;
    color: var(--white);
    background: var(--sea-700);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 900;
}

.counter input {
    width: 100%;
    height: 44px;
    color: var(--ink);
    text-align: center;
    font-weight: 900;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
}

.total-box strong {
    font-family: "Chewy", "Nunito", sans-serif;
    color: var(--coral-dark);
    font-size: 2.8rem;
    line-height: 1;
}

.total-box small {
    font-weight: 900;
}

.status-field {
    padding: 0;
    margin: 0 0 22px;
    border: 0;
}

.status-field legend {
    margin-bottom: 10px;
    font-weight: 900;
}

.status-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.status-option {
    position: relative;
    min-height: 58px;
}

.status-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.status-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 12px;
    color: var(--white);
    font-weight: 900;
    border: 3px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: inset 0 -4px 0 rgba(20, 52, 58, 0.22);
}

.status-yes span,
.guest-status.status-yes {
    background: var(--sea-700);
}

.status-maybe span,
.guest-status.status-maybe {
    color: var(--ink);
    background: var(--sun);
}

.status-no span,
.guest-status.status-no {
    background: var(--tomato);
}

.status-option input:checked + span {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.submit-button {
    width: min(100%, 360px);
    margin-top: 20px;
}

.notice {
    padding: 14px 16px;
    margin: 0 0 18px;
    border-radius: var(--radius);
    font-weight: 800;
}

.notice ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.notice-success {
    background: #d9f8e8;
    border: 2px solid #62b982;
}

.notice-error {
    background: #ffe0d8;
    border: 2px solid var(--coral);
}

.public-page.has-rsvp-popup {
    overflow: hidden;
}

.rsvp-popup {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(110, 230, 221, 0.14), transparent 42%),
        rgba(7, 35, 48, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 300;
}

.rsvp-popup__panel {
    position: relative;
    width: min(620px, 100%);
    padding: 32px 30px 26px;
    color: #123f4f;
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(251, 247, 240, 0.97)),
        rgba(255, 251, 244, 0.96);
    border: 1px solid rgba(132, 216, 229, 0.34);
    border-radius: 24px;
    box-shadow:
        0 26px 54px rgba(9, 45, 60, 0.22),
        0 10px 24px rgba(9, 45, 60, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
    overflow: hidden;
    text-align: center;
}

.rsvp-popup__panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #6ee6dd, #6db6ff, #a58fff);
}

.rsvp-popup__panel--maybe::before {
    background: linear-gradient(90deg, #6ee6dd, #6db6ff, #a58fff);
}

.rsvp-popup__panel--no::before {
    background: linear-gradient(90deg, #6ee6dd, #6db6ff, #a58fff);
}

.rsvp-popup__panel::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(129, 213, 226, 0.22);
    border-radius: 18px;
    pointer-events: none;
}

.rsvp-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #0f5e73;
    font-size: 1.45rem;
    line-height: 1;
    background: rgba(232, 248, 249, 0.92);
    border: 1px solid rgba(120, 202, 218, 0.36);
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(14, 73, 93, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rsvp-popup__close:hover {
    transform: translateY(-1px);
    background: #f7f3eb;
    border-color: rgba(120, 202, 218, 0.5);
}

.rsvp-popup__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 0 14px;
    padding: 0 14px;
    color: #1885a2;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(111, 230, 221, 0.12);
    border: 1px solid rgba(111, 230, 221, 0.28);
    border-radius: 999px;
}

.rsvp-popup__panel--maybe .rsvp-popup__eyebrow {
    color: #1885a2;
    background: rgba(111, 230, 221, 0.12);
    border-color: rgba(111, 230, 221, 0.28);
}

.rsvp-popup__panel--no .rsvp-popup__eyebrow {
    color: #1885a2;
    background: rgba(111, 230, 221, 0.12);
    border-color: rgba(111, 230, 221, 0.28);
}

.rsvp-popup__title {
    margin: 0 56px 12px;
    color: #0f5e73;
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 0.96;
    text-wrap: balance;
}

.rsvp-popup__panel--maybe .rsvp-popup__title {
    color: #0f5e73;
}

.rsvp-popup__panel--no .rsvp-popup__title {
    color: #0f5e73;
}

.rsvp-popup__message {
    margin: 0 auto;
    color: #215e6d;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.62;
    max-width: 50ch;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.summary-grid article {
    min-height: 126px;
    padding: 18px;
    background: var(--white);
    border: 2px solid rgba(6, 79, 87, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 10px 22px rgba(6, 79, 87, 0.14);
}

.summary-grid span {
    display: block;
    font-weight: 900;
}

.summary-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--coral-dark);
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 3rem;
    line-height: 1;
}

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

.guest-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 96px;
    padding: 14px;
    background: var(--white);
    border: 2px solid rgba(6, 79, 87, 0.14);
    border-radius: var(--radius);
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    font-weight: 900;
    background: var(--coral);
    border-radius: 50%;
}

.guest-info h3 {
    margin: 0;
    color: var(--sea-900);
    font-size: 1.1rem;
}

.guest-info p {
    margin: 2px 0 6px;
    font-weight: 800;
}

.guest-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.guest-counts span {
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: 900;
    background: var(--paper);
    border-radius: var(--radius);
}

.guest-status {
    min-width: 108px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 900;
    text-align: center;
    border-radius: var(--radius);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    font-weight: 900;
}

.site-footer {
    padding: 26px 0;
    color: var(--white);
    background: var(--sea-900);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer-grid a {
    font-weight: 900;
}

.admin-page {
    min-height: 100vh;
    background:
        repeating-linear-gradient(135deg, rgba(247, 201, 72, 0.14) 0 14px, transparent 14px 28px),
        var(--foam);
}

.admin-header {
    padding: 24px 0;
}

.admin-header nav a {
    color: var(--white);
    background: var(--sea-700);
}

.admin-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.login-panel {
    max-width: 520px;
    margin: 0 auto;
}

.login-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.admin-hint {
    margin-bottom: 0;
    font-size: 0.92rem;
}

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

.invite-upload-panel {
    display: grid;
    gap: 18px;
    margin: 0 0 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 2px solid rgba(6, 79, 87, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(6, 79, 87, 0.12);
}

.invite-upload-copy h2 {
    margin: 4px 0 0;
    color: var(--sea-900);
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
}

.invite-upload-copy p:last-child {
    margin: 10px 0 0;
    font-weight: 800;
}

.invite-upload-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 20px;
    align-items: start;
}

.invite-upload-form {
    display: grid;
    gap: 16px;
    align-content: start;
}

.invite-upload-form .field input[type="file"] {
    padding: 12px;
    background: var(--white);
}

.invite-upload-form .button,
.invite-remove-form .button {
    width: fit-content;
}

.invite-preview-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid rgba(6, 79, 87, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 14px 26px rgba(6, 79, 87, 0.1);
}

.invite-preview-card > span {
    font-weight: 900;
}

.invite-preview-image,
.invite-preview-empty {
    width: min(100%, 280px);
    aspect-ratio: 4 / 6;
    border-radius: 6px;
    background: #fff9ef;
    border: 2px solid rgba(6, 79, 87, 0.12);
}

.invite-preview-image {
    object-fit: contain;
}

.invite-preview-empty {
    background: rgba(255, 248, 238, 0.6);
}

.invite-preview-card p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: rgba(20, 52, 58, 0.8);
}

.invite-remove-form {
    margin: 0;
}

.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 2px solid rgba(6, 79, 87, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(6, 79, 87, 0.14);
}

.admin-table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.admin-table th {
    color: var(--white);
    background: var(--sea-900);
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table a {
    color: var(--sea-700);
    font-weight: 900;
}

@media (max-width: 980px) {
    .hero-copy {
        margin-top: 78px;
        transform: none;
    }

    .hero-copy h1 {
        font-size: 3.7rem;
    }

    .story-grid,
    .form-grid,
    .counter-grid,
    .summary-grid,
    .admin-summary,
    .invite-upload-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .invite-hero {
        min-height: 88svh;
        padding-top: 16px;
    }

    .site-header,
    .admin-header {
        align-items: flex-start;
    }

    .site-header nav,
    .admin-header nav {
        max-width: 220px;
    }

    .site-header nav a,
    .admin-header nav a {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.92rem;
    }

    .hero-copy {
        margin-top: 58px;
    }

    .hero-copy h1 {
        font-size: 2.8rem;
    }

    .hero-line {
        font-size: 1.05rem;
    }

    .story-grid,
    .form-grid,
    .counter-grid,
    .summary-grid,
    .admin-summary,
    .status-options,
    .invite-upload-grid {
        grid-template-columns: 1fr;
    }

    .story-grid h2,
    .section-heading h1,
    .section-heading h2,
    .login-panel h1 {
        font-size: 2.25rem;
    }

    .rsvp-form,
    .login-panel,
    .admin-dashboard,
    .invite-upload-panel {
        padding: 18px;
    }

    .guest-card {
        grid-template-columns: 52px 1fr;
    }

    .avatar {
        width: 52px;
        height: 52px;
    }

    .guest-status {
        grid-column: 1 / -1;
        width: 100%;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* Admin redesign */
.admin-page {
    min-height: 100vh;
    color: #eef6fb;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 211, 122, 0.18), transparent 22%),
        radial-gradient(circle at top right, rgba(138, 132, 240, 0.14), transparent 20%),
        linear-gradient(180deg, #0b475d, #08384d 42%, #072d3e 100%);
}

.admin-page .section-kicker {
    color: #ffd37a;
}

.admin-page .notice {
    margin-bottom: 20px;
}

.admin-page--login {
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.admin-login-main {
    width: min(560px, 100%);
}

.admin-login-panel {
    max-width: none;
    margin: 0;
    padding: 28px;
    background: rgba(255, 250, 244, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 60px rgba(3, 26, 36, 0.32);
}

.admin-login-panel p:last-child {
    margin-bottom: 0;
}

.admin-shell {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    gap: 18px;
    min-width: 0;
    padding: 18px 0 42px;
}

.admin-shell > * {
    min-width: 0;
}

.admin-mobile-header,
.admin-sidebar-backdrop,
.admin-menu-toggle,
.admin-sidebar__close {
    display: none;
}

.admin-sidebar {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 211, 122, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(138, 132, 240, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(8, 57, 77, 0.96), rgba(7, 39, 56, 0.98));
    box-shadow: 0 24px 52px rgba(0, 18, 28, 0.22);
}

.admin-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    padding: 0 14px 2px;
    text-align: left;
    text-decoration: none;
}

.admin-branding > div {
    display: grid;
    gap: 4px;
    justify-items: start;
    min-width: 0;
}

.admin-branding__badge {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #08384d;
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #ffe59a, #ffbf6b);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.admin-branding__badge--image {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.admin-branding__badge--image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.admin-branding strong,
.admin-topbar h1,
.panel-card__header h2 {
    font-family: "Chewy", "Nunito", sans-serif;
    font-weight: 400;
    line-height: 1;
}

.admin-branding strong {
    display: block;
    color: #fffef9;
    font-size: 1.7rem;
}

.admin-branding small,
.metric-card span,
.shortcut-card span,
.invite-admin-copy p,
.admin-note-list,
.muted-text,
.table-meta {
    color: rgba(238, 246, 251, 0.74);
}

.admin-nav {
    display: grid;
    gap: 10px;
}

.admin-menu-toggle,
.admin-sidebar__close {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(147, 230, 232, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fffef9;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.admin-menu-toggle span,
.admin-sidebar__close span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.admin-menu-toggle {
    flex-direction: column;
    gap: 5px;
}

.admin-sidebar__close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.admin-sidebar__close span:first-child,
.admin-sidebar__close span:last-child {
    position: absolute;
}

.admin-sidebar__close span:first-child {
    transform: rotate(45deg);
}

.admin-sidebar__close span:last-child {
    transform: rotate(-45deg);
}

.admin-mobile-header {
    position: sticky;
    top: 0;
    z-index: 60;
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 0;
    display: none;
    align-items: center;
    justify-content: flex-start;
}

.admin-mobile-header__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    color: #fffef9;
    text-decoration: none;
}

.admin-mobile-header__brand strong {
    min-width: 0;
    font-family: "Chewy", "Nunito", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-mobile-header__brand .admin-branding__badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.45rem;
}

.admin-mobile-header__spacer {
    display: block;
    width: 46px;
    height: 46px;
}

.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(2, 18, 29, 0.55);
    backdrop-filter: blur(8px);
}

.admin-sidebar-backdrop[hidden] {
    display: none !important;
}

.admin-menu-open .admin-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.admin-menu-open .admin-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.admin-menu-open .admin-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.admin-nav a {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: rgba(238, 246, 251, 0.84);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    color: #fff;
    transform: translateX(2px);
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(36, 194, 187, 0.18), rgba(138, 132, 240, 0.18));
}

.metric-card strong {
    color: #fffef9;
}

.admin-main {
    width: auto;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.admin-dashboard {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.admin-topbar > div {
    display: grid;
    justify-items: center;
    width: 100%;
}

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

.admin-topbar--centered > div {
    justify-items: center;
}

.admin-topbar__eyebrow,
.panel-card__eyebrow {
    margin: 0 0 8px;
    color: #ffd37a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-topbar h1,
.panel-card__header h2 {
    margin: 0;
    color: #fffef9;
}

.admin-topbar p:last-child,
.table-meta {
    margin: 8px 0 0;
    font-weight: 800;
}

.invite-preview-shell__label,
.recent-response-item__copy strong {
    color: #fffef9;
}

.admin-grid {
    display: grid;
    gap: 16px;
}

.admin-grid--metrics.admin-grid--summary {
    grid-template-columns: minmax(0, 320px);
    justify-content: start;
}

.admin-grid--metrics {
    gap: 12px;
}

.metric-card,
.panel-card,
.shortcut-card {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 211, 122, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(11, 71, 93, 0.96), rgba(8, 48, 67, 0.98));
    box-shadow: 0 24px 52px rgba(0, 18, 28, 0.18);
}

.metric-card {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 18px;
    text-align: center;
}

.metric-card--link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.metric-card--link:hover,
.metric-card--link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(141, 240, 227, 0.32);
    box-shadow: 0 28px 56px rgba(0, 18, 28, 0.24);
}

.metric-card--link.is-active {
    border-color: rgba(255, 211, 122, 0.42);
    box-shadow: 0 30px 60px rgba(0, 18, 28, 0.26);
}

.metric-card--link:focus-visible {
    outline: 2px solid rgba(141, 240, 227, 0.9);
    outline-offset: 2px;
}

.metric-card[id^="resumo-"] {
    scroll-margin-top: 24px;
}

.metric-card strong {
    display: block;
    margin-top: 10px;
    font-size: 3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.panel-card {
    padding: 24px;
}

.responses-panel-card {
    margin-top: 24px;
}

.responses-panel-card--mobile {
    margin-top: 0;
}

.responses-mobile-list {
    display: none;
}

.response-mobile-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.response-mobile-item + .response-mobile-item {
    margin-top: 12px;
}

.response-mobile-item__summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    gap: 12px;
    padding: 16px;
}

.response-mobile-item__summary::-webkit-details-marker {
    display: none;
}

.response-mobile-item__summary-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.response-mobile-item__summary-main strong {
    color: #fffef9;
    font-size: 1.02rem;
    line-height: 1.25;
}

.response-mobile-item__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    align-self: start;
    border-radius: 999px;
    color: #8df0e3;
    background: rgba(141, 240, 227, 0.12);
    font-size: 0.82rem;
    font-weight: 900;
}

.response-mobile-item__toggle::before {
    content: "Detalhar";
}

.response-mobile-item[open] .response-mobile-item__toggle::before {
    content: "Esconder detalhes";
}

.response-mobile-item__body {
    display: grid;
    gap: 10px;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.response-mobile-item__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
}

.response-mobile-item__row span {
    flex: 0 0 96px;
    color: #ffd681;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.response-mobile-item__row strong,
.response-mobile-item__row a {
    margin-left: auto;
    color: #fffef9;
    text-align: right;
    overflow-wrap: anywhere;
}

.response-mobile-item__detail-text {
    margin-left: auto;
    text-align: right;
}

.response-mobile-item__detail-text small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.response-mobile-item__row a {
    color: #8df0e3;
    font-weight: 900;
}

.responses-mobile-empty {
    padding: 18px 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: rgba(238, 246, 251, 0.82);
    text-align: center;
    font-weight: 800;
}

.panel-card__header {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-bottom: 18px;
    text-align: center;
}

.panel-card__header--compact {
    margin-bottom: 12px;
}

.panel-card__header > div {
    display: grid;
    justify-items: center;
}

.invite-admin-grid,
.shortcut-grid,
.recent-response-list {
    display: grid;
    gap: 14px;
}

.invite-admin-copy p {
    margin: 0 0 14px;
    font-weight: 800;
    text-align: center;
}

.admin-note-list {
    margin: 0 0 20px;
    padding-left: 0;
    display: grid;
    gap: 8px;
    font-weight: 700;
    list-style-position: inside;
    justify-items: center;
    text-align: center;
}

.invite-upload-form {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.site-media-grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

.site-media-card {
    display: grid;
    align-self: start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.site-media-card__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
}

.site-media-card__summary::-webkit-details-marker {
    display: none;
}

.site-media-card__summary > div {
    display: grid;
    gap: 6px;
    justify-items: center;
    flex: 1;
    text-align: center;
}

.site-media-card__summary h3 {
    margin: 0;
    color: #fffef9;
    font-family: "Chewy", "Nunito", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
}

.site-media-card__summary p {
    margin: 0;
    color: rgba(238, 246, 251, 0.78);
    font-weight: 800;
}

.site-media-card__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: #8df0e3;
    background: rgba(141, 240, 227, 0.12);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.site-media-card__toggle::before {
    content: "Editar";
}

.site-media-card[open] .site-media-card__toggle::before {
    content: "Ocultar";
}

.site-media-card__body {
    display: grid;
    gap: 18px;
    padding: 0 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.invite-file-picker {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: min(100%, 200px);
    cursor: pointer;
}

.invite-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.invite-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    color: #fffaf2;
    font-weight: 900;
    background: linear-gradient(180deg, #f4a14a, #dd6e2b);
    border: 0;
    border-radius: 12px;
    box-shadow:
        inset 0 -4px 0 rgba(125, 60, 26, 0.26),
        0 6px 0 rgba(125, 60, 26, 0.16),
        0 12px 24px rgba(0, 18, 28, 0.14);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.invite-file-picker:hover .invite-file-button,
.invite-file-picker:focus-within .invite-file-button {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    width: 100%;
}

.invite-remove-form {
    display: grid;
    justify-items: center;
    margin: 2px 0 0;
    text-align: center;
}

.invite-upload-form .button,
.invite-remove-form .button {
    width: min(100%, 200px);
    min-height: 56px;
    padding: 0 22px;
}

.invite-preview-shell {
    display: grid;
    gap: 12px;
    align-content: start;
    justify-items: center;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.invite-preview-shell__label {
    font-weight: 900;
}

.invite-preview-stage {
    position: relative;
    width: min(100%, 360px);
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 248, 238, 0.94);
}

.invite-preview-image,
.invite-preview-empty {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.invite-preview-image {
    aspect-ratio: auto;
    height: auto;
}

.invite-preview-image.is-hidden,
.invite-preview-empty.is-hidden {
    display: none;
}

.invite-preview-empty {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
}

.invite-preview-shell--poster .invite-preview-stage {
    aspect-ratio: 4 / 6;
}

.invite-preview-shell--desktop .invite-preview-stage {
    width: min(100%, 420px);
    aspect-ratio: 16 / 9;
}

.invite-preview-shell--mobile .invite-preview-stage {
    width: min(100%, 260px);
    aspect-ratio: 9 / 16;
}

.invite-preview-shell--desktop .invite-preview-image,
.invite-preview-shell--mobile .invite-preview-image,
.invite-preview-empty--desktop,
.invite-preview-empty--mobile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.invite-preview-shell--desktop .invite-preview-image,
.invite-preview-shell--mobile .invite-preview-image {
    object-fit: cover;
    transform: scale(1.03);
    transform-origin: center;
}

.blur-control-form {
    display: grid;
    gap: 18px;
}

.blur-control {
    display: grid;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.blur-control > span {
    color: #fffef9;
    font-weight: 900;
}

.blur-control input[type="range"] {
    width: 100%;
    accent-color: #f08b3b;
    cursor: pointer;
}

.blur-control__value {
    color: #ffd681;
    font-weight: 900;
}

.whatsapp-admin-grid {
    display: grid;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.dashboard-whatsapp-grid {
    margin-bottom: 26px;
}

.whatsapp-panel-card {
    transition: width 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease, margin 0.2s ease;
}

.whatsapp-settings-form,
.whatsapp-connection-stack {
    display: grid;
    gap: 18px;
}

.whatsapp-collapse-toggle {
    display: flex;
    width: min(100%, 340px);
    margin: 0 auto 14px;
    box-shadow:
        inset 0 -3px 0 rgba(20, 52, 58, 0.2),
        0 4px 0 rgba(20, 52, 58, 0.14),
        0 10px 18px rgba(8, 67, 73, 0.12);
}

@media (min-width: 720px) {
    .whatsapp-admin-grid .whatsapp-panel-card.is-collapsed {
        display: grid;
        justify-items: center;
        width: min(340px, 100%);
        margin: 0 auto;
        padding: 10px 14px;
    }

    .whatsapp-admin-grid .whatsapp-panel-card.is-collapsed .whatsapp-collapse-toggle {
        margin: 0;
    }

    .whatsapp-admin-grid .panel-card {
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 12px 24px rgba(0, 18, 28, 0.1);
    }

    .whatsapp-collapse-toggle {
        width: min(100%, 280px);
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.96rem;
        box-shadow:
            inset 0 -1px 0 rgba(20, 52, 58, 0.12),
            0 1px 0 rgba(20, 52, 58, 0.08),
            0 3px 6px rgba(8, 67, 73, 0.05);
    }
}

@media (max-width: 719px) {
    .whatsapp-admin-grid .whatsapp-panel-card.is-collapsed {
        display: grid;
        justify-items: center;
        width: min(320px, 100%);
        margin: 0 auto;
        padding: 10px 12px;
    }

    .whatsapp-admin-grid .whatsapp-panel-card.is-collapsed .whatsapp-collapse-toggle {
        width: min(100%, 300px);
        margin: 0;
    }
}

.whatsapp-settings-grid {
    display: grid;
    gap: 2px;
}

.whatsapp-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #fffef9;
    font-weight: 900;
    text-align: center;
}

.whatsapp-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #23c6bb;
}

.whatsapp-settings-form .field {
    color: #fffef9;
}

.whatsapp-settings-form .field input {
    color: #fffef9;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.whatsapp-settings-form .field input::placeholder {
    color: rgba(238, 246, 251, 0.48);
}

.whatsapp-settings-form .field input:focus {
    border-color: rgba(141, 240, 227, 0.68);
    box-shadow: 0 0 0 4px rgba(141, 240, 227, 0.12);
}

.connection-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: center;
}

.connection-pill--success {
    color: #8df0c3;
    background: rgba(77, 198, 141, 0.16);
}

.connection-pill--warning {
    color: #ffd681;
    background: rgba(255, 205, 111, 0.16);
}

.connection-pill--danger {
    color: #ff9e92;
    background: rgba(239, 105, 80, 0.16);
}

.connection-pill--muted {
    color: rgba(238, 246, 251, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

.whatsapp-info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.whatsapp-admin-grid [hidden] {
    display: none !important;
}

.whatsapp-info-list div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.whatsapp-info-list dt {
    color: #ffd681;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.whatsapp-info-list dd {
    margin: 0;
    color: #fffef9;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.whatsapp-state-row--recipient {
    align-items: flex-start;
}

.whatsapp-state-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.whatsapp-inline-action {
    min-width: 112px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
}

.whatsapp-field-note {
    margin: 4px 0 0;
    color: rgba(238, 246, 251, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
}

.whatsapp-inline-editor {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.whatsapp-inline-editor__input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(147, 230, 232, 0.38);
    border-radius: 14px;
    background: rgba(11, 52, 73, 0.38);
    color: #fffef9;
    font: inherit;
    font-weight: 800;
    text-align: center;
}

.whatsapp-inline-editor__input::placeholder {
    color: rgba(238, 246, 251, 0.5);
}

.whatsapp-inline-editor__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.whatsapp-help-text {
    margin: 0;
    color: rgba(238, 246, 251, 0.76);
    font-weight: 800;
    text-align: center;
}

.whatsapp-help-text--danger {
    color: #ffb4ac;
}

.whatsapp-qr-shell {
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.whatsapp-qr-shell img {
    width: min(100%, 280px);
    aspect-ratio: 1;
    object-fit: contain;
    padding: 10px;
    border-radius: 18px;
    background: #fffef9;
}

.whatsapp-actions {
    gap: 14px;
}

.whatsapp-actions--stack {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.whatsapp-actions form {
    margin: 0;
}

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

.shortcut-card {
    display: grid;
    gap: 4px;
    justify-items: center;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shortcut-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.shortcut-card strong {
    color: #fffef9;
    font-size: 1rem;
}

.recent-response-block {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-response-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-response-item__copy {
    display: grid;
    gap: 2px;
}

.recent-response-item__copy span,
.recent-response-item__copy small {
    color: rgba(238, 246, 251, 0.7);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill--success {
    color: #8df0c3;
    background: rgba(77, 198, 141, 0.16);
}

.status-pill--warning {
    color: #ffd681;
    background: rgba(255, 205, 111, 0.16);
}

.status-pill--danger {
    color: #ff9e92;
    background: rgba(239, 105, 80, 0.16);
}

.status-pill--neutral {
    color: rgba(238, 246, 251, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.table-wrap {
    min-width: 0;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
    color: #ffd681;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02);
}

.admin-table td {
    color: #fffef9;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table a {
    color: #8df0e3;
    font-weight: 900;
}

.response-note-stack {
    display: grid;
    gap: 6px;
}

.response-note-stack small {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.table-empty,
.muted-text {
    font-weight: 800;
}

.admin-page--logged .notice-success {
    color: #d9f8e8;
    background: rgba(77, 198, 141, 0.16);
    border-color: rgba(141, 240, 195, 0.28);
}

.admin-page--logged .notice-error {
    color: #fff0eb;
    background: rgba(239, 105, 80, 0.16);
    border-color: rgba(255, 158, 146, 0.28);
}

@media (min-width: 720px) {
    .admin-grid--metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

@media (min-width: 1024px) {
    .admin-shell {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }

    .admin-sidebar {
        margin-top: 55px;
        position: sticky;
        top: 18px;
    }

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

    .admin-grid--content {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .site-media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-media-card--settings {
        grid-column: 1 / -1;
    }

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

    .admin-shell--responses .admin-sidebar {
        margin-top: 102px;
    }

    .admin-shell--invite .admin-sidebar {
        margin-top: 78px;
    }

    .admin-main--responses {
        display: grid;
        align-content: start;
        justify-items: center;
    }

    .admin-main--responses .admin-topbar--centered,
    .admin-main--responses .responses-panel-card--desktop {
        width: min(100%, 1060px);
    }

    .admin-main--responses .admin-grid--responses {
        grid-template-columns: repeat(3, minmax(0, 204px));
        justify-content: center;
        width: min(100%, 660px);
        margin-inline: auto;
    }
}

@media (max-width: 719px) {
    .admin-menu-open {
        overflow: hidden;
    }

    .admin-mobile-header {
        display: flex;
    }

    .admin-shell {
        width: min(100%, calc(100% - 24px));
        padding-top: 10px;
        overflow-x: clip;
    }

    .admin-sidebar-backdrop,
    .admin-menu-toggle,
    .admin-sidebar__close {
        display: inline-flex;
    }

    .admin-sidebar__close {
        display: none !important;
    }

    .admin-sidebar {
        position: fixed;
        top: 16px;
        left: 12px;
        bottom: 16px;
        z-index: 50;
        width: min(320px, calc(100vw - 24px));
        align-content: start;
        padding-top: 22px;
        overflow-y: auto;
        transform: translateX(calc(-100% - 28px));
        transition: transform 0.28s ease;
    }

    .admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-branding {
        justify-content: center;
        padding: 0 18px 2px 38px;
    }

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

    .whatsapp-settings-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-state-row {
        gap: 10px;
    }

    .whatsapp-inline-action {
        min-width: 104px;
        min-height: 40px;
        padding: 9px 16px;
    }

    .recent-response-item {
        flex-direction: column;
        align-items: center;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: center;
    }

    .responses-panel-card--desktop {
        display: none;
    }

    .responses-desktop-list {
        display: none;
    }

    .responses-mobile-list {
        display: grid;
        gap: 12px;
    }

    .admin-main {
        min-width: 0;
        padding-top: 0;
        overflow-x: hidden;
    }

    .table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .admin-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

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

    .admin-table tr {
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        background:
            linear-gradient(180deg, rgba(20, 89, 109, 0.98), rgba(11, 64, 84, 0.96));
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }

    .admin-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 0;
        text-align: right;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow-wrap: anywhere;
    }

    .admin-table td:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .admin-table td::before {
        content: attr(data-label);
        flex: 0 0 96px;
        text-align: left;
        color: #ffd681;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .admin-table td > strong,
    .admin-table td > span,
    .admin-table td > div,
    .admin-table td > a {
        margin-left: auto;
    }

    .admin-table td:first-child {
        align-items: flex-start;
    }

    .admin-table td.table-empty {
        display: block;
        padding: 18px 14px;
        text-align: center;
        border-bottom: 0;
    }

    .admin-table td.table-empty::before {
        content: none;
    }

    .panel-card,
    .metric-card,
    .admin-sidebar,
    .admin-login-panel {
        border-radius: 20px;
    }
}

body.admin-page.admin-page--login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 14% 18%, rgba(95, 132, 255, 0.24), transparent 24%),
        radial-gradient(circle at 86% 10%, rgba(101, 214, 255, 0.14), transparent 22%),
        linear-gradient(180deg, #0a264b 0%, #081d39 52%, #06162c 100%);
}

body.admin-page.admin-page--login .admin-login-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    width: min(100%, 460px);
    margin: 0 auto;
}

body.admin-page.admin-page--login .admin-login-panel,
body.admin-page.admin-page--login .auth-card {
    position: relative;
    overflow: hidden;
    max-width: none;
    margin: 0;
    padding: 28px;
    color: #f3f7ff;
    background:
        linear-gradient(180deg, rgba(122, 197, 255, 0.12), rgba(122, 197, 255, 0) 22%),
        linear-gradient(180deg, #1237b9 0%, #0d2e9f 44%, #0a2376 100%);
    border: 1px solid rgba(173, 197, 255, 0.24);
    border-radius: 28px;
    box-shadow:
        0 30px 64px rgba(3, 8, 24, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.admin-page.admin-page--login .auth-card__brand {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-align: center;
}

body.admin-page.admin-page--login .auth-card__badge {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #4e74ff 0%, #7ad6ff 100%);
    box-shadow: 0 18px 32px rgba(4, 10, 26, 0.26);
}

body.admin-page.admin-page--login .auth-card__badge--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.admin-page.admin-page--login .auth-card__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
    justify-items: center;
}

body.admin-page.admin-page--login .auth-card__copy strong {
    display: block;
    color: #ffffff;
    font-family: "Barlow Condensed", "Inter", sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

body.admin-page.admin-page--login .auth-card__copy p {
    margin: 0;
    color: rgba(243, 247, 255, 0.82);
    font-family: "Barlow Condensed", "Inter", sans-serif;
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

body.admin-page.admin-page--login .section-kicker {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.admin-page.admin-page--login .admin-login-panel > h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: "Barlow Condensed", "Inter", sans-serif;
    font-size: clamp(2.3rem, 4.1vw, 3.05rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

body.admin-page.admin-page--login .admin-login-panel > p:not(.section-kicker),
body.admin-page.admin-page--login .field span,
body.admin-page.admin-page--login .admin-hint {
    color: rgba(243, 247, 255, 0.8);
}

body.admin-page.admin-page--login .login-form {
    gap: 18px;
    margin-top: 18px;
}

body.admin-page.admin-page--login .field {
    gap: 8px;
}

body.admin-page.admin-page--login .field span {
    display: block;
    width: 100%;
    text-align: center;
}

body.admin-page.admin-page--login .admin-login-password {
    position: relative;
}

body.admin-page.admin-page--login .field input,
body.admin-page.admin-page--login .login-form input {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

body.admin-page.admin-page--login .admin-login-password input {
    width: 100%;
    padding-right: 56px;
}

body.admin-page.admin-page--login .field input::placeholder,
body.admin-page.admin-page--login .login-form input::placeholder {
    color: rgba(243, 247, 255, 0.42);
}

body.admin-page.admin-page--login .field input:focus,
body.admin-page.admin-page--login .login-form input:focus {
    border-color: rgba(122, 214, 255, 0.74);
    box-shadow: 0 0 0 4px rgba(122, 214, 255, 0.18);
}

body.admin-page.admin-page--login .admin-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: rgba(243, 247, 255, 0.72);
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.admin-page.admin-page--login .admin-password-toggle:hover,
body.admin-page.admin-page--login .admin-password-toggle:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

body.admin-page.admin-page--login .admin-password-toggle:focus-visible {
    outline: 2px solid rgba(122, 214, 255, 0.5);
    outline-offset: 2px;
}

body.admin-page.admin-page--login .admin-password-toggle:active {
    transform: translateY(-50%) scale(0.96);
}

body.admin-page.admin-page--login .admin-password-toggle__icon {
    width: 19px;
    height: 19px;
}

body.admin-page.admin-page--login .admin-password-toggle__icon--eye-off {
    display: none;
}

body.admin-page.admin-page--login .admin-password-toggle.is-active .admin-password-toggle__icon--eye {
    display: none;
}

body.admin-page.admin-page--login .admin-password-toggle.is-active .admin-password-toggle__icon--eye-off {
    display: block;
}

body.admin-page.admin-page--login .auth-card__remember {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: rgba(243, 247, 255, 0.88);
    cursor: pointer;
    user-select: none;
}

body.admin-page.admin-page--login .auth-card__remember-box {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

body.admin-page.admin-page--login .auth-card__remember-box input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

body.admin-page.admin-page--login .auth-card__remember-mark {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.admin-page.admin-page--login .auth-card__remember-mark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #0d2e9f;
    border-bottom: 2px solid #0d2e9f;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 160ms ease;
}

body.admin-page.admin-page--login .auth-card__remember-box input:focus-visible + .auth-card__remember-mark {
    border-color: rgba(122, 214, 255, 0.74);
    box-shadow: 0 0 0 4px rgba(122, 214, 255, 0.18);
}

body.admin-page.admin-page--login .auth-card__remember-box input:checked + .auth-card__remember-mark {
    background: linear-gradient(180deg, #ffd666 0%, #f2ba3d 100%);
    border-color: rgba(255, 214, 102, 0.92);
}

body.admin-page.admin-page--login .auth-card__remember-box input:checked + .auth-card__remember-mark::after {
    opacity: 1;
}

body.admin-page.admin-page--login .auth-card__remember-label {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
}

body.admin-page.admin-page--login .button {
    font-family: "Inter", "Segoe UI", sans-serif;
}

body.admin-page.admin-page--login .button-primary {
    color: #10214d;
    background: linear-gradient(180deg, #ffd666 0%, #f2ba3d 100%);
    box-shadow:
        inset 0 -4px 0 rgba(123, 84, 14, 0.28),
        0 10px 24px rgba(4, 10, 26, 0.24);
}

body.admin-page.admin-page--login .notice-error {
    color: #fff4f6;
    background: rgba(255, 126, 146, 0.16);
    border: 1px solid rgba(255, 160, 174, 0.32);
}

body.admin-page.admin-page--login .auth-card__footer {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

body.admin-page.admin-page--login .admin-hint {
    margin: 0;
    font-size: 0.92rem;
}

body.admin-page.admin-page--login .admin-hint strong {
    color: #ffffff;
}

@media (max-width: 680px) {
    body.admin-page.admin-page--login {
        padding: 18px 14px;
    }

    body.admin-page.admin-page--login .admin-login-main {
        width: 100%;
    }

    body.admin-page.admin-page--login .admin-login-panel,
    body.admin-page.admin-page--login .auth-card {
        padding: 24px 22px;
    }

    body.admin-page.admin-page--login .auth-card__brand {
        justify-items: center;
        text-align: center;
    }

    body.admin-page.admin-page--login .auth-card__badge {
        width: 118px;
        height: 118px;
    }

    body.admin-page.admin-page--login .auth-card__copy strong {
        font-size: 1.5rem;
    }

    body.admin-page.admin-page--login .auth-card__copy p {
        font-size: 1.14rem;
    }

    body.admin-page.admin-page--login .admin-login-panel > h1 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }
}

/* Public invite redesign */
.public-page {
    position: relative;
    color: var(--ink);
    background: #fff7ea;
}

.public-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 212, 128, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(143, 224, 246, 0.24), rgba(109, 211, 221, 0.18) 36%, rgba(39, 137, 160, 0.22) 100%);
}

.public-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.poster-stage {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    min-height: auto;
    padding: 28px 16px 12px;
    overflow: hidden;
    background: transparent;
}

.stage-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.03);
}

.stage-backdrop::before,
.stage-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-preview);
    background-position: center;
    background-size: cover;
    filter: blur(var(--backdrop-blur-desktop, 4.2px));
    opacity: 0.95;
}

.stage-backdrop::after {
    background-image: var(--bg-full);
    opacity: 0;
    transition: opacity 260ms ease-out;
}

.stage-backdrop.is-loaded::after {
    opacity: 0.95;
}

@media (max-width: 680px) {
    .stage-backdrop::before,
    .stage-backdrop::after {
        filter: blur(var(--backdrop-blur-mobile, var(--backdrop-blur-desktop, 4.2px)));
    }

    .stage-backdrop::before {
        background-image: var(--bg-preview-mobile, var(--bg-preview));
    }

    .stage-backdrop::after {
        background-image: var(--bg-full-mobile, var(--bg-full));
    }
}

.poster-stage::before {
    content: none;
}

.poster-stage::after {
    content: none;
}

.page-title {
    position: relative;
    z-index: 2;
    isolation: isolate;
    max-width: 720px;
    margin: 0 0 20px;
    color: #fff9ef;
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-shadow: 0 5px 0 rgba(25, 111, 140, 0.36), 0 12px 22px rgba(12, 85, 107, 0.16);
}

.page-title__text {
    position: relative;
    z-index: 1;
    display: block;
    background: linear-gradient(135deg, #fff8ef 0%, #8df0e3 28%, #59b8ea 54%, #8a84f0 76%, #ffd37a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: -8px -18px -10px;
    z-index: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 22% 18%, rgba(141, 240, 227, 0.22), transparent 54%),
        linear-gradient(135deg, rgba(3, 52, 72, 0.38), rgba(7, 91, 119, 0.2));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 32px rgba(2, 31, 45, 0.18);
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    pointer-events: none;
}

.luca-poster {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    padding: 10px;
    overflow: hidden;
    background: rgba(255, 249, 239, 0.86);
    border: 4px solid #f4c96c;
    border-radius: var(--radius);
    box-shadow: 0 20px 36px rgba(17, 86, 108, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.luca-poster-image,
.luca-poster-empty {
    width: 100%;
    border-radius: 4px;
}

.luca-poster-image {
    height: auto;
    background: #fff9ef;
}

.luca-poster-empty {
    min-height: min(62svh, 560px);
    aspect-ratio: 4 / 6;
    background: rgba(255, 248, 238, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.poster-art {
    position: relative;
    min-height: 430px;
    background-image:
        linear-gradient(180deg, rgba(255, 248, 234, 0.06), rgba(12, 92, 106, 0.18)),
        var(--hero-image);
    background-position: center top;
    background-size: cover;
}

.poster-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(12, 92, 106, 0.12), transparent 22%, transparent 78%, rgba(12, 92, 106, 0.12));
    pointer-events: none;
}

.poster-art::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -28px;
    left: -26px;
    height: 170px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 227, 122, 0.95) 0 9px, transparent 10px),
        radial-gradient(circle at 72% 58%, rgba(239, 105, 80, 0.84) 0 10px, transparent 11px),
        linear-gradient(180deg, rgba(51, 190, 193, 0.85), rgba(17, 108, 131, 0.96));
    clip-path: polygon(0 38%, 12% 30%, 26% 44%, 40% 24%, 54% 40%, 68% 22%, 82% 38%, 100% 18%, 100% 100%, 0 100%);
}

.poster-sun {
    position: absolute;
    top: 66px;
    right: 48px;
    width: 64px;
    height: 64px;
    background: linear-gradient(180deg, #ffd978, #f5bc58);
    border: 5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(20, 52, 58, 0.22);
}

.poster-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px 34px;
    text-align: center;
}

.poster-copy p {
    margin: 0;
    color: #fffaf2;
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 2.1rem;
    line-height: 1;
    text-shadow: 0 4px 0 rgba(25, 111, 140, 0.34);
}

.name-plaque {
    position: relative;
    z-index: 1;
    align-self: center;
    width: min(270px, 100%);
    padding: 14px 18px;
    color: var(--white);
    background: linear-gradient(180deg, #ef7a61, #d85e4d);
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: 0 8px 0 rgba(17, 108, 131, 0.24);
}

.name-plaque span,
.name-plaque strong {
    display: block;
    font-family: "Chewy", "Nunito", sans-serif;
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 3px 0 rgba(6, 79, 87, 0.28);
}

.name-plaque span {
    font-size: 2.45rem;
}

.name-plaque strong {
    margin-top: 2px;
    color: #ffe17d;
    font-size: 1.65rem;
}

.poster-details {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 16px 18px 18px;
    color: #124450;
    background: #fff8ee;
}

.detail-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.92rem;
}

.detail-icon {
    color: #d85e4d;
    font-weight: 900;
}

.detail-row strong,
.poster-details p {
    margin: 0;
    font-weight: 900;
    line-height: 1.25;
}

.poster-details p {
    margin-top: 4px;
    color: #156b80;
    text-align: center;
}

.cta-frame {
    --cta-shell-border: rgba(126, 229, 222, 0.36);
    --cta-shell-glow: rgba(83, 170, 226, 0.18);
    --cta-shell-highlight: rgba(255, 255, 255, 0.24);
    --cta-shell-shine-aqua: rgba(110, 242, 224, 1);
    --cta-shell-shine-blue: rgba(104, 170, 255, 0.95);
    --cta-shell-shine-violet: rgba(170, 144, 255, 0.9);
    --cta-shell-speed: 3.1s;
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    overflow: hidden;
    width: min(420px, calc(100% - 48px));
    margin-top: 18px;
    padding: 30px 22px;
    border: 1px solid var(--cta-shell-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    isolation: isolate;
    box-shadow:
        inset 0 1px 0 var(--cta-shell-highlight),
        0 18px 36px rgba(12, 85, 107, 0.18),
        0 0 16px var(--cta-shell-glow);
}

.cta-frame::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.12), rgba(255, 248, 238, 0.06));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    z-index: -2;
}

.cta-frame::after {
    content: none;
}

.cta-frame > *:not(.cta-frame__outline) {
    position: relative;
    z-index: 1;
}

.cta-frame__outline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.cta-frame__outline-track {
    fill: none;
    stroke: var(--cta-shell-border);
    stroke-width: 4.4;
}

.cta-frame__outline-wave {
    fill: none;
    stroke: var(--cta-shell-shine-aqua);
    stroke-width: 6.2;
    stroke-linecap: round;
    stroke-dasharray: 320 2300;
    stroke-dashoffset: 0;
    filter:
        drop-shadow(0 0 4px rgba(110, 242, 224, 0.65))
        drop-shadow(0 0 10px rgba(104, 170, 255, 0.32))
        drop-shadow(0 0 14px rgba(170, 144, 255, 0.24));
    animation: cta-frame-border-run var(--cta-shell-speed) linear infinite;
}

.poster-cta-button {
    position: relative;
    z-index: 1;
    width: min(22em, 100%);
    height: 4.6em;
    padding: 0;
    outline: none;
    transition: 0.1s;
    background-color: transparent;
    border: none;
    color: #ddebf0;
    cursor: pointer;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.poster-cta-clip {
    --color: #2761c3;
    position: absolute;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 5px double var(--color);
    box-shadow: inset 0 0 15px #195480;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    -webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.poster-cta-arrow {
    position: absolute;
    top: 35%;
    width: 11%;
    height: 30%;
    background-color: #2761c3;
    transition: 0.2s;
}

.poster-cta-left-arrow {
    left: -13.5%;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.poster-cta-right-arrow {
    left: 102%;
    clip-path: polygon(100% 49%, 0 0, 0 100%);
    -webkit-clip-path: polygon(100% 49%, 0 0, 0 100%);
}

.poster-cta-corner {
    position: absolute;
    width: 4em;
    height: 4em;
    background-color: #2761c3;
    box-shadow: inset 1px 1px 8px #2781c3;
    transform: scale(1) rotate(45deg);
    transition: 0.2s;
}

.poster-cta-right-top {
    top: -1.98em;
    left: 91%;
}

.poster-cta-left-top {
    top: -1.96em;
    left: -3em;
}

.poster-cta-left-bottom {
    top: 2.1em;
    left: -2.15em;
}

.poster-cta-right-bottom {
    top: 45%;
    left: 88%;
}

.poster-cta-button:hover .poster-cta-right-arrow {
    background-color: #27c39f;
    left: -15%;
    animation: 0.6s ease-in-out both infinite alternate poster-cta-right-arrow;
}

.poster-cta-button:hover .poster-cta-left-arrow {
    background-color: #27c39f;
    left: 103%;
    animation: 0.6s ease-in-out both infinite alternate poster-cta-left-arrow;
}

.poster-cta-button:hover .poster-cta-left-top {
    animation:
        0.1s ease-in-out 0.05s both poster-cta-change-color,
        0.2s linear 0.4s both poster-cta-light-effect;
}

.poster-cta-button:hover .poster-cta-right-top {
    animation:
        0.1s ease-in-out 0.15s both poster-cta-change-color,
        0.2s linear 0.4s both poster-cta-light-effect;
}

.poster-cta-button:hover .poster-cta-right-bottom {
    animation:
        0.1s ease-in-out 0.25s both poster-cta-change-color,
        0.2s linear 0.4s both poster-cta-light-effect;
}

.poster-cta-button:hover .poster-cta-left-bottom {
    animation:
        0.1s ease-in-out 0.35s both poster-cta-change-color,
        0.2s linear 0.4s both poster-cta-light-effect;
}

.poster-cta-button:hover .poster-cta-corner {
    transform: scale(1.25) rotate(45deg);
}

.poster-cta-button:hover .poster-cta-clip {
    --color: #27c39f;
    animation: 0.2s ease-in-out 0.55s both poster-cta-green-light;
}

.public-page .button {
    min-height: 58px;
    font-family: "Chewy", "Nunito", sans-serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: #125b70;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.28);
}

.public-page .button-primary {
    background: linear-gradient(180deg, #ffe287, #f6b764);
}

.public-page .rsvp-section {
    padding: 16px 16px 92px;
    background: transparent;
}

.public-page .rsvp-section.is-collapsed {
    padding: 0;
}

.public-page .rsvp-section.is-collapsed .form-shell {
    display: none;
}

.form-shell {
    --form-shell-border: rgba(126, 229, 222, 0.34);
    --form-shell-shine-aqua: rgba(110, 242, 224, 0.98);
    --form-shell-shine-blue: rgba(104, 170, 255, 0.92);
    --form-shell-shine-violet: rgba(170, 144, 255, 0.82);
    --form-shell-speed: 3.1s;
    position: relative;
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 32px 40px;
    background: rgba(255, 251, 244, 0.96);
    border: 2px solid rgba(26, 126, 145, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 18px 34px rgba(17, 86, 108, 0.12);
}

.form-shell > *:not(.form-shell__outline) {
    position: relative;
    z-index: 1;
}

.form-shell__outline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.form-shell__outline-track {
    fill: none;
    stroke: var(--form-shell-border);
    stroke-width: 4;
}

.form-shell__outline-wave {
    fill: none;
    stroke: var(--form-shell-shine-aqua);
    stroke-width: 5.6;
    stroke-linecap: round;
    stroke-dasharray: 340 2500;
    stroke-dashoffset: 0;
    filter:
        drop-shadow(0 0 4px rgba(110, 242, 224, 0.6))
        drop-shadow(0 0 10px rgba(104, 170, 255, 0.28))
        drop-shadow(0 0 14px rgba(170, 144, 255, 0.22));
    animation: cta-frame-border-run var(--form-shell-speed) linear infinite;
}

.event-note {
    display: grid;
    gap: 8px;
    margin: 0 0 26px;
    padding: 14px 18px;
    color: #166b7c;
    background: #e2f6ef;
    border: 1px solid rgba(26, 126, 145, 0.24);
    border-radius: var(--radius);
    font-weight: 700;
    text-align: center;
    justify-items: center;
}

.public-page .rsvp-form {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.public-page .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.public-page .field {
    gap: 8px;
    color: #125b52;
}

.public-page .field span,
.form-question,
.status-field legend {
    font-size: 1rem;
    font-weight: 900;
}

.public-page .field span,
.public-page .status-field legend {
    display: block;
    width: 100%;
    text-align: center;
}

.public-page .field small {
    color: #6f8479;
    font-weight: 700;
}

.public-page .field input,
.public-page .field textarea {
    min-height: 60px;
    padding: 14px 16px;
    text-align: center;
    color: #156b80;
    background: #fff8ee;
    border: 2px solid #e5d6bc;
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 8px rgba(17, 86, 108, 0.06);
}

.public-page .field input::placeholder,
.public-page .field textarea::placeholder {
    text-align: center;
}

.public-page .field textarea {
    min-height: 96px;
}

.form-question {
    margin: 22px 0 8px;
    text-align: center;
}

.public-page .form-block,
.public-page .guest-group-block {
    margin: 0 0 18px;
    padding: 14px 14px 12px;
    background: rgba(255, 248, 238, 0.72);
    border: 2px solid #e5d6bc;
    border-radius: var(--radius);
}

.public-page .form-block .form-grid,
.public-page .form-block .status-field {
    margin: 0;
}

.public-page .responsible-summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 92px 8px 12px;
}

.public-page .responsible-summary__name {
    color: #125b52;
    font-size: 1.08rem;
    font-weight: 900;
    text-align: center;
}

.public-page .responsible-summary .responsible-edit-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 84px;
    min-height: 34px;
    padding: 6px 8px;
    border-width: 2px;
    z-index: 2;
}

.public-page .responsible-summary .responsible-edit-button .quick-add-button__label {
    font-size: 0.7rem;
    letter-spacing: 0.01em;
}

.public-page .responsible-summary .responsible-edit-button .quick-add-button__glow {
    width: 78%;
}

.public-page .responsible-summary .responsible-edit-button .quick-add-button__circle {
    height: 16px;
}

.public-page .responsible-summary[hidden],
.public-page .responsible-form[hidden] {
    display: none;
}

.public-page .responsible-confirm-button {
    width: min(100%, 320px);
    margin: 16px auto 0;
    display: block;
}

.public-page .responsible-confirm-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.public-page .responsible-confirm-button:disabled:hover {
    transform: none;
}

.public-page .guest-group-block .form-question {
    margin-top: 0;
}

.public-page .guest-group-block.is-hidden {
    display: none;
}

.public-page .counter-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
}

.public-page .quick-add-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.public-page .quick-add-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(1rem);
    border: double 4px transparent;
    border-radius: 5rem;
    transition: transform 0.5s ease;
    animation: quick-add-gradient 5s ease infinite;
    background-image:
        linear-gradient(#0f4f66, #0f4f66),
        linear-gradient(137.48deg, #9fe8ff 10%, #46d8df 38%, #2f96ff 67%, #1e4fd8 87%);
    background-size: 300% 300%;
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.public-page .quick-add-button:hover {
    transform: scale(1.04);
}

.public-page .quick-add-button:active {
    border: double 4px #46d8df;
    animation: none;
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.public-page .quick-add-button__label {
    position: relative;
    z-index: 2;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.82);
}

.public-page .quick-add-button__stars {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    transition: background-color 0.5s ease, z-index 0.5s ease;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}

.public-page .quick-add-button__stars-inner {
    position: relative;
    display: block;
    width: 200rem;
    height: 200rem;
    background: transparent;
}

.public-page .quick-add-button__stars-inner::before,
.public-page .quick-add-button__stars-inner::after {
    content: "";
    position: absolute;
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}

.public-page .quick-add-button__stars-inner::before {
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    opacity: 0.5;
    animation: quick-add-stars 60s linear infinite;
}

.public-page .quick-add-button__stars-inner::after {
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: quick-add-stars-rotate 90s linear infinite;
}

.public-page .quick-add-button__glow {
    position: absolute;
    display: flex;
    width: min(12rem, 90%);
    z-index: -1;
}

.public-page .quick-add-button__circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: quick-add-pulse 4s infinite;
}

.public-page .quick-add-button__circle:nth-child(1) {
    background: rgba(116, 230, 255, 0.68);
}

.public-page .quick-add-button__circle:nth-child(2) {
    background: rgba(46, 121, 255, 0.72);
}

.public-page .quick-add-button:hover .quick-add-button__stars {
    z-index: 1;
    background-color: #212121;
}

.public-page .quick-add-button:active .quick-add-button__circle {
    background: #46d8df;
}

.public-page .quick-count-list {
    display: grid;
    gap: 10px;
}

.public-page .quick-count-item {
    display: grid;
    gap: 14px;
    padding: 14px 18px;
    background: #fff8ee;
    border: 2px solid #dec9a7;
    border-radius: var(--radius);
}

.public-page .quick-count-item.is-editing {
    border-color: rgba(42, 169, 184, 0.45);
    box-shadow: 0 12px 26px rgba(22, 107, 128, 0.12);
}

.public-page .quick-count-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.public-page .quick-count-copy {
    display: grid;
    gap: 4px;
    width: 100%;
    justify-items: center;
    text-align: center;
}

.public-page .quick-count-label {
    font-weight: 900;
    color: #125b52;
}

.public-page .quick-count-value {
    font-size: 1.6rem;
    line-height: 1;
    color: #156b80;
}

.public-page [data-counter-input] {
    display: none;
}

.public-page .guest-entry-list {
    display: grid;
    gap: 10px;
}

.public-page .guest-entry-empty {
    margin: 0;
    color: #6f8479;
    text-align: center;
    font-weight: 700;
}

.public-page .guest-entry-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(77, 201, 214, 0.08);
    border: 1px solid rgba(40, 167, 185, 0.22);
    border-radius: 14px;
}

.public-page .guest-entry-card__copy {
    display: grid;
    gap: 4px;
}

.public-page .guest-entry-card__copy strong {
    color: #125b52;
    font-size: 0.98rem;
}

.public-page .guest-entry-card__copy span {
    color: #5f7368;
    font-size: 0.88rem;
    line-height: 1.45;
}

.public-page .guest-entry-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.public-page .guest-entry-card__edit,
.public-page .guest-entry-card__remove {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 900;
    border-radius: 12px;
}

.public-page .guest-entry-card__edit {
    color: #166b80;
    background: #eef9ff;
    border: 1px solid rgba(22, 107, 128, 0.22);
}

.public-page .guest-entry-card__remove {
    color: #d95f57;
    background: #fff4f1;
    border: 1px solid rgba(217, 95, 87, 0.22);
}

.public-page .guest-entry-card__edit:hover,
.public-page .guest-entry-card__remove:hover {
    transform: translateY(-1px);
}

.public-page .guest-entry-card__edit:active,
.public-page .guest-entry-card__remove:active {
    transform: translateY(0);
}

.public-page .guest-entry-card__edit,
.public-page .guest-entry-card__remove {
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.public-page .guest-editor {
    display: grid;
    gap: 14px;
    padding-top: 6px;
    border-top: 1px dashed rgba(22, 107, 128, 0.22);
}

.public-page .guest-editor[hidden] {
    display: none;
}

.public-page .guest-editor__grid {
    display: grid;
    gap: 12px;
}

.public-page .guest-binary-field {
    gap: 10px;
}

.public-page .guest-binary-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.public-page .guest-binary-option {
    position: relative;
}

.public-page .guest-binary-option input {
    position: absolute;
    width: 1px;
    min-height: 0;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.public-page .guest-binary-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 14px;
    color: #1f6e7c;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(180deg, #fffdf9 0%, #f5ede2 100%);
    border: 2px solid rgba(37, 127, 143, 0.18);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 20px rgba(17, 86, 108, 0.08);
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.public-page .guest-binary-option:hover span {
    border-color: rgba(37, 127, 143, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 24px rgba(17, 86, 108, 0.1);
}

.public-page .guest-binary-option input:checked + span {
    transform: translateY(-1px);
}

.public-page .guest-binary-option--yes input:checked + span {
    color: var(--white);
    background: linear-gradient(135deg, #35b9c4 0%, #17788a 100%);
    border-color: #17788a;
    box-shadow: 0 14px 26px rgba(25, 124, 140, 0.24);
}

.public-page .guest-binary-option--no input:checked + span {
    color: #9a4c3d;
    background: linear-gradient(135deg, #fff5ea 0%, #ffe0d5 100%);
    border-color: #d69882;
    box-shadow: 0 14px 26px rgba(214, 152, 130, 0.2);
}

.public-page .guest-binary-input[hidden] {
    display: none;
}

.public-page .guest-editor__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.public-page .guest-editor__confirm,
.public-page .guest-editor__cancel {
    min-height: 48px;
    padding: 12px 16px;
    font-weight: 900;
    border: 0;
    border-radius: 14px;
}

.public-page .guest-editor__confirm {
    color: var(--white);
    background: linear-gradient(180deg, #2aa9b8, #208b9b);
}

.public-page .guest-editor__cancel {
    color: #9a4c3d;
    background: linear-gradient(180deg, #fff2ef 0%, #ffd9d1 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

@keyframes quick-add-stars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-135rem);
    }
}

@keyframes quick-add-stars-rotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0);
    }
}

@keyframes quick-add-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes quick-add-pulse {
    0% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.public-page .total-box {
    min-height: auto;
    padding: 0;
    display: block;
    color: #5f7368;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.public-page .total-box span,
.public-page .total-box strong,
.public-page .total-box small {
    display: inline;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #5f7368;
}

.public-page .status-options {
    grid-template-columns: 1fr;
    gap: 10px;
}

.public-page .status-field.is-locked .status-option {
    opacity: 0.56;
}

.public-page .status-field.is-locked .status-option span {
    cursor: not-allowed;
}

.public-page .status-option {
    min-height: 58px;
}

.public-page .status-option span {
    justify-content: flex-start;
    min-height: 58px;
    padding: 13px 18px;
    color: #5f7368;
    background: #fff8ee;
    border: 2px solid #e5d6bc;
    box-shadow: none;
}

.public-page .status-option span::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.public-page .status-option input:checked + span {
    color: var(--white);
    background: #2aa9b8;
    border-color: #2aa9b8;
    transform: none;
}

.public-page .status-option.status-maybe input:checked + span {
    color: #125b70;
    background: #ffd978;
    border-color: #ffd978;
}

.public-page .status-option.status-no input:checked + span {
    color: var(--white);
    background: #e37866;
    border-color: #e37866;
}

.public-page .status-option input:checked + span::before {
    background: radial-gradient(circle, var(--white) 0 4px, transparent 5px);
}

.public-page .submit-button {
    width: 100%;
    margin: 18px 0 28px;
    background-image:
        linear-gradient(#0f4f66, #0f4f66),
        linear-gradient(137.48deg, #9fe8ff 10%, #46d8df 38%, #2f96ff 67%, #1e4fd8 87%);
    background-size: 300% 300%;
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.public-page .submit-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.public-page .submit-button:disabled:hover {
    transform: none;
}

.public-page .submit-button .quick-add-button__label {
    font-size: 1rem;
}

@media (min-width: 1024px) {
    .poster-stage {
        padding: 24px 16px 10px;
    }

    .page-title {
        max-width: 612px;
        margin-bottom: 16px;
        font-size: 3.23rem;
    }

    .page-title::before {
        inset: -7px -16px -9px;
        border-radius: 24px;
    }

    .luca-poster {
        width: min(442px, 100%);
        padding: 8px;
        border-width: 3px;
    }

    .cta-frame {
        width: min(357px, calc(100% - 40px));
        margin-top: 14px;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .poster-cta-button {
        width: min(18.7em, 100%);
        height: 3.95em;
        font-size: 12px;
        letter-spacing: 0.16em;
    }

    .public-page .rsvp-section {
        padding: 14px 16px 80px;
    }

    .form-shell {
        width: min(578px, 100%);
        padding: 28px 34px;
    }

    .event-note {
        gap: 6px;
        margin-bottom: 22px;
        padding: 12px 15px;
        font-size: 0.92rem;
    }

    .public-page .form-grid {
        gap: 15px;
    }

    .public-page .field {
        gap: 6px;
    }

    .public-page .field span,
    .form-question,
    .status-field legend {
        font-size: 0.92rem;
    }

    .public-page .field input,
    .public-page .field textarea {
        min-height: 52px;
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .public-page .field textarea {
        min-height: 82px;
    }

    .form-question {
        margin: 18px 0 6px;
    }

    .public-page .form-block,
    .public-page .guest-group-block {
        margin-bottom: 15px;
        padding: 12px 12px 10px;
    }

    .public-page .status-option,
    .public-page .status-option span {
        min-height: 50px;
    }

    .public-page .status-option span {
        padding: 11px 15px;
        font-size: 0.92rem;
    }

    .public-page .quick-add-button {
        min-height: 50px;
        padding: 12px 16px;
    }

    .public-page .quick-add-button__label {
        font-size: 0.88rem;
    }

    .public-page .quick-count-item {
        gap: 12px;
        padding: 12px 15px;
    }

    .public-page .quick-count-value {
        font-size: 1.36rem;
    }

    .public-page .guest-entry-card {
        gap: 10px;
        padding: 10px 12px;
    }

    .public-page .guest-entry-card__copy strong {
        font-size: 0.92rem;
    }

    .public-page .guest-entry-card__copy span {
        font-size: 0.82rem;
    }

    .public-page .guest-entry-card__edit,
    .public-page .guest-entry-card__remove {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .public-page .guest-editor {
        gap: 12px;
    }

    .public-page .guest-editor__grid {
        gap: 10px;
    }

    .public-page .guest-binary-options {
        gap: 8px;
    }

    .public-page .guest-binary-option span {
        min-height: 46px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .public-page .guest-editor__confirm,
    .public-page .guest-editor__cancel,
    .public-page .submit-button {
        min-height: 42px;
        padding: 10px 14px;
    }

    .public-page .button {
        min-height: 50px;
        font-size: 1.23rem;
    }
}

@keyframes poster-cta-change-color {
    from {
        background-color: #2781c3;
    }

    to {
        background-color: #27c39f;
    }
}

@keyframes poster-cta-light-effect {
    from {
        box-shadow: 1px 1px 5px #27c39f;
    }

    to {
        box-shadow: 0 0 2px #27c39f;
    }
}

@keyframes poster-cta-green-light {
    from {
    }

    to {
        box-shadow: inset 0 0 32px #27c39f;
    }
}

@keyframes poster-cta-left-arrow {
    from {
        transform: translate(0);
    }

    to {
        transform: translateX(10px);
    }
}

@keyframes poster-cta-right-arrow {
    from {
        transform: translate(0);
    }

    to {
        transform: translateX(-10px);
    }
}

@keyframes cta-frame-border-run {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -2640;
    }
}

@media (max-width: 680px) {
    .poster-stage {
        min-height: auto;
        padding-top: 22px;
        padding-bottom: 8px;
    }

    .page-title {
        font-size: 2.65rem;
    }

    .page-title::before {
        inset: -6px -12px -8px;
        border-radius: 22px;
        backdrop-filter: blur(12px) saturate(1.08);
        -webkit-backdrop-filter: blur(12px) saturate(1.08);
    }

    .poster-art {
        min-height: 380px;
    }

    .poster-copy p {
        font-size: 1.8rem;
    }

    .name-plaque span {
        font-size: 2.05rem;
    }

    .form-shell {
        padding: 24px 20px;
    }

    .public-page .counter-field {
        grid-template-columns: 1fr;
    }

    .public-page .quick-add-actions {
        grid-template-columns: 1fr;
    }

    .public-page .quick-count-copy {
        justify-items: center;
    }

    .public-page .quick-count-head,
    .public-page .guest-entry-card,
    .public-page .guest-editor__actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .public-page .quick-count-head {
        justify-items: center;
    }

    .public-page .guest-entry-card {
        text-align: center;
    }

    .public-page .guest-entry-card__copy {
        justify-items: center;
    }

    .public-page .guest-entry-card__actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .public-page .guest-entry-card__edit,
    .public-page .guest-entry-card__remove {
        width: 100%;
    }

    .public-page .responsible-summary .responsible-edit-button {
        right: 6px;
    }

    .poster-cta-button {
        width: min(19em, 100%);
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .cta-frame {
        width: min(360px, calc(100% - 32px));
        padding: 24px 16px;
        border-radius: 18px;
    }

    .rsvp-popup {
        padding: 18px;
    }

    .rsvp-popup__panel {
        padding: 26px 18px 20px;
        border-radius: 20px;
    }

    .rsvp-popup__panel::before {
        height: 5px;
        width: auto;
        border-radius: 20px 20px 0 0;
    }

    .rsvp-popup__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 999px;
    }

    .rsvp-popup__eyebrow {
        margin-bottom: 12px;
        font-size: 0.72rem;
    }

    .rsvp-popup__title {
        margin-right: 48px;
        font-size: 2rem;
    }

    .rsvp-popup__message {
        font-size: 0.96rem;
        max-width: none;
    }
}
