/* NAV481: compact KPI scale after populated-value stress testing. Typography only. Earliest important layer replaces conflicting legacy font rules.
   Plus Jakarta Sans is self-hosted under SIL OFL. Inspired by ERP typography, not an Odoo product skin. */
@font-face{font-family:"Plus Jakarta Sans";src:url("fonts/plus-jakarta-sans-400.woff?v=NAV481") format("woff");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Plus Jakarta Sans";src:url("fonts/plus-jakarta-sans-700.woff?v=NAV481") format("woff");font-style:normal;font-weight:700;font-display:swap}
@layer hf-type {
 :where(:root,html,body,body *,body *::before,body *::after){font-family:"Plus Jakarta Sans",sans-serif!important}
 ::placeholder,::file-selector-button{font-family:"Plus Jakarta Sans",sans-serif!important}
 :root{--hf-font:"Plus Jakarta Sans",sans-serif!important;--hf-font-size-xs:13px!important;--hf-font-size-sm:13px!important;--hf-font-size-md:14px!important;--hf-font-size-lg:16px!important;--hf-font-size-title:22px!important;--hf-font-size-kpi:20px!important;--hf-font-size-section:16px!important}
 html,body,button,input,select,textarea{font-family:var(--hf-font)!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
 :where(#app,#hf400Nav,#hfCabangBar,dialog,.hf-dialog,[role="dialog"],#hf625-ux-controls,#hf622-conn-badge),
 :where(#app,#hf400Nav,#hfCabangBar,dialog,.hf-dialog,[role="dialog"],#hf625-ux-controls,#hf622-conn-badge) :is(div,span,p,a,li,dt,dd,summary,label,legend,small,b,strong,em,i,button,input,select,textarea,th,td,h1,h2,h3,h4,h5,h6){font-family:var(--hf-font)!important;font-size:14px!important;line-height:1.5!important;letter-spacing:normal!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(section,article,header,footer,fieldset,figcaption,time){font-family:var(--hf-font)!important;font-size:14px!important;line-height:1.5!important}
 :where(#app,#hf400Nav,dialog,.hf-dialog,[role="dialog"]) time{font-family:var(--hf-font)!important;font-size:13px!important;line-height:1.5!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(b,strong,h1,h2,h3,h4,h5,h6){font-weight:700!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) h1{font-size:22px!important;line-height:1.25!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) h2{font-size:20px!important;line-height:1.3!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(h3,h4){font-size:16px!important;line-height:1.35!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(h5,h6){font-size:14px!important;line-height:1.4!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(label,legend,small,.muted,.text-muted,.hf-small-type){font-size:13px!important;line-height:1.45!important}
 :where(#app,#hf400Nav,#hfCabangBar,dialog,.hf-dialog,[role="dialog"]) button{font-size:13px!important;font-weight:700!important;line-height:1.4!important;min-height:40px!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){font-size:14px!important;font-weight:400!important;line-height:1.5!important;min-height:40px!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) ::placeholder{font-family:var(--hf-font)!important;font-size:inherit!important;font-weight:400!important}
 #hf400Nav :is(button,button span,input,.hf400-brand span){font-size:13px!important;line-height:1.4!important}
 #hf400Nav .hf400-brand span{font-weight:700!important}
 #hf400Nav .hf400-popup :is(button,p,span,small,b,strong){font-size:13px!important;line-height:1.5!important}
 #hf400Nav .hf400-popup button{min-height:44px!important}
 .hf153-topbar .hf153-title-wrap h1{font-size:20px!important;line-height:1.25!important;font-weight:700!important}
 .hf400-breadcrumb :is(button,span,a){font-size:13px!important;line-height:1.5!important;min-height:0!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(table,.hf-table){font-size:13px!important;line-height:1.5!important;font-variant-numeric:tabular-nums!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(th,td),
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(th,td) :is(div,span,p,a,small,b,strong,label,button){font-size:13px!important;line-height:1.5!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) thead th{font-weight:700!important;font-size:13px!important;letter-spacing:normal!important;text-transform:none!important}
 :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(.num,.hf400-number,.hf447-numeric,input[type="number"],input[inputmode="decimal"],input[inputmode="numeric"]){font-variant-numeric:tabular-nums!important}
 :where(#app,dialog,.hf-dialog) :is(.hf-kpi,.hf447-kpi,.hf1840-kpis>div,.hf1847-kpis>article,.hf189-metric) :is(strong,b,.value,.hf153-stat-value){font-size:clamp(16px,1.3vw,20px)!important;line-height:1.25!important;font-weight:700!important;font-variant-numeric:tabular-nums!important}
 :where(#app,dialog,.hf-dialog) :is(.hf-kpi,.hf447-kpi,.hf1840-kpis>div,.hf1847-kpis>article,.hf189-metric) :is(p,small){font-size:13px!important;line-height:1.5!important}
 .hf447-card-table tbody td::before{font-family:var(--hf-font)!important;font-size:13px!important;line-height:1.45!important}
 :where(#app,dialog,.hf-dialog) :is(code,pre,kbd,samp){font-family:var(--hf-font)!important}
 #hf2137AccountingLink h2{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}
 #hf2137AccountingLink h2::after{font-family:var(--hf-font)!important;font-size:13px!important;line-height:1.4!important;float:none!important;margin:0!important;max-width:100%!important}
 #hf-page-content .stock-page-v83>.card:first-child>.toolbar>div:first-child::before{font-family:var(--hf-font)!important;font-size:13px!important;line-height:1.4!important}
 #hf-page-content [data-hf2196-primary="1"] .hf153-stat-body>strong{font-family:var(--hf-font)!important;font-size:clamp(16px,1.3vw,20px)!important;line-height:1.25!important;font-weight:700!important;font-variant-numeric:tabular-nums!important}
 @media(max-width:900px){#hf-page-content [data-hf2196-primary="1"] .hf153-stat-body>strong{font-size:18px!important}}
 /* Use a CSS chevron for legacy dropdowns; no missing-glyph box in a Latin font. */
 :is(.hf324-more-actions,.hf-fold-optional-v682,.hf1673-branch-admin)>summary::after{content:""!important;display:inline-block!important;width:6px!important;height:6px!important;border-right:1.5px solid currentColor!important;border-bottom:1.5px solid currentColor!important;transform:translateY(-2px) rotate(45deg)!important;margin-left:8px!important;flex:0 0 6px!important}
 :is(.hf324-more-actions,.hf-fold-optional-v682,.hf1673-branch-admin)[open]>summary::after{transform:translateY(1px) rotate(225deg)!important}
 @media(max-width:900px){
  #hf2137AccountingLink .hf101-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;height:auto!important;min-height:0!important}
  #hf2137AccountingLink .hf101-head>div{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important;width:100%!important}
  #hf2137AccountingLink .hf101-head h2{white-space:normal!important;max-width:100%!important;margin:0!important}
  #hf2137AccountingLink .hf101-head>button{align-self:flex-end!important;flex:none!important}

  :where(#app,#hf400Nav,#hfCabangBar,dialog,.hf-dialog,[role="dialog"]) button{min-height:44px!important}
  :where(#app,dialog,.hf-dialog,[role="dialog"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){font-size:16px!important;min-height:44px!important}
  :where(#app,dialog,.hf-dialog) :is(.hf-kpi,.hf447-kpi,.hf1840-kpis>div,.hf1847-kpis>article,.hf189-metric) :is(strong,b,.value,.hf153-stat-value){font-size:18px!important}
 }
 @media print{html,body{font-size:11pt!important}:where(#app,dialog) :is(th,td),:where(#app,dialog) :is(th,td) :is(div,span,p,a,small,b,strong,label){font-size:10pt!important}}
}
/* NAV481: money-bearing tables retain tabular column geometry on small screens.
   Historical card-row transforms can stack long amounts over adjacent labels. */
@layer hf-type {
 @media(max-width:767px){
  :where(#app,dialog,.hf-dialog,[role="dialog"]) table.hf447-card-table:has([data-hf447-money="1"]){display:table!important;table-layout:auto!important;min-width:640px!important;width:100%!important;max-width:none!important;border-collapse:collapse!important}
  table.hf447-card-table:has([data-hf447-money="1"]) thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;clip:auto!important;clip-path:none!important}
  table.hf447-card-table:has([data-hf447-money="1"]) tbody{display:table-row-group!important}
  table.hf447-card-table:has([data-hf447-money="1"]) tfoot{display:table-footer-group!important}
  table.hf447-card-table:has([data-hf447-money="1"]) colgroup{display:table-column-group!important}
  table.hf447-card-table:has([data-hf447-money="1"]) tr{display:table-row!important;grid-template-columns:none!important;gap:0!important;padding:0!important}
  table.hf447-card-table:has([data-hf447-money="1"]) :is(th,td){display:table-cell!important;position:static!important;width:auto!important;max-width:none!important;min-width:0!important;padding:9px 12px!important;vertical-align:middle!important;grid-column:auto!important;grid-row:auto!important}
  table.hf447-card-table:has([data-hf447-money="1"]) td::before{content:none!important;display:none!important}
  table.hf447-card-table:has([data-hf447-money="1"]) :is(.hf447-numeric,[data-hf447-money="1"]){white-space:nowrap!important;text-align:right!important}
  :where(.hf400-table-scroll,.table-wrap,.hf111-table-wrap,.hf102-table):has(table.hf447-card-table [data-hf447-money="1"]){max-width:100%!important;min-width:0!important;overflow:auto!important}
 }
}
