:root {
    color-scheme: light;
    --paper: #f7f0e4;
    --paper-soft: rgba(251, 246, 236, 0.9);
    --ink: #2d241c;
    --muted: #6f6156;
    --rule: rgba(45, 36, 28, 0.18);
    --accent: #8d6a49;
    --accent-deep: #5f452f;
    --max-width: 760px;
}

@font-face {
    font-family: "Silveria Magic";
    src: url("SilveriaMagicRegular-drzGE.e8dc9701233a.ttf") format("truetype");
    font-display: swap;
}

/* smooth cross-document crossfade instead of a blank flash between page navigations (supporting browsers only) */
@view-transition {
    navigation: auto;
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: var(--paper);
    overflow-x: hidden;
}
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 250, 243, 0.86), rgba(244, 232, 216, 0.94)),
        var(--paper);
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 1.8;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-body { position: relative; }

.site-body {
    isolation: isolate;
}

.artwork-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate3d(0, 88px, 0) scale(1.08);
    transition: opacity 2600ms ease;
    will-change: transform, opacity;
    --start-y: 260px;
    --start-scale: 1.1;
    --settled-y: 0px;
    --settled-scale: 1;
    --scroll-offset-y: 0px;
}

.scene-ready .artwork-layer { opacity: 1; }

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

.artwork-mountains {
    z-index: 0;
    left: -4%;
    right: -4%;
    bottom: -60px;
    top: auto;
    height: calc(min(50vh, 560px) + 60px);
    transform-origin: center bottom;
    --start-y: 300px;
    --start-scale: 1.12;
    --settled-y: 0px;
    --settled-scale: 1;
    animation: rise-and-settle 3200ms ease both;
}

.artwork-trees {
    left: -4%;
    right: -4%;
    bottom: -60px;
    top: auto;
    transform-origin: center bottom;
}

.artwork-trees-back {
    z-index: 1;
    height: calc(min(50vh, 560px) + 60px);
    --start-y: 340px;
    --start-scale: 1.1;
    --settled-y: 0px;
    --settled-scale: 1;
    animation: rise-and-settle 3500ms ease both;
}

.artwork-trees-front {
    z-index: 2;
    height: calc(min(42vh, 460px) + 60px);
    --start-y: 380px;
    --start-scale: 1.09;
    --settled-y: 0px;
    --settled-scale: 1;
    animation: rise-and-settle 3800ms ease both;
}

.artwork-mountains img,
.artwork-trees img {
    object-fit: cover;
    object-position: center bottom;
}

.artwork-flowers {
    z-index: 3;
    position: fixed;
    inset: 0 auto auto 0;
    width: min(52vw, 1300px);
    height: min(68vh, 1400px);
    transform: translate3d(-140px, -90px, 0);
    animation: drift-from-top-left 2800ms ease both;
}

/* shorter windows (typical laptop viewports) get proportionally smaller flowers */
@media (max-height: 1000px) {
    .artwork-flowers {
        width: min(36vw, 600px);
        height: min(44vh, 520px);
    }
}

.artwork-flowers-left {
    animation-duration: 3100ms;
}

.artwork-flowers img {
    object-fit: contain;
    object-position: top left;
}

.artwork-flowers-right {
    inset: 0 0 auto auto;
    transform: translate3d(140px, -90px, 0);
    animation-name: drift-from-top-right;
    animation-duration: 3500ms;
}

.artwork-flowers-right img {
    object-position: top right;
}

@keyframes rise-and-settle {
    from { opacity: 0; transform: translate3d(0, calc(var(--start-y) + var(--scroll-offset-y)), 0) scale(var(--start-scale)); }
    to { opacity: 1; transform: translate3d(0, calc(var(--settled-y) + var(--scroll-offset-y)), 0) scale(var(--settled-scale)); }
}

