/* Status first: a compact effective guest view, with presets kept below it. */
.workspace-page .celebration-release-heading h1 { margin:0 0 .75rem; font-size:clamp(1.65rem,3vw,2.25rem); }
.celebration-status-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:.75rem; }
.workspace-page .celebration-status-tabs>button { display:flex; flex-direction:column; gap:4px; min-width:0; min-height:64px; padding:10px 6px; font-size:.8125rem; line-height:1.3; white-space:normal; overflow-wrap:anywhere; border:1px solid var(--line); background:var(--paper); color:var(--ink); }
.celebration-status-tabs strong { font-size:1.125rem; }
.workspace-page .celebration-status-tabs>button[aria-selected=true] { background:var(--invitation-button); color:var(--invitation-button-ink); border-color:var(--invitation-accent); box-shadow:inset 0 -3px var(--invitation-accent); }
.celebration-scope { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin:0 0 .5rem; font-size:.8125rem; color:var(--ink-soft); }
.celebration-scope select { min-height:44px; max-width:100%; min-width:0; padding:8px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); font:inherit; }
.celebration-status-list { list-style:none; padding:0; margin:0; }
.celebration-status-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(8.5rem,10rem); gap:12px; align-items:center; border-bottom:1px solid var(--line); padding:12px 0; }
.celebration-status-copy { min-width:0; overflow-wrap:anywhere; }
.workspace-page .celebration-status-copy h2 { margin:0; font:650 1rem/1.4 var(--sans); }
.celebration-status-copy :is(p,a),.celebration-readonly { font-size:.8125rem; line-height:1.5; }
.celebration-status-copy p { margin:.35rem 0 0; color:var(--ink-soft); }
.celebration-status-copy a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; }
.celebration-status-edit { display:grid; gap:4px; min-width:0; color:var(--ink-soft); font-size:.75rem; }
.celebration-status-edit select { min-width:0; width:100%; min-height:44px; padding:8px 4px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); font:500 .8125rem/1.4 var(--sans); }
.celebration-status-empty { padding:1rem 0; color:var(--ink-soft); }
.celebration-release-tools { margin:.75rem 0 1rem; align-items:center; }
.celebration-release-tools>a { background:none; }
.celebration-template-picker { display:grid; gap:6px; font-size:.875rem; }
.celebration-template-picker select { width:100%; min-height:44px; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); font:inherit; }
.celebration-template-editor { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); }
.celebration-template-editor h2,.celebration-preset-preview h2 { font:650 1rem/1.4 var(--sans); }
.celebration-release-greeting { margin:1rem 0; }
.celebration-release-greeting a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; }
.celebration-status-panel [hidden],.celebration-phase [hidden] { display:none!important; }
html[data-wedding-theme="dark"] body .celebration-status-tabs>button[aria-selected=true] { background:#304d65!important; color:#f0f6fb!important; border-color:#b9d6ef!important; box-shadow:inset 0 -3px #b9d6ef; }
@media(max-width:360px) { .workspace-page .celebration-status-tabs>button { font-size:.75rem; } .celebration-status-row { grid-template-columns:minmax(0,1fr); gap:6px; } .celebration-status-edit { grid-template-columns:auto minmax(0,1fr); align-items:center; } }
html.wedding-large-text .celebration-status-row { grid-template-columns:minmax(0,1fr); }
html.wedding-large-text .celebration-status-edit { grid-template-columns:minmax(0,1fr); }
/* Visible previews: selection does not publish or change guest access. */
.celebration-preset-preview { margin:12px 0; padding:14px; border:1px solid var(--w-line,#c6d2d6); border-radius:14px; background:#f5f8fb; }
.celebration-preset-preview h3 { font:650 1rem/1.4 var(--sans,system-ui); margin:0 0 6px; }
.celebration-preset-items { list-style:none; padding:0; margin:8px 0 0; }
.celebration-preset-items li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-top:1px solid #d9e2e9; }
.celebration-preset-items li>div { min-width:0; }
.celebration-preset-items strong { display:block; font-size:.9rem; }
.celebration-preset-items small { display:block; font-size:.78rem; color:#52646b; }
.celebration-preset-items .celebration-pill { flex-shrink:0; }
.celebration-phase .workspace-actions { display:flex; flex-wrap:wrap; gap:8px; }
.celebration-phase .workspace-actions button { min-height:44px; white-space:normal; max-width:100%; }
.celebration-phase :is(h2,h3,strong,small,button,.celebration-pill) { overflow-wrap:anywhere; }
.workspace-page .celebration-phase .celebration-preset-preview h3 { font:650 1rem/1.4 var(--sans,system-ui); }
.celebration-phase .celebration-preset-items .celebration-pill { flex-shrink:1; max-width:100%; white-space:normal; }
.celebration-phase .workspace-actions>button { min-width:0; }
@media(max-width:420px) { .celebration-preset-items li { flex-wrap:wrap; gap:5px; } }
@media(max-width:420px) { .workspace-page .workspace-card.celebration-phase { padding:14px!important; } .celebration-preset-preview { padding:10px; } }
/* Celebration 5: editorial typography, marine surfaces and warm paper.
   Motion uses transform/opacity only, no perpetual loops or external fonts. */
.celebration-task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px;align-items:start;}.celebration-task-column{border:1px solid var(--w-line);border-radius:20px;background:var(--w-tint);padding:16px;min-height:220px;min-width:0;}.celebration-task-column>h2{font:650 .9rem/1.4 var(--sans);margin:4px 0 18px;}.celebration-task-card{padding:18px;margin:12px 0;background:#fffefa;border-radius:15px;border:1px solid var(--w-line);cursor:grab;}.celebration-task-card h3{font:650 1rem/1.4 var(--sans);margin:0 0 12px;}.celebration-task-card p,.celebration-task-card small{font-size:.8rem;color:var(--ink-soft);}.celebration-task-card label{display:block;font-size:.75rem;margin-top:16px;}.celebration-task-card select{width:100%;min-height:44px;margin-top:6px;border:1px solid var(--w-line);border-radius:8px;padding:8px;font:inherit;background:#fff;}.celebration-task-card button{margin-top:12px;min-height:44px;}.celebration-task-column.is-drop-target{outline:3px solid var(--w-accent);outline-offset:2px;}.celebration-task-card.is-dragging{opacity:.4;}.celebration-drop-hint{font-size:.85rem;color:var(--ink-soft);}
@media(max-width:1150px){.celebration-task-board{grid-template-columns:1fr;}.celebration-task-column{min-height:140px;}}
:root { --c-peach:#f1c6ad; --c-night:#193c46; --c-radius:28px; }
.celebration-context { display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 20px;font:500 .85rem/1.5 var(--sans,system-ui);color:var(--ink-soft,#52646b); }
.celebration-pill { display:inline-flex;align-items:center;gap:8px;border:1px solid var(--w-line,#bacdce);border-radius:50px;padding:7px 13px;background:var(--w-tint,#e8f1f4);color:var(--w-deep,#193f50);font:650 .75rem/1.4 var(--sans,system-ui);width:fit-content; }
.celebration-pill::before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0;}
.celebration-pill.live,.celebration-pill.open {color:#265b43;background:#edf6ed;border-color:#afcbb5;}
.celebration-pill.teaser {color:#765130;background:#fff3df;border-color:#dcc5a2;}
.celebration-pill.hidden {color:#52646b;background:#f1f3f3;}
.wedding-app-page { background:radial-gradient(ellipse at 100% 0%,var(--w-tint) 0,transparent 55%),var(--w-warm)!important; }
.wedding-app-page .portal-header {background:var(--w-warm);border-bottom:1px solid color-mix(in srgb,var(--w-line),transparent 40%);}
.wedding-app-page .guest-app-main {max-width:1240px;padding-top:24px;}
.wedding-app-page .guest-app-hero {border-radius:32px;min-height:340px;padding:40px 44px;box-shadow:0 20px 50px #152e3812;}
.guest-app-hero h1 {font:600 .78rem/1.5 var(--sans);letter-spacing:.15em;text-transform:uppercase;opacity:.9;margin:0;}
.w-home-priority {gap:18px;margin-top:24px;}
.w-home-priority .guest-app-event {position:relative;background:var(--w-tint);border:0;border-radius:24px;padding:28px;}
.w-home-priority .guest-app-event h2 {font-size:2rem;}.w-home-priority .rsvp-progress {border-color:var(--w-line);background:#fffefa;}
.wedding-app-nav {box-shadow:0 -5px 32px #16354108;}.wedding-app-nav a[aria-current=page] {box-shadow:none;background:var(--w-deep);color:#fffefa;}
.celebration-teaser-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0;}
.celebration-teaser {min-width:0;overflow-wrap:anywhere;border:1px dashed var(--w-line);border-radius:24px;padding:25px;background:linear-gradient(130deg,#fffefa,var(--w-tint));}
.celebration-teaser h3 {font:400 1.7rem/1.25 var(--serif);margin:16px 0 10px;}.celebration-teaser small {display:block;color:var(--ink-soft);line-height:1.6;}
.workspace-page {background:var(--w-warm);}.workspace-nav {background:#fffefa;border-right:1px solid var(--w-line);}.workspace-nav a {border-radius:12px;}.workspace-nav a.is-active {background:var(--w-deep);color:#fffefa;}
.workspace-main {max-width:1500px;}
.celebration-presets summary {cursor:pointer;min-height:44px;padding-block:10px;}.celebration-presets p{line-height:1.8;}
.celebration-display-card{margin-top:24px!important;}.celebration-display-url{display:block;margin:18px 0;padding:16px;background:var(--w-tint);border-radius:12px;overflow-wrap:anywhere;}
.celebration-fineprint {font-size:.85rem;color:var(--ink-soft);}
.celebration-feedback:empty{display:none;}.celebration-feedback{padding:16px;border-radius:12px;background:var(--w-tint);}
.celebration-steps{display:flex;gap:12px;list-style:none;padding:0;margin:20px 0 26px;font:600 .75rem/1.5 var(--sans);}.celebration-steps li{flex:1;padding:12px 0;border-top:2px solid var(--w-line);color:var(--ink-soft);}.celebration-steps li[aria-current=step]{color:var(--w-deep);border-color:var(--w-deep);}
.account-form details{border:1px solid var(--w-line);border-radius:14px;padding:14px 18px;}.account-form details summary{cursor:pointer;min-height:32px;font-weight:600;}.account-form details[open]>:not(summary){margin-top:14px;}.account-form .account-identity-summary{background:var(--w-tint);}.account-password-meter{font-size:.8rem;color:var(--ink-soft);margin:6px 0;}.account-password-meter[data-ready=true]{color:#265b43;}
.account-shell {max-width:720px;}.account-form{padding:clamp(18px,4vw,32px);background:#fffefa;border:1px solid var(--w-line);border-radius:24px;}.login-panel__inner .intro{font-size:1rem;line-height:1.7;}.login-team{border-top:1px solid var(--w-line);margin-top:28px;padding-top:16px;}
.display-page{background:radial-gradient(ellipse at top right,#325a66,transparent 65%),#122c35;color:#fffefa;}.display-header{border-color:#ffffff25;background:transparent;}.display-quiz h1{letter-spacing:-.035em;}.display-answers article{border-radius:20px;border:1px solid #ffffff36;background:#ffffff0b;}.display-answers article:nth-child(2){border-left:5px solid #e6bc87;}.display-answers article:nth-child(3){border-left:5px solid #97c6b2;}.display-answers article:nth-child(4){border-left:5px solid #b6a7ce;}.display-answers article:first-child{border-left:5px solid #91bbdc;}.display-connection{position:fixed;left:24px;bottom:20px;z-index:20;padding:12px 18px;border-radius:12px;background:#fff3df;color:#664524;max-width:calc(100% - 48px);font:600 .9rem/1.5 var(--ds-sans);}.display-connection:empty{display:none;}
.quiz-options button{border-radius:18px;transition:transform .16s ease;}.quiz-options button:active:not(:disabled){transform:scale(.98);}.quiz-options button.is-selected{outline:3px solid var(--w-accent);outline-offset:3px;}
@media(prefers-reduced-motion:no-preference){
 @keyframes celebration-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@media(max-width:650px){
 .wedding-app-page .guest-app-main{padding-inline:16px;}.wedding-app-page .guest-app-hero{padding:28px 25px;min-height:370px;border-radius:25px;}.guest-app-hero>.eyebrow{max-width:100%;font-size:.65rem;}.guest-app-hero>p:not(.eyebrow):not(.celebration-cover-title){max-width:80%;}
 .celebration-teaser-grid{grid-template-columns:1fr;}.celebration-context>span:last-child:not(.celebration-pill){font-size:.78rem;}
}
@media print{.celebration-context{display:none!important;}}

/* Compact start page and familiar left-hand navigation. */
.wedding-app-page .celebration-home-compact{min-height:0;padding:32px 36px;}
.guest-app-hero h1.celebration-home-title{font:400 clamp(2.2rem,4vw,3.8rem)/1.08 var(--serif);letter-spacing:-.025em;text-transform:none;opacity:1;max-width:850px;margin:12px 0 16px;}
.celebration-home-compact>p:not(.eyebrow){max-width:680px;line-height:1.55;}
.celebration-home-priority{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}
.celebration-home-priority h2{font-size:1.6rem!important;margin-bottom:12px;}
.celebration-home-priority .guest-app-event,.celebration-home-priority .rsvp-progress{padding:22px;}
.w-companion-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));}
.location-grid.has-single-item,.timeline--two.has-single-item{grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto;}
.timeline--two.has-single-item::before{display:none;}
[data-practical-cards] .info-card p{white-space:pre-line;}
.workspace-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;}
.workspace-header [data-workspace-menu]{display:inline-flex!important;width:46px;height:46px;padding:10px;flex:none;}
.workspace-top{justify-content:flex-end;margin-bottom:20px;}
.workspace-menu-backdrop{position:fixed;inset:var(--workspace-header-height,78px) 0 0;z-index:85;border:0;border-radius:0;background:#152b3b66;}
.workspace-menu-backdrop[hidden]{display:none;}
@media(min-width:761px){.workspace-menu-collapsed .workspace-layout{grid-template-columns:1fr;}.workspace-menu-collapsed .workspace-nav{display:none;}.workspace-menu-collapsed .workspace-main{margin-inline:auto;}}
@media(max-width:760px){
 .workspace-header{position:sticky;top:0;z-index:100;padding:12px 16px;min-height:70px;gap:12px;}
 .workspace-header>div{flex-wrap:nowrap;gap:6px;}
 .workspace-header>div>a{display:none;}
 .workspace-header .account-indicator{display:none!important;}
 .workspace-header>a{font-size:1.35rem;}
 .workspace-header .wedding-display-button{min-height:44px;padding:8px 12px;font-size:.75rem;}
 .workspace-nav{inset:var(--workspace-header-height,70px) auto 0 0;width:min(330px,88vw);height:calc(100dvh - var(--workspace-header-height,70px));max-height:none;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(28px,env(safe-area-inset-bottom));}
 .workspace-menu-open{overflow:hidden;}
 .wedding-app-page .celebration-home-compact{padding:24px;min-height:0;border-radius:22px;}
 .guest-app-hero h1.celebration-home-title{font-size:2.35rem;max-width:100%;}
 .celebration-home-compact>p:not(.eyebrow){max-width:100%;font-size:.95rem;}
 .celebration-home-priority{gap:12px;margin-top:14px;}
 .location-grid.has-single-item{max-width:100%;}
}
@media(prefers-reduced-motion:no-preference){.workspace-menu-open .workspace-nav{animation:workspace-slide-in .18s ease-out;}html.wedding-calm .workspace-nav{animation:none;}}
@keyframes workspace-slide-in{from{transform:translateX(-18px);}to{transform:translateX(0);}}
.moderation-setting{display:flex;align-items:center;gap:14px;min-height:48px;font-weight:650;cursor:pointer;}.moderation-setting input{width:22px;height:22px;accent-color:var(--w-deep);flex:none;}.workspace-card:has(.moderation-setting){margin-bottom:24px;}

/* Original invitation watercolours, shared by website, app and organisation.
   One static layer: no scroll listener, parallax or animated image decoding. */
body:not(.display-page):not(.party-display-page):not(.slideshow-page) { isolation:isolate; }
body:not(.display-page):not(.party-display-page):not(.slideshow-page)::before {
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:url("/assets/aquarell-sektion-v3.webp") center / cover no-repeat;opacity:.46;
 mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.35) 30%,rgba(0,0,0,.35) 70%,#000);
}
body>main>.section { background:transparent; }
.hero::after { content:"";position:absolute;bottom:-1px;left:0;right:0;height:90px;pointer-events:none;background:linear-gradient(transparent,var(--w-warm)); }
.wedding-app-page .celebration-home-compact { background-color:rgba(255,254,250,.9); }
@media(max-width:760px){
 body:not(.display-page):not(.party-display-page):not(.slideshow-page)::before { background-image:url("/assets/karten-hintergrund.webp");opacity:.5;mask-image:none; }
}
@media print { body::before,.hero::after { display:none!important; } }

.song-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);gap:14px;margin:18px 0;}
.moderation-music{padding:16px 20px;margin-bottom:12px;}.moderation-music>summary{cursor:pointer;font-weight:650;}.moderation-music>.moderation-setting{margin-top:16px;}.workspace-panel-top{display:flex;justify-content:flex-end;}
.song-tools label,.spotify-dialog label{display:grid;gap:7px;font-size:.9rem;}
.song-tools input,.song-tools select,.spotify-dialog input:not([type=checkbox]){width:100%;min-width:0;padding:12px;border:1px solid var(--w-line,#cbd9da);border-radius:10px;background:#fff;font:inherit;color:inherit;}
.spotify-dialog{width:min(740px,calc(100% - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:24px;border:1px solid #cbd9da;border-radius:22px;color:var(--w-ink,#233c45);background:#fffefa;overflow:auto;}
.spotify-dialog::backdrop{background:rgba(15,39,48,.55);}
.spotify-return{margin:10vh auto;}
.spotify-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.spotify-dialog-head h2{margin:0;font-size:1.6rem;}
.spotify-brand{display:block;width:fit-content;margin:16px 0 20px;padding:6px 0;}.spotify-brand img{display:block;width:100px;height:auto;}
.spotify-dialog p{line-height:1.55;}
.spotify-dialog small{display:block;line-height:1.5;margin-top:14px;}
.spotify-song{padding:16px 0;border-top:1px solid #d9e1e0;}
.spotify-song>label{display:flex;align-items:center;gap:12px;}
.spotify-song input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#214b5c;}
.spotify-song details>label{margin:14px 0 10px;}
.spotify-dialog summary{cursor:pointer;padding:10px 0;}
.spotify-candidate{display:grid;gap:8px;margin:12px 0;}
.spotify-candidate button{text-align:left;white-space:normal;}
.spotify-result{padding:14px;background:#eaf1ee;border-radius:12px;margin:16px 0;}
.spotify-result:empty{display:none;}
.spotify-result a{display:block;margin-bottom:12px;}
@media(max-width:600px){.song-tools{grid-template-columns:1fr;}.spotify-dialog{padding:18px;}.spotify-dialog-head{align-items:flex-start;}.spotify-dialog-head h2{font-size:1.35rem;}}

/* Guest app: keep orientation and the next action above the fold on phones.
   Content remains scrollable; text enlargement never clips or fixes card heights. */
.guest-app-welcome { margin:20px 0; }
.guest-app-schedule-note { color:var(--ink-soft); font-size:.875rem; }
.wedding-app-page .portal-header .portal-brand { min-height:44px; }
@media(max-width:760px) {
 .wedding-app-page.has-app-navigation > .portal-header {
  display:flex; flex-wrap:nowrap; gap:6px; min-height:58px;
  padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));
 }
 .wedding-app-page .portal-header .portal-brand { display:flex; flex-direction:row; min-height:44px; gap:0; }
 .wedding-app-page .portal-header .portal-brand span { font-size:1.1rem; white-space:nowrap; }
 .wedding-app-page .portal-header .portal-brand small { display:none; }
 .wedding-app-page .portal-header nav { display:flex; flex:1; flex-wrap:nowrap; gap:6px; min-width:0; }
 .wedding-app-page .portal-header nav a { min-height:44px; padding:8px; font-size:.75rem; }
 .wedding-app-page .portal-header .account-indicator { min-width:0; gap:4px; }
 .wedding-app-page .portal-header .account-indicator strong { max-width:150px; min-width:0; }
 .wedding-app-page .portal-header .wedding-open-website { flex-shrink:0; white-space:nowrap; }
 .wedding-app-page .portal-header > .wedding-display-button { flex:0 0 44px; min-height:44px; padding:6px; font-size:.9rem; }
 .wedding-app-page .guest-app-main { padding:12px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left)); }
 .wedding-app-page .guest-app-title { font-size:1.85rem; line-height:1.12; margin:4px 0 16px; }
 .wedding-app-page [data-app-root] > .eyebrow { font-size:.65rem; margin-bottom:5px; }
 .wedding-app-page .celebration-home-compact { padding:18px 20px; margin-bottom:12px; border-radius:20px; }
 .wedding-app-page .guest-app-hero h1.celebration-home-title { font-size:1.9rem; margin:8px 0 0; }
 .wedding-app-page .celebration-home-compact > .eyebrow { margin:0; }
 .wedding-app-page .celebration-home-priority { grid-template-columns:1fr; gap:12px; margin-top:0; }
 .wedding-app-page .celebration-home-priority > :is(.rsvp-progress,.guest-app-event) { padding:16px 18px; border-radius:18px; }
 .wedding-app-page .celebration-home-priority h2 { font-size:1.45rem!important; margin:0 0 6px; }
 .wedding-app-page .celebration-home-priority p { margin:0 0 6px; }
 .wedding-app-page .guest-app-actions { gap:8px; margin:10px 0 0; }
 .wedding-app-page .guest-app-actions :is(a,button) { min-height:44px; padding:9px 14px; font-size:.875rem; }
 .wedding-app-page .rsvp-progress .guest-app-actions a { width:100%; }
 .wedding-app-page .guest-app-agenda { margin:0 0 16px; gap:16px; }
 .wedding-app-page .guest-app-agenda li { padding:0 0 0 16px; }
 .wedding-app-page .guest-app-agenda p { margin:6px 0; }
 .wedding-app-page .guest-app-agenda strong { margin:0 0 6px; }
 .wedding-app-page .celebration-teaser-grid { margin:12px 0; gap:12px; }
 .wedding-app-page .celebration-teaser-grid .celebration-teaser { padding:16px; border-radius:18px; }
 .wedding-app-page .celebration-teaser-grid h3 { font-size:1.35rem; margin:8px 0; }
 .wedding-app-page .celebration-teaser-grid p { font-size:.875rem; line-height:1.4; margin:0; }
 .wedding-app-page .guest-media-shortcuts { margin-bottom:16px; }
 .wedding-app-page .guest-media-shortcuts button { flex:1; }
 .wedding-app-page.has-app-navigation > .wedding-app-nav { gap:4px; padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); }
 .wedding-app-page .wedding-app-nav a { min-height:48px; gap:2px; font-size:.6875rem; border-radius:12px; }
 .wedding-app-page .wedding-app-nav .w-icon { width:21px; height:21px; }
 .wedding-app-page > .wedding-guest-toolbar { margin-top:0; font-size:.8125rem; }
 html.wedding-large-text .wedding-app-page .portal-header { flex-wrap:wrap; }
 html.wedding-large-text .wedding-app-page .portal-header nav { order:3; flex-basis:100%; justify-content:space-between; }
 html.wedding-large-text .wedding-app-page .portal-header > .wedding-display-button { margin-left:auto; }
}

/* The invitation and guest app share a compact entry, with an explicit switch.
   Legacy /app/... section routes keep their existing app shell. */
html:not(.wedding-section-view):has(.wedding-website-page) { scroll-padding-top:calc(var(--website-header-height,68px) + 12px); }
body.wedding-website-page .site-header { min-height:68px; grid-template-columns:auto minmax(0,1fr) auto; }
.wedding-website-page .site-header > .monogram { display:flex; align-items:center; min-height:44px; }
.wedding-website-page .header-actions { min-width:0; gap:8px; }
.website-app-link { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:9px 13px; border:1px solid var(--w-line); border-radius:24px; background:var(--w-deep); color:white; text-decoration:none; white-space:nowrap; font:650 .8rem/1.3 var(--sans); }
.wedding-website-page .header-actions .wedding-display-button { min-width:44px; padding:8px; }
.wedding-website-page .hero { min-height:min(720px,82svh); padding-top:var(--website-header-height,68px); }
.wedding-website-page .hero__content { padding-top:50px; padding-bottom:56px; }
.wedding-website-page .hero__actions { align-items:flex-start; flex-direction:column; gap:8px; }
.hero__app-note { margin:0; font:400 .875rem/1.5 var(--sans); color:#fff; }
.website-scroll-cue { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:16px; color:white; text-decoration:none; font:600 .875rem/1.4 var(--sans); }
.website-scroll-cue svg { flex:none; }
.wedding-website-page.website-cover-visible > .mobile-upload-button { display:none; }
@media(prefers-reduced-motion:no-preference) {
 html:not(.wedding-calm) .website-scroll-cue svg { animation:website-scroll-hint 1.5s ease-in-out 3; }
 @keyframes website-scroll-hint { 0%,100% { transform:translateY(0); } 50% { transform:translateY(4px); } }
}
@media(min-width:1051px) {
 .wedding-website-page .site-header .main-nav { justify-content:center; }
 .wedding-website-page .main-nav > a[href="/app"] { display:none; }
 html.wedding-large-text .wedding-website-page .site-header { grid-template-columns:auto 1fr; padding-block:8px; }
 html.wedding-large-text .wedding-website-page .main-nav { grid-column:1 / -1; grid-row:2; flex-wrap:wrap; }
 html.wedding-large-text .wedding-website-page .header-actions { grid-column:2; grid-row:1; }
}
@media(max-width:1050px) {
 body.wedding-website-page .site-header { display:flex; gap:6px; min-height:58px; padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left)); }
 .wedding-website-page .site-header > .menu-toggle { flex:0 0 44px; width:44px; height:44px; }
 .wedding-website-page .site-header > .monogram { display:flex; align-items:center; min-height:44px; min-width:44px; font-size:1.1rem; letter-spacing:.08em; }
 .wedding-website-page .site-header .header-actions { flex:1; gap:6px; justify-content:flex-end; }
 .wedding-website-page .header-actions .account-indicator { flex:0 0 44px; width:44px; min-height:44px; padding:0; justify-content:center; }
 .wedding-website-page .header-actions .account-indicator strong { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 .wedding-website-page .header-actions .website-app-link { flex:none; padding:8px 10px; font-size:.75rem; }
 .wedding-website-page .header-actions .wedding-display-button { flex:0 0 44px; }
 .wedding-website-page .site-header .main-nav { position:absolute; inset:100% 0 auto; height:auto; max-height:calc(100dvh - var(--website-header-height,58px) - env(safe-area-inset-bottom) - 12px); padding:8px 24px 18px; align-items:stretch; }
 .wedding-website-page .site-header .main-nav a { width:100%; min-height:44px; padding:12px 0; font-size:1rem; }
}
@media(max-width:760px) {
 .wedding-website-page .hero { min-height:0; padding-top:calc(var(--website-header-height,58px) + 24px); }
 .wedding-website-page .hero__content { padding-top:0; padding-bottom:20px; align-self:center; }
 .wedding-website-page .hero__eyebrow { font-size:.65rem; line-height:1.5; margin-bottom:12px; }
 .wedding-website-page .hero h1 { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .25em; font-size:clamp(2.6rem,11.5vw,4rem); line-height:1.06; margin:0 0 16px; }
 .wedding-website-page .hero h1 span { display:inline; max-width:100%; overflow-wrap:anywhere; }
 .wedding-website-page .hero h1 span:last-child { margin-left:0; }
 .wedding-website-page .hero h1 i { position:static; font-size:.65em; margin:0; }
 .wedding-website-page .hero__intro { font-size:1rem; line-height:1.5; margin:0 0 18px; }
 .wedding-website-page .hero .button { min-height:46px; padding:12px 18px; font-size:.875rem; }
 .wedding-website-page .hero__app-note { font-size:.8125rem; }
 .wedding-website-page .website-scroll-cue { margin-top:8px; }
 .wedding-website-page .hero::after { height:28px; }
 html.wedding-large-text .wedding-website-page .site-header { flex-wrap:wrap; }
 html.wedding-large-text .wedding-website-page .header-actions { flex-basis:100%; }
 html.wedding-large-text .wedding-website-page .hero h1 { font-size:2.6rem; }
}
