/*
 HAVAL LAWYER | Device-friendly responsive system
 iOS Safari • Android Chrome • iPadOS • macOS • Windows • desktop browsers.
 Enhances layout only; does not alter business logic, records or permissions.
*/
html{scroll-padding-top:84px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{max-width:100%}
@media(max-width:1100px){html.hv-device-nav-open,html.hv-device-nav-open body{overflow:hidden!important;overscroll-behavior:none}}

:where(#app,#portalView,#loginView) img,:where(#app,#portalView,#loginView) video{max-width:100%;height:auto}
:where(#app,#portalView,#loginView) :is(.content,.main,.page,.card,.modalbox,.field,.toolbar,.pagehead,.split,.grid2,.grid3,.grid4,.topbar,.topactions,.dash-panel,.dash-command,.hv-dms-main){min-width:0}
:where(#app,#portalView,#loginView) :is(p,h1,h2,h3,h4,td,th,.small,.taskrow,.dash-meta-card,.dash-doc-row){overflow-wrap:anywhere}
:where(#app,#portalView,#loginView) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
:where(#app,#portalView,#loginView) :is(button,a,select,input,textarea){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
:where(#app,#portalView,#loginView) :is(button,a,input,select,textarea):focus-visible{outline:2px solid #d4a55a;outline-offset:2px}
:where(#app,#portalView) .hv-device-table{max-width:100%;min-width:0;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;border-radius:12px}
:where(#app,#portalView) .hv-device-table>table{width:100%;max-width:none;white-space:normal}
:where(#app,#portalView) :is(.tablewrap,.hv-dms-tablewrap,.hv-device-table){-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
:where(#app,#portalView) :is(.tablewrap,.hv-dms-tablewrap,.hv-device-table):focus-visible{outline:2px solid #b8904c;outline-offset:-2px}
:where(#app,#portalView) :is(.modalbox,.hv-dms-main,.dash-panel,.card){max-width:100%}
:where(#app,#portalView) .notifpanel{max-width:calc(100vw - 20px);overflow-x:hidden}
:where(#app,#portalView) :is(.page-actions,.modalfoot,.modalhead,.toolbar){flex-wrap:wrap}
:where(#app,#portalView) :is(.field input,.field select,.field textarea){min-width:0}
:where(#app,#portalView) :is(.btn,.iconbtn,button){-webkit-user-select:none;user-select:none}
:where(#app,#portalView) :is(.companyselect,.search,.legal-search){min-width:0}
:where(#app,#portalView) .companyselect select{text-overflow:ellipsis}
:where(#app,#portalView) .hv-device-drawer-scrim[hidden]{display:none!important}
:where(#app,#portalView) .hv-device-drawer-scrim{display:none;position:fixed;inset:0;z-index:1001;background:rgba(4,26,22,.54);border:0;border-radius:0;padding:0;width:100%;height:100%;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
/* Avoid unnecessarily hiding content behind landscape notches. */
@supports (padding:max(0px)){
 #app>.main,#portalView>.main{padding-inline-start:env(safe-area-inset-left,0px);padding-inline-end:env(safe-area-inset-right,0px)}
}
/* Tablet sizes including iPad in portrait; sidebar becomes deliberate drawer. */
@media(max-width:1100px){
 #app.app,#app.legal-sidebar-mini.app{grid-template-columns:minmax(0,1fr)!important}
 #app>.main,#app.legal-sidebar-mini>.main{grid-column:1!important;width:100%!important;min-width:0!important}
 #app>.sidebar,#app.legal-sidebar-mini>.sidebar{
  position:fixed!important;inset-block:0!important;inset-inline-end:auto!important;
  top:0!important;right:-320px!important;left:auto!important;
  width:min(296px,86vw)!important;max-width:86vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  overflow-y:auto!important;overscroll-behavior-y:contain!important;
  z-index:1002!important;transition:right .22s ease!important;
  padding-top:max(17px,env(safe-area-inset-top,0px))!important;padding-bottom:max(18px,env(safe-area-inset-bottom,0px))!important
 }
 #app>.sidebar.open,#app.legal-sidebar-mini>.sidebar.open{right:0!important}
 #app .legal-top-actions #mobileMenu{display:grid!important;flex:none;order:0}
 #app .legal-top-actions{align-items:center;gap:9px!important}
 #app .topactions.legal-toolbar{flex:1 1 auto!important;min-width:0}
 #app .legal-toolbar #companyPickerWrap{display:flex!important}
 #app .legal-top-title{display:none!important}
 #app #hvDmsRoot .hv-dms-layout{grid-template-columns:minmax(190px,220px) minmax(0,1fr)!important}
 #app #hvDmsRoot .hv-dms-head{grid-template-columns:minmax(0,1fr) minmax(190px,270px)!important}
 #app .hv-device-drawer-scrim:not([hidden]){display:block}
}
@media(max-width:980px){
 #portalView.app{grid-template-columns:minmax(0,1fr)!important}
 #portalView>.main{grid-column:1!important;width:100%!important;min-width:0!important}
 #portalView>.sidebar{
  position:fixed!important;top:0!important;bottom:0!important;right:-320px!important;left:auto!important;
  width:min(288px,86vw)!important;max-width:86vw!important;height:100dvh!important;min-height:0!important;
  overflow-y:auto!important;overscroll-behavior-y:contain!important;z-index:1002!important;
  transition:right .22s ease,left .22s ease!important;
  padding-top:max(18px,env(safe-area-inset-top,0px))!important;padding-bottom:max(18px,env(safe-area-inset-bottom,0px))!important
 }
 #portalView>.sidebar.open{right:0!important}
 html[dir="ltr"] #portalView>.sidebar{left:-320px!important;right:auto!important}
 html[dir="ltr"] #portalView>.sidebar.open{left:0!important;right:auto!important}
 #portalView #mobileMenu{display:grid!important;place-items:center;flex:none}
 #portalView .hv-device-drawer-scrim:not([hidden]){display:block}
 #portalView .topbar{min-height:66px;height:auto;padding:10px 15px}
 #portalView .topbar>.topactions{min-width:0;flex-wrap:wrap}
 #portalView .content{max-width:100%!important}
 #portalView .dash-command-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
 #portalView .dash-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Intermediate laptop and tablet: preserve comfortable controls, not overflowing toolbars. */
@media(min-width:701px) and (max-width:1100px){
 #app .legal-top-actions{row-gap:9px!important;flex-wrap:wrap!important}
 #app .legal-search{flex:1 1 260px!important;max-width:none!important;width:auto!important;min-width:210px!important}
 #app .topactions.legal-toolbar{flex-wrap:wrap!important;justify-content:flex-start!important}
 #app .legal-toolbar #companyPickerWrap{flex:1 1 180px!important;max-width:240px!important}
 #app #page-dashboard .legal-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #app #hvDmsRoot .hv-dms-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #portalView .topbar{gap:10px}
 #portalView .companyselect{max-width:min(280px,34vw)!important}
}
@media(max-width:820px){
 :where(#app,#portalView) :is(.btn,.iconbtn,.hv-quick-btn){min-height:44px}
 :where(#app,#portalView) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea){font-size:16px!important;line-height:1.35}
 :where(#app,#portalView) :is(button,[role="button"]){min-height:40px}
 :where(#app,#portalView) .modal{align-items:flex-end!important;padding:0!important}
 :where(#app,#portalView) .modalbox,:where(#app,#portalView) .modalbox.wide{
  max-width:100%!important;width:100%!important;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px)!important;
  border-radius:20px 20px 0 0!important;overscroll-behavior:contain
 }
 :where(#app,#portalView) .modalbody{padding:16px!important}
 :where(#app,#portalView) .modalfoot{position:sticky;bottom:0;background:var(--hv-surface,#fff);padding-bottom:max(12px,env(safe-area-inset-bottom,0px))!important;z-index:3}
 :where(#app,#portalView) .modalfoot .btn{min-height:44px}
 #hvDmsDialog{padding:max(8px,env(safe-area-inset-top,0px)) 9px max(9px,env(safe-area-inset-bottom,0px))!important}
 #hvDmsDialog>section{max-height:calc(100dvh - 20px)!important}
 #hvDmsDialog .hv-dms-formgrid{grid-template-columns:minmax(0,1fr)!important}
 #hvDmsDialog :is(input,textarea,select){font-size:16px!important}
 #app .topbar.legal-topbar{position:sticky!important;top:0;z-index:90}
 #app .legal-top-actions{gap:8px!important;padding-block:9px!important;min-height:0!important}
 #app .legal-top-actions .hv-nav-buttons{order:0!important}
 #app .topactions.legal-toolbar{order:1!important;flex:1 1 60%!important;min-width:0;flex-wrap:wrap!important;justify-content:flex-start!important}
 #app .legal-search{order:3!important;flex:1 1 100%!important;min-width:0!important;max-width:none!important;width:100%!important}
 #app .legal-toolbar #companyPickerWrap{order:0!important;flex:1 1 210px!important;max-width:none!important;min-width:135px!important}
 #app .legal-toolbar #companySelect{font-size:16px!important}
 #app #hvDmsRoot .hv-dms-company-control select,#app #hvDmsRoot .hv-dms-toolbar-select select{font-size:16px!important}
 #portalView .topbar .companyselect select{font-size:16px!important}
 #loginView .field input{font-size:16px!important}
 #app .legal-toolbar .legal-language-wrap{order:1}
 #app .legal-toolbar .notifywrap{order:2}
 #app .legal-toolbar #legalThemeBtn{order:3;display:grid!important}
 #app .legal-toolbar #legalSettingsBtn{order:4;display:grid!important}
 #app .legal-toolbar #legalFullscreenBtn{display:none!important}
 #app .legal-top-actions>.legal-account{display:none!important}
 #app .content{padding:14px!important}
 #app #page-dashboard .legal-overview-grid{grid-template-columns:1fr!important}
 #app #hvDmsRoot .hv-dms-head{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;padding:22px!important;gap:15px!important}
 #app #hvDmsRoot .hv-dms-hero-intro{grid-column:1;grid-row:1}
 #app #hvDmsRoot .hv-dms-company-picker{grid-column:1;grid-row:2}
 #app #hvDmsRoot .hv-dms-head-actions{grid-column:1;grid-row:3}
 #app #hvDmsRoot .hv-dms-layout{grid-template-columns:minmax(0,1fr)!important}
 #app #hvDmsRoot .hv-dms-tabs{position:static!important;display:flex!important;flex-direction:row!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:7px!important;scroll-snap-type:x proximity}
 #app #hvDmsRoot .hv-dms-tabs button{flex:0 0 auto!important;white-space:nowrap;scroll-snap-align:start}
 #app #hvDmsRoot .hv-dms-tabs .hv-dms-tab-label{flex:none}
 #app #hvDmsRoot .hv-dms-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #app #hvDmsRoot .hv-dms-toolbar{gap:9px!important}
 #app #hvDmsRoot .hv-dms-find{flex:1 1 100%!important;min-width:0!important}
 #app #hvDmsRoot .hv-dms-toolbar-select{flex:1 1 155px!important;min-width:0}
 #portalView .content{padding:16px 14px calc(96px + env(safe-area-inset-bottom,0px))!important}
 #portalView .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #portalView .dash-primary-grid{grid-template-columns:1fr!important}
 #portalView .dash-command-grid{grid-template-columns:minmax(0,1fr)!important}
 #portalView .dash-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #portalView .bottom-nav{padding-bottom:env(safe-area-inset-bottom,0px)!important}
 #portalView .topbar{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:10px 12px!important}
 #portalView .topbar>div:first-child{min-width:0;gap:8px!important}
 #portalView .topbar>.topactions{display:flex;flex-wrap:wrap!important;justify-content:flex-start!important;min-width:0;width:100%;gap:8px!important}
 #portalView .topbar .companyselect{flex:1 1 170px!important;max-width:none!important;min-width:0!important}
 #portalView .topbar .companyselect select{max-width:100%!important;min-width:0;font-size:16px!important}
 #portalView .topbar .lang-cycle{min-height:44px!important}
 #portalView .topbar :is(.notifybtn,.top-account-chip){min-height:44px!important}
 #portalView .topbar .notifpanel{top:calc(100% + 8px);inset-inline:0;max-height:min(65dvh,520px)}
 #portalView .topbar-brandmark{display:block}
 #portalView .topbar h2{font-size:15px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #portalView .dash-command-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
 #portalView .dash-secondary-grid{grid-template-columns:1fr!important}
}
@media(max-width:540px){
 #app .content{padding:10px!important}
 #app .legal-top-actions{justify-content:space-between!important}
 #app .legal-top-actions #mobileMenu{min-width:42px;min-height:42px}
 #app .legal-top-actions .hv-nav-buttons{flex:0 0 auto!important}
 #app .topactions.legal-toolbar{flex:1 1 100%!important;width:100%!important;justify-content:space-between!important}
 #app .legal-toolbar #companyPickerWrap{flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:none!important}
 #app .legal-toolbar :is(.notifywrap,.legal-language-wrap){flex:none}
 #app .legal-toolbar #companySelect{font-size:16px!important}
 #app .legal-toolbar .iconbtn{width:42px!important;height:42px!important;min-height:42px!important}
 #app .legal-search{order:4!important}
 #app #hvDmsRoot .hv-dms-head{padding:19px 15px!important;border-radius:15px!important}
 #app #hvDmsRoot .hv-dms-head h1{font-size:23px!important}
 #app #hvDmsRoot .hv-dms-head-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
 #app #hvDmsRoot .hv-dms-head-actions button{min-width:0!important;width:100%!important;min-height:44px!important;font-size:11px!important;padding-inline:8px!important}
 #app #hvDmsRoot .hv-dms-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #app #hvDmsRoot .hv-dms-metric{padding:12px!important;min-height:98px!important}
 #app #hvDmsRoot .hv-dms-toolbar-select{flex:1 1 100%!important;width:100%!important}
 #app #hvDmsRoot .hv-dms-toolbar-select select{max-width:100%!important;flex:1}
 #app #hvDmsRoot .hv-dms-table{min-width:690px!important}
 #app .pagehead{flex-direction:column;align-items:stretch!important;gap:10px}
 #app .page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 #app .page-actions>.btn{min-width:0;white-space:normal}
 #app .task-board{grid-template-columns:minmax(0,1fr)!important}
 #app .employee-row.tax,#app .employee-row.social-security{grid-template-columns:minmax(0,1fr)!important}
 #app .employee-row .remove-employee{grid-column:auto}
 #app .compliance-stats,#app .compliance-calcs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #portalView .content{padding:12px 10px calc(98px + env(safe-area-inset-bottom,0px))!important}
 #portalView .dash-command{padding:18px 15px!important}
 #portalView .dash-command-meta{grid-template-columns:1fr!important}
 #portalView .dash-quick-actions{gap:8px}
 #portalView .dash-panel-head{flex-wrap:wrap}
 #portalView .dash-stat{min-width:0;padding:12px!important}
 #portalView .topbar>.topactions{justify-content:space-between!important}
 #portalView .topbar .companyselect{order:4;flex:1 1 100%!important;width:100%!important;min-height:44px;max-width:none!important}
 #portalView .topbar .companyselect select{width:100%}
 #portalView .topbar .accountwrap{margin-inline-start:auto}
 #portalView .bottom-nav button{min-height:53px!important}
 #loginView.login-shell.login-v3{padding-top:max(65px,calc(40px + env(safe-area-inset-top,0px)))!important;padding-inline:12px!important;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))!important}
 #loginView .login-v3-stage{max-width:100%!important;min-width:0}
 #loginView .login-v3-authzone{min-width:0!important;padding-inline:18px!important}
 #loginView .login-v3-hero{padding-inline:16px!important}
 #loginView .login-options{flex-wrap:wrap;gap:10px!important}
 #loginView .forgot-link{min-height:44px;display:inline-flex;align-items:center}
 #loginView .password-toggle{min-width:44px;min-height:44px}
 #loginView .field input{font-size:16px!important}
 #loginView .loginbtn,#loginView .hv-client-entry{min-height:50px!important}
}
@media(min-width:781px) and (max-width:1024px){
 #loginView.login-shell.login-v3{padding:74px 16px 26px!important;min-height:100dvh!important;align-items:flex-start!important;background:#f3f0eb!important}
 #loginView .login-v3-stage{display:flex!important;flex-direction:column!important;min-height:0!important;width:min(640px,100%)!important;max-width:100%!important;gap:0!important}
 #loginView .login-v3-topbar{top:-59px!important;right:0!important;left:auto!important}
 #loginView .login-v3-hero{border-radius:24px 24px 0 0!important;min-height:0!important;padding:24px 22px 18px!important}
 #loginView .login-v3-logo{width:120px!important;max-height:85px!important}
 #loginView .login-v3-hero h1{font-size:23px!important}
 #loginView .login-v3-hero>p{font-size:11px!important}
 #loginView .login-v3-trust{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;max-width:none!important;margin:11px auto 0!important;gap:8px!important}
 #loginView .login-v3-trust .trust-item{width:auto!important;min-height:35px!important}
 #loginView .login-v3-authzone{border-radius:0 0 24px 24px!important;min-height:0!important;padding:29px 30px 36px!important}
}
@media(max-height:600px) and (orientation:landscape) and (max-width:980px){
 #app>.sidebar,#portalView>.sidebar{max-height:100dvh!important}
 #app .topbar.legal-topbar,#portalView .topbar{position:relative!important}
 :where(#app,#portalView) .modalbox{max-height:calc(100dvh - 8px)!important}
 #loginView .login-v3-hero{padding-block:16px!important}
}
@media(hover:none) and (pointer:coarse){
 :where(#app,#portalView) :is(.btn,.iconbtn,.hv-quick-btn,.tabs button,.bottom-nav button,.hv-dms-tabs button){min-height:44px!important}
 :where(#app,#portalView) :is(.hv-dms-rowactions button,.notifhead button){min-width:42px;min-height:42px}
 :where(#app,#portalView) button:hover{transform:none!important}
}
@media(prefers-reduced-motion:reduce){
 #app>.sidebar,#portalView>.sidebar{transition:none!important}
 #app .btn,#portalView .btn,#loginView .btn{animation:none!important;transition:none!important}
}
@media print{
 .hv-device-drawer-scrim{display:none!important}
 #app>.sidebar,#portalView>.sidebar{position:static!important}
 #app .topbar,#portalView .topbar{position:static!important}
}

/* Device friendliness v2: compact desktop sidebar becomes full navigation on tablets. */
@media(max-width:1100px){
 #app.legal-sidebar-mini>.sidebar.open .sidebrand{justify-content:center!important;gap:10px!important}
 #app.legal-sidebar-mini>.sidebar.open .sidebrand img{width:66px!important;height:60px!important}
 #app.legal-sidebar-mini>.sidebar.open .sidebrand>div,
 #app.legal-sidebar-mini>.sidebar.open .legal-nav-caption,
 #app.legal-sidebar-mini>.sidebar.open .side-tagline{display:block!important}
 #app.legal-sidebar-mini>.sidebar.open .legal-nav button>span,
 #app.legal-sidebar-mini>.sidebar.open .legal-nav a>span{display:inline!important}
 #app.legal-sidebar-mini>.sidebar.open .legal-nav .legal-nav-external{display:block!important}
 #app.legal-sidebar-mini>.sidebar.open .sidefoot .userchip,
 #app.legal-sidebar-mini>.sidebar.open .sidefoot .logout{display:flex!important}
 #app.legal-sidebar-mini>.sidebar.open .legal-nav button,
 #app.legal-sidebar-mini>.sidebar.open .legal-nav a.legal-nav-portal{
  justify-content:flex-start!important;text-align:start!important;
  gap:10px!important;padding-inline:12px!important;min-height:44px!important
 }
 #app.legal-sidebar-mini>.sidebar.open .hv-sidebar-collapse{font-size:11px!important;justify-content:flex-start!important}
}
/* Narrow devices, split-screen apps and large accessibility text settings. */
@media(max-width:430px){
 :where(#app,#portalView) .modalhead h3{font-size:clamp(15px,4.2vw,19px)!important;line-height:1.5}
 :where(#app,#portalView) .modalhead{gap:9px!important}
 :where(#app,#portalView) .notifpanel{max-height:65dvh}
 #app #hvDmsRoot .hv-dms-metric span{font-size:11px!important;line-height:1.55!important}
 #app #hvDmsRoot .hv-dms-tab-label{font-size:12px!important}
 #portalView .dash-stat-label,#portalView .dash-stat-sub{font-size:11px!important;line-height:1.5!important}
 #portalView .dash-panel-head h3{font-size:13px!important}
 #portalView .dash-panel-head p{font-size:11px!important}
 #portalView .dash-quick span:last-child{font-size:11px!important;line-height:1.5}
 #portalView .dash-doc-row b{font-size:11px!important}
 #portalView .dash-task-title{font-size:12px!important}
}
@media(max-width:350px){
 #app #hvDmsRoot .hv-dms-head-actions{grid-template-columns:minmax(0,1fr)!important}
 #app #hvDmsRoot .hv-dms-head-actions button{min-height:44px!important}
 #app .page-actions{grid-template-columns:minmax(0,1fr)!important}
 #app .legal-toolbar #companyPickerWrap{max-width:100%!important}
 #portalView .dash-quick-actions{grid-template-columns:minmax(0,1fr)!important}
 #portalView .bottom-nav button{font-size:10px!important}
 #loginView .login-v3-authzone{padding-inline:13px!important}
}
/* Tall tables remain navigable in landscape and iPad Stage Manager. */
@media(max-height:520px) and (orientation:landscape){
 :where(#app,#portalView) .modalbox{max-height:calc(100dvh - 6px)!important}
 #app #hvDmsRoot .hv-dms-head{min-height:0!important}
}
/* Use less transparency where requested or where raster effects are undesirable. */
@media(prefers-reduced-transparency:reduce){
 :where(#app,#portalView) :is(.topbar,.notifpanel,.accountpanel){-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 :where(#app,#portalView) .hv-device-drawer-scrim{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 #app #hvDmsRoot .hv-dms-company-picker{backdrop-filter:none!important}
}
/* Respect OS high-contrast display settings, including Windows forced colors. */
@media(prefers-contrast:more){
 :where(#app,#portalView) :is(button,input,select,textarea,.card,.stat,.dash-panel){border-width:1.5px!important}
 :where(#app,#portalView) :is(button,input,select,textarea):focus-visible{outline:3px solid currentColor!important;outline-offset:2px}
}
@media(forced-colors:active){
 :where(#app,#portalView) .hv-device-drawer-scrim{background:Canvas!important;border:1px solid CanvasText!important}
 :where(#app,#portalView) :is(.legal-nav button.active,.nav button.active,.hv-dms-tabs button.active){forced-color-adjust:auto;outline:2px solid Highlight!important;outline-offset:-3px}
 :where(#app,#portalView) :is(button,input,select,textarea):focus-visible{outline:3px solid Highlight!important;outline-offset:2px}
}
