/* Central typography reference for application pages only. Print documents use their own CSS. */
:root{
  --font-ui:Arial,Helvetica,sans-serif;
  --text-2xs:10px;
  --text-xs:12px;
  --text-sm:13px;
  --text-base:14px;
  --text-md:15px;
  --text-lg:16px;
  --text-xl:20px;
  --text-2xl:28px;
  --text-3xl:32px;
  --text-kpi:37px;
  --leading-tight:1.25;
  --leading-normal:1.5;
  --weight-normal:400;
  --weight-medium:600;
  --weight-bold:700;
  --weight-heavy:800;
  --weight-black:900;
}
.global-ownership-footer{margin:0 0 0 260px;padding:7px 46px 9px;background:transparent;color:var(--muted,#667085);font:12px/1.5 Arial,Helvetica,sans-serif;text-align:center;border:0}
@media(max-width:800px){.global-ownership-footer{margin-left:0;padding:7px 16px 9px}}
.authenticated main:has(.dashboard-page){min-height:auto}
html,body,button,input,select,textarea{font-family:var(--font-ui)!important}
body{font-size:var(--text-base)!important;line-height:var(--leading-normal)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-ui)!important;line-height:var(--leading-tight)}
h1,.page-title h1,.settings-heading h1,.dashboard-heading h1,.document-list-heading h1,.finance-heading h1,.partners-heading h1,.staff-claims-heading h1{font-size:var(--text-2xl)!important}
h2,.card>h2,.section-title h2,.finance-section-title h2,.capital-section-heading h2{font-size:var(--text-xl)!important}
h3{font-size:var(--text-lg)!important}
p,li,td,input,select,textarea{font-size:var(--text-base)!important}
label,button,.link,main nav a{font-size:var(--text-base)!important}
small,.muted,.document-pic,.form-intro,.preset-content small{font-size:var(--text-xs)!important}
th,thead button,.nav-label,.eyebrow,.auth-kicker,.modal-kicker,.dashboard-kicker{font-size:var(--text-xs)!important}
.badge,.status-badge,.document-pic,.customer-address{font-size:var(--text-xs)!important}
input::placeholder,textarea::placeholder{font-size:var(--text-base)!important;font-weight:var(--weight-normal)}
label{font-weight:var(--weight-medium)}
input,select,textarea{font-weight:var(--weight-bold)}
.authenticated .brand strong{font-size:var(--text-lg)!important}
.authenticated .brand small{font-size:var(--text-xs)!important}
.authenticated nav>a,.authenticated .nav-link,.authenticated .nav-group-items>a,.authenticated .logout-link{font-size:var(--text-md)!important;line-height:var(--leading-tight)}
.authenticated .nav-group summary,.authenticated .nav-label{font-size:var(--text-xs)!important;line-height:var(--leading-tight)}
.sidebar-user strong{font-size:var(--text-sm)!important}.sidebar-user small{font-size:var(--text-xs)!important}
.auth-brand h1{font-size:var(--text-2xl)!important}.auth-brand p{font-size:var(--text-sm)!important}.auth-form label{font-size:var(--text-xs)!important}.auth-submit{font-size:var(--text-md)!important}
.dashboard-kpi small,.dashboard-kpi em{font-size:var(--text-xs)!important}.dashboard-kpi strong{font-size:var(--text-kpi)!important}
.document-actions a,.document-actions button,.icon-action,.edit-icon{font-size:var(--text-xs)!important}
.theme-preset-card strong,.theme-settings-tabs a,.settings-tabs button,.financial-page-tabs a{font-size:var(--text-base)!important}
.theme-colour-grid code,.login-custom-colours code,.auth-card footer{font-size:var(--text-2xs)!important}
.modal-head h2,.dialog-header h2{font-size:var(--text-xl)!important}
@media(max-width:800px){h1,.page-title h1,.settings-heading h1,.dashboard-heading h1,.document-list-heading h1,.finance-heading h1,.partners-heading h1,.staff-claims-heading h1{font-size:var(--text-xl)!important}.auth-brand h1{font-size:24px!important}.authenticated nav>a,.authenticated .nav-link,.authenticated .nav-group-items>a,.authenticated .logout-link{font-size:0!important}.authenticated nav>a span,.authenticated .nav-link>span,.authenticated .nav-group-items>a>span,.authenticated .logout-link span{font-size:19px!important}.dashboard-kpi strong{font-size:32px!important}}

/* Shared page-heading and tab rhythm. Expenses is the visual reference. */
.authenticated main :is(.heading,.document-list-heading,.capital-loans-heading,.settings-heading,.page-title,.user-management-heading,.role-access-heading){
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
}
.authenticated main :is(.heading,.document-list-heading,.settings-heading,.page-title,.user-management-heading,.role-access-heading){
  margin:0 0 20px;
}
.authenticated main .capital-loans-heading{margin:0}
.authenticated main :is(.heading,.document-list-heading,.capital-loans-heading,.settings-heading,.page-title,.user-management-heading,.role-access-heading) h1{
  margin:0 0 4px;
  font-size:var(--text-2xl)!important;
  line-height:var(--leading-tight);
}
.authenticated main :is(.heading,.document-list-heading,.capital-loans-heading,.settings-heading,.page-title,.user-management-heading,.role-access-heading) p{
  margin:0;
  color:var(--muted);
  font-size:var(--text-base)!important;
  line-height:var(--leading-normal);
}
.authenticated main :is(.financial-page-tabs,.settings-tabs,.theme-settings-tabs){
  gap:5px!important;
  padding:5px!important;
  border:1px solid var(--line)!important;
  border-radius:11px!important;
  background:#fff!important;
}
.authenticated main :is(.financial-page-tabs>a,.settings-tabs>button,.theme-settings-tabs>a){
  padding:10px 15px!important;
  border-radius:8px!important;
  font-size:var(--text-base)!important;
  font-weight:var(--weight-bold)!important;
}
.authenticated main :is(.financial-page-tabs>a.active,.settings-tabs>button.active,.theme-settings-tabs>a.active){
  background:var(--theme-primary,var(--brand))!important;
  color:#fff!important;
  box-shadow:none!important;
}
.authenticated main :is(.module-page-tabs,.settings-tabs){margin-bottom:20px}
@media(max-width:800px){
  .authenticated main :is(.heading,.document-list-heading,.capital-loans-heading,.settings-heading,.page-title,.user-management-heading,.role-access-heading) h1{font-size:var(--text-xl)!important}
}
