@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
* { box-sizing: border-box; }
html { background: var(--field); color: var(--ink); }
body { margin: 0; background: var(--field); color: var(--ink); font-family: var(--font-body); font-size: var(--body-size); line-height: var(--lh-body); font-feature-settings: var(--feature-body); font-variation-settings: var(--variation-body); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.skip-link { position: absolute; left: var(--gutter); top: var(--s-8); transform: translateY(-160%); padding: var(--s-8) var(--s-12); background: var(--ink); color: var(--field); z-index: 20; }
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.foundation-header { display: grid; gap: var(--s-16); padding: var(--s-32) var(--gutter); border-bottom: 1px solid var(--rule); background: var(--field); }
.foundation-header h1 { margin: 0; font-family: var(--font-display); font-size: var(--display-lg); line-height: var(--lh-display); letter-spacing: var(--track-tight); }
.foundation-header p { max-width: 68ch; margin: 0; color: var(--muted); line-height: var(--lh-long); }
.foundation-nav { display: flex; justify-content: space-between; gap: var(--s-24); font-family: var(--font-mono); font-size: var(--label-size); font-weight: var(--weight-ui); letter-spacing: var(--track-uppercase); text-transform: uppercase; }
.foundation-nav a { color: var(--ink); }
.preview-sections { display: grid; }
.section { padding: var(--section-y-sm) var(--gutter); }
.section-inner { max-width: var(--container-md); margin-inline: auto; width: 100%; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--s-16); background: var(--ink); color: var(--field); border: 1px solid var(--rule); border-radius: var(--r-2, 0); font-family: var(--font-mono); font-size: var(--label-size); font-weight: var(--weight-ui); letter-spacing: var(--track-uppercase); text-transform: uppercase; text-decoration: none; }
.button.secondary { background: transparent; color: var(--accent); }
.button.is-active { background: var(--accent); color: var(--field); }
.button[aria-disabled="true"] { color: var(--muted); border-color: var(--rule); background: var(--surface-raised); pointer-events: none; }
.button.is-focus-visible, .input.is-focus-visible, .button:focus-visible, .input:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.input { min-height: 40px; padding: 0 var(--s-12); background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r-2, 0); font: inherit; }
.responsive-note { font-family: var(--font-mono); font-size: var(--label-size); color: var(--muted); }
.system-states { border-top: 1px solid var(--rule); background: var(--surface); }
.system-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: var(--s-24); align-items: start; }
.system-controls { display: flex; flex-wrap: wrap; gap: var(--s-8); align-items: center; }
.data-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: var(--label-size); }
.data-table th, .data-table td { padding: var(--s-12); border-bottom: 1px solid var(--rule); text-align: left; }
.empty-state { padding: var(--s-24); border: 1px dashed var(--rule); color: var(--muted); }
.signature-stack { display: grid; gap: var(--s-12); }
figure { margin: 0; aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .system-grid { grid-template-columns: 1fr; } .foundation-nav { flex-wrap: wrap; } }

