/* Auditor portal + public bulletin page styles.
   These pages live outside the app shell — they have their own chrome. */

.auditor, .bulletin {
  min-height: 100vh;
  background: var(--paper-alt);
  background-image:
    radial-gradient(ellipse at top, rgba(24, 24, 27, 0.02), transparent 60%);
}

.auditor__chrome {
  position: sticky;
  top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.auditor__chrome-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px var(--space-7);
  display: flex; align-items: center;
  gap: var(--space-4);
}
.auditor__brand {
  display: flex; align-items: baseline; gap: 8px;
}
.auditor__brand-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink-1);
}
.auditor__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--rule-strong);
  padding-left: 8px;
}
.auditor__chrome-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px;
}

.auditor__main, .bulletin__main {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-9) var(--space-7) var(--space-10);
  display: flex; flex-direction: column;
  gap: var(--space-10);
}

/* Cover */
.auditor-cover, .bulletin-cover {
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--rule);
}
.auditor-cover__eyebrow, .bulletin-cover .text-xs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.auditor-cover__title, .bulletin-cover__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-1);
  margin: var(--space-3) 0 var(--space-4);
}
.auditor-cover__title em, .bulletin-cover__title em {
  font-style: italic;
  color: var(--ink-1);
}
.auditor-cover__title .mono {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.5em;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  vertical-align: 0.06em;
}
.auditor-cover__sub, .bulletin-cover__sub {
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.auditor-cover__meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}
.auditor-cover__meta .col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  display: block;
  margin-bottom: 4px;
}
.auditor-cover__meta .col-value {
  color: var(--ink-1);
  font-weight: 500;
  font-size: 13px;
}

/* Verify section */
.auditor-verify {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.auditor-verify__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.auditor-verify__copy {
  padding: var(--space-7) var(--space-7);
}
.auditor-verify__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-1);
}
.auditor-verify__title em {
  font-style: italic;
  color: var(--ink-1);
}

/* CLI block */
.auditor-verify__cli {
  background: #0d0d10;
  color: #e7e7ea;
  display: flex; flex-direction: column;
}
.cli-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #18181b;
  border-bottom: 1px solid #27272a;
}
.cli-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.cli-title {
  margin-left: 8px;
  color: #71717a;
  font-size: 11.5px;
}
.cli-body {
  flex: 1;
  margin: 0;
  padding: var(--space-5) var(--space-6) var(--space-6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  overflow: auto;
  white-space: pre-wrap;
}
.cli-prompt { color: #71717a; }
.cli-cmd { color: #e7e7ea; }
.cli-ok { color: #5fcd5b; font-weight: 600; }
.cli-comment { color: #71717a; font-style: italic; }
.cli-mono { color: #d4d4d8; }

.cli-install {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cli-install__row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--rule);
}
.cli-install__row:last-child { border-bottom: none; }
.cli-install__row span:first-child {
  width: 70px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cli-install__row span:last-child { font-size: 12.5px; color: var(--ink-1); }

/* Auditor seal */
.auditor-seal {
  padding: 0;
}

/* Claims block */
.auditor-h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink-1);
}
.auditor-claims {
  display: flex; flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.auditor-claim {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.auditor-claim__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--space-3);
}
.auditor-claim__num {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.auditor-claim__quote {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--ink-1);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-1);
  letter-spacing: -0.005em;
}
.auditor-claim__source {
  display: flex; align-items: center; gap: 8px;
  margin-top: var(--space-3);
  padding: 10px 12px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  font-size: 13px;
}

/* Bundle grid */
.auditor-bundle { display: flex; flex-direction: column; gap: var(--space-5); }
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bundle-item {
  background: var(--paper);
  padding: var(--space-4) var(--space-5);
  display: flex; align-items: flex-start; gap: 12px;
}
.bundle-item__icon {
  width: 32px; height: 32px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.bundle-item__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
}
.bundle-item__sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.5;
}

/* Trust points */
.auditor-trust {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}
.auditor-trust__head { margin-bottom: var(--space-5); }
.auditor-trust__grid, .bulletin-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.trust-point, .explain-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
}
.trust-point__num {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  border-top: 1px solid var(--ink-2);
  padding-top: 8px;
}
.trust-point__title {
  font-size: 22px;
  color: var(--ink-1);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.trust-point__body {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 50ch;
}

/* Footer */
.auditor-footer {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

/* ============================================================
   Bulletin page
   ============================================================ */

.bulletin-root {
  margin-top: var(--space-6);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.bulletin-root__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  align-items: center;
}
.bulletin-root__hash {
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--ink-1);
  font-weight: 500;
  margin-top: 6px;
  word-break: break-all;
}
.bulletin-root__actions {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}

.bulletin-search {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}
.bulletin-search input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink-1);
  padding: 8px 0;
}
.bulletin-search input::placeholder { color: var(--ink-4); }

.bulletin-proof {
  margin-top: var(--space-4);
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
}

.merkle {
  display: flex; flex-direction: column;
  gap: 12px;
}
.merkle-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.merkle-node {
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  min-width: 200px;
}
.merkle-node--leaf {
  border-color: var(--brand-accent);
  background: var(--verified-soft);
}
.merkle-node--block { border-color: var(--ink-2); }
.merkle-node--root {
  border-color: var(--ink-1);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink-1);
}
.merkle-arrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}

.bulletin-row--current { background: var(--paper-alt); }
.bulletin-row--current td:first-child { box-shadow: inset 2px 0 0 var(--ink-1); }

.bulletin-trust { margin-top: var(--space-5); }