:root {
  --bg: #0f0e13;
  --card: #17151f;
  --card2: #1f1c2a;
  --line: rgba(246, 226, 179, 0.14);
  --line2: rgba(255, 255, 255, 0.08);
  --text: #f5f3f0;
  --muted: #a6a1b5;
  --gold: #d9b56c;
  --gold2: #f6e2b3;
  --danger: #ef4444;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold2); text-decoration: none; }

.v-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 14, 19, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.v-header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.v-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.v-brand img { border-radius: 10px; object-fit: cover; }
.v-brand-name { font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.v-brand-sub { font-size: 12px; color: var(--gold); }

.v-main {
  max-width: 1180px; margin: 0 auto;
  padding: 18px 14px 64px;
  display: flex; flex-direction: column; gap: 18px;
}

.v-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.v-card-head {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.v-card-head h2 { margin: 0; font-size: 18px; color: var(--gold2); }
.v-card-head p { margin: 3px 0 0; font-size: 13px; }
.v-head-right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.v-step-badge {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  background: linear-gradient(135deg, var(--gold), #b4822d);
  color: #121016; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.v-muted { color: var(--muted); }
.v-gold-text { color: var(--gold2); font-weight: 600; }
.small { font-size: 12px; }

/* Buttons */
button { font-family: inherit; cursor: pointer; }
.v-btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #141118; border: none; border-radius: 10px;
  padding: 10px 16px; font-weight: 700; font-size: 14px;
  transition: transform 0.12s, opacity 0.15s;
}
.v-btn-gold:hover:not(:disabled) { opacity: 0.94; transform: translateY(-1px); }
.v-btn-gold:disabled { opacity: 0.45; cursor: not-allowed; }
.v-btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }

.v-btn-outline {
  background: rgba(217, 181, 108, 0.09);
  color: var(--gold2); border: 1px solid rgba(217, 181, 108, 0.35);
  border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 13px;
}
.v-btn-outline:hover { background: rgba(217, 181, 108, 0.18); }

.v-btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 8px 13px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.v-btn-ghost:hover { color: var(--text); border-color: var(--line); }

.v-btn-danger {
  background: rgba(239, 68, 68, 0.15); color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 8px;
  padding: 7px 11px; font-weight: 600; font-size: 12px;
}
.v-btn-gold.small, .v-btn-outline.small, .v-btn-ghost.small { padding: 6px 11px; font-size: 12px; border-radius: 8px; }
.full { width: 100%; }

/* Tabs */
.v-tabs, .v-tool-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line2); padding-bottom: 10px;
}
.v-tab, .v-tool-tab {
  background: var(--card2); color: var(--muted);
  border: 1px solid var(--line2); border-radius: 9px;
  padding: 8px 13px; font-size: 13px; font-weight: 600;
}
.v-tab.active, .v-tool-tab.active {
  background: rgba(217, 181, 108, 0.18);
  color: var(--gold2); border-color: var(--gold);
}
.v-tab-panel, .v-tool-panel { display: none; }
.v-tab-panel.active, .v-tool-panel.active { display: block; }

/* Hall Library Grid */
.v-hall-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px;
}
.v-hall-tile {
  background: var(--card2); border: 2px solid transparent;
  border-radius: 11px; overflow: hidden; cursor: pointer;
  transition: border-color 0.15s, transform 0.12s;
  text-align: left; padding: 0; color: var(--text);
}
.v-hall-tile:hover { transform: translateY(-2px); border-color: rgba(217, 181, 108, 0.45); }
.v-hall-tile.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(217, 181, 108, 0.25); }
.v-hall-tile img { width: 100%; height: 112px; object-fit: cover; display: block; }
.v-hall-tile-body { padding: 8px 10px; }
.v-hall-tile-name { font-weight: 700; font-size: 13px; }
.v-hall-tile-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Upload & Search */
.v-upload-box {
  border: 2px dashed rgba(217, 181, 108, 0.35);
  border-radius: 12px; padding: 26px 16px; text-align: center;
  background: rgba(255, 255, 255, 0.02);
}
.v-upload-icon { font-size: 32px; margin-bottom: 6px; }
.v-search-row { display: flex; gap: 8px; margin-bottom: 8px; }
.v-search-row input { flex: 1; }

.v-room-bar {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.v-room-current { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.v-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; display: inline-block; }

/* Studio Layout */
.v-studio {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr); gap: 16px;
  align-items: start;
}
@media (max-width: 880px) {
  .v-studio { grid-template-columns: 1fr; }
}

.v-stage-wrap {
  position: relative; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #09080c;
  user-select: none; -webkit-user-select: none;
}
.v-stage-wrap img { width: 100%; display: block; pointer-events: none; }
.v-stage-overlay {
  position: absolute; inset: 0;
  touch-action: none;
}

/* Draggable Canvas Nodes */
.v-node {
  position: absolute; transform: translate(-50%, -50%);
  cursor: grab; touch-action: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transition: box-shadow 0.12s;
}
.v-node:active { cursor: grabbing; }
.v-node.selected { z-index: 25; }
.v-node-shape {
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold2);
  background: rgba(217, 181, 108, 0.34);
  backdrop-filter: blur(2px);
  color: #fff; font-weight: 800; font-size: 11px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.v-node.selected .v-node-shape {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(246, 226, 179, 0.65), 0 6px 16px rgba(0, 0, 0, 0.6);
}
.v-node-round .v-node-shape { border-radius: 50%; }
.v-node-square .v-node-shape { border-radius: 8px; }
.v-node-banquet .v-node-shape { border-radius: 6px; }
.v-node-mechitza .v-node-shape {
  background: rgba(168, 85, 247, 0.45); border-color: #e9d5ff; border-radius: 99px;
}
.v-node-shelf .v-node-shape {
  background: rgba(56, 189, 248, 0.42); border-color: #bae6fd; border-radius: 8px;
}
.v-node-custom .v-node-shape {
  background: rgba(34, 197, 94, 0.42); border-color: #bbf7d0; border-radius: 8px;
  padding: 2px; overflow: hidden;
}
.v-node-custom img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; pointer-events: none; }

.v-node-label {
  margin-top: 3px; padding: 2px 6px; border-radius: 5px;
  background: rgba(12, 11, 16, 0.82); color: #f8f5ee;
  font-size: 10px; font-weight: 700; white-space: nowrap;
  pointer-events: none; border: 1px solid rgba(246, 226, 179, 0.25);
}

/* Individual Chair Dots */
.v-chair-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #f6e2b3; border: 2px solid #1b1710;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  cursor: grab; touch-action: none; z-index: 15;
}
.v-chair-node.selected {
  background: #38bdf8; border-color: #fff;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.5);
  z-index: 26;
}

/* Busy Overlay */
.v-stage-busy {
  position: absolute; inset: 0; z-index: 35;
  background: rgba(10, 9, 14, 0.82); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--gold2); font-weight: 700; font-size: 15px;
}
.v-stage-busy[hidden] { display: none; }
.v-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(246, 226, 179, 0.2);
  border-top-color: var(--gold2);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Zoom Bar & Viewport */
