/* Compact application typography only; document rendering remains independent. */
@media screen {
html,body{font-size:14px!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
header .logo{font-size:22px!important}header .sub{font-size:11px!important}header .theme-controls button{font-size:13px!important}
aside#sidebar button{font-size:14px!important;line-height:1.35!important;padding:8px!important}aside#sidebar .navicon{font-size:16px!important;width:24px!important}
#app{font-size:14px;min-width:0!important;max-width:100%!important}
#app :is(h1,h2,h3,h4,label,p,button,small,summary,.muted,.note,.step,.sales-note,.card b,.sales-table td,.sales-table th,.cm-table td,.cm-table th,.chart-axis,.chart-group,.donut>div,.sales-bars>div,.kpi-icon):not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:14px!important;line-height:1.4}
#app h1:not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:24px!important}#app h2:not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:19px!important}#app :is(h3,h4):not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:16px!important}
#app :is(.sales-kpi strong,.customer-mini b,.totals strong){font-size:22px!important;overflow-wrap:anywhere}#app .sales-kpi{min-width:0;padding:10px!important}#app .card b{margin:5px 0!important}
#app :is(input,select,textarea):not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:14px!important;min-width:0;max-width:100%;box-sizing:border-box}
#app :is(.fields,.formfields,.crmgrid,.libgrid,.cards,.products,.sales-grid)>*{min-width:0}
#app :is(.panel,.sales-panel,.toolbar,.steps,.cm-controls,.sales-filter){max-width:100%;min-width:0}
#app :is(.sales-table,.cm-table) :is(td,th){padding:6px 8px!important}
#app :is(.sales-scroll,.cm-scroll,.chart-scroll){max-width:100%;overflow-x:auto}
@media(max-width:760px){
header .logo{font-size:17px!important}header .sub{font-size:10px!important}header .theme-controls button{font-size:12px!important}aside#sidebar button{font-size:13px!important;min-height:44px!important}
#app h1:not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:20px!important}#app h2:not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:17px!important}
#app :is(input,select,textarea):not(:is(.classic-doc,.pdfpage,.livepaper,.preview,.quote-doc) *){font-size:16px!important} /* prevents iOS focus zoom */
#app :is(.fields,.formfields){grid-template-columns:minmax(0,1fr)!important}#app .sales-filter select{width:100%;min-width:0}#app :is(.sales-kpi strong,.customer-mini b){font-size:18px!important}#app .hero.ganesha-hero{min-height:280px;padding:16px!important}#app .cards .card{min-height:90px!important}#app .card b{overflow-wrap:anywhere}
}
}
