/* „Пробвай Pro на един документ" — the upload, the report (the same .risk cards as /documents),
   and the price after it. Tokens from _theme.html with dark fallbacks. */
main { max-width: 760px; }
.lede { font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; color: var(--text, #e6edf3); }
.muted { color: var(--muted, #8b98a5); }
.small { font-size: 13px; }

.up { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--border, #2d3744);
  border-radius: 14px; background: var(--panel, #1a212b); }
.up .file { display: flex; flex-direction: column; gap: 6px; }
.up .lbl { font-size: 13px; color: var(--muted, #8b98a5); }
.up input[type=file] { font: inherit; color: var(--text, #e6edf3); }
.cap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cap img { border-radius: 8px; border: 1px solid var(--border, #2d3744); background: #fff; }
.cap label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted, #8b98a5); }
.cap input { font: inherit; padding: 8px 10px; border-radius: 8px; width: 120px; background: var(--inset, #0d1218);
  border: 1px solid var(--border, #2d3744); color: var(--text, #e6edf3); }
.lnk { background: none; border: 0; font: inherit; font-size: 13px; cursor: pointer; color: var(--accent, #3fb950);
  padding: 9px 4px; margin: -9px -4px; min-height: 32px; }
.err { color: var(--danger, #f85149); margin: 0; }
/* the honeypot: off-screen, not display:none — some bots skip hidden fields, none skip this one */
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  background: var(--accent, #3fb950); color: var(--on-accent, #0d1218); border: 0; border-radius: 12px;
  padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.ghost { display: inline-block; margin-left: 14px; color: var(--muted, #8b98a5); font-size: 14px; }

.report { margin-top: 22px; }
.tally { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: 13.5px; }
.tally .doc { color: var(--text, #e6edf3); font-weight: 600; margin-right: 6px; }
.pill { border: 1px solid var(--border, #2d3744); border-radius: 999px; padding: 2px 10px; color: var(--muted, #8b98a5); }
.pill.red b { color: #d1242f; } .pill.amber b { color: var(--warn, #d29922); } .pill.green b { color: var(--accent, #3fb950); }
.risks { display: flex; flex-direction: column; gap: 8px; }
.risk { border: 1px solid var(--border, #2d3744); border-left-width: 4px; border-radius: 8px; padding: 10px 12px;
  background: var(--panel, #1a212b); font-size: 13.5px; }
.risk .rh { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.risk .lvl { font-size: 11.5px; color: var(--muted, #8b98a5); white-space: nowrap; }
.risk p { margin: 6px 0 0; color: var(--text, #e6edf3); }
.risk blockquote { margin: 8px 0 0; padding: 6px 10px; border-left: 2px solid var(--border, #2d3744); color: var(--muted, #8b98a5); font-style: italic; }
.risk .fix { color: var(--muted, #8b98a5); }
.risk .cite { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--accent, #3fb950); text-decoration: none; }
.risk .cite:hover { text-decoration: underline; }
.risk.r-red { border-left-color: #d1242f; }
.risk.r-amber { border-left-color: var(--warn, #d29922); }
.risk.r-green { border-left-color: var(--accent-2, #1a7f4b); }

/* The price, after the value. A box, not a banner: it must read as the next step, not as an ad. */
.paywall { margin-top: 26px; padding: 22px; border: 1px solid var(--accent, #3fb950); border-radius: 16px;
  background: var(--accent-bg, #16281a); }
.paywall h2 { margin: 0 0 8px; font-size: 20px; }
.paywall p { margin: 0 0 12px; color: var(--text, #e6edf3); }
.paywall ul { margin: 0 0 16px; padding-left: 20px; color: var(--text, #e6edf3); line-height: 1.6; }
.paywall .btn { align-self: auto; }
.paywall .muted { margin-top: 10px; }
/* The screen after the analysis: the one CTA on the page that is allowed to be big. */
.paywall.big { padding: 28px 26px; text-align: center; }
.paywall.big h2 { font-size: 26px; margin-bottom: 12px; }
.paywall.big p { max-width: 58ch; margin: 0 auto 10px; font-size: 15.5px; line-height: 1.55; }
.paywall.big .pw-price { color: var(--muted, #8b98a5); font-size: 14px; margin: 14px auto 18px; }
.paywall.big .btn.xl { font-size: 19px; padding: 18px 34px; border-radius: 14px; width: min(100%, 420px); }
