@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #09100e;
  --panel: #101815;
  --panel-soft: #16211d;
  --line: rgba(220, 244, 231, 0.12);
  --line-strong: rgba(220, 244, 231, 0.2);
  --text: #f3f8f5;
  --muted: #96a79f;
  --lime: #b8ef61;
  --lime-deep: #94cf3e;
  --amber: #ffbf4b;
  --red: #ff6a4d;
  --blue: #73c7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  height: 74px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 390px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 16, 14, 0.94);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 5000;
  isolation: isolate;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lime);
  box-shadow: 0 0 40px rgba(184, 239, 97, 0.2);
  transform: rotate(5deg);
}

.brand-mark span {
  width: 17px;
  height: 20px;
  border: solid #0b110f;
  border-width: 0 6px 0 0;
  transform: skew(-18deg) rotate(4deg);
  position: relative;
}

.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 5px;
  border-radius: 6px;
  background: #0b110f;
  right: -6px;
}

.brand-mark span::before {
  top: 2px;
}

.brand-mark span::after {
  bottom: 2px;
}

.brand strong {
  display: block;
  font: 700 19px/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.live-dot {
  color: #dce8e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
}

.live-dot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(184, 239, 97, 0.11);
  margin-right: 7px;
}

.header-actions {
  display: flex;
  gap: 9px;
}

.workspace {
  height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.sidebar {
  height: 100%;
  overflow-y: auto;
  padding: 28px 24px 40px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 239, 97, 0.07), transparent 28%),
    var(--panel);
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--lime);
  font: 600 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
}

.hero-title {
  margin: 0;
  max-width: 340px;
  font: 600 40px/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.hero-title em {
  color: var(--lime);
  font-style: normal;
}

.hero-copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 18px 0 22px;
}

.button {
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 244, 231, 0.32);
}

.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a100e;
}

.button.alert {
  background: var(--red);
  border-color: var(--red);
  color: #140b08;
}

.button.ghost {
  background: transparent;
}

.button.small {
  padding: 8px 11px;
  font-size: 12px;
}

.button.full {
  width: 100%;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.trust-stat {
  min-width: 0;
  padding: 13px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.trust-stat strong {
  display: block;
  font: 650 18px/1 "Space Grotesk", sans-serif;
}

.trust-stat small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.judge-card {
  border: 1px solid rgba(184, 239, 97, 0.25);
  background: linear-gradient(145deg, rgba(184, 239, 97, 0.09), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 22px;
}

.judge-card h3,
.section-title {
  margin: 0;
  font: 600 15px/1.2 "Space Grotesk", sans-serif;
}

.judge-card p {
  color: var(--muted);
  margin: 8px 0 14px;
  font-size: 12px;
  line-height: 1.5;
}

.credential-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 10, 8, 0.55);
  color: var(--text);
  padding: 10px 11px;
  cursor: pointer;
}

.credential-row + .credential-row {
  margin-top: 7px;
}

.credential-row strong,
.credential-row small {
  display: block;
}

.credential-row strong {
  font-size: 12px;
}

.credential-row small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.credential-row span:last-child {
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.data-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.data-note i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  margin-top: 4px;
}

.map-workspace {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  background: #121916;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111714;
}

#map.picking-location,
#map.picking-location .leaflet-interactive {
  cursor: crosshair !important;
}