.v-zoom-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin-bottom: 8px;
}
.v-zoom-controls {
  display: inline-flex; align-items: center; gap: 5px;
}
.v-zoom-btn {
  width: 30px; height: 28px; border-radius: 7px;
  background: var(--card2); color: var(--gold2);
  border: 1px solid var(--line); font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.v-zoom-btn:hover { border-color: var(--gold); }
.v-zoom-readout {
  min-width: 52px; height: 28px; padding: 0 8px; border-radius: 7px;
  background: #121018; color: var(--text); border: 1px solid var(--line2);
  font-size: 12px; font-weight: 700;
}
.v-zoom-reset { padding: 4px 10px !important; height: 28px; }
.v-stage-viewport {
  position: relative; width: 100%;
  transform-origin: 0 0; will-change: transform;
}

/* Visual Circular Rotation Handle */
.v-node-rot-arm {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0; pointer-events: none; z-index: 30;
}
.v-node-rot-stem {
  position: absolute; left: -1px; bottom: 0;
  width: 2px; background: var(--gold2);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
.v-node-rot-handle {
  position: absolute; left: -13px;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #141118; border: 2px solid #fff;
  font-size: 14px; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  cursor: grab; pointer-events: auto; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.v-node-rot-handle:active { cursor: grabbing; transform: scale(1.1); }

/* Inspector */
.v-inspector {
  margin-top: 10px; padding: 10px 12px;
  background: var(--card2); border: 1px solid rgba(217, 181, 108, 0.35);
  border-radius: 10px; display: flex; flex-direction: column; gap: 10px;
}
.v-insp-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.v-rot-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--line2);
}
.v-rot-bar[hidden] { display: none; }
.v-rot-val {
  min-width: 38px; text-align: center; font-size: 13px; color: var(--gold2);
  background: #121018; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px;
}
.v-rot-btns { display: inline-flex; gap: 4px; }
.v-rot-step { width: auto; min-width: 38px; padding: 0 7px; height: 28px; font-size: 12px; }
.v-rot-slider {
  flex: 1 1 140px; min-width: 120px; accent-color: var(--gold); cursor: pointer;
}
.v-inspector[hidden] { display: none; }
.v-insp-left { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.v-insp-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v-chair-snap-inline { display: flex; align-items: center; gap: 4px; }
.v-chair-snap-inline[hidden] { display: none; }
.v-inline-label { font-size: 12px; color: var(--muted); }
.v-chair-snap-inline input { width: 52px; padding: 5px 6px; text-align: center; }

.v-stage-stats {
  margin-top: 8px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); gap: 8px; flex-wrap: wrap;
}

/* Tool Palette Forms */
.v-tools-col {
  background: var(--card2); border: 1px solid var(--line2);
  border-radius: 12px; padding: 14px;
}
.v-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; }
.v-field > span { font-size: 12px; font-weight: 600; color: var(--gold2); }
input[type="text"], input[type="number"], select {
  background: #121018; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px; padding: 9px 10px; font-size: 14px; width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--gold); }

.v-stepper-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v-stepper-row input { width: 64px; text-align: center; }
.v-step-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: #121018; color: var(--gold2);
  border: 1px solid rgba(217, 181, 108, 0.35);
  font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.v-quick-nums { display: flex; gap: 4px; flex-wrap: wrap; }
.v-chip {
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  border: 1px solid var(--line2); border-radius: 7px;
  padding: 5px 8px; font-size: 12px; font-weight: 600;
}
.v-chip:hover { border-color: var(--gold); color: var(--gold2); }

.v-btn-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.v-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.v-custom-preview {
  display: flex; align-items: center; gap: 10px;
  background: #121018; border: 1px solid var(--line);
  border-radius: 9px; padding: 8px; margin: 10px 0;
}
.v-custom-preview[hidden] { display: none; }
.v-custom-preview img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }

/* Styling Grid */
.v-style-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 14px;
}
.v-lighting-box {
  margin-top: 10px; padding: 12px 14px;
  background: var(--card2); border: 1px solid var(--line2); border-radius: 11px;
}
.v-lighting-toggles { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.v-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.v-toggle input { width: 18px; height: 18px; accent-color: var(--gold); }

.v-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.v-swatch {
  background: #121018; color: var(--text);
  border: 1px solid var(--line2); border-radius: 99px;
  padding: 6px 12px 6px 28px; font-size: 12px; font-weight: 600;
  position: relative;
}
.v-swatch::before {
  content: ""; position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--sw);
  box-shadow: 0 0 8px var(--sw);
}
.v-swatch.active { border-color: var(--gold2); background: rgba(217, 181, 108, 0.16); color: var(--gold2); }

.v-render-cta {
  margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* Before / After Compare Slider */
.v-compare-wrap {
  position: relative; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
  user-select: none; -webkit-user-select: none;
}
.v-compare-wrap > img { width: 100%; display: block; }
.v-compare-before-clip {
  position: absolute; inset: 0; width: 50%; overflow: hidden;
}
.v-compare-before-clip img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  max-width: none;
}
.v-compare-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.v-compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold2); color: #121016; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}
.v-compare-tag {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px;
  background: rgba(15, 14, 19, 0.78); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; pointer-events: none;
}
.v-compare-tag.left { left: 12px; }
.v-compare-tag.right { right: 12px; background: rgba(180, 130, 45, 0.9); }
#compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; z-index: 10;
}

.v-result-actions {
  margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}


.v-lighting-subhead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.v-custom-color-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 99px;
  background: #121018; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--gold2); cursor: pointer;
}
.v-custom-color-pill.active {
  border-color: var(--gold2); background: rgba(217, 181, 108, 0.18);
}
.v-custom-color-pill input[type="color"] {
  width: 22px; height: 22px; padding: 0; border: none; background: transparent;
  cursor: pointer; border-radius: 50%; overflow: hidden;
}
.v-custom-color-pill code { font-size: 11px; color: var(--muted); }
.v-swatches { gap: 6px; max-height: 168px; overflow-y: auto; padding-right: 4px; }
.v-swatch { padding: 5px 10px 5px 25px; font-size: 11.5px; }
.v-swatch::before { left: 8px; width: 11px; height: 11px; }
.v-swatches.disabled, .v-pinspot-targets.disabled { opacity: 0.42; pointer-events: none; }

.v-pinspot-box {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2);
}
.v-pinspot-tone-wrap {
  display: inline-flex; align-items: center; gap: 8px;
}
.v-pinspot-tone-wrap select {
  width: auto; padding: 6px 10px; font-size: 12.5px;
}
.v-pinspot-targets {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.v-check-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 99px;
  background: #121018; border: 1px solid var(--line2);
  font-size: 12.5px; font-weight: 600; color: var(--text); cursor: pointer;
}
.v-check-pill:has(input:checked) {
  border-color: var(--gold2); background: rgba(217, 181, 108, 0.14); color: var(--gold2);
}
.v-check-pill input { width: 15px; height: 15px; accent-color: var(--gold); margin: 0; }