.family-dashboard-header { display: grid; }
.family-kpi-tiles { display: grid; }
.family-dither-heatmap { display: grid; }
.family-data-table { display: grid; }
.family-legend-colophon { display: grid; }
.template-dashboard-header { background: var(--field); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dd-board-head { max-width: var(--container-lg); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(18rem,.55fr); gap: var(--s-24); align-items: end; }
.dd-kicker, .dd-meta, .dd-table, .dd-legend, .dd-kpi-grid { font-family: var(--font-mono); font-size: var(--label-size); }
.dd-title { margin: 0; max-width: 12ch; font-family: var(--font-display); font-size: var(--display-xl); line-height: var(--lh-display-tight); letter-spacing: var(--track-tight); font-weight: var(--weight-display); font-feature-settings: var(--feature-display); }
.dd-summary { max-width: 58ch; color: var(--muted); font-size: var(--t-17); line-height: var(--lh-long); }
.dd-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--rule); }
.dd-meta div { padding: var(--s-12); background: var(--surface); }
@media (max-width: 820px) { .dd-board-head { grid-template-columns: 1fr; } .dd-meta { grid-template-columns: 1fr; } }
.template-dashboard-heatmap { background: var(--field); }
.dd-heatmap-wrap { max-width: var(--container-lg); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem,.34fr); gap: var(--s-16); align-items: start; }
.dd-heatmap-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 1px; background: var(--rule); }
.dd-heat-cell { min-height: 68px; display: grid; align-content: end; padding: var(--s-8); background-color: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: var(--label-size); }
.dd-heat-label, .dd-legend-key { display: inline-block; width: max-content; max-width: 100%; padding: 2px 5px; background-color: var(--field); color: var(--ink); border: 1px solid var(--rule); }
.dd-heat-cell.is-solid { background: var(--surface-raised); }
.dd-heat-cell.is-accent { background: var(--accent); color: var(--field); }
.dd-legend { display: grid; gap: var(--s-8); padding: var(--s-12); background: var(--surface); box-shadow: var(--shadow-ring); }
.dd-legend > span { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-8); align-items: center; }
.dd-legend b { min-height: 34px; display: grid; align-content: end; padding: var(--s-4); border: 1px solid var(--rule); }
@media (max-width: 820px) { .dd-heatmap-wrap { grid-template-columns: 1fr; } .dd-heatmap-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.template-dashboard-kpi { background: var(--surface); }
.dd-kpi-grid { max-width: var(--container-lg); margin-inline: auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--s-8); }
.dd-kpi-tile { display: grid; gap: var(--s-8); min-height: 150px; align-content: space-between; padding: var(--s-16); background: var(--field); box-shadow: var(--shadow-ring); border-radius: var(--r-4, 4px); color: var(--muted); }
.dd-kpi-tile strong { display: block; font-family: var(--font-display); font-size: var(--display-md); line-height: var(--lh-display-tight); color: var(--ink); font-weight: var(--weight-display); }
.dd-kpi-tile.is-live { background: var(--accent); color: var(--field); }
.dd-kpi-tile.is-live strong { color: var(--field); }
@media (max-width: 900px) { .dd-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .dd-kpi-grid { grid-template-columns: 1fr; } }
.template-dashboard-legend { background: var(--field); border-top: 1px solid var(--rule); }
.dd-colophon { max-width: var(--container-md); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem,.42fr); gap: var(--s-24); }
.dd-colophon dl { margin: 0; display: grid; gap: 1px; background: var(--rule); }
.dd-colophon div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s-12); padding: var(--s-12); background: var(--surface); }
.dd-colophon dt { color: var(--muted); font-family: var(--font-mono); font-size: var(--label-size); }
.dd-colophon aside { display: grid; gap: var(--s-12); padding: var(--s-16); background: var(--surface); box-shadow: var(--shadow-ring); }
@media (max-width: 760px) { .dd-colophon { grid-template-columns: 1fr; } .dd-colophon div { grid-template-columns: 1fr; } }
.template-dashboard-table { background: var(--surface); }
.dd-table-wrap { width: 100%; max-width: min(var(--container-lg), 100%); min-width: 0; margin-inline: auto; overflow-x: auto; background: var(--field); box-shadow: var(--shadow-ring); }
.dd-table { width: 100%; border-collapse: collapse; min-width: 760px; color: var(--ink); }
.dd-table caption { padding: var(--s-12); text-align: left; color: var(--muted); caption-side: top; }
.dd-table th, .dd-table td { padding: var(--s-12); border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.dd-table th { color: var(--muted); font-weight: var(--weight-ui); letter-spacing: var(--track-uppercase); text-transform: uppercase; }
.dd-pill { display: inline-flex; padding: 2px 7px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-ring); }
.dd-pill.is-live { background: var(--accent); color: var(--field); box-shadow: none; }
.generic-panel { max-width: var(--container-md); margin-inline: auto; display: grid; gap: var(--s-16); padding: var(--s-24); background: var(--surface); border: 1px solid var(--rule); }
.dither-ramp { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--s-4); align-items: stretch; }
.dither-swatch { min-height: 76px; aspect-ratio: 1 / 1; display: grid; place-items: end start; padding: var(--s-8); border: 1px solid var(--rule); color: var(--ink); font-family: var(--font-mono); font-size: var(--label-size); background-size: 16px 16px; image-rendering: pixelated; overflow: hidden; }
.dither-label { display: inline-block; padding: 2px 5px; background: var(--field); color: var(--ink); border: 1px solid var(--rule); }
.dither-2 { background-color: #07100D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Crect width='4' height='4' fill='%2307100D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/svg%3E"); background-size: 16px 16px; image-rendering: pixelated; }
.dither-4 { background-color: #07100D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Crect width='4' height='4' fill='%2307100D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/svg%3E"); background-size: 16px 16px; image-rendering: pixelated; }
.dither-6 { background-color: #07100D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Crect width='4' height='4' fill='%2307100D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/svg%3E"); background-size: 16px 16px; image-rendering: pixelated; }
.dither-8 { background-color: #07100D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Crect width='4' height='4' fill='%2307100D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/svg%3E"); background-size: 16px 16px; image-rendering: pixelated; }
.dither-10 { background-color: #07100D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Crect width='4' height='4' fill='%2307100D'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/svg%3E"); background-size: 16px 16px; image-rendering: pixelated; }
.dither-plate { aspect-ratio: 4 / 3; background-size: cover; background-repeat: no-repeat; image-rendering: pixelated; }
.dither-plate-bands { background-color: #132720; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cdefs%3E%3Cpattern id='b0' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='b1' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='b2' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='b3' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='b4' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='32' height='4' y='0' fill='url(%23b0)'/%3E%3Crect width='32' height='4' y='4' fill='url(%23b1)'/%3E%3Crect width='32' height='4' y='8' fill='url(%23b2)'/%3E%3Crect width='32' height='4' y='12' fill='url(%23b3)'/%3E%3Crect width='32' height='4' y='16' fill='url(%23b4)'/%3E%3C/svg%3E"); }
.dither-plate-vignette { background-color: #132720; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cdefs%3E%3Cpattern id='v0' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='v1' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='v2' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='v3' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='v4' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='40' height='24' fill='url(%23v0)'/%3E%3Crect x='4' y='4' width='32' height='16' fill='url(%23v1)'/%3E%3Crect x='8' y='8' width='24' height='8' fill='url(%23v2)'/%3E%3C/svg%3E"); }
.dither-plate-blocks { background-color: #132720; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3Cpattern id='f0' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='f1' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='f2' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='f3' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' width='16' height='16' fill='url(%23f0)'/%3E%3Crect x='16' y='0' width='16' height='16' fill='url(%23f1)'/%3E%3Crect x='0' y='16' width='16' height='16' fill='url(%23f2)'/%3E%3Crect x='16' y='16' width='16' height='16' fill='url(%23f3)'/%3E%3C/svg%3E"); }
.dither-plate-steps { background-color: #132720; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Cdefs%3E%3Cpattern id='s0' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='s1' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3Cpattern id='s2' patternUnits='userSpaceOnUse' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23132720'/%3E%3Crect width='1' height='1' x='0' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='0' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='1' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='0' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='2' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='1' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='2' y='3' fill='%23E9F4EE'/%3E%3Crect width='1' height='1' x='3' y='3' fill='%23E9F4EE'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='36' height='24' fill='url(%23s0)'/%3E%3Crect x='12' width='24' height='24' fill='url(%23s1)'/%3E%3Crect x='24' width='12' height='24' fill='url(%23s2)'/%3E%3C/svg%3E"); }
.dither-plate figcaption, .dither-plate > strong, .dither-plate > span, .dither-plate > b, .dither-plate > em, .dither-plate > p, .dither-plate > a, .dither-plate > button, .dither-plate > div > strong, .dither-plate > div > span, .dither-plate > div > a { display: inline-block; width: max-content; max-width: 100%; padding: 2px 6px; background: var(--field); color: var(--ink); border: 1px solid var(--rule); font-family: var(--font-mono); font-size: var(--label-size); }
.dither-plate > strong, .dither-plate > div > strong { font-family: var(--font-display); font-size: var(--t-20); line-height: var(--lh-title); }

.dd-kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--rule); } .dd-kpi-strip span { display: grid; gap: var(--s-4); padding: var(--s-12); background: var(--surface); font-family: var(--font-mono); font-size: var(--label-size); color: var(--muted); } .dd-kpi-strip b { display: block; font-family: var(--font-display); font-size: var(--t-31); line-height: var(--lh-display-tight); color: var(--ink); font-weight: var(--weight-display); } .dd-kpi-strip span:last-child { background: var(--accent); color: var(--field); } .dd-kpi-strip span:last-child b { color: var(--field); }
.dd-dither-heatmap { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1px; background: var(--rule); } .dd-dither-heatmap > span { min-height: 58px; display: grid; align-content: end; padding: var(--s-8); font-family: var(--font-mono); font-size: var(--label-size); color: var(--ink); background-color: var(--surface); } .dd-dither-heatmap b { width: max-content; max-width: 100%; padding: 2px 5px; background: var(--field); color: var(--ink); border: 1px solid var(--rule); font-weight: var(--weight-ui); } .dd-dither-heatmap span:nth-child(5n) { background-color: var(--accent); color: var(--field); } .dd-dither-heatmap span:nth-child(3n) { background-color: var(--surface-raised); }
.dd-status-ring { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-12); align-items: center; padding: var(--s-12); background: var(--surface); box-shadow: var(--shadow-ring); font-family: var(--font-mono); font-size: var(--label-size); color: var(--muted); } .dd-status-ring b { min-width: .75rem; min-height: .75rem; display: inline-grid; place-items: center; padding: 1px 4px; background: var(--accent); color: var(--field); box-shadow: 0 0 0 1px var(--accent); font-size: 10px; line-height: 1; font-weight: var(--weight-ui); } .dd-status-ring strong { color: var(--ink); font-weight: var(--weight-strong); }
.dd-motif-source-row { display: grid; grid-template-columns: 5rem 1fr auto; gap: var(--s-12); align-items: center; padding: var(--s-12); background: var(--surface); box-shadow: var(--shadow-ring); font-family: var(--font-mono); font-size: var(--label-size); } .dd-motif-source-row strong { color: var(--accent); font-weight: var(--weight-strong); }
