/* v2 (Adam, 28 Oct 2026): contact inside the ID card + grouped always-on guide, About "photo left" with a sketch dog on the box,
   roomier score block with list-row chips, puppy-in-the-bag on the score card. Body class .v2 (v2_pass.py). */

/* ---- layout ---- */
body.v2 .id-body { gap: 14px; padding: 18px; }
body.v2 .id-contact { display: grid; gap: 8px; }
body.v2 .ic-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }
body.v2 .id-contact .socials { gap: 6px; }
body.v2 .id-contact .socials a, body.v2 .id-contact .socials img { width: 28px; height: 28px; }
body.v2 .id-contact .cbox { padding: 4px 10px; }
body.v2 .id-contact .cbox .r { padding: 7px 0; }
body.v2 .id-contact .cbox .r:first-child { padding-top: 7px; }
body.v2 .id-contact .cbox .r:last-child { padding-bottom: 7px; }
@media (min-width: 1081px) {
  body.v2.bf .b-side { grid-template-rows: auto 1fr; }
  body.v2.bf .side-follow, body.v2.bf .side-follow.on { opacity: 1; visibility: visible; transform: none; }
  body.v2 .side-follow .fol { display: none; }
}
@media (min-width: 1081px) and (min-height: 801px) {
  body.v2 .btabs { display: none; }
  body.v2 .pg-gh { padding: 10px 10px 2px; font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-faint); }
  body.v2 .pg-gh:first-child { padding-top: 2px; }
  body.v2 .pg-list a { padding-top: 4px; padding-bottom: 4px; }
  body.v2 .pg-list a.on .pg-t small { max-height: 0; opacity: 0; }
  body.v2 .pg-cta { display: none; gap: 8px; padding-top: 12px; border-top: 1px solid var(--b-line); }
  body.v2 .side-follow.on .pg-cta { display: grid; }
  body.v2 .pg-cta .acts { display: flex; gap: 8px; align-items: stretch; }
  body.v2 .pg-cta .acts .bbtn.red { flex: 1; }
  body.v2 .pg-cta .acts .row { display: flex; gap: 8px; }
  body.v2 .pg-cta .bbtn { height: 40px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 1080px), (max-height: 800px) { body.v2 .pg-cta { display: none; } }