/* Two-Mode View Toggle (Top-Down Floor Plan vs On-Photo View) */
.v-view-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: #121018; border: 1px solid var(--line);
  border-radius: 10px; padding: 3px;
}
.v-view-btn {
  background: transparent; color: var(--muted); border: none;
  border-radius: 7px; padding: 6px 11px; font-size: 12.5px; font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.v-view-btn.active {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #141118;
}

/* Architectural Top-Down Floor Plan Background */
.v-floorplan-bg {
  position: absolute; inset: 0; display: none;
  background-color: #11131d;
  background-image:
    linear-gradient(rgba(217, 181, 108, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 181, 108, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  border: 2px solid rgba(217, 181, 108, 0.32);
  pointer-events: none;
}
.v-stage-wrap.mode-plan {
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-stage-wrap.mode-plan .v-stage-viewport {
  width: min(100%, calc(520px * var(--room-aspect, 1.15)));
  aspect-ratio: var(--room-aspect, 1.15);
  margin: 0 auto;
}
.v-stage-wrap.mode-plan #stage-img {
  display: none;
}
.v-stage-wrap.mode-photo #stage-img {
  display: block;
  opacity: 1;
  visibility: visible;
}
.v-stage-wrap.mode-plan .v-floorplan-bg {
  display: block;
}
.v-stage-wrap.mode-photo .v-floorplan-bg {
  display: none;
}
.v-fp-wall {
  position: absolute; font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  color: rgba(246, 226, 179, 0.65); text-transform: uppercase;
  background: rgba(17, 19, 29, 0.85); padding: 3px 8px; border-radius: 4px;
  border: 1px solid rgba(217, 181, 108, 0.2);
}
.v-fp-top { top: 8px; left: 50%; transform: translateX(-50%); }
.v-fp-bottom { bottom: 24px; left: 50%; transform: translateX(-50%); }
.v-fp-left { left: 8px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
.v-fp-right { right: 8px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }
.v-fp-scale {
  position: absolute; bottom: 5px; left: 12px; right: 12px;
  display: flex; justify-content: space-between;
  font-size: 9.5px; color: rgba(246, 226, 179, 0.45);
  border-top: 1px dashed rgba(217, 181, 108, 0.25); padding-top: 2px;
}

/* Venue House Lights (Dimmers) */
.v-dimmers-box {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2);
}
.v-mood-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.v-mood-btn {
  background: #121018; color: var(--gold2);
  border: 1px solid rgba(217, 181, 108, 0.32); border-radius: 8px;
  padding: 5px 10px; font-size: 12px; font-weight: 600;
}
.v-mood-btn:hover, .v-mood-btn.active {
  background: rgba(217, 181, 108, 0.2); border-color: var(--gold2); color: #fff;
}
.v-dimmers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 16px; margin-top: 8px;
}
.v-dimmer-row {
  display: flex; flex-direction: column; gap: 5px;
  background: #121018; border: 1px solid var(--line2); border-radius: 9px;
  padding: 9px 11px;
}
.v-dimmer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12.5px; color: var(--text);
}
.v-dimmer-val {
  font-size: 12px; color: var(--gold2); font-weight: 700;
  padding: 2px 7px; border-radius: 99px; background: rgba(217, 181, 108, 0.14);
}
.v-dimmer-val.off {
  color: #fca5a5; background: rgba(239, 68, 68, 0.16);
}
.v-dimmer-row input[type="range"] {
  width: 100%; accent-color: var(--gold); cursor: pointer; margin: 0;
}

.v-node-oval .v-node-shape { border-radius: 999px; }


.v-insp-style-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--line2);
}
.v-insp-style-row[hidden] { display: none; }
.v-insp-select-wrap {
  display: inline-flex; align-items: center; gap: 6px; flex: 1 1 200px;
}
.v-insp-select-wrap select {
  padding: 5px 8px; font-size: 12px;
}
.v-edit-render-panel {
  margin-top: 14px; padding: 14px;
  background: var(--card2); border: 1px solid rgba(217, 181, 108, 0.3);
  border-radius: 12px; display: flex; flex-direction: column; gap: 10px;
}
.v-edit-render-head {
  display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--gold2);
}
.v-edit-targets { display: flex; gap: 7px; flex-wrap: wrap; }
.v-edit-render-row input { width: 100%; }


/* Multi-Select Toolbar */
.v-select-bar {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 8px; padding: 6px 8px;
  background: #14121b; border: 1px solid var(--line2); border-radius: 10px;
}
.v-multi-toggle {
  background: #1b1824; color: var(--text);
  border: 1px solid rgba(217, 181, 108, 0.35);
  border-radius: 8px; padding: 5px 11px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v-multi-toggle.active {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #141118; border-color: var(--gold2);
  box-shadow: 0 0 0 2px rgba(217, 181, 108, 0.28);
}
.v-select-badge {
  margin-left: auto; font-size: 11.5px; font-weight: 700;
  color: #141118; background: var(--gold2);
  padding: 3px 9px; border-radius: 99px;
}
.v-select-badge[hidden] { display: none; }

/* Staging Node */
.v-node-stage .v-node-shape {
  background: repeating-linear-gradient(
    -45deg,
    rgba(28, 25, 38, 0.94),
    rgba(28, 25, 38, 0.94) 8px,
    rgba(42, 37, 56, 0.94) 8px,
    rgba(42, 37, 56, 0.94) 16px
  );
  border: 2px solid #d9b56c;
  border-radius: 6px;
  color: #f6e2b3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.v-node.selected .v-node-shape {
  box-shadow: 0 0 0 3px rgba(246, 226, 179, 0.9), 0 0 18px rgba(217, 181, 108, 0.65);
}

/* Pro RGBAW+UV Uplight Swatch Group */
.v-h9-box {
  background: #121018; border: 1px solid rgba(217, 181, 108, 0.28);
  border-radius: 10px; padding: 10px 11px; margin-top: 8px;
}
.v-h9-box.disabled { opacity: 0.4; pointer-events: none; }
.v-h9-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.v-h9-badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #141118; padding: 2px 8px; border-radius: 99px;
}
.v-swatches-h9 { margin-top: 0; }
.v-extra-washes {
  margin-top: 8px;
}
.v-extra-washes > summary {
  cursor: pointer; user-select: none; padding: 4px 2px;
}
.v-extra-washes .v-swatches { margin-top: 6px; }
.v-extra-washes.disabled { opacity: 0.4; pointer-events: none; }

/* Camera Angle Selector */
.v-camera-box {
  background: #121018; border: 1px solid rgba(217, 181, 108, 0.24);
  border-radius: 10px; padding: 10px 12px;
}


/* Per-Table Tabletop Assignment & Stamp Mode */
.v-stamp-toggle {
  background: #1b1824; color: var(--text);
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 8px; padding: 5px 11px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v-stamp-toggle.active {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  color: #141118; border-color: #e9d5ff;
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.32);
}
.v-stage-wrap.stamp-active {
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.7);
  cursor: crosshair;
}
.v-tabletop-assign-bar {
  margin-top: 12px; padding: 12px 14px;
  background: #121018; border: 1px solid rgba(217, 181, 108, 0.28);
  border-radius: 10px; display: flex; flex-direction: column; gap: 10px;
}
.v-tabletop-counts {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.v-qty-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1a1724; border: 1px solid var(--line2);
  border-radius: 9px; padding: 5px 9px;
}
.v-qty-pill input[type="number"] {
  width: 44px; text-align: center; padding: 3px 4px;
  font-size: 13px; font-weight: 700;
}
.v-tabletop-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.v-node-tt-badge {
  margin-top: 2px;
  font-size: 9.5px; font-weight: 700; line-height: 1.15;
  color: #f3e8ff; background: rgba(126, 34, 206, 0.88);
  border: 1px solid rgba(233, 213, 255, 0.45);
  border-radius: 99px; padding: 1px 6px;
  white-space: nowrap; pointer-events: none;
}
.v-node.has-mirror-top .v-node-shape {
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.55), 0 0 0 1.5px rgba(226, 232, 240, 0.78), 0 4px 12px rgba(15, 23, 42, 0.35);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(226, 232, 240, 0.14) 48%, rgba(255, 255, 255, 0.34) 100%);
}
.v-node-mirror-badge {
  margin-top: 2px;
  font-size: 9px; font-weight: 700; line-height: 1.15;
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.92), rgba(100, 116, 139, 0.92));
  border: 1px solid rgba(226, 232, 240, 0.65);
  border-radius: 99px; padding: 1px 6px;
  white-space: nowrap; pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Magnetic Connected Mechitza Glow & Badge */
.v-node-mechitza.mechitza-connected .v-node-shape {
  border-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.55), 0 0 14px rgba(52, 211, 153, 0.4);
}
.v-node-conn-badge {
  margin-top: 2px;
  font-size: 9.5px; font-weight: 800; line-height: 1.15;
  color: #ecfdf5; background: rgba(5, 150, 105, 0.92);
  border: 1px solid rgba(110, 231, 183, 0.65);
  border-radius: 99px; padding: 1px 6px;
  white-space: nowrap; pointer-events: none;
}

