/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/(frontend)/analytics-consent.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
.analytics-consent {
  position: fixed;
  bottom: 16px;
  left: 72px;
  z-index: 10000;
  max-width: min(440px, calc(100vw - 88px));
  color: #172033;
  font-size: 14px;
}

.analytics-consent--compact {
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  left: 12px;
}

.analytics-consent-panel {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(15 23 42 / 18%);
}

.analytics-consent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.analytics-consent-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.analytics-consent-close:hover {
  background: #e2e8f0;
}

.analytics-consent-panel p {
  margin: 0 0 12px;
  line-height: 1.45;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
}

.analytics-consent-actions button,
.analytics-consent-settings {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
}

.analytics-consent-actions button {
  flex: 1 1;
}

.analytics-consent-settings {
  display: grid;
  width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1458be;
  box-shadow: 0 3px 12px rgb(15 23 42 / 28%);
  color: #fff;
}

.analytics-consent-settings:hover {
  background: #0e47a0;
}

.analytics-consent button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .analytics-consent {
    bottom: 10px;
    left: 10px;
    max-width: calc(100vw - 20px);
  }

  .analytics-consent--compact {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 12px;
  }

  body:has(.nav-panel:not(.nav-panel-collapsed)) .analytics-consent--compact {
    bottom: calc(min(58vh, 460px) + 20px + env(safe-area-inset-bottom, 0px));
  }
}

/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/(frontend)/styles.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --font-mono: 'Roboto Mono', monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.map-shell {
  --panel-bg: rgba(255, 255, 255, 0.96);
  --panel-text: #172033;
  --muted: #64748b;
  --surface: #f1f5f9;
  --surface-strong: #e2e8f0;
  --panel-border: rgba(148, 163, 184, 0.32);
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.18), 0 3px 12px rgba(15, 23, 42, 0.08);
  --label-text: #172033;
  --label-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff;
  --map-ui-width: min(420px, calc(100vw - 24px));
  --z-map-ui: 1000;
  --z-map-ui-normal: 1;
  --z-standalone-search: 20;
  --z-room-info: 45;
  --z-navigation: 70;
  --z-active-autocomplete: 90;

  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: var(--panel-text);
  background: #e8edf2;
}

.map-shell-dark {
  --panel-bg: rgba(15, 23, 42, 0.96);
  --panel-text: #f8fafc;
  --muted: #a8b4c5;
  --surface: #1e293b;
  --surface-strong: #334155;
  --panel-border: rgba(148, 163, 184, 0.24);
  --input-bg: #111c30;
  --input-border: #475569;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --danger: #f87171;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 3px 12px rgba(0, 0, 0, 0.28);
  --label-text: #f8fafc;
  --label-shadow: 0 0 2px #0f172a, 0 0 5px #0f172a, 0 0 8px #0f172a;
}

.map-ui-stack {
  position: absolute;
  z-index: var(--z-map-ui);
  top: 12px;
  left: 12px;
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--map-ui-width);
  gap: 8px;
  pointer-events: none;
  isolation: isolate;
}

.map-ui-stack > * {
  position: relative;
  z-index: var(--z-map-ui-normal);
  flex-shrink: 0;
  pointer-events: auto;
}

.map-ui-stack > .nav-panel {
  flex-shrink: 1;
}

