* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, sans-serif;
  background: #f8fafc;
}

h1,
p {
  margin: 0;
}

button {
  font: inherit;
}

.app {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: 96px 1fr;
}

.topbar {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 96px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: #ffffff;
  border-bottom: 1px solid #dbe4f0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-text h1 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  color: #172033;
}

.brand-text p {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  color: #6f82a3;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.view-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  color: #3f5272;
  font-size: 18px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: 18px;
  cursor: pointer;
}

.view-tab.active {
  background: #fff1f2;
  color: #ef4444;
}

.view-tab i {
  font-size: 18px;
}

.main-content {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
}

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