:root{--ink:#22272d;--muted:#697078;--line:#dce0e3;--wine:#862d3b;--wine-hover:#6e2330;--green:#234c36;--soft:#f5f6f7;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:15px/1.5 var(--sans);letter-spacing:0}button,input,select{font:inherit;letter-spacing:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #bd7e8b;outline-offset:4px}button{color:inherit}svg{height:20px;width:20px;stroke-width:1.65;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;background:transparent;min-height:44px}input,select{height:46px;border:1px solid #c7cdd3;background:#fff;border-radius:3px;color:var(--ink)}input:focus,select:focus{outline:2px solid #b57d87;outline-offset:2px}[hidden]{display:none!important}.site-header{border-bottom:1px solid var(--line)}.header-inner{max-width:1400px;margin:auto;min-height:98px;padding:17px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;color:var(--ink);font-family:var(--serif);display:flex;flex-direction:column;line-height:1}.brand>span{font-size:32px;white-space:nowrap}.brand small{font-size:18px;color:var(--muted);padding-left:57px;margin-top:5px;position:relative}.brand small:before{content:'';height:2px;background:var(--wine);width:44px;position:absolute;left:0;top:8px}nav{display:flex;align-items:center;gap:16px}.primary{background:var(--wine);color:#fff;border-radius:3px;padding:0 18px;min-height:44px;font-weight:600;font-size:14px}.primary:hover{background:var(--wine-hover)}.selection-button{color:var(--green);font-weight:600;font-size:14px;padding:0 10px}#selection-count{background:var(--green);color:#fff;border-radius:3px;padding:1px 6px;font-size:12px;min-width:22px}.secondary{border:1px solid var(--line);border-radius:3px;padding:0 18px;font-weight:600}main{max-width:1400px;margin:auto;padding:25px 32px 40px;min-height:calc(100vh - 180px)}h1{font:600 36px/1.2 var(--serif);margin:0 0 24px}h2{font:600 27px/1.25 var(--serif);margin:0}.toolbar{display:flex;align-items:center;gap:24px;margin-bottom:23px}.search{position:relative;display:flex;align-items:center;flex:1;min-width:120px}.search>svg{position:absolute;left:14px;color:#646c74;z-index:1}.search input{width:100%;padding:0 48px 0 45px;font-size:16px}.search input::placeholder{color:#828a92}.search input::-webkit-search-cancel-button{display:none}.search #clear-search{position:absolute;right:3px;border:none;width:38px;min-height:38px}.sort{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px}.sort select{width:196px;padding:0 12px}.view-controls{display:flex;gap:9px}.icon-button{padding:0;width:44px;min-height:44px;border:1px solid var(--line);border-radius:2px;background:#fff;flex-shrink:0}.icon-button:hover{background:#f4f5f6}.icon-button.active{background:var(--green);border-color:var(--green);color:#fff}.results-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #bbc3ca;min-height:37px;margin-bottom:18px}.text-button{padding:0;min-height:35px;font-size:14px}.results-heading .text-button{font:18px var(--serif)}.results-heading .current{font-weight:500}.results-heading>span{color:var(--muted);font-size:14px}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 32px}.image-item{min-width:0;margin:0}.image-open{display:block;width:100%;height:auto;aspect-ratio:1.06;border:0;padding:0;overflow:hidden;background:#fff;position:relative}.image-open:hover{background:#fafafa}.watermarked{width:100%;height:100%;object-fit:contain;display:block}.image-open:focus-visible{outline-offset:1px}.image-caption{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);min-height:49px;gap:8px}.item-title{font:17px var(--serif);text-align:left;min-width:0;overflow-wrap:anywhere;padding:0}.item-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.item-actions label{width:30px;height:38px;display:grid;place-items:center;cursor:pointer}.item-actions input{height:18px;width:18px;accent-color:var(--green);margin:0;cursor:pointer}.download-button{width:32px;min-height:38px;padding:0}.download-button:hover{color:var(--wine)}.image-item .load-error{margin:0;display:grid;place-items:center;aspect-ratio:1.06;color:var(--muted);background:var(--soft)}.gallery.compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.gallery.list{grid-template-columns:1fr;gap:0}.gallery.list .image-item{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:26px}.gallery.list .image-open{width:110px;aspect-ratio:1;height:110px;flex-shrink:0}.gallery.list .image-caption{flex:1;border:0}.empty{text-align:center;padding:65px 20px;color:var(--muted)}.empty>svg{width:30px;height:30px;margin-bottom:15px}.empty h2{color:var(--ink);font-size:25px}.empty p{margin:10px 0 25px}footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px max(32px,calc((100vw - 1336px)/2));min-height:72px}footer>span{font:16px var(--serif)}footer .text-button{font-size:13px;color:var(--muted)}footer svg{width:15px;height:15px}dialog{border:1px solid var(--line);border-radius:5px;padding:0;color:var(--ink);box-shadow:0 18px 80px #0002;max-height:92vh;overflow:auto}dialog::backdrop{background:rgba(25,29,32,.52)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 26px}.dialog-heading>.icon-button{border:0;min-height:38px;height:38px;width:38px}.preview-dialog{width:min(900px,94vw)}.dialog-heading .filename{font:12px var(--sans);color:var(--muted);margin:0 0 4px}.preview-dialog h2{font-size:26px}.large-preview{height:min(61vh,600px);margin:0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:center;align-items:center}.large-preview canvas{width:100%;height:100%;object-fit:contain}.preview-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 26px}.preview-bottom>span{font-size:13px;color:var(--muted)}.login-dialog{width:440px;max-width:94vw;padding:0 30px 30px}.login-dialog .dialog-heading{padding:20px 0 22px}.dialog-brand{font:23px var(--serif)}.login-intro{color:var(--muted);margin:10px 0 23px}.login-dialog form{display:flex;flex-direction:column}.login-dialog label{font-size:13px;font-weight:600;margin:0 0 6px}.login-dialog input{width:100%;padding:0 12px;margin-bottom:17px}.login-dialog form .primary{margin-top:5px}.login-note{color:var(--muted);font-size:12px;margin:14px 0 0}.login-status{padding:14px;background:#f6f0f1;border-left:3px solid var(--wine);font-size:14px;margin-top:18px}.loading-canvas{opacity:.3}@media(min-width:1500px){.image-open{aspect-ratio:1.13}}@media(max-width:1100px){.toolbar{gap:15px;flex-wrap:wrap}.search{flex-basis:55%}.sort select{width:170px}.view-controls{margin-left:auto}.gallery{gap:20px}.gallery.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.image-open{aspect-ratio:.95}}@media(max-width:700px){.header-inner{min-height:86px;padding:16px 20px;gap:10px}.brand>span{font-size:24px}.brand small{font-size:14px;padding-left:38px}.brand small:before{width:29px;top:7px}nav{gap:3px}.selection-button{width:40px;padding:0}.selection-button>span:not(#selection-count){display:none}.selection-button #selection-count{position:absolute;margin-left:30px;margin-top:-30px}.primary{padding:0 12px;font-size:12px;gap:7px}.primary svg{width:17px;height:17px}main{padding:23px 20px 28px}h1{font-size:30px;margin-bottom:20px}.toolbar{gap:14px;margin-bottom:17px}.search{flex-basis:100%}.sort{font-size:12px;gap:8px}.sort select{width:140px;height:42px;font-size:12px}.view-controls{gap:5px}.view-controls .icon-button{width:36px;min-height:40px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}.gallery.compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px}.gallery.compact .image-caption{flex-wrap:wrap;padding-top:4px}.gallery.compact .item-title{font-size:14px}.gallery.compact .item-actions{margin-left:auto;gap:3px}.item-title{font-size:15px}.item-actions{gap:3px}.item-actions label{width:22px}.download-button{width:26px}.image-open{aspect-ratio:.85}footer{padding:14px 20px}footer>span{font-size:13px}footer .text-button{font-size:12px}.results-heading .text-button{font-size:17px}.results-heading>span{font-size:12px}.preview-bottom{flex-wrap:wrap}.preview-bottom>span{font-size:12px}.login-dialog{padding:0 22px 24px}.dialog-heading{padding:18px}.large-preview{margin:0 18px}.preview-dialog h2{font-size:23px}.preview-bottom{padding:18px}.large-preview{height:52vh}}
@media(prefers-reduced-motion:no-preference){button{transition:background .14s,color .14s}dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.customer-greeting{max-width:240px;overflow-wrap:anywhere;font-size:14px;font-weight:600;color:var(--ink)}
.maintenance-settings{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:14px 28px;border-top:1px solid #dce0e3;border-bottom:1px solid #dce0e3;font-size:14px}
.maintenance-settings label{display:flex;align-items:center;gap:10px;font-weight:700}
.maintenance-settings input{width:20px;height:20px;margin:0;accent-color:#1976b9}
.maintenance-settings a{color:#1376b5}
.download-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;font-size:14px}
body:not(.customer-signed-in) :is(.download-toolbar,.download-instructions,.item-actions,#preview-download){display:none}
.download-instructions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px 28px;padding-bottom:16px;margin-top:-6px;font-size:15px;line-height:1.5}
.download-instructions>span{display:flex;align-items:flex-start;gap:8px;max-width:100%;min-width:0}
.download-instructions svg{width:20px;height:20px;margin-top:2px}
.gallery .image-caption{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:0;padding-top:6px}
.gallery .image-caption .item-title{width:100%;font:700 20px/1.3 var(--sans);text-align:center;justify-content:center;min-height:42px;overflow-wrap:anywhere}
.gallery .image-caption .item-actions{justify-content:center;margin:0}
.gallery.list .image-item{gap:16px;padding:5px 0}
.gallery.list .image-open{width:64px;height:64px;aspect-ratio:1}
.gallery.list .image-caption{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:0;min-width:0;min-height:44px}
.gallery.list .image-caption .item-title{flex:0 1 120px;width:auto;min-width:0;min-height:44px;font-size:18px;text-align:left;justify-content:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.gallery.list .image-caption .item-actions{gap:10px;flex-shrink:0;justify-content:flex-start}
.gallery .download-button{border-radius:3px}
.gallery .download-button:hover,.gallery .download-button:focus-visible{background:#e3eff8;color:#075e9b;outline:1px solid #83b4d6;outline-offset:1px}
.gallery .item-actions label{border-radius:3px}
.gallery .item-actions label:hover,.gallery .item-actions label:focus-within{background:#e3eff8;outline:1px solid #83b4d6;outline-offset:1px}
@media(max-width:700px){.gallery.compact .image-caption .item-title{font-size:18px}}
.download-login-banner{display:flex;align-items:center;justify-content:center;background:#eef4f7;border-top:1px solid #d7e3eb;border-bottom:1px solid #d7e3eb;padding:16px;margin-bottom:18px;font-size:20px;font-weight:700;text-align:center}
.download-login-banner>span{min-width:0;overflow-wrap:anywhere}
body:has(#staff-bar:not([hidden])) #download-login-banner{display:none}
#download-selected{min-width:195px}
#download-selected:disabled{background:#e2e5e8;color:#767c82;cursor:not-allowed}
#bulk-download-status{color:var(--muted);overflow-wrap:anywhere;flex:1;min-width:180px}
#customer-login-icon,#customer-logout-icon{display:inline-flex;align-items:center}
.header-inner>nav{flex-wrap:wrap;justify-content:flex-end;min-width:0}
body:has(#staff-bar:not([hidden])) #customer-greeting{display:none}
@media(max-width:600px){.customer-greeting{flex-basis:100%;max-width:100%;text-align:right}}

.watermark-note{margin:0 0 20px;padding:12px 16px;border-left:4px solid var(--wine);background:#f7f3f4;line-height:1.5;color:var(--ink)}
.watermark-note strong{display:block;font-size:18px;font-weight:700}
.watermark-note span{display:block;font-size:14px;margin-top:2px}
.preview-watermark-note{margin:14px 18px 0}
