/* Scoped to the customer gallery: presentation fonts and admin controls stay independent. */
body.customer-interface{--control-font:Arial,Helvetica,sans-serif;--control-radius:10px;--control-border:#d7dfe8;--control-muted:#5d6c7e;--control-ink:#18314f}
.customer-interface #galleryNavigation.navigation-unified{padding:14px 20px;border:1px solid #e5eaf0;border-radius:12px;box-shadow:0 4px 20px #142d4e06}
.customer-interface #galleryNavigation .navigation-top{gap:20px;align-items:center;flex-wrap:wrap}
.customer-interface #galleryNavigation .scroll-header-actions{gap:8px;flex-wrap:wrap;align-items:center}
.customer-interface #galleryNavigation .scroll-header-actions :is(button,a,summary){font:500 13px/1.4 var(--control-font);min-height:44px;border-radius:var(--control-radius);gap:8px;box-sizing:border-box}
.customer-interface #galleryNavigation .scroll-download{font-weight:600;padding:11px 15px}
.customer-interface :is(.comfort-filters,.image-actions,.customer-more-panel) svg{width:20px;height:20px;flex-shrink:0}
.customer-interface :is(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.customer-interface :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid #6c9ed1;outline-offset:3px}
.customer-interface :is(button,a,summary){transition:background-color .15s,border-color .15s,box-shadow .15s}
.customer-interface button:disabled{cursor:default}
.customer-interface .customer-more{position:relative;flex:none}
.customer-interface .customer-more>summary{list-style:none;display:flex;align-items:center;padding:10px 12px;border:1px solid var(--control-border);background:#fff;color:var(--control-ink);cursor:pointer}
.customer-interface .customer-more>summary::-webkit-details-marker{display:none}
.customer-interface .customer-more[open]>summary{background:#edf2f8;border-color:#a5b9ce}
.customer-interface .customer-more-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:20;width:min(280px,calc(100vw - 48px));padding:8px;border:1px solid var(--control-border);border-radius:12px;background:#fff;box-shadow:0 12px 36px #142d4e22;display:grid;gap:4px}
.customer-interface #galleryNavigation .customer-more-panel :is(button,a){width:100%;display:flex;justify-content:flex-start;text-align:left;border:0;background:transparent;color:var(--control-ink);padding:12px}
.customer-interface #galleryNavigation .customer-more-panel .navigation-tool-label{display:inline!important}
.customer-interface .customer-comfort{padding:0;margin:24px 0;font:14px/1.5 var(--control-font)}
.customer-interface .comfort-filters{display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-interface .comfort-view-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:12px;background:#f1f4f8;border:1px solid #e5eaf0}
.customer-interface .comfort-filters .comfort-view-tabs button{font:500 13px/1.4 var(--control-font);padding:10px 14px;min-height:44px;border:1px solid transparent;background:transparent;color:#526277;border-radius:8px;margin:0}
.customer-interface .comfort-view-tabs button[aria-pressed=true]{background:#fff!important;color:#163453!important;border-color:#dbe3ec!important;box-shadow:0 1px 4px #1c355610;font-weight:600}
.customer-interface .comfort-save-actions{display:flex;gap:8px;flex-wrap:wrap}
.customer-interface .comfort-save-actions button{font:500 13px/1.4 var(--control-font);min-height:44px;padding:11px 15px;border-radius:10px;margin:0}
.customer-interface .comfort-save-actions .primary:disabled{background:#edf1f6;color:#758294;border-color:#dce3eb;opacity:1}
.customer-interface .comfort-status{font-size:13px;color:var(--control-muted);margin:10px 0 0}
.customer-interface #grid .image-actions{gap:8px;bottom:12px;right:12px}
.customer-interface #grid .image-actions .image-action,.customer-interface #grid .image-download,.customer-interface #grid .media-filename{min-height:44px;height:44px;border-radius:10px;box-sizing:border-box;box-shadow:0 2px 8px #142d4e17;border:1px solid #dce2ea}
.customer-interface #grid .image-actions .image-action:not(.photo-select){min-width:44px;width:auto;padding:10px!important}
.customer-interface #grid .image-actions .photo-select{padding:10px 12px!important;min-width:112px}
.customer-interface #grid .image-actions .photo-select span{font-size:13px}
.customer-interface #grid .image-action.active{background:var(--accent,#142d4e);border-color:var(--accent,#142d4e);color:#fff}
.customer-interface .customer-empty{display:flex;align-items:center;flex-direction:column;gap:12px;padding:40px 24px;text-align:center;background:#f7f9fc;border:1px dashed #d4deea;border-radius:12px;color:var(--control-muted);font:14px/1.6 var(--control-font);grid-column:1/-1}
.customer-interface .customer-empty strong{font-size:16px;color:var(--control-ink)}
.customer-interface #workflowDialog .workflow-dialog{padding:28px;border-radius:16px;font:14px/1.6 var(--control-font);box-shadow:0 24px 80px #10213433}
.customer-interface #workflowDialog .workflow-dialog h2{font:600 22px/1.3 var(--control-font);margin:0 0 20px;letter-spacing:-.3px}
.customer-interface #workflowDialog .workflow-dialog>p{margin:12px 0 20px}
.customer-interface #workflowDialog .workflow-dialog>label{display:grid;gap:8px;margin-bottom:16px;font-weight:600}
.customer-interface #workflowDialog .workflow-dialog :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;width:100%;min-height:46px;border-radius:10px;padding:11px 14px;border:1px solid #ced8e4;font:16px/1.4 var(--control-font)}
.customer-interface #workflowDialog .workflow-dialog>button{margin:4px 8px 4px 0;border-radius:10px;font:500 14px/1.4 var(--control-font);min-height:44px;padding:11px 16px}
.customer-interface #workflowDialog .comfort-error:empty{display:none}
.customer-interface .saved-selection-row{padding:16px;border-radius:10px!important;gap:5px}
.customer-interface .saved-selection-row strong{font-size:15px}
.customer-interface #gallery.selection-explorer #galleryNavigation :is(#breadcrumbs,.breadcrumb-current,#breadcrumbs button){font:500 14px/1.5 var(--control-font)!important}
.customer-interface #gallery.selection-explorer #galleryNavigation .breadcrumb-current{font-weight:600!important}
.customer-interface #gallery.dark .comfort-view-tabs{background:#25313e;border-color:#465468}
.customer-interface #gallery.dark .comfort-view-tabs button{color:#d0dae7;background:transparent}
.customer-interface #gallery.dark .comfort-view-tabs button[aria-pressed=true]{background:#41546a!important;color:#fff!important;border-color:#637a92!important}
.customer-interface #gallery.dark .customer-more>summary,.customer-interface #gallery.dark .customer-more-panel{background:#25313e;color:#edf2f8;border-color:#536579}
.customer-interface #gallery.dark .customer-more-panel :is(button,a){color:#edf2f8}
@media(hover:hover){.customer-interface .customer-more-panel :is(button,a):hover{background:#eef3f9!important}.customer-interface .comfort-view-tabs button:hover:not([aria-pressed=true]){background:#e5ebf3}.customer-interface .saved-selection-row:hover{background:#f0f5fb;border-color:#a5b9ce}}
@media(max-width:760px){
 .customer-interface #galleryNavigation.navigation-unified{padding:12px;border-radius:10px}
 .customer-interface #galleryNavigation .navigation-top{gap:10px;flex-wrap:wrap}
 .customer-interface #galleryNavigation .navigation-location{flex-basis:100%;width:100%}
 .customer-interface #galleryNavigation .scroll-header-actions{width:100%;justify-content:flex-start;gap:6px;flex-wrap:wrap}
 .customer-interface #galleryNavigation .navigation-tool-label{display:inline}
 .customer-interface #galleryNavigation .scroll-header-actions :is(button,a,summary){font-size:12px;padding:10px;min-height:44px}
 .customer-interface #galleryNavigation .scroll-header-actions>.navigation-tool:not(#atelierQuickLink) svg{display:none}
 .customer-interface .comfort-filters{align-items:stretch;gap:12px}
 .customer-interface .comfort-view-tabs{width:100%;box-sizing:border-box;gap:2px}
 .customer-interface .comfort-filters .comfort-view-tabs button{flex:1;min-width:0;padding:9px 6px;font-size:12px;white-space:normal}
 .customer-interface .comfort-save-actions{width:100%}
 .customer-interface .comfort-save-actions button{flex:1;padding:11px 9px;white-space:nowrap}
 .customer-interface .comfort-filters>button:last-child:not([aria-pressed]){flex-basis:auto}
 .customer-interface #workflowDialog .workflow-dialog{padding:22px}
 .customer-interface #workflowDialog .workflow-dialog h2{font-size:20px}
 .customer-interface #grid .image-actions{right:10px;bottom:10px;gap:6px}
}
@media(prefers-reduced-motion:reduce){.customer-interface *{transition:none!important;scroll-behavior:auto!important}}
.customer-interface #gallery.selection-explorer .subgallery-card{flex-direction:row;min-height:76px;height:auto;gap:14px;padding:16px;text-align:left}
.customer-interface #gallery.selection-explorer .subgallery-card>span:not(.folder){padding:0;margin:0;flex:1}
.customer-interface #grid .image-name-overlay{min-height:44px;height:44px;display:flex;align-items:center;box-sizing:border-box;padding:0 12px;border:1px solid #dce2ea;border-radius:10px;font:12px/1.4 var(--control-font)}
@media(max-width:760px){.customer-interface #gallery.selection-explorer .subgallery-card{min-height:68px;padding:14px 16px}}
@media(max-width:760px){
 .customer-interface #galleryNavigation.navigation-unified .navigation-tool .navigation-tool-label{display:inline!important}
 .customer-interface #galleryNavigation.navigation-unified .scroll-header-actions{justify-content:flex-start!important}
 .customer-interface #galleryNavigation.navigation-unified .scroll-header-actions>.navigation-tool{min-width:0;width:auto}
}
.customer-interface #grid .image-action[data-action=heart].active{background:#fff1f3;color:#ad264c;border-color:#edbfcc}
.customer-interface .image-action[data-action=heart].active svg{fill:currentColor;stroke:currentColor}
.customer-interface #lightbox .image-action[data-action=heart].active{background:#fff1f3;color:#ad264c;border-color:#edbfcc}
.customer-interface #workflowDialog .comfort-download-field{font-weight:500;gap:8px;margin-bottom:20px}
.customer-interface #workflowDialog .comfort-download-hint{font-size:13px;color:#5d6c7e;background:#f1f5fa;padding:12px 14px;border-radius:10px}
.customer-interface #gallery.dark .image-action[data-action=heart].active{background:#572c3d;color:#ffd4e0;border-color:#91677a}
.customer-interface #gallery.dark #galleryNavigation{border-color:#465468}
.customer-interface #gallery.dark .comfort-status{color:#c5d0df}
.customer-interface #gallery.dark .comfort-save-actions .primary:disabled{background:#303d4f;color:#a9b6c8;border-color:#536579}
.customer-interface #gallery.selection-explorer #galleryNavigation #breadcrumbs .breadcrumb-current{white-space:normal!important;overflow-wrap:anywhere}

.customer-interface #galleryNavigation .customer-more-panel .customer-mobile-account{display:none}
@media(max-width:760px){.customer-interface #galleryNavigation .scroll-header-actions>.navigation-access[aria-label="Mein Konto und Einstellungen"]{display:none!important}.customer-interface #galleryNavigation .customer-more-panel .customer-mobile-account{display:flex}.customer-interface #galleryNavigation .scroll-header-actions>.customer-more>summary{padding-left:9px;padding-right:9px}}
@media(max-width:760px){.customer-interface #galleryNavigation .scroll-header-actions{position:relative}.customer-interface #galleryNavigation .customer-more{position:static}.customer-interface #galleryNavigation .customer-more-panel{left:0;right:0;width:auto;max-width:none;top:calc(100% + 10px)}}
