/* StockEducation Visual Lesson Library v3.
   Uses the live page's own design values (the .sxp system): Plus Jakarta Sans,
   navy hero gradient, gold buttons, 12 to 16 px radii, surface and blue bands.
   Everything is scoped under .vl so nothing leaks into the theme. */
.vl{
  --navy-950:#000d24; --navy-900:#021536; --navy-800:#01204f; --navy-tile:#0b2350;
  --blue:#2165ca; --blue-600:#1a54ad; --blue-50:#eef4ff;
  --gold:#f5b800; --gold-hi:#ffc61a;
  --ink:#0a1628; --text:#1f2a44; --muted:#56627f; --faint:#6b7591;
  --line:#e3e8f1; --line-2:#cdd5e3; --surface:#f5f7fb; --white:#fff;
  --green:#0d7f57; --green-50:#e7f6ef; --red:#b42318;
  --dark-text:#c3d0e8; --dark-muted:#9fb2d6;
  --font:"Plus Jakarta Sans","Jakarta Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  margin:0; background:var(--white); color:var(--text); font-family:var(--font); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:clip; text-wrap:pretty;
}
.vl *,.vl *::before,.vl *::after{box-sizing:border-box}
.vl img{max-width:100%; height:auto}
.vl h1,.vl h2,.vl h3{font-family:var(--font); color:var(--ink); margin:0; text-wrap:balance; letter-spacing:-.02em}
.vl p{margin:0}
.vl a{color:var(--blue)}
.vl button{font:inherit; cursor:pointer}
.vl :focus-visible{outline:3px solid var(--gold); outline-offset:2px}
.vl .vl-sr{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.vl-wrap{max-width:1180px; margin:0 auto; padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px))}
.vl-narrow{max-width:900px}

