* { box-sizing: border-box; }

/* Base colour on html so there's never a transparent gap behind the sticky
   chrome; the atmospheric mesh lives on body. */
html { background: var(--noir-obsidian, #08090d); }

body {
  margin: 0;
  min-height: 100vh;
  /* Atmospheric gradient mesh (gold / ember / teal — the provenance palette)
     layered under the blurred orbs so the page reads as depth, not flat black. */
  background:
    radial-gradient(1200px 720px at 12% -8%, rgba(215,169,69,.13), transparent 58%),
    radial-gradient(1100px 820px at 102% 6%, rgba(255,107,53,.11), transparent 55%),
    radial-gradient(1000px 900px at 50% 118%, rgba(57,245,212,.07), transparent 60%),
    var(--noir-obsidian, #08090d);
  color: var(--text-primary, #f7efe1);
  font-family: var(--font-body, 'Hanken Grotesk', sans-serif);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

/* Orb colours come from premium-core.css; this page sets size + position so the
   glows bracket the hero. Larger and softer than the defaults for real presence. */
.dvp-orb { position: fixed; border-radius: 50%; pointer-events: none; will-change: transform; z-index: 0; }
.dvp-orb-1 { width: 700px; height: 480px; filter: blur(84px); top: -160px; left: -140px; animation: provOrb1 26s ease-in-out infinite; }
.dvp-orb-2 { width: 580px; height: 580px; filter: blur(96px); top: -60px; right: -140px; animation: provOrb2 32s ease-in-out infinite; }
.dvp-orb-3 { width: 520px; height: 520px; filter: blur(104px); bottom: 2%; left: 34%; animation: provOrb3 40s ease-in-out infinite; }
@keyframes provOrb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(36px,26px)} }
@keyframes provOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,34px)} }
@keyframes provOrb3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(22px,-28px)} }
@media (prefers-reduced-motion: reduce) { .dvp-orb-1,.dvp-orb-2,.dvp-orb-3 { animation: none !important; } }

header .kicker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d7a945;
  margin: 0 0 0.5rem;
}

h1 {
  font-family: var(--font-display, Archivo, sans-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.95;
  margin: 0.2rem 0 0;
  letter-spacing: -0.03em;
}
h1 span { color: #ff6b35; }

.tagline { font-size: clamp(1rem, 2.4vw, 1.35rem); margin: 0.75rem 0 0; color: #fff5e8; }
.sub { color: rgba(247,239,225,.66); margin: 0.55rem 0 0; max-width: 68ch; line-height: 1.55; }

.privacy {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(247,239,225,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(247,239,225,.5);
  max-width: 70ch;
}

.handoff-hint {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(57,245,212,.28);
  background: rgba(57,245,212,.08);
  font-size: 0.82rem;
  color: rgba(247,239,225,.78);
  max-width: 70ch;
}

.options-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.2);
  padding: 0.95rem 1.15rem;
}

.trust-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.trust-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.trust-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  position: relative;
  transition: background .2s, border-color .2s;
}
.trust-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff5e8;
  transition: transform .2s;
}
.trust-toggle input:checked + .trust-switch {
  background: rgba(57,245,212,.22);
  border-color: rgba(57,245,212,.45);
}
.trust-toggle input:checked + .trust-switch::after { transform: translateX(18px); }
.trust-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff5e8;
}
.trust-hint {
  flex: 1 1 240px;
  font-size: 0.78rem;
  color: rgba(247,239,225,.5);
  line-height: 1.45;
}

/* Single centered flow: a prominent intake up top, results below — so the empty
   initial state reads as one focused panel, not a narrow column beside a void. */
.layout {
  display: block;
  margin-top: 2.2rem;
}
.layout > section[aria-label="File intake"] {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  backdrop-filter: blur(6px);
}
/* Folder + URL options sit in a tidy two-up row under the drop zone. */
.intake-options {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}
@media (max-width: 640px) { .intake-options { grid-template-columns: 1fr; } }