@keyframes drift-from-top-left {
    from { opacity: 0; transform: translate3d(-220px, -160px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes drift-from-top-right {
    from { opacity: 0; transform: translate3d(220px, -160px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes drift-header {
    from { opacity: 0; top: var(--header-start-top, -146px); }
    to { opacity: 1; top: var(--header-settled-top, 4px); }
}

.invitation-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    padding: 136px 0 40px;
}

.site-header,
.site-footer,
.page-column {
    position: relative;
}

.page-column,
.site-footer {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 2600ms ease, transform 2600ms ease;
}

.scene-ready .page-column,
.scene-ready .site-footer {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.site-header,
.site-footer {
    text-align: center;
    padding: 18px 0;
}

.site-header {
    position: fixed;
    top: var(--header-settled-top, 4px);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(100% - 40px, var(--max-width));
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px 0 12px;
    opacity: 0;
    --header-start-top: -146px;
    --header-settled-top: 4px;
    animation: drift-header 3300ms ease both;
}

.site-header::before,
.site-header::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    pointer-events: none;
}

.site-header::before {
    top: -20px;
    height: 170px;
    background: rgba(247, 240, 228, 0.98);
}

.site-header::after {
    top: 150px;
    height: 8px;
    background: linear-gradient(180deg, rgba(247, 240, 228, 0.96) 0%, rgba(247, 240, 228, 0) 100%);
}

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

.scene-ready .site-header {
    opacity: 1;
}

.kicker,
.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
}

.intro-phrase {
    margin: 14px 0 6px;
    font-style: italic;
    font-size: 1.12rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    font-size: 0.95rem;
}

.site-nav a {
    position: relative;
    padding-bottom: 4px;
    color: var(--muted);
}

.site-nav a[aria-current="page"] {
    color: var(--ink);
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
}

.secondary-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    font-size: 0.78rem;
    color: var(--muted);
}

.secondary-nav a {
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.secondary-nav a:hover {
    border-bottom-color: currentColor;
}

.page-column {
    display: grid;
    gap: 22px;
    padding: 22px 0 clamp(140px, 26vh, 280px);
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 240px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 240px), transparent 100%);
}

.page-intro {
    text-align: center;
    display: grid;
    gap: 14px;
    padding: 18px 0 8px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.9rem, 8vw, 5.2rem);
    letter-spacing: 0.01em;
}

.home-names {
    display: grid;
    justify-items: center;
    width: 100%;
    min-width: 0;
    gap: 0;
    font-family: "Silveria Magic", Georgia, "Times New Roman", Times, serif;
    font-size: clamp(2rem, 8vw, 4.7rem);
    line-height: 0.95;
    text-align: center;
}

.home-names span {
    max-width: 100%;
    white-space: nowrap;
}

.home-names-ampersand {
    font-size: 0.7em;
    line-height: 0.9;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.1rem;
}

.lead,
.page-copy,
.page-note,
.message,
label,
small,
input,
textarea,
select,
button,
summary {
    font-size: 1rem;
}

.lead {
    max-width: 52ch;
    margin: 0 auto;
    color: var(--muted);
}

.home-lead {
    max-width: 100%;
    font-size: clamp(0.65rem, 1.2vw, 1rem);
    white-space: nowrap;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 560px;
    margin: 10px auto 0;
    text-align: center;
}

.countdown div {
    display: grid;
    gap: 2px;
    padding: 12px 4px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.countdown strong {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.1;
}

.countdown span {
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.venue {
    margin: 0;
    text-align: center;
    color: var(--accent-deep);
    font-size: 1.35rem;
}

.home-time {
    gap: 0;
}

.page-copy.home-time {
    margin-top: -14px;
}

.home-time p {
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1.1;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 0;
    padding: 0 10px;
}

.faq-list details {
    border-top: 1px solid var(--rule);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--rule);
}

.faq-list summary {
    padding: 14px 0;
    cursor: pointer;
    color: var(--ink);
}

.faq-list details p {
    margin: -2px 0 14px;
    color: var(--muted);
}

.faq-list details p a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 12px auto 18px;
}

.detail-sections {
    display: grid;
    gap: 28px;
    padding: 0 10px;
    scroll-margin-top: 150px;
}

.detail-section {
    scroll-margin-top: 150px;
}

.detail-section h2 {
    margin-bottom: 10px;
    text-align: center;
}

.detail-section p {
    margin: 0 0 16px;
    text-align: center;
    white-space: pre-line;
}

.detail-links {
    display: grid;
    gap: 8px;
    margin: 18px 0 18px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.detail-links a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.detail-note {
    display: block;
    margin-top: 4px !important;
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

.detail-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 18px;
}

.detail-section h2 + .detail-image {
    margin-top: -2px;
}

.schedule-events {
    max-width: 520px;
    margin: 12px auto 0;
    border-left: 1px solid var(--rule);
}

.schedule-event {
    position: relative;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 12px 14px 18px;
    border-bottom: 1px solid var(--rule);
    text-align: left;
}

.schedule-event::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    width: 9px;
    height: 9px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--paper);
    transform: translateY(-50%);
}