.map-pick-banner {
  position: absolute;
  z-index: 900;
  top: 84px;
  left: 50%;
  width: min(460px, calc(100% - 34px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(184, 239, 97, 0.45);
  border-radius: 13px;
  background: rgba(13, 21, 18, 0.96);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.map-pick-banner[hidden] {
  display: none;
}

.map-pick-banner strong,
.map-pick-banner small {
  display: block;
}

.map-pick-banner strong {
  color: var(--lime);
  font-size: 12px;
}

.map-pick-banner small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.leaflet-tile-pane {
  filter: brightness(0.58) saturate(0.72) contrast(1.12);
}

.leaflet-container {
  font-family: "DM Sans", system-ui, sans-serif;
}

.leaflet-control-attribution {
  background: rgba(9, 16, 14, 0.78) !important;
  color: var(--muted) !important;
}

.leaflet-control-attribution a {
  color: #cad9d1 !important;
}

.map-search-wrap {
  position: absolute;
  z-index: 600;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 180px));
}

.map-search {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(13, 21, 18, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: var(--muted);
  transform: rotate(45deg);
  right: -5px;
  bottom: -2px;
}

.map-search input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 8px 3px;
}

.map-search input::placeholder {
  color: #83928b;
}

.search-button {
  border: 0;
  border-radius: 9px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 650;
  cursor: pointer;
}

.search-results {
  margin-top: 8px;
  padding: 7px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 21, 18, 0.97);
  box-shadow: var(--shadow);
}

.search-result {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.search-result strong,
.dialog-location-result strong {
  font-size: 12px;
}

.search-result small,
.dialog-location-result small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.search-attribution {
  display: block;
  padding: 7px 10px 3px;
  color: var(--muted);
  font-size: 9px;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.06);
}

.map-legend {
  position: absolute;
  z-index: 500;
  right: 16px;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 21, 18, 0.86);
  backdrop-filter: blur(12px);
  color: #c6d2cc;
  font-size: 10px;
}

.map-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.observe {
  background: var(--lime);
}

.caution {
  background: var(--amber);
}

.high {
  background: var(--red);
}

