/* v6.0.0 beta 6 hotfix 2 — usability and flagship analysis recovery. */
html[data-usability-recovery-hotfix="2"] #mainContent>header{overflow:visible!important;min-width:0!important}
html[data-usability-recovery-hotfix="2"] #mainContent>header>.interface-controls-hf2{
  grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.35fr) auto!important;align-items:end!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-top:8px!important
}
html[data-usability-recovery-hotfix="2"] #mainContent>header>.interface-controls-hf2>#workspaceViewSwitcher,
html[data-usability-recovery-hotfix="2"] #mainContent>header>.interface-controls-hf2>#themeSwitcher{
  grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;justify-self:stretch!important;box-sizing:border-box!important
}
html[data-usability-recovery-hotfix="2"] #interfaceControlsBarHF2 #themeSwitcher .theme-switcher__options{grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0!important}
html[data-usability-recovery-hotfix="2"] #interfaceControlsBarHF2 #themeSwitcher .theme-switcher__option{min-width:0!important;min-height:40px!important;padding:6px 8px!important;white-space:normal!important;overflow-wrap:anywhere!important}
html[data-usability-recovery-hotfix="2"] #interfaceControlsBarHF2 #workspaceViewSwitcher button{min-width:0!important;white-space:normal!important}
html[data-usability-recovery-hotfix="2"] #interfaceSettingsHF2{min-height:42px!important;white-space:nowrap!important;align-self:end!important}
html[data-usability-recovery-hotfix="2"] [data-hf2-settings-replaced="1"]{display:none!important}
html[data-usability-recovery-hotfix="2"] #mainContent>header>.toolbar{grid-column:1/-1!important;grid-row:3!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-top:8px!important}
html[data-usability-recovery-hotfix="2"] #mainContent>header:not(.navshell-settings-open)>.toolbar{display:none!important}
html[data-usability-recovery-hotfix="2"] #mainContent>header.navshell-settings-open>.toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important}

