/* Hassle-Free SMART article — scoped premium editorial components */
#tyz-premium-article .tyz-smart-article{--sm-navy:#0d2238;--sm-deep:#091828;--sm-gold:#e5bc7f;--sm-muted:#bdd0e1;line-height:1.95}
#tyz-premium-article .tyz-smart-article :is(p,li){font-size:clamp(15px,1.15vw,17px);line-height:1.95}
#tyz-premium-article .tyz-smart-article .tyz-smart-lead{font-size:clamp(18px,1.5vw,22px);line-height:1.95;color:var(--pa-ink);font-weight:600}
#tyz-premium-article .tyz-smart-article h2{scroll-margin-top:115px}
#tyz-premium-article .tyz-smart-article .tyz-smart-chapter{margin:0 0 48px}
#tyz-premium-article .tyz-smart-insight{border-inline-start:4px solid #bd9054;background:var(--pa-soft);padding:19px 22px;border-radius:12px;line-height:1.95;margin:20px 0}
#tyz-premium-article .tyz-smart-insight strong{color:var(--pa-ink)}
#tyz-premium-article .tyz-smart-video{margin:32px 0 36px!important}
#tyz-premium-article .tyz-smart-video__frame{aspect-ratio:16/9;border-radius:22px;overflow:hidden;position:relative;border:1px solid rgba(205,155,83,.55);background:#09192a;box-shadow:0 20px 45px rgba(9,28,49,.25)}
#tyz-premium-article .tyz-smart-video iframe{width:100%;height:100%;border:0;display:block;position:absolute;inset:0}
#tyz-premium-article .tyz-smart-video figcaption{font-size:12px!important;color:var(--pa-muted)!important;line-height:1.8;margin-top:11px}
#tyz-premium-article .tyz-smart-video figcaption a{font-weight:800;text-decoration:underline}
#tyz-premium-article .tyz-smart-widget{--smart-accent:#ecc58d;background:radial-gradient(circle at 85% -10%,rgba(211,170,109,.22),transparent 47%),linear-gradient(135deg,#122c48,#0b1a2d);border:1px solid rgba(221,175,111,.35);border-radius:24px;padding:clamp(20px,3vw,32px);margin:clamp(24px,4vw,38px) 0;box-shadow:0 20px 50px rgba(7,24,41,.14);position:relative;isolation:isolate;color:#edf5fc!important;direction:rtl}
#tyz-premium-article .tyz-smart-widget *{box-sizing:border-box}
#tyz-premium-article .tyz-smart-kicker{color:var(--smart-accent)!important;font-size:11px!important;font-weight:850;letter-spacing:.07em}
#tyz-premium-article .tyz-smart-widget h3{font-size:clamp(20px,2.4vw,29px)!important;color:#fafbfc!important;font-weight:850;margin:7px 0 9px!important}
#tyz-premium-article .tyz-smart-widget>p,#tyz-premium-article .tyz-smart-widget .tyz-smart-hint{color:#b8cce0!important;font-size:13px!important;line-height:1.95;margin:0 0 18px!important}
#tyz-premium-article .tyz-smart-widget button{min-height:45px;cursor:pointer;border-radius:13px!important;background:#1c3c5a!important;color:#e8f1fb!important;border:1px solid rgba(183,212,240,.4)!important;padding:10px 14px!important;line-height:1.5;font:750 13px/1.5 inherit;transition:transform .18s,border-color .18s,background .18s}
#tyz-premium-article .tyz-smart-widget button:hover{transform:translateY(-2px);border-color:var(--smart-accent)!important}
#tyz-premium-article .tyz-smart-widget button[aria-pressed="true"],#tyz-premium-article .tyz-smart-actions button{background:var(--smart-accent)!important;color:#142840!important;border-color:var(--smart-accent)!important;font-weight:900}
#tyz-premium-article .tyz-smart-widget button:disabled{opacity:.45;cursor:not-allowed}
#tyz-premium-article .tyz-smart-widget :is(button,input,select):focus-visible{outline:3px solid var(--smart-accent)!important;outline-offset:3px}
#tyz-premium-article .tyz-smart-choices{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
#tyz-premium-article .tyz-smart-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#tyz-premium-article .tyz-smart-duo>div{border:1px solid rgba(165,194,219,.25);padding:19px;border-radius:15px;background:rgba(12,30,49,.63);min-width:0}
#tyz-premium-article .tyz-smart-duo>div:last-child{border-color:rgba(214,177,120,.85);background:rgba(209,166,103,.1)}
#tyz-premium-article .tyz-smart-duo small,#tyz-premium-article .tyz-smart-output small{display:block;color:var(--smart-accent);font-size:11px;font-weight:800;margin-bottom:11px}
#tyz-premium-article .tyz-smart-duo strong{display:block;color:#f1f7ff;font-size:clamp(14px,1.4vw,17px)!important;line-height:1.95}
#tyz-premium-article .tyz-smart-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#tyz-premium-article .tyz-smart-form__wide{grid-column:1/-1}
#tyz-premium-article .tyz-smart-widget label{font-weight:800;font-size:13px;color:#e4f1ff}
#tyz-premium-article .tyz-smart-widget :is(input[type=number],input[type=text],select){width:100%;max-width:100%;background:#f2f6fb!important;color:#11263b!important;border:2px solid transparent!important;border-radius:11px!important;min-height:48px;display:block;margin-top:7px;padding:10px 14px!important;font:650 15px/1.4 system-ui,sans-serif}
#tyz-premium-article .tyz-smart-output{background:#08182a;border:1px solid rgba(234,191,125,.43);border-radius:16px;padding:22px;margin-top:20px}
#tyz-premium-article .tyz-smart-output>strong{display:block;font-size:clamp(17px,1.6vw,21px);line-height:1.85;color:#fff;font-weight:850}
#tyz-premium-article .tyz-smart-output p{margin:10px 0!important;color:#cbdff2!important;font-size:13px!important}
#tyz-premium-article .tyz-smart-actions{display:flex;flex-wrap:wrap;gap:13px;align-items:center}
#tyz-premium-article .tyz-smart-actions [role=status]{font-size:12px;color:#9de7ca}
#tyz-premium-article .tyz-smart-meter__inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#tyz-premium-article .tyz-smart-meter__track,#tyz-premium-article .tyz-smart-check__progress>div{height:14px;border-radius:100px;background:#3c5062;overflow:hidden;margin:24px 0 13px}
#tyz-premium-article .tyz-smart-meter__track>span,#tyz-premium-article .tyz-smart-check__progress>div span{display:block;height:100%;background:linear-gradient(90deg,#83cec2,#e5bb76);transition:width .3s ease;border-radius:100px}
#tyz-premium-article .tyz-smart-meter__stat{display:flex;align-items:center;gap:16px!important;color:#d1e1ef!important}
#tyz-premium-article .tyz-smart-meter__stat strong{font-size:31px;color:#ecc68c}
#tyz-premium-article .tyz-smart-quiz__answers{display:grid;gap:11px;margin:18px 0}
#tyz-premium-article .tyz-smart-quiz__answers button{text-align:right}
#tyz-premium-article .tyz-smart-quiz__feedback{border-radius:14px;border:1px solid rgba(181,216,243,.38);padding:18px;background:rgba(23,62,82,.5);font-size:14px;line-height:1.9;color:#eff8ff}
#tyz-premium-article .tyz-smart-check__items{display:grid;gap:11px;margin-top:19px}
#tyz-premium-article .tyz-smart-check__items label{display:flex;align-items:flex-start;gap:12px;border-radius:12px;padding:13px;background:#183451;border:1px solid rgba(191,218,238,.21);line-height:1.7;cursor:pointer}
#tyz-premium-article .tyz-smart-check__items label:has(input:checked){border-color:#9bdcc0;background:rgba(111,208,166,.12)}
#tyz-premium-article .tyz-smart-check__items input{width:18px;height:18px;margin-top:4px;accent-color:#8ee0b7;flex-shrink:0}
#tyz-premium-article .tyz-smart-check__progress strong{display:block;color:#d9f4e6;font-size:13px}
#tyz-premium-article .tyz-smart-steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:24px 0}
#tyz-premium-article .tyz-smart-steps-grid>div{border:1px solid var(--pa-line);background:var(--pa-soft);padding:16px;border-radius:15px}
#tyz-premium-article .tyz-smart-steps-grid strong{font-size:24px;color:#b48a51;display:block}
#tyz-premium-article .tyz-smart-steps-grid span{font-size:13px;color:var(--pa-ink)}
@media(max-width:700px){#tyz-premium-article .tyz-smart-duo,#tyz-premium-article .tyz-smart-form,#tyz-premium-article .tyz-smart-meter__inputs{grid-template-columns:1fr}#tyz-premium-article .tyz-smart-widget{padding:19px 15px;border-radius:18px}#tyz-premium-article .tyz-smart-video__frame{border-radius:12px}}
@media(prefers-reduced-motion:reduce){#tyz-premium-article .tyz-smart-widget *{transition:none!important;animation:none!important}}

/* TYZ_SMART_READABILITY_CONTRAST_AA_20261023 */
/* Scope all corrections to the existing SMART article: late global prose rules must
   not recolor dark interactive islands. Values are selected for WCAG AA contrast. */
#tyz-premium-article .tyz-pa-prose .tyz-smart-article{
  --sm-reading:#273b4e;
  --sm-headings:#102b44;
  --sm-secondary:#475a6b;
  --sm-link:#805016;
  --sm-card-surface:#fffdf8;
  --sm-panel-ink:#f4f8ff;
  --sm-panel-secondary:#dbe7f5;
  --sm-panel-accent:#f5d09b;
  color:var(--sm-reading)!important;
}
html[data-tyz-theme="dark"] #tyz-premium-article .tyz-pa-prose .tyz-smart-article{
  --sm-reading:#dee8f4;
  --sm-headings:#f6f5f0;
  --sm-secondary:#c3cfdf;
  --sm-link:#f4ca85;
  --sm-card-surface:#18273b;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article > p,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > p,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > ul li,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > ol li{
  color:var(--sm-reading)!important;
  line-height:1.95!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-lead{
  color:var(--sm-headings)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > h2,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > h3{
  color:var(--sm-headings)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article :is(.tyz-smart-lead,.tyz-smart-chapter > p) strong{
  color:var(--sm-headings)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-chapter > p a,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-insight a,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article > p a{
  color:var(--sm-link)!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
  font-weight:800;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-insight{
  color:var(--sm-reading)!important;
  background:var(--sm-card-surface)!important;
  border-inline-start:4px solid #b98743!important;
  border-block:1px solid var(--pa-line);
  border-inline-end:1px solid var(--pa-line);
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-insight strong{
  color:var(--sm-headings)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-video figcaption{
  color:var(--sm-secondary)!important;
  font-size:13px!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-video figcaption a{
  color:var(--sm-link)!important;
  text-underline-offset:3px;
  text-decoration:underline!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-steps-grid > div{
  background:var(--sm-card-surface)!important;
  border:1px solid var(--pa-line)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-steps-grid strong{
  color:var(--sm-link)!important;
  font-size:25px!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-steps-grid span{
  color:var(--sm-reading)!important;
  font-size:14px!important;
  line-height:1.8!important;
}
/* Every dark widget remains dark in BOTH themes; reset global article prose ink. */
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget{
  --smart-accent:var(--sm-panel-accent);
  color:var(--sm-panel-ink)!important;
  background:radial-gradient(circle at 85% -10%,rgba(211,170,109,.15),transparent 45%),
    linear-gradient(135deg,#122c48,#0b1a2d)!important;
  border-color:#9b865e!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget :is(p,span,label,strong,small,h3){
  color:var(--sm-panel-ink)!important;
  text-shadow:none!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget > p,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-hint,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-output p{
  color:var(--sm-panel-secondary)!important;
  font-size:14px!important;
  line-height:1.85!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-kicker,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-duo small,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-output small{
  color:var(--sm-panel-accent)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget h3{
  color:#f9fbff!important;
  line-height:1.5!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget :is(.tyz-smart-duo,.tyz-smart-output,.tyz-smart-meter__stat,.tyz-smart-check__progress) :is(strong,span,p){
  color:#f4f8ff!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-meter__stat strong{
  color:#f5d09b!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-quiz__feedback{
  color:#eff8ff!important;
  background:#193a51!important;
  border-color:#69859e!important;
  line-height:1.9!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-check__items label{
  color:#f4f8ff!important;
  background:#1b3853!important;
  border-color:#5d7895!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-check__items label:has(input:checked){
  color:#f4f8ff!important;
  background:#235049!important;
  border-color:#a5e6c6!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget button{
  color:#f6f9ff!important;
  background:#22425f!important;
  border:1px solid #7a96b2!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.6!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget button:is([aria-pressed="true"],:hover:not(:disabled)),
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-actions button:not(:disabled){
  color:#142638!important;
  background:#f5d09b!important;
  border-color:#f5d09b!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget button:focus-visible,
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget :is(input,select):focus-visible{
  outline:3px solid #f5d09b!important;
  outline-offset:3px!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget :is(input[type="number"],input[type="text"],select){
  color:#142638!important;
  background:#fffefa!important;
  border:2px solid #9eb3c8!important;
  color-scheme:light;
  font-family:inherit!important;
  font-size:16px!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget :is(input[type="number"],input[type="text"])::placeholder{
  color:#586676!important;opacity:1!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget select option{
  background:#fffefa;color:#142638;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-output{
  background:#091b2c!important;
  border-color:#bd9865!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-actions [role="status"]{
  color:#bcf0d7!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-check__progress strong{
  color:#d8f7e8!important;
}
/* TOC & answer accordion need readable surfaces independent from labs loaded on other posts. */
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-index{
  background:var(--sm-card-surface)!important;border:1px solid var(--pa-line)!important;
  padding:23px 26px;border-radius:19px;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-index :is(strong,li,a){
  color:var(--sm-reading)!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-index a:hover{
  color:var(--sm-link)!important;
  text-decoration:underline!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-faq details{
  background:var(--sm-card-surface)!important;
  border:1px solid var(--pa-line)!important;
  border-radius:13px;
  padding:15px 18px;
  margin:12px 0;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-faq :is(summary,p){
  color:var(--sm-reading)!important;
  line-height:1.85!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-faq summary{
  font-weight:850!important;
}
#tyz-premium-article .tyz-pa-prose .tyz-smart-article :is(a,button,input,select,summary):focus-visible{
  outline:3px solid #c39150!important;
  outline-offset:3px!important;
}
@media(max-width:700px){
 #tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget{
   padding:21px 16px!important;
 }
 #tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-smart-widget .tyz-smart-meter__stat{
   flex-wrap:wrap!important;
 }
 #tyz-premium-article .tyz-pa-prose .tyz-smart-article .tyz-trend-index{
   padding:18px!important;
 }
}
