* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Inter, sans-serif;
  background: #0f1419;
  color: #e6edf3;
  min-height: 100vh;
}
a { color: #58a6ff; }
.hidden { display: none !important; }
.hint { color: #8b949e; font-size: 14px; }
.error { color: #f85149; font-size: 14px; margin-top: 8px; }

.btn {
  display: inline-block;
  background: linear-gradient(#238636, #196c2e);
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-xs {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}
.btn-secondary { background: linear-gradient(#1f6feb, #1158c7); }
.btn-warning { background: linear-gradient(#9e6a03, #7d5502); }
.btn-danger { background: linear-gradient(#da3633, #b62324); }
.btn-link {
  background: none;
  border: none;
  color: #58a6ff;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  text-decoration: underline;
}

.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.login-card {
  background: #1a222e;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.login-card h1 { margin: 0 0 8px; }
.login-card label {
  display: block;
  margin: 12px 0 4px;
  font-size: 13px;
  color: #8b949e;
}
.login-card input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
  font-size: 14px;
}
.login-card .btn { width: 100%; margin-top: 16px; }

.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px;
  background: #161b22;
  border-right: 1px solid #30363d;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sidebar-header {
  padding: 20px 16px;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge {
  font-size: 11px;
  background: #238636;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar nav { flex: 1; padding: 12px 8px; }
.nav-group + .nav-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #21262d;
}
.nav-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6e7681;
  padding: 0 12px 6px;
  user-select: none;
}
.nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: #e6edf3;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 4px;
}
.nav-btn:hover { background: #21262d; }
.nav-btn.active { background: #1f6feb; color: white; }
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid #30363d;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content {
  flex: 1;
  padding: 24px 32px;
  overflow: auto;
}
.section { display: none; }
.section.active { display: block; }
.section h2 { margin: 0 0 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: #1a222e;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #30363d;
}
.stat-card .label { color: #8b949e; font-size: 13px; margin-bottom: 4px; }
.stat-card .value { font-size: 24px; font-weight: 700; }
.stat-card .value.ok { color: #3fb950; }
.stat-card .value.warn { color: #d29922; }

.toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar input {
  flex: 1;
  min-width: 200px;
  padding: 8px 12px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
}

.table-wrap {
  background: #1a222e;
  border-radius: 12px;
  border: 1px solid #30363d;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #30363d;
}
th { color: #8b949e; font-weight: 600; background: #161b22; }
tr:hover td { background: #21262d; }
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.tag-online { background: #238636; color: white; }
.tag-offline { background: #30363d; color: #8b949e; }
.tag-banned { background: #da3633; color: white; }
.tag-infinite { background: #8957e5; color: white; }
.clickable { cursor: pointer; color: #58a6ff; }

.pager {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  overflow: hidden;
}
.modal-card {
  background: #1a222e;
  border-radius: 12px;
  padding: 24px;
  padding-top: 44px;
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 1px solid #30363d;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.modal-card-wide { max-width: 560px; }
.form-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 12px;
  align-items: center;
  margin-top: 12px;
}
.form-grid label { font-size: 13px; color: #8b949e; }
.form-grid input[type="text"],
.form-grid input[type="number"],
.form-grid select {
  padding: 8px 10px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
  font-size: 14px;
}
.form-grid input[type="color"] {
  width: 100%;
  height: 36px;
  padding: 2px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  cursor: pointer;
}
.checkbox-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6edf3 !important;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.form-section-title {
  grid-column: 1 / -1;
  margin: 10px 0 2px;
  padding-top: 10px;
  border-top: 1px solid #30363d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #58a6ff;
}
.break-time-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 10px 12px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
}
.break-time-row .field-hint {
  grid-column: 1 / -1;
  margin: 0;
}
.label-with-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.field-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #30363d;
  color: #8b949e;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  flex-shrink: 0;
}
.field-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-hint {
  margin: 0;
  font-size: 12px;
  color: #8b949e;
  line-height: 1.4;
}
.block-preview-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#block-preview-canvas {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #0d1117;
  flex-shrink: 0;
}
.block-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 6px;
  border: 1px solid #30363d;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #8b949e;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.detail-grid {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.detail-grid dt { color: #8b949e; }
.detail-grid dd { margin: 0 0 8px; }

.inventory-table {
  width: 100%;
  margin: 8px 0 20px;
  font-size: 13px;
}
.inventory-table th {
  text-align: left;
  color: #8b949e;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid #30363d;
}
.inventory-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #21262d;
}
.inventory-empty {
  color: #8b949e;
  font-size: 14px;
  margin: 8px 0 20px;
}
.planet-chest-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.planet-chest-card h4 {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.log-msg {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.toast {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid #30363d;
  animation: toast-in 0.2s ease;
}
.toast-success { background: #1a3d2a; color: #3fb950; }
.toast-error { background: #3d1a1a; color: #f85149; }
.toast-info { background: #1a222e; color: #e6edf3; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .nav-group + .nav-group {
    margin-top: 8px;
    padding-top: 8px;
  }
  .nav-group-label { width: 100%; padding-bottom: 2px; }
  .nav-btn { width: auto; }
}

.section-sub { margin: 24px 0 12px; font-size: 16px; color: #8b949e; font-weight: 600; }
.table-wrap.compact table { font-size: 13px; }

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}
.tab-btn {
  background: #21262d;
  border: 1px solid #30363d;
  color: #8b949e;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab-btn:hover {
  background: #30363d;
  color: #e6edf3;
}
.tab-btn.active {
  background: rgba(31, 111, 235, 0.2);
  border-color: #1f6feb;
  color: #58a6ff;
}

.cost-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cost-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cost-row select,
.cost-row input[type="number"] {
  flex: 1;
  min-width: 0;
}
.cost-row .cost-quantity {
  max-width: 100px;
}
.form-grid textarea {
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #30363d;
  background: #0d1117;
  color: #e6edf3;
  font-family: inherit;
  resize: vertical;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-header h2 {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.block-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.form-grid-page {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 12px 16px;
  max-width: 920px;
}
.field-full {
  grid-column: 1 / -1;
}
.block-edit-aside {
  position: sticky;
  top: 16px;
}
.block-preview-panel {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.block-preview-panel h3 {
  margin: 0;
  font-size: 14px;
  color: #e6edf3;
}
#block-preview-canvas {
  width: 128px;
  height: 128px;
  image-rendering: pixelated;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  align-self: center;
}

@media (max-width: 960px) {
  .block-edit-layout {
    grid-template-columns: 1fr;
  }
  .block-edit-aside {
    position: static;
    order: -1;
  }
  .form-grid-page {
    grid-template-columns: 1fr;
  }
  .form-grid-page label:not(.checkbox-label) {
    margin-top: 4px;
  }
  .break-time-row {
    grid-template-columns: 1fr;
  }
}

/* ——— Blocs & génération : filtres + table compacte ——— */
.blocks-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.blocks-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.blocks-toolbar-actions {
  gap: 8px;
}
.blocks-search {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  padding: 7px 12px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
  font-size: 13px;
}
.blocks-search::placeholder {
  color: #6e7681;
}
.blocks-filter-row {
  gap: 10px;
}
.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  background: #21262d;
  border: 1px solid #30363d;
  color: #8b949e;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.filter-chip:hover {
  background: #30363d;
  color: #e6edf3;
}
.filter-chip.active {
  background: rgba(31, 111, 235, 0.18);
  border-color: #1f6feb;
  color: #58a6ff;
}
.blocks-placement-select {
  padding: 6px 10px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
  font-size: 12px;
  min-width: 140px;
}
.blocks-filter-count {
  margin-left: auto;
  font-size: 12px;
  color: #6e7681;
  white-space: nowrap;
}
.blocks-empty-msg {
  padding: 16px;
  margin: 0;
  color: #8b949e;
}
.table-wrap-blocks-compact table.blocks-table {
  font-size: 12px;
}
.table-wrap-blocks-compact th,
.table-wrap-blocks-compact td {
  padding: 6px 10px;
  vertical-align: middle;
}
.table-wrap-blocks-compact th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 8px;
  padding-bottom: 8px;
}
.table-wrap-blocks-compact tbody tr.blocks-row-muted td {
  color: #8b949e;
}
.table-wrap-blocks-compact tbody tr.blocks-row-muted .blocks-name {
  opacity: 0.85;
}
.table-wrap-blocks-compact tbody tr.blocks-row-gen-active td.blocks-col-gen {
  background: rgba(63, 185, 80, 0.04);
}
.blocks-col-name {
  min-width: 160px;
}
.blocks-col-name .color-swatch {
  vertical-align: top;
  margin-top: 3px;
}
.blocks-name {
  display: inline;
  font-weight: 500;
  color: #e6edf3;
}
.blocks-id {
  display: block;
  font-size: 11px;
  margin-top: 1px;
  line-height: 1.3;
}
.blocks-col-props {
  font-size: 11px;
  color: #8b949e;
  max-width: 220px;
}
.blocks-col-action {
  width: 1%;
  white-space: nowrap;
}

.blocks-entities-tabs {
  margin-bottom: 16px;
}

.table-wrap-entities-compact table.entities-table {
  font-size: 12px;
}
.table-wrap-entities-compact th,
.table-wrap-entities-compact td {
  padding: 6px 10px;
  vertical-align: middle;
}
.table-wrap-entities-compact th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.entities-col-name {
  min-width: 160px;
}
.entities-name {
  display: block;
  font-weight: 500;
  color: #e6edf3;
}
.entities-id {
  display: block;
  font-size: 11px;
  margin-top: 1px;
}
.entities-col-badges .entity-badge {
  margin-right: 4px;
  margin-bottom: 2px;
}
.entities-col-stats,
.entities-col-cost {
  font-size: 11px;
  color: #8b949e;
}
.entities-col-action {
  width: 1%;
  white-space: nowrap;
}
.entities-row-muted td {
  color: #8b949e;
}
.entities-row-muted .entities-name {
  opacity: 0.85;
}
.entity-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
}
.entity-cat-animal {
  color: #d29922;
  background: rgba(210, 153, 34, 0.12);
  border-color: rgba(210, 153, 34, 0.25);
}
.entity-cat-land {
  color: #58a6ff;
  background: rgba(31, 111, 235, 0.12);
  border-color: rgba(31, 111, 235, 0.25);
}
.entity-cat-motor {
  color: #a371f7;
  background: rgba(163, 113, 247, 0.12);
  border-color: rgba(163, 113, 247, 0.25);
}
.entity-era-prehistory {
  color: #3fb950;
  background: rgba(63, 185, 80, 0.1);
  border-color: rgba(63, 185, 80, 0.2);
}
.entity-era-antiquity {
  color: #79c0ff;
  background: rgba(121, 192, 255, 0.1);
  border-color: rgba(121, 192, 255, 0.2);
}
.entity-era-modern {
  color: #f778ba;
  background: rgba(247, 120, 186, 0.1);
  border-color: rgba(247, 120, 186, 0.2);
}

.gen-pct-zero {
  color: #6e7681;
  opacity: 0.75;
  font-size: 12px;
}
.gen-pct-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.gen-pct-active {
  color: #3fb950;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.25);
}
.placement-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  background: #21262d;
  color: #8b949e;
  border: 1px solid #30363d;
}
.placement-tag.placement-physical {
  color: #a371f7;
  background: rgba(163, 113, 247, 0.1);
  border-color: rgba(163, 113, 247, 0.25);
}
.placement-tag.placement-floor {
  color: #79c0ff;
  background: rgba(121, 192, 255, 0.08);
  border-color: rgba(121, 192, 255, 0.2);
}

/* ——— Constructions : recherche + table compacte ——— */
.buildings-toolbar {
  margin-bottom: 12px;
}
.buildings-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.buildings-search {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  padding: 7px 12px;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: #0d1117;
  color: #e6edf3;
  font-size: 13px;
}
.buildings-search::placeholder {
  color: #6e7681;
}
.buildings-filter-count {
  margin-left: auto;
  font-size: 12px;
  color: #6e7681;
  white-space: nowrap;
}
.buildings-empty-msg {
  padding: 16px;
  margin: 0;
  color: #8b949e;
}
.table-wrap-buildings-compact table.buildings-table {
  font-size: 12px;
}
.table-wrap-buildings-compact th,
.table-wrap-buildings-compact td {
  padding: 6px 10px;
  vertical-align: middle;
}
.table-wrap-buildings-compact th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 8px;
  padding-bottom: 8px;
}
.buildings-col-name {
  min-width: 140px;
}
.buildings-name {
  display: block;
  font-weight: 500;
  color: #e6edf3;
  line-height: 1.3;
}
.buildings-id {
  display: block;
  font-size: 11px;
  margin-top: 1px;
}
.buildings-col-size {
  white-space: nowrap;
}
.buildings-col-size .size-tag-cases {
  display: block;
  font-size: 10px;
  color: #8b949e;
  margin-top: 2px;
  font-weight: 500;
}
.building-footprint-hint {
  margin-top: -4px;
  padding: 8px 10px;
  background: rgba(31, 111, 235, 0.08);
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 8px;
  color: #c9d1d9;
}
.building-footprint-hint strong {
  color: #58a6ff;
}
.size-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #21262d;
  color: #c9d1d9;
  border: 1px solid #30363d;
}
.buildings-col-cost {
  min-width: 100px;
}
.buildings-col-cat {
  font-size: 11px;
  color: #8b949e;
  white-space: nowrap;
}
.buildings-col-actions-h,
.buildings-col-actions {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}
.buildings-action-group {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}
.cost-badge-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.cost-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px 2px 5px;
  border-radius: 6px;
  background: #21262d;
  border: 1px solid #30363d;
  font-size: 11px;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1.3;
  white-space: nowrap;
}
.cost-badge-icon {
  font-size: 12px;
  line-height: 1;
}
.cost-badge-qty {
  font-variant-numeric: tabular-nums;
  color: #c9d1d9;
}
.cost-empty {
  color: #6e7681;
  opacity: 0.7;
}

.building-edit-form {
  max-width: 720px;
}

@media (max-width: 720px) {
  .blocks-filter-count {
    margin-left: 0;
    width: 100%;
  }
  .blocks-search {
    max-width: none;
    width: 100%;
  }
  .buildings-filter-count {
    margin-left: 0;
    width: 100%;
  }
  .buildings-search {
    max-width: none;
    width: 100%;
  }
}
