/* NearbyCheck mobile alignment pass — 10-review lock. */
@media (max-width:760px) {
  /* 1 — quick intents: no clipped rail, equal visual cells. */
  .quick-intents {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
    margin:0 0 12px;
    padding:0;
    overflow:visible;
  }
  .quick-intent {
    width:100%;
    min-width:0;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:8px 10px;
    line-height:1.2;
  }

  /* 2 — one shared inner control axis. */
  .place-search-block,
  .time-row,
  .need-section,
  #checkBtn,
  .search-note,
  .search-field-wrap,
  .search-field-wrap input,
  .anchor-status-row {
    width:100%;
    max-width:none;
  }

  /* 3 — Where / When / What matters share the same left edge. */
  .place-search-block > .control-label,
  .time-row > .control-label,
  .need-heading > .control-label {
    margin-left:0;
    padding-left:0;
  }

  /* 4 — Now / Later cells are equal and predictable. */
  .time-row {
    display:grid;
    grid-template-columns:64px minmax(0,1fr);
    column-gap:10px;
    row-gap:8px;
    align-items:center;
    margin-top:12px;
    padding-top:12px;
  }
  .time-tabs {
    grid-column:2;
    justify-self:start;
    display:grid;
    grid-template-columns:repeat(2,minmax(58px,1fr));
    min-height:44px;
  }
  .time-tab {
    min-height:44px;
    min-width:0;
    padding:0 14px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .future-time {
    grid-column:1 / -1;
    width:100%;
    margin-top:1px;
  }

  /* 5 — More / Clear are one compact, baseline-aligned action group. */
  .need-heading {
    min-height:32px;
    margin-bottom:8px;
    align-items:center;
    gap:12px;
  }
  .need-heading-actions {
    margin-left:auto;
    gap:12px;
    align-items:center;
  }
  .need-heading-actions .text-button {
    min-height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0;
    line-height:1;
  }

  /* 6 — need chips: equal columns, identical padding and text origin. */
  .need-chips {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    width:100%;
  }
  .need-chip {
    width:100%;
    min-width:0;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:0 12px;
    text-align:left;
    line-height:1.2;
  }

  /* 7 — CTA and helper copy stay on the same control axis. */
  #checkBtn {
    margin-top:14px;
  }
  .search-note {
    margin:8px 2px 0;
    line-height:1.45;
  }

  /* 8 — results heading and count stack on one left axis. */
  .po6-has-results .section-heading {
    justify-items:start;
    align-items:start;
  }
  .po6-has-results .result-count {
    margin:0;
    padding:0;
  }

  /* 9 — all result surfaces occupy the same horizontal bounds. */
  .po6-has-results .decision-banner,
  .po6-has-results .current-conditions-bar,
  .po6-has-results .result-view-tabs,
  .po6-has-results .results-grid {
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
  }
  .po6-has-results .card-top {
    align-items:flex-start;
  }
  .po6-has-results .distance-badge {
    flex:0 0 auto;
    margin-left:8px;
  }
  .po6-has-results .card-actions {
    gap:7px;
  }
  .po6-has-results .po6-card-directions,
  .po6-has-results .po6-evidence-action {
    min-height:44px;
  }

  /* 10 — the trailing feedback block is intentionally centered, not accidentally offset. */
  .feedback-row {
    justify-content:center;
    flex-wrap:wrap;
    column-gap:8px;
    row-gap:6px;
  }
}
