:root {
  --bg-dark: #0f172a;
  --bg-panel: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --accent-red: #dc2626;
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--text-main);
  background: var(--bg-subtle);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

/* ВЕРХНЯЯ ПАНЕЛЬ */
.topbar {
  height: 60px;
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
  z-index: 30;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.brand-badge {
  background: #facc15;
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

.brand-titles h1 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-titles span {
  font-size: 11px;
  color: #94a3b8;
}

.mode-switcher {
  display: flex;
  background: #1e293b;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.mode-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.mode-btn.active {
  background: #3b82f6;
  color: #fff;
}

.cluster-control {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #cbd5e1;
}

.cluster-control select {
  background: #1e293b;
  color: #fff;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.basemap-switcher {
  display: flex;
  background: #1e293b;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.basemap-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  cursor: pointer;
}

.basemap-btn.active {
  background: #475569;
  color: #fff;
  font-weight: 600;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #475569;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.action-btn:hover {
  background: #334155;
}

.action-btn.primary {
  background: #16a34a;
  border-color: #15803d;
}

.action-btn.primary:hover {
  background: #15803d;
}

.action-btn.accent-outline {
  border-color: #60a5fa;
  color: #bfdbfe;
}

.action-btn.active-clean {
  background: #2563eb;
  border-color: #60a5fa;
  color: #fff;
}

/* ОСНОВНАЯ РАБОЧАЯ ОБЛАСТЬ */
.workspace {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

.map-stage {
  flex: 1;
  position: relative;
  height: 100%;
}

#map {
  width: 100%;
  height: 100%;
}

/* В режиме Руководителя скрываем правую рабочую панель и инструменты рисования */
.workspace.executive-mode .side-panel,
.workspace.executive-mode .side-panel-toggle-tab,
.workspace.executive-mode .map-toolbar {
  display: none;
}

/* Кнопка-язычок сворачивания правой панели */
.side-panel-toggle-tab {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 58px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 9px 0 0 9px;
  box-shadow: -3px 2px 12px rgba(15, 23, 42, 0.14);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: background 0.15s ease, color 0.15s ease, width 0.15s ease;
}

.side-panel-toggle-tab:hover {
  background: #0f172a;
  color: #fff;
  width: 28px;
}

/* ПАНЕЛЬ ИНСТРУМЕНТОВ НА КАРТЕ */
.map-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
}

.tool-group,
.cadastre-search-box {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 5px;
  display: flex;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}

.map-tool-btn {
  border: none;
  background: transparent;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.map-tool-btn:hover {
  background: #f1f5f9;
}

.map-tool-btn.active {
  background: #0f172a;
  color: #fff;
}

.map-tool-btn.active-cadastre {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.cadastre-search-box input {
  border: none;
  outline: none;
  padding: 6px 10px;
  font-size: 13px;
  width: 245px;
  background: transparent;
}

.cadastre-search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.map-hint-banner {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fef08a;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 92%;
  flex-wrap: wrap;
  justify-content: center;
}

.hint-reset-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hint-reset-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* РАМКА-ЛЕГЕНДА РУКОВОДИТЕЛЯ (В СТИЛЕ ОРИГИНАЛЬНЫХ КАРТ КФХ) */
.executive-legend-card {
  position: absolute;
  bottom: 20px;
  left: 16px;
  width: 350px;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid #0f172a;
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  z-index: 11;
}

.workspace.executive-mode .executive-legend-card {
  top: 20px;
  bottom: auto;
  width: 400px;
  padding: 16px 18px;
}

.legend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1.5px solid #cbd5e1;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.legend-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0f172a;
}

.legend-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.legend-collapse-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.legend-collapse-btn:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.executive-legend-card.legend-collapsed {
  width: auto;
  min-width: 190px;
  padding: 8px 12px;
  cursor: pointer;
}

.executive-legend-card.legend-collapsed .legend-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.executive-legend-card.legend-collapsed .legend-header h2 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.executive-legend-card.legend-collapsed .legend-body,
.executive-legend-card.legend-collapsed .mask-toggle-btn {
  display: none;
}

.mask-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #94a3b8;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: #1e293b;
}

.mask-toggle-btn.active {
  background: #fee2e2;
  border-color: #dc2626;
  color: #991b1b;
}

.legend-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
}

.legend-row-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.legend-swatch {
  width: 24px;
  height: 17px;
  border: 1.8px solid #0f172a;
  flex-shrink: 0;
}

.ezp-badges {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ezp-pill {
  font-size: 11.5px;
  font-weight: 700;
  background: #fef9c3;
  border: 1.5px solid #0f172a;
  padding: 2px 7px;
}

.legend-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

.buildings-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11.5px;
  cursor: pointer;
}

