@font-face {
  font-family: "Johnston100";
  src: url("../type/Johnston100-Hairline.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Johnston100";
  src: url("../type/Johnston100-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Johnston100";
  src: url("../type/Johnston100-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Johnston100";
  src: url("../type/Johnston100-Medium.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Johnston100", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #0f0f0f;
  color: #e8e8e8;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.icon {
  margin-right: 0.3em;
}

@keyframes animIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.anim-in {
  opacity: 0;
  animation: animIn 0.3s ease forwards;
}

.pager-indicator {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #888;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  align-self: flex-start;
  flex-shrink: 0;
}

#dep-pager {
  align-self: center;
}

#results-pager {
  margin-left: auto;
  align-self: center;
}

#sidebar {
  width: 33.333vw;
  min-width: 33.333vw;
  display: flex;
  flex-direction: column;
  background: #161616;
  border-right: 1px solid #252525;
  overflow: hidden;
}

#sidebar-header {
  border-top: 1px solid #252525;
  display: flex;
  align-items: center;
}

#tfl-lockup {
  width: 100%;
  height: auto;
  display: block;
}

#sidebar-stop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #252525;
  flex-shrink: 0;
}

#stop-roundel {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

#sidebar-stop-text {
  flex: 1;
  min-width: 0;
}

#stop-name {
  font-size: 18px;
  font-weight: 700;
  color: #e8e8e8;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#stop-meta {
  font-size: 13px;
  color: #666;
  margin-top: 1px;
}

#stop-letter {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #e8e8e8;
  background: #1d3461;
  border: 1px solid #2a4a8a;
  border-radius: 6px;
  text-transform: uppercase;
  padding: 2px 10px;
  flex-shrink: 0;
}

#status-bar {
  padding: 12px 24px;
  border-bottom: 1px solid #252525;
  font-size: 16px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 9px;
}

.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 3px solid #333;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#tagline {
  padding: 17px 19px;
  font-size: 13px;
  color: #ffffff;
  border-bottom: 1px solid #252525;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(37, 37, 37);
  flex-shrink: 0;
  line-height: 1.2;
  font-weight: 700;
  font-size: 2em;
}

#info-box {
  border-bottom: 1px solid #252525;
  padding: 24px 28px 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.info-heading {
  font-size: 17px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  margin-bottom: 2px;
}

.info-body {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: #e9e9e9;
}

#footer {
  margin-top: auto;
  padding: 8px 0;
  border-top: 1px solid #252525;
  font-size: 10px;
  color: #888;
  overflow: hidden;
}

#error-msg {
  display: none;
  padding: 30px 24px;
  font-size: 18px;
  color: #ef4444;
  line-height: 1.6;
}

#results-scroll {
  flex: 1;
  overflow: hidden;
  padding: 6px 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#results-scroll::-webkit-scrollbar {
  width: 6px;
}
#results-scroll::-webkit-scrollbar-track {
  background: transparent;
}
#results-scroll::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 2px;
}

.section-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3a3a3a;
  padding: 15px 24px 6px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 20px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.1s;
}
.result-item:hover {
  background: #1c1c1c;
}
.result-item.active {
  background: #192030;
  border-left-color: #2563eb;
}

.result-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}

.result-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.result-label {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #bbb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-no2 {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.result-rank {
  font-size: 11px;
  color: #e9e9e9;
  flex-shrink: 0;
  width: 20px;
  text-align: right;
}

.no2-bar-wrap {
  flex-basis: 100%;
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin-top: 3px;
  overflow: hidden;
}

.no2-bar {
  height: 100%;
  border-radius: 2px;
}

#legend {
  padding: 12px 24px;
  border-top: 1px solid #252525;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #e9e9e9;
}

