/* Ekalix - what the 12.0 Windows and application collectors added (winhealth.js, CONTRACT-V18 W6.1,
   W6.3, W6.4, B30, B31, B34-B36). Built from the theme's tokens only, so every theme - Control room,
   Clarity, Daylight, Maroon, Aurora, Galaxy - draws it. Every rule is prefixed .wh- so nothing here
   collides with styles.css or another module; the cards, tiles, chips and tables are the page's own. */

.wh > .banner { margin-bottom: 12px; }
.wh > .tiles { margin-bottom: 12px; }
.wh > .empty { margin-top: 4px; }

/* A hint behind a small "i": descriptions on hover or focus, not paragraphs on the page. */
.wh-tip {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 15px; height: 15px; margin-left: 6px; border-radius: 50%;
  border: 1px solid var(--border-2); color: var(--text-3);
  font-size: var(--fs-micro); font-weight: 700; font-style: normal; line-height: 1;
  cursor: help; vertical-align: 1px;
}
.wh-tip:hover, .wh-tip:focus-visible { color: var(--text); border-color: var(--accent); outline: none; }

/* The fold under a long list: "and 40 resources online", with Show them and Fold them. */
.wh-fold {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px; border-top: 1px dashed var(--border-2);
  font-size: var(--fs-small); color: var(--text-3);
}
.wh-fold.wh-fold-all { border-top: 0; padding: 12px 15px; font-size: var(--fs-body); color: var(--text-2); }
.wh-fold-t { margin-right: auto; min-width: 0; }
.wh-fold .ic { color: var(--ok); font-weight: 800; }
.wh-fold .btn { white-space: nowrap; }

/* A note under a table or a panel: small, and quiet unless it carries a tone. */
.wh-note { margin: 10px 12px; font-size: var(--fs-small); line-height: 1.55; color: var(--text-3); }
.wh-note.wh-in { margin: 10px 0 0; }
.wh-note.wh-in:first-child { margin-top: 0; }
.wh > .wh-note { margin: 10px 2px 0; }
.wh-note b { color: var(--text-2); font-weight: 650; }
.wh-note.wh-calm { color: var(--text-2); font-size: var(--fs-body); }
.wh-note.wh-box {
  padding: 8px 11px; border-left: 3px solid var(--tone); background: var(--tone-bg);
  border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--text-2);
}
.wh-logwin > .banner { margin-bottom: 10px; }
.wh-logwin > .wh-note { margin: 0 0 12px; }

/* A row opened: what happened, why it matters, what to do. */
.wh-detail { display: grid; gap: 6px; font-size: var(--fs-body); line-height: 1.55; color: var(--text-2); }
.wh-detail p { margin: 0; max-width: 92ch; }
.wh-detail b { color: var(--text); font-weight: 650; }

/* The cluster: quorum and witness in one line under the tiles, then the findings. */
.wh-qline { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 12px; font-size: var(--fs-body); color: var(--text-2); }
.wh-qline b { color: var(--text); font-weight: 650; }
.wh-st { color: var(--tone); font-weight: 650; }
.wh-find { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wh-find li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start;
  padding: 7px 10px; border: 1px solid var(--tone-bd); border-radius: var(--r-s);
  background: var(--tone-bg); font-size: var(--fs-body); line-height: 1.5; color: var(--text);
}
.wh-find .ic {
  width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%;
  background: var(--tone); color: var(--on-accent); font-size: var(--fs-micro); font-weight: 800;
}

/* A small word beside a name: this server, core, configured. */
.wh-tag {
  display: inline-block; margin-left: 7px; padding: 0 6px;
  border: 1px solid var(--border-2); border-radius: 999px;
  font-family: var(--font); font-size: var(--fs-micro); font-weight: 650; line-height: 1.6;
  color: var(--text-3); white-space: nowrap; vertical-align: 1px;
}
.wh-tag.t-accent { color: var(--tone); border-color: var(--tone-bd); background: var(--tone-bg); }

/* Rows of setting cards, in the Security posture's look; long values wrap rather than hide. */
.wh-cards .pcv { overflow-wrap: anywhere; }
.wh-cards .pcw { overflow-wrap: anywhere; }
.wh-cards + .wh-note { margin: 10px 0 0; }

/* A URL in a table cell, whole. */
.wh-url { font-family: var(--mono); overflow-wrap: anywhere; }

/* Certificate kinds as counts, above the store's bindings. */
.wh-kinds { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 8px; }

/* The CIM/DCOM banner: what was not read, as chips on one wrapping line. */
.wh-dcom { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-left: 2px; }
.wh-dcom .chip { margin-left: 2px; }
.wh-raw { display: block; flex-basis: 100%; margin-top: 5px; color: var(--text-3); font-size: var(--fs-small); overflow-wrap: anywhere; }

/* The IIS log window: one line per site read short. */
.wh-cut { margin: 6px 0 0; padding-left: 18px; flex-basis: 100%; }
.wh-cut li { margin: 2px 0; font-size: var(--fs-body); color: var(--text-2); }

@media (max-width: 760px) {
  .wh-fold { padding: 8px; }
  .wh-qline { gap: 4px 12px; }
}
