:root {
  color-scheme: dark;
  --page: #171c21;
  --page-deep: #101418;
  --bar: #14191d;
  --appbar: #3b444c;
  --panel: #23292e;
  --panel-alt: #282f35;
  --panel-deep: #1b2025;
  --line: #3b444b;
  --line-soft: #30383e;
  --text: #f0f2f3;
  --muted: #aeb6bc;
  --quiet: #818b93;
  --green: #67b94b;
  --green-bright: #78c75c;
  --blue: #55a9db;
  --cyan: #52b9ba;
  --purple: #8d72d9;
  --magenta: #cf5fa8;
  --amber: #d7a33d;
  --orange: #d97845;
  --red: #d84b55;
  --white: #ffffff;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 300px;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #82c5ea;
}

img,
svg {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: var(--mono);
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 8px;
  padding: 8px 12px;
  background: var(--white);
  color: #111;
}

.skip-link:focus-visible {
  top: 6px;
}

:focus-visible {
  outline: 2px solid #9bd77f;
  outline-offset: 2px;
}

.global-bar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border-bottom: 1px solid #252c31;
  background: var(--bar);
}

.lab-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

.lab-wordmark:hover {
  color: var(--white);
}

.wordmark-command,
.wordmark-lab {
  color: var(--green-bright);
}

.wordmark-command {
  margin-left: 2px;
  font-family: var(--mono);
}

.wordmark-lab {
  margin-left: 3px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.global-context {
  color: var(--quiet);
  font-size: 12px;
}

.global-actions {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin-left: auto;
}

.global-actions > a,
.global-health {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  color: #cbd0d4;
  font-size: 12px;
}

.global-actions > a:hover {
  color: var(--white);
}

.global-health {
  gap: 7px;
}

.global-health i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-left: 9px;
  border-left: 1px solid #31383e;
}

.language-switch button {
  min-width: 32px;
  padding: 5px 7px;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.language-switch button.active {
  background: #35413a;
  color: #a9df93;
}

.application-bar {
  position: sticky;
  z-index: 35;
  top: 40px;
  display: flex;
  min-height: 61px;
  align-items: stretch;
  gap: 26px;
  padding: 0 18px;
  border-bottom: 1px solid #535d65;
  background: var(--appbar);
}

.application-identity {
  display: flex;
  min-width: 310px;
  align-items: center;
  gap: 11px;
}

.application-mark {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 34px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #6c777f;
  background: #20272c;
}

.mark-chevron {
  position: absolute;
  left: 7px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--green-bright);
  border-right: 2px solid var(--green-bright);
  transform: rotate(45deg);
}

.mark-signal {
  position: absolute;
  right: 6px;
  bottom: 8px;
  display: flex;
  height: 16px;
  align-items: end;
  gap: 2px;
}

.mark-signal i {
  display: block;
  width: 2px;
  background: #9ca6ad;
}

.mark-signal i:first-child {
  height: 6px;
}

.mark-signal i:nth-child(2) {
  height: 13px;
}

.mark-signal i:nth-child(3) {
  height: 9px;
}

.mark-signal i:nth-child(4) {
  height: 16px;
  background: var(--blue);
}

.application-title {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.application-title strong {
  overflow: hidden;
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.application-title small {
  margin-top: 2px;
  color: #c1c7cc;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-badge {
  padding: 3px 6px;
  border: 1px solid #77838b;
  color: #e3e7e9;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.view-navigation {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: stretch;
  gap: 2px;
}

.view-navigation button {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 18px;
  background: transparent;
  color: #d0d5d8;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.view-navigation button:hover {
  background: #465159;
  color: var(--white);
}

.view-navigation button.active {
  background: #343d44;
  color: var(--white);
  font-weight: 650;
}

.view-navigation button.active::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  background: var(--green-bright);
  content: "";
}

.snapshot-banner {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 13px;
  padding: 5px 18px;
  border-bottom: 1px solid #4a535a;
  background: #2c3339;
  color: #bbc2c7;
  font-size: 11px;
}

.snapshot-mode {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dfe3e5;
  letter-spacing: 0.04em;
}

.snapshot-mode i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
}

.snapshot-separator {
  width: 1px;
  height: 14px;
  background: #596269;
}

.snapshot-banner code {
  color: #9ea7ad;
  font-size: 10px;
}

main {
  min-height: calc(100vh - 230px);
}