.results-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  margin-top: 18px;
}

#drop {
  border: 1.5px dashed rgba(215,169,69,.32);
  border-radius: 18px;
  background: radial-gradient(130% 120% at 50% -10%, rgba(215,169,69,.07), rgba(255,255,255,.015));
  padding: 2.4rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  min-height: 200px;
  display: grid;
  place-content: center;
  gap: 0.4rem;
}
#drop p:first-of-type {
  font-family: var(--font-display, Archivo, sans-serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: #fff5e8;
}
#drop.active, #drop:hover {
  border-color: rgba(215,169,69,.7);
  background: radial-gradient(130% 120% at 50% -10%, rgba(215,169,69,.13), rgba(255,255,255,.03));
}
#drop.is-busy {
  opacity: 0.72;
  pointer-events: none;
  cursor: wait;
}
#drop p { margin: 0; }
#drop .hint { font-size: 0.78rem; color: rgba(247,239,225,.5); }
#file { display: none; }

#preview {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0d0f14;
  min-height: 120px;
  display: grid;
  place-items: center;
}
#preview img, #preview video { width: 100%; display: block; max-height: 280px; object-fit: contain; }
#preview .file-meta { padding: 1rem; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 0.78rem; color: rgba(247,239,225,.65); }

.url-form {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(0,0,0,.16);
  padding: 0.85rem;
}
.url-form.is-busy { opacity: 0.72; pointer-events: none; }
.url-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7a945;
}
.url-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.url-row input {
  flex: 1 1 180px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #0a0c10;
  color: #fff5e8;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
  padding: 0.6rem 0.7rem;
}
.url-row input:focus {
  outline: none;
  border-color: rgba(57,245,212,.45);
}
.url-hint {
  margin: 0.55rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(247,239,225,.48);
}

