/* VEYNOA photographer branding — intentionally quiet, image-first and customer-facing. */
:root{--brand-accent:var(--text-primary)}
.customer-brand-lockup{display:inline-flex;align-items:center;gap:11px;min-width:0;color:var(--text-primary)}
.customer-brand-lockup>img{width:auto;height:34px;max-width:118px;object-fit:contain;object-position:left center}
.customer-brand-copy{display:grid;gap:2px;min-width:0}
.customer-brand-copy strong{font:400 16px/1.05 var(--font-serif);letter-spacing:.035em;color:var(--text-primary);overflow-wrap:anywhere}
.customer-brand-copy small{font-size:8px;line-height:1.2;letter-spacing:.19em;text-transform:uppercase;color:var(--text-muted);overflow-wrap:anywhere}
.gallery-brand-lockup{margin:0 0 20px;padding-left:12px;position:relative}
.gallery-brand-lockup::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:2px;border-radius:2px;background:var(--brand-accent);opacity:.72}
.gallery-brand-byline{white-space:normal}.gallery-brand-byline a,.gallery-brand-credit a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--brand-accent) 48%,transparent)}
.gallery-brand-credit{color:var(--text-secondary)}
.brand-completion-note{display:grid;gap:4px;margin:0 0 18px;padding:15px 17px;border:1px solid var(--border-subtle);border-left:3px solid var(--brand-accent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface-elevated) 80%,transparent);box-shadow:0 5px 18px color-mix(in srgb,var(--shadow-ink) 3%,transparent)}
.brand-completion-note .eyebrow{margin:0}.brand-completion-note strong{font:400 26px/1 var(--font-serif)}.brand-completion-note small{font-size:12px;color:var(--text-secondary)}
.login-brand-lockup{margin-bottom:22px}.login-brand-lockup>img{height:38px;max-width:132px}.login-brand-lockup .customer-brand-copy strong{font-size:21px}
.upload-brand-lockup{margin:0 0 18px}.upload-brand-lockup>img{height:30px;max-width:108px}
.legal-brand-lockup>img{height:36px;max-width:128px}.legal-brand-lockup .customer-brand-copy strong{font-size:19px}
.guest-presentation-brand-logo{display:block;width:auto;height:1.6cqw;max-width:10cqw;object-fit:contain;object-position:left center;margin-right:.55cqw}
.presentation-format-portrait .guest-presentation-brand-logo{height:4.4cqw;max-width:28cqw;margin-right:1.4cqw}

/* Control Center — brand settings reuse the existing calm card language. */
.brand-settings-shell{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.55fr);gap:22px;align-items:start}
.brand-settings-preview{min-height:190px;padding:20px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:linear-gradient(145deg,var(--surface-elevated),var(--surface-secondary));display:grid;align-content:center;gap:14px}
.brand-settings-preview>.eyebrow{margin:0}.brand-settings-preview>p{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.55}
.brand-preview-lockup{align-items:center}.brand-preview-lockup .customer-brand-copy strong{font-size:25px}.brand-preview-lockup .customer-brand-copy small{font-size:9px}
.brand-preview-logo{width:76px;height:54px;display:grid;place-items:center;border:1px solid var(--border-subtle);border-radius:12px;background:var(--surface-primary);overflow:hidden;flex:0 0 auto}
.brand-preview-logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.brand-settings-form{display:grid;gap:14px}.brand-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.brand-check-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 13px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-elevated)}
.brand-check-row>span{display:grid;gap:3px}.brand-check-row strong{font-size:13px}.brand-check-row small{font-size:11px}.brand-check-row>input{width:20px;min-height:20px;flex:0 0 auto}
.brand-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}.brand-settings-actions small{max-width:470px;line-height:1.45}
.brand-workspace .section-head{align-items:flex-start}
.gallery-brand-card{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(0,1fr);gap:18px;padding:18px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-elevated)}
.gallery-brand-preview{min-height:132px;display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:var(--surface-secondary);border-left:3px solid var(--brand-accent)}
.gallery-brand-preview>img{width:auto;height:44px;max-width:126px;object-fit:contain}.gallery-brand-preview>div{display:grid;gap:4px;min-width:0}.gallery-brand-preview .eyebrow{margin:0}.gallery-brand-preview strong{font:400 24px/1.05 var(--font-serif);overflow-wrap:anywhere}.gallery-brand-preview small{font-size:10px;letter-spacing:.12em;color:var(--text-muted);text-transform:uppercase}
.gallery-brand-copy{align-self:center}.gallery-brand-copy strong{display:block;font-size:13px;margin-bottom:6px}.gallery-brand-copy p{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.55}
.gallery-brand-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin-top:14px;padding:14px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-elevated)}
.gallery-brand-assignment>div{display:grid;gap:3px}.gallery-brand-assignment strong{font-size:13px}.gallery-brand-assignment small{font-size:11px}.gallery-brand-assignment .btn{white-space:nowrap}
.brand-assignment-state{display:grid;gap:3px;margin-top:14px;padding:13px 14px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-elevated)}.brand-assignment-state strong{font-size:13px}.brand-assignment-state small{font-size:11px}

