/* Contain intrinsically wide children; do not hide page overflow to conceal layout defects. */
body[data-responsive-layout] :where(main,.main-content,.admin-content,.sa-main,.sa-content,.account-main,.site-container,.sf-main,.order-detail-workspace,.ow-detail-grid,.admin-split,.form-row,.pay-grid,fieldset){min-width:0;max-width:100%}
body[data-responsive-layout] :where(.ow-detail-grid,.admin-split,.form-row,.pay-grid,.stats-grid,.bk-grid)>*{min-width:0}
body[data-responsive-layout] :where(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
body[data-responsive-layout] :where(.admin-card,.bk-card,.pay-panel,.billing-panel,.chat-workspace,.activity-inbox){min-width:0;max-width:100%}
body[data-responsive-layout] :where(.responsive-table-wrap,.ow-items-table){width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body[data-responsive-layout] :where(.responsive-table-wrap,.ow-items-table):focus-visible{outline:2px solid #5c8b7a;outline-offset:3px}
body[data-responsive-layout] :where(pre){max-width:100%;overflow-x:auto}
body[data-responsive-layout] :where(code){overflow-wrap:anywhere}
body[data-responsive-layout] :where(.topbar-left,.topbar-title,.breadcrumb,.bc-active,.account-header-row,.account-header-actions){min-width:0}
@media(max-width:700px){
 body[data-responsive-layout] .ow-detail-grid,body[data-responsive-layout] .admin-split{grid-template-columns:minmax(0,1fr)}
 body[data-responsive-layout] [data-responsive-stack]{grid-template-columns:minmax(0,1fr)!important}
 body[data-responsive-layout] :where(.topbar-title,.bc-active){overflow-wrap:anywhere}
 body[data-responsive-layout] .topbar{min-height:60px;height:auto;padding-top:9px;padding-bottom:9px}
 body[data-responsive-layout] .topbar-left{flex:1 1 auto}
 body[data-responsive-layout] .topbar-right{gap:8px;flex-shrink:0}
 body[data-responsive-layout] :where(.account-header-row,.account-header-actions){flex-wrap:wrap}
 body[data-responsive-layout] :where(.site-header-inner,.sf-header-inner){min-width:0;flex-wrap:wrap}
 body[data-responsive-layout] :where(.site-brand,.sf-header-brand){min-width:0;max-width:100%}
 body[data-responsive-layout] :where(.site-header-actions,.sf-header-actions){gap:6px;max-width:100%;flex-wrap:wrap}
 body[data-responsive-layout] :where(.btn-admin,.bk-wide){white-space:normal;overflow-wrap:anywhere;max-width:100%}
}
@media(max-width:480px){body[data-responsive-layout] .topbar .activity-bell{width:34px;height:34px;min-width:34px}body[data-responsive-layout] .topbar-user{gap:6px}}
@media(max-width:480px){body[data-responsive-layout].billing-page>header{flex-wrap:wrap;gap:12px}body[data-responsive-layout].billing-page .billing-back{max-width:100%;white-space:normal}}
@media print{body[data-responsive-layout] :where(.responsive-table-wrap,.ow-items-table){overflow:visible;max-width:none}}
