/* Zoe Swellmark | Creative Intelligence - Her Name Is Zoe
 * Hardened Zero-CDN Collaborative Identity & Language Guide Stylesheet
 * Botanical Sage Mist Light & Deep Pine Nocturnal Dark
 * Scoped under html[data-theme] + body.zi-body / .zi-shell
 */

:root,
html[data-theme="light"] body.zi-body {
  --paper: #E8F0EC;
  --surface: #DCE7E1;
  --surface-elevated: #F2F7F4;
  --ink: #0E1916;
  --ink2: #1B2B26;
  --mute: #31453F;
  --hair: #BCCBC5;
  --accent: #165B47;
  --accent-text: #0F4535;
  --accent-contrast: #FFFFFF;
  --accent-2: #8E3A2A;
  --accent-2-text: #6B281B;

  --band-bg: #0E1916;
  --band-border: #29423B;
  --band-ink: #F2F7F5;
  --band-ink2: #D2E0DB;
  --band-accent: #9FE0C8;
  --band-quote: #FFFFFF;
  --band-c64: #B9F3DC;
  --band-mute: #B8C9C3;

  --error-bg: #FBECE9;
  --error-border: #8E3A2A;
  --error-text: #6B281B;

  --font-serif: Georgia, "Liberation Serif", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Liberation Sans", sans-serif;
  --font-mono: "DejaVu Sans Mono", "Liberation Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="dark"] body.zi-body,
body.zi-body {
  --paper: #0A1411;
  --surface: #11201B;
  --surface-elevated: #162822;
  --ink: #EEF5F2;
  --ink2: #D2E0DB;
  --mute: #A8BFB7;
  --hair: #29423B;
  --accent: #349E7C;
  --accent-text: #6AD7B2;
  --accent-contrast: #0A1411;
  --accent-2: #D97562;
  --accent-2-text: #F29C8B;

  --band-bg: #11201B;
  --band-border: #29423B;
  --band-ink: #EEF5F2;
  --band-ink2: #D2E0DB;
  --band-accent: #6AD7B2;
  --band-quote: #FFFFFF;
  --band-c64: #B9F3DC;
  --band-mute: #A8BFB7;

  --error-bg: #2B1512;
  --error-border: #D97562;
  --error-text: #F29C8B;

  --font-serif: Georgia, "Liberation Serif", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Liberation Sans", sans-serif;
  --font-mono: "DejaVu Sans Mono", "Liberation Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.zi-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.62;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.zi-body.ns-split-ready {
  padding-top: 56px;
}

.zi-shell *,
.zi-shell *::before,
.zi-shell *::after {
  box-sizing: border-box;
}

.zi-shell {
  width: 100%;
  min-width: 0;
  font-size: 16.5px;
  line-height: 1.62;
}

.zi-shell :focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}

/* Commercial IP Lock Banner */
.zi-shell .zs-licensing-band {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--zs-rule-strong);
  background: var(--zs-surface);
  color: var(--zs-ink);
}

.zi-shell .zs-licensing-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.zi-shell .zs-licensing-copy {
  margin: 0;
  max-width: 68ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--zs-ink-soft);
}

.zi-shell .zs-licensing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Guide Subnav Bar (position: static so it never collides with #nuclideSplitBar) */
.zi-shell .zi-subnav {
  position: static;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 10px clamp(24px, 10.4vw, 112px);
}

.zi-shell .zi-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zi-shell .brand-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.zi-shell .top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.zi-shell .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
}

.zi-shell .nav-link:hover {
  background: var(--surface);
  border-color: var(--hair);
}

.zi-shell .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.zi-shell .theme-toggle:hover {
  border-color: var(--accent-text);
}

/* Main Page & 12-Column Editorial Grid */
.zi-shell .page {
  padding: 36px clamp(24px, 10.4vw, 112px) 84px;
}

.zi-shell .grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

.zi-shell h1,
.zi-shell h2,
.zi-shell h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}

.zi-shell h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  grid-column: 2 / 12;
  margin-top: 32px;
}