.poi-filter-panel {
  width: min(290px, 100%);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.poi-filter-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.poi-filter-toggle:hover,
.poi-filter-option:hover {
  background: var(--surface);
}

.poi-filter-summary {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.poi-filter-chevron {
  color: var(--muted);
}

.poi-filter-content {
  border-top: 1px solid var(--panel-border);
}

.poi-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 11px;
}

.poi-filter-actions button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.poi-filter-actions button + button {
  margin-left: 8px;
}

.poi-filter-actions button:disabled {
  opacity: 0.5;
  cursor: default;
}

.poi-filter-list {
  max-height: min(230px, 32vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.poi-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.poi-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.poi-filter-option span {
  flex: 1 1;
}

.poi-filter-option small {
  color: var(--muted);
  font-size: 11px;
}

.poi-filter-empty {
  margin: 0;
  padding: 8px 12px 12px;
  color: var(--muted);
  font-size: 12px;
}

.level-switcher {
  border: 1px solid var(--panel-border);
  color: var(--panel-text);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.route-floor-progress {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: var(--panel-bg);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  color: var(--panel-text);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
}

.route-floor-progress span:first-child {
  color: #be123c;
  font-weight: 800;
}

.nav-panel {
  position: relative;
  z-index: var(--z-navigation);
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  min-height: 0;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  color: var(--panel-text);
  transition:
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-panel-collapsed {
  z-index: var(--z-map-ui-normal);
  width: min(240px, 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.nav-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--panel-border);
}

.nav-panel-collapsed .nav-header {
  border-bottom: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.nav-brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-copy strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-collapse-button,
.map-tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition:
    background 150ms ease,
    transform 150ms ease,
    opacity 150ms ease;
}

.nav-collapse-button:hover,
.map-tool-button:hover:not(:disabled) {
  background: var(--surface-strong);
}

.nav-content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}

.nav-field {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
}

.nav-field-active {
  z-index: 30;
}

.nav-label {
  display: block;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-search {
  position: relative;
}

.standalone-search-panel {
  position: relative;
  z-index: var(--z-standalone-search);
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-panel-search-active,
.standalone-search-panel-active {
  z-index: var(--z-active-autocomplete);
}

.standalone-search-panel .location-search-input {
  height: 46px;
  border-radius: 6px;
}

.standalone-selected-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  grid-gap: 2px 8px;
  gap: 2px 8px;
  margin-top: 7px;
  padding: 7px 9px;
  border-radius: 5px;
  background: var(--surface);
  font-size: 12px;
}

.standalone-selected-place span {
  color: var(--muted);
  font-size: 11px;
}

.standalone-selected-place strong {
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standalone-selected-place button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.standalone-selected-place button:hover {
  background: var(--surface-strong);
  color: var(--panel-text);
}

.nav-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-field-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.map-pick-button {
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.map-pick-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.map-pick-button:hover,
.map-pick-button-active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.location-search-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  background: var(--input-bg);
  color: var(--panel-text);
  font-size: 14px;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.location-search-input::placeholder {
  color: var(--muted);
  opacity: 0.82;
}

.location-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.location-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: min(258px, calc(100vh - 220px));
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: color-mix(in srgb, var(--panel-bg) 94%, #ffffff);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.nav-panel .location-suggestions {
  z-index: 2;
}

.route-current-location-error {
  margin: 6px 0 0;
  font-size: 12px;
}

.location-suggestions button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--panel-text);
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease;
}

.room-editor-panel {
  position: absolute;
  z-index: 1100;
  right: 12px;
  bottom: 12px;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  pointer-events: auto;
}

.room-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.room-editor-header button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.room-editor-segments {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 6px;
  gap: 6px;
  margin-bottom: 12px;
}

.room-editor-segments button,
.room-editor-primary,
.room-editor-secondary,
.room-editor-login-link {
  min-height: 36px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.room-editor-segments button {
  background: var(--surface);
  color: var(--panel-text);
}

.room-editor-segments button.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
}

.room-editor-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.room-editor-details,
.room-editor-details-link {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
}

.room-editor-section-title,
.room-editor-subsection {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.room-editor-subsection {
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: var(--surface);
}

.room-editor-subsection summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.room-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.room-editor-checklist,
.room-editor-repeatable {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.room-editor-repeatable {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.room-editor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.room-editor-tags span {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--panel-bg);
  color: var(--panel-text);
  font-size: 12px;
}

.room-editor-tags button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.room-editor-entrance {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
}

.room-editor-form label,
.room-editor-generator label {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.room-editor-form input[type='text'],
.room-editor-form input[type='email'],
.room-editor-form input[type='number'],
.room-editor-form input[type='url'],
.room-editor-form input:not([type]),
.room-editor-form textarea,
.room-editor-form select,
.room-editor-generator select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--panel-text);
  font-size: 14px;
  text-transform: none;
}

.room-editor-form textarea {
  resize: vertical;
}

.room-editor-generator {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--panel-border);
}

.room-editor-preview {
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 8px;
  background: var(--surface);
}

.room-editor-preview summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.room-editor-preview dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 6px 10px;
  gap: 6px 10px;
  margin: 10px 0;
}

.room-editor-preview dl div {
  display: contents;
}

.room-editor-preview dt,
.room-editor-preview dd,
.room-editor-preview-list small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.room-editor-preview dd {
  color: var(--panel-text);
  text-align: right;
}

.room-editor-preview-list {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
}

.room-editor-preview-list div {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 6px;
  border-radius: 4px;
  background: var(--panel-bg);
}

.room-editor-preview-list span,
.room-editor-preview-list strong {
  font-size: 12px;
}

.room-editor-checkbox {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
}

.room-editor-checkbox input {
  width: 16px;
  height: 16px;
}

.room-editor-status,
.room-editor-error,
.room-editor-form small,
.room-editor-coordinate small {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.room-editor-error {
  color: var(--danger);
}

.room-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.room-editor-primary {
  padding: 0 14px;
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.room-editor-secondary,
.room-editor-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--surface);
  color: var(--panel-text);
  text-decoration: none;
}

.room-editor-primary:disabled,
.room-editor-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.room-editor-point {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #0f766e;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.room-editor-point.selected {
  width: 32px;
  height: 32px;
  border-color: #fbbf24;
  background: #be123c;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.28), 0 10px 24px rgba(15, 23, 42, 0.34);
}

.room-editor-point:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.room-editor-entrance-marker {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #b45309;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.32);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.room-editor-connector {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #4338ca;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.room-editor-connector.grouped {
  background: #6d28d9;
}

.room-editor-connector.selected {
  width: 34px;
  height: 34px;
  border-color: #fbbf24;
  background: #be123c;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.28), 0 10px 24px rgba(15, 23, 42, 0.34);
}

.room-editor-connector:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

.room-editor-connector-selection,
.room-editor-connector-groups,
.room-editor-connector-group {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.room-editor-connector-selection,
.room-editor-connector-groups {
  padding-top: 10px;
  border-top: 1px solid var(--panel-border);
}

.room-editor-connector-chip,
.room-editor-connector-group {
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: var(--surface);
}

.room-editor-connector-chip {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 4px 8px;
  gap: 4px 8px;
  align-items: center;
}

.room-editor-connector-chip span,
.room-editor-connector-group strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.room-editor-connector-chip small,
.room-editor-connector-group small {
  color: var(--muted);
  font-size: 11px;
}

.room-editor-connector-chip button {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--panel-bg);
  cursor: pointer;
}

.location-suggestions button:hover,
.location-suggestions button.location-suggestion-active {
  background: var(--surface);
}

.suggestion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary);
  font-weight: 800;
}

.suggestion-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.suggestion-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-copy em {
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

.location-searching {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
}

.nav-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.route-submit-button,
.route-clear-button {
  height: 40px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.route-submit-button {
  display: inline-flex;
  flex: 1 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.route-submit-button:hover:not(:disabled) {
  background: var(--primary-hover);
}

.route-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  box-shadow: none;
}

.route-clear-button {
  width: 40px;
  border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent);
  background: transparent;
  color: var(--danger);
  font-size: 20px;
}

.route-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 650ms linear infinite;
}

.route-error,
.route-loading-message {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.route-error {
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--danger);
}

.route-loading-message {
  background: var(--surface);
  color: var(--muted);
}

.route-summary {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--panel-border);
}

.route-distance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.route-distance span {
  color: var(--muted);
  font-size: 12px;
}

.route-distance strong {
  font-size: 18px;
}

.route-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-steps li {
  position: relative;
}

.route-steps li:not(:last-child)::after {
  position: absolute;
  top: 25px;
  bottom: -3px;
  left: 10px;
  width: 1px;
  background: var(--surface-strong);
  content: '';
}

.route-steps li > div,
.route-steps li > button {
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  width: 100%;
  grid-gap: 10px;
  gap: 10px;
  min-height: 38px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--panel-text);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.route-steps li > button {
  cursor: pointer;
}

.route-step-icon {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border: 0;
  border-radius: 3px;
  background: var(--surface);
  color: var(--panel-text);
  font-size: 10px;
  font-weight: 800;
}

.route-step-start,
.route-step-arrive {
  background: var(--primary);
  color: #fff;
}

.route-step-enter-building,
.route-step-exit-building,
.route-step-floor-change {
  background: #f59e0b;
  color: #172033;
}

.map-toolbar {
  position: absolute;
  z-index: 1001;
  right: 10px;
  bottom: 40px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 6px;
  color: var(--panel-text);
}

.map-toolbar-buttons {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel-bg);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.map-tool-button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: var(--panel-bg);
}

