/* Static clone of the Primus /projects/[id]/activity page, for demo
   screenshots. Colors mirror src/app/globals.css and the Tailwind classes on
   the real components; pane widths and type sizes are compacted from the real
   app to suit the demo's fixed 880×580 design viewport (see LiveDemo.tsx).
   Tweak freely — nothing here is generated. */

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --border: oklch(0.922 0 0);
  --popover: oklch(1 0 0);

  /* Tailwind palette values the app uses directly */
  --emerald-500: #10b981;
  --green-200: #bbf7d0;
  --green-500: #22c55e;
  --green-700: #15803d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --indigo-500: #6366f1;
  --red-500: #ef4444;
  --zinc-200: #e4e4e7;
  --zinc-700: #3f3f46;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --border: oklch(1 0 0 / 10%);
  --popover: oklch(0.205 0 0);
  --green-700: #4ade80; /* dark:text-green-400 */
  --amber-700: #fcd34d;
  --zinc-200: #3f3f46;
  --zinc-700: #e4e4e7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  overflow: hidden;
}

svg { display: block; }

.frame {
  display: flex;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted-foreground); }

/* ── Sidebar (module nav + projects, single pane) ───────────────────────── */

.sidebar {
  display: flex;
  flex-direction: column;
  width: 196px;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 30%, transparent);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  padding: 10px 8px 4px;
}

.side-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--foreground);
  cursor: pointer;
}

.side-row .side-icon { color: var(--muted-foreground); flex-shrink: 0; }
.side-row.active { background: var(--accent); color: var(--accent-foreground); }
.side-row:not(.active):hover { background: color-mix(in oklab, var(--accent) 50%, transparent); }
.side-row .live-dot { margin-left: 2px; }

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.open-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-shrink: 0;
  padding: 8px 8px 0 16px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.header-actions { display: flex; align-items: center; }

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--zinc-200);
  color: var(--zinc-700);
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
}

.view-all {
  padding: 6px 8px;
  font-size: 11px;
  color: var(--muted-foreground);
  text-decoration: none;
}

.view-all:hover { text-decoration: underline; }

.side-bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.promo-card .promo-icon { color: var(--muted-foreground); }
.promo-card .promo-link { color: var(--muted-foreground); text-decoration: none; }
.promo-card .promo-link:hover { text-decoration: underline; }

.user-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 0;
}

.user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.user-name { font-size: 11.5px; font-weight: 500; }
.user-ws { font-size: 10px; color: var(--muted-foreground); }
.user-footer .user-chevron { color: var(--muted-foreground); flex-shrink: 0; }
.user-footer .collapse-btn { display: flex; color: var(--muted-foreground); flex-shrink: 0; }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--foreground);
  background: transparent;
  border: none;
  cursor: pointer;
}

.projects-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 8px 8px;
}

.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 4px 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

.project-row.selected { background: var(--accent); color: var(--accent-foreground); }
.project-row:not(.selected):hover { background: color-mix(in oklab, var(--accent) 50%, transparent); }

.project-row .row-name { min-width: 0; flex: 1; }
.project-row .row-side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: 4px; }

.awaiting-dot { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; }
.awaiting-dot.checkpoint { background: var(--amber-500); }
.awaiting-dot.input { background: var(--indigo-500); }
.awaiting-dot.blocker { background: var(--red-500); }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 2px 7px;
  border-radius: 26px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  text-transform: capitalize;
}

.badge.default { background: var(--primary); color: var(--primary-foreground); }
.badge.secondary { background: var(--secondary); color: var(--secondary-foreground); }
.badge.outline { border-color: var(--border); color: var(--foreground); }
.badge.muted-text { color: var(--muted-foreground); }

.collapsed-section {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

.collapsed-section .section-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 6px 8px;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--muted-foreground);
  cursor: pointer;
}

/* ── Stages rail (project overview) ─────────────────────────────────────── */

.stages-pane {
  display: flex;
  flex-direction: column;
  width: 250px;
  flex-shrink: 0;
  height: 100%;
  border-right: 1px solid var(--border);
}

.pane-title {
  flex-shrink: 0;
  padding: 12px 16px 4px;
}

.pane-title h2 { font-size: 13px; font-weight: 600; }

.stages-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.section-header {
  padding: 8px 8px 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}

.section-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.section-row.selected { background: var(--accent); color: var(--accent-foreground); }
.section-row:not(.selected):hover { background: color-mix(in oklab, var(--accent) 50%, transparent); }