.zi-shell h1 em {
  font-style: italic;
  color: var(--accent-text);
}

.zi-shell .deck {
  grid-column: 2 / 11;
  margin: 20px 0 0 0;
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.54;
  color: var(--ink2);
  max-width: 65ch;
  text-wrap: pretty;
}

.zi-shell .hero-intro {
  grid-column: 2 / 11;
  margin-top: 24px;
}

.zi-shell .section-lead {
  grid-column: 1 / 10;
}

.zi-shell h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.zi-shell h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.zi-shell p {
  margin: 0 0 18px 0;
  color: var(--ink2);
  line-height: 1.62;
  max-width: 66ch;
}

.zi-shell .measure {
  max-width: 66ch;
  line-height: 1.62;
}

.zi-shell .sec {
  margin-top: 76px;
  padding-top: 38px;
  border-top: 1px solid var(--hair);
}

/* Figures & Pure-Vector Plates */
.zi-shell figure {
  margin: 34px 0;
  padding: 0;
  grid-column: 1 / -1;
}

.zi-shell .hero-fig {
  margin: 0;
}

.zi-shell .fig-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px 0;
  text-wrap: pretty;
}

.zi-shell .img-wrap {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--surface);
  padding: 16px;
}

.zi-shell figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 72ch;
}

/* Inline Vector Plate Styles */
.zi-shell svg.plate-svg {
  display: block;
  width: 100%;
  height: auto;
}

.zi-shell .pl-bg {
  fill: var(--surface);
}

.zi-shell .pl-card {
  fill: var(--surface-elevated);
  stroke: var(--hair);
  stroke-width: 1.5;
}

.zi-shell .pl-card-accent {
  fill: var(--surface-elevated);
  stroke: var(--accent);
  stroke-width: 2.2;
}

.zi-shell .pl-card-warm {
  fill: var(--surface-elevated);
  stroke: var(--accent-2);
  stroke-width: 2.2;
}

.zi-shell .pl-wire {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.zi-shell .pl-wire-warm {
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-dasharray: 5 4;
  fill: none;
}

.zi-shell .pl-title {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  fill: var(--ink);
}

.zi-shell .pl-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--accent-text);
}

.zi-shell .pl-kicker-warm {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--accent-2-text);
}

.zi-shell .pl-sub {
  font-family: var(--font-sans);
  font-size: 12.5px;
  fill: var(--mute);
}

.zi-shell .pl-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  fill: var(--ink);
}

/* Signature Element: Full-Bleed First-Contact Speech Band */
.zi-shell .band-full {
  margin: 72px calc(-1 * clamp(24px, 10.4vw, 112px)) 0;
  padding: 60px clamp(24px, 10.4vw, 112px);
  background: var(--band-bg);
  color: var(--band-ink);
  border-top: 1px solid var(--band-border);
  border-bottom: 1px solid var(--band-border);
}

.zi-shell .band-full h2 {
  color: var(--band-ink);
  margin-bottom: 12px;
}

.zi-shell .band-full p {
  color: var(--band-ink2);
}

.zi-shell .speech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--band-border);
}

.zi-shell .speech-col h3 {
  color: var(--band-accent);
  margin-bottom: 12px;
}

.zi-shell .speech-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--band-quote);
  margin: 0 0 12px 0;
}

.zi-shell .speech-c64 {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--band-c64);
  white-space: pre-wrap;
  margin: 0 0 12px 0;
}

.zi-shell .speech-note {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--band-mute);
  margin: 0;
}

.zi-shell .band-code {
  font-family: var(--font-mono);
  color: var(--band-quote);
}

/* Layout Grids */
.zi-shell .split-left {
  grid-column: 1 / 5;
}

.zi-shell .split-right {
  grid-column: 6 / 13;
}

.zi-shell .cols-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 28px;
}

.zi-shell .col-item {
  padding-top: 18px;
  border-top: 1px solid var(--hair);
}

