/* Local-first console. Keep the reading column wide and the product tree visible. */
:root {
  --sidebar: clamp(254px, 20.6vw, 312px);
  --gutter: clamp(20px, 2.7vw, 46px);
  --ink: #152d40;
  --text: #2a4152;
  --muted: #4f6676;
  --line: #d6e0e6;
  --bg: #f5f8fa;
  --blue: #08578e;
  --rail-bg: #fbfcfd;
  --focus: #116da7;
  --surface-soft: #ebf2f6;
  --product-color: #0d6399;
  --product-tint: #e7f2fa;
}
[data-product="intune"], [data-workload="intune"] { --product-color: #125b92; --product-tint: #e9f3fc; }
[data-product="defender"], [data-workload="defender"] { --product-color: #246346; --product-tint: #e8f4ed; }
[data-product="purview"], [data-workload="purview"] { --product-color: #644298; --product-tint: #f1edf9; }
[data-product="gsa"], [data-workload="gsa"] { --product-color: #0b686e; --product-tint: #e4f3f2; }
.sidebar { background: var(--rail-bg); border-right-color: #c9d5df; }
.brand { min-height: 76px; border-bottom-color: var(--line); }
.topbar { min-height: 53px; background: #fff; }
.workspace main { max-width: 1580px; margin-inline: auto; }
.page-heading { margin-bottom: clamp(17px, 2vw, 25px); }
.page-heading h1 { font-size: clamp(1.65rem, 2.2vw, 2.12rem); color: #142f43; }
#pageTitle:focus { outline: none; }
.page-sub { max-width: 80ch; }
.nav-search-wrap { padding: 15px 15px 10px; }
#nav { padding: 0 9px 16px 12px; }
#nav a { overflow-wrap: anywhere; }
.nav-link { margin-bottom: 2px; font-size: .93rem; }
.nav-tools-toggle { width: 100%; }
.nav-tools-toggle > :last-child { margin-left: auto; margin-right: 8px; width: 15px; }
.nav-tools-toggle[aria-expanded="true"] > :last-child { transform: rotate(90deg); }
.nav-label { color: #4a6375; font-weight: 700; }
.workload-section { margin-block: 4px; }
.workload-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding-right: 3px;
  border-radius: 7px;
}
.workload-title:has([aria-current="page"]), .workload-title:hover { background: #eaf1f5; }
.workload-link {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 7px;
  text-decoration: none;
  color: #1e384b;
  font-size: 1rem;
  font-weight: 700;
}
.workload-title .workload-link > svg, .workload-title .workload-link > img {
  width: 23px;
  height: 23px;
  color: var(--product-color);
  flex-shrink: 0;
}
.workload-toggle {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 34px;
  flex: 0 0 auto;
  color: #4e6879;
  border-radius: 5px;
}
.workload-toggle:hover { background: #dce7ee; }
.workload-toggle svg, .workload-toggle img { width: 16px; height: 16px; }
.workload-toggle[aria-expanded="true"] > :first-child { transform: rotate(90deg); }
.workload-groups {
  margin: 1px 0 8px 16px;
  padding-left: 8px;
  border-left: 1px solid #ccdbe4;
}
.workload-groups .nav-folder-name { min-height: 36px; padding-block: 6px; font-size: .90rem; }
.workload-groups .nav-folder-head { min-height: 37px; }
.workload-groups .nav-folder-name > svg, .workload-groups .nav-folder-name > img { width: 17px; height: 17px; }
.workload-groups .nav-children { margin-left: 10px; padding-left: 6px; }
.workload-groups .nav-leaf { display: flex; align-items: center; gap: 7px; }
.workload-groups .nav-leaf > img, .workload-groups .nav-leaf > svg { width: 16px; height: 16px; flex-shrink: 0; }
#nav [aria-current="page"] { color: #104e7c; }
.workload-title:has(.workload-link[aria-current="page"]) .workload-toggle { color: #0d4e7d; }
.suite-overview { container: overview / inline-size; }
.suite-section { min-width: 0; margin-bottom: clamp(21px, 2.2vw, 32px); }
.suite-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 9px 18px; flex-wrap: wrap; margin: 0 0 12px; }
.suite-section-title h2 { color: var(--ink); font-size: clamp(1.16rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.45; }
.suite-section-title a { color: #0a5989; font-size: .89rem; font-weight: 650; text-decoration: none; }
.suite-section-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.suite-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #c7d7e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}
.suite-metric {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  min-width: 0;
  padding: clamp(15px, 1.7vw, 24px);
  border-right: 1px solid var(--line);
  text-align: start;
  color: #334f61;
  background: #fff;
}
.suite-metric:last-child { border-right: 0; }
.suite-metric[data-tone="primary"] { background: #153e56; color: #fff; }
.suite-metric:hover { background: #f0f6f9; }
.suite-metric[data-tone="primary"]:hover { background: #154a66; }
.suite-metric:focus-visible { outline-offset: -4px; }
.suite-metric[data-tone="primary"]:focus-visible { outline-color: white; }
.suite-metric > span { font-size: .94rem; font-weight: 650; line-height: 1.45; }
.suite-metric strong { color: #193b51; font-size: clamp(1.8rem, 2.5vw, 2.6rem); font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.suite-metric[data-tone="primary"] strong { color: white; }
.suite-metric[data-tone="warning"] strong { color: #80500b; }
.suite-metric small { color: var(--muted); font-size: .81rem; line-height: 1.5; }
.suite-metric[data-tone="primary"] small { color: #daedf3; }
.suite-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.suite-product {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  min-width: 0;
  padding: 15px 15px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: #213b50;
  text-decoration: none;
  transition: border-color .13s, background-color .13s;
}
.suite-product:hover, .suite-area:hover { border-color: var(--product-color); background: #fafdff; }
.suite-product-glyph {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
  border-radius: 8px;
  background: var(--product-tint);
  color: var(--product-color);
}
.suite-product-glyph svg, .suite-product-glyph img { width: 23px; height: 23px; }
.suite-product > strong { color: #18384b; font-size: 1.13rem; font-weight: 700; line-height: 1.4; }
.suite-product-description { color: #496377; font-size: .87rem; margin-top: 3px; line-height: 1.5; }
.suite-product-state {
  align-self: end;
  width: 100%;
  padding-top: 9px;
  margin-top: 12px;
  border-top: 1px solid #e1e8ed;
  color: #354f62;
  font-size: .81rem;
  font-weight: 650;
}
.suite-issues .suite-section-title { margin-bottom: 9px; }
.suite-issue-list { overflow: hidden; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.suite-issue-list li + li { border-top: 1px solid #e1e7ec; }
.suite-issue-list button { display: flex; align-items: center; min-width: 0; gap: 11px; padding: 10px 15px; width: 100%; color: var(--text); text-align: left; }
.suite-issue-list button:hover { background: #f5f8fa; }
.suite-issue-list button:focus-visible { outline-offset: -3px; }
.suite-issue-symbol { display: grid; flex: none; place-items: center; width: 31px; height: 31px; border-radius: 6px; color: #805013; background: #fcf2dc; }
.suite-issue-symbol svg, .suite-issue-symbol img { width: 17px; height: 17px; }
.suite-issue-copy { min-width: 0; flex: 1; }
.suite-issue-copy strong, .suite-issue-copy small { display: block; }
.suite-issue-copy strong { font-size: .94rem; color: #244257; }
.suite-issue-copy small { color: var(--muted); font-size: .83rem; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suite-issue-list .badge { flex-shrink: 0; font-size: .78rem; }
.suite-quiet { border: 1px solid var(--line); background: #fff; padding: 15px 18px; border-radius: 8px; color: #466073; font-size: .93rem; }
.suite-directory .suite-section + .suite-section { padding-top: 10px; }
.suite-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(285px, 100%), 1fr)); gap: 10px; }
.suite-area { height: 100%; align-items: flex-start; border-radius: 9px; }
.suite-area .area-icon { color: var(--product-color); background: var(--product-tint); }
.suite-area .area-copy small { font-size: .88rem; }
.suite-area-count { flex: none; color: #52697b; font-size: .81rem; }
.suite-recent :is(.section-title, .panel-heading) { gap: 8px 14px; }
.feature-link, .suite-product, .suite-area { overflow-wrap: anywhere; }
.feature-link > svg, .feature-link > img { width: 22px; height: 22px; flex: 0 0 22px; align-self: flex-start; }
.nav-link > img, .nav-folder-name > img, .nav-leaf > img { width: 18px; height: 18px; flex-shrink: 0; }
@container overview (max-width: 730px) {
  .suite-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  :root { --sidebar: 251px; --gutter: 19px; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; --gutter: 15px; }
  .brand { min-height: 62px; }
  .suite-product { padding: 12px; }
  .workload-link, .workload-toggle, .workload-groups .nav-folder-head, .workload-groups .nav-folder-name, .workload-groups .nav-leaf { min-height: 42px; }
  .suite-stat-strip { margin-bottom: 20px; }
}
@media (max-width: 520px) {
  .top-tools { gap: 5px; }
  .top-tools .readonly { display: inline-flex; white-space: nowrap; font-size: .74rem; }
  .suite-stat-strip { grid-template-columns: 1fr; border-radius: 10px; }
  .suite-metric {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
    padding: 9px 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .suite-metric:last-child { border-bottom: 0; }
  .suite-metric strong { grid-column: 2; grid-row: 1 / 3; font-size: 1.58rem; }
  .suite-metric small { font-size: .78rem; }
  .suite-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .suite-product-glyph { width: 30px; height: 30px; margin-bottom: 5px; }
  .suite-product-glyph img, .suite-product-glyph svg { width: 20px; height: 20px; }
  .suite-product > strong { font-size: 1.03rem; }
  .suite-product-description, .suite-product-state { font-size: .8rem; }
  .suite-product-state { margin-top: 7px; padding-top: 6px; }
  .suite-issue-symbol { display: none; }
  .suite-issue-list button { gap: 8px; padding: 11px; }
}
@media (max-width: 325px) {
  .suite-product-grid { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .suite-metric, .suite-product, .workload-toggle { border: 1px solid CanvasText; }
}
#savedSnapshotDialog { box-sizing: border-box; inset: 0; margin: auto; width: min(480px, calc(100% - 32px)); height: fit-content; max-height: 90vh; padding: 24px; color: #17324a; background: white; border: 1px solid #bdccd8; border-radius: 14px; box-shadow: 0 16px 68px #16354a30; }
#savedSnapshotDialog::backdrop { background: #12243870; }
.saved-snapshot-head, .saved-snapshot-actions { display: flex; align-items: center; gap: 12px; }
.saved-snapshot-head h2 { margin: 0; font-size: 1.35rem; }
.saved-snapshot-head span { color: #17598a; display: inline-flex; }
#savedSnapshotDialog p { line-height: 1.65; margin: 14px 0; }
#savedSnapshotDialog label { display: block; font-weight: 650; margin-bottom: 5px; }
#savedSnapshotFolder { font: inherit; width: 100%; padding: 7px; border: 1px solid #c5d0db; background: #f5f8fb; color: inherit; border-radius: 4px; }
#savedSnapshotError { color: #9b252b; }
.saved-snapshot-actions { justify-content: flex-end; margin-top: 22px; }