.schedule-event strong {
    color: var(--accent-deep);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.schedule-event span {
    color: var(--ink);
    font-size: 1.08rem;
    white-space: normal;
}

.page-copy {
    display: grid;
    gap: 16px;
    margin-top: 8px;
    padding: 0 10px;
}

.page-copy p,
.page-note,
.message {
    margin: 0;
    text-align: center;
}

.page-note {
    margin-top: 12px;
    color: var(--muted);
    font-style: italic;
}

.rsvp-block {
    padding: 8px 10px 0;
}

.rsvp-form {
    display: grid;
    gap: 18px;
    margin-top: 8px;
}

.guest-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 20px 22px;
    margin: 4px 0;
    background: #fbf8f1;
    border: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: 0 10px 22px rgba(45, 36, 28, 0.14);
}

.guest-card[hidden] {
    display: none;
}

.guest-card input[name$="-DELETE"] {
    display: none;
}

.name-row-removable {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
}

.name-row-removable input {
    flex-grow: 1;
}

.card-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    line-height: 1;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.name-row-removable .card-delete {
    position: static;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-sizing: border-box;
}

.card-delete:hover {
    color: var(--accent-deep);
    border-color: var(--accent-deep);
}

.addable-formset {
    display: grid;
    gap: 14px;
}

.add-guest-card {
    display: block;
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px dashed var(--rule);
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
    cursor: pointer;
}

.add-guest-card[hidden] {
    display: none;
}

.add-guest-card:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
}

.guest-card .name-field input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    padding: 6px 0;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.guest-card .name-field input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toggle-group label {
    display: inline-block;
    flex: 1 1 90px;
    text-align: center;
    padding: 8px 16px;
    border: 1px solid var(--rule);
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    cursor: pointer;
    background: transparent;
    color: var(--muted);
}

.toggle-group input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.toggle-group label:has(input:checked) {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tag-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 4px;
    border: 1px solid currentColor;
    vertical-align: middle;
    text-transform: uppercase;
}

.tag-v,
.tag-vg {
    color: #3e6b48;
    background-color: #edf5f0;
}

.toggle-group label:has(input:checked) .tag-pill {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}


.course-label {
    letter-spacing: 0.04em;
    color: var(--ink);
}

.menu-fields {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 320ms ease, opacity 260ms ease;
}

.menu-fields.is-visible {
    grid-template-rows: 1fr;
    opacity: 1;
}

.menu-fields-inner {
    display: grid;
    gap: 14px;
    overflow: hidden;
    min-height: 0;
}

.field-group {
    display: grid;
    gap: 6px;
}

.field-group label {
    letter-spacing: 0.04em;
    color: var(--ink);
}

