/* Readable type scale across the existing interface. */
body{font-size:16px;line-height:1.5}
body .nav-item{font-size:16px;min-height:48px}
body .nav-item em,body .profile span,body .help-card p{font-size:12px}
body .profile b{font-size:14px}
body .primary-button,body .secondary-button,body .text-button,body .edit-button,body .wa-button{font-size:14px;min-height:42px}
body .page-heading h1{font-size:32px;line-height:1.25}
body .page-heading>div>p:last-child,body .card-head p,body .card>p{font-size:15px}
body .eyebrow,body .toolbar-kicker,body .table-footer{font-size:12px}
body .card h2,body .modal h2{font-size:20px}
body .metric-top,body .trend,body .chart-legend,body .bar-label{font-size:13px}
body .cell-sub,body .status,body .mini-badge,body .accept-badge,body .sla-badge{font-size:12px}
body td{font-size:14px}body th{font-size:12px}
body input,body select,body textarea{font-size:16px!important}
body .form-grid label,body .login-panel label,body .decision-field label{font-size:14px}
body .form-grid small,body .decision-note,body .secure-note{font-size:12px}
body .form-grid input,body .form-grid select{min-height:46px}
body .quick-filter,body .density-switch button{font-size:14px;min-height:40px}
body .followup-item b,body .followup-item small,body .history-item small{font-size:14px}
body .ops-grid span,body .team-stats span,body .team-person p{font-size:13px}
body .mobile-nav-item{font-size:12px}
#secondaryNav{margin-top:12px;border-top:1px solid #43473b;padding-top:12px}
#secondaryNav summary{color:#d3d8c7;cursor:pointer;padding:10px 13px;font-size:15px}
#secondaryNav .nav-item{width:100%}
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:20px}
.marketing-tools{position:relative;margin-left:auto}
.marketing-tools summary,.marketing-views summary,.lead-advanced summary{cursor:pointer;font-size:14px;font-weight:700;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.marketing-tool-list{position:absolute;right:0;top:100%;z-index:8;min-width:220px;display:grid;gap:8px;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #0002}
.marketing-views{margin:12px 0}.marketing-views summary{border:0;background:transparent;color:var(--muted);padding-left:0}
.lead-advanced{margin:18px 0}.lead-advanced>.form-grid{padding-top:16px}
.marketing-view #leadJourney,.marketing-view #acceptancePanel,.marketing-view #notifySaLead{display:none!important}
.marketing-view .accept-badge,.marketing-view .sla-badge,.marketing-view .mini-badge.score{display:none!important}
.marketing-view #quickFilters [data-quick="hot"],.marketing-view #quickFilters [data-quick="won"],.marketing-view #quickFilters [data-quick="lost"]{display:none}
.marketing-view #leadsPage .page-heading .eyebrow,.marketing-view #leadViewToolbar .toolbar-kicker{display:none}
.marketing-view #quickAdd{display:none}
body .marketing-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:230px}
body .marketing-actions .action-chip{min-height:42px;padding:9px 10px;font-size:14px;white-space:normal;text-align:center}
body .marketing-actions .action-chip span{position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible}
body .marketing-actions .la-icon{width:17px;height:17px;flex-shrink:0}
body.marketing-view #leadsPage .marketing-actions .action-chip{font-size:14px!important;min-height:44px;height:auto;padding:9px 10px}
.marketing-followup{display:block;font-size:12px;color:var(--muted);margin-top:8px}
.lead-intake-note{font-size:14px;margin:0 0 8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
body.marketing-view #leadsPage .leads-table{min-width:1350px;border-spacing:0 8px}
body.marketing-view #leadsPage .leads-table td{font-size:15px;padding:14px;min-height:100px;height:auto;line-height:1.45}
body.marketing-view #leadsPage .leads-table th{font-size:12px;letter-spacing:.3px;padding:12px 14px}
body.marketing-view #leadsPage .leads-table .cell-main{font-size:16px;line-height:1.4}
body.marketing-view #leadsPage .leads-table .cell-sub{font-size:14px;line-height:1.4;color:var(--muted)}
body.marketing-view #leadsPage .leads-table .inline-status{font-size:14px!important;min-width:145px;min-height:44px}
body.marketing-view #leadsPage .leads-table .remarks-column{width:310px;min-width:280px}
body.marketing-view #leadsPage .leads-table .remarks-cell{grid-template-columns:1fr;gap:6px}
body.marketing-view #leadsPage .leads-table .remarks-cell textarea{font-size:14px!important;line-height:1.5;min-height:66px;height:66px;max-height:160px;resize:vertical;overflow:auto}
body.marketing-view #leadsPage .remark-save{font-size:13px;min-height:32px;justify-self:end;padding:5px 12px}
body.marketing-view #leadsPage .lead-actions-cell{width:262px;min-width:262px;background:var(--paper)}
body.marketing-view #leadsPage .leads-table td:first-child{min-width:220px}
body.marketing-view.density-compact #leadsPage .leads-table td{padding:9px 12px}
body.marketing-view.density-compact #leadsPage .leads-table .cell-main{font-size:15px}
body.marketing-view.density-compact #leadsPage .leads-table .cell-sub{font-size:13px}
body.marketing-view.density-compact #leadsPage .leads-table .remarks-cell textarea{min-height:48px;height:48px}
body .mobile-lead-head b{font-size:17px}body .mobile-lead-facts b,body .mobile-lead-model b{font-size:15px}
body .mobile-lead-facts span,body .mobile-remarks>span{font-size:13px}
@media(max-width:760px){
 .marketing-view #leadViewToolbar{display:none}
 .marketing-view .mobile-lead-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
 .marketing-view .mobile-lead-head>div{flex:1 1 150px;min-width:0}
 .marketing-view .mobile-lead-head>.status{flex:0 0 auto;width:auto!important;max-width:100%;box-shadow:none;font-size:12px;white-space:normal}
 body .content{padding:18px 14px}body .page-heading h1{font-size:28px}
 .marketing-actions{min-width:0!important;margin-top:14px}
 .marketing-tools{margin-left:0;width:100%}.marketing-tool-list{position:static}
 .marketing-view #leadFilters .filter-search{display:flex;flex-basis:100%;min-width:0}
 body .mobile-remarks textarea{font-size:16px!important;min-height:72px}
 .marketing-view #quickAdd{display:flex}
}