/* Open Tables */
.zi-shell .table-wrap {
  grid-column: 1 / -1;
  overflow: visible;
  margin: 24px 0 32px;
}

.zi-shell .table-wrap-spaced {
  margin-top: 40px;
}

.zi-shell table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.zi-shell thead th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 16px 12px 0;
  border-bottom: 2px solid var(--ink);
  vertical-align: bottom;
}

.zi-shell .col-w-18 { width: 18%; }
.zi-shell .col-w-20 { width: 20%; }
.zi-shell .col-w-22 { width: 22%; }
.zi-shell .col-w-28 { width: 28%; }
.zi-shell .col-w-30 { width: 30%; }
.zi-shell .col-w-34 { width: 34%; }
.zi-shell .col-w-48 { width: 48%; }

.zi-shell tbody td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2);
}

.zi-shell tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
}

.zi-shell .num,
.zi-shell code.inline-code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.zi-shell .anti-copy {
  color: var(--accent-2-text);
}

.zi-shell .partner-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink);
}

/* Open Lists */
.zi-shell ul.open-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.zi-shell ul.open-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink2);
  font-size: 15.5px;
}

.zi-shell ul.open-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent-text);
  font-weight: 700;
}

/* Six-Session Trajectory SVG */
.zi-shell svg.data-chart {
  display: block;
  width: 100%;
  height: auto;
}

.zi-shell .chart-axis { stroke: var(--ink); stroke-width: 1.5; }
.zi-shell .chart-grid { stroke: var(--hair); stroke-width: 1; stroke-dasharray: 3 3; }
.zi-shell .chart-tick { font-family: var(--font-mono); font-size: 13px; fill: var(--mute); }
.zi-shell .chart-tick-warn { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; fill: var(--accent-2-text); }
.zi-shell .chart-label { font-family: var(--font-sans); font-size: 13px; fill: var(--mute); }
.zi-shell .chart-callout-line { stroke: var(--accent-2); stroke-width: 1.3; stroke-dasharray: 4 4; }
.zi-shell .chart-callout-text { font-family: var(--font-sans); font-size: 13px; font-weight: 700; fill: var(--accent-2-text); }
.zi-shell .chart-line-good { fill: none; stroke: var(--accent); stroke-width: 3; }
.zi-shell .chart-dot-good { fill: var(--accent); }
.zi-shell .chart-dot-warn { fill: var(--accent-2); }
.zi-shell .chart-legend-good { font-family: var(--font-sans); font-size: 13.5px; font-weight: 700; fill: var(--accent-text); }
.zi-shell .chart-line-very-good { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-dasharray: 6 4; }
.zi-shell .chart-dot-very-good { fill: var(--accent-2); }
.zi-shell .chart-legend-very-good { font-family: var(--font-sans); font-size: 13.5px; font-weight: 700; fill: var(--accent-2-text); }
.zi-shell .pt-mark { transition: transform 0.15s ease; transform-box: fill-box; transform-origin: center; }
.zi-shell .pt-mark:hover { transform: scale(1.35); }

/* Interactive 3 Concentric Circles Explorer */
.zi-shell .explorer-shell {
  grid-column: 1 / -1;
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.zi-shell .circle-diagram-card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 20px;
}

.zi-shell .concentric-svg {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.zi-shell .ring-shape {
  fill: var(--paper);
  stroke: var(--hair);
  stroke-width: 2;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.zi-shell .ring-shape.is-active {
  fill: var(--surface-elevated);
  stroke: var(--accent-text);
  stroke-width: 3;
}

.zi-shell .ring-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink);
  text-anchor: middle;
}

.zi-shell .explorer-main { min-width: 0; }

.zi-shell .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.zi-shell .tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.zi-shell .tab-btn[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

html[data-theme="dark"] .zi-shell .tab-btn[aria-selected="true"] {
  background: var(--accent-text);
  color: var(--accent-contrast);
  border-color: var(--accent-text);
}

.zi-shell .explorer-panel {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 24px 28px;
}

.zi-shell .explorer-panel p { max-width: 65ch; }

.zi-shell .explorer-kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.zi-shell .explorer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

.zi-shell .explorer-meta-item dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
}

