/* ── The verification report ──────────────────────────────────────────────
   The report itself, and nothing around it. Loaded by both shells: the public
   standalone page at /verify and the signed-in view inside the app, so the
   two cannot drift apart.

   Every rule here is scoped under .vfy, and every token is declared on .vfy
   rather than :root. That is not tidiness, it is the bug this file was split
   out to fix. The old single stylesheet styled bare `body`, `a`, `header` and
   `footer`, and redefined :root - which was harmless on a standalone page and
   destructive inside the app, where it put a white bordered box around
   .dash-head (a component whose whole design is "no box, no border"), turned
   every nav link brand-orange, and replaced the app's colour tokens with the
   marketing page's. Nothing in here may select an element the app also owns. */

.vfy{
  --vfy-primary:#e04502;
  --vfy-primary-dark:#b53700;
  --vfy-ink:#0a0a0a;
  --vfy-ink-2:#171717;
  --vfy-muted:#525252;
  --vfy-muted-2:#6b7280;
  --vfy-bg:#fafafa;
  --vfy-border:#ededed;
  --vfy-border-2:#e5e5e5;
  --vfy-pass:#15803d;  --vfy-pass-bg:#f0fdf4;  --vfy-pass-line:#bbf7d0;
  --vfy-fail:#b91c1c;  --vfy-fail-bg:#fef2f2;  --vfy-fail-line:#fecaca;
  --vfy-warn:#92400e;  --vfy-warn-bg:#fffbeb;  --vfy-warn-line:#fde68a;

  color:var(--vfy-ink);
  line-height:1.6;
}
.vfy a{color:var(--vfy-primary); font-weight:600; text-decoration:none}
.vfy a:hover{text-decoration:underline}

/* ── Intro: the public page only. In the app the page already has a title. ── */
.vfy .intro{padding:44px 0 30px}
.vfy .intro h1{
  font-size:clamp(26px,4vw,34px); font-weight:800; letter-spacing:-1px;
  line-height:1.15; margin-bottom:10px;
}
.vfy .intro p{color:var(--vfy-muted); font-size:15.5px; max-width:60ch}

/* ── The form ──────────────────────────────────────────────────────────── */
.vfy .card{
  background:#fff; border:1px solid var(--vfy-border); border-radius:14px;
  padding:24px; margin-bottom:20px;
}
.vfy .card h2{font-size:15px; font-weight:700; margin-bottom:14px; letter-spacing:-.2px}

.vfy label.fl{
  display:block; font-size:12px; font-weight:600;
  color:var(--vfy-ink-2); margin-bottom:6px;
}
.vfy input[type=text],
.vfy input[type=file]{
  width:100%; padding:12px 13px; border:1px solid var(--vfy-border-2);
  border-radius:10px; font-size:14px; font-family:inherit; background:#fff;
}
.vfy input[type=text]:focus{
  outline:none; border-color:var(--vfy-ink); box-shadow:0 0 0 3px rgba(0,0,0,.06);
}
.vfy .hint{font-size:12px; color:var(--vfy-muted-2); margin-top:6px; line-height:1.5}
.vfy .or{
  display:flex; align-items:center; gap:12px; margin:18px 0;
  color:var(--vfy-muted-2); font-size:12px;
}
.vfy .or::before,
.vfy .or::after{content:''; flex:1; height:1px; background:var(--vfy-border)}
.vfy button.go{
  margin-top:18px; width:100%; padding:13px; border:none; border-radius:10px;
  background:var(--vfy-primary); color:#fff; font-weight:600; font-size:14.5px;
  font-family:inherit; cursor:pointer;
}
.vfy button.go:hover{background:var(--vfy-primary-dark)}

