.workflow-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}.workflow-tools button,.workflow-tools select,.media-tools button,.comment-button{padding:9px 12px;font-size:12px;border:1px solid #d5dce5;background:#f4f6f9;color:#142d4e;border-radius:6px}.media-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.comment-button{margin:6px 0}.move-target{outline:3px solid #406b9b!important;background:#dce8f7!important}.moving{opacity:.5}.workflow-dialog{max-height:85vh;overflow:auto;min-width:min(500px,90vw)}.workflow-row{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #ddd}.comment{white-space:pre-wrap;padding:12px;background:#f5f6f8;border-radius:6px}.comment strong,.comment span{display:block}.comment strong{font-size:12px;margin-bottom:8px}.workflow-dialog textarea{width:100%;margin:15px 0}.workflow-dialog>button{margin:8px 8px 8px 0}#trashNavigation{padding:15px;text-align:left;background:none;border:0;font-weight:bold;color:#333}#workflowTools button:disabled{opacity:.5}.tile[draggable=true]{cursor:grab}@media(max-width:600px){.workflow-tools>*{max-width:100%}.workflow-dialog{min-width:0;width:100%}.workflow-row{flex-wrap:wrap}}
/* Shared photo controls, in the gallery and enlarged view. */
.media-frame{position:relative;isolation:isolate}
.image-actions{position:absolute;bottom:9px;right:9px;left:9px;display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;pointer-events:none;z-index:1}
.image-actions:empty{display:none}
.image-actions .image-action,.media-frame .image-download,.lightbox-frame .image-download{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:38px;height:38px;padding:8px;border:1px solid #ffffffb3;border-radius:9px;background:#fffffff0;color:#142d4e;box-shadow:0 2px 9px #0003;text-decoration:none;line-height:1;cursor:pointer;backdrop-filter:blur(6px)}
.image-actions .image-action:hover,.image-download:hover{background:#fff;border-color:#142d4e}
.image-actions .image-action.active{background:#142d4e;color:#fff;border-color:#142d4e}
.image-actions .image-action.active svg:has(path[d^="M20.8"]){fill:currentColor}
.image-actions .image-action:disabled{opacity:.65;cursor:default}
.image-actions .action-count{font:600 12px/1 Arial,sans-serif;color:inherit}
.image-action svg,.image-download svg{flex-shrink:0;width:18px;height:18px}
.media-frame .image-download,.lightbox-frame .image-download{position:absolute;top:9px;right:9px;z-index:1}
.media-frame:has(video) .image-actions{bottom:48px}
.lightbox .lightbox-frame{position:relative;max-width:90vw;max-height:82svh;line-height:0}
.lightbox .lightbox-frame>img{display:block;width:auto;height:auto;max-width:90vw;max-height:82svh;object-fit:contain}
#lightbox .close{z-index:3;top:12px;right:16px}
#workflowDialog{z-index:25}.comment-note{font-size:13px;line-height:1.5}.workflow-dialog .field input{width:100%}
#toast{z-index:30}
.image-action:focus-visible,.image-download:focus-visible,.media-frame>img:focus-visible{outline:3px solid #7dafe2;outline-offset:3px}
@media(max-width:600px){.image-actions{bottom:6px;left:6px;right:6px;gap:5px}.image-actions .image-action,.media-frame .image-download{min-width:34px;height:36px;padding:7px;border-radius:7px}.image-actions .action-count{font-size:11px}.lightbox .lightbox-frame{max-width:94vw}.lightbox .lightbox-frame>img{max-width:94vw}.image-action svg,.image-download svg{width:17px;height:17px}}
/* Photo discussion: full-size image beside a compact social comment feed. */
#lightbox .lightbox-layout{display:flex;align-items:center;justify-content:center;max-width:94vw;max-height:86svh;min-width:0}
#lightbox .lightbox-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
#lightbox .lightbox-frame>video{display:block;max-width:90vw;max-height:82svh;width:auto;height:auto}
#lightbox .lightbox-frame:has(video:not(.hidden)) .image-actions{bottom:48px}
#lightbox.comments-open{background:#16181beF}
#lightbox.comments-open .lightbox-layout{width:min(1180px,94vw);height:min(800px,calc(100dvh - 96px));max-height:calc(100dvh - 96px);align-items:stretch;border-radius:12px;overflow:hidden;box-shadow:0 18px 80px #0006}
#lightbox.comments-open .lightbox-stage{flex:1;padding:22px;background:#101114}
#lightbox.comments-open .lightbox-frame{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center}
#lightbox.comments-open .lightbox-frame>img,#lightbox.comments-open .lightbox-frame>video{max-width:100%;max-height:min(756px,calc(100dvh - 140px));width:auto;height:auto}
#lightbox #photoComments{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;flex:0 0 370px;width:370px;min-width:0;min-height:0;padding:0;border:0;border-left:1px solid #e9eaed;background:#fff;color:#22252a;line-height:1.5;font-family:Arial,Helvetica,sans-serif;outline:none}
.discussion-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 6px;gap:16px;flex-shrink:0}
.discussion-heading{display:flex;align-items:center;gap:9px;min-width:0}
#photoComments h2{font:700 17px/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.2px;margin:0;color:#22252a}
.discussion-count{font:600 11px/1 Arial,sans-serif;background:#eef2f7;color:#536477;padding:5px 7px;border-radius:10px}
#photoComments .discussion-close{font:26px/1 Arial,sans-serif;border:0;background:transparent;color:#767c86;padding:0;width:36px;height:36px;border-radius:50%;flex-shrink:0}
#photoComments .discussion-close:hover{background:#f1f3f5;color:#142d4e}
#photoComments .discussion-filename{font-size:11px;line-height:1.5;color:#8a909a;margin:0;padding:0 22px 18px;border-bottom:1px solid #eeeff2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}
.discussion-list{flex:1;min-height:70px;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px;scrollbar-width:thin;scrollbar-color:#d2d7de transparent}
.discussion-comment{display:flex;align-items:flex-start;gap:11px;margin:0 0 24px}
.discussion-comment:last-child{margin-bottom:0}
.comment-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#e8eef6;color:#304b6f;font:600 11px/1 Arial,sans-serif;letter-spacing:.3px;user-select:none}
.discussion-comment:nth-child(3n+2) .comment-avatar{background:#f0efed;color:#6d6259}.discussion-comment:nth-child(3n+3) .comment-avatar{background:#e8efed;color:#4b6b60}
.comment-content{min-width:0;flex:1;padding-top:1px}
#photoComments .comment-body{font-size:13px;line-height:1.65;margin:0;color:#30343b;overflow-wrap:anywhere}
.comment-author{font-weight:700;color:#20242b;margin-right:5px;overflow-wrap:anywhere}
.comment-text{white-space:pre-wrap}
.comment-meta{display:flex;align-items:center;gap:9px;margin-top:6px;font-size:10px;color:#969ca5;line-height:1.4}
.comment-private{font-size:9px;font-weight:600;padding:2px 5px;border-radius:4px;background:#f2f3f5;color:#727986}
.discussion-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100%;padding:25px 10px;color:#38404a}
.discussion-empty-icon{display:grid;place-items:center;width:55px;height:55px;border:1px solid #e4e8ed;border-radius:50%;color:#8290a1;margin-bottom:17px}.discussion-empty-icon svg{width:25px;height:25px}
.discussion-empty strong{font-size:14px}#photoComments .discussion-empty p{font-size:12px;line-height:1.7;margin:8px 0 0;max-width:220px;color:#8b929c}
#photoComments .discussion-loading,#photoComments .discussion-load-error{font-size:12px;color:#858d99;text-align:center;margin:30px 0;line-height:1.6}
.discussion-compose{flex-shrink:0;padding:15px 18px 13px;border-top:1px solid #eeeff2;background:#fff}
.discussion-name{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#868e99;margin-bottom:13px}
#photoComments .discussion-name input{font:12px/1.5 Arial,sans-serif;width:145px;min-width:0;padding:6px 9px;border:1px solid #e5e8ec;background:#f9fafb;border-radius:6px;color:#303843}
.compose-row{display:flex;align-items:flex-end;gap:9px;min-height:40px}
.compose-avatar{margin-bottom:3px;flex-basis:30px;width:30px;height:30px;font-size:10px}
#photoComments .comment-input{flex:1;min-width:0;min-height:40px;max-height:112px;resize:none;border:0;border-radius:0;background:transparent;color:#262d36;padding:10px 0 9px;font:13px/1.6 Arial,sans-serif;outline:none;box-shadow:none;overflow-y:auto}
#photoComments .comment-input::placeholder{color:#9ba1aa}
#photoComments .comment-send{font:700 12px/1.5 Arial,sans-serif;padding:10px 0;min-height:40px;border:0;background:none;color:#142d4e;white-space:nowrap}
#photoComments .comment-send:disabled{color:#b3bac4;cursor:default}
#photoComments .discussion-visibility{font-size:9px;color:#969da7;margin:11px 0 0;line-height:1.5}
#photoComments .discussion-error{font-size:12px;line-height:1.5;color:#a43d36;margin:9px 0 0}
#photoComments .discussion-retry{font-size:11px;padding:6px 10px;margin-top:8px;color:#142d4e;border-color:#d6dfeb;background:#f5f7fa}
.discussion-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#photoComments button:focus-visible,#photoComments input:focus-visible,#photoComments textarea:focus-visible{outline:2px solid #6e91bc;outline-offset:3px}
@media(max-width:960px) and (min-width:761px){#lightbox #photoComments{flex-basis:330px;width:330px}#lightbox.comments-open .lightbox-stage{padding:14px}}
@media(max-width:760px){
 #lightbox.comments-open{padding:58px 0 0;align-items:flex-end;height:var(--discussion-viewport,100dvh);bottom:auto}
 #lightbox.comments-open .lightbox-layout{width:100%;max-width:100%;height:calc(var(--discussion-viewport,100dvh) - 58px);max-height:calc(var(--discussion-viewport,100dvh) - 58px);border-radius:14px 14px 0 0;flex-direction:column}
 #lightbox.comments-open .lightbox-stage{flex:0 0 30%;height:30%;padding:10px;min-height:90px}
 #lightbox.comments-open .lightbox-frame>img,#lightbox.comments-open .lightbox-frame>video{max-height:calc((var(--discussion-viewport,100dvh) - 58px)*.3 - 20px);max-width:100%}
 #lightbox.comments-open #photoComments{flex:1;width:100%;border:0;border-radius:13px 13px 0 0;min-height:0}
 .discussion-header{padding:12px 18px 2px}.discussion-list{padding:18px;min-height:40px}.discussion-comment{margin-bottom:20px}
 #photoComments .discussion-filename{padding:0 18px 12px}.discussion-compose{padding:12px 16px max(12px,env(safe-area-inset-bottom))}
 #photoComments .discussion-name input{font-size:16px;padding:4px 8px}#photoComments .comment-input{font-size:16px;padding-top:7px;padding-bottom:7px}
 #lightbox.comments-open .image-actions{gap:4px;left:5px;right:5px;bottom:5px}.discussion-name{margin-bottom:8px}
}
@media(max-height:560px) and (max-width:760px){#lightbox.comments-open .lightbox-stage{flex-basis:18%;height:18%;min-height:0}#lightbox.comments-open .lightbox-frame>img,#lightbox.comments-open .lightbox-frame>video{max-height:calc((var(--discussion-viewport,100dvh) - 58px)*.18 - 20px)}.discussion-header{padding-top:5px}#photoComments .discussion-filename{display:none}}
/* Clear hierarchy and direct navigation within a gallery. */
#galleryNavigation{padding:18px 0 16px;isolation:isolate}
#galleryNavigation .navigation-top{display:flex;flex-direction:row;align-items:center;gap:18px}
#galleryNavigation .navigation-location{flex:1;min-width:0}
#galleryNavigation .navigation-location-label{display:block;font:600 10px/1.4 Arial,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#737e8c;margin-bottom:5px}
#galleryNavigation #breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font:15px/1.5 Arial,sans-serif;color:#535f6e;outline-offset:5px}
#galleryNavigation #breadcrumbs button{padding:0;border:0;border-radius:2px;background:transparent;color:#626d7b;font:inherit;text-align:left;overflow-wrap:anywhere}
#galleryNavigation #breadcrumbs button:hover{text-decoration:underline;color:#142d4e}
#galleryNavigation .breadcrumb-current{font-weight:700;color:#142d4e;overflow-wrap:anywhere}
#galleryNavigation .breadcrumb-separator{color:#9aa3ae;margin:0 3px}
#galleryNavigation #backToMainGallery{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;margin-bottom:13px;border:1px solid #d1dce9;border-radius:7px;background:#f0f4f9;color:#142d4e;font-size:12px;font-weight:600}
#galleryNavigation #backToMainGallery:hover{background:#e2ebf6;border-color:#a9bcd3}
#galleryNavigation .navigation-actions{display:flex;align-items:flex-end;gap:12px;flex-shrink:0}
#galleryNavigation .viewer-access{font-size:12px;min-height:36px;display:inline-flex;align-items:center;justify-content:center}
#galleryNavigation .gallery-jump-control{display:grid;gap:5px;font-size:11px;color:#667384}
#galleryNavigation #galleryJump{max-width:220px;min-width:130px;width:100%;padding:9px 30px 9px 10px;font-size:12px;min-height:36px}
#galleryNavigation #gallerySectionsLabel{font-size:11px;font-weight:600;color:#737e8c;line-height:1.3;margin:16px 0 8px}
#galleryNavigation #siblingNavigation{display:flex;gap:8px;padding:0 0 4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c6d0dd transparent}
#galleryNavigation #siblingNavigation button{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;max-width:280px;white-space:normal;text-align:left;min-height:42px;padding:10px 15px;border:1px solid #dde3eb;border-radius:8px;background:#f7f8fa;color:#455365;font:500 13px/1.4 Arial,sans-serif;overflow-wrap:anywhere}
#galleryNavigation #siblingNavigation button:hover{border-color:#a4b7ce;background:#edf2f8}
#galleryNavigation #siblingNavigation button.active{background:#142d4e;border-color:#142d4e;color:#fff;font-weight:600}
#galleryNavigation .section-icon{font-size:17px;line-height:1;flex-shrink:0}
#galleryNavigation button:focus-visible,#galleryNavigation a:focus-visible,#galleryNavigation select:focus-visible{outline:2px solid #406b9b;outline-offset:3px}
#subgalleryHeading{font:600 16px/1.4 Arial,sans-serif;margin:0 0 14px;color:inherit}
#subgallerySection .subgallery-card small{color:#6b7480;line-height:1.5}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation{color:#f0f0f0}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation .breadcrumb-current{color:#e2ebf8}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation #breadcrumbs button,:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation .navigation-location-label,:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation #gallerySectionsLabel,:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation .gallery-jump-control{color:#b6c2d2}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation #backToMainGallery,:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation #siblingNavigation button{color:#dce8f7;background:#2d3744;border-color:#4a586b}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation #siblingNavigation button.active{background:#dce8f7;border-color:#dce8f7;color:#142d4e}
@media(max-width:650px){
 #galleryNavigation{padding:12px 0 10px}
 #galleryNavigation .navigation-top{align-items:flex-start;gap:10px}
 #galleryNavigation #breadcrumbs{font-size:14px;gap:4px}
 #galleryNavigation .navigation-actions{flex-direction:column;align-items:flex-end;gap:8px;max-width:46%}
 #galleryNavigation .gallery-jump-control{width:100%}
 #galleryNavigation #galleryJump{min-width:0;max-width:100%;font-size:12px}
 #galleryNavigation #backToMainGallery{font-size:11px;padding:7px 9px;margin-bottom:10px}
 #galleryNavigation .viewer-access{font-size:11px;padding:8px}
 #galleryNavigation #gallerySectionsLabel{margin-top:12px}
 #galleryNavigation #siblingNavigation button{font-size:12px;padding:10px 12px;max-width:220px}
}
@media(max-height:550px) and (max-width:900px){#galleryNavigation{position:relative}}
/* Grouped gallery settings, title image focus and storage management. */
#form.settings-dialog{width:min(820px,94vw);padding:26px;display:flex;flex-direction:column;overflow:hidden;max-height:92dvh}
#form.settings-dialog #fields{min-height:0;overflow-y:auto;padding:0 5px 8px}
#form.settings-dialog>.actions{margin-top:0;padding-top:18px;border-top:1px solid #dce1e9;flex-shrink:0}
.settings-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0 0 17px;margin-bottom:20px;border-bottom:1px solid #dce1e9}
.settings-tabs button{font-size:12px;padding:10px 12px;background:#fff;color:#142d4e;border-color:#d9e1ec}
.settings-tabs button[aria-selected=true]{background:#142d4e;color:#fff;border-color:#142d4e}
.settings-panel[hidden]{display:none!important}.settings-panel-title{font:600 17px Arial;margin:0 0 20px}.settings-panel .field{margin:17px 0}
.header-focus-editor{padding:18px;background:#fff;border:1px solid #dce1e9;border-radius:9px}.header-focus-editor h3{font-size:15px;margin:0 0 10px}.header-focus-editor p{font-size:12px;line-height:1.5}
.focus-canvas{position:relative;display:block;width:100%;padding:0;border:0;border-radius:6px;overflow:hidden;cursor:crosshair;touch-action:manipulation;line-height:0}.focus-canvas img{width:100%;height:auto;display:block;max-height:none;pointer-events:none}.focus-marker{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;border:2px solid white;border-radius:50%;background:#142d4ecc;color:#fff;font:24px/1 Arial;box-shadow:0 0 0 2px #142d4e,0 2px 10px #0009;pointer-events:none}
.focus-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:17px 0}.focus-controls label{font-size:12px}.focus-controls input{display:block;width:100%;padding:0;margin-top:10px}.focus-previews{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:16px 0}.focus-preview span{display:block;font-size:11px;color:#777;margin-bottom:6px}.focus-preview img{display:block;width:100%;object-fit:cover;border-radius:5px;background:#eee}.focus-preview.desktop img{aspect-ratio:16/6}.focus-preview.phone img{aspect-ratio:9/16;max-height:210px}.header-focus-editor>button:not(.focus-canvas){font-size:12px;padding:8px 10px}
#storageNavigation{padding:15px;text-align:left;background:none;border:0;font-weight:700;color:#333}.storage-dialog{width:min(800px,94vw);min-width:0}.storage-summary{font-weight:600;color:#142d4e}.storage-note{font-size:12px;line-height:1.6}.storage-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.storage-actions button{font-size:12px}.storage-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #dfe4ec;padding:16px 0;cursor:pointer}.storage-row input{flex-shrink:0}.storage-row-detail{flex:1;min-width:0;overflow-wrap:anywhere}.storage-row small{display:block;color:#737e8c;font-size:11px;line-height:1.6;margin-top:5px}.storage-row-size{text-align:right;flex-shrink:0;font-size:13px}.storage-backup{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:13px;line-height:1.6}.storage-dialog .danger,.workflow-dialog .danger{color:#fff;background:#953d3d;border-color:#953d3d}.workflow-dialog input[placeholder="ENDGÜLTIG LÖSCHEN"]{width:100%;margin-bottom:14px}
.comment-hidden .comment-body{opacity:.6}.comment-moderate{border:0;padding:0;background:none;color:#526984;font:11px Arial;text-decoration:underline}.comment-meta{flex-wrap:wrap}.comment-moderate:hover{color:#142d4e}
@media(max-width:650px){#form.settings-dialog{padding:20px 16px;max-height:94dvh}.settings-tabs{gap:6px;margin-bottom:16px}.settings-tabs button{font-size:11px;padding:9px}.focus-controls{grid-template-columns:1fr}.focus-previews{gap:12px}.storage-row{gap:8px}.storage-row-detail strong{font-size:13px}.storage-row-size{font-size:12px}.storage-dialog{padding:22px 17px}}
/* Delivery galleries use photographic album covers instead of folder cards. */
:is(.customer-view,.preview-mode).delivery-view #subgallerySection{margin:22px 0 54px}
:is(.customer-view,.preview-mode).delivery-view #subgalleryHeading{font:500 11px Arial,sans-serif;text-transform:uppercase;letter-spacing:2px;color:#89909a;margin:0 0 26px;text-align:center}
:is(.customer-view,.preview-mode).delivery-view #subgalleries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin:0}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card{display:flex;flex-direction:column;flex-wrap:nowrap;gap:16px;padding:0 0 12px;border:0;border-radius:0;background:transparent;text-align:center;min-width:0;transition:transform .25s}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card>span:last-child{order:0;padding:0;font-family:var(--text-font,Georgia);font-size:clamp(19px,2vw,26px);font-weight:500;line-height:1.3;letter-spacing:.02em;overflow-wrap:anywhere}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card img{order:1;display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;border-radius:10px;box-shadow:0 8px 24px #0000000b;transition:filter .25s,box-shadow .25s}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card:not(:has(img))::after{content:'Galerie öffnen →';order:1;display:grid;place-items:center;min-height:160px;width:100%;aspect-ratio:1.65;border-radius:10px;background:#f0f2f5;color:#657285;font:13px Arial,sans-serif}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card small{display:none}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card:hover{transform:translateY(-3px)}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card:hover img{filter:brightness(.95);box-shadow:0 15px 30px #0002}
:is(.customer-view,.preview-mode).delivery-view .subgallery-card:focus-visible{outline:2px solid #406b9b;outline-offset:7px;border-radius:10px}
@media(max-width:1000px){:is(.customer-view,.preview-mode).delivery-view #subgalleries{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:600px){:is(.customer-view,.preview-mode).delivery-view #subgalleries{grid-template-columns:1fr;gap:30px}:is(.customer-view,.preview-mode).delivery-view .subgallery-card{gap:12px}:is(.customer-view,.preview-mode).delivery-view #subgallerySection{margin-bottom:35px}}
@media(prefers-reduced-motion:reduce){:is(.customer-view,.preview-mode).delivery-view .subgallery-card,:is(.customer-view,.preview-mode).delivery-view .subgallery-card img{transition:none}}
#galleryNavSentinel{height:0;pointer-events:none}.scroll-header-actions{display:none}
#galleryNavigation.navigation-compact{padding:12px 0;margin-bottom:24px;background:#fffffff2;box-shadow:0 8px 20px #00000008;z-index:4}
#galleryNavigation.navigation-compact .navigation-location-label,#galleryNavigation.navigation-compact #backToMainGallery,#galleryNavigation.navigation-compact .navigation-actions,#galleryNavigation.navigation-compact #gallerySections{display:none}
#galleryNavigation.navigation-compact .navigation-top{align-items:center}
#galleryNavigation.navigation-compact #breadcrumbs{font-family:var(--text-font,Georgia);font-size:15px;gap:7px}
#galleryNavigation.navigation-compact .scroll-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.scroll-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#142d4e;color:#fff;text-decoration:none;padding:10px 14px;border-radius:8px;font:600 12px Arial,sans-serif;white-space:nowrap;min-height:40px}
.scroll-gallery-toggle{font-size:12px;padding:10px 12px;min-height:40px;background:#f1f4f8;border-color:#dce4ef;color:#142d4e}
#galleryNavigation.navigation-compact.navigation-expanded #gallerySections{display:block}
#galleryNavigation.navigation-compact.navigation-expanded .gallery-jump-control{display:grid}
#galleryNavigation.navigation-compact.navigation-expanded .navigation-actions:has(.gallery-jump-control:not(.hidden)){display:flex}
:is(.customer-view.dark,.preview-mode.dark) #galleryNavigation.navigation-compact{background:#252525f2}
@media(max-width:650px){#galleryNavigation.navigation-compact .navigation-top{gap:7px}#galleryNavigation.navigation-compact #breadcrumbs{font-size:12px;gap:3px}#galleryNavigation.navigation-compact #breadcrumbs button{max-width:90px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#galleryNavigation.navigation-compact .scroll-download{padding:9px}.scroll-download span{display:none}.scroll-gallery-toggle{font-size:11px;padding:9px}.scroll-header-actions{gap:5px}}
@media(max-height:550px) and (max-width:900px){#galleryNavigation.navigation-compact{position:sticky}}
.dialog.storage-dialog{width:min(800px,94vw)}
#form.settings-dialog .settings-tabs{position:sticky;top:0;z-index:2;background:#f4f4f4;padding-top:3px}
.focus-preview.phone img{width:100%;max-width:118px;height:auto;max-height:none;aspect-ratio:9/16}
#galleryNavigation.navigation-compact.navigation-expanded .navigation-top{flex-wrap:wrap}
#galleryNavigation.navigation-compact.navigation-expanded .navigation-actions{order:3;flex-basis:100%;align-items:flex-start}
.preview-mode #exitPreview{top:auto;bottom:18px;right:18px;max-width:calc(100vw - 36px)}
.header-focus-editor .focus-canvas{width:fit-content;max-width:100%;margin:0 auto}
.header-focus-editor .focus-canvas img{width:auto;max-width:100%;height:auto;max-height:300px}
.gallery.preview-mode #exitPreview{top:auto;bottom:18px;height:auto;right:18px;max-width:calc(100vw - 36px)}
@media(min-width:601px){
 :is(.customer-view,.preview-mode).delivery-view #subgalleries:has(>.subgallery-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(.customer-view,.preview-mode).delivery-view #subgalleries:has(>.subgallery-card:only-child){grid-template-columns:minmax(0,680px);justify-content:center}
}
