
/* ============================================================
   TargetWise article system — scoped to .tw-article
   White / near-black / #1A6DFF. No header, no footer.
   ============================================================ */
.imported-post .tw-article{
  --ink:#0B0D12;
  --body:#454C5A;
  --muted:#6E7686;
  --line:#E4E8F0;
  --line-soft:#EEF1F7;
  --soft:#F7F9FC;
  --blue:#1A6DFF;
  --blue-dk:#0F4CC4;
  --blue-soft:#EAF1FF;
  --blue-tint:#F4F8FF;
  --green:#0E9F6E;
  --amber:#D98500;
  --red:#DC3545;
  --radius:14px;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-family:var(--font-interface);
  color:var(--body);
  font-size:17px;
  line-height:1.72;
  max-width:820px;
  margin:0 auto;
  padding:0 20px 40px;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
.imported-post .tw-article *{box-sizing:border-box}
.imported-post .tw-article p{margin:0 0 1.15em}
.imported-post .tw-article h2{
  font-size:31px;line-height:1.24;font-weight:800;color:var(--ink);
  letter-spacing:-.021em;margin:2.6em 0 .6em;scroll-margin-top:90px;
}
.imported-post .tw-article h3{
  font-size:21px;line-height:1.32;font-weight:700;color:var(--ink);
  letter-spacing:-.013em;margin:2em 0 .5em;scroll-margin-top:90px;
}
.imported-post .tw-article h4{
  font-size:17px;font-weight:700;color:var(--ink);margin:1.6em 0 .4em;letter-spacing:-.005em;
}
.imported-post .tw-article a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(26,109,255,.28);transition:border-color .15s,color .15s}
.imported-post .tw-article a:hover{color:var(--blue-dk);border-bottom-color:var(--blue-dk)}
.imported-post .tw-article strong{color:var(--ink);font-weight:650}
.imported-post .tw-article ul,.imported-post .tw-article ol{margin:0 0 1.3em;padding-left:22px}
.imported-post .tw-article li{margin:0 0 .5em}
.imported-post .tw-article li::marker{color:var(--blue)}
.imported-post .tw-article code{
  font-family:var(--mono);font-size:.86em;background:var(--soft);
  border:1px solid var(--line-soft);border-radius:5px;padding:1px 6px;color:var(--ink);
}
.imported-post .tw-article hr{border:0;border-top:1px solid var(--line);margin:3em 0}

/* ---------- eyebrow ---------- */
.imported-post .tw-eyebrow{
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--blue);margin:0 0 8px;
}

/* ---------- In short ---------- */
.imported-post .tw-tldr{
  border:1px solid var(--line);border-left:4px solid var(--blue);
  background:var(--blue-tint);border-radius:var(--radius);
  padding:22px 24px;margin:0 0 34px;
}
.imported-post .tw-tldr p{margin:0 0 .8em;color:#1C2432}
.imported-post .tw-tldr p:last-child{margin-bottom:0}
.imported-post .tw-tldr .tw-eyebrow{margin-bottom:10px}

/* ---------- TOC ---------- */
.imported-post .tw-toc{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px;margin:0 0 40px;background:#fff;
}
.imported-post .tw-toc-head{font-weight:700;color:var(--ink);font-size:15px;margin:0 0 12px;letter-spacing:-.01em}
.imported-post .tw-toc ol{margin:0;padding-left:0;list-style:none;counter-reset:toc;
  column-count:2;column-gap:34px}
.imported-post .tw-toc li{counter-increment:toc;margin:0 0 8px;font-size:14.5px;line-height:1.45;break-inside:avoid}
.imported-post .tw-toc li a{border-bottom:0;color:var(--body)}
.imported-post .tw-toc li a:hover{color:var(--blue)}
.imported-post .tw-toc li a::before{
  content:counter(toc,decimal-leading-zero);font-family:var(--mono);font-size:11px;
  color:var(--blue);margin-right:9px;font-weight:700;
}
@media(max-width:640px){.imported-post .tw-toc ol{column-count:1}}

/* ---------- Key box ---------- */
.imported-post .tw-key{
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--soft);padding:18px 22px;margin:26px 0;
}
.imported-post .tw-key p:last-child{margin-bottom:0}
.imported-post .tw-key .tw-key-label{
  font-family:var(--mono);font-size:10.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);display:block;margin-bottom:7px;
}

