/* BUGGY shared presentation components.
   New controls use .buggy-button plus a named variant. Existing controls below
   are adapters to the same tokens, not separate screen-specific designs.
   See work/BUGGY_PASSPORT_PRESENTATION_STANDARD.md in the maintained project. */
@font-face{font-family:"BUGGY UI Marker";font-style:normal;font-weight:400;font-display:swap;src:url("./insurance-permanent-marker.ttf") format("truetype")}
@font-face{font-family:"BUGGY UI Courier";font-style:normal;font-weight:400;font-display:swap;src:url("./insurance-courier-prime-regular.ttf") format("truetype")}
:root{
  --buggy-navy:#041E42;
  --buggy-sun:#FEBD3B;
  --buggy-fog:#F1F0EB;
  --buggy-red:#BF0D3E;
  --buggy-sage:#58615F;
  --buggy-charcoal:#2A2F2D;
  --buggy-paper:#FFFDF8;
  --buggy-line:#B8C1C3;
  --buggy-selected:#FFF0C6;
  --buggy-radius-pill:999px;
  --buggy-radius-card:16px;
  --buggy-target:44px;
  --buggy-action-font:"BUGGY UI Marker","Permanent Marker","Comic Sans MS",cursive;
  --buggy-body-font:"BUGGY UI Courier","Courier Prime","Courier New",monospace;
  --buggy-space-small:8px;
  --buggy-space-medium:16px;
  --buggy-space-section:24px;
}
/* Bridge existing module names to the approved palette. Component semantics
   such as dark-board text, danger, availability and selected states remain local. */
html #buggy-passport-app{
  --navy:var(--buggy-navy);--sun:var(--buggy-sun);--yellow:var(--buggy-sun);
  --fog:var(--buggy-fog);--red:var(--buggy-red);--sage:var(--buggy-sage);--char:var(--buggy-charcoal);
}
.buggy-insurance-v235{--navy:var(--buggy-navy);--amber:var(--buggy-sun);--paper:var(--buggy-paper)}

/* Public component API: primary, secondary, quiet, danger and icon. */
.buggy-button{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  gap:8px;max-width:100%;min-height:var(--buggy-target);padding:10px 18px;
  border:1px solid var(--buggy-line);border-radius:var(--buggy-radius-pill);
  background:var(--buggy-paper);color:var(--buggy-navy);
  font:400 17px/1.25 var(--buggy-action-font);text-align:center;text-decoration:none;
  white-space:normal;overflow-wrap:break-word;cursor:pointer;
}
.buggy-button--primary{background:var(--buggy-sun);border-color:#D99913}
.buggy-button--secondary{background:var(--buggy-paper);border-color:var(--buggy-navy)}
.buggy-button--quiet{background:transparent;border-color:transparent}
.buggy-button--danger{background:var(--buggy-red);color:white;border-color:var(--buggy-red)}
.buggy-button--icon{width:var(--buggy-target);height:var(--buggy-target);min-width:var(--buggy-target);padding:0;border-radius:50%;font-family:Arial,sans-serif;font-size:22px}
.buggy-button:disabled,.buggy-button[aria-disabled="true"]{opacity:.52;cursor:not-allowed;box-shadow:none}
.buggy-button[hidden]{display:none!important}
.buggy-button:focus-visible{outline:3px solid var(--buggy-navy);outline-offset:3px;box-shadow:0 0 0 5px var(--buggy-paper)}
@media(hover:hover){.buggy-button:hover:not(:disabled):not([aria-disabled="true"]){filter:brightness(.96)}}

/* Existing action adapters. No generic button pseudo-element deletion: picture
   selections, map pins and Rip use functional artwork and state indicators. */
html #buggy-passport-app :is(button.primary,button.secondary,.setup-action,.setup-secondary-action),
#buggy-passport-app :is(#passportSetup,#passportLogin,.screen) :is(.setup-action,.setup-secondary-action,.setup-actions>button,.actions>button),
body :is(.v232-dossier,.v232-notice) button:not([aria-label^="Close"]):not(.v232-close),
body :is(.buddy-actions,.bucks-actions,.advisor-actions,.buggy-personal-actions,.stripe-test-actions,.coupon-actions,.mark-modes) button,
body :is(#buggyBuddyDialog,#buggyBucksDialog,#buggyRecordsDialog) button:not([aria-label^="Close"]),
body .buggy-insurance-v235 :is(.buggy-insurance-v235__submit,.buggy-insurance-v235__secondary,.buggy-insurance-v235__file-trigger),
body :is(.calendar-actions,.rental-tool-actions,.training-card) button,
body:not(#buggy-passport-app) :is(main>button,a.button,.controls>button){
  border-radius:var(--buggy-radius-pill)!important;
  min-height:var(--buggy-target);
  font-family:var(--buggy-action-font)!important;
  mask-image:none!important;-webkit-mask-image:none!important;clip-path:none!important;
}
html #buggy-passport-app button.primary,
html #buggy-passport-app .setup-action{
  background-color:var(--buggy-sun);color:var(--buggy-navy);
}

/* Password recovery is a full-width form action, not a compact help cue.
   Keep the independent Google/Apple provider row and existing handlers intact. */
#buggy-passport-app #passportLogin .login-actions > .setup-secondary-action[onclick="resetExistingPassword()"]{
  grid-column:1 / -1;width:100%;max-width:100%;min-width:0;
  white-space:normal;overflow-wrap:anywhere;
}

/* The activation choices and Welcome action are the same primary component. */
#buggy-passport-app #passportActivate .home-gate-card,
html #buggy-passport-app #home .home-rip-intro .home-entry-button{
  box-sizing:border-box!important;position:relative;isolation:isolate;
  background:var(--buggy-sun)!important;background-image:none!important;
  border:1px solid #D99913!important;border-radius:var(--buggy-radius-pill)!important;
  mask:none!important;-webkit-mask:none!important;clip-path:none!important;
  color:var(--buggy-navy)!important;padding:12px 18px!important;
  min-height:48px!important;height:auto!important;box-shadow:0 3px 8px #041E4218!important;
  font:400 17px/1.25 var(--buggy-action-font)!important;
}
#buggy-passport-app #passportActivate .home-gate-card:focus-visible,
html #buggy-passport-app #home .home-rip-intro .home-entry-button:focus-visible{
  outline:3px solid var(--buggy-paper)!important;outline-offset:3px!important;
}
#buggy-passport-app #passportActivate .home-gate-card b{font:inherit!important;color:inherit!important}
#buggy-passport-app #home .home-entry-button .home-entry-kicker,
#buggy-passport-app #home .home-entry-button .home-entry-divider,
#buggy-passport-app #home .home-entry-button .home-entry-click{display:none!important}
#buggy-passport-app #home .home-entry-button .home-entry-main{color:inherit!important;font-size:18px!important;line-height:1.1!important}

/* Selection variants retain their existing layout and labels, with clean edges. */
#buggy-passport-app .section-switcher .core-section-tab.active,
#buggy-passport-app #passportSetup .buggy-map-scale-slider button.active{
  background:var(--buggy-selected)!important;border-radius:var(--buggy-radius-pill)!important;
}
#buggy-passport-app:not(.home-active) .training-category-row.active{
  background:var(--buggy-selected)!important;border-radius:var(--buggy-radius-card)!important;
}
#buggy-passport-app #passport .v182-home-reward-ticket{
  border-radius:var(--buggy-radius-card)!important;clip-path:none!important;
}
#buggy-passport-app .passport-utilities button{padding-left:13px!important;border-radius:var(--buggy-radius-pill)!important}

/* Clean focus belongs to every interactive control, including card/tab variants.
   The dual ring is visible on both cream pages and navy cards. */
body :is(button,a[role="button"],input[type="button"],input[type="submit"]):focus-visible{
  outline:3px solid var(--buggy-navy);outline-offset:3px;
}
.buggy-insurance-v235__file-trigger:focus-within{outline:3px solid var(--buggy-navy)!important;outline-offset:3px!important}
.buggy-partners-section{padding:16px;border:1px solid var(--buggy-line);border-radius:var(--buggy-radius-card);background:var(--buggy-paper);color:var(--buggy-navy);font:400 15px/1.45 var(--buggy-body-font)}
.buggy-partners-section h3{font:400 20px/1.3 var(--buggy-action-font);margin:12px 0}
#buggyGlobalModal #aboutPage{font-family:var(--buggy-body-font);color:var(--buggy-navy)}
#buggyAboutSection :is(strong,b),#buggyTeamSection :is(strong,b){display:block;margin-bottom:4px;font:400 17px/1.3 var(--buggy-action-font)}
.buggy-partners-section>summary{min-height:44px;cursor:pointer;font-family:var(--buggy-action-font);color:var(--buggy-navy)}
.buggy-partners-section .buggy-button{width:100%;margin-top:8px}
.buggy-partners-section :is(h3,p){overflow-wrap:break-word}
.buggy-partners-section:focus{outline:3px solid var(--buggy-navy);outline-offset:3px}
@media(prefers-reduced-motion:reduce){
  .buggy-button{transition:none;animation:none;scroll-behavior:auto}
}
/* Segmented Ease and Trust retain the compact Courier footer, not primary-action sizing. */
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock .support-ease-actions{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:4px;font:clamp(10px,3.1vw,13px)/1.35 "BUGGY UI Courier","Courier Prime",monospace!important;color:var(--buggy-navy);min-height:28px}
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock .support-ease-actions button{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:24px!important;height:auto!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;line-height:1.35!important;white-space:nowrap!important}
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock .support-ease-actions .screen-support-label{font-family:"BUGGY UI Marker","Permanent Marker",cursive!important;font-size:15px!important;line-height:1.1!important}