/* Buttons (live: 12px radius, 800 weight, gold on navy) */
.vl-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:50px; padding:0 22px; border-radius:12px; font-weight:800; font-size:16px; text-decoration:none; border:1px solid transparent; line-height:1.2; text-align:center}
.vl-btn--gold{background:var(--gold); color:var(--ink)!important; box-shadow:0 8px 22px rgba(245,184,0,.25)}
.vl-btn--gold:hover{background:var(--gold-hi)}
.vl-btn--ghost{background:rgba(255,255,255,.04); color:#fff!important; border-color:rgba(255,255,255,.28)}
.vl-btn--ghost:hover{background:rgba(255,255,255,.1)}
.vl-btn--navy{background:var(--navy-900); color:#fff!important}
.vl-btn--line{background:#fff; color:var(--ink)!important; border-color:var(--line-2)}
.vl-btn--block{display:flex; width:100%}
.vl-btns{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.vl-btns--center{justify-content:center}
.vl-ticks{list-style:none; margin:12px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13.5px; color:var(--dark-muted)}
.vl-ticks li{display:inline-flex; align-items:center; gap:5px}
.vl-ticks svg{color:#34d399}
.vl-ticks--center{justify-content:center}

/* Section shells */
.vl-sec{padding-block:56px}
.vl-sec--tight{padding-block:36px}
.vl-sec--surface{background:var(--surface)}
.vl-sec--blue{background:var(--blue-50)}
.vl-head{text-align:center; max-width:720px; margin:0 auto 26px}
.vl-kicker{font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); margin-bottom:8px}
.vl-head h2{font-size:clamp(28px,4.2vw,40px); line-height:1.12}
.vl-sub{color:var(--muted); margin-top:10px; font-size:16.5px}
.vl-tag{display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); background:var(--blue-50); padding:4px 10px; border-radius:999px; margin-bottom:10px}

/* 1. Hero */
.vl-hero{position:relative; color:#fff; padding-block:30px 46px;
  background:radial-gradient(720px 480px at 88% 0%,rgba(33,101,202,.46),transparent 66%),radial-gradient(560px 380px at 0% 100%,rgba(245,184,0,.1),transparent 62%),linear-gradient(165deg,var(--navy-950) 0%,var(--navy-900) 54%,var(--navy-800) 100%)}
.vl-hero__grid{display:grid; grid-template-columns:1fr; gap:28px; align-items:center}
@media (min-width:980px){ .vl-hero__grid{grid-template-columns:1.08fr .92fr; gap:44px} .vl-hero{padding-block:44px 60px} }
.vl-hero__copy{min-width:0}
.vl-crumb{font-size:13px; color:var(--dark-muted); margin-bottom:12px}
.vl-crumb a{color:var(--dark-text); text-decoration:none}
.vl-pill{display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); padding:5px 11px; border-radius:999px; margin-bottom:12px}
.vl-dot{width:7px; height:7px; border-radius:50%; background:var(--gold)}
.vl-hero h1{color:#fff; font-size:clamp(34px,6.4vw,54px); line-height:1.04; font-weight:800}
.vl-hero h1 em{font-style:normal; color:var(--gold); display:block}
.vl-lead{color:var(--dark-text); font-size:clamp(16.5px,2.2vw,19px); margin-top:14px; max-width:560px}
.vl-search{position:relative; margin-top:20px; max-width:560px}
.vl-search input{width:100%; height:56px; border-radius:14px; border:2px solid transparent; background:#fff; color:var(--ink); font:inherit; font-size:17px; font-weight:500; padding:0 16px 0 48px; box-shadow:0 10px 30px rgba(0,0,0,.25)}
.vl-search input:focus{outline:none; border-color:var(--gold)}
.vl-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.vl-search__icon{position:absolute; left:16px; top:18px; color:var(--faint); pointer-events:none}
.vl-popular{display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:10px; font-size:13px; color:var(--dark-muted)}
.vl-pop{background:transparent; border:1px solid rgba(255,255,255,.22); color:#fff; border-radius:999px; padding:4px 11px; font-size:13px; font-weight:600}
.vl-pop:hover{background:rgba(255,255,255,.1)}
.vl-trust{display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:16px; padding-top:14px; border-top:1px solid rgba(255,255,255,.1); font-size:14px}
.vl-trust a{display:inline-flex; align-items:center; gap:8px; color:var(--dark-text); text-decoration:none}
.vl-trust b{color:#fff}
.vl-trust img{width:28px; height:28px; border-radius:50%; object-fit:cover}
.vl-stars{color:var(--gold); letter-spacing:1px}

/* Search suggestions (drop under the hero search) */
.vl-suggest{position:absolute; z-index:30; left:0; right:0; top:62px; background:#fff; color:var(--text); border-radius:14px; box-shadow:0 18px 50px rgba(0,13,36,.35); overflow:hidden; max-height:min(70vh,520px); overflow-y:auto}
.vl-suggest__item{display:flex; align-items:center; gap:12px; padding:9px 12px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--line)}
.vl-suggest__item:hover,.vl-suggest__item[aria-selected="true"]{background:var(--blue-50)}
.vl-suggest__item img{width:48px; height:48px; border-radius:8px; flex:0 0 48px; background:var(--navy-900)}
.vl-suggest__item strong{display:block; font-size:15px; line-height:1.25}
.vl-suggest__item span span{display:block; font-size:13px; color:var(--muted)}
.vl-suggest__h{font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); padding:10px 12px 4px}
.vl-suggest__lesson{display:block; padding:8px 12px; color:var(--blue); font-weight:700; text-decoration:none; font-size:14.5px}
.vl-suggest__all{display:block; width:100%; text-align:left; background:var(--surface); border:0; padding:11px 12px; font-weight:700; color:var(--blue); font-size:14px}
.vl-suggest__empty{padding:14px 12px; font-size:14.5px}
.vl-suggest__empty a{font-weight:700}

/* Hero tiles (live art kept) */
.vl-tiles__label{font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:10px}
.vl-tiles{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:12px}
.vl-tile{position:relative; display:flex; flex-direction:column; justify-content:flex-end; min-height:150px; border-radius:16px; overflow:hidden; text-decoration:none; color:#fff; background:var(--navy-tile); padding:14px; isolation:isolate; border:1px solid rgba(255,255,255,.08)}
@media (min-width:980px){ .vl-tile{min-height:170px} }
.vl-tile__art{position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; transition:transform .4s}
.vl-tile::after{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,transparent 35%,rgba(0,8,24,.82))}
.vl-tile:hover .vl-tile__art{transform:scale(1.04)}
.vl-tile__tag{position:absolute; top:10px; left:10px; background:var(--gold); color:var(--ink); font-size:11px; font-weight:800; padding:3px 8px; border-radius:6px}
.vl .vl-tile__b strong{display:block; font-size:15.5px; line-height:1.2; color:#fff}
.vl-tile__b span{display:block; font-size:12.5px; color:var(--dark-text)}
.vl-tile__go{position:absolute; right:10px; bottom:12px; width:28px; height:28px; border-radius:50%; background:var(--gold); color:var(--ink); display:flex; align-items:center; justify-content:center}
.vl-tile__go svg{width:15px; height:15px}
@media (prefers-reduced-motion:reduce){ .vl-tile__art{transition:none} }

/* Cards and grids (vertical, never sideways) */
.vl-grid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
@media (min-width:720px){ .vl-grid{grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px} }
@media (min-width:1040px){ .vl-grid{grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px} }
.vl-card a{display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; text-decoration:none; color:var(--text); transition:box-shadow .2s,border-color .2s,transform .2s}
.vl-card a:hover{border-color:var(--blue); box-shadow:0 10px 26px rgba(10,22,40,.1); transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){ .vl-card a{transition:none} .vl-card a:hover{transform:none} }
.vl-card__img{display:block; aspect-ratio:1/1; background:var(--navy-900)}
.vl-card__img img{width:100%; height:100%; object-fit:cover; display:block}
.vl-card__b{position:relative; display:block; padding:10px 12px 12px}
.vl-card__b strong{display:block; color:var(--ink); font-size:15px; line-height:1.28}
.vl-card__s{display:block; font-size:13px; line-height:1.4; color:var(--muted); margin-top:3px}
.vl-card--num .vl-card__b{padding-left:46px}
.vl-card__n{position:absolute; left:12px; top:11px; width:26px; height:26px; border-radius:50%; background:var(--blue-50); color:var(--blue); font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center}
.vl-card.is-seen .vl-card__n{background:var(--green); color:#fff}

/* Start Here progress */
.vl-progress{display:flex; align-items:center; gap:12px; max-width:520px; margin:-8px auto 22px}
.vl-progress__bar{flex:1; height:8px; border-radius:4px; background:#e3e8f1; overflow:hidden}
.vl-progress__bar i{display:block; height:100%; width:0; background:var(--green); border-radius:4px; transition:width .4s}
.vl-progress__t{font-size:13.5px; font-weight:700; color:var(--muted); white-space:nowrap}

/* Topic chips (sticky) and sections */
.vl-chips{position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); padding-block:10px; margin-bottom:8px}
.vl-chips__row{display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; -webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)}
.vl-chips__row::-webkit-scrollbar{display:none}
@media (min-width:1040px){ .vl-chips__row{flex-wrap:wrap; justify-content:center; -webkit-mask-image:none} }
.vl-chip{flex:0 0 auto; border:1px solid var(--line-2); background:#fff; color:var(--text); border-radius:999px; padding:8px 15px; font-size:14px; font-weight:700}
.vl-chip[aria-pressed="true"]{background:var(--navy-950); border-color:var(--navy-950); color:#fff}
.vl-topic{padding-block:22px 8px; scroll-margin-top:70px}
.vl-topic[hidden]{display:none}
.vl-topic__head{margin-bottom:14px}
.vl-topic__head h3{font-size:22px}
.vl-topic__head p{color:var(--muted); font-size:15px; margin-top:2px}
.vl-topic:not(.is-open) .vl-grid > li:nth-child(n+5){display:none}
@media (max-width:719px){ .vl-topic:not(.is-open) .vl-grid > li:nth-child(n+3){display:none} .vl-topic{padding-block:16px 4px} .vl-topic__head{margin-bottom:10px} .vl-sec{padding-block:40px} }
.vl-more{margin-top:14px; background:#fff; border:1px solid var(--line-2); color:var(--blue); border-radius:12px; padding:10px 16px; font-weight:800; font-size:14.5px}
.vl-results{padding-block:18px 6px}
.vl-results__h{font-size:15px; color:var(--muted); margin-bottom:12px}
.vl-results__h b{color:var(--ink)}
.vl-results__clear{background:none; border:0; color:var(--blue); font-weight:700; padding:0 0 0 6px}
.vl-results__lessons{margin-top:16px; padding:14px 16px; background:var(--blue-50); border-radius:14px}
.vl-results__lessons h4{margin:0 0 6px; font-size:15px; color:var(--ink)}
.vl-results__lessons ul{margin:0; padding-left:18px}

/* 4. Quick answer */
.vl-qa{display:grid; grid-template-columns:1fr; gap:20px; max-width:980px; margin:0 auto; background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:0 16px 40px rgba(10,22,40,.07)}
@media (min-width:860px){ .vl-qa{grid-template-columns:1.5fr 1fr; padding:30px} }
.vl-qa h2{font-size:26px; margin-bottom:10px}
.vl-qa__main > p{color:var(--text)}
.vl-qa__by{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); font-size:13.5px; color:var(--muted)}
.vl-qa__by img{width:28px; height:28px; border-radius:50%; object-fit:cover}
.vl-qa__pts{list-style:none; margin:0; padding:0; display:grid; gap:10px; align-content:start}
.vl-qa__pts li{background:var(--blue-50); border-radius:12px; padding:12px 14px}
.vl-qa__pts strong{display:block; color:var(--ink); font-size:15px}
.vl-qa__pts span{font-size:13.5px; color:var(--muted)}

/* 5. Go deeper */
.vl-links{list-style:none; margin:0; padding:0; background:#fff; border-radius:18px; border-top:3px solid var(--blue); box-shadow:0 14px 36px rgba(10,22,40,.08); overflow:hidden}
.vl-links a{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 18px; border-bottom:1px solid var(--line); text-decoration:none}
.vl-links li:last-child a{border-bottom:0}
.vl-links a:hover{background:var(--surface)}
.vl-links strong{display:block; color:var(--ink); font-size:15.5px}
.vl-links span span{display:block; font-size:13.5px; color:var(--muted)}
.vl-links svg{color:var(--blue); flex:0 0 auto}

/* 6. For teachers */
.vl-teach{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; max-width:980px; margin:0 auto; border:1px solid var(--line); border-radius:18px; padding:22px 24px; background:linear-gradient(135deg,#fff 60%,var(--blue-50))}
.vl-teach > div{flex:1 1 380px; min-width:0}
.vl-teach h2{font-size:24px; margin-bottom:6px}
.vl-teach p:not(.vl-kicker){color:var(--muted)}

/* 7. FAQ */
.vl-faq{display:grid; grid-template-columns:1fr; gap:10px; max-width:980px; margin:0 auto}
@media (min-width:860px){ .vl-faq{grid-template-columns:1fr 1fr; align-items:start} }
.vl-faq details{background:#fff; border:1px solid var(--line); border-radius:14px}
.vl-faq summary{list-style:none; cursor:pointer; padding:14px 44px 14px 16px; font-weight:700; color:var(--ink); position:relative; font-size:15px}
.vl-faq summary::-webkit-details-marker{display:none}
.vl-faq summary::after{content:""; position:absolute; right:18px; top:20px; width:9px; height:9px; border-right:2.5px solid var(--blue); border-bottom:2.5px solid var(--blue); transform:rotate(45deg); transition:transform .2s}
.vl-faq details[open] summary::after{transform:rotate(225deg); top:24px}
.vl-faq details p{padding:0 16px 14px; color:var(--text); font-size:15px}

/* 8. Closing */
.vl-close{text-align:center; color:#fff; padding-block:56px; background:radial-gradient(700px 300px at 50% 0%,rgba(33,101,202,.45),transparent 70%),linear-gradient(180deg,var(--navy-950),var(--navy-900))}
.vl-close h2{color:#fff; font-size:clamp(28px,4.4vw,44px); line-height:1.1; max-width:820px; margin:0 auto}
.vl-close p{color:var(--dark-text); max-width:560px; margin:12px auto 0}

/* 9. Offer (same card shape as the live guide card) */
.vl-offer-wrap{background:linear-gradient(180deg,var(--navy-900) 0 40%,var(--white) 40%); padding-block:0 48px}
.vl-offer{display:grid; grid-template-columns:1fr; gap:20px; max-width:980px; margin:0 auto; background:#fff; border-radius:20px; padding:22px; box-shadow:0 24px 60px rgba(0,13,36,.2)}
@media (min-width:860px){ .vl-offer{grid-template-columns:240px 1fr; padding:30px; gap:30px; align-items:center} }
.vl-offer__art{position:relative; height:200px; border-radius:16px; background:linear-gradient(160deg,var(--blue-50),#dfe9ff); overflow:hidden}
.vl-offer__art img{position:absolute; width:46%; border-radius:10px; box-shadow:0 8px 20px rgba(0,13,36,.3)}
.vl-offer__p0{left:6%; top:16%; transform:rotate(-7deg)}
.vl-offer__p1{left:27%; top:8%; z-index:2}
.vl-offer__p2{left:48%; top:18%; transform:rotate(7deg)}
.vl-offer__free{position:absolute; right:12px; top:10px; z-index:3; background:var(--gold); color:var(--ink); font-weight:800; font-size:12px; padding:4px 9px; border-radius:7px}
.vl-offer h2{font-size:clamp(24px,3.4vw,32px); line-height:1.15}
.vl-offer h2 em{font-style:normal; color:var(--blue); display:block}
.vl-offer__b > p{color:var(--muted); margin-top:8px}
.vl-offer__form{display:grid; grid-template-columns:1fr; gap:10px; margin-top:14px}
@media (min-width:600px){ .vl-offer__form{grid-template-columns:1fr 1fr} .vl-offer__form button{grid-column:1 / -1} }
.vl-offer__form select,.vl-offer__form input[type=email]{height:50px; border-radius:12px; border:1.5px solid var(--line-2); padding:0 14px; font:inherit; font-size:16px; background:#fff; color:var(--ink); min-width:0}
.vl-offer__consent{grid-column:1 / -1; display:flex; gap:8px; align-items:flex-start; font-size:12.5px; color:var(--muted); line-height:1.45}
.vl-offer__consent input{margin-top:3px}
.vl-native-offer{margin-top:16px}
.vl-native-offer .ff-el-form-control{font:inherit;width:100%;min-height:46px}
.vl-native-offer .ff-btn-submit{background:var(--gold);color:var(--ink);font-weight:800;border-radius:10px;padding:12px 20px}
.vl-native-offer .ff_t_c{font-size:14px;line-height:1.45}
.vl-fine{font-size:12.5px; color:var(--faint); margin-top:10px}

/* Diagram sheet */
.vl-sheet{border:0; padding:0; margin:auto; width:min(1000px,100vw); max-width:100vw; height:100dvh; max-height:100dvh; background:#fff; color:var(--text); font-family:var(--font)}
@media (min-width:880px){ .vl-sheet{height:auto; max-height:92vh; border-radius:18px} }
.vl-sheet::backdrop{background:rgba(0,8,24,.78)}
.vl-sheet__in{display:flex; flex-direction:column; height:100%}
@media (min-width:880px){ .vl-sheet__in{flex-direction:row; max-height:92vh} }
.vl-sheet__fig{flex:0 0 auto; background:var(--navy-950); display:flex; align-items:center; justify-content:center; touch-action:pan-y pinch-zoom}
.vl-sheet__fig img{width:100%; max-height:58dvh; object-fit:contain; display:block}
@media (min-width:880px){ .vl-sheet__fig{flex:0 0 58%} .vl-sheet__fig img{max-height:92vh} }
.vl-sheet__side{flex:1 1 auto; overflow:auto; padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; gap:10px}
.vl-sheet__top{display:flex; justify-content:space-between; align-items:center}
.vl-sheet__pos{font-size:13px; font-weight:700; color:var(--muted)}
.vl-sheet__x{width:38px; height:38px; border-radius:50%; border:0; background:var(--surface); font-size:22px; line-height:1; color:var(--ink)}
.vl-sheet h2{font-size:23px; line-height:1.2}
.vl-sheet__take{font-size:16px}
.vl-sheet__take b{color:var(--ink)}
.vl-sheet__acts{display:grid; grid-template-columns:repeat(4,1fr); gap:8px}
.vl-act{display:flex; flex-direction:column; align-items:center; gap:3px; border:1px solid var(--line); background:#fff; border-radius:12px; padding:9px 4px; font-size:12.5px; font-weight:700; color:var(--text); text-decoration:none}
.vl-act svg{width:19px; height:19px}
.vl-sheet__embed{width:100%; height:86px; font:12px/1.4 ui-monospace,Menlo,Consolas,monospace; border:1px solid var(--line-2); border-radius:10px; padding:8px; color:var(--ink)}
.vl-sheet__nav{display:flex; gap:8px}
.vl-sheet__nav button{flex:1; min-height:46px; border-radius:12px; border:1px solid var(--line); background:var(--surface); font-weight:800; color:var(--ink)}
.vl-sheet__nav button[disabled]{opacity:.4; cursor:default}
.vl-toast{position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); background:var(--ink,#0a1628); color:#fff; padding:10px 16px; border-radius:10px; font:600 14px/1.3 system-ui,sans-serif; z-index:99999; opacity:0; transition:opacity .2s; pointer-events:none}
.vl-toast.on{opacity:1}

/* Hero tile art: the live page's own illustrations */
.vl-art-learn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230d3b7a'/%3E%3Cstop offset='1' stop-color='%23041431'/%3E%3C/linearGradient%3E%3CradialGradient id='r' cx='.8' cy='.15' r='.65'%3E%3Cstop offset='0' stop-color='%233b82f6' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%233b82f6' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='s' cx='.15' cy='1' r='.6'%3E%3Cstop offset='0' stop-color='%23f5c518' stop-opacity='.16'/%3E%3Cstop offset='1' stop-color='%23f5c518' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='640' height='360' fill='url(%23g)'/%3E%3Crect width='640' height='360' fill='url(%23r)'/%3E%3Crect width='640' height='360' fill='url(%23s)'/%3E%3Cpath d='M40 0V360M80 0V360M120 0V360M160 0V360M200 0V360M240 0V360M280 0V360M320 0V360M360 0V360M400 0V360M440 0V360M480 0V360M520 0V360M560 0V360M600 0V360M0 40H640M0 80H640M0 120H640M0 160H640M0 200H640M0 240H640M0 280H640M0 320H640' stroke='%23fff' stroke-opacity='.05' stroke-width='1'/%3E%3Crect x='76' y='248' width='82' height='56' rx='10' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='117' cy='274' r='13' fill='%2334d399'/%3E%3Cpath d='M111 274l4 4 8-8' stroke='%2306281c' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='170' y='202' width='82' height='102' rx='10' fill='%23fff' fill-opacity='0.61'/%3E%3Ccircle cx='211' cy='228' r='13' fill='%2334d399'/%3E%3Cpath d='M205 228l4 4 8-8' stroke='%2306281c' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='264' y='156' width='82' height='148' rx='10' fill='%23fff' fill-opacity='0.72'/%3E%3Ccircle cx='305' cy='182' r='13' fill='%2334d399'/%3E%3Cpath d='M299 182l4 4 8-8' stroke='%2306281c' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='358' y='110' width='82' height='194' rx='10' fill='%23fff' fill-opacity='0.83'/%3E%3Ccircle cx='399' cy='136' r='13' fill='%23f5c518'/%3E%3Ccircle cx='399' cy='136' r='5' fill='%232a1d00'/%3E%3Crect x='452' y='64' width='82' height='240' rx='10' fill='%23fff' fill-opacity='0.94'/%3E%3Ccircle cx='493' cy='90' r='13' fill='none' stroke='%230d3b7a' stroke-width='3'/%3E%3Cpolyline points='117,248 211,202 305,156 399,110 493,64' fill='none' stroke='%23f5c518' stroke-width='4' stroke-dasharray='2 12' stroke-linecap='round'/%3E%3Cpath d='M560 300V84' stroke='%23fff' stroke-width='6' stroke-linecap='round'/%3E%3Cpolygon points='560,84 616,104 560,124' fill='%23f5c518'/%3E%3C/svg%3E")}
.vl-art-analyze{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233b2577'/%3E%3Cstop offset='1' stop-color='%230f0a2e'/%3E%3C/linearGradient%3E%3CradialGradient id='r' cx='.8' cy='.15' r='.65'%3E%3Cstop offset='0' stop-color='%23a78bfa' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23a78bfa' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='s' cx='.15' cy='1' r='.6'%3E%3Cstop offset='0' stop-color='%23f5c518' stop-opacity='.16'/%3E%3Cstop offset='1' stop-color='%23f5c518' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='640' height='360' fill='url(%23g)'/%3E%3Crect width='640' height='360' fill='url(%23r)'/%3E%3Crect width='640' height='360' fill='url(%23s)'/%3E%3Cpath d='M40 0V360M80 0V360M120 0V360M160 0V360M200 0V360M240 0V360M280 0V360M320 0V360M360 0V360M400 0V360M440 0V360M480 0V360M520 0V360M560 0V360M600 0V360M0 40H640M0 80H640M0 120H640M0 160H640M0 200H640M0 240H640M0 280H640M0 320H640' stroke='%23fff' stroke-opacity='.05' stroke-width='1'/%3E%3Cg transform='translate(0 20)'%3E%3Cpath d='M102 150V252' stroke='%2334d399' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='86' y='168' width='32' height='54' rx='5' fill='%2334d399'/%3E%3Cpath d='M150 160V232' stroke='%23f87171' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='134' y='176' width='32' height='38' rx='5' fill='%23f87171'/%3E%3Cpath d='M198 136V220' stroke='%2334d399' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='182' y='156' width='32' height='50' rx='5' fill='%2334d399'/%3E%3Cpath d='M246 138V206' stroke='%23f87171' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='230' y='158' width='32' height='32' rx='5' fill='%23f87171'/%3E%3Cpath d='M294 118V198' stroke='%2334d399' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='278' y='136' width='32' height='50' rx='5' fill='%2334d399'/%3E%3Cpath d='M342 126V184' stroke='%23f87171' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='326' y='140' width='32' height='30' rx='5' fill='%23f87171'/%3E%3Cpath d='M390 100V180' stroke='%2334d399' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='374' y='118' width='32' height='50' rx='5' fill='%2334d399'/%3E%3Cpath d='M438 108V160' stroke='%23f87171' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='422' y='122' width='32' height='24' rx='5' fill='%23f87171'/%3E%3Cpath d='M486 74V156' stroke='%2334d399' stroke-width='5' stroke-linecap='round'/%3E%3Crect x='470' y='92' width='32' height='52' rx='5' fill='%2334d399'/%3E%3C/g%3E%3Ccircle cx='420' cy='150' r='72' fill='%23fff' fill-opacity='.14' stroke='%23f5c518' stroke-width='12'/%3E%3Cpath d='M472 202 L540 270' stroke='%23f5c518' stroke-width='22' stroke-linecap='round'/%3E%3C/svg%3E")}
.vl-art-practice{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230b5a44'/%3E%3Cstop offset='1' stop-color='%23031d16'/%3E%3C/linearGradient%3E%3CradialGradient id='r' cx='.8' cy='.15' r='.65'%3E%3Cstop offset='0' stop-color='%2334d399' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%2334d399' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='s' cx='.15' cy='1' r='.6'%3E%3Cstop offset='0' stop-color='%23f5c518' stop-opacity='.16'/%3E%3Cstop offset='1' stop-color='%23f5c518' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='640' height='360' fill='url(%23g)'/%3E%3Crect width='640' height='360' fill='url(%23r)'/%3E%3Crect width='640' height='360' fill='url(%23s)'/%3E%3Cpath d='M40 0V360M80 0V360M120 0V360M160 0V360M200 0V360M240 0V360M280 0V360M320 0V360M360 0V360M400 0V360M440 0V360M480 0V360M520 0V360M560 0V360M600 0V360M0 40H640M0 80H640M0 120H640M0 160H640M0 200H640M0 240H640M0 280H640M0 320H640' stroke='%23fff' stroke-opacity='.05' stroke-width='1'/%3E%3Cellipse cx='150' cy='262' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='244' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='226' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='208' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='190' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='172' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Cellipse cx='150' cy='154' rx='62' ry='20' fill='%23f5c518' stroke='%237a5a00' stroke-width='2'/%3E%3Ctext x='150' y='168' text-anchor='middle' font-size='40' fill='%232a1d00' font-family='Arial,Helvetica,sans-serif' font-weight='700'%3E%24%3C/text%3E%3Crect x='300' y='64' width='264' height='232' rx='18' fill='%23fff' fill-opacity='.96'/%3E%3Crect x='322' y='88' width='120' height='12' rx='6' fill='%230f0a2e'/%3E%3Crect x='322' y='112' width='220' height='8' rx='4' fill='%23cbd5e1'/%3E%3Cpolyline points='322,214 360,198 398,208 436,172 474,182 512,150 542,138' fill='none' stroke='%2334d399' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='322' y='240' width='104' height='36' rx='10' fill='%2334d399'/%3E%3Crect x='438' y='240' width='104' height='36' rx='10' fill='%23f87171'/%3E%3C/svg%3E")}
.vl-art-protect{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237a4a0d'/%3E%3Cstop offset='1' stop-color='%231f1204'/%3E%3C/linearGradient%3E%3CradialGradient id='r' cx='.8' cy='.15' r='.65'%3E%3Cstop offset='0' stop-color='%23f59e0b' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23f59e0b' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='s' cx='.15' cy='1' r='.6'%3E%3Cstop offset='0' stop-color='%23f5c518' stop-opacity='.16'/%3E%3Cstop offset='1' stop-color='%23f5c518' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='640' height='360' fill='url(%23g)'/%3E%3Crect width='640' height='360' fill='url(%23r)'/%3E%3Crect width='640' height='360' fill='url(%23s)'/%3E%3Cpath d='M40 0V360M80 0V360M120 0V360M160 0V360M200 0V360M240 0V360M280 0V360M320 0V360M360 0V360M400 0V360M440 0V360M480 0V360M520 0V360M560 0V360M600 0V360M0 40H640M0 80H640M0 120H640M0 160H640M0 200H640M0 240H640M0 280H640M0 320H640' stroke='%23fff' stroke-opacity='.05' stroke-width='1'/%3E%3Cpath d='M320 54 L440 96 V188 C440 252 388 300 320 320 C252 300 200 252 200 188 V96 Z' fill='%23f5c518'/%3E%3Cpath d='M320 84 L418 118 V188 C418 240 376 278 320 294 C264 278 222 240 222 188 V118 Z' fill='%232a1d00' fill-opacity='.14'/%3E%3Cpath d='M274 192l32 32 62-70' stroke='%232a1d00' stroke-width='16' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='104' cy='124' r='32' fill='%23f87171'/%3E%3Cpath d='M89 109l30 30M119 109l-30 30' stroke='%23fff' stroke-width='7' stroke-linecap='round'/%3E%3Ccircle cx='548' cy='244' r='32' fill='%23f87171'/%3E%3Cpath d='M533 229l30 30M563 229l-30 30' stroke='%23fff' stroke-width='7' stroke-linecap='round'/%3E%3Crect x='60' y='240' width='120' height='10' rx='5' fill='%23fff' fill-opacity='.35'/%3E%3Crect x='470' y='110' width='110' height='10' rx='5' fill='%23fff' fill-opacity='.35'/%3E%3C/svg%3E")}

/* Diagram page template (/visual-lessons/<slug>/), same design values */
.sevl-page{--navy:#021536; --blue:#2165ca; --blue-50:#eef4ff; --gold:#f5b800; --ink:#0a1628; --text:#1f2a44; --muted:#56627f; --line:#e3e8f1; --ok:#0d7f57; --bad:#b42318;
  font-family:"Plus Jakarta Sans","Jakarta Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; color:var(--text); line-height:1.6;
  max-width:780px; margin:0 auto; padding:20px max(16px,env(safe-area-inset-right,0px)) 40px max(16px,env(safe-area-inset-left,0px))}
.sevl-page *{box-sizing:border-box}
.sevl-page a{color:var(--blue)}
.sevl-page .sevl-crumb{font-size:13px; color:var(--muted); margin:0 0 10px}
.sevl-page h1{font-size:clamp(28px,5.5vw,40px); line-height:1.1; margin:0 0 8px; color:var(--ink); letter-spacing:-.02em; text-wrap:balance}
.sevl-page h2{font-size:22px; color:var(--ink); margin:26px 0 8px; letter-spacing:-.01em}
.sevl-page .sevl-by{font-size:13.5px; color:var(--muted); margin:0 0 14px}
.sevl-page figure{margin:0 0 12px; background:var(--navy); border-radius:16px; overflow:hidden}
.sevl-page figure img{width:100%; height:auto; display:block}
.sevl-page figcaption{background:#fff; color:var(--muted); font-size:13px; padding:7px 2px}
.sevl-page .sevl-oneline{font-size:18px; font-weight:700; color:var(--ink); background:var(--blue-50); border-left:4px solid var(--blue); padding:12px 14px; border-radius:8px; margin:14px 0}
.sevl-check{border:1px solid var(--line); border-radius:16px; padding:16px; margin:16px 0; background:#fff}
.sevl-check fieldset{border:0; padding:0; margin:0}
.sevl-check legend{font-weight:800; color:var(--ink); margin-bottom:8px}
.sevl-check label{display:block; border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:7px 0; cursor:pointer}
.sevl-check label.right{border-color:var(--ok); background:#e7f6ef}
.sevl-check label.wrong{border-color:var(--bad); background:#fdecea}
.sevl-check .sevl-why{display:none; margin-top:8px; font-size:15px}
.sevl-check.answered .sevl-why{display:block}
.sevl-page .sevl-primary,.sevl-page .sevl-secondary{display:flex; align-items:center; justify-content:center; min-height:50px; border-radius:12px; font-weight:800; text-decoration:none; margin:0 0 10px; padding:0 18px; text-align:center}
.sevl-page .sevl-primary{background:var(--gold); color:var(--ink)}
.sevl-page .sevl-secondary{border:1px solid #cdd5e3; color:var(--ink)}
.sevl-related{list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
.sevl-related a{display:block; border:1px solid var(--line); border-radius:12px; padding:10px 12px; text-decoration:none; font-weight:700}
.sevl-sources{font-size:13.5px; color:var(--muted)}
.sevl-note{font-size:12.5px; color:var(--muted); margin-top:14px}

/* The theme's clipped body creates a scroll container for sticky children.
   The header also uses a negative margin intended for overlapping page heroes. */
html body.page:has(.elementor-widget-shortcode [data-vl-root]){overflow:visible!important}
body:has(.elementor-widget-shortcode [data-vl-root]) .elementor-location-header > .fixedHeader{margin-bottom:0!important}
