/* Typography parity with v4_momentum_pos/includes/header.php,
   dist/css/momentum-v4.css, sidebar-reference.css and application-ui.css.
   Keep the same Inter -> Segoe UI -> Arial stack and actual menu metrics.
   Do not introduce a portal-only web font that changes the benchmark fallback. */
:root{--portal-font:Inter,"Segoe UI",Arial,sans-serif}
body.dfso-shell,body.portal-auth{font-family:var(--portal-font)!important}
body.dfso-shell{font-size:13px!important;font-weight:400;line-height:1.5;-webkit-font-smoothing:auto}
body.dfso-shell :where(h1,h2,h3,h4,h5,h6,input,select,textarea,button,table,summary,label),body.portal-auth :where(input,select,textarea,button){font-family:var(--portal-font)!important}
/* Match Momentum's primary navigation (12px/400) and nested links (11px/500). */
body.dfso-shell .shell-nav-group>summary{font-size:12px;font-weight:400;line-height:1.25;letter-spacing:normal}
body.dfso-shell .shell-nav-group>summary>span{font-size:inherit;font-weight:inherit;letter-spacing:inherit}
body.dfso-shell .shell-nav-group>summary>i:first-child{font-size:14px}
body.dfso-shell .shell-nav-link,body.dfso-shell .shell-nav-link.is-active{font-size:11px;font-weight:500;line-height:1.25;letter-spacing:normal}
body.dfso-shell .shell-nav-link>i{font-size:11px}
body.dfso-shell .shell-brand>span{font-size:16px;font-weight:700;letter-spacing:normal;line-height:1.25}
body.dfso-shell .shell-identity strong{font-size:12px;font-weight:600;line-height:1.3}
body.dfso-shell .shell-identity small{font-size:10px;font-weight:400;line-height:1.3;margin-top:2px}
body.dfso-shell .shell-quick-link{font-size:12px;font-weight:700;line-height:1.25;letter-spacing:normal}
body.dfso-shell .shell-product strong{font-size:14px;font-weight:700}
body.dfso-shell .shell-product small{font-size:8px;font-weight:400}
/* Shared header, forms and cards inherit the same family and standard weights. */
body.dfso-shell .shell-breadcrumb{font-size:12px;font-weight:400}
body.dfso-shell .shell-breadcrumb strong{font-weight:500}
body.dfso-shell .shell-search input{font-size:11px!important}
body.dfso-shell .shell-account-name{font-size:13px;font-weight:700;line-height:1.3}
body.dfso-shell .shell-account-name small{font-size:10px;font-weight:400}
body.dfso-shell .shell-account-menu a{font-size:12px}
body.dfso-shell .admin-shell h1,body.dfso-shell .content-header h1{font-size:25px!important;font-weight:700!important;letter-spacing:-.6px;line-height:1.2}
body.dfso-shell .panel h2{font-size:16px;font-weight:600}
body.dfso-shell .grid label,body.dfso-shell .portal-dialog label,body.dfso-shell .queue-filters label,body.dfso-shell .picker-filters label{font-size:12px;font-weight:600;line-height:1.5}
body.dfso-shell .grid input,body.dfso-shell .grid select,body.dfso-shell .grid textarea,body.dfso-shell .content-wrapper .form-control,body.dfso-shell .content-wrapper .custom-select{font-size:13px!important;font-weight:400}
body.dfso-shell .admin-shell button,body.dfso-shell .portal-button,body.dfso-shell .content-wrapper .btn,body.dfso-shell .portal-dialog button:not(.dialog-close){font-size:12px!important;font-weight:600}
body.dfso-shell .admin-shell table{font-size:12px}
body.dfso-shell .admin-shell th{font-size:10px;font-weight:600}
body.dfso-shell .admin-shell td b{font-weight:600}
body.dfso-shell .row-actions .inline button{font-size:11px!important}

/* Final navigation roles override the earlier generic nested-link selector. */
body.dfso-shell .shell-nav-direct,body.dfso-shell .shell-nav-direct.is-active{font-size:12px;font-weight:400;line-height:1.25}
body.dfso-shell .shell-nav-direct>i{font-size:14px}
body.dfso-shell .shell-nav-child,body.dfso-shell .shell-nav-child.is-active{font-size:11px;font-weight:500;line-height:1.25}
body.dfso-shell .shell-account-name{font-size:12px;font-weight:600}