/* ---------- Tables ---------- */
.imported-post .tw-tablewrap{overflow-x:auto;margin:26px 0;border:1px solid var(--line);border-radius:var(--radius)}
.imported-post .tw-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:560px;background:#fff}
.imported-post .tw-table th{
  text-align:left;font-weight:700;color:var(--ink);background:var(--soft);
  padding:13px 16px;border-bottom:1px solid var(--line);font-size:13px;
  letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;
}
.imported-post .tw-table td{padding:13px 16px;border-bottom:1px solid var(--line-soft);vertical-align:top;line-height:1.55}
.imported-post .tw-table tr:last-child td{border-bottom:0}
.imported-post .tw-table tbody tr:hover{background:#FBFCFE}
.imported-post .tw-table td strong{color:var(--ink)}
.imported-post .tw-pill{display:inline-block;font-family:var(--mono);font-size:10.5px;font-weight:700;
  padding:3px 8px;border-radius:20px;letter-spacing:.04em;white-space:nowrap}
.imported-post .tw-pill.ok{background:#E7F7F1;color:#0B7A55}
.imported-post .tw-pill.mid{background:#FFF4E0;color:#9A5E00}
.imported-post .tw-pill.no{background:#FDEBEC;color:#B02A37}
.imported-post .tw-pill.blue{background:var(--blue-soft);color:var(--blue-dk)}

/* ---------- Figures ---------- */
.imported-post .tw-fig{
  border:1px solid var(--line);border-radius:var(--radius);
  background:#fff;margin:34px 0;overflow:hidden;
}
.imported-post .tw-fig-head{padding:20px 24px 0}
.imported-post .tw-fig-title{font-size:18px;font-weight:750;color:var(--ink);margin:0 0 5px;letter-spacing:-.012em;line-height:1.3}
.imported-post .tw-fig-sub{font-size:14px;color:var(--muted);margin:0;line-height:1.55}
.imported-post .tw-fig-body{padding:20px 24px 24px}
.imported-post .tw-fig-foot{
  border-top:1px solid var(--line-soft);background:var(--soft);
  padding:12px 24px;font-size:12.5px;color:var(--muted);line-height:1.5;
}
@media(max-width:640px){
  .imported-post .tw-fig-head{padding:16px 16px 0}
  .imported-post .tw-fig-body{padding:16px}
  .imported-post .tw-fig-foot{padding:11px 16px}
}

/* ---------- Controls ---------- */
.imported-post .tw-ctrl{margin:0 0 16px}
.imported-post .tw-ctrl-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px}
.imported-post .tw-ctrl-label{font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.35}
.imported-post .tw-ctrl-hint{font-size:12px;color:var(--muted);display:block;font-weight:400;margin-top:2px}
.imported-post .tw-ctrl-val{font-family:var(--mono);font-size:13px;font-weight:700;color:var(--blue);white-space:nowrap}
.imported-post .tw-article input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:5px;border-radius:5px;
  background:var(--line);outline:none;margin:0;cursor:pointer;
}
.imported-post .tw-article input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:19px;height:19px;border-radius:50%;
  background:var(--blue);border:3px solid #fff;box-shadow:0 1px 5px rgba(11,13,18,.28);cursor:pointer;
}
.imported-post .tw-article input[type=range]::-moz-range-thumb{
  width:19px;height:19px;border-radius:50%;background:var(--blue);
  border:3px solid #fff;box-shadow:0 1px 5px rgba(11,13,18,.28);cursor:pointer;
}
.imported-post .tw-article input[type=range]:focus-visible{outline:2px solid var(--blue);outline-offset:4px}

.imported-post .tw-seg{display:flex;gap:5px;flex-wrap:wrap}
.imported-post .tw-seg button{
  font-family:var(--font-interface);font-size:12.5px;font-weight:600;color:var(--muted);
  background:#fff;border:1px solid var(--line);border-radius:8px;
  padding:6px 11px;cursor:pointer;transition:all .14s;line-height:1.2;
}
.imported-post .tw-seg button:hover{border-color:var(--blue);color:var(--blue)}
.imported-post .tw-seg button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
.imported-post .tw-seg button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.imported-post .tw-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.imported-post .tw-tabs button{
  font-family:var(--font-interface);font-size:13px;font-weight:600;color:var(--muted);
  background:var(--soft);border:1px solid var(--line);border-radius:20px;
  padding:7px 15px;cursor:pointer;transition:all .14s;
}
.imported-post .tw-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.imported-post .tw-tabs button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.imported-post .tw-reset{
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:none;border:0;color:var(--muted);cursor:pointer;padding:4px 0;
}
.imported-post .tw-reset:hover{color:var(--blue)}

/* ---------- Score readout ---------- */
.imported-post .tw-score{display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  border:1px solid var(--line);border-radius:12px;padding:16px 20px;background:var(--soft);margin:0 0 18px}
.imported-post .tw-score-num{font-size:44px;font-weight:800;color:var(--ink);line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.imported-post .tw-score-num span{font-size:17px;font-weight:600;color:var(--muted)}
.imported-post .tw-score-meta{flex:1;min-width:200px}
.imported-post .tw-tier{display:inline-block;font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.08em;
  padding:4px 10px;border-radius:20px;margin-bottom:6px}
.imported-post .tw-score-desc{font-size:13.5px;color:var(--body);line-height:1.5;margin:0}

/* ---------- Stat grid ---------- */
.imported-post .tw-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:18px 0 0}
.imported-post .tw-stat{background:#fff;padding:14px 16px}
.imported-post .tw-stat-v{font-size:24px;font-weight:800;color:var(--ink);line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.imported-post .tw-stat-v.blue{color:var(--blue)}
.imported-post .tw-stat-l{font-size:11.5px;color:var(--muted);margin-top:4px;line-height:1.35}

/* ---------- Cards ---------- */
.imported-post .tw-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:26px 0}
.imported-post .tw-card{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff}
.imported-post .tw-card h4{margin:0 0 8px;font-size:15.5px}
.imported-post .tw-card p{font-size:14px;margin:0 0 .7em;line-height:1.6}
.imported-post .tw-card p:last-child{margin-bottom:0}
.imported-post .tw-card .tw-eyebrow{font-size:10px}

/* ---------- Steps ---------- */
.imported-post .tw-step{border-left:2px solid var(--line);padding:0 0 4px 22px;margin:0 0 26px;position:relative}
.imported-post .tw-step::before{
  content:attr(data-n);position:absolute;left:-15px;top:0;width:28px;height:28px;
  background:var(--blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:12px;font-weight:700;border:3px solid #fff;
}
.imported-post .tw-step h3{margin-top:0}
.imported-post .tw-step:last-child{border-left-color:transparent}

/* ---------- CTA ---------- */
.imported-post .tw-cta{
  border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(180deg,#F8FAFF 0%,#FFFFFF 100%);
  padding:30px 32px;margin:42px 0;text-align:left;
}
.imported-post .tw-cta h3{margin:0 0 10px;font-size:23px;letter-spacing:-.018em;line-height:1.28}
.imported-post .tw-cta p{font-size:15.5px;margin:0 0 20px;color:var(--body);max-width:62ch}
.imported-post .tw-btns{display:flex;gap:11px;flex-wrap:wrap}
.imported-post .tw-btn{
  display:inline-flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;
  padding:11px 22px;border-radius:40px;border:1px solid var(--blue);
  background:var(--blue);color:#fff!important;transition:all .16s;line-height:1.2;
}
.imported-post .tw-btn:hover{background:var(--blue-dk);border-color:var(--blue-dk);transform:translateY(-1px)}
.imported-post .tw-btn.ghost{background:#fff;color:var(--blue)!important}
.imported-post .tw-btn.ghost:hover{background:var(--blue-soft);color:var(--blue-dk)!important}
.imported-post .tw-article .tw-btn{border-bottom:1px solid var(--blue)}
@media(max-width:640px){.imported-post .tw-cta{padding:24px 20px}.imported-post .tw-cta h3{font-size:20px}}

/* ---------- Copy block ---------- */
.imported-post .tw-copy{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:26px 0}
.imported-post .tw-copy-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:11px 16px;background:var(--soft);border-bottom:1px solid var(--line)}
.imported-post .tw-copy-bar span{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted)}
.imported-post .tw-copy-btn{font-family:var(--font-interface);font-size:12.5px;font-weight:600;color:var(--blue);
  background:#fff;border:1px solid var(--line);border-radius:7px;padding:5px 12px;cursor:pointer}
.imported-post .tw-copy-btn:hover{border-color:var(--blue)}
.imported-post .tw-copy pre{margin:0;padding:18px;font-family:var(--mono);font-size:12.5px;line-height:1.72;
  color:var(--ink);overflow-x:auto;white-space:pre;background:#fff}

/* ---------- FAQ ---------- */
.imported-post .tw-faq{border-top:1px solid var(--line);margin-top:14px}
.imported-post .tw-faq details{border-bottom:1px solid var(--line);padding:0}
.imported-post .tw-faq summary{
  list-style:none;cursor:pointer;padding:17px 40px 17px 0;position:relative;
  font-size:16.5px;font-weight:650;color:var(--ink);line-height:1.45;letter-spacing:-.008em;
}
.imported-post .tw-faq summary::-webkit-details-marker{display:none}
.imported-post .tw-faq summary::after{
  content:"";position:absolute;right:8px;top:26px;width:9px;height:9px;
  border-right:2px solid var(--blue);border-bottom:2px solid var(--blue);
  transform:rotate(45deg);transition:transform .2s;
}
.imported-post .tw-faq details[open] summary::after{transform:rotate(-135deg);top:30px}
.imported-post .tw-faq summary:hover{color:var(--blue)}
.imported-post .tw-faq .tw-faq-a{padding:0 0 20px;font-size:15.5px}
.imported-post .tw-faq .tw-faq-a p:last-child{margin-bottom:0}

/* ---------- misc ---------- */
.imported-post .tw-src{font-size:13px;color:var(--muted);margin:20px 0 0;line-height:1.6}
.imported-post .tw-src a{color:var(--muted);border-bottom-color:var(--line)}
.imported-post .tw-legend{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0 0;font-size:12.5px;color:var(--muted)}
.imported-post .tw-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.imported-post .tw-chart svg{display:block;width:100%;height:auto;overflow:visible}
.imported-post .tw-panel{font-size:14.5px;line-height:1.65}
.imported-post .tw-panel h4{margin-top:0}
@media(prefers-reduced-motion:reduce){
  .imported-post .tw-article *{transition:none!important;animation:none!important}
}
.imported-post .tw-article .lyr:focus{outline:none}
.imported-post .tw-article .lyr:focus-visible rect{stroke:#0B2E7A;stroke-width:3.5}
.imported-post .tw-article .lyr:focus-visible{outline:2px solid #1A6DFF;outline-offset:3px;border-radius:10px}
.imported-post .tw-noscript{
  border:1px solid var(--line);border-left:3px solid var(--amber);background:#FFFBF3;
  border-radius:8px;padding:12px 16px;margin:0 0 16px;font-size:13.5px;color:var(--body);
}
@media print{
  .imported-post .tw-article{max-width:none;font-size:11pt}
  .imported-post .tw-article a{color:#0B0D12;border-bottom:0}
  .imported-post .tw-toc,.imported-post .tw-reset,.imported-post .tw-copy-btn,.imported-post .tw-seg,.imported-post .tw-btns{display:none!important}
  .imported-post .tw-article details{page-break-inside:avoid}
  .imported-post .tw-fig,.imported-post .tw-tablewrap,.imported-post .tw-cta{page-break-inside:avoid;border-color:#999}
  .imported-post .tw-article h2,.imported-post .tw-article h3{page-break-after:avoid}
}
