/* The "Why Peak Protocol Rx" comparison chart (web/lib/compare.php): 1 chart for the home page and every treatment page.
   Self-contained, so a page needs only this file for the chart. The class names are the ones the treatment pages use
   (tsell.css has had the same chart rules since November 22, 2026); the values here match them, so loading both is harmless. */

.ts-cmp{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(1100px 620px at 12% 0%,rgba(47,68,104,.9),transparent 60%),radial-gradient(900px 560px at 100% 100%,rgba(200,241,105,.12),transparent 60%),var(--ink);color:var(--on-dark);padding-block:clamp(64px,8vw,112px)}
.ts-cmp :focus-visible{outline-color:var(--citron)}
.ts-cmp .ts-k{font-family:var(--fm);font-size:13px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--citron);display:block}
.ts-cmp .head .h2{color:#fff}
.ts-cmp .ts-glass{background:rgba(15,26,46,.52);border:1px solid var(--glass-line);border-radius:var(--r-lg);-webkit-backdrop-filter:blur(22px) saturate(1.25);backdrop-filter:blur(22px) saturate(1.25);color:#fff;box-shadow:0 24px 60px rgba(4,10,22,.34)}
.ts-table{padding:0 clamp(10px,1.6vw,24px) clamp(10px,1.6vw,24px);overflow:hidden}
.ts-tr{display:grid;grid-template-columns:minmax(0,2.2fr) repeat(3,minmax(0,1fr));align-items:stretch;border-top:1px solid rgba(255,255,255,.14)}
.ts-head{border-top:0;position:sticky;top:0}
.ts-th{padding:17px 12px 17px 8px;font-size:17px;line-height:1.35;display:flex;align-items:center}
/* A row label with a smaller second line in the same box (the owner, November 23, 2026: 15, 1 step above the first mock-up's 14) */
.ts-th2{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}
.ts-th2 small{font-size:15px;line-height:1.35;font-weight:400;color:var(--on-dark2)}
.ts-td{padding:13px 8px;display:grid;justify-items:center;align-content:center;gap:5px;text-align:center}
.ts-td small{font-size:12.5px;line-height:1.25;color:var(--on-dark2)}
.ts-td.me{background:rgba(200,241,105,.1);border-inline:1px solid rgba(200,241,105,.55)}
.ts-head .ts-td{font-size:16px;font-weight:500;padding-block:22px;line-height:1.25;color:rgba(245,245,242,.9)}
.ts-head .ts-td.me{color:var(--citron);font-size:18px;border-top:1px solid rgba(200,241,105,.55);border-radius:16px 16px 0 0;margin-top:14px}
.ts-tr:last-child .ts-td.me{border-bottom:1px solid rgba(200,241,105,.55);border-radius:0 0 16px 16px}
.ts-ic{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:15px;line-height:1}
.ts-td.y .ts-ic{background:var(--citron);color:var(--ink)}
.ts-td.n .ts-ic{background:rgba(255,128,116,.2);color:#FF9E94}
.ts-td.v .ts-ic{border:1px solid rgba(255,255,255,.34);color:var(--on-dark2)}
.ts-cmp .ts-fine{font-size:13px;line-height:1.5;color:var(--on-dark2);margin:18px 0 0;max-width:86ch}

@media (max-width:640px){
  .ts-tr{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ts-th{grid-column:1/-1;padding:16px 4px 2px;font-size:16.5px;font-weight:500}
  .ts-th br{display:none}   /* a forced break leaves 1 word alone on a line at phone width; let the label wrap by itself */
  .ts-head .ts-th{display:none}
  .ts-head .ts-td{font-size:13.5px;padding:14px 4px}
  .ts-head .ts-td.me{font-size:14.5px}
  .ts-td{padding:10px 4px 14px}
  .ts-td.me{border-inline:0;background:none}
  .ts-head .ts-td.me,.ts-tr:last-child .ts-td.me{border:0;margin:0}
  .ts-table{padding-inline:12px}
}

/* Added by the Build continuation session, November 23, 2026: on an upright tablet the label column is narrow, and the forced
   break left the word "fees" alone on a line. Below 1100 px the label wraps by itself, as it does on a phone. */
@media (max-width:1100px){.ts-th br{display:none}}
