/* Splat Studio – dunkles Erscheinungsbild.
   Markenfarben stehen gesammelt in :root und lassen sich hier austauschen. */
@font-face { font-family: "Inter"; src: url("/static/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0E1419;          /* Schiefertiefe – Grund */
  --table: #151D24;        /* Messtisch – Flächen */
  --table-2: #1B252E;
  --edge: #26323D;         /* Kante – Linien */
  --edge-strong: #34424F;
  --paper: #E6EBEF;        /* Kalkpapier – Text */
  --fog: #8A99A6;          /* Nebel – Nebentext */
  --line: #5FD3C6;         /* Linien-Türkis – Geometrie & Primäraktion */
  --line-ink: #062A26;
  --amber: #E9B44C;        /* Display-Bernstein – Status */
  --danger: #F07A6A;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; scrollbar-width: none; }      /* Scrollen ja, Scrollbalken nein */
*::-webkit-scrollbar { display: none; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 15px/1.5 var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--line); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 2px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--fog); }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 30px; }
h2 { font-size: 20px; }
h3 { font-size: 15px; letter-spacing: -0.005em; }

/* --------------------------------------------------------------- Kopfzeile */
.topbar {
  height: 56px; display: flex; align-items: center; gap: 20px; padding: 0 20px;
  border-bottom: 1px solid var(--edge); background: var(--ink); position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 22px; height: 22px; flex: none; }
.brand small { color: var(--fog); font-weight: 400; font-size: 14px; }
.topbar .spacer { flex: 1; }
.crumb { color: var(--fog); font-size: 14px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.crumb strong { color: var(--paper); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: var(--radius-s);
  border: 1px solid var(--edge-strong); background: var(--table); color: var(--paper);
  font: 500 14px var(--font); cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--table-2); text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--line); border-color: var(--line); color: var(--line-ink); font-weight: 600; }
.btn-primary:hover { background: #79DDD2; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--fog); }
.btn-ghost:hover { color: var(--paper); background: var(--table); }
.btn-danger { color: var(--danger); }
.btn svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Formulare */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--fog); }
.input, textarea.input, select.input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: var(--radius-s);
  border: 1px solid var(--edge-strong); background: var(--ink); color: var(--paper);
  font: 400 15px var(--font);
}
textarea.input { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 3px rgba(95, 211, 198, .15); }
.form-error { color: var(--danger); font-size: 14px; min-height: 20px; margin: 4px 0 10px; }

/* ---------------------------------------------------------------- Anmeldung */
.auth { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 480px); }
.auth-visual { position: relative; overflow: hidden; border-right: 1px solid var(--edge); }
.auth-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-claim { position: absolute; left: 48px; bottom: 48px; right: 48px; max-width: 620px; }
.auth-claim h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.035em; }
.auth-claim p { color: var(--fog); font-size: 17px; margin: 14px 0 0; max-width: 42ch; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--ink); }
.auth-panel .brand { margin-bottom: 56px; }
.auth-panel h2 { font-size: 24px; margin-bottom: 6px; }
.auth-panel .lead { color: var(--fog); margin: 0 0 28px; }
.auth-panel .switch { margin-top: 22px; color: var(--fog); font-size: 14px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--edge); }
  .auth-claim { left: 20px; right: 20px; bottom: 24px; }
  .auth-claim h1 { font-size: 30px; }
  .auth-panel { padding: 32px 20px; }
  .auth-panel .brand { margin-bottom: 32px; }
}

/* ---------------------------------------------------------------- Übersicht */
.page { max-width: 1240px; margin: 0 auto; padding: 36px 24px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-head p { margin: 6px 0 0; color: var(--fog); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px 22px; }
.tile { display: block; color: var(--paper); }
.tile:hover { text-decoration: none; }
.tile-img {
  aspect-ratio: 16 / 10; border-radius: var(--radius-m); border: 1px solid var(--edge);
  background: var(--table) center / cover no-repeat; position: relative; overflow: hidden;
}
.tile:hover .tile-img { border-color: var(--edge-strong); }
.tile-img .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fog); font-size: 13px; }
.tile-body { padding: 12px 2px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tile-title { font-weight: 600; letter-spacing: -0.01em; }
.tile-sub { color: var(--fog); font-size: 13px; margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fog); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fog); }
.status[data-s="ready"]::before { background: var(--line); }
.status[data-s="processing"]::before, .status[data-s="uploading"]::before { background: var(--amber); animation: pulse 1.4s infinite; }
.status[data-s="error"]::before { background: var(--danger); }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .status::before { animation: none !important; } }

