.media-setup h2{display:flex;align-items:center;gap:8px;margin:0 0 6px}.media-setup .section-heading{margin-bottom:20px}.media-setup .section-heading p{font-size:var(--type-label);margin:0;color:var(--muted)}.logo-setup{display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;padding-bottom:24px;border-bottom:1px solid var(--line)}.media-setup h3{margin:0 0 8px}.logo-content{min-width:0}.logo-content>.hint{font-size:var(--type-small);margin:10px 0 0}.media-upload{display:grid;gap:14px}.logo-slot,.gallery-drop{display:flex;align-items:center;gap:24px;border:2px dashed var(--control);border-radius:12px;padding:18px;background:#f7fafb;min-width:0}.is-drag-over{border-color:var(--teal);background:var(--soft);outline:3px solid var(--teal);outline-offset:3px}.current-logo,.logo-preview{display:grid;place-items:center;background:#fff;width:120px;height:120px;flex-shrink:0;border-radius:10px}.current-logo .tenant-logo,.current-logo .tenant-fallback{width:96px;height:96px;border-radius:0;object-fit:contain}.current-logo .tenant-fallback{border-radius:12px;font-size:2rem}.drop-copy{display:grid;gap:6px;min-width:0;flex:1}.drop-copy>strong{font-size:var(--type-body)}.drop-copy>span{font-size:var(--type-small);color:var(--muted)}.drop-copy label,.upload-details label{display:block;font-size:var(--type-label);margin:3px 0 6px}.drop-copy input[type=file]{width:100%;min-width:0;max-width:420px;padding:0;height:44px;min-height:44px;line-height:42px;overflow:hidden;font-size:var(--type-label);background:white}.drop-copy input[type=file]::file-selector-button{height:42px;margin:0 10px 0 0;padding:0 12px;border:0;border-right:1px solid var(--control);background:#eaf1f4;color:var(--ink);font:inherit;cursor:pointer}.upload-details{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}.upload-details>div{min-width:0}.upload-actions{display:flex;gap:8px;flex-wrap:wrap}.upload-feedback{font-size:var(--type-small);margin:0;overflow-wrap:anywhere}.remove-logo{margin-top:10px}.remove-logo button{padding:6px 0}.gallery-setup{padding-top:24px;scroll-margin-top:20px}.gallery-setup>.section-heading{align-items:flex-start}.gallery-drop{padding:16px}.drop-symbol{display:grid;place-items:center;width:80px;height:80px;background:var(--soft);border-radius:10px;flex-shrink:0}.drop-symbol svg{width:28px;height:28px;color:var(--teal)}.selected-preview{width:120px;height:96px;flex-shrink:0}.selected-preview img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}.logo-preview{height:120px}.gallery-order-heading{margin-top:24px}.gallery-order-heading p{font-size:var(--type-label);color:var(--muted);margin:0 0 14px}.gallery-order-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-item{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.gallery-item.is-dragging{outline:3px solid var(--teal);outline-offset:2px}.gallery-item-top{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 4px 12px;background:#f3f7f9}.photo-position{font-size:var(--type-small);font-weight:600;color:var(--muted)}.drag-handle{display:grid;place-items:center;width:36px;height:36px;cursor:grab;touch-action:none;color:var(--teal)}.drag-handle:active{cursor:grabbing}.drag-handle svg{width:18px;height:18px}.gallery-item>img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;user-select:none}.gallery-item-caption{font-size:var(--type-small);line-height:1.5;color:var(--muted);margin:10px 12px;min-height:3em}.gallery-item-actions{display:flex;flex-wrap:wrap;gap:6px;padding:0 10px 10px}.gallery-item-actions form{margin:0}.gallery-item-actions button{min-height:40px;font-size:var(--type-label);padding:6px 9px;gap:5px}.gallery-item-actions svg{width:15px;height:15px}.gallery-item-actions .photo-remove{margin-left:auto}.gallery-item-actions button:disabled,.gallery-order-save button:disabled{cursor:default;opacity:.5}.gallery-order-save{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.gallery-order-save .hint{margin:0;font-size:var(--type-small);flex:1;min-width:180px}
@media(max-width:1000px){.logo-setup{grid-template-columns:1fr;gap:14px}.logo-setup .section-intro p{max-width:none}.gallery-order-list{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-item-actions .photo-remove{margin-left:0}}
@media(max-width:620px){.logo-slot,.gallery-drop{align-items:flex-start;gap:14px;padding:14px;flex-wrap:wrap}.current-logo,.logo-preview{width:88px;height:88px}.current-logo .tenant-logo,.current-logo .tenant-fallback{width:72px;height:72px}.drop-copy{flex-basis:200px}.upload-details{grid-template-columns:1fr;gap:12px}.upload-actions button{min-height:44px}.gallery-order-list{gap:12px}.gallery-item-actions{padding:0 8px 8px;gap:4px}.gallery-item-actions button{min-height:44px;padding:6px 8px;font-size:var(--type-label)}.gallery-item-caption{margin:10px;min-height:0}.gallery-item-actions form{flex:1}.gallery-item-actions button{width:100%}.gallery-order-save{align-items:flex-start}.gallery-order-save .hint{flex-basis:100%}.drag-handle{width:44px;height:44px}.gallery-item-top{padding-block:0}}
@media(max-width:440px){.gallery-order-list{grid-template-columns:1fr}.gallery-item{display:grid;grid-template-columns:108px minmax(0,1fr)}.gallery-item-top{grid-column:1/-1}.gallery-item>img{height:100%;min-height:90px;aspect-ratio:auto}.gallery-item-caption{min-height:0}.gallery-item-actions{grid-column:1/-1;padding:8px}.gallery-item-actions form{flex:1}.gallery-item-actions .photo-remove{flex:0 0 auto}.gallery-order-save>button{flex:1}.drop-copy input[type=file]{font-size:var(--type-small)}}
@media(forced-colors:active){.logo-slot,.gallery-drop,.gallery-item{border-color:CanvasText}.is-drag-over,.gallery-item.is-dragging{outline-color:Highlight}}
