.component-gallery-module__4jsPHG__toolbar{min-width:0;padding-bottom:var(--space-3);border-bottom:1px solid var(--line)}.component-gallery-module__4jsPHG__toolbarRow{align-items:center;gap:var(--space-2);min-width:0;margin:calc(-1 * var(--space-1));padding:var(--space-1);scrollbar-width:thin;display:flex;overflow-x:auto}.component-gallery-module__4jsPHG__toolbarRow:empty{display:none}.component-gallery-module__4jsPHG__toolbar:has(.component-gallery-module__4jsPHG__toolbarRow:empty){padding-bottom:0}.component-gallery-module__4jsPHG__toolbarRow>.button{white-space:nowrap;flex:none}.component-gallery-module__4jsPHG__gallery{align-content:start;gap:var(--space-3);min-width:0;display:grid}.component-gallery-module__4jsPHG__gallery>.section-heading h2{font-size:var(--text-base);margin:0}.component-gallery-module__4jsPHG__workspace{gap:var(--space-6);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.component-gallery-module__4jsPHG__visual{gap:var(--space-2);min-width:0;display:grid}.component-gallery-module__4jsPHG__rail{scroll-snap-type:x mandatory;scrollbar-width:none;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface-gradient);touch-action:auto;min-width:0;display:flex;overflow-x:auto}.component-gallery-module__4jsPHG__rail::-webkit-scrollbar{display:none}.component-gallery-module__4jsPHG__rail[data-dragging]{cursor:grabbing;-webkit-user-select:none;user-select:none}.component-gallery-module__4jsPHG__slide{scroll-snap-align:start;flex:0 0 100%;min-width:0;margin:0}.component-gallery-module__4jsPHG__image{aspect-ratio:16/9;width:100%;max-height:calc(var(--space-20) * 5);min-height:calc(var(--space-20) * 2);position:relative}.component-gallery-module__4jsPHG__image button{width:100%;min-width:0;height:100%;min-height:0;padding:var(--space-4);background:0 0;border:0;position:absolute;inset:0}.component-gallery-module__4jsPHG__image img{object-fit:contain;width:100%;height:100%;max-height:100%;display:block}.component-gallery-module__4jsPHG__slide figcaption{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border-top:1px solid var(--line);font-size:var(--text-sm);overflow-wrap:anywhere;background:var(--surface);flex-wrap:wrap;display:flex}.component-gallery-module__4jsPHG__slide figcaption>span:first-child{flex:1;min-width:0}.component-gallery-module__4jsPHG__placeholder{text-align:center;align-content:center;justify-items:center;gap:var(--space-3);min-height:calc(var(--space-20) * 3);padding:var(--space-6);color:var(--text-muted);border:1px dashed var(--line-strong);border-radius:var(--radius-xl);background:var(--surface-subtle);display:grid}.component-gallery-module__4jsPHG__placeholder p{max-width:36ch;margin:0}.component-gallery-module__4jsPHG__controls{align-items:center;gap:var(--space-2);display:flex}.component-gallery-module__4jsPHG__controls input{width:0;min-width:0;height:var(--control-lg);accent-color:var(--text);cursor:pointer;background:0 0;border:0;flex:1;padding:0}.component-gallery-module__4jsPHG__controls output{color:var(--text-muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.component-gallery-module__4jsPHG__thumbnails{gap:var(--space-2);padding:var(--space-1);scrollbar-width:thin;display:flex;position:relative;overflow-x:auto}.component-gallery-module__4jsPHG__thumbnails button{flex:0 0 var(--space-20);height:var(--space-16);padding:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);position:relative}.component-gallery-module__4jsPHG__thumbnails button[aria-current]{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.component-gallery-module__4jsPHG__thumbnails img{object-fit:contain;width:100%;height:100%;display:block}.component-gallery-module__4jsPHG__thumbnails span{right:var(--space-1);bottom:var(--space-1);padding:0 var(--space-1);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font-size:var(--text-xs);position:absolute}.component-gallery-module__4jsPHG__photoInfo{gap:var(--space-3);overflow-wrap:anywhere;display:grid}.component-gallery-module__4jsPHG__photoInfo>p{margin:0}.component-gallery-module__4jsPHG__actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.component-gallery-module__4jsPHG__actions>form{width:100%}.component-gallery-module__4jsPHG__actions button{align-items:center;gap:var(--space-1);display:inline-flex}.component-gallery-module__4jsPHG__management{gap:var(--space-3);display:grid}.component-gallery-module__4jsPHG__management>p{overflow-wrap:anywhere;margin:0}.component-gallery-module__4jsPHG__upload{gap:var(--space-3);justify-items:start;display:grid}.component-gallery-module__4jsPHG__upload label,.component-gallery-module__4jsPHG__upload input{width:100%;min-width:0}.component-gallery-module__4jsPHG__photoDialog{width:min(var(--container-narrow), calc(100vw - var(--space-8)))}.component-gallery-module__4jsPHG__search{gap:var(--space-3);min-width:0;display:grid}.component-gallery-module__4jsPHG__search h3,.component-gallery-module__4jsPHG__search p{margin:0}.component-gallery-module__4jsPHG__search>button{justify-self:start}.component-gallery-module__4jsPHG__grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.component-gallery-module__4jsPHG__photo{padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-xl);gap:var(--space-2);min-width:0;display:grid}.component-gallery-module__4jsPHG__candidates{gap:var(--space-4);border:0;min-width:0;margin:0;padding:0;display:grid}.component-gallery-module__4jsPHG__candidates legend{margin-bottom:var(--space-3)}.component-gallery-module__4jsPHG__candidate{align-items:start;gap:var(--space-2);overflow-wrap:anywhere;grid-template-columns:auto minmax(0,1fr);display:grid}.component-gallery-module__4jsPHG__candidate img{width:100%;height:calc(var(--space-20) * 2);object-fit:contain;grid-column:1/-1}.component-gallery-module__4jsPHG__source{gap:var(--space-1);font-size:var(--text-xs);color:var(--text-secondary);overflow-wrap:anywhere;display:grid}.component-gallery-module__4jsPHG__confirmation{align-items:start;gap:var(--space-2);font-size:var(--text-sm);display:flex}.component-gallery-module__4jsPHG__confirmation input{flex-shrink:0}@media (max-width:800px){.component-gallery-module__4jsPHG__workspace{gap:var(--space-4);grid-template-columns:minmax(0,1fr)}}@media (max-width:500px){.component-gallery-module__4jsPHG__grid{grid-template-columns:minmax(0,1fr)}.component-gallery-module__4jsPHG__image{aspect-ratio:4/3}}
