/* v03 — weather bar, slot weather hints, still-got-time panel */

.weather-bar {
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-2xl);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.weather-bar-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.weather-bar-head h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}
.weather-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--hh-muted);
}
.weather-demo select {
  font-family: inherit;
  font-size: 12px;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--hh-border);
  border-radius: 6px;
  background: var(--hh-cream);
}
.weather-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.weather-day-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hh-border);
  background: var(--hh-stone);
  font-size: 12px;
  min-width: 0;
}
.weather-day-chip.active-day {
  border-color: var(--hh-green);
  background: #fde8e9;
  box-shadow: var(--shadow-sm);
}
.weather-day-chip .wd-label { font-weight: 600; }
.weather-day-chip .wd-temp { color: var(--hh-muted); font-size: 11px; }
.weather-icon { font-size: 1.1rem; line-height: 1; }

.weather-insight {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xl);
  font-size: 13px;
  line-height: 1.5;
  display: none;
}
.weather-insight.visible { display: block; }
.weather-insight.rain {
  background: #eef4f7;
  border: 1px solid #c5d9e8;
  color: #2a4a62;
}
.weather-insight.sun {
  background: #fef9ec;
  border: 1px solid #ecd9a8;
  color: #5c4a1a;
}
.weather-insight.cloud {
  background: var(--hh-stone);
  border: 1px solid var(--hh-border);
  color: var(--hh-charcoal);
}

.slot-weather-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.slot-weather-tag.outdoor { background: #e8f4e8; color: #2d5a2d; }
.slot-weather-tag.indoor { background: #eef4f7; color: var(--hh-blue); }
.slot-weather-tag.flexible { background: var(--hh-stone); color: var(--hh-muted); }
.slot-weather-note {
  font-size: 12px;
  margin-top: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  line-height: 1.45;
}
.slot-weather-note.warn {
  background: #eef4f7;
  color: #2a4a62;
  border-left: 3px solid var(--hh-blue);
}
.slot-weather-note.great {
  background: #fef9ec;
  color: #5c4a1a;
  border-left: 3px solid #d4a843;
}
.slot-deprioritized .slot-content {
  opacity: 0.72;
}
.slot-deprioritized .slot-title::after {
  content: " · optional today";
  font-weight: 400;
  font-size: 12px;
  color: var(--hh-muted);
}

/* Still got time? */
.nearby-panel {
  background: linear-gradient(165deg, #302782 0%, #3d3580 100%);
  border-radius: var(--radius-2xl);
  color: white;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}
.nearby-panel-head {
  padding: 1rem 1.1rem 0.75rem;
}
.nearby-panel-head h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.nearby-panel-head p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}
.nearby-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.1rem 0.75rem;
  font-size: 11px;
}
.nearby-context span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.nearby-anchor-row {
  padding: 0 1.1rem 0.85rem;
  font-size: 12px;
}
.nearby-anchor-row label { color: rgba(255,255,255,0.65); margin-right: 0.35rem; }
.nearby-anchor-row select {
  font-family: inherit;
  font-size: 12px;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  border: none;
  max-width: 100%;
}
.nearby-list {
  background: rgba(0, 0, 0, 0.15);
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.nearby-card {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  color: var(--hh-charcoal);
  text-decoration: none;
  transition: transform 0.12s ease;
}
.nearby-card:hover {
  transform: translateY(-1px);
  color: var(--hh-charcoal);
}
.nearby-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.nearby-card-body { flex: 1; min-width: 0; }
.nearby-card-body h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.nearby-card-body p {
  font-size: 11px;
  color: var(--hh-muted);
  line-height: 1.4;
}
.nearby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nearby-meta span {
  background: var(--hh-stone);
  color: var(--hh-muted);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.nearby-meta span.indoor { background: #eef4f7; color: var(--hh-blue); }
.nearby-foot {
  padding: 0.65rem 1.1rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.layout-v3 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .layout-v3 { grid-template-columns: 1fr; }
}

.gp-nearby-inline {
  margin-top: 1.25rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--hh-border);
}

/* Plan feedback (NPS-style) */
.plan-feedback {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hh-border);
}
.plan-feedback-inner {
  background: var(--hh-stone);
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem 1.1rem;
}
.plan-feedback-eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hh-muted);
  margin-bottom: 0.35rem;
}
.plan-feedback-question {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.plan-feedback-hint {
  font-size: 12px;
  color: var(--hh-muted);
  margin-bottom: 0.75rem;
}
.plan-feedback-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}
.plan-feedback-score {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--hh-border);
  background: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--hh-charcoal);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.plan-feedback-score:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--hh-charcoal);
}
.plan-feedback-score.is-selected {
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
}
.plan-feedback-score.score-low.is-selected { background: #6b7280; }
.plan-feedback-score.score-mid.is-selected { background: #b8860b; }
.plan-feedback-score.score-high.is-selected { background: var(--hh-green); }
.plan-feedback-score:disabled { cursor: default; opacity: 0.55; }
.plan-feedback-followup {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.plan-feedback-label {
  font-size: 13px;
  font-weight: 500;
}
.plan-feedback-label span {
  font-weight: 400;
  color: var(--hh-muted);
}
.plan-feedback-comment {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--hh-border);
  border-radius: 8px;
  background: white;
  resize: vertical;
  min-height: 2.75rem;
}
.plan-feedback-submit {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 6px;
  background: var(--hh-green);
  color: white;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.plan-feedback-submit:hover { opacity: 0.92; }
.plan-feedback-thanks {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #fef9ec;
  border: 1px solid #ecd9a8;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #5c4a1a;
}
.gp-plan-feedback-wrap {
  margin-top: 1.25rem;
}

/* Per-stop star ratings (guest portal) */
.stop-rateable {
  align-items: flex-start;
}
.stop-rateable .stop-body {
  flex: 1;
  min-width: 0;
}
.stop-rateable .stop-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.stop-rateable .stop-duration {
  margin-left: auto;
}
.stop-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--hh-border);
}
.stop-rating-label {
  font-size: 11px;
  color: var(--hh-muted);
  font-weight: 500;
}
.stop-rating-stars {
  display: inline-flex;
  gap: 0.1rem;
}
.stop-star {
  padding: 0;
  border: none;
  background: none;
  font-size: 1.15rem;
  line-height: 1;
  color: #d4cfc4;
  cursor: pointer;
  transition: color 0.1s ease, transform 0.1s ease;
}
.stop-star:hover:not(.is-locked) {
  transform: scale(1.08);
}
.stop-star.is-on {
  color: #d4a843;
}
.stop-star.is-locked {
  cursor: default;
}
.stop-rating-thanks {
  font-size: 11px;
  font-weight: 600;
  color: #5c4a1a;
}
.timeline-guest .slot-content > .stop-rating,
.timeline .slot-content > .stop-rating {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
}

.timeline .stop.stop-rateable {
  flex-wrap: wrap;
}
.timeline .stop.stop-rateable > .stop-rating {
  flex-basis: 100%;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--hh-border);
  padding-left: calc(1.35rem + 0.65rem);
}