/* ---- About: photo left, white card, sketch dog sitting on the checked box ---- */
body.v2.bf.look .bcard.abn { background: #fff; border-color: var(--b-line-2); box-shadow: 0 24px 60px rgba(0,0,0,.30); padding: 30px 34px; }
body.v2.look .abn .eyebrow { color: var(--red); font-size: 12px; letter-spacing: .08em; }
body.v2.look .abn .h2 { color: var(--navy); max-width: none; padding-top: 0; margin-top: 6px; font-size: 28px; line-height: 34px; }
body.v2.look .abn .ab-q { color: #3A4A6B; margin: 14px 0 16px; font-size: 15.5px; line-height: 24px; max-width: 470px; }
body.v2.look .abn .ab-by b { color: var(--navy); }
body.v2.look .abn .ab-by small { color: #6B7690; }
body.v2.look .abn .ab-av { background: #E8EDF7; color: var(--navy); }
body.v2.look .ab-by { display: flex; max-width: 470px; padding-top: 14px; border-top: 1px solid #E6EAF2; }
body.v2.look .ab-nine { grid-template-columns: 262px minmax(0, 1fr); gap: 40px; align-items: center; position: relative; }
body.v2.look .ab-tilt { order: -1; height: 272px; min-height: 0; margin: 0; padding: 0; position: relative; border-radius: 18px; transform: none; box-shadow: none; background: transparent; overflow: hidden; }
body.v2.look .ab-tilt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; border-radius: 0 0 18px 18px; }
body.v2.look .ab-sumd { position: relative; margin-top: 26px; padding: 20px 24px 22px; gap: 8px; border-radius: 14px; background: #F4F6FA; }
body.v2.look .ab-sumd p:not(.source) { font-size: 14.5px; line-height: 23px; max-width: 760px; }
body.v2.look .ab-dog { position: absolute; right: 26px; bottom: calc(100% - 3px); z-index: 2; width: 92px; height: auto; transform: scaleX(-1); pointer-events: none; }
@media (max-width: 760px) {
  body.v2.bf.look .bcard.abn { padding: 20px 18px; }
  body.v2.look .ab-nine { grid-template-columns: 1fr; gap: 18px; }
  body.v2.look .ab-tilt { height: 230px; }
  body.v2.look .abn .h2 { font-size: 24px; line-height: 30px; }
  body.v2.look .ab-dog { display: none; }
}

/* ---- ID card: score box + chips ---- */
body.v2 .pcard.id .id-block { gap: 14px; }
body.v2 .pcard.id .sbox { border-radius: 14px; background: #fff; border: 1px solid var(--b-line); box-shadow: 0 1px 0 rgba(16,42,67,.03); }
body.v2 .pcard.id .sbox .top { padding: 16px 14px 16px 18px; gap: 12px; }
body.v2 .pcard.id .sbox .who { gap: 16px; }
body.v2 .pcard.id .sbox .score { --size: 64px; flex: none; }
body.v2 .pcard.id .sbox .score b { font-size: 19px; }
body.v2 .pcard.id .sbox .lbl { gap: 5px; }
body.v2 .pcard.id .sbox .lbl small { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
body.v2 .pcard.id .sbox .lbl strong { font-size: 19px; line-height: 22px; }
body.v2 .pcard.id .sbox .lbl span { font-size: 12.5px; line-height: 16px; color: var(--b-muted); }
body.v2 .pcard.id .sbox .more { padding: 0 18px 16px; }
body.v2 .pcard.id .brow { display: grid; gap: 0; border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; background: #fff; }
body.v2 .pcard.id .brow .bpill { height: 40px; padding: 0 16px; border: 0; border-radius: 0; background: transparent; font-size: 13.5px; gap: 10px; border-top: 1px solid var(--b-line); }
body.v2 .pcard.id .brow .bpill:first-child { border-top: 0; }
body.v2 .pcard.id .brow .bpill.ok { background: #EBF5EF; padding-left: 14px; }
body.v2 .pcard.id .brow .bpill.ok i { width: 18px; height: 18px; }
body.v2 .pcard.id .brow .bpill.ok i svg { width: 12px; height: 12px; }
body.v2 .pcard.id .brow .bpill svg { width: 18px; height: 18px; flex: none; }
body.v2 a.bpill { color: inherit; text-decoration: none; }
body.v2 a.bpill:hover { text-decoration: underline; text-underline-offset: 3px; }
body.v2 .rec:target { outline: 2px solid var(--b-green); outline-offset: 4px; border-radius: 10px; }

/* ---- score card drawing ---- */
body.v2 .sc .dog.vet { left: 26px; bottom: 24px; width: auto; height: auto; max-width: 136px; max-height: 118px; }
body.v2 .pcard.id .brow .bpill .lno { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--b-mute, #5C6B80); background: #F4F6FA; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
body.v2 .pcard.id .brow .bpill.lic { gap: 0; }
body.v2 .pcard.id .brow .bpill.lic > a:first-child { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
body.v2 .pcard.id .brow .bpill.lic > a:first-child:hover { text-decoration: underline; text-underline-offset: 3px; }
body.v2 .pcard.id .brow a.lno { color: var(--b-mute, #5C6B80); text-decoration: none; }
body.v2 .pcard.id .brow a.lno:hover { background: #E6EBF3; color: #1B2A4A; }
body.v2.look .ab-dog.nf { transform: none; width: auto; height: auto; max-height: 112px; max-width: 150px; }

/* 05 Nov 2026 audit fixes: floating "On this page" card stays inside its column; disclaimer readable on navy */
@media (min-width: 1081px) and (min-height: 801px) {
  body.v2 .pg-cta .acts { display: grid; grid-template-columns: minmax(0, 1fr); }
  body.v2 .pg-cta .acts .row { min-width: 0; }
  body.v2 .pg-cta .acts .row .bbtn { flex: 1; min-width: 0; justify-content: center; }
  body.v2 .pg-cta .acts .bbtn.red { justify-content: center; white-space: nowrap; }
  body.v2 .pg-cta .own-link { display: none; }
}
body.bf[class*="dogbg-"] .foot-note { color: rgba(255, 255, 255, .7); border-top-color: rgba(255, 255, 255, .18); }
/* night-audit r2 r2-stress-01: at <=360px the licence chip "USDA licence on file · 32-A-XXXX" was clipped by .brow overflow:hidden because .bpill is white-space:nowrap. Let the chip wrap at narrow widths so the full licence number shows; 375/1280 unchanged, short chips (vet "Listed") keep their 40px single line via min-height. */
@media (max-width: 360px) {
  body.v2 .pcard.id .brow .bpill { white-space: normal; height: auto; min-height: 40px; padding-top: 9px; padding-bottom: 9px; line-height: 1.2; }
}
