.offer-photo-editor{margin-top:24px;padding:24px;color:var(--ui-text,#243746)}
.offer-photo-editor h2{margin:0 0 8px}.offer-photo-editor p{line-height:1.6}
.offer-photo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px;list-style:none;padding:0;margin:22px 0}
.offer-photo-list li{min-width:0;padding:12px;border:1px solid var(--ui-border,#ddd5c6);border-radius:16px;background:var(--ui-surface-1,#fffdf7)}
.offer-photo-preview{position:relative;margin-bottom:12px}.offer-photo-preview img{width:100%;height:170px;object-fit:contain;background:var(--ui-surface-2,#eee9df);border-radius:10px;display:block}
.offer-photo-preview span{position:absolute;left:8px;top:8px;background:#075f70;color:#fff;padding:4px 10px;border-radius:20px;font-size:13px;font-weight:700}
.offer-photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.offer-photo-actions button{min-height:44px;padding:8px 12px}.offer-photo-actions button:disabled{opacity:.4}
.offer-photo-editor label{display:grid;gap:8px}.offer-photo-editor input{max-width:100%;min-width:0}.offer-photo-upload{border-top:1px solid var(--ui-border,#ddd5c6);padding-top:24px;margin-top:24px}.offer-photo-upload input[type=file]{padding:14px;border:1px dashed var(--ui-border,#b9b2a5);border-radius:12px}
.offer-photo-local-preview{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.offer-photo-local-preview img{width:120px;height:90px;object-fit:contain;border-radius:8px;background:var(--ui-surface-2,#eee9df)}
.offer-photo-cover{display:block;width:100%;height:clamp(140px,22vw,220px);object-fit:cover;border-radius:14px;margin-bottom:20px}
.offer-photo-cover[hidden]{display:none}
.offer-gallery{display:flex;gap:10px;overflow-x:auto;padding:12px 0 18px;scroll-snap-type:x proximity;max-width:100%}.offer-gallery a{display:block;flex:0 0 130px;scroll-snap-align:start;border-radius:10px;overflow:hidden}.offer-gallery img{display:block;width:130px;height:92px;object-fit:cover}.offer-gallery a:focus-visible{outline:3px solid var(--festival-action,var(--ui-brand,#067083));outline-offset:2px}
dialog.offer-photo-lightbox{box-sizing:border-box;width:min(1000px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:16px;border:1px solid #53616c;border-radius:18px;background:#101a24;color:#fff;box-shadow:0 20px 80px #0008}
dialog.offer-photo-lightbox::backdrop{background:#07121de0}.offer-photo-lightbox header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.offer-photo-lightbox button{min-width:48px;min-height:48px;padding:8px 14px;border:1px solid #71818d;border-radius:10px;background:#223444;color:#fff;font-size:18px;cursor:pointer}.offer-photo-lightbox figure{margin:0}.offer-photo-lightbox img{display:block;width:auto;max-width:100%;height:auto;max-height:64dvh;margin:0 auto;object-fit:contain;touch-action:pan-y}.offer-photo-lightbox figcaption{min-height:24px;margin:12px 0;line-height:1.5;color:#fff;overflow-wrap:anywhere}.offer-photo-lightbox footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.offer-photo-lightbox button[hidden]{display:none}
.app-offer-photos{margin:14px 0}.app-offer-photos summary{cursor:pointer;font-weight:700;min-height:44px;padding:10px 0}.app-offer-photos[hidden]{display:none}
@media(max-width:550px){.offer-photo-editor{padding:16px}.offer-photo-cover{height:160px}.offer-photo-list{grid-template-columns:1fr}.offer-photo-lightbox header strong{font-size:16px}}