.map-tool-button + .map-tool-button {
  border-left: 1px solid var(--panel-border);
}

.map-tool-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.map-legend {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  font-size: 12px;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.map-legend > strong {
  margin-bottom: 2px;
  font-size: 13px;
}

.map-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-line {
  width: 28px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
}

.legend-outdoor {
  background: #2563eb;
}

.legend-indoor {
  background: #f43f5e;
}

.legend-dot {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.legend-start {
  background: #16a34a;
}

.legend-end {
  background: #e11d48;
}

.legend-room {
  width: 19px;
  height: 13px;
  border: 2px solid #b45309;
  border-radius: 3px;
  background: #fbbf24;
}

.room-info-card-shell {
  position: fixed;
  z-index: var(--z-room-info);
  bottom: 20px;
  left: 50%;
  width: 90%;
  max-width: 400px;
  pointer-events: auto;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
  transform: translateX(-50%);
}

.route-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.34);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.route-marker-start {
  background: #16a34a;
}

.route-marker-end {
  position: relative;
  width: 32px;
  height: 32px;
  background: #e11d48;
}

.route-marker-end::after {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(225, 29, 72, 0.62);
  border-radius: 50%;
  content: '';
  animation: destination-pulse 1.8s ease-out infinite;
}

.route-marker-entrance {
  width: 25px;
  height: 25px;
  border-width: 2px;
  background: #f59e0b;
  color: #172033;
  font-size: 14px;
}

.route-floor-transition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 5px;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
  color: #881337;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: auto;
  touch-action: manipulation;
}