.view-panel {
  width: min(1760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 38px;
  scroll-margin-top: 106px;
}

.view-panel[hidden] {
  display: none;
}

.view-heading {
  display: flex;
  min-height: 80px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow b {
  color: var(--green-bright);
}

.view-heading h1 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.view-heading > div:first-child > p:last-child {
  max-width: 840px;
  margin-bottom: 0;
  color: var(--muted);
}

.heading-facts {
  display: flex;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel-deep);
}

.heading-facts span {
  display: flex;
  min-width: 155px;
  flex-direction: column;
  padding: 10px 13px;
}

.heading-facts span + span {
  border-left: 1px solid var(--line);
}

.heading-facts small {
  margin-bottom: 3px;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.heading-facts b {
  color: #d9dde0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.filter-ribbon {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(128px, 0.7fr)) auto auto;
  align-items: end;
  gap: 1px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  background: var(--line);
}

.filter-field {
  display: flex;
  min-width: 0;
  height: 57px;
  flex-direction: column;
  justify-content: center;
  padding: 7px 10px;
  background: var(--panel);
}

.filter-field label {
  margin-bottom: 4px;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-width: 0;
  height: 27px;
  padding: 2px 7px;
  border: 1px solid #58636b;
  border-radius: 0;
  background: #343c42;
  color: var(--text);
  font-size: 12px;
}

.filter-field input::placeholder {
  color: #939ca3;
}

.secondary-button,
.primary-button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #6d777f;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.secondary-button {
  align-self: center;
  margin: 0 10px;
  background: #343c42;
  color: #dde1e3;
}

.secondary-button:hover {
  background: #3d464d;
}

.primary-button {
  border-color: #57953f;
  background: #4c8f37;
  color: var(--white);
}

.primary-button:hover {
  background: #5a9f41;
}

.filter-ribbon output {
  display: flex;
  height: 57px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background: var(--panel-deep);
  color: #d5dadd;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.posture-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  background: var(--line);
}

.posture-kpi {
  position: relative;
  min-height: 92px;
  padding: 12px 13px 10px;
  background: var(--panel-alt);
}

.posture-kpi::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--kpi-color, var(--blue));
  content: "";
}

.posture-kpi span {
  display: block;
  min-height: 28px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.posture-kpi strong {
  color: var(--white);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.posture-kpi small {
  margin-left: 7px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
}

.posture-layout,
.platform-layout,
.assurance-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
}

.panel-heading {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #20262b;
}

.panel-heading h2 {
  margin-bottom: 1px;
  color: #e9ecee;
  font-size: 14px;
  font-weight: 650;
}

.panel-heading p {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 10px;
}

.panel-source,
.panel-chip {
  flex: 0 0 auto;
  color: #949ea5;
  font-family: var(--mono);
  font-size: 9px;
}

.panel-chip {
  padding: 4px 6px;
  border: 1px solid #4a555c;
  color: #b9c0c5;
}

.panel-note {
  padding: 7px 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 9px;
}

.state-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.state-pill.inactive {
  color: #c58f44;
}

.state-pill.readonly {
  color: #72b4dc;
}

.state-pill.healthy {
  color: #7fc765;
}

.state-pill.boundary {
  color: #d6a64a;
}

.tactic-panel {
  grid-column: span 4;
}

.status-panel {
  grid-column: span 2;
}

.severity-panel {
  grid-column: span 3;
}

.cadence-panel {
  grid-column: span 3;
}

.output-panel {
  grid-column: span 3;
}

.matrix-panel {
  grid-column: span 9;
}

.analytics-panel {
  grid-column: 1 / -1;
}

.rank-chart {
  display: grid;
  gap: 10px;
  min-height: 198px;
  padding: 13px;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.5fr) minmax(110px, 2fr) 32px;
  align-items: center;
  gap: 9px;
}

.rank-row button {
  overflow: hidden;
  padding: 0;
  background: transparent;
  color: #cbd1d5;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row button:hover {
  color: var(--white);
  text-decoration: underline;
}

.bar-svg {
  width: 100%;
  height: 12px;
  overflow: visible;
}

.bar-svg .bar-track {
  fill: #353d43;
}

.bar-svg .bar-value {
  fill: var(--blue);
}

.rank-row:nth-child(2) .bar-value {
  fill: var(--purple);
}

.rank-row:nth-child(3) .bar-value {
  fill: var(--magenta);
}

.rank-row:nth-child(4) .bar-value {
  fill: var(--amber);
}

.rank-row:nth-child(5) .bar-value {
  fill: var(--cyan);
}

