/* Approved October 2026 gallery design. Presentation shared by both brands. */
body[data-gallery-surface]{--gd-ink:#262b27;--gd-muted:#686e66;--gd-paper:#fff;--gd-canvas:#f6f6f2;--gd-line:#dedfd7;--gd-accent:#48654e;--gd-tint:#e8eee6;--pg-ink:var(--gd-ink);--pg-muted:var(--gd-muted);--pg-line:var(--gd-line);--pg-soft:var(--gd-canvas);--pg-accent:var(--gd-accent);--pg-accent-soft:var(--gd-tint);color:var(--gd-ink);background:var(--gd-canvas);-webkit-font-smoothing:antialiased}
body[data-brand=astral]{--gd-ink:#302b27;--gd-accent:#685647;--gd-tint:#f0e8df;--gd-canvas:#f8f5f1}
body[data-gallery-surface] ::selection{background:var(--gd-tint);color:var(--gd-ink)}
body[data-gallery-surface] :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--gd-accent);outline-offset:3px}
body[data-gallery-surface] input{caret-color:var(--gd-accent)}
body[data-gallery-surface] input::placeholder{color:var(--gd-muted)}
body[data-gallery-surface] button:disabled{opacity:.55;cursor:not-allowed}
body[data-gallery-surface] :is(.btn-primary,.btn-b,.btn-g,.btn-login){background:var(--gd-ink)!important;color:#fff!important;border-color:var(--gd-ink)!important;box-shadow:none!important}
body[data-gallery-surface] :is(.btn-primary,.btn-b,.btn-g,.btn-login):hover{background:var(--gd-accent)!important;border-color:var(--gd-accent)!important;transform:none!important}
body[data-gallery-surface] :is(.btn,.btn-primary,.btn-secondary,.btn-login){min-height:44px;border-radius:5px!important;letter-spacing:0!important;text-transform:none!important}
body[data-gallery-surface] :is(.btn-l,.btn-secondary){border-color:var(--gd-line)!important;background:white!important;box-shadow:none!important}
body[data-gallery-surface] :is(.modal,.mdl){border-radius:10px!important;border:0!important;box-shadow:0 18px 65px #20281f26}
body[data-gallery-surface] :is(.modal input,.mdl input,.modal select,.mdl select){border-color:var(--gd-line);border-radius:4px}
body[data-gallery-surface=admin] .sidebar{width:225px;background:white;border-right:1px solid var(--gd-line)!important}
body[data-gallery-surface=admin] .main{margin-left:225px;background:var(--gd-canvas)}
body[data-gallery-surface=admin] .sidebar-logo{padding:34px 32px!important;border-bottom:0!important}
body[data-gallery-surface=admin] :is(.sidebar-logo-mark,.login-logo-mark){display:none!important}
body[data-gallery-surface=admin] .sidebar-logo-text strong{font-family:Georgia,serif;font-size:29px;font-weight:400;letter-spacing:-.03em}
body[data-gallery-surface=admin] .sidebar-logo-text small{font-family:Georgia,serif;font-size:11px;letter-spacing:.23em;color:var(--gd-ink)}
body[data-gallery-surface=admin] .sidebar-nav{padding:0 20px!important}
body[data-gallery-surface=admin] .nav-item{padding:13px 14px!important;min-height:44px;border-radius:5px!important;color:var(--gd-muted);font-size:14px;margin:3px 0!important}
body[data-gallery-surface=admin] .nav-item:hover{transform:none}
body[data-gallery-surface=admin] .sidebar-footer{padding:22px 26px;font-size:12px;color:var(--gd-muted)}
body[data-gallery-surface=admin] .topbar{padding:18px 40px!important;min-height:75px;background:white;box-shadow:none}
body[data-gallery-surface=admin] .topbar h2{font-size:14px!important;font-weight:500;color:var(--gd-muted)}
body[data-gallery-surface=admin] .content{padding:40px!important}
.studio-heading{margin-bottom:34px}
.studio-heading h1{font-size:34px;line-height:1.15;font-weight:500;letter-spacing:-.03em}
.studio-heading p{font-size:14px;line-height:1.6;margin-top:10px;color:var(--gd-muted)}
body[data-gallery-surface=admin] .filters{gap:12px!important;padding-bottom:22px;margin-bottom:28px!important;border-bottom:1px solid var(--gd-line)}
body[data-gallery-surface=admin] :is(.filter-select,.search-field){min-height:44px;border-radius:5px!important;border-color:var(--gd-line)!important;font-size:13px}
body[data-gallery-surface=admin] .collections-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px 25px!important}
body[data-gallery-surface=admin] .collection-thumb{height:auto!important;aspect-ratio:1.43;border-radius:4px!important}
body[data-gallery-surface=admin] .collection-info{padding:14px 0 0!important}
body[data-gallery-surface=admin] .collection-info h3{font-size:16px!important;font-weight:550!important;line-height:1.4!important}
body[data-gallery-surface=admin] .collection-info p{font-size:12px!important;color:var(--gd-muted)!important}
body[data-gallery-surface=admin] .collection-badge{background:white!important;color:var(--gd-ink)!important;border:1px solid var(--gd-line)!important;border-radius:4px!important;font-size:11px!important;text-transform:none!important;backdrop-filter:none;padding:5px 8px!important}
body[data-gallery-surface=admin] .card-menu-toggle{width:44px!important;height:44px!important;border-radius:4px!important;background:#ffffffee!important;color:var(--gd-ink)!important}
body[data-gallery-surface=admin] .card-menu{width:176px!important;top:50px!important;padding:6px!important;gap:2px!important;border:0!important;border-radius:8px!important;box-shadow:0 12px 32px #20281f26!important}
body[data-gallery-surface=admin] .card-menu .card-action{height:auto;min-height:44px!important;padding:0 12px!important;gap:10px!important;border:0;border-radius:4px!important;font-size:13px!important;box-shadow:none!important}
body[data-gallery-surface=admin] .card-menu .card-action span{display:inline}
body[data-gallery-surface=admin] .card-menu .card-action svg{width:18px;height:18px;stroke-width:1.6;flex-shrink:0}
body[data-gallery-surface=admin] .card-menu .card-action.danger{border-top:1px solid var(--gd-line);margin-top:4px}
body[data-gallery-surface=admin] .login-wrap{background:var(--gd-canvas)}
body[data-gallery-surface=admin] .login-box{border-radius:10px;box-shadow:0 18px 65px #20281f1a;padding:42px}
body[data-gallery-surface=admin] .login-logo h1{font-size:29px}
body[data-gallery-surface=editor] .hdr{padding:18px 30px;min-height:75px;gap:14px;background:white}
body[data-gallery-surface=editor] .hdr h1{font-size:17px}
body[data-gallery-surface=editor] .hdr .badge{background:var(--gd-tint);color:var(--gd-accent);font-size:11px;text-transform:none;border-radius:4px}
body[data-gallery-surface=editor] .side{width:260px;padding:24px;background:white}
body[data-gallery-surface=editor] .cv{aspect-ratio:1.3;border-radius:4px!important;margin-bottom:15px}
body[data-gallery-surface=editor] .cover-tools{gap:8px}
body[data-gallery-surface=editor] .cover-tools .btn{font-size:12px}
body[data-gallery-surface=editor] .sct{font-size:12px;text-transform:none;letter-spacing:0;padding-top:22px;margin-top:23px;border-top:1px solid var(--gd-line)}
body[data-gallery-surface=editor] .sr{padding:12px 10px;min-height:44px;border-radius:4px!important}
body[data-gallery-surface=editor] .sr .ct{color:var(--gd-muted)}
body[data-gallery-surface=editor] .mn{background:var(--gd-canvas);padding:35px 35px 65px}
body[data-gallery-surface=editor] .mh{align-items:flex-start;gap:20px;margin-bottom:25px;flex-wrap:wrap}
body[data-gallery-surface=editor] .mh h2{font-size:29px;font-weight:500;letter-spacing:-.03em}
body[data-gallery-surface=editor] .mh>div{flex-wrap:wrap;justify-content:flex-end}
body[data-gallery-surface=editor] .mh .info{font-size:12px;color:var(--gd-muted)}
body[data-gallery-surface=editor] .gd{--editor-cols:4!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body[data-gallery-surface=editor] .pc{aspect-ratio:.85;border-radius:3px!important}
body[data-gallery-surface=editor] .pc:hover{transform:none}
body[data-gallery-surface=editor] .pc .cv2{font-size:11px;border-radius:3px!important;background:white!important;color:var(--gd-ink)!important;text-transform:none;letter-spacing:0}
body[data-gallery-surface=editor] .bulkbar{background:white;border:1px solid var(--gd-line);border-radius:5px;padding:14px}
body[data-gallery-surface=editor] .linked-box{color:var(--gd-muted)}
body[data-gallery-surface=client]{background:var(--gd-canvas);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body[data-gallery-surface=client] .topbar{position:static;display:flex!important;align-items:center;justify-content:flex-end;min-height:44px;padding:0;margin-left:auto;background:transparent;pointer-events:auto;border:0;backdrop-filter:none}
.delivery-wordmark,.access-wordmark{font-family:Georgia,serif;font-size:26px;line-height:1.15;letter-spacing:-.03em;color:var(--gd-ink)}
.delivery-wordmark span,.access-wordmark span{display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;margin-top:5px}
body[data-gallery-surface=client] .topbar .actions{background:none;box-shadow:none;backdrop-filter:none;padding:0;gap:8px}
body[data-gallery-surface=client] .icon-btn{width:44px;height:44px;border-radius:5px;border:1px solid var(--gd-line);color:var(--gd-ink)}
body[data-gallery-surface=client] .hero{display:flex;flex-direction:column;height:auto;min-height:0;padding:28px 5% 0;max-width:1500px;margin:auto;overflow:hidden;background:var(--gd-canvas)}
body[data-gallery-surface=client] .hero-img{position:relative;inset:auto;display:block;width:100%;height:clamp(360px,38vw,560px);object-fit:cover;border-radius:3px}
body[data-gallery-surface=client] .hero-overlay{display:none}
body[data-gallery-surface=client] .hero-content{position:relative;inset:auto;min-width:0;min-height:0;padding:28px 0 32px;gap:12px;color:var(--gd-ink);text-align:center}
body[data-gallery-surface=client] .hero-content h1{font-family:Georgia,serif;font-size:clamp(32px,3.6vw,52px);font-weight:400;line-height:1.15;letter-spacing:-.03em;text-shadow:none;max-width:100%;text-wrap:balance;overflow-wrap:anywhere;margin:0}
body[data-gallery-surface=client] .hero-content .date{font-size:12px;color:var(--gd-muted);letter-spacing:0;text-transform:none;opacity:1;margin-bottom:0}
.hero-dedication{font-family:Georgia,serif;font-size:19px;line-height:1.6;margin:30px 0 36px;max-width:300px}
body[data-gallery-surface=client] .btn-view{color:var(--gd-ink);border-color:#a6aa9e;background:none;backdrop-filter:none;border-radius:5px;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;width:auto;min-width:210px;min-height:46px;padding:13px 22px}
body[data-gallery-surface=client] .btn-view:hover{background:var(--gd-tint)}
body[data-gallery-surface=client] .hero-download{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-top:10px;background:var(--gd-ink);color:white;border-color:var(--gd-ink);font-size:13px;min-height:46px}
body[data-gallery-surface=client] .hero-download:hover{background:var(--gd-accent);border-color:var(--gd-accent)}
body[data-gallery-surface=client] .hero-download svg{width:19px;height:19px;flex-shrink:0}
body[data-gallery-surface=client] .hero-brand{display:none}
body[data-gallery-surface=client] #loading-msg{position:static!important;transform:none!important;color:var(--gd-muted)!important;font-size:12px!important;margin-top:16px}
body[data-gallery-surface=client] .sets-nav{background:var(--gd-canvas);backdrop-filter:none;padding:16px 5%;border-bottom:1px solid var(--gd-line);box-shadow:none;scrollbar-width:thin}
body[data-gallery-surface=client] .sets-nav a{min-height:44px;font-size:13px;padding:11px 12px;border-radius:0;scroll-snap-align:start;border-bottom:2px solid transparent}
body[data-gallery-surface=client] .sets-nav a.active{background:none;color:var(--gd-accent);border-bottom-color:var(--gd-accent)}
body[data-gallery-surface=client] .toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;background:var(--gd-canvas);backdrop-filter:none;border:0;padding:22px 5% 0}
body[data-gallery-surface=client] .toolbar-info{display:block;color:var(--gd-muted)}
body[data-gallery-surface=client] .set-section{padding:0 5% 50px;scroll-margin-top:95px}
body[data-gallery-surface=client] .set-header{padding:32px 0 26px}
body[data-gallery-surface=client] .set-header h2{font-family:Georgia,serif;font-size:34px;letter-spacing:-.02em;color:var(--gd-ink)}
body[data-gallery-surface=client] .set-header .count{color:var(--gd-muted)}
body[data-gallery-surface=client] .masonry{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0}
body[data-gallery-surface=client] .masonry.video-grid{grid-template-columns:minmax(0,960px)}
body[data-gallery-surface=client] .masonry-item:hover img{transform:none}
body[data-gallery-surface=client] .masonry-item .photo-actions{gap:8px}
body[data-gallery-surface=client] .photo-btn{min-width:38px;min-height:38px;background:#fffffff2;color:var(--gd-ink)}
.gallery-access{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background-color:#fbfaf6;background-size:0 0;background-repeat:no-repeat;color:var(--gd-ink)}
.access-photo{background-image:inherit;background-position:inherit;background-size:cover;min-height:100dvh}
.access-copy{padding:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.access-wordmark{margin-bottom:45px}
.access-copy h1{font-family:Georgia,serif;font-size:clamp(30px,3.2vw,48px);font-weight:400;line-height:1.2;letter-spacing:-.02em;text-wrap:balance;overflow-wrap:anywhere;margin-bottom:18px;max-width:100%}
.access-date{font-size:12px;color:var(--gd-muted);margin-bottom:28px}
.access-form-wrap{width:100%;max-width:340px}
#role-step p{font-size:14px;line-height:1.7;color:var(--gd-muted);margin-bottom:24px}
.access-button{display:block;width:100%;min-height:46px;background:var(--gd-ink);color:white;border:1px solid var(--gd-ink);border-radius:5px;padding:14px 18px;font:500 13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin-top:12px}
.access-button:hover{background:var(--gd-accent);border-color:var(--gd-accent)}
.access-button.secondary{background:transparent;color:var(--gd-ink);border-color:var(--gd-line)}
.access-back{min-height:44px;font-size:12px;color:var(--gd-muted);text-decoration:underline;text-underline-offset:4px;margin-bottom:12px}
#pin-form h2{font-size:20px;font-weight:500;margin-bottom:22px}
#pin-form label{display:block;font-size:12px;text-align:left;margin:16px 0 8px}
#pin-form input:not([type=hidden]){width:100%;min-height:46px;border:1px solid var(--gd-line);background:white;color:var(--gd-ink);border-radius:4px;padding:13px;font-size:16px}
#pin-form details{font-size:12px;text-align:left;line-height:1.7;color:var(--gd-muted);margin:18px 0}
#pin-form summary{min-height:44px;cursor:pointer;padding:12px 0}
#pin-form details p{padding:12px;background:var(--gd-tint)}
#pin-error{color:#98392f;font-size:13px;line-height:1.7;margin-top:15px}
@media(min-width:1650px){body[data-gallery-surface=admin] .collections-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){body[data-gallery-surface=admin] .collections-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-gallery-surface=editor] .gd{--editor-cols:3!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-gallery-surface=editor] .mh>div{justify-content:flex-start}}
@media(max-width:900px){body[data-gallery-surface=admin] .main{margin-left:0}body[data-gallery-surface=admin] .sidebar{width:100%;position:relative!important;padding-top:var(--mobile-safe-top)}body[data-gallery-surface=admin] .sidebar-logo{display:block!important;padding:20px 20px 12px!important}body[data-gallery-surface=admin] .sidebar-nav{padding:0 10px 12px!important}body[data-gallery-surface=admin] .sidebar-logo-text small{display:inline-block;margin-left:8px}body[data-gallery-surface=admin] .topbar{position:relative!important;top:auto!important;padding:15px 20px!important;gap:12px;flex-wrap:wrap}body[data-gallery-surface=admin] .content{padding:28px 20px!important}.studio-heading h1{font-size:28px}.studio-heading{margin-bottom:24px}.studio-heading p{font-size:12px}body[data-gallery-surface=admin] .mobile-collection-tools{display:none!important}body[data-gallery-surface=admin] .filters{display:flex!important;position:static!important;transform:none!important;max-height:none!important;width:100%!important;padding:0 0 20px!important;flex-wrap:wrap;border:0!important;border-bottom:1px solid var(--gd-line)!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}.mobile-filter-head{display:none!important}body[data-gallery-surface=admin] .filter-select{flex:1 1 140px;min-width:0}body[data-gallery-surface=admin] .search-field{flex:1 1 100%;width:100%}body[data-gallery-surface=admin] .collection-info h3{font-size:14px!important}body[data-gallery-surface=admin] .collection-info p{font-size:11px!important}body[data-gallery-surface=admin] .collection-thumb{aspect-ratio:.92}body[data-gallery-surface=admin] .collections-grid{gap:24px 14px!important}body[data-gallery-surface=editor] .hdr{padding:12px 20px!important;gap:10px!important}body[data-gallery-surface=editor] .hdr h1{font-size:15px!important}body[data-gallery-surface=editor] .hdr .badge{font-size:11px!important;max-width:100px!important}body[data-gallery-surface=editor] .side{width:100%!important;padding:20px!important;gap:12px!important;grid-template-columns:70px minmax(0,1fr)!important}body[data-gallery-surface=editor] .cv{width:70px!important;height:80px!important;margin:0!important}body[data-gallery-surface=editor] .sct{border:0;margin:0;padding:0}body[data-gallery-surface=editor] .mn{padding:25px 20px 50px!important}body[data-gallery-surface=editor] .mh h2{font-size:27px!important}body[data-gallery-surface=editor] .mh>div{margin-top:14px;gap:8px!important}body[data-gallery-surface=editor] .pc{content-visibility:auto}body[data-gallery-surface=editor] .sr{border-radius:4px!important;min-height:44px!important}body[data-gallery-surface=editor] .bulkbar.show{top:110px}.premium-mobile-action{border-radius:5px;font-size:12px}}
@media(max-width:768px){.delivery-wordmark{font-size:24px}body[data-gallery-surface=client] .hero{padding:22px 20px 0}body[data-gallery-surface=client] .hero-img{height:auto;aspect-ratio:3/4}body[data-gallery-surface=client] .hero-content{padding:25px 0 30px;gap:14px}body[data-gallery-surface=client] .hero-content h1{font-size:35px}
body[data-gallery-surface=client] .hero-download{width:100%;max-width:320px;margin-top:5px}.hero-dedication{font-size:17px;margin:22px 0 26px}body[data-gallery-surface=client] .sets-nav{padding:10px 15px}body[data-gallery-surface=client] .sets-nav a{font-size:12px}body[data-gallery-surface=client] .toolbar{padding:20px 15px 0}body[data-gallery-surface=client] .set-section{padding:0 15px 40px}body[data-gallery-surface=client] .set-header h2{font-size:29px}body[data-gallery-surface=client] .masonry:not(.video-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body[data-gallery-surface=client] .masonry-item .photo-actions{display:flex!important;position:absolute;bottom:8px;right:8px;padding:0;gap:6px;opacity:1}.gallery-access{display:block;min-height:100dvh}.access-photo{min-height:0;height:300px}.access-copy{padding:35px 25px 50px}.access-wordmark{margin-bottom:30px}.access-copy h1{font-size:35px}.access-date{margin-bottom:20px}}
@media(max-width:700px){body[data-gallery-surface=editor] .gd{--editor-cols:2!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-gallery-surface=admin] .collection-badge{font-size:11px!important;padding:4px 6px!important}body[data-gallery-surface=admin] .collection-info{padding-top:10px!important}}
@media(prefers-reduced-motion:reduce){body[data-gallery-surface] *,body[data-gallery-surface] *::before,body[data-gallery-surface] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep existing mobile tools available within the approved layout. */
body[data-gallery-surface=admin] .sidebar{width:225px!important}
body[data-gallery-surface=admin] .main{margin-left:225px!important}
body[data-gallery-surface=editor] .side{width:260px!important;padding:24px!important}
body[data-gallery-surface=editor] .mn{padding:35px 35px 65px!important}
body[data-gallery-surface=client] .sets-nav{top:0}
body[data-gallery-surface=client] .set-section{scroll-margin-top:95px}
body[data-gallery-surface=client] .masonry-item .overlay{display:flex!important;opacity:1;pointer-events:none;background:none;justify-content:flex-end;align-items:flex-end;padding:12px}
body[data-gallery-surface=client] .photo-actions{pointer-events:auto}
@media(max-width:900px){body[data-gallery-surface=admin] .sidebar{width:100%!important}body[data-gallery-surface=admin] .main{margin-left:0!important}body[data-gallery-surface=admin] .filters{visibility:visible!important}body[data-gallery-surface=editor] .side{width:100%!important;padding:20px!important}body[data-gallery-surface=editor] .mn{padding:25px 20px 50px!important}body[data-gallery-surface=editor] .side>div:not(.cover-tools):not(.linked-box){grid-column:1/-1!important;grid-row:auto!important;overflow:visible!important}}
@media(max-width:768px){body[data-gallery-surface=client] .sets-nav{top:0}body[data-gallery-surface=client] .masonry-item .overlay{padding:8px}.photo-actions .photo-btn.client-action{font-size:11px}}

body[data-gallery-surface=client] .toolbar{position:static}
body[data-gallery-surface=admin] .sidebar-logo-text strong{font-size:29px!important;font-weight:400!important}
body[data-gallery-surface=client] .topbar .actions{flex-direction:row!important}
@media(max-width:900px){body[data-gallery-surface=admin] .sidebar-logo-text strong{font-size:24px!important}body[data-gallery-surface=admin] .sidebar-logo-text small{font-size:11px!important}}

@media(max-width:700px){body[data-gallery-surface=admin] .card-menu{width:144px!important}}