.section-row .row-icon { color: var(--muted-foreground); flex-shrink: 0; }
.section-row .row-icon.amber { color: var(--amber-600); }
.section-row .row-label { flex: 1; min-width: 0; }

.pill-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  background: var(--muted);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.pill-badge.amber {
  background: color-mix(in oklab, var(--amber-500) 20%, transparent);
  color: var(--amber-700);
}

/* Active-job GPU bars (SidebarActiveJobs + SegmentedBar) */

.active-jobs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px 4px;
}

.job-row { display: flex; align-items: center; gap: 8px; }

.job-pct {
  width: 30px;
  flex-shrink: 0;
  text-align: right;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--green-700);
}

.segbar {
  height: 14px;
  min-width: 0;
  flex: 1;
  border-radius: 4px;
  border: 2px solid var(--green-500);
  padding: 3px;
}

.segbar-track { position: relative; height: 100%; width: 100%; overflow: hidden; }

.segbar-track .ticks-dim,
.segbar-track .ticks-lit { position: absolute; inset: 0; }

.segbar-track .ticks-dim {
  background: repeating-linear-gradient(90deg, var(--green-200) 0px, var(--green-200) 4px, transparent 4px, transparent 7px);
}

.segbar-track .ticks-lit {
  right: auto;
  background: repeating-linear-gradient(90deg, var(--green-500) 0px, var(--green-500) 4px, transparent 4px, transparent 7px);
}

.job-gpus {
  flex-shrink: 0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}

.jobs-more {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-700);
  text-decoration: none;
}

/* Stage rows */

.stage-block { display: flex; flex-direction: column; }

.stage-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  cursor: pointer;
}

.stage-row.selected { background: var(--accent); color: var(--accent-foreground); }
.stage-row:not(.selected):hover { background: color-mix(in oklab, var(--accent) 50%, transparent); }

.stage-chevron {
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: none;
  background: none;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
}

.stage-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  padding: 6px 8px;
  font-size: 13px;
}

.stage-link .stage-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.status-icon { flex-shrink: 0; }
.status-icon.complete { color: var(--emerald-500); }
.status-icon.in-progress { color: var(--primary); animation: spin 1s linear infinite; }
.status-icon.not-started { color: color-mix(in oklab, var(--muted-foreground) 40%, transparent); }
.status-icon.cancelled { color: color-mix(in oklab, var(--muted-foreground) 50%, transparent); }

@keyframes spin { to { transform: rotate(360deg); } }

.active-pill {
  margin-left: auto;
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  font-size: 10px;
  font-weight: 500;
  color: var(--primary);
}

.substages { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }

.substage-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px 3px 36px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted-foreground);
}

.substage-row .sub-icon { flex-shrink: 0; }
.substage-row .sub-icon.done { color: var(--emerald-500); }
.substage-row .sub-icon.in-progress { color: var(--primary); animation: spin 1s linear infinite; }
.substage-row .sub-icon.blocked { color: var(--amber-600); }
.substage-row .sub-icon.todo { color: color-mix(in oklab, var(--muted-foreground) 40%, transparent); }

.substage-row .sub-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}

.substage-row .sub-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.substage-row.done .sub-title { text-decoration: line-through; opacity: 0.7; }

/* Close control pinned at the bottom of the rail */

.close-control { flex-shrink: 0; border-top: 1px solid var(--border); padding: 8px; }

.close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  cursor: pointer;
}

/* ── Activity pane (right) ──────────────────────────────────────────────── */

.activity-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
  height: 100%;
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  flex-shrink: 0;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-foreground);
}

.activity-header .model { margin-left: auto; flex-shrink: 0; }

.activity-scroll { flex: 1; min-height: 0; overflow-y: auto; }

.transcript {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  font-size: 11px;
}

/* Composer */

.composer-hint {
  padding: 6px 14px 0;
  font-size: 10px;
  color: var(--muted-foreground);
}

.composer-wrap { flex-shrink: 0; padding: 6px 14px 12px; }

.composer {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--background);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.composer textarea {
  display: block;
  width: 100%;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px 4px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--foreground);
}

.composer textarea::placeholder { color: var(--muted-foreground); }

.composer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 10px;
}

.nudge-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted-foreground);
  cursor: pointer;
}

.send-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
}

/* ── Transcript building blocks (used by transcript.html) ───────────────────
   These mirror the real feed's line renderers so hand-written demo content
   reads like the live activity stream. */

