/* v12_framed: reviewed design fixes, 2026-12-01. Loaded LAST on every page.
   Source: tools/fix12.css (tools/build_framed.py copies it next to the pages). the other stylesheets stay as they are in v9/v10. CSS only, no new graphs. */

/* ---- A · the ad example: one sentence headline that wraps on its own */
.adm .n.one{font:300 clamp(30px,8.6vw,46px)/1.08 var(--sans);letter-spacing:-.02em;color:var(--pink);margin:0 0 22px;max-width:15em;text-wrap:balance}
.adm .pl{align-items:baseline}
.adm .pl b{text-align:center;text-wrap:balance}
.adm .pl span{flex:none}

/* ---- B · small text: labels, panel headings and source lines are at least 12 px */
.lab,.chain .who,.week li span:first-child,.report .score small,.fit h3,.cmp .l,.cht .l,.lmf-k,.filmobj .t,.lk-no,.lk-more dt,
.proofstrip .lab,.yr .mo,.arc-top span,.arc-key span,.arc-all b,.arc-rows .mo,.arc-pre b,
.stu .k,.stu .h,.wk .k,.xls .ct,.xls .h,.ysr .ct{font-size:12px}
.arc-key span{letter-spacing:.06em;white-space:nowrap;padding-right:0}
.arc-top span{letter-spacing:.1em}
.tag,.wk .tg,.ysr .tg,.xls th{font-size:12px}
.wk .tg{letter-spacing:.05em;display:table;margin:0 0 5px}
.ysr .rk,.ysr .ch,.ysr .vw{font-size:12px}
.ysr .th b{font-size:12px}
.stu .src,.wk .src,.xls .cp,.ysr .cp,.chart .cp{font-size:13px;line-height:1.45}
.menu-btn span{font-size:12px}

/* text inside the charts: the size is in drawing units, so it shrinks with a narrow phone. Raised so it lands on
   12 px on a 390 px screen (retention labels) and 11 px for the month letters. */
.stu svg{box-sizing:border-box;padding-left:10px}
.stu svg text,.stu svg .sm,.stu svg .hi{font-size:14.2px}
.xls svg .m{font-size:11px}
.xls svg .big{font-size:12px}
.chart svg .m{font-size:13px}
.chart svg .sm{font-size:14px}
.cht svg text[font-size="10"]{font-size:12.2px}
@media (min-width:900px){
  .stu svg{padding-left:0}
  .stu svg text,.stu svg .sm,.stu svg .hi{font-size:12px}
  .chart svg .m,.chart svg .sm{font-size:12px}
}

/* contrast: every small grey reaches 4.5:1 on its own background */
.wk .k,.wk .src,.xls .ct,.xls .h,.xls .cp,.ideas .flow .wk .k,.ideas .flow .wk .src{color:#625d54}
.xls svg .big{fill:#b3147a}
.yt-line span{color:#9a9a9a}
.ysr .rk{color:#9a9a9a}
.ysr .me .rk{color:#ff66cc}

/* ---- C · the three Analytics figures: three even columns, the unit right under its number */
.stu .g{display:flex;justify-content:space-between;align-items:flex-start;gap:10px 12px}
.stu .g>div,.stu .g>div:last-child:nth-child(odd){flex:0 1 auto;width:min-content;min-width:0}
.stu .g b{font-size:clamp(17px,5.2vw,30px);white-space:nowrap;line-height:1.05}
.stu .g span{display:block;margin-top:4px}
@media (min-width:900px){.stu .g{justify-content:flex-start;gap:10px 44px}}

/* ---- D · tap targets: 44 px tall hit areas, the text stays where it was */
.yt-line a{min-height:44px;margin:-6px 0}
.more,.beat .more{padding:11px 0;margin-bottom:-11px}
.more{margin-top:11px}
.beat .more{margin-top:7px}
.ideas .go{display:inline-block;padding:13px 0;margin:-13px 0}
.bridge a{display:inline-block;padding:11px 0;margin:-11px 0}
.arc-rows details.more summary,.steps details.more summary{display:inline-block;padding:12px 0;margin:-12px 0}
footer.foot a{display:inline-block;padding:16px 0;margin:-16px 0}
.lmf-x{min-height:44px}
.mark.caps a{display:inline-block;padding:14px 0;margin:-14px 0}
a.back,p.fine a{display:inline-block;padding:14px 0;margin:-14px 0}
/* ladder step-up note (Labbet price block) */
.price .up{margin-top:10px;font-size:15px;line-height:1.5;opacity:.85}
/* arc = example, not a package (12-02 comment) */
.arc-ex{margin:0 0 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.75}

/* 12-02: price block reads as an example, not a rigid list */
.arc-ex2{margin:28px 0 8px;display:grid;gap:14px;max-width:62ch}
.arc-ex2 p{margin:0}
.arc-ex2 .arc-small{opacity:.78;font-size:.95em}