.area-panel {
  position: absolute;
  z-index: 550;
  left: 18px;
  bottom: 18px;
  width: min(480px, calc(100% - 36px));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(13, 21, 18, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.area-panel-main {
  padding: 17px 18px;
}

.area-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.area-panel h3 {
  margin: 0;
  font: 600 19px/1.2 "Space Grotesk", sans-serif;
}

.area-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.attention-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.attention-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.weather-metric {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.weather-metric strong,
.weather-metric small {
  display: block;
}

.weather-metric strong {
  font: 600 16px/1 "Space Grotesk", sans-serif;
}

.weather-metric small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.area-panel-footer {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.area-panel-footer small {
  color: var(--muted);
  line-height: 1.35;
}

.area-panel-footer .button-row {
  flex-wrap: nowrap;
}

.loading-inline {
  color: var(--muted);
  padding: 17px 0 5px;
  font-size: 12px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dashboard-head h1 {
  margin: 4px 0 0;
  font: 600 28px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.dashboard-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-actions {
  margin-top: 14px;
}

.notification-count {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #170a07;
  font-weight: 800;
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
}

.text-button {
  border: 0;
  padding: 3px;
  background: none;
  color: var(--lime);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.notification-list,
.report-feed {
  display: grid;
  gap: 9px;
}

.notification-card,
.feed-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.notification-card.unread {
  border-color: rgba(255, 106, 77, 0.38);
  background: rgba(255, 106, 77, 0.06);
}

.notification-meta,
.feed-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notification-card h3,
.feed-card h3 {
  margin: 8px 0 5px;
  font: 600 14px/1.3 "Space Grotesk", sans-serif;
}

.notification-card p,
.feed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pill.observe {
  color: #cffa89;
  background: rgba(184, 239, 97, 0.1);
}

.pill.caution {
  color: #ffd98b;
  background: rgba(255, 191, 75, 0.11);
}

.pill.high {
  color: #ff9e8a;
  background: rgba(255, 106, 77, 0.12);
}

.pill.demo {
  color: #a8d9ff;
  background: rgba(115, 199, 255, 0.1);
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.modal {
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 24px;
  background: #121b18;
  color: var(--text);
  box-shadow: var(--shadow);
}

.auth-modal {
  width: min(500px, calc(100vw - 28px));
}

.signup-modal {
  width: min(680px, calc(100vw - 28px));
}

.modal::backdrop {
  background: rgba(2, 7, 5, 0.72);
  backdrop-filter: blur(7px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.modal-header h2 {
  margin: 0;
  font: 600 25px/1.15 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.modal-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  margin: 22px 0 18px;
}

.auth-tab {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 9px;
  cursor: pointer;
  font-weight: 650;
}

.auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack[hidden] {
  display: none;
}

.standalone-auth-form {
  margin-top: 22px;
}

.area-form {
  margin-top: 22px;
}

.dialog-location-search > label {
  display: block;
  color: #cbd7d1;
  font-size: 11px;
  font-weight: 650;
}

.dialog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.dialog-search-row input {
  margin-top: 7px;
}

.dialog-search-row .button {
  min-height: 42px;
  padding-block: 9px;
}

.dialog-search-results {
  display: grid;
  gap: 5px;
  max-height: 170px;
  margin-top: 8px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(5, 11, 9, 0.58);
}

.dialog-search-results[hidden] {
  display: none;
}

.dialog-location-result {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.dialog-location-result:hover {
  background: rgba(255, 255, 255, 0.06);
}

.location-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.location-choice::before,
.location-choice::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.optional-label {
  margin-left: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-stack label,
.form-stack legend {
  color: #cbd7d1;
  font-size: 11px;
  font-weight: 650;
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(5, 11, 9, 0.58);
  color: var(--text);
}

.form-stack textarea {
  resize: vertical;
}

.form-stack fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.severity-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.severity-options label {
  position: relative;
}

.severity-options input {
  position: absolute;
  opacity: 0;
}

.severity-options span {
  display: block;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
}

.severity-options input:checked + span {
  border-color: var(--lime);
  background: rgba(184, 239, 97, 0.08);
  color: var(--lime);
}

.selected-location {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(115, 199, 255, 0.05);
}

.location-pin {
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.selected-location strong,
.selected-location small {
  display: block;
}

.selected-location strong {
  font-size: 11px;
}

.selected-location small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.form-error {
  margin: 0;
  padding: 10px 11px;
  border-radius: 9px;
  background: rgba(255, 106, 77, 0.1);
  color: #ffb4a5;
  font-size: 11px;
}

.safety-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.modal-demo {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.modal-demo > p {
  color: var(--muted);
  font-size: 10px;
  margin: 0 0 9px;
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 20px;
  bottom: 20px;
  max-width: min(380px, calc(100vw - 40px));
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #18231f;
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.loading-line,
.loading-card {
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.loading-line {
  width: 70%;
  height: 16px;
  margin: 9px 0;
}

.loading-line.wide {
  width: 92%;
  height: 40px;
}

.loading-card {
  height: 180px;
  margin-top: 28px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar-status {
    display: none;
  }

  .workspace {
    grid-template-columns: 350px minmax(0, 1fr);
  }

  .map-legend {
    display: none;
  }

  .map-search-wrap {
    width: calc(100% - 34px);
  }
}

@media (max-width: 720px) {
  .app-shell {
    overflow: visible;
  }

  .topbar {
    height: 66px;
    padding: 0 14px;
  }

  .brand small,
  .desktop-only {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions .button.ghost {
    display: none;
  }

  .workspace {
    height: auto;
    min-height: calc(100vh - 66px);
    display: flex;
    flex-direction: column-reverse;
  }

  .sidebar {
    height: auto;
    min-height: 48vh;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 24px 18px 40px;
  }

  .map-workspace {
    height: 54vh;
    min-height: 430px;
  }

  .map-search-wrap {
    top: 12px;
  }

  .map-pick-banner {
    top: 72px;
  }

  .map-search {
    grid-template-columns: 18px 1fr;
  }

  .search-button {
    display: none;
  }

  .area-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .weather-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-panel-footer {
    align-items: flex-end;
  }

  .hero-title {
    font-size: 36px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
