/* RoadHelper / Adventure. Loaded after the feature styles; no external assets. */
:root {
  --ink: #172936;
  --muted: #52636b;
  --green: #16475a;
  --dark: #16475a;
  --lime: #f2ca58;
  --paper: #fff9ed;
  --border: #dddace;
  --white: #fffefd;
  --warn: #785018;
  --red: #a33e31;
  --radius: 12px;
  --accent: #16475a;
  --line: #dddace;
  --adventure-orange: #e87945;
  --adventure-sky: #c8e5ee;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
body { background: var(--paper); font-size: 15px; line-height: 1.6; }
h1, h2, h3 { color: var(--ink); font-weight: 750; }
h1 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -1.15px; line-height: 1.12; }
h2 { font-size: 23px; letter-spacing: -.55px; line-height: 1.3; }
h3 { font-size: 18px; letter-spacing: -.2px; }
small { font-size: 12px; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 1.6px; color: #546671; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible,
.tour button:focus-visible, .tour h2:focus-visible,
.guide-page :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #cc5826;
  outline-offset: 3px;
}
.sidebar {
  background: var(--dark);
  color: #fff9ed;
  border-right: 0;
  padding: 29px 19px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.brand { gap: 9px; font-size: 23px; letter-spacing: -.85px; font-weight: 800; }
.brand-symbol, .auth-story .brand-symbol {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  color: #f2ca58;
}
.brand-wordmark { white-space: nowrap; }
.brand-caption { color: #c8e5ee; font-size: 12px; margin: 8px 0 30px 57px; letter-spacing: .25px; }
.sidebar nav { gap: 5px; }
.sidebar nav a { color: #e0edf0; border-radius: 7px; gap: 12px; padding: 12px 13px; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.sidebar nav a:hover { color: #fff; background: #23596b; }
.sidebar nav a.selected { background: #f2ca58; color: #172936; border-color: #f2ca58; font-weight: 750; }
.sidebar nav a.selected svg { color: #172936; }
.sidebar-bottom { padding: 25px 12px 0; }
.sidebar-bottom p { color: #d7e7eb; font-size: 13px; line-height: 1.65; margin: 13px 0 19px; }
.sidebar-bottom a { color: #e0edf0; font-size: 14px; }
.sidebar-bottom .badge { background: #c8e5ee; color: #172936; border-radius: 4px; letter-spacing: .6px; }
.topbar { height: 78px; background: #fffdf6; border-bottom: 1px solid var(--border); gap: 20px; }
.connection { color: #53656c; font-size: 12px; }
.connection>span { width: 8px; height: 8px; background: #387059; }
.connection.offline>span { background: #ad651e; }
.account { color: var(--dark); font-weight: 700; }
.account>span { border-color: #dad9cd; }
.topbar .logout-control { border-color: #d7d8cd; background: #fffdf6; color: #3d535f; font-size: 12px; }
.language-switch select { background: #f3f0e6; border-color: #d8d6ca; color: #172936; border-radius: 6px; font-size: 12px; }
#main { padding-top: 34px; }
.page-heading { margin-bottom: 26px; align-items: flex-start; }
.page-heading>div { min-width: 0; }
.page-heading p { margin-top: 12px; font-size: 15px; max-width: 650px; }
.home-heading h1, .home-page>.page-heading h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -1.7px; }
.hero {
  min-height: 298px;
  border-radius: 12px;
  padding: 32px 35px;
  background: var(--dark);
  align-items: center;
  gap: 18px;
  border-bottom: 5px solid var(--adventure-orange);
}
.hero>div:first-child { position: relative; z-index: 1; flex: 1 1 54%; min-width: 0; }
.hero .eyebrow { color: #f2ca58; margin-bottom: 11px; font-size: 11px; }
.hero h2 { color: #fff9ed; font-size: clamp(27px, 2.9vw, 38px); line-height: 1.15; letter-spacing: -1.05px; max-width: 540px; }
.hero p { color: #d7e9ed; font-size: 15px; max-width: 450px; line-height: 1.6; margin: 16px 0 22px; }
.hero-art {
  display: block;
  flex: 0 1 40%;
  width: 310px;
  height: 244px;
  margin: 0;
  transform: none;
  border-radius: 0;
  background: transparent url('/atlas-journey.svg') center / contain no-repeat;
}
.hero-art>svg, .hero-art>span { display: none; }
.hero-art:has(img) { background: transparent; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.btn { border-radius: 7px; min-height: 46px; font-size: 14px; font-weight: 700; padding: 12px 18px; transition: background .15s ease, border-color .15s ease; }
.btn.primary { background: #16475a; border-color: #16475a; color: #fff; }
.btn.primary:hover { background: #0c3547; border-color: #0c3547; }
.btn.secondary { background: #fffdf7; color: #16475a; border-color: #b7c7ca; }
.btn.secondary:hover { background: #e6f2f4; border-color: #16475a; }
.btn.cream { color: #172936; background: #f2ca58; border-color: #f2ca58; }
.btn.cream:hover { background: #f7d77a; border-color: #f7d77a; }
.hero-tour { background: transparent; border-color: #7b9eac; color: #fff9ed; margin: 8px 0 0 8px; }
.hero-tour:hover { background: #23596b; border-color: #b4d0d9; }
.btn.danger { background: #a33e31; border-color: #a33e31; }
.text-btn, .text-link { color: #16475a; font-size: 14px; font-weight: 650; }
.text-link { text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.grid { gap: 22px; }
.card { background: #fffefd; border-color: #d9dace; border-radius: 10px; padding: 27px; box-shadow: none; }
.section-heading { align-items: flex-start; margin-bottom: 21px; }
.section-heading p { font-size: 14px; }
.home-page>.grid.two>.card:first-child, .hero+.grid.two>.card:first-child { background: #eaf3f4; border-color: #bdd4da; }
.home-page>.grid.two>.card:nth-child(2), .hero+.grid.two>.card:nth-child(2) { border-top: 4px solid #e87945; padding-top: 24px; }
.card:has(>.onboarding-heading) { background: #f8edc9; border-color: #e1cf91; border-radius: 8px; padding: 22px 26px; }
.onboarding-heading h2 { font-size: 21px; }
.onboarding-heading p { font-size: 14px; }
.onboarding-checklist { gap: 15px; margin: 20px 0 0; }
.onboarding-step-number { color: #172936; background: #f2ca58; border-radius: 7px; }
.onboarding-checklist .is-done .onboarding-step-number { color: #fff; background: #16475a; }
.onboarding-checklist p { font-size: 13px; }
.onboarding-checklist a { font-size: 14px; text-underline-offset: 3px; }
.empty { padding: 20px 4px 10px; }
.empty-icon { background: #c8e5ee; color: #16475a; border-radius: 10px; width: 52px; height: 52px; }
.empty h3 { font-size: 18px; }
.empty p { font-size: 14px; }
.car-heading>svg { color: #16475a; }
.car-heading p { font-size: 13px; }
.stats { border-color: #cad5d6; gap: 18px; }
.stats strong { color: #172936; font-size: 25px; font-weight: 750; letter-spacing: -.65px; line-height: 1.3; }
.stats span { font-size: 12px; line-height: 1.45; }
.metric { font-size: 36px; font-weight: 750; color: #16475a; }
.metric small { font-size: 13px; }
.field>span { font-size: 14px; font-weight: 650; }
.field small, .hint, .draft-status { font-size: 12px; line-height: 1.6; }
input, select, textarea { background: #fffefd; border-color: #bfc9c9; border-radius: 7px; min-height: 48px; font-size: 15px; color: #172936; }
input:focus, select:focus, textarea:focus { border-color: #16475a; box-shadow: 0 0 0 3px #16475a18; }
input::placeholder { color: #6f7a80; }
input[type=checkbox] { accent-color: #16475a; }
.password-toggle { top: 35px; color: #16475a; }
.password-toggle:hover { background: #e6f2f4; }
.password-toggle:focus-visible { outline-color: #cc5826; }
.check { font-size: 14px; }
.notice { background: #edf4f4; border-color: #bfd6dc; color: #294d5c; border-radius: 7px; font-size: 14px; }
.notice.warning { background: #fff1d7; border-color: #e4cc96; color: #785018; }
.notice.error { background: #fff0e9; border-color: #e6bfb1; color: #963c2e; }
.notice p { color: inherit; }
.badge { background: #e2edf0; color: #16475a; border-radius: 4px; font-size: 12px; }
.badge.green { background: #dfebdd; color: #2d593c; }
.tile-icon, .stop-icon { background: #e0eef1; color: #16475a; border-radius: 8px; }
.trip-tile p, .trip-addresses, .trip-readiness, .ledger-row p, .work-row p { font-size: 13px; }
.trip-list-item { border-radius: 8px; background: #fffdf8; }
.trip-list-item .trip-tile { padding: 18px; }
.trip-list-actions .btn, .work-row .btn { font-size: 13px; }
.journey-points { border-color: #b2c7cd; }
.point-dot { border-color: #16475a; }
.point-input:last-child .point-dot { background: #e87945; border-color: #ad502a; }
.expense-details, .plan-limitations, .pilot-source, .conditional-fuel { background: #f2f1e8; border-color: #d4d5c7; border-radius: 7px; font-size: 13px; }
.plan-limitations summary { color: #16475a; font-size: 14px; }
.combo-popup { border-color: #b6cbd0; border-radius: 8px; box-shadow: 0 10px 30px #1729361c; }
.combo-count { background: #e8f1f2; color: #52636b; font-size: 12px; }
.combo-option { color: #172936; font-size: 14px; }
.combo-option:hover, .combo-option[aria-selected=true] { background: #c8e5ee; }
.combo-status, .catalog-note, .location-selected { font-size: 12px; }
.route-overview { border-radius: 10px; border-color: #bfcfd0; }
.route-metrics { background: #e6f1f3; padding: 24px 27px; }
.route-metrics strong { font-size: 29px; font-weight: 750; color: #16475a; letter-spacing: -.8px; }
.route-metrics span { font-size: 12px; }
.route-map-frame, #map, .location-map { background: #d9e7e7; }
.map-legend, .route-sources, .source { color: #56646b; font-size: 12px; }
.stop-card { background: #fffdf7; border-color: #d5d8cf; border-radius: 8px; padding: 21px; }
.stop-card p { font-size: 14px; }
.stop-card .eyebrow { font-size: 10px; color: #586974; }
.stop-facts span { background: #e9f0ef; color: #3b5864; border-radius: 4px; font-size: 12px; }
.stop-card.stop-selected { border-color: #16475a; box-shadow: 0 0 0 2px #16475a33; }
.stop-card.stop-type-fuel .stop-icon { color: #16475a; background: #c8e5ee; }
.stop-card.stop-type-hotel .stop-icon { color: #674c70; background: #ece4ef; }
.stop-card.fuel-candidate .stop-icon { color: #875321; background: #fae4b7; }
.fuel-action { background: #e5f0f2; border-color: #b8d0d7; border-radius: 8px; }
.fuel-action.requires-action { background: #fff0d5; border-color: #e1c992; }
.fuel-action strong { color: #16475a; }
.fuel-action p, .fuel-actions .btn, .conditional-refuel p, .road-result p { font-size: 14px; }
.conditional-refuel, .road-result { border-radius: 7px; }
.detail-list>div { font-size: 14px; border-color: #e2e3d9; }
.detail-list>div>strong { max-width: 60%; white-space: normal; }
.planned-stop-chips { background: #fffdf7; }
.stop-chip { background: #f7f4e9; color: #172936; border-color: #bfcfce; border-radius: 6px; font-size: 13px; }
.chip-number { background: #16475a; color: #fff; border-radius: 4px; }
.route-stop-popup { border: 1px solid #b9cbce; border-radius: 9px; background: #fffdf7; box-shadow: 0 8px 28px #17293633; }
.stop-popup h3 { color: #172936; font-size: 17px; }
.popup-close { background: #e6eeed; color: #16475a; border-radius: 6px; }
.popup-plan, .popup-source { font-size: 12px; }
.popup-fact span { font-size: 12px; }
.popup-fact strong { font-size: 13px; }
.popup-caution { font-size: 12px; background: #fff0d5; color: #785018; border-radius: 5px; }
.popup-actions .btn { font-size: 12px; border-radius: 6px; }
.guide-page .guide-checklist li { border-left-color: #e87945; }
.guide-page .guide-checklist p, .guide-page .guide-article-body p { font-size: 14px; }
.guide-page .guide-article { border-top-color: #dddace; }
.guide-page .guide-article summary strong { font-size: 17px; }
.guide-page .guide-article-summary { color: #52636b; font-size: 14px; }
.guide-page .guide-article[open] summary strong { color: #16475a; }
.product-preview-note { background: #f8edc9; border-color: #dfcf95; }
.product-plan-current { border: 2px solid #16475a; }
.product-plan-price { font-size: 30px !important; font-weight: 750; }
.product-addon-grid>article, .product-roadmap-grid>article { background: #faf7ee; border-radius: 7px; border-color: #d9dace; }
.product-help summary { font-size: 15px; color: #16475a; }
.auth-story { background: #16475a; padding-bottom: 265px; overflow: hidden; }
.auth-story::after { content: ""; position: absolute; width: 310px; height: 230px; bottom: 8px; right: 12px; background: url('/atlas-journey.svg') center / contain no-repeat; opacity: .65; pointer-events: none; }
.auth-story h1 { color: #fff9ed; font-size: clamp(38px, 4vw, 56px); }
.auth-story .eyebrow { color: #f2ca58; }
.auth-story p { color: #d9e9ed; }
.auth-story .brand, .auth-story .benefit { color: #fff9ed; }
.auth-story .benefit { font-size: 14px; position: relative; z-index: 1; }
.auth-story .benefit svg { color: #f2ca58; }
.auth-panel h2 { font-size: 31px; }
.auth-panel { max-width: 490px; }
.auth-panel .text-btn { font-size: 14px; }
dialog { border-radius: 12px; border-color: #bfcaca; background: #fffdf7; }
dialog::backdrop { background: #102b3b99; }
.modal-header h2 { color: #16475a; font-size: 23px; }
.icon-btn { color: #16475a; background: #e7efee; }
.tour-progress { font-size: 13px; color: #52636b; }
.tour-skip, .tour-section-link { color: #16475a; font-size: 14px; }
.tour-track span { background: #dddace; }
.tour-track .reached { background: #e87945; }
.tour-body h2 { font-size: 28px; color: #16475a; }
.tour-summary, .tour-points li { font-size: 14px; }
.tour-points li::before { background: #e87945; }
.tour-note { background: #f7eccb; color: #172936; border-radius: 6px; font-size: 13px; }
.tour-link-hint { font-size: 12px; }
.tour-footer { background: #fffdf7; }
.footer { color: #63717a; font-size: 12px; }
.footer .recommendation-notice { color: #52636b; background: #f0efe5; border-radius: 6px; font-size: 13px; }
.legal-links { font-size: 12px; }
#toast { color: #fff9ed; background: #16475a; border-radius: 8px; font-size: 14px; }
#toast.error { background: #963c2e; }

@media (min-width: 1400px) {
  .hero { padding: 36px 40px; }
  .hero h2 { font-size: 40px; }
  .hero-art { width: 355px; height: 260px; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .sidebar { width: 205px; padding: 26px 14px; }
  .sidebar .brand { font-size: 20px; gap: 5px; }
  .sidebar .brand-symbol { width: 42px; height: 42px; }
  .brand-caption { margin-left: 47px; }
  .hero { padding: 28px; min-height: 286px; }
  .hero h2 { font-size: 30px; }
  .hero-art { flex-basis: 34%; width: 210px; height: 205px; }
  .card { padding: 23px; }
  .onboarding-checklist { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 780px) {
  .sidebar { display: none; }
  .topbar { height: 74px; padding: 0 16px; gap: 9px; background: #fffdf6; }
  .topbar .mobile-brand { font-size: 18px; gap: 7px; color: #16475a; font-weight: 800; }
  .mobile-brand .brand-symbol { width: 36px; height: 36px; border-radius: 0; }
  .topbar .account { width: 32px; height: 32px; color: #16475a; background: #c8e5ee; font-size: 13px; }
  .topbar .logout-control { min-width: 34px; height: 36px; padding: 7px; }
  .topbar .logout-label { display: none; }
  .topbar .language-switch select { width: 53px; min-height: 36px; height: 36px; font-size: 12px; padding: 4px; }
  #main { padding: 27px 18px 22px; }
  h1 { font-size: 33px; letter-spacing: -1px; }
  .home-heading h1, .home-page>.page-heading h1 { font-size: 38px; letter-spacing: -1.2px; }
  .page-heading { margin-bottom: 23px; gap: 12px; }
  .page-heading p { font-size: 14px; line-height: 1.6; }
  .page-heading>.btn { min-height: 44px; font-size: 13px; padding: 10px 12px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .hero { min-height: 0; padding: 27px 25px 22px; display: block; border-radius: 10px; margin-bottom: 20px; }
  .hero h2 { font-size: 31px; line-height: 1.16; letter-spacing: -.85px; max-width: 420px; }
  .hero p { font-size: 14px; max-width: 390px; margin: 15px 0 20px; }
  .hero-art { display: block; width: 100%; height: 174px; margin: 12px 0 -7px; background-position: center; }
  .hero .btn { min-height: 46px; }
  .hero-tour { margin-left: 0; }
  .card { border-radius: 8px; padding: 23px 21px; }
  .card:has(>.onboarding-heading) { padding: 21px; }
  .onboarding-heading h2 { font-size: 21px; }
  .onboarding-heading p { font-size: 14px; }
  .onboarding-checklist { grid-template-columns: 1fr; gap: 16px; }
  .onboarding-checklist p { font-size: 13px; }
  .field>span { font-size: 14px; }
  .field small { font-size: 12px; }
  .card .grid.two { gap: 14px; }
  .btn, .work-row .btn, .ledger-row>.btn { font-size: 14px; }
  .stats strong { font-size: 24px; }
  .stats span { font-size: 12px; }
  .route-metrics { padding: 20px 16px; gap: 9px; }
  .route-overview .route-metrics strong { font-size: 22px; letter-spacing: -.75px; }
  .route-metrics span { font-size: 12px; line-height: 1.4; }
  .trip-heading h1 { font-size: 27px; line-height: 1.2; }
  .trip-heading .page-heading p { font-size: 14px; }
  .trip-heading .page-heading>.btn { font-size: 12px; min-height: 38px; }
  .fuel-action { padding: 18px; }
  .fuel-action p, .fuel-action strong { font-size: 14px; }
  .route-stop-popup { left: 10px; bottom: 30px; width: calc(100% - 20px); max-height: calc(100% - 42px); }
  .stop-popup { padding: 13px; }
  .popup-facts { gap: 9px; }
  .popup-actions .btn { font-size: 12px; padding: 9px 7px; }
  .stop-chip { font-size: 12px; }
  .stop-card p, .notice { font-size: 14px; }
  .auth-story { padding: 108px 28px 33px; }
  .auth-story::after { display: none; }
  .auth-story .brand { top: 26px; }
  .auth-story h1 { font-size: 38px; line-height: 1.13; }
  .auth-story p { font-size: 15px; margin-top: 18px; }
  .auth-panel { padding: 30px 25px 40px; }
  .auth-panel h2 { font-size: 28px; }
  dialog { border-radius: 11px; padding: 22px; }
  .modal-header h2 { font-size: 21px; }
  .bottom-nav { background: #fffdf6; border-top-color: #d4d8ce; box-shadow: 0 -3px 12px #17293608; }
  .bottom-nav a { color: #586c77; font-size: 11px; min-width: 54px; gap: 4px; }
  .bottom-nav a.selected { color: #16475a; font-weight: 750; }
  .bottom-nav a.selected svg { background: #f2ca58; border-radius: 5px; box-shadow: 0 0 0 5px #f2ca58; }
  .footer { padding-bottom: 110px; }
  .tour-body h2 { font-size: 25px; }
  .tour-summary, .tour-points li { font-size: 14px; }
  .tour-footer .btn { font-size: 14px; }
}
@media (max-width: 420px) {
  .topbar { gap: 7px; padding: 0 12px; }
  .topbar .mobile-brand { font-size: 16px; gap: 5px; letter-spacing: -.7px; }
  .mobile-brand .brand-symbol { width: 32px; height: 32px; }
  .topbar .account { width: 29px; height: 29px; }
  .hero h2 { font-size: 29px; }
  .home-heading h1, .home-page>.page-heading h1 { font-size: 35px; }
  .hero-art { height: 156px; }
  .route-overview .route-metrics strong { font-size: 20px; }
  .route-metrics span { font-size: 11px; }
  .card .grid.two:has(.field), dialog .grid.two:has(.field) { grid-template-columns: 1fr; }
  .ledger-row { flex-wrap: wrap; }
  .ledger-row>div:not(.tile-icon) { flex: 1 1 120px; }
  .ledger-row>.btn { margin-left: auto; }
  .work-row { flex-wrap: wrap; }
  .page-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Auth uses the same lightweight illustration once, in document flow. */
.auth-story{padding-bottom:44px}.auth-story::after{display:none}.auth-journey{display:block;width:min(440px,100%);height:auto;max-height:250px;object-fit:contain;margin:20px 0 26px}.auth-mobile-brand{display:none}@media(max-width:780px){.auth-mobile-brand{display:flex;margin:0 70px 28px 0;font-size:21px;gap:8px}.auth-mobile-brand .brand-symbol{width:40px;height:40px}.auth-panel .auth-language{top:33px;right:25px}.auth-story{padding-bottom:32px}}

@media(max-width:780px){.auth-story{display:none}.auth-panel{position:relative}.auth-panel .auth-language{position:absolute;top:33px;right:25px}}
/* Compact map facts keep the action row usable on narrow screens. */
@media(max-width:780px){
 .route-stop-popup{top:10px;bottom:auto;max-height:calc(100% - 20px)}
 .stop-popup{padding:12px}
 .stop-popup .popup-fact strong{font-size:12px;line-height:1.4}
 .stop-popup .popup-facts{gap:8px}
 .stop-popup .popup-plan{font-size:12px;line-height:1.4}
 .stop-popup .popup-source{font-size:11px;margin:8px 0}
 .stop-popup .popup-caution{font-size:11px;line-height:1.4;padding:8px;margin:8px 0}
 .stop-popup .popup-actions{position:sticky;bottom:0;padding-top:6px;margin-top:8px;background:#fffdf7}
}

/* Road-test actions stay within thumb reach. */
.trip-quick-actions {display:flex;gap:12px;flex-wrap:wrap;padding:16px;position:sticky;top:8px;z-index:3;box-shadow:0 3px 14px #17293615}
.favorite-address-list{list-style:none;padding:0;margin:16px 0}.favorite-address-item{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--border,#dbe4df)}.favorite-address-item p{overflow-wrap:anywhere}.favorite-address-selector{margin-bottom:10px}
@media(max-width:780px){.favorite-address-item{display:block}.trip-quick-actions{top:4px}.trip-quick-actions .btn{flex:1;padding:12px 14px;font-size:14px}.actual-trip .detail-list strong{white-space:nowrap}}
.trip-review-fields{margin:1.25rem 0 0;padding:1rem 0 0;border:0;border-top:1px solid var(--border,#d8e2d6);min-width:0}
.trip-review-fields legend{font-size:1.1rem;font-weight:700;padding:0 0 .25rem}
.trip-rating-options{display:flex;gap:.35rem;margin:.5rem 0 1rem}
.trip-rating-options label{position:relative;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;border-radius:10px;background:#f3f5ee}
.trip-rating-options input{position:absolute;opacity:0;width:44px;height:44px;margin:0;cursor:pointer}
.rating-star{font-size:30px;color:#657477;line-height:1}
.trip-rating-options label:has(input:focus-visible){outline:3px solid #075c75;outline-offset:2px}
.trip-rating-options:has(input[value="1"]:checked) label:nth-child(-n+1) .rating-star,.trip-rating-options:has(input[value="2"]:checked) label:nth-child(-n+2) .rating-star,.trip-rating-options:has(input[value="3"]:checked) label:nth-child(-n+3) .rating-star,.trip-rating-options:has(input[value="4"]:checked) label:nth-child(-n+4) .rating-star,.trip-rating-options:has(input[value="5"]:checked) label:nth-child(-n+5) .rating-star{color:#996000}
.trip-report-details{font-size:.875rem;margin:.75rem 0;line-height:1.5}
.trip-review-result{margin-top:1rem}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){form[data-form="trip-finish"]>.grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}form[data-form="trip-finish"]>.grid.two .field>span{min-height:2.8em;font-size:.875rem}form[data-form="trip-finish"]>.grid.two input{min-width:0;width:100%}.trip-review-fields .hint{margin:.35rem 0}.trip-review-fields textarea{min-height:70px}.trip-review-fields{margin-top:.75rem}}

/* Saved places are shortcuts at each route endpoint, not a second address form. */
.favorite-quick-picks{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:3px 0 10px;margin-top:-8px;scrollbar-width:thin}
.favorite-quick-picks .favorite-quick-button{flex:none;min-height:40px;max-width:180px;padding:8px 13px;border-radius:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.location-tools{display:flex;flex-wrap:wrap;gap:8px}.location-tools .btn{min-height:40px;padding:8px 12px;font-size:13px}.location-tools .save-place{margin-left:auto}
.favorite-anchors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:26px}
.favorite-anchor{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px;background:#f5f7ef;border:1px solid var(--border);border-radius:16px;min-width:0}
.favorite-anchor>div{flex:1 1 100%;min-width:0}.favorite-anchor strong{font-size:20px}.favorite-anchor p{overflow-wrap:anywhere;margin-top:7px}.favorite-anchor .btn{padding:8px 13px;min-height:40px}
.favorite-choice-list{display:grid;gap:9px;max-height:45vh;overflow-y:auto}.favorite-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);min-width:0}
.favorite-choice[hidden]{display:none}.favorite-choice span{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.favorite-choices>a{display:inline-block;margin-top:18px}
@media(max-width:600px){.favorite-anchors{grid-template-columns:1fr}.favorite-quick-picks{margin-top:-4px}.location-tools .save-place{margin-left:0}.favorite-quick-picks .favorite-quick-button{min-height:44px}.favorite-choice{min-height:58px}}

.location-field{min-width:0}

@media(max-width:600px){.location-tools .btn{min-height:44px}}