/* =========================================================
   VISUAL PICTURE PICKERS + PER-CATEGORY UPLOAD (v22)
   ========================================================= */
select.vp-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.vp-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.vp-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.vp-trigger {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f6f3ee;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vp-trigger:hover,
.vp-trigger:focus-visible {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.vp-trigger.has-custom {
  border-color: rgba(212, 175, 55, 0.78);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.vp-trigger-thumb {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #23242c;
  border: 1px solid rgba(212, 175, 55, 0.28);
  display: block;
}

.vp-trigger-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.vp-trigger-label {
  width: 100%;
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  color: #f6f3ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-trigger-sub {
  font-size: 10.5px;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vp-trigger-caret {
  flex-shrink: 0;
  color: #d4af37;
  font-size: 12px;
  margin-left: 2px;
}

.vp-cam-btn {
  flex: 0 0 auto;
  width: 42px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: #f5df98;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.vp-cam-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.72);
}

.vp-cam-btn.has-custom {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
}

.vp-upload-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 11.5px;
  color: #f6f3ee;
}

.vp-upload-chip[hidden],
.vp-chip-thumb[hidden],
.vp-chip-pdf[hidden] {
  display: none !important;
}

.vp-chip-thumb {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1b1c22;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.vp-chip-pdf {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: rgba(212, 175, 55, 0.25);
  color: #f5df98;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vp-chip-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.vp-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #f8e6a8;
}

.vp-chip-scope {
  font-size: 10px;
  color: rgba(246, 243, 238, 0.78);
}

.vp-chip-clear {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f6f3ee;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  cursor: pointer;
}

.vp-chip-clear:hover {
  background: rgba(220, 60, 60, 0.35);
  border-color: rgba(255, 110, 110, 0.6);
}

/* Floating Popover */
.vp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(8, 9, 13, 0.55);
  backdrop-filter: blur(2px);
}

.vp-backdrop[hidden] {
  display: none !important;
}

.vp-popover {
  position: fixed;
  z-index: 9995;
  width: min(460px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  background: #14151c;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
}

.vp-popover[hidden] {
  display: none !important;
}

.vp-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.vp-pop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f5df98;
  letter-spacing: 0.01em;
}

.vp-pop-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f6f3ee;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.vp-pop-close:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
}

.vp-pop-search-wrap {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vp-pop-search {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f6f3ee;
  font-size: 13px;
  font-family: inherit;
}

.vp-pop-search:focus {
  outline: none;
  border-color: #d4af37;
}

.vp-pop-grid {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 12px 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  align-content: start;
}

.vp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f6f3ee;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.1s ease;
}

.vp-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.vp-card.is-selected {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.vp-card-img {
  width: 78px;
  height: 78px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  background: #23242c;
}

.vp-card-label {
  font-size: 11px;
  line-height: 1.25;
  color: #ece8e0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.vp-card.vp-card-upload {
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.58);
  background: rgba(212, 175, 55, 0.08);
  justify-content: center;
  min-height: 116px;
}

.vp-card.vp-card-upload:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: #d4af37;
}

.vp-upload-icon {
  font-size: 24px;
  line-height: 1;
}

.vp-upload-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: #f5df98;
  line-height: 1.25;
}

.vp-upload-sub {
  font-size: 9.5px;
  color: rgba(246, 243, 238, 0.72);
}

@media (max-width: 640px) {
  .vp-popover {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    top: auto !important;
    width: auto !important;
    max-height: 76vh !important;
    border-radius: 16px;
  }
  .vp-pop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .vp-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---- Mini Tabletop Dots on Floor Plan Nodes ---- */
.v-node-tt-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.v-tt-mini-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1.5px rgba(10, 12, 18, 0.85), 0 1px 3px rgba(0, 0, 0, 0.6);
}
.v-tt-mini-dot.candelabra {
  background: #f5c85b;
}
.v-tt-mini-dot.flower {
  background: #f472b6;
}

