/* Shared dialog foundations. Both page themes intentionally retain white dialogs. */
.business-sheet{color:#20242a;color-scheme:light}
.business-sheet .account-detail-scroll>p:first-child{margin-top:0}
.business-sheet .account-detail-scroll>p:last-child{margin-bottom:0}
.business-sheet .account-detail-scroll h2,.business-sheet .account-detail-scroll h3{font-family:inherit;color:#20242a;line-height:1.5}
.business-sheet .account-detail-scroll h2{font-size:17px}.business-sheet .account-detail-scroll h3{font-size:14px}
.business-sheet .account-detail-scroll p{font-size:12px;line-height:1.8;color:#626b75}
.business-section{margin:18px 0 0;padding-top:16px;border-top:1px solid #e1e5e9}
.business-section>h3{margin:0 0 13px;font-size:14px;font-weight:650}
.business-section:first-child{border:0;padding-top:0;margin-top:0}
.account-detail-product+.business-section{border-top:0;padding-top:0}
.business-timeline{list-style:none;padding:0;margin:0}
.business-timeline li{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr);gap:11px;padding-bottom:22px}
.business-timeline li:last-child{padding-bottom:0}
.business-timeline li:not(:last-child):before{content:'';position:absolute;top:13px;bottom:0;left:5px;width:1px;background:#dce1e6}
.business-timeline li>span{width:11px;height:11px;border:2px solid #c8cfd6;background:#fff;border-radius:50%;margin-top:4px;position:relative;z-index:1;box-sizing:border-box}
.business-timeline li.done>span{background:#6c7680;border-color:#6c7680}
.business-timeline li.current>span{background:#fe2c55;border-color:#fe2c55;box-shadow:0 0 0 4px #fe2c5514}
.business-timeline strong{display:block;font-size:13px;line-height:1.6;font-weight:600;color:#303740}
.business-timeline time{display:block;font-size:11px;line-height:1.7;color:#626b75;margin-top:5px;font-variant-numeric:tabular-nums}
.business-timeline p{margin:5px 0 0!important}
.business-note{padding:12px 14px;background:#f3f5f7;border:1px solid #e1e5e9;border-radius:10px;margin:16px 0 0;font-size:12px;line-height:1.8;color:#535e6a}
.business-sheet .account-detail-status{background:#f0f2f4;border:1px solid #e0e5e9;border-radius:12px;padding:16px}
.business-sheet .account-detail-status strong{color:#20242a;font-size:21px}
.business-sheet :is(.account-detail-row,.rc-detail-row,.rule){display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;font-size:12px;line-height:1.8;align-items:baseline;border-color:#e1e5e9;padding:12px 0}
.business-sheet :is(.account-detail-row,.rc-detail-row)>span,.business-sheet .rule>span:first-child{color:#626b75}
.business-sheet :is(.account-detail-row,.rc-detail-row)>b,.business-sheet .rule>strong{font-weight:500;color:#303740;overflow-wrap:anywhere;text-align:right}
.business-sheet .rule>div{min-width:0}
.business-sheet .rc-info{margin:0;padding:0;border:0;background:#fff!important;color:#20242a}
.business-sheet :is(.rc-timeline,.account-logistics){border-color:#dde2e7}.business-sheet :is(.rc-timeline,.account-logistics) p,.business-sheet .account-logistics small{color:#626b75}
.business-sheet .rc-rules i{background:#f1f3f5!important;color:#626b75!important}.business-sheet .rc-rules b{color:#303740}
.business-sheet .price{margin:0 0 16px;padding:16px;background:#f1f3f5;border-radius:12px}.business-sheet .price strong{font-size:28px}
.business-sheet .account-ledger{padding:14px 0;border-color:#e1e5e9}.business-sheet .account-ledger p{margin:0 0 4px;color:#303740}.business-sheet .account-ledger small{color:#626b75}
.business-sheet :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#f6f7f8;border:1px solid #dce1e6;color:#303740;border-radius:10px;max-width:100%;box-sizing:border-box}
.business-sheet :is(.account-reason-label,.fixed-consent){color:#535e6a;line-height:1.8}
.business-sheet .account-reason-label{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px;background:#fff;border:1px solid #dce1e6;border-radius:10px;margin:9px 0;font-size:13px;box-sizing:border-box}
.business-sheet .account-reason-label:has(input:checked){border-color:#171719;background:#f2f4f6;color:#20242a}
.business-sheet .account-reason-label input{accent-color:#171719;width:17px;height:17px;flex:0 0 17px;margin:0}
.account-detail-controls.has-one{grid-template-columns:minmax(0,1fr)}
.account-detail-controls.has-many{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-detail-bottom>[role=alert]{font-size:12px;line-height:1.7;color:#b51b3c;margin:0 0 10px;min-height:0}
.account-detail-bottom>[role=alert]:empty{display:none}
.business-sheet .account-detail-bottom:has(.account-detail-controls:empty){display:none}
.business-sheet .account-detail-controls>button{width:100%;max-width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.adapted-business-sheet .account-detail-scroll:has(.rc-code-confirm-actions:empty) .rc-code-confirm-actions{display:none}
.purchase-rules-modal .business-sheet .rule{grid-template-columns:28px minmax(0,1fr)}
.business-sheet .order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.business-sheet .order-actions>button{min-height:44px;border-radius:10px;font-size:13px}
/* Address editors and pickers share the same fixed actions without detaching form submission. */
.wf-sheet:has(.business-sheet-scroll){padding:0!important;overflow:hidden;color:#20242a;border:1px solid #e1e5e9}
.wf-sheet:has(.business-sheet-scroll) .wf-sheet-top{padding:14px 16px;margin:0;border-bottom:1px solid #e1e5e9;min-height:62px;box-sizing:border-box}
.wf-sheet:has(.business-sheet-scroll) .wf-sheet-content{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto;padding:0;min-height:0}
.business-sheet-scroll{overflow:auto;min-height:0;flex:1 1 auto;padding:16px;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.business-sheet-scroll .wf-field label,.business-sheet-scroll .wf-default-check,.business-sheet-scroll .wf-privacy-note{color:#626b75}
.business-sheet-scroll .wf-field{margin-bottom:16px}.business-sheet-scroll .wf-field :is(input,select,textarea){background:#f6f7f8;border-color:#dce1e6;color:#303740;font-size:16px}
.wf-sheet .account-detail-controls>button{min-height:44px;font-size:14px;line-height:20px;border-radius:10px;margin:0;padding:11px 12px;white-space:normal}
.wf-sheet .account-detail-controls .secondary{background:#fff;border-color:#d4d9df;color:#4e5964}
@media(max-width:350px){.business-sheet :is(.account-detail-row,.rc-detail-row,.rule){grid-template-columns:76px minmax(0,1fr);gap:12px}.business-sheet-scroll{padding:14px}.business-sheet .account-detail-controls>button{font-size:12px}.purchase-rules-modal .business-sheet .rule{grid-template-columns:24px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.business-sheet *,.business-sheet :before,.business-sheet :after,.wf-sheet *{animation:none!important;scroll-behavior:auto!important}}