.zi-shell .explorer-meta-item dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* Day-One Verification Explorer */
.zi-shell .verifier-card {
  grid-column: 1 / -1;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 24px;
  padding: 28px;
}

.zi-shell .verifier-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zi-shell .verifier-label {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}

.zi-shell .verifier-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14.5px;
}

.zi-shell .verifier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zi-shell .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.zi-shell .btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

html[data-theme="dark"] .zi-shell .btn-primary {
  background: var(--accent-text);
  color: var(--accent-contrast);
  border-color: var(--accent-text);
}

.zi-shell .btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--hair);
}

.zi-shell .btn-secondary:hover {
  border-color: var(--accent-text);
}

.zi-shell .verifier-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
}

.zi-shell .verifier-status.is-error {
  background: var(--error-bg);
  border-color: var(--error-border);
  color: var(--error-text);
}

.zi-shell .verifier-status.is-ok {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.zi-shell .verifier-results {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.zi-shell .result-panel {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 20px;
}

.zi-shell .result-panel h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.zi-shell .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zi-shell .metric-cell {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 10px 12px;
}

.zi-shell .metric-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
}

.zi-shell .metric-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.zi-shell .zone-bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zi-shell .zone-row {
  display: grid;
  grid-template-columns: 160px 1fr 64px;
  align-items: center;
  gap: 10px;
}

.zi-shell .zone-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink2);
}

.zi-shell .zone-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}

.zi-shell progress.zone-progress {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--surface);
  appearance: none;
}

.zi-shell progress.zone-progress::-webkit-progress-bar {
  background: var(--surface);
  border-radius: 999px;
}

.zi-shell progress.zone-progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 999px;
}

.zi-shell progress.zone-progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 999px;
}

.zi-shell .hex-box {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--hair);
  color: var(--ink);
  word-break: break-word;
}

.zi-shell .golden-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--accent-text);
  color: var(--accent-text);
}

.zi-shell .quant-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
}

.zi-shell .reflection-box {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--hair);
}

.zi-shell .reflection-box h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.zi-shell .reflection-beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.zi-shell .beat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 4px;
}

.zi-shell .beat-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink2);
  margin: 0;
}

/* Pull Quote */
.zi-shell blockquote.pull-quote {
  grid-column: 2 / 12;
  margin: 44px 0 10px;
  padding: 28px 0 0;
  border-top: 2px solid var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.28;
  color: var(--ink);
  text-wrap: pretty;
}

.zi-shell .quote-caption {
  grid-column: 2 / 12;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mute);
  margin: 6px 0 0;
  max-width: 68ch;
}

/* Constitutional Honesty Disclosure */
.zi-shell .constitution-card {
  grid-column: 1 / 11;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 28px;
}

.zi-shell .constitution-card p {
  max-width: 65ch;
}

.zi-shell .flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.zi-shell .flag-item {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.zi-shell .is-hidden {
  display: none;
}

@media (max-width: 960px) {
  .zi-shell h1,
  .zi-shell .deck,
  .zi-shell .hero-intro,
  .zi-shell .section-lead,
  .zi-shell .split-left,
  .zi-shell .split-right,
  .zi-shell .constitution-card,
  .zi-shell blockquote.pull-quote,
  .zi-shell .quote-caption {
    grid-column: 1 / -1;
  }

  .zi-shell .split-right {
    margin-top: 20px;
  }

  .zi-shell .speech-grid,
  .zi-shell .cols-3,
  .zi-shell .explorer-shell,
  .zi-shell .verifier-results,
  .zi-shell .reflection-beats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .zi-shell .table-wrap {
    overflow-x: auto;
  }

  .zi-shell .metric-grid,
  .zi-shell .explorer-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zi-shell .zone-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .zi-shell .zone-pct {
    text-align: left;
  }
}
