html, body { margin: 0; height: 100%; background: #07090b; color: #f7f7f8; font-family: "Inter Tight", "Segoe UI", sans-serif; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hud, .tools, .rooms, #measure {
  position: fixed; z-index: 2; pointer-events: none;
}
.hud {
  top: 0; left: 0; right: 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: linear-gradient(#07090bf2, #07090b00);
}
.brand { font-weight: 700; letter-spacing: -0.03em; font-size: 18px; }
.brand span { color: #FF7410; }
.titles { display: flex; flex-direction: column; gap: 2px; }
.titles strong { font-size: 16px; }
.titles span, .dims, .when { color: #9ca3af; font-size: 13px; }
.tools {
  left: 12px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 8px; pointer-events: auto; max-width: calc(100% - 24px);
}
.tools button, .tools a {
  background: #2A2E35; color: #f7f7f8; border: 1px solid #333c44;
  border-radius: 10px; height: 36px; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none;
}
.tools button:active, .tools a:active { transform: scale(0.97); }
.tools button:hover, .tools a:hover { border-color: #FF7410; color: #FFA41C; }
.rooms {
  top: 92px; right: 12px; display: flex; flex-direction: column; gap: 6px;
  pointer-events: auto; max-width: 42vw;
}
.rooms a { color: #f7f7f8; background: #101318cc; border-radius: 10px; padding: 6px 10px; text-decoration: none; font-size: 13px; }
.rooms a.on { outline: 1px solid #FF7410; }
#measure {
  left: 16px; bottom: calc(72px + env(safe-area-inset-bottom));
  background: #101318ee; border-radius: 10px; padding: 8px 12px; font-size: 14px;
}
