/* Shared R10 reading scale. Brand families, authority and required copy are unchanged. */
:root{--buggy-type-body:1.125rem;--buggy-type-label:1rem;--buggy-type-action:1.375rem;--buggy-type-section:1.5rem;--buggy-type-heading:clamp(1.75rem,5vw,2rem)}
#buggy-passport-app{font-size:var(--buggy-type-body)}
#buggy-passport-app .screen :is(p,label,input,select,textarea),
body :is(.v232-dossier,.v232-notice,#buggyCellVerificationV232,#buggyInsuranceVerificationV235) :is(p,label,input,select,textarea){font-size:var(--buggy-type-body)!important;line-height:1.5!important}
#buggy-passport-app .screen small,
body .v232-dossier :is(small,dt,.v232-fact-label,.v232-device-label),
#buggy-passport-app .screen :is(.small,.field-label,.receipt-caption,.receipt-preview-note){font-size:var(--buggy-type-label)!important;line-height:1.45!important}
#buggy-passport-app .screen :is(h1,h2),body .v232-dossier h2{font-size:var(--buggy-type-heading)!important;line-height:1.2!important}
#buggy-passport-app .screen h3,body .v232-dossier h3{font-size:var(--buggy-type-section)!important;line-height:1.3!important}
#buggy-passport-app .screen :is(button.primary,button.secondary,.actions button,.setup-actions button,.rollout-card>button,.training-card button),
body :is(.v232-dossier,.v232-notice) button:not(.v232-close):not([aria-label^="Close"]),
#buggy-passport-app #ridePage .rollout-card>button,
body #buggyStripeTestCheckout .stripe-test-actions button{font-size:var(--buggy-type-action)!important;line-height:1.3!important;white-space:normal!important;height:auto!important;min-height:48px;overflow-wrap:break-word}
#buggy-passport-app .screen :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0}
#buggy-passport-app :is(.passport-holder-copy,.receipt-order,.rollout-card){min-width:0}
#buggy-passport-app :is(.passport-holder-name,.passport-holder-id,.v232-standing-line){white-space:normal!important;overflow-wrap:anywhere;line-height:1.35!important}
#buggy-passport-app :is(.passport-holder-id,.v232-standing-line){font-size:var(--buggy-type-label)!important}
#buggy-passport-app .v232-status-band>button{font-size:var(--buggy-type-label)!important;line-height:1.35!important;white-space:normal!important;min-height:48px!important}
#buggy-passport-app #rolloutReceipt .receipt-order{font-size:var(--buggy-type-body);padding-top:16px}
#buggy-passport-app #receiptTitle{font-size:var(--buggy-type-heading)!important;margin-bottom:16px}
#buggy-passport-app #receiptTotal{font-size:var(--buggy-type-action)!important;overflow-wrap:anywhere}
#buggy-passport-app #ridePage .rollout-card{padding:20px!important;display:flex;flex-direction:column;gap:16px}
#buggy-passport-app #ridePage .rollout-card>b{font-size:14px!important;line-height:1.1!important}
#buggy-passport-app #ridePage .rollout-card>button{margin:0!important;padding:14px 18px!important;width:100%}
#buggy-passport-app #rideReadyFastPass{font-size:var(--buggy-type-label)!important;min-height:48px;white-space:normal!important;text-align:left;gap:10px}
/* Compact support rows retain full-width controls and allow enlarged text to reflow. */
html.buggy-v235-pwa-shell #buggy-passport-app .screen-support-footer button{display:grid!important;grid-template-columns:max-content minmax(0,max-content)!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:2px 8px!important;font-size:clamp(.75rem,3.4cqi,.875rem)!important;line-height:1.2!important;white-space:normal!important;height:auto!important;min-height:28px!important;width:100%!important;box-sizing:border-box!important}
#buggy-passport-app .screen-support-footer .screen-support-label{font-size:calc(max(.9375rem,1.25em) - .0625rem)!important;line-height:1.1!important;white-space:nowrap!important;text-align:left;letter-spacing:0!important}
#buggy-passport-app .screen-support-footer button>span:last-child{min-width:0;font-size:inherit!important;line-height:inherit!important;text-align:left}
#buggy-passport-app .screen-support-footer{flex-shrink:0;padding:2px 0!important;container-type:inline-size}
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock{padding:2px 0!important}
html.buggy-v235-pwa-shell #buggy-passport-app > .phone > .v235-support-dock button{padding:2px 8px!important}
/* Two visible lines; the technical build ID remains available in the footer tooltip. */
html.buggy-v235-pwa-shell #buggyCopyrightNotice.buggy-copyright-notice{font-size:.4375rem!important;line-height:1.2!important;letter-spacing:.02em!important;padding:3px 8px max(4px,env(safe-area-inset-bottom))!important}
html.buggy-v235-pwa-shell #buggyCopyrightNotice .buggy-version-line{font-size:.4375rem!important;line-height:1.2!important;letter-spacing:.02em!important;margin-top:1px!important}
html.buggy-v235-pwa-shell #buggyCopyrightNotice .buggy-build-id{display:none!important}
/* Keep the familiar manila folder, but never shrink its headings to 9px. */
#buggy-passport-app #passport .v186-marker-dashboard{padding-top:46px!important}
#buggy-passport-app #passport .v186-folder-hump-tabs{left:0!important;right:0!important}
#buggy-passport-app #passport .v186-folder-hump-tabs button{font-size:14px!important;line-height:1.15!important;min-height:50px!important;padding:12px 0 10px!important;white-space:normal!important;overflow-wrap:normal!important}
#buggy-passport-app #passport .v186-dashboard-body{grid-template-columns:minmax(0,1.18fr) minmax(116px,.82fr)!important}
#buggy-passport-app #passport .v186-dashboard-ledger span{font-size:14px!important;line-height:1.2!important}
#buggy-passport-app #passport .v186-dashboard-ledger button{min-height:44px!important;gap:5px!important;padding:6px 0!important}
#buggy-passport-app #passport .v186-dashboard-ledger{padding:7px!important}
#buggy-passport-app #passport .v186-dashboard-ledger b{font-size:18px!important}
#buggy-passport-app #passport .v186-training-readiness-link{min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
#buggy-passport-app #passport .v186-training-readiness-link img{min-width:0!important;max-width:100%!important;height:auto!important}
#buggy-passport-app #passport .v186-training-readiness-link span{min-width:0!important;box-sizing:border-box!important}
@media(max-width:350px){
 #buggy-passport-app #passport .v186-training-readiness-link{padding:4px!important}
 #buggy-passport-app #passport .v186-training-readiness-link span{font-size:16px!important;padding:7px 0!important}
}
#buggyGlobalModal .v181-folder-tabs button{font-size:14px!important;line-height:1.15!important;min-height:44px!important}
body .v232-dossier :is(.v232-fact,.v232-device,.v232-relationship){min-width:0;overflow-wrap:anywhere}
body .v232-dossier :is(.v232-fact-value,.v232-device-value){font-size:var(--buggy-type-body)!important;line-height:1.45!important}
body .v232-dossier-sheet{min-width:0;max-width:100%;transform:none}
body .v232-dossier-sheet :is(section,form,.v232-section-title,.v232-device,.v232-card-actions){min-width:0;max-width:100%}
body .v232-dossier-sheet :is(h2,h3,p,button){overflow-wrap:anywhere}
body .v232-dossier-sheet .v232-section-title{flex-wrap:wrap}
body .v232-dossier-sheet .v232-section-title>button{max-width:100%}
body .v232-dossier :is(.v232-fact span,.v232-device span,.v232-device em,.v232-dossier-footer){font-size:var(--buggy-type-label)!important;line-height:1.4!important}
body .v232-dossier :is(.v232-fact b,.v232-device b){font-size:var(--buggy-type-body)!important;line-height:1.4!important}
body .v232-notice>div{max-height:55dvh;overflow:auto}
@media(max-width:540px){
 #buggy-passport-app .v232-status-band{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #buggy-passport-app .v232-status-band>button{width:100%!important;min-width:0!important}
 #buggy-passport-app .receipt-caption{flex-wrap:wrap}
 body .v232-dossier :is(.v232-facts,.v232-fact-grid){grid-template-columns:1fr!important}
 body .v232-dossier .v232-detail-grid{grid-template-columns:1fr!important}
 body .v232-dossier .v232-dossier-status{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .v232-dossier .v232-device{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){#buggy-passport-app .screen *{scroll-behavior:auto!important}}

/* C19: restore the saved Created-page presentation. Its original rules were
   embedded with literal escaped newlines in the legacy stylesheet and did not
   parse; general text rules then replaced the intended font/layout. Scope only
   this existing component, leaving the rest of the app's reading scale intact. */
#buggy-passport-app #passportSetup .v235-r15-created-card{width:min(390px,100%)!important;margin:0 auto!important;padding:20px 18px 18px!important;border:1px solid rgba(4,30,66,.16)!important;border-radius:22px!important;background:var(--fog,#FFFDF7)!important;color:var(--navy,#041E42)!important;box-shadow:0 12px 28px rgba(4,30,66,.10)!important}
#buggy-passport-app #passportSetup .v235-r15-created-kicker{margin-bottom:10px!important;color:var(--navy,#041E42)!important;font:400 29px/1.02 "Permanent Marker","Comic Sans MS",cursive!important;text-align:center!important}
#buggy-passport-app #passportSetup .v235-r15-created-copy{margin:0 0 12px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--navy,#041E42)!important;font:700 14px/1.35 "Courier Prime","Courier New",monospace!important;text-align:center!important}
#buggy-passport-app #passportSetup .v235-r15-created-copy b{display:block!important;margin-bottom:3px!important}
#buggy-passport-app #passportSetup .v235-r15-created-understand{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:9px!important;align-items:start!important;margin:12px 0 14px!important;padding:12px!important;border:1px solid rgba(4,30,66,.18)!important;border-radius:14px!important;background:rgba(254,189,59,.10)!important;color:var(--char,#2A2F2D)!important;font:700 12px/1.35 "Courier Prime","Courier New",monospace!important}
#buggy-passport-app #passportSetup .v235-r15-created-understand input{width:20px!important;height:20px!important;margin:1px 0 0!important;accent-color:var(--sun,#FEBD3B)!important}
#buggy-passport-app #passportSetup .v235-r15-open-passport{width:100%!important;margin-top:2px!important}
#buggy-passport-app #passportSetup .v235-r15-open-passport[hidden]{display:none!important}