@media(max-width:820px){
 .brand-settings-shell,.gallery-brand-card{grid-template-columns:1fr}.brand-settings-preview{min-height:auto}.gallery-brand-assignment{grid-template-columns:1fr}.gallery-brand-assignment .btn{width:100%}
}
@media(max-width:600px){
 .gallery-brand-lockup{margin-bottom:15px}.customer-brand-lockup>img{height:30px;max-width:100px}.customer-brand-copy strong{font-size:15px}.brand-settings-grid{grid-template-columns:1fr}.brand-settings-actions{align-items:stretch;flex-direction:column}.brand-settings-actions .btn{width:100%}.brand-check-row{align-items:flex-start}.gallery-brand-preview{min-height:110px}.gallery-brand-preview strong{font-size:21px}.guest-presentation-brand-logo{display:none}
}

/* v1.3.38-rc2 — responsive gallery identity hierarchy: one quiet brand, one clear title. */
.gallery-page .gallery-header{padding:36px 0 26px}
.gallery-page .gallery-heading{width:min(1120px,100%)}
.gallery-page .gallery-identity-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:34px;margin:0 0 16px}
.gallery-page .gallery-identity-row .gallery-brand-lockup{margin:0;padding:0;gap:10px}
.gallery-page .gallery-identity-row .gallery-brand-lockup::before{display:none}
.gallery-page .gallery-identity-row .gallery-brand-lockup>img{height:30px;max-width:112px}
.gallery-page .gallery-identity-row .customer-brand-copy{gap:2px}
.gallery-page .gallery-identity-row .customer-brand-copy strong{font-size:16px;letter-spacing:.035em}
.gallery-page .gallery-identity-row .customer-brand-copy small{font-size:7.5px;letter-spacing:.19em}
.gallery-page .gallery-identity-row .gallery-kicker{flex:0 0 auto;margin:0;font-size:9px;letter-spacing:.18em;white-space:nowrap}
.gallery-page .gallery-heading h1{font-size:clamp(50px,5.2vw,76px);line-height:.96;letter-spacing:-.045em}
.gallery-page .gallery-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px;margin-top:14px;font-size:11.5px;line-height:1.4}
.gallery-page .gallery-meta>span{display:inline-flex;align-items:center;white-space:nowrap}

.customer-preview-mode .customer-preview-bar{width:min(680px,calc(100% - 32px));min-height:46px;margin:8px auto 0;padding:5px 6px 5px 12px;gap:12px;border-radius:12px;box-shadow:0 5px 18px color-mix(in srgb,var(--shadow-ink) 4%,transparent)}
.customer-preview-mode .customer-preview-bar>span{display:flex;align-items:baseline;gap:8px;min-width:0}
.customer-preview-mode .customer-preview-bar strong{font-size:11px;letter-spacing:.01em;white-space:nowrap}
.customer-preview-mode .customer-preview-bar small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-preview-mode .customer-preview-bar a{min-height:34px;padding:6px 10px;border-radius:9px;font-size:10.5px;white-space:nowrap}

