:root {
  color-scheme: light dark;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.5;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(148, 187, 233, 0.25), transparent 60%),
    #0f172a;
}

#root {
  width: min(960px, 92vw);
  padding: 48px 0 64px;
}

.app {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
}

.hero h1 {
  margin: 0;
  font-size: 2.8rem;
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.78);
}

.uploader {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.drop-zone {
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.drop-zone.dragging {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.drop-zone p {
  margin: 0;
  font-size: 1rem;
}

.choose-button {
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choose-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 25px rgba(129, 140, 248, 0.35);
}

.file-input {
  display: none;
}

.preview {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.preview h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.preview-image {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
}

.status {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.75);
}

.actions {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

.define-button {
  padding: 12px 26px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #1f2937;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.define-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.define-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.35);
}

.define-room-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 23, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}

.define-room-overlay.hidden {
  display: none;
}

.define-room-window {
  width: min(1200px, 92vw);
  height: min(760px, 88vh);
  background: #0b1220;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 120px rgba(2, 6, 23, 0.7);
  overflow: visible;
}

.room-delete-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 20px;
}

.room-delete-backdrop.hidden {
  display: none;
}

.room-delete-card {
  width: min(90vw, 320px);
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.65);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: rgba(226, 232, 240, 0.92);
}

.room-delete-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.room-delete-icon {
  width: 42px;
  height: 42px;
  color: #f87171;
}

.room-delete-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.room-delete-title {
  font-size: 1.3rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.98);
}

.room-delete-message {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(148, 163, 184, 0.85);
  line-height: 1.5;
}

.room-delete-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.room-delete-cancel,
.room-delete-confirm {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.room-delete-cancel {
  background: rgba(30, 41, 59, 0.9);
  border: 2px solid rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.85);
}

.room-delete-cancel:hover,
.room-delete-cancel:focus-visible {
  outline: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
  border-color: rgba(226, 232, 240, 0.55);
}

.room-delete-confirm {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 2px solid transparent;
  color: rgba(15, 23, 42, 0.95);
}

.room-delete-confirm:hover,
.room-delete-confirm:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.35);
}

.room-delete-confirm:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.25);
}

.define-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.define-room-header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.define-room-close {
  background: rgba(148, 163, 184, 0.14);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  color: #f8fafc;
  cursor: pointer;
  font-weight: 600;
}

.define-room-body {
  display: flex;
  flex: 1;
}

.define-room-sidebar {
  width: 20%;
  min-width: 220px;
  background: rgba(15, 23, 42, 0.6);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.rooms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rooms-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.new-room {
  padding: 6px 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #0b1220;
  font-weight: 600;
  cursor: pointer;
}

.new-room:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.rooms-empty {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.6);
}

.rooms-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.room-card {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.room-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.room-card.expanded,
.room-card.editing {
  border-color: rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
}

.room-card.editing {
  border-color: rgba(250, 204, 21, 0.7);
}

.room-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 12px;
}

.room-card.expanded .room-row,
.room-card.editing .room-row {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  grid-template-columns: 16px 1fr auto;
}

.room-card:not(.expanded):not(.editing) .room-row {
  border-radius: 12px;
}

.room-card-body {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  padding-top: 10px;
}

.room-card.expanded .room-card-body,
.room-card.editing .room-card-body {
  display: flex;
}

.room-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.room-field-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
}

.room-description,
.room-tags {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
  color: inherit;
  font-size: 0.9rem;
}

.room-description {
  resize: vertical;
  min-height: 72px;
}

.room-description:focus,
.room-tags:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.room-visible {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.85);
}

.room-visible-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #38bdf8;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.room-edit-button,
.room-save-button {
  padding: 6px 12px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.room-edit-button {
  background: rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.9);
}

.room-edit-button:hover {
  opacity: 0.85;
}

.room-save-button {
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #0b1220;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
}

.room-save-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.45);
}

.room-color {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-color:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.room-delete-button {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.85);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.room-delete-button svg {
  width: 18px;
  height: 18px;
}

.room-card.expanded .room-delete-button,
.room-card.editing .room-delete-button {
  display: inline-flex;
}

.room-delete-button:hover,
.room-delete-button:focus-visible {
  outline: none;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.room-delete-button:active {
  background: rgba(248, 113, 113, 0.2);
}

.room-color-menu {
  position: absolute;
  top: 0;
  left: 0;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.6);
  z-index: 20;
}

.room-color-menu.hidden {
  display: none;
}

.room-color-grid {
  display: grid;
  grid-template-columns: repeat(3, 32px);
  gap: 12px;
}

.room-color-option {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-color-option:hover,
.room-color-option:focus-visible {
  outline: none;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.room-color-option.selected {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.room-name {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 0.95rem;
  width: 100%;
}

.room-name:focus {
  outline: none;
}

.define-room-editor {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 18px;
  gap: 18px;
}

.toolbar-area {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 44px;
  padding: 14px 10px;
  margin-left: 8px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.88));
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.55);
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  z-index: 3;
}

.brush-slider-container {
  position: absolute;
  top: 50%;
  left: -94px;
  transform: translateX(28px) translateY(-50%);
  width: 68px;
  padding: 18px 16px 22px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(200deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.9));
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 4;
}

