/* Fotobox Hennef: shared interface. Customer-selected gallery themes keep their colors and fonts. */
@font-face{font-family:FBHInterface;src:url('fonts/dmsans.woff2') format('woff2'),url('fonts/dmsans.ttf') format('truetype');font-weight:100 1000;font-display:swap}
.brand-ui{--fbh-pink:#ac2056;--fbh-ink:#272329;--fbh-muted:#655d65;--fbh-line:#e3dde1;--fbh-paper:#faf8f9;--fbh-radius:16px;font-family:FBHInterface,Arial,sans-serif}
.brand-ui.workspace-ui,.brand-ui.renter-shell{color:var(--fbh-ink);background:var(--fbh-paper);--pink:var(--fbh-pink)}
.brand-ui :is(button,.button,input,select,textarea){font-family:inherit}
.brand-ui :is(button,.button){min-height:44px;border-radius:10px;line-height:1.35;font-size:14px;letter-spacing:0;font-weight:650;transition:background-color .15s,border-color .15s,box-shadow .15s}
.brand-ui :is(button,.button):disabled{cursor:not-allowed}
.brand-ui :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent,var(--fbh-pink));outline-offset:4px}
.brand-ui :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:16px;line-height:1.5}
.brand-ui summary{min-height:44px;align-content:center;line-height:1.5;font-size:14px}
.brand-ui p{line-height:1.65}.brand-ui .icon{flex-shrink:0}
.brand-ui>header{border-top:3px solid var(--fbh-pink);border-bottom:1px solid var(--fbh-line);box-shadow:none;gap:24px;min-height:92px}
.brand-ui>header .brand img,.brand-ui .download-brand img{width:132px;height:auto;object-fit:contain}
.brand-ui>header .brand span,.brand-ui .download-brand>span{font:600 10px/1.7 FBHInterface,Arial,sans-serif;letter-spacing:.16em;color:#51434b;max-width:200px}
.brand-ui.workspace-ui h1,.brand-ui.renter-shell h1{font-size:clamp(30px,3vw,44px);font-weight:600;letter-spacing:-.04em;line-height:1.12}
.brand-ui.workspace-ui :is(h2,h3),.brand-ui.renter-shell :is(h2,h3){font-weight:600;letter-spacing:-.025em}
.brand-ui.workspace-ui .card,.brand-ui.renter-shell .card{border:1px solid var(--fbh-line);border-radius:var(--fbh-radius);box-shadow:none}
.brand-ui :is(.eyebrow,.role-label){font-weight:700;letter-spacing:.16em;line-height:1.6}
/* A quieter, photographic guest canvas. */
.brand-ui.gallery-page.has-guest-rail{padding-left:0}
.brand-ui.gallery-page:not(.workspace-ui)>main{max-width:1380px!important;padding:24px clamp(20px,4vw,64px) 88px!important}
.brand-ui.gallery-page.gallery-width-full:not(.workspace-ui)>main{max-width:none!important}
.brand-ui.gallery-page:not(.workspace-ui) .guest-rail{position:sticky;inset:auto;top:10px;width:fit-content;max-width:100%;height:auto;z-index:20;flex-direction:row;justify-content:center;gap:4px;padding:6px;margin:0 auto 36px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #20152208;background:var(--surface)}
.brand-ui.gallery-page:not(.workspace-ui) .guest-rail :is(a,button){display:flex;flex-direction:row;gap:9px;align-items:center;justify-content:center;width:auto;height:auto;min-height:44px;padding:10px 16px;border-radius:9px;background:transparent;color:var(--ink);font:600 13px/1.3 FBHInterface,Arial,sans-serif}
.brand-ui.gallery-page .guest-rail :is(a,button):hover{background:var(--soft);color:var(--accent)}
.brand-ui.gallery-page .guest-rail .icon{width:20px;height:20px}
.brand-ui.gallery-page:not(.workspace-ui) .collection-heading{margin:32px 0 20px;gap:16px;align-items:center}
.brand-ui.gallery-page:not(.workspace-ui) .collection-heading h2{font-size:28px;margin:0;letter-spacing:-.035em}
.brand-ui.gallery-page:not(.workspace-ui) .collection-grid{gap:24px!important;align-items:stretch}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile{border:1px solid var(--line);border-radius:16px!important;box-shadow:0 6px 18px #20152204;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile:hover{border-color:var(--accent);box-shadow:0 10px 24px #2015220a}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-cover,.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-cover.album-photo-stack{aspect-ratio:4/3!important;background:var(--soft)!important}
.brand-ui.gallery-page:not(.workspace-ui) .album-print{box-shadow:0 5px 12px #21122220!important}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-label{padding:22px 24px!important}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-label h3{font-size:22px!important;font-weight:600!important;min-height:0!important;margin:0 0 6px!important}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-label>span{color:var(--muted)!important;font-size:14px!important}
.brand-ui.gallery-page:not(.workspace-ui) .collection-tile-label .album-open-label{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin-top:18px!important;min-height:36px!important;font:650 14px/1.4 FBHInterface,Arial,sans-serif;color:var(--accent)!important}
.brand-ui.gallery-page .photos .photo{border-radius:12px;overflow:hidden;border:1px solid var(--line,#e3dde1);box-shadow:none}
.brand-ui .photo-actions{padding:12px;gap:8px}
.brand-ui .photo-actions :is(a,button,.photo-select){min-height:44px;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.brand-ui .photo-select input{width:20px;height:20px;min-height:20px;accent-color:var(--accent,var(--fbh-pink))}
.brand-ui .photo-menu summary{min-width:44px;display:grid;place-content:center}
.brand-ui .photo-actions .photo-tool{padding:8px}
.brand-ui .selection-bar{padding:12px;border-radius:12px;background:var(--surface,#fff);border:1px solid var(--line,var(--fbh-line))}
.brand-ui .selection-bar :is(button,a){font-size:13px;min-height:44px}
.brand-ui .guest-drawer{font-family:FBHInterface,Arial,sans-serif;border:0;box-shadow:16px 0 48px #0002}
.brand-ui .guest-drawer nav :is(a,button){font-size:15px;border-radius:10px;min-height:48px}
/* Customer home: a recognizable brand header and fewer competing blocks. */
.brand-ui.renter-shell>main{max-width:1240px;padding:48px 32px 72px}
.brand-ui.renter-shell .renter-welcome{padding:0 0 36px;margin-bottom:30px;border-bottom:1px solid var(--fbh-line);gap:40px}
.brand-ui.renter-shell .renter-welcome-photo{width:240px;height:170px;object-fit:contain;background:#fff;border:8px solid white;border-radius:14px;box-shadow:0 6px 22px #30272d0a;transform:rotate(2deg)}
.brand-ui.renter-shell .renter-action-grid{gap:16px}
.brand-ui.renter-shell .renter-action-grid>a{min-height:190px;border-radius:14px;gap:22px;padding:24px;box-shadow:none}
.brand-ui.renter-shell .renter-action-grid>a:first-child{border-color:#ac2056;border-top:3px solid #ac2056;padding-top:22px}
.brand-ui.renter-shell .renter-action-grid strong{font-size:18px;margin-bottom:7px}
.brand-ui.renter-shell .renter-action-grid small{font-size:14px;color:var(--fbh-muted)}
.brand-ui.renter-shell .renter-action-icon{background:#f8eaf0;border-radius:10px;color:var(--fbh-pink);width:42px;height:42px}
.brand-ui.renter-shell .renter-secondary{gap:12px 24px;padding-bottom:24px}
.brand-ui.renter-shell .renter-secondary a{font-size:14px;color:#544750;min-height:44px}
.brand-ui.renter-shell .renter-albums{gap:24px;align-items:stretch}
.brand-ui.renter-shell .renter-albums>div{min-width:0}
.brand-ui.renter-shell .renter-albums .card{padding:0;overflow:hidden;margin:0;height:100%;transition:border-color .15s}
.brand-ui.renter-shell .renter-albums .card:hover{border-color:var(--fbh-pink)}
.brand-ui.renter-shell .renter-albums :is(img,video){display:block;width:100%;height:auto!important;aspect-ratio:4/3;max-height:none;object-fit:contain;background:#eee9ec;border-radius:0}
.brand-ui.renter-shell .renter-albums :is(h3,p,strong){display:block;margin-left:22px;margin-right:22px}
.brand-ui.renter-shell .renter-albums h3{font-size:21px;margin-top:20px;margin-bottom:6px}
.brand-ui.renter-shell .renter-albums p{margin-top:0;font-size:14px;color:var(--fbh-muted)}
.brand-ui.renter-shell .renter-albums strong{font-size:14px;margin-bottom:22px;color:var(--fbh-pink)}
.brand-ui .renter-album-footer{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap;margin:24px 0}
.brand-ui .brand-empty{padding:40px 24px;background:#fff;border:1px dashed var(--fbh-line);border-radius:16px;text-align:center}
.brand-ui .bulk-toolbar{position:sticky;top:8px;z-index:5;box-shadow:0 6px 20px #20152208}
.brand-ui .mobile-app-card{background:transparent;border:0;border-top:1px solid var(--fbh-line);border-radius:0;box-shadow:none;padding:24px 0;margin:40px 0 0}
.brand-ui .mobile-app-card h2{font-size:20px}.brand-ui .mobile-app-card p{font-size:14px}
/* Admin overview: compact supporting numbers, readable actions. */
.brand-ui.workspace-ui>main{max-width:1480px;padding:40px clamp(20px,3vw,48px) 64px}
.brand-ui .dashboard-heading{margin-bottom:28px;align-items:center}
.brand-ui .dashboard-stat{border-radius:14px;padding:20px 22px;box-shadow:none;border-color:var(--fbh-line)}
.brand-ui .dashboard-stat strong{font-size:34px;font-weight:600;letter-spacing:-.04em;color:var(--fbh-ink)}
.brand-ui .dashboard-stat span{font-size:14px;color:var(--fbh-muted)}
.brand-ui .dashboard-stat small{font-size:13px;line-height:1.5}
.brand-ui .home-activity>.dashboard-stats .dashboard-stat strong{color:var(--fbh-pink)}
.brand-ui .home-task{padding:15px 18px;border-radius:12px;font-size:14px}
.brand-ui .gallery-directory{border-radius:16px;overflow:hidden;border-color:var(--fbh-line)}
.brand-ui .directory-name h2{font-size:18px;letter-spacing:-.02em}
.brand-ui .directory-toolbar input,.brand-ui .directory-toolbar select{font-size:14px}
.brand-ui .workspace-nav>a{min-height:48px;border-radius:10px;margin:3px 10px;font-size:14px}
.brand-ui .notice{border-radius:10px;line-height:1.6;font-size:14px}
.brand-ui .delivery-choices a{border-radius:12px;padding:18px 22px}
.brand-ui .delivery-box{max-width:none}.brand-ui .delivery-section-body{padding:22px}
.brand-ui .readiness-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.brand-ui .memory-downloads{gap:20px}.brand-ui .memory-downloads>.card{box-shadow:none;border-color:var(--fbh-line);border-radius:14px}
.brand-ui .download-brand{justify-content:space-between;padding:20px max(24px,calc((100vw - 1160px)/2))}
/* Image viewing keeps the customer in the album. */
#renter-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#17151a;color:#fff}
#renter-viewer[open]{display:flex;flex-direction:column}#renter-viewer::backdrop{background:#17151a}
.renter-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;flex-wrap:wrap;border-bottom:1px solid #3a343c;font:500 14px/1.4 FBHInterface,Arial,sans-serif}
.renter-viewer-bar>div{display:flex;gap:8px}.renter-viewer-bar :is(button,a){border:1px solid #625766;background:#26212b;color:#fff;border-radius:8px;min-height:44px;padding:10px 16px;text-decoration:none;font-size:14px}
.renter-viewer-stage{flex:1;min-height:0;display:grid;place-items:center;padding:16px;position:relative}.renter-viewer-stage img{width:100%;height:100%;max-height:100%;object-fit:contain;min-height:0}
#renter-viewer [role=status]{color:#fff;font-size:14px;margin:0;padding:8px 16px;text-align:center}
.renter-viewer-controls{display:flex;justify-content:center;gap:12px;padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #3a343c}.renter-viewer-controls button{background:#302a34;color:#fff;border:1px solid #625766;min-height:44px;padding:10px 20px;border-radius:8px}.renter-viewer-controls button:disabled{opacity:.45}
body.renter-viewer-open{overflow:hidden}
@media(max-width:760px){
 .brand-ui>header{min-height:80px;padding:14px 18px!important;gap:16px}.brand-ui>header .brand img{width:108px}.brand-ui>header .brand span{display:none}
 .brand-ui.gallery-page:not(.workspace-ui)>main{padding:18px 16px 108px!important}
 .brand-ui.gallery-page:not(.workspace-ui) .guest-rail{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:0;box-shadow:0 -4px 20px #20152208}
 .brand-ui.gallery-page:not(.workspace-ui) .guest-rail :is(a,button){display:flex!important;flex:1;min-width:0;flex-direction:column;gap:4px;width:auto;padding:5px 1px;min-height:50px;font-size:11px;background:transparent}
 .brand-ui.gallery-page .guest-rail span{white-space:nowrap;line-height:1.3}.brand-ui.gallery-page .guest-rail .icon{width:21px;height:21px}
 .brand-ui.gallery-page.mobile-app-running .guest-rail{display:none!important}
 .brand-ui.gallery-page .collection-grid{gap:20px!important}.brand-ui.gallery-page .collection-tile-label{padding:20px!important}
 .brand-ui.gallery-page:not(.workspace-ui) .gallery-intro:not(.no-cover){gap:20px!important;padding:20px!important;margin-bottom:28px!important}
 .brand-ui.gallery-page:not(.workspace-ui) .gallery-intro .album-hero h1{font-size:clamp(30px,8vw,40px)!important;line-height:1.12}
 .brand-ui .photos{gap:12px}.brand-ui .photo-actions{padding:8px;gap:4px}.brand-ui .photo-actions :is(a,button,.photo-select){font-size:12px}.brand-ui .photo-actions .icon{width:18px;height:18px}
 .brand-ui.renter-shell>main{padding:28px 18px 56px}.brand-ui.renter-shell .renter-welcome{gap:20px;padding-bottom:26px;margin-bottom:24px}.brand-ui.renter-shell .renter-welcome-photo{width:110px;height:100px;border-width:5px}
 .brand-ui.renter-shell .renter-action-grid{grid-template-columns:1fr;gap:12px}.brand-ui.renter-shell .renter-action-grid>a{min-height:0;flex-direction:row;gap:16px;padding:20px}.brand-ui.renter-shell .renter-action-grid>a:first-child{border-top-width:1px;border-left:3px solid var(--fbh-pink);padding-top:20px;padding-left:18px}.brand-ui.renter-shell .renter-action-grid small{max-width:28ch;font-size:14px}
 .brand-ui.renter-shell .renter-albums{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-ui.renter-shell .renter-albums :is(h3,p,strong){margin-left:14px;margin-right:14px}.brand-ui.renter-shell .renter-albums h3{font-size:18px}.brand-ui.renter-shell .renter-albums p{font-size:13px}.brand-ui.renter-shell .renter-albums strong{font-size:13px;margin-bottom:16px}
 .brand-ui .bulk-toolbar{position:static}.brand-ui .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.brand-ui .dashboard-stat{padding:16px}.brand-ui .dashboard-stat strong{font-size:28px}.brand-ui .dashboard-stat:last-child:nth-child(odd){grid-column:1/-1}
 .brand-ui .home-task-grid{gap:10px}.brand-ui .home-task{padding:14px 12px}.brand-ui .home-task strong{font-size:22px}
 .brand-ui .gallery-workflow{display:grid;grid-template-columns:1fr 1fr;gap:8px}.brand-ui .gallery-workflow a{padding:10px;font-size:12px;min-height:44px}
 .renter-viewer-bar{padding:12px;gap:8px}.renter-viewer-bar :is(button,a){font-size:13px;padding:10px 12px}
}
@media(max-width:380px){.brand-ui.renter-shell .renter-welcome-photo{display:none}.brand-ui.renter-shell .renter-albums{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.brand-ui *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the working area close to the pictures; advanced steps remain available. */
.brand-ui .workflow-guide{border-top:1px solid var(--fbh-line);margin-top:10px;font-size:13px}
.brand-ui .workflow-guide summary{color:var(--fbh-muted);font-weight:500}
.brand-ui .workflow-guide .gallery-workflow{margin:4px 0 12px}
.brand-ui .photo-sort-options{margin:12px 0 20px}
.brand-ui .photo-sort-options>summary{font-weight:600;color:var(--fbh-muted)}
.brand-ui .publication-bar{padding:14px 18px;border-radius:12px}
.brand-ui .album-tabs a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.brand-ui.renter-shell .mobile-app-card{border:0;border-top:1px solid var(--fbh-line)}
@media(max-width:760px){.brand-ui .album-workspace-heading>.feature-actions{min-width:0;width:100%;max-width:100%;flex-wrap:wrap}.brand-ui .album-workspace-heading>.feature-actions>*{flex:1 1 160px}}

.brand-ui .album-context{font-size:15px;color:var(--muted);margin:24px 0 8px}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo{overflow:visible;border-radius:12px!important;background:var(--surface)}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-open{overflow:hidden;border-radius:12px 12px 0 0!important}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions{position:static!important;inset:auto;width:auto;transform:none;opacity:1;pointer-events:auto;display:flex;flex-wrap:wrap;justify-content:space-around;padding:8px!important;gap:4px!important;background:var(--surface)!important;min-height:60px}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions>:is(a,button,label){display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:4px!important;margin:0;font:500 12px/1.3 FBHInterface,Arial,sans-serif}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions :is(a,button)>span,.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions .selection-label{display:block!important;font-size:12px;white-space:nowrap}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions .photo-select .icon{order:-1}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions .icon{width:20px;height:20px}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-menu{margin-left:0;align-self:center}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-menu summary{min-height:44px;min-width:44px}
.brand-ui .bulk-toolbar>label{display:inline-flex;align-items:center;gap:8px;margin:0}
.brand-ui .bulk-toolbar>label input{margin:0;width:20px;height:20px;min-height:20px}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions .selection-label{position:static;width:auto;height:auto;clip-path:none;overflow:visible}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions :is(a,button,label){color:var(--ink)!important}
.brand-ui.gallery-page:not(.workspace-ui) #album-photos .photo-actions .photo-select:has(input:checked){color:var(--accent)!important}
.brand-ui footer,.brand-ui footer p{font-size:12px}
@media(max-width:760px){.brand-ui.gallery-page:not(.workspace-ui)>footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}

/* Preparation first, memories first as soon as uploads exist. */
.brand-ui.renter-shell .renter-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:960px}
.brand-ui.renter-shell .renter-action-grid>a{min-height:172px}
.brand-ui .mobile-app-card>summary{display:flex;gap:16px;justify-content:space-between;cursor:pointer;font-weight:600;color:var(--fbh-muted);list-style:none}
.brand-ui .mobile-app-card>summary:after{content:'+';font-size:20px}.brand-ui .mobile-app-card[open]>summary:after{content:'−'}
.brand-ui .mobile-app-card>summary span{font-size:12px;font-weight:400;margin-left:auto}
.brand-ui .mobile-app-card[open]{padding-bottom:20px}.brand-ui .mobile-app-card[open]>summary{margin-bottom:20px}
.brand-ui .qr-default-ready{background:#fff;border-top:3px solid var(--fbh-pink);max-width:760px}.brand-ui .qr-default-ready label{max-width:580px;margin:22px 0}
.brand-ui .qr-export-options{margin:20px 0}.brand-ui .qr-proof[aria-busy=true]{min-height:180px}
.brand-ui.qr-studio,.brand-ui.archive-page{--pink:var(--fbh-pink);color:var(--fbh-ink);background:var(--fbh-paper)}
.brand-ui.qr-studio h1,.brand-ui.archive-page h1{font-family:FBHInterface,Arial,sans-serif;font-weight:600;letter-spacing:-.04em;font-size:clamp(30px,3vw,44px);line-height:1.12}
@media(max-width:760px){.brand-ui.renter-shell .renter-action-grid{grid-template-columns:1fr}.brand-ui.renter-shell .renter-action-grid>a{min-height:0}}
