/* Rider entry and guided checks share one focused workspace. */
.rider-redesign{background:#fff;color:#102333;font-family:Arial,Helvetica,sans-serif}
.model-records{font-size:14px;line-height:1.5;color:#526577;overflow-wrap:anywhere}.model-records a{text-decoration:underline;text-underline-offset:3px}
.rider-redesign .masthead{padding:24px max(24px,5vw);min-height:102px;background:#101f2e}
.rider-redesign .brand-badge{width:240px;height:auto}.rider-redesign .brand-descriptor{font-size:13px;color:#d5dce4}
.rider-redesign .masthead nav{gap:24px}.rider-redesign .masthead nav a{font-size:15px;color:#e7edf3}.rider-redesign .masthead nav .nav-primary{background:#ffb238;color:#102333;border-radius:8px;padding:14px 20px}
.rider-redesign .site-layout{display:block;max-width:1440px;margin:auto;padding:0 5vw}.rider-redesign .desktop-sidebar,.rider-redesign .mobile-site-menu{display:none}
.rider-redesign main{min-width:0}.rider-redesign .intro{max-width:none;padding:44px 0 26px;margin:0}.rider-redesign .intro h1{font-size:clamp(36px,4.8vw,66px);max-width:900px;line-height:1.05;letter-spacing:-2px;margin:14px 0 18px;font-weight:800}.rider-redesign .intro p:not(.eyebrow){font-size:19px;color:#526577;max-width:740px;line-height:1.55}
.rider-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:44px;align-items:start}.rider-redesign .workspace{min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.rider-redesign .panel{background:transparent;border:0;padding:26px 0;box-shadow:none}.rider-redesign .panel-head{margin-bottom:22px}.rider-redesign .panel-head h2{font-size:26px;line-height:1.2}.rider-redesign .panel-head .eyebrow,.rider-redesign .panel-head .pill{display:none}
.rider-redesign .question-title{font-size:23px;line-height:1.25}.rider-redesign .question-count{color:#985b14;font-size:12px;letter-spacing:1.4px}.rider-redesign #diagnostic-flow>p:not(.question-title):not(.question-count){color:#516473;font-size:15px;line-height:1.6}
.rider-redesign .journey-steps{padding:0 0 22px;border-bottom:1px solid #dbe2e8;background:transparent;grid-template-columns:repeat(3,1fr);gap:14px}.rider-redesign .journey-steps li{font-size:13px;gap:7px}.rider-redesign .journey-steps li span{width:28px;height:28px}
.rider-redesign .extra-tools{margin-top:14px}.rider-redesign .extra-tools>summary{padding:8px 0;color:#4d6170}.rider-redesign .options{grid-template-columns:1fr;gap:12px}.rider-redesign .option{min-height:64px;padding:18px;border:1px solid #cad5df;border-radius:9px;background:#fff}.rider-redesign .option:has(input:checked),.rider-redesign [role=radio][aria-checked=true]{background:#fff5e6;border-color:#b77522}
.rider-redesign .primary{background:#ffb238;color:#102333;border:1px solid #e5a039;border-radius:8px;padding:16px 24px;font-weight:750;min-height:52px}.rider-redesign .secondary{border-radius:8px}.rider-redesign .motor-setup{margin-bottom:20px;gap:8px}.rider-redesign .motor-setup label{padding:10px;font-size:13px;border-radius:7px}.rider-redesign .motor-setup legend{font-size:14px}
.rider-identity-grid{display:grid;grid-template-columns:1fr 1.25fr .8fr;gap:12px}.rider-identity-grid label{display:block;font-size:15px;font-weight:bold}.rider-identity-grid select{width:100%;margin-top:8px;padding:14px 10px;min-height:51px;background:#fff;border:1px solid #aebecb;border-radius:7px;color:#152a3b;font:inherit}.manual-bike{margin:14px 0}.manual-bike summary{font-size:14px;color:#546776;min-height:40px;padding:10px 0;cursor:pointer}.rider-redesign .identity-system{margin:8px 0}.rider-redesign #identity-next{flex:1}.rider-redesign .actions{gap:10px}.rider-redesign .photo-privacy{font-size:13px;color:#5b6d7c}.rider-redesign .safety-report{margin:12px 0;color:#8f3a26}
.rider-redesign .ebike-band{display:flex;flex-direction:column;align-items:stretch;position:sticky;top:24px;min-height:340px;background:#f5f7f9;border:0;border-radius:12px;padding:26px;overflow:hidden;color:#102333;margin:0;isolation:auto}.rider-redesign .ebike-band::before,.rider-redesign .ebike-band::after{display:none}.rider-redesign .ebike-band-copy{position:static;max-width:none;padding:0;z-index:auto}.rider-redesign .ebike-band-copy span{color:#8e5412;font-size:12px;letter-spacing:1.6px}.rider-redesign .ebike-band-copy strong{font-size:24px;margin:9px 0 20px}.rider-redesign .ebike-illustration,.rider-redesign .ebike-illustration.selected-bike-image{position:static;inset:auto;display:block;transform:none;width:100%;height:320px;max-height:none;object-fit:contain;object-position:center;opacity:1;padding:0;border-radius:8px}.rider-redesign .ebike-illustration[hidden]{display:none!important}.rider-redesign .selected-bike-caption{position:static;padding:16px 0 0;margin:0;font-size:14px;line-height:1.6;color:#435b6b;text-align:left;max-width:none}.rider-redesign .selected-bike-caption a{color:#174d63;font-weight:700}.rider-redesign .photo-help-link{background:transparent;border:0;text-decoration:underline;color:#174d63;padding:8px 0;cursor:pointer;font:inherit;display:block}
.rider-redesign .safety-note{margin:32px 0}.rider-redesign .safety-banner{margin:32px 0}.rider-redesign .diagnostic-evidence{grid-template-columns:1fr}.rider-redesign .diagnostic-reference{max-width:470px}.rider-redesign footer{margin-top:48px}.rider-redesign button:focus-visible,.rider-redesign a:focus-visible,.rider-redesign select:focus-visible{outline:3px solid #1b6b86;outline-offset:3px}
.rider-redesign:not(.diagnosis-page) .rider-grid{grid-template-columns:minmax(0,1fr)}.rider-redesign:not(.diagnosis-page) .rider-grid>.ebike-band{display:none}.rider-redesign:not(.diagnosis-page) .panel{padding:24px 0}
@media(min-width:1450px){.rider-redesign .intro{padding-top:60px}.rider-grid{gap:64px}.rider-redesign .ebike-illustration.selected-bike-image{height:370px}}
@media(max-width:900px){.rider-redesign .masthead{align-items:flex-start;gap:20px}.rider-redesign .masthead nav{gap:12px;flex-wrap:wrap}.rider-grid{grid-template-columns:minmax(0,1fr);gap:24px}.rider-redesign .ebike-band{position:static;min-height:0;padding:20px}.rider-redesign .ebike-illustration,.rider-redesign .ebike-illustration.selected-bike-image{height:260px}.rider-redesign .intro h1{letter-spacing:-1px}.rider-redesign .intro{padding-top:32px}.rider-grid>.ebike-band{grid-row:2}.rider-redesign .panel{padding:20px 0}.rider-redesign .journey-steps{grid-template-columns:repeat(3,1fr)}}
@media(max-width:540px){.rider-redesign .masthead{padding:20px;display:block}.rider-redesign .brand-badge{width:190px}.rider-redesign .masthead nav{margin-top:20px;display:flex;gap:16px}.rider-redesign .masthead nav a{font-size:13px}.rider-redesign .masthead nav .nav-primary{padding:10px}.rider-redesign .masthead nav a[href='reviews.html'],.rider-redesign .masthead nav a[href='#maintenance']{display:none}.rider-redesign .site-layout{padding:0 20px}.rider-redesign .intro h1{font-size:39px}.rider-redesign .intro p:not(.eyebrow){font-size:17px}.rider-identity-grid{grid-template-columns:1fr 1fr}.rider-identity-grid label:last-child{grid-column:1/-1}.rider-redesign .actions{flex-wrap:wrap}.rider-redesign .actions button{max-width:100%;white-space:normal}.rider-redesign .options{grid-template-columns:1fr}.rider-redesign .ebike-illustration.selected-bike-image{height:210px}.rider-redesign .ebike-band{padding:18px}.rider-redesign .journey-steps{gap:12px 6px}.rider-redesign .journey-steps li{font-size:12px}.rider-redesign .journey-steps li span{width:23px;height:23px}.rider-redesign .motor-setup label{flex:1;min-width:120px}}
/* Keep the bike beside both the introduction and the active question. */
@media(min-width:901px){.rider-redesign main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:44px;align-items:start}.rider-redesign .intro{grid-column:1;padding:40px 0 20px}.rider-redesign .intro h1{font-size:clamp(40px,4vw,58px);letter-spacing:-1.6px}.rider-redesign .intro p:not(.eyebrow){font-size:17px;line-height:1.5}.rider-redesign .rider-grid{display:contents}.rider-redesign .workspace{grid-column:1}.rider-redesign .rider-grid>.ebike-band{grid-column:2;grid-row:1/span 2;margin-top:44px;min-height:450px}.rider-redesign .ebike-illustration.selected-bike-image{height:360px}.rider-redesign .lower{grid-column:1/-1}.rider-redesign:not(.diagnosis-page) .intro,.rider-redesign:not(.diagnosis-page) .workspace{grid-column:1/-1}}
.rider-redesign .ebike-band-copy,.rider-redesign .ebike-band-copy strong,.rider-redesign .ebike-band-copy span{text-shadow:none;filter:none;width:auto;max-width:none}.rider-redesign .ebike-band-copy strong{font-size:24px!important;white-space:normal}.rider-redesign .intro .three{display:none}.rider-redesign .panel-head{margin-bottom:12px}.rider-redesign #diagnostic-flow>h3{display:none}.rider-redesign #diagnostic-flow>p:first-child{margin-top:0}.rider-redesign .panel{padding:20px 0}.rider-redesign .manual-bike{margin:4px 0}.rider-redesign .identity-system{margin:4px 0}.rider-redesign .rider-identity-grid{margin:20px 0}.rider-redesign .lower{margin-top:32px}.rider-redesign .motor-setup{margin-bottom:12px}
.rider-redesign #diagnostic-bike-form{display:flex;flex-direction:column}.rider-redesign #diagnostic-bike-form>.rider-identity-grid{order:0;margin:10px 0 14px}.rider-redesign #diagnostic-bike-form>.manual-bike{order:1}.rider-redesign #diagnostic-bike-form>.motor-setup{order:2;margin:14px 0}.rider-redesign #diagnostic-bike-form>.field-grid{order:2}.rider-redesign #diagnostic-bike-form>.identity-system{order:3}.rider-redesign #diagnostic-bike-form>.actions{order:4}.rider-redesign[data-rider-stage='0'] .question-count{display:none}.rider-redesign .intro{padding-top:28px}.rider-redesign .panel-head h2{margin:0 0 12px}.rider-redesign .panel-head{margin:0}
@media(min-width:901px){.rider-redesign .intro h1{font-size:clamp(40px,3.7vw,55px)}.rider-redesign .intro .eyebrow{font-size:12px}.rider-redesign .rider-grid>.ebike-band{margin-top:28px}.rider-redesign[data-rider-stage='1'] .intro h1,.rider-redesign[data-rider-stage='2'] .intro h1,.rider-redesign[data-rider-stage='3'] .intro h1{font-size:38px}}
.rider-guides{position:relative}.rider-guides summary{color:#e7edf3;cursor:pointer;font-size:15px;font-weight:bold;padding:14px 0;min-height:44px}.rider-guides>div{position:absolute;right:0;top:100%;z-index:30;display:grid;min-width:220px;padding:12px;background:#102333;border:1px solid #3c5264;border-radius:8px;box-shadow:0 12px 24px #10233320}.rider-redesign .rider-guides>div a{display:block!important;padding:12px;font-size:14px!important;white-space:nowrap}.rider-guides>div a:hover{background:#243b4d}.rider-redesign .masthead nav{gap:18px}
.rider-redesign .masthead{padding-top:18px;padding-bottom:18px}.rider-redesign .brand{min-width:220px;gap:0}.rider-redesign .brand-badge{width:230px;height:54px;object-fit:contain;object-position:left}.rider-redesign .brand-descriptor{font-size:12px;margin-top:-3px}.rider-redesign .selected-bike-caption{width:100%}.rider-redesign .workspace{display:flex;flex-direction:column}.rider-redesign .workspace>#journey-progress{order:0}.rider-redesign .workspace>.panel{order:1}.rider-redesign .workspace>.extra-tools{order:2}.rider-redesign .intro h1{margin:10px 0 14px}.rider-redesign .intro p:not(.eyebrow){margin:10px 0}.rider-redesign .intro{padding-bottom:14px}.rider-redesign #diagnostic-bike-form>.actions{margin:12px 0}

/* Owner-requested order: compact setup first, then bike identification. */
.rider-redesign #diagnostic-bike-form>.motor-setup{order:0;margin:6px 0 16px;padding:0;border:0}
.rider-redesign #diagnostic-bike-form>.field-grid{order:1;margin-bottom:16px}
.rider-redesign #diagnostic-bike-form>.bike-detail-step{order:2;min-width:0}
.rider-redesign #diagnostic-bike-form>.manual-bike{order:3}
.rider-redesign #diagnostic-bike-form>.identity-name-hint{order:4}
.rider-redesign #diagnostic-bike-form>.model-records{order:5}
.rider-redesign #diagnostic-bike-form>.actions{order:6}
.identity-step-heading{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;margin:0 0 10px}
.identity-step-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;background:#101c2a;color:#fff;border-radius:50%;font-size:24px;font-weight:800}
.rider-redesign .motor-setup{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:18px}
.rider-redesign .motor-setup label{flex:0 0 auto;min-width:0;padding:4px 0;border:0;border-radius:0;background:transparent;font-size:14px;min-height:36px;gap:7px;white-space:nowrap}
.rider-redesign .motor-setup label:has(input:checked){border-color:transparent;background:transparent;color:#153e52;font-weight:750}
.rider-redesign .motor-setup label input{width:16px;height:16px;margin:0;flex:0 0 16px}
.rider-redesign .rider-identity-grid{margin:8px 0 12px;align-items:start}
.rider-identity-grid>div{min-width:0}.identity-name-hint{font-size:13px;color:#526477;line-height:1.5}
@media(max-width:540px){.rider-identity-grid{grid-template-columns:1fr}.rider-redesign .motor-setup{flex-wrap:wrap;gap:8px 16px}.rider-redesign .motor-setup label{flex:0 0 auto;min-width:0}.identity-step-heading{font-size:16px}.identity-step-number{flex-basis:34px;width:34px;height:34px;font-size:22px}}

.rider-redesign .identity-stage-heading,.rider-redesign[data-rider-stage="0"] .identity-stage-heading{display:flex;align-items:center;gap:10px;font-size:16px;letter-spacing:0;color:#162538;font-weight:700;margin:0 0 14px}

.identity-accordion{border:1px solid #d5dee6;border-radius:12px;padding:16px;margin:0 0 14px;background:#fff;min-width:0}
.identity-accordion>summary.identity-stage-heading{cursor:pointer;list-style:none;position:relative;padding-right:28px;margin:0}
.identity-accordion>summary::-webkit-details-marker{display:none}.identity-accordion>summary::after{content:'+';position:absolute;right:2px;font-size:24px;font-weight:400}
.identity-accordion[open]>summary::after{content:'−'}.identity-accordion[open]>summary.identity-stage-heading{margin-bottom:18px}
.completed-bike-name{font-size:13px;font-weight:400;color:#526477;overflow-wrap:anywhere}.completed-bike-summary{line-height:1.6;font-size:14px}
.rider-redesign .identity-accordion .question-count[hidden]{display:none}.identity-accordion .question-title{margin-top:8px}
.identity-accordion>summary:focus-visible{outline:3px solid #1b6b86;outline-offset:4px}
@media(max-width:540px){.identity-accordion{padding:12px}.completed-bike-name{max-width:45%}}

/* The next action and mechanic handoff form one continuous journey. */
body[data-rider-stage="4"] #diagnose,body[data-rider-stage="5"] #diagnose{border-left:4px solid #eebc35;padding-left:22px;position:relative}
.mechanic-handoff{position:relative}
body[data-rider-stage="4"] .mechanic-handoff:before,body[data-rider-stage="5"] .mechanic-handoff:before{content:"";position:absolute;left:-32px;top:18px;width:12px;height:12px;border-radius:50%;background:#eebc35;pointer-events:none}
.nearby-shop-map{width:100%;text-align:left;border-top:1px solid #d6dfe4;margin-top:18px;padding-top:18px}
.nearby-shop-map h3{font-size:21px;margin:0 0 8px}.nearby-shop-map p{font-size:14px}.nearby-shop-map label{font-size:14px}.nearby-search{display:flex;gap:6px;margin:6px 0 10px}.nearby-search input{min-width:0;width:100%;padding:10px}.nearby-search button{white-space:nowrap;padding:10px}.nearby-shop-map iframe{border:0;width:100%;height:230px;border-radius:8px;background:#e1e8e5}.nearby-shop{padding:13px 0;border-bottom:1px solid #d6dfe4}.nearby-shop strong,.nearby-shop small,.team-badge{display:block}.nearby-shop p{margin:5px 0}.nearby-shop a{font-size:14px}.nearby-shop.team-partner{border-left:3px solid #eebc35;padding-left:10px}.team-badge{font-size:11px;font-weight:700;color:#705009;margin:5px 0}.ebike-band{max-height:calc(100vh - 48px);overflow:auto}.ebike-band .ebike-illustration{max-height:190px;object-fit:contain}.ebike-band .selected-bike-image{height:190px}.nearby-shop-map [hidden]{display:none!important}
@media(max-width:900px){.ebike-band{max-height:none}.nearby-shop-map iframe{height:260px}}
.nearby-map-canvas{height:240px;width:100%;border-radius:8px;background:#e5ece8;z-index:0}.shop-map-pin{background:#174859;color:white;border:2px solid white;border-radius:50%;text-align:center;line-height:24px;font-weight:800;box-shadow:0 1px 5px #0006}.shop-map-pin.partner-pin{background:#eebc35;color:#17323f}.nearby-shop-map [data-places]{display:grid;gap:6px;margin:8px 0}.nearby-shop-map .leaflet-container{font-family:inherit}

/* Keep the chosen result in view; input values stay available for review. */
.parts-inputs,.diagnostic-evidence-details{border:1px solid #cedbe1;border-radius:10px;padding:14px 16px;margin:16px 0;background:#fff}
.parts-inputs>summary,.diagnostic-evidence-details>summary{cursor:pointer;font-weight:700;color:#174859;line-height:1.5}
.parts-inputs>summary:focus-visible,.diagnostic-evidence-details>summary:focus-visible{outline:3px solid #1b6b86;outline-offset:4px}
.parts-inputs[open]>summary,.diagnostic-evidence-details[open]>summary{margin-bottom:16px}
.parts-result-context{font-weight:700;color:#174859;overflow-wrap:anywhere;margin:12px 0}
.parts-result-active>.panel-lede{display:none}
.diagnostic-evidence-details{margin-top:24px}
@media(max-width:540px){.parts-inputs,.diagnostic-evidence-details{padding:12px}}

/* Make the shop route clear before the optional owner checks. */
#diagnostic-flow #result-next-panel>.mechanic-handoff,#diagnostic-flow #result-next-panel>[data-handoff-host]{margin:18px 0 26px}
.shop-match{border-left:3px solid #1b6b86;padding-left:10px;color:#174859;font-weight:600;line-height:1.5}

/* Keep the current diagnostic task visible, with no misleading fold control. */
.identity-accordion[data-question-section]>summary.identity-stage-heading{cursor:default}
.identity-accordion[data-question-section]>summary::after{content:none}
