/* CREATE MORE insight post (.pg-cm). Mobile-first. Tokens come from public.css (--p-*). */
.pg-cm{--cm-s1:#6D28D9;--cm-s2:#D97706;--cm-s3:#0284C7;--cm-s4:#BE123C;--cm-grid:rgba(27,27,47,.12)}
html[data-theme="dark"] .pg-cm{--cm-s1:#9085E9;--cm-s2:#D95926;--cm-s3:#3987E5;--cm-s4:#D55181;--cm-grid:rgba(255,255,255,.14)}
.pg-cm{overflow-x:clip}
.cm-post{display:block}
.cm-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* hero */
.cm-hero{padding:28px 0 20px}
.cm-hero-grid{display:grid;gap:20px}
.cm-hero h1{font-size:clamp(28px,6.4vw,50px);line-height:1.08;margin:0 0 14px}
.cm-lede{font-size:17px;color:var(--p-soft);margin:0 0 12px;max-width:60ch}
.cm-meta{font-size:13.5px;color:var(--p-mute);margin:0 0 18px}
.cm-cta{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.cm-cta .btn-pub{flex:1 1 200px}
.crumb{margin:0 0 14px;font-size:14px}
.cm-hero-ph{margin:0}
.cm-hero-ph img{aspect-ratio:3/2;object-fit:cover}
@media (min-width:1024px){.cm-hero{padding:48px 0 28px}.cm-hero-grid{grid-template-columns:1.1fr 1fr;align-items:center;gap:40px}.cm-cta .btn-pub{flex:0 0 auto}}

.cm-secnav{top:var(--hdr)}
.cm-secnav .sec-nav-in{padding:6px 12px}
.cm-secnav a{min-height:44px;display:inline-flex;align-items:center}

/* sections: plain blocks (no content-visibility, charts need real size) */
.cm-body{padding-bottom:70px}
.cm-sec{padding:44px 0 8px;position:relative;content-visibility:visible!important}
.cm-sec h3{font-size:20px;margin:30px 0 12px}
.cm-sec h4{font-size:17px;margin:0 0 6px}
.cm-sec .sec-head{margin-bottom:20px}
.cm-sec p,.cm-sec li{line-height:1.6}
.cm-note{font-size:14px;color:var(--p-mute);margin:10px 0}
.cm-list{padding-left:20px;margin:10px 0}
.cm-list li{margin:6px 0}
.cm-refs{font-size:11px;margin-left:2px}
.cm-refs a{padding:0 1px}
.cm-badge{display:inline-block;padding:2px 10px;border-radius:99px;background:var(--p-chip-bg);color:var(--p-head);font:600 13px/1.6 var(--font);border:1px solid var(--p-line)}
.cm-br-ncr{border-color:var(--cm-s4)}.cm-br-metro{border-color:var(--cm-s3)}.cm-br-other{border-color:var(--cm-s1)}

/* cards */
.cm-cards3,.cm-cards2,.cm-hot,.cm-photos3{display:grid;gap:14px}
.cm-card,.cm-hotcard,.cm-tldr{background:var(--p-card);border:1px solid var(--p-line);border-radius:16px;padding:16px;box-shadow:var(--p-shadow)}
.cm-card p{margin:6px 0}
.cm-card ul{padding-left:18px;margin:6px 0}
.cm-card-deck{border-style:dashed}
.cm-hotcard figure.ph{margin:-16px -16px 12px}
.cm-hotcard figure.ph img{border-radius:16px 16px 0 0;aspect-ratio:3/2;object-fit:cover}
.cm-hotcard figure.ph figcaption{padding:0 16px;font-size:12px}
.cm-hotcard h4{margin-top:4px}
.cm-hotmeta{margin:4px 0 8px}
.cm-photos3{margin-top:18px}
.cm-photos3 figure.ph img{aspect-ratio:3/2;object-fit:cover}
@media (min-width:640px){.cm-cards3,.cm-hot,.cm-photos3{grid-template-columns:1fr 1fr}.cm-cards2{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.cm-cards3,.cm-photos3{grid-template-columns:repeat(3,1fr)}.cm-hot{grid-template-columns:repeat(3,1fr)}}
.cm-tldr-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cm-tldr-list li{padding:10px 0;border-bottom:1px solid var(--p-line)}
.cm-tldr-list li:last-child{border:0}
.cm-tldr-list b{font:700 20px/1.2 var(--display);color:var(--p-head);margin-right:6px}
.cm-legend{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}

/* steps */
.cm-steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:14px}
.cm-steps li{counter-increment:s;background:var(--p-card);border:1px solid var(--p-line);border-radius:16px;padding:16px 16px 16px 62px;position:relative}
.cm-steps li::before{content:counter(s);position:absolute;left:16px;top:16px;width:34px;height:34px;border-radius:50%;background:var(--cm-s1);color:#fff;font:700 16px/34px var(--display);text-align:center}
html[data-theme="dark"] .cm-steps li::before{color:#0B0B1A}
.cm-steps h3{margin:0 0 6px;font-size:18px}
.cm-steps p{margin:4px 0}
@media (min-width:1024px){.cm-steps{grid-template-columns:repeat(4,1fr)}.cm-steps li{padding:62px 16px 16px}}

/* tables */
.cm-tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--p-line);border-radius:14px;background:var(--p-card);max-width:100%}
.cm-tscroll:focus-visible{outline:2px solid var(--p-focus);outline-offset:2px}
.cm-t{border-collapse:separate;border-spacing:0;width:100%;font-size:14.5px;color:var(--p-text)}
.cm-t th,.cm-t td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--p-line);line-height:1.45}
.cm-t thead th{background:var(--p-bg2);color:var(--p-head);font-weight:700;position:sticky;top:0;white-space:nowrap}
.cm-t tbody tr:last-child>*{border-bottom:0}
.cm-t tbody th{font-weight:600;color:var(--p-head)}
.cm-t th small{display:block;font-weight:400;color:var(--p-mute);margin-top:3px}
.cm-t tbody th[scope=row],.cm-t thead th:first-child{position:sticky;left:0;z-index:1;background:var(--p-card)}
.cm-t thead th:first-child{background:var(--p-bg2);z-index:2}
.cm-stack{min-width:560px}
.cm-ith{min-width:0}
.cm-ith thead th{white-space:normal}
.cm-ith th,.cm-ith td{padding:10px 8px}
.cm-ith td{white-space:nowrap}
.cm-ith td b{font:700 20px/1 var(--display);color:var(--p-head)}
@media (max-width:479px){
  .cm-stack{min-width:0}
  .cm-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cm-stack,.cm-stack tbody,.cm-stack tr,.cm-stack th,.cm-stack td{display:block;width:100%}
  .cm-stack tr{padding:10px 12px;border-bottom:1px solid var(--p-line)}
  .cm-stack tbody tr:last-child{border:0}
  .cm-stack th,.cm-stack td{border:0;padding:3px 0;position:static!important}
  .cm-stack td::before{content:attr(data-l) ": ";font-weight:600;color:var(--p-mute)}
  .cm-stack tbody th{font-size:16px}
}
.cm-fallback{margin-top:8px;font-size:14px}
.cm-fallback summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--p-link)}
.cm-fallback .cm-t{margin-top:6px}

