/* Rounds — calendar index, planner form, and walkthrough show page.
   Scoped extensions of the brand-context / brand-section design tokens
   defined in application.css. Keep this file thin: anything reusable
   (pills, action buttons, primary CTAs) lives in application.css. */

/* ----------------------------------------------------------------
   Index — view toggle, list rows, calendar
   ---------------------------------------------------------------- */

.rounds-index {
  margin-bottom: 2rem;
}

/* Constrain the populated-state header and the list pane to an editorial
   column. Calendar pane stays without this class so it can stretch wider. */
.rounds-index__narrow {
  max-width: 1100px;
}

.rounds-index__view-toggle {
  display: inline-flex;
  margin-bottom: 1.5rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 3px;
  background: #fafafa;
}

.rounds-index__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.rounds-index__view-btn.is-active {
  background: #fff;
  color: var(--accent-hex);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.rounds-index__view-btn:hover:not(.is-active),
.rounds-index__view-btn:focus:not(.is-active) {
  color: #2a2a2a;
  outline: none;
}

/* Editorial round row — close cousin of .list-row */
.round-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #ececec;
  align-items: center;
}

.round-row:last-child {
  border-bottom: 0;
}

.round-row__main {
  min-width: 0;
}

.round-row__name {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.03ch;
  line-height: 1.1;
  margin: 0 0 0.4rem;
}

.round-row__name a {
  color: #1a1a1a;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-hex), var(--accent-hex));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 220ms ease, color 120ms ease;
  padding-bottom: 2px;
}

.round-row__name a:link,
.round-row__name a:visited {
  color: #1a1a1a;
}

.round-row__name a:hover,
.round-row__name a:focus {
  color: var(--accent-hex);
  background-size: 100% 2px;
  outline: none;
}

.round-row__lede {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 0.5rem;
  max-width: 60ch;
}

.round-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.85rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: lowercase;
  letter-spacing: 0.04ch;
}

.round-row__meta-sep {
  color: #c8c8c8;
  user-select: none;
}

.round-row__meta-stat {
  font-variant-numeric: tabular-nums;
}

.round-row__meta-stat strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Stacked date chip on the right of each row — day numeral over month */
.round-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid #ececec;
  border-radius: 0.5rem;
  background: #fafafa;
  text-align: center;
  line-height: 1;
}

.round-row__date--today,
.round-row__date--upcoming {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
}

.round-row__date-day {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04ch;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
}

.round-row__date--today .round-row__date-day,
.round-row__date--upcoming .round-row__date-day {
  color: var(--accent-hex);
}

.round-row__date-month {
  margin-top: 0.2rem;
  font-size: 0.65rem;
  text-transform: lowercase;
  letter-spacing: 0.1ch;
  color: #6b7280;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .round-row {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
  }
  .round-row__date {
    grid-row: 1 / span 2;
    align-self: start;
  }
  .round-row__main {
    grid-column: 2;
  }
}

/* Calendar — refined from the previous Bootstrap-card-wrapped grid */
.rounds-calendar {
  display: flex;
  flex-direction: column;
  border: 1px solid #ececec;
  border-radius: 0.5rem;
  overflow: hidden;
}

.rounds-calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.rounds-calendar-month-nav__title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02ch;
  margin: 0;
}

.rounds-calendar-month-nav__count {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: lowercase;
  letter-spacing: 0.04ch;
}

.rounds-calendar-month-nav__pager {
  display: inline-flex;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  overflow: hidden;
  background: #fafafa;
}

.rounds-calendar-month-nav__pager a {
  padding: 0.3rem 0.75rem;
  color: #2a2a2a;
  text-decoration: none;
  border-right: 1px solid #ececec;
  font-size: 0.85rem;
  transition: color 120ms ease, background-color 120ms ease;
}

.rounds-calendar-month-nav__pager a:last-child {
  border-right: 0;
}