/* ПРАВАЯ БОКОВАЯ ПАНЕЛЬ */
.side-panel {
  width: 410px;
  min-width: 0;
  flex-shrink: 0;
  background: var(--bg-panel);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: hidden;
  transition: width 0.25s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.workspace.side-collapsed .side-panel {
  width: 0;
  border-left-width: 0;
  opacity: 0;
  pointer-events: none;
}

.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.panel-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
}

.panel-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #fff;
}

.tab-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

.tab-content {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.tab-content.active {
  display: flex;
}

/* ЧАТ ИИ-АГЕНТА */
.agent-status-bar {
  padding: 8px 14px;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  font-size: 12px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.quick-prompts {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.quick-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.prompt-chip {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11.5px;
  cursor: pointer;
  color: #1e293b;
  transition: all 0.12s;
}

.prompt-chip:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  display: flex;
}

.chat-msg.user {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-msg.assistant .msg-bubble {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 3px;
}

.chat-msg.user .msg-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 3px;
}

.confirm-box {
  margin: 0 12px 8px;
  padding: 10px 12px;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  font-size: 12.5px;
}

.confirm-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.btn-apply {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cancel {
  background: #e2e8f0;
  border: none;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input-bar {
  border-top: 1px solid var(--border);
  padding: 10px;
  display: flex;
  gap: 7px;
  align-items: flex-end;
  background: #fff;
}

.file-attach-box {
  margin: 0 10px 8px;
  padding: 9px 11px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
}

.file-attach-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.file-attach-name {
  font-weight: 700;
  color: #1e3a8a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-clear-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 5px;
}

.file-attach-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.file-attach-controls label {
  font-weight: 600;
  color: #334155;
}

.file-attach-controls select {
  flex: 1;
  min-width: 140px;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  background: #fff;
}

#tab-agent.drag-over {
  outline: 2.5px dashed #2563eb;
  outline-offset: -6px;
  background: #eff6ff;
}

.voice-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 17px;
  cursor: pointer;
}

.voice-btn.recording {
  background: #fee2e2;
  border-color: #ef4444;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.chat-input-bar textarea {
  flex: 1;
  resize: none;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.chat-input-bar textarea:focus {
  border-color: var(--primary);
}

.send-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* КАРТОЧКА УЧАСТКА */
.empty-state {
  padding: 36px 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.parcel-form {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.egrn-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
}

.egrn-box-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.egrn-tag {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #475569;
}

.egrn-box-header h3 {
  font-size: 15px;
  color: #0f172a;
}

.mini-btn {
  background: #fff;
  border: 1px solid #94a3b8;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.egrn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  font-size: 12px;
}

.egrn-grid input {
  width: 100%;
  padding: 3px 6px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.status-palette {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 5px;
}

.status-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
}

.status-option.selected {
  border-color: #0f172a;
  background: #f1f5f9;
}

.status-dot-swatch {
  width: 15px;
  height: 15px;
  border: 1.5px solid #0f172a;
  border-radius: 3px;
  flex-shrink: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}

.shares-box {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: 8px;
  padding: 9px 10px;
}

.shares-title {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #854d0e;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label,
.form-section > label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 13px;
  font-family: inherit;
}

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

.save-parcel-btn {
  flex: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.delete-parcel-btn {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
}

.parcel-log-box h4 {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.parcel-log-box ul,
.global-history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-header {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.history-header h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.history-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.global-history-list {
  padding: 12px 14px;
  overflow-y: auto;
  flex: 1;
}

.history-item {
  font-size: 12px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.history-item.undone {
  opacity: 0.5;
  text-decoration: line-through;
}

@media (max-width: 960px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 10px;
  }
  .workspace {
    flex-direction: column;
  }
  .side-panel {
    width: 100%;
    height: 44vh;
  }
  .executive-legend-card {
    width: 280px;
    bottom: 10px;
    left: 10px;
  }
}

/* Участки без границ в ЕГРН и кнопка ИИ-обрисовки */
.tab-badge.warn {
  background: #f59e0b;
  color: #fff;
  margin-left: 4px;
}

.no-geom-section {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 10px 12px;
  max-height: 220px;
  overflow-y: auto;
  flex-shrink: 0;
}

.no-geom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.no-geom-title {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
}

.no-geom-count {
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}

.no-geom-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.no-geom-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #fcd34d;
  border-radius: 7px;
  padding: 7px 9px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.no-geom-item:hover,
.no-geom-item.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.no-geom-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.no-geom-cn {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-geom-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  flex-wrap: wrap;
}

.no-geom-pill {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
}

.no-geom-outline-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.no-geom-outline-btn:hover {
  background: #1d4ed8;
}

.egrn-header-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.mini-btn.ai-outline-btn {
  background: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
}

.mini-btn.ai-outline-btn:hover {
  background: #1d4ed8;
}

.geom-status-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.geom-status-badge.missing {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.geom-status-badge.ai-dashed {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px dashed #2563eb;
}
