@import url("/challenges.css?v=1");
@import url('/fonts/fonts-256494a385df.css');
:root{--paper:#fff;--ink:#172b3a;--muted:#62717b;--line:#dbe6ed;--accent:#8cb8d8;--peach:#edf5fb;--lilac:#edf5fb;--serif:'Manrope',sans-serif}
body{font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff}h1,h2,h3,h4,.brand,.brand-name{font-family:'Manrope',sans-serif;letter-spacing:-.045em}h1 em,h2 em,h3 em{font-style:normal;color:#3d6b8c}.site-header{background:#ffffffef;border-bottom:1px solid #edf2f6;box-shadow:none;padding:20px 4vw}.brand-name{font-weight:800}.btn,button:not(.close):not(.favorite-btn):not(.media-card):not(.memory){border-radius:999px}.btn{font-weight:700;border:1px solid transparent;background:#8cb8d8;color:#172b3a;box-shadow:none}.btn:hover{background:#afd1e8;transform:translateY(-2px)}.btn.secondary{background:#fff;border-color:#dbe6ed}.btn:disabled,button:disabled{transform:none;cursor:not-allowed;opacity:.6}input,select,textarea{border:1px solid #dbe6ed;border-radius:14px;background:#fff;padding:13px 16px;font:inherit;color:inherit;max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #8cb8d8;outline-offset:2px}input[type=checkbox]{accent-color:#3d6b8c}.card,.form-wrap,.empty{border:1px solid #dbe6ed;border-radius:24px;box-shadow:none;background:#fff}.form-wrap{padding:42px;max-width:780px;margin:55px auto}.form-wrap h1{font-size:clamp(36px,5vw,62px);line-height:1.12}.app-shell{max-width:1320px;padding:42px 36px;margin:auto}.app-head h1{font-size:clamp(32px,4vw,50px)}.studio-nav{display:flex;gap:8px;flex-wrap:wrap;padding:10px;background:#edf5fb;border-radius:22px;border:0;margin:28px 0}.studio-nav button{padding:13px 23px;border:0;background:transparent;font-weight:600;color:#62717b}.studio-nav button[aria-selected=true]{background:#fff;color:#172b3a;box-shadow:0 3px 12px #172b3a09}.studio-panels{min-width:0}.studio-panels [role=tabpanel]{outline-offset:5px}.event-cover{border-radius:26px;overflow:hidden;min-height:280px}.event-cover h2{font-size:clamp(30px,4vw,48px);line-height:1.15}.studio-summary{gap:14px}.studio-summary>div{border:1px solid #dbe6ed;border-radius:20px;background:#fff;padding:24px}.studio-summary strong{font-family:'Manrope',sans-serif;color:#3d6b8c}.studio-welcome{background:#edf5fb;padding:32px}.studio-welcome h2{font-size:clamp(25px,3vw,38px);max-width:650px}.media-card,.original-row,.memory{border:1px solid #dbe6ed;border-radius:20px;overflow:hidden;box-shadow:none;background:#fff}.media-card img{transition:transform .3s}.media-card:hover img{transform:scale(1.025)}.media-filters{gap:8px;flex-wrap:wrap}.media-filters [aria-pressed=true]{background:#172b3a;color:white}.media-dialog{border:0;border-radius:24px;max-width:min(1000px,94vw);padding:28px}.media-dialog::backdrop,dialog::backdrop{background:#172b3a99;backdrop-filter:blur(5px)}.qr svg{max-width:100%;height:auto}.share-card .qr{background:#fff;padding:20px;border-radius:18px}.guest-shell{max-width:1240px;margin:36px auto 70px;border-radius:28px;overflow:hidden;border:1px solid #dbe6ed;box-shadow:0 24px 80px #172b3a0a}.guest-cover{background:#edf5fb}.guest-cover h1{font-size:clamp(36px,5vw,62px);line-height:1.12}.guest-body{padding:36px;background:#fff;min-width:0}.guest-body h2{font-size:30px}.dropzone{border:2px dashed #8cb8d8;background:#f5f9fc;border-radius:22px;padding:28px}.guest-body .card{background:#edf5fb;padding:24px}.guest-body .micro{line-height:1.6}.queue-item{border-radius:16px;border-color:#dbe6ed}progress{accent-color:#3d6b8c}.site-footer{background:#edf5fb;border:0}.site-footer .footer-bottom{border-color:#dbe6ed}.settings-form label{display:block;margin:16px 0}.settings-form input,.settings-form textarea{display:block;width:100%;margin-top:8px}.album-search{display:block;max-width:480px;margin:20px 0}.album-search input{width:100%;margin-top:8px}.landing [hidden]{display:none!important}.landing .hero{margin-inline:auto}.landing .hero h1{font-family:'Manrope',sans-serif}.landing .hero-art{min-width:0}.landing figure{margin:0}.landing .hero-photo-one,.landing .hero-photo-two{margin:0}.landing .section{max-width:none}.landing .wrap{max-width:1240px}.landing .price-card button{width:100%}.landing h2{font-family:'Manrope',sans-serif}.landing .center{text-align:center;padding:0}.landing .demo-gallery img{width:100%;border-radius:16px}.landing .reveal{visibility:visible;opacity:1}.ui-icon{width:1em;height:1em;display:inline-block;vertical-align:-.12em}
@media(min-width:1000px){body[data-page=dashboard] .app-shell{display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:32px}.app-shell>.app-head,.app-shell>label,.app-shell>#event-select{grid-column:1/-1}.app-shell>.studio-nav{grid-column:1;flex-direction:column;align-self:start;position:sticky;top:105px}.app-shell>.studio-panels{grid-column:2;margin-top:28px}.studio-nav button{text-align:left}body[data-page=guest] .guest-shell{display:grid;grid-template-columns:.9fr 1.1fr}.guest-shell .guest-cover{height:100%;min-height:660px}.guest-shell .guest-cover img{height:100%;object-fit:cover}}
@media(max-width:720px){.site-header{padding:16px 20px}.site-header .brand-name{font-size:20px}.site-header .header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.site-header .nav-start{display:none}.app-shell{padding:28px 18px}.form-wrap{margin:24px 14px;padding:26px 20px}.guest-shell{margin:16px 12px 40px;border-radius:22px}.guest-body{padding:24px 18px}.studio-nav{gap:4px}.studio-nav button{padding:10px 13px;font-size:13px}.event-cover{min-height:220px}.studio-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.studio-summary>div{padding:14px 10px}.studio-summary strong{font-size:24px}.studio-summary span{font-size:11px}.media-dialog{padding:18px}.site-footer{padding:36px 22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.studio-nav,.site-header,.site-footer{display:none!important}}
.guest-wrap{max-width:1240px;margin:36px auto 70px;padding:0 24px}.guest-card{border:1px solid #dbe6ed;border-radius:28px;overflow:hidden;box-shadow:0 24px 80px #172b3a0a;background:#fff}.guest-hero{width:100%;height:330px;object-fit:cover}.guest-body h1{font-size:clamp(34px,4vw,54px);line-height:1.14}.guest-welcome-message{white-space:pre-wrap;color:#3d6b8c;font-size:18px}body:has(#gallery)>main{max-width:1200px;margin:40px auto;padding:0 24px}body:has(#gallery) #gallery{gap:18px}body:has(#gallery) button{border:1px solid #dbe6ed;padding:12px 20px;background:#edf5fb}body:has(#gallery) .memory{padding:0;border-radius:20px}body:has(#gallery)>header{background:white;padding:24px;border-bottom:1px solid #dbe6ed}
@media(min-width:1000px){.guest-card{display:grid;grid-template-columns:.85fr 1.15fr}.guest-hero{height:100%;min-height:720px;object-position:52% center}.guest-body{padding:36px}}
@media(max-width:720px){.guest-wrap{padding:0 12px;margin-top:16px}.guest-hero{height:230px}.guest-body h1{font-size:36px}}
.guest-card{max-width:none;width:100%;border-radius:28px}.guest-body{text-align:left}.guest-body h1,.guest-body h2,.guest-body h3,.studio-panels h2,.studio-panels h3{font-family:'Manrope',sans-serif}.guest-body>.card{margin-top:24px}.guest-hero{border-radius:0}.guest-wrap{width:100%}
.picker-alternatives{border-top:1px solid #dbe6ed;margin-top:18px;padding-top:16px}.picker-alternatives summary{cursor:pointer;font-weight:600;color:#3d6b8c;margin-bottom:14px}.guest-body h1{font-weight:700}.guest-body .guest-welcome-message{font-size:18px;color:#3d6b8c}
@media(min-width:1000px){.guest-hero{height:780px;min-height:0;position:sticky;top:0;align-self:start;object-position:62% center}.guest-card{background:#edf5fb}}
.app-head h1,.event-cover h2,.form-wrap h1{font-weight:700}.event-cover>div{background:linear-gradient(90deg,#edf5fbd9,transparent);padding:24px;border-radius:18px;max-width:70%}

/* Keep navigation in flow at every viewport; legacy home header was absolute. */
body[data-page=home] .site-header{position:relative;background:#f7fbff;padding:18px 4vw;height:auto;min-height:82px}
@media(max-width:720px){body[data-page=home] .site-header{padding:16px 18px;min-height:76px}.site-header .brand{gap:7px}.site-header .brand-icon{width:27px;height:27px}.site-header .brand-name{font-size:18px}.site-header .header-cta{font-size:12px}.site-header .language-switch button{padding:7px}}

/* Application components must not inherit landing-page display typography. */
.site-header{height:auto;min-height:82px;gap:20px}
.site-header .header-actions{flex-wrap:wrap;justify-content:flex-end}
.site-footer .brand .brand-name{color:#3d6b8c}
.studio-panels h2{font-size:clamp(24px,2.2vw,30px);line-height:1.25;font-weight:700;letter-spacing:-.035em}
.studio-panels h3{font-size:22px;line-height:1.3;font-weight:600}
.studio-panels .event-cover h2{font-size:clamp(30px,4vw,48px)}
.studio-panels form label{display:block;margin:16px 0;line-height:1.6}
.studio-panels form input:not([type=checkbox]):not([type=radio]),.studio-panels form textarea{display:block;width:100%;margin-top:8px;min-width:0}
.studio-panels input[type=checkbox],.studio-panels input[type=radio]{display:inline-block;width:auto;margin:0 8px 0 0;vertical-align:middle}
.studio-panels [data-moderation] label{display:block;padding:10px 0;overflow-wrap:anywhere}
.studio-panels .btn{white-space:normal;text-align:center}
.studio-panels .card{min-width:0}
@media(max-width:720px){
 .site-header{padding:16px 18px;gap:12px;flex-wrap:wrap}
 .site-header .header-actions{gap:8px}
 .studio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .studio-summary>div:last-child{grid-column:1/-1}
 .studio-summary strong{font-size:24px}
 .studio-panels .event-cover>div{max-width:100%;padding:18px}
 .studio-panels .studio-welcome{padding:24px}
 .studio-panels .studio-welcome .btn{margin-top:10px}
}
.form-wrap>form.card,.form-wrap>form.form-card{padding:0;border:0;border-radius:0}
.form-wrap h1 em{font-weight:inherit}
@media(min-width:1000px){.guest-hero{object-position:74% center}}
@media(max-width:720px){.guest-body .dropzone{padding:18px}.guest-body input[type=file]{font-size:13px;padding:8px}}
.site-footer>div{min-width:0}.site-footer .footer-links{flex-wrap:wrap;gap:16px 24px}
@media(max-width:900px){.site-footer{grid-template-columns:minmax(0,1fr)}.site-footer .footer-links{justify-content:flex-start}.site-footer .footer-bottom{flex-wrap:wrap;gap:12px}}

/* Equal, centered event choices on narrow screens, with comfortable touch targets. */
.landing .occasion-tabs button{align-items:center;min-height:48px;line-height:1.4}
@media(max-width:560px){
 .landing .occasion-tabs{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:18px}
 .landing .occasion-tabs button{width:100%;justify-content:center;text-align:center;font-size:14px;padding:12px 18px;min-height:48px}
 .landing .occasion-tabs button .ui-icon{display:none}
 .landing .occasion-panel{height:auto}
 .landing .occasion-panel>img{display:block;height:230px;object-fit:cover}
 .landing .occasion-panel:after{display:none}
 .landing .occasion-overlay{position:relative;inset:auto;transform:none;padding:25px 24px 28px}
 .landing .occasion-overlay>span{font-size:9px;letter-spacing:1.4px;line-height:1.7;display:block}
 .landing .occasion-overlay h3{font-size:32px;line-height:1.15;margin:14px 0}
 .landing .occasion-overlay p{font-size:14px;max-width:none;margin:0;line-height:1.7}
 .landing .occasion-panel .image-caption{display:none}
}

/* Participant media use the same bounded tiles as the organiser gallery. */
body:has(#gallery) #gallery .tile{border:0;padding:0}
body:has(#gallery) #gallery .memory-name{display:block;padding:14px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
body:has(#gallery) #filename{overflow-wrap:anywhere;font-size:22px}

/* Guest-led visual refresh. Keep native file inputs and all application states intact. */
body{background:#f5f9fc}
.site-header{background:#fff;border-bottom:1px solid #dbe6ed}
.btn,.landing .button{border-radius:999px;min-height:48px;line-height:1.5}
.btn{background:#8cb8d8;color:#172b3a;font-weight:700;padding:14px 24px}
.btn:hover,.landing .button:hover{color:#172b3a}
.btn.secondary{background:#fff;border:1px solid #dbe6ed;color:#172b3a}
.btn.secondary:hover{background:#edf5fb}
.text-btn{min-height:44px;line-height:1.5}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3d6b8c;outline-offset:4px}
.guest-wrap{max-width:1190px;margin:32px auto 56px;padding:0 24px}
.guest-card{background:#fff;border:1px solid #dbe6ed;border-radius:28px;box-shadow:0 24px 70px #172b3a08}
.guest-body{padding:36px 38px;text-align:left}
.guest-body h1{font-size:clamp(32px,3.8vw,46px);line-height:1.15;letter-spacing:-.045em;margin-bottom:14px;overflow-wrap:anywhere}
.guest-body>.eyebrow{color:#3d6b8c;font-size:10px;letter-spacing:.18em;margin-bottom:14px}
.guest-body>p{font-size:14px;line-height:1.65;color:#62717b}
.guest-body>.micro{font-size:12px;line-height:1.65}
.guest-body .dropzone{background:#f5f9fc;border:1px dashed #8cb8d8;border-radius:20px;padding:22px;margin-top:24px}
.guest-pickers{display:grid;gap:14px;min-width:0}
.guest-pickers .native-picker{display:block;min-width:0;margin:0;padding:0;background:transparent;border:0;border-radius:0;text-align:left}
.guest-pickers .native-picker>span{display:block;font-size:13px;line-height:1.5;font-weight:600;color:#172b3a;margin-bottom:8px;overflow-wrap:anywhere}
.guest-body input[type=file]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;padding:0;border:1px solid #dbe6ed;border-radius:14px;background:#fff;color:#62717b;font:13px/1.5 'DM Sans',sans-serif}
.guest-body input[type=file]::file-selector-button{min-height:48px;margin:0 12px 0 0;padding:12px 17px;background:#edf5fb;color:#172b3a;border:0;border-right:1px solid #dbe6ed;border-radius:13px;font:600 13px/1.5 'DM Sans',sans-serif;cursor:pointer}
.guest-pickers>.native-picker:first-child input::file-selector-button{background:#8cb8d8;font-weight:700}
.guest-body input[type=file]:disabled::file-selector-button{cursor:not-allowed;opacity:.6}
.guest-pickers .native-picker .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.picker-alternatives{margin-top:2px;border-top:1px solid #dbe6ed;padding-top:4px}
.picker-alternatives>summary{min-height:44px;font-size:12px;line-height:1.5;color:#3d6b8c;padding:12px 0;gap:10px}
.picker-alternatives .native-picker{margin:18px 0}
#selection-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.guest-body>#upload-panel{border:1px solid #bfd7e8;border-radius:18px;box-shadow:0 8px 25px #172b3a09;background:#edf5fb}
#upload-panel .upload-actions{gap:12px}
.guest-body .queue li{background:#fff;border:1px solid #dbe6ed;border-radius:14px;padding:14px;margin-bottom:8px;gap:12px}
.guest-body .queue button{min-width:44px;min-height:44px;flex-shrink:0}
.guest-body>section.card{background:#fff;border:0;border-top:1px solid #dbe6ed;border-radius:0;padding:24px 0 0;margin-top:24px}
.guest-body>section.card h3{font-size:21px;font-weight:700;line-height:1.3;letter-spacing:-.025em}
.guest-body>section.card p{font-size:12px;line-height:1.65;margin:10px 0 16px}
.guest-body>section.card .btn{width:100%;text-align:center}
.guest-body .guestbook-form{background:#edf5fb;border:1px solid #dbe6ed;border-radius:18px;padding:8px 20px}
.guest-body .guestbook-form summary{min-height:48px;font-size:14px}
.guest-body .guestbook-form input,.guest-body .guestbook-form textarea{width:100%;box-sizing:border-box}
.app-shell{max-width:1220px}
.studio-nav{background:#edf5fb;border:1px solid #dbe6ed;border-radius:20px;padding:12px;gap:8px}
.studio-nav button{min-height:44px;line-height:1.5;white-space:normal}
.studio-panels .card{padding:28px;border-radius:24px;margin-bottom:20px}
.studio-welcome{background:#edf5fb}
.studio-summary>div{border-radius:20px}
.settings-form textarea{min-height:130px}
.studio-designer label{display:block;margin:18px 0}
.studio-designer label input,.studio-designer label select{margin-top:7px}
.book-entries article{background:#f5f9fc;padding:20px;border-radius:16px;margin-top:20px}
.book-entries blockquote{margin:0}
.form-wrap{box-shadow:0 20px 70px #172b3a08}
.form-wrap .form-card{border:0;padding:20px 0 0}
.landing .occasion-panel,.landing .step-visual,.landing .price-card{border-radius:24px}
.landing .closing{background:#edf5fb}
body:has(#gallery)>main{background:#fff;border:1px solid #dbe6ed;border-radius:26px;padding:32px;margin:32px auto}
body:has(#gallery) #gallery{gap:18px}
body:has(#gallery) .memory{border:1px solid #dbe6ed;border-radius:20px;box-shadow:0 8px 25px #172b3a08}
body:has(#gallery) #refresh,body:has(#gallery) #more,body:has(#gallery) #close{min-height:44px;background:#edf5fb;border:1px solid #dbe6ed;border-radius:999px;padding:12px 20px;color:#172b3a}
body:has(#gallery) #gallery-privacy{font-size:12px;line-height:1.6}
@media(min-width:1000px){
 .guest-card{grid-template-columns:1fr 1fr;align-items:stretch}
 .guest-card>.guest-hero{height:100%;min-height:660px;max-height:none;position:static;object-position:57% center}
}
@media(max-width:760px){
 .site-header{padding:16px 18px;gap:12px}
 .guest-wrap{margin:16px auto 36px;padding:0 14px}
 .guest-card{border-radius:23px}
 .guest-card>.guest-hero{height:160px;min-height:0;object-position:55% 57%}
 .guest-body{padding:24px}
 .guest-body h1{font-size:32px;line-height:1.15;margin-bottom:10px}
 .guest-body>.eyebrow{font-size:9px;margin-bottom:10px}
 .guest-body>p{font-size:13px;line-height:1.55}
 .guest-body .dropzone{padding:18px 14px;margin-top:20px}
 .guest-body input[type=file]{font-size:12px;padding:0}
 .guest-body input[type=file]::file-selector-button{font-size:12px;padding:12px 14px}
 .guest-body .btn{font-size:14px;padding:14px 18px;white-space:normal}
 .studio-panels .card{padding:22px}
 .studio-actions{gap:12px;flex-wrap:wrap}
 .studio-designer .qr-paper{max-width:100%;margin-inline:auto}
 body:has(#gallery)>main{padding:20px;margin:16px 12px}
 body:has(#gallery) #gallery{gap:12px}
}
@media(max-width:360px){
 .guest-body{padding:20px}
 .guest-card>.guest-hero{height:130px}
 .guest-body .dropzone{padding:16px 12px}
 .site-header .brand-name{font-size:18px}
 .site-header .brand-icon{width:25px;height:25px}
}

/* Essential couple actions stay above the event cover. */
.studio-quick-share{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;margin:0 0 24px;padding:28px;background:linear-gradient(120deg,#edf5fb,#fff);border:1px solid #c8deed}
.studio-quick-share h2{font-size:30px;margin:8px 0 12px}.studio-quick-share h3{font-size:22px;margin:0 0 12px}
.studio-quick-share input{width:100%;min-width:0;box-sizing:border-box;background:#fff}.studio-quick-share label{font-size:13px}
.studio-quick-share [role=status]:empty{display:none}.studio-quick-photo{border-left:1px solid #c8deed;padding-left:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.studio-quick-photo p{margin:0 0 4px}
[data-share-cover]{scroll-margin-top:100px}
@media(max-width:680px){.studio-quick-share{grid-template-columns:1fr;gap:24px;padding:22px}.studio-quick-photo{border-left:0;border-top:1px solid #c8deed;padding:22px 0 0}.studio-quick-share h2{font-size:27px}.studio-quick-share .btn{width:100%}.studio-quick-share .studio-actions{align-items:stretch;flex-direction:column}}

/* Clean secondary links: keep a generous target and visible keyboard focus. */
.text-btn{border:0;border-radius:0;background:transparent;box-shadow:none;text-decoration:none;color:#3d6b8c;padding:8px 0;transition:color .18s ease}
.text-btn:hover{color:#172b3a;background:transparent;text-decoration:none}
.text-btn:focus-visible{outline:2px solid #3d6b8c;outline-offset:4px;border-radius:4px}
/* Organizer gallery: square previews, complete originals in the viewer. */
.original-list.media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.media-grid .media-card{position:relative;border-radius:12px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.media-grid .media-card .media-tile{border-radius:0!important;aspect-ratio:1/1;padding:0;display:block;width:100%;overflow:hidden;background:#edf3f7}
.media-grid .media-tile img{width:100%;height:100%;object-fit:cover;border-radius:0;transform:none!important}
.media-grid .media-card.is-selected{border-color:#4e8bbc;box-shadow:0 0 0 2px #4e8bbc}
.media-grid .media-details{padding:12px 14px}
.media-grid .media-details b{font-size:13px;font-weight:500}
.media-grid .media-details small{color:#6c7d8a}
.media-grid .media-details a{font-size:12px}
.moment-workspace{margin:24px 0 16px;border-top:1px solid #dce6ee;padding-top:24px}
.moment-workspace h3{font-size:22px;margin:0 0 4px}
.moment-workspace .micro{margin:0 0 14px}
.moment-workspace .media-filters{margin:12px 0;gap:8px}
.moment-workspace .media-filters .btn{font-size:13px;padding:9px 14px}
.moment-workspace details{font-size:13px;color:#436681;margin:16px 0}
.moment-workspace details summary{width:fit-content;min-height:32px}
.moment-workspace details input{flex:1;min-width:140px}
.moment-workspace [role=status]:empty{display:none}
.moment-assignment{position:sticky;top:76px;z-index:8;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px;background:#edf5fb;border:1px solid #b9d3e6;border-radius:14px;box-shadow:0 8px 24px #17334a12;margin:16px 0}
.moment-assignment select{width:auto;min-width:180px;flex:1}
.moment-select{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:12px;color:#48677f;border-top:1px solid #edf2f6;cursor:pointer}
.moment-select input{width:18px;height:18px;margin:0;accent-color:#4e8bbc;cursor:pointer}
.gallery-sort{display:flex;align-items:center;gap:12px;font-size:13px;color:#567083;margin:12px 0}
.gallery-sort select{width:auto;max-width:240px}
.album-search{max-width:100%;margin:22px 0 12px;font-size:13px}
.album-search input{background:white;border:1px solid #d4e2ec;border-radius:12px}
.media-dialog .media-stage{background:#edf2f6;min-height:160px;border-radius:8px}
.media-dialog .media-stage img,.media-dialog .media-stage video{object-fit:contain!important;width:auto;max-width:100%;height:auto;max-height:65dvh;border-radius:0}
.media-view-nav{display:flex;gap:8px}
.media-view-nav .btn{padding:10px 16px}
@media(min-width:1450px){.original-list.media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.original-list.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-grid .media-details{padding:10px}.moment-select{padding:10px;font-size:11px}.moment-assignment{top:64px;padding:12px}.moment-assignment .btn{flex:1}.media-view-head{flex-wrap:wrap}.media-view-head h2{flex-basis:100%}.media-view-nav{margin-left:auto}}
#panel-memories .stats{padding:14px 0;margin:0 0 20px}
#panel-memories .stats strong{font-size:26px}
.gallery-slideshow-options{margin:24px 0;font-size:14px;color:#426681;border-top:1px solid #dce6ee;padding-top:18px}
.gallery-slideshow-options summary{cursor:pointer}
.moment-assignment{position:fixed;top:auto;bottom:20px;left:50%;transform:translateX(-50%);width:min(760px,calc(100vw - 32px));z-index:30;margin:0;box-shadow:0 12px 50px #18354d30}
@media(max-width:700px){.moment-assignment{top:auto;bottom:12px}.moment-assignment select{min-width:150px}}
.journey-steps{font-size:13px;line-height:1.7;color:#426681;padding:12px 0;margin:12px 0}.form-card>a.text-btn{display:block;margin:4px 0 12px}.auth-feedback{max-width:560px;margin:12vh auto;padding:32px}.auth-feedback .brand-logo{max-width:210px;height:auto}.auth-feedback h1{font-size:32px;line-height:1.2}.auth-feedback p{line-height:1.65}.auth-feedback .btn{margin:12px 0}
@media(max-width:700px){body[data-page=create] .form-wrap{margin:24px 12px;padding:22px 20px}body[data-page=create] .form-wrap h1{font-size:32px;margin:16px 0 18px}body[data-page=create] .journey-steps{padding:4px 0;margin:8px 0 18px}body[data-page=create] .form-card .note{padding:14px;font-size:14px;line-height:1.5}}

.guest-body .iphone-upload-help{margin-top:8px;text-align:left}.guest-body .iphone-upload-help>summary{display:list-item;cursor:pointer;color:#3d6b8c;font-size:13px;font-weight:600;line-height:20px;padding:12px 0;margin:0}.guest-body .iphone-upload-help>summary::after{content:none}.guest-body .iphone-upload-help>summary:focus-visible{outline:2px solid #8cb8d8;outline-offset:2px;border-radius:4px}.guest-body .iphone-upload-help>p{margin:0;padding:0;font-size:13px;line-height:1.6}

/* Clear help control, large enough to tap on phones. */
.guest-body .iphone-upload-help{margin-top:14px}
.guest-body .iphone-upload-help>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 16px;border:1px solid #96b9d0;border-radius:12px;background:#e4f0f8;color:#244d68;font-size:14px;font-weight:700;list-style:none;box-sizing:border-box}
.guest-body .iphone-upload-help>summary::-webkit-details-marker{display:none}
.guest-body .iphone-upload-help>summary::before{content:'?';display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#3d6b8c;color:#fff;font-size:15px}
.guest-body .iphone-upload-help>summary::after{content:'+';margin-left:auto;font-size:22px;line-height:1}
.guest-body .iphone-upload-help[open]>summary::after{content:'−'}
.guest-body .iphone-upload-help>summary:hover{background:#d5e8f5;border-color:#648fae}
.guest-body .iphone-upload-help>summary:focus-visible{outline:3px solid #397ba7;outline-offset:3px}
.guest-body .iphone-upload-help[open]>p{margin-top:10px;padding:4px 2px;color:#304c60}

.currency-choice{display:inline-flex;align-items:center;gap:10px;font-size:14px;margin:12px 0}.currency-choice select{width:auto;min-width:88px;margin:0;padding:8px 28px 8px 12px;border:1px solid #c3d3dd;border-radius:10px;background:#fff;color:#25465e;font:inherit}.currency-note{margin:0 0 12px}