.queue-summary {
  margin: 10px 0 0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(247,239,225,.45);
  min-height: 1em;
}
.queue-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}
.queue-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  color: inherit;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.queue-item:hover,
.queue-item.active {
  border-color: rgba(57,245,212,.4);
  background: rgba(57,245,212,.06);
}
.queue-name {
  font-size: 0.78rem;
  color: #fff5e8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-badge {
  flex: none;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(247,239,225,.62);
}
.queue-badge[data-tone="good"] { color: #062a24; background: #39f5d4; border-color: #39f5d4; }
.queue-badge[data-tone="warn"] { color: #2a1e06; background: #d7a945; border-color: #d7a945; }
.queue-badge[data-tone="bad"] { color: #fff5e8; background: #ff6b35; border-color: #ff6b35; }

.workflow-link {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(247,239,225,.55);
  max-width: 70ch;
  line-height: 1.5;
}
.workflow-link a { color: #39f5d4; }

.trust-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.trust-upload-btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
}
.trust-toggle--inline { margin-left: 4px; }
.trust-clear {
  border: 0;
  background: transparent;
  color: rgba(247,239,225,.5);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
}
.trust-clear:hover { color: #ff8f6b; }

.folder-pick-btn {
  margin-top: 10px;
  width: 100%;
  font-size: 0.82rem;
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.strip-field span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7a945;
}
.strip-field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #0a0c10;
  color: #fff5e8;
  font-size: 0.78rem;
  padding: 0.5rem 0.55rem;
}
.strip-result {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(0,0,0,.16);
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.4rem;
}
.strip-title {
  margin: 0;
  font-family: var(--font-display, Archivo, sans-serif);
  font-size: 1rem;
  color: #fff5e8;
}
.strip-title[data-tone="good"] { color: #39f5d4; }
.strip-title[data-tone="warn"] { color: #d7a945; }
.strip-title[data-tone="bad"] { color: #ff8f6b; }
.strip-detail {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(247,239,225,.68);
  line-height: 1.45;
}

.loading-state {
  margin-top: 12px;
  border: 1px solid rgba(57,245,212,.22);
  border-radius: 14px;
  background: rgba(57,245,212,.05);
  padding: 1rem 1rem 0.95rem;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px 12px;
  align-items: center;
}
.loading-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(57,245,212,.25);
  border-top-color: #39f5d4;
  animation: prov-spin 0.85s linear infinite;
}
.loading-title {
  margin: 0;
  font-family: var(--font-display, Archivo, sans-serif);
  font-size: 0.95rem;
  color: #fff5e8;
}
.loading-detail {
  margin: 0;
  grid-column: 2;
  font-size: 0.78rem;
  color: rgba(247,239,225,.55);
  line-height: 1.45;
}
@keyframes prov-spin { to { transform: rotate(360deg); } }

.error-panel {
  border-color: rgba(255,107,53,.35);
  background: linear-gradient(150deg, rgba(255,107,53,.08), rgba(0,0,0,.12));
}
.error-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8f6b;
}
#error-title {
  margin: 0;
  font-family: var(--font-display, Archivo, sans-serif);
  font-size: 1.35rem;
  color: #fff5e8;
}
#error-detail {
  margin: 0.55rem 0 1rem;
  color: rgba(247,239,225,.68);
  line-height: 1.5;
  font-size: 0.9rem;
}

.panel {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding: 1.25rem 1.2rem 1.4rem;
}

#verdict-badge {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.75rem;
}
#verdict-badge[data-tone="good"] { color: #062a24; background: #39f5d4; }
#verdict-badge[data-tone="warn"] { color: #2a1e06; background: #d7a945; }
#verdict-badge[data-tone="bad"] { color: #fff5e8; background: #ff6b35; }
#verdict-badge[data-tone="neutral"] { color: rgba(247,239,225,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }

#verdict-title { margin: 0; font-family: var(--font-display, Archivo, sans-serif); font-size: 1.55rem; }
#verdict-detail { margin: 0.45rem 0 0; color: rgba(247,239,225,.68); line-height: 1.5; }
#timing { margin: 0.65rem 0 0; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 0.72rem; color: rgba(247,239,225,.45); }

.l1-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 1rem;
}
.l1-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  background: rgba(0,0,0,.18);
}
.l1-k {
  display: block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7a945;
}
.l1-v { display: block; margin-top: 0.25rem; font-size: 0.9rem; color: #fff5e8; }

.chain-hint {
  margin: -0.2rem 0 0.55rem;
  font-size: 0.76rem;
  color: rgba(247,239,225,.42);
}

.section-kicker {
  margin: 1.2rem 0 0.5rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,239,225,.45);
}

