/* glp1comparisonchart.com site styles, loaded AFTER app-shell.css (the shared app shell: header, tab bar, grouped rows,
   tables). This file holds what is specific to this site: the approved "A1 raised keys" look (Ken 2026-10-06, source of
   truth mockups/make_glp1c2.py): sage :root tokens, the header (pill nav from 768 px, page and header 680 px wide), the
   compare tool (raised keys, floating header cards, six folding sections, compound colors), plus one-line H1 sizes, label
   quote tables, the share row and the embed page. No inline styles anywhere (strict CSP): colors come from classes. */

/* A1 palette (sage), overrides the shell tokens */
:root{--bg:#F3F1EA;--card:#FFFFFF;--ink:#1E2420;--soft:#5C655F;--line:#E2DED2;--line2:#CFC9BA;--acc:#3F6B5A;--acc-dk:#2C4F41;
--acc-tint:#E3ECE6;--tint:#F7F5EF;--gold:#C29A52}

/* header: sticky; from 768 px the nav is a pill with icons inside the header; page and header 680 px wide */
.app-head{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}
.brand{font-weight:800;letter-spacing:-.01em}
#main>.wrap{padding-top:10px}
.tabs{background:rgba(255,255,255,.97)}
.tab[aria-current]{color:var(--acc)}
@media (min-width:768px){
.wrap,.app-head-in{max-width:680px}
.app-head{background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.app-head .tabs{gap:2px;padding:3px;border-radius:99px;background:color-mix(in srgb,var(--acc) 8%,#fff);border:1px solid var(--line)}
.app-head .tab{gap:6px;min-height:32px;padding:0 12px;border-radius:99px;font-size:13px;font-weight:650;color:var(--soft)}
.app-head .tab svg{display:block;width:16px;height:16px;stroke-width:1.8}
.app-head .tab[aria-current]{background:#fff;color:var(--acc);box-shadow:0 1px 3px rgba(0,0,0,.1)}
}

/* ---------------------------------------------------------------- compare tool (A1) */
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cx-gdefs{position:absolute;width:0;height:0;overflow:hidden}
.cx-art{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 6px rgba(20,40,30,.18))}
.cx-art2{display:grid;grid-template-columns:2fr 1fr;gap:4px;align-items:center}
.cx-art1{display:block;width:62%;margin:0 auto}
.c-sema{--c:#3F7A5E}.c-tirz{--c:#B0632E}.c-orfo{--c:#7A5BA6}.c-lira{--c:#3D74A8}.c-dula{--c:#A84E6A}.c-exen{--c:#7A7340}.c-ins{--c:#5A6488}
.n1{--n:1}.n2{--n:2}.n3{--n:3}
/* the 12 raised keys: 4 per row on phones, 6 from 768 px; a grid, so the rows never scroll sideways */
.cx-pick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 14px}
@media (min-width:768px){.cx-pick{grid-template-columns:repeat(6,minmax(0,1fr))}}
.cx-key{position:relative;min-width:0;border:0;border-radius:14px;padding:8px 4px 7px;cursor:pointer;font-family:inherit;font-weight:700;font-size:12px;line-height:1.25;color:var(--ink);
background:linear-gradient(180deg,#fff,#F4F2EC);box-shadow:0 1px 0 #fff inset,0 4px 0 #D8D3C4,0 8px 14px rgba(40,40,20,.10);transition:transform .12s,box-shadow .12s}
.cx-key:active{transform:translateY(3px);box-shadow:0 1px 0 #fff inset,0 1px 0 #D8D3C4,0 3px 6px rgba(40,40,20,.10)}
.cx-mini{width:52px;max-width:100%;height:24px;margin:0 auto 3px;display:flex;align-items:center}
.cx-mini>*{width:100%}
.cx-kn{display:block;overflow-wrap:anywhere}
.cx-key small{display:block;font-size:10px;font-weight:500;color:var(--soft);overflow-wrap:anywhere}
.cx-key.on{color:#fff;transform:translateY(3px);background:linear-gradient(180deg,color-mix(in srgb,var(--c) 80%,#fff),color-mix(in srgb,var(--c) 88%,#000));
box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 1px 0 color-mix(in srgb,var(--c) 60%,#000),0 4px 10px color-mix(in srgb,var(--c) 40%,transparent)}
.cx-key.on .cx-mini{background:rgba(255,255,255,.85);border-radius:8px;padding:0 3px}
.cx-key.on small{color:rgba(255,255,255,.86)}
.cx-n{position:absolute;top:-6px;right:-1px;width:20px;height:20px;border-radius:99px;background:#fff;color:var(--c);border:2px solid var(--c);font-weight:800;font-size:11px;
display:grid;place-items:center;box-shadow:0 2px 5px rgba(0,0,0,.2);animation:cxpop .3s}
/* floating header cards, one per pick, with the list price per month */
.cx-heads{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:8px;position:sticky;top:53px;z-index:3;padding:8px 0;background:linear-gradient(var(--bg) 85%,transparent)}
.cx-hc{min-width:0;text-align:center;border-radius:16px;padding:8px 8px 9px;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 14%,#fff),color-mix(in srgb,var(--c) 26%,#fff));
box-shadow:0 1px 0 #fff inset,0 10px 22px color-mix(in srgb,var(--c) 28%,transparent),0 3px 0 color-mix(in srgb,var(--c) 45%,#fff);animation:cxpop .4s both}
.cx-aw{display:block;width:78%;max-width:120px;margin:0 auto}
.cx-hc b{display:block;font-size:14.5px;line-height:1.2;margin-top:4px;color:color-mix(in srgb,var(--c) 85%,#000);overflow-wrap:anywhere}
.cx-hc span{font-size:11px;color:color-mix(in srgb,var(--c) 45%,#555)}
.cx-hc .cx-pr{display:block;margin-top:3px;font-size:12px;font-weight:800;color:var(--ink)}
/* six folding sections with an "N of M differ" count */
.cx-sec{margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 1px 0 #fff inset,0 12px 26px rgba(30,45,35,.07)}
.cx-sec>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:13px 14px;cursor:pointer}
.cx-sec>summary::-webkit-details-marker{display:none}
.cx-sec>summary h2{margin:0;flex:1;min-width:0;font-size:15px;line-height:1.25;font-weight:800;letter-spacing:0}
.cx-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(180deg,#fff,var(--acc-tint));
box-shadow:0 2px 0 #cfdcd4,0 4px 8px rgba(30,60,45,.12);color:var(--acc);font-size:15px;font-weight:800}
.ic-basics::before{content:"i"}.ic-cost::before{content:"$"}.ic-uses::before{content:"\2713"}.ic-taking::before{content:"\25F7"}.ic-safety::before{content:"!"}.ic-label::before{content:"\A7"}
.cx-df{flex:none;white-space:nowrap;font-size:11.5px;font-weight:700;color:var(--acc);background:var(--acc-tint);border-radius:99px;padding:3px 8px}
.cx-chev{flex:none;width:18px;height:18px;transition:transform .25s;stroke:var(--soft);fill:none;stroke-width:2}
.cx-sec[open]>summary .cx-chev{transform:rotate(180deg)}
.cx-row{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));column-gap:6px;padding:0 6px;border-top:1px solid var(--line)}
.cx-k{grid-column:1/-1;padding:10px 6px 5px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#141A16}
.cx-v{min-width:0;padding:8px 8px 9px;margin-bottom:8px;border-radius:10px;font-size:13px;line-height:1.38;font-weight:550;overflow-wrap:break-word;hyphens:manual;animation:cxup .35s both;
color:color-mix(in srgb,var(--c) 45%,#16201B);background:linear-gradient(180deg,color-mix(in srgb,var(--c) 13%,#fff),color-mix(in srgb,var(--c) 7%,#fff));
box-shadow:0 1px 0 #fff inset,0 0 0 1px color-mix(in srgb,var(--c) 16%,transparent)}
.cx-v:nth-child(3){animation-delay:40ms}.cx-v:nth-child(4){animation-delay:80ms}
.cx-v b{color:color-mix(in srgb,var(--c) 70%,#111)}
.cx-v a{color:color-mix(in srgb,var(--c) 80%,#111)}
.cx-v small{display:block;margin-top:3px;font-size:11px;line-height:1.35;font-weight:500;color:color-mix(in srgb,var(--c) 35%,#5E645F)}
.cx-v q{quotes:"\201C" "\201D"}
.cx-v.big{font-size:16px;font-weight:800;letter-spacing:-.01em;color:color-mix(in srgb,var(--c) 80%,#111)}
.cx-v details{margin-top:4px;font-size:12px;font-weight:500}
.cx-v summary{cursor:pointer;display:inline-block;list-style:none;padding:2px 8px;border-radius:99px;font-weight:750;font-size:11.5px;color:color-mix(in srgb,var(--c) 85%,#000);
background:rgba(255,255,255,.75);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.cx-v summary::-webkit-details-marker{display:none}
.cx-v details[open] summary{margin-bottom:4px}
.cx-v.pend,.cx-pend{color:#8A918C;font-weight:500;font-style:italic}
.cx-na{opacity:.6}
.cx-yes{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:99px;color:#fff;font-size:12px;
background:linear-gradient(180deg,color-mix(in srgb,var(--c) 75%,#fff),color-mix(in srgb,var(--c) 85%,#000));box-shadow:0 2px 4px rgba(30,60,45,.3)}
.cx-no{display:inline-block;width:8px;height:8px;margin:7px;border-radius:99px;background:color-mix(in srgb,var(--c) 25%,#fff)}
.cx-note{margin:0;padding:2px 12px 12px;font-size:11.5px;line-height:1.4;font-style:italic;font-weight:400;color:var(--soft)}
.cx .ecp-block{margin-top:12px}
/* "All 12 at a glance" (Ken 2026-10-06, mockups/glp1c-a1-all12-*.html): a native <details>, closed at every width, same
   raised header as the six sections; inside, a real table that fits 320 px with no sideways scroll (fixed 31/21/48 layout) */
.cx-all{margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 1px 0 #fff inset,0 12px 26px rgba(30,45,35,.07)}
.cx-all>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:13px 14px;cursor:pointer}
.cx-all>summary::-webkit-details-marker{display:none}
.cx-all>summary h2{margin:0;flex:1;min-width:0;font-size:15px;line-height:1.25;font-weight:800;letter-spacing:0}
.ic-all::before{content:"\25A6"}
.cx-hint{flex:none;font-size:12px;color:var(--soft)}
.cx-all[open] .cx-hint{display:none}
.cx-all table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.35}
.cx-all col.w1{width:31%}.cx-all col.w2{width:21%}.cx-all col.w3{width:48%}
.cx-all th,.cx-all td{padding:7px 6px;border:0;border-top:1px solid #EEEAE0;vertical-align:top;text-align:left;overflow-wrap:break-word;hyphens:auto;color:var(--ink);background:none}
.cx-all th:first-child,.cx-all td:first-child{padding-left:10px}
.cx-all thead th{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#141A16;background:#FAF8F3}
.cx-all tbody th[scope=row]{font-size:12.5px;font-weight:800;color:color-mix(in srgb,var(--c) 80%,#000)}
.cx-all tbody th i{display:inline-block;width:8px;height:8px;border-radius:3px;background:var(--c);margin-right:5px}
.cx-all small{display:block;margin-top:2px;font-size:11px;font-weight:500;color:var(--soft)}
.cx-all td:last-child small{display:inline;margin:0}
@media (min-width:480px){.cx-all table{font-size:13px}.cx-all th,.cx-all td{padding:8px 10px}.cx-all th:first-child,.cx-all td:first-child{padding-left:14px}}
@keyframes cxup{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes cxpop{0%{transform:scale(.85) translateY(8px);opacity:0}60%{transform:scale(1.04)}100%{transform:none;opacity:1}}


/* H1 on one line on phones: sized from the heading's length (class set by build.py, FIT_LENGTHS 10 to 34) */
h1.fit{white-space:nowrap}
h1.fit10{font-size:min(28px,calc((100vw - 34px) / 6.0))}
h1.fit11{font-size:min(28px,calc((100vw - 34px) / 6.6))}
h1.fit12{font-size:min(28px,calc((100vw - 34px) / 7.2))}
h1.fit13{font-size:min(28px,calc((100vw - 34px) / 7.8))}
h1.fit14{font-size:min(28px,calc((100vw - 34px) / 8.4))}
h1.fit15{font-size:min(28px,calc((100vw - 34px) / 9.0))}
h1.fit16{font-size:min(28px,calc((100vw - 34px) / 9.6))}
h1.fit17{font-size:min(28px,calc((100vw - 34px) / 10.2))}
h1.fit18{font-size:min(28px,calc((100vw - 34px) / 10.8))}
h1.fit19{font-size:min(28px,calc((100vw - 34px) / 11.4))}
h1.fit20{font-size:min(28px,calc((100vw - 34px) / 12.0))}
h1.fit21{font-size:min(28px,calc((100vw - 34px) / 12.6))}
h1.fit22{font-size:min(28px,calc((100vw - 34px) / 13.2))}
h1.fit23{font-size:min(28px,calc((100vw - 34px) / 13.8))}
h1.fit24{font-size:min(28px,calc((100vw - 34px) / 14.4))}
h1.fit25{font-size:min(28px,calc((100vw - 34px) / 15.0))}
h1.fit26{font-size:min(28px,calc((100vw - 34px) / 15.6))}
h1.fit27{font-size:min(28px,calc((100vw - 34px) / 16.2))}
h1.fit28{font-size:min(28px,calc((100vw - 34px) / 16.8))}
h1.fit29{font-size:min(28px,calc((100vw - 34px) / 17.4))}
h1.fit30{font-size:min(28px,calc((100vw - 34px) / 18.0))}
h1.fit31{font-size:min(28px,calc((100vw - 34px) / 18.6))}
h1.fit32{font-size:min(28px,calc((100vw - 34px) / 19.2))}
h1.fit33{font-size:min(28px,calc((100vw - 34px) / 19.8))}
h1.fit34{font-size:min(28px,calc((100vw - 34px) / 20.4))}

/* Share, Embed, Cite, Prefer: four equal app action buttons on one row */
.ecp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}
.ecp-solo{margin:10px 0 0}
.pill{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 2px;font-size:12px;font-weight:600;
color:var(--soft);background:var(--tint);border:0;border-radius:var(--r-s);text-decoration:none}
.pill:hover,.pill[aria-expanded=true]{color:var(--acc);background:var(--acc-tint)}
.pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.panel{margin-top:8px}
.panel p{margin:0 0 6px;font-size:13px;color:var(--soft)}
.panel textarea{width:100%;font:13px/1.4 ui-monospace,Menlo,monospace;border:1px solid var(--line);border-radius:8px;padding:8px;resize:vertical;background:#fff}
.copy{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--acc);background:#fff;color:var(--acc);font-weight:600;font-size:15px;margin-top:6px}
.copy.ok{background:var(--ok);border-color:var(--ok);color:#fff}
.noscript{font-size:14px;color:var(--warn-ink)}

/* tab and link row icons added by this site (pill, list, versus, table) use the shell's stroke style */
.lrow>svg:first-child{stroke:var(--acc)}

tbody th{text-align:left;font-weight:600}
tbody th[scope=row]{font-size:13px;color:var(--ink);background:var(--card)}
.tag{display:block;font-size:11px;font-weight:600;color:var(--warn-ink)}

/* side by side label facts (compare tool and the vs pages) */
table.side{font-size:13px;table-layout:fixed;min-width:0}
.table-scroll table.side th:first-child{width:84px;white-space:normal;position:static;box-shadow:none;overflow-wrap:anywhere}
table.side td,table.side th{white-space:normal;padding:6px 6px;overflow-wrap:break-word;hyphens:auto}
@media (min-width:480px){.table-scroll table.side th:first-child{width:120px}}
table.side thead th{font-size:13px;color:var(--ink)}
.uses{margin:0;padding-left:16px}
.uses li{margin:0 0 6px}
q.lq{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:var(--soft);quotes:"\201C" "\201D"}
td q.lq{font-style:normal}
table.mech td:nth-child(n+3){min-width:240px;white-space:normal}

table.kv{table-layout:fixed}
.table-scroll table.kv th:first-child{width:38%;white-space:normal;position:static;box-shadow:none}
table.kv td{overflow-wrap:anywhere}

/* FAQ answers and sources inside rows */
.faq-a p{color:var(--soft)}
.sources ol{font-size:14px;color:var(--soft)}

/* embed: tool only, no shell */
body.embed{background:transparent}
body.embed .wrap{padding:8px;max-width:760px}
.embed-foot{font-size:12px;color:var(--soft);margin:8px 0 0}

@media print{.ecp,.panel,.related,.cx-pick,.cx-gdefs{display:none!important}.card{box-shadow:none}a{color:inherit}
.cx-heads{position:static}.table-scroll{overflow:visible}}
