.toefl-product-demo{--demo-bg:#f1f3ed;--demo-card:#fff;--demo-ink:#24372b;--demo-muted:#506154;--demo-line:#cbd5c9;--demo-accent:#315b40;margin:2.5rem 0;padding:clamp(18px,3vw,30px);border:1px solid var(--demo-line);border-radius:20px;background:var(--demo-bg);color:var(--demo-ink);font-family:Arial,sans-serif;line-height:1.65;clear:both;min-width:0;overflow-wrap:anywhere;scroll-margin-top:90px}
.toefl-product-demo[data-theme=dark],html[data-blog-theme=dark] .toefl-product-demo,html[data-toefl-comparison-theme=dark] .toefl-product-demo{--demo-bg:#202b24;--demo-card:#18221c;--demo-ink:#f0f5ec;--demo-muted:#bfcfbe;--demo-line:#45594a;--demo-accent:#bedac0;color-scheme:dark}
.toefl-product-demo [hidden]{display:none!important}
.toefl-product-demo-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.toefl-product-demo .toefl-product-demo-kicker{font:600 11px/1.5 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--demo-muted);margin:0 0 8px}
.toefl-product-demo h2{font:600 clamp(25px,3vw,34px)/1.2 Arial,sans-serif;letter-spacing:-.03em;color:var(--demo-ink);margin:0}
.toefl-product-demo h3{font:600 21px/1.3 Arial,sans-serif;color:var(--demo-ink);margin:0 0 10px}
.toefl-product-demo p{font:400 15px/1.7 Arial,sans-serif;color:var(--demo-muted);margin:0 0 16px}
.toefl-product-demo .toefl-product-demo-intro{margin:18px 0 22px;max-width:75ch}
.toefl-product-demo button{font:600 13px/1.4 Arial,sans-serif;min-height:44px;border:1px solid var(--demo-line);border-radius:8px;padding:10px 14px;background:var(--demo-card);color:var(--demo-ink);cursor:pointer}
.toefl-product-demo-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 26px}
.toefl-product-demo-tabs button[aria-selected=true]{background:var(--demo-accent);color:var(--demo-card);border-color:var(--demo-accent)}
.toefl-product-demo .toefl-product-demo-panel{margin:0;padding:0;border:0;background:transparent;min-width:0}
.toefl-product-demo-panel+.toefl-product-demo-panel{margin-top:32px}
.toefl-product-demo[data-ready=true] .toefl-product-demo-panel{margin-top:0}
.toefl-product-demo-image{display:block;padding:14px;border:1px solid var(--demo-line);border-radius:12px;background:var(--demo-card);overflow:hidden}
.toefl-product-demo-image picture{display:block}
.toefl-product-demo .toefl-product-demo-image img{display:block;width:100%;max-width:100%;height:auto;margin:0;border:0;border-radius:4px;box-shadow:none}
.toefl-product-demo a{color:var(--demo-accent);text-underline-offset:4px}
.toefl-product-demo-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 12px}
.toefl-product-demo-actions a{font:600 14px/1.5 Arial,sans-serif;padding:10px 0;min-height:44px;text-decoration:underline}
.toefl-product-demo .toefl-product-demo-practice{background:var(--demo-accent);color:var(--demo-card);border-radius:8px;padding:11px 16px;text-decoration:none}
.toefl-product-demo .toefl-product-demo-access,.toefl-product-demo .toefl-product-demo-mobile-note{font-size:13px;line-height:1.6;margin:0}
.toefl-product-demo-mobile-note{display:none}
.toefl-product-demo :is(a,button,[role=tabpanel]):focus-visible{outline:3px solid var(--demo-accent);outline-offset:4px}
.toefl-product-demo-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.toefl-product-demo{padding:16px;margin:2rem 0;border-radius:14px}.toefl-product-demo-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.toefl-product-demo-tabs button{padding:10px 6px}.toefl-product-demo-image{padding:8px}.toefl-product-demo .toefl-product-demo-mobile-note{display:block;margin-top:8px}}
@media print{.toefl-product-demo-tabs,.toefl-product-demo-theme{display:none!important}.toefl-product-demo [data-toefl-demo-panel][hidden]{display:block!important;margin-top:24px}.toefl-product-demo-image{break-inside:avoid}}

/* The older comparison articles had no dark theme. Scope their theme to this
   explicit page marker, keeping their copy, structure and metadata intact. */
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark]{--primary:#b5d5b9;--primary-dark:#c3e3c7;--primary-light:#293d30;--primary-border:#4b6551;--text-primary:#eef4ed;--text-secondary:#ccd7cb;--text-muted:#b4c2b0;--border-primary:#415746;--bg-cream:#202a23;--bg-white:#18221c;--green-light:#203c2b;--red-light:#432b2c;--orange-light:#42351f;color-scheme:dark!important}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark],html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] body{background:#131c16!important;color:var(--text-primary)!important}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] :is(.article-header,.resource-card,.profile-card,.persona-card,.chip){background:var(--bg-white)}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] :is(.quick-answer,.disclosure,.disclosure-box,.limitations-section){background:#27392c;color:var(--text-secondary);border-color:var(--border-primary)}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] :is(.verdict-section,.final-verdict){background:#23432e}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] :is(.verdict-cta,.tool-cta.primary){color:#18221c}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] :is(.disclosure-box strong,.limitations-label,.limitations-list li){color:var(--text-secondary)}
/* Older articles mix theme-variable text with fixed light inline surfaces. */
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] article :is(section[style*="background: #fff"],section[style*="background: #F7F4EF"],aside[style*="#E8F5E9"],.capability-card[style*="#FFF8E1"]){background:var(--bg-cream)!important;border-color:var(--border-primary)!important}
html.toefl-comparison-demo-page[data-toefl-comparison-theme=dark] a[style*="color: #EF5350"]{color:#ffaaa3!important}
