/* Keep module chrome compact; let long headings and wrapped tabs grow with the user's font. */
html body>header:has(>.logo){min-height:33.6px;padding-block:0}
html body #workspaceNavigation{box-sizing:border-box;min-height:23.04px!important;padding-block:0!important}
html body #workspaceNavigation :is(button,a){--cope-row-height:max(1.12em,23.04px)!important;min-height:0!important;padding-block:0!important;margin-block:0}
html body #planNavigation{margin-block:0 3px!important;padding-block:0!important}
html body #planNavigation .plan-row :is(a,button){--cope-row-height:max(1.08em,17.28px)!important;min-height:0!important;padding-block:0!important;line-height:1.08!important}
html body main>:is(h1,h2):first-child,html body main>:first-child>:is(h1,h2):first-child,
html body main :is(.rw-heading,.m4-heading,.m3-title,.order-heading,.br-heading,.ms-head,.partial-title-line,.cf-head,#m5PageHeader) :is(h1,h2){
  margin-block:1px!important;line-height:1.15!important
}
html body main :is(.cf-head,.rw-heading,.br-heading,.ms-head,.order-heading,.partial-title-line,#m5PageHeader){min-height:0!important;padding-block:1px!important;margin-block:1px!important}
html body main .rw-heading p{margin-block:1px!important;line-height:1.15}
html body :is(#hubTabs,#m9tabs,#pfSwitch,.m3-segment,.rw-tabs,.cf-tabs,.aw-secondary,[role=tablist]){
  min-height:0!important;padding-block:0!important;margin-block:1px!important
}
html body :is(#hubTabs,#m9tabs,#pfSwitch,.m3-segment,.rw-tabs,.cf-tabs,.aw-secondary,[role=tablist])>:is(button,a,[role=tab]){
  --cope-row-height:max(1.08em,14.4px)!important;min-height:0!important;padding-block:0!important;line-height:1.08!important
}
html body #top:has(#steps){height:auto;min-height:27.6px;padding-block:0}
html body #top #steps button{padding-block:2px}
html body #cfTaskWork .mc-focus-detail>.mc-focus-title{height:auto;min-height:28.2px;padding-block:0!important;margin-block:0!important}
html body #cfTaskWork .mc-focus-detail>.mc-tab-tools{box-sizing:border-box;height:auto;min-height:32px;padding-block:0!important;margin-block:0!important}
html body #cfTaskWork .mc-focus-detail .mc-nav>button[data-tab]{height:25.6px!important;min-height:25.6px!important;max-height:25.6px!important;--cope-row-height:25.6px!important}
html body #cfTaskWork .mc-focus-detail .mc-nav .mc-other-views,
html body #cfTaskWork .mc-focus-detail .mc-nav .mc-other-views summary{margin-block:0!important;padding-block:0!important}
html body.has-sidenav #workspaceNavigation{height:auto!important;min-height:23.04px!important;padding-block:0!important;border-block-width:0!important}
html body.has-sidenav #workspaceNavigation :is(.plan-workspaces,#userbar){min-height:0!important;line-height:1.1!important}
html body.has-sidenav #workspaceNavigation :is(a,button){--cope-row-height:23.04px!important;height:23.04px!important;min-height:0!important;max-height:23.04px!important;line-height:1!important}
html body.has-sidenav #planNavigation{padding-block:0!important;margin-block:0 3px!important}
html body.has-sidenav #planNavigation .plan-label{line-height:1.1}
html body #top:has(#steps)>.btn{height:24px!important;min-height:0!important;padding-block:0!important}
html body.has-sidenav #workspaceNavigation:has(.plan-workspaces) :is(.plan-workspaces button,#userbar button,#workspaceHome){
  --cope-row-height:max(1em,23.04px)!important;height:var(--cope-row-height)!important;min-height:0!important;max-height:var(--cope-row-height)!important
}
html body.has-sidenav #planNavigation{min-height:21.12px!important;box-sizing:border-box}