/* ---- Zoom-In On-Table Designer Modal ---- */
.v-tt-modal-backdrop[hidden] { display: none !important; }
.v-tt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(8, 10, 16, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.v-tt-modal {
  width: min(820px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #141720;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  padding: 18px 20px;
  color: #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-tt-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.v-tt-modal-head h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  color: #f5d47a;
}
.v-tt-close {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.v-tt-close:hover { background: rgba(255,255,255,0.16); }
.v-tt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.v-btn-rose {
  background: linear-gradient(135deg, #db2777, #ec4899);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}
.v-btn-rose:hover { filter: brightness(1.08); }
.v-tt-active-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: #cbd5e1;
}
.v-tt-style-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 3px 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v-tt-stage-wrap {
  position: relative;
  min-height: 300px;
  background: radial-gradient(circle at 50% 50%, #1f2432 0%, #11141d 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 32px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}
.v-tt-chairs-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.v-tt-chair-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  transform: translate(-50%, -50%);
}
.v-tt-table-surface {
  position: relative;
  background: linear-gradient(145deg, #f8f5ee 0%, #e9e2d4 100%);
  border: 3px solid #d4af37;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  touch-action: none;
}
.v-tt-table-surface.shape-round { border-radius: 50%; }
.v-tt-table-surface.shape-oval { border-radius: 999px; }
.v-tt-centerline {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  border-top: 1.5px dashed rgba(140, 110, 40, 0.35);
  pointer-events: none;
}
.v-tt-empty-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: rgba(45, 38, 28, 0.62);
  font-size: 0.84rem;
  font-weight: 500;
  pointer-events: none;
}
.v-tt-items-layer {
  position: absolute;
  inset: 0;
}
.v-tt-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.12s ease, transform 0.08s ease;
}
.v-tt-chip:active, .v-tt-chip.dragging {
  cursor: grabbing;
  z-index: 30;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}
.v-tt-chip.candelabra {
  background: linear-gradient(135deg, #f5c85b, #d49b28);
  color: #1a1304;
  border: 2px solid #fff3c4;
}
.v-tt-chip.flower {
  background: linear-gradient(135deg, #f472b6, #db2777);
  color: #fff;
  border: 2px solid #fbcfe8;
}
.v-tt-chip-pct {
  font-size: 0.7rem;
  opacity: 0.88;
  font-weight: 600;
}
.v-tt-chip-del {
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 16px;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v-tt-chip-del:hover {
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
}
.v-tt-seq-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #e2e8f0;
  word-break: break-word;
}
.v-tt-modal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.v-tt-same-size-lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #e2e8f0;
  cursor: pointer;
}
.v-tt-foot-btns {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
@media (max-width: 600px) {
  .v-tt-modal { padding: 14px; }
  .v-tt-stage-wrap { padding: 36px 14px; min-height: 240px; }
  .v-tt-chip { padding: 4px 7px; font-size: 0.78rem; }
}

/* Couches / Lounge Seating & Coffee Tables Floorplan Silhouettes (v25) */
.v-node-couch .v-node-shape {
  background: rgba(168, 130, 255, 0.34);
  border: 2px solid #d8b4fe;
  border-top: 6px solid #f5df98;
  border-radius: 10px 10px 6px 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.v-node-couch.v-couch-curved .v-node-shape {
  border-radius: 44px 44px 10px 10px;
  border-top-width: 7px;
}
.v-node-couch.v-couch-lshape .v-node-shape {
  border-left: 6px solid #f5df98;
  border-radius: 12px 10px 8px 10px;
}
.v-node-couch.v-couch-round .v-node-shape {
  border-radius: 999px;
  border-top: 2px solid #d8b4fe;
  background: rgba(168, 130, 255, 0.40);
}
.v-node-couch.v-couch-ottoman .v-node-shape {
  border-top: 2px solid #d8b4fe;
  border-radius: 8px;
}
.v-node-coffee-table .v-node-shape {
  background: rgba(245, 223, 152, 0.34);
  border: 2px solid #f5df98;
  border-radius: 7px;
  color: #fff8e1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.v-node-coffee-table.v-ct-round .v-node-shape {
  border-radius: 999px;
}
.v-node-coffee-table.v-ct-oval .v-node-shape {
  border-radius: 999px;
}
.v-stage-col, .v-tools-col { min-width: 0; max-width: 100%; }
.v-select-bar, .v-zoom-bar { flex-wrap: wrap; max-width: 100%; }

/* Compact horizontal ballroom strip on mobile so Step 2 tools are immediately visible */
@media (max-width: 640px) {
  .v-hall-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .v-hall-tile {
    flex: 0 0 156px;
    scroll-snap-align: start;
  }
  .v-hall-tile img {
    height: 88px;
    object-fit: cover;
  }
  .v-hall-tile .v-hall-meta {
    padding: 6px 8px;
  }
}

/* =========================================================================
   MOBILE APP-STYLE TABBED STUDIO (<= 768px ONLY — DESKTOP 100% UNCHANGED)
   ========================================================================= */
.vs-m-venue-pill,
.vs-m-result-empty,
.vs-m-action-bar,
.vs-m-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
  }

  /* Compact single-row mobile header */
  .v-header-inner {
    padding: 8px 10px;
    gap: 8px;
  }
  .v-brand {
    gap: 8px;
    min-width: 0;
  }
  .v-brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .v-brand-name {
    font-size: 14px;
    white-space: nowrap;
  }
  .v-brand-sub {
    display: none;
  }
  .v-header-actions.vs-hdr-actions {
    gap: 5px;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .v-header-actions .vs-hdr-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .v-header-actions .vs-credit-pill {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
  }
}
@media (max-width: 520px) {
  .v-brand-name {
    display: none;
  }
}
@media (max-width: 768px) {

  /* Main container reserves space for sticky action bar + bottom nav */
  .v-main {
    padding: 10px 10px calc(136px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  body[data-mobile-tab="result"] .v-main {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  /* Tabbed section switching — only active tab visible */
  .v-main > .v-card {
    display: none;
    padding: 12px;
    border-radius: 14px;
  }
  body[data-mobile-tab="venue"] #sec-room {
    display: block;
  }
  body[data-mobile-tab="layout"] #sec-layout {
    display: block;
  }
  body[data-mobile-tab="style"] #sec-styling {
    display: block;
  }
  body[data-mobile-tab="result"] #sec-result:not([hidden]) {
    display: block;
  }
  body[data-mobile-tab="result"] #sec-result[hidden] ~ #mobile-result-empty {
    display: flex;
  }

  /* Trim redundant step badges & long descriptions on mobile */
  .v-step-badge {
    display: none;
  }
  .v-card-head {
    margin-bottom: 10px;
    gap: 8px;
    align-items: center;
  }
  .v-card-head h2 {
    font-size: 16px;
  }
  .v-card-head p {
    display: none;
  }
  .v-head-right {
    gap: 6px;
  }
  .v-head-right button {
    padding: 5px 9px;
    font-size: 11.5px;
  }

  /* Venue Tab: crisp 2-column ballroom grid */
  #sec-room .v-hall-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-x: visible;
    padding-bottom: 2px;
  }
  #sec-room .v-hall-tile {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  #sec-room .v-hall-tile img {
    height: 98px;
    width: 100%;
    object-fit: cover;
  }
  #sec-room .v-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #sec-room .v-tabs::-webkit-scrollbar {
    display: none;
  }
  #sec-room .v-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 12.5px;
  }

  /* Layout Tab: Active Venue Pill right above Canvas */
  .vs-m-venue-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(217, 181, 108, 0.1);
    border: 1px solid rgba(217, 181, 108, 0.32);
    color: var(--text);
    font-size: 13px;
    text-align: left;
  }
  .vs-m-venue-pill-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .vs-m-venue-pill-left strong {
    color: var(--gold2);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .vs-m-venue-pill-chg {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--gold);
    margin-left: 8px;
  }

  /* Layout Tab: Compact Canvas + Single-Row Controls + Instant Tool Tabs */
  .v-studio {
    gap: 10px;
  }
  .v-zoom-bar {
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .v-view-toggle {
    display: inline-flex;
    min-width: 0;
    flex: 1 1 auto;
  }
  .v-view-btn {
    padding: 5px 6px;
    font-size: 10.5px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex: 1 1 auto;
  }
  .v-zoom-controls {
    gap: 3px;
    flex-shrink: 0;
  }
  .v-zoom-btn {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .v-zoom-readout {
    min-width: 36px;
    height: 24px;
    padding: 0 4px;
    font-size: 10.5px;
  }
  .v-zoom-reset {
    display: none;
  }

  /* Multi-Select / Stamp bar on ONE clean horizontal scroll strip */
  .v-select-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    margin-bottom: 6px;
    padding-bottom: 2px;
  }
  .v-select-bar::-webkit-scrollbar {
    display: none;
  }
  .v-select-bar > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .v-multi-toggle,
  .v-stamp-toggle,
  .v-select-bar .v-btn-ghost {
    padding: 5px 9px;
    font-size: 11.5px;
  }

  /* Compact stage viewport so 8 tool tabs appear immediately underneath */
  .v-stage-wrap {
    max-height: 38vh;
    border-radius: 10px;
  }
  .v-stage-wrap.mode-plan {
    aspect-ratio: auto;
    min-height: 220px;
    max-height: 38vh;
  }
  .v-stage-wrap.mode-plan .v-stage-viewport {
    width: min(100%, calc(36vh * var(--room-aspect, 1.15)));
    aspect-ratio: var(--room-aspect, 1.15);
    max-height: 36vh;
  }
  .v-stage-stats {
    margin-top: 6px;
    font-size: 11.5px;
    gap: 6px;
  }

  /* 8 Tool Tabs: sleek single-row horizontal thumb strip */
  .v-tool-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 2px 0 6px;
    margin-bottom: 8px;
  }
  .v-tool-tabs::-webkit-scrollbar {
    display: none;
  }
  .v-tool-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12.5px;
    border-radius: 999px;
  }
  .v-tool-panel {
    padding: 10px;
    border-radius: 12px;
  }

  /* Style & Lights Tab: clean mobile spacing & zero overflow */
  .v-style-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .v-lighting-box {
    padding: 10px 12px;
  }
  .v-lighting-toggles {
    gap: 12px;
  }
  .v-render-cta {
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .v-render-cta button {
    width: 100%;
  }

  /* Result Tab & Empty State */
  .vs-m-result-empty {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 18px !important;
    gap: 10px;
  }
  .vs-m-empty-icon {
    font-size: 36px;
    line-height: 1;
  }
  .vs-m-result-empty h3 {
    margin: 0;
    font-size: 17px;
    color: var(--gold2);
  }
  .vs-m-result-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    max-width: 300px;
  }
  .vs-m-empty-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 260px;
    margin-top: 6px;
  }
  .v-result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .v-result-actions button {
    width: 100%;
  }

  /* Floating Quick Action Bar right above Bottom Nav */
  .vs-m-action-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    padding: 8px 12px;
    background: rgba(18, 16, 24, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(217, 181, 108, 0.22);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  }
  body[data-mobile-tab="result"] .vs-m-action-bar {
    display: none;
  }
  .vs-m-act-primary {
    flex: 1 1 auto;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 11px;
    white-space: nowrap;
  }
  .vs-m-act-secondary {
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 12.5px;
    border-radius: 11px;
    white-space: nowrap;
  }
  .vs-m-act-secondary[hidden] {
    display: none;
  }

  /* Native App 4-Tab Bottom Navigation Bar */
  .vs-m-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 11, 16, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(246, 226, 179, 0.16);
  }
  .vs-m-nav-btn {
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    min-width: 0;
    transition: color 0.15s ease, background 0.15s ease;
  }
  .vs-m-nav-btn.active {
    color: var(--gold2);
    background: rgba(217, 181, 108, 0.14);
  }
  .vs-m-nav-ico {
    position: relative;
    font-size: 18px;
    line-height: 1.1;
  }
  .vs-m-nav-lbl {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .vs-m-nav-dot {
    display: none;
    position: absolute;
    top: -1px;
    right: -6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold2);
    box-shadow: 0 0 8px rgba(246, 226, 179, 0.9);
  }
  .vs-m-nav-btn.has-result .vs-m-nav-dot {
    display: block;
  }
}

