/* 写真の投稿の小窓（dashboard-photos.js）。2026-10-08 */
.ph-form { display: grid; gap: var(--space-2xs, .4rem); }
.ph-label { font-size: var(--text-sm, .875rem); font-weight: 600; margin-top: var(--space-2xs, .4rem); }
.ph-form input[type="text"], .ph-form input[type="file"] { width: 100%; }
.ph-list { list-style: none; margin: var(--space-2xs, .4rem) 0 0; padding: 0; display: grid; gap: var(--space-xs, .6rem); }
.ph-item { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-xs, .6rem); align-items: start; }
.ph-thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; background: var(--paper-2, #eee); }
.ph-meta { display: grid; gap: .25rem; justify-items: start; }
/* 小窓の幅を決める（中身の長い文で広がって、スマホ幅で右が切れないように） */
#photo-modal .det__box { width: min(94vw, 560px); }
#photo-modal .det__in, .ph-form, .ph-meta { min-width: 0; }
.ph-form input[type="file"] { max-width: 100%; }
