
/* ---------- TargetWise article design system (scoped) ---------- */
.imported-post .tw-a{--blue:#1A6DFF;--blue-d:#0F4FCC;--blue-t:#EAF1FF;--ink:#0B0F19;--ink-2:#1F2937;--body:#4B5563;--muted:#6B7280;--line:#E4E9F2;--soft:#F6F9FF;--warn:#B45309;--warn-bg:#FFF7ED;--good:#0F766E;--good-bg:#ECFDF5;
  background:#fff;color:var(--body);font-family:var(--font-interface);
  font-size:17.5px;line-height:1.72;-webkit-font-smoothing:antialiased;max-width:820px;margin:0 auto}
.imported-post .tw-a *{box-sizing:border-box}
.imported-post .tw-a h2{font-size:31px;line-height:1.2;letter-spacing:-.022em;color:var(--ink);font-weight:800;margin:56px 0 14px}
.imported-post .tw-a h3{font-size:22px;line-height:1.28;letter-spacing:-.015em;color:var(--ink);font-weight:700;margin:34px 0 10px}
.imported-post .tw-a h4{font-size:17.5px;line-height:1.35;color:var(--ink);font-weight:700;margin:22px 0 8px}
.imported-post .tw-a p{margin:0 0 17px}
.imported-post .tw-a a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(26,109,255,.28);transition:border-color .15s}
.imported-post .tw-a a:hover{border-bottom-color:var(--blue)}
.imported-post .tw-a ul,.imported-post .tw-a ol{margin:0 0 18px;padding-left:22px}
.imported-post .tw-a li{margin:0 0 8px}
.imported-post .tw-a strong{color:var(--ink-2);font-weight:650}
.imported-post .tw-a code{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;background:var(--soft);border:1px solid var(--line);border-radius:5px;padding:1px 6px;color:var(--ink-2)}
.imported-post .tw-eyebrow{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin:0 0 8px}

/* In short */
.imported-post .tw-short{background:var(--soft);border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:12px;padding:22px 24px;margin:0 0 34px}
.imported-post .tw-short p:last-child{margin-bottom:0}
.imported-post .tw-short .tw-eyebrow{margin-bottom:6px}