/* ── Verdict ───────────────────────────────────────────────────────────── */
.vfy .verdict{
  border-radius:14px; padding:22px 24px; margin-bottom:20px;
  border:1px solid; display:flex; gap:16px; align-items:flex-start;
}
.vfy .verdict.pass{background:var(--vfy-pass-bg); border-color:var(--vfy-pass-line)}
.vfy .verdict.fail{background:var(--vfy-fail-bg); border-color:var(--vfy-fail-line)}
.vfy .verdict.warn{background:var(--vfy-warn-bg); border-color:var(--vfy-warn-line)}
.vfy .verdict .icon{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  display:grid; place-items:center; color:#fff;
}
.vfy .verdict.pass .icon{background:var(--vfy-pass)}
.vfy .verdict.fail .icon{background:var(--vfy-fail)}
.vfy .verdict.warn .icon{background:var(--vfy-warn)}
.vfy .verdict h2{font-size:17px; font-weight:700; letter-spacing:-.3px; margin-bottom:5px}
.vfy .verdict.pass h2{color:var(--vfy-pass)}
.vfy .verdict.fail h2{color:var(--vfy-fail)}
.vfy .verdict.warn h2{color:var(--vfy-warn)}
.vfy .verdict p{font-size:14px; line-height:1.6; color:var(--vfy-ink-2)}
.vfy .verdict p + p{margin-top:8px}
.vfy .verdict .bad{color:var(--vfy-fail); font-weight:700}
.vfy .verdict .good{color:var(--vfy-pass); font-weight:700}

/* ── Detail rows ───────────────────────────────────────────────────────── */
.vfy .rows{display:grid; gap:0}
.vfy .row{
  display:grid; grid-template-columns:minmax(0,150px) minmax(0,1fr);
  gap:6px 18px; padding:11px 0; border-top:1px solid var(--vfy-border);
  font-size:13.5px; align-items:baseline;
}
.vfy .row:first-child{border-top:none}
.vfy .row .k{color:var(--vfy-muted-2); font-weight:500}
.vfy .row .v{color:var(--vfy-ink-2); min-width:0; overflow-wrap:anywhere}
.vfy .row .v .bad{color:var(--vfy-fail); font-weight:700}
.vfy .row .v .good{color:var(--vfy-pass); font-weight:700}
.vfy .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px}

.vfy .signer{padding:14px 0; border-top:1px solid var(--vfy-border)}
.vfy .signer:first-of-type{border-top:none}
.vfy .signer .top{
  display:flex; justify-content:space-between; gap:12px;
  flex-wrap:wrap; align-items:baseline;
}
.vfy .signer .nm{font-weight:600; font-size:14px}
.vfy .signer .st{
  font-size:12px; font-weight:600; display:inline-flex;
  align-items:center; gap:6px; color:var(--vfy-muted);
}
.vfy .signer .st::before{
  content:''; width:7px; height:7px; border-radius:50%;
  background:var(--vfy-muted-2);
}
.vfy .signer .st.signed{color:var(--vfy-pass)}
.vfy .signer .st.signed::before{background:var(--vfy-pass)}
.vfy .signer .meta{font-size:12.5px; color:var(--vfy-muted); margin-top:3px}
.vfy .signer .assurance{
  display:inline-block; margin-top:7px; font-size:11.5px; font-weight:600;
  padding:2px 8px; border-radius:5px; background:var(--vfy-bg);
  border:1px solid var(--vfy-border-2); color:var(--vfy-muted);
}
.vfy .signer .assurance.strong{
  background:var(--vfy-pass-bg); border-color:var(--vfy-pass-line);
  color:var(--vfy-pass);
}

.vfy .timeline{list-style:none; margin:0; padding:0}
.vfy .timeline li{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 16px;
  padding:9px 0; border-top:1px solid var(--vfy-border); font-size:13.5px;
  align-items:baseline;
}
.vfy .timeline li:first-child{border-top:none}
.vfy .timeline .when{
  color:var(--vfy-muted-2); font-size:12.5px; white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.vfy .timeline .who{color:var(--vfy-muted-2); font-size:12.5px}

.vfy details.raw{margin-top:16px}
.vfy details.raw summary{
  cursor:pointer; font-size:13px; font-weight:600; color:var(--vfy-muted);
}
.vfy details.raw summary:hover{color:var(--vfy-ink)}
.vfy details.raw pre{
  margin-top:12px; padding:14px; background:var(--vfy-bg);
  border:1px solid var(--vfy-border); border-radius:9px; overflow-x:auto;
  font-size:11.5px; line-height:1.7;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--vfy-ink-2);
}
.vfy .alert{
  padding:12px 15px; border-radius:10px; font-size:13.5px; margin-bottom:18px;
  background:var(--vfy-fail-bg); color:var(--vfy-fail);
  border:1px solid var(--vfy-fail-line);
}
.vfy .again{text-align:center; margin-bottom:34px; font-size:13.5px}

@media (max-width:560px){
  .vfy .row{grid-template-columns:1fr; gap:2px}
  .vfy .timeline li{grid-template-columns:1fr}
}
