@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  font-family: 'DM Sans', sans-serif;
  color: #193c43;
  background: #f6f7f4;
  font-synthesis: none;
  --teal: #17645e;
  --muted: #6a7c7c;
  --border: #dfe5e0;
  --orange: #f4a53e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #d98922;
  outline-offset: 3px;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
header {
  height: 91px;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand img {
  width: 205px;
  height: 62px;
  object-fit: contain;
}
.brand-divider {
  height: 32px;
  border-left: 1px solid var(--border);
}
.brand-tag {
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 1.7px;
  font-weight: 700;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
.demo-pill {
  border: 1px solid #e3d6bb;
  background: #fff9ea;
  border-radius: 30px;
  padding: 7px 12px;
  color: #927034;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.quiet {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 7px;
  background: white;
}
.workspace {
  display: flex;
  height: calc(100dvh - 91px);
}
.sidebar {
  width: 345px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: #fafbf8;
  border-right: 1px solid var(--border);
}
.sidebar-heading {
  padding: 28px 26px 15px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--teal);
  font-weight: 700;
}
h1 {
  font:
    800 32px/1.15 'Manrope',
    sans-serif;
  letter-spacing: -1.4px;
  margin: 14px 0 12px;
}
.sidebar-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.metrics {
  margin: 4px 26px 20px;
  display: flex;
  border-block: 1px solid var(--border);
  padding: 15px 0;
  gap: 24px;
}
.metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metrics strong {
  font:
    700 25px 'Manrope',
    sans-serif;
}
.metrics span {
  font-size: 10px;
  color: var(--muted);
}
.tools {
  padding: 0 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  padding: 0 12px;
}
.search span {
  font-size: 25px;
  color: var(--muted);
}
input,
select {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  padding: 10px;
  color: #25464a;
  font-size: 12px;
}
.search input {
  width: 100%;
  border: 0;
  padding: 12px 0;
  background: transparent;
}
.filters {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}
.filters select {
  width: 50%;
  font-size: 11px;
}
.list-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: transparent;
  padding: 5px 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
}
.branch-list {
  overflow: auto;
  flex: 1;
  padding: 0 12px 12px;
}
.branch {
  width: 100%;
  display: flex;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: #e9ede7;
  padding: 15px 12px;
  border-radius: 8px;
}
.branch:hover {
  background: #f0f4ec;
}
.branch.selected {
  background: #e8f0e8;
  border-color: #c8dbcd;
}
.branch-symbol {
  flex: none;
  width: 29px;
  height: 29px;
  border: 1px solid #d8e4d9;
  background: white;
  color: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.branch-copy {
  flex: 1;
}
.branch strong {
  font-size: 12px;
  display: block;
  margin: 1px 0 4px;
}
.branch small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b9893;
  display: inline-block;
  margin-right: 5px;
}
.Open {
  background: #28865d;
}
.Closed {
  background: #c65244;
}
.Limited {
  background: #d6942b;
}
.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  background: #fafbf8;
}
.primary {
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  background: #195b55;
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-bottom .primary {
  width: 100%;
}
.sidebar-bottom p {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 0;
}
main {
  position: relative;
  flex: 1;
  min-width: 0;
}
#map {
  height: 100%;
  background: #e8eee2;
}
.map-top {
  position: absolute;
  z-index: 450;
  left: 23px;
  right: 23px;
  top: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.map-top > * {
  pointer-events: auto;
}
.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffefaed;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  box-shadow: 0 2px 10px #132e3210;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #367f61;
  border-radius: 50%;
}
.floating-button {
  background: #fffefa;
  border: 1px solid #d9e0d5;
  border-radius: 6px;
  box-shadow: 0 2px 8px #173f4314;
  padding: 11px 15px;
  font-size: 11px;
}
.panel {
  background: #fffefa;
  border: 1px solid #e2e5da;
  box-shadow: 0 8px 40px #233f4020;
  border-radius: 12px;
}
.layers {
  position: absolute;
  z-index: 500;
  right: 23px;
  top: 78px;
  width: 248px;
  padding: 19px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-title h2 {
  font:
    700 17px 'Manrope',
    sans-serif;
  margin: 0;
}
.panel-title button {
  border: 0;
  background: transparent;
  font-size: 23px;
  color: #6a7c7c;
  padding: 0 4px;
}
.layers > p {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0 20px;
}
.layers > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0;
  font-size: 12px;
}
.layers input {
  accent-color: var(--teal);
  margin: 2px 0;
  cursor: pointer;
}
.layers small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.layers hr {
  border: 0;
  border-top: 1px solid var(--border);
}
a {
  color: var(--teal);
}
.layers > a {
  display: block;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 10px;
  text-decoration: none;
}
#map-key {
  position: absolute;
  z-index: 450;
  bottom: 57px;
  left: 23px;
  background: #fffefaed;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