/* Key takeaways */
.imported-post .tw-key{border:1px solid var(--line);border-radius:12px;padding:22px 24px;margin:34px 0}
.imported-post .tw-key ul{margin:0;padding-left:0;list-style:none}
.imported-post .tw-key li{position:relative;padding-left:28px;margin-bottom:11px;font-size:16.5px}
.imported-post .tw-key li:last-child{margin-bottom:0}
.imported-post .tw-key li:before{content:"";position:absolute;left:6px;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* Definition card */
.imported-post .tw-def{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:24px 0}
.imported-post .tw-def-h{background:var(--soft);border-bottom:1px solid var(--line);padding:12px 20px;font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-weight:600}
.imported-post .tw-def-b{padding:18px 20px;font-size:16.5px}
.imported-post .tw-def-b p:last-child{margin-bottom:0}

/* Tables */
.imported-post .tw-tw{overflow-x:auto;margin:26px 0;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
.imported-post .tw-a table{border-collapse:collapse;width:100%;min-width:600px;font-size:15.5px}
.imported-post .tw-a th{background:var(--soft);color:var(--ink);font-weight:650;text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);font-size:14px;letter-spacing:.005em;vertical-align:bottom}
.imported-post .tw-a td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top;color:var(--body)}
.imported-post .tw-a tbody tr:last-child td{border-bottom:0}
.imported-post .tw-a tbody tr:nth-child(even) td{background:#FCFDFF}
.imported-post .tw-a td:first-child{color:var(--ink-2);font-weight:600}
.imported-post .tw-cap{font-size:13.5px;color:var(--muted);margin:10px 2px 0;line-height:1.55}
.imported-post .pill{display:inline-block;font-size:12px;font-weight:650;padding:2px 9px;border-radius:20px;line-height:1.7;white-space:nowrap}
.imported-post .p-dg{background:var(--blue-t);color:var(--blue-d)}
.imported-post .p-lg{background:#F1F5F9;color:#334155}
.imported-post .p-both{background:var(--good-bg);color:var(--good)}
.imported-post .p-gap{background:var(--warn-bg);color:var(--warn)}

/* Figure shell */
.imported-post .tw-fig{border:1px solid var(--line);border-radius:14px;background:#fff;margin:34px 0;overflow:hidden}
.imported-post .tw-fig-h{padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.imported-post .tw-fig-h h4{margin:0 0 4px;font-size:16.5px;letter-spacing:-.01em}
.imported-post .tw-fig-h p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.5}
.imported-post .tw-fig-b{padding:20px 22px 22px}
.imported-post .tw-fig-f{padding:12px 22px 16px;font-size:12.5px;color:var(--muted);line-height:1.55;border-top:1px solid var(--line);background:#FCFDFF}

/* Controls */
.imported-post .tw-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.imported-post .tw-tab{font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;padding:7px 14px;border-radius:20px;border:1px solid var(--line);background:#fff;color:var(--muted);transition:.15s}
.imported-post .tw-tab:hover{border-color:#C3D4F5;color:var(--ink-2)}
.imported-post .tw-tab[aria-selected="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.imported-post .tw-ctrl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:0 0 20px}
@media(max-width:560px){.imported-post .tw-ctrl{grid-template-columns:1fr}}
.imported-post .tw-ctrl label{display:flex;font-size:12.5px;font-weight:600;color:var(--ink-2);margin:0 0 6px;justify-content:space-between;align-items:baseline;gap:8px}
.imported-post .tw-ctrl label span{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--blue);font-weight:600}
.imported-post .tw-a input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:4px;background:#E4E9F2;outline:0;margin:0}
.imported-post .tw-a input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:17px;height:17px;border-radius:50%;background:var(--blue);border:2px solid #fff;box-shadow:0 1px 4px rgba(11,15,25,.22);cursor:pointer}
.imported-post .tw-a input[type=range]::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:var(--blue);border:2px solid #fff;box-shadow:0 1px 4px rgba(11,15,25,.22);cursor:pointer}

/* Stat strip */
.imported-post .tw-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 0}
@media(max-width:560px){.imported-post .tw-stats{grid-template-columns:1fr}}
.imported-post .tw-stat{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:13px 15px}
.imported-post .tw-stat b{display:block;font-size:24px;line-height:1.15;color:var(--ink);letter-spacing:-.02em;font-weight:800;font-variant-numeric:tabular-nums}
.imported-post .tw-stat i{display:block;font-style:normal;font-size:12px;color:var(--muted);margin-top:3px;line-height:1.4}
.imported-post .tw-stat.is-gap b{color:var(--warn)}
.imported-post .tw-stat.is-good b{color:var(--blue)}

/* CTA */
.imported-post .tw-cta{background:var(--soft);border:1px solid #D8E4FB;border-radius:14px;padding:30px 30px 28px;margin:44px 0;text-align:left}
.imported-post .tw-cta h3{margin:0 0 9px;font-size:22px;letter-spacing:-.015em}
.imported-post .tw-cta p{margin:0 0 20px;font-size:16px;color:var(--body);max-width:640px}
.imported-post .tw-btns{display:flex;flex-wrap:wrap;gap:11px}
.imported-post .tw-btn{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:650;padding:11px 22px;border-radius:30px;text-decoration:none;border:1px solid var(--blue);transition:.15s}
.imported-post .tw-btn-p{background:var(--blue);color:#fff!important;border-bottom-color:var(--blue)}
.imported-post .tw-btn-p:hover{background:var(--blue-d);border-color:var(--blue-d)}
.imported-post .tw-btn-s{background:#fff;color:var(--blue)!important;border-bottom-color:var(--blue)}
.imported-post .tw-btn-s:hover{background:var(--blue-t)}
.imported-post .tw-a .tw-btn{border-bottom:1px solid var(--blue)}

/* Callouts */
.imported-post .tw-note{border:1px solid var(--line);border-left:3px solid var(--warn);background:var(--warn-bg);border-radius:10px;padding:16px 20px;margin:26px 0;font-size:16px}
.imported-post .tw-note p:last-child{margin-bottom:0}
.imported-post .tw-note b{color:var(--warn)}

/* FAQ */
.imported-post .tw-faq{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:24px 0}
.imported-post .tw-faq details{border-bottom:1px solid var(--line)}
.imported-post .tw-faq details:last-child{border-bottom:0}
.imported-post .tw-faq summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:650;color:var(--ink);font-size:16.5px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start;background:#fff}
.imported-post .tw-faq summary::-webkit-details-marker{display:none}
.imported-post .tw-faq summary:hover{background:#FCFDFF}
.imported-post .tw-faq summary:after{content:"+";color:var(--blue);font-weight:700;font-size:20px;line-height:1.2;flex:0 0 auto}
.imported-post .tw-faq details[open] summary:after{content:"\2212"}
.imported-post .tw-faq .tw-faq-b{padding:0 20px 18px;font-size:16px}
.imported-post .tw-faq .tw-faq-b p:last-child{margin-bottom:0}

/* misc */
.imported-post .tw-a .tw-swap{display:block}
.imported-post .tw-jump{border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:0 0 34px;background:#FCFDFF}
.imported-post .tw-jump ol{margin:0;padding-left:20px;columns:2;column-gap:28px;font-size:15px}
@media(max-width:560px){.imported-post .tw-jump ol{columns:1}}
.imported-post .tw-jump li{margin:0 0 6px;break-inside:avoid}
.imported-post .tw-jump a{border-bottom:0}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .imported-post .tw-a *,.imported-post .tw-a *:before,.imported-post .tw-a *:after{transition-duration:.001ms!important;animation-duration:.001ms!important}
}
/* focus visibility */
.imported-post .tw-a .tw-tab:focus-visible,.imported-post .tw-a input[type=range]:focus-visible,.imported-post .tw-a summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
/* print */
@media print{
  .imported-post .tw-a{font-size:11pt;max-width:none}
  .imported-post .tw-a .tw-tabs,.imported-post .tw-a input[type=range]{display:none}
  .imported-post .tw-a .tw-cta,.imported-post .tw-a .tw-fig,.imported-post .tw-a .tw-tw,.imported-post .tw-a .tw-key,.imported-post .tw-a .tw-faq{break-inside:avoid;page-break-inside:avoid}
  .imported-post .tw-a h2,.imported-post .tw-a h3{break-after:avoid;page-break-after:avoid}
  .imported-post .tw-a details{display:block}
  .imported-post .tw-a a{color:#0B0F19;border-bottom:0}
  .imported-post .tw-a a[href^="http"]:after{content:" (" attr(href) ")";font-size:8pt;color:#6B7280;word-break:break-all}
}
