/* Only the three approved mobile business areas. */
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;}
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) .mobile-sales-menu {margin:0;padding:0;min-width:0;border:0;}
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) .mobile-sales-menu>summary {display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;font-size:13px;color:#315b88;border:1px solid #dce5ef;border-radius:8px;background:#fff;cursor:pointer;}
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) .mobile-sales-menu>summary::after {content:'⌄';margin-left:6px;}
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) .mobile-sales-menu:not([open])>.mobile-sales-menu-body {display:none!important;}
body.mobile-ui-active :is(.client-page-panel,.quote-page-stack,.project-contract-page-shell) .mobile-sales-menu-body {display:flex;flex-wrap:wrap;gap:6px;padding:7px 0;min-width:0;}
body.mobile-ui-active :is(.client-page-panel,.project-contract-page-shell) .mobile-sales-menu-body>button {flex:1 1 120px;width:auto;min-height:44px;margin:0;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-page-actions {display:flex;gap:6px;flex-wrap:wrap;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-page-actions>#clientCreateToggle {order:-1;flex:1;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-page-actions>:is(#clientFilterToggle,.mobile-sales-menu) {flex:0 0 auto;width:auto;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-page-actions>.mobile-sales-menu[open] {flex:1 0 100%;}
body.mobile-ui-active .mobile-system-shell .client-page-panel [data-sales-menu="client-stats"] {margin:6px 0;}
body.mobile-ui-active .mobile-system-shell .client-page-panel [data-sales-menu="client-stats"]>summary {justify-content:flex-start;font-size:12px;min-height:36px;padding:5px 0;border:0;color:#5d718a;}
body.mobile-ui-active .mobile-system-shell .client-page-panel [data-sales-menu="client-stats"] .cards {width:100%;margin:0;gap:5px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-list {gap:8px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card {gap:6px;padding:10px;box-shadow:none;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-title strong {font-size:14px;line-height:20px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-meta {padding:0;border:0;gap:3px 8px;font-size:12px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-grid {display:flex;flex-wrap:wrap;gap:4px 12px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-grid>div {display:flex;flex-wrap:wrap;gap:3px 5px;align-items:baseline;padding:0;background:transparent;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-grid>div[hidden] {display:none!important;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-grid :is(small,b,span) {font-size:11px;font-weight:400;line-height:16px;color:#61738b;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card-grid>div:first-child>span {display:none;}
body.mobile-ui-active #clientViewHost .mobile-client-card .client-row-actions {display:flex;flex-wrap:wrap;gap:6px;}
body.mobile-ui-active #clientViewHost .mobile-client-card .client-row-actions>button {flex:1 1 0;width:auto;min-width:0;min-height:44px;margin:0;padding:6px 3px;font-size:12px;white-space:normal;}
body.mobile-ui-active #clientViewHost .mobile-client-card .client-row-more {width:auto;flex:0 0 60px;}
body.mobile-ui-active #clientViewHost .mobile-client-card .client-row-more>summary {min-height:44px;padding:6px 3px;font-size:12px;}
body.mobile-ui-active #clientViewHost .mobile-client-card .client-row-more[open] {flex:1 0 100%;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card .client-row-more-menu {display:flex;gap:6px;flex-wrap:wrap;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .mobile-client-card .client-row-more:not([open])>.client-row-more-menu {display:none;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-finance-line {gap:5px;margin:8px 0;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-finance-line>div {padding:7px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-finance-line dd {font-size:15px;line-height:20px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-overview {gap:7px;padding:8px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-actions {gap:5px;}
body.mobile-ui-active .mobile-system-shell .client-page-panel .client-detail-title {font-size:17px;margin:0 0 5px;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id] {gap:5px;padding:10px;background:#fff;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:first-child {font-size:11px;color:#66758b;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:nth-child(2) {font-size:14px;line-height:20px;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:nth-child(3) {display:flex;flex-wrap:wrap;gap:2px 9px;font-size:12px;line-height:18px;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:nth-child(3)>.cell-main {width:100%;font-weight:400;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:nth-child(5) {font-size:12px;line-height:18px;gap:4px 8px;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .quote-list-table tbody>tr[data-row-id]>td:nth-child(6) {padding:0;background:none;font-size:14px;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .mobile-sales-quote-info {display:grid;gap:3px;flex:1 0 100%;font-size:12px;color:#61738b;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-row-more-content-a .quote-status-control {flex:1 0 100%;}
body.mobile-ui-active .mobile-system-shell .quote-page-stack .quote-list-panel .table-scroll {margin-top:8px;}
body.mobile-ui-active #quoteEditorModal #quoteForm .quote-form-save-actions {flex-direction:row!important;align-items:center!important;justify-content:flex-end;gap:6px;padding:8px 12px;}
body.mobile-ui-active #quoteEditorModal #quoteForm .quote-form-save-actions button {flex:0 1 auto!important;min-height:44px;height:44px;min-width:70px;width:auto;padding:6px 10px;}
body.mobile-ui-active #quoteEditorModal #quoteForm .quote-form-save-actions .quote-draft-save-state {flex:1 0 100%!important;font-size:11px;line-height:16px;margin:0;}
body.mobile-ui-active #quoteEditorModal .quote-form-step-nav {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding-bottom:6px;}
body.mobile-ui-active #quoteEditorModal .quote-form-step-nav a {min-width:0;min-height:44px;padding:5px;}
body.mobile-ui-active #quoteEditorModal .quote-form-step-nav a strong {position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:11px;line-height:16px;white-space:normal;text-align:center;}
body.mobile-ui-active #quoteEditorModal .quote-form-step-nav a span {display:none;}
body.mobile-ui-active #quoteEditorModal #quoteForm {scroll-padding-top:64px;scroll-padding-bottom:100px;}
body.mobile-ui-active #quoteEditorModal .quote-form-section-head {margin-bottom:8px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-list-panel>.section-head>.table-action-group {display:flex;flex-wrap:wrap;gap:6px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-list-panel>.section-head>.table-action-group>#projectContractCreateToggle {flex:1 1 130px;width:auto;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-list-panel>.section-head>.table-action-group>.mobile-sales-menu {flex:0 0 auto;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-list-panel>.section-head>.table-action-group>.mobile-sales-menu[open] {flex:1 0 100%;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-board-table>tbody>.project-contract-row {padding:10px;gap:4px 8px;background:#fff;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-board-table>tbody>.project-contract-row:is(.customer-page-hidden,.list-page-hidden,[hidden]) {display:none!important;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-board-table>tbody>.project-contract-row>td {font-size:12px;line-height:18px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-board-table>tbody>.project-contract-row>td:first-child {font-size:14px;line-height:20px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-status-main {color:#246b58;font-size:12px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-status-main:is(.closed,.archived,.cancelled) {color:#61738b;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-detail-panel[data-detail-refined=true] .project-detail-keyfacts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-detail-panel[data-detail-refined=true] .project-detail-keyfacts>div {padding:7px;border:0;background:#f5f8fc;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-detail-keyfacts :is(strong,b) {font-size:17px;overflow-wrap:anywhere;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-detail-overview-meta {display:flex;flex-wrap:wrap;gap:3px 10px;margin:5px 0;font-size:12px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-detail-panel[data-detail-refined=true] :is(.project-detail-hero,.receivable-detail-block,.project-detail-workflow) {padding:10px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-detail-panel>.mobile-sales-menu {margin-top:8px;border:1px solid #dce5ef;border-radius:8px;background:#fff;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .project-contract-detail-panel>.mobile-sales-menu>summary {justify-content:space-between;border:0;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .mobile-sales-menu-body>:is(.project-detail-costs,.project-detail-documents) {width:100%;margin:0;padding:8px;}
body.mobile-ui-active .mobile-system-shell .project-contract-page-shell .mobile-sales-menu-body>:is(.project-detail-costs,.project-detail-documents)>:is(.project-detail-block-head,.project-detail-section-heading) {display:none;}
body.mobile-ui-active .mobile-system-shell :is(.quote-page-stack,.project-contract-page-shell) .customer-fixed-pagination {padding:7px 0 0;gap:5px;font-size:12px;}
body.mobile-ui-active .mobile-system-shell :is(.quote-page-stack,.project-contract-page-shell) .customer-fixed-pagination .list-page-jump {display:none!important;}
body.mobile-ui-active .mobile-system-shell :is(.quote-page-stack,.project-contract-page-shell) .customer-fixed-pagination .list-page-size {display:none!important;}
body.mobile-ui-active .mobile-system-shell :is(.quote-page-stack,.project-contract-page-shell) .customer-fixed-pagination .list-pagination-controls {width:100%;justify-content:center;}
