/* result.v1.css (19 Nov 2026): Phase 1 of the scanner result page.
   The answer first (slim search bar, verdict + one plain sentence + one action), then the evidence as a few
   cards, then what to do now, then everything technical in one drawer.
   No shield, no numbered badges, no icon tiles, no one-sided lines. */

/* ---------- 1. after a scan the hero becomes a slim search bar ---------- */
.hero.hero--res{padding:18px 0 6px;background:#fff;border-bottom:0}
.hero--res .hero__inner{max-width:880px}
.hero--res h1,.hero--res p.sub,.hero--res .privacy-toggle{display:none}
.hero--res .scanbox{margin-top:0;padding:14px 16px;box-shadow:0 0 0 1px #e3e6f1,0 18px 40px -30px rgba(15,24,39,.4)}
.hero--res + .sec,.hero--res ~ #result{padding-top:18px}
#result{scroll-margin-top:84px}

/* ---------- 2. the verdict: status mark, one plain sentence, one action ---------- */
.verdict.vx{align-items:flex-start;gap:18px;padding:22px 24px}
.vx .vx__mark{width:48px;height:48px;filter:none}
.vx .vx__mark svg{width:48px;height:48px}
.v-safe .vx__mark{color:var(--safe-text,#15803d)}
.v-danger .vx__mark{color:var(--danger-text,#b91c1c)}
.v-warn .vx__mark{color:var(--warning-text,#b45309)}
.v-unrated .vx__mark,.v-unknown .vx__mark{color:#55607a}
.vx__body{min-width:0}
.vx__line{margin:8px 0 0;font-size:16.5px;line-height:1.5;font-weight:600;color:var(--ink,#0f1827)}
.vx .verdict__explain{margin-top:6px}
.vx__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.vx__acts .btn{min-height:40px}

/* "Why this verdict": plain list, no number badges, no divider lines */
.why li{padding:0 0 0 0!important;margin:0 0 14px!important;border-bottom:0!important}
.why li:last-child{margin-bottom:0!important}
.why li::before{content:none!important;display:none!important}

/* ---------- 3. evidence ---------- */
.evx{margin-top:22px}
.evx__h,.todo__h{margin:0 0 12px;font-size:1.15rem;font-weight:800;letter-spacing:-.01em;color:var(--ink,#0f1827)}
.evx__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.evc{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #e3e6f1}
.evc--wide{grid-column:1/-1}
.evc--bad{background:#fff6f7;box-shadow:0 0 0 1px #f6d4da}
.evc__k{font-size:12.5px;font-weight:700;color:#6b7488}
.evc--bad .evc__k{color:#a3324b}
.evc__big{margin:0;font-size:1.25rem;line-height:1.3;font-weight:800;letter-spacing:-.01em;color:var(--ink,#0f1827);overflow-wrap:anywhere}
.evc__p{margin:0;font-size:14.5px;line-height:1.55;color:#3b4459;overflow-wrap:anywhere}
.evc__p b{color:var(--ink,#0f1827)}
/* the link's journey */
.jrn{list-style:none;display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin:6px 0 0;padding:0}
.jrn__s{position:relative;display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 14px;border-radius:8px;background:#f4f5fa}
.jrn__s + .jrn__s{margin-left:22px}
.jrn__s + .jrn__s::before{content:"";position:absolute;left:-19px;top:50%;width:12px;height:12px;margin-top:-6px;
  background:no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")}
.jrn__h{font-size:14.5px;font-weight:700;color:var(--ink,#0f1827);overflow-wrap:anywhere}
.jrn__r{font-size:12.5px;color:#6b7488}
.jrn__s.is-bad{background:#fdecef}
.jrn__s.is-bad .jrn__r{color:#a3324b;font-weight:600}
/* about the website */
.idl{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.idl__r{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:baseline;padding:9px 12px;border-radius:8px;background:#f6f7fb}
.idl__k{font-size:13px;font-weight:600;color:#6b7488}
.idl__v{font-size:14.5px;line-height:1.45;color:var(--ink,#0f1827)}
.idl__r--good{background:#f1f8f3}
.idl__r--bad{background:#fdecef}
.idl__r--bad .idl__v{color:#9b1c30;font-weight:600}

/* ---------- 4. what to do now ---------- */
.todo{margin-top:22px;padding:22px 24px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #e3e6f1,0 26px 50px -40px rgba(15,24,39,.45);scroll-margin-top:84px}
.todo__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px}
.todo h4{margin:0 0 8px;font-size:14.5px;font-weight:800;color:var(--ink,#0f1827)}
.todo__col h4 + .todo__l,.todo__col h4 + .todo__rep{margin-top:0}
.todo__l{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px}
.todo__l li{position:relative;padding-left:18px;font-size:14.5px;line-height:1.55;color:#3b4459}
.todo__l li::before{content:"";position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;background:#4537b5}
.todo__l b{color:var(--ink,#0f1827)}
.todo__l a,.todo__rep a{color:#3a2fa0;font-weight:600}
.todo__rep{margin:0 0 10px;font-size:14.5px;line-height:1.55;color:#3b4459}
.todo__rep p{margin:0 0 8px}
.todo__rep ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.todo__rep li{padding:10px 12px;border-radius:8px;background:#f4f5fa}
.todo__rep li span{display:block;font-size:12.5px;font-weight:700;color:#6b7488;margin-bottom:2px}
.todo__us{margin:0;font-size:13.5px;color:#6b7488}
.linkbtn{all:unset;cursor:pointer;color:#3a2fa0;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.linkbtn:focus-visible{outline:2px solid #4537b5;outline-offset:2px;border-radius:2px}
.todo .src-ask{margin:18px 0 0;padding:16px 18px;border:0;border-radius:8px;background:#f6f7fb}
.todo .src-ask__q{margin-top:0}

/* ---------- 5. one drawer for everything technical ---------- */
.techx{margin-top:22px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #e3e6f1}
.techx > summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:18px 22px}
.techx > summary::-webkit-details-marker{display:none}
.techx > summary::after{content:"";flex:0 0 auto;width:18px;height:18px;margin-left:auto;transition:transform .2s;
  background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7488' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
.techx[open] > summary::after{transform:rotate(180deg)}
.techx > summary:focus-visible{outline:2px solid #4537b5;outline-offset:2px;border-radius:8px}
.techx__t{display:block;font-size:1.05rem;font-weight:800;color:var(--ink,#0f1827)}
.techx__d{display:block;margin-top:2px;font-size:13.5px;color:#6b7488}
.techx__b{padding:0 22px 22px}
.techx__b > .tech-h:first-child{margin-top:4px}
.ioc{margin:0 0 18px;padding:16px 18px;border-radius:8px;background:#f6f7fb}
.ioc__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.ioc__head .res-h{margin:0}
.ioc__acts{display:flex;gap:8px;flex-wrap:wrap}
.ioc__l{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ioc__l li{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:baseline}
.ioc__t{font-size:12.5px;font-weight:600;color:#6b7488}
.ioc__l code{font:500 13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink,#0f1827);overflow-wrap:anywhere}

/* ---------- 6. house rules on older parts of the page ---------- */
.promo-card .pic,.xunlock__ic{display:none!important}

/* ---------- phones ---------- */
@media (max-width:720px){
  .hero.hero--res{padding:12px 0 4px}
  .hero--res .scanbox{padding:12px}
  .verdict.vx{gap:12px;padding:18px 16px}
  .vx .vx__mark,.vx .vx__mark svg{width:38px;height:38px}
  .vx__line{font-size:15.5px}
  .vx__acts .btn{flex:1 1 100%;justify-content:center}
  .evx__grid,.todo__grid{grid-template-columns:minmax(0,1fr)}
  .evc{padding:16px}
  .todo{padding:18px 16px}
  .idl__r,.ioc__l li{grid-template-columns:minmax(0,1fr);gap:2px}
  .jrn{flex-direction:column}
  .jrn__s + .jrn__s{margin-left:0;margin-top:14px}
  .jrn__s + .jrn__s::before{left:14px;top:-15px;margin-top:0;transform:rotate(90deg)}
  .techx > summary{padding:16px}
  .techx__b{padding:0 14px 16px}
}
@media (prefers-reduced-motion:reduce){.techx > summary::after{transition:none}}
@media print{.vx__acts,.todo .src-ask{display:none}}

.evx .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wtm .idl{margin-top:4px}

/* inside the drawer: the older Details list and headings without divider lines */
.techx .tech-h::after{display:none}
.techx .dl{margin-top:8px;border-top:0;display:grid;gap:4px}
.techx .dl li{border-bottom:0;padding:10px 12px;border-radius:8px;background:#f8f9fc}
.techx .dl li.dl-group{border-bottom:0;background:none;padding:16px 0 4px}
.techx .card > .dl:first-child{margin-top:0}
.techx .acc{border-top:0}
.techx .acc__item{border-bottom:0;margin-bottom:6px;border-radius:8px;background:#f8f9fc}
.techx .da-tbl th,.techx .da-tbl td,.techx .da-hdrs td,.techx .da-hdrs thead th,.techx .da-hdrs tbody td,.techx .sechdr-row{border-bottom:0}
.techx .da-hdrs tbody tr:nth-child(odd) td,.techx .da-tbl tbody tr:nth-child(odd) td{background:#f8f9fc}
.techx .sechdr-row{border-radius:6px}
.techx .sechdr-row:nth-child(odd){background:#f8f9fc}

.todo__repwrap[hidden]{display:none}
