.fp-view {
  --fp-ink:#263e37;
  --fp-quiet:#52635a;
  --fp-teal:#298373;
  width:100%;
  min-width:0;
  color:var(--fp-ink);
  font:inherit;
  container-type:inline-size;
}
.fp-scroll { width:100%; overflow:auto; scrollbar-width:thin; border-radius:9px; }
.fp-diagram { width:100%; height:auto; display:block; }
.fp-diagram text { pointer-events:none; font-family:inherit; user-select:none; }
.fp-zone-name { fill:#4b5c4e; font-weight:610; font-size:17px; }
.fp-small-tag { fill:#536555; font-size:15px; font-weight:550; }
.fp-window-label { fill:#4c3d2e; font-size:15px; font-weight:620; }
.fp-wall { fill:none; stroke:#555f53; stroke-width:3.4; stroke-linejoin:round; stroke-linecap:round; }
.fp-partition { fill:none; stroke:#899183; stroke-width:2; }
.fp-opening { fill:none; stroke:#a8b3a6; stroke-width:1.2; stroke-dasharray:3 3; }
.fp-entry { fill:none; stroke:#4b6e59; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.fp-threshold { fill:none; stroke:#b3b7a7; stroke-width:1.3; stroke-dasharray:4 4; }
.fp-table { cursor:pointer; outline:none; }
.fp-hit { fill:transparent; stroke:transparent; stroke-width:1.7; }
.fp-table:hover .fp-hit { fill:#1982700a; stroke:#80a99e; stroke-dasharray:4 3; }
.fp-table[aria-pressed="true"] .fp-hit { fill:#1a8d7813; stroke:#338775; stroke-dasharray:0; }
.fp-table:focus-visible .fp-hit { stroke:#125a51; stroke-width:2.6; stroke-dasharray:3 2; }
.fp-sofa-case { fill:#625e54; stroke:#504c43; stroke-width:1; }
.fp-cushion { fill:#d8d7c9; stroke:#85877b; stroke-width:1; }
.fp-sofa-back { fill:#6c695e; stroke:#514d46; stroke-width:.7; }
.fp-sofa-arm { fill:#78756a; stroke:#514d46; stroke-width:.7; }
.fp-table-shadow { fill:#a59885; opacity:.4; }
.fp-wood { fill:#e5c499; stroke:#ae8c61; stroke-width:1.1; }
.fp-grain { stroke:#c49d70; stroke-width:.8; opacity:.7; fill:none; }
.fp-table-label { fill:#4e3a25; font-weight:700; font-size:18px; letter-spacing:.15px; }
.fp-person { fill:#f5fff8; stroke:none; opacity:0; }
.fp-chair-seat { fill:#e3e4d6; stroke:#8b9280; stroke-width:1; }
.fp-chair-back { fill:#aeaa86; stroke:#80836d; stroke-width:1; }
.fp-chairs[data-table=S1] .fp-chair-back { fill:#bcb776; }
.fp-chairs[data-table=S2] .fp-chair-back { fill:#c29878; }
.fp-occupied .fp-cushion,.fp-occupied .fp-chair-seat { fill:#378774; stroke:#1f6b5f; }
.fp-table .fp-occupied .fp-chair-back { fill:#287b6b; stroke:#206a5e; }
.fp-occupied .fp-person { opacity:.95; }
.fp-unavailable .fp-chair-seat,.fp-unavailable .fp-chair-back { fill:#f3f2ea; stroke:#aaada2; stroke-dasharray:2 2; }
.fp-unavailable-cross { stroke:#8e9388; stroke-width:1.7; fill:none; }
.fp-playmat { fill:#edeada; stroke:#c9c6b3; stroke-width:.8; stroke-dasharray:2.2 1.7; }
.fp-toy-orange { fill:#d68a5c; stroke:#a76a46; stroke-width:.7; }
.fp-toy-teal { fill:#83a99a; stroke:#608477; stroke-width:.7; }
.fp-toy-yellow { fill:#d9b963; stroke:#ac8e48; stroke-width:.7; }

.fp-footer,.fp-legend,.fp-legend span,.fp-tools,.fp-detail { display:flex; align-items:center; }
.fp-footer { justify-content:space-between; flex-wrap:wrap; gap:7px 15px; margin-top:9px; font-size:.8125rem; color:var(--fp-quiet); }
.fp-legend { flex-wrap:wrap; gap:14px; }
.fp-legend span { gap:6px; line-height:1.3; white-space:nowrap; }
.fp-key { display:inline-block; width:10px; height:10px; border-radius:3px; flex-shrink:0; }
.fp-key-free { background:#e3e7da; border:1px solid #9baa98; }
.fp-key-used { background:var(--fp-teal); border:1px solid #1f6b5f; }
.fp-tools { gap:8px; margin-left:auto; }
.fp-scale { color:#647169; }
.fp-expand,.fp-close {
  border:1px solid #cfd8d0;
  background:transparent;
  color:var(--fp-ink,#263e37);
  cursor:pointer;
  border-radius:6px;
  font:inherit;
}
.fp-expand { display:inline-grid; place-content:center; width:29px; height:27px; padding:0; }
.fp-expand:hover,.fp-close:hover { background:#edf3ef; }
.fp-expand:focus-visible,.fp-close:focus-visible { outline:2px solid #287b6b; outline-offset:2px; }
.fp-detail { gap:5px 10px; flex-wrap:wrap; padding:7px 10px; margin:7px 0 0; border-radius:6px; background:#edf3ee; font-size:.8125rem; line-height:1.4; }
.fp-detail strong { font-weight:650; }
.fp-detail[hidden] { display:none; }
.fp-dialog { width:min(780px,calc(100% - 24px)); padding:14px 17px 15px; background:#fcfdfb; border:1px solid #bac8bd; border-radius:12px; color:#263e37; box-shadow:0 18px 75px #142a2640; max-height:92vh; max-height:92dvh; }
.fp-dialog::backdrop { background:#172b285e; backdrop-filter:blur(2px); }
.fp-dialog-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:11px; font-size:1.125rem; }
.fp-close { padding:5px 10px; font-size:.875rem; }
.fp-dialog .fp-diagram { width:100%; height:auto; max-height:calc(80dvh - 84px); min-height:225px; }
.fp-dialog .fp-expand { display:none; }
@container (max-width:500px) {
  .fp-table-label { font-size:20px; }
  .fp-zone-name { font-size:18px; }
  .fp-footer { font-size:.8rem; }
}
@container (max-width:365px) {
  .fp-tools { gap:4px; }
  .fp-legend { gap:8px; }
}
@media (max-width:570px) {
  .fp-dialog .fp-scroll { scrollbar-width:thin; }
  .fp-dialog .fp-diagram { width:max(100%, 465px); max-height:none; }
}
