
/* ZT Wizard v0.5.0 - calm photographer workflow */
body.spr-root .szt-primary-nav{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 0 26px;background:#191714;border:1px solid #473c31;border-radius:10px;padding:7px}
body.spr-root .szt-primary-nav a{display:inline-flex;align-items:center;border-radius:7px;padding:11px 16px;color:#d5c7b7;font-weight:500;font-size:13px}
body.spr-root .szt-primary-nav a.active{background:#d6b786;color:#1c1713;font-weight:600}
body.spr-root .szt-primary-nav a:hover:not(.active){background:#383128;color:#fff}
body.spr-root .spr-new-gallery-accordion{display:none!important}
body.spr-root .szt-wizard-heading{margin:0 0 20px!important}
body.spr-root .szt-wizard-heading h1{margin:3px 0 10px;font:500 clamp(29px,4vw,42px)/1.17 Georgia,serif!important}
body.spr-root .szt-wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:8px;margin-bottom:23px}
body.spr-root .szt-wizard-steps>a,body.spr-root .szt-wizard-steps>span{display:flex;align-items:center;min-width:0;gap:9px;min-height:57px;padding:10px;border:1px solid #494038;border-radius:9px;background:#221f1a;color:#c7b9a8;font-size:12px;text-decoration:none}
body.spr-root .szt-wizard-steps b{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#3d3329;color:#efddc5;font-size:13px;font-weight:600}
body.spr-root .szt-wizard-steps .current{background:#4b3d2e;border-color:#cbaa7f;color:#fff}
body.spr-root .szt-wizard-steps .current b{background:#e3c299;color:#2c2117}
body.spr-root .szt-wizard-steps .locked{opacity:.5;cursor:not-allowed}
body.spr-root .szt-step-panel{padding:27px!important;margin-top:0;max-width:100%;background:#211e19!important}
body.spr-root .szt-step-panel>h2{font:500 26px/1.3 Georgia,serif!important;color:#f3e6d5}
body.spr-root .szt-step-panel>h3{font:500 20px/1.3 Georgia,serif;margin:27px 0 12px}
body.spr-root .szt-step-panel>.spr-hint{margin-top:-1px;margin-bottom:24px}
body.spr-root .szt-form{gap:19px 22px!important}
body.spr-root .szt-form label,body.spr-root .szt-step-panel .spr-form>label{gap:6px;font-size:13px;font-weight:500;color:#e0d4c6}
body.spr-root .szt-step-panel input[type=checkbox]{accent-color:#d6b786;width:19px;height:19px;min-height:0;flex-shrink:0}
body.spr-root .szt-inline-check{display:flex!important;flex-direction:row!important;gap:9px!important;align-items:center}
body.spr-root .szt-layout-preview{border:1px solid #4f4335;border-radius:9px;padding:17px;background:#181612}
body.spr-root .szt-preview-title{font-size:13px;margin-bottom:12px;color:#e4d3bd}
body.spr-root .szt-layout-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-height:240px;overflow:hidden}
body.spr-root .szt-layout-tiles span{display:block;aspect-ratio:3/4;border-radius:4px;background:linear-gradient(130deg,#4b4540,#979089 53%,#554c45);position:relative}
body.spr-root .szt-layout-tiles span:nth-child(2n){background:linear-gradient(160deg,#363f47,#a5a9ab 47%,#595048)}
body.spr-root .szt-layout-tiles span::before{content:'';position:absolute;inset:16% 29%;border-radius:42% 42% 22% 22%;background:#ddd2c2a8}
body.spr-root .szt-layout-tiles[data-layout=masonry]{grid-template-columns:repeat(4,1fr);align-items:start}
body.spr-root .szt-layout-tiles[data-layout=masonry] span:nth-child(2n){aspect-ratio:1.3}
body.spr-root .szt-layout-tiles[data-layout=large]{grid-template-columns:repeat(2,1fr)}
body.spr-root .szt-layout-tiles[data-layout=large] span{aspect-ratio:3/2}
body.spr-root .szt-layout-tiles[data-layout=compact]{grid-template-columns:repeat(7,1fr)}
body.spr-root .szt-layout-tiles[data-layout=compact] span{aspect-ratio:1}
body.spr-root .szt-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px}
body.spr-root .szt-photo-settings{margin:20px 0;border-radius:10px;border:1px solid #473d33;background:#1b1814;padding:18px}
body.spr-root .szt-photo-settings .spr-form{gap:15px}
body.spr-root .szt-upload{border:1px dashed #967552;background:#29241e;border-radius:9px;padding:16px;align-items:end}
body.spr-root .szt-photo-summary{margin:22px 0 10px;display:flex;align-items:center;gap:12px;font-size:13px;color:#b6a89a}
body.spr-root .szt-photo-summary strong{font-size:31px;color:#ead4b6}
body.spr-root .szt-photo-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.spr-root .szt-photo-file{background:#2b261f;border:1px solid #554638;border-radius:6px;padding:11px;min-width:0;display:flex;gap:7px;flex-direction:column}
body.spr-root .szt-photo-file span{font-size:22px;color:#d3aa7c}
body.spr-root .szt-photo-file code{overflow-wrap:anywhere;font-size:12px;color:#f2e4d6}
body.spr-root .szt-photo-file small{color:#c4a487}
body.spr-root .szt-folders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:13px}
body.spr-root .szt-folders-grid label{display:flex;flex-direction:column;gap:7px;min-width:0}
body.spr-root .szt-folders-grid code{color:#dbcbb9;font-size:11px;overflow-wrap:anywhere}
body.spr-root .szt-watermark-wizard{display:grid;grid-template-columns:minmax(280px,0.8fr) minmax(0,1.4fr);gap:24px;align-items:start}
body.spr-root .szt-watermark-controls{display:flex;flex-direction:column;gap:15px;min-width:0;background:#1a1713;border:1px solid #4b4034;border-radius:9px;padding:20px}
body.spr-root .szt-watermark-controls label{font-size:12px;display:flex;flex-direction:column;gap:7px;min-width:0}
body.spr-root .szt-watermark-controls input,body.spr-root .szt-watermark-controls select{width:100%}
body.spr-root .szt-watermark-controls input[type=range]{min-height:27px;height:27px;padding:0;cursor:ew-resize}
body.spr-root .szt-watermark-controls output{font-size:12px;color:#dac09f}
body.spr-root .szt-watermark-preview{margin:0!important;min-width:0}
body.spr-root .szt-watermark-preview .spr-section-head{align-items:start;gap:9px;flex-wrap:wrap}
body.spr-root .szt-watermark-preview .spr-wm-preview-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
body.spr-root .szt-watermark-preview .spr-wm-preview-image img{height:360px!important;max-width:100%}
body.spr-root .szt-watermark-wizard>.szt-actions{grid-column:1/-1}
body.spr-root .szt-print-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}
body.spr-root .szt-price-option{display:flex!important;align-items:start!important;flex-direction:column!important;gap:10px!important;padding:15px;border:1px solid #5b4a37;background:#28221b;border-radius:9px;min-width:0}
body.spr-root .szt-price-option span{font:500 20px/1.2 Georgia,serif;color:#e8c8a4}
body.spr-root .szt-price-option input[type=number]{width:100%;min-height:35px}
body.spr-root .szt-price-option small{font-size:10px;color:#bfae9d}
body.spr-root .szt-share-line{display:flex;align-items:flex-end;gap:10px;background:#1b1815;border:1px solid #554637;padding:16px;border-radius:8px;margin-bottom:21px}
body.spr-root .szt-share-line label{flex:1;min-width:0;display:flex;flex-direction:column}
body.spr-root .szt-share-line input{width:100%;min-width:0;background:#141210;color:#e6d4bd;border:1px solid #68533c;border-radius:5px;padding:10px}
body.spr-root .szt-share-line button{white-space:nowrap}
body.spr-root .szt-mail-template{border-top:1px solid #4c4034;margin-top:17px;padding:15px 0}
body.spr-root .szt-mail-template h3{font:500 19px Georgia,serif;color:#e8d7bf;margin:0 0 12px}
body.spr-root .szt-mail-template label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:12px}
body.spr-root .szt-mail-template textarea{width:100%;resize:vertical;background:#141210;color:#eee;border:1px solid #68533c;border-radius:5px;padding:12px;min-height:110px}
body.spr-root .szt-logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:14px}
body.spr-root .szt-logo-grid figure{margin:0;border-radius:8px;background:#171410;border:1px solid #473c34;padding:10px;min-width:0}
body.spr-root .szt-logo-grid img{display:block;max-height:80px;object-fit:contain;max-width:100%;margin:auto}
body.spr-root .szt-logo-grid figcaption{font-size:11px;text-align:center;color:#c7b6a2}
body.spr-root .szt-logo-upload{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
body.spr-root .szt-logo-upload label{flex:1}
body.spr-root.spr-theme-light .szt-wizard-steps>a,body.spr-root.spr-theme-light .szt-primary-nav,body.spr-root.spr-theme-light .szt-step-panel,body.spr-root.spr-theme-light .szt-watermark-controls{background:#fff!important;border-color:#d9d9d9!important}
body.spr-root.spr-theme-light .szt-primary-nav a,body.spr-root.spr-theme-light .szt-wizard-steps>a{color:#444!important}
body.spr-root.spr-theme-light .szt-wizard-steps .current{background:#e5cbac!important;color:#23211d!important}
@media(max-width:1100px){body.spr-root .szt-wizard-steps{gap:5px}body.spr-root .szt-wizard-steps>a{font-size:11px;padding:7px}body.spr-root .szt-print-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){body.spr-root .szt-wizard-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}body.spr-root .szt-wizard-steps>a,body.spr-root .szt-wizard-steps>span{min-height:59px;justify-content:center;flex-direction:column;text-align:center;font-size:10px;padding:8px 3px;gap:4px}body.spr-root .szt-wizard-steps b{flex:0 0 26px;width:26px;height:26px}body.spr-root .szt-step-panel{padding:17px!important}body.spr-root .szt-watermark-wizard{grid-template-columns:1fr}body.spr-root .szt-watermark-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.spr-root .szt-watermark-preview .spr-wm-preview-image img{height:240px!important}body.spr-root .szt-photo-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.spr-root .szt-print-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.spr-root .szt-primary-nav a{padding:9px 11px;font-size:11px}body.spr-root .szt-wizard-steps>a>span{display:none}body.spr-root .szt-wizard-steps>a,body.spr-root .szt-wizard-steps>span{min-height:45px}body.spr-root .szt-watermark-controls{display:flex}body.spr-root .szt-watermark-preview .spr-wm-preview-pair{grid-template-columns:1fr}body.spr-root .szt-watermark-preview .spr-wm-preview-image img{height:280px!important}body.spr-root .szt-layout-tiles[data-layout=compact]{grid-template-columns:repeat(5,1fr)}body.spr-root .szt-print-grid{grid-template-columns:1fr 1fr}body.spr-root .szt-photo-file-grid{grid-template-columns:1fr}body.spr-root .szt-share-line{flex-direction:column;align-items:stretch}}


/* Photographer export controls and safe copy */
body.spr-root .szt-export-panel{border:1px solid #564635;border-radius:9px;padding:14px;margin:16px 0;background:#191612}
body.spr-root .szt-export-panel h3{margin:0 0 7px;font:500 18px/1.3 Georgia,serif;color:#f1deca}
body.spr-root .szt-filenames{box-sizing:border-box;width:100%;min-height:115px;max-height:230px;resize:vertical;background:#11100e;color:#f4e9df;border:1px solid #635038;border-radius:6px;padding:12px;white-space:pre;overflow:auto;font:12px/1.75 Consolas,monospace}
body.spr-root .szt-export-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
body.spr-root .szt-export-actions>*{padding:7px 10px;min-height:32px;font-size:12px}
body.spr-root.spr-theme-light .szt-export-panel{background:#fff;border-color:#e1d7ce}
body.spr-root.spr-theme-light .szt-filenames{background:#f9f9f9;color:#222}


/* Optional client gallery folders */
body.spr-root .szt-client-folder-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:5px 0 17px;padding:7px;border:1px solid #4b4034;border-radius:8px;background:#211c17}
body.spr-root .szt-client-folder-tabs button{padding:8px 13px;background:#302820;border:1px solid #63503c;border-radius:5px;color:#e2d2be;font-size:12px}
body.spr-root .szt-client-folder-tabs button.active{background:#d6b786;color:#1f1813;border-color:#d6b786;font-weight:600}
body.spr-root.spr-theme-light .szt-client-folder-tabs{background:#fff;border-color:#d7d4ce}
body.spr-root.spr-theme-light .szt-client-folder-tabs button{background:#f7f3ef;color:#4f4337}
body.spr-root.spr-theme-light .szt-client-folder-tabs button.active{background:#dcc5a9;color:#231c15}


/* 0.5.1 - one large live watermark preview, compact stats and enlarged filename dialog. */
body.spr-root .szt-watermark-wizard [data-szt-sample-word][hidden]{display:none!important}
body.spr-root .szt-watermark-preview .spr-wm-preview-pair{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:none!important}
body.spr-root .szt-watermark-preview .spr-wm-preview-image{width:100%;max-width:100%;margin:0!important;min-width:0}
body.spr-root .szt-watermark-preview .spr-wm-preview-image img{display:block;width:100%!important;max-width:100%!important;height:auto!important;min-height:310px!important;max-height:580px!important;object-fit:contain!important}
body.spr-root .szt-watermark-controls [name=wm_font]{font-size:14px}
body.spr-root .szt-export-panel{padding:18px!important}
body.spr-root .szt-export-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.spr-root .szt-export-heading h3{margin:0 0 5px!important;font-size:19px}
body.spr-root .szt-file-dialog{width:min(880px,94vw)!important;max-width:94vw!important;max-height:92vh!important;box-sizing:border-box!important;border:1px solid #75604b!important;border-radius:13px!important;background:#1a1816!important;color:#f1e8dd!important;padding:24px!important;box-shadow:0 30px 100px #000b}
body.spr-root .szt-file-dialog::backdrop{background:#050403c9}
body.spr-root .szt-file-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 16px}
body.spr-root .szt-file-dialog-header h2{margin:0 0 5px!important;font-size:26px!important;font-weight:400!important;color:#f7eddf!important}
body.spr-root .szt-file-dialog-header p{margin:0;font-size:12px;color:#b9ab9a}
body.spr-root .szt-file-dialog .szt-filenames{display:block;width:100%!important;box-sizing:border-box!important;min-height:310px!important;height:min(55vh,560px)!important;max-height:60vh!important;resize:vertical;background:#0f1010!important;color:#e6e5e2!important;border-color:#72604d!important;font:14px/1.85 Consolas,"Liberation Mono",monospace!important;letter-spacing:.015em;white-space:pre;overflow:auto;padding:18px!important}
body.spr-root .szt-file-dialog .szt-export-actions{margin-top:16px;gap:9px}
body.spr-root .szt-file-dialog .szt-export-actions .spr-button{min-width:155px}
body.spr-root .spr-client .spr-stat-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important;align-items:stretch}
body.spr-root .spr-client .spr-stat-grid>div{background:#24201c!important;border:1px solid #514336!important;border-radius:7px!important;padding:14px 8px!important;min-width:0!important;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center}
body.spr-root .spr-client .spr-stat-grid strong{color:#dfc4a2!important;font-size:clamp(18px,2vw,28px)!important;line-height:1.2!important;font-weight:600!important}
body.spr-root .spr-client .spr-stat-grid span{color:#d7c9bb!important;font-size:11px!important;line-height:1.35!important}
body.spr-root .spr-client .spr-stat-grid :is(svg,i,::before){color:#c5a47c!important;fill:none!important}
body.spr-root.spr-theme-slate .spr-client .spr-stat-grid>div{background:#30343a!important;border-color:#545861!important}
body.spr-root.spr-theme-light .spr-client .spr-stat-grid>div{background:#fff!important;border-color:#dbdee2!important}
body.spr-root.spr-theme-light .spr-client .spr-stat-grid strong{color:#514035!important}
body.spr-root.spr-theme-light .spr-client .spr-stat-grid span{color:#5c6268!important}
@media(max-width:980px){body.spr-root .spr-client .spr-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){body.spr-root .spr-client .spr-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.spr-root .szt-watermark-preview .spr-wm-preview-image img{min-height:240px!important;max-height:440px!important}body.spr-root .szt-file-dialog{padding:13px!important}body.spr-root .szt-file-dialog .szt-filenames{height:50vh!important;min-height:260px!important;padding:12px!important;font-size:12px!important}body.spr-root .szt-export-heading{align-items:stretch}body.spr-root .szt-export-heading>.spr-button{width:100%}}


/* Gallery stats icon color correction */
body.spr-root .spr-client .spr-stat-grid svg,body.spr-root .spr-client .spr-stat-grid i{color:#c5a47c!important;fill:currentColor!important;stroke:currentColor!important}


/* v0.5.3 - clearly separated watermark text / stripe controls and warm neutral customer views */
body.spr-root .szt-watermark-controls{background:transparent!important;border:0!important;padding:0!important;gap:12px!important;display:flex!important;flex-direction:column!important}
body.spr-root .szt-wm-panel{display:flex;flex-direction:column;gap:12px;min-width:0;border:1px solid #5b4a37;border-radius:9px;background:#211c17;padding:16px 17px}
body.spr-root .szt-wm-panel h3{margin:0;padding:0 0 8px;font:500 18px/1.3 Georgia,serif;color:#efdbbe;border-bottom:1px solid #574737}
body.spr-root .szt-wm-panel p{margin:0;color:#c3b3a3;font-size:12px;line-height:1.55}
body.spr-root .szt-wm-panel label{margin:0;display:flex;flex-direction:column;gap:6px;font-size:12px}
body.spr-root .szt-wm-panel output{font-size:12px;font-weight:600;color:#d9b78e}
body.spr-root .szt-wm-panel :is(input[type=range],select,input[type=text]){max-width:100%}
body.spr-root .szt-wm-text{border-left:3px solid #c5a17c}
body.spr-root .szt-wm-bands{border-left:3px solid #a69a8c;background:#27221c}
body.spr-root .szt-wm-logo{border-left:3px solid #897259}
body.spr-root .szt-wm-bands [data-szt-band-only]{display:grid;grid-template-columns:1fr;gap:12px;padding-top:12px;border-top:1px solid #514332}
body.spr-root :is(.szt-wm-panel,[data-szt-stripes],[data-szt-band-only],[data-szt-logo])[hidden]{display:none!important}
body.spr-root.spr-theme-light .szt-wm-panel{background:#faf8f5!important;border-color:#d7cab9!important}
body.spr-root.spr-theme-light .szt-wm-panel h3{color:#332820!important;border-color:#d7cab9!important}
body.spr-root.spr-theme-light .szt-wm-panel p{color:#5d544a!important}
body.spr-root.spr-theme-light .spr-top{background:#15120f!important;color:#f4e8db!important;border-color:#3d342b!important}
body.spr-root.spr-theme-light .spr-top .spr-brand-label,body.spr-root.spr-theme-light .spr-top .spr-small-link{color:#f4e8db!important}
body.spr-root.spr-theme-light .spr-top .spr-muted,body.spr-root.spr-theme-light .spr-top .spr-navname{color:#c5b7a5!important}
body.spr-root .spr-client-help{background:#26211c!important;border:1px solid #66543f!important;color:#eee1d2!important;border-radius:10px!important}
body.spr-root .spr-client-help :is(strong,h2,h3){color:#f2e4d0!important}
body.spr-root .spr-client-help :is(p,span){color:#e3d6c7!important}
body.spr-root.spr-theme-slate .spr-client-help{background:#303033!important;border-color:#535154!important}
body.spr-root.spr-theme-light .spr-client-help{background:#f3ede4!important;border:1px solid #d6c5b0!important;color:#3e342a!important}
body.spr-root.spr-theme-light .spr-client-help :is(strong,h2,h3){color:#372c22!important}
body.spr-root.spr-theme-light .spr-client-help :is(p,span){color:#524435!important}
body.spr-root .szt-reselection-history{padding:17px 19px;margin:16px 0;background:#201d19;border:1px solid #68513c;border-radius:9px}
body.spr-root .szt-reselection-history h3{font:500 20px Georgia,serif;color:#eed7b8;margin:0 0 7px}
body.spr-root .szt-reselection-history details{border-top:1px solid #4b4033;padding:11px 2px}
body.spr-root .szt-reselection-history summary{cursor:pointer;color:#e3c6a4;font-weight:600;font-size:13px}
body.spr-root .szt-reselection-history ul{padding-left:22px;margin:12px 0 0}
body.spr-root .szt-reselection-history li{padding:3px 0;color:#e2d8cc;font-size:13px;overflow-wrap:anywhere}
body.spr-root.spr-theme-light .szt-reselection-history{background:#fcfaf7;border-color:#dfd1bf}
body.spr-root.spr-theme-light .szt-reselection-history h3,body.spr-root.spr-theme-light .szt-reselection-history summary,body.spr-root.spr-theme-light .szt-reselection-history li{color:#342c24}
@media(max-width:780px){body.spr-root .szt-watermark-controls{display:flex!important;flex-direction:column!important;gap:10px!important}body.spr-root .szt-wm-panel{padding:14px 12px}}


/* Gallery security, reliable batched uploads and protected sharing */
body.spr-root .szt-security-panel{border:1px solid #756046!important;background:#221d18!important;margin:15px 0 22px;padding:21px!important}
body.spr-root .szt-security-panel .spr-section-head{align-items:center;gap:12px}
body.spr-root .szt-security-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0 14px;color:#e6d4c0;font-size:12px}
body.spr-root .szt-security-status strong{font-size:13px;color:#f2dfc5}
body.spr-root .szt-security-status>span:last-child{color:#bbad9d}
body.spr-root .szt-status-dot{height:10px;width:10px;border-radius:50%;display:inline-block}
body.spr-root .szt-status-dot.enabled{background:#b9a482;box-shadow:0 0 0 3px #b9a48229}
body.spr-root .szt-status-dot.disabled{background:#b87979}
body.spr-root .szt-security-panel .szt-share-line{margin-bottom:13px}
body.spr-root .szt-password-change{border-top:1px solid #594937;padding-top:15px;margin-top:15px}
body.spr-root .szt-password-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.spr-root .szt-password-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}
body.spr-root .szt-password-fields input{width:100%;box-sizing:border-box;padding:11px 12px;min-height:42px}
body.spr-root .szt-security-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
body.spr-root .szt-disable-password{margin:14px 0 0}
body.spr-root .szt-disable-password button{background:transparent;color:#c5a798;border:0;cursor:pointer;text-decoration:underline;font-size:12px;padding:3px 0}
body.spr-root form[data-szt-batch-upload]{position:relative;gap:12px;grid-template-columns:minmax(0,1fr) auto}
body.spr-root form[data-szt-batch-upload] button[type=submit]{font-size:14px!important;font-weight:700!important;padding:14px 20px!important;min-height:46px!important;white-space:normal;background:#d6b786!important;color:#19130e!important;border:1px solid #ead0ac!important;box-shadow:0 4px 16px #0002}
body.spr-root form[data-szt-batch-upload] button[type=submit]:disabled{opacity:.58;cursor:default}
body.spr-root .szt-upload-guidance{grid-column:1/-1;margin:0;padding:14px 16px;border:1px solid #7e633f;border-radius:8px;background:#3a2d1c;color:#f3dfba;font-size:13px;line-height:1.55}
body.spr-root .szt-upload-guidance.ready{background:#413019;border-color:#c49b63}
body.spr-root .szt-upload-guidance.sending{background:#252b26;border-color:#889883;color:#e0e7d9}
body.spr-root .szt-upload-guidance.complete{background:#263027;border-color:#9aab87;color:#ecf7e8}
body.spr-root .szt-upload-guidance.error{background:#402525;border-color:#bd7171;color:#ffdfdf}
body.spr-root .szt-upload-guidance a{color:inherit;text-decoration:underline;font-weight:700}
body.spr-root .szt-upload-progress{grid-column:1/-1;display:block;padding:10px 12px;border:1px solid #5a4d3d;border-radius:8px;background:#1a1815}
body.spr-root .szt-upload-progress[hidden]{display:none!important}
body.spr-root .szt-upload-progress progress{display:block;width:100%;height:16px;accent-color:#d4ae7b}
body.spr-root .szt-upload-progress p{font-size:12px;margin:9px 0 0;line-height:1.65;color:#e9dcc9}
body.spr-root .szt-rewatermark-ui{border:1px solid #806a4e;border-radius:9px;padding:15px;background:#241e18;margin:18px 0}
body.spr-root .szt-rewatermark-ui .szt-upload-progress{margin-top:12px}
body.spr-root .szt-rewatermark-ui h3{margin:0 0 7px;color:#f0d9b7;font:500 19px Georgia,serif}
body.spr-root .szt-rewatermark-ui p{font-size:12px;line-height:1.6;color:#dbccba}
body.spr-root .szt-rewatermark-ui button{padding:10px 15px}
body.spr-root.spr-theme-light .szt-security-panel{background:#fff!important;border-color:#c8b69c!important}
body.spr-root.spr-theme-light .szt-security-status,body.spr-root.spr-theme-light .szt-security-status strong{color:#3b3024!important}
body.spr-root.spr-theme-light .szt-security-status>span:last-child{color:#6e5f51!important}
body.spr-root.spr-theme-light .szt-upload-guidance{background:#fff5e6;color:#453524;border-color:#cdb184}
body.spr-root.spr-theme-light .szt-upload-progress{background:#f5f0e9}
body.spr-root.spr-theme-light .szt-upload-progress p{color:#40362b}
@media(max-width:700px){body.spr-root .szt-password-fields{grid-template-columns:1fr}body.spr-root form[data-szt-batch-upload]{grid-template-columns:1fr!important}body.spr-root form[data-szt-batch-upload] button[type=submit]{width:100%;white-space:normal}body.spr-root .szt-security-panel{padding:15px!important}}


/* Use safe per-photo background-style batches instead of legacy all-at-once watermark POST. */
body.spr-root .spr-rewatermark-form[data-rewatermark]{display:none!important}


/* 0.5.5 - existing gallery settings: independent pages and persistent left navigation */
body.spr-root main.szt-gallery-shell{
 display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;
 gap:0 24px!important;align-items:start!important;max-width:1430px!important;
}
body.spr-root main.szt-gallery-shell>.szt-primary-nav{grid-column:1/-1!important;grid-row:1;margin-bottom:22px}
body.spr-root main.szt-gallery-shell>.szt-gallery-sidebar{
 grid-column:1!important;grid-row:2/span 30!important;position:sticky;top:18px;
 min-width:0;background:#1d1915;border:1px solid #584839;
 border-radius:11px;padding:17px 11px;align-self:start;z-index:2;
}
body.spr-root main.szt-gallery-shell>:not(.szt-gallery-sidebar):not(.szt-primary-nav){grid-column:2!important;min-width:0}
body.spr-root main.szt-gallery-shell .szt-gallery-sidebar-title{
 font:600 12px/1.4 Arial,sans-serif;letter-spacing:.09em;color:#e6c49d;
 padding:0 8px 15px;display:flex;justify-content:space-between;gap:9px;
 border-bottom:1px solid #584839;margin-bottom:10px
}
body.spr-root main.szt-gallery-shell .szt-gallery-sidebar-title span{color:#aa9881}
body.spr-root main.szt-gallery-shell .szt-gallery-tree{display:flex;flex-direction:column;gap:3px}
body.spr-root main.szt-gallery-shell .szt-gallery-tree-group{
 font-size:10px;letter-spacing:.085em;font-weight:650;color:#988c7e;
 padding:15px 11px 6px
}
body.spr-root main.szt-gallery-shell .szt-gallery-tree a{
 display:flex;align-items:center;gap:10px;padding:11px 12px;
 color:#d5c8b8!important;text-decoration:none!important;border-radius:7px;
 font-size:13px;line-height:1.35;font-weight:450;min-height:41px;
 border:1px solid transparent;transition:background .12s ease
}
body.spr-root main.szt-gallery-shell .szt-gallery-tree a:hover{background:#352b22;color:#fff!important}
body.spr-root main.szt-gallery-shell .szt-gallery-tree a.active{
 background:#50402e;color:#f5e5cc!important;border-color:#806749;font-weight:650
}
body.spr-root main.szt-gallery-shell .szt-gallery-tree a:focus-visible{outline:2px solid #e0b67f;outline-offset:2px}
body.spr-root main.szt-gallery-shell .szt-gallery-tree-icon{font-size:17px;line-height:1;width:19px;flex:none;text-align:center;color:#dab890}
body.spr-root main.szt-gallery-shell .szt-gallery-sidebar-back{border-top:1px solid #584839;margin-top:15px;padding:14px 10px 3px}
body.spr-root main.szt-gallery-shell .szt-gallery-sidebar-back a{color:#c4b19b;font-size:12px}
body.spr-root main.szt-gallery-shell .szt-wizard-heading h1{font-size:clamp(25px,2.6vw,36px)!important}
body.spr-root main.szt-gallery-shell .szt-step-panel{padding:24px!important;min-width:0}
body.spr-root main.szt-gallery-shell .szt-form-grid{gap:17px}
body.spr-root main.szt-gallery-shell .spr-workspace-tabs,
body.spr-root main.szt-gallery-shell .spr-back{display:none!important}
/* Overview is intentionally a small summary, rather than the previous all-in-one editor */
body.spr-root main.szt-gallery-manage>.spr-panel,
body.spr-root main.szt-gallery-manage>.szt-security-panel,
body.spr-root main.szt-gallery-manage>.szt-rewatermark-ui,
body.spr-root main.szt-gallery-manage>.spr-watermark-management{
 display:none!important
}
body.spr-root main.szt-gallery-manage>.spr-twocol{display:none!important}
body.spr-root main.szt-gallery-manage[data-szt-section=overview]>.spr-twocol{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important
}
body.spr-root main.szt-gallery-manage[data-szt-section=overview]>.spr-twocol>.spr-panel:first-child{display:none!important}
body.spr-root main.szt-gallery-manage[data-szt-section=overview]>.spr-twocol>.spr-panel:last-child{display:block!important}
body.spr-root main.szt-gallery-manage[data-szt-section=kolejnosc]>#spr-section-photos,
body.spr-root main.szt-gallery-manage[data-szt-section=wybrane]>#spr-section-picked{display:block!important}
body.spr-root main.szt-gallery-manage .spr-heading{margin-top:0}
body.spr-root main.szt-gallery-manage[data-szt-section=kolejnosc] .spr-heading h1:after{content:" - kolejność zdjęć";font-weight:400;font-size:.52em;color:#c4b19b}
body.spr-root main.szt-gallery-manage[data-szt-section=wybrane] .spr-heading h1:after{content:" - wybrane kadry";font-weight:400;font-size:.52em;color:#c4b19b}
body.spr-root.spr-theme-light main.szt-gallery-shell>.szt-gallery-sidebar{background:#f8f4ef!important;border-color:#d0c4b6!important}
body.spr-root.spr-theme-light main.szt-gallery-shell .szt-gallery-sidebar-title{color:#534234;border-color:#d0c4b6}
body.spr-root.spr-theme-light main.szt-gallery-shell .szt-gallery-tree a{color:#3c3530!important}
body.spr-root.spr-theme-light main.szt-gallery-shell .szt-gallery-tree a.active{background:#dfcab0!important;color:#302418!important;border-color:#c4ab8d!important}
body.spr-root.spr-theme-light main.szt-gallery-shell .szt-gallery-tree a:hover{background:#ece1d3!important}
@media(max-width:950px){
 body.spr-root main.szt-gallery-shell{grid-template-columns:190px minmax(0,1fr)!important;gap:0 12px!important}
 body.spr-root main.szt-gallery-shell>.szt-gallery-sidebar{padding:11px 7px}
 body.spr-root main.szt-gallery-shell .szt-gallery-tree a{padding:10px 7px;font-size:12px}
}
@media(max-width:720px){
 body.spr-root main.szt-gallery-shell{display:flex!important;flex-direction:column!important;gap:0!important}
 body.spr-root main.szt-gallery-shell>.szt-primary-nav,
 body.spr-root main.szt-gallery-shell>.szt-gallery-sidebar,
 body.spr-root main.szt-gallery-shell>:not(.szt-primary-nav):not(.szt-gallery-sidebar){width:100%;box-sizing:border-box}
 body.spr-root main.szt-gallery-shell>.szt-gallery-sidebar{position:relative;top:auto;margin:0 0 17px;padding:12px}
 body.spr-root main.szt-gallery-shell .szt-gallery-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 body.spr-root main.szt-gallery-shell .szt-gallery-tree-group{grid-column:1/-1;padding-top:10px}
 body.spr-root main.szt-gallery-shell .szt-gallery-tree a{font-size:12px;min-height:37px}
 body.spr-root main.szt-gallery-shell .szt-gallery-sidebar-back{padding:9px 5px 0}
 body.spr-root main.szt-gallery-shell .szt-step-panel{padding:15px!important}
}


/* v0.5.6 - explicit duplicate policy and resumable upload feedback */
body.spr-root form[data-szt-batch-upload] .szt-conflict-choice{
 display:flex;flex-direction:column;gap:7px;min-width:210px;
 font-size:12px;font-weight:600;color:#e5d6c4
}
body.spr-root form[data-szt-batch-upload] .szt-conflict-choice select{
 min-height:44px;border-radius:7px;border:1px solid #716049;
 background:#29231c;color:#f6e9d7;padding:8px 10px;width:100%
}
body.spr-root form[data-szt-batch-upload] .szt-overwrite-confirm{
 grid-column:1/-1!important;display:flex!important;align-items:center!important;
 gap:10px!important;background:#42301d;border:1px solid #a78452;
 padding:12px 14px!important;border-radius:7px;font-size:12px!important;
 line-height:1.6;color:#f7e3c5
}
body.spr-root form[data-szt-batch-upload] .szt-overwrite-confirm[hidden]{display:none!important}
body.spr-root form[data-szt-batch-upload] .szt-overwrite-confirm input{
 flex:0 0 auto!important;width:19px!important;height:19px!important;
 accent-color:#d9b27b
}
body.spr-root form[data-szt-batch-upload] .szt-upload-progress progress{height:18px}
body.spr-root.spr-theme-light form[data-szt-batch-upload] .szt-conflict-choice{color:#3c3227}
body.spr-root.spr-theme-light form[data-szt-batch-upload] .szt-conflict-choice select{background:#fff;color:#312b25;border-color:#d8c2a5}
body.spr-root.spr-theme-light form[data-szt-batch-upload] .szt-overwrite-confirm{background:#fff0dc;color:#4c3420;border-color:#cbaa80}
@media(max-width:780px){body.spr-root form[data-szt-batch-upload] .szt-conflict-choice{width:100%}}


/* Upload category controls and per-category photo counters */
.ztc-counters{display:flex;gap:8px;flex-wrap:wrap}


/* 0.5.8 photo category picker and counters */
body.spr-root .ztw-upload-category{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px 17px;border:1px solid #665039;border-radius:9px;background:#28211a}
body.spr-root .ztw-upload-category label{font-size:13px;color:#e8d6c1;display:flex;flex-direction:column;gap:7px}
body.spr-root .ztw-upload-category select,body.spr-root .ztw-upload-category input{min-height:42px;border-radius:6px;background:#1e1b17;border:1px solid #80684e;color:#efe2cf;padding:8px 11px;width:100%;box-sizing:border-box}
body.spr-root .ztw-upload-category [hidden]{display:none!important}
body.spr-root .ztw-upload-category p{grid-column:1/-1;color:#bca991;margin:0;font-size:12px}
body.spr-root .ztw-gallery-counts{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:15px 0;padding:13px 16px;background:#201c17;border:1px solid #5d4935;border-radius:9px}
body.spr-root .ztw-gallery-counts strong,body.spr-root .ztw-gallery-counts span{color:#e9d4bc;font-size:13px;background:#3a2d20;border:1px solid #62503b;border-radius:6px;padding:7px 11px}
body.spr-root .ztw-gallery-counts strong{font-weight:700;background:#b99b76;color:#211811}
body.spr-root .ztw-gallery-counts b{font-weight:750;padding-left:4px}
body.spr-root.spr-theme-light .ztw-upload-category,body.spr-root.spr-theme-light .ztw-gallery-counts{background:#faf6f1;border-color:#d4c5b1}
body.spr-root.spr-theme-light .ztw-upload-category label,body.spr-root.spr-theme-light .ztw-upload-category p{color:#514538}
body.spr-root.spr-theme-light .ztw-upload-category select,body.spr-root.spr-theme-light .ztw-upload-category input{background:#fff;color:#372f26;border-color:#d5c2a8}
body.spr-root.spr-theme-light .ztw-gallery-counts span{background:#f2e7d9;color:#423429;border-color:#dfc9ad}
@media(max-width:720px){body.spr-root .ztw-upload-category{grid-template-columns:1fr}body.spr-root .ztw-upload-category p{grid-column:1}}


/* 0.5.9 - compact chosen photographs and payment breakdown, no phantom grid rows */
body.spr-root main.szt-gallery-manage{
 display:grid!important;
 grid-template-columns:minmax(195px,225px) minmax(0,1fr)!important;
 grid-template-rows:auto auto minmax(0,auto)!important;
 align-items:start!important;align-content:start!important;
 column-gap:22px!important;row-gap:0!important;
}
body.spr-root main.szt-gallery-manage>.szt-gallery-sidebar{
 grid-column:1!important;grid-row:1 / span 3!important;
 align-self:start!important;position:sticky;top:18px;
}
body.spr-root main.szt-gallery-manage>.spr-heading{
 grid-column:2!important;grid-row:1!important;
 margin:0 0 13px!important;min-width:0!important;
}
body.spr-root main.szt-gallery-manage>.spr-view-controls{
 grid-column:2!important;grid-row:2!important;
 margin:0 0 15px!important;min-width:0!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"]>#spr-section-picked,
body.spr-root main.szt-gallery-manage[data-szt-section="kolejnosc"]>#spr-section-photos,
body.spr-root main.szt-gallery-manage[data-szt-section="overview"]>.spr-twocol{
 grid-column:2!important;grid-row:3!important;
 align-self:start!important;min-width:0!important;
 margin-top:0!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"]>#spr-section-picked{
 display:block!important;
 padding:20px!important;
 background:#211c17!important;
 border:1px solid #564636!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-grid{
 display:grid!important;
 grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;
 gap:11px!important;
 margin:17px 0 0!important;
 align-items:start!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-item{
 min-width:0!important;
 border:1px solid #514334!important;
 background:#2b241d!important;
 border-radius:7px!important;
 overflow:hidden!important;
 box-shadow:none!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-item img{
 width:100%!important;height:155px!important;
 max-height:155px!important;display:block!important;
 object-fit:contain!important;
 background:#37312b!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-info{
 padding:9px 10px 11px!important;min-width:0!important;
 background:transparent!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-info code{
 display:block!important;
 font:600 12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace!important;
 color:#f0d5b2!important;word-break:break-word!important;
}
body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-info p{
 color:#e3d4c1!important;
 font-size:12px!important;
 margin:6px 0 0!important;line-height:1.45!important;
}
body.spr-root main.szt-gallery-manage .ztp-choice-billing{
 padding:18px 19px!important;margin:6px 0 16px!important;
 background:#30271e!important;border:1px solid #846847!important;
 border-radius:9px!important;min-width:0!important;
}
body.spr-root main.szt-gallery-manage .ztp-billing-heading{
 display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:10px 15px;margin-bottom:15px;
}
body.spr-root main.szt-gallery-manage .ztp-billing-heading h3{
 font:500 20px/1.25 Georgia,serif!important;color:#f2dfc6!important;
 margin:0 0 6px!important;
}
body.spr-root main.szt-gallery-manage .ztp-billing-heading p{
 color:#cabaac!important;font-size:12px!important;
 line-height:1.5!important;margin:0!important;
}
body.spr-root main.szt-gallery-manage .ztp-billing-total{
 color:#f5d7ad!important;font:600 clamp(25px,3.2vw,37px)/1.2 Georgia,serif!important;
 white-space:nowrap;
}
body.spr-root main.szt-gallery-manage .ztp-billing-items{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:9px!important;
}
body.spr-root main.szt-gallery-manage .ztp-billing-items>div{
 background:#1f1b17;border:1px solid #5c4935;border-radius:7px;
 padding:11px 12px;min-width:0;
}
body.spr-root main.szt-gallery-manage .ztp-billing-items strong{
 color:#efdabd!important;font-size:19px!important;font-weight:700!important;
 display:block;line-height:1.3;overflow-wrap:anywhere;
}
body.spr-root main.szt-gallery-manage .ztp-billing-items span{
 display:block;color:#bfb09f!important;font-size:11px!important;
 margin-top:4px;line-height:1.35;
}
body.spr-root main.szt-gallery-manage .ztp-billing-equation{
 color:#ecd9bc!important;margin:12px 0 0!important;
 font-size:13px!important;line-height:1.4!important;
}
body.spr-root main.szt-gallery-manage .ztp-billing-disclaimer{
 color:#bdad99!important;font-size:11px!important;
 margin:10px 0 0!important;line-height:1.5!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage[data-szt-section="wybrane"]>#spr-section-picked{
 background:#fff!important;border-color:#d9cdbd!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-choice-billing{
 background:#f7f1e8!important;border-color:#d6c2a4!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-heading h3,
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-total,
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-equation{
 color:#453321!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-heading p,
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-disclaimer{
 color:#625748!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-items>div{
 background:#fff!important;border-color:#d8cab9!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-items strong,
body.spr-root.spr-theme-light main.szt-gallery-manage .ztp-billing-items span{
 color:#42362a!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .spr-picked-item{
 background:#f8f5f0!important;border-color:#d7cabb!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .spr-picked-item img{
 background:#eee9e2!important;
}
body.spr-root.spr-theme-light main.szt-gallery-manage .spr-picked-info code,
body.spr-root.spr-theme-light main.szt-gallery-manage .spr-picked-info p{
 color:#3b3126!important;
}
@media(max-width:1050px){
 body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-grid{
  grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important;
 }
 body.spr-root main.szt-gallery-manage .ztp-billing-items{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:720px){
 body.spr-root main.szt-gallery-shell.szt-gallery-manage{
  display:flex!important;flex-direction:column!important;
  gap:0!important;
 }
 body.spr-root main.szt-gallery-manage>.szt-gallery-sidebar{
  position:relative!important;top:auto!important;
  width:100%!important;
 }
 body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"]>#spr-section-picked{
  width:100%!important;padding:14px!important;
 }
 body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
 }
 body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-item img{
  height:136px!important;max-height:136px!important;
 }
 body.spr-root main.szt-gallery-manage .ztp-choice-billing{padding:13px!important}
}
@media(max-width:380px){
 body.spr-root main.szt-gallery-manage[data-szt-section="wybrane"] .spr-picked-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 body.spr-root main.szt-gallery-manage .ztp-billing-items>div{padding:9px 7px}
}