/* Assistant prose — rendered markdown */
.t-md {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--foreground);
}
.t-md p + p { margin-top: 0.6em; }
.t-md strong { font-weight: 600; }
.t-md code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--muted);
  border-radius: 4px;
  padding: 1px 4px;
}
.t-md ul, .t-md ol { padding-left: 1.4em; margin: 0.4em 0; }
.t-md li + li { margin-top: 0.2em; }
.t-md h3, .t-md h4 { font-weight: 600; margin: 0.7em 0 0.3em; }
.t-md table { border-collapse: collapse; margin: 0.5em 0; font-size: 11px; }
.t-md th, .t-md td { border: 1px solid var(--border); padding: 3px 8px; text-align: left; }
.t-md th { font-weight: 600; background: var(--muted); }

/* Collapsed tool-call line */
.t-tool {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}
.t-tool .t-label { min-width: 0; flex: 1; white-space: pre-wrap; word-break: break-word; }
.t-tool .t-chev { margin-top: 1px; flex-shrink: 0; }

/* Expanded tool output */
.t-out {
  margin-top: 4px;
  max-height: 256px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 4px;
  background: color-mix(in oklab, var(--muted) 40%, transparent);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
}

/* System/meta line (italic) */
.t-sys {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: italic;
  line-height: 1.6;
  color: color-mix(in oklab, var(--muted-foreground) 50%, transparent);
}

/* Operator (user) message bubble, right-aligned */
.t-op { display: flex; flex-direction: column; gap: 2px; }
.t-op .t-op-label {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.t-op .t-op-bubble {
  margin-left: auto;
  max-width: 80%;
  border-radius: 4px;
  background: var(--muted);
  padding: 4px 8px;
  font-size: 12.5px;
  line-height: 1.6;
}

/* Working indicator */
.t-working {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}
.t-working .spinner { animation: spin 1s linear infinite; flex-shrink: 0; }
.t-working .elapsed { font-variant-numeric: tabular-nums; }

/* Start-of-history marker */
.t-start {
  padding: 4px 0;
  text-align: center;
  color: var(--muted-foreground);
}

/* ── Documents pane (right, shown when "Related Papers and Documents" is
   selected) ─────────────────────────────────────────────────────────────────
   Mirrors the real /projects/[id]/documents page: upload dropzone pinned on
   top, collapsible "Source papers" section, and a grid of paper-preview
   cards typeset in a print-style serif on an off-white page color. */

.documents-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  flex: 1;
  height: 100%;
}

.drop-wrap { flex-shrink: 0; padding: 10px 14px; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
  border: 2px dashed color-mix(in oklab, var(--muted-foreground) 30%, transparent);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 0.15s;
}

.dropzone:hover { border-color: color-mix(in oklab, var(--muted-foreground) 50%, transparent); }

.docs-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px 14px;
}

.docs-section { margin-top: 16px; }

.docs-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-bottom: 8px;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
  cursor: pointer;
}

/* The real app uses repeat(auto-fill, minmax(160px, 1fr)), but at the demo's
   fixed 880px design viewport the pane is only ~390px wide, which auto-fill
   resolves to two oversized columns — pin it to three. */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.paper-card {
  --paper-bg: #fcfcf9;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper-bg);
  font-family: 'STIX Two Text', Georgia, 'Times New Roman', serif;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.02), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.15s;
}

/* Pre-reveal state during the literature-review fill animation */
.paper-card.unfilled {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.paper-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.02), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.dark .paper-card { --paper-bg: var(--popover); }

/* folded top-right corner */
.paper-fold {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(to bottom left, var(--muted), transparent);
}

.paper-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
  padding: 12px 12px 10px;
}

/* The real app clamps titles at 3 lines and abstracts at 6, but its cards
   are ~190px wide; at this pane's ~115px cards that overflows the 3/4
   aspect and flex shears the last line in half — clamp tighter instead. */
.paper-title {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.paper-abstract {
  font-size: 9px;
  line-height: 1.375;
  color: var(--muted-foreground);
  text-align: justify;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* placeholder bars for papers whose abstract wasn't extracted */
.paper-filler {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.paper-filler span {
  height: 5px;
  border-radius: 2px;
  background: var(--border);
}

.paper-filler span:nth-child(3) { width: 97%; }
.paper-filler span:nth-child(5) { width: 95%; }
.paper-filler span:last-child { width: 60%; }

.paper-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 30%, transparent);
  padding: 6px 10px;
}

.paper-file {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-foreground);
}

.paper-size { font-size: 9px; color: var(--muted-foreground); }