.empty {
  border: 1px dashed var(--edge-strong); border-radius: var(--radius-m); padding: 56px 24px;
  text-align: center; color: var(--fog);
}
.empty h2 { color: var(--paper); margin-bottom: 8px; }
.empty p { margin: 0 auto 22px; max-width: 46ch; }

/* ---------------------------------------------------------------- Dialog */
dialog {
  border: 1px solid var(--edge-strong); border-radius: var(--radius-m); background: var(--table);
  color: var(--paper); padding: 0; width: min(560px, calc(100vw - 32px));
}
dialog::backdrop { background: rgba(5, 8, 10, .72); }
.dlg-head { padding: 20px 22px 0; }
.dlg-head p { color: var(--fog); margin: 6px 0 0; }
.dlg-body { padding: 18px 22px 4px; }
.dlg-foot { padding: 14px 22px 20px; display: flex; justify-content: flex-end; gap: 10px; }
.drop {
  display: block; border: 1px dashed var(--edge-strong); border-radius: var(--radius-m); padding: 26px 16px; text-align: center;
  color: var(--fog); cursor: pointer; background: var(--ink); transition: border-color .15s;
}
.drop.over, .drop:hover { border-color: var(--line); color: var(--paper); }
.drop strong { color: var(--paper); font-weight: 500; }
label.drop > strong, label.drop > span { display: block; }
label.drop > span { font-size: 13px; margin-top: 4px; }
.drop .file { margin-top: 8px; color: var(--line); font-size: 14px; }

.bar { height: 4px; border-radius: 2px; background: var(--edge); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .3s; }
.bar.done > i { background: var(--line); }

/* ---------------------------------------------------------------- Projekt */
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: calc(100vh - 56px); }
.stage { position: relative; background: var(--ink); overflow: hidden; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.room-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.room-label { position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.room-label b { display: block; font-size: 13px; font-weight: 600; }
.room-label span { font-size: 12px; color: var(--line); font-variant-numeric: tabular-nums; }

/* Sucher: Eckmarken wie im Fernrohr eines Tachymeters */
.reticle { position: absolute; inset: 16px; pointer-events: none; }
.reticle i { position: absolute; width: 22px; height: 22px; border-color: rgba(230, 235, 239, .55); border-style: solid; border-width: 0; }
.reticle i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.reticle i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.reticle .cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); opacity: .5; }
.readout {
  position: absolute; left: 30px; top: 26px; font-size: 12px; color: var(--paper); opacity: .8;
  font-variant-numeric: tabular-nums; display: flex; gap: 14px; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,.7);
}
.readout span b { color: var(--fog); font-weight: 400; margin-right: 4px; }

.tools {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: rgba(14, 20, 25, .86);
  border: 1px solid var(--edge-strong); backdrop-filter: blur(8px);
}
.tool {
  height: 36px; min-width: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent;
  color: var(--paper); display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--font); cursor: pointer;
}
.tool:hover { background: var(--table-2); }
.tool[aria-pressed="true"] { background: var(--line); color: var(--line-ink); }
.tool svg { width: 18px; height: 18px; flex: none; }
.tool .lbl { display: inline; }
.tools .sep { width: 1px; background: var(--edge-strong); margin: 6px 4px; }
.clip { display: flex; align-items: center; gap: 8px; padding: 0 8px; color: var(--fog); font-size: 12px; }
.clip input { width: 90px; accent-color: var(--line); }

.loading {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center;
}
.loading .box { width: min(320px, 70%); }
.loading p { color: var(--fog); font-size: 13px; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.stage-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.stage-msg div { max-width: 40ch; }
.stage-msg h2 { margin-bottom: 8px; }
.stage-msg p { color: var(--fog); margin: 0 0 18px; }

.panel { border-left: 1px solid var(--edge); background: var(--ink); display: flex; flex-direction: column; min-height: 0; }
.tabs { display: flex; gap: 0; padding: 10px 10px 0; border-bottom: 1px solid var(--edge); overflow-x: auto; }
.tab {
  flex: 1 1 auto; white-space: nowrap;
  border: 0; background: none; color: var(--fog); font: 500 13.5px var(--font); padding: 10px 7px 12px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--paper); }
.tab[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--line); }
.tab .soon { font-size: 11px; color: var(--amber); margin-left: 4px; font-weight: 500; }
.pane { padding: 22px 20px 28px; overflow-y: auto; flex: 1; }
.pane section + section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--edge); }
.pane h3 { margin-bottom: 10px; }
.pane p { color: var(--fog); margin: 0 0 14px; font-size: 14px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--radius-m); overflow: hidden; }
.facts div { background: var(--table); padding: 12px 14px; }
.facts dt { font-size: 12px; color: var(--fog); }
.facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.facts dd small { font-size: 13px; font-weight: 500; color: var(--fog); margin-left: 2px; }