/* calculator */
.cm-calc-grid{display:grid;gap:18px;margin-top:8px}
.cm-form{display:grid;gap:12px;min-width:0}
.cm-fs{border:1px solid var(--p-line);border-radius:16px;padding:14px 14px 4px;background:var(--p-card);margin:0;min-width:0}
.cm-fs legend{font:700 16px var(--display);padding:0 6px;color:var(--p-head)}
.cm-form .fld{margin-bottom:14px;min-width:0}
.cm-form label,.cm-form .lab{font-size:14px;font-weight:600;color:var(--p-soft)}
.cm-form input[type=text],.cm-form select{width:100%;min-height:48px;font-size:16px;padding:0 12px;border-radius:12px;border:1px solid var(--p-field-bd);background:var(--p-field);color:var(--p-text);font-family:var(--font);box-sizing:border-box}
.cm-form input:focus-visible,.cm-form select:focus-visible{outline:2px solid var(--p-focus);outline-offset:1px}
.cm-form small{color:var(--p-mute);font-size:13px;line-height:1.4}
.cm-form input[aria-invalid=true]{border-color:var(--cm-s4)}
.cm-seg{display:flex;flex-wrap:wrap;gap:8px}
.cm-seg label{flex:1 1 90px;position:relative;cursor:pointer}
.cm-seg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.cm-seg span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 10px;border-radius:12px;border:1px solid var(--p-field-bd);background:var(--p-field);color:var(--p-text);text-align:center;font-size:15px}
.cm-seg input:checked+span{background:var(--cm-s1);border-color:var(--cm-s1);color:#fff}
html[data-theme="dark"] .cm-seg input:checked+span{color:#0B0B1A}
.cm-seg input:focus-visible+span{outline:2px solid var(--p-focus);outline-offset:2px}
.cm-seg input:disabled+span{opacity:.45;text-decoration:line-through;cursor:not-allowed}
.cm-adv{border:1px solid var(--p-line);border-radius:16px;background:var(--p-card);padding:0 14px}
.cm-adv summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:var(--p-head)}
.cm-adv[open] summary{border-bottom:1px solid var(--p-line);margin-bottom:12px}
.cm-two{display:grid;gap:0 12px}
@media (min-width:480px){.cm-two{grid-template-columns:1fr 1fr}}
.cm-checks .chk{min-height:44px;align-items:center}
.cm-warn{color:var(--cm-s4);font-weight:600;display:block;margin-top:6px}
html[data-theme="dark"] .cm-warn{color:#F0A0BC}
.cm-results{background:var(--p-card);border:1px solid var(--p-hover-bd);border-radius:18px;padding:18px;box-shadow:var(--p-shadow)}
.cm-results h3{margin:0 0 8px;font-size:16px;text-transform:uppercase;letter-spacing:.1em;color:var(--p-mute)}
.cm-big{font:700 clamp(30px,8vw,40px)/1.1 var(--display);color:var(--p-head);margin:0}
.cm-big small{display:block;font:500 15px var(--font);color:var(--p-mute);margin-top:4px}
.cm-sub{margin:6px 0 12px;color:var(--p-soft)}
.cm-kv{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.cm-kv div{padding:10px;border-radius:12px;background:var(--p-sub)}
.cm-kv dt{font-size:12.5px;color:var(--p-mute)}
.cm-kv dd{margin:2px 0 0;font:700 17px var(--display);color:var(--p-head)}
.cm-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.cm-actions .btn-pub{flex:1 1 130px;min-height:44px}
.cm-toast{min-height:20px;font-size:13.5px;color:var(--p-mute);margin:8px 0 0}
@media (min-width:1024px){
  .cm-calc-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:28px}
  .cm-results-col{position:sticky;top:calc(var(--hdr) + 64px)}
  .cm-bar{display:none!important}
}
.cm-sched{min-width:640px}
.cm-sched td{white-space:nowrap;font-variant-numeric:tabular-nums}
.cm-sched .ph-ITH{--c:var(--cm-s1)}.cm-sched .ph-SCIT,.cm-sched .ph-EDR{--c:var(--cm-s2)}.cm-sched .ph-REG{--c:var(--cm-s4)}
.cm-phase{display:inline-block;padding:1px 9px;border-radius:99px;border:1px solid var(--c,var(--p-line));font:600 12px/1.6 var(--font);color:var(--p-head)}
.cm-sched tr.is-ph-ITH td{background:color-mix(in srgb,var(--cm-s1) 8%,transparent)}
.cm-sched tr.is-ph-REG td{background:color-mix(in srgb,var(--cm-s4) 6%,transparent)}
.cm-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px calc(10px + var(--sab));background:var(--p-glass-2);border-top:1px solid var(--p-line);transform:translateY(110%);transition:transform .25s}
.cm-bar.show{transform:none}
.cm-bar small{display:block;font-size:12px;color:var(--p-mute)}
.cm-bar b{font:700 20px var(--display);color:var(--p-head)}
.cm-bar .btn-pub{flex:0 0 auto;min-height:44px}
html:not(.js-anim) .cm-live,html:not(.js-anim) .cm-bar{display:none}
.js-anim .cm-nojs{display:none}

/* charts */
.cm-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cm-kpi{background:var(--p-card);border:1px solid var(--p-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.cm-kpi b{font:700 clamp(20px,5vw,28px)/1.1 var(--display);color:var(--p-head)}
.cm-kpi span{font-size:13.5px;color:var(--p-soft)}
.cm-kpi small{font-size:12.5px;color:var(--p-mute)}
@media (min-width:1024px){.cm-kpis{grid-template-columns:repeat(6,1fr)}}
.cm-charts{display:grid;gap:16px;margin-top:18px}
.cm-fig{margin:0;background:var(--p-card);border:1px solid var(--p-line);border-radius:16px;padding:14px;min-width:0}
.cm-fig figcaption{font-weight:600;color:var(--p-head);margin-bottom:8px;font-size:15px}
.cm-chart{position:relative;height:260px;width:100%}
.cm-chart-h{height:300px}
.cm-chart canvas{max-width:100%}
@media (min-width:1024px){.cm-charts{grid-template-columns:1fr 1fr}.cm-fig:last-child{grid-column:1/-1}.cm-chart{height:300px}}
.cm-hm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.cm-pill{min-height:44px;padding:0 18px;border-radius:99px;border:1px solid var(--p-field-bd);background:var(--p-field);color:var(--p-text);font:600 14px var(--font);cursor:pointer}
.cm-pill[aria-pressed=true]{background:var(--cm-s1);border-color:var(--cm-s1);color:#fff}
html[data-theme="dark"] .cm-pill[aria-pressed=true]{color:#0B0B1A}
.cm-pill:focus-visible{outline:2px solid var(--p-focus);outline-offset:2px}
.cm-hm{margin-bottom:12px}
.js-anim .cm-hm{display:none}
.js-anim .cm-hm.on{display:block}
.cm-hm-cap{font-weight:600;color:var(--p-head);margin:0 0 8px}
.cm-hm-grid{display:grid;gap:6px;max-width:640px}
.cm-hm-row{display:grid;grid-template-columns:70px repeat(3,minmax(0,1fr));gap:6px;align-items:stretch}
.cm-hm-row>span{padding:12px 6px;border-radius:10px;text-align:center;font-size:13px;display:flex;align-items:center;justify-content:center;min-height:56px;line-height:1.25}
.cm-hm-head>span{min-height:0;padding:4px;font-weight:600;color:var(--p-mute)}
.cm-hm-row>[role=rowheader]{justify-content:flex-start;font-weight:700;color:var(--p-head);padding-left:2px}
.cm-hm-cell{background:color-mix(in srgb,var(--cm-s1) calc(10% + var(--v)*38%),transparent);color:var(--p-head);border:1px solid var(--p-line)}
.cm-hm-cell b{font:700 18px var(--display);margin-right:4px}

/* timeline */
.cm-tl{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid var(--p-line);display:grid;gap:18px}
.cm-tl li{position:relative;display:grid;gap:2px}
.cm-tl li::before{content:"";position:absolute;left:-25px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--cm-s1);border:2px solid var(--p-bg)}
.cm-tl-d{font:700 14px var(--display);color:var(--p-ac)}
.cm-tl p{margin:0}
@media (min-width:640px){.cm-tl li{grid-template-columns:170px 1fr;gap:16px}}

/* discrepancies */
.cm-disc{margin-top:24px;border:2px solid var(--cm-s2);border-radius:16px;padding:16px;background:color-mix(in srgb,var(--cm-s2) 7%,var(--p-card))}
.cm-disc h3{margin-top:0}
.cm-disc ol{padding-left:20px;margin:10px 0 0}
.cm-disc li{margin:12px 0}
.cm-disclaimer{padding:14px;border-radius:12px;background:var(--p-sub);border:1px solid var(--p-line)}
.cm-srcs{padding-left:24px;font-size:14px;columns:1;overflow-wrap:anywhere}
.cm-srcs li{margin:6px 0}
.cm-srcs li:target{background:var(--p-sub2);border-radius:6px}
@media (min-width:1024px){.cm-srcs{columns:2;column-gap:32px}}
.cm-lead{margin-top:28px;padding:18px;border-radius:18px;border:1px solid var(--p-hover-bd);background:var(--p-notify-bg);max-width:560px}
.cm-lead h3{margin-top:0}
.faq{max-width:none}
.pg-cm .faq summary{min-height:44px}

/* print */
@media print{
  .pub-header,.cm-secnav,.cm-bar,.cm-lead,.pub-footer,.cm-actions,.cm-hm-tabs,.cm-form .cm-adv summary,.cta-bar{display:none!important}
  .cm-hm{display:block!important}
  .cm-tscroll{overflow:visible;border:0}
  .cm-sec{break-inside:auto;padding-top:20px}
  .cm-card,.cm-fig,.cm-disc,.cm-hotcard{break-inside:avoid;box-shadow:none}
  .cm-calc-grid{grid-template-columns:1fr}
  .cm-results-col{position:static}
  .cm-live{display:block!important}
  .cm-fallback{display:block}
  details.cm-adv>*{display:block}
  .cm-t thead th,.cm-t th,.cm-t td{position:static!important}
  a[href^="http"]::after{content:""}
}
@media (prefers-reduced-motion:reduce){.cm-bar{transition:none}}