@media(max-width:920px){
 .gallery-page .gallery-header{padding:24px 0 20px}
 .gallery-page .gallery-identity-row{gap:16px;min-height:30px;margin-bottom:14px}
 .gallery-page .gallery-identity-row .gallery-brand-lockup{gap:8px}
 .gallery-page .gallery-identity-row .gallery-brand-lockup>img{height:28px;max-width:96px}
 .gallery-page .gallery-identity-row .customer-brand-copy strong{font-size:15.5px}
 .gallery-page .gallery-identity-row .customer-brand-copy small{font-size:7px}
 .gallery-page .gallery-identity-row .gallery-kicker{font-size:8.5px;letter-spacing:.17em}
 .gallery-page .gallery-heading h1{font-size:clamp(46px,10vw,62px)}
 .gallery-page .gallery-meta{gap:4px 12px;margin-top:12px;font-size:10.5px}

 .customer-preview-mode .customer-preview-bar{top:6px;width:calc(100% - 20px);min-height:42px;margin:6px 10px 0;padding:4px 5px 4px 10px;gap:8px}
 .customer-preview-mode .customer-preview-bar>span{display:flex;align-items:center;min-width:0}
 .customer-preview-mode .customer-preview-bar strong{font-size:10px}
 .customer-preview-mode .customer-preview-bar small{display:none}
 .customer-preview-mode .customer-preview-bar a{min-height:34px;padding:6px 9px;font-size:10px}
 .customer-preview-mode .gallery-shell{padding-top:10px}
}
@media(max-width:480px){
 .gallery-page .gallery-header{padding:20px 0 18px}
 .gallery-page .gallery-identity-row{margin-bottom:13px}
 .gallery-page .gallery-identity-row .gallery-brand-lockup>img{height:26px;max-width:86px}
 .gallery-page .gallery-identity-row .customer-brand-copy strong{font-size:15px}
 .gallery-page .gallery-identity-row .customer-brand-copy small{font-size:6.8px;letter-spacing:.17em}
 .gallery-page .gallery-identity-row .gallery-kicker{font-size:8px;letter-spacing:.15em}
 .gallery-page .gallery-heading h1{font-size:clamp(44px,13vw,54px)}
 .gallery-page .gallery-meta{font-size:10px;gap:4px 10px}
}
@media(max-width:360px){
 .gallery-page .gallery-identity-row{align-items:flex-start;gap:10px}
 .gallery-page .gallery-identity-row .gallery-kicker{padding-top:3px}
 .customer-preview-mode .customer-preview-bar a{font-size:9.5px;padding-inline:8px}
}

/* v1.3.38-rc3 — image-first gallery header: compact identity and one browse row. */
.selection-finish-bar[hidden]{display:none!important}
.gallery-page .gallery-header{padding:24px 0 18px}
.gallery-page .gallery-identity-row{min-height:28px;margin-bottom:10px;gap:18px}
.gallery-page .gallery-identity-row .gallery-brand-lockup>img{height:26px;max-width:104px}
.gallery-page .gallery-identity-row .customer-brand-copy strong{font-size:15px}
.gallery-page .gallery-identity-row .customer-brand-copy small{font-size:7px}
.gallery-page .gallery-heading h1{font-size:clamp(46px,4.7vw,68px);line-height:.98}
.gallery-page .gallery-meta{margin-top:9px;gap:4px 14px;font-size:10.5px}
.gallery-browsebar{margin:0 0 10px}
.gallery-browsebar .gallery-collection-tabs{margin-bottom:0}