.field-group input,
.field-group textarea,
.field-group select {
    width: 100%;
    padding: 12px 0 10px;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.field-group small,
.field-error {
    color: var(--muted);
}

.field-error {
    margin: 0;
    color: #ff0000;
}

.field-group.has-error label,
.field-group.has-error .course-label {
    color: #ff0000 !important;
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea {
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.field-group.has-error .toggle-group label:not(:has(input:checked)) {
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
}

.menu-fields.has-error .course-label {
    color: #ff0000 !important;
}

.menu-fields.has-error .menu-choice-card .menu-card-inner {
    border: 2px solid #ff0000 !important;
}

.submit-link {
    justify-self: center;
    border: 0;
    background: transparent;
    color: var(--accent-deep);
    padding: 10px 4px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 1px solid currentColor;
}

.messages {
    display: grid;
    gap: 10px;
    text-align: center;
}

.message {
    color: var(--accent-deep);
}

.message.error {
    color: #ff0000;
    font-size: 1.15rem;
    font-weight: 700;
}

.site-footer {
    color: var(--muted);
    font-style: italic;
    padding-bottom: 34px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

@media (max-width: 720px) {
    .invitation-shell {
        width: min(100% - 24px, var(--max-width));
        padding-top: 92px;
    }

    .site-header {
        width: min(100% - 24px, var(--max-width));
        --header-settled-top: -6px;
        padding-top: 20px;
    }

    .site-header::after {
        top: 100px;
        height: 24px;
    }

    .site-header::before {
        height: 120px;
    }

    .site-nav {
        gap: 12px;
    }

    .artwork-mountains {
        bottom: -20px;
        height: calc(min(40vh, 420px) + 60px);
    }

    .artwork-trees-back {
        bottom: -20px;
        height: calc(min(40vh, 420px) + 60px);
    }

    .artwork-trees-front {
        bottom: -20px;
        height: calc(min(34vh, 360px) + 60px);
    }

    .artwork-flowers {
        width: min(51vw, 270px);
        height: min(36vh, 330px);
    }

    h1 {
        font-size: clamp(2.4rem, 16vw, 4rem);
    }

    .menu-course .toggle-group {
        flex-direction: column;
    }

    .menu-course .toggle-group label {
        flex: 1 1 auto;
    }
}

@media (min-width: 721px) {
    .page-column {
        padding-bottom: calc(clamp(140px, 26vh, 280px) + 100px);
    }

    .site-header::before {
        height: 130px;
    }

    .site-header::after {
        top: 110px;
        height: 20px;
        background: linear-gradient(180deg, rgba(247, 240, 228, 0.98) 0%, rgba(247, 240, 228, 0) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .artwork-layer,
    .artwork-layer-back,
    .artwork-layer-mid,
    .artwork-layer-front {
        animation: none;
        transition: none;
    }
}

/* skip fly-in entrance animations when navigating between pages (not the first load/refresh) */
html.no-entrance *,
html.no-entrance *::before,
html.no-entrance *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
}

/* Set Menu A/B Selection Layout */
.menu-choice-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: 6px 0 20px 0;
}

@media (max-width: 600px) {
    .menu-choice-container {
        flex-direction: column;
    }
}

.menu-choice-card {
    flex: 1;
    position: relative;
    cursor: pointer;
    display: block;
}

.menu-choice-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.menu-card-inner {
    position: relative;
    border: 1px solid var(--rule);
    padding: 24px 16px 20px;
    text-align: center;
    background: transparent;
    transition: all 0.22s ease-in-out;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 2px;
}

.menu-choice-card input[type="radio"]:checked + .menu-card-inner {
    border: 2px solid var(--accent);
    background: rgba(141, 106, 73, 0.08);
    box-shadow: 0 6px 16px rgba(45, 36, 28, 0.08);
    padding: 23px 15px 19px;
}

.menu-choice-card:hover .menu-card-inner {
    border-color: var(--accent);
    background: rgba(141, 106, 73, 0.01);
}

.menu-title {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--accent-deep);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.course-subtitle {
    display: block;
    font-family: Georgia, serif;
    font-size: 0.72rem;
    font-weight: 300;
    font-style: italic;
    color: var(--muted);
    letter-spacing: 0.05em;
    margin-top: 8px;
    margin-bottom: 2px;
}

.menu-item-text {
    margin: 0 0 8px 0;
    font-size: 1.08rem; /* slightly larger */
    line-height: 1.35;
    color: var(--ink);
}

.menu-item-text + .item-description {
    margin-top: -6px;
    margin-bottom: 16px;
}

.item-description {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.35;
}

.menu-item-text:last-of-type,
.item-description:last-of-type {
    margin-bottom: 4px;
}

/* Vegetarian Icon */
.menu-icon-veg {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #4a7c59; /* premium sage/forest green */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toggle Menu content based on child class on menu-fields */
.menu-fields .child-menu-desc {
    display: none;
}
.menu-fields .adult-menu-desc {
    display: block;
}

.menu-fields.menu-is-child .child-menu-desc {
    display: block;
}
.menu-fields.menu-is-child .adult-menu-desc {
    display: none;
}

textarea {
    resize: none;
}

/* Other-details section: collapsible when nobody is attending */
.other-details-section {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 320ms ease, opacity 280ms ease;
    overflow: hidden;
}

.other-details-section.is-hidden {
    grid-template-rows: 0fr;
    opacity: 0;
}

.other-details-section > * {
    min-height: 0;
    overflow: hidden;
}


/* Admin Dashboard Styles */
.dashboard-totals-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 20px 0 30px;
}

.total-card {
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    padding: 18px 14px;
    border-radius: 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(45, 36, 28, 0.03);
}

.total-card .total-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 700;
}

.total-card .total-value {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    font-family: Georgia, serif;
}

.total-card.attending { border-color: rgba(74, 124, 89, 0.35); }
.total-card.attending .total-value { color: #4a7c59; }

.total-card.declined { border-color: rgba(138, 77, 62, 0.35); }
.total-card.declined .total-value { color: #8a4d3e; }

.total-card.pending { border-color: rgba(141, 106, 73, 0.35); }
.total-card.pending .total-value { color: var(--accent); }

.dashboard-breakdowns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.breakdown-card {
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    padding: 20px;
    border-radius: 4px;
}

.breakdown-card h3 {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 8px;
    margin-bottom: 12px;
    color: var(--accent-deep);
}

.breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
}

.breakdown-list li span {
    color: var(--muted);
}

.breakdown-list li strong {
    color: var(--ink);
}

.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section h2 {
    font-family: Georgia, serif;
    font-size: 1.45rem;
    margin-bottom: 16px;
    color: var(--ink);
}

.search-container {
    margin-bottom: 18px;
}

.search-container input {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    border: 1px solid var(--rule);
    background: var(--paper-soft);
    border-radius: 4px;
    font-size: 0.95rem;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent);
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: var(--paper-soft);
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.dashboard-table th,
.dashboard-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--rule);
}

.dashboard-table th {
    background: rgba(45, 36, 28, 0.04);
    font-weight: 700;
    color: var(--accent-deep);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tr:hover {
    background: rgba(45, 36, 28, 0.02);
}

.party-code-link {
    font-weight: 700;
    text-decoration: underline;
    color: var(--accent-deep);
}

.party-code-link:hover {
    color: var(--accent);
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-yes { background-color: rgba(74, 124, 89, 0.12); color: #4a7c59; }
.status-no { background-color: rgba(138, 77, 62, 0.12); color: #8a4d3e; }
.status-maybe { background-color: rgba(141, 106, 73, 0.12); color: var(--accent); }

.diet-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    background: var(--paper-soft);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(45, 36, 28, 0.02);
}

.activity-item.type-submit {
    border-left: 3px solid #4a7c59;
}

.activity-item.type-access {
    border-left: 3px solid var(--accent);
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--muted);
}

.activity-time {
    font-family: monospace;
}

.activity-party a {
    text-decoration: underline;
}

.activity-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 2px;
}

.badge-submit { background: rgba(74, 124, 89, 0.1); color: #4a7c59; }
.badge-access { background: rgba(141, 106, 73, 0.1); color: var(--accent); }

.activity-details pre {
    margin: 0;
    font-family: inherit;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-wrap;
    color: var(--ink);
}

.rsvp-info-link {
    margin-top: 12px;
    font-size: 0.95rem;
}
.rsvp-info-link a {
    text-decoration: underline;
    color: var(--accent-deep);
    font-weight: 700;
}
.rsvp-info-link a:hover {
    color: var(--accent);
}

.schedule-event span a {
    color: var(--accent-deep);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.schedule-event span a:hover {
    color: var(--accent);
    border-color: var(--accent-deep);
}

