/* Same two-row desktop and naturally stacked mobile header for the native HP shell. */
html body header.HPHeader.ls-chrome{box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;margin-inline:auto!important;padding:.9rem 0 .6rem!important;gap:.4rem}
header.HPHeader.ls-chrome :is(.HPSisterSites,.finder-sites-menu){display:none!important}
header.HPHeader.ls-chrome .ls-top-row{gap:.55rem 1rem;min-width:0}
header.HPHeader.ls-chrome .ls-nav-row{display:flex;align-items:center;justify-content:space-between;gap:.55rem 1rem;width:100%;min-width:0}
header.HPHeader.ls-chrome .ls-nav-row>.HPMainNav{display:flex;flex-wrap:wrap;justify-content:flex-start!important;gap:.4rem 1.2rem;min-width:0;margin:0!important}
header.HPHeader.ls-chrome .ls-directory-direct{display:inline-flex;align-items:center;gap:.3em;min-height:44px;max-width:55%;margin-inline-start:auto;overflow-wrap:anywhere}
header.HPHeader.ls-chrome .HPMobileMenu{display:none}
/* One focus edge replaces the ordinary border, with no outer second frame. */
@layer finder-presentation-coordination {
html:root body header.HPHeader.ls-chrome .HPMobileMenu>summary:focus-visible{border-color:transparent!important;box-shadow:none!important;outline:2px solid #315d72!important;outline-offset:-2px!important;background-color:#edf3f6!important}
@media(forced-colors:active){html:root body header.HPHeader.ls-chrome .HPMobileMenu>summary:focus-visible{outline-color:Highlight!important;background-color:Canvas!important}}
}
header.HPHeader.ls-chrome a{text-decoration:none!important}
header.HPHeader.ls-chrome .gb-mobile-actions[data-ls-fallback-tools]{display:flex!important;align-items:center;gap:.55rem;justify-content:flex-end}
header.HPHeader.ls-chrome .HPHeaderActions:has(>.gb-mobile-actions[data-ls-fallback-tools]){display:contents}
header.HPHeader.ls-chrome .ls-top-row:has(>.HPHeaderActions>.gb-mobile-actions[data-ls-fallback-tools]){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
@media(max-width:760px){
 header.HPHeader.ls-chrome .ls-directory-direct{max-width:none}
 html body header.HPHeader.ls-chrome{width:calc(100% - 32px)!important}
 header.HPHeader.ls-chrome .HPMobileMenu{display:block!important}
 header.HPHeader.ls-chrome .ls-nav-row>.HPMainNav{display:none!important}
 header.HPHeader.ls-chrome .ls-top-row:has(>.HPHeaderActions>.gb-mobile-actions[data-ls-fallback-tools]){display:contents}
 header.HPHeader.ls-chrome .gb-mobile-actions{max-width:100%!important}
 header.HPHeader.ls-chrome .HPLanguage{max-width:100%;box-sizing:border-box}
 header.HPHeader.ls-chrome .HPLanguage>summary{box-sizing:border-box;max-width:100%}
 header.HPHeader.ls-chrome .HPBrand{max-width:100%!important}
}

/* Homeopati/Sanabit: retain native content and controls; share rows as space permits. */
@layer finder-presentation-coordination {
html body #studio .sb-notice.gg-notice {
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) fit-content(48%)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:16px!important;
  row-gap:4px!important;
  align-items:start!important;
  min-height:0!important;
}
html body #studio .sb-notice.gg-notice>.gg-main {display:contents!important}
html body #studio .sb-notice.gg-notice>.gg-icon {
  grid-column:1!important;grid-row:1!important;align-self:center!important;
}
html body #studio .sb-notice.gg-notice .gg-main>.gg-title {
  grid-column:2!important;grid-row:1!important;align-self:center!important;
  margin:0!important;min-width:0;text-align:start;
}
html body #studio .sb-notice.gg-notice .gg-main>.gg-boundary {
  grid-column:2/-1!important;grid-row:2!important;margin:0!important;min-width:0;
}
html body #studio .sb-notice.gg-notice .gg-main>.pc-links.finder-start-row {
  grid-column:3!important;grid-row:1!important;
  position:relative!important;inset:auto!important;
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-end!important;justify-self:end!important;align-self:center!important;
  min-width:0!important;max-width:100%!important;margin:0!important;
}
html body #studio .sb-notice.gg-notice .gg-main>.gg-links:empty {display:none!important}
html body #studio .sb-notice.gg-notice .gg-main>.gg-links:not(:empty) {
  grid-column:2/-1!important;grid-row:4!important;
}
html body #studio .sb-notice.gg-notice .gg-main>.gg-checklist {
  grid-column:2/-1!important;grid-row:3!important;
  box-sizing:border-box!important;min-width:0!important;
  padding-inline-end:216px!important;margin:4px 0 0!important;align-self:center!important;
}
html body #studio .sb-notice.gg-notice .gg-checklist>.gg-choice {margin:0!important}
html body #studio .sb-notice.gg-notice>.gg-action {
  grid-column:3!important;grid-row:3!important;
  align-self:center!important;justify-self:end!important;
  position:relative!important;inset:auto!important;
  width:200px!important;min-width:0!important;max-width:100%!important;margin:4px 0 0!important;
  transform:none!important;
  z-index:1;
}
html body #studio .sb-notice.gg-notice>.gg-action .panel-actions {margin:0!important}
@media(max-width:1100px) {
  html body #studio .sb-notice.gg-notice .gg-main>.gg-title {grid-column:2/-1!important}
  html body #studio .sb-notice.gg-notice .gg-main>.pc-links.finder-start-row {
    grid-column:2/-1!important;grid-row:3!important;
    justify-self:start!important;justify-content:flex-start!important;
  }
  html body #studio .sb-notice.gg-notice .gg-main>.gg-checklist,
  html body #studio .sb-notice.gg-notice>.gg-action {grid-row:4!important}
  html body #studio .sb-notice.gg-notice .gg-main>.gg-links:not(:empty) {grid-row:6!important}
}
@media(max-width:640px) {
  html body #studio .sb-notice.gg-notice .gg-main>.gg-checklist {padding-inline-end:0!important;grid-row:3!important}
  html body #studio .sb-notice.gg-notice .gg-main>.pc-links.finder-start-row {grid-row:4!important}
  html body #studio .sb-notice.gg-notice>.gg-action {
    grid-column:2/-1!important;grid-row:5!important;justify-self:stretch!important;width:100%!important;
  }
  html body #studio .sb-notice.gg-notice>.gg-action .panel-actions,
  html body #studio .sb-notice.gg-notice>.gg-action button {width:100%!important;max-width:none!important;min-width:0!important}
}