/* Opposite-Side View Angle Switcher */
.v-angle-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
}
.v-angle-bar[hidden] { display: none !important; }
.v-angle-pill {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.v-angle-pill:hover {
  color: #fff;
}
.v-angle-pill.active {
  background: linear-gradient(135deg, #d4af37, #b89027);
  color: #120f17;
}
.v-btn-opposite[hidden] { display: none !important; }

/* === Luxury Light Mode ([data-theme="light"]) === */
[data-theme="light"] {
  --bg: #f8f6f1;
  --card: #ffffff;
  --card2: #f4f0e7;
  --line: rgba(154, 115, 40, 0.26);
  --line2: rgba(23, 20, 29, 0.12);
  --text: #17141d;
  --muted: #5a5368;
  --gold: #9a7328;
  --gold2: #7c5a18;
  --danger: #dc2626;
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] .v-header {
  background: rgba(248, 246, 241, 0.94);
  border-bottom-color: rgba(154, 115, 40, 0.24);
}
[data-theme="light"] .v-card {
  background: #ffffff;
  border-color: rgba(23, 20, 29, 0.1);
  box-shadow: 0 8px 26px rgba(23, 20, 29, 0.05);
}
[data-theme="light"] .v-step-badge {
  background: linear-gradient(135deg, #c99d45, #9a7328);
  color: #ffffff;
}
[data-theme="light"] .v-btn-gold {
  background: linear-gradient(135deg, #c99d45, #9a7328);
  color: #ffffff;
}
[data-theme="light"] .v-btn-ghost,
[data-theme="light"] .v-btn-outline,
[data-theme="light"] .v-tab,
[data-theme="light"] .v-tool-tab,
[data-theme="light"] .v-step-btn,
[data-theme="light"] .v-mood-btn,
[data-theme="light"] .v-angle-pill,
[data-theme="light"] .v-multi-toggle,
[data-theme="light"] .v-stamp-toggle,
[data-theme="light"] .v-check-pill,
[data-theme="light"] .v-custom-color-pill,
[data-theme="light"] .vp-trigger {
  background: #f6f3ec;
  border-color: rgba(23, 20, 29, 0.14);
  color: #17141d;
}
[data-theme="light"] .v-tab.active,
[data-theme="light"] .v-tool-tab.active,
[data-theme="light"] .v-view-btn.active,
[data-theme="light"] .v-angle-pill.active,
[data-theme="light"] .v-mood-btn.active,
[data-theme="light"] .v-multi-toggle.active,
[data-theme="light"] .v-stamp-toggle.active {
  background: linear-gradient(135deg, #c99d45, #9a7328);
  border-color: #9a7328;
  color: #ffffff;
}
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="email"],
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #faf8f4;
  border-color: rgba(23, 20, 29, 0.18);
  color: #17141d;
}
[data-theme="light"] .v-view-toggle {
  background: #eee9de;
  border-color: rgba(23, 20, 29, 0.12);
}
[data-theme="light"] .v-view-btn { color: #5a5368; }
[data-theme="light"] .v-select-bar,
[data-theme="light"] .v-tabletop-assign-bar,
[data-theme="light"] .v-h9-box,
[data-theme="light"] .v-camera-box,
[data-theme="light"] .v-dimmer-row,
[data-theme="light"] .v-inspector,
[data-theme="light"] .v-upload-box {
  background: #f6f3ec;
  border-color: rgba(154, 115, 40, 0.24);
  color: #17141d;
}
[data-theme="light"] .v-h9-badge,
[data-theme="light"] .v-qty-pill,
[data-theme="light"] .v-zoom-readout,
[data-theme="light"] .v-rot-val {
  background: rgba(154, 115, 40, 0.13);
  border-color: rgba(154, 115, 40, 0.34);
  color: #7c5a18;
}
[data-theme="light"] .v-stage-wrap {
  background: #ece7dc;
  border-color: rgba(154, 115, 40, 0.28);
}
[data-theme="light"] .v-floorplan-bg {
  background-color: #f4f1ea;
  background-image:
    linear-gradient(to right, rgba(23, 20, 29, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 20, 29, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .v-fp-wall {
  background: rgba(255, 255, 255, 0.88);
  color: #5a5368;
  border-color: rgba(154, 115, 40, 0.3);
}
[data-theme="light"] .v-swatch {
  background: #f6f3ec;
  border-color: rgba(23, 20, 29, 0.14);
  color: #17141d;
}
[data-theme="light"] .vp-popover {
  background: #ffffff;
  border-color: rgba(154, 115, 40, 0.32);
  color: #17141d;
  box-shadow: 0 22px 54px rgba(23, 20, 29, 0.2);
}
[data-theme="light"] .vp-card {
  background: #faf8f4;
  border-color: rgba(23, 20, 29, 0.12);
  color: #17141d;
}
[data-theme="light"] .vp-card.active {
  border-color: #9a7328;
  background: rgba(154, 115, 40, 0.08);
}
[data-theme="light"] .vp-card-img,
[data-theme="light"] .vp-trigger-thumb,
[data-theme="light"] .vp-chip-thumb {
  background: #efeae0;
}
[data-theme="light"] .v-tt-modal {
  background: #ffffff;
  color: #17141d;
  border-color: rgba(154, 115, 40, 0.35);
}
[data-theme="light"] .v-tt-table-surface {
  background: #f4f0e7;
  border-color: rgba(154, 115, 40, 0.35);
}
[data-theme="light"] .vs-m-action-bar {
  background: rgba(248, 246, 241, 0.96);
  border-top-color: rgba(154, 115, 40, 0.24);
}
[data-theme="light"] .vs-m-bottom-nav {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: rgba(23, 20, 29, 0.12);
}
[data-theme="light"] .vs-m-nav-btn { color: #5a5368; }
[data-theme="light"] .vs-m-nav-btn.active { color: #9a7328; }
[data-theme="light"] .vs-m-venue-pill {
  background: rgba(154, 115, 40, 0.1);
  border-color: rgba(154, 115, 40, 0.3);
  color: #17141d;
}

/* === Top-Down Floor Plan Center Crosshair Lines & Magnetic Snap === */
.v-fp-center-v,
.v-fp-center-h,
.v-fp-center-dot {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}
.v-fp-center-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-0.5px);
  border-left: 1.5px dashed rgba(217, 181, 108, 0.52);
}
.v-fp-center-h {
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  transform: translateY(-0.5px);
  border-top: 1.5px dashed rgba(217, 181, 108, 0.52);
}
.v-fp-center-dot {
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(246, 226, 179, 0.85);
  box-shadow: 0 0 0 2px rgba(17, 19, 29, 0.55), 0 0 8px rgba(217, 181, 108, 0.45);
}
.v-fp-center-v.snap-active {
  border-left: 2px dashed rgba(246, 226, 179, 0.98);
  box-shadow: 0 0 10px rgba(246, 226, 179, 0.72);
}
.v-fp-center-h.snap-active {
  border-top: 2px dashed rgba(246, 226, 179, 0.98);
  box-shadow: 0 0 10px rgba(246, 226, 179, 0.72);
}
.v-fp-center-dot.snap-active {
  background: #fff3d1;
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 3px rgba(217, 181, 108, 0.45), 0 0 12px rgba(246, 226, 179, 0.95);
}

[data-theme="light"] .v-fp-center-v {
  border-left: 1.5px dashed rgba(154, 115, 40, 0.58);
}
[data-theme="light"] .v-fp-center-h {
  border-top: 1.5px dashed rgba(154, 115, 40, 0.58);
}
[data-theme="light"] .v-fp-center-dot {
  background: rgba(154, 115, 40, 0.88);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 6px rgba(154, 115, 40, 0.35);
}
[data-theme="light"] .v-fp-center-v.snap-active {
  border-left: 2px dashed rgba(140, 98, 22, 0.98);
  box-shadow: 0 0 8px rgba(154, 115, 40, 0.55);
}
[data-theme="light"] .v-fp-center-h.snap-active {
  border-top: 2px dashed rgba(140, 98, 22, 0.98);
  box-shadow: 0 0 8px rgba(154, 115, 40, 0.55);
}
[data-theme="light"] .v-fp-center-dot.snap-active {
  background: #8c6216;
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 3px rgba(154, 115, 40, 0.3), 0 0 10px rgba(154, 115, 40, 0.7);
}

/* === Modular 4-Foot Mechitza Panel Seam Ticks === */
.v-node-mechitza .v-node-shape {
  position: relative;
  overflow: hidden;
}
.v-mechitza-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 2px rgba(17, 19, 29, 0.6);
  pointer-events: none;
  transform: translateX(-0.5px);
}
.v-mechitza-txt {
  position: relative;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

/* === Locked Download Cue (Free / Trial Users) === */
.vs-download-locked {
  border-color: rgba(217, 181, 108, 0.45) !important;
  color: #f6e2b3 !important;
}
[data-theme="light"] .vs-download-locked {
  border-color: rgba(154, 115, 40, 0.45) !important;
  color: #7c5a18 !important;
}
.vs-upgrade-alert {
  background: rgba(217, 181, 108, 0.14);
  border: 1px solid rgba(217, 181, 108, 0.45);
  color: #f6e2b3 !important;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 600;
}

/* =========================================================================
   Visual Table Size Picker, Half-Round Shape & Per-Table Centerpieces (v10)
   ========================================================================= */
.v-node.shape-half-round .v-node-shape {
  border-radius: 999px 999px 8px 8px;
}
.v-node-shape {
  position: relative;
}
.v-node-shape.has-cp-dots .v-node-chair-num {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 9px;
  opacity: 0.65;
  line-height: 1;
}
.v-node-tt-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.v-tt-mini-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  line-height: 1;
  pointer-events: auto;
}
.v-tt-mini-dot.candelabra {
  background: radial-gradient(circle at 35% 35%, #fff6d6 0%, #f3c864 55%, #b88424 100%);
  border: 1.5px solid #fff8e2;
  box-shadow: 0 0 6px rgba(245, 206, 108, 0.95), 0 0 2px rgba(0, 0, 0, 0.7);
  color: #3a2605;
}
.v-tt-mini-dot.flower {
  background: radial-gradient(circle at 35% 35%, #fff5f8 0%, #f4a4c0 60%, #d4628c 100%);
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 5px rgba(244, 164, 192, 0.9), 0 0 2px rgba(0, 0, 0, 0.65);
  color: #5c1330;
}

/* Inspector Centerpieces & Florals Panel */
.v-insp-centerpiece-panel {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 95, 0.07);
  border: 1px solid rgba(212, 175, 95, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v-insp-centerpiece-panel[hidden] { display: none; }
.v-insp-cp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.v-cp-title {
  color: var(--gold, #e5c67a);
  font-weight: 700;
  font-size: 12.5px;
}
.v-insp-cp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.v-insp-cp-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(16, 15, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px 8px;
}
.v-insp-cp-item .v-insp-select-wrap {
  flex: 1 1 140px;
  min-width: 0;
}
.v-insp-cp-item .vp-wrap {
  width: 100%;
}
.v-cp-stepper {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.v-cp-stepper input[type="number"] {
  width: 38px;
  text-align: center;
  padding: 4px 2px;
  border-radius: 7px;
  border: 1px solid rgba(212, 175, 95, 0.35);
  background: rgba(15, 14, 20, 0.85);
  color: var(--text, #f5f2eb);
  font-weight: 700;
  font-size: 12.5px;
}
.v-insp-cp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.v-pattern-pills {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.v-pat-pill {
  border: 1px solid rgba(212, 175, 95, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f5f2eb);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.v-pat-pill:hover {
  border-color: rgba(212, 175, 95, 0.7);
}
.v-pat-pill.active {
  background: linear-gradient(135deg, #e5c67a, #c79d44);
  color: #15120c;
  border-color: #f3dc9b;
  box-shadow: 0 2px 8px rgba(212, 175, 95, 0.3);
}
.v-insp-cp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
/* Compact visual picker trigger inside Inspector */
.v-inspector .vp-trigger {
  min-height: 36px;
  padding: 4px 8px;
}
.v-inspector .vp-thumb {
  width: 28px;
  height: 28px;
}
.v-inspector .vp-cam-btn {
  display: none;
}

/* Subtle floating toast for per-table actions */
.v-toast-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(20, 18, 28, 0.96);
  color: #f7eed6;
  border: 1px solid rgba(229, 198, 122, 0.55);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.v-toast-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Light Mode overrides */
body.light-mode .v-insp-centerpiece-panel {
  background: rgba(180, 140, 56, 0.08);
  border-color: rgba(180, 140, 56, 0.35);
}
body.light-mode .v-insp-cp-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(30, 26, 20, 0.12);
}
body.light-mode .v-cp-stepper input[type="number"] {
  background: #ffffff;
  color: #1c1917;
  border-color: rgba(160, 122, 42, 0.4);
}
body.light-mode .v-pat-pill {
  background: #ffffff;
  color: #2c251d;
  border-color: rgba(160, 122, 42, 0.35);
}
body.light-mode .v-pat-pill.active {
  background: linear-gradient(135deg, #d8b257, #b98b2c);
  color: #15120c;
}
body.light-mode .v-cp-title {
  color: #8a6414;
}

@media (max-width: 760px) {
  .v-insp-cp-grid {
    grid-template-columns: 1fr;
  }
}

/* Layerable Accent Votives row inside Selected Table Inspector */
.v-insp-cp-votives {
  grid-column: 1 / -1;
}
.v-insp-cp-votives .v-insp-select-wrap {
  width: 100%;
}
.v-insp-cp-votives select {
  flex: 1;
  min-width: 180px;
}


/* === Chairs / Guests Preset Pills & Seating Side Toggle (v11) === */
.v-table-chairs-field {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 10px 10px 9px;
  gap: 7px;
}
.v-chairs-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.v-chairs-label-row span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.v-chair-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.v-chair-presets-inline {
  gap: 4px;
}
.v-chair-step-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.v-chair-pill {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.v-chair-pill:hover {
  border-color: var(--gold);
  color: var(--gold2);
}
.v-chair-pill.active {
  background: linear-gradient(135deg, rgba(217, 181, 108, 0.28), rgba(186, 144, 62, 0.22));
  border-color: var(--gold);
  color: var(--gold2);
  box-shadow: 0 0 0 1px rgba(217, 181, 108, 0.35);
}
.v-chair-pill-zero {
  border-style: dashed;
}
.v-chair-pill-zero.active {
  border-style: solid;
}
.v-table-chair-stepper {
  gap: 6px;
}
.v-table-chair-stepper input {
  width: 60px;
  text-align: center;
  padding: 5px 6px;
}
.v-seating-side-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed var(--line2);
}
.v-seating-side-row[hidden] {
  display: none;
}
.v-seating-side-inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  padding-left: 6px;
  border-left: 1px solid var(--line2);
}
.v-seating-side-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.v-side-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.v-side-pill:hover {
  border-color: var(--gold);
  color: var(--text);
}
.v-side-pill.active {
  background: linear-gradient(135deg, rgba(217, 181, 108, 0.26), rgba(186, 144, 62, 0.2));
  border-color: var(--gold);
  color: var(--gold2);
}
.v-chair-snap-inline {
  flex-wrap: wrap;
  row-gap: 6px;
}
[data-theme="light"] .v-table-chairs-field,
body.light-mode .v-table-chairs-field {
  background: rgba(154, 115, 40, 0.04);
  border-color: rgba(23, 20, 29, 0.12);
}
[data-theme="light"] .v-chair-pill,
body.light-mode .v-chair-pill {
  background: #ffffff;
  color: #17141d;
  border-color: rgba(23, 20, 29, 0.16);
}
[data-theme="light"] .v-chair-pill.active,
body.light-mode .v-chair-pill.active {
  background: linear-gradient(135deg, rgba(186, 144, 62, 0.22), rgba(154, 115, 40, 0.14));
  border-color: #9a7328;
  color: #6b4e14;
  box-shadow: 0 0 0 1px rgba(154, 115, 40, 0.3);
}
[data-theme="light"] .v-side-pill,
body.light-mode .v-side-pill {
  background: #ffffff;
  color: #5a5368;
  border-color: rgba(23, 20, 29, 0.15);
}
[data-theme="light"] .v-side-pill.active,
body.light-mode .v-side-pill.active {
  background: linear-gradient(135deg, rgba(186, 144, 62, 0.22), rgba(154, 115, 40, 0.14));
  border-color: #9a7328;
  color: #6b4e14;
}
@media (max-width: 640px) {
  .v-seating-side-inline {
    padding-left: 0;
    border-left: none;
    width: 100%;
  }
}

/* v13: Undo/Redo history buttons, 4-angle camera switcher, secondary floral marker */
.v-history-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.v-history-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.v-angle-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px;
  margin-bottom: 12px;
  max-width: 100%;
  border-radius: 16px;
}
.v-angle-pill {
  white-space: nowrap;
  flex: 0 1 auto;
}
.v-angle-pill.has-cache::after {
  content: " ✓";
  font-size: 11px;
  opacity: 0.85;
}
[data-theme="light"] .v-angle-bar,
body.light-mode .v-angle-bar {
  background: rgba(23, 20, 29, 0.04);
  border-color: rgba(154, 115, 40, 0.28);
}
[data-theme="light"] .v-angle-pill,
body.light-mode .v-angle-pill {
  color: #4b4459;
}
[data-theme="light"] .v-angle-pill.active,
body.light-mode .v-angle-pill.active {
  color: #15120c;
}
@media (max-width: 640px) {
  .v-angle-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 14px;
  }
  .v-angle-pill {
    font-size: 12px;
    padding: 8px 8px;
    text-align: center;
  }
}
.v-cp-dot-flower2 {
  background: radial-gradient(circle at 35% 35%, #7fffe8, #00b89c);
  border: 1.5px solid #0e2420;
  box-shadow: 0 0 4px rgba(0, 229, 204, 0.7);
}


/* ============================================================================
   FLOOR-TO-CEILING PROFESSIONAL ROOM DRAPE SYSTEM (Desktop + Mobile, Dark/Light)
   ============================================================================ */
.v-drape-presets {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 10px 11px;
  margin-bottom: 12px;
}
.v-drape-presets-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold, #e5c67a);
  margin-bottom: 8px;
}
.v-drape-preset-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.v-drape-preset-btns button {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 8px 8px;
  font-size: 12px;
}
.v-drape-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.v-drape-summary-txt {
  font-size: 11.5px;
  font-weight: 700;
  color: #6ee7b7;
}
.v-drape-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: -4px 0 12px;
}
.v-drape-swatch {
  position: relative;
  height: 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0px,
    rgba(255, 255, 255, 0.14) 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 5px
  );
  padding: 0;
}
.v-drape-swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 226, 179, 0.85);
}
.v-drape-swatch.active {
  border-color: #f6e2b3;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.55), 0 4px 10px rgba(0, 0, 0, 0.35);
  transform: scale(1.04);
}
.v-drape-swatch.active::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--swatch-check, #fff);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.v-drape-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}
.v-drape-tip {
  line-height: 1.4;
  margin: 4px 0 0;
}

/* Floor-plan Room Drape Node */
.v-node-drape .v-node-shape {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 2px solid var(--drape-border, #e5c67a);
  background-color: var(--drape-fill, #f5efe0);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 0px,
    rgba(255, 255, 255, 0.22) 3px,
    rgba(0, 0, 0, 0.16) 3px,
    rgba(0, 0, 0, 0.16) 6px
  );
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.v-node-drape .v-drape-txt {
  position: relative;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--drape-text, #1c1917);
  background: rgba(255, 255, 255, 0.22);
  padding: 0 4px;
  border-radius: 3px;
  pointer-events: none;
}
.v-node-drape.drape-dark-fill .v-drape-txt {
  background: rgba(0, 0, 0, 0.28);
}
.v-node-drape.drape-snapped .v-node-shape {
  border-color: #34d399;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.55), 0 0 12px rgba(52, 211, 153, 0.42);
}
@keyframes vDrapeClickPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.9), 0 0 18px rgba(246, 226, 179, 0.85); }
  100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0), 0 0 12px rgba(52, 211, 153, 0.42); }
}
.v-node-drape.drape-just-snapped .v-node-shape {
  animation: vDrapeClickPulse 0.45s ease-out;
}
.v-drape-snap-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.45), 0 0 10px rgba(52, 211, 153, 0.85);
  pointer-events: none;
  z-index: 26;
}
.v-insp-drape-row {
  flex-wrap: wrap;
  gap: 8px;
}

/* Light Mode Overrides for Room Drape */
[data-theme="light"] .v-drape-presets {
  background: rgba(168, 127, 46, 0.08);
  border-color: rgba(168, 127, 46, 0.3);
}
[data-theme="light"] .v-drape-presets-label {
  color: #8c6216;
}
[data-theme="light"] .v-drape-summary-row {
  border-top-color: rgba(15, 23, 42, 0.1);
}
[data-theme="light"] .v-drape-summary-txt {
  color: #047857;
}
[data-theme="light"] .v-drape-swatch {
  border-color: rgba(15, 23, 42, 0.22);
}
[data-theme="light"] .v-drape-swatch.active {
  border-color: #9a7328;
  box-shadow: 0 0 0 2px rgba(154, 115, 40, 0.4), 0 3px 8px rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .v-node-drape.drape-snapped .v-node-shape {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.45), 0 0 10px rgba(5, 150, 105, 0.32);
}
[data-theme="light"] .v-drape-snap-dot {
  background: #059669;
  border-color: #ffffff;
}

@media (max-width: 720px) {
  .v-drape-preset-btns {
    grid-template-columns: 1fr;
  }
  .v-drape-swatches {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }
}

[data-theme="light"] .vp-trigger-label { color: #17141d; }
[data-theme="light"] .vp-trigger-sub { color: #8c6216; }