.rank-row strong {
  color: #dce1e3;
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.donut-layout {
  display: grid;
  min-height: 198px;
  place-items: center;
  padding: 10px;
}

.donut-wrap {
  position: relative;
  width: 150px;
  max-width: 100%;
  aspect-ratio: 1;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-track {
  fill: none;
  stroke: #343c42;
  stroke-width: 17;
}

.donut-segment {
  fill: none;
  stroke-width: 17;
}

.donut-production {
  stroke: var(--green-bright);
}

.donut-testing {
  stroke: var(--amber);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-center strong {
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.donut-center small {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donut-legend {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 7px;
}

.donut-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b9c0c5;
  font-size: 9px;
}

.donut-legend i {
  width: 7px;
  height: 7px;
}

.donut-legend .production {
  background: var(--green-bright);
}

.donut-legend .testing {
  background: var(--amber);
}

.severity-distribution {
  min-height: 237px;
  padding: 13px;
}

.risk-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.risk-summary strong {
  color: var(--white);
  font-size: 27px;
  font-weight: 600;
}

.risk-summary span {
  color: var(--muted);
  font-size: 10px;
}

.segmented-svg {
  width: 100%;
  height: 20px;
  margin: 13px 0 11px;
}

.severity-list {
  display: grid;
  gap: 7px;
}

.severity-list div {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 7px;
  color: #bac1c5;
  font-size: 10px;
}

.severity-list i {
  width: 8px;
  height: 8px;
}

.severity-list .critical {
  background: var(--red);
}

.severity-list .high {
  background: var(--orange);
}

.severity-list .medium {
  background: var(--blue);
}

.severity-list b {
  color: #e1e5e7;
  font-family: var(--mono);
}

.cadence-distribution {
  display: grid;
  min-height: 237px;
  align-content: center;
  gap: 14px;
  padding: 13px;
}

.cadence-row {
  display: grid;
  grid-template-columns: 58px 1fr 27px;
  align-items: center;
  gap: 8px;
}

.cadence-row span {
  color: #c4cacf;
  font-family: var(--mono);
  font-size: 10px;
}

.cadence-row progress {
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 0;
  background: #343c42;
  color: var(--purple);
  appearance: none;
}

.cadence-row progress::-webkit-progress-bar {
  background: #343c42;
}

.cadence-row progress::-webkit-progress-value {
  background: var(--purple);
}

.cadence-row progress::-moz-progress-bar {
  background: var(--purple);
}

.cadence-row:nth-child(2) progress {
  color: var(--blue);
}

.cadence-row:nth-child(2) progress::-webkit-progress-value,
.cadence-row:nth-child(2) progress::-moz-progress-bar {
  background: var(--blue);
}

.cadence-row:nth-child(3) progress {
  color: var(--cyan);
}

.cadence-row:nth-child(3) progress::-webkit-progress-value,
.cadence-row:nth-child(3) progress::-moz-progress-bar {
  background: var(--cyan);
}

.cadence-row b {
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.cadence-note {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 9px;
}

.output-state {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 12px;
  background: var(--line);
}

.output-state > div {
  min-height: 100px;
  padding: 10px;
  background: var(--panel-alt);
}

.output-state span {
  display: block;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
}

.output-state strong {
  display: block;
  color: var(--white);
  font-size: 32px;
  font-weight: 500;
}

.output-state small {
  color: var(--quiet);
  font-size: 9px;
}

.output-panel > p {
  margin: 0;
  padding: 0 12px 12px;
  color: #a7afb5;
  font-size: 10px;
}

.attack-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.matrix-column {
  min-width: 0;
  min-height: 196px;
  padding: 9px;
  background: var(--panel);
}

.matrix-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--matrix-color, var(--blue));
}

.matrix-column > header b {
  overflow: hidden;
  color: #d8dde0;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matrix-column > header span {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
}

.matrix-techniques {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.technique-cell {
  position: relative;
  min-width: 0;
  min-height: 43px;
  padding: 6px 6px 5px;
  border: 1px solid #49535a;
  background: #293137;
  color: #dce0e2;
  cursor: pointer;
  text-align: left;
}

.technique-cell:hover {
  border-color: #77828a;
  background: #323b42;
}

.technique-cell.risk-low {
  border-left: 3px solid #559fc5;
}

.technique-cell.risk-mid {
  border-left: 3px solid #c6913c;
}

.technique-cell.risk-high {
  border-left: 3px solid #cf5c56;
}

.technique-cell.production::after {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  background: var(--green-bright);
  content: "";
}

.technique-cell b {
  display: block;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technique-cell small {
  display: block;
  margin-top: 3px;
  color: var(--quiet);
  font-size: 8px;
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
}

.matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--quiet);
  font-size: 9px;
}

.matrix-swatch,
.matrix-marker {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid #657078;
  background: #293137;
}

.matrix-swatch.risk-low {
  border-left: 3px solid #559fc5;
}

.matrix-swatch.risk-mid {
  border-left: 3px solid #c6913c;
}

.matrix-swatch.risk-high {
  border-left: 3px solid #cf5c56;
}

.matrix-marker {
  width: 6px;
  height: 6px;
  border: 0;
  background: var(--green-bright);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.data-table th {
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #1c2227;
  color: #aeb6bb;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  white-space: nowrap;
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: 0;
}

.data-table td {
  padding: 8px 10px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: #c8ced2;
  vertical-align: middle;
}

.data-table tbody tr:nth-child(even) {
  background: #272e34;
}

.data-table tbody tr:hover {
  background: #303840;
}

.analytics-table {
  min-width: 1020px;
}

.analytics-table td:nth-child(2) {
  min-width: 300px;
}

.status-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
}

.status-cell i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-cell.production {
  color: #96d77f;
}

.status-cell.production i {
  background: var(--green-bright);
}

.status-cell.testing {
  color: #e0b966;
}

.status-cell.testing i {
  background: var(--amber);
}

.analytic-title {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.analytic-title button,
.analytic-title a {
  overflow: hidden;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #63b5e6;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytic-title button:hover,
.analytic-title a:hover {
  color: #96d5f7;
  text-decoration: underline;
}

.analytic-title code {
  overflow: hidden;
  color: #7f8a92;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technique-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.technique-list button,
.technique-list span {
  padding: 2px 4px;
  border: 1px solid #4a555d;
  background: #21282d;
  color: #a8cce1;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.risk-heat {
  display: block;
  min-width: 52px;
  padding: 5px 7px;
  border-left: 3px solid currentColor;
  background: #30373d;
  font-family: var(--mono);
  font-weight: 700;
  text-align: right;
}

.risk-heat.critical {
  color: #ed7c82;
  background: #4b2c30;
}

.risk-heat.high {
  color: #e3a26f;
  background: #49362d;
}

.risk-heat.medium {
  color: #74bce5;
  background: #263c49;
}

.cron-cell {
  color: #bfc6ca;
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.validation-label {
  color: #aeb7bc;
  font-size: 9px;
  white-space: nowrap;
}

.empty-state {
  margin: 0;
  padding: 30px;
  color: var(--quiet);
  text-align: center;
}

.platform-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  background: var(--line);
}

.platform-fact {
  display: grid;
  min-height: 82px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  background: var(--panel-alt);
}

.platform-fact span {
  align-self: start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-fact strong {
  color: var(--white);
  font-size: 27px;
  font-weight: 600;
}

.platform-fact small {
  align-self: end;
  padding-bottom: 5px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
}

.search-console {
  grid-column: span 8;
}

.provenance-panel {
  grid-column: span 4;
}

.index-panel {
  grid-column: 1 / -1;
}

.delivery-panel {
  grid-column: span 8;
}

.control-plane-panel {
  grid-column: span 4;
}

.search-preset-bar {
  display: flex;
  gap: 1px;
  padding: 8px 10px 0;
}

.search-preset-bar button {
  padding: 6px 10px;
  border: 1px solid #4a555d;
  background: #2d353b;
  color: #b7bfc4;
  cursor: pointer;
  font-size: 10px;
}

.search-preset-bar button:hover,
.search-preset-bar button.active {
  border-color: #6d7a82;
  background: #3a444b;
  color: var(--white);
}

.search-preset-bar button.active {
  border-bottom-color: var(--green-bright);
}

.query-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 0;
  margin: 8px 10px 0;
  border: 1px solid #66727a;
  background: #11161a;
}

.query-prefix {
  display: grid;
  place-items: center;
  border-right: 1px solid #49535a;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 16px;
}

.query-row input {
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  outline: 0;
  background: #11161a;
  color: #d7dcdf;
  font-family: var(--mono);
  font-size: 11px;
}

.query-row .primary-button {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.query-status {
  min-height: 28px;
  margin: 0 10px;
  padding: 7px 1px 5px;
  color: #9dc68d;
  font-size: 10px;
}

.query-status.error {
  color: #e08187;
}

.search-result {
  min-height: 288px;
  border-top: 1px solid var(--line);
}

.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: #1b2126;
  color: var(--quiet);
  font-size: 9px;
}

.result-heading b {
  color: #bcc4c9;
  font-family: var(--mono);
}

.saved-search-result {
  display: grid;
  min-height: 220px;
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: baseline;
  gap: 5px 14px;
  padding: 24px;
}

.saved-search-result strong {
  grid-row: span 2;
  color: var(--white);
  font-family: var(--mono);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 500;
  line-height: 0.9;
}

.saved-search-result span {
  color: #d5dbde;
  font-size: 13px;
  font-weight: 700;
}

.saved-search-result code {
  width: max-content;
  padding: 3px 6px;
  border: 1px solid #5d8750;
  color: #92ce7d;
  font-size: 9px;
}

.result-bars {
  display: grid;
  gap: 12px;
  padding: 14px 12px;
}

.result-bar-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.5fr) minmax(140px, 2fr) 50px;
  align-items: center;
  gap: 10px;
}

.result-bar-label {
  min-width: 0;
}

.result-bar-label b,
.result-bar-label small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-bar-label b {
  color: #d0d6d9;
  font-size: 10px;
}

.result-bar-label small {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
}

.result-bar-row strong {
  color: #e1e5e7;
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.manifest-list {
  margin: 0;
  padding: 2px 12px 8px;
}

.manifest-list div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.manifest-list dt {
  color: var(--quiet);
  font-size: 9px;
  text-transform: uppercase;
}

.manifest-list dd {
  color: #cbd1d4;
  font-family: var(--mono);
  font-size: 9px;
}

.supported-queries {
  display: grid;
  gap: 5px;
  margin: 3px 12px 10px;
  padding: 9px;
  border: 1px solid var(--line-soft);
  background: var(--panel-deep);
}

.supported-queries b {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.supported-queries code {
  overflow: hidden;
  color: #89c3e3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provenance-note {
  margin: 0;
  padding: 0 12px 12px;
  color: #a2abb1;
  font-size: 9px;
}

.index-table {
  min-width: 900px;
}

.index-name {
  color: #65b8e9;
  font-family: var(--mono);
  font-weight: 700;
}

.index-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
}

.index-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.index-state.searchable {
  color: #8cce73;
}

.index-state.searchable i {
  background: var(--green-bright);
}

.index-state.inactive {
  color: #d0a857;
}

.index-state.inactive i {
  background: var(--amber);
}

.delivery-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 13px;
  list-style: none;
}

.delivery-path li {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--panel-alt);
}

.delivery-path li + li {
  border-left: 0;
}

.delivery-path li + li::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #77838a;
  border-right: 2px solid #77838a;
  background: var(--panel-alt);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.path-index {
  display: block;
  margin-bottom: 10px;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 10px;
}

.delivery-path small,
.delivery-path b,
.delivery-path p,
.delivery-path code {
  display: block;
}

.delivery-path small {
  color: var(--quiet);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.delivery-path b {
  margin: 3px 0;
  overflow: hidden;
  color: #dce0e2;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-path p {
  min-height: 43px;
  margin-bottom: 10px;
  color: #9fa8ae;
  font-size: 9px;
}

.delivery-path code {
  color: #68afd6;
  font-size: 8px;
}

.control-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 55px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line-soft);
}

.control-list li:last-child {
  border-bottom: 0;
}

.control-list span {
  color: #77b7db;
  font-family: var(--mono);
  font-size: 9px;
}

.control-list b {
  color: #c4cbd0;
  font-size: 10px;
  font-weight: 500;
}

.control-list i {
  padding: 2px 4px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.control-ok {
  color: #80c766;
}

.control-off {
  color: #cda24f;
}

.rba-overview {
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  background:
    linear-gradient(120deg, rgba(100, 190, 70, 0.07), transparent 42%),
    var(--panel);
}

.rba-overview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.rba-overview h2 {
  margin: 2px 0 4px;
  color: var(--white);
  font-size: 20px;
  font-weight: 620;
}

.rba-overview header p:last-child {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.rba-posture {
  min-width: 124px;
  padding: 12px 15px;
  border-left: 3px solid var(--red);
  background: #211f22;
  text-align: right;
}

.rba-posture small,
.rba-posture b {
  display: block;
}

.rba-posture small {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.rba-posture b {
  margin-top: 4px;
  color: #f26a72;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.rba-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.rba-metrics > div {
  min-height: 102px;
  padding: 13px 15px;
  background: var(--panel-alt);
}

.rba-metrics small,
.rba-metrics strong,
.rba-metrics span {
  display: block;
}

.rba-metrics small {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.rba-metrics strong {
  margin: 8px 0 2px;
  color: var(--white);
  font-size: 27px;
  font-weight: 580;
}

.rba-metrics span {
  color: var(--muted);
  font-size: 9px;
}

.rba-story {
  display: grid;
  gap: 7px;
  padding: 13px 15px 15px;
  border-top: 1px solid var(--line);
}

.rba-story > div {
  display: grid;
  grid-template-columns: 78px minmax(80px, 1fr) 30px minmax(120px, 180px);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.rba-story span,
.rba-story b,
.rba-story small {
  font-family: var(--mono);
  font-size: 9px;
}

.rba-story span {
  color: var(--cyan);
}

.rba-story b {
  color: var(--white);
  text-align: right;
}

.rba-story small {
  overflow: hidden;
  color: var(--quiet);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rba-story i {
  display: block;
  width: var(--risk-width);
  min-width: 10px;
  height: 8px;
  background: linear-gradient(90deg, var(--amber), #df565f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.rba-story .weight-12 { --risk-width: 100%; }
.rba-story .weight-2 { --risk-width: 16.67%; }
.rba-story .weight-1 { --risk-width: 8.34%; }

.investigation-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
}

.case-queue {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #1c2227;
}

.case-queue > header {
  display: flex;
  height: 51px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.case-queue > header b {
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 12px;
}

#case-tabs {
  flex: 1;
}

.case-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 8px 1fr auto;
  gap: 9px;
  padding: 13px 11px;
  border-bottom: 1px solid var(--line-soft);
  background: #232a2f;
  color: #c1c8cc;
  cursor: pointer;
  text-align: left;
}

.case-tab:hover {
  background: #2b3339;
}

.case-tab.active {
  background: #313a41;
  color: var(--white);
}

.case-tab > i {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--amber);
}

.case-tab.active > i {
  background: var(--green-bright);
}

.case-tab strong,
.case-tab small {
  display: block;
}

.case-tab strong {
  font-size: 10px;
  font-weight: 600;
}

.case-tab small {
  margin-top: 3px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
}

.case-tab > b {
  color: #d8a057;
  font-family: var(--mono);
  font-size: 11px;
}

.case-queue > footer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 9px;
}

.case-queue > footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.case-workspace {
  min-width: 0;
  background: var(--panel);
}

.case-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #20262b;
}

.case-tactic {
  color: var(--green-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-header h2 {
  margin: 4px 0;
  color: var(--white);
  font-size: 21px;
  font-weight: 600;
}

.case-header code {
  color: var(--quiet);
  font-size: 9px;
}

.case-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.case-badge {
  padding: 5px 7px;
  border: 1px solid #536068;
  background: #293137;
  color: #bdc5ca;
  font-family: var(--mono);
  font-size: 9px;
}

.case-badge.risk {
  border-color: #a95657;
  color: #ed8887;
}

.case-badge.validated {
  border-color: #5e9a4a;
  color: #96d77d;
}

.case-thesis {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1px;
  background: var(--line);
}

.case-thesis > div {
  padding: 12px 14px;
  background: var(--panel-alt);
}

.case-thesis small,
.response-block small {
  color: var(--quiet);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.case-thesis p {
  margin: 5px 0 0;
  color: #c3c9cd;
  font-size: 11px;
}

.case-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 8px;
  padding: 8px;
}

.spl-panel,
.analyst-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: #1b2024;
}

.spl-panel > header,
.analyst-panel > header {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: #272e34;
}

.spl-panel > header > div {
  min-width: 0;
}

.spl-panel > header span,
.analyst-panel > header span {
  display: block;
  color: #abb4b9;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.spl-panel > header code {
  display: block;
  overflow: hidden;
  max-width: 520px;
  margin-top: 2px;
  color: #73808a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spl-panel > header button {
  padding: 5px 8px;
  border: 1px solid #5b666e;
  background: #353e45;
  color: #d3d8db;
  cursor: pointer;
  font-size: 9px;
}

.spl-panel pre {
  min-height: 218px;
  max-height: 300px;
  margin: 0;
  overflow: auto;
  padding: 14px;
  color: #c2d7e3;
  font-size: 10px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.spl-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  color: #9aa4aa;
  font-family: var(--mono);
  font-size: 8px;
}

.spl-panel > footer b {
  color: #62add7;
  font-weight: 500;
}

.analyst-panel > header b {
  color: #d4a64f;
  font-size: 8px;
}

.analyst-panel dl {
  margin: 0;
}

.analyst-panel dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.analyst-panel dt {
  color: var(--quiet);
  font-size: 8px;
}

.analyst-panel dd {
  overflow: hidden;
  color: #c9d0d4;
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.response-block {
  margin: 10px;
  padding: 9px;
  border-left: 3px solid var(--green);
  background: #232a2f;
}

.response-block p {
  margin: 5px 0 0;
  color: #b9c1c6;
  font-size: 10px;
}

.case-validation-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.6fr);
  gap: 8px;
  padding: 0 8px 8px;
}

.case-evidence {
  position: relative;
  min-height: 193px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #11161a;
  cursor: pointer;
}

.case-evidence img {
  width: 100%;
  height: 193px;
  object-fit: cover;
  object-position: top;
  opacity: 0.8;
}

.case-evidence:hover img {
  opacity: 1;
}

.case-evidence > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(14, 18, 22, 0.94);
  color: #dce1e3;
}

.case-evidence b {
  font-size: 9px;
}

.case-evidence small {
  overflow: hidden;
  color: var(--quiet);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.case-path li {
  min-width: 0;
  padding: 12px 9px;
  background: var(--panel-alt);
}

.case-path li + li {
  border-left: 1px solid var(--line);
}

.case-path > li > span {
  display: block;
  margin-bottom: 16px;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 9px;
}

.case-path b {
  color: #dbe0e2;
  font-size: 10px;
}

.case-path p {
  margin: 4px 0 0;
  color: var(--quiet);
  font-size: 8px;
}

.admin-evidence-panel {
  grid-column: 1 / -1;
}

.admin-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.admin-evidence-card {
  --proof-color: var(--green);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 270px;
  flex-direction: column;
  padding: 14px 15px 12px 17px;
  background: var(--panel-alt);
  color: var(--text);
}

.admin-evidence-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--proof-color);
  content: "";
}

.admin-evidence-card[data-proof="custom-datamodel"] {
  grid-column: 1 / -1;
  min-height: 220px;
  background:
    linear-gradient(105deg, rgba(101, 166, 55, 0.1), transparent 52%),
    var(--panel-alt);
}

.admin-evidence-card[data-proof="tls-lifecycle"] {
  --proof-color: var(--blue);
}

.admin-evidence-card[data-proof="rbac-governance"] {
  --proof-color: var(--purple);
}

.admin-evidence-card[data-proof="mco-readonly"] {
  --proof-color: var(--amber);
}

.admin-evidence-card[data-proof="periodic-reporting"] {
  --proof-color: var(--orange);
}

.admin-evidence-card[data-proof="parsing-rollback"] {
  --proof-color: var(--red);
}

.admin-evidence-card[data-proof="cluster-resilience"] {
  --proof-color: var(--magenta);
}

.admin-evidence-card[data-proof="linux-onboarding"] {
  --proof-color: var(--cyan);
}

.admin-evidence-card:hover {
  background: #303940;
  color: var(--text);
}

.admin-evidence-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.admin-evidence-domain {
  color: var(--proof-color);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-evidence-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #aab3b8;
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
}

.admin-evidence-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 2px rgba(120, 199, 92, 0.12);
}

.admin-evidence-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 13px;
}

.admin-evidence-metric strong {
  color: var(--white);
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.admin-evidence-metric small {
  color: #8e989f;
  font-size: 8px;
  text-transform: uppercase;
}

.admin-evidence-title {
  margin-top: 5px;
  color: #e5e9eb;
  font-size: 12px;
}

.admin-evidence-reference {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #70b8df;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-evidence-detail {
  margin: 9px 0 14px;
  color: #aeb7bc;
  font-size: 9px;
  line-height: 1.5;
}

.admin-evidence-card > footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.admin-evidence-card > footer code {
  overflow: hidden;
  color: #78838a;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-evidence-card > footer span {
  flex: 0 0 auto;
  color: #77bddd;
  font-size: 8px;
  font-weight: 700;
}

.claim-ledger {
  grid-column: span 8;
}

.release-panel {
  grid-column: span 4;
}

.evidence-ledger {
  grid-column: span 7;
}

.gap-panel {
  grid-column: span 5;
}

.security-panel {
  grid-column: span 8;
}

.scope-panel {
  grid-column: span 4;
}

.claim-ledger .data-table {
  min-width: 760px;
}

.claim-ledger code {
  color: #67afd7;
  font-size: 9px;
}

.ledger-state {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid #5d8750;
  color: #92ce7d;
  font-family: var(--mono);
  font-size: 8px;
}

.promotion-card {
  min-height: 205px;
  padding: 12px;
  background: var(--panel-alt);
}

.promotion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.promotion-head b,
.promotion-head code {
  display: block;
}

.promotion-head b {
  color: var(--white);
  font-size: 12px;
}

.promotion-head code {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 8px;
}

.promotion-head strong {
  padding: 3px 6px;
  border: 1px solid #b78027;
  color: #e8ad3c;
  font-family: var(--mono);
  font-size: 8px;
  white-space: nowrap;
}

.promotion-details {
  margin: 0;
}

.promotion-details div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.promotion-details dt {
  color: #e8ad3c;
  font-family: var(--mono);
  font-size: 8px;
}

.promotion-details dd {
  margin: 0;
  color: #c6cdd1;
  font-size: 9px;
  line-height: 1.35;
}

.promotion-details code {
  color: #65bde8;
  font-size: 8px;
}

.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.evidence-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 120px;
  padding: 0;
  border: 0;
  background: var(--panel-alt);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.evidence-card:hover {
  background: #303940;
}

.evidence-card img {
  width: 112px;
  height: 120px;
  object-fit: cover;
  object-position: top;
}

.evidence-card.dashboard-evidence {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.evidence-card.dashboard-evidence img {
  width: 100%;
  height: 188px;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  object-position: top;
  filter: saturate(0.92) contrast(1.02);
}

.evidence-card.dashboard-evidence > span {
  min-height: 112px;
  padding: 12px;
}

.evidence-card > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 11px;
}

.evidence-card b {
  color: #dde1e3;
  font-size: 10px;
}

.evidence-card small {
  margin: 5px 0 auto;
  color: #9fa8ae;
  font-size: 9px;
}

.evidence-card code {
  overflow: hidden;
  color: #6caed3;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gap-ledger {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
}

.gap-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 94px;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 10px;
  background: var(--panel-alt);
}

.gap-row code {
  color: #dfa750;
  font-size: 9px;
}

.gap-row p {
  margin: 0;
  color: #b7bfc4;
  font-size: 9px;
}

.gap-row span {
  padding: 3px 5px;
  border: 1px solid #59636a;
  color: #9fa9af;
  font-size: 8px;
  text-align: center;
}

.security-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.security-controls > div {
  min-height: 139px;
  padding: 11px;
  border-right: 1px solid var(--line);
}

.security-controls > div:last-child {
  border-right: 0;
}

.control-number {
  display: block;
  margin-bottom: 20px;
  color: var(--green-bright);
  font-family: var(--mono);
  font-size: 10px;
}

.security-controls b {
  display: block;
  color: #d8dde0;
  font-size: 10px;
}

.security-controls p {
  margin: 5px 0 0;
  color: var(--quiet);
  font-size: 9px;
}

.scope-list {
  padding: 5px 11px 8px;
}

.scope-list p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: #b9c1c6;
  font-size: 9px;
}