/* Home marker folders: a continuous tab/body join, approved brand colors and
   one full-tile Training action. This adapter owns the older folder cascade. */
#buggy-passport-app #passport .v186-marker-dashboard{
  --folder-face:var(--buggy-sun);
  padding-top:44px!important;
}
#buggy-passport-app #passport .v186-marker-dashboard[data-home-folder-tab="rewards"]{--folder-face:var(--buggy-red)}
#buggy-passport-app #passport .v186-marker-dashboard[data-home-folder-tab="access"]{--folder-face:var(--buggy-sage)}
#buggy-passport-app #passport .v186-folder-hump-tabs{
  left:0!important;right:0!important;gap:0!important;
}
#buggy-passport-app #passport .v186-folder-hump-tabs button{
  box-sizing:border-box!important;height:48px!important;min-height:48px!important;
  margin:0!important;padding:10px 2px 14px!important;
  border:0!important;border-bottom:4px solid var(--folder-face)!important;
  border-radius:12px 12px 0 0!important;
  background:var(--buggy-sun)!important;color:var(--buggy-navy)!important;
  font:400 14px/1.2 var(--buggy-action-font)!important;
  transform:none!important;box-shadow:inset 0 1px 0 #FFFFFF55!important;
}
#buggy-passport-app #passport .v186-folder-hump-tabs button:nth-child(2){background:var(--buggy-red)!important;color:var(--buggy-paper)!important}
#buggy-passport-app #passport .v186-folder-hump-tabs button:nth-child(3){background:var(--buggy-sage)!important;color:var(--buggy-paper)!important}
#buggy-passport-app #passport .v186-folder-hump-tabs button.active{
  transform:none!important;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px;
}
#buggy-passport-app #passport .v186-folder-hump-tabs button:focus-visible{
  outline:2px solid var(--buggy-paper)!important;outline-offset:-5px!important;
  box-shadow:inset 0 0 0 3px var(--buggy-navy)!important;
}
#buggy-passport-app #passport .v186-dashboard-body{
  padding:12px!important;gap:10px!important;
  grid-template-columns:minmax(0,1.18fr) minmax(116px,.82fr)!important;
  border:0!important;border-radius:0 0 16px 16px!important;
  background:var(--folder-face)!important;
  box-shadow:0 6px 12px #041E4226,inset 0 -2px 0 #041E4226!important;
}
#buggy-passport-app #passport .v186-dashboard-body:after{content:none!important}
#buggy-passport-app #passport .v186-training-readiness-link{
  box-sizing:border-box!important;grid-template-rows:minmax(0,1fr)!important;
  place-items:center!important;min-height:176px!important;padding:12px!important;
  border:1px solid #041E4233!important;border-radius:12px!important;
  background:var(--buggy-paper)!important;background-image:none!important;
  transform:none!important;box-shadow:0 2px 3px #041E421A!important;
  cursor:pointer!important;
}
#buggy-passport-app #passport .v186-training-readiness-link img{
  width:100%!important;max-width:185px!important;max-height:92px!important;
  margin:0 auto!important;object-fit:contain!important;object-position:center!important;
}
#buggy-passport-app #passport .v186-dashboard-ledger{
  box-sizing:border-box!important;align-content:start!important;align-self:start!important;
  min-height:176px!important;padding:9px 8px!important;
  border:1px solid #041E4233!important;border-radius:12px!important;
  background:var(--buggy-paper)!important;box-shadow:0 2px 3px #041E421A!important;
}
#buggy-passport-app #passport .v197-marker-ledger-heading{
  margin:0!important;padding:0 0 5px!important;
  color:var(--buggy-navy)!important;text-align:left!important;
  font:700 15px/1.3 var(--buggy-body-font)!important;letter-spacing:.6px;text-transform:uppercase;
}
#buggy-passport-app #passport .v186-dashboard-ledger span{font-family:var(--buggy-action-font)!important}
#buggy-passport-app #passport .v186-dashboard-left:focus-visible,
#buggy-passport-app #passport .v186-training-readiness-link:focus-visible{
  outline:3px solid var(--buggy-navy)!important;outline-offset:2px!important;
}
@media(max-width:350px){
  #buggy-passport-app #passport .v186-dashboard-body{padding:8px!important;gap:8px!important}
  #buggy-passport-app #passport .v186-training-readiness-link{padding:6px!important}
  #buggy-passport-app #passport .v186-folder-hump-tabs button{font-size:12px!important}
}

/* Know the Flow is a normal Access course row, using the approved Marker face. */
#buggy-passport-app:not(.home-active) button.training.know-flow-course-row{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center;gap:14px;width:100%;min-height:146px;margin:7px 0 0;padding:9px!important;border:1px solid var(--buggy-line)!important;border-radius:16px!important;background:var(--buggy-paper)!important;color:var(--buggy-navy);text-align:left;cursor:pointer;font:13px/1.4 var(--buggy-body-font)}
#buggy-passport-app button.training.know-flow-course-row b{font:400 18px/1.2 var(--buggy-action-font)!important;text-transform:none!important;letter-spacing:normal!important}
#buggy-passport-app button.training.know-flow-course-row b:after{display:none!important;content:none!important}
/* Map Orientation is an optional guided tour, not the legacy CBT quiz. */
#buggy-passport-app button.training[data-course-id="wayfinding"] b:after{display:none!important;content:none!important}
#buggy-passport-app button.training.know-flow-course-row .check{width:24px!important;height:24px!important;min-width:0!important;min-height:0!important;padding:0!important}
#buggy-passport-app button.training.know-flow-course-row>span:nth-child(2){min-width:0}
#buggy-passport-app button.training.know-flow-course-row small{display:block;font-size:11px!important;line-height:1.35!important}
#buggy-passport-app button.training.know-flow-course-row .tag{max-width:90px;white-space:normal!important;text-align:center;line-height:1.2!important}
#buggy-passport-app:not(.home-active) button.training.know-flow-course-row.done{background:rgba(88,97,95,.12)!important;border-color:rgba(88,97,95,.35)!important}
#buggy-passport-app .know-flow-course-row:focus-visible{outline:3px solid var(--buggy-navy);outline-offset:-3px}
#buggy-passport-app .know-flow-course-picture{display:block;width:72px!important;height:128px!important;max-width:none!important;object-fit:cover;border-radius:10px}
#buggy-passport-app button.training.know-flow-course-row .tag{display:inline-block;margin-top:8px;max-width:none}
#buggy-passport-app .buggy-ride-ready-courses{margin:6px 0 8px}
#buggy-passport-app .buggy-ride-ready-courses>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #dcb254;border-radius:12px;background:#fff4d8;color:var(--buggy-navy);cursor:pointer;list-style:none;font:700 15px/1.3 var(--buggy-body-font)}
#buggy-passport-app .buggy-ride-ready-courses>summary::-webkit-details-marker{display:none}
#buggy-passport-app .buggy-ride-ready-courses>summary>span{font:20px/1 var(--buggy-body-font);transform:rotate(-90deg)}
#buggy-passport-app .buggy-ride-ready-courses[open]>summary>span{transform:none}
#buggy-passport-app .buggy-ride-ready-courses>summary:focus-visible{outline:3px solid var(--buggy-navy);outline-offset:2px}
#buggy-passport-app:not(.home-active) .buggy-ride-ready-courses button.training.know-flow-course-row{background:var(--buggy-sun)!important}
#buggy-passport-app .training-ask-rip{display:flex;justify-content:flex-end;margin:0 0 8px}
#buggy-passport-app .training-ask-rip>.buggy-button{width:auto!important;min-width:0!important;min-height:44px;padding:8px 14px!important}
#buggy-passport-app .training-help-open .v191-rip-instruction-close{display:flex!important;align-items:center;justify-content:center;position:absolute!important;right:8px!important;top:6px!important;width:44px!important;height:44px!important;border-radius:50%;background:var(--buggy-paper);color:var(--buggy-navy);z-index:5}
#buggy-passport-app .training-help-open .v191-rip-instruction-kicker{padding-right:44px!important}
#buggy-passport-app #moduleTraining:is(.know-flow-training-active,.ride-ready-video-training-active)>.title{display:block;margin-bottom:12px}
#buggy-passport-app #moduleTraining:is(.know-flow-training-active,.ride-ready-video-training-active)>.title h3{font:30px/1.2 var(--buggy-action-font)!important;margin:0;color:var(--buggy-navy)}
#buggy-passport-app #moduleTraining:is(.know-flow-training-active,.ride-ready-video-training-active)>.title>span{display:none}
#buggy-passport-app #moduleTraining:is(.know-flow-training-active,.ride-ready-video-training-active) #lessonView{padding:0;background:var(--buggy-fog);color:var(--buggy-navy);overflow:visible;border:0;box-shadow:none}
#buggy-passport-app .know-flow-exit{margin:12px 0;width:auto;min-height:44px}
#buggy-passport-app :is(#knowFlowTrainingFrame,#rideReadyVideoTrainingFrame){display:block;width:100%;height:700px;border:0;background:var(--buggy-fog);border-radius:16px}
#buggy-passport-app .know-flow-loading,#buggy-passport-app .know-flow-retry{font:13px/1.5 var(--buggy-body-font);padding:12px;background:var(--buggy-paper);color:var(--buggy-navy);border-radius:12px}
#buggy-passport-app #moduleTraining .know-flow-support{display:block;flex:none;margin-top:8px;padding:0}
#buggy-passport-app #moduleTraining .know-flow-support .v235-support-dock{display:grid!important;position:static!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:100%!important;max-width:none!important;padding:2px 8px 3px!important;margin:0!important;background:#EDF1EC!important;box-sizing:border-box;flex:none!important;grid-row:auto!important;row-gap:0!important;border:0!important;box-shadow:none!important}
#buggy-passport-app #moduleTraining .know-flow-support .support-ease-actions{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:4px;min-height:24px;font:clamp(10px,3.1vw,13px)/1.35 var(--buggy-body-font);color:var(--buggy-navy)}
#buggy-passport-app #moduleTraining .know-flow-support .support-ease-actions button{display:inline-flex!important;flex:none!important;width:auto!important;min-width:0!important;min-height:24px!important;margin:0!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font:inherit!important;color:inherit!important;white-space:nowrap!important}
#buggy-passport-app #moduleTraining .know-flow-support .screen-support-label{font:15px/1.1 var(--buggy-action-font)!important}

