:root {
    --ink: #182238;
    --navy: #101a2c;
    --cream: #fbf7ef;
    --paper: rgba(255, 253, 248, .94);
    --gold: #a47d32;
    --gold-light: #e8d8ad;
    --blue: #26354e;
    --leaf: #53604b;
    --muted: #6d6b68;
    --ok: #29695c;
    --bad: #a5343b;
    --warn: #aa7925;
    --occasion-deep: #08221f;
    --occasion-ink: #102f2b;
    --occasion-mint: #c8f36b;
    --occasion-coral: #ff8a6b;
    --occasion-sand: #f7f1e5;
    --occasion-paper: #fffdf8;
}

* { box-sizing: border-box; }

.skip-link {
    position: fixed;
    z-index: 10000;
    top: .5rem;
    left: .5rem;
    padding: .7rem 1rem;
    color: #fff;
    background: var(--navy);
    border: 2px solid #fff;
    border-radius: 10px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    background: #f6f2e9;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 7% 9%, rgba(36, 104, 87, .11), transparent 23rem),
        radial-gradient(circle at 93% 90%, rgba(232, 112, 86, .10), transparent 22rem);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem clamp(1rem, 4vw, 3rem);
    color: #fffaf0;
    background: linear-gradient(105deg, #111c30, #26354e);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(16, 26, 44, .2);
}

.nav .brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fffaf0;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}
.nav .brand span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px 12px 12px 4px;
    color: var(--navy);
    background: #f2d99b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}
.nav .brand strong { font-size: inherit; }