.route-floor-transition:hover {
  background: #fff1f2;
}

.route-floor-transition:focus-visible {
  outline: 2px solid #be123c;
  outline-offset: 3px;
}

.route-floor-transition-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #be123c;
  color: #fff;
  font-size: 13px;
}

.route-floor-transition-arrow::after {
  position: absolute;
  inset: -4px;
  border: 1px solid #be123c;
  border-radius: 50%;
  content: '';
  animation: floor-transition-pulse 1.8s ease-out 2;
}

@keyframes floor-transition-pulse {
  from { opacity: 0.65; transform: scale(0.75); }
  to { opacity: 0; transform: scale(1.45); }
}

@media (prefers-reduced-motion: reduce) {
  .route-floor-transition-arrow::after { animation: none; }
}

.poi-marker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.poi-marker-button:disabled {
  cursor: wait;
}

.poi-marker {
  --poi-color: #4b5563;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--poi-color);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.34);
  color: #fff;
  line-height: 1;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.poi-marker svg,
.poi-preview svg,
.poi-suggestions svg {
  color: currentColor;
  pointer-events: none;
}

.poi-marker-button:hover .poi-marker,
.poi-marker-button:focus-visible .poi-marker {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--poi-color) 30%, transparent),
    0 8px 18px rgba(15, 23, 42, 0.38);
  transform: scale(1.08);
}

.poi-marker-button:focus-visible {
  outline: none;
}

.poi-marker-temporary {
  opacity: 0.78;
  outline: 3px dashed rgba(255, 255, 255, 0.82);
  outline-offset: 3px;
}

.poi-marker img,
.poi-preview img,
.poi-suggestions img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poi-marker-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-top: 1px;
  font-size: 10px;
  font-weight: 900;
}

.poi-popup {
  min-width: 190px;
  max-width: 260px;
  color: #172033;
}

.poi-popup strong,
.poi-popup span {
  display: block;
}

.poi-popup span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.poi-popup p {
  margin: 9px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
}

.poi-popup-actions {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.poi-popup-actions button,
.poi-form-actions button,
.poi-admin-panel button,
.review-mode-panel button,
.poi-suggestions button,
.poi-admin-login-link {
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--panel-bg);
  color: var(--panel-text);
  cursor: pointer;
}

.poi-popup-actions button {
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 700;
}

.poi-danger-button {
  color: var(--danger) !important;
}

.poi-admin-panel {
  position: absolute;
  z-index: 1002;
  right: 10px;
  top: 102px;
  width: 230px;
  padding: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  pointer-events: auto;
}

