/* ATHRTY PX-08 | Commercial Composition Bridge
 * Proposal styling remains controlled by verified client branding.
 * Checkout UI receives geometry and accessibility treatment only.
 * No JS, price calculations, billing states or customer websites changed.
 */
body[data-proposal-site]{
 --px08c-radius:clamp(14px,1.7vw,21px);
 --px08c-gap:clamp(12px,1.7vw,20px);
 --px08c-pad:clamp(18px,2.5vw,32px);
}
body[data-proposal-site] :is(.module-card,.flow-step,.price-card,.scope-panel,.v13-process-column){
 min-width:0;max-width:100%;overflow-wrap:break-word;
 border-radius:var(--px08c-radius);
}
body[data-proposal-site] :is(.module-card,.flow-step,.scope-panel) :is(h2,h3,h4){
 overflow-wrap:break-word;text-wrap:balance;line-height:1.16;
}
body[data-proposal-site] :is(.module-card,.flow-step,.scope-panel,.price-card) :is(p,li,small){
 overflow-wrap:break-word;line-height:1.6;
}
body[data-proposal-site] :is(.price-card,.proposal-price,.price-number,.total,.amount){
 font-variant-numeric:tabular-nums;
}
body[data-proposal-site] .actions{display:flex;gap:var(--px08c-gap);flex-wrap:wrap;align-items:stretch}
body[data-proposal-site] .actions :is(.btn,a,button){min-width:0;min-height:46px;max-width:100%;white-space:normal;text-wrap:pretty}
body[data-proposal-site] .module-card .cap-status{
 max-width:100%;overflow-wrap:break-word;
}
body[data-proposal-site] :is(.system-cards,.flow-diagram,.pricing-grid,.scope-grid)>*{min-width:0}
body[data-proposal-site] :is(.proposal-table-wrap,.table-wrap,.pricing-table-wrap){
 max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
}
body[data-proposal-site] :is(input,select,textarea){min-width:0;max-width:100%}
body[data-proposal-site] :is(.btn,a,button,input,select,textarea):focus-visible{
 outline:3px solid var(--proposal-focus,var(--accent-readable,var(--ink)));
 outline-offset:3px;
}
body[data-proposal-site] .btn:disabled{
 cursor:not-allowed;transform:none;
}
body.px08-checkout{
 --px08c-radius:18px;--px08c-radius-sm:12px;--px08c-tap:44px;
}
body.px08-checkout :is(.purchase-panel,.site-reveal,.preview-stage,#revisionForm){
 border-radius:var(--px08c-radius);min-width:0;
}
body.px08-checkout :is(.purchase-inner,.main-column,.checkout-layout,.chapter,.purchase-panel){
 min-width:0;overflow-wrap:break-word;
}
body.px08-checkout :is(.choice label,.terms){
 min-height:44px;border-radius:var(--px08c-radius-sm);
}
body.px08-checkout .choice label{
 display:flex;align-items:flex-start;padding:12px 14px;
}
body.px08-checkout .choice label:has(input:checked){
 border-color:var(--blue,#235b78);
 box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue,#235b78) 35%,transparent);
}
body.px08-checkout .choice label:focus-within{
 outline:2px solid var(--blue,#235b78);outline-offset:3px;
}
body.px08-checkout :is(.choice input,.terms input){
 flex-shrink:0;width:18px;height:18px;accent-color:var(--blue,#235b78);
}
body.px08-checkout :is(.btn,.link-button,.preview-overlay){
 min-height:var(--px08c-tap);border-radius:var(--px08c-radius-sm);
}
body.px08-checkout #payButton{min-height:51px;max-width:100%}
body.px08-checkout .purchase-inner .price{font-variant-numeric:tabular-nums;overflow-wrap:break-word}
body.px08-checkout .care-price{font-variant-numeric:tabular-nums}
body.px08-checkout :is(input,select,textarea){
 min-width:0;max-width:100%;border-radius:var(--px08c-radius-sm);
}
body.px08-checkout .purchase-foot{
 flex-wrap:wrap;align-items:baseline;
}
body.px08-checkout .site-reveal .preview-stage{border-radius:var(--px08c-radius) var(--px08c-radius) 0 0}
body.px08-checkout .preview-stage img{width:100%;height:100%;object-fit:cover}
body.px08-checkout .chapter{scroll-margin-top:25px}
body.px08-checkout .cap{gap:12px;border-radius:var(--px08c-radius-sm);min-width:0}
body.px08-checkout .cap :is(strong,span){overflow-wrap:break-word}
body.px08-checkout :is(a,button,input,select,textarea):focus-visible{
 outline:3px solid var(--blue,#235b78);outline-offset:3px;
}
@media(max-width:800px){
 body[data-proposal-site] :is(.system-cards,.flow-diagram){grid-template-columns:minmax(0,1fr)}
 body[data-proposal-site] :is(.module-card,.flow-step,.scope-panel,.price-card){min-height:0}
 body[data-proposal-site] .btn{min-height:48px}
 body.px08-checkout .checkout-layout{grid-template-columns:minmax(0,1fr)}
 body.px08-checkout .purchase-panel{position:static;grid-row:1;max-width:100%}
}
@media(max-width:540px){
 body[data-proposal-site] .wrap{max-width:100%}
 body[data-proposal-site] .actions :is(.btn,a,button){max-width:100%}
 body[data-proposal-site] :is(.module-card,.flow-step,.price-card,.scope-panel){padding:clamp(18px,5vw,27px)}
 body.px08-checkout .shell{width:min(calc(100% - 30px),1220px)}
 body.px08-checkout :is(.checkout-layout,.field-row){gap:12px;grid-template-columns:minmax(0,1fr)}
 body.px08-checkout .purchase-inner{padding:clamp(17px,4.5vw,23px)}
 body.px08-checkout :is(.purchase-inner,.chapter) :is(h2,h3){overflow-wrap:break-word}
 body.px08-checkout .cap{flex-wrap:wrap}
 body.px08-checkout .purchase-inner .price{font-size:clamp(29px,9vw,45px)}
 body.px08-checkout header{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 body[data-proposal-site] :is(.btn,.module-card,.flow-step,.price-card,.scope-panel){
  animation:none!important;transition:none!important;transform:none!important;
 }
 body.px08-checkout :is(.btn,.purchase-panel,.choice label){
  transition:none!important;animation:none!important;
 }
}