.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.nav a { color: #fffaf0; text-decoration: none; }
.nav a:hover, .nav a:focus { color: #f2d99b; }
.logout-form { display: inline; margin: 0; }
.nav-logout-btn { padding: 0; color: inherit; border: 0; background: transparent; font: inherit; cursor: pointer; }

.wrap { max-width: 1150px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem) 1rem 3rem; }
.site-footer { padding: 1.2rem 1rem 1.8rem; color: var(--muted); text-align: center; }
.site-footer a { color: var(--navy); font-weight: 700; }
h1, h2, h3 { color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.5rem; }
h2 { margin-top: 2.2rem; font-size: 1.55rem; }
h3 { margin-top: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card {
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(164, 125, 50, .35);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 16px 35px rgba(33, 38, 45, .1);
}
.card::before { position: absolute; inset: 0 0 auto; height: 4px; content: ""; background: linear-gradient(90deg, var(--gold), transparent); }
.narrow { max-width: 430px; margin: 2rem auto; }
.card strong { font-size: 2.2rem; color: var(--navy); }

.btn {
    display: inline-block;
    padding: .72rem 1.1rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: #fffdf7;
    background: linear-gradient(135deg, #26354e, #111c30);
    box-shadow: 0 6px 14px rgba(16, 26, 44, .18);
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); background: linear-gradient(135deg, #3a4d6b, #182238); }
.btn.small { padding: .45rem .78rem; font-size: .9rem; }
.btn-download { color: var(--navy); background: #fffdf8; }
.btn-whatsapp { background: linear-gradient(135deg, #2f8a63, #236949); border-color: #b5dfca; }

/* Authenticated OccasionOS product theme */
.platform-page {
    --ink: var(--occasion-ink);
    --navy: var(--occasion-deep);
    --cream: var(--occasion-sand);
    --paper: rgba(255, 253, 248, .96);
    --gold: var(--occasion-coral);
    --gold-light: #f4c0b2;
    --blue: #173c37;
    --leaf: #5e6d68;
    --muted: #5e6d68;
    --ok: #246857;
    color: var(--occasion-ink);
    background: var(--occasion-sand);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.platform-page::before {
    background:
        radial-gradient(circle at 5% 8%, rgba(200, 243, 107, .12), transparent 25rem),
        radial-gradient(circle at 95% 92%, rgba(255, 138, 107, .12), transparent 24rem);
}
.platform-page h1, .platform-page h2, .platform-page h3 {
    color: var(--occasion-ink);
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.025em;
}
.platform-page .nav {
    min-height: 76px;
    color: #fff;
    background: var(--occasion-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 28px rgba(8, 34, 31, .16);
}
.platform-page .nav .brand,
.platform-page .nav a { color: #fff; }
.platform-page .nav .brand span {
    color: var(--occasion-deep);
    background: var(--occasion-mint);
}
.platform-page .nav a:hover,
.platform-page .nav a:focus,
.platform-page .nav-logout-btn:hover,
.platform-page .nav-logout-btn:focus { color: var(--occasion-mint); }
.platform-page .card {
    border-color: rgba(16, 47, 43, .18);
    border-radius: 22px 22px 22px 7px;
    background: var(--occasion-paper);
    box-shadow: 0 16px 38px rgba(16, 47, 43, .08);
}
.platform-page .card::before {
    background: linear-gradient(90deg, var(--occasion-coral), var(--occasion-mint), transparent 75%);
}
.platform-page .card strong { color: var(--occasion-ink); }
.platform-page .btn {
    border-color: var(--occasion-mint);
    border-radius: 13px 13px 13px 5px;
    color: var(--occasion-deep);
    background: var(--occasion-mint);
    box-shadow: 0 8px 20px rgba(8, 34, 31, .13);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.platform-page .btn:hover,
.platform-page .btn:focus { color: var(--occasion-deep); background: #d7ff7f; }
.platform-page .btn.secondary,
.platform-page .btn-download {
    color: var(--occasion-ink);
    border-color: rgba(16, 47, 43, .3);
    background: var(--occasion-paper);
}
.platform-page .btn.secondary:hover,
.platform-page .btn.secondary:focus,
.platform-page .btn-download:hover,
.platform-page .btn-download:focus { border-color: var(--occasion-ink); background: #fff; }
.platform-page .btn.quiet { border-color: transparent; background: transparent; box-shadow: none; }
.platform-page .btn-unable { color: #fff; border-color: #8e3339; background: #8e3339; }
.platform-page .eyebrow,
.platform-page .table-number { color: var(--occasion-coral); }
.platform-page input,
.platform-page select,
.platform-page textarea {
    border-color: rgba(16, 47, 43, .3);
    color: var(--occasion-ink);
    background: var(--occasion-paper);
    font-family: inherit;
}
.platform-page input:focus,
.platform-page select:focus,
.platform-page textarea:focus { outline-color: var(--occasion-mint); box-shadow: 0 0 0 2px var(--occasion-deep); }
.platform-page table { border-color: rgba(16, 47, 43, .18); box-shadow: 0 12px 30px rgba(16, 47, 43, .07); }
.platform-page th { background: var(--occasion-deep); }
.platform-page .site-footer a { color: var(--occasion-ink); }

.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 .4rem; color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h1, .section-heading h2 { margin-bottom: .35rem; }
.section-heading p { margin: 0; }
.heading-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .6rem; }
.alert { padding: .8rem 1rem; margin-bottom: 1rem; border: 1px solid var(--gold-light); border-radius: 14px; background: #fff9e9; }
input, select, textarea { width: 100%; padding: .85rem; margin: .35rem 0 1rem; border: 1px solid #c8b992; border-radius: 12px; color: var(--ink); background: #fffdf8; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-card ul.errorlist { padding-left: 1.2rem; color: var(--bad); }
.form-card .helptext { display: block; margin: -.7rem 0 1rem; color: var(--muted); font-size: .9rem; }
.managed-access-row { padding: 1rem 0; border-bottom: 1px solid rgba(164, 125, 50, .25); }
.managed-access-row:last-child { border-bottom: 0; }
.managed-access-row strong { font-size: 1.05rem; }

/* Guided event setup and task-led operations */
.setup-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.planning-choice-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 1.25rem; }
.planning-choice-guide article { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: color-mix(in srgb, var(--surface) 92%, var(--accent)); }
.planning-choice-guide strong, .planning-choice-guide span { display: block; }
.planning-choice-guide span { color: var(--muted); margin-top: .35rem; font-size: .92rem; line-height: 1.45; }
.error-page { max-width: 780px; margin: 4rem auto; }
.artwork-onboarding { margin-bottom: 1rem; }
.invitation-name-handle { position: absolute; z-index: 4; display: block; padding: .25rem .45rem; overflow: hidden; border: 1px dashed currentColor; background: rgba(255,255,255,.72); color: #102f2b; font-family: Georgia, serif; font-weight: 700; text-align: left; white-space: nowrap; cursor: move; touch-action: none; }
.invitation-name-handle[hidden] { display: none; }
.checkbox-line { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.checkbox-line input { width: auto; margin: 0; }
.setup-steps { position: sticky; top: 1rem; padding: .8rem; margin: 0; border-radius: 20px; background: rgba(255,253,248,.75); list-style: none; }
.setup-steps li { display: flex; align-items: center; gap: .65rem; padding: .7rem; color: var(--muted); border-radius: 12px; }
.setup-steps li span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border: 1px solid #c8b992; border-radius: 50%; }
.setup-steps li.is-current { color: var(--navy); background: #fff4d8; font-weight: 700; }
.setup-steps li.is-complete span { color: #fff; border-color: var(--ok); background: var(--ok); }
.review-list { display: grid; gap: 0; margin: 1rem 0 1.5rem; }
.review-list div { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(164,125,50,.22); }
.review-list dt { color: var(--muted); font-weight: 700; }
.review-list dd { margin: 0; }
.review-list.compact { margin: .6rem 0; font-size: .9rem; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.button-row form { margin: 0; }
.btn.quiet { color: var(--navy); border-color: transparent; background: transparent; box-shadow: none; }
.portfolio-filters, .guest-filters { display: grid; grid-template-columns: minmax(210px, 1.5fr) repeat(2, minmax(170px, 1fr)) auto; gap: .8rem; align-items: end; }
.portfolio-filters input, .portfolio-filters select, .guest-filters input, .guest-filters select { margin-bottom: 0; }
.event-card__top, .guest-ops-card__header, .readiness-card__heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.event-card h2, .guest-ops-card h2 { margin: .25rem 0; }
.status-badge { display: inline-flex; align-items: center; width: fit-content; padding: .32rem .55rem; border-radius: 999px; color: #5f4a18; background: #f5e8bd; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status-badge--published, .status-badge--attending { color: #175346; background: #dff2e9; }
.status-badge--live { color: #fff; background: var(--ok); }
.status-badge--cancelled, .status-badge--unable { color: #7c1e25; background: #f9dcdf; }
.status-badge--archived, .status-badge--pending { color: #555; background: #e8e6e1; }
.readiness-meter { height: 9px; overflow: hidden; margin: 1rem 0 .5rem; border-radius: 999px; background: #e4ded2; }
.readiness-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--ok)); }
.readiness-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .65rem; padding: 0; list-style: none; }
.readiness-list li { display: flex; align-items: center; gap: .5rem; padding: .65rem; border-radius: 10px; background: #f7f1e5; }
.readiness-list li.is-complete { color: var(--ok); background: #eaf5ef; }
.readiness-list a { color: inherit; }
.readiness-card strong, .event-card strong, .guest-ops-card strong { font-size: inherit; }
.section-title { margin: 2rem 0 1rem; }
.task-grid .card h2 { margin: .2rem 0 .65rem; }
.guest-card-list { display: grid; gap: .9rem; }
.bulk-guest-actions { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; gap: .65rem; align-items: end; }
.bulk-guest-actions input, .bulk-guest-actions select { margin-bottom: 0; }
.guest-select { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; }
.guest-select input { width: auto; margin: 0; }
.guest-ops-card { margin-bottom: 0; }
.requirement-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0; }
.requirement-badges span { padding: .35rem .55rem; border-radius: 8px; color: #305149; background: #e8f4ef; font-size: .76rem; font-weight: 700; }
.requirement-badges .is-critical { color: #7c1e25; background: #ffe5e7; }
.requirement-badges .is-sensitive { color: #63396e; background: #f2e8f5; }
.guest-ops-card__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: .85rem 0; margin-top: .75rem; border-top: 1px solid rgba(164,125,50,.22); }
.guest-ops-card__details summary, .guest-ops-card__amend summary { color: var(--navy); font-weight: 700; cursor: pointer; }
.guest-ops-card__amend { padding-top: .75rem; border-top: 1px solid rgba(164,125,50,.22); }
.guest-ops-card .rsvp-admin-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .6rem; align-items: end; margin-top: .8rem; }
.guest-ops-card .rsvp-admin-form select, .guest-ops-card .rsvp-admin-form input { margin-bottom: 0; }
.guest-ops-card .rsvp-release { align-self: center; }
.guest-ops-card .rsvp-release input { width: auto; }
.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.operations-panel h2 { margin: .2rem 0 1rem; }
.operation-item { padding: .8rem 0; border-top: 1px solid rgba(164,125,50,.23); }
.operation-item h3, .operation-item p { margin: .25rem 0; }
.operation-item strong { font-size: 1rem; }
.layout-operations-list { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(164,125,50,.25); }
.layout-operation-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(130px, 1fr)) auto; gap: .6rem; align-items: end; padding: .7rem 0; border-top: 1px solid rgba(164,125,50,.16); }
.layout-operation-row span { display: grid; gap: .2rem; }
.layout-operation-row strong { font-size: .9rem; }
.layout-operation-row small { color: var(--muted); }
.layout-operation-row input, .layout-operation-row select { margin-bottom: 0; }
.wristband-dot { display: inline-block; width: .85rem; height: .85rem; margin-right: .4rem; border-radius: 50%; vertical-align: middle; }
.public-rsvp-group, .public-rsvp-question { padding: .8rem; margin: .8rem 0; border: 1px solid rgba(164,125,50,.3); border-radius: 14px; }
.public-rsvp-group label, .public-rsvp-question label { display: block; margin: .45rem 0; }
.public-rsvp-group input[type="checkbox"], .public-rsvp-question input[type="checkbox"] { width: auto; margin: 0 .35rem 0 0; }
.event-information-card { padding: 1.2rem; margin: 1rem 0; border: 1px solid rgba(164,125,50,.35); border-radius: 20px; background: #fffdf8; }

/* OccasionOS public landing page */
.landing-page {
    --landing-ink: #102f2b;
    --landing-deep: #08221f;
    --landing-mint: #c8f36b;
    --landing-coral: #ff8a6b;
    --landing-sand: #f7f1e5;
    --landing-paper: #fffdf8;
    color: var(--landing-ink);
    background: var(--landing-sand);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.landing-page::before { display: none; }
.landing-page .wrap { max-width: none; margin: 0; padding: 0; }
.landing-page h1, .landing-page h2, .landing-page h3 { color: inherit; }
.landing-page h1, .landing-page h2 { font-family: Georgia, "Times New Roman", serif; }
.landing-nav {
    display: flex;
    position: relative;
    z-index: 5;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 82px;
    padding: 0 clamp(1.25rem, 5vw, 5.5rem);
    color: #fff;
    background: var(--landing-deep);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.landing-logo { display: flex; align-items: center; gap: .7rem; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.landing-logo span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px 13px 13px 4px; color: var(--landing-deep); background: var(--landing-mint); font-family: Georgia, serif; font-size: 1.45rem; }
.landing-nav nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.landing-nav nav a { color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 700; text-decoration: none; }
.landing-nav nav a:hover { color: #fff; }
.landing-nav .landing-nav__cta { padding: .75rem 1rem; border-radius: 12px; color: var(--landing-deep); background: var(--landing-mint); }
.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
    min-height: 700px;
    padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 7rem);
    color: #fff;
    background: radial-gradient(circle at 10% 85%, rgba(255,138,107,.18), transparent 25rem), radial-gradient(circle at 95% 10%, rgba(200,243,107,.12), transparent 28rem), var(--landing-deep);
}
.landing-kicker { margin: 0 0 1.2rem; color: var(--landing-coral); font-size: .77rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.landing-hero h1 { max-width: 760px; margin: 0; color: #fff9ea; font-size: clamp(3.5rem, 6.7vw, 6.8rem); line-height: .9; letter-spacing: -.055em; }
.landing-hero h1 em { color: var(--landing-mint); font-weight: inherit; }
.landing-lede { max-width: 650px; margin: 2rem 0; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem 1.3rem; border-radius: 14px; font-weight: 800; text-decoration: none; }
.landing-button--primary { color: var(--landing-deep); background: var(--landing-mint); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.landing-button--primary:hover { transform: translateY(-2px); background: #d7ff7f; }
.landing-button--quiet { color: #fff; border: 1px solid rgba(255,255,255,.24); }
.landing-proof { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.landing-proof li { padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; }
.occasion-preview { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid rgba(200,243,107,.18); border-radius: 32px 32px 32px 9px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); box-shadow: 0 30px 70px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.occasion-preview__top { display: flex; justify-content: space-between; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.66); font-size: .84rem; }
.occasion-preview__top i { display: inline-block; width: 8px; height: 8px; margin-right: .5rem; border-radius: 50%; background: var(--landing-mint); box-shadow: 0 0 14px var(--landing-mint); }
.occasion-preview__top b { padding: .35rem .55rem; border-radius: 7px; color: var(--landing-mint); background: rgba(200,243,107,.08); font-size: .65rem; letter-spacing: .08em; }
.occasion-preview__eyebrow { margin: 1.8rem 0 .6rem; color: var(--landing-coral); font-size: .7rem; font-weight: 900; letter-spacing: .17em; }
.occasion-preview h2 { max-width: 520px; margin: 0 0 1.7rem; color: #fff9ea; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.03; }
.occasion-preview__features { display: grid; gap: .7rem; }
.occasion-preview__features > div { display: grid; grid-template-columns: 42px 1fr auto; gap: 1rem; align-items: center; padding: .9rem; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(4,20,18,.35); }
.occasion-preview__features span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--landing-deep); background: var(--landing-coral); font-size: .75rem; font-weight: 900; }
.occasion-preview__features > div:nth-child(2) span { background: var(--landing-mint); }
.occasion-preview__features > div:nth-child(3) span { background: #79d9d0; }
.occasion-preview__features p { margin: 0; }
.occasion-preview__features strong { display: block; color: #fff; font-size: .9rem; }
.occasion-preview__features small { display: block; margin-top: .2rem; color: rgba(255,255,255,.5); }
.occasion-preview__features b { color: var(--landing-mint); font-size: .64rem; letter-spacing: .08em; }
.occasion-preview__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .8rem; }
.occasion-preview__stats div { padding: 1rem .6rem; border-radius: 14px; text-align: center; background: rgba(4,20,18,.52); }
.occasion-preview__stats strong, .occasion-preview__stats small { display: block; }
.occasion-preview__stats strong { color: #fff; font-size: 1.7rem; }
.occasion-preview__stats small { margin-top: .25rem; color: rgba(255,255,255,.46); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.landing-value { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 3vw, 3rem); padding: 1.3rem 1rem; color: var(--landing-deep); background: var(--landing-mint); overflow: hidden; }
.landing-value p { margin: 0; font-size: .74rem; font-weight: 900; letter-spacing: .16em; }
.landing-value span { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--landing-coral); }
.landing-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); }
.landing-section__heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr); gap: 3rem; align-items: end; max-width: 1260px; margin: 0 auto 3rem; }
.landing-section__heading h2, .landing-final-cta h2, .landing-feature-band h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .97; letter-spacing: -.045em; }
.landing-section__heading > p { margin: 0; color: #5e6d68; font-size: 1.05rem; line-height: 1.7; }
.occasion-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1260px; margin: auto; border-top: 1px solid #cfc8ba; border-left: 1px solid #cfc8ba; }
.occasion-grid article { min-height: 215px; padding: 1.4rem; border-right: 1px solid #cfc8ba; border-bottom: 1px solid #cfc8ba; background: rgba(255,255,255,.35); transition: .2s ease; }
.occasion-grid article:hover { z-index: 1; transform: translateY(-4px); border-color: var(--landing-ink); background: var(--landing-paper); box-shadow: 0 18px 40px rgba(16,47,43,.1); }
.occasion-grid span, .service-grid > article > span { color: var(--landing-coral); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.occasion-grid h3 { min-height: 2.5em; margin: 1.7rem 0 .7rem; font-family: Georgia, serif; font-size: 1.3rem; }
.occasion-grid p { margin: 0; color: #697570; font-size: .86rem; line-height: 1.55; }
.landing-journey { color: #fff; background: var(--landing-ink); }
.landing-journey .landing-section__heading h2 { color: #fff9ea; }
.landing-journey .landing-section__heading > p { color: rgba(255,255,255,.62); }
.landing-journey ol { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1260px; padding: 0; margin: auto; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.landing-journey li { padding: 1.7rem 1.3rem 0; border-left: 1px solid rgba(255,255,255,.16); }
.landing-journey li:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.landing-journey li > span { color: var(--landing-mint); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.landing-journey h3 { margin: 4rem 0 .7rem; color: #fff; font-size: 1rem; }
.landing-journey li p { color: rgba(255,255,255,.55); font-size: .87rem; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1260px; margin: auto; }
.service-grid article { display: flex; min-height: 330px; padding: 2rem; flex-direction: column; border: 1px solid #cfc8ba; border-radius: 22px 22px 22px 6px; background: var(--landing-paper); }
.service-grid h3 { margin: 2.7rem 0 1rem; font-family: Georgia, serif; font-size: 2rem; }
.service-grid p { color: #67736f; line-height: 1.65; }
.service-grid article > strong { margin-top: auto; color: var(--landing-ink); font-size: .86rem; }
.service-grid__featured { color: #fff; background: var(--landing-ink) !important; border-color: var(--landing-ink) !important; transform: translateY(-12px); box-shadow: 0 24px 55px rgba(16,47,43,.2); }
.service-grid__featured h3, .service-grid__featured > strong { color: #fff; }
.service-grid__featured p { color: rgba(255,255,255,.65); }
.landing-feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); color: #fff; background: var(--landing-deep); }
.landing-feature-band h2 { color: #fff9ea; }
.landing-feature-list { align-self: center; border-top: 1px solid rgba(255,255,255,.16); }
.landing-feature-list p { display: grid; grid-template-columns: 30px 1fr; gap: 1rem; padding: 1rem 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.72); }
.landing-feature-list span { color: var(--landing-mint); }
.landing-final-cta { padding: clamp(5rem, 10vw, 10rem) 1.5rem; text-align: center; background: radial-gradient(circle at center, #fff 0, var(--landing-sand) 60%); }
.landing-final-cta h2 { max-width: 1000px; margin: 0 auto 2.5rem; }
.landing-final-cta .landing-button { min-width: 220px; }

@media (max-width: 980px) {
    .landing-nav nav a:not(.landing-nav__cta):not(:last-of-type) { display: none; }
    .landing-hero { grid-template-columns: 1fr; }
    .occasion-preview { max-width: 700px; }
    .occasion-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-journey ol { grid-template-columns: 1fr; }
    .landing-journey li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.3rem; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
    .landing-journey h3 { margin: 0 0 .5rem; }
}
@media (max-width: 720px) {
    .landing-nav { min-height: 70px; }
    .landing-logo { font-size: 1rem; }
    .landing-nav nav { gap: .6rem; }
    .landing-nav nav a { font-size: .78rem; }
    .landing-nav .landing-nav__cta { padding: .65rem .7rem; }
    .landing-hero { min-height: auto; padding-top: 4rem; }
    .landing-hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
    .landing-section__heading, .landing-feature-band { grid-template-columns: 1fr; }
    .occasion-grid, .service-grid { grid-template-columns: 1fr; }
    .service-grid__featured { transform: none; }
    .landing-value { justify-content: flex-start; }
    .occasion-preview__features > div { grid-template-columns: 38px 1fr; }
    .occasion-preview__features > div > b { display: none; }
}

table { width: 100%; overflow: hidden; border: 1px solid rgba(164, 125, 50, .2); border-collapse: separate; border-spacing: 0; border-radius: 18px; background: var(--paper); box-shadow: 0 12px 30px rgba(33, 38, 45, .08); }
th, td { padding: .8rem; border-bottom: 1px solid rgba(164, 125, 50, .16); text-align: left; }
th { color: #fffaf0; background: var(--navy); }
tr:last-child td { border-bottom: 0; }

.result { padding: 1rem; margin-top: 1rem; border-radius: 16px; font-size: 1.05rem; }
.result.success { color: var(--ok); border: 1px solid #97d2b9; background: #eef9f2; }
.result.error { color: var(--bad); border: 1px solid #eeb5b8; background: #fff1f1; }
.result.warning { color: var(--warn); border: 1px solid #ead39c; background: #fff9e8; }
.result.muted { color: var(--muted); border: 1px solid #e6d9bd; background: #fffdf8; }
#reader { width: 100%; max-width: 520px; margin: 1rem auto; overflow: hidden; border: 1px solid var(--gold-light); border-radius: 18px; }

.public-invitation-page .nav { background: rgba(16, 26, 44, .96); }
.public-nav { justify-content: center; }
.invitation-experience { max-width: 610px; margin: 0 auto; text-align: center; }
.invitation-experience__eyebrow { margin: 0 0 .8rem; color: var(--gold); font-size: .83rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.invitation-art { position: relative; width: min(100%, 560px); margin: 0 auto; overflow: hidden; border: 1px solid var(--gold-light); box-shadow: 0 18px 45px rgba(16, 26, 44, .2); }
.invitation-art--rendered { width: min(100%, 610px); }
.invitation-art__image { display: block; width: 100%; height: auto; }
.invitation-art__guest-box { position: absolute; top: 32.8%; left: 24.1%; display: grid; grid-template-columns: minmax(0, 1fr) 26.7%; align-items: center; gap: 5.2%; width: 52.4%; height: 7%; }
.invitation-art__guest-box h1 { margin: 0; color: #8b6a24; font-size: clamp(1rem, 3.7vw, 1.8rem); line-height: 1.08; overflow-wrap: anywhere; text-align: center; }
.invitation-art__qr { display: block; width: 100%; max-width: 100%; aspect-ratio: 1; height: auto; padding: 2.5%; background: #fff; object-fit: contain; }
.invitation-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: 1.25rem auto .75rem; }
.invitation-experience__note { color: var(--muted); font-size: .92rem; font-style: italic; }
.rsvp-card { padding: 1.35rem; margin: 1.4rem auto; border: 1px solid var(--gold-light); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 28px rgba(33, 38, 45, .1); text-align: left; }
.rsvp-card h2 { margin: 0 0 .5rem; }
.rsvp-card select { max-width: 11rem; }
.rsvp-current { padding: .8rem; border-radius: 12px; color: var(--ok); background: #eef9f2; }
.rsvp-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-unable { background: linear-gradient(135deg, #7b3035, #541f23); border-color: #d7a8aa; }
.rsvp-admin-form { display: grid; grid-template-columns: minmax(8rem, 1fr) 4.5rem minmax(11rem, 1fr); align-items: center; gap: .4rem; min-width: 34rem; }
.rsvp-admin-form input, .rsvp-admin-form select { margin: 0; padding: .5rem; }
.rsvp-admin-form .rsvp-release { grid-column: 1 / -1; display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .82rem; }
.rsvp-admin-form .btn { grid-column: 1 / -1; width: 100%; }
.rsvp-admin-form .rsvp-release input, .checkbox-line input { width: auto; }
.checkbox-line { display: flex; align-items: center; gap: .5rem; margin: .8rem 0; }
.guest-admin-page .wrap { max-width: 1500px; }
.guest-admin-page table { display: block; max-width: 100%; overflow-x: auto; }
.guest-admin-page td { vertical-align: middle; }
.checkin-compact { white-space: nowrap; }

.guest-table-card { padding: 1.2rem; margin: 1.4rem auto; border: 1px solid var(--gold-light); border-radius: 20px; background: linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(232, 216, 173, .45)); box-shadow: 0 12px 28px rgba(33, 38, 45, .1); text-align: center; }
.guest-table-card h2 { margin: 0 0 .4rem; }
.guest-table-card p:last-child { margin-bottom: 0; }
.find-table-experience { width: min(100%, 1100px); margin: 0 auto; text-align: center; }
.find-table-experience h1 { margin-top: .2rem; }
.find-table-plan { margin: 1.2rem 0; padding: 1rem; border: 1px solid rgba(164,125,50,.4); border-radius: 22px; background: #fffdf8; }
.find-table-plan img { display: block; width: 100%; height: auto; border-radius: 14px; }
.find-table-plan figcaption { margin-top: .75rem; color: var(--muted); font-weight: 700; }

.table-page-heading { margin-bottom: 1.4rem; }
.seating-summary .card { padding-block: 1rem; }
.seating-summary .card strong { font-size: 1.8rem; }
.seating-export-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.seating-export-panel h2 { margin: 0 0 .35rem; }
.seating-export-panel p { margin: 0; }
.seating-export-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .65rem; }
.table-search { padding: 1rem; margin: 1rem 0 1.4rem; border: 1px solid rgba(164, 125, 50, .28); border-radius: 18px; background: var(--paper); }
.table-search label { font-weight: 700; }
.table-search__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, auto) auto auto; gap: .65rem; align-items: center; }
.table-search__controls input, .table-search__controls select { margin: .45rem 0 0; }
.seating-table-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 1rem; }
.table-card { padding: 1.15rem; border: 1px solid rgba(164, 125, 50, .35); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 28px rgba(33, 38, 45, .08); }
.table-card--review { border-color: rgba(170, 121, 37, .72); }
.table-card__heading { display: flex; align-items: start; justify-content: space-between; gap: .8rem; }
.table-card__heading h2 { margin: .2rem 0 .9rem; font-size: 1.35rem; }
.table-number { color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-badge { display: inline-flex; align-items: center; padding: .35rem .55rem; border-radius: 999px; color: var(--ok); background: #eef9f2; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status-badge--warning { color: #77500d; background: #fff2ce; }
.table-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 0 0 1rem; }
.table-card__stats div { min-width: 0; }
.table-card__stats dt { color: var(--muted); font-size: .76rem; }
.table-card__stats dd { margin: .2rem 0 0; color: var(--navy); font-size: 1.08rem; font-weight: 700; }
.table-card__note { min-height: 2.5rem; color: var(--muted); font-size: .88rem; }

.table-detail-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr); gap: 1.25rem; align-items: start; }
.table-detail-layout h2 { margin-top: 0; }
.assignment-list { display: grid; gap: .7rem; }
.assignment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid rgba(164, 125, 50, .25); border-radius: 16px; background: var(--paper); }
.assignment-row--warning { border-color: rgba(170, 121, 37, .75); background: #fff9e8; }
.assignment-row h3 { margin: 0 0 .25rem; font-size: 1rem; }
.assignment-row p { margin: 0; font-size: .88rem; }
.duplicate-note { margin-top: .35rem !important; color: #77500d; font-weight: 700; }
.assignment-row__actions { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: .45rem; }
.assignment-row__actions form:first-child { display: flex; align-items: center; gap: .4rem; }
.assignment-row__actions select { width: min(15rem, 32vw); margin: 0; padding: .55rem; }
.table-admin-panel { position: sticky; top: 1rem; }
.table-admin-panel .card h2 { font-size: 1.18rem; }
.table-admin-panel .status-badge { max-width: 100%; line-height: 1.35; white-space: normal; }
.seat-placement-panel { margin-top: 1.2rem; }
.seat-placement-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.seat-placement-heading h2 { margin: .1rem 0 .35rem; }
.seat-placement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.seat-slot { display: grid; gap: .4rem; padding: .75rem; border: 1px dashed rgba(164,125,50,.45); border-radius: 14px; background: #faf7f0; }
.seat-slot--assigned { border-style: solid; border-color: rgba(75,145,127,.55); background: #f1f8f5; }
.seat-slot select, .seat-slot input { width: 100%; margin: 0; padding: .55rem; font-size: .82rem; }

.floor-plan-page .wrap { max-width: 1380px; }
.floor-plan-heading { margin-bottom: 1.2rem; }
.floor-plan-heading > div { max-width: 820px; }
.floor-plan-notice { margin: 0 0 1.2rem; }
.planning-profile { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.5fr) auto; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.planning-profile h2 { margin: .1rem 0 0; }
.planning-profile p { margin: 0; }
.outdoor-toolbox { margin: .8rem 0; padding: .75rem; border: 1px solid rgba(36,104,87,.3); border-radius: 16px; background: rgba(233,246,239,.72); }
.outdoor-toolbox summary { color: #174d3a; font-weight: 800; cursor: pointer; }
.outdoor-toolbox > p { margin: .45rem 0 .2rem; }
.venue-toolstrip--outdoor { padding: .55rem 0 0; background: transparent; border: 0; }
.venue-toolstrip--outdoor .btn { border-color: rgba(36,104,87,.4); color: #174d3a; background: #f7fff9; }
.shared-layout-panel { display: grid; gap: 1rem; margin-bottom: 1.2rem; border-top: 4px solid var(--gold); }
.shared-layout-panel__intro h2 { margin: .1rem 0 .35rem; }
.shared-layout-panel__controls { display: grid; grid-template-columns: minmax(220px,1fr) auto minmax(260px,1.35fr) repeat(4,auto); gap: .65rem; align-items: end; }
.shared-layout-panel__controls label { margin: 0; }
.shared-layout-panel__controls .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; white-space: nowrap; }
.shared-layout-panel__controls .is-disabled { opacity: .45; pointer-events: none; }
.shared-layout-status { margin: 0; padding: .65rem .8rem; border-radius: 10px; color: #285f50; background: rgba(75,145,127,.1); font-weight: 700; }
.shared-layout-status.is-error { color: #8a2d24; background: rgba(170,55,43,.1); }
.shared-layout-status.is-busy { color: #6d501c; background: rgba(184,138,56,.12); }
.floor-plan-summary { grid-template-columns: repeat(6, minmax(135px, 1fr)); margin-bottom: 1.2rem; }
.floor-plan-summary .card { min-height: 118px; padding: 1rem; }
.floor-plan-summary .card strong { display: inline-block; font-size: 1.7rem; }
.floor-plan-summary .card span { color: var(--muted); font-size: .85rem; }
.floor-summary-warning { border-color: #d9a1a5; background: #fff3f3; }
.layout-editor { margin: 1.2rem 0 1.5rem; padding: 1.25rem; border: 1px solid rgba(164, 125, 50, .45); border-radius: 28px; background: rgba(255, 253, 248, .96); box-shadow: 0 16px 40px rgba(16, 26, 44, .1); }
.layout-editor__toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1rem; }
.layout-editor__toolbar > div:first-child { max-width: 650px; }
.layout-editor__toolbar h2 { margin: 0 0 .35rem; }
.layout-controls { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: .65rem; min-width: min(100%, 580px); }
.layout-controls label { color: var(--muted); font-size: .76rem; font-weight: 700; }
.layout-controls select, .layout-controls input { width: 100%; margin: .25rem 0 0; }
.layout-controls select { padding: .58rem; }
.layout-controls input[type="range"] { accent-color: var(--gold); }
.scale-summary { display: grid; align-content: center; gap: .1rem; padding: .55rem .7rem; border-radius: 12px; color: #235c4d; background: #edf8f3; font-size: .73rem; }
.scale-summary strong { font-size: .9rem; }
.venue-toolstrip { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 0 0 .85rem; padding: .65rem; border: 1px solid rgba(164,125,50,.25); border-radius: 16px; background: #f7f3e9; }
.venue-toolstrip__spacer { flex: 1 1 1rem; }
.venue-toolstrip .btn { margin: 0; }
.bulk-table-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .6rem; margin: 0 0 .85rem; padding: .65rem .8rem; border: 1px solid rgba(75,145,127,.3); border-radius: 16px; background: #f2f8f5; }
.bulk-table-controls > strong { align-self: center; margin-right: auto; }
.bulk-table-controls label { color: var(--muted); font-size: .7rem; font-weight: 700; }
.bulk-table-controls select { width: auto; min-width: 125px; margin: .2rem 0 0; padding: .45rem; }
.bulk-table-controls input { width: 95px; margin: .2rem 0 0; padding: .45rem; }
.bulk-table-controls .btn { margin: 0; }
.layout-editor__workspace { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 1rem; align-items: start; }
.room-wrap { max-width: 100%; overflow-x: auto; padding: 18px; border-radius: 22px; background: #e9e5dc; }
.room-outline { --aisle: 18px; position: relative; width: 100%; min-width: 980px; aspect-ratio: 12 / 9; overflow: visible; border-radius: 8px; touch-action: none; user-select: none; }
.room-outline::before { position: absolute; z-index: 0; inset: 0; content: ""; border: 3px solid #6d665a; background: repeating-linear-gradient(0deg, rgba(164,125,50,.035) 0, rgba(164,125,50,.035) 1px, transparent 1px, transparent 48px), repeating-linear-gradient(90deg, rgba(164,125,50,.035) 0, rgba(164,125,50,.035) 1px, transparent 1px, transparent 48px), #fffdf8; box-shadow: inset 0 0 35px rgba(16, 26, 44, .06); }
.room-outline--rectangle::before { border-radius: 8px; }
.room-outline--lshape::before { clip-path: polygon(0 0, 100% 0, 100% 62%, 66% 62%, 66% 100%, 0 100%); }
.room-outline--angled::before { clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 18%); }
.room-outline--custom::before { clip-path: polygon(var(--room-polygon, 0 0, 100% 0, 100% 100%, 0 100%)); }
.room-boundary-label { position: absolute; z-index: 2; left: 12px; top: 10px; padding: .22rem .45rem; border-radius: 999px; color: #615a4d; background: rgba(255,255,255,.84); font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
.room-dimension { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; color: #6d5524; font-size: .65rem; font-weight: 800; pointer-events: none; }
.room-dimension::before, .room-dimension::after { flex: 1; content: ""; border-top: 1px solid rgba(109,85,36,.65); }
.room-dimension span { padding: 0 .35rem; border-radius: 999px; background: rgba(255,253,248,.9); }
.room-dimension--width { right: 4%; bottom: 5px; left: 4%; }
.room-dimension--length { top: 8%; bottom: 8%; left: 5px; writing-mode: vertical-rl; }
.room-dimension--length::before, .room-dimension--length::after { border-top: 0; border-left: 1px solid rgba(109,85,36,.65); }
.room-stage { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 42%; height: 82px; border: 2px solid #8b6a28; border-radius: 0 0 20px 20px; color: #fff; background: linear-gradient(135deg, #10203a, #263c5d); box-shadow: 0 6px 16px rgba(16, 26, 44, .2); pointer-events: none; }
.room-stage strong { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; }
.room-stage span { font-size: .65rem; opacity: .75; }
.room-stage--top { top: 3px; left: 29%; }
.room-stage--bottom { bottom: 3px; left: 29%; border-radius: 20px 20px 0 0; }
.room-stage--left { top: 29%; left: 3px; width: 82px; height: 42%; border-radius: 0 20px 20px 0; }
.room-stage--right { top: 29%; right: 3px; width: 82px; height: 42%; border-radius: 20px 0 0 20px; }
.boundary-handles { position: absolute; z-index: 28; inset: 0; pointer-events: none; }
.boundary-handle { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 2px 8px rgba(16,26,44,.35); cursor: move; pointer-events: auto; touch-action: none; }
.boundary-handle.is-selected { outline: 3px solid var(--navy); outline-offset: 2px; }
.venue-object { position: absolute; z-index: 8; display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 45px; min-height: 28px; padding: .25rem; border: 2px solid #85631f; border-radius: 10px; color: #fff; background: #10203a; box-shadow: 0 7px 16px rgba(16,26,44,.2); cursor: grab; touch-action: none; user-select: none; }
.venue-object strong { max-width: 94%; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.venue-object span { font-size: .58rem; opacity: .75; }
.venue-object--door { border-radius: 3px; color: #10203a; background: #d9b669; }
.venue-object--door::after { content: "Access clearance"; font-size: .5rem; opacity: .7; }
.venue-object--exit { border-radius: 3px; color: #fff; background: #a4343e; }
.venue-object--exit::after { content: "Keep clear"; font-size: .5rem; opacity: .85; }
.venue-object--zone { z-index: 2; justify-content: start; border: 2px dashed #4d8f7d; color: #235c4d; background: rgba(75,145,127,.09); box-shadow: none; }
.venue-object--zone span { display: none; }
.venue-object--room { z-index: 1; justify-content: start; border: 3px dashed #5b73a5; color: #263c68; background: rgba(91,115,165,.07); box-shadow: none; }
.venue-object--wall { min-height: 16px; border-radius: 2px; color: #fff; background: repeating-linear-gradient(90deg,#4c4b48 0,#4c4b48 12px,#6b6965 12px,#6b6965 24px); }
.venue-object--pillar { min-width: 42px; min-height: 42px; border-radius: 50%; color: #fff; background: #57534e; }
.venue-object--route { z-index: 4; border: 2px dashed #237657; color: #174d3a; background: repeating-linear-gradient(135deg,rgba(75,145,127,.25) 0,rgba(75,145,127,.25) 10px,rgba(255,255,255,.65) 10px,rgba(255,255,255,.65) 20px); box-shadow: 0 0 0 8px rgba(75,145,127,.08); }
.venue-object--dance { --dance-clearance: 28px; z-index: 3; overflow: visible; border: 3px solid #7951a8; color: #2d1748; background: repeating-linear-gradient(45deg, rgba(121,81,168,.18) 0, rgba(121,81,168,.18) 12px, rgba(255,255,255,.8) 12px, rgba(255,255,255,.8) 24px); box-shadow: 0 0 0 var(--dance-clearance) rgba(121,81,168,.09), 0 7px 16px rgba(16,26,44,.16); }
.venue-object--dance::after { position: absolute; right: 5px; bottom: 3px; content: "Dance floor"; font-size: .52rem; font-weight: 800; opacity: .7; text-transform: uppercase; }
.venue-object--dance[data-object-shape="square"] { aspect-ratio: 1; }
.venue-object--dance[data-object-shape="circle"] { aspect-ratio: 1; border-radius: 50%; }
.venue-object--dance[data-object-shape="oval"] { border-radius: 50%; }
.venue-object--dance[data-object-shape="custom"] { clip-path: polygon(18% 0,82% 0,100% 18%,100% 82%,82% 100%,18% 100%,0 82%,0 18%); }
.venue-object--pool { --object-clearance: 28px; z-index: 3; border: 3px solid #16759a; color: #0b4d69; background: repeating-radial-gradient(circle at 25% 30%,rgba(91,201,232,.52) 0,rgba(91,201,232,.52) 8px,rgba(220,250,255,.9) 9px,rgba(220,250,255,.9) 17px); box-shadow: 0 0 0 var(--object-clearance) rgba(22,117,154,.1); }
.venue-object--lawn { z-index: 1; border: 2px dashed #4d8f58; color: #285d31; background: repeating-linear-gradient(45deg,rgba(104,170,92,.16) 0,rgba(104,170,92,.16) 12px,rgba(244,252,239,.78) 12px,rgba(244,252,239,.78) 24px); box-shadow: none; }
.venue-object--patio { z-index: 1; border: 2px dashed #8b7762; color: #5b4938; background: repeating-linear-gradient(90deg,rgba(174,153,128,.18) 0,rgba(174,153,128,.18) 18px,rgba(252,247,239,.9) 18px,rgba(252,247,239,.9) 36px); box-shadow: none; }
.venue-object--marquee, .venue-object--shade { z-index: 2; border: 3px dashed #9b855b; color: #5f4c27; background: rgba(255,249,226,.82); box-shadow: none; }
.venue-object--lounge { z-index: 2; border: 2px dashed #a56285; color: #6f3152; background: rgba(248,226,238,.6); box-shadow: none; }
.venue-object--parking { z-index: 1; border: 2px dashed #66717a; color: #3e4850; background: repeating-linear-gradient(90deg,rgba(100,112,122,.13) 0,rgba(100,112,122,.13) 30px,rgba(250,251,252,.8) 30px,rgba(250,251,252,.8) 34px); box-shadow: none; }
.venue-object--staff { z-index: 2; border: 2px dashed #58506e; color: #443b5c; background: rgba(225,220,239,.55); box-shadow: none; }
.venue-object--bbq, .venue-object--food, .venue-object--bar, .venue-object--play, .venue-object--toilet, .venue-object--firstaid, .venue-object--power, .venue-object--smoking { --object-clearance: 18px; box-shadow: 0 0 0 var(--object-clearance) rgba(176,85,45,.09), 0 7px 16px rgba(16,26,44,.16); }
.venue-object--bbq { border-color: #9b4828; background: #71321e; }
.venue-object--food { border-color: #9a6d2e; background: #75501e; }
.venue-object--bar { border-color: #387078; background: #24545b; }
.venue-object--play { border-color: #b06085; color: #58233d; background: #f7dcea; }
.venue-object--toilet { border-color: #526b9b; background: #3b527d; }
.venue-object--firstaid { border-color: #a22c36; background: #8d2430; }
.venue-object--power { border-color: #d2a322; color: #2f2814; background: repeating-linear-gradient(45deg,#f2c94c 0,#f2c94c 12px,#2f2d29 12px,#2f2d29 24px); }
.venue-object--smoking { border-color: #72645e; background: #514742; }
.venue-object--gate { border-radius: 3px; color: #fff; background: #376247; }
.venue-object.is-selected { outline: 3px solid #10203a; outline-offset: 3px; z-index: 18; }
.venue-object.is-invalid { border-color: #b22e37; background-color: #7c1e25; }
.venue-object.is-locked { cursor: not-allowed; opacity: .82; }
.venue-object.is-locked::before { position: absolute; right: 4px; top: 2px; content: "🔒"; font-size: .65rem; }
.layout-piece.is-hidden { display: none; }
.layout-piece { --piece-ring: #4d8f7d; position: absolute; z-index: 5; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 76px; height: 76px; padding: .35rem; border: 3px solid var(--piece-ring); border-radius: 50%; color: var(--navy); background: #fffdf8; box-shadow: 0 0 0 var(--aisle) rgba(75, 145, 127, .11), 0 7px 15px rgba(16, 26, 44, .16); cursor: grab; transition: box-shadow .15s, border-color .15s; }
.layout-piece:hover { transform: none; }
.layout-piece:active, .layout-piece.is-dragging { z-index: 20; cursor: grabbing; box-shadow: 0 0 0 var(--aisle) rgba(75, 145, 127, .18), 0 12px 24px rgba(16, 26, 44, .24); }
.layout-piece.is-selected { outline: 3px solid #10203a; outline-offset: 3px; }
.layout-piece.is-locked { cursor: not-allowed; opacity: .82; }
.layout-piece.is-locked::after { position: absolute; right: 5px; top: 3px; content: "🔒"; font-size: .65rem; }
.layout-piece.is-invalid { --piece-ring: #b22e37; box-shadow: 0 0 0 var(--aisle) rgba(178, 46, 55, .2), 0 7px 15px rgba(16, 26, 44, .16); }
.layout-piece--full { --piece-ring: #a47d32; }
.layout-piece--over { --piece-ring: #a5343b; }
.layout-piece--empty { --piece-ring: #92958f; }
.layout-piece--vip { background: #fff6d8; }
.layout-piece--holding { border-style: dashed; background: #f1eee7; }
.layout-piece span { max-width: 100%; overflow: hidden; font-size: .65rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.layout-piece strong { font-size: .83rem; }
.layout-piece > span:not(.table-chairs), .layout-piece > strong { position: relative; z-index: 2; }
.layout-piece .table-chairs { position: absolute; z-index: 1; inset: 0; max-width: none; overflow: visible; pointer-events: none; }
.table-chair { position: absolute; display: flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 2px solid #797c78; border-radius: 5px 5px 8px 8px; color: #40443f; background: #fffdf8; box-shadow: 0 1px 3px rgba(16,26,44,.26); font-size: .48rem; font-style: normal; font-weight: 900; line-height: 1; transform: translate(-50%,-50%); }
.table-chair--occupied { border-color: #155f48; color: #fff; background: #237657; }
.table-chair--reserved { border-color: #8a6621; color: #2f2513; background: #e7c879; }
.table-chair--empty { border-color: #858983; color: #555953; background: #fffdf8; }
.chairs-hidden .table-chair { display: none; }
.layout-piece.is-invalid .table-chair { box-shadow: 0 0 0 2px rgba(178,46,55,.32); }
.chair-visibility-toggle { display: inline-flex; align-items: center; align-self: center; gap: .35rem; color: var(--navy) !important; }
.bulk-table-controls .chair-visibility-toggle input { width: auto; margin: 0; }
.chair-key { display: inline-block; width: 15px; height: 15px; border: 2px solid #858983; border-radius: 5px 5px 7px 7px; vertical-align: -3px; }
.chair-key--occupied { border-color: #155f48; background: #237657; }
.chair-key--reserved { border-color: #8a6621; background: #e7c879; }
.chair-key--empty { background: #fffdf8; }
.layout-piece[data-shape="square"] { border-radius: 9px; }
.layout-piece[data-shape="rectangle"] { width: 112px; height: 64px; border-radius: 8px; }
.layout-piece[data-shape="rectangle"].is-rotated { width: 64px; height: 112px; }
.layout-piece[data-shape="oval"] { width: 106px; height: 66px; border-radius: 50%; }
.layout-piece[data-shape="oval"].is-rotated { width: 66px; height: 106px; }
.layout-inspector { position: sticky; top: 1rem; padding: 1rem; border: 1px solid rgba(164, 125, 50, .28); border-radius: 20px; background: #fffdf8; }
.layout-inspector h3 { min-height: 2.5rem; margin: .1rem 0 .35rem; font-size: 1.05rem; }
.layout-inspector fieldset { margin: .8rem 0; padding: .75rem; border: 1px solid rgba(164, 125, 50, .28); border-radius: 14px; }
.layout-inspector fieldset:disabled { opacity: .48; }
.layout-inspector legend { padding: 0 .3rem; font-size: .78rem; font-weight: 800; }
.shape-options { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-bottom: .65rem; }
.shape-option { padding: .45rem; border: 1px solid #cdbb96; border-radius: 9px; color: var(--navy); background: #fff; cursor: pointer; }
.shape-option.is-active { border-color: var(--navy); color: #fff; background: var(--navy); }
.layout-inspector fieldset > .btn { display: block; width: 100%; margin-top: .45rem; text-align: center; }
.layout-inspector fieldset label { display: block; margin: .45rem 0; color: var(--muted); font-size: .72rem; font-weight: 700; }
.layout-inspector fieldset input { width: 100%; margin-top: .2rem; }
.layout-inspector .btn.danger { border-color: #a5343b; color: #fff; background: #a5343b; }
.object-measurement { margin: .4rem 0; color: #6d5524; font-size: .68rem; font-weight: 700; }
.boundary-help { display: grid; gap: .2rem; margin: .7rem 0; padding: .65rem; border-radius: 12px; color: #6d5524; background: #fff7df; font-size: .7rem; }
.layout-validation { display: grid; gap: .15rem; padding: .7rem; border-radius: 12px; color: #235c4d; background: #edf8f3; font-size: .76rem; }
.layout-validation.is-warning { color: #7c1e25; background: #fff0f1; }
.layout-inspector__actions { display: grid; gap: .45rem; margin-top: .75rem; }
.layout-inspector__actions .btn { width: 100%; }
.layout-save-note { margin: .65rem 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.layout-legend { padding-bottom: 0; }
.legend-swatch { display: inline-block; width: 1.05rem; height: .75rem; border-radius: 3px; }
.legend-swatch--aisle { border: 1px dashed #4d8f7d; background: rgba(75,145,127,.16); }
.legend-swatch--stage { background: #10203a; }
.legend-swatch--dance { border: 2px solid #7951a8; background: rgba(121,81,168,.15); }
.legend-swatch--zone { border: 1px dashed #4d8f7d; background: rgba(75,145,127,.12); }
.legend-swatch--water { border: 2px solid #16759a; background: #aee8f6; }
.legend-swatch--amenity { border: 2px solid #9b4828; background: #f0c4ad; }
.legend-swatch--holding { border: 2px dashed #777; background: #f1eee7; }
.legend-swatch--warning { background: #b22e37; }
.floor-zone { padding: 1.35rem; margin: 1.1rem 0; border: 1px solid rgba(164, 125, 50, .35); border-radius: 28px; background: rgba(255, 253, 248, .9); box-shadow: 0 14px 32px rgba(33, 38, 45, .08); }
.floor-zone--vip { border-color: rgba(164, 125, 50, .7); background: linear-gradient(135deg, rgba(255, 250, 235, .98), rgba(232, 216, 173, .42)); }
.floor-zone--holding { background: rgba(242, 239, 232, .9); }
.floor-zone__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.floor-zone__heading h2 { margin: 0; }
.floor-zone__heading p { margin-bottom: 0; }
.floor-vip-row { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1.5rem, 6vw, 5rem); }
.floor-table-grid { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 1.15rem; align-items: center; }
.floor-table { --ring: #4d8f7d; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; max-width: 160px; aspect-ratio: 1; padding: 1.1rem; justify-self: center; overflow: hidden; border: 1px solid rgba(16, 26, 44, .12); border-radius: 50%; color: var(--ink); background: conic-gradient(var(--ring) var(--occupancy), #e7e0d2 0); box-shadow: 0 10px 24px rgba(16, 26, 44, .12); text-align: center; text-decoration: none; }
.floor-table::before { position: absolute; z-index: -1; inset: 8px; content: ""; border-radius: inherit; background: #fffdf8; box-shadow: inset 0 0 0 1px rgba(164, 125, 50, .14); }
.floor-table:hover, .floor-table:focus { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 26, 44, .18); }
.floor-table--vip { width: 170px; max-width: 170px; border-color: rgba(164, 125, 50, .45); }
.floor-table--full { --ring: #a47d32; }
.floor-table--over { --ring: #a5343b; }
.floor-table--empty { --ring: #a8aaa7; }
.floor-table__number { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.floor-table strong { margin: .15rem 0; color: var(--navy); font-size: 1.4rem; }
.floor-table__name { display: -webkit-box; max-width: 92%; overflow: hidden; font-size: .78rem; font-weight: 700; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.floor-table__status, .floor-table--vip > span:last-child { margin-top: .2rem; color: var(--muted); font-size: .68rem; }
.floor-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding: .8rem 1rem; color: var(--muted); font-size: .84rem; }
.floor-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-dot { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; background: #4d8f7d; }
.legend-dot--full { background: #a47d32; }
.legend-dot--over { background: #a5343b; }
.legend-dot--empty { background: #a8aaa7; }
.holding-table-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: .65rem; }
.holding-table-chip { display: flex; justify-content: space-between; gap: .7rem; padding: .75rem .85rem; border: 1px solid rgba(164, 125, 50, .25); border-radius: 14px; color: var(--ink); background: #fffdf8; text-decoration: none; }
.holding-table-chip:hover, .holding-table-chip:focus { border-color: var(--gold); }
.holding-table-chip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holding-table-chip span { flex: 0 0 auto; color: var(--muted); font-size: .78rem; }
.holding-table-chip--warning { border-color: #d9a1a5; background: #fff3f3; }

/* Invitation artwork and QR proof studio */
.invitation-studio-heading { margin-bottom: 1rem; }
.invitation-status-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; overflow: hidden; margin-bottom: 1rem; border: 1px solid rgba(164,125,50,.3); border-radius: 18px; background: rgba(164,125,50,.24); }
.invitation-status-strip > div { display: grid; gap: .25rem; padding: .9rem 1rem; background: #fffdf8; }
.invitation-status-strip span { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.invitation-status-strip strong { font-size: .95rem; }
.status-badge--draft { color: #5f4a18; background: #f5e8bd; }
.status-badge--review { color: #234f72; background: #e0eef9; }
.status-badge--approved { color: #175346; background: #dff2e9; }
.invitation-studio { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 1rem; align-items: start; }
.invitation-studio__canvas-card { min-width: 0; }
.invitation-studio__controls { position: sticky; top: 1rem; }
.invitation-studio__controls a { overflow-wrap: anywhere; }
.invitation-studio__section-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.invitation-studio__section-heading h2, .invitation-studio__controls h2 { margin: .1rem 0 1rem; }
.editor-state { padding: .4rem .6rem; border-radius: 999px; color: #315c52; background: #e8f4ef; font-size: .75rem; font-weight: 700; }
.invitation-canvas-shell { max-width: 720px; margin: 0 auto; padding: 14px; border-radius: 20px; background: #e8e2d5; box-shadow: inset 0 0 0 1px rgba(16,26,44,.08); }
.invitation-canvas-shell[hidden], .invitation-empty-state[hidden] { display: none; }
.invitation-canvas { position: relative; overflow: hidden; width: 100%; line-height: 0; background: #fff; box-shadow: 0 12px 32px rgba(16,26,44,.2); }
.invitation-canvas > img { display: block; width: 100%; height: auto; }
.invitation-safe-area { position: absolute; z-index: 2; inset: 4%; border: 1px dashed rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(16,26,44,.45); pointer-events: none; }
.invitation-safe-area span { position: absolute; top: 0; left: 0; padding: .2rem .35rem; color: #fff; background: rgba(16,26,44,.72); font: 600 .62rem/1.2 system-ui, sans-serif; }
.invitation-qr-handle { position: absolute; z-index: 3; display: block; aspect-ratio: 1; padding: 0; overflow: visible; border: 2px solid #d29c21; border-radius: 3px; background: #fff; box-shadow: 0 4px 18px rgba(16,26,44,.3); cursor: grab; touch-action: none; }
.invitation-qr-handle::after { position: absolute; right: -7px; bottom: -7px; width: 13px; height: 13px; content: ""; border: 2px solid #fff; border-radius: 50%; background: #d29c21; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.invitation-qr-handle:focus { outline: 3px solid #2c74b3; outline-offset: 3px; }
.invitation-qr-handle.is-dragging { cursor: grabbing; box-shadow: 0 8px 24px rgba(16,26,44,.45); }
.invitation-qr-handle img, .qr-placeholder { display: block; width: 100%; height: 100%; }
.qr-placeholder { background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 / 18% 18%; box-shadow: inset 0 0 0 9px #fff; }
.invitation-empty-state { display: grid; min-height: 360px; place-content: center; padding: 2rem; border: 2px dashed #c8b992; border-radius: 18px; color: var(--muted); background: #fbf8f1; text-align: center; }
.invitation-empty-state strong { color: var(--navy); font-size: 1.15rem; }
.placement-readout { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; color: var(--muted); font-size: .78rem; }
.placement-warning { min-height: 2.8rem; padding: .7rem .8rem; margin-top: .6rem; border-radius: 10px; font-size: .82rem; line-height: 1.45; }
.placement-warning.is-good { color: #175346; background: #e8f4ef; }
.placement-warning.is-warning { color: #6d4b0c; background: #fff3cf; }
.placement-warning.is-error { color: #7c1e25; background: #ffe5e7; }
.qr-preset-group { padding: .7rem; margin: .6rem 0 1rem; border: 1px solid rgba(164,125,50,.3); border-radius: 14px; }
.qr-preset-group legend { padding: 0 .3rem; color: var(--navy); font-weight: 700; }
.qr-preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.qr-preset-grid button { padding: .55rem; border: 1px solid #c8b992; border-radius: 9px; color: var(--navy); background: #fffdf8; cursor: pointer; font: inherit; font-size: .8rem; }
.qr-preset-grid button:hover, .qr-preset-grid button:focus { border-color: var(--navy); background: #f5eddb; }
#qr-size-control { margin-bottom: .45rem; padding: 0; accent-color: var(--navy); }
.qr-guidance-compact { padding: .85rem; margin: 1rem 0; border-radius: 13px; color: #53461f; background: #fff7df; font-size: .82rem; }
.qr-guidance-compact ul { padding-left: 1.1rem; margin-bottom: 0; }
.qr-guidance-compact li { margin: .35rem 0; }
.invitation-proof-grid { margin-top: 1rem; }
.invitation-proof-image { display: block; width: min(100%, 360px); max-height: 520px; margin: 1rem auto; object-fit: contain; border: 1px solid #d6c9aa; border-radius: 10px; box-shadow: 0 10px 25px rgba(16,26,44,.12); }
.inline-strong { color: var(--navy); font-size: inherit !important; }
.version-list { display: grid; gap: .6rem; }
.version-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem; border: 1px solid rgba(164,125,50,.25); border-radius: 13px; background: #fffdf8; }
.version-list article strong { margin-right: .5rem; color: var(--navy); font-size: 1rem; }
.version-list article p { margin: .35rem 0; }
.version-list article small { color: var(--muted); }

@media (max-width: 700px) {
    .nav { display: block; }
    .nav-links { margin-top: .8rem; gap: .75rem; }
    .wrap { padding: 1.2rem .85rem 2.5rem; }
    table { display: block; overflow-x: auto; font-size: .87rem; }
    .invitation-art { width: min(100%, 440px); }
    .invitation-art__guest-box { gap: 3.5%; padding: 2% 3%; }
    .invitation-art__guest-box h1 { font-size: clamp(.72rem, 4.2vw, 1.25rem); }
    .section-heading { align-items: start; flex-direction: column; }
    .setup-shell { grid-template-columns: 1fr; }
    .planning-choice-guide { grid-template-columns: 1fr; }
    .setup-steps { position: static; display: flex; overflow-x: auto; }
    .setup-steps li { flex: 0 0 auto; font-size: .78rem; }
    .portfolio-filters, .guest-filters { grid-template-columns: 1fr; }
    .bulk-guest-actions { grid-template-columns: 1fr; }
    .event-card__top, .guest-ops-card__header, .readiness-card__heading { align-items: start; flex-direction: column; }
    .readiness-card__heading .btn { width: 100%; text-align: center; }
    .guest-ops-card__actions { grid-template-columns: 1fr; }
    .guest-ops-card .rsvp-admin-form { grid-template-columns: 1fr; }
    .operations-grid { grid-template-columns: 1fr; }
    .layout-operation-row { grid-template-columns: 1fr; }
    .review-list div { grid-template-columns: 1fr; gap: .25rem; }
    .heading-actions { justify-content: start; width: 100%; }
    .heading-actions .btn { flex: 1 1 auto; text-align: center; }
    .seating-export-panel { align-items: stretch; flex-direction: column; }
    .seating-export-actions { justify-content: stretch; }
    .seating-export-actions .btn { width: 100%; text-align: center; }
    .table-search__controls { grid-template-columns: 1fr; }
    .table-search__controls .btn { text-align: center; }
    .seating-table-grid { grid-template-columns: 1fr; }
    .table-detail-layout { grid-template-columns: 1fr; }
    .table-admin-panel { position: static; }
    .seat-placement-heading { align-items: stretch; flex-direction: column; }
    .assignment-row { grid-template-columns: 1fr; }
    .assignment-row__actions { justify-content: stretch; }
    .assignment-row__actions form, .assignment-row__actions form:first-child { width: 100%; }
    .assignment-row__actions form:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .assignment-row__actions select { width: 100%; }
    .assignment-row__actions .btn { width: 100%; text-align: center; }
    .floor-plan-summary { grid-template-columns: repeat(2, 1fr); }
    .planning-profile { grid-template-columns: 1fr; }
    .shared-layout-panel__controls { grid-template-columns: 1fr 1fr; }
    .shared-layout-panel__controls label { grid-column: 1 / -1; }
    .layout-editor { padding: .8rem; }
    .layout-editor__toolbar { align-items: stretch; flex-direction: column; }
    .layout-controls { grid-template-columns: 1fr; min-width: 0; }
    .layout-editor__workspace { grid-template-columns: 1fr; }
    .layout-inspector { position: static; }
    .room-wrap { padding: 12px; }
    .floor-zone__heading { align-items: start; flex-direction: column; }
    .floor-table-grid { grid-template-columns: repeat(2, minmax(115px, 1fr)); gap: .85rem; }
    .floor-table { max-width: 145px; }
    .floor-table--vip { width: 150px; max-width: 150px; }
    .holding-table-grid { grid-template-columns: 1fr; }
    .invitation-status-strip { grid-template-columns: 1fr 1fr; }
    .invitation-studio { grid-template-columns: 1fr; }
    .invitation-studio__controls { position: static; }
    .invitation-studio__section-heading, .placement-readout, .version-list article { align-items: stretch; flex-direction: column; }
    .invitation-empty-state { min-height: 240px; }
    .version-list article form, .version-list article .btn { width: 100%; text-align: center; }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .floor-plan-summary { grid-template-columns: repeat(3, 1fr); }
    .floor-table-grid { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
    .layout-editor__toolbar { align-items: stretch; flex-direction: column; }
    .layout-editor__workspace { grid-template-columns: minmax(0, 1fr) 220px; }
}
