.fp-room-ui { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 4; }
.fp-room-target { position: absolute; transform: translate(-50%, -50%); padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: transparent; cursor: grab; touch-action: none; user-select: none; }
.fp-room-target.is-dragging { cursor: grabbing; }
.fp-room-target:hover, .fp-room-target:focus-visible { border-color: var(--fp-field-border, #a7b8c6); background: transparent; outline: none; }
.fp-room-name-input { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; box-sizing: border-box; width: 180px; max-width: 80%; height: 34px; padding: 3px 12px; border: 1px solid var(--accent-primary, #008c85); border-radius: 17px; background: var(--fp-surface, #fff); color: var(--fp-text, #34404a); font: 500 18px/24px Arial, sans-serif; text-align: center; box-shadow: none; outline: none; }
.fp-room-name-input:focus { border: 1px solid var(--accent-primary, #008c85); outline: none; box-shadow: none; }
.floorplan-main .fp-room-name-input:focus-visible,
.floorplan-main .fp-room-list-input:focus-visible { outline: none; outline-offset: 0; box-shadow: none; }
.fp-room-ui:has(.fp-room-name-input) .fp-room-target,
.fp-room-ui:has(.fp-room-name-input) .fp-room-target:hover,
.fp-room-ui:has(.fp-room-name-input) .fp-room-target:focus-visible { border-color: transparent; background: transparent; outline: none; }
.fp-room-list-item { width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0; padding: 9px 12px; background: var(--fp-surface, #f7f9fb); border: 1px solid var(--fp-border, #e0e6ec); border-radius: 17px; color: var(--fp-text, #34404a); text-align: left; cursor: text; font: inherit; font-size: 12px; }
.fp-room-list-item:hover, .fp-room-list-item:focus-visible { background: var(--fp-hover, #eef3f6); border-color: var(--accent-primary, #20b2aa); outline: none; }
.fp-room-list-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.fp-room-list-item small { flex-shrink: 0; padding-left: 12px; border-left: 1px solid var(--fp-border, #dce3e9); color: var(--fp-muted, #617280); font-size: 11px; font-variant-numeric: tabular-nums; }
.fp-room-list-input { display: block; width: 100%; min-height: 39px; box-sizing: border-box; margin: 2px 0; padding: 7px 12px; border: 1px solid var(--accent-primary, #008c85); border-radius: 19px; outline: none; box-shadow: none; background: var(--fp-surface, #fff); color: var(--fp-text, #34404a); font: 600 12px/1.5 Arial, sans-serif; }