.poi-panel-header,
.poi-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.poi-panel-header button,
.poi-form-header button {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.poi-primary-button {
  width: 100%;
  min-height: 36px;
  padding: 0 11px;
  border: 0 !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 800;
}

.poi-primary-button:hover:not(:disabled) {
  background: var(--primary-hover) !important;
}

.poi-secondary-button,
.poi-admin-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 0 10px;
  background: var(--surface) !important;
  color: var(--panel-text) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.poi-admin-panel button:disabled,
.poi-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.poi-list {
  display: flex;
  max-height: 230px;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  overflow-y: auto;
}

.poi-list > span {
  color: var(--muted);
  font-size: 12px;
}

.poi-list-item {
  display: flex;
  min-height: 40px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 7px 8px;
  text-align: left;
}

.poi-list-item:hover {
  background: var(--surface);
}

.poi-list-item span,
.poi-list-item small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poi-list-item span {
  font-size: 13px;
  font-weight: 750;
}

.poi-list-item small,
.poi-status {
  color: var(--muted);
  font-size: 11px;
}

.poi-status {
  margin: 9px 0 0;
  line-height: 1.35;
}

.poi-public-notice {
  position: absolute;
  z-index: 1002;
  right: 10px;
  top: 102px;
  display: flex;
  max-width: min(330px, calc(100vw - 20px));
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  pointer-events: auto;
}

.poi-public-notice span {
  flex: 1 1;
  font-size: 12px;
  line-height: 1.35;
}

.poi-public-notice button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--panel-text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.poi-modal-backdrop {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.34);
  pointer-events: auto;
}

.poi-form {
  width: min(460px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 15px;
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
}

.poi-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.poi-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.poi-field input,
.poi-field select,
.poi-field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--panel-text);
}

.poi-field input,
.poi-field select {
  min-height: 39px;
  padding: 0 10px;
}

.poi-field textarea {
  min-height: 80px;
  padding: 9px 10px;
  resize: vertical;
}

.poi-field input:focus,
.poi-field select:focus,
.poi-field textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.poi-form-alert,
.poi-form-warning {
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.4;
}

.poi-form-alert {
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--danger);
}

.poi-form-warning {
  background: color-mix(in srgb, #f59e0b 16%, transparent);
  color: #92400e;
}

.map-shell-dark .poi-form-warning {
  color: #fbbf24;
}

.poi-suggestions {
  display: flex;
  max-height: 112px;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 12px;
  overflow-y: auto;
}

.poi-suggestions button {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 6px;
  padding: 6px 8px;
  font-size: 12px;
}

.poi-suggestions button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface);
  font-size: 9px;
  font-weight: 900;
  overflow: hidden;
}

.poi-coordinates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.poi-visibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin-bottom: 12px;
}

.poi-visibility-grid .poi-field {
  margin-bottom: 0;
}

.poi-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.poi-preview > span,
.poi-preview > img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
}

.poi-preview small {
  color: var(--muted);
  font-size: 12px;
}

.poi-custom-type-box {
  padding: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--surface);
}

.poi-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  font-size: 13px;
}

.poi-checkbox input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.poi-permission-note {
  margin: -4px 0 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.poi-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.poi-form-actions button {
  min-width: 92px;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 800;
}

.review-public-button {
  position: absolute;
  z-index: 1002;
  right: 10px;
  bottom: 78px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
}

.review-public-button:hover {
  background: var(--surface);
}

.review-mode-panel {
  position: absolute;
  z-index: 1002;
  right: 10px;
  top: 342px;
  width: 230px;
  padding: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  pointer-events: auto;
}

.review-filter-panel {
  position: absolute;
  z-index: 1002;
  top: 342px;
  right: 252px;
  width: 210px;
  padding: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 5px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  color: var(--panel-text);
  pointer-events: auto;
}

.review-filter-panel > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.review-report-actions {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 7px;
  gap: 7px;
}

.review-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2px;
  gap: 2px;
  margin: 0;
}

.review-filter-grid .poi-field {
  margin-bottom: 6px;
}

.review-filter-grid .poi-field select {
  min-height: 34px;
  font-size: 12px;
}

