/* The reference pages: /peptide-policy and /guides (SEO round, 2026-11-11).
   Each page opens on one object drawn from its own content: the coverage grid, a certificate laid out field by field, a
   peptide's identity, a supply chain, a lookup result, a file. Same tokens as site.css (Inter, the four text tones, hairlines);
   colour lives in the icons (solid, ring, dashed), never in fills or edge bars. Served immutable: bump ?rN in build.py. */

/* ---------- the hero: words on the left, the page's object on the right ---------- */
.sh.rf-sh{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,540px);column-gap:64px;align-items:center}
.rf-sh>.rf-sh-t{min-width:0}
.rf-sh .sh-h1{max-width:14ch}
.rf-sh>.rf-board{margin-top:18px}

/* ---------- the board ---------- */
.rf-board{position:relative;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(11,13,18,.04),0 28px 56px -32px rgba(11,13,18,.3);overflow:hidden}
.rf-bh{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid var(--line-2);background:var(--stage)}
.rf-bh b{font:590 14px/1.3 Inter;letter-spacing:-.006em;color:var(--t1)}
.rf-bh span{font-size:12.5px;line-height:1.3;color:var(--t3);text-align:right}
.rf-bb{padding:18px}
.rf-bf{margin:0;padding:12px 18px;border-top:1px solid var(--line-2);font-size:12.5px;line-height:1.5;color:var(--t3)}
.rf-bf a{color:var(--t2);text-decoration:underline;text-decoration-color:rgba(11,13,18,.2);text-underline-offset:2px}

/* status icons: solid = applies or covered, ring = depends, dashed = not this one */
.rf-i{width:16px;height:16px;flex:none;display:inline-block;vertical-align:-3px}
.rf-i.ok,.rf-i.dep{color:var(--accent)}
.rf-i.no{color:var(--t4)}

/* ---------- the coverage grid (/peptide-policy) ---------- */
.rf-mx{width:100%;border-collapse:collapse;font-size:13.5px;line-height:1.3}
.rf-mx caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rf-mx th,.rf-mx td{padding:11px 6px;text-align:center;border-bottom:1px solid var(--line-2);font-weight:400}
.rf-mx thead th{padding:4px 6px 10px;font:510 12px/1.2 Inter;color:var(--t3)}
.rf-mx thead th:first-child,.rf-mx tbody th{text-align:left;padding-left:0}
.rf-mx tbody th a{font-weight:510;color:var(--t1)}
.rf-mx tbody th a:hover{text-decoration:underline;text-underline-offset:3px}
.rf-mx tbody th small{display:block;margin-top:2px;font-size:12px;color:var(--t3)}
.rf-mx tbody tr:last-child>*{border-bottom:0}
.rf-mx .rf-off{display:inline-block;width:10px;height:1.5px;border-radius:1px;background:var(--line);vertical-align:middle}

/* ---------- a peptide's identity ---------- */
.rf-chain{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rf-aa{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:30px;padding:0 7px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);font:510 13px/1 Inter;color:var(--t1);background:#fff}
.rf-aa[data-n]::after{content:attr(data-n);position:absolute;top:-15px;left:0;right:0;text-align:center;font:400 10.5px/1 Inter;color:var(--t4)}
.rf-chain.rf-n{padding-top:14px;row-gap:22px}
.rf-term{font:510 13px/1 Inter;color:var(--t3)}
.rf-facts{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,.8fr);margin:18px 0 0;padding:0;border-top:1px solid var(--line-2)}
.rf-facts>div{min-width:0;padding:14px 12px 0 0}
.rf-facts>div+div{padding-left:14px;border-left:1px solid var(--line-2)}
.rf-facts dt{font-size:12px;line-height:1.3;color:var(--t3)}
.rf-facts dd{margin:5px 0 0;font:510 14px/1.4 Inter;color:var(--t1)}
.rf-routes{display:flex;flex-wrap:wrap;gap:8px}
.rf-rt{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 7px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--line);font:510 13px/1 Inter;color:var(--t1)}
.rf-rt.no{box-shadow:none;border:1px dashed var(--line);color:var(--t4);font-weight:400;padding:0 9px 0 6px}
.rf-lbl{margin:18px 0 10px;font:510 12px/1.2 Inter;color:var(--t3)}
.rf-lbl:first-child{margin-top:0}

