body[data-tool="expressway-length"] {
  --accent: #176c67;
  --accent-soft: rgba(23, 108, 103, 0.08);
  --forecast: #a44d20;
}

.road-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-strong);
}
.road-summary div { min-width: 0; }
.road-summary span {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
}
.road-summary strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.road-summary small { font-size: 16px; font-weight: 500; }
.road-summary div:last-child strong { color: var(--forecast); }

.road-section { margin-top: 38px; }
.road-section h2 { font-size: 17px; line-height: 1.4; }
.road-section > p {
  margin-top: 11px;
  color: var(--ink-2);
  font-size: 14px;
}
.road-section > p a { color: var(--accent); text-underline-offset: 2px; }
.road-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.road-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: none;
  width: 298px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.road-periods button {
  min-height: 36px;
  padding: 5px 8px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.road-periods button:first-child { border-left: 0; }
.road-periods button:hover { background: var(--accent-soft); }
.road-periods button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.road-chart-wrap {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
#road-chart { display: block; width: 100%; height: 320px; touch-action: pan-y; }
#road-chart .road-future { fill: #fbf5f0; }
#road-chart .road-grid { stroke: var(--line); stroke-width: 1; }
#road-chart .road-axis-label {
  fill: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
}
#road-chart .road-axis-unit {
  fill: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
}
#road-chart .road-actual,
#road-chart .road-estimate {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}
#road-chart .road-actual { stroke: var(--accent); }
#road-chart .road-estimate { stroke: var(--forecast); stroke-dasharray: 7 6; }
#road-chart .road-guide { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
#road-chart .road-point { fill: var(--surface); stroke: var(--accent); stroke-width: 2.8; }
#road-chart .road-point--estimate { stroke: var(--forecast); }
#road-chart .road-milestone { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
#road-chart .road-milestone--drop { stroke: var(--forecast); }
#road-chart:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.road-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 12px;
}
.road-legend span { display: inline-flex; align-items: center; gap: 8px; }
.road-line { display: inline-block; width: 25px; border-top: 3px solid var(--accent); }
.road-line--estimate { border-color: var(--forecast); border-top-style: dashed; }
.road-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
}
.road-picker label { font-size: 13px; font-weight: 600; }
.road-picker input { width: 100%; accent-color: var(--accent); cursor: pointer; }
.road-insight { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.road-insight-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 16px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.road-insight-line strong { font-size: 17px; font-weight: 600; }
.road-insight-line span { color: var(--forecast); font-size: 13px; }
.road-insight p:not(:empty) { margin-top: 5px; font-size: 13px; line-height: 1.5; }
.road-insight a { color: var(--accent); font-size: 12px; text-underline-offset: 2px; }
#road-evidence:not(:empty) { margin-top: 5px; }
.road-caption {
  margin-top: 15px !important;
  color: var(--ink-3) !important;
  font-size: 12px !important;
}
.road-data { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.road-data summary { padding: 16px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.road-data .t-table-wrap { margin-top: 0; }
.road-data .t-table { width: 100%; }
.road-data caption { padding: 9px 14px; color: var(--ink-2); font-size: 12px; text-align: left; }
.road-data .is-estimate td { color: var(--forecast); }
.road-data .is-estimate td:last-child { font-weight: 600; }

@media (max-width: 560px) {
  .road-summary { gap: 12px; padding: 22px 0; }
  .road-summary strong { font-size: 25px; }
  .road-summary small { font-size: 13px; }
  .road-section-head { display: block; }
  .road-periods { width: 100%; margin-top: 14px; }
  #road-chart { height: 290px; }
}
