/* RideHero Intelligence
   Compact, explainable next-ride UI. Distances and freshness are presented by
   the application; these styles deliberately avoid implying confidence. */

.rh-next-card{
  min-width:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--rh-line,#c6d1dc) 72%,white);
  border-radius:var(--rh-radius-xl,28px);
  padding:clamp(17px,4.8vw,26px);
  background:rgba(255,255,255,.97);
  color:var(--rh-deep-navy,#0d1b4c);
  box-shadow:var(--rh-shadow-md,0 18px 42px rgba(13,27,76,.12));
}
.ride-intelligence-card{width:100%;max-width:100%}
.rh-next-card>*{min-width:0}

.rh-next-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.rh-next-kicker{
  min-width:0;
  color:var(--rh-blue,#334e68);
  font-size:10px;
  font-weight:950;
  letter-spacing:.12em;
  line-height:1.3;
  text-transform:uppercase;
}
body.mode-quick .rh-next-kicker{color:var(--rh-sixers-red,#d62828)}
.rh-next-freshness{
  min-width:0;
  color:var(--rh-text-muted,#334e68);
  font-size:10px;
  font-weight:800;
  line-height:1.3;
  text-align:right;
  overflow-wrap:anywhere;
}
.rh-next-freshness::before{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:6px;
  border-radius:50%;
  background:var(--rh-green,#4e7a4e);
  vertical-align:1px;
}
.rh-next-freshness.is-aging::before{background:var(--rh-retro-orange,#f26b38)}
.rh-next-freshness.is-stale::before,
.rh-next-freshness.is-unavailable::before{background:#94a3b8}

.rh-next-title{
  margin:12px 0 0;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:clamp(25px,7vw,36px);
  font-weight:950;
  letter-spacing:-.045em;
  line-height:1.02;
  overflow-wrap:anywhere;
  text-wrap:balance;
}

.rh-next-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:15px;
}
.rh-next-stat{
  min-width:0;
  min-height:62px;
  border-radius:var(--rh-radius-md,16px);
  padding:10px 12px;
  background:var(--rh-surface-muted,#eef3f8);
}
.rh-next-stat small,
.rh-next-stat strong{display:block;min-width:0}
.rh-next-stat small{
  color:var(--rh-text-muted,#334e68);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.2;
  text-transform:uppercase;
}
.rh-next-stat strong{
  margin-top:5px;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:17px;
  font-weight:950;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.rh-next-stat.is-unavailable strong{color:var(--rh-text-muted,#334e68);font-size:13px;font-weight:850}

.rh-next-reason{
  min-width:0;
  margin-top:13px;
  border-left:4px solid var(--rh-green,#4e7a4e);
  border-radius:4px var(--rh-radius-md,16px) var(--rh-radius-md,16px) 4px;
  padding:12px 13px;
  background:color-mix(in srgb,var(--rh-green,#4e7a4e) 8%,white);
}
body.mode-quick .rh-next-reason{
  border-left-color:var(--rh-retro-orange,#f26b38);
  background:color-mix(in srgb,var(--rh-retro-orange,#f26b38) 8%,white);
}
.rh-next-reason strong,
.rh-next-reason span{display:block;min-width:0;overflow-wrap:anywhere}
.rh-next-reason strong{font-size:13px;font-weight:950;line-height:1.25}
.rh-next-reason span{margin-top:4px;color:var(--rh-text-muted,#334e68);font-size:12px;line-height:1.45}

.rh-next-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:16px;
}
.rh-next-primary,
.rh-next-secondary,
.rh-next-tertiary,
.rh-why-trigger{
  min-width:0;
  min-height:44px;
  border-radius:14px;
  padding:10px 12px;
  font:inherit;
  font-size:12px;
  font-weight:950;
  line-height:1.25;
  cursor:pointer;
  touch-action:manipulation;
}
.rh-next-primary{
  grid-column:1/-1;
  min-height:50px;
  border:1px solid transparent;
  background:var(--rh-navy,#0d1b4c);
  color:#fff;
  font-size:14px;
  box-shadow:0 9px 20px color-mix(in srgb,var(--rh-navy,#0d1b4c) 18%,transparent);
}
.rh-next-secondary{
  border:1px solid var(--rh-line,#c6d1dc);
  background:#fff;
  color:var(--rh-deep-navy,#0d1b4c);
}
.rh-next-tertiary,
.rh-why-trigger{
  border:0;
  background:transparent;
  color:var(--rh-blue,#334e68);
}
.rh-next-primary:hover,.rh-next-primary:focus-visible{filter:brightness(1.05)}
.rh-next-secondary:hover,.rh-next-secondary:focus-visible{border-color:var(--rh-blue,#334e68);background:var(--rh-surface-muted,#eef3f8)}
.rh-next-primary:focus-visible,
.rh-next-secondary:focus-visible,
.rh-next-tertiary:focus-visible,
.rh-why-trigger:focus-visible{
  outline:3px solid color-mix(in srgb,var(--rh-retro-blue,#5a98d9) 34%,transparent);
  outline-offset:3px;
}

.rh-route-notice{
  min-width:0;
  margin:12px 16px 0;
  border:1px solid color-mix(in srgb,var(--rh-retro-blue,#5a98d9) 28%,white);
  border-radius:var(--rh-radius-lg,22px);
  padding:13px 14px;
  background:color-mix(in srgb,var(--rh-retro-blue,#5a98d9) 8%,white);
  color:var(--rh-deep-navy,#0d1b4c);
  box-shadow:var(--rh-shadow-sm,0 8px 22px rgba(13,27,76,.07));
}
.rh-route-notice[hidden]{display:none}
.rh-route-notice.is-warning{
  border-color:color-mix(in srgb,var(--rh-retro-orange,#f26b38) 30%,white);
  background:color-mix(in srgb,var(--rh-retro-orange,#f26b38) 9%,white);
}
.rh-route-notice.is-unavailable{
  border-color:color-mix(in srgb,var(--rh-sixers-red,#d62828) 26%,white);
  background:#fff7f7;
}
.rh-route-notice.is-transient{
  position:fixed;
  z-index:1200;
  left:50%;
  bottom:calc(18px + env(safe-area-inset-bottom));
  width:min(calc(100vw - 28px),430px);
  margin:0;
  transform:translateX(-50%);
}
.rh-route-notice strong,
.rh-route-notice span{display:block;overflow-wrap:anywhere}
.rh-route-notice strong{font-size:13px;font-weight:950;line-height:1.3}
.rh-route-notice span{margin-top:3px;color:var(--rh-text-muted,#334e68);font-size:11px;line-height:1.45}
.rh-route-notice-actions{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:9px}
.rh-route-notice button{
  min-height:44px;
  border:0;
  border-radius:12px;
  padding:8px 10px;
  background:transparent;
  color:var(--rh-blue,#334e68);
  font:inherit;
  font-size:11px;
  font-weight:950;
  cursor:pointer;
}
.rh-route-notice button:focus-visible{outline:3px solid color-mix(in srgb,var(--rh-retro-blue,#5a98d9) 34%,transparent);outline-offset:2px}
.rh-route-guidance-status{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}

.route-unavailable-section{
  margin-top:18px;
  padding:14px;
  border:1px solid color-mix(in srgb,var(--rh-sixers-red,#d62828) 20%,white);
  border-radius:var(--rh-radius-lg,22px);
  background:#fff8f8;
}
.route-unavailable-section h3{
  margin:0 0 10px;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.route-unavailable-section .v3-route-stop{
  margin:0;
  border-color:color-mix(in srgb,var(--rh-sixers-red,#d62828) 16%,white);
  background:#fff;
}
.route-unavailable-section .v3-stop-sub{color:var(--rh-text-muted,#334e68)}

.rh-why-details{
  margin-top:12px;
  border:1px solid color-mix(in srgb,var(--rh-line,#c6d1dc) 72%,white);
  border-radius:var(--rh-radius-md,16px);
  background:#fff;
}
.rh-why-summary{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  color:var(--rh-blue,#334e68);
  font-size:12px;
  font-weight:950;
  cursor:pointer;
  list-style:none;
}
.rh-why-summary::-webkit-details-marker{display:none}
.rh-why-summary::after{content:"+";flex:none;font-size:20px;font-weight:700;line-height:1}
.rh-why-details[open] .rh-why-summary::after{content:"\2212"}
.rh-why-summary:focus-visible{outline:3px solid color-mix(in srgb,var(--rh-retro-blue,#5a98d9) 34%,transparent);outline-offset:2px}
.rh-why-content{padding:0 13px 13px;color:var(--rh-text-muted,#334e68);font-size:12px;line-height:1.45}
.rh-why-content h3{margin:0 0 8px;color:var(--rh-deep-navy,#0d1b4c);font-size:14px;line-height:1.25}
.rh-why-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.rh-why-list li{position:relative;min-width:0;padding-left:17px;overflow-wrap:anywhere}
.rh-why-list li::before{
  content:"";
  position:absolute;
  left:1px;
  top:.47em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--rh-green,#4e7a4e);
}

.rh-next-card.is-updating{opacity:.82}
.rh-next-card.is-updating::after{
  content:"";
  display:block;
  width:34px;
  height:3px;
  margin:14px auto 0;
  border-radius:99px;
  background:var(--rh-blue,#334e68);
  animation:rhIntelligencePulse .8s ease-in-out infinite alternate;
}
@keyframes rhIntelligencePulse{from{transform:scaleX(.45);opacity:.45}to{transform:scaleX(1);opacity:1}}

@media (min-width:560px){
  .rh-next-actions{grid-template-columns:minmax(170px,1.35fr) repeat(2,minmax(110px,.8fr))}
  .rh-next-primary{grid-column:auto}
  .rh-route-notice{margin-left:auto;margin-right:auto;max-width:728px}
}

@media (max-width:360px){
  .rh-next-card{padding:16px 13px;border-radius:22px}
  .rh-next-head{align-items:flex-start;flex-direction:column;gap:4px}
  .rh-next-freshness{text-align:left}
  .rh-next-title{font-size:25px}
  .rh-next-stat{padding:9px 10px}
  .rh-next-actions{gap:7px}
  .rh-next-secondary,.rh-next-tertiary,.rh-why-trigger{padding-left:8px;padding-right:8px;font-size:11px}
  .rh-route-notice{margin-left:12px;margin-right:12px}
}

@media (max-width:340px){
  .rh-next-card{padding-left:12px;padding-right:12px}
  .rh-next-stats{gap:6px}
  .rh-next-stat{padding-left:8px;padding-right:8px}
  .rh-next-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .rh-route-notice{margin-left:10px;margin-right:10px;padding-left:12px;padding-right:12px}
}

@media (prefers-reduced-motion:reduce){
  .rh-next-card,
  .rh-next-primary,
  .rh-next-secondary,
  .rh-next-tertiary,
  .rh-route-notice,
  .rh-why-details{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .rh-next-card.is-updating::after{animation:none!important}
}

/* Reference-led active Quick Route page. The visual shell is intentionally
   scoped so Full Day keeps its strategic timeline and attraction support. */
body.route-screen-active .app-nav,
body.route-screen-active .catalog-context-action{display:none!important}
body.mode-quick #screen-route.active{
  background:linear-gradient(180deg,#fff 0,#fffafa 64%,#fff 100%)!important;
  padding-bottom:0!important;
}
body.mode-quick #screen-route .route-screen{
  min-width:0;
  max-width:820px;
  margin:0 auto;
  padding-bottom:calc(38px + env(safe-area-inset-bottom))!important;
}
#screen-route .route-top-bar{
  min-height:72px;
  display:grid;
  grid-template-columns:minmax(44px,1fr) auto minmax(92px,1fr);
  align-items:center;
  gap:10px;
  padding:10px 18px!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
#screen-route .route-top-bar>.route-back-btn{
  justify-self:start;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:15px!important;
  padding:0!important;
  color:var(--rh-deep-navy,#0d1b4c)!important;
  border-color:rgba(13,27,76,.12)!important;
  font-size:28px;
  line-height:1;
}
.route-wordmark-button{
  width:clamp(126px,37vw,158px);
  min-height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:12px;
  padding:8px 0;
  background:transparent;
  cursor:pointer;
}
.route-wordmark-button img{display:block;width:100%;height:auto}
.route-wordmark-button:focus-visible{outline:3px solid rgba(90,152,217,.4);outline-offset:2px}
#screen-route .route-top-bar>.top-bar-actions{justify-self:end;min-width:0}

body.mode-quick #screen-route .rh-route-context{
  min-width:0;
  max-width:760px;
  margin:0 auto;
  padding:24px 20px 8px;
}
.rh-route-context[hidden]{display:none!important}
.rh-route-dashboard{min-width:0}
.rh-route-dashboard h1{
  margin:0;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:clamp(31px,8vw,45px);
  font-weight:950;
  letter-spacing:-.055em;
  line-height:1;
}
.rh-route-dashboard h1:focus{outline:none}
.rh-route-dashboard h1:focus-visible{border-radius:8px;outline:3px solid rgba(90,152,217,.42);outline-offset:5px}
.rh-route-park{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:14px;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:17px;
  font-weight:850;
}
.rh-route-park svg{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:var(--rh-sixers-red,#d62828);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rh-route-park span{min-width:0;overflow-wrap:anywhere}
.rh-route-meta{display:flex;flex-wrap:wrap;align-items:center;gap:11px 16px;margin-top:16px}
.rh-route-progress{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  border-radius:999px;
  padding:7px 13px;
  background:#fff0f0;
  color:var(--rh-deep-navy,#0d1b4c);
  font-size:12px;
  font-weight:780;
}
.rh-route-progress strong{color:var(--rh-sixers-red,#d62828);font-weight:950}
.rh-route-progress i{color:var(--rh-sixers-red,#d62828);font-style:normal}
.rh-route-location{min-width:0;display:inline-flex;align-items:center;gap:8px;color:#687386;font-size:13px;font-weight:720;overflow-wrap:anywhere}
.rh-route-location>i{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:#94a3b8}
.rh-route-location.is-live>i{background:var(--rh-green,#4e7a4e)}
.rh-route-context-actions{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:10px}
.rh-route-context-actions button{
  min-height:44px;
  border:0;
  padding:8px 0;
  background:transparent;
  color:var(--rh-sixers-red,#d62828);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.rh-route-context-actions button:focus-visible{border-radius:8px;outline:3px solid rgba(214,40,40,.25);outline-offset:2px}

body.mode-quick #screen-route .rolling-route-queue{min-width:0;max-width:760px;margin:0 auto;padding:12px 20px 0}
body.mode-quick #screen-route .rh-next-card{
  border:1px solid rgba(13,27,76,.055);
  border-radius:30px;
  padding:22px 22px 20px;
  box-shadow:0 16px 42px rgba(13,27,76,.09);
}
body.mode-quick #screen-route .rh-next-head{align-items:center}
body.mode-quick #screen-route .rh-next-kicker{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  border-radius:999px;
  padding:6px 12px;
  background:#fff0f0;
  font-size:10px;
}
body.mode-quick #screen-route .rh-next-title{margin-top:13px;font-size:clamp(29px,8vw,42px);letter-spacing:-.055em;overflow-wrap:anywhere}
body.mode-quick #screen-route .rh-next-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:20px}
body.mode-quick #screen-route .rh-next-stat{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:0;
  padding:8px 14px 8px 2px;
  background:transparent;
}
body.mode-quick #screen-route .rh-next-stat+ .rh-next-stat{border-left:1px solid #e5e9ef;padding-left:18px}
.rh-next-stat-icon{width:37px;height:37px;display:grid;flex:0 0 37px;place-items:center;border-radius:50%}
.rh-next-stat-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.rh-next-stat-icon.is-wait{color:#fff;background:var(--rh-sixers-red,#d62828)}
.rh-next-stat-icon.is-walk{color:var(--rh-green,#4e7a4e);background:#edf7ed}
body.mode-quick #screen-route .rh-next-stat>span:last-child{min-width:0;display:block}
body.mode-quick #screen-route .rh-next-stat strong{margin:0;color:var(--rh-deep-navy,#0d1b4c);font-size:clamp(17px,5vw,25px);line-height:1.12;overflow-wrap:anywhere}
body.mode-quick #screen-route .rh-next-stat small{margin-top:3px;color:#7a8494;font-size:12px;font-weight:700;letter-spacing:0;line-height:1.2;text-transform:none}
body.mode-quick #screen-route .rh-next-stat.is-unavailable strong{font-size:13px;line-height:1.25}
.rh-next-freshness-line{margin-top:4px}
body.mode-quick #screen-route .rh-next-freshness{display:inline-flex;align-items:center;color:#687386;font-size:11px;text-align:left}
body.mode-quick #screen-route .rh-next-reason{
  margin-top:14px;
  border:0;
  border-top:1px solid #e9ecf1;
  border-radius:0;
  padding:15px 0 0;
  background:transparent;
}
body.mode-quick #screen-route .rh-next-reason span{margin:0;color:#40506a;font-size:14px;line-height:1.48}
body.mode-quick #screen-route .rh-why-details{margin-top:6px;border:0;background:transparent}
body.mode-quick #screen-route .rh-why-summary{min-height:44px;padding:8px 0;color:var(--rh-sixers-red,#d62828)}
body.mode-quick #screen-route .rh-why-content{padding:2px 0 10px}
body.mode-quick #screen-route .rh-next-actions{display:block;margin-top:11px}
body.mode-quick #screen-route .rh-next-primary{
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  border-radius:17px;
  background:var(--rh-sixers-red,#d62828);
  font-size:15px;
  box-shadow:0 10px 22px rgba(214,40,40,.2);
}
.rh-next-primary>span:last-child{font-size:22px;font-weight:500;line-height:1}
.rh-next-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
body.mode-quick #screen-route .rh-next-secondary{min-height:44px;border:0;background:transparent;color:#536178}

body.mode-quick #screen-route #route-body{min-width:0;max-width:760px;margin:0 auto;padding:0 20px}
body.mode-quick #screen-route .rh-route-map-card{
  min-width:0;
  margin:16px 0 0!important;
  border:1px solid rgba(13,27,76,.055)!important;
  border-radius:30px!important;
  padding:7px!important;
  overflow:hidden;
  box-shadow:0 16px 42px rgba(13,27,76,.08)!important;
}
.rh-route-map-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px 10px}
.rh-route-map-heading h2{margin:0;color:var(--rh-deep-navy,#0d1b4c);font-size:15px;font-weight:950;letter-spacing:-.02em;text-transform:none}
.rh-route-map-heading h2:focus{outline:none}.rh-route-map-heading h2:focus-visible{border-radius:6px;outline:3px solid rgba(90,152,217,.4);outline-offset:3px}
.rh-route-map-heading span{color:#798496;font-size:11px;font-weight:800}
.rh-route-map-close{
  min-width:64px;
  min-height:44px;
  border:1px solid rgba(13,27,76,.1);
  border-radius:12px;
  padding:7px 11px;
  color:var(--rh-deep-navy,#0d1b4c);
  background:#fff;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.rh-route-map-close:focus-visible{outline:3px solid rgba(90,152,217,.42);outline-offset:2px}
body.mode-quick #screen-route .rh-route-map-card>.map-wrap{border:0!important;border-radius:23px 23px 7px 7px!important;overflow:hidden}
body.mode-quick #screen-route .rh-park-map-viewport{height:clamp(142px,40vw,152px)}
body.mode-quick #screen-route .route-map-switcher{margin:0 0 7px}
.rh-up-next{min-width:0;padding:17px 12px 10px}
.rh-up-next-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.rh-up-next-heading h2{margin:0;color:var(--rh-deep-navy,#0d1b4c);font-size:17px;font-weight:900;letter-spacing:-.025em}
.rh-up-next-heading button{min-height:44px;border:0;padding:8px 0;background:transparent;color:var(--rh-sixers-red,#d62828);font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.rh-up-next-heading button:focus-visible{border-radius:7px;outline:3px solid rgba(214,40,40,.25);outline-offset:2px}
.rh-up-next-list,.rh-route-full-itinerary{min-width:0;border:1px solid #e7ebf0;border-radius:17px;background:#fff;overflow:hidden}
.rh-route-full-itinerary{margin:0 12px 12px}.rh-route-full-itinerary[hidden]{display:none}
.rh-route-full-itinerary:focus{outline:none}.rh-route-full-itinerary:focus-visible{outline:3px solid rgba(90,152,217,.4);outline-offset:2px}
.rh-up-next-row{
  min-width:0;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-height:51px;
  padding:8px 11px;
  color:var(--rh-deep-navy,#0d1b4c);
}
.rh-up-next-row+ .rh-up-next-row{border-top:1px solid #edf0f4}
.rh-up-next-number{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#edf7ed;color:var(--rh-green,#4e7a4e);font-size:12px;font-weight:950}
.rh-up-next-row strong{min-width:0;font-size:12px;font-weight:850;line-height:1.3;overflow-wrap:anywhere}
.rh-up-next-wait{color:var(--rh-green,#4e7a4e);font-size:11px;font-weight:850;white-space:nowrap}
.rh-up-next-empty{margin:0;padding:15px;color:#687386;font-size:12px;line-height:1.45}
.rh-route-utility-actions{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:16px 0 0;
  border:1px solid rgba(13,27,76,.08);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(13,27,76,.07);
  overflow:hidden;
}
.rh-route-utility-actions button{
  min-width:0;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  padding:9px 12px;
  background:#fff;
  color:var(--rh-deep-navy,#0d1b4c);
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.rh-route-utility-actions button+button{border-left:1px solid #e8ebef}
.rh-route-utility-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rh-route-utility-actions button:focus-visible{outline:3px solid rgba(90,152,217,.4);outline-offset:-4px}
body.mode-quick #screen-route .route-growth-actions{max-width:720px;margin:18px auto 30px;padding:0 20px}

/* Exact-reference quiet state. Route tools stay available from the
   functional star or Map button; Full Day keeps the established shell. */
body.mode-quick #screen-route .route-top-bar{
  position:relative!important;
  top:auto!important;
  min-height:106px;
  grid-template-columns:1fr;
  justify-content:center;
  padding:22px 20px 8px!important;
  background:transparent!important;
}
body.mode-quick #screen-route .route-top-bar>.route-back-btn,
body.mode-quick #screen-route .route-top-bar>.top-bar-actions,
body.mode-quick #screen-route .route-growth-actions{display:none!important}
body.mode-quick #screen-route .route-wordmark-button{justify-self:center;width:clamp(148px,39vw,176px);padding:6px 0}
body.mode-quick #screen-route .rh-route-context,
body.mode-quick #screen-route .rolling-route-queue,
body.mode-quick #screen-route #route-body{max-width:610px}
body.mode-quick #screen-route .rh-route-context{padding:29px 20px 8px}
body.mode-quick #screen-route .rh-route-meta{flex-direction:column;align-items:flex-start;gap:12px;margin-top:18px}
body.mode-quick #screen-route .rh-route-context-actions{display:none!important}
body.mode-quick #screen-route .rolling-route-queue{padding-top:14px}
body.mode-quick #screen-route .rh-next-card{position:relative;min-height:0;padding:24px}
body.mode-quick #screen-route .rh-next-title{padding-right:52px}
body.mode-quick #screen-route .rh-next-stats{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);margin-top:24px}
body.mode-quick #screen-route .rh-next-stat-icon.is-walk{background:transparent}
body.mode-quick #screen-route .rh-next-metric{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
body.mode-quick #screen-route .rh-next-metric strong{font-size:clamp(25px,7vw,36px);font-weight:600;letter-spacing:-.04em}
body.mode-quick #screen-route .rh-next-metric>span{color:#56647a;font-size:14px;font-weight:750}
body.mode-quick #screen-route .rh-next-metric i{color:#687386;font-size:10px;font-style:normal;font-weight:800}
body.mode-quick #screen-route .rh-next-reason{margin-top:22px;padding-top:18px}
body.mode-quick #screen-route .rh-next-actions{margin-top:18px}
.rh-next-star{
  position:absolute;
  z-index:2;
  top:54px;
  right:22px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  padding:8px;
  color:var(--rh-sixers-red,#d62828);
  background:transparent;
  cursor:pointer;
}
.rh-next-star svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rh-next-star:focus-visible{outline:3px solid rgba(214,40,40,.28);outline-offset:1px}
.rh-empty-route-options{min-height:44px;margin-top:14px;border:1px solid rgba(214,40,40,.22);border-radius:14px;padding:8px 14px;color:var(--rh-sixers-red,#d62828);background:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.rh-empty-route-options:focus-visible{outline:3px solid rgba(90,152,217,.42);outline-offset:2px}
body.mode-quick #screen-route .rh-next-freshness-line,
body.mode-quick #screen-route .rh-why-details,
body.mode-quick #screen-route .rh-next-secondary-actions{display:none!important}
body.mode-quick #screen-route .rh-route-map-card{position:relative;margin-top:18px!important;padding:6px!important;border-radius:28px!important}
body.mode-quick #screen-route .rh-route-map-heading{display:none!important}
body.mode-quick #screen-route .rh-route-map-card>.map-wrap{position:relative;border-radius:22px 22px 4px 4px!important}
.rh-map-walk-chip{
  position:absolute;
  z-index:8;
  top:16px;
  left:16px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:7px 11px;
  color:var(--rh-deep-navy,#0d1b4c);
  background:rgba(255,255,255,.96);
  box-shadow:0 5px 14px rgba(13,27,76,.12);
  font-size:11px;
  font-weight:850;
}
.rh-map-walk-chip[hidden]{display:none!important}
.rh-map-walk-chip svg{width:18px;height:18px;fill:none;stroke:var(--rh-green,#4e7a4e);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.mode-quick #screen-route .route-map-switcher,
body.mode-quick #screen-route .route-map-truth-note,
body.mode-quick #screen-route .rh-park-map-controls,
body.mode-quick #screen-route .rh-park-map-status,
body.mode-quick #screen-route .rh-park-map-quality,
body.mode-quick #screen-route #route-start-controls,
body.mode-quick #screen-route .ak-route-disclaimer{display:none!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .rh-route-map-heading{display:flex!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .route-map-switcher{display:grid!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .route-map-truth-note,
body.mode-quick #screen-route .rh-route-map-card.is-map-active #route-start-controls,
body.mode-quick #screen-route .rh-route-map-card.is-map-active .ak-route-disclaimer{display:block!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .rh-park-map-controls{display:grid!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .rh-park-map-status,
body.mode-quick #screen-route .rh-route-map-card.is-map-active .rh-park-map-quality{display:block!important}
body.mode-quick #screen-route .rh-route-map-card.is-map-active .rh-park-map-viewport{height:clamp(280px,66vw,390px)}
body.mode-quick #screen-route .rh-park-map-attribution{font-size:10px;padding:2px 4px}
body.mode-quick #screen-route .rh-up-next{padding:15px 12px 10px}
.rh-up-next-button{width:100%;grid-template-columns:30px minmax(0,1fr) auto 18px;border:0;background:#fff;text-align:left;font:inherit;cursor:pointer}
.rh-up-next-button:focus-visible{position:relative;z-index:1;outline:3px solid rgba(90,152,217,.4);outline-offset:-3px}
.rh-up-next-arrow{color:var(--rh-deep-navy,#0d1b4c);font-size:22px;font-weight:400;line-height:1}
body.mode-quick #screen-route .rh-up-next-row{min-height:58px}
body.mode-quick #screen-route .rh-up-next-row strong{font-size:14px}
body.mode-quick #screen-route .rh-up-next-wait{font-size:13px}
body.mode-quick #screen-route .rh-route-utility-actions{margin-top:38px;border-radius:20px}
body.mode-quick #screen-route .rh-route-utility-actions button{min-height:64px;font-size:15px}
body.mode-quick #screen-route .rh-route-utility-actions button+button{position:relative;border-left:0}
body.mode-quick #screen-route .rh-route-utility-actions button+button::before{position:absolute;left:0;top:50%;width:1px;height:32px;background:#e8ebef;translate:0 -50%;content:""}

.rh-route-options-dialog{
  width:min(92vw,440px);
  max-height:min(84vh,720px);
  margin:auto;
  border:0;
  border-radius:26px;
  padding:0;
  color:var(--rh-deep-navy,#0d1b4c);
  background:#fff;
  box-shadow:0 26px 80px rgba(13,27,76,.28);
}
.rh-route-options-dialog::backdrop{background:rgba(13,27,76,.48);backdrop-filter:blur(4px)}
.rh-route-options-sheet{padding:20px;overflow:auto}
.rh-route-options-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--rh-sixers-red,#d62828);font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.rh-route-options-head button{width:44px;height:44px;border:0;border-radius:50%;color:var(--rh-deep-navy,#0d1b4c);background:#f4f6f9;font:500 26px/1 system-ui;cursor:pointer}
.rh-route-options-sheet h2{margin:8px 0 4px;font-size:clamp(24px,7vw,32px);line-height:1.08;letter-spacing:-.04em;overflow-wrap:anywhere}
.rh-route-options-sheet h2:focus{outline:none}.rh-route-options-sheet h2:focus-visible{border-radius:7px;outline:3px solid rgba(90,152,217,.4);outline-offset:3px}
.rh-route-options-freshness{margin:0;color:#667085;font-size:12px;font-weight:750}
.rh-route-options-reasons{margin:16px 0;padding:14px 14px 14px 30px;border-radius:17px;color:#40506a;background:#f7f9fb;font-size:13px;line-height:1.45}
.rh-route-options-reasons li+li{margin-top:7px}
.rh-route-options-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rh-route-options-primary button,.rh-route-options-list button{min-height:46px;border:1px solid rgba(13,27,76,.12);border-radius:14px;padding:9px 12px;color:var(--rh-deep-navy,#0d1b4c);background:#fff;font:inherit;font-size:13px;font-weight:850;cursor:pointer}
.rh-route-options-primary button:first-child{border-color:var(--rh-sixers-red,#d62828);color:#fff;background:var(--rh-sixers-red,#d62828)}
.rh-route-options-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.rh-route-options-list button.is-danger{color:var(--rh-sixers-red,#d62828)}
.rh-route-options-dialog button:focus-visible{outline:3px solid rgba(90,152,217,.45);outline-offset:2px}

@media (max-width:430px){
  #screen-route .route-top-bar{padding-inline:14px!important}
  body.mode-quick #screen-route .rh-route-context{padding-inline:18px}
  body.mode-quick #screen-route .rolling-route-queue,
  body.mode-quick #screen-route #route-body{padding-left:18px;padding-right:18px}
}
@media (max-width:390px){
  #screen-route .route-top-bar{grid-template-columns:minmax(44px,1fr) auto minmax(88px,1fr);gap:7px}
  .route-wordmark-button{width:128px}
  #screen-route .route-share-top{min-width:44px;padding-inline:6px;font-size:10px}
  body.mode-quick #screen-route .rh-next-card{padding:20px 18px 18px}
}
@media (max-width:360px){
  #screen-route .route-top-bar{padding-inline:11px!important}
  .route-wordmark-button{width:116px}
  body.mode-quick #screen-route .rh-route-context{padding:19px 14px 6px}
  body.mode-quick #screen-route .rolling-route-queue,
  body.mode-quick #screen-route #route-body{padding-left:12px;padding-right:12px}
  body.mode-quick #screen-route .rh-next-head{flex-direction:row;align-items:center}
  body.mode-quick #screen-route .rh-next-freshness{text-align:left}
  body.mode-quick #screen-route .rh-next-card{min-height:0}
  body.mode-quick #screen-route .rh-next-stat{gap:8px;padding-right:8px}
  body.mode-quick #screen-route .rh-next-stat+ .rh-next-stat{padding-left:10px}
  .rh-next-stat-icon{width:32px;height:32px;flex-basis:32px}.rh-next-stat-icon svg{width:20px;height:20px}
  .rh-up-next-row{grid-template-columns:27px minmax(0,1fr) auto;gap:6px;padding-inline:8px}
  body.mode-quick #screen-route .rh-up-next-button{grid-template-columns:27px minmax(0,1fr) auto 16px}
  .rh-up-next-number{width:25px;height:25px}
}
@media (max-width:340px){
  #screen-route .route-top-bar{grid-template-columns:44px minmax(92px,1fr) 92px}
  .route-wordmark-button{width:105px;justify-self:center}
  #screen-route .route-top-bar>.top-bar-actions{gap:4px}
  #screen-route .friends-trigger{width:44px;min-width:44px}
  body.mode-quick #screen-route .rh-next-card{min-height:0;padding:18px 14px 16px;border-radius:25px}
  body.mode-quick #screen-route .rh-next-stat strong{font-size:15px}
  body.mode-quick #screen-route .rh-next-metric strong{font-size:23px}
  .rh-up-next-heading{align-items:flex-start}.rh-up-next-heading button{font-size:11px}
  .rh-up-next-wait{font-size:10px}
  .rh-route-utility-actions button{padding-inline:7px;font-size:12px}
  .rh-route-options-list{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .rh-route-context *,
  .rh-route-map-card *,
  .rh-route-utility-actions *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Approved Your Route layout: one shared park-companion shell for Quick and
   Maximize My Day. Mode-specific logic remains in the route engines. */
body.route-screen-active #screen-route.active{padding-bottom:0;background:#fbfaf8}
body.route-screen-active #screen-route .route-screen{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
body.route-screen-active #screen-route .route-top-bar{
  position:relative!important;
  top:auto!important;
  min-height:106px;
  grid-template-columns:1fr;
  justify-content:center;
  padding:22px 20px 8px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.route-screen-active #screen-route .route-top-bar>.route-back-btn,
body.route-screen-active #screen-route .route-top-bar>.top-bar-actions,
body.route-screen-active #screen-route .route-growth-actions{display:none!important}
body.route-screen-active #screen-route .route-wordmark-button{justify-self:center;width:clamp(148px,39vw,176px);padding:6px 0}
body.route-screen-active #screen-route .rh-route-context,
body.route-screen-active #screen-route .rolling-route-queue,
body.route-screen-active #screen-route #route-body{width:100%;max-width:610px;margin-inline:auto}
body.route-screen-active #screen-route .rh-route-context{padding:29px 20px 8px}
body.route-screen-active #screen-route .rolling-route-queue{padding:14px 20px 0}
body.route-screen-active #screen-route #route-body{padding:0 20px}
body.route-screen-active #screen-route .rh-route-meta{display:none}
.rh-route-status{
  min-width:0;
  min-height:42px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 9px;
  width:max-content;
  max-width:100%;
  margin-top:18px;
  border:1px solid rgba(214,40,40,.055);
  border-radius:16px;
  padding:9px 12px;
  color:var(--rh-deep-navy,#0d1b4c);
  background:#fff5f4;
  font-size:12px;
  font-weight:780;
  line-height:1.25;
}
.rh-route-mode{color:var(--rh-sixers-red,#d62828);font-weight:950;white-space:nowrap}
body.mode-strategic .rh-route-mode{color:var(--rh-vintage-blue,#334e68)}
.rh-route-dot{color:var(--rh-sixers-red,#d62828);font-weight:950}
.rh-route-progress{min-height:0;border:0;border-radius:0;padding:0;background:transparent;color:var(--rh-deep-navy,#0d1b4c);white-space:nowrap}
.rh-route-divider{width:1px;height:18px;background:#dfe4ea}
.rh-route-wait-status{min-width:0;display:inline-flex;align-items:center;gap:7px;color:#667085;overflow-wrap:break-word}
.rh-route-wait-status>i{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#94a3b8}
.rh-route-wait-status.is-fresh>i{background:var(--rh-green,#4e7a4e)}
.rh-route-wait-status.is-stale>i{background:var(--rh-retro-orange,#f26b38)}
.rh-route-wait-status.is-unavailable>i{background:#8c96a5}
body.route-screen-active #screen-route .rh-next-card{
  position:relative;
  min-height:0;
  border:1px solid rgba(13,27,76,.05);
  border-radius:24px;
  padding:24px;
  background:#fff;
  box-shadow:0 8px 28px rgba(13,27,76,.075);
}
body.route-screen-active #screen-route .rh-next-title{padding-right:52px;font-size:clamp(29px,8vw,42px)}
body.route-screen-active #screen-route .rh-next-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:24px}
body.route-screen-active #screen-route .rh-next-stat-icon.is-walk{background:transparent}
body.route-screen-active #screen-route .rh-next-metric{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
body.route-screen-active #screen-route .rh-next-metric strong{font-size:clamp(25px,7vw,36px);font-weight:600;letter-spacing:-.04em}
body.route-screen-active #screen-route .rh-next-metric>span{color:#56647a;font-size:14px;font-weight:750}
body.route-screen-active #screen-route .rh-next-metric i{color:#687386;font-size:10px;font-style:normal;font-weight:800}
body.route-screen-active #screen-route .rh-next-reason{display:flex;align-items:center;gap:9px;margin-top:22px;border-top:1px solid #e9ecf1;padding:18px 0 0;background:transparent}
body.route-screen-active #screen-route .rh-next-reason>i{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--rh-green,#4e7a4e)}
body.route-screen-active #screen-route .rh-next-reason.is-unavailable>i{background:var(--rh-retro-orange,#f26b38)}
body.route-screen-active #screen-route .rh-next-reason.is-limited>i{background:#94a3b8}
body.route-screen-active #screen-route .rh-next-reason span{color:#40506a;font-size:14px;font-weight:780;line-height:1.4}
body.route-screen-active #screen-route .rh-next-actions{margin-top:18px}
body.route-screen-active #screen-route .rh-next-primary{min-height:56px;border-radius:17px}
body.mode-strategic #screen-route .rh-next-kicker{color:var(--rh-vintage-blue,#334e68);background:#edf3f8}
body.mode-strategic #screen-route .rh-next-primary{background:var(--rh-vintage-blue,#334e68);box-shadow:0 10px 22px rgba(51,78,104,.18)}
body.route-screen-active #screen-route .rh-route-map-card{
  position:relative;
  margin:18px 0 0!important;
  border:1px solid rgba(13,27,76,.05)!important;
  border-radius:24px!important;
  padding:6px!important;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(13,27,76,.07)!important;
}
body.route-screen-active #screen-route .rh-route-map-heading{display:none!important}
body.route-screen-active #screen-route .rh-route-map-card>.map-wrap{position:relative;border:0!important;border-radius:19px 19px 4px 4px!important;overflow:hidden}
body.route-screen-active #screen-route .rh-park-map-viewport{height:clamp(142px,40vw,152px)}
body.route-screen-active #screen-route .route-map-switcher,
body.route-screen-active #screen-route .route-map-truth-note,
body.route-screen-active #screen-route .rh-park-map-controls,
body.route-screen-active #screen-route .rh-park-map-status,
body.route-screen-active #screen-route .rh-park-map-quality,
body.route-screen-active #screen-route #route-start-controls,
body.route-screen-active #screen-route .ak-route-disclaimer{display:none!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .rh-route-map-heading{display:flex!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .route-map-switcher{display:grid!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .route-map-truth-note,
body.route-screen-active #screen-route .rh-route-map-card.is-map-active #route-start-controls,
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .ak-route-disclaimer{display:block!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .rh-park-map-controls{display:grid!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .rh-park-map-status,
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .rh-park-map-quality{display:block!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active .rh-park-map-viewport{height:clamp(280px,66vw,390px)}
.rh-up-next{padding:15px 12px 10px}
.rh-up-next-row{grid-template-columns:30px minmax(0,1fr) minmax(76px,auto) 18px;gap:9px;min-height:62px;padding:8px 11px}
.rh-up-next-name{min-width:0}.rh-up-next-name strong{display:block;overflow-wrap:break-word;word-break:normal}
.rh-up-next-details{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right}
.rh-up-next-wait{font-size:13px;white-space:normal}.rh-up-next-walk{color:#687386;font-size:11px;font-weight:720;line-height:1.25;white-space:normal}
.rh-completed-card{margin-top:14px;border:1px solid rgba(13,27,76,.06);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(13,27,76,.055);overflow:hidden}
.rh-completed-toggle{width:100%;min-height:56px;display:grid;grid-template-columns:30px minmax(0,1fr) 28px;align-items:center;gap:10px;border:0;padding:10px 14px;color:var(--rh-deep-navy,#0d1b4c);background:#fff;text-align:left;font:inherit;font-size:14px;font-weight:900;cursor:pointer}
.rh-completed-toggle:disabled{cursor:default;opacity:.72}.rh-completed-toggle:focus-visible{outline:3px solid rgba(90,152,217,.42);outline-offset:-3px}
.rh-completed-check{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--rh-green,#4e7a4e);font-size:14px;font-weight:950}
.rh-completed-chevron{justify-self:end;color:#687386;font-size:18px}.rh-completed-list[hidden]{display:none}
.rh-completed-list:focus{outline:none}.rh-completed-list:focus-visible{outline:3px solid rgba(90,152,217,.42);outline-offset:-3px}
.rh-completed-row{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;border-top:1px solid #edf0f4;padding:10px 14px;color:var(--rh-deep-navy,#0d1b4c)}
.rh-completed-row strong,.rh-completed-row small{display:block;overflow-wrap:break-word}.rh-completed-row strong{font-size:13px}.rh-completed-row small{margin-top:3px;color:#687386;font-size:11px;line-height:1.35}
.rh-completed-empty{margin:0;border-top:1px solid #edf0f4;padding:14px;color:#687386;font-size:12px}
body.route-screen-active #screen-route .rh-route-utility-actions{margin-top:16px;border-radius:20px}
body.route-screen-active #screen-route .rh-route-utility-actions button{min-height:60px;font-size:15px}
.rh-route-empty-state{border:1px solid rgba(13,27,76,.05);border-radius:24px;padding:28px 22px;background:#fff;text-align:center;box-shadow:0 8px 28px rgba(13,27,76,.07)}
.rh-route-empty-check{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 13px;border-radius:50%;color:#fff;background:var(--rh-vintage-blue,#334e68);font-size:22px;font-weight:950}.rh-route-empty-state.is-complete .rh-route-empty-check{background:var(--rh-green,#4e7a4e)}
.rh-route-empty-state h2{margin:0;color:var(--rh-deep-navy,#0d1b4c);font-size:clamp(25px,7vw,34px);letter-spacing:-.04em}.rh-route-empty-state p{margin:9px auto 0;max-width:34ch;color:#687386;line-height:1.5}
.rh-route-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:19px}.rh-route-empty-actions button{min-height:48px;border:1px solid rgba(13,27,76,.12);border-radius:15px;padding:10px 16px;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.rh-route-empty-actions button:focus-visible{outline:3px solid rgba(90,152,217,.42);outline-offset:2px}.rh-empty-primary{border-color:var(--rh-sixers-red,#d62828)!important;color:#fff;background:var(--rh-sixers-red,#d62828)}.rh-empty-secondary{color:var(--rh-deep-navy,#0d1b4c);background:#fff}
body.route-screen-active #screen-route.is-route-complete #route-body{display:none}

@media (max-width:430px){
  body.route-screen-active #screen-route .rh-route-context{padding-inline:18px}
  body.route-screen-active #screen-route .rolling-route-queue,
  body.route-screen-active #screen-route #route-body{padding-left:18px;padding-right:18px}
}
@media (max-width:360px){
  body.route-screen-active #screen-route .rh-route-context{padding:19px 14px 6px}
  body.route-screen-active #screen-route .rolling-route-queue,
  body.route-screen-active #screen-route #route-body{padding-left:12px;padding-right:12px}
  .rh-route-status{width:100%;gap:6px 8px}.rh-route-divider{display:none}.rh-route-wait-status{flex-basis:100%}
  body.route-screen-active #screen-route .rh-next-card{padding:20px 17px 18px}
  .rh-up-next-row{grid-template-columns:27px minmax(0,1fr) minmax(68px,auto) 16px;gap:6px;padding-inline:8px}
  .rh-up-next-number{width:25px;height:25px}.rh-up-next-wait{font-size:11px}.rh-up-next-walk{font-size:10px}
}
@media (max-width:340px){
  body.route-screen-active #screen-route .rh-next-card{padding:18px 14px 16px}
  .rh-up-next-row{grid-template-columns:25px minmax(0,1fr) minmax(62px,auto) 14px}
  .rh-completed-toggle{padding-inline:10px}.rh-route-utility-actions button{padding-inline:7px;font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  body.route-screen-active #screen-route *,
  .rh-route-options-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Single-screen route companion
   Keep the default decision view inside one mobile viewport. Rich map,
   itinerary, and completion details remain available after an explicit tap. */
body.route-screen-active #screen-route .route-screen{
  padding-bottom:calc(14px + env(safe-area-inset-bottom))!important;
}
body.route-screen-active #screen-route .route-top-bar{
  min-height:58px;
  padding:7px 16px 2px!important;
}
body.route-screen-active #screen-route .route-wordmark-button{
  width:clamp(118px,34vw,146px);
  min-height:44px;
  padding:7px 0;
}
body.route-screen-active #screen-route .rh-route-context{padding:12px 20px 4px}
body.route-screen-active #screen-route .rh-route-dashboard h1{font-size:clamp(27px,7vw,36px)}
body.route-screen-active #screen-route .rh-route-park{gap:7px;margin-top:7px;font-size:15px}
body.route-screen-active #screen-route .rh-route-park svg{width:19px;height:19px;flex-basis:19px}
body.route-screen-active #screen-route .rh-route-status{
  min-height:36px;
  margin-top:9px;
  border-radius:14px;
  padding:7px 10px;
  font-size:11px;
}
body.route-screen-active #screen-route .rolling-route-queue{padding-top:7px}
body.route-screen-active #screen-route .rh-next-card{border-radius:21px;padding:17px 18px 16px}
body.route-screen-active #screen-route .rh-next-kicker{min-height:27px;padding:4px 10px}
body.route-screen-active #screen-route .rh-next-title{
  margin-top:7px;
  font-size:clamp(25px,7vw,34px);
  line-height:1.04;
}
body.route-screen-active #screen-route .rh-next-star{top:32px;right:12px}
body.route-screen-active #screen-route .rh-next-stats{margin-top:12px}
body.route-screen-active #screen-route .rh-next-stat{min-height:58px;gap:9px;padding-block:4px}
body.route-screen-active #screen-route .rh-next-stat-icon{width:32px;height:32px;flex-basis:32px}
body.route-screen-active #screen-route .rh-next-stat-icon svg{width:20px;height:20px}
body.route-screen-active #screen-route .rh-next-metric strong{font-size:clamp(22px,6vw,30px)}
body.route-screen-active #screen-route .rh-next-reason{margin-top:10px;padding-top:10px}
body.route-screen-active #screen-route .rh-next-reason span{font-size:12px;line-height:1.3}
body.route-screen-active #screen-route .rh-next-actions{margin-top:10px}
body.route-screen-active #screen-route .rh-next-primary{min-height:48px;border-radius:15px;font-size:14px}
body.route-screen-active #screen-route .rh-route-map-card{
  margin-top:9px!important;
  border-radius:20px!important;
  padding:4px!important;
}
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.map-wrap,
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.rh-map-walk-chip{
  display:none!important;
}
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active) .rh-up-next{
  border-radius:16px;
}
body.route-screen-active #screen-route .rh-up-next{padding:7px 9px 6px}
body.route-screen-active #screen-route .rh-up-next-heading{margin-bottom:3px}
body.route-screen-active #screen-route .rh-up-next-heading h2{font-size:15px}
body.route-screen-active #screen-route .rh-up-next-row{min-height:48px;padding-block:5px}
body.route-screen-active #screen-route .rh-up-next-row strong{font-size:12px}
body.route-screen-active #screen-route .rh-completed-card{margin-top:8px;border-radius:17px}
body.route-screen-active #screen-route .rh-completed-toggle{min-height:48px;padding-block:6px}
body.route-screen-active #screen-route .rh-completed-check{width:24px;height:24px;font-size:12px}
body.route-screen-active #screen-route .rh-route-utility-actions{margin-top:8px;border-radius:17px}
body.route-screen-active #screen-route .rh-route-utility-actions button{min-height:50px;font-size:13px}

/* A 320x568-class viewport needs a denser resting state. Controls retain a
   44px target; secondary content is still reachable from Full route / Map. */
@media (max-width:430px) and (max-height:700px){
  body.route-screen-active #screen-route .route-screen{padding-bottom:calc(4px + env(safe-area-inset-bottom))!important}
  body.route-screen-active #screen-route .route-top-bar{min-height:44px;padding:2px 12px 0!important}
  body.route-screen-active #screen-route .route-wordmark-button{width:108px;min-height:44px;padding:7px 0}
  body.route-screen-active #screen-route .rh-route-context{padding:2px 12px 0}
  body.route-screen-active #screen-route .rh-route-dashboard h1{font-size:23px;line-height:1}
  body.route-screen-active #screen-route .rh-route-park{gap:5px;margin-top:3px;font-size:12px;line-height:1.15}
  body.route-screen-active #screen-route .rh-route-park svg{width:15px;height:15px;flex-basis:15px}
  body.route-screen-active #screen-route .rh-route-status{
    width:100%;
    min-height:28px;
    gap:3px 6px;
    margin-top:5px;
    border-radius:11px;
    padding:4px 7px;
    font-size:10px;
    line-height:1.1;
  }
  body.route-screen-active #screen-route .rh-route-wait-status{flex-basis:auto}
  body.route-screen-active #screen-route .rolling-route-queue{padding:4px 12px 0}
  body.route-screen-active #screen-route .rh-next-card{border-radius:17px;padding:9px 11px}
  body.route-screen-active #screen-route .rh-next-kicker{min-height:20px;padding:3px 7px;font-size:10px}
  body.route-screen-active #screen-route .rh-next-title{
    margin-top:4px;
    padding-right:44px;
    font-size:clamp(20px,6.5vw,25px);
    line-height:1.04;
  }
  body.route-screen-active #screen-route .rh-next-star{top:19px;right:5px}
  body.route-screen-active #screen-route .rh-next-stats{margin-top:6px}
  body.route-screen-active #screen-route .rh-next-stat{min-height:42px;gap:6px;padding:2px 5px 2px 0}
  body.route-screen-active #screen-route .rh-next-stat+.rh-next-stat{padding-left:8px}
  body.route-screen-active #screen-route .rh-next-stat-icon{width:27px;height:27px;flex-basis:27px}
  body.route-screen-active #screen-route .rh-next-stat-icon svg{width:17px;height:17px}
  body.route-screen-active #screen-route .rh-next-metric{gap:3px}
  body.route-screen-active #screen-route .rh-next-metric strong{font-size:20px}
  body.route-screen-active #screen-route .rh-next-metric>span{font-size:11px}
  body.route-screen-active #screen-route .rh-next-metric i{font-size:10px}
  body.route-screen-active #screen-route .rh-next-stat small{margin-top:1px;font-size:10px}
  body.route-screen-active #screen-route .rh-next-stat.is-unavailable strong{font-size:11px}
  body.route-screen-active #screen-route .rh-next-reason{margin-top:5px;padding-top:5px}
  body.route-screen-active #screen-route .rh-next-reason span{
    display:-webkit-box;
    overflow:hidden;
    font-size:11px;
    line-height:1.2;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  body.route-screen-active #screen-route .rh-next-actions{margin-top:6px}
  body.route-screen-active #screen-route .rh-next-primary{min-height:48px;border-radius:13px;font-size:13px}
  body.route-screen-active #screen-route #route-body{padding:0 12px}
  body.route-screen-active #screen-route .rh-route-map-card{margin-top:5px!important;padding:3px!important;border-radius:16px!important}
  body.route-screen-active #screen-route .rh-up-next{padding:2px 6px 3px}
  body.route-screen-active #screen-route .rh-up-next-heading{margin-bottom:0}
  body.route-screen-active #screen-route .rh-up-next-heading h2{font-size:13px}
  body.route-screen-active #screen-route .rh-up-next-heading button{min-height:44px;padding-block:5px;font-size:11px}
  body.route-screen-active #screen-route .rh-up-next-row{min-height:44px;gap:5px;padding:3px 5px}
  body.route-screen-active #screen-route .rh-up-next-row strong{font-size:11px;line-height:1.15}
  body.route-screen-active #screen-route .rh-up-next-number{width:22px;height:22px;font-size:10px}
  body.route-screen-active #screen-route .rh-up-next-details{gap:1px}
  body.route-screen-active #screen-route .rh-up-next-wait{font-size:11px}
  body.route-screen-active #screen-route .rh-up-next-walk{font-size:10px;line-height:1.1}
  body.route-screen-active #screen-route .rh-completed-card{margin-top:4px}
  body.route-screen-active #screen-route .rh-completed-toggle{min-height:44px}
  body.route-screen-active #screen-route .rh-route-utility-actions{margin-top:5px;border-radius:15px}
  body.route-screen-active #screen-route .rh-route-utility-actions button{min-height:44px;font-size:12px}
  body.route-screen-active #screen-route .rh-route-utility-actions svg{width:18px;height:18px}
}

@media (max-width:340px) and (max-height:620px){
  body.route-screen-active #screen-route #rh-up-next-list>.rh-up-next-row:nth-child(n+2){display:none}
}

/* Keep the approved compact park preview separate from the detailed map
   inspector. Taller screens show the compact preview by default; shorter screens
   reveal it only after Start Walking so the resting page still fits. */
@media (min-height:900px){
  body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.map-wrap{display:block!important}
  body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.rh-map-walk-chip:not([hidden]){display:inline-flex!important}
}
body.route-screen-active #screen-route .rh-route-map-card.is-walking-preview:not(.is-map-active)>.map-wrap{display:block!important}
body.route-screen-active #screen-route .rh-route-map-card.is-walking-preview:not(.is-map-active)>.rh-map-walk-chip:not([hidden]){display:inline-flex!important}
body.route-screen-active #screen-route .rh-route-map-card.is-map-active>.rh-map-walk-chip{display:none!important}

/* The approved header uses a compact mode/progress pill plus a quiet,
   truthful freshness line instead of one oversized tinted panel. */
body.route-screen-active #screen-route .rh-route-status{
  max-width:100%;
  min-height:0;
  gap:7px 10px;
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
}
body.route-screen-active #screen-route .rh-route-summary{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid color-mix(in srgb,var(--rh-route-accent,#d62828) 12%,white);
  border-radius:12px;
  padding:7px 10px;
  background:var(--rh-route-accent-soft,#fff0ed);
}
body.route-screen-active #screen-route .rh-route-divider{display:none}
body.route-screen-active #screen-route .rh-route-wait-status{flex-basis:100%;padding-left:3px}
@media (max-width:430px) and (max-height:700px){
  body.route-screen-active #screen-route .rh-route-status{width:100%;gap:3px 7px;padding:0}
  body.route-screen-active #screen-route .rh-route-summary{gap:6px;border-radius:10px;padding:4px 7px}
  body.route-screen-active #screen-route .rh-route-wait-status{flex-basis:auto;padding-left:0}
}

/* Map-first route panel and explicit arrival confirmation. */
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.map-wrap{display:block!important}
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active)>.rh-map-walk-chip:not([hidden]){display:inline-flex!important}
body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active) .rh-park-map-viewport{height:clamp(108px,30vw,142px)}
.rh-route-map-summary{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px}
.rh-route-map-summary h2,.rh-route-full-itinerary h2{margin:0;color:var(--rh-deep-navy,#0d1b4c);font-size:16px;font-weight:900;letter-spacing:-.02em}
.rh-route-map-summary button{min-height:44px;border:0;padding:7px 0;color:var(--rh-route-accent,var(--rh-sixers-red,#d62828));background:transparent;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.rh-route-map-summary button:focus-visible{border-radius:8px;outline:3px solid rgba(90,152,217,.42);outline-offset:2px}
.rh-route-full-itinerary{margin:0 8px 8px;border:1px solid #e7ebf0;border-radius:17px;padding:10px 6px 6px;background:#fff;overflow:hidden}
.rh-route-full-itinerary>h2{padding:2px 8px 9px}
.rh-route-full-itinerary #rh-route-full-list{border:1px solid #edf0f4;border-radius:13px;overflow:hidden}
.rh-route-full-itinerary .rh-up-next-row{grid-template-columns:30px minmax(0,1fr) minmax(76px,auto)}
body.route-screen-active #screen-route .rh-next-primary.is-arrival{background:var(--rh-green,#4e7a4e);box-shadow:0 10px 22px rgba(78,122,78,.2)}
@media (max-width:430px) and (max-height:700px){
  body.route-screen-active #screen-route .rh-route-map-card:not(.is-map-active) .rh-park-map-viewport{height:92px}
  body.route-screen-active #screen-route .rh-route-map-summary{min-height:44px;padding:0 8px}
  body.route-screen-active #screen-route .rh-route-map-summary h2{font-size:13px}
  body.route-screen-active #screen-route .rh-route-map-summary button{font-size:11px}
  body.route-screen-active #screen-route .rh-route-full-itinerary .rh-up-next-row{grid-template-columns:24px minmax(0,1fr) minmax(68px,auto)}
}

/* Option 1 — Balanced Brand
   Mode-aware color and detail without changing the approved one-screen
   geometry or assigning decorative colors to live-data states. */
body.mode-quick.route-screen-active{
  --rh-route-accent:#d62828;
  --rh-route-detail:#f26b38;
  --rh-route-accent-soft:#fff0ed;
  --rh-route-detail-soft:#fff6f0;
  --rh-route-page:#fffaf7;
}
body.mode-strategic.route-screen-active{
  --rh-route-accent:#334e68;
  --rh-route-detail:#5a98d9;
  --rh-route-accent-soft:#eaf2f8;
  --rh-route-detail-soft:#f1f7fc;
  --rh-route-page:#f7fbfd;
}

body.route-screen-active #screen-route.active{
  background:var(--rh-route-page,#fbfaf8);
}
body.route-screen-active #screen-route .rh-route-park svg,
body.route-screen-active #screen-route .rh-route-mode{
  color:var(--rh-route-accent,var(--rh-sixers-red,#d62828));
}
body.route-screen-active #screen-route .rh-route-dot{
  color:var(--rh-route-detail,var(--rh-retro-orange,#f26b38));
}
body.route-screen-active #screen-route .rh-route-status{
  color:var(--rh-deep-navy,#0d1b4c);
}

body.route-screen-active #screen-route .rh-next-card{
  border-color:color-mix(in srgb,var(--rh-route-accent,#d62828) 15%,white);
  box-shadow:inset 0 2px 0 var(--rh-route-accent,#d62828),0 8px 28px rgba(13,27,76,.075);
}
body.route-screen-active #screen-route .rh-next-kicker{
  color:var(--rh-route-accent,#d62828);
  background:var(--rh-route-accent-soft,#fff0ed);
}
body.route-screen-active #screen-route .rh-next-star{
  color:var(--rh-route-detail,var(--rh-sixers-red,#d62828));
}
body.route-screen-active #screen-route .rh-next-stat:first-child{
  background:transparent;
}
body.route-screen-active #screen-route .rh-next-stat:last-child{
  background:transparent;
}
body.route-screen-active #screen-route .rh-next-stat-icon.is-wait{
  color:#fff;
  background:var(--rh-route-accent,#d62828);
}
body.route-screen-active #screen-route .rh-next-stat-icon.is-walk{
  color:var(--rh-green,#4e7a4e);
  background:#e4f1e5;
}
body.route-screen-active #screen-route .rh-next-primary{
  background:var(--rh-route-accent,#d62828);
  box-shadow:0 10px 22px color-mix(in srgb,var(--rh-route-accent,#d62828) 20%,transparent);
}

body.route-screen-active #screen-route .rh-route-map-card{
  border-color:rgba(13,27,76,.06)!important;
  box-shadow:0 8px 28px rgba(13,27,76,.07)!important;
}
body.route-screen-active #screen-route .rh-up-next-heading button,
body.route-screen-active #screen-route .rh-up-next-arrow{
  color:var(--rh-route-accent,#d62828);
}
body.route-screen-active #screen-route .rh-up-next-row{
  background:var(--rh-route-detail-soft,#f7fafc);
}
body.route-screen-active #screen-route .rh-up-next-number{
  color:var(--rh-route-accent,#d62828);
  background:var(--rh-route-accent-soft,#fff0ed);
}
body.route-screen-active #screen-route .rh-up-next-wait{
  color:var(--rh-vintage-blue,#334e68);
}

body.route-screen-active #screen-route .rh-completed-toggle{
  background:#f0f7f1;
}
body.route-screen-active #screen-route .rh-route-utility-actions button:first-child{
  color:#334e68;
}
body.route-screen-active #screen-route .rh-route-utility-actions button:last-child{
  color:#334e68;
}
body.route-screen-active #screen-route .rh-route-utility-actions svg{
  border-radius:50%;
}
body.route-screen-active #screen-route .rh-route-utility-actions button:first-child svg{
  background:transparent;
}
body.route-screen-active #screen-route .rh-route-utility-actions button:last-child svg{
  background:transparent;
}