.rounds-calendar-month-nav__pager a:hover,
.rounds-calendar-month-nav__pager a:focus {
  color: var(--accent-hex);
  background: #fff;
  outline: none;
}

.rounds-calendar-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #ececec;
}

.rounds-calendar-header {
  border-top: none;
  background: #fafafa;
}

.rounds-calendar-header .rounds-calendar-cell {
  padding: 0.5rem;
  min-height: auto;
  text-transform: lowercase;
  letter-spacing: 0.06ch;
  font-size: 0.7rem;
  color: #6b7280;
}

.rounds-calendar-cell {
  padding: 0.5rem;
  border-right: 1px solid #ececec;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rounds-calendar-cell:last-child {
  border-right: none;
}

.rounds-calendar-cell--out-of-month {
  background: #fafafa;
  color: #b3b3b3;
}

.rounds-calendar-cell--today {
  background: rgba(var(--accent-rgb), 0.06);
}

.rounds-calendar-cell__date {
  font-weight: 600;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: #4a4a4a;
}

.rounds-calendar-cell--today .rounds-calendar-cell__date {
  color: var(--accent-hex);
}

.rounds-calendar-cell__date-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  border-radius: 50%;
  transition: background-color 120ms ease, color 120ms ease;
}

.rounds-calendar-cell__date-link:hover {
  background: var(--accent-hex);
  color: #fff;
}

.rounds-calendar-cell__round {
  display: block;
  padding: 0.2rem 0.45rem;
  background: var(--accent-hex);
  color: #fff !important;
  border: 1px solid var(--accent-hex);
  border-radius: 0.3rem;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 500;
  transition: filter 120ms ease;
}

.rounds-calendar-cell__round:hover {
  filter: brightness(0.92);
}

/* "Plan a round" pill — only shown when the cell is hovered. Matches the
   round pill's footprint so the layout doesn't shift when it appears. */
.rounds-calendar-cell__plan {
  display: block;
  padding: 0.2rem 0.45rem;
  background: transparent;
  color: var(--accent-hex) !important;
  border: 1px dashed rgba(var(--accent-rgb), 0.4);
  border-radius: 0.3rem;
  font-size: 0.75rem;
  line-height: 1.25;
  opacity: 0;
  transition: opacity 120ms ease, background-color 120ms ease;
}

.rounds-calendar-cell:hover .rounds-calendar-cell__plan {
  opacity: 1;
}

.rounds-calendar-cell__plan:hover {
  background: rgba(var(--accent-rgb), 0.08);
}

@media (max-width: 767.98px) {
  .rounds-calendar-cell {
    min-height: 70px;
    padding: 0.3rem 0.25rem;
  }
  .rounds-calendar-cell__round {
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }
  .rounds-calendar-cell__plan {
    display: none;
  }
}

/* ----------------------------------------------------------------
   Show page — map + editorial stop list
   ---------------------------------------------------------------- */

.rounds-show-map {
  height: 320px;
  border-radius: 0.5rem;
  border: 1px solid #ececec;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .rounds-show-map {
    height: 480px;
  }
}

/* Round-context sidebar quirks — uses brand-context base classes */
.round-context__mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.round-context__mode-pill i {
  font-size: 0.95rem;
}

/* Stop row — editorial, not Bootstrap card */
.round-stop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.1rem;
  row-gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #ececec;
  position: relative;
}

.round-stop:last-of-type {
  border-bottom: 0;
}

.round-stop--visited {
  padding-left: 0.75rem;
  border-left: 3px solid rgba(var(--accent-rgb), 0.5);
}

.round-stop__position {
  align-self: start;
  min-width: 2.2rem;
  padding-top: 0.1rem;
  text-align: center;
}

.round-stop__position-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid #ececec;
  background: #fafafa;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #2a2a2a;
}

.round-stop--visited .round-stop__position-num {
  background: var(--accent-hex);
  border-color: var(--accent-hex);
  color: #fff;
}

