.lr-workspace,
.lr-preview {
  min-width: 0;
  color: var(--ink, #242b2e);
  background: white;
  border: 1px solid var(--line, #d7dcdd);
  border-radius: 6px;
}

.lr-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  overflow: hidden;
}

.lr-map-panel, .lr-panel { min-width: 0; }
.lr-map-panel { display: flex; flex-direction: column; }
.lr-panel { padding: 20px; border-left: 1px solid var(--line); }
.lr-preview { overflow: hidden; }

.lr-map-head,
.lr-field-heading,
.lr-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lr-map-head,
.lr-field-heading { justify-content: space-between; }

.lr-map-head { min-height: 54px; padding: 8px 16px; }
.lr-routing-availability { margin: .6rem 0; padding: .65rem .8rem; background: #eef4f3; border-left: 3px solid var(--teal); font-size: .875rem; line-height: 1.45; }
.lr-routing-availability strong { display: block; }
.lr-map-head p,
.lr-load p,
.lr-mini-info,
.lr-profile,
.lr-google p,
.lr-matched p,
.lr-sources p {
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted, #556167);
}

.lr-workspace h3,
.lr-preview h3 { font-size: 1.02rem; line-height: 1.3; font-weight: 650; }
.lr-map,
.lr-map-mini {
  isolation: isolate;
  background: #e9edeb;
  font-family: inherit;
  border-top: 1px solid var(--line);
}
.lr-map { flex: 1 0 auto; height: clamp(410px, 60vh, 630px); }
.lr-map-mini { height: 140px; border-bottom: 1px solid var(--line); }
.lr-workspace .leaflet-tile-pane,
.lr-preview .leaflet-tile-pane { filter: saturate(.42); }
.lr-map .leaflet-control-zoom {
  border: 1px solid #b9c1c3;
  border-radius: 4px;
  box-shadow: 0 1px 3px #1721261c;
  overflow: hidden;
}
.lr-map .leaflet-control-zoom a { color: #273034; }
.lr-map.lr-picking, .lr-map.lr-picking .leaflet-interactive { cursor: crosshair; }
.lr-tile-status:not(:empty) {
  padding: 8px 14px;
  color: #735020;
  background: #faf6ed;
  font-size: .8125rem;
}

.lr-marker {
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 5px;
  color: white;
  font: 700 14px/1 system-ui, sans-serif;
  box-shadow: 0 1px 4px #1c262f52;
}
.lr-marker::after {
  content: '';
  position: absolute;
  left: 9px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  background: inherit;
  transform: rotate(45deg);
}
.lr-marker.lr-start { background: #155957; }
.lr-marker.lr-end { background: #37434a; }

.lr-fields { display: grid; gap: 17px; margin: 16px 0 20px; }
.lr-departure {
  min-width: 0; margin: 0 0 15px; padding: 0 0 12px;
  border: 0; border-bottom: 1px solid var(--line);
}
.lr-departure legend { padding: 0 0 8px; font-size: .87rem; font-weight: 600; }
.lr-departure > div { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.lr-departure input { max-width: 100%; }
.lr-departure-scope { margin-top: 6px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.lr-date-help:not(:empty) { margin-top: 6px; font-size: .79rem; color: var(--warn); }
.lr-frost-summary { border-left: 3px solid #7358a0; margin-top: 10px; padding: 4px 9px; font-size: .85rem; }
.lr-frost-summary p { margin-top: 4px; }
.lr-frost-detail {
  background: #f5f6f6; border-left: 3px solid #829097;
  padding: 9px 11px; font-size: .82rem; line-height: 1.4;
}
.lr-frost-detail.lr-frost-active { background: #f5f2f9; border-color: #7358a0; }
.lr-frost-detail h5 { margin: 0 0 4px; font-size: .87rem; }
.lr-frost-detail > strong { color: var(--muted); font-weight: 550; }
.lr-frost-detail > p { margin-top: 4px; }
.lr-frost-margin { font-weight: 580; }
.lr-field-heading { margin-bottom: 5px; }
.lr-field-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .875rem;
  font-weight: 600;
}
.lr-badge {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border: 1px solid #8c989a;
  border-radius: 3px;
  color: #3d494d;
  font-size: .75rem;
  font-weight: 650;
}
.lr-input-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid #b8c1c3;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  font-size: .875rem;
  line-height: 1.5;
}
.lr-input-row input::placeholder { color: #697379; opacity: 1; }
.lr-small,
.lr-find,
.lr-search-options button {
  border: 1px solid #bdc5c7;
  border-radius: 4px;
  font: inherit;
}
.lr-small {
  flex: none;
  padding: 8px 11px;
  background: white;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.5;
}
.lr-fit { padding: 5px 9px; }
.lr-small:enabled:hover,
.lr-search-options button:hover { background: #f1f3f4; }
.lr-workspace button:disabled { cursor: default; }
.lr-small:disabled { color: #6b767a; border-color: #dce0e1; }
.lr-text-button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--dark-teal, #155957);
  font: inherit;
  font-size: .875rem;
  font-weight: 560;
  line-height: 1.4;
  text-align: left;
}
.lr-text-button:hover,
.lr-text-button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.lr-pin-status {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.lr-pin-status:empty { display: none; }
.lr-search-status:not(:empty),
.lr-status:not(:empty) { margin-top: 6px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.lr-search-options { display: grid; gap: 4px; }
.lr-search-options:not(:empty) { margin-top: 6px; }
.lr-search-options button {
  padding: 8px 10px;
  background: #f7f8f8;
  font-size: .875rem;
  text-align: left;
}

.lr-load {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.lr-load strong { display: block; margin-bottom: 3px; font-size: .875rem; font-weight: 600; }
.lr-load .lr-equipment:not(:empty) { margin-top: 6px; color: #8c422a; }
.lr-find {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: var(--dark-teal, #155957);
  border-color: transparent;
  color: white;
  font-size: .9rem;
  font-weight: 600;
}
.lr-find:hover:enabled { background: #103f3f; }
.lr-find:disabled { background: #e6e9e9; color: #606d70; }

.lr-results:not(:empty) { margin-top: 19px; }
.lr-results h4 { margin: 0 0 8px; font-size: .95rem; font-weight: 620; }
.lr-route {
  width: 100%;
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: baseline;
  gap: 3px 8px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 8px;
  color: var(--ink);
  background: white;
  text-align: left;
  font: inherit;
  overflow-wrap: anywhere;
}
.lr-route::before {
  content: '';
  align-self: start;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border: 1px solid #899697;
  border-radius: 50%;
}
.lr-route strong { font-size: .875rem; font-weight: 580; }
.lr-route span { grid-column: 2; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.lr-route:hover { background: #f4f6f6; }
.lr-route[aria-pressed="true"] { background: #eff4f3; }
.lr-route[aria-pressed="true"]::before {
  border-color: var(--dark-teal);
  background: var(--dark-teal);
  box-shadow: inset 0 0 0 2px white;
}
.lr-verification {
  margin: 16px 0 0;
  border-left: 2px solid #9c7a47;
  padding-left: 10px;
  color: #5b5141;
  font-size: .8125rem;
  line-height: 1.5;
}
.lr-google:not(:empty) { margin-top: 14px; }
.lr-google a, .lr-sources a { color: var(--dark-teal); font-weight: 580; text-underline-offset: 2px; }
.lr-google a { font-size: .875rem; }
.lr-google p { margin: 3px 0 0; font-size: .8125rem; }
.lr-handoff-stops { margin-top: 6px; font-size: .8125rem; }
.lr-handoff-stops summary { cursor: pointer; }
.lr-handoff-stops ol { margin: 6px 0; padding-left: 1.4rem; }
.lr-handoff-stops li { margin: 4px 0; }
.lr-handoff-stops li span { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
.lr-google .lr-text-button { margin-top: 7px; }
.lr-driver-share { margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; }
.lr-driver-share h4 { margin: 0; font-size: .94rem; }
.lr-driver-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lr-driver-share input { display: block; width: 100%; margin-top: 6px; }
.lr-sources, .lr-matched { border-top: 1px solid var(--line); }
.lr-sources { margin-top: 16px; padding-top: 12px; }
.lr-matched { padding-top: 10px; }
.lr-sources summary, .lr-matched summary { cursor: pointer; color: var(--muted); font-size: .8125rem; }
.lr-sources p, .lr-matched p { margin-top: 6px; }
.lr-matched .lr-source-line { font-size: .75rem; overflow-wrap: anywhere; }
.lr-preview .lr-map-head { min-height: 46px; padding: 12px 18px; }
.lr-mini-info { display: grid; gap: 3px; padding: 0 18px 15px; }
.lr-map-mini ~ .lr-mini-info { padding-top: 11px; }
.lr-mini-info strong { color: var(--ink); font-weight: 590; }
.lr-map .leaflet-control-attribution, .lr-map-mini .leaflet-control-attribution {
  color: #384347;
  background: #ffffffed;
  font-size: .7rem;
}
.lr-map .leaflet-control-attribution a, .lr-map-mini .leaflet-control-attribution a { color: #244e53; }

@media (max-width: 800px) {
  .lr-workspace { grid-template-columns: minmax(0, 1fr); }
  .lr-map { flex: none; height: clamp(240px, 40svh, 360px); }
  .lr-panel { padding: 17px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .lr-map-head { padding: 8px 12px; }
  .lr-input-row input { font-size: 1rem; }
}

.lr-map-panel { align-self: start; }
.lr-map { flex: none; }
.lr-checks[hidden] { display: none; }
.lr-checks { padding: 16px; border-top: 1px solid var(--line); }
.lr-check-heading, .lr-weight-key, .lr-law-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.lr-coverage-summary, .lr-check-scope { font-size: .78rem; color: var(--muted); }
.lr-check-total { margin-top: 5px; font-size: .92rem; font-weight: 580; }
.lr-weight-key { margin: 10px 0 13px; font-size: .77rem; color: var(--muted); }
.lr-weight-key span { display: inline-flex; align-items: center; gap: 5px; }
.lr-weight-key span::before { content: ''; width: 17px; border-top: 3px solid #1b6c66; }
.lr-weight-key .lr-key-issue::before { border-color: #b4362f; }
.lr-weight-key .lr-key-review::before { border-color: #5e646e; border-top-style: dashed; }
.lr-weight-key .lr-key-possible::before { border-color: #a96112; border-top-style: dashed; }
.lr-weight-key .lr-key-frost::before { border-color: #7358a0; border-top-width: 5px; }
.lr-check-body { display: grid; grid-template-columns: minmax(135px, .75fr) minmax(0, 1.25fr); border-block: 1px solid var(--line); }
.lr-sections { max-height: 345px; overflow-y: auto; border-right: 1px solid var(--line); }
.lr-section-button {
  display: grid; gap: 4px; width: 100%; padding: 9px 9px 9px 11px;
  border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent;
  background: white; text-align: left; font-size: .84rem; line-height: 1.3;
}
.lr-section-button strong { font-weight: 565; overflow-wrap: anywhere; }
.lr-section-button span { font-size: .77rem; color: #1b6c66; }
.lr-section-button.lr-section-issue span { color: #a52f27; }
.lr-section-button.lr-section-possible span { color: #7c4e14; }
.lr-section-button.lr-section-review span { color: var(--muted); }
.lr-section-button .lr-frost-tag { color: var(--muted); }
.lr-section-button .lr-frost-tag.lr-frost-active { color: #674b90; font-weight: 650; }
.lr-section-button .lr-frost-tag.lr-frost-all-season { color: #205e59; }
.lr-route .lr-route-frost { font-size: .77rem; }
.lr-section-button:hover, .lr-section-button[aria-pressed="true"] { background: #f2f5f4; }
.lr-section-button[aria-pressed="true"] { border-left-color: #2a5054; }
.lr-section-button:focus-visible { outline-offset: -3px; }
.lr-section-detail { padding: 10px 12px; }
.lr-checks h4 { margin: 0 0 7px; font-size: .91rem; }
.lr-finding { margin-top: 9px; font-size: .84rem; line-height: 1.42; }
.lr-finding strong { display: block; }
.lr-finding strong { font-weight: 575; }
.lr-finding p, .lr-checks .lr-profile { color: var(--muted); font-size: .825rem; }
.lr-finding-issue strong { color: #a52f27; }
.lr-finding-possible strong { color: #79551c; }
.lr-reviewed { margin-top: 10px; }
.lr-law-sources { margin-top: 8px; font-size: .75rem; }
.lr-law-sources a { color: var(--dark-teal); text-underline-offset: 2px; overflow-wrap: anywhere; }
.lr-move { padding: 12px; background: #f3f6f5; margin-top: 12px; border-left: 2px solid #49706e; }
.lr-move p { font-size: .86rem; line-height: 1.45; }
.lr-move button { margin-top: 9px; }
.lr-check-scope { margin-top: 10px; line-height: 1.45; }
.lr-stale { font-size: .82rem; line-height: 1.4; color: #75521d; margin: 8px 0; }
@media (max-width: 1050px) and (min-width: 801px), (max-width: 530px) {
  .lr-check-body { grid-template-columns: minmax(0, 1fr); }
  .lr-sections { max-height: 165px; border-right: none; border-bottom: 1px solid var(--line); }
  .lr-section-detail { padding: 10px 0; }
}

.lr-route .lr-route-health { font-weight: 550; }
.lr-route .lr-health-issue { color: #a52f27; }
.lr-route .lr-health-possible { color: #7c4e14; }
.lr-route .lr-health-checked { color: #1b6c66; }

.lr-bridge-info { margin-top: 9px; font-size: .78rem; color: var(--muted); }

.lr-detour {
  margin-top: 10px; padding: 12px; border: 1px solid #cedae3; border-radius: 4px;
  background: #f7f9fb; font-size: .86rem; line-height: 1.45;
}
.lr-checks .lr-detour h4 { margin-bottom: 4px; }
.lr-detour-name, .lr-detour-cost { font-weight: 600; }
.lr-detour-cost { margin-top: 5px; font-variant-numeric: tabular-nums; }
.lr-detour-basis, .lr-detour-key { font-size: .78rem; color: var(--muted); }
.lr-detour .lr-profile { margin-top: 5px; }
.lr-detour button { margin: 9px 12px 0 0; }
.lr-detour-key { display: inline-flex; align-items: center; gap: 6px; }
.lr-detour-key::before { content: ''; width: 18px; border-top: 3px dashed #245985; }
.lr-auto-frost { margin: .7rem 0; padding: .75rem; border: 1px solid #d7ddd9; border-radius: .55rem; background: #f7f9f7; }
.lr-auto-frost > div { display: flex; gap: .5rem; justify-content: space-between; align-items: center; }
.lr-auto-frost h4 { margin: 0; font-size: .9rem; }
.lr-auto-frost p, .lr-auto-frost details { margin: .4rem 0 0; font-size: .8rem; }
.lr-auto-frost summary { cursor: pointer; }
.lr-update-sources { padding: 0; margin: .5rem 0 0; list-style: none; }
.lr-update-sources li { display: grid; gap: .1rem; padding: .35rem 0; border-top: 1px solid #d7ddd9; overflow-wrap: anywhere; }
.lr-update-sources span { color: #505e57; }
.lr-county-advisory { border-left: 3px solid #9278ac; padding: .25rem .65rem; margin: .6rem 0; }
.lr-published-order { display: grid; justify-items: start; gap: .15rem; margin: .55rem 0; }
