/* LOGRO customer galleries · a quiet board for the images themselves. */
:is(body,body.light).customer .topbar {position:static;top:auto}
:is(body,body.light).customer.gallery-page .topbar {
 margin:1rem 2rem 0;padding:.5rem 0;min-height:3.5rem;border:0;
 background:transparent!important;box-shadow:none;border-radius:0;
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
:is(body,body.light).customer.gallery-page .customer-badge,
:is(body,body.light).customer.gallery-page .customer-header small {display:none}
:is(body,body.light).customer.gallery-page .theme-toggle {margin-left:auto}
:is(body,body.light).customer.gallery-page .content {max-width:104rem;padding:1.5rem 2rem 4rem}
:is(body,body.light).gallery-page .gallery-hero {min-height:22rem;margin-bottom:2.5rem;border-radius:1.15rem}
:is(body,body.light).gallery-page .hero-copy {padding:2.5rem;max-width:64rem}
:is(body,body.light).gallery-page .hero-copy h1 {font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.1;letter-spacing:-.035em}
:is(body,body.light).gallery-page .gallery-hero.has-cover:after {background:linear-gradient(90deg,#0007,transparent 85%),linear-gradient(0deg,#0009,transparent 90%)}
:is(body,body.light).gallery-page .collection-section {margin-bottom:1.25rem;align-items:center}
:is(body,body.light).gallery-page .collection-section .eyebrow,
:is(body,body.light).gallery-page .collection-section p {display:none}
:is(body,body.light).gallery-page .collection-section h2 {font-size:1.75rem;margin:0;letter-spacing:-.028em}
:is(body,body.light).gallery-page .collection-section>.btn {min-width:2.75rem;padding:.625rem;background:transparent;border-color:transparent}
:is(body,body.light).gallery-page .collection-section>.btn span {display:none}
:is(body,body.light).gallery-page .gallery-search {width:22rem;max-width:100%;margin-bottom:0;margin-left:auto;background:var(--panel);min-height:2.75rem}
:is(body,body.light).gallery-page .gallery-search input {font-size:.875rem}
:is(body,body.light).gallery-page .toolbar {border:0;padding:0;margin-bottom:1rem;justify-content:space-between}
:is(body,body.light).gallery-page .tabs {gap:.25rem}
:is(body,body.light).gallery-page .tab {border-radius:.75rem}
:is(body,body.light).gallery-page .sort {margin-left:auto;background:transparent;border-color:transparent}
:is(body,body.light).gallery-page .gallery-display {display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;padding:0 0 1.25rem;border-bottom:1px solid var(--line);margin-bottom:1rem}
:is(body,body.light).gallery-page .gallery-layout {display:flex;padding:.2rem;background:var(--hover);border:1px solid var(--line);border-radius:.9rem;gap:.2rem}
:is(body,body.light).gallery-page .gallery-layout .icon-btn {width:auto;display:flex;align-items:center;gap:.5rem;padding:.625rem .8rem;min-height:2.75rem;font-size:.75rem;line-height:1.2;white-space:nowrap}
:is(body,body.light).gallery-page .gallery-layout .icon-btn svg {width:1rem;height:1rem}
:is(body,body.light).gallery-page .gallery-option {display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--muted)}
:is(body,body.light).gallery-page .gallery-option select {min-height:2.75rem;font-size:.75rem;padding:.625rem .75rem;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:.75rem}
:is(body,body.light).gallery-page .gallery-option select:disabled {opacity:.45;cursor:not-allowed}
:is(body,body.light).gallery-page .gallery-details {width:auto;display:flex;align-items:center;gap:.5rem;min-height:2.75rem;padding:.625rem .8rem;font-size:.75rem;margin-left:auto;border:1px solid var(--line)}
:is(body,body.light).gallery-page .gallery-details[aria-pressed=true] {background:var(--hover);color:var(--text)}
:is(body,body.light).gallery-page .file-count {font-size:.75rem;margin:.5rem 0 1.25rem;color:var(--muted)}
:is(body,body.light).gallery-page .gallery-board {
 --gallery-gap:16px;--gallery-min:230px;display:grid;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--gallery-min)),1fr));
 gap:var(--gallery-gap);align-items:start;
}
:is(body,body.light).gallery-page .gallery-size-small {--gallery-min:160px}
:is(body,body.light).gallery-page .gallery-size-large {--gallery-min:330px}
:is(body,body.light).gallery-page .gallery-gap-compact {--gallery-gap:8px}
:is(body,body.light).gallery-page .gallery-gap-airy {--gallery-gap:28px}
:is(body,body.light).gallery-page .gallery-board .card {background:none;border:0;border-radius:.65rem;box-shadow:none;min-width:0;overflow:hidden;position:relative}
:is(body,body.light).gallery-page .gallery-board .card.selected {box-shadow:0 0 0 2px var(--text),0 0 0 5px var(--canvas)}
:is(body,body.light).gallery-page .gallery-board .thumb {border-radius:.65rem;aspect-ratio:1;position:relative;overflow:hidden;background:var(--hover)}
:is(body,body.light).gallery-page .gallery-board .thumb img {width:100%;height:100%;object-fit:cover;position:absolute;inset:0;display:block}
:is(body,body.light).gallery-page .gallery-board .file-info {display:none;padding:.625rem .1rem .5rem}
:is(body,body.light).gallery-page .gallery-board.show-details .file-info {display:block}
:is(body,body.light).gallery-page .gallery-board .file-title {font-size:.75rem;line-height:1.45}
:is(body,body.light).gallery-page .gallery-board .file-meta {font-size:.625rem;margin-top:.25rem}
:is(body,body.light).gallery-page .gallery-mosaic {grid-auto-rows:1px;row-gap:0;grid-auto-flow:row;align-items:start}
:is(body,body.light).gallery-page .gallery-mosaic .card {margin-bottom:var(--gallery-gap);height:auto}
:is(body,body.light).gallery-page .gallery-mosaic .thumb {aspect-ratio:1.5}
:is(body,body.light).gallery-page .gallery-list {grid-template-columns:1fr;gap:var(--gallery-gap)}
:is(body,body.light).gallery-page .gallery-list .card {display:flex;align-items:center;gap:1rem;min-height:5rem;padding:.5rem;border:1px solid var(--line);background:var(--panel);border-radius:.85rem}
:is(body,body.light).gallery-page .gallery-list .thumb {width:5rem;height:4rem;flex-shrink:0;aspect-ratio:auto;border-radius:.5rem}
:is(body,body.light).gallery-page .gallery-list .file-info {display:block;min-width:0;flex:1;padding:.5rem .5rem .5rem 0}
:is(body,body.light).gallery-page .gallery-list .file-title {padding-right:2.5rem;font-size:.8125rem}
:is(body,body.light).gallery-page .gallery-list .file-meta {display:flex;justify-content:space-between}
:is(body,body.light).gallery-page .gallery-list .check {left:auto;right:.5rem;top:50%;transform:translateY(-50%);opacity:1}
:is(body,body.light).gallery-page .gallery-list .check:after {background:var(--panel);border-color:var(--muted);box-shadow:none}
:is(body,body.light).gallery-page .gallery-list .selected .check:after {background:var(--text);border-color:var(--text)}
:is(body,body.light).gallery-page .gallery-list .selected .check {color:var(--canvas)}
:is(body,body.light).gallery-page .gallery-board .card:focus-visible {outline-offset:4px}
:is(body,body.light).gallery-page .gallery-board .card:hover .check {opacity:1}
:is(body,body.light).gallery-page .gallery-footer {margin-top:3rem;padding-top:2rem}
@media(max-width:760px){
 :is(body,body.light).customer.gallery-page .topbar {display:flex;margin:.75rem 1rem 0;padding:.25rem 0;gap:.75rem}
 :is(body,body.light).customer.gallery-page .content {padding:1.25rem 1rem 2rem}
 :is(body,body.light).gallery-page .gallery-hero {min-height:22rem;margin-bottom:2rem;border-radius:1rem}
 :is(body,body.light).gallery-page .hero-copy {padding:1.5rem}
 :is(body,body.light).gallery-page .hero-copy h1 {font-size:clamp(1.75rem,7.5vw,2.5rem)}
 :is(body,body.light).gallery-page .collection-section h2 {font-size:1.5rem}
 :is(body,body.light).gallery-page .gallery-search {width:100%}
 :is(body,body.light).gallery-page .gallery-search input {font-size:1rem}
 :is(body,body.light).gallery-page .gallery-display {display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
 :is(body,body.light).gallery-page .gallery-layout {grid-column:1/-1;justify-content:stretch}
 :is(body,body.light).gallery-page .gallery-layout .icon-btn {flex:1;justify-content:center}
 :is(body,body.light).gallery-page .gallery-option {flex-direction:column;align-items:stretch;gap:.3rem}
 :is(body,body.light).gallery-page .gallery-option select {width:100%;font-size:1rem}
 :is(body,body.light).gallery-page .gallery-details {grid-column:1/-1;justify-content:center;margin:0}
 :is(body,body.light).gallery-page .gallery-board {--gallery-min:140px;--gallery-gap:12px}
 :is(body,body.light).gallery-page .gallery-board.gallery-size-small {--gallery-min:90px}
 :is(body,body.light).gallery-page .gallery-board.gallery-size-large {--gallery-min:100%}
 :is(body,body.light).gallery-page .gallery-board.gallery-gap-compact {--gallery-gap:8px}
 :is(body,body.light).gallery-page .gallery-board.gallery-gap-airy {--gallery-gap:20px}
 :is(body,body.light).gallery-page .gallery-list {grid-template-columns:1fr}
 :is(body,body.light).gallery-page .gallery-board .file-info {padding:.5rem .1rem}
 :is(body,body.light).gallery-page .gallery-list .file-info {padding:.5rem .4rem}
 :is(body,body.light).gallery-page .gallery-board .file-meta .date {display:none}
}

@media(max-width:760px){
 :is(body,body.light).gallery-page .collection-section {flex-wrap:wrap;gap:.75rem}
 :is(body,body.light).gallery-page .collection-section>div {flex:1}
 :is(body,body.light).gallery-page .collection-section>.btn {order:2}
 :is(body,body.light).gallery-page .collection-section>.gallery-search {order:3;flex-basis:100%;margin-left:0}
}

:is(body,body.light).gallery-page .gallery-options {display:contents}
:is(body,body.light).gallery-page .gallery-options>summary {display:none}
:is(body,body.light).gallery-page .gallery-options-panel {display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}
:is(body,body.light).gallery-page .gallery-list .file-info {padding-right:3rem}
:is(body,body.light).gallery-page .gallery-list .file-title {padding-right:0}
@media(max-width:760px){
 :is(body,body.light).gallery-page .collection-section {flex-direction:row;text-align:left;align-items:center}
 :is(body,body.light).gallery-page .gallery-display {display:flex;gap:.75rem;align-items:flex-start}
 :is(body,body.light).gallery-page .gallery-layout {width:100%}
 :is(body,body.light).gallery-page .gallery-options {display:block;width:100%}
 :is(body,body.light).gallery-page .gallery-options>summary {display:flex;align-items:center;justify-content:space-between;min-height:2.75rem;padding:.625rem .75rem;font-size:.8125rem;color:var(--muted);border:1px solid var(--line);border-radius:.75rem;cursor:pointer;list-style:none}
 :is(body,body.light).gallery-page .gallery-options>summary::-webkit-details-marker {display:none}
 :is(body,body.light).gallery-page .gallery-options>summary svg {width:1rem;height:1rem}
 :is(body,body.light).gallery-page .gallery-options>summary:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
 :is(body,body.light).gallery-page .gallery-options[open]>summary {color:var(--text);background:var(--hover)}
 :is(body,body.light).gallery-page .gallery-options-panel {display:grid;grid-template-columns:1fr 1fr;gap:.75rem;padding:.875rem 0 .25rem}
 :is(body,body.light).gallery-page .gallery-list .file-info {padding-right:3rem}
}
/* A single quiet control; the complete view settings live in its popover. */
:is(body,body.light).gallery-page .gallery-display {display:block;position:relative;flex-shrink:0;padding:0;margin:0;border:0}
:is(body,body.light).gallery-page .gallery-options {display:block;width:auto}
:is(body,body.light).gallery-page .gallery-options>summary {
 display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.75rem;
 padding:.625rem .875rem;border:1px solid var(--line);border-radius:.8rem;
 background:var(--panel);color:var(--text);font-size:.8125rem;line-height:1.25;
 cursor:pointer;list-style:none;white-space:nowrap;
}
:is(body,body.light).gallery-page .gallery-options>summary::-webkit-details-marker {display:none}
:is(body,body.light).gallery-page .gallery-options>summary svg {width:1rem;height:1rem}
:is(body,body.light).gallery-page .gallery-options>summary:hover,
:is(body,body.light).gallery-page .gallery-options[open]>summary {background:var(--hover)}
:is(body,body.light).gallery-page .gallery-options>summary:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
:is(body,body.light).gallery-page .gallery-options-panel {
 position:fixed;z-index:40;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 width:21rem;max-width:calc(100vw - 1.5rem);max-height:calc(100dvh - 1.5rem);
 overflow:auto;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:1.1rem;
 background:var(--panel);color:var(--text);box-shadow:0 14px 48px #0003;
}
:is(body,body.light).gallery-page .gallery-options-panel .gallery-layout {grid-column:1/-1;width:100%;min-width:0;justify-content:stretch}
:is(body,body.light).gallery-page .gallery-options-panel .gallery-layout .icon-btn {min-width:0;flex:1;justify-content:center;padding:.625rem .5rem;gap:.35rem;font-size:.75rem}
:is(body,body.light).gallery-page .gallery-options-panel .gallery-option {display:flex;flex-direction:column;align-items:stretch;gap:.35rem;min-width:0}
:is(body,body.light).gallery-page .gallery-options-panel .gallery-option select {width:100%;font-size:1rem}
:is(body,body.light).gallery-page .gallery-options-panel .gallery-details {grid-column:1/-1;width:100%;margin:0;justify-content:center}
@media(max-width:350px){:is(body,body.light).gallery-page .gallery-options-panel .gallery-layout .icon-btn {font-size:.6875rem;padding:.625rem .35rem;gap:.25rem}}

/* Editorial browsing: the search and one menu precede the photographs. */
:is(body,body.light).gallery-page .collection-section {gap:1rem;margin-bottom:.75rem}
:is(body,body.light).gallery-page .collection-section>div:first-child {min-width:0}
:is(body,body.light).gallery-page .collection-section>.gallery-display {margin-left:0}
:is(body,body.light).gallery-page .gallery-options-panel {gap:.75rem}
:is(body,body.light).gallery-page .gallery-options-panel>.btn {grid-column:1/-1;justify-content:center}
:is(body,body.light).gallery-page .file-count {margin:.75rem 0 1rem}
:is(body,body.light).customer .hero-copy>.instagram-link {display:none}
:is(body,body.light) .library-filters {margin:0 0 1.25rem;border-bottom:1px solid var(--line)}
:is(body,body.light) .library-filters>summary {display:flex;align-items:center;gap:.625rem;min-height:2.75rem;padding:.625rem 0;font-size:.8125rem;cursor:pointer;list-style:none;color:var(--text)}
:is(body,body.light) .library-filters>summary::-webkit-details-marker {display:none}
:is(body,body.light) .library-filters>summary>svg {width:1rem;height:1rem}
:is(body,body.light) .library-filters>summary>svg:last-child {margin-left:auto;transform:rotate(90deg)}
:is(body,body.light) .library-filters[open]>summary>svg:last-child {transform:rotate(-90deg)}
:is(body,body.light) .library-filters>summary:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
:is(body,body.light) .library-filters .collection-filters {padding:.75rem 0 1.25rem}
@media(max-width:760px){
 :is(body,body.light).customer .topbar {position:static;margin:.75rem 1rem 0;padding:.25rem 0;border:0;border-radius:0;box-shadow:none;background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none}
 :is(body,body.light).customer .customer-header small {display:none}
 :is(body,body.light).customer .theme-toggle span {display:none}
 :is(body,body.light).customer .content {padding:1rem 1rem 2rem}
 :is(body,body.light).customer .gallery-hero {display:flex;flex-direction:column;align-items:stretch;min-height:0;overflow:visible;border-radius:0;background:transparent;color:var(--text);margin-bottom:2.25rem}
 :is(body,body.light).customer .gallery-hero:after {display:none}
 :is(body,body.light).customer .gallery-hero.has-cover .hero-cover {position:static;inset:auto;display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;border-radius:.5rem}
 :is(body,body.light).customer .gallery-hero.no-cover .hero-cover {position:static;inset:auto;width:5.5rem;height:5.5rem;object-fit:contain;opacity:1}
 :is(body,body.light).customer .gallery-hero .hero-copy {padding:1.5rem 0 0;max-width:100%;width:100%;color:var(--text)}
 :is(body,body.light).customer .gallery-hero .hero-copy .eyebrow {color:var(--muted);font-size:.625rem;letter-spacing:.08em}
 :is(body,body.light).customer .gallery-hero .hero-copy h1 {font-size:clamp(2rem,8.5vw,2.75rem);font-weight:600;letter-spacing:-.035em;line-height:1.08;color:var(--text);margin:.75rem 0}
 :is(body,body.light).customer .gallery-hero .hero-copy p {font-size:.875rem;line-height:1.65;margin:.75rem 0;max-width:28rem;color:var(--muted)}
 :is(body,body.light).customer .gallery-hero .hero-actions {margin-top:1.25rem;gap:.625rem}
 :is(body,body.light).customer .gallery-hero .hero-actions [data-action=browse-collection] {display:none}
 :is(body,body.light).customer .gallery-hero .hero-actions .btn {background:var(--text);color:var(--canvas);border:1px solid var(--text);border-radius:.75rem;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;min-height:2.75rem}
 :is(body,body.light).customer .gallery-hero .hero-actions .btn:hover {background:var(--text);color:var(--canvas);opacity:.9}
 :is(body,body.light).gallery-page .collection-section {gap:.75rem;align-items:center;flex-direction:row;flex-wrap:wrap}
 :is(body,body.light).gallery-page .collection-section>div:first-child {order:1;flex:1}
 :is(body,body.light).gallery-page .collection-section>.gallery-display {order:2;flex:0 0 auto}
 :is(body,body.light).gallery-page .collection-section>.gallery-search {order:3;flex-basis:100%;margin:0}
 :is(body,body.light).gallery-page .collection-section h2 {font-size:1.375rem;line-height:1.2;letter-spacing:-.025em}
 :is(body,body.light).gallery-page .gallery-search {border-radius:.75rem;background:transparent;box-shadow:none}
 :is(body,body.light).gallery-page .gallery-search kbd {display:none}
 :is(body,body.light).gallery-page .gallery-board .card,:is(body,body.light).gallery-page .gallery-board .thumb {border-radius:.45rem}
 :is(body,body.light).customer .collection-section .eyebrow,:is(body,body.light).customer .collection-section p {display:none}
 :is(body,body.light).customer .inbox-panel {background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;padding:1.25rem 0;margin:1.5rem 0}
 :is(body,body.light).customer .inbox-heading .eyebrow {display:none}
 :is(body,body.light).customer .inbox-heading h3 {font-size:1.25rem;margin:0 0 .5rem}
 :is(body,body.light).customer .inbox-heading p {margin:0;max-width:26rem}
 :is(body,body.light).customer .inbox-heading .actions {margin-top:1rem}
 :is(body,body.light).customer .gallery-footer {margin-top:2.5rem;padding-top:2rem}
}
/* Closed controls do not reserve space or extend a narrow page. */
:is(body,body.light).gallery-page .gallery-options:not([open])>.gallery-options-panel,
:is(body,body.light) .library-filters:not([open])>.collection-filters {display:none}