.plan-preview { border: 1px solid var(--edge); border-radius: var(--radius-m); background: #fff; overflow: hidden; display: block; margin-bottom: 14px; }
.plan-preview img { display: block; width: 100%; }
.downloads { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.row { display: flex; gap: 10px; align-items: center; }
.row > .input { flex: 1; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.toggle + .toggle { border-top: 1px solid var(--edge); }
.toggle span small { display: block; color: var(--fog); font-size: 13px; }
.switch-input { appearance: none; width: 40px; height: 22px; border-radius: 11px; background: var(--edge-strong); position: relative; cursor: pointer; flex: none; transition: background .15s; }
.switch-input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform .15s; }
.switch-input:checked { background: var(--line); }
.switch-input:checked::after { transform: translateX(18px); background: var(--line-ink); }
code.embed { display: block; font: 12px/1.5 ui-monospace, "DejaVu Sans Mono", monospace; background: var(--table); border: 1px solid var(--edge); border-radius: var(--radius-s); padding: 10px 12px; color: var(--fog); word-break: break-all; }
details.adv summary { cursor: pointer; color: var(--fog); font-size: 14px; margin: 4px 0 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 500; font-size: 14px;
  transition: opacity .2s, transform .2s; z-index: 50; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }

@media (max-width: 960px) {
  .workspace { grid-template-columns: 1fr; height: auto; }
  .stage { height: 62vh; min-height: 360px; }
  .panel { border-left: 0; border-top: 1px solid var(--edge); }
  .tool .lbl { display: none; }
  .clip input { width: 64px; }
  .readout { display: none; }
}

/* ---------------------------------------------------------- Öffentliche Ansicht */
.public { height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.public .stage { height: 100%; }
.public-head { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--edge); }
.public-head .title { min-width: 0; }
.public-head .title h1 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.public-head .title p { margin: 0; color: var(--fog); font-size: 13px; }
.public.embed { grid-template-rows: 1fr; }
.public.embed .public-head { display: none; }
.powered { position: absolute; right: 22px; bottom: 26px; font-size: 12px; color: var(--fog); opacity: .8; }
@media (max-width: 960px) {
  .public .stage { height: 100%; } .powered { display: none; }
  .public-head { padding: 10px 14px; gap: 12px; }
  .public-head .title h1 { font-size: 16px; }
  .public-head .title p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .public-head .btn { height: 32px; padding: 0 10px; font-size: 13px; }
  .public-head .btn .long { display: none; }
}

/* ------------------------------------------------------------ Grundriss-Editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: calc(100vh - 56px); }
.canvas-wrap { position: relative; overflow: hidden; background: var(--ink);
  background-image: linear-gradient(var(--table) 1px, transparent 1px), linear-gradient(90deg, var(--table) 1px, transparent 1px);
  background-size: 32px 32px; }
#svg { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; user-select: none; }
#svg * { vector-effect: non-scaling-stroke; }
#svg .room { vector-effect: none; }
.canvas-wrap[data-tool="door"] #svg, .canvas-wrap[data-tool="window"] #svg { cursor: crosshair; }
.canvas-wrap[data-tool="door"] .wall:hover, .canvas-wrap[data-tool="window"] .wall:hover { fill: var(--line); }
#svg .opening { cursor: ew-resize; }
#svg .hidden-room { fill-opacity: .35; stroke-dasharray: 4 3; }
#svg text { pointer-events: none; font-family: var(--font); font-variant-numeric: tabular-nums; }
.ed-tools { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px;
  border-radius: 10px; background: rgba(14, 20, 25, .9); border: 1px solid var(--edge-strong); }
.ed-hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--fog); font-size: 13px; margin: 0; pointer-events: none; }
.room-list { display: grid; gap: 6px; }
.room-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) 128px 64px; gap: 8px; align-items: center;
  padding: 4px 6px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; }
.room-row:hover { background: var(--table); }
.room-row.active { border-color: var(--amber); background: var(--table); }
.room-row.is-hidden { opacity: .5; }
.room-row .sw { width: 12px; height: 12px; border-radius: 3px; }
.room-row .input { height: 32px; font-size: 14px; padding: 0 8px; }
.room-row .ar { text-align: right; font-size: 13px; color: var(--fog); }
.seg { display: inline-flex; border: 1px solid var(--edge-strong); border-radius: 8px; padding: 2px; gap: 2px; }
.seg button { border: 0; background: none; color: var(--fog); font: 500 13px var(--font); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--line); color: var(--line-ink); }
@media (max-width: 960px) {
  .editor { grid-template-columns: 1fr; height: auto; }
  .canvas-wrap { height: 60vh; min-height: 360px; }
  .room-row { grid-template-columns: 12px minmax(0, 1fr) 110px 56px; }
}

/* ------------------------------------------------------------------ Konto */
.account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card-plain { border: 1px solid var(--edge); border-radius: var(--radius-m); padding: 22px; background: var(--table); }
.card-plain .input { background: var(--ink); }
.logo-box { height: 120px; border: 1px dashed var(--edge-strong); border-radius: var(--radius-m); display: grid; place-items: center;
  background: repeating-conic-gradient(#ffffff 0 25%, #EEF0F2 0 50%) 0 0 / 16px 16px; }
.logo-box img { max-width: 90%; max-height: 96px; }
.logo-box .muted { background: var(--table); padding: 4px 8px; border-radius: 6px; }
input[type=color] { width: 44px; height: 40px; border: 1px solid var(--edge-strong); border-radius: var(--radius-s); background: var(--ink); padding: 3px; }
.topbar .user-link { color: var(--fog); font-size: 14px; }
.topbar .user-link:hover { color: var(--paper); }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }

/* Exposé: Bildliste */
.shot-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; counter-reset: shot; }
.shot { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; padding: 6px;
  border: 1px solid var(--edge); border-radius: var(--radius-m); background: var(--table); }
.shot.active { border-color: var(--line); }
.shot .ph { width: 84px; aspect-ratio: 3 / 2; border-radius: 6px; background: var(--ink) center / cover no-repeat;
  position: relative; cursor: pointer; display: grid; place-items: center; color: var(--fog); font-size: 11px; }
.shot .ph::after { counter-increment: shot; content: counter(shot); position: absolute; left: 4px; top: 4px; font: 600 10px var(--font);
  background: rgba(14, 20, 25, .8); color: var(--paper); border-radius: 4px; padding: 1px 5px; }
.shot:first-child .ph::after { content: "Titel"; background: var(--line); color: var(--line-ink); }
.shot .cap { min-width: 0; }
.shot .cap input { width: 100%; padding: 6px 8px; font-size: 13px; }
.shot .cap small { display: block; color: var(--fog); font-size: 11px; margin-top: 3px; }
.shot .acts { display: flex; flex-direction: column; gap: 2px; }
.shot .acts button { border: 0; background: none; color: var(--fog); cursor: pointer; width: 24px; height: 20px; border-radius: 4px; font-size: 13px; line-height: 1; }
.shot .acts button:hover { color: var(--paper); background: var(--edge); }
.shot .acts button:disabled { opacity: .3; cursor: default; }
.contact-card { border: 1px solid var(--edge); border-radius: var(--radius-m); padding: 12px 14px; font-size: 14px; line-height: 1.55; margin-bottom: 6px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.contact-card b { color: var(--paper); font-weight: 600; }
.contact-card .muted { color: var(--fog); }
.contact-card img { max-width: 90px; max-height: 44px; background: #fff; border-radius: 4px; padding: 4px; }

/* Wandbearbeitung */
#svg .wall-hit { fill: transparent; cursor: pointer; }
#svg .wall-sel { fill: var(--amber); }
#svg .handle { fill: var(--ink); stroke: var(--amber); stroke-width: 2px; cursor: grab; }
#svg .handle.mid { fill: var(--amber); }
#svg .snap-mark { fill: none; stroke: var(--line); stroke-width: 2px; pointer-events: none; }
#svg .guide { stroke: var(--line); stroke-width: 1px; stroke-dasharray: 5 4; pointer-events: none; opacity: .8; }
#svg .rubber { stroke: var(--amber); stroke-width: 2px; stroke-dasharray: 6 4; pointer-events: none; }
#svg .dims { pointer-events: none; }
#svg .sep { stroke: #E6EBEF; stroke-width: 1.6px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .sep-sel { stroke: #E9B44C; stroke-width: 2.6px; }
#svg .sep-hit { stroke: transparent; cursor: pointer; }
#svg .dim-line, #svg .dim-ext, #svg .dim-tick { vector-effect: non-scaling-stroke; fill: none; }
#svg .dim-line { stroke: #8FB4D0; stroke-width: 1px; }
#svg .dim-ext { stroke: #8FB4D0; stroke-opacity: .45; stroke-width: 1px; }
#svg .dim-tick { stroke: #CFE0EC; stroke-width: 1.8px; }
#svg .dim-txt { fill: #CFE0EC; font-weight: 500; pointer-events: none; paint-order: stroke; stroke: #0E1419; stroke-opacity: .85; }
#svg .dim-bg { fill: rgba(14, 20, 25, .88); stroke: var(--edge-strong); stroke-width: 1px; pointer-events: none; }
#svg .underlay { pointer-events: none; image-rendering: auto; }
.canvas-wrap[data-tool="wall"] #svg, .canvas-wrap[data-tool="split"] #svg { cursor: crosshair; }
.tool:disabled { opacity: .35; cursor: default; }
.tool:disabled:hover { background: none; }
.ed-busy { position: absolute; right: 16px; bottom: 44px; background: var(--table); border: 1px solid var(--edge);
  color: var(--fog); font-size: 12px; padding: 6px 10px; border-radius: 8px; }
.wall-kind { display: flex; gap: 6px; margin-bottom: 12px; }
@media (pointer: coarse) { .tool { min-height: 44px; } }
.ed-tools { flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 24px); }
@media (max-width: 1360px) { .ed-tools .lbl { display: none; } .ed-tools .tool { padding: 0 9px; } }

/* Projektbereich & Aufräumen */
#svg .region { fill: rgba(95, 211, 198, .12); stroke: var(--line); stroke-width: 2px; pointer-events: none; }
#svg .region-out { fill: rgba(14, 20, 25, .55); fill-rule: evenodd; pointer-events: none; }
#svg .vtx { fill: var(--ink); stroke: var(--line); stroke-width: 2px; cursor: grab; }
#svg .vtx-add { fill: var(--line); stroke: var(--ink); stroke-width: 1.5px; cursor: copy; opacity: .85; }
#svg .cut { fill: rgba(226, 92, 76, .28); stroke: #E25C4C; stroke-width: 1.5px; cursor: pointer; }
#svg .cut.sel { fill: rgba(226, 92, 76, .5); stroke-width: 2.5px; }
#svg .lasso { fill: rgba(226, 92, 76, .2); stroke: #E25C4C; stroke-width: 1.5px; stroke-dasharray: 5 4; pointer-events: none; }
.canvas-wrap[data-tool="cut"] #svg { cursor: crosshair; }
.zhist { width: 100%; height: 90px; display: block; margin: 4px 0 10px; background: var(--table); border-radius: 8px; }
.zhist .bar { fill: var(--fog); opacity: .55; }
.zhist .sel { fill: var(--line); opacity: .16; }
.zhist .lim { stroke: var(--line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cut-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cut-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--edge); border-radius: 8px; font-size: 13px; }
.cut-list li.active { border-color: #E25C4C; }
.cut-list li span { flex: 1; color: var(--fog); }
.cut-list button { border: 0; background: none; color: var(--fog); cursor: pointer; font-size: 13px; padding: 2px 6px; }
.cut-list button:hover { color: var(--paper); }
.badge { display: inline-flex; align-items: center; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--table-2); color: var(--amber); }

/* ---------------------------------------------------------------- Gebäude */
.btn-small { height: 30px; padding: 0 10px; font-size: 13px; }
.workspace { position: relative; }
.floor-switch { position: absolute; left: 16px; top: 48px; z-index: 5; display: flex; gap: 2px; padding: 3px;
  background: rgba(14, 20, 25, .86); border: 1px solid var(--edge); border-radius: 10px; backdrop-filter: blur(6px); }
.floor-switch button { border: 0; background: none; color: var(--fog); font: 500 13px var(--font); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.floor-switch button[aria-pressed="true"] { background: var(--table-2); color: var(--paper); }
.floors { display: grid; gap: 14px; margin-top: 12px; }
.floor-group { border: 1px solid var(--edge); border-radius: var(--radius-m); padding: 10px 12px; display: grid; gap: 10px; }
.floor-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; }
.floor-head span { font-size: 12px; }
.member { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--edge); }
.floor-head + .member { border-top: 0; padding-top: 0; }
.member-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.member-title { font-weight: 600; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-edit { display: grid; grid-template-columns: 1fr 64px 76px auto; gap: 6px; align-items: center; }
.member-edit .input { height: 32px; padding: 0 8px; font-size: 13px; }
.member-acts { gap: 6px; }
.reg-badge { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--table-2); white-space: nowrap; }
.reg-badge.ok { color: var(--line); }
.reg-badge.todo { color: var(--amber); }
.reg-badge.warn { color: var(--fog); }
.floor-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.floor-prev { display: grid; gap: 4px; color: var(--paper); font-size: 13px; }
.floor-prev img { width: 100%; aspect-ratio: 1.414; object-fit: cover; border-radius: 6px; background: #fff; border: 1px solid var(--edge); }
.floor-prev small { color: var(--fog); margin-left: 6px; }

/* Ausrichten */
#svg .reg-ref .wall { fill: #8A99A6; fill-opacity: .75; }
#svg .reg-ref .room { fill: #8A99A6; fill-opacity: .10; }
#svg .reg-ref .open { fill: #8A99A6; fill-opacity: .35; }
#svg .reg-mov .wall { fill: #5FD3C6; fill-opacity: .72; }
#svg .reg-mov .room { fill: #5FD3C6; fill-opacity: .10; }
#svg .reg-mov .open { fill: #5FD3C6; fill-opacity: .35; }
#svg .pair-line { stroke: #E9B44C; stroke-width: 1.4px; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
#svg .pair-m { fill: #5FD3C6; stroke: #0E1419; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
#svg .pair-m.pending { fill: none; stroke: #5FD3C6; stroke-width: 2.5px; }
#svg .pair-r { fill: #E6EBEF; stroke: #0E1419; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
#svg .snap-ring { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .snap-ring.m { stroke: #5FD3C6; }
#svg .snap-ring.r { stroke: #E6EBEF; }
#svg .pair-num { fill: #E9B44C; font-weight: 700; pointer-events: none; }
.canvas-wrap[data-tool="pairs"] #svg { cursor: crosshair; }
.reg-legend { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--fog); background: rgba(14, 20, 25, .86); border: 1px solid var(--edge); border-radius: 8px; padding: 6px 10px; }
.reg-legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.reg-legend .sw.ref { background: #8A99A6; }
.reg-legend .sw.mov { background: #5FD3C6; margin-left: 8px; }
.ref-list { display: grid; gap: 6px; }
.ref-item { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.ref-item small { grid-column: 2; font-size: 12px; }
.cands { display: grid; gap: 6px; margin-top: 10px; }
.cand { display: grid; gap: 2px; text-align: left; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--edge);
  background: none; color: var(--paper); font: 400 13px var(--font); cursor: pointer; }
.cand span { color: var(--fog); }
.cand.on { border-color: var(--line); background: rgba(95, 211, 198, .08); }
.pair-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.pair-list li { display: flex; align-items: center; gap: 8px; }
.pair-list li button { margin-left: auto; }
.reg-quality { font-size: 13px; color: var(--fog); margin: 10px 0 0; }
.bld-list { display: grid; gap: 8px; }
.bld { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--edge);
  border-radius: var(--radius-m); background: var(--table); color: var(--paper); }
.bld:hover { border-color: var(--edge-strong); text-decoration: none; }

/* Flächen im Editor */
.area-totals { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--edge); font-size: 13px; }
.area-totals div { display: flex; justify-content: space-between; gap: 8px; }
.area-totals span { color: var(--fog); }
.area-totals p { margin: 4px 0 0; font-size: 12px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 14px; }
.calc div { min-width: 0; }
.calc .wide { grid-column: 1 / -1; }
.calc dt { font-size: 11.5px; color: var(--fog); }
.calc dd { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.calc dd small { color: var(--fog); font-size: 11.5px; }
.calc dd.hl { color: var(--line); font-weight: 600; }

/* Kontrollmaße */
#svg .chk { stroke-width: 2px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .chk-sel { stroke-width: 3.5px; }
#svg .chk-end { stroke: #0E1419; stroke-width: 1px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .chk.chk-open, #svg .chk-end.chk-open { stroke: #E9B44C; }
#svg .chk-end.chk-open { fill: #E9B44C; }
#svg .chk.chk-ok { stroke: #6CD38A; }
#svg .chk-end.chk-ok { fill: #6CD38A; }
#svg .chk.chk-bad { stroke: #F07A6A; }
#svg .chk-end.chk-bad { fill: #F07A6A; }
#svg .chk-txt { font-weight: 600; paint-order: stroke; stroke: #0E1419; pointer-events: none; }
#svg .chk-txt.chk-open { fill: #E9B44C; }
#svg .chk-txt.chk-ok { fill: #6CD38A; }
#svg .chk-txt.chk-bad { fill: #F07A6A; }
.canvas-wrap[data-tool="check"] #svg { cursor: crosshair; }
.check-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.check-list li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px;
  border: 1px solid var(--edge); border-radius: 8px; cursor: pointer; }
.check-list li.active { border-color: var(--amber); }
.check-list li.muted { display: block; cursor: default; }
.check-list .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.chk-dot.chk-ok { background: #6CD38A; } .chk-dot.chk-bad { background: #F07A6A; }
.dev.chk-ok, p.chk-ok { color: #6CD38A; } .dev.chk-bad, p.chk-bad { color: #F07A6A; } .dev.chk-open { color: var(--fog); }
.check-status { font-size: 13px; margin: 10px 0 0; color: var(--fog); }
.check-status.ok { color: #6CD38A; } .check-status.bad { color: #F07A6A; }
.scale-box { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--edge-strong); border-radius: 8px; font-size: 13px; }
.scale-box p { margin: 0 0 8px; }

/* ------------------------------------------------- Aufnahmen: öffentliche Ansicht */
.mv-body { overflow: hidden; }
.mv { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr 340px; background: #000; }
.mv-stage { position: relative; overflow: hidden; min-width: 0; }
.mv-pano, .mv-photo, .mv-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mv-pano { cursor: grab; outline: none; }
.mv-pano:active { cursor: grabbing; }
.mv-photo, .mv-video { object-fit: contain; background: #000; }
.mv-hotspots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mv-hot {
  position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 8px;
  border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: #fff;
}
.mv-hot span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: rgba(95, 211, 198, .92); color: var(--line-ink); box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 4px 14px rgba(0,0,0,.45);
}
.mv-hot.k-photo span { width: 26px; height: 26px; font-size: 12px; }
.mv-hot em {
  font-style: normal; font-size: 13px; padding: 3px 8px; border-radius: 6px; background: rgba(14,20,25,.72);
  opacity: 0; transition: opacity .15s; white-space: nowrap;
}
.mv-hot:hover em, .mv-hot:focus-visible em { opacity: 1; }
.mv-caption {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 8px 12px; border-radius: var(--radius-s);
  background: rgba(14,20,25,.78); display: flex; gap: 10px; align-items: baseline; pointer-events: none;
}
.mv-caption b { color: var(--line); }
.mv-caption small { color: var(--fog); }
.mv-btn {
  border: 1px solid rgba(255,255,255,.18); background: rgba(14,20,25,.7); color: var(--paper); border-radius: 50%;
  width: 40px; height: 40px; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.mv-btn:hover { background: rgba(21,29,36,.95); }
.mv-prev, .mv-next { position: absolute; top: 50%; transform: translateY(-50%); }
.mv-prev { left: 12px; } .mv-next { right: 12px; }
.mv-vctl {
  position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); width: min(560px, calc(100% - 32px));
  display: flex; gap: 12px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(14,20,25,.78);
}
.mv-vctl .mv-btn { width: 32px; height: 32px; font-size: 13px; }
.mv-vctl input { flex: 1; accent-color: var(--line); }
.mv-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fog); pointer-events: none; }
.mv-side { background: var(--ink); border-left: 1px solid var(--edge); display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.mv-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--edge); }
.mv-head h1 { font-size: 17px; }
.mv-head p { margin: 2px 0 0; color: var(--fog); font-size: 13px; }
.mv-head > div { flex: 1; min-width: 0; }
.mv-toggle { display: none; width: 32px; height: 32px; font-size: 16px; }
.mv-map { padding: 12px; border-bottom: 1px solid var(--edge); }
.mv-map svg { width: 100%; height: 250px; display: block; }
.mv-map .room { fill: var(--table-2); stroke: none; }
.mv-map .wall { fill: var(--paper); }
.mv-map .track { fill: none; stroke: var(--line); stroke-dasharray: .25 .15; opacity: .7; }
.mv-map .cone { fill: rgba(95,211,198,.30); stroke: none; }
.mv-map .pt { cursor: pointer; }
.mv-map .pt circle, .mv-map .pt rect { fill: var(--line); stroke: var(--ink); stroke-width: .04; }
.mv-map .pt .ring { fill: none; stroke: var(--line); }
.mv-map .pt text { fill: var(--line-ink); font-weight: 700; text-anchor: middle; pointer-events: none; }
.mv-map .pt.active circle, .mv-map .pt.active rect { fill: var(--amber); }
.mv-map .pt.active .ring { fill: none; stroke: var(--amber); }
.mv-map .now { fill: var(--amber); stroke: var(--ink); stroke-width: .05; }
.mv-list { list-style: none; margin: 0; padding: 8px; overflow: auto; flex: 1; display: grid; gap: 6px; align-content: start; }
.mv-list button {
  width: 100%; display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; text-align: left; position: relative;
  border: 1px solid transparent; background: none; color: var(--paper); padding: 4px; border-radius: var(--radius-s); cursor: pointer; font: inherit;
}
.mv-list button:hover { background: var(--table); }
.mv-list li.active button { border-color: var(--line); background: var(--table); }
.mv-list img { width: 72px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--table-2); }
.mv-list .n {
  position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  background: var(--line); color: var(--line-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.mv-list .t { font-size: 14px; display: grid; }
.mv-list .t small { color: var(--fog); font-size: 12px; }
@media (max-width: 760px) {
  .mv { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .mv-side { border-left: 0; border-top: 1px solid var(--edge); max-height: 46vh; min-width: 0; }
  .mv-side.collapsed .mv-map, .mv-side.collapsed .mv-list { display: none; }
  .mv-toggle { display: grid; }
  .mv-head { padding: 10px 16px; }
  .mv-head .brand { display: none; }
  .mv-map svg { height: 150px; }
  .mv-list { grid-auto-flow: column; grid-auto-columns: 200px; overflow-x: auto; }
  .mv-prev, .mv-next { width: 36px; height: 36px; }
}

/* ------------------------------------------------- Aufnahmen: Projektseite */
.media-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.media-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; padding: 6px;
  border: 1px solid var(--edge); border-radius: var(--radius-s); background: var(--table); }
.media-item.unplaced { border-style: dashed; }
.media-item .ph { width: 84px; aspect-ratio: 3 / 2; border-radius: 6px; background: var(--ink) center / cover no-repeat; position: relative; display: block; }
.media-item .ph .n { position: absolute; left: 4px; top: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--line); color: var(--line-ink); font: 700 10px/18px var(--font); text-align: center; }
.media-item .ph .k { position: absolute; right: 4px; bottom: 4px; padding: 0 5px; border-radius: 4px; background: rgba(14,20,25,.8);
  color: var(--paper); font: 500 10px/16px var(--font); }
.media-item .cap { min-width: 0; }
.media-item .cap input { width: 100%; height: 32px; padding: 6px 8px; font-size: 13px; }
.media-item .cap small { display: block; color: var(--fog); font-size: 11px; margin-top: 3px; }
.media-item .warn { color: var(--amber); font-weight: 500; }
.media-item .acts { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.up-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.up-list li { display: grid; gap: 4px; }
.up-list li.err { color: var(--danger); }
.up-list li.err .bar { display: none; }

/* ------------------------------------------------- Aufnahmen im Grundriss-Editor */
#svg .media .m-cone { fill: rgba(95, 211, 198, .22); stroke: none; pointer-events: none; }
#svg .media .m-cone.m-sel { fill: rgba(233, 180, 76, .30); }
#svg .media .m-sym { fill: var(--line); stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; cursor: grab; }
#svg .media .m-sym.m-sel { fill: var(--amber); }
#svg .media .m-sym.m-wait { opacity: .5; }
#svg .media .m-ring { fill: none; stroke: var(--line); stroke-width: 2px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .media .m-ring.m-sel { stroke: var(--amber); }
#svg .media .m-track { fill: none; stroke: var(--line); stroke-width: 2px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .media .m-dir { stroke: var(--amber); stroke-width: 1.5px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .traj { fill: none; stroke: #E9B44C; stroke-width: 1.5px; stroke-dasharray: 3 3; opacity: .75; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .m-num { fill: var(--line-ink); pointer-events: none; }
.wrap[data-tool="place"] #svg, .canvas-wrap[data-tool="place"] #svg { cursor: crosshair; }
.m-thumb { display: block; margin-bottom: 12px; }
.m-thumb img, .m-thumb-img { width: 100%; border-radius: var(--radius-s); display: block; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink); }
.m-warn { font-size: 12px; color: var(--amber); }
.ed-media { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.ed-media li { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; padding: 4px; border-radius: var(--radius-s);
  border: 1px solid transparent; cursor: pointer; font-size: 13px; }
.ed-media li:hover { background: var(--table); }
.ed-media li.active { border-color: var(--amber); }
.ed-media li.off { cursor: default; }
.ed-media li.off img { opacity: .55; }
.ed-media img { width: 56px; height: 38px; object-fit: cover; border-radius: 4px; background: var(--ink); }
.ed-media b { color: var(--line); }
.ed-media small { display: block; color: var(--fog); font-size: 11px; }

/* Editor: offene Wandenden, Raum zeichnen, gelöschte Räume, Speicherstand */
#svg .open-end { fill: #E5484D; stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; pointer-events: none; }
#svg .room-draft { fill: var(--amber); fill-opacity: .18; stroke: var(--amber); stroke-width: 2px; vector-effect: non-scaling-stroke;
  stroke-dasharray: 6 4; pointer-events: none; }
.ed-state { font-size: 13px; white-space: nowrap; }
.ed-state.stale { color: var(--amber); }
.room-restore { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px;
  color: var(--fog); border: 1px dashed var(--table-2); border-radius: 8px; margin-top: 6px; }
.room-row .tag { font-size: 11px; color: var(--amber); margin-left: 4px; }
@media (max-width: 720px) { .ed-state { display: none; } }
