.reservation-floor-plan { min-width: 0; }
.reservation-floor-plan__viewport { max-width: 100%; overflow-x: auto; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface-subtle); }
.reservation-floor-plan__viewport:focus-visible,
.reservation-floor-plan__table:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 3px; }
.reservation-floor-plan__canvas { position: relative; min-width: 640px; margin: 20px; }
.reservation-floor-plan__table { position: absolute; left: calc(var(--map-x) / 90 * (100% - 100px)); top: calc(var(--map-y) / 90 * (100% - 84px)); width: 100px; height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 2px solid var(--ui-border-strong); border-radius: 8px; background: var(--ui-surface-raised); color: var(--ui-text-strong); padding: 6px; line-height: 1.2; }
button.reservation-floor-plan__table { cursor: pointer; }
button.reservation-floor-plan__table[data-action*="pointerdown"] { cursor: grab; touch-action: none; }
button.reservation-floor-plan__table[data-action*="pointerdown"]:active { cursor: grabbing; }
@media (hover: hover) {
  button.reservation-floor-plan__table:hover { border-color: var(--ui-accent); }
}
.reservation-floor-plan__table[data-shape="round"] { border-radius: 50%; }
.reservation-floor-plan__table[data-status="reserved"] { border-style: dashed; background: var(--ui-surface-subtle); }
.reservation-floor-plan__table[data-status="occupied"] { border-color: var(--ui-accent); background: var(--ui-accent); color: var(--ui-surface-raised); }
.reservation-floor-plan__table[aria-pressed="true"] { outline: 2px solid var(--ui-focus); outline-offset: 3px; z-index: 1; }
.reservation-floor-plan__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 650; }
.reservation-floor-plan__capacity, .reservation-floor-plan__status { font-size: 0.75rem; }
.reservation-floor-plan__legend { display: inline-flex; align-items: center; gap: 6px; }
.reservation-floor-plan__swatch { width: 16px; height: 16px; border: 2px solid var(--ui-border-strong); border-radius: 3px; background: var(--ui-surface-raised); }
.reservation-floor-plan__swatch[data-status="reserved"] { border-style: dashed; background: var(--ui-surface-subtle); }
.reservation-floor-plan__swatch[data-status="occupied"] { border-color: var(--ui-accent); background: var(--ui-accent); }
.reservation-floor-plan form > div { max-width: 100%; }
.reservation-floor-plan input, .reservation-floor-plan select { max-width: 100%; }
.reservation-floor-plan__workspace { display: grid; gap: 24px; min-width: 0; }
.reservation-floor-plan__area-toolbar { position: sticky; top: var(--ui-sticky-offset); z-index: var(--ui-layer-sticky); background: var(--ui-surface-base); padding-block: 8px; }
.reservation-floor-plan__panel { align-self: start; min-width: 0; padding: 20px 0; border-top: 1px solid var(--ui-border); overflow-wrap: anywhere; }
.reservation-floor-plan__panel turbo-frame { display: block; }
.reservation-floor-plan__panel form { margin-top: 12px; }
@media (min-width: 1024px) {
  .reservation-floor-plan__workspace--selected { grid-template-columns: minmax(0, 1fr) 300px; }
  .reservation-floor-plan__panel { position: sticky; top: var(--ui-sticky-offset); border-top: 0; padding-top: 24px; }
}
@media (max-width: 1023px) {
  .reservation-floor-plan__panel { grid-row: 1; }
}
