@import url('./office-window-weather.css');
@import url('./office-lighting.css');
/* Optional, isolated add-on. Load AFTER styles.css. No global appearance changes. */
.room-photo-skin {
  --scene-floor: #ecefe9;
  background: var(--scene-floor);
}
.room-photo-coastal { --scene-floor: #e7eeea; }
.room-photo-rainy_window { --scene-floor: #e5e9ee; }
.room-photo-snowy_window { --scene-floor: #ebece8; }
.room-photo-mountain_fire { --scene-floor: #eae5dc; }
.room-photo-brick_red { --scene-floor: #eae3dc; }
.room-photo-modern { --scene-floor: #e5e6f1; }
.room-photo-skin picture {
  display: block;
  width: 100%;
  height: clamp(480px, 57vw, 720px);
  position: relative;
}
.room-photo-skin img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% 50%;
  user-select: none;
}
.room-photo-skin picture::after {
  content: '';
  position: absolute;
  inset: 70% 0 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent, var(--scene-floor));
}
.room-photo-gloss picture::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, transparent 38%, #ffffff18 39%, #ffffff03 58%, transparent 59%);
}
.office-theme:has(> .room-photo-skin) {
  padding: 24px;
  border: 1px solid #d7dce6;
  box-shadow: 0 14px 38px #0b18351a;
}
.office-theme:has(> .room-photo-skin) .office-heading {
  /* A real visible scene band, instead of hiding the photograph behind panels. */
  margin-bottom: clamp(112px, 14vw, 180px);
  background: #fff;
  box-shadow: 0 5px 20px #101d3414;
}
.office-theme:has(> .room-photo-skin) :is(.panel, .board-surface, .notes-editor, .notes-editor textarea, .office-arrival),
.theme-preview-stage:has(> .room-photo-skin) .theme-preview-caption {
  background-color: #fff;
  color: #151623;
}
.office-theme:has(> .room-photo-skin) > .back-link { background: #fff; }
.theme-preview-stage:has(> .room-photo-skin) { height: 330px; }
.theme-preview-stage > .room-photo-skin picture { height: 100%; }
.theme-preview-stage > .room-photo-skin picture::after { display: none; }
.theme-preview-stage:has(> .room-photo-skin) .theme-preview-caption {
  max-width: min(300px, 70%);
  padding: 15px 18px;
}
.theme-photo-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.theme-photo-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.theme-photo-choice { min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-align: left; }
.theme-photo-choice span { display: block; padding: 9px 4px 3px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.theme-photo-choice[aria-pressed=true] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.theme-photo-choice:hover { border-color: var(--blue); }
.theme-photo-help { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
@media (max-width: 600px) {
  .office-theme:has(> .room-photo-skin) { padding: 12px; }
  .office-theme:has(> .room-photo-skin) .office-heading { margin-bottom: 104px; }
  .room-photo-skin picture { height: 480px; }
  .room-photo-skin img { object-position: 62% 48%; }
  .room-photo-mountain_fire img { object-position: 78% 48%; }
  .theme-preview-stage:has(> .room-photo-skin) { height: 290px; }
  .theme-preview-stage:has(> .room-photo-skin) .theme-preview-caption { max-width: 75%; }
  .theme-photo-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (forced-colors: active) {
  .room-photo-skin picture { display: none; }
  .office-theme:has(> .room-photo-skin),
  .office-theme:has(> .room-photo-skin) :is(.panel, .office-arrival, .office-heading, .board-surface, .notes-editor, .notes-editor textarea),
  .theme-preview-stage:has(> .room-photo-skin) .theme-preview-caption { background: Canvas; color: CanvasText; box-shadow: none; border-color: CanvasText; }
  .office-theme:has(> .room-photo-skin) .office-heading { margin-bottom: 24px; }
  .theme-photo-choice { background: Canvas; color: CanvasText; border-color: ButtonText; }
  .theme-photo-choice[aria-pressed=true] { outline: 2px solid Highlight; border-color: Highlight; }
}
/* No animation, blur filter, fixed background, participant/video rule, board
   pointer rule, opacity on readable surfaces, or change to solid/white/black. */