.scope-list p:last-child {
  border-bottom: 0;
}

.scope-list i {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 700;
}

.scope-yes {
  color: var(--green-bright);
}

.scope-no {
  color: var(--amber);
}

.site-footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
  border-top: 1px solid #424b52;
  background: #11161a;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-mark {
  color: var(--green-bright);
  font-family: var(--mono);
  font-weight: 700;
}

.site-footer p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.site-footer p strong {
  color: #d8dde0;
  font-size: 11px;
}

.site-footer p small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 9px;
}

.footer-signature {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-left: auto;
}

.footer-signature small {
  color: var(--quiet);
  font-size: 9px;
}

.footer-signature b {
  color: var(--white);
  font-family: var(--mono);
  font-size: 16px;
}

.site-footer nav {
  display: flex;
  gap: 15px;
}

.site-footer nav a {
  font-size: 10px;
}

.evidence-modal {
  width: min(1300px, calc(100vw - 34px));
  max-width: none;
  max-height: calc(100vh - 34px);
  padding: 0;
  border: 1px solid #59636a;
  border-radius: 0;
  background: #11161a;
  color: var(--text);
}

.evidence-modal::backdrop {
  background: rgba(3, 6, 8, 0.86);
}

.modal-bar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 10px 7px 13px;
  border-bottom: 1px solid var(--line);
  background: #22292e;
}