/* Bucket list — per-event completion */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bucket-check {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  margin-right: 0.5rem;
}
.bucket-check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bucket-check-faux {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--hh-border);
  border-radius: 6px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.bucket-check:hover .bucket-check-faux {
  border-color: var(--hh-green);
}
.bucket-check-input:focus-visible + .bucket-check-faux {
  outline: 2px solid var(--hh-green);
  outline-offset: 2px;
}
.bucket-check-input:checked + .bucket-check-faux {
  background: var(--hh-green);
  border-color: var(--hh-green);
  transform: scale(1.05);
}
.bucket-check-input:checked + .bucket-check-faux::after {
  content: "✓";
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.slot-head-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0.25rem;
}
.slot-head-row .slot-title {
  flex: 1;
  margin-bottom: 0;
}

.stop .bucket-check {
  align-self: center;
  margin-right: 0;
}
.stop.bucket-done {
  border-color: #c8dcc8;
  background: #f8fbf8;
}
.stop.bucket-done .stop-info h4 {
  text-decoration: line-through;
  text-decoration-color: rgba(30, 30, 27, 0.35);
  color: var(--hh-muted);
}
.stop.bucket-done img {
  opacity: 0.65;
}

.slot.bucket-done .slot-content {
  border-color: #c8dcc8;
  background: #f8fbf8;
}
.slot.bucket-done .slot-title {
  text-decoration: line-through;
  text-decoration-color: rgba(30, 30, 27, 0.35);
  color: var(--hh-muted);
}
.slot.bucket-done .slot-time {
  color: #5a8a5a;
}

.bucket-progress-card .sidebar-body {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.bucket-progress-ring-wrap {
  position: relative;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.bucket-progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.bucket-ring-bg {
  fill: none;
  stroke: var(--hh-border);
  stroke-width: 3;
}
.bucket-ring-fill {
  fill: none;
  stroke: var(--hh-green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  transition: stroke-dashoffset 0.35s ease;
}
.bucket-progress-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--hh-charcoal);
}
.bucket-progress-stat {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.bucket-progress-hint {
  font-size: 12px;
  color: var(--hh-muted);
  line-height: 1.45;
}
#tripBarBucket {
  font-weight: 600;
  color: #5a8a5a;
}