.legend-bar {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(to right, rgb(3, 255, 96), #eab308, #ef4444);
}

#directions-panel {
  border-top: 1px solid #252525;
  padding: 20px 24px 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#directions-panel #dir-qr-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  background: #F0BC0B;
  margin: -20px -24px 0;
  padding: 14px 24px;
}
#directions-panel #dir-qr {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
  top: 4px;
}
#directions-panel #dir-qr img {
  display: block;
  width: 80px;
  height: 80px;
}
#directions-panel #dir-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#directions-panel #dir-headline {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}
#directions-panel #dir-headline .icon {
  margin: 0;
  margin-right: -10px;
  font-size: 1.2em;
  position: relative;
  top: 3px;
  left: -3px;
}
#directions-panel #dir-benefit {
  font-size: 16px;
  font-weight: 400;
  color: #222;
  line-height: 1.4;
}
#directions-panel #dir-walk-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#directions-panel #dir-walk-summary span.icon.icon-arrow-east {
  margin: 0 2px !important;
  position: relative;
  top: -3px;
}
#directions-panel #dir-walk-primary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #e8e8e8;
}
#directions-panel #dir-walk-primary .dir-sep {
  color: #444;
}
#directions-panel #dir-walk-primary .dir-air-label {
  color: rgb(3, 255, 96);
}
#directions-panel #dir-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-left: 4px;
  padding-left: 14px;
}
#directions-panel #dir-steps li {
  position: relative;
  font-size: 14px;
  font-weight: 300;
  color: #ccc;
  line-height: 1.4;
  padding: 5px 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
#directions-panel #dir-steps li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #555;
  border-radius: 50%;
  z-index: 1;
}
#directions-panel #dir-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -17px;
  top: 20px;
  bottom: -12px;
  width: 2px;
  background: #333;
}
#directions-panel #dir-steps li:last-child::before {
  background: rgb(3, 255, 96);
}
#directions-panel #dir-steps li .dir-step-icon {
  font-size: 16px;
  /* line-height: 1; */
  flex-shrink: 0;
  color: #9a9a9a;
  position: relative;
  top: 1px;
}
#directions-panel #dir-steps li.dir-step-arrival .dir-step-icon {
  color: rgb(3, 255, 96);
}
#directions-panel #dir-steps li .dir-street {
  font-weight: 500;
  color: #e8e8e8;
}
#directions-panel #dir-steps li .dir-dist {
  font-size: 12px;
  color: #777;
  margin-left: 4px;
}
#directions-panel #dir-bus-warning {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0px;
  background: #E1251B;
  margin: 0 -24px -16px;
  padding: 12px 24px;
  color: #fff;
  line-height: 1.4;
}
#directions-panel #dir-bus-warning > .icon {
  font-size: 45px;
  flex-shrink: 0;
  position: relative;
  top: 12px;
}
#directions-panel #dir-bus-warning #dir-bus-warning-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#directions-panel #dir-bus-warning #dir-bus-warning-headline {
  font-size: 20px;
  font-weight: 700;
}
#directions-panel #dir-bus-warning #dir-bus-warning-sub {
  font-size: 16px;
  font-weight: 400;
}

#departures-panel {
  flex-shrink: 0;
}

#dep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 21px;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}

#dep-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  padding: 12px 16px 8px;
}
#dep-title #dep-clock {
  font-weight: 300;
  color: #888;
  margin-left: 2px;
}

#dep-timer {
  font-size: 15px;
  color: #2a2a2a;
  font-variant-numeric: tabular-nums;
}

.dep-item {
  padding: 10px 21px 10px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.dep-item:last-child {
  border-bottom: none;
}

.dep-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.dep-line {
  font-size: 16px;
  font-weight: 700;
  background: #e00;
  color: #fff;
  padding: 2px 9px;
  border-radius: 4px;
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}

.dep-dest {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dep-time {
  font-size: 16px;
  font-weight: 600;
  color: #ccc;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.dep-time.due {
  color: #ef4444;
}

.dep-suggest {
  font-size: 13px;
  line-height: 1.5;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 8px;
  display: block;
}
.dep-suggest .icon {
  font-size: 15px;
  position: relative;
  top: 2px;
  margin-right: 4px;
}
.dep-suggest.good {
  background: #0a2010;
  color: #4ade80;
}
.dep-suggest.tight {
  background: #1c1100;
  color: #fb923c;
}
.dep-suggest.warn {
  background: #1a0505;
  color: #f87171;
}
.dep-suggest.stay {
  display: none;
}

@keyframes march {
  to {
    stroke-dashoffset: -22;
  }
}
.walking-path {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2px;
  stroke-dasharray: 6 5;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  animation: march 0.6s linear infinite;
}

#right-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

#map {
  flex: 1;
  background: #111;
  min-height: 0;
  position: relative;
}

#compass-box {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  background: rgba(34, 34, 34, 0.762);
  border-radius: 5px;
  border: rgba(255, 255, 255, 0.15) solid 1px;
  width: 25px;
  height: 25px;
  display: flex;
  pointer-events: none;
  padding: 2px;
}
#compass-box .icon {
  font-size: 24px;
  position: relative;
  top: 3px;
  left: 1px;
  color: #e8e8e8;
}