/* ---------- a certificate, field by field (/peptide-policy/appendix-b) ---------- */
.rf-doc .rf-bb{padding:20px 22px 16px}
.rf-dh{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line-2)}
.rf-dh b{display:block;font:590 15px/1.3 Inter;color:var(--t1)}
.rf-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.rf-f{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 0;border-bottom:1px solid var(--line-2);font-size:12.5px;line-height:1.35;color:var(--t2)}
.rf-f.w{grid-column:1/-1}
.rf-f>span:not(.rf-mk):not(.rf-sk){flex:none}
.rf-f q{quotes:"\201C" "\201D";color:var(--t1);font-weight:510}
.rf-sk{display:inline-block;flex:0 1 var(--w,120px);width:var(--w,120px);min-width:24px;height:7px;border-radius:4px;background:rgba(11,13,18,.08)}
.rf-f .rf-sk{margin-left:auto}
.rf-mk{display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;border-radius:50%;background:var(--accent);color:#fff;font:590 10.5px/1 Inter}
.rf-tt{width:100%;margin-top:12px;border-collapse:collapse;font-size:12px;color:var(--t3)}
.rf-tt th{padding:0 0 6px;text-align:left;font-weight:510;color:var(--t2)}
.rf-tt td{padding:7px 8px 7px 0;border-top:1px solid var(--line-2)}
.rf-tt td .rf-sk{display:block}
.rf-sig{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:14px;font-size:12.5px;color:var(--t2)}
.rf-sig i{display:block;width:140px;height:22px;border-bottom:1px solid var(--t4);margin-bottom:4px}
.rf-n1{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:var(--accent);color:#fff;font:590 11px/1 Inter;vertical-align:1px}

/* ---------- the tests, per peptide ---------- */
.rf-tsum{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:22px;padding:14px 18px;border-radius:12px;background:var(--stage);font-size:14.5px;line-height:1.4;color:var(--t2)}
.rf-tsum span{display:inline-flex;align-items:center;gap:7px}
.rf-tsum b{font-weight:590;color:var(--t1)}
.rf-tg{margin-top:30px}
.rf-tg>h3{margin:0 0 8px;font:510 14px/1.3 Inter;color:var(--t1)}
.rf-tg>h3 span{margin-left:8px;font-weight:400;color:var(--t3)}
.rf-tl{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.rf-tl li{display:grid;grid-template-columns:18px minmax(0,210px) minmax(0,1fr);gap:4px 14px;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--line-2)}
.rf-tl li .rf-i{align-self:start;margin-top:2px}
.rf-tl b{font:510 14.5px/1.45 Inter;color:var(--t1)}
.rf-tl li>span{font-size:14.5px;line-height:1.55;color:var(--t2)}
.rf-tl li.no b{color:var(--t3);font-weight:400}

/* ---------- the ten conditions ---------- */
.rf-grp{margin:34px 0 0;font:510 13.5px/1.3 Inter;color:var(--t3)}
.rf-grp+.vs-acc{margin-top:10px}
.rf-acc .vs-acc-i>summary{min-height:64px;column-gap:24px}
.rf-acc .vs-acc-t{font-size:16.5px}
.rf-acc .vs-acc-t .rf-no{display:inline-block;min-width:26px;color:var(--t4);font-weight:400}
.rf-acc .vs-acc-s{font-size:14.5px}
.rf-acc .vs-acc-b{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px;padding:4px 0 28px}
.rf-acc .vs-acc-b p{margin:0}
.rf-acc .vs-acc-b small{display:block;margin-bottom:6px;font:510 12.5px/1.3 Inter;color:var(--t3)}
.rf-acc .rf-qt{color:var(--t1)!important}

/* ---------- a supply chain, a record, a file, a stack of sources ---------- */
.rf-steps{list-style:none;margin:0;padding:0}
.rf-steps>li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:0 0 18px}
.rf-steps>li:last-child{padding-bottom:0}
.rf-steps>li:not(:last-child)::before{content:"";position:absolute;left:16.5px;top:36px;bottom:2px;width:1px;background:var(--line)}
.rf-node{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line);color:var(--t2);background:#fff}
.rf-node svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.rf-steps b{display:block;padding-top:7px;font:510 14.5px/1.35 Inter;color:var(--t1)}
.rf-steps p{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--t2)}
.rf-steps small{display:inline-block;margin-top:6px;font:400 12px/1 Inter;color:var(--t3)}

.rf-rows{list-style:none;margin:0;padding:0}
.rf-rows>li{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:13.5px;line-height:1.4;color:var(--t2)}
.rf-rows>li:last-child{border-bottom:0}
.rf-rows>li>b{flex:none;min-width:0;font-weight:510;color:var(--t1)}
.rf-rows>li>.rf-sk{margin-left:auto}
.rf-rows>li>em{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--t3);text-align:right}
.rf-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--line);font:510 11.5px/1 Inter;color:var(--t2);white-space:nowrap}
.rf-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 22px}
.rf-split .rf-lbl{margin-top:0}

/* ---------- the request to a supplier ---------- */
.rf-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.rf-copy small{font-size:13px;color:var(--t3)}
.v8 .rf-copy .btn{height:36px;font-size:14px}

/* ---------- guides index: the six doors ---------- */
.rf-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:8px}
.rf-doors a{display:flex;flex-direction:column;min-height:220px;padding:22px 22px 20px;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);transition:background-color .16s var(--ease)}
.rf-doors a:hover{background:var(--stage)}
.rf-doors .rf-node{margin-bottom:22px}
.rf-doors b{font:510 17px/1.35 Inter;letter-spacing:-.008em;color:var(--t1)}
.rf-doors p{margin:8px 0 0;font-size:14.5px;line-height:1.55;color:var(--t2)}
.rf-doors small{margin-top:auto;padding-top:18px;font-size:13px;color:var(--t3)}

@media (max-width:1099px){
  .sh.rf-sh{grid-template-columns:minmax(0,1fr)}
  .rf-sh>.rf-board{margin-top:40px;max-width:620px}
  .rf-sh .sh-h1{max-width:18ch}
  .rf-doors{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:899px){
  .rf-sh>.rf-board{margin-top:32px}
  .rf-bb{padding:16px}
  .rf-mx th,.rf-mx td{padding:10px 3px}
  .rf-mx tbody th small{display:none}
  .rf-facts{grid-template-columns:1fr 1fr}
  .rf-facts>div:nth-child(3){grid-column:1/-1;padding-left:0;border-left:0;border-top:1px solid var(--line-2);margin-top:12px}
  .rf-dl{grid-template-columns:minmax(0,1fr)}
  .rf-tl li{grid-template-columns:18px minmax(0,1fr)}
  .rf-tl li>span{grid-column:2}
  .rf-acc .vs-acc-b{grid-template-columns:minmax(0,1fr);gap:16px}
  .rf-split{grid-template-columns:minmax(0,1fr)}
  .rf-split>div+div{margin-top:16px}
  .rf-doors{grid-template-columns:minmax(0,1fr)}
  .rf-doors a{min-height:0}
  .rf-copy{flex-direction:column;align-items:flex-start}
}
