
/* Workflow 0.8: compact dashboard, folders and choice summary */
body.spr-root main.szt-gallery-manage.zgd-shell{display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;grid-template-rows:auto auto!important;grid-auto-rows:min-content!important;gap:0 18px!important;align-content:start!important;min-height:0!important}
body.spr-root main.szt-gallery-manage.zgd-shell>.zgd-sidebar{grid-column:1!important;grid-row:1/span 2!important;position:sticky!important;top:14px!important}
body.spr-root main.szt-gallery-manage.zgd-shell>.spr-heading{grid-column:2!important;grid-row:1!important;margin:0 0 15px!important}
body.spr-root main.szt-gallery-manage.zgd-shell[data-szt-section=overview]>.spr-twocol{grid-column:2!important;grid-row:2!important;margin:0!important;gap:12px!important}
body.spr-root main.szt-gallery-manage.zgd-shell[data-szt-section=kolejnosc]>#spr-section-photos,body.spr-root main.szt-gallery-manage.zgd-shell[data-szt-section=wybrane]>#spr-section-picked{grid-column:2!important;grid-row:2!important;margin:0!important}
body.spr-root main.szt-gallery-manage[data-szt-section=overview]>.spr-twocol .spr-panel{margin:0!important}
body.spr-root main.szt-gallery-manage .spr-stat{border:1px solid #604b37;border-radius:9px;padding:12px;background:#251e17;display:flex;gap:9px;align-items:center}
body.spr-root main.szt-gallery-manage .spr-stat strong{font-size:28px!important}
body.spr-root main.szt-gallery-manage .szt-export-panel{padding:15px;background:#261f17;border:1px solid #70553a;border-radius:9px;margin:12px 0}
body.spr-root main.szt-gallery-manage[data-szt-section=wybrane] #spr-section-picked{display:grid!important;gap:12px!important}
body.spr-root .szt-layout-preview{display:none!important}
body.spr-root .ztw-folders{border:1px solid #755a3e;border-radius:10px;background:#211b15;padding:15px;margin:20px 0;min-width:0}
body.spr-root .ztw-folders>h3{font:400 23px Georgia,serif;color:#ffdfb9;margin:0 0 7px}
body.spr-root .ztw-folders>p,body.spr-root .ztw-folders [data-ztw-status]{font-size:12px;color:#d5b899;line-height:1.6}
body.spr-root .ztw-folder-mode{display:flex;gap:15px;flex-wrap:wrap;border:1px solid #674f36;border-radius:8px;margin:14px 0;padding:12px}
body.spr-root .ztw-folder-mode legend{font-weight:700;color:#f6dbb9;padding:0 5px}
body.spr-root .ztw-folder-mode label{display:flex;gap:7px;align-items:center;font-size:12px;color:#f2d9ba}
body.spr-root .ztw-browser{display:grid;grid-template-columns:190px minmax(0,1fr);gap:11px}
body.spr-root .ztw-sidebar{background:#15120f;border:1px solid #6d5138;border-radius:8px;padding:9px}
body.spr-root .ztw-sidebar [data-ztw-folders-list]{display:grid;gap:5px}
body.spr-root .ztw-sidebar button,body.spr-root .ztw-current button,body.spr-root .ztw-bulk button{background:#3d2d1e;border:1px solid #a07b54;border-radius:6px;color:#f8dbbb;padding:9px;font-size:12px;text-align:left}
body.spr-root .ztw-sidebar button.active{background:#705336;color:white}
body.spr-root .ztw-sidebar form{margin-top:12px;display:grid;gap:6px}
body.spr-root .ztw-sidebar form label{color:#efd2ae;font-size:12px}
body.spr-root .ztw-sidebar form input{padding:9px;width:100%;background:#241b13;color:white;border:1px solid #75573a;border-radius:6px}
body.spr-root .ztw-content{display:grid;gap:11px;min-width:0}
body.spr-root .ztw-current{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
body.spr-root .ztw-current strong{color:#f8dfba}
body.spr-root .ztw-drop{display:grid;gap:8px;text-align:center;padding:21px 13px;background:#2b2118;border:2px dashed #99744c;border-radius:8px}
body.spr-root .ztw-drop b{color:#ffe1ba}
body.spr-root .ztw-drop small{color:#d5b898;line-height:1.5}
body.spr-root .ztw-drop.drag-active{background:#5d4229;border-color:#e9bd86}
body.spr-root .ztw-bulk{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
body.spr-root .ztw-bulk span{font-size:12px;color:#d9b991;margin-right:auto}
body.spr-root .ztw-bulk select{background:#211910;color:white;border:1px solid #7c5d41;border-radius:6px;padding:8px}
body.spr-root .ztw-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px;max-height:450px;overflow-y:auto;padding:3px}
body.spr-root .ztw-photo-item{position:relative;min-width:0;display:grid;gap:5px;padding:5px;border:1px solid #624b36;border-radius:6px;background:#1b1510;cursor:pointer}
body.spr-root .ztw-photo-item:has(input:checked){border-color:#f4cc9d;background:#4a3422}
body.spr-root .ztw-photo-item[hidden],body.spr-root [data-ztw-print-details][hidden]{display:none!important}
body.spr-root .ztw-photo-item input{position:absolute;right:7px;top:7px;width:18px;height:18px;accent-color:#c99b66}
body.spr-root .ztw-photo-item img{width:100%;height:100px;object-fit:cover;display:block;border-radius:4px}
body.spr-root .ztw-photo-item span{color:#e9d2b6;font-size:10px;overflow-wrap:anywhere}
body.spr-root .ztw-browser.ztw-disabled .ztw-sidebar [data-folder]:not([data-folder=""]),body.spr-root .ztw-browser.ztw-disabled .ztw-sidebar form,body.spr-root .ztw-browser.ztw-disabled .ztw-bulk [data-ztw-target],body.spr-root .ztw-browser.ztw-disabled .ztw-bulk [data-ztw-move]{display:none!important}
body.spr-root .ztw-sort-hint{font-size:12px;color:#f2d5af!important;border:1px dashed #ae8452;padding:12px;background:#2c2319;border-radius:8px}
body.spr-root .ztw-sortable{cursor:grab!important}
body.spr-root .ztw-sortable.is-dragged{opacity:.45}
body.spr-root .ztw-sort-state{font-size:12px;color:#f1cea0}
body.spr-root .ztw-my-presets{border:1px solid #90704b;border-radius:9px;background:#302318;padding:15px;margin:15px 0}
body.spr-root .ztw-my-presets strong{color:#f8d7ad}
body.spr-root .ztw-my-presets p{color:#d4b38e;font-size:12px}
body.spr-root .ztw-my-preset-list{display:flex;flex-wrap:wrap;gap:8px}
body.spr-root .ztw-my-preset-list label{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #ac8556;border-radius:6px;background:#49321e;color:#f6ddbd;cursor:pointer}
body.spr-root .ztw-save-preset{display:grid;gap:8px;padding:14px;border:1px solid #997953;border-radius:9px;background:#281e16;margin:14px 0}
body.spr-root .ztw-save-preset h3{font:400 19px Georgia,serif;color:#f7d7b0;margin:0}
body.spr-root .ztw-save-preset label{font-size:12px;color:#f6d9b6;display:grid;gap:5px}
body.spr-root .ztw-save-preset input{background:#18120d;color:white;border:1px solid #9a7753;border-radius:6px;padding:9px;max-width:430px}
body.spr-root .ztw-save-preset button{border:1px solid #af885e;border-radius:6px;padding:9px;background:#5b4029;color:#ffe0b7;width:max-content}
body.spr-root .ztw-save-preset p{font-size:12px;color:#ddbf97}
@media(max-width:960px){body.spr-root .ztw-browser{grid-template-columns:1fr}body.spr-root .ztw-sidebar [data-ztw-folders-list]{display:flex;flex-wrap:wrap}}
@media(max-width:740px){body.spr-root main.szt-gallery-manage.zgd-shell{display:flex!important;flex-direction:column!important}body.spr-root main.szt-gallery-manage.zgd-shell>.zgd-sidebar{position:relative!important;width:100%!important}body.spr-root main.szt-gallery-manage.zgd-shell>:not(.zgd-sidebar){width:100%!important}body.spr-root .ztw-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Client folder tabs off */
body.spr-root.ztw-no-folders .szt-client-folder-tabs{display:none!important}
body.spr-root .zgs-more-presets{margin:15px 0;border:1px solid #665239;border-radius:8px;padding:10px}
body.spr-root .zgs-more-presets summary{cursor:pointer;padding:10px;color:#e5c4a0;font-size:13px;font-weight:700}
body.spr-root .zgs-more-presets>.zgs-picker-grid{padding-top:10px}


/* Bulk delete toolbar */
body.spr-root .ztw-bulk [data-ztw-bulk-delete]{border:1px solid #ae7067!important;background:#482b25!important;color:#ffe6dc!important;border-radius:6px;padding:9px 12px}
body.spr-root .ztw-bulk [data-ztw-bulk-delete]:disabled{opacity:.5;cursor:not-allowed}
body.spr-root [data-ztw-bulk-progress]{display:grid;gap:8px;margin:10px 0;padding:13px;border-radius:8px;border:1px solid #8a7051;background:#2b221b}
body.spr-root [data-ztw-bulk-progress][hidden]{display:none!important}
body.spr-root [data-ztw-bulk-progress] progress{width:100%;height:10px;accent-color:#ae7c68}
body.spr-root [data-ztw-bulk-progress] [data-ztw-bulk-label]{font-size:12px;color:#efdbc5}
body.spr-root [data-ztw-bulk-progress] button{justify-self:start;padding:8px 12px;background:#453124;color:#f5e0cb;border:1px solid #a48765;border-radius:6px}