.modal-bar > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.modal-bar b {
  font-size: 11px;
}

.modal-bar span {
  overflow: hidden;
  color: var(--quiet);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-bar button {
  width: 30px;
  height: 30px;
  background: transparent;
  color: #d6dade;
  cursor: pointer;
  font-size: 23px;
}

.evidence-modal > img {
  width: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 9px 12px;
  border-left: 3px solid var(--green-bright);
  background: #252d32;
  color: #e3e7e9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1260px) {
  .application-identity {
    min-width: 260px;
  }

  .view-navigation button {
    padding: 0 11px;
  }

  .filter-ribbon {
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(105px, 0.7fr));
  }

  .filter-ribbon .secondary-button {
    min-height: 38px;
    margin: 8px;
  }

  .filter-ribbon output {
    grid-column: 1 / -1;
    height: 30px;
  }

  .tactic-panel {
    grid-column: span 5;
  }

  .status-panel {
    grid-column: span 3;
  }

  .severity-panel {
    grid-column: span 4;
  }

  .cadence-panel {
    grid-column: span 4;
  }

  .output-panel {
    grid-column: span 4;
  }

  .matrix-panel {
    grid-column: span 8;
  }

  .attack-matrix {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .matrix-column:nth-child(4),
  .matrix-column:nth-child(5) {
    min-height: 120px;
  }

  .security-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-controls > div:nth-child(2) {
    border-right: 0;
  }

  .security-controls > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .global-context {
    display: none;
  }

  .rba-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rba-metrics > div:nth-child(n + 4) {
    min-height: 84px;
  }

  .application-bar {
    display: block;
    padding: 0;
  }

  .application-identity {
    min-height: 54px;
    padding: 0 14px;
    border-bottom: 1px solid #566068;
  }

  .view-navigation {
    min-height: 45px;
    overflow-x: auto;
    padding: 0 6px;
  }

  .view-navigation button {
    flex: 0 0 auto;
    padding: 0 13px;
  }

  .snapshot-banner {
    overflow-x: auto;
    white-space: nowrap;
  }

  .view-heading {
    display: block;
  }

  .heading-facts {
    width: max-content;
    max-width: 100%;
    margin-top: 13px;
  }

  .posture-kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  .tactic-panel,
  .status-panel,
  .severity-panel,
  .cadence-panel,
  .output-panel,
  .matrix-panel {
    grid-column: span 6;
  }

  .matrix-panel {
    grid-column: 1 / -1;
  }

  .search-console,
  .provenance-panel,
  .delivery-panel,
  .control-plane-panel,
  .admin-evidence-panel,
  .claim-ledger,
  .release-panel,
  .evidence-ledger,
  .gap-panel,
  .security-panel,
  .scope-panel {
    grid-column: 1 / -1;
  }

  .delivery-path {
    grid-template-columns: 1fr;
  }

  .delivery-path li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .delivery-path li + li::before {
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .delivery-path p {
    min-height: 0;
  }

  .investigation-shell {
    grid-template-columns: 1fr;
  }

  .case-queue {
    border-bottom: 1px solid var(--line);
  }

  #case-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .case-tab {
    border-right: 1px solid var(--line-soft);
  }

  .case-queue > footer {
    display: none;
  }

  .case-analysis-grid,
  .case-validation-grid {
    grid-template-columns: 1fr;
  }

  .admin-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .global-bar {
    padding: 0 10px;
  }

  .global-health {
    display: none;
  }

  .rba-overview > header {
    align-items: flex-start;
  }

  .rba-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .rba-metrics > div:last-child {
    grid-column: 1 / -1;
  }

  .rba-story > div {
    grid-template-columns: 68px minmax(60px, 1fr) 24px;
  }

  .rba-story small {
    display: none;
  }

  .global-actions {
    gap: 10px;
  }

  .snapshot-banner {
    padding-right: 10px;
    padding-left: 10px;
  }

  .snapshot-banner > span:nth-child(2),
  .snapshot-separator {
    display: none;
  }

  .view-panel {
    width: calc(100% - 18px);
    padding-top: 15px;
  }

  .view-heading {
    margin-bottom: 13px;
  }

  .view-heading h1 {
    font-size: 25px;
  }

  .heading-facts {
    width: 100%;
  }

  .heading-facts span {
    min-width: 0;
    flex: 1;
  }

  .filter-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-ribbon .secondary-button {
    margin: 8px;
  }

  .posture-kpis,
  .platform-facts {
    grid-template-columns: 1fr 1fr;
  }

  .posture-kpi:last-child {
    grid-column: 1 / -1;
  }

  .posture-layout,
  .platform-layout,
  .assurance-layout {
    display: block;
  }

  .posture-layout > *,
  .platform-layout > *,
  .assurance-layout > * {
    margin-bottom: 8px;
  }

  .attack-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .matrix-column {
    min-height: 140px;
  }

  .matrix-column:last-child {
    grid-column: 1 / -1;
  }

  .query-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .query-row .primary-button {
    grid-column: 1 / -1;
    min-height: 34px;
    border-top: 1px solid #57953f;
    border-left: 0;
  }

  .result-bar-row {
    grid-template-columns: minmax(110px, 1fr) minmax(90px, 1.3fr) 38px;
  }

  #case-tabs {
    display: flex;
    overflow-x: auto;
  }

  .case-tab {
    min-width: 210px;
  }

  .case-header {
    display: block;
  }

  .case-badges {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .case-thesis {
    grid-template-columns: 1fr;
  }

  .case-path {
    grid-template-columns: 1fr;
  }

  .case-path li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-path > li > span {
    margin-bottom: 4px;
  }

  .evidence-gallery {
    grid-template-columns: 1fr;
  }

  .security-controls {
    grid-template-columns: 1fr;
  }

  .admin-evidence-grid {
    grid-template-columns: 1fr;
  }

  .security-controls > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .security-controls > div:last-child {
    border-bottom: 0;
  }

  .control-number {
    margin-bottom: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-signature {
    margin-left: 0;
  }

  .site-footer nav {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 13px;
  }

  .global-actions > a {
    display: none;
  }

  .application-identity {
    padding: 0 9px;
  }

  .application-title strong {
    font-size: 13px;
  }

  .application-title small {
    font-size: 8px;
  }

  .author-badge {
    margin-left: auto;
  }

  .view-navigation button {
    padding: 0 11px;
    font-size: 11px;
  }

  .view-panel {
    width: calc(100% - 12px);
  }

  .admin-evidence-panel > .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-ribbon {
    grid-template-columns: 1fr;
  }

  .filter-search,
  .filter-ribbon output {
    grid-column: auto;
  }

  .posture-kpis,
  .platform-facts {
    grid-template-columns: 1fr;
  }

  .posture-kpi:last-child {
    grid-column: auto;
  }

  .attack-matrix {
    grid-template-columns: 1fr;
  }

  .matrix-column:last-child {
    grid-column: auto;
  }

  .rank-row {
    grid-template-columns: minmax(95px, 1fr) minmax(80px, 1.2fr) 24px;
  }

  .output-state {
    grid-template-columns: 1fr;
  }

  .search-preset-bar {
    overflow-x: auto;
  }

  .manifest-list div {
    grid-template-columns: 75px 1fr;
  }

  .gap-row {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .evidence-card img {
    width: 95px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
