/* The report under the result panel: up to three numbered findings, then a closing row with the audit button */
.report{max-width:1180px;margin:0 auto;padding:0}
/* the band colours the stamp: low (0 to 2 signs), mid (3 to 4), high (5 to 6); x is an incomplete check */
.rp{--good:#7FB36A;--mid:#E0A64F;--bad:#EC5B4D;--band:#9C9385}
.rp[data-band="low"]{--band:var(--good)}.rp[data-band="mid"]{--band:var(--mid)}.rp[data-band="high"]{--band:var(--bad)}
.rp-panel{border:1px solid #2A2621;border-radius:24px;background:#0D0C0B;overflow:hidden}

/* the browser frame around the preview, shared with the scan panel */
.rp-chrome{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #2A2621;border-bottom:0;border-radius:12px 12px 0 0;background:#141210}
.rp-chrome i{width:9px;height:9px;border-radius:50%;background:#2E2A24}
.rp-chrome span{flex:1;margin-left:10px;padding:5px 12px;border-radius:7px;background:#0B0A09;font:500 .8rem var(--mono);color:var(--muted);text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* the stamp sits low on the right of the preview, away from the logo and headline at the top left of most homepages */
.rp-stamp{position:absolute;right:5%;bottom:8%;max-width:62%;padding:10px 18px 9px;border:3px solid var(--band);outline:1.5px solid var(--band);outline-offset:3px;border-radius:8px;background:rgba(9,8,7,.88);color:var(--band);font:700 clamp(1rem,2vw,1.45rem)/1.1 var(--mono);letter-spacing:.06em;text-align:center;transform:rotate(-7deg);box-shadow:0 12px 28px -10px #000}
.rp-stamp[hidden]{display:none}
.rp-cap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font:500 .78rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rp-cap span{white-space:nowrap}
.rp-verdict{margin:20px 0 18px;font:500 clamp(1.7rem,2.8vw,2.4rem)/1.15 var(--display);letter-spacing:-.02em;color:var(--cream)}
.rp-num{margin:0 0 16px;display:flex;align-items:baseline;gap:8px;font-family:var(--display);color:var(--cream)}
.rp-num[hidden]{display:none}
.rp-num b{font-weight:500;font-size:clamp(2.6rem,4.4vw,3.6rem);line-height:.8;letter-spacing:-.05em}
.rp-num small{font-size:1.3rem;color:var(--muted)}
.rp-zero{font-size:1.3rem;color:var(--cream)}
.rp-support{margin:0;max-width:46ch;color:var(--muted);font-size:1.05rem;line-height:1.6}

/* findings */
.rp-tells{margin-top:clamp(28px,4vw,44px)}
.rp-tells[hidden]{display:none}
.rp-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 24px;flex-wrap:wrap;margin-bottom:22px}
.rp-head h2{margin:0;font:500 clamp(1.6rem,2.4vw,2.1rem)/1.1 var(--display);letter-spacing:-.02em;color:var(--cream)}
.rp-head p{margin:0;font:500 .82rem var(--mono);color:var(--muted)}
.tell{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:clamp(22px,3vw,34px);margin-bottom:14px}
/* one picture gets about half the card, so a crop of a line of copy shows near its real size */
.tell.has-side{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
/* two pictures for a repeated issue: the words on top, the pictures side by side underneath */
.tell.has-pair .tl-side{grid-template-columns:repeat(2,minmax(0,1fr))}
.tell.urgent{border-color:color-mix(in srgb,var(--bad) 55%,#2A2621)}
.tl-urgent{display:inline-block;margin:0 0 12px;padding:4px 10px;border:1px solid var(--bad);border-radius:7px;background:color-mix(in srgb,var(--bad) 12%,transparent);color:var(--bad);font:600 .8rem var(--mono);letter-spacing:.04em}
.tell{scroll-margin:96px;transition:box-shadow .3s}
.tell:focus{outline:none}
.tell:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
/* a marker's card answers with a brief brass ring */
.tell.flash{animation:tl-flash 1.6s ease}
@keyframes tl-flash{0%,35%{box-shadow:0 0 0 2px var(--brass-lift)}100%{box-shadow:0 0 0 2px transparent}}
.tl-num{display:inline-grid;place-items:center;width:28px;height:28px;margin-right:12px;border-radius:50%;background:var(--brass-lift);color:#0B0A08;font:700 .85rem/1 var(--mono);vertical-align:.18em}
.tell h3{margin:0 0 10px;font:500 clamp(1.3rem,1.8vw,1.55rem)/1.2 var(--display);letter-spacing:-.015em;color:var(--cream)}
.tl-what{margin:0;color:var(--cream);font-size:1.05rem;line-height:1.6;max-width:60ch}
.tl-ex{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px;max-width:60ch}
.tl-ex li{padding:12px 14px;border-left:2px solid var(--brass);background:#0A0908;border-radius:0 10px 10px 0}
.tl-ex q{display:block;color:var(--cream);line-height:1.5;quotes:"\201C" "\201D"}
.tl-ex span{display:block;margin-top:6px;font-size:.88rem;color:var(--muted)}
/* a matched pair: the crops line up at the top, at the same width */
.tell.has-pair .tl-side{align-items:start}
.tl-side{align-self:start;display:grid;gap:16px}
.tl-shot{margin:0;display:grid;gap:8px;justify-items:start}
.tl-crop{position:relative;display:block;width:100%;padding:0;margin:0;border:1px solid #2A2621;border-radius:12px;overflow:hidden;background:#15130F;font:inherit;color:inherit;text-align:left}
.tl-crop img{display:block;width:100%;height:auto}
button.tl-crop{cursor:zoom-in}
button.tl-crop:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.tl-marks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tl-dim{fill:rgba(0,0,0,.26)}
.tl-box{fill:none;stroke:var(--brass-lift,#E0C784);stroke-width:3;vector-effect:non-scaling-stroke}
.tl-zoom-br{right:10px;bottom:10px}.tl-zoom-tr{right:10px;top:10px}.tl-zoom-bl{left:10px;bottom:10px}.tl-zoom-tl{left:10px;top:10px}
.tl-zoom{position:absolute;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(11,10,8,.82);border:1px solid #3A3530;opacity:.85;transition:opacity .2s,transform .2s}
.tl-zoom svg{width:18px;height:18px;fill:var(--cream)}
button.tl-crop:hover .tl-zoom,button.tl-crop:focus-visible .tl-zoom{opacity:1;transform:scale(1.06)}
/* a finding with no picture: one column, a little tighter */
.tell.text-only{padding-block:clamp(20px,2.6vw,28px)}
.tell.text-only .tl-main{max-width:68ch}
.tl-none{padding:26px 30px;color:var(--muted)}
.tl-none p{margin:0 0 12px}
/* the full-size view, with any further example under a toggle */
.tl-lightbox{width:min(1480px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:52px 16px 16px;border:1px solid #2A2621;border-radius:16px;background:#0B0A08;color:var(--cream);overflow:auto}
.tl-lightbox::backdrop{background:rgba(5,4,3,.82)}
.tl-big{display:grid;justify-items:center;gap:16px}
.tl-crop-big{cursor:default}
.tl-more{width:100%;display:grid;justify-items:center}
.tl-more summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font:500 1rem var(--display);color:var(--brass-lift)}
.tl-more summary::-webkit-details-marker{display:none}
.tl-more summary::before{content:"+";font-family:var(--mono)}
.tl-more[open] summary::before{content:"\2212"}
.tl-more summary:focus-visible{outline:2px solid var(--brass);outline-offset:4px;border-radius:8px}
.tl-more[open]{gap:16px}
.tl-close{position:absolute;top:8px;right:10px;width:40px;height:40px;border:1px solid #3A3530;border-radius:50%;background:#16130F;color:var(--cream);font:400 1.5rem/1 var(--display);cursor:pointer}
.tl-close:hover{background:#221E18}
.tl-close:focus-visible{outline:2px solid var(--brass);outline-offset:3px}

/* the closing row: why to ask, and the button */
.rp-close{margin-top:clamp(18px,2.6vw,28px);padding:clamp(22px,3vw,30px) clamp(22px,3vw,34px);display:flex;align-items:center;justify-content:space-between;gap:18px 32px;border:1px solid #2A2621;border-radius:24px;background:#0D0C0B}
.rp-close h2{margin:0 0 6px;font:500 clamp(1.3rem,1.9vw,1.6rem)/1.2 var(--display);letter-spacing:-.015em;color:var(--cream)}
.rp-close p{margin:0;color:var(--muted);font-size:1.02rem;line-height:1.55}
.rp-close button{flex:none;font:500 1.05rem var(--display);background:var(--brass);color:#0B0A08;border:0;border-radius:999px;padding:15px 28px;min-height:50px;cursor:pointer;transition:transform .2s cubic-bezier(.3,1.6,.5,1),background .2s}
.rp-close button:hover{transform:translateY(-2px);background:var(--brass-lift)}
.rp-close button:focus-visible{outline:2px solid var(--brass);outline-offset:4px}

/* phones: cards stack their pictures under the words; the closing row stacks too */
@media (max-width:860px){
  .tell.has-side{grid-template-columns:1fr}
  .rp-close{flex-direction:column;align-items:stretch}
}
@media (max-width:560px){
  .tell.has-pair .tl-side{grid-template-columns:1fr}
  .rp-stamp{right:4%;bottom:6%;padding:7px 12px 6px;border-width:2.5px;font-size:.92rem}
  .rp-close button{width:100%}
}
/* Evidence hierarchy: the strongest finding is the one full card (border, band-coloured top edge, a
   large number); the rest are editorial rows with a small index and one fine divider between them, so
   the width goes to the pictures. Crops show at their own size at most; a pair sits side by side under
   its words, stacked on a narrow screen. */
.tell{grid-template-columns:120px minmax(0,1fr) !important;gap:clamp(18px,2.2vw,28px)}
.tl-body{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,2.2vw,28px);min-width:0}
.tl-idx{text-align:right}
.tell.lead{padding:clamp(24px,3vw,38px) clamp(24px,3vw,40px) clamp(26px,3.2vw,42px) clamp(16px,2vw,28px);border-color:#3A3530;border-top:3px solid var(--band);background:#100E0C;margin-bottom:10px}
.tell.lead .tl-idx{font:600 clamp(3.6rem,6vw,5.75rem)/.9 var(--display);letter-spacing:-.05em;color:var(--band)}
.tell.lead h3{font-size:clamp(1.55rem,2.4vw,2rem);margin-bottom:12px}
.tell.lead .tl-what{font-size:clamp(1.05rem,1.2vw,1.125rem);max-width:60ch}
.tell.row{padding:30px 0;margin:0;border:0;border-top:1px solid #2A2621;border-radius:0;background:transparent;overflow:visible}
.tell.row:last-child{border-bottom:1px solid #2A2621}
.tell.row .tl-idx{padding-top:5px;font:500 .875rem/1 var(--mono);color:var(--muted)}
.tell.row h3{font-size:clamp(1.15rem,1.5vw,1.375rem);margin-bottom:8px}
.tell.row .tl-what{font-size:1rem}
.tell.row.has-side .tl-body{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center}
.tell.row.has-pair .tl-main,.tell.row.text-only .tl-main{max-width:64ch}
.tell.urgent{border-color:color-mix(in srgb,var(--bad) 55%,#2A2621)}
.tell.row.urgent{border-color:#2A2621}
/* crops at their own size at most; the pair keeps both readable at normal size */
.tl-crop{width:100%}
.tl-crop img{width:100%;height:auto}
.tl-win{position:relative;display:block;width:100%;overflow:hidden}
.tl-pan{position:absolute;top:0;display:block}
.tl-pan img{display:block;width:100%;height:auto}
.tell.has-pair .tl-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
@media (max-width:860px){
  .tell{grid-template-columns:44px minmax(0,1fr) !important}
  .tell.lead .tl-idx{font-size:2.6rem}
  .tell.row.has-side .tl-body{grid-template-columns:1fr}
}
@media (max-width:720px){
  .tell.has-pair .tl-side{grid-template-columns:1fr}
}
@media (max-width:560px){
  .tell{grid-template-columns:minmax(0,1fr) !important}
  .tl-idx{text-align:left}
  .tell.lead .tl-idx{font-size:2.2rem}
}