#map-key span:not(:first-child) {
  margin-left: 10px;
}
.key-pin {
  background: #1a6860;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #1a6860;
  border-radius: 50%;
}
.key-alert {
  width: 10px;
  height: 10px;
  background: #fbc17788;
  border: 1px solid #e99830;
}
.key-storm {
  width: 10px;
  height: 10px;
  background: #a598c788;
  border: 1px solid #8f73b9;
}
.feed-bar {
  position: absolute;
  z-index: 450;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 35px;
  background: #fffefaee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  font-size: 10px;
  color: var(--muted);
  gap: 15px;
}
.leaflet-bottom {
  bottom: 36px;
}
.leaflet-control-zoom {
  margin-top: 80px !important;
  margin-left: 24px !important;
}
.leaflet-control-attribution {
  font-size: 8px !important;
}
.branch-marker {
  background: #1d655e;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 5px #173e4360;
}
.branch-marker.active {
  background: #e4a044;
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px #e4a04445;
}
.detail {
  position: absolute;
  z-index: 550;
  top: 78px;
  left: 23px;
  bottom: 82px;
  width: 340px;
  padding: 22px;
  overflow: auto;
}
.detail h2 {
  font: 800 24px/1.25 'Manrope';
  letter-spacing: -0.6px;
  margin: 7px 0 9px;
}
.detail .address {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.detail hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 21px 0;
}
.detail h3 {
  font-size: 12px;
  margin: 18px 0 10px;
}
.detail p {
  font-size: 11px;
  line-height: 1.6;
}
.detail label {
  display: block;
  font-size: 11px;
  margin: 12px 0;
}
.detail select,
.detail textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 6px;
  font: 12px 'DM Sans';
  background: white;
}
.detail textarea {
  height: 65px;
  resize: vertical;
}
.detail .hint {
  font-size: 9px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  background: #edf2e9;
  font-size: 10px;
  margin: 3px 3px 3px 0;
}
.warning {
  padding: 12px;
  border: 1px solid #ecd1a2;
  background: #fff6e7;
  border-radius: 7px;
  margin: 10px 0;
  font-size: 11px;
  line-height: 1.6;
}
.weather-card {
  background: #edf3ec;
  padding: 13px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.6;
  margin: 10px 0;
}
.weather-card strong {
  display: block;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin: 8px 0;
  color: #59706e;
}
.empty {
  padding: 30px 12px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  width: 540px;
  max-width: 94vw;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  background: #fffefa;
  color: #193c43;
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 20px 100px #132d3340;
}
dialog::backdrop {
  background: #183c4660;
  backdrop-filter: blur(3px);
}
dialog p,
.hint {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
dialog form label {
  display: block;
  font-size: 12px;
  margin: 15px 0;
}
dialog input:not([type='file']) {
  display: block;
  width: 100%;
  margin-top: 8px;
}
dialog a {
  font-size: 11px;
}
.import-divider {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 25px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.file-button {
  display: block;
  border: 1px dashed #9caf9e;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  font-size: 12px;
}
.file-button input {
  display: block;
  margin-top: 12px;
  width: 100%;
  font-size: 11px;
}
.result {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f3f6ee;
  margin-top: 8px;
  font-size: 11px;
}
#toast {
  position: fixed;
  z-index: 2000;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #193c43;
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: 0 6px 20px #183a4430;
  font-size: 12px;
  max-width: 90vw;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
}
td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}
[hidden] {
  display: none !important;
}
@media (max-height: 800px) and (min-width: 701px) {
  .sidebar-heading {
    padding: 18px 24px 10px;
  }
  h1 {
    font-size: 27px;
    margin: 9px 0;
  }
  .metrics {
    padding: 9px 0;
    margin-bottom: 12px;
  }
  .metrics strong {
    font-size: 22px;
  }
  .list-label {
    margin-top: 12px;
  }
  .branch {
    padding-block: 11px;
  }
  .sidebar-bottom {
    padding: 12px 20px;
  }
}
@media (min-width: 1600px) {
  .sidebar {
    width: 375px;
  }
  .sidebar-heading {
    padding-top: 35px;
  }
  h1 {
    font-size: 37px;
  }
  .branch {
    padding-block: 18px;
  }
}
@media (max-width: 1000px) {
  .brand-tag,
  .brand-divider,
  #today {
    display: none;
  }
  .sidebar {
    width: 300px;
  }
  .layers {
    width: 225px;
  }
  .map-label {
    font-size: 8px;
    padding: 10px;
  }
  .detail {
    width: 305px;
  }
  .header-right {
    gap: 12px;
  }
  .demo-pill {
    display: none;
  }
}
@media (max-width: 700px) {
  header {
    height: 70px;
    padding: 10px 16px;
  }
  .brand img {
    width: 160px;
    height: 48px;
  }
  .quiet {
    font-size: 10px;
  }
  .workspace {
    height: calc(100dvh - 70px);
    flex-direction: column-reverse;
  }
  .sidebar {
    width: 100%;
    height: 42%;
    min-height: 200px;
  }
  .sidebar-heading,
  .metrics,
  .sidebar-bottom p {
    display: none;
  }
  .tools {
    padding: 10px 14px;
  }
  .filters {
    display: none;
  }
  .list-label {
    margin: 4px 0 0;
  }
  .sidebar-bottom {
    position: absolute;
    bottom: 12px;
    right: 18px;
    padding: 0;
    background: none;
    border: 0;
    z-index: 600;
  }
  .sidebar-bottom .primary {
    width: auto;
    box-shadow: 0 3px 15px #213d4333;
  }
  .branch-list {
    padding-bottom: 65px;
  }
  .branch {
    padding: 11px 10px;
  }
  main {
    height: 58%;
    flex: none;
  }
  .map-top {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .map-label {
    display: none;
  }
  .map-top {
    justify-content: flex-end;
  }
  .layers {
    right: 12px;
    top: 58px;
    bottom: 44px;
    overflow: auto;
    width: 240px;
    padding: 15px;
  }
  .layers > label {
    margin: 12px 0;
  }
  .layers > p {
    margin-bottom: 12px;
  }
  .detail {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 43px;
    width: auto;
  }
  .leaflet-control-zoom {
    margin-top: 15px !important;
    margin-left: 12px !important;
  }
  #map-key {
    display: none;
  }
  .feed-bar {
    font-size: 9px;
    padding-inline: 10px;
  }
}
