/* KeenSec Trust & Compliance Center Stylesheet
   Design System Alignment: Main Index Page & Enterprise Assurance Standard
*/

/* 2. Platform Showcase Tabs & Panels */
.trust-showcase-tabs {
  display: flex;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  gap: 8px;
  overflow-x: auto;
}

.trust-stab {
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.trust-stab:hover {
  color: #f8fafc;
}

.trust-stab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.trust-spanel {
  display: none;
  padding: 24px;
  background: #090d16;
}

.trust-spanel.active {
  display: block;
}

.trust-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.trust-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-met-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.trust-met-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trust-met-val.green {
  color: #34d399;
}

.trust-met-val.cyan {
  color: #38bdf8;
}

.trust-met-sub {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.trust-spec-ledger {
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ledger-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.ledger-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}

.ledger-rows {
  display: flex;
  flex-direction: column;
}

.ledger-row {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-col-param {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.param-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.param-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #94a3b8;
}

.ledger-col-val p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.ledger-col-status {
  text-align: right;
}

.l-status-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: flex-start;
  }
  .ledger-col-status {
    text-align: left;
  }
}

.trust-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.trust-ft-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.trust-ft-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.trust-ft-link:hover {
  gap: 10px;
  color: #7dd3fc;
}

/* 3. 4-Pillar Trust Matrix Grid (Preserving Canonical Anchors) */
.trust-pillars-section {
  padding-top: 48px;
}

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-header-centered h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.trust-pillar-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-margin-top: 100px;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-status-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pillar-status-chip.verified {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .pillar-status-chip.verified {
  color: #34d399;
}

.trust-pillar-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.pillar-summary {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.pillar-features li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  padding-left: 20px;
}

.pillar-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 800;
  font-size: 12px;
  color: #10b981;
}

.pillar-features strong {
  color: var(--text-heading);
}

.pillar-card-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.pillar-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.pillar-link:hover {
  gap: 10px;
  color: var(--accent-hover);
}

/* 4. Interactive Trust & Evidence Control Workbench */
.trust-workbench-section {
  padding-top: 48px;
}

.workbench-container {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.wb-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.wb-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wb-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.wb-pill.active {
  background: var(--button-bg);
  color: #ffffff;
  border-color: var(--button-bg);
}

.wb-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.wb-pill:not(.active) .wb-count {
  background: var(--bg-sunken);
  color: var(--text-muted);
}

.wb-search-wrap {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 400px;
}

.wb-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.wb-search-field {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg-surface);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.wb-search-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.wb-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 580px;
}

.wb-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 24px;
  max-height: 720px;
  overflow-y: auto;
  border-right: 1px solid var(--border);
}

.wb-control-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.wb-control-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wb-control-card.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 2px var(--accent);
}

.wb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wb-ctrl-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
}

.wb-badge.verified {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

[data-theme="dark"] .wb-badge.verified {
  color: #34d399;
}

.wb-control-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 6px;
  line-height: 1.35;
}

.wb-control-card p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 14px;
  flex-grow: 1;
}

.wb-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wb-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-muted);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Right: Inspector Drawer */
.wb-inspector-drawer {
  padding: 28px;
  background: var(--bg-sunken);
  display: flex;
  flex-direction: column;
}

.drawer-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.drawer-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.drawer-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .drawer-badge {
  color: #34d399;
}

.drawer-std {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.drawer-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.3;
}

.drawer-id-chip {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.drawer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.drawer-field p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.drawer-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.d-met {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.d-met-k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.d-met-v {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-heading);
}

.drawer-artifact-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: auto;
}

.art-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.art-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.art-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-heading);
}

.art-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.art-btn {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--button-bg);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.art-btn:hover {
  background: var(--button-bg-hover);
}

/* 5. Sovereign Domestic Cloud Architecture Card */
.story-band-dark {
  background: #090d16;
  color: #f8fafc;
}

.sovereign-arch-card {
  margin-top: 40px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.arch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-dots {
  display: flex;
  gap: 6px;
}

.arch-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.arch-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.arch-card-body {
  padding: 32px 24px;
}

.arch-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.arch-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
}

.arch-step-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.35;
}

.arch-step-card p {
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0;
}

.step-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 4px;
}