.round-stop__main {
  min-width: 0;
}

.round-stop__name {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02ch;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.round-stop__name a {
  color: #1a1a1a;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-hex), var(--accent-hex));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 220ms ease, color 120ms ease;
  padding-bottom: 2px;
}

.round-stop__name a:link,
.round-stop__name a:visited {
  color: #1a1a1a;
}

.round-stop__name a:hover,
.round-stop__name a:focus {
  color: var(--accent-hex);
  background-size: 100% 2px;
  outline: none;
}

.round-stop__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.round-stop__fit--strong {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent-hex);
  font-weight: 600;
}

.round-stop__fit--medium {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.15);
  color: rgba(var(--accent-rgb), 0.9);
}

.round-stop__fit--weak {
  color: #6b7280;
}

.round-stop__visited-pill {
  background: #fff;
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent-hex);
  font-weight: 500;
}

.round-stop__visited-pill i {
  margin-right: 0.1rem;
}

.round-stop__address {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
}

.round-stop__lede {
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 0.6rem;
  max-width: 60ch;
}

.round-stop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

/* Primary per-row action: mark visited. Accent-filled to draw the eye. */
.round-stop__tick {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.95rem;
  background: var(--accent-hex);
  color: #fff;
  border: 1px solid var(--accent-hex);
  border-radius: 999px;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.round-stop__tick:hover,
.round-stop__tick:focus {
  background: var(--grey-hex);
  border-color: var(--grey-hex);
  outline: none;
}

/* Visit details block — slides in below the row when the stop is visited.
   Photos always visible at top; notes are display-by-default with a
   click-to-edit affordance. */
.round-stop__visit {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #ececec;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.round-stop__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.round-stop__photos .store-visit-image,
.round-stop__photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid #ececec;
}

.round-stop__notes-display {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.6rem;
}

.round-stop__notes {
  flex: 1 1 280px;
  margin: 0;
  color: #2a2a2a;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.round-stop__notes--empty {
  color: #6b7280;
  font-style: italic;
}

.round-stop__notes-edit {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.round-stop__notes-input {
  width: 100%;
  border: 1px solid #ececec;
  border-radius: 0.4rem;
  padding: 0.6rem 0.7rem;
  background: #fafafa;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1a1a1a;
  resize: vertical;
  min-height: 5rem;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.round-stop__notes-input:focus {
  outline: none;
  border-color: var(--accent-hex);
  background: #fff;
}

.round-stop__notes-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.round-stop__photo-input {
  display: none;
}

.round-stop__photo-label {
  cursor: pointer;
}

/* ----------------------------------------------------------------
   Planner — sidebar criteria + map + results
   ---------------------------------------------------------------- */

.rounds-planner-map {
  height: 360px;
  border-radius: 0.5rem;
  border: 1px solid #ececec;
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .rounds-planner-map {
    height: 540px;
  }
}

/* Planner sidebar — uses .brand-context base for type but overrides the
   sticky positioning (the user is interacting with it, not reading it). */
.round-planner-context {
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .round-planner-context {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

.round-planner__group {
  margin-bottom: 1.25rem;
}

.round-planner__group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.08ch;
  color: #6b7280;
  margin-bottom: 0.45rem;
}

.round-planner__search-wrap {
  position: relative;
}

.round-planner__search {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 120ms ease;
}

.round-planner__search:focus {
  outline: none;
  border-color: var(--accent-hex);
}

.round-planner__search-results {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.round-planner__search-results .list-group-item,
.round-planner__search-results button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f4f4f4;
  font-family: inherit;
  font-size: 0.88rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.round-planner__search-results .list-group-item:last-child,
.round-planner__search-results button:last-child {
  border-bottom: 0;
}

.round-planner__search-results .list-group-item:hover,
.round-planner__search-results button:hover,
.round-planner__search-results .list-group-item:focus,
.round-planner__search-results button:focus {
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--accent-hex);
  outline: none;
}

.round-planner__start-summary {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Pill-radio group: the Bootstrap form-check radio is visually hidden,
   and the <label> takes on .brand-context__pill styling. When the radio
   is :checked, the label becomes accent-filled. */
.round-planner__pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.round-planner__pill-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.round-planner__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  background: #f5f5f5;
  border: 1px solid #ececec;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
  text-transform: lowercase;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.round-planner__pill:hover {
  border-color: #c8c8c8;
}

.round-planner__pill-group input[type="radio"]:checked + .round-planner__pill {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--accent-hex);
  font-weight: 600;
}

.round-planner__pill-group input[type="radio"]:focus-visible + .round-planner__pill {
  outline: 2px solid rgba(var(--accent-rgb), 0.35);
  outline-offset: 1px;
}

.round-planner__pill i {
  font-size: 0.95rem;
}

/* Numeric stepper */
.round-planner__numeric {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.round-planner__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #4a4a4a;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease;
}

.round-planner__step:hover,
.round-planner__step:focus {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-hex);
  outline: none;
}

.round-planner__numeric-input {
  width: 4rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  appearance: textfield;
  -moz-appearance: textfield;
}

.round-planner__numeric-input::-webkit-outer-spin-button,
.round-planner__numeric-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.round-planner__numeric-input:focus {
  outline: none;
}

.round-planner__two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Plan button — accent-filled, full-width like a sidebar primary CTA */
.round-planner__plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1.1rem;
  background: var(--accent-hex);
  color: #fff;
  border: 1px solid var(--accent-hex);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: lowercase;
  letter-spacing: 0.02ch;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.round-planner__plan:hover:not(:disabled),
.round-planner__plan:focus:not(:disabled) {
  background: var(--grey-hex);
  border-color: var(--grey-hex);
  outline: none;
}

.round-planner__plan:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.round-planner__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1.1rem;
  background: var(--accent-hex);
  color: #fff;
  border: 1px solid var(--accent-hex);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: lowercase;
  letter-spacing: 0.02ch;
  transition: background-color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.round-planner__save:hover:not(:disabled),
.round-planner__save:focus:not(:disabled) {
  background: var(--grey-hex);
  border-color: var(--grey-hex);
  outline: none;
}

.round-planner__save:disabled {
  background: #d8d8d8;
  border-color: #d8d8d8;
  color: #fff;
  cursor: not-allowed;
}

/* Save & schedule block — a brand-section nestled inside the sidebar */
.round-planner__schedule {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #ececec;
}

.round-planner__schedule-input {
  width: 100%;
  padding: 0.5rem 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 0.4rem;
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1a1a1a;
  transition: border-color 120ms ease;
}

.round-planner__schedule-input:focus {
  outline: none;
  border-color: var(--accent-hex);
}

/* Results panel — totals + ordered store list */
.round-planner__results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.round-planner__totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.round-planner__totals > div {
  margin: 0;
}

.round-planner__totals-label {
  font-size: 0.7rem;
  text-transform: lowercase;
  letter-spacing: 0.06ch;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.round-planner__totals-value {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
}

.round-planner__results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: planner-stop;
}

.round-planner__results-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f4f4f4;
  counter-increment: planner-stop;
}

.round-planner__results-item:last-child {
  border-bottom: 0;
}

.round-planner__results-item::before {
  content: counter(planner-stop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid #ececec;
  background: #fafafa;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #2a2a2a;
}

.round-planner__results-item-name {
  min-width: 0;
  font-weight: 600;
  color: #1a1a1a;
}

.round-planner__results-item-name a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 120ms ease;
}

.round-planner__results-item-name a:hover,
.round-planner__results-item-name a:focus {
  color: var(--accent-hex);
}

.round-planner__results-item-meta {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 400;
  margin-top: 0.1rem;
}

.round-planner__error {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 0.4rem;
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--accent-hex);
  font-size: 0.88rem;
}
