.container--commuter { max-width: 1080px; }
.commuter-intro { margin-bottom: 1.4rem; }
.commuter-panel {
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.commuter-form h2,
.commuter-results h2 { margin-top: 0; }
.commuter-common-grid,
.commuter-period-inputs,
.commuter-result-grid,
.commuter-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.commuter-field { min-width: 0; }
.commuter-field label { display: block; margin-bottom: .4rem; font-weight: 800; }
.commuter-field input { width: 100%; min-width: 0; }
.commuter-field small,
.commuter-help { display: block; margin-top: .38rem; color: var(--color-muted); line-height: 1.65; }
.commuter-required { color: #9f231c; font-size: .75rem; }
.commuter-period-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.commuter-period-input {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b8d9d3;
  border-radius: 14px;
  background: #f6fbfa;
}
.commuter-period-input legend { padding: 0 .35rem; color: var(--color-primary-dark); font-weight: 900; }
.commuter-period-input .commuter-field + .commuter-field { margin-top: .85rem; }
.commuter-actions,
.commuter-results__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.commuter-actions { margin-top: 1rem; }
.commuter-error { min-height: 1.5em; margin: .8rem 0 0; color: #a21d1d; font-weight: 800; }
.commuter-results__header { justify-content: space-between; }
.commuter-overview {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #eaf7f4;
}
.commuter-overview dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; }
.commuter-overview dl > div { min-width: 0; padding: .75rem; border-radius: 10px; background: #fff; }
.commuter-overview dt { color: var(--color-muted); font-size: .85rem; }
.commuter-overview dd { margin: .25rem 0 0; overflow-wrap: anywhere; font-weight: 900; }
.commuter-summary { display: grid; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.commuter-summary li { padding: .8rem 1rem; border-left: 4px solid var(--color-primary); border-radius: 8px; background: #f7faf9; }
.commuter-summary strong,
.commuter-summary span { display: block; overflow-wrap: anywhere; }
.commuter-summary span { margin-top: .25rem; color: var(--color-muted); }
.commuter-result-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; margin-top: 1rem; }
.commuter-result-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #b8d9d3;
  border-radius: 14px;
  background: #fff;
}
.commuter-result-card h3 { margin: 0 0 .75rem; color: var(--color-primary-dark); }
.commuter-result-card dl { display: grid; gap: .55rem; margin: 0; }
.commuter-result-card dl > div { min-width: 0; padding-bottom: .5rem; border-bottom: 1px solid var(--color-border); }
.commuter-result-card dt { color: var(--color-muted); font-size: .82rem; }
.commuter-result-card dd { margin: .2rem 0 0; overflow-wrap: anywhere; font-weight: 900; }
.commuter-result-card__answer {
  margin: .8rem 0 0;
  padding: .75rem;
  border-radius: 10px;
  background: #e8f6f2;
  overflow-wrap: anywhere;
  font-weight: 800;
  line-height: 1.65;
}
.commuter-boundary,
.commuter-planned { margin-top: 1rem; }
.commuter-boundary h4,
.commuter-planned h4 { margin: 0 0 .55rem; }
.commuter-boundary-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.commuter-boundary-table th,
.commuter-boundary-table td { padding: .45rem .3rem; border-bottom: 1px solid var(--color-border); text-align: right; overflow-wrap: anywhere; }
.commuter-boundary-table th:first-child,
.commuter-boundary-table td:first-child { text-align: left; }
.commuter-planned dl { gap: .45rem; }
.commuter-planned__verdict { margin: .7rem 0 0; overflow-wrap: anywhere; font-weight: 900; }
.commuter-copy-status { min-height: 1.5em; margin-bottom: 0; font-weight: 800; }
.commuter-notice,
.commuter-sources { margin-top: 1.25rem; }
.commuter-sources a { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .commuter-period-inputs,
  .commuter-result-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .commuter-common-grid,
  .commuter-result-grid,
  .commuter-overview dl { grid-template-columns: 1fr; }
  .commuter-actions .button,
  .commuter-results__header .button { width: 100%; }
  .commuter-panel,
  .commuter-period-input,
  .commuter-result-card { padding: .85rem; }
}