/* Compact shared shell chrome. Preserve safe-area protection and link targets. */
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock{padding:2px 8px 3px!important;row-gap:0!important}
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock .support-ease-actions{min-height:24px!important}
html.buggy-v235-pwa-shell #buggyCopyrightNotice.buggy-copyright-notice{padding:2px 10px max(3px,env(safe-area-inset-bottom))!important;line-height:1.15!important}
html.buggy-v235-pwa-shell #buggyCopyrightNotice .buggy-version-line{margin-top:1px!important}
/* Shared Ask/Move affordances fit their words, without reducing touch height.
   Scope excludes speech-bubble actions and Close icon controls. */
body :is(#activationAskRipButton,#buggyRipMoveHandle,#rip-ask,#rip-move),
html #buggy-passport-app :is(#rolloutAskRip,#rolloutMoveRip,#rip-ask,#rip-move),
html #buggy-passport-app #buggySignatureSetup .signature-rip-controls button[data-rip],
body .buddy-rip-controls button[data-rip],body .bucks-rip-control button[data-help]{box-sizing:border-box!important;flex:0 0 auto!important;width:max-content!important;min-width:44px!important;max-width:100%!important;height:44px!important;min-height:44px!important;max-height:none!important;padding:6px 9px!important;border-radius:999px!important;white-space:nowrap!important;font:400 13px/1.1 var(--buggy-action-font)!important}
/* C129: Welcome advances by tapping the screen. Remove its redundant Ask Rip
   control; the existing welcome animation and accessible entry action remain. */
html.buggy-v235-pwa-shell #buggy-passport-app #home .home-rip-intro .home-ask-rip{display:none!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;gap:4px!important;flex:0 0 auto!important;width:max-content!important;min-width:44px!important;max-width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:8px 14px!important;border-radius:999px!important;white-space:nowrap!important;font:400 17px/1.25 var(--buggy-action-font)!important}
html.buggy-v235-pwa-shell #buggy-passport-app #home .home-rip-intro .home-ask-rip:focus-visible{outline:3px solid var(--buggy-navy)!important;outline-offset:3px!important}
/* The open help bubble owns Continue/Got it. Do not stack the Ask pill over
   those controls or place them beneath Rip's face. It returns on completion. */
html.buggy-v235-pwa-shell #buggy-passport-app #home .home-rip-intro .home-ask-rip.is-asking{visibility:hidden!important}
html.buggy-v235-pwa-shell #buggy-passport-app #home #ripHomeSpeech[data-v234-locked="true"]>.v234-rip-actions{justify-content:flex-start!important}
html.buggy-v235-pwa-shell #buggy-passport-app #home #ripHomeSpeech .v234-rip-action{min-height:44px!important;font:400 17px/1.25 var(--buggy-action-font)!important}
#buggy-passport-app.home-active,#buggy-passport-app.home-active>.phone,#buggy-passport-app.home-active>.phone>main,#buggy-passport-app #home.active{cursor:pointer}
/* Welcome advances from ordinary screen space. Keep its existing native
   activation action for assistive technology and reveal it for keyboard focus. */
html.buggy-v235-pwa-shell #buggy-passport-app #home .home-entry-button:not(:focus-visible){position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;box-shadow:none!important}
@media(max-width:380px){html.buggy-v235-pwa-shell #buggy-passport-app #home .home-rip-intro .home-ask-rip{font-size:15px!important;padding-inline:12px!important;left:58px!important}}
body .buggy-insurance-v235__rip-toggle>span{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;align-self:center;width:max-content!important;min-width:44px!important;min-height:44px!important;padding:6px 9px!important;border-radius:999px!important;font:400 13px/1.1 var(--buggy-action-font)!important}
body :is(#activationAskRipButton,#buggyRipMoveHandle):focus-visible{outline:3px solid var(--buggy-navy)!important;outline-offset:2px!important}
/* Match the verification band's 2px top inset without reserving a second
   text line. Compact status actions retain 24px targets and existing type.
   Checks are per course, never a blanket vehicle-release authorization. */
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,max-content);justify-content:space-between;align-items:center;gap:4px;border-top:1px dashed #F1F0EB33;padding:2px 0 0}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .buggy-training-heading{width:auto!important;min-height:24px!important;margin:0!important;padding:2px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--buggy-sun)!important;font:400 clamp(8px,3.6cqw,12px)/1.15 var(--buggy-action-font)!important;text-align:left!important;white-space:nowrap!important;max-width:none}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course{grid-template-columns:12px minmax(0,1fr)!important;grid-template-rows:1fr!important;column-gap:3px!important;min-height:24px!important;padding:2px 0!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-course .buggy-chalk-copy b{font-size:10px!important;white-space:normal!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-course .buggy-chalk-copy>span{display:none!important}
/* Course state outranks the board's generic yellow verification-button rule. */
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course[data-v232-state=action]{color:#FF9BB1!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course[data-v232-state=pending]{color:var(--buggy-sun)!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course[data-v232-state=ready]{color:#AFC1B7!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course[data-v232-state=checking]{color:var(--buggy-fog)!important}
/* Narrow phones keep every check inside the board rather than clipping the
   inherited max-content verification columns. Training stays one compact row. */
@media(max-width:360px){
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .v232-status-band{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px 6px!important}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .v232-status-band>button.buggy-chalk-status{grid-template-columns:12px minmax(0,1fr)!important}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .v232-status-band>button .buggy-chalk-copy b{font-size:11px!important}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .buggy-training-heading{font-size:11px!important}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .v232-status-band>button .buggy-chalk-copy>span{font-size:9px!important}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-row{gap:2px;min-width:0;width:calc(100% + 12px);margin-inline:-6px}
 #buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board button.buggy-chalk-status.buggy-training-course{grid-template-columns:10px max-content!important;column-gap:1px!important}
}
#buggy-passport-app #passport :is(.ride-launch,.map-launch){cursor:pointer}
/* Home Book/Buy is one native target, including art and red inset. Keep the
   approved 130px card and 24px label; no gesture relay or second tab stop. */
#buggy-passport-app #passport .ride-launch.buggy-compact-launch{position:relative;padding-bottom:48px!important}
#buggy-passport-app #passport .ride-launch.buggy-compact-launch>button{position:absolute!important;inset:0!important;z-index:1;width:100%!important;height:100%!important;padding:14px!important;align-items:flex-end!important;border-radius:22px!important;touch-action:pan-y pinch-zoom;transform:none!important}
#buggy-passport-app #passport .ride-launch.buggy-compact-launch>button:focus-visible{outline:3px solid var(--buggy-navy)!important;outline-offset:3px!important}
#buggyTourSpotlight [data-tour-status]:empty{display:none!important}
/* Confirmed tour receipts must not cover the next orientation highlight.
   Ordinary Passport-award celebrations retain their established design. */
body #buggyBucksCelebration[hidden]{display:none!important}
body #buggyBucksCelebration.bucks-tour-credit{width:max-content;max-width:calc(100vw - 28px);flex-direction:row;gap:8px;padding:6px 10px;border-width:2px;border-radius:999px;font:700 15px/1.25 var(--buggy-body-font);pointer-events:none;text-align:left}
body #buggyBucksCelebration.bucks-tour-credit .bucks-coin{width:28px;height:28px;flex:0 0 28px;animation:bucks-one-flip .7s ease-out}
body #buggyBucksCelebration.bucks-tour-credit small{display:block;font:12px/1.2 var(--buggy-body-font)}
@media(max-height:480px) and (min-width:600px){body #buggyBucksCelebration.bucks-tour-credit{max-width:190px}}
@media(prefers-reduced-motion:reduce){body #buggyBucksCelebration.bucks-tour-credit .bucks-coin{animation:none}}
/* Guardian linking is the primary path. Limited Minor remains an explicit,
   secondary choice with its own acknowledgment; it never looks like Send. */
#buggy-passport-app #passportSetup #v123Limited.buggy-button--quiet{width:auto!important;min-width:44px!important;min-height:44px!important;margin:4px auto 0!important;padding:6px 10px!important;border:1px solid var(--buggy-line)!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--buggy-navy)!important;font:400 13px/1.15 var(--buggy-action-font)!important}
/* Vehicle-photo badge: sibling actions share the picture track, so training
   remains usable even when the separate vehicle selection is disabled.
   A 24px label sits inside a 44px target; no extra block below availability. */
.vehicle-choice-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;min-width:0;border:0;border-radius:22px;background:white}
.vehicle-choice-card .vehicle-choice{grid-area:1/1/4/2;grid-template-rows:subgrid;width:100%;height:100%;border-radius:22px!important;box-sizing:border-box}
.buggy-training-required{position:relative;grid-area:1/1/2/2;align-self:end;justify-self:stretch;z-index:1;display:flex;align-items:flex-end;justify-content:center;width:auto;min-height:44px;box-sizing:border-box;margin:0 10px 3px;padding:20px 0 0;border:0;border-radius:4px;background:transparent;color:var(--buggy-navy);font:10px/1.3 var(--buggy-body-font);text-align:center;cursor:pointer}
.buggy-training-required>span{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;min-height:24px;box-sizing:border-box;padding:3px 2px;border-radius:4px;background:var(--buggy-sun);text-transform:capitalize}
.buggy-training-required>span:before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:var(--buggy-sage)}
.buggy-training-required small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.buggy-training-required:focus-visible{outline:2px solid var(--buggy-navy);outline-offset:2px}
.buggy-training-required[data-training-state=not_started]>span:before{background:var(--buggy-red)}
.buggy-training-required[data-training-state=in_progress]>span:before{background:#AE6A00}
.buggy-training-required[data-training-state=complete]>span:before{background:#347147}
#buggyAdvisorC47 .advisor-sheet>header{position:sticky;top:0;z-index:2;align-items:center;background:var(--buggy-fog);padding:4px 0;border-bottom:1px solid var(--buggy-line)}
#buggyAdvisorC47 #advisorClose{flex:none;width:auto!important;min-width:60px!important;font:15px/1.2 var(--buggy-action-font)!important}
.advisor-reference-exit{position:sticky;top:0;z-index:2;padding:8px 0;background:var(--buggy-fog)}
.know-flow-info-links{display:grid;gap:6px}
.know-flow-info-links a{display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:8px 12px;border:1px solid var(--buggy-line);border-radius:12px;color:var(--buggy-navy);background:var(--buggy-paper);font:14px/1.4 var(--buggy-body-font);text-decoration:underline;text-underline-offset:3px}
.know-flow-info-links a:focus-visible{outline:3px solid var(--buggy-navy);outline-offset:2px}
/* C107: canonical Rip bubble and a viewport-bounded tour spotlight. */
#buggy-passport-app.buggy-tour-active #passport.passport-context-active:before{display:none!important}
#buggy-passport-app.buggy-tour-active #passport.passport-context-active>:not(.buggy-tour-muted){filter:none!important;opacity:1!important}
#buggy-passport-app .buggy-tour-muted{filter:none!important;pointer-events:none!important}
#buggyTourSpotlight{position:fixed;inset:0;z-index:2147483000;pointer-events:none;color:var(--buggy-navy)}
#buggyTourSpotlight .buggy-tour-pane{position:fixed;background:#f1f0eb99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;contain:paint}
#buggyTourSpotlight .buggy-tour-ring{position:fixed;border:2px solid var(--buggy-sun);border-radius:12px;box-sizing:border-box;pointer-events:none}
#buggy-passport-app #buggyTourSpotlight #passportRipGuide{position:fixed!important;right:auto!important;bottom:auto!important;transform:none!important;translate:none!important;min-width:0!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:4px 6px 8px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 88px;column-gap:8px;row-gap:8px;align-items:center;opacity:1!important;visibility:visible!important;overflow:auto!important;overscroll-behavior:contain;pointer-events:auto!important;isolation:isolate;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;touch-action:manipulation}
#buggy-passport-app #buggyTourSpotlight #passportRipGuide[hidden]{display:none!important}
#buggyTourSpotlight .buggy-tour-toolbar{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:44px;padding:0;position:relative;z-index:5}
#buggyTourSpotlight .buggy-tour-toolbar strong{flex:1 0 100%;min-width:0;font:700 12px/1.25 var(--buggy-body-font)}
#buggyTourSpotlight .buggy-tour-toolbar .buggy-button{min-height:44px;min-width:44px;font-size:12px;padding:4px 8px;white-space:nowrap}
#buggyTourSpotlight .buggy-tour-toolbar .buggy-button--quiet{background:var(--buggy-fog)!important;border:1px solid var(--buggy-line)!important;box-shadow:none!important;color:var(--buggy-navy)!important}
body:has(#buggy-passport-app.buggy-tour-active) :is(#buggyRipMoveHandle,#activationAskRipButton){display:none!important}
#buggy-passport-app #buggyTourSpotlight #passportRipSpeech{grid-column:1;grid-row:2;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:var(--v234-callout-height)!important;min-height:var(--v234-callout-height)!important;margin:0!important;z-index:3!important}
#buggyTourSpotlight .passport-context-rip-image{grid-column:2;grid-row:2;position:relative!important;width:88px!important;height:150px!important;max-width:100%!important;max-height:174px!important;inset:auto!important;margin:0!important;align-self:end;object-fit:contain!important;object-position:center bottom!important;transform:none!important;scale:1!important;animation:none!important;z-index:2!important;pointer-events:none!important}
#buggyTourSpotlight .passport-rip-close,#buggyTourSpotlight .passport-context-auto-pause{display:none!important}
#buggy-passport-app #buggyTourSpotlight .v234-rip-action{min-height:44px!important;min-width:68px!important;font-size:15px!important;touch-action:manipulation}
#buggyTourSpotlight [data-tour-status]{grid-column:1/-1;font:12px/1.3 var(--buggy-body-font);color:var(--buggy-navy);background:var(--buggy-fog);border-radius:8px;margin:0;padding:6px 8px;position:relative;z-index:4;overflow-wrap:anywhere}
#buggyTourSpotlight button:focus-visible{outline:3px solid var(--buggy-navy)!important;outline-offset:2px!important}
@media(max-width:350px){#buggy-passport-app #buggyTourSpotlight #passportRipGuide{grid-template-columns:minmax(0,1fr) 76px;column-gap:6px}#buggyTourSpotlight .passport-context-rip-image{width:76px!important;height:136px!important}#buggyTourSpotlight .buggy-tour-toolbar strong{font-size:11px}}
/* A short viewport can put the guide over its target; keep navigation legible. */
@media(max-height:500px){#buggyTourSpotlight .buggy-tour-toolbar{background:#f0f0ea;border-radius:10px}}
@media(prefers-reduced-motion:reduce){#buggyTourSpotlight *{animation:none!important;transition:none!important}}
/* The account panel is the shared entry point for character, records and help. */
body #buggyAccountMenu{width:min(360px,calc(100vw - 24px));box-sizing:border-box;padding:12px;border:2px solid var(--buggy-navy);border-radius:22px;background:var(--buggy-fog);color:var(--buggy-navy);box-shadow:0 12px 30px #041e4229;overflow-y:auto;overscroll-behavior:contain;font:14px/1.35 var(--buggy-body-font)}
body #buggyAccountMenu[hidden]{display:none}
body #buggyAccountMenu .buggy-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:44px;min-height:44px;box-sizing:border-box;margin:0;padding:8px 10px;border:1px solid var(--buggy-line);border-radius:16px;color:var(--buggy-navy);background:var(--buggy-paper);font:400 15px/1.2 var(--buggy-action-font);text-align:center;white-space:normal;box-shadow:none}
body #buggyAccountMenu .buggy-menu-avatar{background:var(--buggy-sun);border-color:#b88016;font-size:17px;min-height:54px}
body #buggyAccountMenu .buggy-menu-dossier{justify-content:flex-start;margin-top:8px;padding:5px 14px;font-size:18px}
body #buggyAccountMenu .buggy-menu-dossier img{display:block;flex:none;width:38px;height:44px;object-fit:contain}
body #buggyAccountMenu .buggy-menu-section{margin-top:12px;padding-top:9px;border-top:1px solid var(--buggy-line)}
body #buggyAccountMenu .buggy-menu-heading{margin:0 0 6px;padding:0;font:400 17px/1.2 var(--buggy-action-font);color:var(--buggy-navy)}
body #buggyAccountMenu .buggy-menu-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
body #buggyAccountMenu .buggy-menu-links .buggy-button{font-size:13px;padding:6px 4px;border-radius:12px}
body #buggyAccountMenu .buggy-menu-checkout{margin-top:12px;border-radius:0 0 10px 10px;border:0;border-top:1px solid var(--buggy-line);background:transparent;color:var(--buggy-sage)}
body #buggyAccountMenu .buggy-button:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--buggy-navy)}
body #buggyAccountMenu .buggy-button:focus-visible{outline:3px solid var(--buggy-navy);outline-offset:2px}
body #buggyAccountMenu .buggy-button:disabled{opacity:.5;cursor:default}
/* The last acknowledged tour stop hands off to the existing menu and editor.
   Canonical callout artwork, no new action or separate global presenter. */
body #buggyAccountMenu .buggy-menu-intro{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:8px;margin:0 0 12px;position:relative}
body #buggyAccountMenu .buggy-menu-intro[hidden]{display:none}
body #buggyAccountMenu .buggy-menu-intro>img{display:block;width:76px;height:auto;object-fit:contain;align-self:end}
body #buggyAccountMenu #buggyMenuIntroCopy{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;--v234-callout-width:220px;--v234-callout-height:136px}
/* Dossier moved to the menu; the same identity and status data now fill the board. */
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .v232-identity-row{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .passport-holder-copy{grid-column:1!important;grid-row:1!important;min-width:0}
html.buggy-v235-pwa-shell #buggyCopyrightNotice .buggy-version-line{display:block!important;margin:2px 0 0!important;font:9px/1.25 var(--buggy-body-font)!important;color:var(--buggy-navy)!important;text-align:center}

/* Shared directional cues: word-fit paint, full touch height. Use
   .buggy-button--cue for new help controls; adapters cover existing renderers.
   The named map-tool variant shares this compact paint for map chrome,
   retaining its owning layout and full native target. Never use it for
   forms, payment or menu entries. */
:is(
 .buggy-button--cue,.buggy-button--map-tool,
 body .v234-rip-action,
 body :is(#activationAskRipButton,#buggyRipMoveHandle,#rip-ask,#rip-move),
 html #buggy-passport-app :is(#rolloutAskRip,#rolloutMoveRip),
 html.buggy-v235-pwa-shell #buggy-passport-app #home .home-rip-intro .home-ask-rip,
 html.buggy-v235-pwa-shell #buggy-passport-app #home #ripHomeSpeech .v234-rip-action,
 #buggy-passport-app .training-ask-rip>.buggy-button,
 html #buggy-passport-app #buggySignatureSetup .signature-rip-controls button[data-rip],
 body .buddy-rip-controls button[data-rip],body .bucks-rip-control button[data-help],
 #buggy-passport-app #map .buggy-map-help-controls .buggy-button,
 #buggy-passport-app #map #buggyMapAskRip,
 #buggyTourSpotlight .buggy-tour-toolbar .buggy-button,
 #buggy-passport-app #buggyTourSpotlight .v234-rip-action,
 body .passport-rip-close,body .passport-context-auto-pause,
 :is(#buggy-passport-app,#buggyBuddyDialog,#buggyBucksDialog,#buggyAvatarBuilder) #v191RipInstructionOverlay #v191RipInstructionCopy.v234-rip-callout-host[data-v234-action-count="2"]>.v234-rip-actions>.v234-rip-action
){isolation:isolate!important;box-sizing:border-box!important;flex:0 0 auto!important;width:max-content!important;min-width:44px!important;max-width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:11px 6px!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--buggy-navy)!important;font:400 15px/1.2 var(--buggy-action-font)!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;overflow:visible!important;outline-offset:-8px!important;touch-action:manipulation}
/* Keep positioned launchers anchored by their owning layout. Other cue
   buttons establish their own containing block for the compact backing. */
:is(.buggy-button--cue,.v234-rip-action,#rolloutAskRip,#rolloutMoveRip,.training-ask-rip>.buggy-button,.signature-rip-controls button[data-rip],.buddy-rip-controls button[data-rip],.bucks-rip-control button[data-help],.buggy-tour-toolbar .buggy-button){position:relative!important}
:is(.buggy-button--cue,.buggy-button--map-tool,.v234-rip-action,#activationAskRipButton,#buggyRipMoveHandle,#rip-ask,#rip-move,#rolloutAskRip,#rolloutMoveRip,.home-ask-rip,.training-ask-rip>.buggy-button,.signature-rip-controls button[data-rip],.buddy-rip-controls button[data-rip],.bucks-rip-control button[data-help],.buggy-map-help-controls .buggy-button,#buggyMapAskRip,.buggy-tour-toolbar .buggy-button,.passport-rip-close,.passport-context-auto-pause)::before{content:""!important;position:absolute!important;z-index:-1!important;inset:auto 0!important;top:50%!important;height:calc(100% - 18px)!important;min-height:26px!important;box-sizing:border-box!important;transform:translateY(-50%)!important;border:1px solid var(--buggy-cue-line,#D99913)!important;border-radius:999px!important;background:var(--buggy-cue-fill,var(--buggy-sun))!important;pointer-events:none!important}
:is(.buggy-button--cue,.v234-rip-action,.buggy-map-help-controls .buggy-button,.buggy-tour-toolbar .buggy-button):is(.secondary,.buggy-button--quiet,.buggy-button--secondary){--buggy-cue-fill:var(--buggy-paper);--buggy-cue-line:var(--buggy-line)}
:is(.buggy-button--cue,.buggy-button--map-tool,.v234-rip-action,#activationAskRipButton,#buggyRipMoveHandle,#rip-ask,#rip-move,#rolloutAskRip,#rolloutMoveRip,.home-ask-rip,.training-ask-rip>.buggy-button,.signature-rip-controls button[data-rip],.buddy-rip-controls button[data-rip],.bucks-rip-control button[data-help],.buggy-map-help-controls .buggy-button,#buggyMapAskRip,.buggy-tour-toolbar .buggy-button,.passport-rip-close,.passport-context-auto-pause):focus-visible::before{outline:2px solid var(--buggy-navy);outline-offset:2px}
/* These are help choices, not full-width form submissions. Wrapping keeps
   longer translated labels separate without overlapping touch targets. */
:is(#buggy-passport-app,#buggyBuddyDialog,#buggyBucksDialog,#buggyAvatarBuilder) #v191RipInstructionOverlay #v191RipInstructionCopy.v234-rip-callout-host[data-v234-action-count="2"]>.v234-rip-actions:not(.v234-rip-actions-external){flex-flow:row wrap!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important}
body .buggy-insurance-v235__rip-toggle>span{min-width:44px!important;min-height:26px!important;height:26px!important;padding:0 6px!important;font:400 15px/1.2 var(--buggy-action-font)!important}

/* Ease/Trust stay available through onboarding, then live in the account
   menu. Retain their DOM handlers for menu delegation; keep version visible.
   Include the lesson's reparented dock and remove its otherwise empty shelf. */
html.buggy-support-in-menu #buggy-passport-app .screen-support-footer,
html.buggy-support-in-menu.buggy-v235-pwa-shell #buggy-passport-app>.phone>.v235-support-dock,
html.buggy-support-in-menu #buggy-passport-app #moduleTraining .know-flow-support .v235-support-dock{display:none!important}
html.buggy-support-in-menu #buggy-passport-app #moduleTraining .know-flow-support{margin-top:0}
/* Floating Map copyright already sits above the safe area and Map attribution.
   Unlike the edge-docked onboarding footer, do not reserve that inset again
   inside its white surface. Rip measures this actual content-sized footer. */
html.buggy-support-in-menu.buggy-v235-pwa-shell #buggy-passport-app.map-active #buggyCopyrightNotice{display:block!important;visibility:visible!important;position:absolute!important;left:50%!important;bottom:calc(28px + env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 112px)!important;box-sizing:border-box!important;padding-bottom:3px!important;z-index:35!important;border-radius:6px;background:var(--buggy-paper)!important}

/* Shared contextual helper: half the previous 1.5x artwork, with the same
   canonical image and readable speech. Welcome/award hero and Map/tour own
   their separate layouts and are intentionally not rescaled here. */
html.buggy-v235-pwa-shell #buggy-passport-app :is(
 #passportActivate #activationRipScene .setup-rip,
 #passportSetup #setupRipScene .setup-rip,
 #passportLogin #loginRipScene .setup-rip,
 #passport #passportRipGuide .passport-context-rip-image,
 #trainingPage #trainingRipGuide .training-rip-image
){scale:.75!important;transform-origin:right bottom!important}
/* The waist action replaces the separate floating Close only while that
   replacement is actually available. Keep the existing lifecycle handler. */
html.buggy-v235-pwa-shell #buggy-passport-app #passportRipGuide.buggy-rip-waist-close .passport-rip-close{display:none!important}
/* The waist row occupies the bubble's right edge. Keep its own Continue
   action on the opposite shelf, including the invisible touch target. */
html.buggy-v235-pwa-shell #buggy-passport-app .buggy-rip-waist-close .v234-rip-callout-host>.v234-rip-actions:not(.v234-rip-actions-external){left:14px!important;right:auto!important;justify-content:flex-start!important}
/* One restrained keyboard focus ring, not the legacy red + navy double ring. */
:is(#buggy-passport-app,#buggyBuddyDialog,#buggyBucksDialog,#buggyAvatarBuilder) .v234-rip-action:focus-visible{outline:2px solid var(--buggy-navy)!important;outline-offset:-8px!important}
:is(#buggy-passport-app,#buggyBuddyDialog,#buggyBucksDialog,#buggyAvatarBuilder) .v234-rip-action:focus-visible::before{outline:none!important}
/* Footer docking belongs to the shared presenter; Move offsets remain relative
   to that default and are never applied to an orientation-owned presenter. */
html.buggy-v235-pwa-shell #buggy-passport-app .buggy-rip-movable-presenter.buggy-rip-footer-anchored{translate:var(--buggy-rip-user-x,0px) calc(var(--buggy-rip-user-y,0px) + var(--buggy-rip-anchor-y,0px))!important}
/* Ride help belongs to its own function menu, with the same palette and native
   controls as Passport's menu. Transaction disclosures keep their own places. */
body#buggy-passport-app #rental-menu .rental-menu-panel{display:grid;gap:12px;padding:14px;border:2px solid var(--buggy-navy);border-radius:22px;background:var(--buggy-fog);box-shadow:0 12px 28px #041e4224}
body#buggy-passport-app #rental-menu:not([open]) .rental-menu-panel{display:none}
body#buggy-passport-app .rental-menu-heading{margin:0;font:22px/1.2 var(--buggy-action-font);color:var(--buggy-navy)}
body#buggy-passport-app .rental-menu-group{display:grid;gap:4px;padding:10px;border:1px solid var(--buggy-line);border-radius:16px;background:var(--buggy-paper)}
body#buggy-passport-app .rental-menu-group h3{margin:0 0 4px;font:17px/1.25 var(--buggy-action-font);color:var(--buggy-navy)}
body#buggy-passport-app .rental-menu-group :is(button,summary){box-sizing:border-box;width:100%;min-height:44px;padding:8px 10px;border-radius:12px;text-align:left;font:16px/1.3 var(--buggy-action-font);white-space:normal}
body#buggy-passport-app #rental-availability-menu{font:16px/1.4 var(--buggy-body-font)}
body#buggy-passport-app #rental-availability-menu p{margin:6px 0}
body#buggy-passport-app .vehicle-choice-card .vehicle-choice{gap:2px;align-content:start;padding-bottom:8px}
body#buggy-passport-app .vehicle-choice-card .vehicle-choice :is(strong,span){margin:0;align-self:start}
body#buggy-passport-app .vehicle-choice-card .vehicle-choice>span{line-height:1.25}
body#buggy-passport-app .vehicle-availability-banner{grid-area:1/1/2/2;align-self:start;justify-self:stretch;margin:10px;z-index:2;pointer-events:none;border:1px solid #a4aeaa;border-radius:6px;padding:3px 4px;background:#f1f0ebee;color:var(--buggy-navy);font:12px/1.2 var(--buggy-body-font);text-align:center;white-space:normal}
body#buggy-passport-app .vehicle-availability-banner[hidden]{display:none}
body#buggy-passport-app #rental-rip-guide:not([data-reader=true]) .rip-guide-controls{bottom:28px}
body#buggy-passport-app #rental-rip-guide .rip-guide-controls{z-index:4}
body#buggy-passport-app:has(#rental-menu[open]) #rental-rip-guide{visibility:hidden;pointer-events:none}
body#buggy-passport-app .calendar-actions[hidden]{display:none!important}
body#buggy-passport-app #rental-quote:empty{display:none}
body#buggy-passport-app #rental-rip-guide #rip-dismiss[hidden]{display:none!important}
/* Passive state detail belongs to Rip/the function menu; honor the state
   owner's hidden flag without suppressing active errors or hold receipts. */
body#buggy-passport-app :is(#calendar-status,.calendar-hold-state,[data-vehicle-state])[hidden]{display:none!important}

/* C117: the approved Choose Your Ride helper is the shared contextual scale.
   Natural-aspect artwork makes the waist anchor the actual image edge, not a
   tall empty legacy image box. Welcome/award heroes and tour layout stay owned. */
:root{--buggy-rip-helper-width:104px}
html.buggy-v235-pwa-shell #buggy-passport-app :is(
 #passportActivate #activationRipScene .setup-rip,
 #passportSetup #setupRipScene .setup-rip,
 #passportLogin #loginRipScene .setup-rip,
 #passport #passportRipGuide .passport-context-rip-image,
 #trainingPage #trainingRipGuide .training-rip-image
){width:var(--buggy-rip-helper-width)!important;max-width:var(--buggy-rip-helper-width)!important;height:auto!important;max-height:none!important;scale:1!important;object-fit:contain!important;object-position:right bottom!important}
html.buggy-v235-pwa-shell #buggy-passport-app #passport #passportRipGuide.buggy-rip-idle:not(.open){display:block!important;position:fixed!important;top:auto!important;left:50%!important;right:auto!important;bottom:4px!important;width:min(410px,calc(100vw - 12px))!important;height:148px!important;min-height:0!important;margin:0!important;padding:0!important;transform:translateX(-50%)!important;overflow:visible!important;visibility:visible!important;opacity:1!important;pointer-events:none!important}
html.buggy-v235-pwa-shell #buggy-passport-app #passport #passportRipGuide.buggy-rip-idle:not(.open) .passport-context-rip-image{bottom:44px!important;right:2px!important}
html.buggy-v235-pwa-shell #buggy-passport-app #passport #passportRipGuide.buggy-rip-idle:not(.open)>:not(.passport-context-rip-image){display:none!important}
body#buggy-passport-app #rental-rip-guide:not([data-reader=true]){bottom:-4px}
body#buggy-passport-app #rental-rip-image{width:var(--buggy-rip-helper-width)}
/* Dialogs own their helper/focus. Do not leave the underlying Home controls
   visible over a menu, consent sheet, or a requested status explanation. */
html.buggy-v235-pwa-shell body:has(#buggyAccountMenu:not([hidden]),dialog[open],#v191RipInstructionOverlay:not([hidden])) :is(#buggy-passport-app #passport #passportRipGuide,#buggyRipMoveHandle,#activationAskRipButton){visibility:hidden!important;pointer-events:none!important}
/* Utility sheets retain their existing toggle and modal/reader behavior, but
   use the same artwork size and waist-level cue rather than tiny side icons. */
body :is(#buggyBuddyDialog .buddy-rip-controls,#buggyBucksDialog .bucks-rip-control,#buggySignatureSetup .signature-rip-controls){display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:end!important;align-items:end!important;gap:0!important;padding-bottom:16px}
body :is(#buggyBuddyDialog .buddy-rip-controls,#buggyBucksDialog .bucks-rip-control,#buggySignatureSetup .signature-rip-controls)>img{grid-area:1/1;display:block;width:var(--buggy-rip-helper-width)!important;min-width:0!important;max-width:var(--buggy-rip-helper-width)!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain;scale:1!important}
body :is(#buggyBuddyDialog .buddy-rip-controls,#buggyBucksDialog .bucks-rip-control,#buggySignatureSetup .signature-rip-controls)>button{grid-area:1/1;align-self:end;transform:translateY(16px);z-index:4}
html.buggy-v235-pwa-shell body :is(#buggy-passport-app,#buggyBuddyDialog,#buggyBucksDialog,#buggyAvatarBuilder) #v191RipInstructionOverlay .v191-rip-instruction-rip{width:var(--buggy-rip-helper-width)!important;min-width:0!important;max-width:var(--buggy-rip-helper-width)!important;height:auto!important;min-height:0!important;max-height:none!important}
body #buggy-passport-app #rolloutRipImage{width:var(--buggy-rip-helper-width);height:auto;max-height:none}
body #buggy-passport-app #rolloutRipGuide .rollout-rip-controls{bottom:28px;z-index:4}
body .buggy-insurance-v235__rip-toggle{width:var(--buggy-rip-helper-width)!important}
body .buggy-insurance-v235__rip-toggle img{width:var(--buggy-rip-helper-width)!important;height:auto!important}
body .buggy-insurance-v235__rip-toggle>span{position:relative;z-index:4;margin-top:-19px}

/* C122: the existing utility destinations share readable BUGGY support cards.
   These selectors work both in the page and its existing modal portal. */
body :is(#helpPage,#aboutPage).buggy-support-page{color:var(--buggy-navy);font:400 15px/1.45 var(--buggy-body-font)}
body .buggy-support-page .utility-stack{display:grid;gap:16px;margin-top:14px}
body .buggy-support-page .title{display:block;margin:8px 0 16px}
body .buggy-support-page .title h3{margin:0 0 4px;font:400 27px/1.15 var(--buggy-action-font)}
body .buggy-support-page .title>span{font:400 15px/1.4 var(--buggy-body-font);white-space:normal}
body .buggy-support-page .buggy-support-card{box-sizing:border-box;min-width:0;margin:0;padding:16px;border:1px solid var(--buggy-line);border-radius:20px;background:var(--buggy-paper);box-shadow:0 5px 14px #041e420b;overflow-wrap:anywhere;scroll-margin-top:12px}
body .buggy-support-page .buggy-support-card :is(h2,h3,summary){color:var(--buggy-navy);font:400 20px/1.25 var(--buggy-action-font)}
body .buggy-support-page .buggy-support-card :is(h2,h3){margin:0 0 8px}
body .buggy-support-page .buggy-support-card p{margin:8px 0;font:400 15px/1.45 var(--buggy-body-font)}
body .buggy-support-page .buggy-support-card small{display:block;margin-top:8px;font:400 13px/1.4 var(--buggy-body-font)}
body .buggy-support-page .buggy-support-card summary{box-sizing:border-box;min-height:44px;cursor:pointer;padding:9px 0;list-style-position:inside}
body .buggy-support-page .buggy-support-card>.buggy-button{width:100%;margin-top:8px}
body .buggy-support-page :is(.buggy-support-card:focus,summary:focus-visible,a:focus-visible){outline:3px solid var(--buggy-navy);outline-offset:3px}
body .buggy-support-page .buggy-support-intro{display:flex;align-items:center;gap:12px;padding:0 8px}
body .buggy-support-page .buggy-support-intro img{flex:0 0 72px;width:72px;height:auto;object-fit:contain}
body .buggy-support-page .buggy-support-intro p{margin:0;font:400 20px/1.25 var(--buggy-action-font)}
body .buggy-support-page .buggy-support-intro p>span{display:block;margin-bottom:3px;color:var(--buggy-sage);font:400 12px/1.3 var(--buggy-body-font)}
body .buggy-support-page .buggy-hq-contact{margin:8px 0 16px;padding:12px;border-radius:12px;background:var(--buggy-selected)}
body .buggy-support-page .buggy-hq-contact>strong{font:700 17px/1.4 var(--buggy-body-font)}
body .buggy-support-page .buggy-contact-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .buggy-support-page .buggy-contact-person{min-width:0;padding-top:12px;border-top:1px solid var(--buggy-line)}
body .buggy-support-page .buggy-contact-person>.buggy-button{width:100%;padding:9px 10px}
body .buggy-support-page .buggy-contact-email{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere;color:var(--buggy-navy);font:400 14px/1.4 var(--buggy-body-font);text-underline-offset:3px}
body .buggy-support-page .buggy-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .buggy-support-page .buggy-team-person{min-width:0}
body .buggy-support-page .buggy-team-photo{display:grid;place-items:center;width:84px;height:84px;max-width:100%;aspect-ratio:1;overflow:hidden;margin-bottom:8px;border-radius:50%;clip-path:circle(50%);background:transparent;isolation:isolate}
body .buggy-support-page .buggy-team-photo>span{padding:12px;text-align:center;color:var(--buggy-sage);font:400 13px/1.4 var(--buggy-body-font)}
body .buggy-support-page .buggy-team-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:50%;transform:scale(1.04)}
body .buggy-support-page :is(.buggy-team-rip,.buggy-team-community){margin-top:8px}
/* C124: illustrated team portrait retains the whole original mascot, not a photo crop. */
body .buggy-support-page .buggy-team-photo--mascot{background:var(--buggy-selected)}
body .buggy-support-page .buggy-team-photo--mascot img{box-sizing:border-box;object-fit:contain;padding:9px;transform:none;border-radius:0}
body .buggy-support-page .buggy-team-community .buggy-team-photo{width:84px;height:84px}
/* C125: private rental-condition camera and review, using shared native controls. */
body .condition-reports{margin-top:24px;padding-top:16px;border-top:2px solid var(--buggy-sun)}
body .condition-reports h3,body .condition-dialog :is(h2,h3){font:400 23px/1.25 var(--buggy-action-font);color:var(--buggy-navy);margin:0 0 12px}
body .condition-reports p{font:400 16px/1.45 var(--buggy-body-font)}
body dialog.condition-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 16px));max-width:calc(100vw - 16px);height:min(920px,calc(100dvh - 16px));max-height:calc(100dvh - 16px);padding:0;border:2px solid var(--buggy-navy);border-radius:22px;color:var(--buggy-navy);background:var(--buggy-paper);overflow:hidden}
body dialog.condition-dialog[open]{display:flex;flex-direction:column}
body .condition-dialog::backdrop{background:#041e4280}
body .condition-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid var(--buggy-line);flex:0 0 auto}
body .condition-dialog-head h2{margin:0;font-size:20px}
body .condition-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;flex:1 1 auto;overflow-wrap:anywhere}
body .condition-dialog-body :is(p,label,dt,dd,figcaption,input,textarea,select){font:400 17px/1.45 var(--buggy-body-font)}
body .condition-dialog-body p{margin:0 0 14px}
body .condition-dialog :is(input,textarea,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid var(--buggy-line);border-radius:12px;background:var(--buggy-paper);color:var(--buggy-navy);padding:10px}
body .condition-field{display:grid;gap:6px;margin:16px 0}
body .condition-camera-stage{position:relative;display:grid;place-items:center;min-height:170px;aspect-ratio:4/3;background:var(--buggy-fog);border:1px solid var(--buggy-line);border-radius:16px;overflow:hidden;margin-bottom:12px}
body .condition-camera-stage :is(img,video){display:block;width:100%;height:100%;object-fit:contain;max-height:400px}
body .condition-camera-stage > video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
body .condition-camera-stage > .condition-camera-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:#fff;opacity:.42;filter:drop-shadow(0 1px 1px rgba(4,30,66,.7));z-index:1}
body .condition-camera-guide[hidden]{display:none!important}
body .condition-camera-guide :is(path,rect,circle,ellipse,line,polyline){vector-effect:non-scaling-stroke}
body .condition-camera-stage .condition-camera-off{text-align:center;padding:20px;margin:0}
body .condition-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}
body .condition-actions .buggy-button{max-width:100%;white-space:normal}
body .condition-status{padding:12px;border-left:3px solid var(--buggy-sun);background:var(--buggy-selected)}
body .condition-status[role=alert]{border-color:var(--buggy-red)}
body .condition-dialog-body .condition-source{font-size:14px;color:var(--buggy-sage)}
body .condition-dialog-body .condition-test{font-size:14px;font-weight:700;color:var(--buggy-red)}
body .condition-comparison img{display:block;width:min(220px,100%);height:auto;max-height:170px;object-fit:contain;border-radius:12px;background:var(--buggy-fog)}
body .condition-photo-grid,body .condition-extra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
body .condition-photo-grid figure{min-width:0;margin:0}
body .condition-photo-grid img,body .condition-extra img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--buggy-fog);border-radius:12px}
body .condition-photo-grid figcaption{font-size:14px;margin-top:6px}
body .condition-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:20px 0}
body .condition-summary dt{font-weight:700}body .condition-summary dd{margin:0;white-space:pre-wrap}
body .condition-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0}
body .condition-consent input{width:24px;min-height:24px;height:24px;flex:0 0 24px;margin:2px 0}
body .condition-dialog-body .condition-consequence{font-size:15px;line-height:1.45}
body .condition-rip-slot{flex:0 0 auto;padding:0 12px;position:relative;border-top:1px solid var(--buggy-line)}
/* One compact group: never stretch the gap between the callout and its speaker. */
body#buggy-passport-app .condition-rip-slot #rental-rip-guide{position:relative!important;inset:auto!important;width:min(340px,100%);height:86px;max-height:none;margin:0 0 0 auto;padding:0}
body#buggy-passport-app .condition-rip-slot #rental-rip-guide[data-side=left]{margin:0 auto 0 0}
body#buggy-passport-app #rental-rip-guide[data-condition=true] #rental-rip-image{bottom:20px;width:104px;max-height:70px}
body#buggy-passport-app #rental-rip-guide[data-condition=true] .rip-guide-controls{bottom:0}
body#buggy-passport-app #rental-rip-guide[data-condition=true] #rental-rip-bubble{bottom:58px!important}
/* Hidden guidance must never occupy the camera's pointer or keyboard surface. */
body#buggy-passport-app #rental-rip-bubble[aria-hidden=true]{display:none!important;pointer-events:none!important}
body#buggy-passport-app .condition-rip-slot #rental-rip-guide[data-conversation=true]{height:calc(var(--condition-callout-height,170px) + 70px)!important}
@media(max-height:420px){body .condition-rip-slot:has(#rental-rip-guide[data-conversation=true]){max-height:calc(100dvh - 140px);overflow:auto;overscroll-behavior:contain}}
@media(max-width:360px){body .condition-dialog-head,body .condition-dialog-body{padding:12px}body .condition-summary{grid-template-columns:1fr;gap:2px}body .condition-summary dd{margin-bottom:10px}}
body .buggy-support-page .buggy-partner-placeholder{margin:8px 0 16px;padding:14px;border:1px dashed var(--buggy-line);border-radius:14px;background:var(--buggy-fog)}
body #buggyAboutSection .buggy-truth-sections{padding:0;margin:18px 0 0;border:0;background:transparent}
body #buggyAboutSection .buggy-truth-sections>details{margin:10px 0;border-radius:12px}
body #buggyAboutSection .buggy-truth-sections>details>summary{font-size:16px}
/* C123: story first; preserve full legal/safety content in its existing owner. */
body .buggy-support-page .buggy-project-name{font-weight:700!important}
body .buggy-support-page .buggy-about-chapter{margin-top:24px}
body .buggy-support-page .buggy-purpose-grid{display:grid;gap:12px;margin-top:24px}
body .buggy-support-page .buggy-purpose-card{min-width:0;padding:16px;border-radius:16px;background:var(--buggy-selected)}
body .buggy-support-page .buggy-purpose-card p:last-child{margin-bottom:0}
body .buggy-support-page .buggy-purpose-vision{background:var(--buggy-fog)}
body .buggy-support-page .buggy-purpose-vision p{font:400 22px/1.3 var(--buggy-action-font)}
body .buggy-support-page .buggy-values-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
body .buggy-support-page .buggy-values-grid>div{min-width:0;padding:12px 0;border-top:2px solid var(--buggy-sun)}
body .buggy-support-page .buggy-values-grid dt{margin:0 0 4px;font:400 18px/1.3 var(--buggy-action-font)}
body .buggy-support-page .buggy-values-grid dd{margin:0;font:400 15px/1.45 var(--buggy-body-font)}
body .buggy-support-page .buggy-about-information{margin-top:24px;padding-top:12px;border-top:1px solid var(--buggy-line)}
body .buggy-support-page .buggy-about-information>summary{font-size:18px}
@media(max-width:420px){body .buggy-support-page .buggy-contact-people{grid-template-columns:minmax(0,1fr)}body .buggy-support-page .buggy-support-card{padding:14px}}

/* S250 — approved compact Passport input standard. Input sizing is separate
   from action hit targets. Legacy important dimensions require these scoped
   adapters; no widths, field data, native picker appearance or actions change. */
:root{--buggy-input-height:36px;--buggy-input-font:16px;--buggy-input-pad-block:5px;--buggy-input-pad-inline:8px;--buggy-field-gap:3px;--buggy-field-row-gap:6px}
body :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])),
#buggy-passport-app :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])),
#buggy-passport-app #home :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])),
#buggy-passport-app #passportSetup :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])),
#buggy-passport-app #passportSetup #v62AgePanel :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])),
body .buggy-guardian-modal :is(input:where(:not([type]),[type=text],[type=email],[type=password],[type=tel],[type=url],[type=search],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),select:not([multiple]):not([size])){
 box-sizing:border-box;
 min-height:var(--buggy-input-height)!important;
 height:var(--buggy-input-height)!important;
 padding-block:var(--buggy-input-pad-block)!important;
 padding-inline:var(--buggy-input-pad-inline)!important;
 line-height:1.25!important;
}
/* Preserve the existing custom selector chevrons and narrow native time fields. */
body .buggy-home-fields select{padding-right:24px!important}
@media(max-width:360px){body .calendar-card-time input[type=time]{padding-inline:1px!important}}
body textarea,body #buggy-passport-app textarea,body #buggyBuddyDialog textarea{
 box-sizing:border-box;min-height:72px;padding:6px 8px;
 line-height:1.4!important;
}
/* Compact label gaps only in input-field wrappers, never choice/consent rows. */
body .field:not(.check):not(.pickup-choice),
body #buggy-passport-app .field:not(.check):not(.pickup-choice){gap:var(--buggy-field-gap);margin-bottom:var(--buggy-field-row-gap)}
body #content>.driver-card [data-fields]{row-gap:var(--buggy-field-row-gap)}
body #content>.driver-card [data-fields] .field{gap:var(--buggy-field-gap);margin:0}
/* Keep every date digit and the native picker readable on narrow phones. */
@media(max-width:350px){body #content>.driver-card [data-fields]>.field:has(input[type=date]){grid-column:1/-1}}
body .sheet .grid{row-gap:var(--buggy-field-row-gap)}
body .buggy-home-fields{row-gap:var(--buggy-field-row-gap)}
body .buggy-home-fields :is(input,select,textarea){margin-top:var(--buggy-field-gap)}
body #buggyBuddyDialog label:has(>input:not([type=checkbox])),
body #buggyBuddyDialog label:has(>textarea){margin:8px 0 4px}
body #buggyBuddyDialog input:not([type=checkbox]),body #buggyBuddyDialog textarea{margin-top:var(--buggy-field-gap)}
body #buggy-passport-app :is(.setup-input,.setup-select,.login-input),
body .buggy-guardian-modal .setup-input{margin-bottom:var(--buggy-field-row-gap)!important}
body #buggy-passport-app #home .home-name-input{margin-bottom:var(--buggy-field-row-gap)!important}
body #buggy-passport-app .us-origin-grid :is(.setup-input,.setup-select){margin-bottom:var(--buggy-field-row-gap)!important}

/* S269: two trusted courses in the existing single status line. */
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-row{grid-template-columns:max-content max-content max-content;gap:3px;width:100%;margin-inline:0}
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-training-course .buggy-chalk-copy b{white-space:nowrap!important}
.buggy-training-course .training-name-short{display:none}
@container (max-width:310px){.buggy-training-course .training-name-full{display:none}.buggy-training-course .training-name-short{display:inline}}
@media(max-width:360px){#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .buggy-training-heading{font-size:10px!important}.buggy-training-course .training-name-full{display:none}.buggy-training-course .training-name-short{display:inline}}

/* S270: support pages keep their styles when ported into the global modal. */
body .buggy-support-page .buggy-help-index,
body .buggy-support-page .buggy-help-topics{padding:12px}
body .buggy-support-page .buggy-help-index h2,
body .buggy-support-page .buggy-help-topics h2{margin:0 0 8px}
body .buggy-support-page #buggyAskRipTitle{display:flex;align-items:center;gap:8px}
body .buggy-support-page #buggyAskRipTitle img{width:34px;height:34px;object-fit:contain}
/* Outrank the old app-wide nav rule while also matching the detached modal. */
body :is(#buggy-passport-app,#buggyGlobalModal) .buggy-support-page .buggy-help-links{display:grid;position:static;inset:auto;transform:none;gap:5px;width:100%;padding:0;background:transparent;z-index:auto;border-radius:0}
body .buggy-support-page .buggy-help-link{display:block;width:100%;min-height:34px;margin:0;padding:6px 9px;border-radius:10px;text-align:left;font:400 15px/1.25 var(--buggy-action-font);background:transparent;color:var(--buggy-navy,#041E42);border:1px solid #b4bfbe;box-shadow:none}
body .buggy-support-page .buggy-help-link:focus-visible,
body .buggy-support-page .buggy-help-group summary:focus-visible{outline:2px solid var(--buggy-navy,#041E42);outline-offset:2px}
body .buggy-support-page .buggy-help-group{border-top:1px solid #cbd0ce;margin:0;padding:0}
body .buggy-support-page .buggy-help-group>summary{padding:9px 0;cursor:pointer}
body .buggy-support-page .buggy-help-group>details{margin:0 0 5px;padding:5px 8px;border:1px solid #d4d9d7;border-radius:8px}
body .buggy-support-page .buggy-help-group>details>summary{cursor:pointer;font-size:14px;line-height:1.35}
body .buggy-support-page .buggy-help-group p{margin:8px 0;font-size:14px;line-height:1.45}

/* S273: the shared training heading follows both required completion receipts. */
#buggy-passport-app :is(#passport,#ridePage,#buggyRentalWorkspace) .buggy-status-board .buggy-training-heading[data-v232-state=ready]{color:#AFC1B7!important}
.buggy-training-required[hidden]{display:none!important}

/* S274: readable date choices and compact calendar arrow controls. */
body .calendar-date-card>button{min-height:44px;padding:4px 6px;gap:2px}
body .calendar-date-card>button>span{font-size:14px;line-height:1.2}
body .calendar-date-card>button>strong{font-size:16px;line-height:1.2;white-space:nowrap}
@media(max-width:350px){body .calendar-date-card>button>strong{font-size:14px}}
body .vehicle-choice [data-vehicle-state][hidden]{display:none!important}
body #rental-calendar :is(.fc-prev-button,.fc-next-button){font-family:Arial,sans-serif;font-size:22px;line-height:1;min-width:36px;padding:6px}

/* S275: compact ride cards; unavailable remains a disabled, gray picture banner. */
body#buggy-passport-app .fleet-choices .vehicle-choice-card{grid-template-rows:auto auto}
body#buggy-passport-app .fleet-choices .vehicle-choice-card .vehicle-choice{grid-area:1/1/3/2;grid-template-rows:subgrid;gap:2px;padding:6px 8px!important;min-height:0}
body#buggy-passport-app .fleet-choices .vehicle-choice .vehicle-showroom{height:clamp(88px,27vw,104px);aspect-ratio:auto;object-fit:contain;background:transparent}
body#buggy-passport-app .fleet-choices .vehicle-choice>strong{line-height:1.2}
body#buggy-passport-app .fleet-choices .vehicle-choice[data-availability-state=unavailable]{background:#edf0ee!important}
body#buggy-passport-app .fleet-choices .vehicle-choice[data-availability-state=unavailable]>[data-vehicle-state]{position:absolute;inset:7px 8px auto;z-index:2;box-sizing:border-box;padding:3px 4px;border:1px solid #a4aeaa;border-radius:4px;background:#d7dcda;color:#3c4542;font:12px/1.2 var(--buggy-body-font);text-align:center}

/* S306: verified completion uses the shared green status; other screens unchanged. */
body .condition-status[data-pickup-ready="true"]{color:#234b37;border-color:#397452;background:#e8f3eb;font-weight:700}
body .condition-dialog-head{flex-wrap:wrap}
body .condition-dialog-head h2{flex:1 1 140px}
body .condition-dialog [data-condition-help] a{display:block;padding:8px 0}