.review-report-actions button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--panel-text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.review-report-actions button:first-child {
  border-color: color-mix(in srgb, #facc15 48%, var(--panel-border));
}

.review-report-actions button:nth-child(2) {
  border-color: color-mix(in srgb, #ef4444 48%, var(--panel-border));
}

.review-report-marker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.review-report-marker {
  --review-report-color: #facc15;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 6px 6px 6px 0;
  background: var(--review-report-color);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.34);
  color: #172033;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  transform: rotate(-45deg);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.review-report-marker::before {
  content: '!';
  transform: rotate(45deg);
}

.review-report-marker {
  font-size: 0;
}

.review-report-marker-button:hover .review-report-marker,
.review-report-marker-button:focus-visible .review-report-marker {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--review-report-color) 30%, transparent),
    0 9px 18px rgba(15, 23, 42, 0.38);
  transform: rotate(-45deg) scale(1.08);
}

.review-report-marker-button:focus-visible {
  outline: none;
}

.review-report-marker-temporary {
  opacity: 0.78;
  outline: 3px dashed rgba(255, 255, 255, 0.86);
  outline-offset: 3px;
}

.review-report-popup {
  display: flex;
  min-width: 210px;
  max-width: 280px;
  flex-direction: column;
  color: #172033;
}

.review-report-popup-layer {
  z-index: 2600 !important;
}

.review-report-popup-layer .maplibregl-popup-content {
  position: relative;
  z-index: 2601;
  padding: 12px 13px 11px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28), 0 4px 12px rgba(15, 23, 42, 0.16);
}

.review-report-popup-layer .maplibregl-popup-close-button {
  z-index: 2602;
  width: 28px;
  height: 28px;
  color: #172033;
  font-size: 20px;
  line-height: 25px;
}

.review-report-popup strong {
  font-size: 14px;
}

.review-report-popup span,
.review-report-popup small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.review-report-popup p {
  margin: 9px 0 3px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 4px !important;
  background: var(--panel-bg) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18) !important;
}

.map-shell-dark .maplibregl-ctrl-group button .maplibregl-ctrl-icon {
  filter: invert(1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes destination-pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.72);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (max-width: 700px) {
  .room-editor-grid,
  .room-editor-repeatable {
    grid-template-columns: 1fr;
  }

  .map-ui-stack {
    top: 8px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100vh - 16px);
    pointer-events: none;
  }

  .nav-panel,
  .nav-panel-collapsed {
    position: fixed;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: min(58vh, 460px);
    border-radius: 12px;
  }

  .nav-panel-collapsed {
    right: auto;
    left: 8px;
    width: min(220px, calc(100vw - 16px));
    max-height: none;
  }

  .nav-content {
    max-height: calc(min(58vh, 460px) - 62px);
    overflow-y: auto;
    padding: 12px;
  }

  .standalone-search-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .poi-filter-panel {
    width: min(290px, 100%);
  }

  .poi-filter-list {
    max-height: min(210px, 25vh);
  }

  .standalone-search-panel .location-search-input {
    height: 48px;
  }

  .location-suggestions {
    max-height: min(240px, 42vh);
  }

  .nav-panel .location-suggestions {
    max-height: min(220px, 32vh);
  }

  .room-info-card-shell {
    right: 8px;
    bottom: 76px;
    left: 8px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .map-toolbar {
    top: 8px;
    right: 48px;
    bottom: auto;
    flex-direction: column;
    align-items: flex-end;
  }

  .map-toolbar-buttons {
    flex-direction: row;
  }

  .map-legend {
    min-width: 165px;
  }

  .poi-public-notice {
    top: auto;
    right: 8px;
    bottom: 76px;
    left: 8px;
    max-width: none;
  }

  .poi-admin-panel {
    top: auto;
    right: 8px;
    bottom: 76px;
    left: 8px;
    width: auto;
    max-height: 34vh;
    overflow-y: auto;
  }

  .review-public-button {
    right: 8px;
    bottom: 64px;
  }

  .review-mode-panel {
    top: auto;
    right: 8px;
    bottom: 104px;
    left: 8px;
    width: auto;
    max-height: 28vh;
    overflow-y: auto;
  }

  .review-filter-panel {
    top: auto;
    right: 8px;
    bottom: calc(104px + 148px);
    left: 8px;
    width: auto;
    max-height: 24vh;
    overflow-y: auto;
  }

  .review-filter-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .poi-list {
    max-height: 120px;
  }

  .poi-modal-backdrop {
    align-items: flex-end;
    padding: 8px;
  }

  .poi-form {
    max-height: 78vh;
  }

  .poi-visibility-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

