.room-upload { width: min(100%, 370px); margin-top: 21px; }
.room-drop { display: grid; width: 100%; justify-items: center; gap: 2px; padding: 14px 12px; color: var(--brand-dark); background: #fafaf4; border: 1.5px dashed #809b88; border-radius: 14px; }
.room-drop svg { margin-bottom: 4px; }
.room-drop strong { font-size: 15px; font-weight: 600; }
.room-drop #room-file-hint { font-size: 12px; line-height: 1.45; color: var(--muted); }
.room-drop:is(:hover, :focus-visible), .room-drop.is-dragging { border-color: var(--brand); background: #e8efe3; }
.room-drop-mobile { display: none; }
@media (pointer: coarse) {
  .room-drop-desktop { display: none; }
  .room-drop-mobile { display: inline; }
}
@media (max-width: 760px) {
  .hero-copy:has(.room-upload) { grid-template-areas: "heading" "description" "action"; }
  .room-upload { grid-area: action; margin-top: 13px; }
}
.room-photo-dialog { box-sizing: border-box; width: min(430px, calc(100vw - 28px)); max-height: 88dvh; padding: 23px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); }
.room-photo-dialog::backdrop { background: rgb(26 39 31 / 55%); }
.room-photo-dialog h2 { margin: 0 34px 15px 0; font-size: 20px; letter-spacing: -.03em; }
.room-close { position: absolute; top: 9px; right: 9px; width: 40px; height: 40px; border-radius: 50%; background: transparent; font-size: 27px; }
.room-photo-dialog h2:focus { outline: none; }
.room-photo-dialog .room-close { border: 0; box-shadow: none; }
.room-photo-dialog .room-close:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }
.room-preview { display: grid; min-height: 86px; place-items: center; border-radius: 12px; overflow: hidden; background: #e3e5da; }
.room-preview img { width: 100%; height: auto; max-height: 38dvh; object-fit: contain; }
.room-preview span { padding: 16px; font-size: 14px; }
.room-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.room-replace { padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; background: transparent; color: var(--brand-dark); font-size: 14px; }
.room-upload-error { margin: 8px 0 0; font-size: 14px; color: #842c25; }

.room-photo-dialog [hidden], .room-upload [hidden] { display:none; }
.room-photo-dialog [data-room-status] { margin:12px 0; font-size:14px; line-height:1.45; }
.room-check { display:flex; align-items:start; gap:9px; margin:9px 0; font-size:13px; line-height:1.45; }
.room-check input { flex:none; width:17px; height:17px; margin:2px 0 0; accent-color:var(--brand-dark); }
.room-check a { text-decoration:underline; text-underline-offset:2px; }
.room-send:disabled { opacity:.5; cursor:default; }
.room-photo-actions .button { margin:0; }
