/* Google Font - IBM Plex Mono for typewriter feel */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --text-primary: #e5e5e5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --accent: #a855f7;
  --accent-hover: #c084fc;
  --border: #262626;
  --code-bg: #1e1e1e;
  --code-text: #d4d4d4;
  --hash-color: #525252;
  --font-mono: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  --font-sans: 'IBM Plex Mono', 'Courier New', Courier, monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.container-wide {
  max-width: 900px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.site-title:hover {
  color: var(--accent);
}

nav {
  margin-top: 0.75rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-right: 1.5rem;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--accent);
}

/* Homepage intro (title + tagline; photo lives under About) */
.site-intro {
  margin-bottom: 3rem;
}

/* Author section */
.author-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.directory .author-section.about-bio {
  margin-top: 0;
  margin-bottom: 0;
}

.author-photo {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
}

.author-info h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Homepage: main heading is the tagline + lede, set in italic */
.site-intro .author-info h1.tagline {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
}

.author-info .tagline {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Featured tool callout */
.featured-tool {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.featured-tool-card {
  display: block;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.featured-tool-card:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-hover);
  text-decoration: none;
}

.featured-tool-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.75rem;
}

.featured-tool-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  border-bottom: none;
  padding-bottom: 0;
}

.featured-tool-card h2::before {
  content: none;
}

.featured-tool-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.featured-tool-cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s ease;
}

.featured-tool-card:hover .featured-tool-cta {
  color: var(--accent-hover);
}

/* Directory listing */
.directory {
  margin-top: 2rem;
}

.directory h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.directory ul {
  list-style: none;
}

.directory li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.directory li:last-child {
  border-bottom: none;
}

.directory a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.directory a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.directory .date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.directory .description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  margin-top: 0.25rem;
}

/* Homepage section ledes & external readings */
.directory .section-lede {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: -0.25rem 0 1.25rem;
}

.directory .readings-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.directory .section-footnote {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1.25rem;
}

.directory a.reading-host {
  color: var(--text-primary);
  font-weight: 600;
}

.directory a.reading-host:hover {
  color: var(--accent);
}

/* Blog post styles */
article {
  margin-bottom: 4rem;
}

article header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

article h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

article .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