.brush-slider-container.visible {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
  pointer-events: auto;
}

.brush-slider-container.dragging {
  box-shadow: 0 24px 70px rgba(56, 189, 248, 0.35);
}

.brush-slider-track {
  position: relative;
  height: 200px;
  width: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
  cursor: ns-resize;
  touch-action: none;
}

.brush-slider-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #38bdf8, #818cf8);
}

.brush-slider-thumb {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #38bdf8;
  border: 2px solid #0f172a;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
  transform: translate(-50%, -50%);
  touch-action: none;
  cursor: grab;
}

.brush-slider-container.dragging .brush-slider-thumb {
  cursor: grabbing;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.45);
}

.brush-slider-value {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.92);
  text-align: center;
}

.toolbar-primary-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: flex-start;
}

.toolbar-confirm-group {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: flex-start;
}

.toolbar.confirming .toolbar-primary {
  display: none;
}

.toolbar.confirming .toolbar-confirm-group {
  display: flex;
}

.toolbar::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 2px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #3b82f6);
}

.toolbar-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin-left: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #0f172a;
  color: rgba(226, 232, 240, 0.92);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease, border-radius 0.35s ease, background 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease,
    height 0.3s ease;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.45);
  flex-shrink: 0;
}

.toolbar-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.toolbar-button:focus {
  outline: none;
}

.toolbar-button:focus-visible:not(:disabled) {
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.65);
}

.toolbar-button-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, max-width 0.3s ease;
}

.toolbar-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.toolbar-button-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.toolbar-button:hover:not(:disabled),
.toolbar-button:focus-visible:not(:disabled) {
  width: auto;
  border-radius: 999px;
}

.toolbar-button:hover:not(:disabled) .toolbar-button-label,
.toolbar-button:focus-visible:not(:disabled) .toolbar-button-label {
  opacity: 1;
  max-width: 100%;
  transform: translateX(0);
}

.toolbar-button:hover:not(:disabled) .toolbar-button-icon,
.toolbar-button:focus-visible:not(:disabled) .toolbar-button-icon {
  opacity: 0;
  width: 0;
  transform: translateX(-10px);
}

.toolbar-primary {
  border: none;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #0b1220;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.32);
}

.toolbar-primary:hover:not(:disabled),
.toolbar-primary:focus-visible:not(:disabled) {
  background: linear-gradient(135deg, #fb923c, #fde68a);
  color: #0b1220;
  box-shadow: 0 20px 44px rgba(249, 115, 22, 0.45);
}

.toolbar-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.history-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
}

.tool-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.tool-button {
  background: #111b2d;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.92);
}

.tool-button:hover:not(:disabled),
.tool-button:focus-visible:not(:disabled) {
  background: #1d4ed8;
  border-color: rgba(96, 165, 250, 0.75);
  color: #dbeafe;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.28);
}

.tool-button.active {
  background: #2563eb;
  border-color: rgba(147, 197, 253, 0.85);
  color: #e0f2fe;
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.35);
}

.tool-button.active:hover:not(:disabled),
.tool-button.active:focus-visible:not(:disabled) {
  background: #2563eb;
  border-color: rgba(147, 197, 253, 0.85);
  color: #e0f2fe;
}

.tool-button.disabled,
.tool-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: saturate(60%);
}

.toolbar-confirm {
  border: none;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #052e16;
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.32);
}

.toolbar-confirm:hover:not(:disabled),
.toolbar-confirm:focus-visible:not(:disabled) {
  background: linear-gradient(135deg, #34d399, #86efac);
  color: #052e16;
  box-shadow: 0 22px 46px rgba(34, 197, 94, 0.4);
}

.toolbar-cancel {
  border: none;
  background: linear-gradient(135deg, #f87171, #fca5a5);
  color: #7f1d1d;
  box-shadow: 0 16px 34px rgba(248, 113, 113, 0.32);
}

.toolbar-cancel:hover:not(:disabled),
.toolbar-cancel:focus-visible:not(:disabled) {
  background: linear-gradient(135deg, #fca5a5, #fecaca);
  color: #7f1d1d;
  box-shadow: 0 22px 46px rgba(248, 113, 113, 0.4);
}

.canvas-wrapper {
  position: relative;
  flex: 1;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.canvas-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.canvas-wrapper .image-layer {
  position: relative;
}

.selection-layer {
  pointer-events: none;
}

.room-hover-label {
  position: absolute;
  pointer-events: none;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: opacity 120ms ease;
}

.room-hover-label.visible {
  opacity: 1;
}

@media (max-width: 960px) {
  .define-room-window {
    height: 90vh;
  }

  .define-room-body {
    flex-direction: column;
  }

  .define-room-editor {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .toolbar::before {
    display: none;
  }

  .tool-group {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .toolbar-button {
    width: 46px;
    height: 46px;
    padding: 0 12px;
  }

  .toolbar-button:hover:not(:disabled),
  .toolbar-button:focus-visible:not(:disabled) {
    width: 168px;
  }

  .define-room-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rooms-list {
    max-height: 180px;
  }
}