/* Empty responsive placeholders must not leave a trailing flex gap. */
html body header.HPHeader.ls-chrome .HPHeaderActions>.gb-mobile-actions:empty {display:none!important}
html body header.HPHeader.ls-chrome .HPHeaderActions {margin-inline: auto 0!important}
html body header.HPHeader.ls-chrome .HPAccountMenu>summary {min-block-size:44px!important}
html body header.HPHeader.ls-chrome .HPMainNav {column-gap:24px!important}
html body header.HPHeader.ls-chrome .HPMainNav>a {
  padding-inline:0!important;min-block-size:44px!important;min-inline-size:44px;
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
}

/* The two active workspace cards share their natural row height. */
html body #studio .remedy-choice-layout.hp-compact-layout {align-items:stretch!important}
html body #studio .remedy-choice-layout.hp-compact-layout>:is(.hp-choice-pane,.hp-remedy-pane) {
  align-self:stretch!important;block-size:auto!important;min-block-size:0!important;
}
html body #studio .hp-remedy-pane>.remedy-panel-heading {align-items:flex-start!important}

/* The existing checkbox keeps its label and behavior; only its visual mark changes. */
html body #studio .ls-mechanism-control>input[data-mechanism-filter]+span {
  padding-block:2px!important;padding-inline:0 34px!important;
}
html body #studio .ls-mechanism-control>input[data-mechanism-filter]+span::before {
  content:""!important;box-sizing:border-box!important;
  inline-size:22px!important;block-size:22px!important;
  border:2px solid #42828a!important;border-radius:50%!important;
  background:transparent!important;box-shadow:none!important;
  inset-inline:auto 0!important;inset-block:50% auto!important;
  transform:translateY(-50%)!important;
  transition:none!important;
}
html body #studio .ls-mechanism-control>input[data-mechanism-filter]:checked+span::before {
  background:#42828a!important;
}
html body #studio .ls-mechanism-control>input[data-mechanism-filter]+span::after {
  display:none!important;content:none!important;
}
html body #studio .ls-mechanism-control>input[data-mechanism-filter]:focus-visible+span::before {
  border-color:transparent!important;outline:2px solid #245864!important;outline-offset:-2px!important;
}
@media(forced-colors:active) {
  html body #studio .ls-mechanism-control>input[data-mechanism-filter]+span::before {
    forced-color-adjust:none;background:Canvas!important;border-color:ButtonText!important;
  }
  html body #studio .ls-mechanism-control>input[data-mechanism-filter]:checked+span::before {
    background:Highlight!important;border-color:Highlight!important;
  }
  html body #studio .ls-mechanism-control>input[data-mechanism-filter]:focus-visible+span::before {
    border-color:transparent!important;outline-color:ButtonText!important;
  }
}
}