#below-map {
  display: flex;
  flex-direction: row;
  height: 350px;
  flex-shrink: 0;
  border-top: 1px solid #252525;
}

#col-stop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #252525;
  overflow: hidden;
  min-width: 0;
}
#col-stop #departures-panel {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  max-height: none;
}
#col-stop #departures-panel::-webkit-scrollbar {
  width: 6px;
}
#col-stop #departures-panel::-webkit-scrollbar-track {
  background: transparent;
}
#col-stop #departures-panel::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 2px;
}

#col-updates {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 0;
}

.map-pin {
  font-size: 48px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.map-blob {
  width: 27px;
  height: 27px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  letter-spacing: 0;
  gap: 1px;
}
.map-blob .blob-icon {
  font-size: 24px;
  position: relative;
  margin: 0 !important;
  top: -7px;
  color: #000;
}
.ft-tooltip {
  position: relative;
  background: #000;
  color: #fff;
  font-family: "Johnston100", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2000;
  line-height: 1.3;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.25)) drop-shadow(1px 0 0 rgba(255, 255, 255, 0.25)) drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.25));
}
.ft-tooltip--dim {
  font-size: 14px;
  font-weight: 400;
  background: #000;
}
.ft-tooltip--best {
  background: rgb(3, 255, 96);
  color: #000;
  font-size: 15px;
  font-weight: 700;
}
.ft-tooltip .ft-arrow {
  position: absolute;
  width: 14px;
  height: 14px;
  background: inherit;
  transform: rotate(45deg);
  z-index: -1;
  border-radius: 2px;
}

.leaflet-tooltip.map-label {
  background: #000;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  padding: 3px 8px;
  white-space: nowrap;
  pointer-events: none;
}

.leaflet-tooltip-top.map-label::before {
  border-top-color: #000;
}

.leaflet-tooltip.map-label.map-label--dim {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  filter: none;
  padding: 2px 6px;
}

.leaflet-tooltip-top.map-label.map-label--dim::before {
  border-top-color: rgba(0, 0, 0, 0.55);
}

.leaflet-tooltip.map-label.map-label--best {
  background: rgba(3, 255, 96, 0.9);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  color: #000;
}

.leaflet-tooltip-top.map-label.map-label--best::before {
  border-top-color: rgba(74, 222, 128, 0.9);
}

.leaflet-popup-content-wrapper {
  background: #1a1a1a;
  color: #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  border: 1px solid #2a2a2a;
}

.leaflet-popup-tip {
  background: #1a1a1a;
}

.leaflet-popup-content {
  margin: 12px 14px;
  min-width: 150px;
}

.popup-eyebrow {
  font-size: 15px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.popup-label {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 9px;
  line-height: 1.3;
  color: #ddd;
}

.popup-no2 {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.popup-unit {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin-left: 3px;
}

.popup-rank {
  font-size: 16px;
  color: #555;
  margin-top: 4px;
}

.leaflet-control {
  display: none;
}

#ls-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}

.ls-header {
  font-size: 16px;
  font-weight: 700;
  color: white;
  padding: 12px 16px 8px;
}

.ls-all-good {
  font-size: 14px;
  color: #4ade80;
  padding: 10px 16px 4px;
}

.ls-good-count {
  font-size: 13px;
  color: #e9e9e9;
  padding: 8px 16px;
  border-top: 1px solid #1a1a1a;
}

.ls-error {
  font-size: 13px;
  color: #ef4444;
  padding: 10px 16px;
}

.ls-row {
  display: flex;
  border-bottom: 1px solid #1a1a1a;
}
.ls-row:last-child {
  border-bottom: none;
}

.ls-item {
  display: flex;
  flex-direction: row;
  gap: 6px;
  padding: 5px 8px;
  flex: 1;
  min-width: 0;
}
.ls-item + .ls-item {
  border-left: 1px solid #1a1a1a;
}

.ls-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 5px 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 10px;
  line-height: 1.4;
  width: 137px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ls-status {
  font-size: 14px;
  font-weight: 600;
}
.ls-item--severe .ls-status {
  color: #ef4444;
}
.ls-item--warn .ls-status {
  color: #fbbf24;
}
.ls-item--minor .ls-status {
  color: #facc15;
}
.ls-item--good .ls-status {
  color: #e9e9e9;
  font-weight: 300;
}

.ls-reason {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  white-space: normal;
  display: none;
}

/*# sourceMappingURL=styles.css.map */