html[data-usability-recovery-hotfix="2"][data-navigation-shell="workspace"][data-navigation-route="analysis/overview"]:not([data-ivory-ration="empty"]) #mainContent>#dietAnalysisProfilePanel{
  display:block!important;grid-column:2!important;width:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important
}
html[data-usability-recovery-hotfix="2"][data-navigation-shell="workspace"][data-navigation-route="analysis/overview"]:not([data-ivory-ration="empty"]) #dietAnalysisProfilePanel[hidden]{display:block!important}
html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px;border:1px solid var(--border,#d8e1eb);border-radius:14px;background:var(--surface-soft,#f7f9fc)}
html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2 h3{margin:3px 0 5px}
html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2 p{margin:0;max-width:780px;color:var(--muted-text,#5f6f7f)}
html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2>div>span,
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__head span,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__head span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#155eb8)}
html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}

html[data-usability-recovery-hotfix="2"] .hf2-analysis-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
html[data-usability-recovery-hotfix="2"] .hf2-analysis-back{font-weight:800!important}

html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2{margin:16px 0;padding:16px;border:1px solid var(--border,#d8e1eb);border-radius:14px;background:var(--surface-soft,#f7f9fc)}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__head,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2 h3,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2 h3{margin:3px 0 4px}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2>p,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__head p{margin:0;color:var(--muted-text,#5f6f7f)}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button{display:grid;grid-template-rows:auto auto 1fr;gap:4px;min-width:0;min-height:105px;text-align:left;padding:12px;border:1px solid var(--border,#d8e1eb);background:var(--surface,#fff);color:inherit}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button span{font-weight:800;overflow-wrap:anywhere}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button strong{font-size:22px}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button small{color:var(--muted-text,#5f6f7f);line-height:1.3}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button.is-below,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button.is-below{border-left:4px solid #b45b37}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button.is-review,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button.is-review{border-left:4px solid #a67a1f}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button.is-above{border-left:4px solid #a43e3e}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button.is-target,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button.is-target{border-left:4px solid #337d62}
html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__empty,
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__empty{grid-column:1/-1;display:grid;gap:4px;padding:15px;border:1px dashed var(--border,#d8e1eb);background:var(--surface,#fff)}

html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:15px}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button{display:grid;grid-template-rows:minmax(36px,auto) auto 7px auto;gap:7px;min-width:0;text-align:left;padding:12px;border:1px solid var(--border,#d8e1eb);background:var(--surface,#fff);color:inherit}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button span{font-weight:800;line-height:1.25;overflow-wrap:anywhere}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button strong{font-size:18px}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button i{display:block;height:7px;overflow:hidden;background:#dfe6ee;border-radius:99px}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button i>b{display:block;height:100%;background:currentColor;border-radius:inherit}
html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button small{color:var(--muted-text,#5f6f7f);line-height:1.3}

/* A global disclosure rule rotated this textual pseudo-element itself. */
html[data-usability-recovery-hotfix="2"] .workspace-contributors>summary::after,
html[data-usability-recovery-hotfix="2"] .workspace-contributors[open]>summary::after{transform:none!important}

html[data-theme="retro-2bit"][data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2,
html[data-theme="retro-2bit"][data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2,
html[data-theme="retro-2bit"][data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2,
html[data-theme="retro-2bit"][data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button,
html[data-theme="retro-2bit"][data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list>button{border-radius:0!important;box-shadow:3px 3px 0 rgba(10,31,56,.16)!important}

@media(max-width:1100px){
  html[data-usability-recovery-hotfix="2"] #mainContent>header>.interface-controls-hf2{grid-template-columns:minmax(200px,.75fr) minmax(320px,1.25fr)!important}
  html[data-usability-recovery-hotfix="2"] #interfaceSettingsHF2{grid-column:1/-1!important;justify-self:start!important}
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list{grid-template-columns:repeat(3,minmax(0,1fr))}
  html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
  html[data-usability-recovery-hotfix="2"] #mainContent>header>.interface-controls-hf2{grid-template-columns:1fr!important;gap:7px!important}
  html[data-usability-recovery-hotfix="2"] #interfaceSettingsHF2{grid-column:auto!important;width:100%!important}
  html[data-usability-recovery-hotfix="2"][data-navigation-shell="workspace"][data-navigation-route="analysis/overview"] #mainContent>#dietAnalysisProfilePanel{grid-column:1!important;width:100%!important}
  html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2,
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__head,
  html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__head{display:grid;grid-template-columns:1fr}
  html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2__actions{justify-content:stretch}
  html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2__actions button{flex:1 1 180px}
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-usability-recovery-hotfix="2"] .hf2-analysis-head-actions{width:100%;justify-content:stretch}
  html[data-usability-recovery-hotfix="2"] .hf2-analysis-head-actions button{flex:1 1 190px}
}
@media(max-width:460px){
  html[data-usability-recovery-hotfix="2"] #interfaceControlsBarHF2 #themeSwitcher .theme-switcher__option{font-size:9.8px!important;padding:6px 3px!important}
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list,
  html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__list{grid-template-columns:1fr}
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__list>button{min-height:84px}
}
@media print{
  html[data-usability-recovery-hotfix="2"] #interfaceControlsBarHF2,
  html[data-usability-recovery-hotfix="2"] .analysis-overview-bridge-hf2__actions,
  html[data-usability-recovery-hotfix="2"] .hf2-analysis-head-actions,
  html[data-usability-recovery-hotfix="2"] .workspace-group-overview-hf2__head>button,
  html[data-usability-recovery-hotfix="2"] .workspace-hei-dashboard-hf2__head>button{display:none!important}
  html[data-usability-recovery-hotfix="2"] #mainContent>header>.toolbar{display:none!important}
}

/* In Modern and 2-bit the group overview occupies the missing right-hand rail
   on wide screens; on narrower screens it becomes a normal full-width block. */
@media(min-width:1180px){
  html[data-usability-recovery-hotfix="2"]:not([data-theme="ivory-brass"]) #workspaceCorrectionPanel,
  html[data-usability-recovery-hotfix="2"][data-theme="ivory-brass"]:not([data-workspace-layout="canvas"]) #workspaceCorrectionPanel{
    grid-template-columns:minmax(0,1fr) minmax(270px,320px)!important;align-items:start!important;column-gap:16px!important
  }
  html[data-usability-recovery-hotfix="2"]:not([data-theme="ivory-brass"]) #workspaceCorrectionPanel>#workspaceCorrectionGroupOverviewHF2,
  html[data-usability-recovery-hotfix="2"][data-theme="ivory-brass"]:not([data-workspace-layout="canvas"]) #workspaceCorrectionPanel>#workspaceCorrectionGroupOverviewHF2{
    grid-column:2!important;grid-row:1/span 8!important;position:sticky!important;top:14px!important;align-self:start!important;margin:0!important
  }
  html[data-usability-recovery-hotfix="2"]:not([data-theme="ivory-brass"]) #workspaceCorrectionPanel>:not(#workspaceCorrectionGroupOverviewHF2),
  html[data-usability-recovery-hotfix="2"][data-theme="ivory-brass"]:not([data-workspace-layout="canvas"]) #workspaceCorrectionPanel>:not(#workspaceCorrectionGroupOverviewHF2){grid-column:1!important}
  html[data-usability-recovery-hotfix="2"]:not([data-theme="ivory-brass"]) #workspaceCorrectionGroupOverviewHF2 .workspace-group-overview-hf2__list,
  html[data-usability-recovery-hotfix="2"][data-theme="ivory-brass"]:not([data-workspace-layout="canvas"]) #workspaceCorrectionGroupOverviewHF2 .workspace-group-overview-hf2__list{grid-template-columns:1fr!important}
  html[data-usability-recovery-hotfix="2"][data-theme="ivory-brass"][data-workspace-layout="canvas"] #workspaceCorrectionGroupOverviewHF2{display:none!important}
}
