/* Extend the existing Prism source block; desktop hero stays unchanged. */
.file-list .file-detail{min-width:0;flex:1;overflow-wrap:anywhere}
.file-actions{display:flex;flex-wrap:wrap;gap:6px}
.photo-thumb{border:1px solid var(--border);background:var(--surface);padding:3px;border-radius:8px;flex:0 0 80px;width:80px;height:90px;cursor:zoom-in}
.photo-thumb img{width:100%;height:100%;object-fit:contain}
#photo-preview{padding:12px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;max-width:96vw;max-height:94dvh}
#photo-preview::backdrop{background:#071326ba}
#photo-preview>button{display:block;margin:0 0 8px auto}
#photo-preview>img{display:block;max-width:90vw;max-height:76dvh;object-fit:contain}
@media(max-width:767px){
 .home-view .dropbuttons #camera{display:flex!important;grid-row:1;grid-column:1/-1;justify-self:stretch;min-height:48px!important;border:1px solid #bdcdec!important;background:#edf3ff;color:#254fa7;font-weight:700;font-size:16px;padding:10px!important}
 .home-view .dropbuttons #camera svg{width:22px;height:22px}
 .home-view .dropbuttons #choose{background:#fff}
 .photo-row{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:10px}
 .photo-row .file-actions{grid-column:1/-1;justify-content:flex-end}
 .file-actions .button{min-height:44px}
}
