/* Rooms */
.rooms-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.room-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.room-card.has-photo { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.12); }

.room-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.room-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.room-icon.high { background: #fdeaea; }
.room-icon.medium { background: #fef5e7; }
.room-icon.low { background: #eafaf1; }

.room-meta { flex: 1; }

.room-name { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 400; color: var(--navy); margin-bottom: 2px; }

.room-risk { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; padding: 2px 8px; border-radius: 20px; display: inline-block; }
.room-risk.high { background: #fdeaea; color: var(--risk-high); }
.room-risk.medium { background: #fef5e7; color: var(--risk-med); }
.room-risk.low { background: #eafaf1; color: var(--risk-low); }

.room-status { font-size: 12px; color: var(--muted); }
.room-status.done { color: var(--risk-low); font-weight: 500; }

.room-body { padding: 0 22px 22px; border-top: 1px solid var(--border); padding-top: 18px; }

.room-focus { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.room-focus strong { color: var(--navy); font-weight: 500; }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: var(--soft);
}

.upload-zone:hover, .upload-zone.drag-over { border-color: var(--gold); background: var(--gold-light); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

.upload-icon { font-size: 28px; margin-bottom: 8px; }
.upload-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.upload-text strong { color: var(--navy); }

.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; }

.photo-preview { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--border); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview .remove { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; background: rgba(0,0,0,0.6); border: none; border-radius: 50%; color: white; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }

.room-notes { margin-top: 12px; }
.room-notes label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); display: block; margin-bottom: 6px; }
.room-notes textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 13px; resize: vertical; min-height: 70px; background: var(--white); color: var(--text); outline: none; transition: border-color 0.2s; }
.room-notes textarea:focus { border-color: var(--navy); }

/* Analyse */
.analyse-section { text-align: center; padding: 40px 0; animation: fadeUp 0.5s 0.3s ease both; }

.analyse-btn { background: var(--navy); color: var(--white); border: none; border-radius: 10px; padding: 16px 48px; font-family: 'Fraunces', serif; font-size: 18px; font-weight: 400; cursor: pointer; transition: all 0.2s; letter-spacing: 0.3px; }
.analyse-btn:hover { background: var(--dark); transform: translateY(-1px); }
.analyse-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.analyse-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