article .meta a {
  color: var(--text-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
}

/* Hash symbol prefix for headings */
article h1::before {
  content: '# ';
  color: var(--hash-color);
  font-weight: 400;
}

article h2::before {
  content: '## ';
  color: var(--hash-color);
  font-weight: 400;
}

article h3::before {
  content: '### ';
  color: var(--hash-color);
  font-weight: 400;
}

article h4::before {
  content: '#### ';
  color: var(--hash-color);
  font-weight: 400;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Anchor link target highlight */
h2:target,
h3:target,
h4:target {
  animation: highlight-fade 2s ease-out;
}

@keyframes highlight-fade {
  0% { background-color: rgba(168, 85, 247, 0.2); }
  100% { background-color: transparent; }
}

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

em {
  font-style: italic;
}

/* Lists */
ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

li > ul,
li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Table of Contents */
.toc {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.toc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.toc-title::before {
  content: none;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.toc li {
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.toc li:last-child {
  margin-bottom: 0;
}

.toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: none;
}

.toc a::before {
  content: '• ';
  color: var(--hash-color);
}

/* Nested TOC items */
.toc ul ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.toc ul ul a::before {
  content: '◦ ';
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background-color: var(--bg-tertiary);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  color: var(--code-text);
}

pre {
  background-color: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  position: relative;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  display: block;
}

/* Syntax highlighting colors */
pre .comment { color: #6a9955; }
pre .keyword { color: #569cd6; }
pre .string { color: #ce9178; }
pre .number { color: #b5cea8; }
pre .function { color: #dcdcaa; }
pre .operator { color: #d4d4d4; }
pre .variable { color: #9cdcfe; }

/* Blockquotes */
blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background-color: var(--bg-secondary);
  border-radius: 0 8px 8px 0;
}

blockquote p {
  color: var(--text-primary);
  font-style: normal;
  margin-bottom: 0.5rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Nested headings in blockquotes */
blockquote h3,
blockquote h4 {
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

blockquote h3::before,
blockquote h4::before {
  color: var(--hash-color);
}

/* Feature cards (Five Features: Where to Invest) */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.feature-card {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-card:last-child {
  border-bottom: none;
}

.feature-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.feature-recommendation {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0.5rem 0;
}

.feature-recommendation-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.feature-recommendation p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
}

.feature-reasoning {
  margin-top: 0.5rem;
}

.feature-reasoning summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.feature-reasoning summary::-webkit-details-marker {
  display: none;
}

.feature-reasoning summary::before {
  content: '▸ ';
  color: var(--accent);
  font-size: 0.75rem;
  margin-right: 0.25rem;
  transition: transform 0.2s ease;
}

.feature-reasoning[open] summary::before {
  content: '▾ ';
}

.feature-reasoning summary:hover {
  color: var(--accent);
}

.feature-reasoning-content {
  padding: 0.5rem 0 0.25rem;
}

.feature-reasoning-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.feature-reasoning-content p:last-child {
  margin-bottom: 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background-color: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

tr:hover {
  background-color: var(--bg-secondary);
}

/* Figures and charts */
figure {
  margin: 2rem 0;
  padding: 0;
}

figure img,
figure svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: zoom-in;
}

figcaption {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

figure.figure-light img {
  background-color: #f5f5f5;
  padding: 1rem;
  max-width: 66.67%;
}

figure.figure-light {
  text-align: center;
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.back-link:hover {
  color: var(--accent);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
}

/* Quiz Wizard */
.quiz-wizard {
  margin: 2rem 0;
}

.quiz-progress {
  width: 100%;
  height: 3px;
  background-color: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress-bar {
  height: 100%;
  background-color: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 25%;
}

.quiz-step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-step h2 {
  margin-top: 0;
}

.quiz-intro {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.quiz-label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.quiz-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.quiz-input:focus {
  border-color: var(--accent);
}

.quiz-input::placeholder {
  color: var(--text-muted);
}

.quiz-question {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.quiz-q-label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quiz-q-label em {
  font-weight: 400;
  color: var(--text-muted);
}

.quiz-q-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.quiz-option:hover {
  border-color: var(--text-muted);
  background-color: var(--bg-secondary);
}

.quiz-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease;
}

.quiz-option input[type="radio"]:checked {
  border-color: var(--accent);
}

.quiz-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}

.quiz-option:has(input:checked) {
  border-color: var(--accent);
  background-color: rgba(168, 85, 247, 0.08);
  color: var(--text-primary);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.quiz-btn:hover {
  background-color: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.quiz-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz-btn:disabled:hover {
  background-color: var(--accent);
}

.quiz-btn-back {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.quiz-btn-back:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Quiz Results */
.quiz-result-graph {
  margin: 2rem 0;
}

.result-shell {
  color: var(--accent) !important;
}

.result-amp {
  color: #22c55e !important;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.result-card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.result-card-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.result-figure {
  margin: 2rem 0;
}

.result-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.result-explain {
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.result-explain p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.result-explain p:last-child {
  margin-bottom: 0;
}

.result-explain-shell {
  background-color: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.result-explain-amp {
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Share buttons */
.quiz-share {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-btn svg {
  flex-shrink: 0;
}

.share-btn-x:hover {
  border-color: #fff;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.share-btn-li:hover {
  border-color: #378fe9;
  color: #378fe9;
  background-color: rgba(55, 143, 233, 0.08);
}

.share-btn-copy:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.share-btn-dl:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(168, 85, 247, 0.08);
}

/* Lightbox (double-click to zoom) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 2rem;
}

.lightbox-overlay.active {
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 95vw;
  max-height: 92vh;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
  cursor: zoom-out;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .author-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-photo {
    width: 120px;
    height: 120px;
  }

  article h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  pre {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  table {
    font-size: 0.8rem;
  }

  th, td {
    padding: 0.5rem;
  }

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

  .quiz-share {
    flex-direction: column;
    align-items: stretch;
  }

  .share-btn {
    justify-content: center;
  }

  .quiz-question {
    padding: 1rem;
  }

  .quiz-option {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Source Proof - commit history authenticity badge */
.source-proof {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
}

.source-proof-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.source-proof-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}

.source-proof-file {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.source-proof-file:hover {
  color: var(--accent);
  text-decoration: underline;
}

.source-proof-log {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.source-proof-entry {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  line-height: 1.5;
}

.source-proof-hash {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.source-proof-hash:hover {
  text-decoration: underline;
}

.source-proof-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.source-proof-msg {
  color: var(--text-secondary);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-proof-statement {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.source-proof-statement em {
  font-style: italic;
}

.source-proof-loading,
.source-proof-empty,
.source-proof-error {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.source-proof-error a {
  color: var(--accent);
}
