/* ============================================================================================================
   Platform/trust page kit (shared by platform, platform-intelligence, platform-investigation, platform-remediation
   trust and platform-ops (protection, management); copied into each page file at build time). Background layers, product-UI illustration primitives,
   marquee. Navy/teal only; crimson only for risk. No amber or yellow anywhere.
   ============================================================================================================ */

/* ------------------------------------------------------------ sections and layered backgrounds */
.sec { position: relative; padding: var(--section-y) 0; overflow: clip; isolation: isolate; }
.sec > .wrap { position: relative; z-index: 1; }
#coverage { scroll-margin-top: 24px; }   /* /platform/protection/#coverage (Solutions menu "Custom-built Websites"): clear of the header */

/* ------------------------------------------------------------ product UI primitives */
.ui { position: relative; background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--e1); color: var(--ink-200); font: 400 var(--fs-sm)/1.4 var(--display); text-align: left; }
.ui-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--navy-950) 55%, transparent); white-space: nowrap; }
.ui-bar .dots { display: flex; gap: 6px; margin-right: 4px; }
.ui-bar .dots i { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--line); }
.ui-bar .t { font: 600 var(--fs-xs)/1 var(--display); color: var(--ink-50); }
.ui-bar .crumb { font: 400 var(--fs-xs)/1 var(--mono); color: var(--ink-400); overflow: hidden; text-overflow: ellipsis; }
.ui-bar .end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--r-xs); border: 1px solid var(--line); font: 500 var(--fs-xs)/1.2 var(--mono); letter-spacing: var(--tr-label); color: var(--ink-200); white-space: nowrap; }
.chip.ok { color: var(--teal-300); border-color: var(--teal-a40); background: var(--teal-a06); }
.chip.risk { color: var(--red-300); border-color: color-mix(in srgb, var(--red-500) 60%, transparent); background: color-mix(in srgb, var(--red-500) 12%, transparent); }
.sev { width: 8px; height: 8px; border-radius: var(--r-xs); flex: none; background: var(--ink-400); }
.sev.crit { background: var(--red-500); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red-500) 25%, transparent); }
.sev.high { background: var(--red-400); }
.sev.ok { background: var(--teal-400); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.tile { padding: 10px 11px; border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--navy-950) 30%, transparent); min-width: 0; }
.tile .l { display: block; font-size: 11.5px; color: var(--ink-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile svg { display: block; width: 100%; height: 30px; margin: 8px 0 6px; overflow: visible; }
.spark { fill: none; stroke: var(--teal-400); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark.risk { stroke: var(--red-400); }
.ver { font: 400 var(--fs-xs)/1 var(--mono); color: var(--ink-200); }

/* ------------------------------------------------------------ shared bits */
@media (max-width: 767px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}

/* PAGES 06 and 07 · Protection, Management (day-to-day platform pages). Specimen hero (protection) and editorial hero (management),
   coverage columns, a detect/respond comparison table, a response row, feature grid, alert-noise comparison and a
   role matrix. Static: no scroll-driven motion. */

/* the specimen: one window, website (or detections) table left, server (or triage) pane right */
.d-spec { margin: clamp(40px, 6vh, 64px) 0 0; }
.d-spec-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.d-pane { padding: 16px 18px 18px; min-width: 0; }
.d-aside { display: grid; gap: 12px; align-content: start; border-left: 1px solid var(--line); background: color-mix(in srgb, var(--navy-950) 30%, transparent); }
.d-pane-h { display: flex; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 12px; font: 600 var(--fs-sm)/1.2 var(--display); color: var(--ink-50); }
.d-aside .d-pane-h { margin-bottom: 0; }
.d-pane-h > span:not(.end) { font: 400 var(--fs-xs)/1 var(--mono); color: var(--ink-400); }
.d-pane-h .end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.d-sub { margin-top: 4px; }
.d-tbl { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.d-tr { display: grid; grid-template-columns: 8px minmax(0, 1fr) minmax(0, 1fr) 8rem 20px; gap: 14px; align-items: center; min-height: 42px; padding: 8px 14px; background: color-mix(in srgb, var(--navy-950) 25%, transparent); }
.d-tbl--src .d-tr { grid-template-columns: 8px 4ch minmax(0, 1fr) minmax(0, 1fr) 8.5rem 20px; }
.d-tr + .d-tr { border-top: 1px solid var(--line); }
.d-tr.th { min-height: 0; padding-block: 10px; background: none; font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-400); }
.d-tr b { font-weight: 500; color: var(--ink-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-tr .m { color: var(--ink-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-tr .sev { justify-self: center; }
.d-box { border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--navy-950) 25%, transparent); }
.d-spec .ev-list { gap: 9px; }
.d-spec .ev-list li { grid-template-columns: 9ch minmax(0, 1fr) auto auto; }
.d-spec .ev-list li > span:nth-child(2) { white-space: normal; }
.d-spec .d-proc li > span:nth-child(2) { white-space: nowrap; }
.d-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.d-tiles .tile .l { font-size: var(--fs-xs); }
.d-tiles .tile svg { height: 26px; margin-bottom: 2px; }
/* numbered notes: a small index on the panel, the matching note under it */
.d-mk { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: var(--r-xs); border: 1px solid var(--line-strong); background: var(--navy-900); color: var(--ink-50);
  font: 600 var(--fs-xs)/1 var(--mono); font-style: normal; }
/* protection: the marks on the drawing in teal, matching the numbers of the notes under it (.notes-lead in system.css) */
.marks-tied .d-mk { width: 22px; height: 22px; border-color: var(--teal-a60); background: var(--teal-a24); color: var(--teal-300); }
.ev-list { display: grid; gap: 7px; padding: 12px 14px; font: 400 var(--fs-xs)/1.35 var(--mono); }
.ev-list li { display: grid; grid-template-columns: 9ch minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--ink-200); min-width: 0; }
.ev-list li > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-list .ver { color: var(--ink-400); }
.d-tr .src { flex: none; font: 500 var(--fs-xs)/1 var(--mono); color: var(--ink-400); text-transform: uppercase; }
.ev-list li.hit > span:nth-child(2) { color: var(--ink-50); }

/* ------------------------------------------------------------ coverage columns */
.cover { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 5vh, 48px); }

/* ------------------------------------------------------------ next pages */

/* ------------------------------------------------------------ responsive */
@media (max-width: 1279px) {
  .d-spec-body { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .d-spec .d-proc li { grid-template-columns: minmax(0, 1fr) auto auto; }
  .d-proc .ver { display: none; }
  .d-tr { grid-template-columns: 8px minmax(0, 1fr) minmax(0, 1fr) 7.5rem 20px; }
}
@media (max-width: 1023px) {
  .d-spec-body { grid-template-columns: minmax(0, 1fr); }
  .d-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; grid-auto-flow: column; column-gap: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .d-aside .d-sub { margin-top: 0; }
  .d-tiles { align-self: start; }
  .d-aside--one { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .d-aside--one .d-tiles { display: none; }
  .d-tr.d-x { display: none; }
  .cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .d-spec { margin-top: var(--sp-6); }
  .d-spec-body { grid-template-columns: minmax(0, 1fr); }
  .d-pane { padding: 14px; }
  .d-aside { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .d-tiles, .d-tr.d-x, .d-proc .d-x { display: none; }
  .cover { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ review 2: proof line (C13), related links (E3) */

@media (max-width: 479px) {   /* C14: one breadcrumb line; the current page truncates */
  .breadcrumbs li { flex: none; white-space: nowrap; }
  .breadcrumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 479px) {   /* C6: rows keep their label whole on phones */
  .d-tr { grid-template-columns: 8px minmax(0, 1fr) 7rem 20px; gap: 10px; padding-inline: 12px; }
  .d-tbl--src .d-tr { grid-template-columns: 8px minmax(0, 1fr) 7rem 20px; }
  .d-tbl--src .src, .d-tbl--src .th > span:nth-child(2) { display: none; }
  .d-tr .m, .d-tr.th > span:nth-last-child(2) { display: none; }
  .d-spec .ev-list:not(.d-proc) li { grid-template-columns: 8ch minmax(0, 1fr) auto auto; gap: 8px; }
  .ev-list li > span:nth-child(2) { white-space: normal; }
}

/* ------------------------------------------------------------ protection: coverage in three columns (owner, 24 Nov 2026:
   the Website / WordPress / Server tabs read as "confusing"). Each layer side by side: icon, heading, what it applies
   to, then rows (what | detail). White cards on the light section. */
.cov-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--sp-5); }
/* subgrid: the three headers share one row height, so the first rows line up across the columns */
.cov-col { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; min-width: 0; padding: var(--sp-6); background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-md);
  box-shadow: 0 12px 32px -16px color-mix(in srgb, var(--navy-950) 18%, transparent); }
.cov-top { display: flex; align-items: flex-start; gap: var(--sp-4); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--paper-line); }
.cov-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--teal-ink) 10%, transparent); color: var(--teal-ink); }
.cov-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cov-h { margin: 0; font: 600 var(--fs-xl)/1.2 var(--display); letter-spacing: var(--tr-h3); color: var(--paper-ink); }
.cov-sub { margin: var(--sp-2) 0 0; font: 400 var(--fs-sm)/1.45 var(--display); color: var(--paper-ink-2); }
.cov-list { margin: 0; }
.cov-list > div { padding: var(--sp-4) 0; border-bottom: 1px solid var(--paper-line); }
.cov-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cov-list dt { margin: 0; font: 600 var(--fs-md)/1.35 var(--display); color: var(--paper-ink); }
.cov-list dd { margin: var(--sp-1) 0 0; font: 400 var(--fs-sm)/1.45 var(--display); color: var(--paper-ink-2); }
@media (max-width: 1023px) { .cov-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--sp-4); } .cov-col { grid-row: auto; grid-template-rows: none; padding: var(--sp-5); } }

/* site-wide revision: the protection hero drawing lays out at ~925 px and scales into the split hero column */
.d-spec .duo-art { --duo-zoom: .78; --duo-w: 925px; }

/* ---- Copy round, 25 Nov 2026 (owner: "i want the answers i chose...fix if it cut off"): the chosen labels in the
   product drawings wrap to a second line instead of being cut with an ellipsis, and tab rows wrap. Same fonts, colors
   and spacing; no text is shortened. ---- */
.ui-row > *, .ui-top .t, .ui-file, .ui-meta > *, .ui-tile .k, .ui-tile .ui-sub, .ui-row .ui-chip, .ui-body > .ui-chip,
.row b, .row .m, .d-tr b, .d-tr .m, .sg-log b, .rp-stats span, .rp-s, .i-ph .crumb, .ctx-feed li, .i-files li span,
.ev-list li > span:nth-child(2), .hit span, .ui-bar .crumb, .tile .l, .tri-row b, .cl-row b, .cl-crumb {
  white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; min-width: 0; }
.ui-tabs, .cb-tabs { flex-wrap: wrap; row-gap: 8px; }
.cb-tabs span { white-space: normal; }
.ui-row .ui-chip, .ui-body > .ui-chip { max-width: 100%; }