.arch-step-arrow {
  font-size: 18px;
  font-weight: 800;
  color: #475569;
}

.arch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #090d16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.arch-footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.arch-footer-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.arch-footer-link:hover {
  color: #7dd3fc;
}

/* 6. Product Truth & Capability Table */
.truth-table-section {
  padding-top: 48px;
}

.truth-table-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  overflow-x: auto;
}

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

.truth-table th,
.truth-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text);
}

.truth-table thead th {
  background: var(--bg-sunken);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.truth-table tbody tr:hover {
  background: var(--accent-subtle);
}

.truth-table tbody tr:last-child th,
.truth-table tbody tr:last-child td {
  border-bottom: none;
}

.cap-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.cap-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.cap-status {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.cap-status.ga {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

[data-theme="dark"] .cap-status.ga {
  color: #34d399;
}

.cap-status.dedicated {
  background: var(--accent-subtle);
  color: var(--accent-ink);
}

/* 7. Security Package Due Diligence Section */
.security-package-section {
  padding-top: 48px;
}

.security-package-card {
  background: linear-gradient(135deg, var(--bg-raised) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.pkg-header {
  max-width: 720px;
  margin: 0 auto 36px;
}

.pkg-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  text-transform: uppercase;
}

.pkg-header h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  margin: 10px 0 14px;
}

.pkg-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.pkg-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: left;
}

.pkg-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.pkg-icon {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.pkg-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.pkg-item span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.pkg-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pkg-footer-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.pkg-footer-note a {
  color: var(--text);
  text-decoration: underline;
}

/* 8. Responsive Adjustments */
@media (max-width: 960px) {

  .wb-layout-grid {
    grid-template-columns: 1fr;
  }

  .wb-cards-list {
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: 480px;
  }

  .arch-flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .arch-step-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .pkg-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .trust-grid-2col {
    grid-template-columns: 1fr;
  }

  .security-package-card {
    padding: 32px 20px;
  }
}

/* The capability matrix is a real table. An older .truth-table grid rule in site.css (from a
   retired two-column section) turned it into two columns; keep table layout here. */
table.truth-table { display: table; grid-template-columns: none; gap: 0; padding: 0; border-top: 0; }

/* Status distinction: "Ready" and "Periodic" are not completed third-party certifications,
   so they use a neutral blue treatment instead of the green "verified" one. */
.l-status-ready, .l-status-periodic { display: inline-flex; align-items: center; gap: 6px; font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.l-status-ready { color: #93c5fd; background: rgba(51, 113, 255, 0.08); border: 1px dashed rgba(147, 197, 253, 0.45); }
.l-status-periodic { color: #cbd5e1; background: rgba(148, 163, 184, 0.08); border: 1px solid rgba(148, 163, 184, 0.3); }
.pillar-status-chip.ready { background: var(--accent-subtle); color: var(--accent-ink); border: 1px dashed var(--accent-ink); }
/* Availability pills stay on one line; the column is sized to fit them */
.cap-status { white-space: nowrap; }
table.truth-table td:has(> .cap-status) { width: 1%; white-space: nowrap; }
/* Phones: each capability becomes a stacked card, so no column is hidden off-screen */
@media (max-width: 700px) {
  table.truth-table, table.truth-table tbody, table.truth-table tr, table.truth-table th, table.truth-table td { display: block; width: auto; }
  table.truth-table thead { display: none; }
  table.truth-table tbody tr { padding: 18px 20px; border-bottom: 1px solid var(--border); }
  table.truth-table tbody th, table.truth-table tbody td { padding: 0; border: 0 !important; }
  table.truth-table tbody td { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 10px; white-space: normal; font-size: 14px; }
  table.truth-table td:has(> .cap-status) { width: auto; }
  table.truth-table tbody td::before { font: 600 10px/1.6 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
  table.truth-table tbody td:nth-of-type(1)::before { content: "Availability"; }
  table.truth-table tbody td:nth-of-type(2)::before { content: "Deployment"; }
  table.truth-table tbody td:nth-of-type(3)::before { content: "Verification"; }
  table.truth-table tbody td > .cap-status { justify-self: start; }
  .truth-table-card .table-responsive { overflow-x: visible; }
}

