:root{color-scheme:light;--paper:#fafafa;--surface:#fff;--ink:#202322;--muted:#727875;--line:#e4e8e5;--accent:#176852;--accent-soft:#edf5f0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;padding-top:76px}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}a{color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #299a85;outline-offset:5px}[hidden]{display:none!important}::selection{background:#d1e9de}
.skip-link{position:fixed;left:1rem;top:1rem;z-index:101;padding:1rem;background:var(--ink);color:#fff;transform:translateY(-200%)}.skip-link:focus{transform:none}


.studio-shell{width:min(1520px,100%);margin:0 auto;padding:42px clamp(1.25rem,4vw,5rem) 24px}.workspace-context{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:36px}.eyebrow{font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:var(--muted);margin:0}.private-label{font-size:.75rem;color:#5c6861;display:flex;align-items:center;gap:.5rem}.private-label>span{font-size:.6rem;color:#4c876c}
.collections-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-bottom:35px}.collections-header h1{font-size:clamp(2rem,3.3vw,3rem);line-height:1.2;letter-spacing:-.055em;font-weight:700;margin:0;display:flex;align-items:center;gap:.85rem}.collection-count{font-size:.875rem;letter-spacing:0;background:#ecefec;border:1px solid var(--line);border-radius:8px;min-width:30px;height:30px;display:inline-flex;justify-content:center;align-items:center;font-weight:500;color:#727b75}.collections-header p{font-size:1rem;margin:12px 0 0;color:var(--muted);line-height:1.7}.button{display:inline-flex;justify-content:center;align-items:center;gap:.7rem;min-height:48px;padding:.8rem 1.25rem;background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:6px;text-decoration:none;font-size:.875rem;font-weight:700}.button:disabled{background:#e8eee9;border-color:#dce5de;color:#708276}.button>span{font-size:1.3rem;font-weight:400;line-height:1}.create-action{text-align:right}.create-action p{font-size:.75rem;margin-top:8px}
.collections-toolbar{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:54px;margin-bottom:26px}.active-view{align-self:stretch;display:flex;align-items:center;gap:.6rem;font-size:.875rem;font-weight:700;border-bottom:2px solid var(--accent);margin-bottom:-1px}.active-view>span{font-size:.75rem;color:var(--muted);font-weight:500}.collection-privacy{font-size:.8125rem;color:var(--muted)}
.empty-collections{min-height:390px;min-height:clamp(340px,46vh,560px);background:var(--surface);border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px 24px}.collection-symbol{color:#5b846f;width:76px;height:76px;background:#f2f6f2;border:1px solid #e6eee6;border-radius:20px;display:grid;place-items:center;margin-bottom:28px}.empty-collections .eyebrow{font-size:.75rem;letter-spacing:.17em;color:#829087}.empty-collections h2{font-size:clamp(1.65rem,2.4vw,2.15rem);font-weight:600;letter-spacing:-.055em;line-height:1.3;margin:12px 0}.empty-collections>p:last-child{font-size:.9375rem;line-height:1.8;max-width:330px;margin:0;color:var(--muted)}
.studio-footer{display:flex;justify-content:space-between;gap:1rem;padding-top:26px;font-size:.75rem;color:#808984}.studio-footer>span:first-child{font-weight:700;letter-spacing:.02em}.access-state{min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.access-state h1{font-size:clamp(1.8rem,4vw,2.5rem);letter-spacing:-.05em;margin:12px 0}.access-state>p:not(.eyebrow){color:var(--muted);line-height:1.7;max-width:420px}.access-state .button{margin-top:16px}.access-indicator{width:25px;height:25px;border:2px solid #dce9e0;border-top-color:var(--accent);border-radius:50%;animation:turn 1s linear infinite;margin-bottom:24px}.noscript-message{padding:1rem;text-align:center}#studio-workspace{animation:appear .25s ease-out}@keyframes turn{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:640px){.studio-shell{padding-top:26px}.workspace-context{margin-bottom:30px}.collections-header{align-items:flex-start;flex-direction:column;gap:22px;padding-bottom:24px}.create-action{text-align:left}.collections-toolbar{margin-bottom:18px}.empty-collections{min-height:340px}.studio-footer{flex-wrap:wrap}.collection-privacy{font-size:.75rem}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){body{padding-top:68px}}

.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}.collection-card{min-width:0}.collection-cover{aspect-ratio:4/3;border-radius:6px;background:#eef1ee;border:1px solid var(--line);display:grid;place-items:center;color:#7e9185}.collection-cover svg{width:40px;height:40px}.collection-card h2{font-size:1rem;font-weight:700;line-height:1.5;overflow-wrap:anywhere;margin:14px 0 6px}.collection-card p{font-size:.8125rem;color:var(--muted);margin:0;line-height:1.7}.collection-card .collection-badge{display:inline-block;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-top:8px}.collections-status{font-size:.875rem;color:var(--muted);line-height:1.6}.collections-status:empty{display:none}.collection-dialog{width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);background:var(--surface);max-height:90dvh;overflow:auto}.collection-dialog::backdrop{background:rgba(15,23,18,.4);backdrop-filter:blur(3px)}.collection-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:28px}.collection-dialog h2{font-size:1.6rem;letter-spacing:-.04em;margin:8px 0 0}.dialog-close{background:none;border:0;font:inherit;font-size:1.6rem;cursor:pointer;min-width:40px;min-height:40px}.collection-dialog label{display:block;font-size:.875rem;font-weight:700;margin:18px 0 8px}.collection-dialog label span{font-weight:400;color:var(--muted)}.collection-dialog input{width:100%;min-width:0;min-height:48px;border:1px solid #ccd5ce;border-radius:5px;padding:10px 12px;font:inherit;font-size:1rem;background:#fff;color:var(--ink)}.collection-dialog input:focus{outline:2px solid var(--accent);outline-offset:2px}.dialog-note{font-size:.8125rem;color:var(--muted);margin-top:20px}.collection-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-cancel{background:#fff;color:var(--ink);border-color:var(--line)}#collection-error{font-size:.875rem;color:#a12626;line-height:1.5}#collection-error:empty{display:none}@media(max-width:1100px){.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}@media(max-width:420px){.collection-grid{grid-template-columns:1fr}.collection-dialog{padding:22px}}

.client-lookup{display:flex;gap:8px}.client-lookup input{flex:1}.client-lookup button{flex-shrink:0}.collection-dialog select{width:100%;min-height:48px;padding:10px;border:1px solid #ccd5ce;border-radius:5px;font:inherit;background:white;color:var(--ink)}@media(max-width:420px){.client-lookup{flex-direction:column}}

.collection-open{padding:0;border:0;background:transparent;color:inherit;text-align:left;width:100%;cursor:pointer;font:inherit}.collection-open .collection-cover{transition:background .2s}.collection-open:hover .collection-cover{background:#e4eae5}.collection-open .collection-cover img{width:100%;height:100%;object-fit:cover;border-radius:5px}.album-topline,.album-header,.album-divider{display:flex;align-items:center;justify-content:space-between;gap:1rem}.album-topline{margin-bottom:34px}.text-button{border:0;background:none;font:inherit;font-size:.875rem;font-weight:600;color:var(--ink);cursor:pointer;min-height:44px;padding:8px}.text-button:hover{color:var(--accent)}.album-header h1{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.2;letter-spacing:-.045em;margin:0;overflow-wrap:anywhere}.album-header p{font-size:.875rem;color:var(--muted)}.photo-drop span,.album-divider{border-top:1px solid var(--line);padding:18px 0;font-size:.8125rem;color:var(--muted)}.photo-grid{columns:4;column-gap:12px}.photo-tile{display:block;width:100%;padding:0;margin:0 0 12px;border:0;background:#edf0ed;cursor:pointer;break-inside:avoid;overflow:hidden;border-radius:3px;position:relative}.photo-tile img{display:block;width:100%;height:auto}.photo-tile:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.photo-tile .photo-name{position:absolute;bottom:0;left:0;right:0;padding:20px 10px 9px;background:linear-gradient(transparent,rgba(0,0,0,.55));color:white;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0}.photo-tile:hover .photo-name,.photo-tile:focus-visible .photo-name{opacity:1}.upload-queue{display:grid;gap:8px;margin:18px 0}.upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px 16px;background:white;border:1px solid var(--line);border-radius:6px}.upload-row strong{font-size:.8125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-row small{grid-column:1;font-size:.75rem;color:var(--muted)}.upload-row progress{width:100%;height:5px;grid-column:1;accent-color:var(--accent)}.upload-row button{grid-column:2;grid-row:1/4;align-self:center}.photo-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;margin:0;padding:0;background:#fff;color:var(--ink)}.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.photo-viewer::backdrop{background:#fff}.photo-viewer>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:14px 24px;border-bottom:1px solid #f0f1ef}.viewer-brand{font-weight:800;letter-spacing:.16em;font-size:.8125rem}.viewer-brand b{font-size:.75rem;font-weight:500;letter-spacing:.04em;margin-left:10px}.viewer-canvas{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px 76px}.viewer-canvas>img{max-width:100%;max-height:100%;object-fit:contain;display:block}.viewer-arrow{position:absolute;top:calc(50% - 25px);border:0;background:#fff;font-size:2.5rem;font-weight:300;width:48px;height:50px;cursor:pointer;color:#525d56}.viewer-arrow:disabled{opacity:.2;cursor:default}.viewer-arrow.previous{left:12px}.viewer-arrow.next{right:12px}.photo-viewer>footer{text-align:center;padding:4px 20px 20px;color:var(--muted);font-size:.75rem}.photo-viewer>footer>span{display:block;line-height:1.8}.photo-viewer>footer>p{margin:4px}.photo-viewer>footer>p:empty{display:none}#load-more-photos{display:flex;margin:24px auto}body.viewer-open{overflow:hidden}
@media(min-width:1600px){.photo-grid{columns:5}}@media(max-width:1000px){.photo-grid{columns:3}}@media(max-width:640px){.photo-grid{columns:2;column-gap:8px}.photo-tile{margin-bottom:8px}.album-header{align-items:flex-start;flex-direction:column}.photo-viewer>header{padding:8px;gap:4px}.viewer-brand{display:none}.viewer-canvas{padding:12px 38px}.viewer-arrow{width:30px;font-size:2rem}.viewer-arrow.previous{left:2px}.viewer-arrow.next{right:2px}.photo-tile .photo-name{display:none}}

.album-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.client-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;background:#edf5f0;border:1px solid #d4e4da;border-radius:6px;font-size:.75rem;color:#416152;margin-bottom:32px}.client-gallery-brand,.client-welcome{display:none}body.client-preview{padding-top:0;background:#fff}body.client-preview>.product-app-header,body.client-preview .album-topline,body.client-preview .album-actions,body.client-preview #album-privacy,body.client-preview #upload-queue,body.client-preview #reload-photos,body.client-preview .studio-footer{display:none}body.client-preview .studio-shell{width:min(1800px,100%);padding-top:20px}body.client-preview .client-gallery-brand{display:flex;align-items:center;justify-content:center;gap:10px;font-size:.85rem;font-weight:800;letter-spacing:.18em;margin:42px 0 55px}body.client-preview .client-gallery-brand b{font-weight:400;letter-spacing:.04em}body.client-preview .client-welcome{display:block;text-align:center;text-transform:uppercase;letter-spacing:.2em;font-size:.7rem;color:var(--accent);margin:0 0 18px}body.client-preview .album-header{display:block;text-align:center;margin-bottom:55px}body.client-preview .album-header h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.5rem,6vw,5rem);letter-spacing:-.04em}body.client-preview .album-divider{justify-content:center}body.client-preview #photo-status{text-align:center}@media(max-width:640px){.album-actions{width:100%}.album-actions .button{flex:1}.client-preview-bar{padding:6px 10px;gap:8px}body.client-preview .client-gallery-brand{margin:30px 0 40px}body.client-preview .album-header{margin-bottom:35px}}

body.photo-dragging::after{content:"Drop photos to upload";position:fixed;inset:12px;z-index:1000;display:grid;place-items:center;border:2px dashed var(--accent);border-radius:12px;background:rgba(237,245,240,.92);color:var(--accent);font-size:clamp(1.3rem,3vw,2rem);font-weight:700;pointer-events:none}

.gallery-download-actions,.download-control{display:inline-flex;align-items:center;gap:8px}.download-control svg{flex-shrink:0}.download-control:disabled{opacity:.45;cursor:default}body.client-preview .album-divider{justify-content:space-between}.gallery-download-actions{flex-wrap:wrap;justify-content:flex-end}

.album-cover{width:100%;max-height:60vh;object-fit:contain;display:block;margin:20px auto 35px}.photo-admin-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:6px}.photo-viewer[open]{grid-template-rows:auto auto minmax(0,1fr) auto}body.client-preview .photo-admin-controls{display:none}body.client-preview .photo-viewer[open]{grid-template-rows:auto minmax(0,1fr) auto}#share-album-dialog>p{font-size:.875rem;line-height:1.6}#share-album-dialog .album-actions{margin-top:16px}body.guest-gallery .client-preview-bar{display:none!important}body.guest-gallery .client-gallery-brand{margin-top:24px}#share-album-status,#edit-album-error{font-size:.8125rem;line-height:1.5}#remove-photo{color:#a12626}@media(max-width:640px){.photo-admin-controls{gap:0}.photo-admin-controls .text-button{font-size:.75rem;padding:6px}.album-cover{max-height:45vh}}

.photo-drag-handle{position:absolute;top:8px;right:8px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:rgba(255,255,255,.92);color:var(--ink);font-size:25px;cursor:grab;touch-action:none;user-select:none}.photo-drag-handle:active{cursor:grabbing}.photo-tile.reorder-source{opacity:.4}.photo-tile.reorder-target{outline:3px solid var(--accent);outline-offset:-3px}.photo-tile.reorder-target::after{content:"Move here";position:absolute;inset:auto 8px 8px;padding:8px;background:var(--accent);color:white;border-radius:4px;font-size:13px}.client-preview .photo-drag-handle{display:none}.photo-grid[aria-busy="true"]{opacity:.65;pointer-events:none}

.delete-album{color:#ad302c;margin-right:auto}.delete-album:hover{color:#7d201e}

 .client-footer-brand{display:none}body.client-preview .studio-footer{display:flex;justify-content:center;padding:40px 0 12px}body.client-preview .owner-footer-brand,body.client-preview #studio-account{display:none}body.client-preview .client-footer-brand{display:flex;flex-direction:column;align-items:center;gap:12px}.client-footer-brand img{width:min(240px,65vw);height:auto}.photographer-caption{font-size:.65rem;letter-spacing:.15em;text-transform:uppercase;font-weight:400}