#chain-list { display: block; }
.chain-timeline { display: flex; flex-direction: column; gap: 10px; }
.chain-children {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: calc(12px + var(--depth, 0) * 8px);
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.08);
}
.chain-node {
  display: grid;
  grid-template-columns: 36px 52px 1fr auto;
  gap: 10px;
  align-items: start;
  border-left: 3px solid #39f5d4;
  padding: 0.55rem 0.65rem 0.55rem 0.65rem;
  background: rgba(0,0,0,.15);
  border-radius: 0 12px 12px 0;
}
.chain-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0a0c10;
}
.chain-thumb[hidden] { display: none; }
.chain-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chain-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.chain-toggle:disabled { cursor: default; }
.chain-toggle h3 { margin: 0; font-size: 0.98rem; color: #fff5e8; }
.chain-toggle .chain-caret {
  color: rgba(247,239,225,.45);
  font-size: 0.8rem;
  transition: transform .2s;
}
.chain-toggle.open .chain-caret { transform: rotate(90deg); }
.chain-line { margin: 0.2rem 0 0; font-size: 0.82rem; color: rgba(247,239,225,.7); }
.chain-details { margin-top: 0.55rem; }
.chain-detail-k {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7a945;
}
.chain-actions ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(247,239,225,.68);
  font-size: 0.78rem;
}
.chain-actions li { margin: 0.15rem 0; }
.chain-signature p { margin: 0; font-size: 0.78rem; color: rgba(247,239,225,.65); }
.chain-node[data-state="warning"] { border-left-color: #d7a945; }
.chain-node[data-state="invalid"] { border-left-color: #ff6b35; }
.chain-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,239,225,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  white-space: nowrap;
}
.chain-rank {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  color: #39f5d4;
  padding-top: 0.15rem;
}
.chain-sub { color: rgba(247,239,225,.5) !important; font-size: 0.76rem !important; margin-top: 0.15rem; }
.chain-sub strong { color: #39f5d4; font-weight: 600; }
.chain-empty { margin: 0; color: rgba(247,239,225,.5); font-size: 0.85rem; }

#validation-list { display: flex; flex-direction: column; gap: 8px; }
.validation-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  background: rgba(0,0,0,.16);
}
.validation-item[data-severity="trust"] { border-color: rgba(215,169,69,.35); }
.validation-item[data-severity="error"] { border-color: rgba(255,107,53,.35); }
.validation-item strong { display: block; font-size: 0.88rem; color: #fff5e8; margin-bottom: 0.2rem; }
.validation-item p { margin: 0; font-size: 0.78rem; color: rgba(247,239,225,.62); line-height: 1.45; }
.validation-item em { color: rgba(247,239,225,.42); font-style: normal; }
.validation-tag {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d7a945;
}

.json-viewer-wrap { margin-top: 0.25rem; }
.json-viewer-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.json-tab {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,239,225,.55);
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.json-tab:hover { border-color: rgba(215,169,69,.45); color: #fff5e8; }
.json-tab.active {
  color: #062a24;
  background: #39f5d4;
  border-color: #39f5d4;
}

#raw-json,
.json-viewer {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  padding: 0.85rem;
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(247,239,225,.78);
  white-space: pre-wrap;
  word-break: break-word;
}
.json-key { color: #d7a945; }
.json-string { color: #7ee8c8; }
.json-number { color: #ff9b7a; }
.json-bool { color: #8eb8ff; }
.json-null { color: rgba(247,239,225,.45); }

.export-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.export-btn {
  font-family: var(--font-display, Archivo, sans-serif);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff5e8;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.export-btn:hover { border-color: rgba(215,169,69,.55); }
.export-btn--primary {
  background: #ff6b35;
  color: #0a0c10;
  border-color: #ff6b35;
}
.export-btn--primary:hover { border-color: #ff8f6b; background: #ff8f6b; }

.print-report { display: none; }

@media print {
  body { padding: 0; background: #ffffff; color: #111111; }
  body > * { display: none !important; }
  #print-report {
    display: block !important;
    font-family: Arial, Helvetica, sans-serif;
    color: #111111;
    padding: 24px;
  }
  .print-report h1 { font-size: 20px; margin: 0; }
  .print-report h2 { font-size: 14px; margin: 16px 0 6px; }
  .print-report .pr-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #111;
    padding-bottom: 10px;
  }
  .print-report .pr-head p { margin: 4px 0 0; color: #555; font-size: 12px; }
  .pr-verdict { text-align: right; font-size: 18px; font-weight: 800; }
  .pr-verdict span { display: block; font-size: 11px; font-weight: 500; color: #333; }
  .pr-intact { color: #0a7d4d; }
  .pr-present_untrusted { color: #b5540a; }
  .pr-tampered { color: #b3121f; }
  .pr-absent { color: #555; }
  .pr-summary { font-size: 12px; color: #333; line-height: 1.45; margin: 10px 0 0; }
  .pr-table { border-collapse: collapse; font-size: 11px; width: 100%; margin-top: 6px; }
  .pr-table td, .pr-table th { border: 1px solid #ccc; padding: 4px 8px; text-align: left; }
  .pr-table th { background: #f3f3f3; }
  .pr-foot { margin-top: 16px; font-size: 10px; color: #666; }
}

#status {
  margin-top: 1rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.76rem;
  color: rgba(247,239,225,.55);
}
#status[data-tone="error"] { color: #ff8f6b; }