.customer-preview-mode .customer-preview-bar{position:relative;top:auto;width:min(680px,calc(100% - 32px));min-height:38px;margin:5px auto 0;padding:4px 0;gap:10px;border:0;border-bottom:1px solid var(--border-subtle);border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.customer-preview-mode .customer-preview-bar>span{gap:7px}
.customer-preview-mode .customer-preview-bar strong{font-size:10px}
.customer-preview-mode .customer-preview-bar small{font-size:8.5px}
.customer-preview-mode .customer-preview-bar a{min-height:32px;padding:5px 9px;border:0;border-radius:9px;background:var(--surface-secondary);font-size:9.5px}

@media(max-width:920px){
 .gallery-page .gallery-shell{padding-top:6px}
 .gallery-page .gallery-header{padding:10px 0 10px}
 .gallery-page .gallery-identity-row{min-height:24px;margin-bottom:7px;gap:12px}
 .gallery-page .gallery-identity-row .gallery-brand-lockup{gap:7px}
 .gallery-page .gallery-identity-row .gallery-brand-lockup>img{height:22px;max-width:82px}
 .gallery-page .gallery-identity-row .customer-brand-copy{gap:1px}
 .gallery-page .gallery-identity-row .customer-brand-copy strong{font-size:14px;letter-spacing:.025em}
 .gallery-page .gallery-identity-row .customer-brand-copy small{font-size:6.3px;letter-spacing:.16em}
 .gallery-page .gallery-identity-row .gallery-kicker{font-size:7.5px;letter-spacing:.14em}
 .gallery-page .gallery-heading h1{font-size:clamp(34px,9.6vw,42px);line-height:1;letter-spacing:-.035em}
 .gallery-page .gallery-meta{margin-top:6px;gap:3px 9px;font-size:9.5px;line-height:1.3}

 .gallery-browsebar{display:flex;align-items:center;justify-content:flex-end;gap:7px;position:sticky;top:0;z-index:calc(var(--z-nav) - 1);margin:0 0 8px;padding:2px 0;background:color-mix(in srgb,var(--surface-primary) 96%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
 .gallery-browsebar .gallery-collection-tabs{flex:0 1 auto;margin:0 auto 0 0;padding:2px;border-radius:12px;box-shadow:none}
 .gallery-browsebar .gallery-collection-tabs button{min-height:44px;padding-inline:10px;font-size:11px;gap:5px}
 .gallery-browsebar .gallery-collection-tabs button strong{min-width:17px;height:17px;font-size:8px}
 .gallery-browsebar .mobile-viewbar{display:flex;position:static;top:auto;z-index:auto;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:6px;margin:0;padding:0;background:transparent}
 .gallery-browsebar .mobile-view-button{position:relative;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:12px;box-shadow:none;background:var(--surface-elevated)}
 .gallery-browsebar .mobile-view-button>span{display:none}
 .gallery-browsebar .mobile-filter-count{position:absolute;right:2px;top:2px;min-width:16px;height:16px;padding:0 3px;font-size:8px;border:2px solid var(--surface-elevated)}
 .gallery-browsebar .mobile-grid-button strong{position:absolute;right:2px;top:2px;min-width:16px;height:16px;padding:0 3px;font-size:8px;border:2px solid var(--surface-elevated)}
 /* Filter sits at the right edge: open the popover leftwards so it stays inside the viewport. */
 .gallery-browsebar .mobile-filter-popover{left:auto;right:0;max-width:calc(100vw - 32px)}

 .customer-preview-mode .customer-preview-bar{width:calc(100% - 32px);min-height:34px;margin:2px 16px 0;padding:2px 0}
 .customer-preview-mode .customer-preview-bar strong{font-size:9.5px}
 .customer-preview-mode .customer-preview-bar small{display:none}
 .customer-preview-mode .customer-preview-bar a{min-height:30px;padding:4px 8px;font-size:9px}
 .customer-preview-mode .gallery-shell{padding-top:4px}
}
@media(max-width:520px){
 .gallery-page .gallery-header{padding:8px 0 9px}
 .gallery-page .gallery-identity-row{margin-bottom:6px}
 .gallery-page .gallery-identity-row .gallery-kicker{display:none}
 .gallery-page .gallery-identity-row .customer-brand-copy small{display:none}
 .gallery-page .gallery-heading h1{font-size:clamp(33px,10vw,40px)}
 .gallery-page .gallery-meta{font-size:9px;gap:3px 8px}
 .gallery-browsebar{gap:5px;margin-bottom:7px}
 .gallery-browsebar .gallery-collection-tabs button{padding-inline:8px;font-size:10.5px}
 .gallery-browsebar .mobile-view-button{border-radius:11px}
}
@media(max-width:360px){
 .gallery-browsebar .gallery-collection-tabs button{padding-inline:7px;gap:4px}
 .gallery-browsebar .mobile-viewbar{gap:4px}
 .gallery-browsebar .mobile-view-button{width:42px;min-width:42px;height:42px;min-height:42px}
}
/* rc3 desktop polish — keep the same image-first hierarchy without excessive horizontal spread. */
@media(min-width:921px){
 .gallery-page .gallery-header{padding:20px 0 16px}
 .gallery-page .gallery-identity-row{justify-content:flex-start;margin-bottom:8px}
 .gallery-page .gallery-heading h1{font-size:clamp(44px,4.3vw,62px)}
 .gallery-page .gallery-meta{margin-top:8px}
}

/* v1.3.39-rc1 — compact customer footer + editable legal profile. */
.gallery-footer{
  margin-top:14px;
  padding:11px 0 2px;
  min-height:0;
  align-items:center;
  gap:8px 18px;
  font-size:10px;
  line-height:1.35;
}
.gallery-footer #selectedCount{display:none!important}
.gallery-footer>div.gallery-footer-meta,.gallery-footer-legal{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.gallery-footer-meta>*+*::before,.gallery-footer-legal>a+a::before{content:"·";display:inline-block;margin:0 7px;color:var(--text-muted);opacity:.72;text-decoration:none}
.gallery-footer a{color:inherit;text-decoration:none}
.gallery-footer a:hover{color:var(--text-primary)}
.gallery-footer .gallery-brand-credit{color:var(--text-muted)}
.gallery-footer .gallery-brand-credit a{text-decoration:none}
.gallery-footer-legal{margin-left:auto}

.brand-legal-settings{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-elevated);overflow:hidden}
.brand-legal-settings>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px}
.brand-legal-settings>summary::-webkit-details-marker{display:none}
.brand-legal-settings>summary>span{display:grid;gap:3px}
.brand-legal-settings>summary strong{font-size:13px;color:var(--text-primary)}
.brand-legal-settings>summary small{font-size:11px;color:var(--text-muted)}
.brand-legal-settings>summary::after{content:"+";font-size:18px;line-height:1;color:var(--text-muted);transition:transform var(--motion-fast) var(--ease)}
.brand-legal-settings[open]>summary::after{transform:rotate(45deg)}
.brand-legal-body{border-top:1px solid var(--border-subtle);padding:15px 14px 14px;display:grid;gap:14px}
.brand-legal-intro{display:grid;gap:3px}
.brand-legal-intro strong{font-size:13px}
.brand-legal-intro small,.brand-legal-note{font-size:11px;line-height:1.5;color:var(--text-muted)}
.brand-legal-grid{gap:11px}
.brand-legal-place{display:grid;grid-template-columns:minmax(90px,.42fr) minmax(0,1fr);gap:10px}
.brand-legal-divider{height:1px;background:var(--border-subtle);margin:1px 0}
.brand-privacy-text{display:grid;gap:6px}
.brand-settings-form textarea{width:100%;resize:vertical;min-height:92px}
.brand-privacy-text textarea{min-height:190px;line-height:1.5}
.brand-legal-note{margin:0}
.legal-additional,.legal-custom-text{margin-top:18px}
.legal-custom-text p:first-child,.legal-additional p:first-child{margin-top:0}

@media(max-width:600px){
  .gallery-footer{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:10px;padding-top:9px;gap:4px 12px;font-size:9px}
  .gallery-footer-meta,.gallery-footer-legal{row-gap:3px}
  .gallery-footer-meta>*+*::before,.gallery-footer-legal>a+a::before{margin-inline:5px}
  .gallery-footer-legal{margin-left:0}
  .brand-legal-place{grid-template-columns:92px minmax(0,1fr)}
}
@media(max-width:390px){
  .gallery-footer{display:block}
  .gallery-footer-legal{margin-top:4px}
}

/* VEYNOA privacy operator profile */
.brand-privacy-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:14px}
.brand-privacy-head>span:first-child{display:grid;gap:3px}
.brand-privacy-status{align-self:start;display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:10px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.brand-privacy-status.is-ready{color:var(--text-primary);border-color:var(--border-strong)}
.brand-privacy-panel{display:grid;gap:11px;padding:13px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface)}
.brand-privacy-section-head{display:grid;gap:3px}
.brand-privacy-section-head strong{font-size:12px;color:var(--text-primary)}
.brand-privacy-section-head small,.brand-privacy-hint{font-size:10px;line-height:1.45;color:var(--text-muted)}
.brand-privacy-hint{display:block;margin-top:-2px}
.brand-privacy-panel .brand-settings-grid{gap:10px}
.brand-privacy-panel .brand-check-row{padding:10px 0 2px;border:0;background:transparent}
.brand-privacy-same{margin-top:-2px}
@media(max-width:600px){
  .brand-privacy-head{grid-template-columns:1fr}.brand-privacy-status{justify-self:start}
  .brand-privacy-panel{padding:12px}
}
