:root {
  color-scheme: light;
  --paper: #f6f7f3;
  --panel: #fff;
  --ink: #182a27;
  --muted: #596862;
  --line: #dbe1d9;
  --nav: #122a28;
  --green: #194e40;
  --mint: #c3f5ad;
  --radius: 16px;
  font:
    15px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
input,
select {
  min-width: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}
:focus-visible {
  outline: 3px solid #4777ba;
  outline-offset: 3px;
}
.defs {
  display: none;
}
.icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-200%);
  padding: 0.8rem;
  background: white;
  border-radius: 8px;
}
.skip:focus {
  transform: none;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #142f2b, #102622 70%);
  color: #e9f1ec;
  padding: 28px 16px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.25px;
}
.brand svg {
  width: 37px;
  height: 37px;
}
.sidebar-meta {
  font-size: 9px;
  letter-spacing: 2.1px;
  font-weight: 700;
  margin: 10px 0 36px 61px;
  color: #b3c6bd;
}
.nav-group,
.kicker,
.route-label,
.version {
  font:
    700 10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1.45px;
}
.nav-group {
  color: #9cb5aa;
  margin: 25px 13px 8px;
  text-transform: uppercase;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  margin: 3px 0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #c4d6ce;
}
.sidebar nav a:hover,
.sidebar-foot a:hover {
  background: #213e37;
  color: #fff;
}
.sidebar nav a[aria-current="page"],
.sidebar nav a.active {
  background: #2d493e;
  color: #d7f7c9;
}
.sidebar nav .icon {
  width: 17px;
  height: 17px;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 13px;
  padding: 18px 4px 0;
  border-top: 1px solid #355048;
}
.sidebar-foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
}
.sidebar-foot a span {
  margin-left: auto;
}
.version {
  display: flex;
  justify-content: space-between;
  color: #abc0b6;
  padding: 12px 8px 0;
  letter-spacing: 0.3px;
  font-size: 10px;
}
.version b {
  font-weight: 500;
}
.workspace {
  min-width: 0;
}
.toolbar {
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  background: #fafbf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(20px, 4vw, 58px);
}
.crumb,
.toolbar-actions,
.badge,
.section-label,
.card-heading,
.actions,
.title-row,
.btn,
.text-link,
.route-link {
  display: flex;
  align-items: center;
}
.crumb {
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.marker {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #e5ecdf;
}
.toolbar-actions,
.actions {
  gap: 10px;
}
.badge {
  font-size: 11px;
  color: #536155;
  background: #eaf0e7;
  border: 1px solid #d5e1d2;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 650;
}
.btn {
  justify-content: center;
  display: inline-flex;
  gap: 8px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #cad4ca;
  border-radius: 8px;
}
.btn:hover {
  background: #f1f4ee;
  border-color: #92a398;
}
.btn.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.btn.primary:hover {
  background: #0e382d;
}
.btn.small {
  padding: 7px 11px;
  font-size: 12px;
}
.btn .icon,
.text-link .icon,
.route-link .icon {
  width: 15px;
  height: 15px;
}
main {
  padding: 30px clamp(20px, 4vw, 58px) 50px;
  max-width: 1540px;
  margin: auto;
}
.panel-heading {
  margin-bottom: 24px;
}
.kicker {
  color: #557163;
  margin: 0 0 6px;
}
.title-row,
.section-label,
.card-heading {
  justify-content: space-between;
  gap: 15px;
}
.title-row > .btn {
  flex: none;
}
.title-row .panel-heading {
  margin-bottom: 20px;
}
.panel-heading h1 {
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.08;
  letter-spacing: -1.7px;
  font-weight: 650;
  margin: 0 0 8px;
}
.lede,
.muted,
.empty p,
.info p {
  color: var(--muted);
  margin: 0;
}
.lede {
  font-size: 14px;
}
.route-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(300px, 1.15fr);
  align-items: center;
  gap: clamp(16px, 3vw, 46px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 66% 42%, #234c39 0%, transparent 55%),
    linear-gradient(125deg, #1e4437 0%, #173b31 50%, #102e29 100%);
  border: 1px solid #294f3d;
  color: #f4f8ee;
  box-shadow: 0 2px 4px #1d422208;
}
.route-copy {
  position: relative;
  z-index: 1;
}
.route-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #c7ebb1 !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px !important;
  line-height: 1.35;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin: 0 !important;
}
.signal-glyph {
  height: 13px;
  width: 14px;
  display: inline-block;
  background:
    linear-gradient(to top, #c7ebb1 0 0) 0 100% / 2px 4px,
    linear-gradient(to top, #c7ebb1 0 0) 4px 100% / 2px 7px,
    linear-gradient(to top, #c7ebb1 0 0) 8px 100% / 2px 10px,
    linear-gradient(to top, #c7ebb1 0 0) 12px 100% / 2px 13px;
  background-repeat: no-repeat;
}
.route-card h2 {
  font-size: clamp(33px, 3.5vw, 54px);
  line-height: 1.04;
  letter-spacing: -2.4px;
  margin: 14px 0 13px;
  font-weight: 590;
}
.route-card h2 em {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -1.9px;
  font-weight: 400;
  color: #d6efb8;
}
.route-copy > p:not(.route-label) {
  font-size: clamp(13px, 1.05vw, 15px);
  color: #cfddd0;
  max-width: 330px;
  line-height: 1.58;
  margin: 0 0 20px;
}
.route-link,
.text-link {
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
}
.route-link {
  color: #263c27;
  border: 1px solid #cde3ae;
  display: inline-flex;
  background: #d3edba;
  border-radius: 8px;
  padding: 10px 13px;
  box-shadow: 0 1px 2px #04160e20;
}
.route-link:hover {
  background: #e3f5d0;
}
.route-link > .icon:last-child {
  margin-left: 5px;
}
.text-link:hover {
  text-decoration: underline;
}
.circuit {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid #71907655;
  background: linear-gradient(115deg, #173b31aa, #142e28c4);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 #ccedb612;
}
.circuit > svg {
  display: block;
  width: 100%;
  height: auto;
}
.circuit figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-top: 1px solid #91b09a38;
  background: #142f28aa;
  color: #c6d8c2;
  font:
    10px/1.3 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1px;
}
.circuit figcaption span {
  color: #cfe8b6;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1px;
}
.map-label {
  fill: #ecf1e5;
  font:
    600 14px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.map-micro {
  fill: #c0d9bb;
  font:
    600 9px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 1.05px;
}
.map-amber {
  fill: #e3c695;
}
.circuit-packet {
  display: none;
}
.section-label {
  margin: 28px 0 14px;
}
.section-label h2,
.card h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 650;
}
.section-label > span {
  color: var(--muted);
  font:
    11px ui-monospace,
    Consolas,
    monospace;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.metric,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metric {
  position: relative;
  padding: 18px 20px;
  box-shadow: 0 1px 2px #173b2905;
}
.metric .icon {
  background: #edf3e8;
  box-sizing: content-box;
  padding: 7px;
  border-radius: 8px;
}
.metric:nth-child(3) .icon {
  color: #826234;
  background: #f7f1e3;
}
.metric:nth-child(4) .icon {
  color: #666b73;
  background: #edf0ef;
}
.metric > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.metric > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}
.metric strong {
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
}
.metric .icon {
  color: #718776;
  width: 16px;
  height: 16px;
}
.card {
  padding: 22px;
  margin: 0 0 18px;
  min-width: 0;
}
.card-heading {
  margin-bottom: 16px;
}
.opening-empty {
  background: linear-gradient(100deg, #f1f4ee, #f8f9f6);
  border-radius: 9px;
  min-height: 75px;
  padding: 15px 18px !important;
  border: 1px solid #e3e8df !important;
}
.opening-empty > .icon {
  width: 42px !important;
  height: 42px !important;
  padding: 10px;
  background: #fff;
  border: 1px solid #d7e2d2;
  border-radius: 10px;
}
.sidebar nav a[aria-current="page"] {
  box-shadow: inset 2px 0 #c2eba6;
}
.card-heading h2 {
  margin: 0;
}
.card-heading .kicker,
.card > .kicker {
  margin-bottom: 4px;
}
.text-link {
  color: #295c44;
}
.empty,
.info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.empty {
  padding: 18px 6px;
  border-top: 1px solid var(--line);
}
.empty > .icon,
.info > .icon {
  width: 25px;
  height: 25px;
  color: #54745e;
}
.empty strong,
.info strong {
  font-weight: 620;
  font-size: 14px;
}
.empty p,
.info p {
  font-size: 13px;
  margin-top: 2px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 16px;
  align-items: start;
}
.secondary {
  background: #eef3ea;
  border-color: #dbe5d8;
}
.info {
  padding: 18px 22px;
  background: #e9f0e7;
  border-radius: var(--radius);
  border: 1px solid #d7e3d7;
}
.checklist {
  padding-left: 19px;
  font-size: 14px;
  line-height: 1.5;
  color: #445b50;
}
.checklist li {
  padding-left: 4px;
  margin: 10px 0;
}
.checklist li::marker {
  color: var(--green);
  font-weight: 700;
}
form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05px;
}
.optional {
  display: inline;
  font-weight: 400;
  color: var(--muted);
}
input,
select {
  padding: 10px 12px;
  border: 1px solid #bcc9be;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  width: 100%;
  height: 41px;
  font-size: 14px;
}
input::placeholder {
  color: #76847c;
}
form > .btn {
  justify-self: start;
}
.search {
  grid-template-columns: minmax(100px, 1fr) auto;
  align-items: end;
  margin-bottom: 18px;
  max-width: 660px;
}
.auth-card {
  max-width: 720px;
  margin-bottom: 22px;
}
.auth-card form {
  grid-template-columns: 1fr 1fr;
}
.auth-card .actions {
  grid-column: 1/-1;
}
.notice,
.result:not(:empty) {
  border-radius: 8px;
  color: #284b3c;
  overflow-wrap: anywhere;
}
.notice {
  border: 1px solid #bfd4c1;
  background: #ecf5e8;
  padding: 12px 16px;
  margin: 0 0 16px;
}
.result:not(:empty) {
  padding: 12px 0;
  max-width: 100%;
}
.result pre,
.records pre,
pre {
  font:
    12px/1.6 ui-monospace,
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f4f6f2;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 8px;
}
.records {
  max-width: 100%;
  overflow: auto;
}
.records table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.records th,
.records td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.records th {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
.records > div + div {
  border-top: 1px solid var(--line);
}
.records button,
.result button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  background: #fff;
  color: var(--green);
}
@media (min-width: 1600px) {
  .route-card {
    min-height: 225px;
  }
  .sidebar {
    padding-top: 34px;
  }
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 192px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .sidebar-meta {
    font-size: 8px;
  }
  .toolbar {
    padding-inline: 22px;
  }
  main {
    padding-inline: 22px;
  }
  .route-card {
    grid-template-columns: minmax(190px, 0.85fr) minmax(235px, 1.15fr);
    gap: 20px;
  }
  .route-card h2 {
    font-size: clamp(31px, 4.15vw, 42px);
  }
  .metric {
    padding: 13px;
  }
  .card {
    padding: 18px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 13px 15px 9px;
    display: block;
  }
  .brand {
    display: inline-flex;
    padding: 0 4px;
    font-size: 21px;
  }
  .brand svg {
    width: 28px;
    height: 28px;
  }
  .sidebar-meta {
    display: inline;
    font-size: 8px;
    margin: 0 0 0 12px;
    vertical-align: top;
    line-height: 28px;
  }
  .nav-group,
  .sidebar-foot {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    margin-top: 8px;
    gap: 2px;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  .sidebar nav a {
    margin: 0;
    white-space: nowrap;
    padding: 7px 9px;
    font-size: 12px;
    gap: 6px;
  }
  .sidebar nav .icon {
    width: 14px;
    height: 14px;
  }
  .toolbar {
    min-height: 48px;
    padding: 8px 18px;
  }
  main {
    padding: 22px 16px 35px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 11px;
    border-radius: 10px;
  }
  .metric strong {
    font-size: 24px;
  }
  .metric > span {
    font-size: 11px;
  }
  .panel-heading h1 {
    font-size: 31px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .card {
    margin-bottom: 13px;
  }
}
@media (max-width: 575px) {
  .route-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .route-card h2 {
    font-size: 36px;
    letter-spacing: -1.8px;
  }
  .route-copy > p:not(.route-label) {
    margin-bottom: 13px;
  }
  .circuit {
    max-width: 470px;
  }
  .route-link {
    padding: 9px 13px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .card-heading,
  .section-label {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .search,
  .auth-card form {
    grid-template-columns: 1fr;
  }
  .title-row {
    align-items: flex-start;
  }
  .title-row > .btn {
    padding: 7px;
  }
  .toolbar-actions {
    gap: 6px;
  }
  .toolbar .badge {
    font-size: 10px;
  }
  .crumb {
    font-size: 12px;
  }
  .section-label > span {
    font-size: 10px;
  }
  .info {
    padding: 14px;
  }
  .card {
    padding: 15px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .sidebar nav a {
    transition:
      background-color 0.13s,
      border-color 0.13s;
  }
}
@media (min-width: 1051px) {
  .panel-heading {
    margin-bottom: 30px;
  }
  .panel-heading h1 {
    font-size: clamp(36px, 3.6vw, 53px);
    font-weight: 610;
    letter-spacing: -2px;
  }
  .title-row .panel-heading {
    margin-bottom: 26px;
  }
  .toolbar {
    min-height: 66px;
  }
  .route-card {
    min-height: 273px;
  }
  .metric,
  .card {
    box-shadow: 0 2px 4px #18382404;
  }
}
@media (min-width: 761px) and (max-width: 850px) {
  .route-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 12px;
    padding: 19px;
  }
  .route-card h2 {
    font-size: 30px;
  }
  .circuit figcaption {
    font-size: 8px;
    gap: 5px;
    padding: 6px;
  }
  .route-copy > p:not(.route-label) {
    font-size: 12px;
  }
}
@media (max-width: 575px) {
  .opening-empty {
    padding: 13px !important;
  }
  .opening-empty > .icon {
    width: 36px !important;
    height: 36px !important;
    padding: 7px;
  }
  .metric .icon {
    padding: 5px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .circuit-packet {
    display: block;
    animation: packet 4s ease-in-out 1 both;
  }
  @keyframes packet {
    0%,
    20% {
      stroke-dashoffset: 5;
      opacity: 0;
    }
    26% {
      opacity: 0.9;
    }
    65% {
      opacity: 0.9;
    }
    72%,
    100% {
      stroke-dashoffset: -100;
      opacity: 0;
    }
  }
}
@media (forced-colors: active) {
  .route-copy h2 em,
  .map-label,
  .map-micro {
    color: CanvasText;
  }
  .circuit-packet {
    display: none;
  }
  .route-card,
  .card,
  .metric {
    border: 1px solid CanvasText;
  }
}
