/* Hallmark · redesign: MFM v2 · macrostructure: kept (existing page order) · tone: luxury-editorial
 * theme: palette #051F20 #0B2B26 #163832 #235347 #8EB69B #DAF1DE · display: Outfit · body: Urbanist · labels: Urbanist caps
 * Loaded last on every page. Everything the v2 pass changes lives here, so the look can be tuned in one file.
 */

/* ------------------------------------------------------------------ fonts (self-hosted) */
@font-face{font-family:"Geist";src:url(../fonts/geist.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Amiri";src:url(../fonts/amiri-400.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:"Amiri";src:url(../fonts/amiri-700.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}

/* ------------------------------------------------------------------ tokens */
:root{
  --f-display:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-body:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"Geist",ui-sans-serif,system-ui,sans-serif;
  --f-serif:"Instrument Serif","Times New Roman",serif;
  --f-ar:"Amiri","Noto Naskh Arabic",serif;

  /* liquid chrome: a mirror band with a cool/warm refraction, as in polished metal */
  --chrome-edge:linear-gradient(160deg,rgb(255 255 255 / .95) 0%,#dfe2e4 22%,#bcc2c6 48%,#d3d7da 72%,rgb(255 255 255 / .9) 100%);
  --chrome-text:linear-gradient(180deg,#ecf8ee 0%,#d5d9dc 45%,#b6bcc0 70%,#c8e3ce 100%);
  --chrome-ink:linear-gradient(180deg,#163832 0%,#051f20 40%,#457262 52%,#051f20 64%,#1d473d 100%);
  --obsidian:radial-gradient(120% 120% at 30% 12%,#0f302a 0%,#051f20 50%,#051f20 100%);
  /* frosted grain for glass panes */
  --frost:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --r-ui:9px;      /* buttons, tags, inputs */
  --r-card:16px;
  --r-panel:18px;
  --e-out:cubic-bezier(.16,1,.3,1);
  --e-io:cubic-bezier(.65,0,.35,1);
}
:root[data-theme="light"]{
  --bg:#edf8ef; --tx:#051f20; --tx-2:#235347; --tx-3:#55816e;
  --em:#396758; --acc:#396758;
  --glass:var(--frost),linear-gradient(155deg,rgb(255 255 255 / .46) 0%,rgb(255 255 255 / .16) 46%,rgb(218 241 222 / .14) 100%);
  --glass-b:rgb(255 255 255 / .9);
  --glass-sh:inset 0 1px 0 rgb(255 255 255 / .85),inset 0 0 0 1px rgb(255 255 255 / .35),0 1px 1px rgb(5 31 32 / .04),0 22px 44px -28px rgb(5 31 32 / .38);
  --edge-alpha:.95;
}
:root[data-theme="dark"]{
  --em:#bcdac4;
  --glass:var(--frost),linear-gradient(160deg,rgb(35 83 71 / .42),rgb(5 31 32 / .38));
  --glass-sh:inset 0 1px 0 rgb(255 255 255 / .06),0 24px 48px -28px rgb(0 0 0 / .8);
  --edge-alpha:.45;
}

/* ------------------------------------------------------------------ calm, fast background */
.grain{animation:none!important;opacity:.035!important}
.aurora i{animation:none!important}
#bg3d{opacity:0;transition:opacity 1.2s var(--e-out)}
#bg3d.on{opacity:1}

/* ------------------------------------------------------------------ scrollbar: melts into the page */
html{scrollbar-width:thin;scrollbar-color:rgb(5 31 32 / .16) transparent}
html[data-theme="dark"]{scrollbar-color:rgb(218 241 222 / .16) transparent}
::-webkit-scrollbar{width:8px;height:8px;background:transparent}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgb(5 31 32 / .14);border-radius:8px;border:2px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:rgb(5 31 32 / .3);background-clip:content-box}
html[data-theme="dark"] ::-webkit-scrollbar-thumb{background:rgb(218 241 222 / .14);background-clip:content-box}
::-webkit-scrollbar-corner{background:transparent}

/* ------------------------------------------------------------------ type */
body *{font-variation-settings:normal}
body{font-family:var(--f-body);font-size:16px;line-height:1.65;letter-spacing:-.003em;font-feature-settings:normal}
h1,h2,h3,h4,.display,.title,.title-sm,.h3,.foot-word{font-family:var(--f-display)!important;font-style:normal!important;text-transform:none!important;font-weight:500;letter-spacing:-.018em;line-height:1.04;font-variation-settings:"opsz" 24}
.display,.hero-copy .display{font-size:clamp(2.7rem,1.5rem + 3.9vw,5.4rem)!important;line-height:.98!important;font-weight:500!important;letter-spacing:-.022em!important;font-variation-settings:"opsz" 28!important;text-shadow:none!important}
.title{font-size:clamp(2.05rem,1.35rem + 2.3vw,3.55rem)!important;line-height:1.02!important;font-weight:500!important;font-variation-settings:"opsz" 22!important}
:not(.wrap)>.sec-head>.title{font-size:clamp(2rem,1.3rem + 2.2vw,3.4rem)!important}
.title-sm{font-size:clamp(1.65rem,1.2rem + 1.4vw,2.45rem)!important;font-weight:500!important}
h3,.h3{font-size:clamp(1.18rem,1.05rem + .45vw,1.45rem);font-weight:600;letter-spacing:-.008em;line-height:1.16;font-variation-settings:"opsz" 14}
/* emphasis inside headings: solid emerald, upright, no outline, no glow */
:is(.display,.title,.title-sm,.h3,h1,h2,h3) em,[data-split-done] em,html[data-theme="light"] :is(.title,.title-sm,.h3,h1,h2,h3) em{
  font-style:normal!important;color:var(--em)!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important;filter:none!important;background:none!important;font-weight:inherit}
.lede{font-size:clamp(1rem,.95rem + .22vw,1.12rem)!important;line-height:1.7!important;color:var(--tx-2);max-width:58ch}
.sec-head>.lede,.sec-head .lede{font-size:1rem!important;color:var(--tx-2)!important}
.lede b,.lede strong{font-weight:700}
.num,[class*="num"]{font-variant-numeric:lining-nums tabular-nums}
.ar,[lang="ar"]{font-family:var(--f-ar)!important}
/* small labels: quiet mono, a chrome diamond instead of a pulsing dot */
.eyebrow,.folio{font:500 11.5px/1.3 var(--f-mono)!important;letter-spacing:.14em!important;color:var(--tx-3)!important;text-transform:uppercase}
.eyebrow::before,.sec-head .folio::before,.meta>.folio::before{width:7px!important;height:7px!important;border-radius:1px!important;transform:rotate(45deg)!important;background:var(--chrome-edge)!important;box-shadow:0 0 0 1px rgb(5 31 32 / .18)!important;animation:none!important}
.hair{opacity:.5}

/* ------------------------------------------------------------------ the MFM mark: obsidian tile, chrome letters */
.seal{width:40px!important;height:40px!important;border-radius:12px!important;corner-shape:squircle;background:var(--obsidian)!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),inset 0 0 0 1px rgb(255 255 255 / .08),0 0 0 1px rgb(0 0 0 / .55),0 8px 18px -8px rgb(0 0 0 / .55)!important;overflow:hidden;position:relative}
.seal::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chrome-edge);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.35;pointer-events:none}
.seal b{display:block!important;font:600 12.5px/1 var(--f-display)!important;letter-spacing:-.02em!important;font-variation-settings:"opsz" 11;background:var(--chrome-text)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;filter:none}
.seal.has-logo b{display:none!important}
.app-card .seal,.fab .seal,.ft-brand .seal{width:44px!important;height:44px!important}
.app-card .seal b,.ft-brand .seal b{font-size:14px!important}
.hb-sa{background:var(--obsidian)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .2),0 0 0 1px rgb(0 0 0 / .5)!important}
.hb-sa b{font:600 2rem/1 var(--f-display)!important;font-variation-settings:"opsz" 11!important;background:var(--chrome-text)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;letter-spacing:-.02em}

/* ------------------------------------------------------------------ navbar: a slim glass bar, chrome hairline */
.nav{top:calc(10px + env(safe-area-inset-top,0px))!important;width:min(calc(100% - 20px),1240px)!important;padding:6px 6px 6px 8px!important;gap:12px!important;
  border-radius:16px!important;corner-shape:squircle;border:0!important;
  background:linear-gradient(180deg,rgb(255 255 255 / .74),rgb(255 255 255 / .56))!important;
  -webkit-backdrop-filter:blur(20px) saturate(160%)!important;backdrop-filter:blur(20px) saturate(160%)!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .95),0 1px 2px rgb(5 31 32 / .06),0 14px 34px -22px rgb(5 31 32 / .45)!important}
html[data-theme="dark"] .nav{background:linear-gradient(180deg,rgb(5 31 32 / .78),rgb(5 31 32 / .7))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 14px 34px -20px rgb(0 0 0 / .8)!important}
.nav::after{content:""!important;position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chrome-edge);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:var(--edge-alpha);pointer-events:none}
.nav.solid{background:linear-gradient(180deg,rgb(255 255 255 / .9),rgb(255 255 255 / .8))!important}
html[data-theme="dark"] .nav.solid{background:linear-gradient(180deg,rgb(5 31 32 / .92),rgb(5 31 32 / .88))!important}
.brand{gap:10px!important}
.brand-t{gap:2px}
.brand-t b{font:600 1.06rem/1.05 var(--f-display)!important;letter-spacing:-.005em!important;color:var(--tx)!important;font-variation-settings:"opsz" 11}
.brand-t span{display:block!important;font:500 9.5px/1.2 var(--f-mono)!important;letter-spacing:.16em!important;color:var(--tx-3)!important;margin:0!important;text-transform:uppercase}
.nav-links a{padding:8px 11px!important;border-radius:var(--r-ui)!important;corner-shape:bevel;font:600 .84rem/1 var(--f-body)!important;color:var(--tx-2)!important}
.nav-links a:hover,.nav-links a[aria-current="page"]{background:rgb(5 31 32 / .055)!important;color:var(--tx)!important}
.nav-more>button{border-radius:var(--r-ui)!important;corner-shape:bevel;font:600 .84rem/1 var(--f-body)!important;padding:8px 11px!important}
.nav-search{height:38px!important;border-radius:var(--r-ui)!important;corner-shape:bevel;padding:0 7px 0 12px!important;font:500 .8rem/1 var(--f-body)!important}
.nav-search kbd{border-radius:5px!important;font:500 10px/1 var(--f-mono)!important}
.nav-cart,.burger{width:38px!important;height:38px!important;border-radius:var(--r-ui)!important;corner-shape:bevel;border:1px solid rgb(5 31 32 / .12)!important;background:rgb(255 255 255 / .5)!important}
html[data-theme="dark"] :is(.nav-cart,.burger){background:rgb(255 255 255 / .05)!important;border-color:rgb(255 255 255 / .14)!important}
.burger span{width:16px!important}
@media (max-width:1180px){.nav-search{width:38px!important;padding:0!important;justify-content:center}.nav-search span,.nav-search kbd{display:none!important}}
@media (max-width:560px){.brand-t span{display:none!important}.brand-t b{font-size:.98rem!important}}
@media (max-width:400px){.brand-t b{font-size:.88rem!important}}

/* the menu: a compact card under the burger, two columns of short links */
.menu{position:fixed!important;inset:auto!important;top:calc(66px + env(safe-area-inset-top,0px))!important;right:max(10px,calc((100vw - 1240px) / 2))!important;left:auto!important;
  width:min(360px,calc(100vw - 20px))!important;max-height:min(440px,calc(100svh - 90px))!important;padding:8px!important;overflow:auto!important;
  border-radius:var(--r-panel)!important;corner-shape:squircle;border:0!important;
  background:linear-gradient(180deg,rgb(255 255 255 / .9),rgb(255 255 255 / .82))!important;
  -webkit-backdrop-filter:blur(24px) saturate(160%)!important;backdrop-filter:blur(24px) saturate(160%)!important;
  box-shadow:inset 0 1px 0 #fff,0 24px 60px -24px rgb(5 31 32 / .5),0 0 0 1px rgb(5 31 32 / .08)!important;
  transform:translateY(-6px) scale(.98)!important;transform-origin:top right;opacity:0!important;visibility:hidden;transition:transform .28s var(--e-out),opacity .2s,visibility 0s .28s!important;clip-path:none!important}
html[data-theme="dark"] .menu{background:linear-gradient(180deg,rgb(5 31 32 / .95),rgb(5 31 32 / .93))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 24px 60px -20px rgb(0 0 0 / .8)!important}
.menu-open .menu{transform:none!important;opacity:1!important;visibility:visible!important;transition:transform .28s var(--e-out),opacity .2s,visibility 0s!important}
.menu::before,.menu::after{content:none!important}
.menu nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px!important}
.menu nav a{height:36px!important;padding:0 10px!important;border-radius:9px!important;font:600 .86rem/1 var(--f-body)!important;color:var(--tx-2)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px;opacity:1!important;transform:none!important}
.menu nav a small{order:2;font:400 9.5px/1 var(--f-mono)!important;color:var(--tx-3)!important;opacity:.7}
.menu nav a i{display:none!important}
.menu nav a:hover,.menu nav a[aria-current="page"]{background:rgb(5 31 32 / .06)!important;color:var(--tx)!important}
.menu-foot{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin-top:6px!important;padding-top:8px!important;border-top:1px solid rgb(5 31 32 / .08)!important}
.menu-foot .btn{--h:38px!important;font-size:.74rem!important}

/* ------------------------------------------------------------------ buttons: smaller, bevelled ends, chrome rim */
.btn.btn.btn{--h:44px;height:var(--h)!important;padding:0 18px!important;border-radius:var(--r-ui)!important;corner-shape:bevel;
  font:700 .76rem/1 var(--f-body)!important;letter-spacing:.07em!important;text-transform:uppercase;gap:10px!important;font-weight:700!important;
  border:0!important;background:linear-gradient(180deg,rgb(255 255 255 / .85),rgb(240 243 242 / .7))!important;color:var(--tx)!important;
  box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .08),0 8px 18px -12px rgb(5 31 32 / .4)!important;transition:transform .3s var(--e-out),box-shadow .3s,background .3s!important}
.btn::after{content:""!important;position:absolute;inset:0;border-radius:inherit;corner-shape:bevel;padding:1px;background:var(--chrome-edge);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:1;z-index:3;display:block!important}
.btn.btn.btn:hover{transform:translateY(-1px)!important;box-shadow:inset 0 1px 0 #fff,0 2px 4px rgb(5 31 32 / .08),0 14px 26px -14px rgb(5 31 32 / .45)!important}
.btn.btn.btn:active{transform:translateY(0) scale(.985)!important}
.btn:focus-visible{outline:2px solid var(--em)!important;outline-offset:3px!important}
.btn.btn.btn-pri,.btn.btn.btn-green{color:#edf8ef!important;background:linear-gradient(180deg,#0b2b26 0%,#051f20 55%,#020e0f 100%)!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),0 1px 2px rgb(0 0 0 / .2),0 10px 22px -12px rgb(2 14 15 / .75)!important}
.btn.btn.btn-pri:hover,.btn.btn.btn-green:hover{box-shadow:inset 0 1px 0 rgb(255 255 255 / .2),0 14px 28px -12px rgb(2 14 15 / .55)!important}
html[data-theme="dark"] .btn.btn.btn:not(.btn-pri):not(.btn-green){background:linear-gradient(180deg,rgb(255 255 255 / .09),rgb(255 255 255 / .03))!important;color:#daf1de!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12)!important}
html[data-theme="dark"] .btn::after{opacity:.5}
.btn.btn.btn-ghost{background:rgb(255 255 255 / .42)!important}
.btn.btn-sm.btn{--h:38px;padding:0 14px!important;font-size:.72rem!important;gap:8px!important}
.btn.btn-xs.btn{--h:30px;padding:0 10px!important;font-size:.66rem!important;gap:6px!important}
.btn.btn-lg.btn{--h:48px;padding:0 22px!important;font-size:.8rem!important}
.btn-block{height:auto!important;min-height:var(--h)!important}
/* the rolling label and the arrow tile (replaces the round disc) */
.btn.btn-x.btn-x{padding:0 5px 0 16px!important;gap:12px!important}
.btn.btn-sm.btn-x.btn-x{padding:0 4px 0 12px!important}
.btn-x .btn-i{width:calc(var(--h) - 12px)!important;height:calc(var(--h) - 12px)!important;border-radius:7px!important;corner-shape:bevel;color:var(--disc-fg)}
.btn-x .btn-i::before{border-radius:inherit!important;corner-shape:bevel}
.btn-x .btn-i svg{width:14px!important;height:14px!important}
.btn-link{height:auto!important}
.nav .btn.btn-enrol.btn{--h:38px!important;padding:0 4px 0 12px!important;font-size:.7rem!important}
.mbar .mb-enrol{--h:40px!important}

/* ------------------------------------------------------------------ tags and chips: no more ovals */
:is(.tag,.chip,.pill,.st,.stage-pill,.status-pill,.fee-st,.pct,.tp,.tmini,.time-it,.toast,.org-ceo,.sy-q,.check-list li,.dl a,.dl-b,.route .stop,.topicline a,.hero-codes span,.fl,.tape i,.seg a,.seg button,.opts button,.wi-btns button,.c-switch .seg,.tool-tab,.score input,.pp-year select,.bot-f input){
  border-radius:7px!important;corner-shape:bevel}
.tag,.tool-tab,.chip,.pill{font:500 10px/1 var(--f-mono)!important;letter-spacing:.12em!important;text-transform:uppercase;padding:6px 9px!important;height:auto!important;
  background:linear-gradient(180deg,rgb(255 255 255 / .9),rgb(236 240 238 / .8))!important;color:var(--tx-2)!important;border:0!important;
  box-shadow:inset 0 0 0 1px rgb(5 31 32 / .1),inset 0 1px 0 #fff!important}
html[data-theme="dark"] :is(.tag,.tool-tab,.chip,.pill){background:rgb(255 255 255 / .06)!important;color:#c8e3ce!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .12)!important}
.tag i{border-radius:1px!important;transform:rotate(45deg)}
.hero-codes span{padding:6px 10px!important;font:500 11px/1 var(--f-mono)!important;letter-spacing:.08em!important;background:rgb(255 255 255 / .55)!important;border:0!important;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .1)!important}
.hero-codes .ar{font:400 1.05rem/1 var(--f-ar)!important;letter-spacing:0!important}

/* ------------------------------------------------------------------ cards: smaller, frosted glass, chrome edge */
.card{border-radius:var(--r-card)!important;corner-shape:squircle;background:var(--glass)!important;border:0!important;box-shadow:var(--glass-sh)!important;
  -webkit-backdrop-filter:blur(22px) saturate(170%)!important;backdrop-filter:blur(22px) saturate(170%)!important}
.card::after{content:""!important;position:absolute!important;inset:0!important;z-index:7;border-radius:inherit!important;padding:1px!important;background:var(--chrome-edge)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;-webkit-mask-composite:xor!important;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)!important;
  box-shadow:none!important;opacity:var(--edge-alpha)!important;transition:opacity .3s!important;pointer-events:none}
.card::before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;z-index:1;border-radius:inherit!important;
  background:linear-gradient(112deg,rgb(255 255 255 / .5),transparent 40%,rgb(255 255 255 / .14) 76%,transparent)!important;box-shadow:none!important;transform:none!important;opacity:.75!important;pointer-events:none}
html[data-theme="dark"] .card::before{background:linear-gradient(180deg,rgb(255 255 255 / .05),transparent)!important}
.card:hover{background:var(--glass)!important;box-shadow:0 1px 1px rgb(5 31 32 / .05),0 24px 44px -26px rgb(5 31 32 / .42)!important}
.card>*{position:relative;z-index:2}
/* stats under the hero */
.hero-facts{gap:10px!important}
.hero-facts>div{border-radius:12px!important;corner-shape:squircle;background:var(--glass)!important;border:0!important;box-shadow:var(--glass-sh)!important;padding:14px 16px!important;position:relative}
.hero-facts>div::before{content:none!important}
.hero-facts>div::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chrome-edge);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:var(--edge-alpha);pointer-events:none}
.hero-facts dt{font:500 clamp(1.9rem,1.5rem + 1vw,2.5rem)/1 var(--f-display)!important;letter-spacing:-.02em!important;color:var(--tx)!important}
.hero-facts dd{font-size:.8rem!important;line-height:1.4!important;color:var(--tx-3)!important}

/* ------------------------------------------------------------------ picture slots (real photos to come) */
.ph img[src^="art-"]{display:none!important}
.ph{background:
  repeating-linear-gradient(135deg,rgb(5 31 32 / .035) 0 10px,transparent 10px 20px),
  linear-gradient(180deg,rgb(255 255 255 / .7),rgb(234 239 237 / .7))!important}
html[data-theme="dark"] .ph{background:repeating-linear-gradient(135deg,rgb(255 255 255 / .04) 0 10px,transparent 10px 20px),rgb(5 31 32 / .6)!important}
.ph[data-slot]::after{content:attr(data-slot);position:absolute;left:12px;bottom:10px;z-index:3;font:500 9.5px/1.2 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3);opacity:.85}

/* ------------------------------------------------------------------ hero */
.hero .eyebrow{margin-bottom:6px}
.hero-copy .display{max-width:12ch}
.hero-cta{gap:10px!important}
.hero-fig .portrait{border-radius:999px 999px 22px 22px!important;overflow:hidden}
.hero-fig .portrait img.art{opacity:0!important}
.hero-fig .portrait:has(img.art){background:repeating-linear-gradient(135deg,rgb(5 31 32 / .035) 0 10px,transparent 10px 20px),linear-gradient(180deg,rgb(255 255 255 / .6),rgb(218 241 222 / .7))}
.hero-fig .portrait:has(img.art)::after{content:"Portrait · Sir Fazil";position:absolute;left:50%;bottom:18px;transform:translateX(-50%);font:500 9.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3);white-space:nowrap}
.plate{border-radius:14px!important;corner-shape:squircle}
.plate b{font:600 1.25rem/1.1 var(--f-display)!important}
.fl{font:500 10px/1 var(--f-mono)!important;letter-spacing:.1em!important;padding:8px 10px!important}

/* ------------------------------------------------------------------ reveals: short and quiet, only below the fold */
html.js [data-rv].rv-now,html.js [data-split].rv-now,html.js .wp.rv-now,html.js .hair.rv-now,
html.js [data-rv]:not(.rv-wait),html.js [data-split]:not(.rv-wait),html.js .card[data-rv]:not(.rv-wait)>*{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important}
html.js [data-rv].rv-wait:not(.in),html.js [data-split].rv-wait:not(.in){opacity:0;transform:translateY(10px)!important;filter:none!important}
html.js [data-rv].rv-wait,html.js [data-split].rv-wait{transition:opacity .42s var(--e-out),transform .5s var(--e-out)!important;transition-delay:min(var(--d,0s),.2s)!important}
html.js .card[data-rv].rv-wait:not(.in){transform:translateY(12px)!important}
html.js .card[data-rv]>*{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){html.js [data-rv],html.js [data-split]{opacity:1!important;transform:none!important;transition:none!important}}

/* ------------------------------------------------------------------ bottom bar, app card, dock */
.mbar{border-radius:16px!important;corner-shape:squircle;border:0!important;background:linear-gradient(180deg,rgb(255 255 255 / .86),rgb(255 255 255 / .74))!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .08),0 18px 40px -20px rgb(5 31 32 / .5)!important;padding:6px!important}
html[data-theme="dark"] .mbar{background:linear-gradient(180deg,rgb(5 31 32 / .92),rgb(5 31 32 / .88))!important}
.mbar .btn{border-radius:var(--r-ui)!important}
.app-card{border-radius:16px!important;corner-shape:squircle;border:0!important;background:linear-gradient(180deg,rgb(255 255 255 / .94),rgb(246 248 247 / .9))!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .08),0 28px 60px -24px rgb(5 31 32 / .55)!important;padding:10px 10px 10px 12px!important;width:min(420px,calc(100% - 24px))!important}
html[data-theme="dark"] .app-card{background:linear-gradient(180deg,rgb(5 31 32 / .96),rgb(5 31 32 / .94))!important}
.app-card b{font:600 1rem/1.1 var(--f-display)!important;color:var(--tx)!important}
.dock,.fab,.tdock{border-radius:14px!important;corner-shape:squircle}
.dock button,.ibtn,.xbtn{border-radius:9px!important;corner-shape:bevel}

/* ------------------------------------------------------------------ the deck: cards raked in 3D, one over the next */
/* phones and narrow windows: a swipe rail of small cards */
/* small cards everywhere */
.acc.card,.cw.card,.xt.card,.proc-s.card,.ld-step.card,.case.card{font-size:15px}
.acc .acc-h,.acc .acc-t,.acc .acc-f{padding-left:clamp(14px,1.4vw,18px)!important;padding-right:clamp(14px,1.4vw,18px)!important}
.acc .acc-ph{height:96px!important}
.acc .code{font:500 2rem/1 var(--f-display)!important;letter-spacing:-.02em;color:var(--tx)!important;-webkit-text-stroke:0!important;-webkit-text-fill-color:currentColor!important;filter:none!important;background:none!important}
.acc dl dt,.acc li{font-size:.82rem!important}
.cw.card{padding:18px!important}
.cw b{font:600 1.2rem/1.15 var(--f-display)!important;text-transform:none!important}
.cw p{font-size:.86rem!important}
.proc-s.card{padding:clamp(20px,2.4vw,32px)!important}
.proc-s h3{font-size:clamp(1.25rem,1.1rem + .6vw,1.6rem)!important}
.proc-s .pn b{font:600 clamp(4.2rem,3rem + 3.6vw,7rem)/.82 var(--f-display)!important;font-variation-settings:"opsz" 9!important;letter-spacing:-.04em!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:1.3px var(--em)!important;background:none!important;filter:none!important}
.xt.card{padding:18px!important}
.xt h3{font-size:1.15rem!important}

/* the Badr example reads better as a clean card: no picture strip */
.case-ph{display:none!important}
.case.card{padding-top:6px}
.rung{border-radius:14px!important;corner-shape:squircle}
/* About page portrait: same calm slot as the hero until his photo is added */
.ab-frame img.art{opacity:0!important}
.ab-frame:has(img.art){background:repeating-linear-gradient(135deg,rgb(5 31 32 / .035) 0 10px,transparent 10px 20px),linear-gradient(180deg,rgb(255 255 255 / .6),rgb(218 241 222 / .7))!important}
.ab-frame:has(img.art)::before{content:"Portrait · Sir Fazil";position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:2;font:500 9.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3);white-space:nowrap}
/* Green theme: the empty picture slots and small plates sit dark, not white */
html[data-theme="dark"] .hero-fig .portrait:has(img.art),html[data-theme="dark"] .ab-frame:has(img.art){background:repeating-linear-gradient(135deg,rgb(255 255 255 / .035) 0 10px,transparent 10px 20px),linear-gradient(180deg,rgb(11 43 38 / .7),rgb(5 31 32 / .7))!important}
html[data-theme="dark"] .plate{background:linear-gradient(180deg,rgb(5 31 32 / .92),rgb(5 31 32 / .9))!important;color:#daf1de}
html[data-theme="dark"] .hero-codes span{background:rgb(255 255 255 / .06)!important;color:#c8e3ce!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .14)!important}

/* v3: glass panes need something to frost — soft silver and emerald light drifting behind the page */
html[data-theme="light"] .bg-base{background:
  radial-gradient(900px 620px at 82% 8%,rgb(84 128 109 / .16),transparent 62%),
  radial-gradient(760px 560px at 8% 46%,rgb(176 186 192 / .38),transparent 64%),
  radial-gradient(820px 600px at 92% 78%,rgb(190 198 204 / .34),transparent 62%),
  radial-gradient(700px 520px at 30% 102%,rgb(84 128 109 / .1),transparent 60%),
  linear-gradient(180deg,#eff9f1,#eef2f0)!important}
html[data-theme="light"] .aurora i{opacity:.9!important}
/* frosted surfaces everywhere the old flat white sat */
.nav,.menu,.mbar,.app-card,.nav-drop,.modal-box,.bot{background-image:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .62),rgb(255 255 255 / .42))!important}
html[data-theme="dark"] :is(.nav,.menu,.mbar,.app-card,.nav-drop,.modal-box,.bot){background-image:var(--frost),linear-gradient(180deg,rgb(5 31 32 / .78),rgb(5 31 32 / .7))!important}
.btn.btn.btn:not(.btn-pri):not(.btn-green){background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .6),rgb(255 255 255 / .3))!important;-webkit-backdrop-filter:blur(12px) saturate(160%);backdrop-filter:blur(12px) saturate(160%)}
.tag,.tool-tab,.chip,.pill,.hero-codes span{background:linear-gradient(180deg,rgb(255 255 255 / .55),rgb(255 255 255 / .28))!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero-facts>div{background:var(--glass)!important;-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%)}
/* the silver: a thin matte line, a little brighter on the top edge */
.card::after,.nav::after,.btn::after,.hero-facts>div::after{opacity:1!important}

/* ================================================================== v4 · button hover, as on Sir Zahid's site
   The label rolls up, the arrow slides through, and the arrow tile floods the whole button.
   Emerald buttons flood matte silver (text turns ink); glass buttons flood emerald (text turns white)
   with a light running round the edge. The arrow tile never disappears and nothing turns black. */
@property --ang{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes v2orbit{to{--ang:360deg}}
.btn.btn-x{--disc:linear-gradient(180deg,#507d6a,#396758)!important;--disc-fg:#ffffff!important}
.btn.btn-pri.btn-x,.btn.btn-green.btn-x{--disc:linear-gradient(180deg,#f2f4f5,#cfd4d7)!important;--disc-fg:#051f20!important}
html[data-theme="dark"] .btn.btn-x{--disc:linear-gradient(180deg,#8eb69b,#759e87)!important;--disc-fg:#021010!important}
html[data-theme="dark"] .btn.btn-pri.btn-x{--disc:linear-gradient(180deg,#f2f4f5,#cfd4d7)!important;--disc-fg:#051f20!important}
.btn-x .btn-fill{opacity:1!important;z-index:1!important;border-radius:6px!important;corner-shape:bevel;background:var(--disc)!important;right:5px!important;
  width:calc(var(--h) - 10px)!important;height:calc(var(--h) - 10px)!important;margin-top:calc((var(--h) - 10px) / -2)!important;
  transition:width .6s var(--e-out),right .6s var(--e-out),height .6s var(--e-out),margin .6s var(--e-out),border-radius .6s var(--e-out)!important}
.btn.btn-x:hover .btn-fill,.btn.btn-x:focus-visible .btn-fill{width:calc(100% + 2px)!important;right:-1px!important;height:calc(var(--h) + 2px)!important;margin-top:calc((var(--h) + 2px) / -2)!important;border-radius:var(--r-ui)!important}
.btn-x .btn-i{width:calc(var(--h) - 10px)!important;height:calc(var(--h) - 10px)!important;border-radius:6px!important;background:none!important;color:var(--disc-fg)!important}
.btn-x .btn-i::before{display:block!important;content:""!important;position:absolute;inset:0;border-radius:inherit!important;background:var(--disc)!important;opacity:1!important;transition:opacity .4s!important;z-index:-1}
.btn.btn-x:hover .btn-i::before,.btn.btn-x:focus-visible .btn-i::before{opacity:0!important}
.btn-x .btn-l,.btn-x .btn-i{position:relative;z-index:2!important}
.btn.btn.btn-x:hover,.btn.btn.btn-x:focus-visible{color:var(--disc-fg)!important}
.btn.btn.btn-x:hover .btn-l,.btn.btn.btn-x:focus-visible .btn-l{color:var(--disc-fg)!important}
.btn.btn.btn-x:hover{transform:translateY(-2px)!important}
.btn.btn.btn-x:active{transform:scale(.975)!important}
/* glass buttons: a light runs round the edge on hover */
.btn.btn.btn-x:not(.btn-pri):not(.btn-green):hover::after{background:conic-gradient(from var(--ang),transparent 0 66%,#bcdac4 80%,#ffffff 88%,transparent 96%)!important;animation:v2orbit 2.4s linear infinite}
.btn.btn-pri.btn-x:hover::after{opacity:.9}
@media (prefers-reduced-motion:reduce){.btn.btn.btn-x:hover::after{animation:none!important}}

/* ================================================================== dropdowns and pop-ups in the theme */
.xsel{position:relative;width:100%}
.xsel select{position:absolute!important;inset:0;opacity:0!important;pointer-events:none;width:100%;height:100%}
.xsel-btn{width:100%;min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;border-radius:10px;corner-shape:squircle;border:0;
  background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .7),rgb(255 255 255 / .45));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:inset 0 0 0 1px rgb(5 31 32 / .14),inset 0 1px 0 #fff;color:var(--tx);font:500 .95rem/1.2 var(--f-body);text-align:left;cursor:pointer;transition:box-shadow .2s}
.xsel-btn:hover{box-shadow:inset 0 0 0 1px rgb(5 31 32 / .28),inset 0 1px 0 #fff}
.xsel-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xsel-btn span.ph{color:var(--tx-3)}
.xsel-btn svg{width:12px;height:12px;flex:none;color:var(--tx-3);transition:transform .35s var(--e-out)}
.xsel.open .xsel-btn{box-shadow:inset 0 0 0 1px var(--em),0 0 0 4px rgb(57 103 88 / .12)}
.xsel.open .xsel-btn svg{transform:rotate(180deg)}
.field.invalid .xsel-btn{box-shadow:inset 0 0 0 1px #a3261b,0 0 0 3px rgb(163 38 27 / .14)}
html[data-theme="dark"] .xsel-btn{background:var(--frost),rgb(255 255 255 / .06);color:#daf1de;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .16)}
.xsel-list,.nav-drop,.cmdk-box,.cart,.modal-box,.bot,.toast{
  background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .96),rgb(246 248 247 / .93))!important;
  -webkit-backdrop-filter:blur(24px) saturate(160%)!important;backdrop-filter:blur(24px) saturate(160%)!important;
  border:0!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .09),0 26px 56px -24px rgb(5 31 32 / .45)!important;color:var(--tx)}
html[data-theme="dark"] :is(.xsel-list,.nav-drop,.cmdk-box,.cart,.modal-box,.bot,.toast){background:var(--frost),linear-gradient(180deg,rgb(5 31 32 / .95),rgb(5 31 32 / .93))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 0 0 1px rgb(255 255 255 / .08),0 26px 56px -20px rgb(0 0 0 / .8)!important;color:#daf1de}
.xsel-list{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;max-height:min(300px,50vh);overflow:auto;border-radius:14px;corner-shape:squircle;
  opacity:0;visibility:hidden;transform:translateY(-6px) scale(.98);transform-origin:top center;transition:opacity .2s var(--e-out),transform .3s var(--e-out),visibility 0s .3s}
.xsel.open .xsel-list{opacity:1;visibility:visible;transform:none;transition:opacity .2s var(--e-out),transform .3s var(--e-out)}
.xsel.up .xsel-list{top:auto;bottom:calc(100% + 6px);transform-origin:bottom center}
.xsel-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:0 12px;margin:1px 0;border-radius:8px;cursor:pointer;font:500 .9rem/1.2 var(--f-body);transition:background .15s}
.xsel-list li:hover,.xsel-list li.act{background:rgb(57 103 88 / .09)}
.xsel-list li[aria-selected="true"]{background:#051f20;color:#edf8ef}
.xsel-list li[aria-selected="true"]::after{content:"";width:12px;height:7px;border-left:2px solid #c9ced1;border-bottom:2px solid #c9ced1;transform:rotate(-45deg) translateY(-2px)}
.xsel-list li[aria-disabled="true"]{opacity:.45;cursor:default}
html[data-theme="dark"] .xsel-list li[aria-selected="true"]{background:#daf1de;color:#021010}
.nav-drop{border-radius:16px!important;corner-shape:squircle;padding:6px!important;min-width:240px}
.nav-drop a{border-radius:9px!important;font:600 .86rem/1 var(--f-body)!important;color:var(--tx-2)!important;padding:10px 12px!important}
.nav-drop a:hover{background:rgb(57 103 88 / .08)!important;color:var(--tx)!important}
.nav-drop a small{font:400 9.5px/1 var(--f-mono)!important;color:var(--tx-3)!important}
.cmdk-box,.modal-box{border-radius:18px!important;corner-shape:squircle}
.cart{border-radius:18px 0 0 18px!important}
.bot{border-radius:18px!important;corner-shape:squircle}
.toast{border-radius:12px!important;corner-shape:squircle;font:600 .85rem/1.3 var(--f-body)!important}
.scrim{background:rgb(5 31 32 / .28)!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
/* inputs share the frosted look */
.field input,.field textarea,.cmdk-in input,.bot-f input{border-radius:10px!important;corner-shape:squircle}

/* ================================================================== v5
   Method: the six steps sit one below the other (no pinned stack), each a wide glass card. */
.proc[data-stack]{display:grid!important;gap:14px!important}
.proc[data-stack]>.proc-s{position:relative!important;top:auto!important;transform:none!important;filter:none!important}
html[data-theme="dark"] .proc-s .pn b{-webkit-text-stroke-color:#bcdac4!important}
.proc-s h3{font-size:clamp(1.35rem,1.1rem + .9vw,1.9rem)!important;line-height:1.1!important}

/* Courses: elegant faces — level, syllabus name and code; the details open in a pop-up */
.acc-grid .acc{display:flex!important;flex-direction:column;min-height:300px;cursor:pointer;padding:0!important}
.acc-grid .acc .acc-ph,.acc-grid .acc .acc-t,.acc-grid .acc .acc-f a.link{display:none!important}
.acc-grid .acc .acc-h{position:static!important;display:block!important;padding:22px 22px 0!important;border:0!important}
.acc-grid .acc .acc-h>div{position:relative;z-index:2}
.acc-grid .acc .acc-h h3{font:600 1.85rem/1.02 var(--f-display)!important;font-variation-settings:"opsz" 14!important;margin:18px 0 6px!important;border:0!important;padding:0!important;letter-spacing:-.015em}
.acc-grid .acc .acc-h h3::after{content:none!important}
.acc-sub{font:500 10.5px/1.5 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--em)}
.acc-grid .acc .code{position:absolute!important;right:18px;top:16px;margin:0!important;padding:0!important;box-shadow:none!important;background:none!important;
  font:600 3.1rem/1 var(--f-display)!important;font-variation-settings:"opsz" 9!important;letter-spacing:-.03em!important;color:rgb(5 31 32 / .14)!important;-webkit-text-fill-color:rgb(5 31 32 / .14)!important;-webkit-text-stroke:0!important;z-index:1}
html[data-theme="dark"] .acc-grid .acc .code{color:rgb(218 241 222 / .14)!important;-webkit-text-fill-color:rgb(218 241 222 / .14)!important}
.acc-meta{position:relative;z-index:2;margin:18px 22px 0;padding-top:14px;font:500 11.5px/1.5 var(--f-mono);letter-spacing:.04em;color:var(--tx-2);border-top:1px solid rgb(5 31 32 / .1)}
.acc-meta::before{content:"";display:block;width:34px;height:2px;margin:-15px 0 14px;background:var(--chrome-edge)}
.acc-grid .acc .acc-f{position:relative;z-index:2;margin-top:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px 20px!important;border:0!important}
.acc-more{display:inline-flex;align-items:center;gap:6px;padding:7px 10px 7px 12px;border-radius:8px;corner-shape:bevel;font:700 .7rem/1 var(--f-body);letter-spacing:.07em;text-transform:uppercase;color:var(--tx);
  background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .7),rgb(255 255 255 / .35));box-shadow:inset 0 0 0 1px rgb(5 31 32 / .12),inset 0 1px 0 #fff;transition:background .3s,color .3s,box-shadow .3s}
.acc-more svg{width:13px;height:13px;transition:transform .4s var(--e-out)}
.acc.card:hover .acc-more,.acc-more:focus-visible{background:#396758;color:#fff;box-shadow:none}
.acc.card:hover .acc-more svg{transform:translate(2px,-2px)}
html[data-theme="dark"] .acc-more{background:rgb(255 255 255 / .08);color:#daf1de;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .18)}
.acc-grid .acc .acc-f .tag{font-size:9.5px!important}
/* the pop-up */
.acc-pop{display:grid;gap:18px}
.acc-pop-ph{margin:-8px -8px 0;border-radius:12px;overflow:hidden;aspect-ratio:16/7}
.acc-pop-ph img{width:100%;height:100%;object-fit:cover}
.acc-pop-h{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-right:44px}
.acc-pop-h h2{font:600 clamp(1.8rem,1.4rem + 1.2vw,2.4rem)/1.05 var(--f-display)!important;margin:12px 0 6px}
.acc-pop-code{font:600 3rem/1 var(--f-display);font-variation-settings:"opsz" 9;color:rgb(5 31 32 / .16)}
.acc-pop .acc-t{display:grid!important;grid-template-columns:1fr 1fr;gap:18px 26px;padding:16px 0 0;border-top:1px solid rgb(5 31 32 / .1)}
@media (max-width:640px){.acc-pop .acc-t{grid-template-columns:1fr}}
.acc-pop .acc-lbl{display:block;margin-bottom:8px;font:500 10px/1.3 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
.acc-pop dl{display:grid;gap:10px;margin:0}
.acc-pop dt{font:600 .92rem/1.35 var(--f-body)}
.acc-pop dd{margin:2px 0 0;font:500 11.5px/1.4 var(--f-mono);color:var(--tx-3)}
.acc-pop ul{display:grid;gap:8px}
.acc-pop li{position:relative;padding-left:18px;font-size:.92rem;line-height:1.45;color:var(--tx-2)}
.acc-pop li::before{content:"";position:absolute;left:0;top:.5em;width:6px;height:6px;border:1px solid var(--em);transform:rotate(45deg)}
.acc-pop .btn{justify-self:start}
.modal-box{width:min(640px,calc(100vw - 24px))!important}

/* ================================================================== v6 · tighter page, numbered cards, bot button, glass forms */
.sec{padding:clamp(46px,5.6vw,84px) 0!important}
.sec-head{margin-bottom:clamp(22px,3vw,40px)!important}
.proc[data-stack]>.proc-s{margin:0!important;min-height:0!important;padding:clamp(18px,2.2vw,28px) clamp(20px,2.6vw,34px)!important;row-gap:8px!important}
.proc[data-stack] .proc-s ul li{padding:9px 0 9px 20px!important}
/* big numerals on the other numbered cards too */
.place .pl-n,.ap .folio,.ws-n{font-family:var(--f-display)!important;font-weight:600!important;font-variation-settings:"opsz" 9!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:1.2px var(--em)!important;filter:none!important}
.place .pl-n{font-size:3.4rem!important;line-height:.85!important}
/* course card faces: the two papers, so the syllabus shows without opening */
.acc-papers{position:relative;z-index:2;display:grid;gap:6px;margin:12px 22px 0;font-size:.84rem;line-height:1.35;color:var(--tx-2)}
.acc-papers span{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:baseline}
.acc-papers i{font:500 9.5px/1 var(--f-mono);font-style:normal;letter-spacing:.1em;color:var(--em);padding:3px 5px;border-radius:4px;box-shadow:inset 0 0 0 1px rgb(57 103 88 / .3)}

/* the Ilm bot button: a small frosted plate with the MFM tile and a live dot */
.fab{height:auto!important;padding:6px 14px 6px 6px!important;gap:10px!important;border:0!important;border-radius:14px!important;corner-shape:squircle;
  background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .78),rgb(255 255 255 / .5))!important;-webkit-backdrop-filter:blur(18px) saturate(170%)!important;backdrop-filter:blur(18px) saturate(170%)!important;
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .1),0 18px 38px -18px rgb(5 31 32 / .5)!important;color:var(--tx)!important;transition:transform .35s var(--e-out),box-shadow .35s!important}
.fab::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chrome-edge);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.fab:hover{transform:translateY(-2px)!important;background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .9),rgb(255 255 255 / .66))!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(57 103 88 / .25),0 22px 44px -18px rgb(5 31 32 / .55)!important}
.fab .seal{width:38px!important;height:38px!important;border-radius:10px!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 0 0 1px rgb(0 0 0 / .5)!important}
.fab .seal b{font-size:11.5px!important}
.fab .t{display:grid!important;gap:3px;text-align:left;font:600 .86rem/1 var(--f-display)!important;font-variation-settings:"opsz" 11!important;color:var(--tx)!important;letter-spacing:0!important}
.fab .t::after{content:"Ask about any topic";font:500 9px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3)}
.fab .seal::before{content:"";position:absolute;right:-3px;top:-3px;width:9px;height:9px;border-radius:50%;background:#8eb69b;box-shadow:0 0 0 2px #fff;z-index:3}
.fab .seal{overflow:visible!important}
html[data-theme="dark"] .fab{background:var(--frost),linear-gradient(180deg,rgb(5 31 32 / .9),rgb(5 31 32 / .85))!important;color:#daf1de!important}
html[data-theme="dark"] .fab .t{color:#daf1de!important}
.mb-ask .seal{border-radius:10px!important}

/* forms: frosted glass panels, frosted fields, silver focus */
.reg.card,form.card,.form.card{background:var(--frost),linear-gradient(155deg,rgb(255 255 255 / .5),rgb(255 255 255 / .2) 55%,rgb(218 241 222 / .18))!important}
.field label,.field .lbl{font:500 10.5px/1.3 var(--f-mono)!important;letter-spacing:.14em!important;text-transform:uppercase;color:var(--tx-3)!important}
.field input,.field textarea,.field select{background:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .62),rgb(255 255 255 / .36))!important;border:0!important;
  box-shadow:inset 0 0 0 1px rgb(5 31 32 / .14),inset 0 1px 0 #fff!important;color:var(--tx)!important;font:500 .95rem/1.3 var(--f-body)!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:box-shadow .2s!important}
.field input:hover,.field textarea:hover{box-shadow:inset 0 0 0 1px rgb(5 31 32 / .26),inset 0 1px 0 #fff!important}
.field input:focus,.field textarea:focus{outline:0!important;box-shadow:inset 0 0 0 1px var(--em),0 0 0 4px rgb(57 103 88 / .12)!important}
.field input::placeholder,.field textarea::placeholder{color:rgb(5 31 32 / .38)!important}
html[data-theme="dark"] :is(.field input,.field textarea){background:rgb(255 255 255 / .06)!important;color:#daf1de!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .16)!important}
.seg{border-radius:10px!important;background:rgb(255 255 255 / .35)!important;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .1)!important;padding:4px!important;gap:4px!important}
.seg button,.seg a{border-radius:7px!important}
.seg button[aria-pressed="true"],.seg a[aria-current]{background:#051f20!important;color:#edf8ef!important}
.reg-steps i{border-radius:2px!important}

/* ================================================================== v7 · the "soft silver" touch
   From the reference: matte light-grey surfaces, raised panels with a white top edge and a soft
   shadow, inset fields, selected items as raised white chips, small grey counters. No shine. */
:root[data-theme="light"]{
  --paper:#eceeef;
  --glass:var(--frost),linear-gradient(180deg,rgb(255 255 255 / .58) 0%,rgb(240 249 242 / .4) 100%);
  --glass-sh:inset 0 1px 0 rgb(255 255 255 / .95),inset 0 0 0 1px rgb(255 255 255 / .55),0 1px 2px rgb(5 31 32 / .06),0 14px 34px -16px rgb(5 31 32 / .18);
  --chrome-edge:linear-gradient(180deg,rgb(255 255 255 / .95),rgb(214 218 221 / .9) 60%,rgb(200 205 208 / .9));
  --raise:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .08),0 6px 16px -8px rgb(5 31 32 / .22);
  --inset:inset 0 1px 2px rgb(5 31 32 / .1),inset 0 0 0 1px rgb(5 31 32 / .05),0 1px 0 rgb(255 255 255 / .9);
}
html[data-theme="light"] body{background:#eceeef!important}
html[data-theme="light"] .bg-base{background:
  radial-gradient(900px 600px at 86% 4%,rgb(84 128 109 / .09),transparent 62%),
  radial-gradient(800px 600px at 6% 40%,rgb(255 255 255 / .9),transparent 66%),
  radial-gradient(900px 640px at 94% 82%,rgb(205 209 212 / .55),transparent 62%),
  linear-gradient(180deg,#f1f2f3 0%,#e7e9ea 100%)!important}
html[data-theme="light"] .aurora i{opacity:.35!important}
/* panels */
html[data-theme="light"] .card{box-shadow:var(--glass-sh)!important}
html[data-theme="light"] .card::after{background:linear-gradient(180deg,rgb(255 255 255 / .95),rgb(255 255 255 / .35) 40%,rgb(200 205 208 / .55))!important}
html[data-theme="light"] .card::before{background:linear-gradient(180deg,rgb(255 255 255 / .45),transparent 38%)!important;opacity:1!important}
/* fields: soft inset wells */
html[data-theme="light"] :is(.field input,.field textarea){background:#e6e8e9!important;box-shadow:var(--inset)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme="light"] :is(.field input,.field textarea):hover{background:#e2e4e6!important;box-shadow:var(--inset)!important}
html[data-theme="light"] :is(.field input,.field textarea):focus{background:#eef0f1!important;box-shadow:inset 0 1px 2px rgb(5 31 32 / .08),0 0 0 1px rgb(57 103 88 / .55),0 0 0 4px rgb(57 103 88 / .1)!important}
html[data-theme="light"] .xsel-btn{background:#e6e8e9!important;box-shadow:var(--inset)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme="light"] .xsel.open .xsel-btn{background:#eef0f1!important;box-shadow:inset 0 1px 2px rgb(5 31 32 / .08),0 0 0 1px rgb(57 103 88 / .55),0 0 0 4px rgb(57 103 88 / .1)!important}
html[data-theme="light"] .nav-search{background:#e6e8e9!important;box-shadow:var(--inset)!important;border:0!important}
/* segmented choices: an inset track, the chosen one a raised white chip */
html[data-theme="light"] .seg{background:#e4e6e8!important;box-shadow:var(--inset)!important}
html[data-theme="light"] .seg button,html[data-theme="light"] .seg a{background:transparent!important;color:var(--tx-2)!important;box-shadow:none!important}
html[data-theme="light"] .seg button[aria-pressed="true"],html[data-theme="light"] .seg a[aria-current]{background:linear-gradient(180deg,#fff,#f0f9f2)!important;color:var(--tx)!important;box-shadow:var(--raise)!important}
html[data-theme="light"] .seg button[aria-pressed="true"]::before{background:var(--em)!important}
/* lists: the current item raised, like the reference's selected row */
html[data-theme="light"] :is(.menu nav a,.nav-drop a,.nav-links a)[aria-current="page"],html[data-theme="light"] .menu nav a:hover,html[data-theme="light"] .nav-drop a:hover{background:linear-gradient(180deg,#fff,#f5f6f6)!important;box-shadow:var(--raise)!important}
html[data-theme="light"] .nav-links a:hover{background:rgb(255 255 255 / .6)!important}
html[data-theme="light"] .xsel-list li:hover,html[data-theme="light"] .xsel-list li.act{background:#eceeef}
/* small grey counters and tags */
html[data-theme="light"] :is(.tag,.tool-tab,.chip,.pill,.hero-codes span,.acc-more){background:#e6e8e9!important;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .06),0 1px 0 rgb(255 255 255 / .9)!important;color:var(--tx-2)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme="light"] .acc.card:hover .acc-more{background:#396758!important;color:#fff!important}
html[data-theme="light"] .menu nav a small,html[data-theme="light"] .nav-drop a small{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:5px;background:#e6e8e9;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .06);opacity:1!important}
/* glass buttons: raised white, not see-through */
html[data-theme="light"] .btn.btn.btn:not(.btn-pri):not(.btn-green){background:linear-gradient(180deg,#fff,#f3f4f5)!important;box-shadow:var(--raise)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme="light"] .btn.btn.btn:not(.btn-pri):not(.btn-green)::after{background:linear-gradient(180deg,rgb(255 255 255 / .9),rgb(200 205 208 / .6))!important}
/* nav, menu, bottom bar, bot: soft matte plates */
html[data-theme="light"] :is(.nav,.menu,.mbar,.app-card,.nav-drop,.fab,.dock){background:var(--frost),linear-gradient(180deg,rgb(248 249 249 / .86),rgb(238 240 241 / .78))!important;box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .06),0 16px 36px -18px rgb(5 31 32 / .28)!important}
html[data-theme="light"] :is(.nav-cart,.burger,.dock button,.ibtn){background:linear-gradient(180deg,#fff,#f2f3f4)!important;box-shadow:var(--raise)!important;border:0!important}
/* stats: the big figures in a lighter, quieter weight like the reference */
.hero-facts dt{font-weight:400!important}

/* ================================================================== v8 · forms as smoked glass over silver shapes */
.v2-stage{position:relative;isolation:isolate;min-width:0}
.v2-stage>.v2-form{position:relative;z-index:1;width:100%}
.v2-orb{position:absolute;z-index:0;pointer-events:none;border-radius:50%;animation:v2float 14s ease-in-out infinite alternate}
.v2-orb-a{width:clamp(120px,16vw,200px);aspect-ratio:1;right:-6%;top:-9%;
  background:radial-gradient(circle at 34% 30%,#fbfcfc 0%,#dde1e3 20%,#aab0b4 46%,#6b7175 72%,#3b4043 94%);box-shadow:0 30px 50px -20px rgb(5 31 32 / .45)}
.v2-orb-b{width:clamp(180px,24vw,300px);aspect-ratio:1;left:-12%;bottom:-14%;animation-duration:18s;animation-direction:alternate-reverse;
  background:radial-gradient(circle,transparent 0 33%,#3f4447 35%,#8f969b 42%,#e6e9eb 50%,#b4babe 58%,#5b6064 66%,#2f3335 70%,transparent 71.5%);filter:drop-shadow(0 24px 30px rgb(5 31 32 / .35))}
.v2-orb-c{width:clamp(54px,6vw,80px);aspect-ratio:1;right:8%;bottom:-6%;animation-duration:11s;
  background:radial-gradient(circle at 34% 30%,#f2faf3 0%,#cfd4d7 30%,#868d92 66%,#3d4245 96%)}
.v2-stage-1 .v2-orb-a{right:auto;left:-7%;top:-8%}.v2-stage-1 .v2-orb-b{left:auto;right:-12%}
.v2-stage-2 .v2-orb-a{top:auto;bottom:-10%;right:-8%}.v2-stage-2 .v2-orb-b{bottom:auto;top:-16%;left:-10%}
@keyframes v2float{from{transform:translate3d(0,0,0) rotate(0deg)}to{transform:translate3d(10px,-14px,0) rotate(8deg)}}
@media (prefers-reduced-motion:reduce){.v2-orb{animation:none}}
@media (max-width:640px){.v2-orb-a{right:-4%;top:-5%}.v2-orb-b{left:-18%;bottom:-8%}}

/* ================================================================== v9 · the curved glass carousel (reference: glass-card travel UI)
   Middle card faces you; the others turn inward and step back on a curve. */
.v2-flow{--cw:min(300px,74vw);--ch:400px;--gap:calc(var(--cw) * .62);position:relative;display:block!important;height:calc(var(--ch) + 30px);
  perspective:1400px;perspective-origin:50% 45%;transform-style:preserve-3d;overflow:visible!important;padding:0!important;margin:8px auto 0;max-width:100%;
  grid-template-columns:none!important;touch-action:pan-y;user-select:none}
.v2-flow-words{--cw:min(250px,66vw);--ch:330px;--gap:calc(var(--cw) * .7)}
.v2-flow>.card{overflow:hidden}
.v2-flow-courses .acc .acc-h>div{position:static!important}
.v2-flow>.card{position:absolute!important;left:50%;top:10px;width:var(--cw)!important;max-width:none!important;min-width:0!important;height:var(--ch);margin:0 0 0 calc(var(--cw) / -2)!important;
  transform:translateX(calc(var(--d) * var(--gap))) translateZ(calc(var(--ad) * -130px)) rotateY(calc(var(--d) * -26deg)) scale(calc(1 - var(--ad) * .04))!important;
  transition:transform .55s cubic-bezier(.22,.9,.28,1),opacity .4s,filter .4s,box-shadow .4s!important;
  z-index:calc(10 - var(--ad));opacity:calc(1 - var(--ad) * .12);filter:saturate(calc(1 - var(--ad) * .2));cursor:pointer}
.v2-flow>.card.is-far{opacity:0!important;pointer-events:none}
.v2-flow>.card.is-c{box-shadow:0 40px 80px -30px rgb(5 31 32 / .45),inset 0 1px 0 rgb(255 255 255 / .9)!important;cursor:default}
.v2-flow-courses>.card.is-c{cursor:pointer}
.v2-flow>.card:not(.is-c):hover{filter:saturate(1) brightness(1.03)}
html.js .v2-flow>.card[data-rv].rv-wait:not(.in){opacity:0!important;transform:translateX(calc(var(--d) * var(--gap) * .6)) translateZ(-200px) rotateY(calc(var(--d) * -40deg))!important}
@media (max-width:640px){.v2-flow{--ch:400px}.v2-flow-words{--ch:330px}.v2-flow>.card{transform:translateX(calc(var(--d) * var(--gap) * .78)) translateZ(calc(var(--ad) * -150px)) rotateY(calc(var(--d) * -30deg)) scale(calc(1 - var(--ad) * .05))!important}}
/* the course card: picture on top, frosted text panel below */
.v2-flow-courses .acc{display:flex!important;flex-direction:column;padding:0!important;overflow:hidden}
.v2-flow-courses .acc .acc-ph{display:block!important;position:relative;flex:0 0 132px;height:132px!important;margin:0!important;border-radius:0!important}
.v2-flow-courses .acc .acc-ph::after{left:14px;bottom:auto;top:12px}
.v2-flow-courses .acc .acc-ph::before{content:"";position:absolute;inset:auto 0 0 0;height:60%;background:linear-gradient(180deg,transparent,rgb(236 238 239 / .9));z-index:2}
.v2-flow-courses .acc .code{top:84px!important;right:auto!important;left:20px!important;font-size:3.4rem!important;z-index:3!important;color:rgb(5 31 32 / .8)!important;-webkit-text-fill-color:rgb(5 31 32 / .8)!important;letter-spacing:-.035em!important}
.v2-flow-courses .acc .acc-h{padding:0 20px!important;margin-top:12px}
.v2-flow-courses .acc .acc-h .tag{position:absolute;right:16px;top:12px;z-index:3}
.v2-flow-courses .acc .acc-h h3{margin:8px 0 4px!important;font-size:1.55rem!important}
.v2-flow-courses .acc .acc-meta{margin:12px 20px 0}
.v2-flow-courses .acc .acc-papers{margin:10px 20px 0}
.v2-flow-courses .acc .acc-f{padding:12px 20px 16px!important}
.v2-flow-courses .acc .acc-f .tag{display:none!important}
.v2-flow-courses .acc .acc-f{justify-content:flex-end}
.v2-flow-courses .acc:not(.is-c) .acc-more{opacity:.6}
/* the word cards */
.v2-flow-words .cw{display:flex!important;flex-direction:column;gap:10px;padding:20px!important}
.v2-flow-words .cw b{font-size:1.45rem!important;margin-top:6px}
.v2-flow-words .cw .cw-m{margin-top:auto}
/* controls: a small frosted pill and dots, under the curve */
.v2-flow-ctl{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px auto 0;width:max-content;max-width:100%;padding:6px;border-radius:14px;corner-shape:squircle;
  background:var(--frost),linear-gradient(180deg,rgb(248 249 249 / .86),rgb(238 240 241 / .74));-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .07),0 14px 30px -16px rgb(5 31 32 / .3)}
.v2-flow-b{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;corner-shape:bevel;background:linear-gradient(180deg,#fff,#f1f2f3);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .1),0 4px 10px -6px rgb(5 31 32 / .3);color:var(--tx);transition:transform .25s var(--e-out)}
.v2-flow-b:hover{transform:translateY(-1px)}
.v2-flow-b svg{width:15px;height:15px}
.v2-flow-now{display:grid;gap:3px;min-width:150px;text-align:center;padding:0 6px}
.v2-flow-now b{font:600 .95rem/1.1 var(--f-display);font-variation-settings:"opsz" 11;color:var(--tx);white-space:nowrap}
.v2-flow-now i{font:500 9.5px/1 var(--f-mono);font-style:normal;letter-spacing:.14em;color:var(--tx-3)}
.v2-flow-dots{display:flex;justify-content:center;gap:6px;margin:12px 0 0}
.v2-flow-dots button{width:6px;height:6px;border-radius:3px;background:rgb(5 31 32 / .18);transition:width .3s var(--e-out),background .3s}
.v2-flow-dots button.on{width:20px;background:#051f20}
html[data-theme="dark"] .v2-flow-ctl{background:var(--frost),linear-gradient(180deg,rgb(5 31 32 / .9),rgb(5 31 32 / .85));box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 0 0 1px rgb(255 255 255 / .08)}
html[data-theme="dark"] .v2-flow-b{background:rgb(255 255 255 / .08);color:#daf1de;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .14)}
html[data-theme="dark"] .v2-flow-now b{color:#daf1de}
html[data-theme="dark"] .v2-flow-dots button.on{background:#daf1de}
.v2-flow+.rail-ctl{display:none!important}

/* ================================================================== v10 · curvy edges, clear glass
   All corners are smooth round curves (no cut corners), and glass is see-through. */
*,*::before,*::after{corner-shape:round!important}
:root{--r-ui:14px;--r-card:24px;--r-panel:22px}
.card,.v2-flow>.card,.hero-facts>div{border-radius:24px!important}
.btn.btn.btn,.btn.btn-sm.btn,.btn.btn-lg.btn,.btn.btn-xs.btn,.nav .btn.btn-enrol.btn{border-radius:14px!important}
.btn-x .btn-fill,.btn-x .btn-i,.btn-x .btn-i::before{border-radius:10px!important}
.btn.btn-x:hover .btn-fill,.btn.btn-x:focus-visible .btn-fill{border-radius:14px!important}
:is(.tag,.chip,.pill,.st,.stage-pill,.status-pill,.fee-st,.pct,.tp,.tmini,.time-it,.toast,.org-ceo,.sy-q,.check-list li,.dl a,.dl-b,.route .stop,.topicline a,.hero-codes span,.fl,.tape i,.seg a,.seg button,.opts button,.wi-btns button,.tool-tab,.acc-more,.acc-papers i){border-radius:10px!important}
.nav{border-radius:22px!important}
.menu,.nav-drop,.xsel-list,.cmdk-box,.modal-box,.bot,.app-card,.mbar,.fab,.dock,.v2-flow-ctl{border-radius:22px!important}
.nav-links a,.nav-more>button,.nav-search,.nav-cart,.burger,.menu nav a,.nav-drop a,.xsel-list li,.v2-flow-b{border-radius:12px!important}
.field input,.field textarea,.xsel-btn,.seg,.cmdk-in input,.bot-f input{border-radius:14px!important}
.seal{border-radius:12px!important}
.fab .seal{border-radius:11px!important}

/* clear glass: barely tinted, edges and blur do the work */
:root[data-theme="light"]{
  --glass:linear-gradient(155deg,rgb(255 255 255 / .2) 0%,rgb(255 255 255 / .06) 50%,rgb(255 255 255 / .1) 100%);
  --glass-sh:inset 0 1px 0 rgb(255 255 255 / .9),inset 0 0 0 1px rgb(255 255 255 / .55),inset 0 -10px 24px -18px rgb(255 255 255 / .6),0 18px 40px -26px rgb(5 31 32 / .28);
}
:root[data-theme="dark"]{--glass:linear-gradient(155deg,rgb(255 255 255 / .07),rgb(255 255 255 / .02))}
.card{-webkit-backdrop-filter:blur(14px) saturate(180%)!important;backdrop-filter:blur(14px) saturate(180%)!important}
html[data-theme="light"] .card::before{background:linear-gradient(115deg,rgb(255 255 255 / .38),transparent 34%,transparent 70%,rgb(255 255 255 / .16))!important;opacity:1!important}
html[data-theme="light"] .card::after{background:linear-gradient(160deg,rgb(255 255 255 / 1),rgb(255 255 255 / .4) 35%,rgb(190 196 200 / .7) 70%,rgb(255 255 255 / .9))!important;opacity:1!important}
html[data-theme="light"] .hero-facts>div{background:var(--glass)!important;box-shadow:var(--glass-sh)!important}
/* the course card's picture area and text panel stay clear too */
.v2-flow-courses .acc .acc-ph::before{background:linear-gradient(180deg,transparent,rgb(255 255 255 / .35))!important}
.ph{background:repeating-linear-gradient(135deg,rgb(5 31 32 / .03) 0 10px,transparent 10px 20px),linear-gradient(180deg,rgb(255 255 255 / .18),rgb(255 255 255 / .06))!important}
/* bars and panels: lighter, more see-through */
html[data-theme="light"] :is(.nav,.mbar,.fab,.dock,.v2-flow-ctl){background:linear-gradient(180deg,rgb(255 255 255 / .42),rgb(255 255 255 / .22))!important;-webkit-backdrop-filter:blur(18px) saturate(180%)!important;backdrop-filter:blur(18px) saturate(180%)!important}
html[data-theme="light"] .nav.solid{background:linear-gradient(180deg,rgb(255 255 255 / .6),rgb(255 255 255 / .4))!important}
html[data-theme="light"] :is(.menu,.nav-drop,.xsel-list,.app-card){background:linear-gradient(180deg,rgb(255 255 255 / .62),rgb(255 255 255 / .46))!important;-webkit-backdrop-filter:blur(26px) saturate(180%)!important;backdrop-filter:blur(26px) saturate(180%)!important}

/* ================================================================== v11 · the method pile + carousel drag */
.v2-pile.v2-pile[data-stack]{display:block!important;position:relative!important;overflow:visible!important;grid-auto-flow:row!important;scroll-snap-type:none!important}
.v2-pile.v2-pile[data-stack]>.card.card{position:absolute!important;left:0;right:0;margin:0!important;
  background:linear-gradient(160deg,rgb(255 255 255 / .82),rgb(242 250 243 / .7))!important;
  -webkit-backdrop-filter:blur(22px) saturate(160%)!important;backdrop-filter:blur(22px) saturate(160%)!important;
  box-shadow:inset 0 1px 0 #fff,0 -8px 24px -18px rgb(5 31 32 / .25),0 24px 50px -30px rgb(5 31 32 / .4)!important;will-change:translate,scale,opacity;
  translate:0 var(--py,0px);scale:var(--ps,1);opacity:var(--po,1)!important;transform-origin:50% 0}
html[data-theme="dark"] .v2-pile.v2-pile[data-stack]>.card.card{background:linear-gradient(160deg,rgb(11 43 38 / .92),rgb(5 31 32 / .9))!important}
.v2-flow.dragging>.card{transition:none!important}
.v2-flow{cursor:grab}
.v2-flow.dragging{cursor:grabbing}
.v2-flow img{-webkit-user-drag:none;pointer-events:none}

/* ================================================================== v12 · the full polish pass */

/* ---- living background: three soft lights drift slowly behind the glass */
html[data-theme="light"] .aurora i{opacity:1!important}
html[data-theme="light"] .aurora i:nth-child(1){background:radial-gradient(closest-side,rgb(84 128 109 / .16),rgb(84 128 109 / .05) 55%,transparent 72%)!important;animation:au1 38s var(--e-io) infinite alternate!important}
html[data-theme="light"] .aurora i:nth-child(2){background:radial-gradient(closest-side,rgb(160 168 175 / .38),rgb(160 168 175 / .1) 55%,transparent 72%)!important;animation:au2 46s var(--e-io) infinite alternate!important}
html[data-theme="light"] .aurora i:nth-child(3){background:radial-gradient(closest-side,rgb(255 255 255 / .95),transparent 70%)!important;animation:au3 54s var(--e-io) infinite alternate!important}
html[data-theme="dark"] .aurora i{animation-play-state:running}
.aurora i:nth-child(1){animation:au1 38s var(--e-io) infinite alternate!important}
.aurora i:nth-child(2){animation:au2 46s var(--e-io) infinite alternate!important}
.aurora i:nth-child(3){animation:au3 54s var(--e-io) infinite alternate!important}
@media (prefers-reduced-motion:reduce){.aurora i{animation:none!important}}

/* ---- nothing blinks: no bobbing labels, pulsing rings or ticking numbers */
.fl,.vid-play::after,.mini-t .num,.msg.typing i{animation:none!important}
.cursor{display:none!important}
html,body,a,button{cursor:auto}
a,button,[role="button"],summary,label{cursor:pointer}

/* ---- curved ribbons (after the Sir Suhail Aziz site) */
.v2-ribbon{position:relative;width:100%;height:clamp(170px,19vw,280px);margin:clamp(-46px,-3vw,-18px) 0 clamp(8px,2vw,26px);pointer-events:none;overflow:hidden;z-index:2;contain:layout paint}
.v2-ribbon svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.rb-layer-text{will-change:transform}
.rb-band{fill:none;stroke-width:62;stroke-linecap:butt}
.rb-band-dark{stroke:url(#rbBg);filter:drop-shadow(0 16px 22px rgb(5 31 32 / .35))}
.rb-band-silver{stroke:url(#rbAg);filter:drop-shadow(0 16px 24px rgb(5 31 32 / .22))}
.rb-edge{fill:none;stroke:rgb(255 255 255 / .2);stroke-width:54;stroke-dasharray:2 14}
.rb-edge-ink{stroke:rgb(5 31 32 / .14)}
.rb-text{font-family:var(--f-display);font-weight:600;font-size:25px;letter-spacing:.05em;text-transform:uppercase;font-variation-settings:"opsz" 14}
.rb-text-dark{fill:#dbf1df}
.rb-text-silver{fill:#051f20}
@media (max-width:640px){.v2-ribbon{height:130px;margin:-8px 0}.rb-text{font-size:30px}.rb-band{stroke-width:70}}

/* ---- hero: the three figures as one glass band */
.hero-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding:6px!important;margin-top:26px!important;position:relative;
  border-radius:24px;background:var(--glass)!important;-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:var(--glass-sh)!important}
.hero-facts::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(160deg,#fff,rgb(255 255 255 / .4) 35%,rgb(190 196 200 / .7) 70%,#fff);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.hero-facts>div{background:none!important;box-shadow:none!important;border-radius:18px!important;padding:14px 18px 16px!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;display:grid;gap:6px;align-content:start}
.hero-facts>div::after,.hero-facts>div::before{content:none!important}
.hero-facts>div+div{box-shadow:-1px 0 0 rgb(5 31 32 / .08)!important;border-radius:0!important}
.hero-facts dt{display:flex;align-items:flex-start;gap:2px;font:500 clamp(2.1rem,1.6rem + 1.6vw,3rem)/.9 var(--f-display)!important;letter-spacing:-.03em!important;font-variation-settings:"opsz" 18!important}
.hero-facts dt::after{content:none}
.hero-facts dt span+*,.hero-facts dt{color:var(--tx)!important}
.hero-facts dd{margin:0;font:500 .78rem/1.4 var(--f-body)!important;color:var(--tx-2)!important}
.hero-facts dd::before{display:block;margin-bottom:4px;font:500 9px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.hero-facts>div:nth-child(1) dd::before{content:"Experience"}
.hero-facts>div:nth-child(2) dd::before{content:"Students"}
.hero-facts>div:nth-child(3) dd::before{content:"Centres"}
@media (max-width:560px){.hero-facts>div{padding:12px 10px 12px!important}.hero-facts dt{font-size:1.9rem!important}.hero-facts dd{font-size:.7rem!important}}
/* syllabus codes and the Bismillah */
.hero-codes{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important;margin-top:16px!important}
.hero-codes .hc{display:grid;gap:3px;padding:9px 14px 10px;border-radius:16px;background:var(--glass);-webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);box-shadow:var(--glass-sh)}
.hero-codes .hc small{font:500 8.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)}
.hero-codes .hc b{font:600 1.3rem/1 var(--f-display);letter-spacing:-.01em;color:var(--tx);font-variation-settings:"opsz" 14}
.hero-codes .hc-ar{flex:1 1 auto;display:flex;align-items:center;gap:12px;padding:0 6px;font:400 clamp(1.3rem,1.1rem + .6vw,1.7rem)/1.6 var(--f-ar)!important;color:var(--em);white-space:nowrap}
.hero-codes .hc-ar::before{content:"";flex:1;min-width:20px;height:1px;background:linear-gradient(90deg,transparent,rgb(5 31 32 / .2))}
@media (max-width:560px){.hero-codes .hc-ar{flex-basis:100%;justify-content:center}.hero-codes .hc-ar::after{content:"";flex:1;min-width:20px;height:1px;background:linear-gradient(270deg,transparent,rgb(5 31 32 / .2))}}
/* the turning MFM badge: neat, small, glass disc */
.hero-badge{width:clamp(104px,9vw,128px)!important;left:-3%!important;top:2%!important;animation:none!important}
.hero-badge::before{inset:2%!important;background:var(--glass)!important;-webkit-backdrop-filter:blur(14px) saturate(170%)!important;backdrop-filter:blur(14px) saturate(170%)!important;box-shadow:var(--glass-sh)!important}
.hb-ring{animation:hbSpin 40s linear infinite!important}
.hb-ring text{font:500 11.5px/1 var(--f-mono)!important;letter-spacing:.14em!important;fill:var(--tx-2)!important}
.hero-badge .hb-sa{width:54%!important}
.hero-badge .hb-sa b{font-size:1.35rem!important}
@media (prefers-reduced-motion:reduce){.hb-ring{animation:none!important}}

/* ---- zakat studio */
.be-studio.card{padding:clamp(16px,2.4vw,28px)!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;gap:clamp(16px,2.6vw,36px)!important}
.be-ctrl{display:flex!important;flex-direction:column;gap:16px!important}
.be-pre{order:-2}
.be-out{order:-1;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;background:none!important;border:0!important;overflow:visible!important;margin:0!important}
.be-out>div{background:var(--glass)!important;border-radius:16px;padding:12px 14px!important;box-shadow:var(--glass-sh)}
.be-out>div:last-child{background:linear-gradient(160deg,#396758,#235347)!important;box-shadow:0 14px 30px -16px rgb(57 103 88 / .7)!important}
.be-out>div:last-child dt{color:rgb(255 255 255 / .7)!important}
.be-out>div:last-child dd{color:#fff!important}
.be-out dt{font:500 9px/1.2 var(--f-mono)!important;letter-spacing:.14em!important;color:var(--tx-3)!important}
.be-out dd{font:500 1.45rem/1.05 var(--f-display)!important;letter-spacing:-.02em;font-variation-settings:"opsz" 14}
.sl{gap:8px!important}
.sl>span{font:500 9.5px/1.2 var(--f-mono)!important;color:var(--tx-3)!important}
.sl>span b{font:600 .9rem/1 var(--f-body)!important;color:var(--tx)!important}
input[type=range]{-webkit-appearance:none;appearance:none;height:22px;background:transparent}
input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#396758 var(--fill,50%),rgb(5 31 32 / .12) var(--fill,50%))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;margin-top:-8px;border-radius:50%;background:linear-gradient(180deg,#fff,#eceeef);box-shadow:0 0 0 1px rgb(5 31 32 / .12),0 3px 8px rgb(5 31 32 / .25),inset 0 0 0 5px #fff,inset 0 0 0 7px #396758}
input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:rgb(5 31 32 / .12)}
input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:#396758}
input[type=range]::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgb(5 31 32 / .12),0 3px 8px rgb(5 31 32 / .25),inset 0 0 0 5px #396758}
.be-fig{display:grid;gap:12px;align-content:start}
.be-say{font-size:.92rem!important;line-height:1.6;color:var(--tx-2)}
.note-sm{font-size:.74rem!important;color:var(--tx-3)!important}
@media (max-width:860px){.be-studio.card{grid-template-columns:1fr!important}}

/* ---- syllabus map: a code plate, then two paper trays of numbered glass cards. No connector lines. */
.org.card{padding:clamp(16px,2.4vw,28px)!important}
.org-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.org-top .seg{margin-left:auto}
.org-count{font:500 10px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3);flex-basis:100%;text-align:right}
.sm-code{display:inline-grid;gap:4px;padding:10px 16px 9px;border-radius:14px;background:var(--obsidian);box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 0 0 1px rgb(0 0 0 / .6),0 14px 28px -16px rgb(5 31 32 / .7)}
.sm-code span{font:500 9px/1 var(--f-mono);letter-spacing:.2em;text-transform:uppercase;color:#9aa3a7}
.sm-code b{font:600 1.35rem/1 var(--f-display);font-variation-settings:"opsz" 14;background:var(--chrome-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.org-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:clamp(16px,2.4vw,30px);align-items:start}
.sm-trays{display:grid;gap:18px;min-width:0}
.sm-th{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.sm-pn{font:500 10px/1 var(--f-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--tx-3)}
.sm-pn b{font:600 1.15rem/1 var(--f-display);letter-spacing:0;color:var(--tx);margin-left:4px;vertical-align:-1px}
.sm-rule{flex:1;height:1px;background:linear-gradient(90deg,rgb(5 31 32 / .18),rgb(5 31 32 / .04))}
.sm-tc{font:500 10px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--em)}
.sm-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html[data-theme] .dept.dept{position:relative;display:grid;grid-template-rows:auto 1fr auto;gap:10px;min-height:172px;padding:14px 14px 13px!important;text-align:left;overflow:hidden;
  border:0!important;border-radius:18px!important;background:var(--glass)!important;box-shadow:var(--glass-sh)!important;transition:transform .35s var(--e-out),box-shadow .35s,background .35s!important}
.dept .dh{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.dept .dn{flex:none;margin:-4px -2px 0 0;font:500 2.1rem/.9 var(--f-display);font-variation-settings:"opsz" 24;letter-spacing:-.02em;background:linear-gradient(180deg,#c5ccd0,#dbf1df 70%);-webkit-background-clip:text;background-clip:text;color:transparent;pointer-events:none}
.dept .dk{position:relative;display:flex;align-items:center;padding-top:3px;gap:7px;font:500 9.5px/1 var(--f-mono)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)!important}
.dept .dk i{width:6px;height:6px;border-radius:50%;background:#a9b2b6!important;box-shadow:none!important}
.dept b{position:relative;font:600 1rem/1.18 var(--f-display)!important;font-variation-settings:"opsz" 12!important;color:var(--tx)!important;letter-spacing:-.005em!important}
.dept .dm{display:grid;gap:7px;align-self:end}
.dept .dm small{font:500 10px/1 var(--f-mono)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--tx-3)!important}
.dept .dbar{display:block;height:3px;border-radius:3px;background:rgb(5 31 32 / .08);overflow:hidden}
.dept .dbar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9aa3a7,#d3d8db)}
html[data-theme] .dept.dept:hover{transform:translateY(-3px);background:var(--glass)!important;box-shadow:var(--glass-sh),0 0 0 1px rgb(57 103 88 / .22)!important}
html[data-theme] .dept.dept[aria-pressed="true"]{background:var(--obsidian)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 0 0 1px rgb(0 0 0 / .6),0 22px 40px -20px rgb(5 31 32 / .75)!important}
.dept[aria-pressed="true"] .dn{background:linear-gradient(180deg,#eef1f2,#8f999d);-webkit-background-clip:text;background-clip:text}
.dept[aria-pressed="true"] b{color:#f2f4f5!important}
.dept[aria-pressed="true"] .dk,.dept[aria-pressed="true"] .dm small{color:#a7b0b4!important}
.dept[aria-pressed="true"] .dk i{background:#a9cbb3!important;box-shadow:0 0 8px #a9cbb3!important}
.dept[aria-pressed="true"] .dbar{background:rgb(255 255 255 / .1)}
.dept[aria-pressed="true"] .dbar i{background:linear-gradient(90deg,#6a947f,#a9cbb3)}
.org-panel{border-radius:20px!important}
.sm-ph{display:flex;align-items:center;gap:12px}
.sm-pnum{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--obsidian);box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 0 0 1px rgb(0 0 0 / .55);font:600 1.05rem/1 var(--f-display);color:#e8ecee}
.org-panel .ou{font:500 9.5px/1.4 var(--f-mono)!important;letter-spacing:.16em}
@media (max-width:760px){
  .org-grid{grid-template-columns:minmax(0,1fr)!important}
  .org-top .seg{margin-left:0}
  .org-count{text-align:left}
  .sm-row{grid-template-columns:1fr;gap:8px}
  html[data-theme] .dept.dept{min-height:0;gap:8px;padding:13px 14px 12px!important}
  .dept .dn{font-size:1.7rem}
  .dept .dm{grid-template-columns:auto 1fr;align-items:center;gap:12px}
}
html[data-theme="dark"] .sm-rule{background:linear-gradient(90deg,rgb(255 255 255 / .2),transparent)}
html[data-theme="dark"] .dept .dn{background:linear-gradient(180deg,#3c6b5b,#163832);-webkit-background-clip:text;background-clip:text}
html[data-theme="dark"] .dept .dbar{background:rgb(255 255 255 / .1)}

/* ---- examiner's vocabulary cards */
.cw b{font:600 1.5rem/1.1 var(--f-display)!important;letter-spacing:-.012em!important;font-variation-settings:"opsz" 14!important;color:var(--tx)!important}
.cw p{font-size:.9rem!important;line-height:1.55!important;color:var(--tx-2)!important}
.cw-m{font:500 9.5px/1.2 var(--f-mono)!important;letter-spacing:.14em!important;text-transform:uppercase;color:var(--em)!important}
.cw-lv{border-radius:12px!important;overflow:hidden}

/* ---- between classes: a tidy bento of glass tiles */
.explore{gap:12px!important}
.xt.card{padding:20px!important;display:flex!important;flex-direction:column;gap:10px;min-height:170px}
.xt h3,.xt .h3{font:600 1.2rem/1.15 var(--f-display)!important;letter-spacing:-.01em!important;color:var(--tx)!important;margin:0!important}
.xt p{font-size:.88rem!important;line-height:1.55;color:var(--tx-2)!important}
.xt .link{margin-top:auto;font:700 .72rem/1 var(--f-body)!important;letter-spacing:.07em;text-transform:uppercase;color:var(--tx)!important;display:inline-flex;align-items:center;gap:6px}
.xt:hover .link{color:#396758!important}
.xt .tool-tab{align-self:flex-start}
.xt-viz,.tool-viz{border-radius:14px!important;overflow:hidden}

/* ---- where he teaches */
.place.card{overflow:hidden}
.place .ph{height:150px!important}
.pl-b{padding:18px 20px 20px!important}
.pl-aff{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pl-aff li{padding:6px 10px;border-radius:10px;font:500 .74rem/1.2 var(--f-body);color:var(--tx-2);background:rgb(255 255 255 / .45);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .08)}
.pl-aff li.tbc{font:500 9.5px/1.2 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3);background:none;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .14);border-style:dashed}
/* socials: brand icons only */
.v2-soc{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px auto 0;padding:10px 12px;width:max-content;max-width:100%;border-radius:22px;
  background:var(--glass);-webkit-backdrop-filter:blur(16px) saturate(170%);backdrop-filter:blur(16px) saturate(170%);box-shadow:var(--glass-sh)}
.v2-soc-k{padding:0 8px 0 6px;font:500 9.5px/1.2 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)}
.v2-soc-i{display:grid;justify-items:center;gap:5px;padding:8px 10px 6px;border-radius:14px;transition:transform .3s var(--e-out),background .3s}
.v2-soc-i svg{width:30px;height:30px;filter:drop-shadow(0 6px 10px rgb(5 31 32 / .18))}
.v2-soc-i span{font:500 9px/1 var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--tx-3)}
.v2-soc-i:hover{transform:translateY(-3px);background:rgb(255 255 255 / .5)}
.v2-soc-i[hidden]{display:none!important}
@media (max-width:480px){.v2-soc-k{flex-basis:100%;text-align:center;padding:0 0 2px}}

/* ---- FAQ as glass cards */
.faq details{border:0!important;margin:0 0 10px;border-radius:18px;background:var(--glass);-webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);box-shadow:var(--glass-sh);transition:box-shadow .3s}
.faq details[open]{box-shadow:var(--glass-sh),0 0 0 1px rgb(57 103 88 / .18)}
.faq summary{padding:16px 16px 16px 20px!important;font:600 1.02rem/1.35 var(--f-display)!important;color:var(--tx)!important;text-transform:none!important;letter-spacing:-.005em!important;font-variation-settings:"opsz" 14}
.faq summary:hover{color:#396758!important}
.faq summary i{display:grid!important;place-items:center;width:30px!important;height:30px!important;flex:none;border-radius:10px;background:linear-gradient(180deg,#fff,#f1f2f3);box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 3px 8px -4px rgb(5 31 32 / .3)}
.faq summary i::before,.faq summary i::after{left:9px!important;right:9px!important;background:#051f20!important}
.faq details p{padding:0 20px 18px!important;font-size:.92rem!important;color:var(--tx-2)!important}

/* ---- the student form: clear glass over silver shapes */
.v2-stage .v2-form.card{background:linear-gradient(155deg,rgb(255 255 255 / .34),rgb(255 255 255 / .08) 55%,rgb(255 255 255 / .16))!important;
  -webkit-backdrop-filter:blur(18px) saturate(180%)!important;backdrop-filter:blur(18px) saturate(180%)!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .95),inset 0 0 0 1px rgb(255 255 255 / .5),0 30px 60px -30px rgb(5 31 32 / .4)!important}
.v2-stage .v2-form.card::after{background:linear-gradient(160deg,#fff,rgb(255 255 255 / .35) 35%,rgb(185 192 196 / .75) 70%,#fff)!important;opacity:1!important}
html[data-theme] .v2-stage .v2-form .field :is(input,textarea),html[data-theme] .v2-stage .v2-form .xsel-btn{background:rgb(255 255 255 / .38)!important;color:var(--tx)!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .75),inset 0 1px 3px rgb(5 31 32 / .08)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html[data-theme] .v2-stage .v2-form .field :is(input,textarea):focus{background:rgb(255 255 255 / .6)!important;box-shadow:inset 0 0 0 1px #396758,0 0 0 4px rgb(57 103 88 / .12)!important}
html[data-theme] .v2-stage .v2-form .seg{background:rgb(255 255 255 / .3)!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .7)!important}
.v2-stage .v2-form .reg-steps i{background:rgb(5 31 32 / .1)!important}
.v2-stage .v2-form .reg-steps i.on{background:linear-gradient(90deg,#396758,#8eb69b)!important}
.v2-stage .v2-form{--v-ink:rgb(255 255 255 / .38)}
/* the shapes behind it: matte silver, lit from the top-left */
.v2-orb-a,.v2-orb-c{background:radial-gradient(circle at 32% 26%,#ffffff 0%,#eef0f1 12%,#cdd2d5 34%,#9aa1a6 58%,#676d72 80%,#454a4e 100%)!important;
  box-shadow:inset -14px -18px 30px rgb(8 38 35 / .28),inset 10px 12px 22px rgb(255 255 255 / .55),0 30px 50px -22px rgb(5 31 32 / .45)!important}
.v2-orb-b{background:radial-gradient(circle,transparent 0 39%,#585e62 40.5%,#9ba2a7 45%,#e7eaec 51%,#f2faf3 53%,#bfc5c9 58%,#7b8287 64%,#4b5054 68.5%,transparent 70%)!important;
  transform:perspective(600px) rotateX(58deg) rotateZ(-12deg);animation:none!important;filter:drop-shadow(0 26px 22px rgb(5 31 32 / .35))!important}

/* ---- footer icons in brand colours */
.ft-soc{display:flex;gap:8px}
.ft-soc a{display:grid!important;place-items:center;width:44px!important;height:44px!important;border-radius:14px!important;background:var(--glass)!important;border:0!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--glass-sh)!important;transition:transform .3s var(--e-out)!important}
.ft-soc a svg{width:24px!important;height:24px!important}
.ft-soc a:hover{transform:translateY(-3px)}

/* ---- phones: the bottom bar, the app card, tighter sections */
.mbar{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:6px!important;align-items:center}
.mbar .mb-enrol{justify-self:stretch!important;width:100%!important}
.mbar .mb-ask{display:flex;align-items:center}
.mbar .mb-ic{width:40px!important;height:40px!important;border-radius:12px!important;display:grid!important;place-items:center;background:linear-gradient(180deg,#fff,#f2f3f4)!important;box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 3px 8px -4px rgb(5 31 32 / .3)!important}
@media (max-width:760px){
  .app-card{display:none!important}
  .sec{padding:38px 0!important}
  .sec-head{margin-bottom:18px!important}
  .title{font-size:clamp(1.8rem,1.4rem + 2.4vw,2.4rem)!important}
}

/* v13 · ribbons: thin bands, whole curve visible on every screen (no cropping) */
.v2-ribbon{height:auto!important;aspect-ratio:1440/330;margin:6px 0 clamp(10px,2vw,24px)!important;overflow:visible!important;contain:none!important}
.v2-ribbon svg{overflow:visible}
.rb-band{stroke-width:34!important}
.rb-edge{stroke-width:28!important;stroke-dasharray:1.5 10!important}
.rb-text{font-size:15px!important;letter-spacing:.09em!important;font-weight:600!important}
@media (max-width:760px){
  .v2-ribbon{aspect-ratio:760/330!important;margin:0 0 10px!important}
  .rb-band{stroke-width:40!important}.rb-edge{stroke-width:33!important}
  .rb-text{font-size:19px!important}
}

/* v14 · hover keeps the glass clear (no white fill); a soft lift and a brighter edge instead */
html[data-theme] .card.card:hover,html[data-theme] .card.card:focus-within{background:var(--glass)!important;box-shadow:var(--glass-sh),0 26px 50px -30px rgb(5 31 32 / .42)!important}
html[data-theme] .v2-pile.v2-pile[data-stack]>.card.card:hover{background:linear-gradient(160deg,rgb(255 255 255 / .82),rgb(242 250 243 / .7))!important}
html[data-theme] .v2-stage .v2-form.card:hover{background:linear-gradient(155deg,rgb(255 255 255 / .34),rgb(255 255 255 / .08) 55%,rgb(255 255 255 / .16))!important}
.card>.sheen{display:none!important}
.card{transition:box-shadow .35s var(--e-out),transform .45s var(--e-out)!important}
.card:not(.v2-flow>.card):not(.v2-pile>.card):hover{transform:translateY(-2px)}
html[data-theme] .dept:hover,html[data-theme] .faq details:hover{background:var(--glass)!important}

/* v14 · ribbons: the two bands run close together */
.v2-ribbon{aspect-ratio:1440/200!important}
@media (max-width:760px){.v2-ribbon{aspect-ratio:760/220!important}}

/* v14 · the pile: held by a sticky frame (native, no shaking) while the cards rise in */
.v2-pile-track{position:relative}
.v2-pile-track>.v2-pile.v2-pile[data-stack]{position:sticky!important;top:max(96px,calc(50vh - var(--pile-h,300px) / 2 + 20px))}
/* v15 · the socials title, set properly */
.v2-soc{gap:6px 14px!important;padding:12px 14px 12px 22px!important}
.v2-soc-k{display:grid!important;gap:5px;padding:0 18px 0 0!important;margin-right:6px;border-right:1px solid rgb(5 31 32 / .1);text-transform:none!important;letter-spacing:0!important}
.v2-soc-k small{font:500 9px/1 var(--f-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--em)}
.v2-soc-k b{font:600 1.2rem/1.1 var(--f-display);letter-spacing:-.01em;color:var(--tx);font-variation-settings:"opsz" 14;white-space:nowrap}
@media (max-width:520px){.v2-soc{padding:14px!important}.v2-soc-k{flex-basis:100%;text-align:center;border-right:0;padding:0 0 10px!important;margin:0 0 4px;border-bottom:1px solid rgb(5 31 32 / .1)}}
/* v15 · real 3D shapes behind the forms (the CSS spheres stay only as a fallback) */
.v2-3d{position:absolute;z-index:0;inset:-16% -9%;width:118%;height:132%;pointer-events:none;display:block}
@media (max-width:640px){.v2-3d{inset:-10% -8%;width:116%;height:120%}}
.v2-stage.has-3d .v2-orb{display:none}

/* =====================================================================================
   v3 · tones, the "between classes" bento, the turning ring beside the register form
   ===================================================================================== */
/* -- room for the 3D shapes: the canvas reaches well past the form, so nothing is cut */
.v2-3d{inset:-24% -20%!important;width:140%!important;height:148%!important;max-width:none!important;max-height:none!important}
@media (max-width:760px){.v2-3d{inset:-14% 0!important;width:100%!important;height:128%!important}}
.reg-sec,.reg-g{overflow:visible}

/* -- tones: each kind of tool has its own material, so a glance tells you what it is */
.tn{--tn-bg:var(--glass);--tn-t:var(--tx);--tn-s:var(--tx-2);--tn-ib:#396758;--tn-ic:#fff;--tn-pill:rgb(255 255 255 / .55);--tn-pt:var(--tx-2);--tn-b:rgb(255 255 255 / .9);--tn-sh:0 22px 44px -30px rgb(11 43 38 / .35);--tn-blur:16px}
html[data-theme="light"] .tn-emerald{--tn-bg:var(--grit),radial-gradient(120% 90% at 100% 0%,rgb(164 199 174 / .35),transparent 60%),linear-gradient(160deg,#517e6b 0%,#235347 62%,#163832 100%);--tn-t:#daf1de;--tn-s:rgb(218 241 222 / .82);--tn-ib:rgb(255 255 255 / .16);--tn-ic:#fff;--tn-pill:rgb(255 255 255 / .14);--tn-pt:#daf1de;--tn-b:rgb(255 255 255 / .14);--tn-sh:0 26px 50px -26px rgb(22 56 50 / .7)}
html[data-theme="light"] .tn-mint{--tn-bg:radial-gradient(90% 80% at 0% 0%,rgb(255 255 255 / .7),transparent 60%),linear-gradient(160deg,rgb(218 241 222 / .82),rgb(218 241 222 / .6));--tn-ib:#396758;--tn-b:rgb(255 255 255 / .95);--tn-pill:rgb(255 255 255 / .6);--tn-sh:0 24px 46px -28px rgb(57 103 88 / .45)}
html[data-theme="light"] .tn-silver{--tn-bg:var(--metal);--tn-ib:#051f20;--tn-ic:#e7eaec;--tn-pill:rgb(255 255 255 / .5);--tn-b:rgb(255 255 255 / .7);--tn-sh:inset 0 1px 0 rgb(255 255 255 / .6),0 24px 44px -28px rgb(5 31 32 / .45)}
html[data-theme="light"] .tn-clear{--tn-bg:linear-gradient(160deg,rgb(255 255 255 / .34),rgb(255 255 255 / .12));--tn-ib:transparent;--tn-ic:#396758;--tn-b:rgb(255 255 255 / .95);--tn-blur:6px;--tn-sh:inset 0 0 0 1px rgb(57 103 88 / .16),0 18px 36px -28px rgb(11 43 38 / .3)}
html[data-theme="light"] .tn-paper{--tn-bg:repeating-linear-gradient(180deg,transparent 0 25px,rgb(140 110 70 / .07) 25px 26px),linear-gradient(180deg,#fcf8ef,#f2ead9);--tn-t:#2b2317;--tn-s:#6d5f4b;--tn-ib:#e8d9bc;--tn-ic:#6b4f2a;--tn-pill:rgb(255 255 255 / .7);--tn-pt:#6d5f4b;--tn-b:rgb(255 255 255 / .9);--tn-sh:0 24px 44px -28px rgb(90 70 40 / .4)}
html[data-theme="light"] .tn-ink{--tn-bg:var(--grit),radial-gradient(100% 80% at 100% 100%,rgb(165 200 175 / .22),transparent 60%),linear-gradient(160deg,#051f20,#020e0e);--tn-t:#daf1de;--tn-s:rgb(218 241 222 / .74);--tn-ib:rgb(164 199 174 / .16);--tn-ic:#afd0b8;--tn-pill:rgb(255 255 255 / .08);--tn-pt:#cae4d0;--tn-b:rgb(255 255 255 / .08);--tn-sh:0 28px 52px -26px rgb(1 12 12 / .75)}
html[data-theme="light"] .tn-sage{--tn-bg:linear-gradient(160deg,rgb(218 241 222 / .85),rgb(218 241 222 / .6));--tn-ib:#3e6c5c;--tn-pill:rgb(255 255 255 / .6);--tn-sh:0 22px 44px -30px rgb(29 71 62 / .4)}
html[data-theme="light"] .tn-ruby{--tn-bg:radial-gradient(90% 90% at 100% 0%,rgb(255 0 51 / .1),transparent 60%),linear-gradient(160deg,rgb(255 240 241 / .9),rgb(255 250 250 / .65));--tn-ib:#ff0033;--tn-pill:rgb(255 255 255 / .7);--tn-sh:0 22px 44px -28px rgb(160 20 40 / .3)}
html[data-theme="light"] .tn-aurora{--tn-bg:radial-gradient(80% 120% at 0% 100%,rgb(164 199 174 / .3),transparent 60%),radial-gradient(80% 120% at 100% 0%,rgb(110 180 235 / .22),transparent 60%),linear-gradient(160deg,rgb(255 255 255 / .75),rgb(218 241 222 / .55));--tn-ib:linear-gradient(135deg,#396758,#2a8fb5);--tn-sh:0 24px 46px -28px rgb(20 90 90 / .4)}
/* Green theme */
html[data-theme="dark"] .tn{--tn-pill:rgb(255 255 255 / .07);--tn-pt:#cae4d0;--tn-b:rgb(218 241 222 / .1);--tn-sh:0 26px 50px -28px rgb(0 0 0 / .8)}
html[data-theme="dark"] .tn-emerald{--tn-bg:var(--grit),radial-gradient(120% 90% at 100% 0%,rgb(188 218 196 / .35),transparent 60%),linear-gradient(160deg,#69947e,#235347);--tn-t:#daf1de;--tn-s:rgb(218 241 222 / .82);--tn-ib:rgb(255 255 255 / .16);--tn-ic:#fff;--tn-pill:rgb(255 255 255 / .14)}
html[data-theme="dark"] .tn-mint{--tn-bg:linear-gradient(160deg,rgb(165 200 175 / .18),rgb(165 200 175 / .06));--tn-ib:#a5c8af;--tn-ic:#051f20;--tn-b:rgb(165 200 175 / .3)}
html[data-theme="dark"] .tn-silver{--tn-bg:var(--metal);--tn-t:#051f20;--tn-s:#235347;--tn-ib:#051f20;--tn-ic:#e7eaec;--tn-pill:rgb(255 255 255 / .45);--tn-pt:#235347;--tn-b:rgb(255 255 255 / .5)}
html[data-theme="dark"] .tn-clear{--tn-bg:linear-gradient(160deg,rgb(255 255 255 / .05),rgb(255 255 255 / .01));--tn-ib:transparent;--tn-ic:#bcdac4;--tn-blur:6px;--tn-b:rgb(218 241 222 / .16)}
html[data-theme="dark"] .tn-paper{--tn-bg:repeating-linear-gradient(180deg,transparent 0 25px,rgb(246 236 214 / .05) 25px 26px),linear-gradient(160deg,rgb(246 236 214 / .12),rgb(246 236 214 / .04));--tn-t:#f5ecd9;--tn-s:rgb(245 236 217 / .7);--tn-ib:rgb(246 236 214 / .16);--tn-ic:#f5ecd9;--tn-pt:#e9dcc3}
html[data-theme="dark"] .tn-ink{--tn-bg:var(--grit),radial-gradient(100% 80% at 100% 100%,rgb(165 200 175 / .2),transparent 60%),linear-gradient(160deg,#051f20,#010403);--tn-t:#daf1de;--tn-s:rgb(218 241 222 / .7);--tn-ib:rgb(164 199 174 / .16);--tn-ic:#afd0b8}
html[data-theme="dark"] .tn-sage{--tn-bg:linear-gradient(160deg,rgb(161 197 172 / .16),rgb(161 197 172 / .05));--tn-ib:#8eb69b;--tn-ic:#051f20}
html[data-theme="dark"] .tn-ruby{--tn-bg:linear-gradient(160deg,rgb(255 60 80 / .14),rgb(255 60 80 / .03));--tn-ib:#ff0033;--tn-b:rgb(255 90 100 / .25)}
html[data-theme="dark"] .tn-aurora{--tn-bg:linear-gradient(135deg,rgb(165 200 175 / .18),rgb(80 170 230 / .1));--tn-ib:linear-gradient(135deg,#69947e,#2a8fb5)}

html[data-theme] .xt.card.tn,html[data-theme] .rp-c.tn{background:var(--tn-bg)!important;color:var(--tn-t)!important;border:1px solid var(--tn-b)!important;box-shadow:var(--tn-sh)!important;-webkit-backdrop-filter:blur(var(--tn-blur)) saturate(150%)!important;backdrop-filter:blur(var(--tn-blur)) saturate(150%)!important}
html[data-theme] .tn :is(h3,.h3,b,.xt-word){color:var(--tn-t)!important}
html[data-theme] .tn :is(p,.rp-d,#tdDef){color:var(--tn-s)!important}
html[data-theme] .tn .link{color:var(--tn-t)!important}
html[data-theme] .tn .link::after{background:currentColor!important;opacity:.35}
html[data-theme] .tn .tool-tab{background:var(--tn-pill)!important;color:var(--tn-pt)!important;box-shadow:none!important}
html[data-theme] .xt.tn-ink .xt-word,html[data-theme] .xt.tn-ink b.xt-word{background:none!important;color:#afd0b8!important;-webkit-text-fill-color:#afd0b8!important}
html[data-theme] .xt.card.tn::before,html[data-theme] .xt.card.tn::after{opacity:0!important}
html[data-theme] .xt.card.tn:hover{transform:translateY(-4px);box-shadow:var(--tn-sh),0 34px 60px -34px rgb(11 43 38 / .45)!important}

/* the icon chip, top-right of every tile */
.xt{position:relative}
.xt-ic,.rp-ic{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--tn-ib,#396758);color:var(--tn-ic,#fff);box-shadow:inset 0 1px 0 rgb(255 255 255 / .2),0 6px 14px -8px rgb(0 0 0 / .45)}
.xt-ic{position:absolute;top:16px;right:16px}
.tn-clear .xt-ic,.tn-clear .rp-ic{box-shadow:inset 0 0 0 1.5px currentColor}
.xt-ic svg,.rp-ic svg{width:19px;height:19px}
/* the tiles' little pictures sit on their own tone */
html[data-theme] .tn .xt-viz,html[data-theme] .tn .tool-viz{background:rgb(255 255 255 / .35)!important;border:1px solid rgb(255 255 255 / .55)!important;box-shadow:none!important}
html[data-theme="dark"] .tn .xt-viz,html[data-theme="dark"] .tn .tool-viz{background:rgb(255 255 255 / .04)!important;border-color:rgb(255 255 255 / .1)!important}
html[data-theme] .tn-paper .tv-books .bk{background:#fffdf7!important;border-color:#e3d4b6!important;color:#6b4f2a!important}

/* -- phones: a tidy bento. Paired tiles share a row and a height; three wide bands */
@media (max-width:760px){
  #tools .sec-head{margin-bottom:18px!important}
  .explore{display:grid!important;grid-template-columns:1fr 1fr!important;grid-auto-rows:auto!important;gap:10px!important}
  .explore .xt.card{min-height:0!important;padding:16px!important;gap:8px!important;border-radius:20px!important;display:flex!important;flex-direction:column}
  .explore .xt .xt-ic{top:12px;right:12px;width:32px;height:32px;border-radius:10px}
  .explore .xt .xt-ic svg{width:16px;height:16px}
  .explore .xt .tool-tab{font-size:9px!important;padding:5px 8px!important;max-width:calc(100% - 40px)}
  .explore .xt :is(h3,.h3){font-size:1.02rem!important;line-height:1.15!important;margin-top:4px!important;padding-right:2px}
  .explore .xt p{display:block!important;font-size:.8rem!important;line-height:1.45!important;margin:0!important}
  .explore .xt:has(.xt-viz,.tool-viz) p{display:none!important}
  .explore .xt .link{font-size:.66rem!important;margin-top:auto!important;padding-top:10px}
  .explore .xt-wide,.explore .xt-term{grid-column:1/-1!important}
  .explore .xt-wide p,.explore .xt-term #tdDef{display:block!important;font-size:.84rem!important;line-height:1.45}
  .explore .xt-tall{grid-row:auto!important}
  .explore .xt .xt-viz,.explore .xt .tool-viz{display:grid!important;height:86px!important;min-height:0!important;margin:4px 0 0!important;place-items:center}
  .explore .xt .tv-timer svg{width:64px!important;height:64px!important}
  .explore .xt .tv-timer .num{font-size:.7rem!important}
  .explore .xt .tv-books{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end;justify-content:center;gap:6px!important;padding:0 6px 10px!important}
  .explore .xt .tv-books .bk{position:static!important;height:58px!important;width:26px!important;min-width:0!important;font-size:.6rem!important;transform:none!important;margin:0!important}
  .explore .xt .tv-books .bk:nth-child(2){height:66px!important}
  .explore .xt .xv-mark b{font-size:1.9rem!important}
  .explore .xt-track .tool-viz{height:auto!important;padding:12px!important}
  .explore .xt-term .xt-word{font-size:2.1rem!important;line-height:1!important;margin-top:4px}
}

/* -- the turning ring beside the register form */
.rp{margin-top:26px;position:relative;user-select:none;-webkit-user-select:none}
.rp-stage{position:relative;height:250px;perspective:1100px;perspective-origin:50% 38%;touch-action:pan-y;cursor:grab;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.rp.drag .rp-stage{cursor:grabbing}
.rp-ring{list-style:none;margin:0;padding:0;position:absolute;left:50%;top:16px;width:min(280px,72%);height:196px;translate:-50% 0;transform-style:preserve-3d;transition:transform 1.05s cubic-bezier(.65,0,.25,1)}
.rp.drag .rp-ring{transition:none}
.rp-c{position:absolute;inset:0;display:flex;flex-direction:column;gap:8px;padding:18px 20px;border-radius:22px;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  opacity:calc(1 - var(--far,0) * 1.25);filter:saturate(calc(1 - var(--far,0) * .6));transition:opacity .6s}
.rp-c.on{box-shadow:var(--tn-sh),0 30px 60px -30px rgb(11 43 38 / .5)!important}
.rp-top{display:flex;align-items:center;justify-content:space-between}
.rp-n{font:500 .7rem/1 var(--f-mono);letter-spacing:.18em;color:var(--tn-s)}
.rp-c b{margin-top:auto;font:600 1.3rem/1.15 var(--f-display);letter-spacing:-.01em}
.rp-d{font-size:.88rem;line-height:1.5}
.rp-floor{position:absolute;left:50%;bottom:6px;width:min(420px,90%);height:26px;translate:-50% 0;border-radius:50%;background:radial-gradient(closest-side,rgb(11 43 38 / .22),transparent);filter:blur(4px);pointer-events:none}
html[data-theme="dark"] .rp-floor{background:radial-gradient(closest-side,rgb(0 0 0 / .6),transparent)}
.rp-ctl{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:4px}
.rp-b{width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;color:var(--tx);background:rgb(255 255 255 / .6);box-shadow:inset 0 0 0 1px rgb(11 43 38 / .12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .3s var(--e-out),background .3s}
html[data-theme="dark"] .rp-b{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(218 241 222 / .16)}
.rp-b:hover{transform:translateY(-2px)}
.rp-b svg{width:16px;height:16px}
.rp-dots{display:flex;gap:7px}
.rp-dots i{width:7px;height:7px;border-radius:99px;background:var(--line-2,rgb(11 43 38 / .2));cursor:pointer;transition:width .4s var(--e-out),background .3s}
.rp-dots i.on{width:26px;background:var(--acc,#396758)}
.rp :focus-visible{outline:2px solid var(--acc);outline-offset:3px}
@media (max-width:760px){
  .rp{margin-top:18px}
  .rp-stage{height:226px}
  .rp-ring{width:min(240px,66vw);height:178px}
  .rp-c{padding:16px}
  .rp-c b{font-size:1.15rem}
  .rp-d{font-size:.82rem}
}
@media (prefers-reduced-motion:reduce){.rp-ring{transition:none}}

/* -- zakat: one calm picture that glides while you drag (rows on one scale, a nisab line through them, 1 in 40) */
#zkChart{min-width:0}
.zf{--lw:132px;--vw:112px;--g:14px;--nxn:0;position:relative;display:grid;gap:16px;padding:8px 0 44px}
.zf-row{display:grid;grid-template-columns:var(--lw) minmax(0,1fr) var(--vw);align-items:center;gap:var(--g)}
.zf-l{font:500 .66rem/1.2 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3)}
.zf-v{justify-self:end;font:600 .95rem/1 var(--f-body);color:var(--tx);font-variant-numeric:tabular-nums;white-space:nowrap}
.zf-t{position:relative;height:12px;border-radius:99px;background:rgb(11 43 38 / .07);box-shadow:inset 0 1px 2px rgb(11 43 38 / .08)}
html[data-theme="dark"] .zf-t{background:rgb(255 255 255 / .06);box-shadow:inset 0 1px 2px rgb(0 0 0 / .4)}
.zf-t i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:inherit;transition:width .6s cubic-bezier(.22,.9,.28,1);will-change:width}
.zf-cash .zf-t i{background:linear-gradient(90deg,#396758,#729c85)}
.zf-gold .zf-t i{background:var(--metal);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .14)}
.zf-stock .zf-t i{background:linear-gradient(90deg,#1f6f76,#3aa3a0)}
.zf-debt .zf-t i{background:repeating-linear-gradient(135deg,#d9705f 0 6px,#e88a7a 6px 12px)}
.zf-debt .zf-v{color:#b4493a}
html[data-theme="dark"] .zf-debt .zf-v{color:#f2a79c}
.zf-net{padding-top:12px;border-top:1px solid var(--line)}
.zf-net .zf-l{color:var(--tx);font-weight:600}
.zf-net .zf-t{height:20px}
.zf-net .zf-t i{background:linear-gradient(90deg,#8eb69b,#a6c9b0)}
.zf.is-above .zf-net .zf-t i{background:linear-gradient(90deg,#235347,#54806d 60%,#8eb69b)}
.zf-net .zf-v{font:600 1.2rem/1 var(--f-display)}
/* the nisab: a dashed line through every row at the same point on the scale */
.zf-t::after{content:"";position:absolute;top:-7px;bottom:-7px;left:var(--nx,0%);border-left:1.5px dashed rgb(11 43 38 / .45);transition:left .6s cubic-bezier(.22,.9,.28,1)}
html[data-theme="dark"] .zf-t::after{border-left-color:rgb(218 241 222 / .45)}
.zf-nis{position:absolute;bottom:0;left:clamp(var(--lw) + 64px,calc(var(--lw) + var(--g) + (100% - var(--lw) - var(--vw) - var(--g) * 2) * var(--nxn)),100% - var(--vw) - 64px);translate:-50% 0;transition:left .6s cubic-bezier(.22,.9,.28,1);pointer-events:none}
.zf-nis em{display:block;font:600 .62rem/1 var(--f-mono);font-style:normal;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;padding:6px 9px;border-radius:99px;color:var(--tx);background:rgb(255 255 255 / .85);box-shadow:0 0 0 1px rgb(11 43 38 / .14),0 6px 14px -8px rgb(11 43 38 / .4)}
html[data-theme="dark"] .zf-nis em{background:rgb(5 31 32 / .9);color:#daf1de;box-shadow:0 0 0 1px rgb(218 241 222 / .2)}
/* zakat due: one square in forty */
.zf-due{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px;padding:16px 18px;border-radius:18px;background:linear-gradient(160deg,rgb(84 128 109 / .1),rgb(84 128 109 / .03));box-shadow:inset 0 0 0 1px rgb(84 128 109 / .18);transition:opacity .4s,filter .4s}
html[data-theme="dark"] .zf-due{background:linear-gradient(160deg,rgb(165 200 175 / .12),rgb(165 200 175 / .03));box-shadow:inset 0 0 0 1px rgb(165 200 175 / .2)}
.zf-40{display:grid;grid-template-columns:repeat(8,10px);gap:4px}
.zf-40 i{width:10px;height:10px;border-radius:3px;background:rgb(11 43 38 / .1)}
html[data-theme="dark"] .zf-40 i{background:rgb(255 255 255 / .09)}
html[data-theme] .zf-40 i:first-child{background:linear-gradient(135deg,#54806d,#8eb69b);box-shadow:0 0 0 3px rgb(84 128 109 / .16);transition:background .4s,box-shadow .4s}
html[data-theme] .zf-due.is-off .zf-40 i:first-child{background:rgb(11 43 38 / .16);box-shadow:none}
.zf-due.is-off{filter:saturate(.2);opacity:.75}
.zf-dt{display:grid;gap:4px;min-width:0}
.zf-dt small{font:500 .64rem/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
.zf-dt b{font:600 clamp(1.6rem,2.4vw,2.1rem)/1 var(--f-display);color:var(--tx);letter-spacing:-.01em}
.zf-dt span{font-size:.82rem;color:var(--tx-2)}
.be-fig{gap:18px!important}
/* the example buttons: three equal pills, one row */
.be-pre{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;justify-self:stretch!important}
.be-pre button{justify-content:center;text-align:center;white-space:nowrap;padding-inline:8px!important;min-width:0}
@media (max-width:760px){
  .zf{--lw:0px;--vw:0px;--g:0px;gap:14px;padding-bottom:36px}
  .zf-row{grid-template-columns:minmax(0,1fr) auto;row-gap:7px;column-gap:10px}
  .zf-t{grid-column:1/-1;grid-row:2}
  .zf-net .zf-t{height:16px}
  .zf-nis{left:clamp(66px,calc(100% * var(--nxn)),calc(100% - 66px))}
  .zf-due{grid-template-columns:1fr;gap:12px;padding:14px}
  .zf-40{grid-template-columns:repeat(20,minmax(0,1fr));gap:3px}
  .zf-40 i{width:auto;aspect-ratio:1;height:auto}
  .be-pre button{font-size:.74rem!important;padding-inline:4px!important}
  .be-pre button::before{display:none!important}
}
@media (prefers-reduced-motion:reduce){.zf-t i,.zf-t::after,.zf-nis{transition:none}}

/* -- photo slots without a photo yet: the matching artwork, fading softly into the card (no hard edge, no labels) */
html[data-theme] .ph.ph-art{background:radial-gradient(90% 80% at 70% 20%,rgb(165 200 175 / .18),transparent 60%),var(--art) center 42%/cover no-repeat,#021112!important}
/* Green: the art runs edge to edge and melts into the dark card */
html[data-theme="dark"] .ph.ph-art{-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 50%,rgb(0 0 0 / .5) 76%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 50%,rgb(0 0 0 / .5) 76%,transparent 100%)}
/* White: the art sits in the card as a framed picture with soft corners, so nothing turns grey */
html[data-theme="light"] .ph.ph-art{margin:10px 10px 0!important;border-radius:16px!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .12),0 10px 24px -16px rgb(5 31 32 / .6)!important}
html[data-theme] .ph.ph-art::after,html[data-theme] .ph.ph-art::before,html[data-theme] .ph.ph-art figcaption{content:none!important;display:none!important}
html[data-theme] .ph.ph-art>img{opacity:0!important}
.v2-flow-courses .acc:has(.ph-art) .code{top:58px!important;color:#daf1de!important;-webkit-text-fill-color:#daf1de!important;text-shadow:0 2px 18px rgb(0 0 0 / .35)}
.v2-flow-courses .acc:has(.ph-art) .acc-ph{flex-basis:140px!important;height:140px!important}
html[data-theme="light"] .v2-flow-courses .acc:has(.ph-art) .code{top:66px!important;left:30px!important}
/* the hero and About portrait: the mihrab artwork until his photo arrives */
html[data-theme] .hero-fig .portrait img.art,html[data-theme] .ab-frame img.art{opacity:1!important;width:100%;height:100%;object-fit:cover}
html[data-theme] .hero-fig .portrait:has(img.art),html[data-theme] .ab-frame:has(img.art){background:#021112!important}
html[data-theme] .hero-fig .portrait:has(img.art)::after,html[data-theme] .ab-frame:has(img.art)::after{content:none!important;display:none!important}
html[data-theme] .hero-fig .portrait:has(img.art){-webkit-mask-image:none!important;mask-image:none!important;box-shadow:0 40px 80px -40px rgb(5 31 32 / .55),inset 0 0 0 1px rgb(255 255 255 / .08)}
html[data-theme] .hero-fig .portrait img.art{object-fit:cover!important;object-position:center top!important;filter:none!important}
/* course and word carousels: the cards behind the centre one stay quiet, so their text never fights the front card */
html[data-theme] .v2-flow>.card:not(.is-c)>*{opacity:.45!important;transition:opacity .45s}
html[data-theme] .v2-flow>.card.is-c>*{opacity:1!important}
@media (max-width:640px){
  .v2-flow>.card{opacity:calc(1 - var(--ad) * .5)!important}
  html[data-theme] .v2-flow>.card:not(.is-c)>*{opacity:.16!important}
}
.zf-owed .zf-t i{background:linear-gradient(90deg,#648f7a,#8eb69b)}
.chart-card .zf{margin-top:6px}

/* -- small pictures for the portal, parents and YouTube tiles, so every tile in a pair has the same shape */
.xv-id,.xv-att,.xv-yt{display:grid;border-radius:14px;min-height:92px;padding:14px;position:relative;overflow:hidden}
.xv-id{grid-template-columns:auto 1fr;align-items:center;gap:12px}
.xv-id .id-av{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font:600 .9rem/1 var(--f-display);color:#e7eaec;background:#051f20;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12)}
.xv-id .id-t{display:grid;gap:6px}
.xv-id .id-t b{font:600 .78rem/1 var(--f-mono)!important;letter-spacing:.08em;color:var(--tn-t)!important}
.xv-id .id-t i{display:block;height:5px;border-radius:9px;background:rgb(5 31 32 / .14)}
.xv-id .id-t i+i{width:60%}
.xv-id .id-chip{position:absolute;right:12px;bottom:12px;width:22px;height:16px;border-radius:4px;background:linear-gradient(135deg,#c9a96a,#e8d6a6);box-shadow:inset 0 0 0 1px rgb(0 0 0 / .12)}
.xv-att{align-content:center;gap:8px}
.xv-att .att-l,.xv-att .att-s{font:500 .62rem/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tn-s)}
.xv-att{justify-items:stretch!important;place-items:center stretch!important}
.xv-att .att-d{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;width:100%}
.xv-att .att-d i{aspect-ratio:1;border-radius:50%;background:#3e6c5c}
html[data-theme] .xv-att .att-d i.n{background:#d98073}
html[data-theme="dark"] .xv-att .att-d i{background:#8eb69b}
.xv-yt{place-items:center;background:radial-gradient(80% 90% at 50% 40%,rgb(255 0 51 / .12),transparent 70%)!important}
.xv-yt .yt-p{width:46px;height:32px;border-radius:10px;display:grid;place-items:center;color:#fff;background:#ff0033;box-shadow:0 8px 18px -8px rgb(255 0 51 / .7)}
.xv-yt .yt-p svg{width:18px;height:18px}
.xv-yt .yt-bar{position:absolute;left:14px;right:14px;bottom:12px;height:4px;border-radius:9px;background:rgb(160 20 40 / .15)}
.xv-yt .yt-bar i{display:block;width:38%;height:100%;border-radius:inherit;background:#ff0033}
@media (max-width:760px){
  .explore .xt:not(.xt-wide):not(.xt-term) p{display:none!important}
  .explore .xt .xv-id,.explore .xt .xv-att,.explore .xt .xv-yt{height:86px!important;min-height:0!important;padding:10px!important}
  .explore .xt .xv-id .id-av{width:36px;height:36px;font-size:.78rem}
  .explore .xt :is(h3,.h3){min-height:2.3em}
  /* tracker band: words left, grid right — shorter, and it reads as a band */
  .explore .xt.card.xt-track{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr auto;column-gap:14px}
  .explore .xt-track .tool-tab{grid-column:1}
  .explore .xt-track .xt-ic{grid-column:2}
  .explore .xt-track .tool-viz{grid-column:2;grid-row:2/5;height:auto!important;align-self:center;padding:8px!important}
  .explore .xt-track :is(h3,.h3){grid-column:1;grid-row:2;min-height:0}
  .explore .xt-track .link{grid-column:1;grid-row:4}
}
.xv-steps{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:8px}
.xv-steps li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:rgb(255 255 255 / .55);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .8);font-size:.8rem}
html[data-theme="dark"] .xv-steps li{background:rgb(255 255 255 / .04);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
.xv-steps span{font:500 .62rem/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tn-s)}
.xv-steps b{font:600 .82rem/1 var(--f-body)!important;color:var(--tn-t)!important}
.xv-steps b.ok{color:#396758!important}
html[data-theme="dark"] .xv-steps b.ok{color:#bcdac4!important}
@media (max-width:760px){.xv-steps{display:none}}

/* ===== v3.2 brand emblem ===== */
.seal.has-logo{border-radius:50%!important;corner-shape:round;background:transparent!important;box-shadow:0 6px 16px -8px rgb(0 0 0 / .55)!important;overflow:visible}
.seal.has-logo::after{display:none}
.seal.has-logo img,.hb-sa.has-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
.hb-sa.has-logo{background:transparent!important;box-shadow:0 14px 30px -14px rgb(0 0 0 / .6)!important;padding:0!important;overflow:visible}
.hero-badge .hb-sa.has-logo{width:62%!important}
.pf-end.has-logo img{width:64px;height:64px;border-radius:50%;display:block;margin-bottom:8px;filter:drop-shadow(0 8px 16px rgb(0 0 0 / .35))}
.ft-tag{display:block;margin-top:6px;font:italic 500 13px/1.4 var(--f-display);opacity:.8}
.ft-tag i{font-style:normal;opacity:.7;letter-spacing:.04em;font:600 11px/1 var(--f-body,inherit);margin-left:6px}

/* ===== v3.2 the MFM book ===== */
.p-book.p-cover{aspect-ratio:738/1044;border-radius:3px 8px 8px 3px;overflow:hidden;box-shadow:0 22px 40px -18px rgb(0 0 0 / .55),0 2px 6px rgb(0 0 0 / .18)}
.p-book.p-cover img{display:block;width:100%;height:100%;object-fit:cover}
.p-book.p-cover::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgb(0 0 0 / .32),rgb(255 255 255 / .12) 3%,transparent 7%,transparent 92%,rgb(0 0 0 / .1));pointer-events:none}
.mbk-sec{padding-block:clamp(28px,5vw,64px)!important}
.mbk{display:grid;grid-template-columns:minmax(200px,330px) 1fr;gap:clamp(28px,5vw,72px);align-items:center;padding:clamp(24px,4vw,48px)!important;overflow:hidden;isolation:isolate}
.mbk::before{content:"";position:absolute;inset:auto -10% -40% 30%;height:80%;z-index:-1;background:radial-gradient(closest-side,color-mix(in srgb,var(--c-accent,#8eb69b) 22%,transparent),transparent);filter:blur(10px);pointer-events:none}
.mbk-cov{margin:0;perspective:1200px}
.mbk-cov img{display:block;width:100%;height:auto;border-radius:3px 10px 10px 3px;transform:rotateY(-12deg) rotateX(2deg);transform-origin:left center;box-shadow:-2px 0 0 rgb(0 0 0 / .25),18px 30px 50px -20px rgb(0 0 0 / .6),0 2px 8px rgb(0 0 0 / .2);transition:transform .9s cubic-bezier(.16,1,.3,1)}
.mbk:hover .mbk-cov img{transform:rotateY(-4deg) rotateX(0) translateY(-4px)}
.mbk-b .title{margin:.3em 0 .35em}
.mbk-pts{list-style:none;margin:18px 0 26px;padding:0;display:grid;gap:10px}
.mbk-pts li{position:relative;padding-left:22px;font-size:15px;opacity:.85}
.mbk-pts li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;border-radius:50%;background:var(--c-accent,#8eb69b);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-accent,#8eb69b) 22%,transparent)}
.mbk-cta{display:flex;flex-wrap:wrap;gap:12px}
@media (max-width:760px){.mbk{grid-template-columns:1fr;text-align:left}.mbk-cov{max-width:230px;margin-inline:auto}.mbk-cov img{transform:rotateY(-8deg)}}
@media (prefers-reduced-motion:reduce){.mbk-cov img{transition:none}}
.p-stage .p-book.p-cover{width:49%}
.hero-badge:has(.hb-sa.has-logo) .hb-ring{display:none}
.hero-badge .hb-sa.has-logo{width:88%!important}
.hero-badge:has(.hb-sa.has-logo){background:transparent!important;box-shadow:none!important;border:0!important}
.hero-badge:has(.hb-sa.has-logo)::before,.hero-badge:has(.hb-sa.has-logo)::after{display:none!important}

/* ================================================================== v16 · Ilm bot: a small frosted panel (after the SXA assistant), never full screen */
html[data-theme] .bot#bot{right:18px!important;left:auto!important;bottom:18px!important;width:min(384px,calc(100vw - 24px))!important;height:min(610px,calc(100svh - 110px))!important;
  grid-template-rows:auto minmax(0,1fr) auto auto auto!important;border:0!important;border-radius:26px!important;corner-shape:round!important;overflow:hidden;
  background:var(--frost),linear-gradient(160deg,rgb(255 255 255 / .86),rgb(218 241 222 / .78))!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.7)!important;backdrop-filter:blur(26px) saturate(1.7)!important;
  box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 2px 4px rgb(5 31 32 / .06),0 50px 100px -30px rgb(5 31 32 / .55)!important;
  transform-origin:100% 100%;transform:translateY(14px) scale(.96)}
html[data-theme] .bot#bot.open{transform:none}
html[data-theme] .bot#bot .bot-h{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;border:0;background:linear-gradient(135deg,#0b2b26 0%,#051f20 55%,#163832 100%)!important;box-shadow:inset 0 -1px 0 rgb(255 255 255 / .06)}
.bot-av{position:relative;flex:none;display:block}
html[data-theme] .bot-av .seal{width:42px!important;height:42px!important;border-radius:12px!important;box-shadow:0 0 0 1px rgb(255 255 255 / .14),0 6px 14px rgb(0 0 0 / .4)!important}
.bot-av .live{position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border-radius:50%;background:#8eb69b;box-shadow:0 0 0 2.5px #051f20;z-index:3}
.bot-id{min-width:0}
.bot-id b{display:block;font:600 1.18rem/1.1 var(--f-display)!important;font-variation-settings:"opsz" 14;color:#fff!important;letter-spacing:0}
.bot-id small{display:block;margin-top:4px;font:500 11.5px/1.3 var(--f-body);color:rgb(218 241 222 / .7)}
html[data-theme] .bot#bot .bot-h .xbtn{position:static!important;margin-left:auto;flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%!important;border:0!important;background:rgb(255 255 255 / .12)!important;color:#fff!important;box-shadow:none!important;transition:background .2s}
html[data-theme] .bot#bot .bot-h .xbtn:hover{background:rgb(255 255 255 / .22)!important}
.bot-h .xbtn svg{width:16px;height:16px}
html[data-theme] .bot#bot .bot-log{padding:18px 16px 12px;gap:10px;background:radial-gradient(120% 55% at 100% 0%,rgb(57 103 88 / .08),transparent 60%)!important;overscroll-behavior:contain}
.bot-hi h4{margin:0 0 6px;font:700 1.5rem/1.1 var(--f-display);font-variation-settings:"opsz" 18;color:var(--tx);letter-spacing:-.01em}
.bot-hi p{margin:0;font-size:13.5px;line-height:1.55;color:var(--tx-2)}
.bot-lv{display:flex;gap:6px;margin:12px 0 10px}
.bot-lv button{padding:7px 11px;border-radius:10px;border:1px solid rgb(5 31 32 / .12);background:rgb(255 255 255 / .6);font:500 10px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-2);transition:border-color .2s,background .2s,color .2s}
.bot-lv button:hover{border-color:#396758;color:#396758;background:#fff}
.bot-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bot-tile{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 11px;border-radius:14px;border:1px solid rgb(5 31 32 / .08);background:rgb(255 255 255 / .8);box-shadow:0 1px 0 rgb(5 31 32 / .03);text-align:left;font:600 12.5px/1.25 var(--f-body);color:var(--tx);transition:transform .25s var(--e-out),border-color .2s,box-shadow .25s}
.bot-tile .ic{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:rgb(57 103 88 / .08);color:#396758}
.bot-tile .ic svg{width:16px;height:16px}
.bot-tile:hover{transform:translateY(-1px);border-color:rgb(57 103 88 / .35);box-shadow:0 8px 18px -12px rgb(5 31 32 / .45)}
html[data-theme] .bot#bot .msg{font-size:13.5px;border-radius:16px}
html[data-theme] .bot#bot .msg.b{background:rgb(255 255 255 / .82)!important;border:1px solid rgb(5 31 32 / .08)!important;border-top-left-radius:5px;color:var(--tx)}
html[data-theme] .bot#bot .msg.u{background:var(--obsidian)!important;color:#f1f4f2!important;border:0!important;border-top-right-radius:5px}
.bot#bot:not(.talked) .bot-chips{display:none!important}
html[data-theme] .bot#bot .bot-chips{padding:4px 12px 8px;border:0}
html[data-theme] .bot#bot .bot-chips .chip{padding:6px 10px;border-radius:9px!important;font-size:9.5px}
html[data-theme] .bot#bot .bot-f{display:flex;gap:8px;padding:10px 12px 8px;border-top:1px solid rgb(5 31 32 / .07);background:transparent!important}
html[data-theme] .bot#bot .bot-f input{height:46px;padding:0 14px;border-radius:14px!important;border:1.5px solid rgb(5 31 32 / .14)!important;background:rgb(255 255 255 / .9)!important;color:var(--tx);font-size:15px;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
html[data-theme] .bot#bot .bot-f input:focus{border-color:#396758!important;box-shadow:0 0 0 4px rgb(57 103 88 / .12)!important}
html[data-theme] .bot#bot .bot-f button{flex:none;width:46px;height:46px;border-radius:14px!important;background:var(--obsidian)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .5)!important}
.bot-foot{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px 12px;font-size:11.5px;color:var(--tx-3)!important;text-decoration:none!important}
.bot-foot svg{width:15px;height:15px;flex:none}
.bot-foot b{color:var(--tx);font-weight:700}
.bot-foot:hover b{color:#396758}
/* dark theme */
html[data-theme="dark"] .bot#bot{background:var(--frost),linear-gradient(160deg,rgb(5 31 32 / .92),rgb(5 31 32 / .9))!important;box-shadow:0 0 0 1px rgb(255 255 255 / .08),0 50px 100px -30px rgb(0 0 0 / .85)!important}
html[data-theme="dark"] :is(.bot-tile,.bot-lv button){background:rgb(255 255 255 / .06);border-color:rgb(255 255 255 / .08);color:#daf1de}
html[data-theme="dark"] .bot-tile .ic{background:rgb(188 218 196 / .12);color:#bcdac4}
html[data-theme="dark"] .bot-hi h4{color:#f1f5f3}
html[data-theme="dark"] .bot#bot .msg.b{background:rgb(255 255 255 / .07)!important;border-color:rgb(255 255 255 / .08)!important;color:#daf1de}
html[data-theme="dark"] .bot#bot .bot-f input{background:rgb(255 255 255 / .06)!important;border-color:rgb(255 255 255 / .12)!important;color:#daf1de}
html[data-theme="dark"] .bot-foot b{color:#daf1de}

/* the button: an obsidian plate with the live seal; it steps aside while the panel is open */
html[data-theme] .fab.fab{flex-direction:row!important;align-items:center;gap:11px!important;height:58px!important;padding:7px 18px 7px 7px!important;border:0!important;border-radius:20px!important;corner-shape:round!important;
  background:var(--obsidian)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .6),0 22px 40px -16px rgb(5 31 32 / .7)!important;
  transition:transform .35s var(--e-out),opacity .25s,box-shadow .3s!important}
html[data-theme] .fab.fab:hover{transform:translateY(-2px)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .14),0 0 0 1px rgb(0 0 0 / .6),0 0 0 4px rgb(142 182 155 / .22),0 26px 44px -16px rgb(5 31 32 / .75)!important}
html[data-theme] .fab.fab .seal{width:44px!important;height:44px!important;border-radius:13px!important;box-shadow:0 0 0 1px rgb(255 255 255 / .14)!important}
html[data-theme] .fab.fab .seal::before{width:10px;height:10px;right:-3px;top:-3px;box-shadow:0 0 0 2.5px #051f20}
html[data-theme] .fab.fab .t{gap:4px;font:600 1rem/1 var(--f-display)!important;font-variation-settings:"opsz" 12!important;color:#ecf8ee!important}
html[data-theme] .fab.fab .t::after{content:"Replies instantly";color:#9aa3a7;font-size:9px}
html[data-theme] .fab.fab[aria-expanded="true"]{opacity:0;pointer-events:none;transform:translateY(8px) scale(.92)!important}

@media (max-width:760px){
  html[data-theme] .bot#bot{left:10px!important;right:10px!important;width:auto!important;bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;height:min(540px,calc(100svh - 190px))!important;border-radius:24px!important}
  html[data-theme] .bot#bot .bot-h{padding:12px 12px 12px 14px}
  .bot-hi h4{font-size:1.3rem}
  .bot-tile{min-height:48px;font-size:12px}
}

/* ================================================================== v17 · carousel controls: one obsidian-and-glass plate, numeral, title, segment track */
html[data-theme] .v2-flow-ctl{display:flex;align-items:center;gap:8px;width:min(460px,calc(100% - 8px));margin:8px auto 0;padding:7px!important;border-radius:22px!important;corner-shape:round!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .9),0 0 0 1px rgb(5 31 32 / .07),0 18px 36px -20px rgb(5 31 32 / .4)!important}
html[data-theme] .v2-flow-b{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:15px!important;corner-shape:round!important;background:var(--obsidian)!important;color:#e6eaec!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .55),0 8px 16px -10px rgb(5 31 32 / .7)!important;transition:transform .3s var(--e-out),background .25s,box-shadow .25s!important}
html[data-theme] .v2-flow-b:hover{transform:translateY(-1px);background:linear-gradient(180deg,#4e7b69,#235347)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),0 0 0 1px #1e483e,0 10px 20px -10px rgb(57 103 88 / .8)!important}
html[data-theme] .v2-flow-b:active{transform:scale(.95)}
.v2-flow-b svg{width:17px!important;height:17px!important}
.v2-flow-now{flex:1;min-width:0!important;display:flex!important;align-items:center;gap:12px;padding:0 6px 0 8px!important;text-align:left!important}
.v2-fn{flex:none;display:flex;align-items:baseline;gap:2px;padding-right:12px;border-right:1px solid rgb(5 31 32 / .1);font:500 1.75rem/1 var(--f-display);font-style:normal;font-variation-settings:"opsz" 20;letter-spacing:-.02em;color:var(--tx)}
.v2-fn small{font:500 9.5px/1 var(--f-mono);letter-spacing:.08em;color:var(--tx-3)}
.v2-ft{flex:1;min-width:0;display:grid;gap:6px}
.v2-ft b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 .98rem/1.15 var(--f-display)!important;font-variation-settings:"opsz" 12;color:var(--tx)!important}
.v2-ft b small{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;font:500 9px/1.1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--em);font-variation-settings:normal}
.v2-ft .v2-flow-dots{display:flex;gap:4px;margin:0!important;justify-content:flex-start}
.v2-ft .v2-flow-dots button{flex:1;width:auto!important;height:3px!important;max-width:44px;border-radius:3px;background:rgb(5 31 32 / .12);transition:background .3s}
.v2-ft .v2-flow-dots button.on{background:linear-gradient(90deg,#051f20,#396758)}
.v2-ft .v2-flow-dots button:hover{background:rgb(5 31 32 / .3)}
html[data-theme="dark"] .v2-fn{color:#daf1de;border-color:rgb(255 255 255 / .12)}
html[data-theme="dark"] .v2-ft .v2-flow-dots button{background:rgb(255 255 255 / .14)}
html[data-theme="dark"] .v2-ft .v2-flow-dots button.on{background:linear-gradient(90deg,#bcdac4,#daf1de)}
html[data-theme="dark"] .v2-flow-ctl{box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 0 0 1px rgb(255 255 255 / .08)!important}
@media (max-width:420px){.v2-fn{font-size:1.45rem;padding-right:10px}.v2-flow-now{gap:10px}html[data-theme] .v2-flow-b{width:42px;height:42px;border-radius:14px!important}}

/* ================================================================== v18 · between classes: richer cards (crash plan, video card, bookshelf, tracker stat) */
/* crash course: four steps along a thin rail */
.xv-plan{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 0;padding:0;list-style:none}
.xv-plan::before{content:"";position:absolute;left:18px;right:18px;top:17px;height:1px;background:linear-gradient(90deg,rgb(255 255 255 / .5),rgb(255 255 255 / .12))}
.xv-plan li{position:relative;display:grid;gap:8px;padding:0;margin:0}
html[data-theme] .xv-plan b{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgb(255 255 255 / .14);box-shadow:inset 0 1px 0 rgb(255 255 255 / .3),0 0 0 1px rgb(255 255 255 / .22);font:500 11px/1 var(--f-mono);letter-spacing:.06em;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html[data-theme] .xv-plan li:first-child b{background:#fff!important;color:#235347!important}
html[data-theme] .xv-plan span{font:600 .92rem/1.2 var(--f-display);font-variation-settings:"opsz" 12;color:#fff!important}
html[data-theme="light"] .tn-emerald .xv-plan span{color:#fff}

/* YouTube: a lesson thumbnail and a channel row */
html[data-theme] .tn .xt-viz.xv-tube{display:grid;gap:10px;padding:0!important;min-height:0;background:none!important;border:0!important;border-radius:0!important;overflow:visible}
.xt-yt{background:#ff0033!important}
.xt-yt svg{width:22px!important;height:22px!important}
.yt-thumb{position:relative;display:grid;align-content:end;gap:4px;min-height:122px;padding:14px 14px 18px;border-radius:14px;overflow:hidden;
  background:radial-gradient(70% 90% at 100% 0%,rgb(255 0 51 / .45),transparent 60%),radial-gradient(60% 80% at 0% 100%,rgb(57 103 88 / .55),transparent 65%),linear-gradient(160deg,#1b2124,#051f20);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 14px 28px -18px rgb(5 31 32 / .8)}
.yt-thumb::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgb(255 255 255 / .035) 0 1px,transparent 1px 12px);pointer-events:none}
.yt-k{position:relative;font:500 9px/1 var(--f-mono);letter-spacing:.18em;text-transform:uppercase;color:#ff8a9c}
html[data-theme] .yt-thumb .yt-t{position:relative;max-width:72%;font:600 1.12rem/1.15 var(--f-display)!important;font-variation-settings:"opsz" 12;color:#fff!important}
.yt-play{position:absolute;right:14px;top:50%;translate:0 -60%;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgb(255 255 255 / .16);box-shadow:inset 0 1px 0 rgb(255 255 255 / .35),0 0 0 1px rgb(255 255 255 / .25);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .35s var(--e-out),background .25s}
.yt-play svg{width:18px;height:18px;margin-left:2px}
.xt:hover .yt-play{transform:scale(1.08);background:#ff0033}
.yt-free{position:absolute;right:10px;top:10px;padding:4px 7px;border-radius:6px;background:rgb(0 0 0 / .55);font:500 9px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:#fff}
.yt-prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgb(255 255 255 / .18)}
.yt-prog i{display:block;width:42%;height:100%;background:#ff0033}
.yt-ch{display:flex;align-items:center;gap:10px}
html[data-theme] .yt-ch .seal{width:32px!important;height:32px!important;border-radius:50%!important;flex:none}
.yt-cn{display:grid;gap:2px;min-width:0}
.yt-cn b{font:600 .82rem/1.1 var(--f-body);color:var(--tx)}
.yt-cn small{font:500 9px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3)}
.yt-sub{margin-left:auto;padding:7px 11px;border-radius:999px;background:#051f20;color:#fff;font:600 11px/1 var(--f-body);letter-spacing:.01em}
html[data-theme="dark"] .yt-sub{background:#fff;color:#051f20}

/* notes: four bound spines on a shelf, the last one leaning */
html[data-theme] .tn .tool-viz.tv-shelf{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:5px;height:120px;padding:0 0 10px!important}
.tv-shelf::after{content:"";position:absolute;left:14%;right:14%;bottom:8px;height:3px;border-radius:2px;background:linear-gradient(90deg,#cdb78c,#e6d6b2,#cdb78c);box-shadow:0 3px 6px -2px rgb(107 79 42 / .4)}
.sp{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:32px;padding:7px 0 6px;border-radius:4px 4px 2px 2px;box-shadow:inset 0 9px 0 -6px rgb(255 255 255 / .35),inset 0 -9px 0 -6px rgb(255 255 255 / .35),inset 2px 0 0 rgb(255 255 255 / .12),inset -3px 0 0 rgb(0 0 0 / .14),0 4px 8px -4px rgb(0 0 0 / .35);transition:transform .35s var(--e-out)}
.sp i{writing-mode:vertical-rl;transform:rotate(180deg);font:600 10.5px/1 var(--f-display);font-style:normal;letter-spacing:.04em;white-space:nowrap}
.sp b{font:500 6.5px/1 var(--f-mono);letter-spacing:.06em;opacity:.8}
.sp-a{height:92px;background:linear-gradient(90deg,#235347,#457262 45%,#235347);color:#daf1de}
.sp-b{height:100px;background:linear-gradient(90deg,#051f20,#2a3135 45%,#051f20);color:#e6eaec}
.sp-c{height:86px;background:linear-gradient(90deg,#efe4cb,#fbf4e3 45%,#efe4cb);color:#6b4f2a}
.sp-d{height:94px;background:linear-gradient(90deg,#b9c0c4,#e6e9eb 45%,#b9c0c4);color:#1f272a;transform:rotate(9deg);transform-origin:bottom left;margin-left:3px}
.xt:hover .sp-a{transform:translateY(-6px)}
.sp-lean{display:none}

/* tracker: the grid beside a live percentage */
html[data-theme] .tn .tool-viz.tv-grid{display:flex;align-items:center;justify-content:center;gap:clamp(20px,4vw,44px);height:auto;min-height:130px;padding:16px!important}
.tg-stat{display:grid;gap:7px;min-width:150px}
.tg-k{font:500 9.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)}
.tg-stat b{font:500 2.6rem/1 var(--f-display);font-variation-settings:"opsz" 24;letter-spacing:-.02em;color:var(--tx);font-variant-numeric:tabular-nums}
.tg-bar{display:block;height:4px;border-radius:4px;background:rgb(5 31 32 / .1);overflow:hidden}
.tg-bar i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#235347,#8eb69b);transition:width .35s var(--e-out)}
.tg-l{display:flex;align-items:center;gap:6px;font:500 9.5px/1 var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--tx-3)}
.tg-l i{width:9px;height:9px;border-radius:3px;background:rgb(5 31 32 / .1)}
.tg-l i.on{background:#396758}
.tg-l i:not(.on){margin-left:8px}
html[data-theme="dark"] .tg-bar,html[data-theme="dark"] .tg-l i{background:rgb(255 255 255 / .12)}
html[data-theme="dark"] .tg-l i.on{background:#8eb69b}

@media (max-width:760px){
  .xv-plan{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px;margin-top:12px}
  .xv-plan::before{display:none}
  .xv-plan li{grid-template-columns:auto 1fr;align-items:center;gap:8px}
  .xv-plan b{width:28px;height:28px;border-radius:9px;font-size:10px}
  .xv-plan span{font-size:.84rem}
  html[data-theme] .explore .xt .xt-viz.xv-tube{display:grid!important;height:auto!important;padding:0!important;place-items:stretch}
  .xv-tube .yt-thumb{min-height:84px;padding:10px 10px 12px}
  .xv-tube .yt-thumb .yt-t{font-size:.8rem!important;max-width:100%}
  .xv-tube .yt-k,.xv-tube .yt-play{display:none}
  .xv-tube .yt-ch .yt-cn small,.xv-tube .yt-sub{display:none}
  .xv-tube .yt-cn b{font-size:.72rem}
  html[data-theme] .yt-ch .seal{width:24px!important;height:24px!important}
  html[data-theme] .explore .xt .tool-viz.tv-shelf{display:flex!important;height:96px!important;place-items:initial;gap:3px}
  .sp{width:24px}.sp i{font-size:8.5px}.sp b{display:none}
  .sp-a{height:72px}.sp-b{height:80px}.sp-c{height:66px}.sp-d{height:74px}
  html[data-theme] .explore .xt-track .tool-viz.tv-grid{flex-direction:column;gap:12px;align-items:stretch}
  .tg-stat{min-width:0}.tg-stat b{font-size:1.9rem}.tg-l{display:none}
}

/* ================================================================== v19 · navbar: all the options on laptops, slimmer; on phones bolder and without search */
@media (min-width:901px){
  html[data-theme] .nav{padding-top:8px!important;padding-bottom:8px!important;min-height:0!important}
  html[data-theme] .nav .brand .seal{width:42px!important;height:42px!important}
  html[data-theme] .nav .brand-t b{font-size:1.06rem!important}
  html[data-theme] .nav .brand-t span{font-size:8.5px!important}
  html[data-theme] .nav .nav-links a,html[data-theme] .nav .nav-more>button{padding-top:10px!important;padding-bottom:10px!important}
  html[data-theme] .nav .nav-search,html[data-theme] .nav .nav-cart{height:40px!important}
  html[data-theme] .nav .nav-cart{width:40px!important}
  html[data-theme] .nav .btn.btn-enrol.btn{--h:40px!important}
}
/* phones: a bolder bar, no search buttons */
@media (max-width:900px){
  .nav .nav-search{display:none!important}
  .mbar .mb-ic[data-cmdk]{display:none!important}
  .mbar{grid-template-columns:auto minmax(0,1fr) auto!important}
  html[data-theme] .nav{box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(5 31 32 / .1),0 14px 30px -14px rgb(5 31 32 / .35)!important}
  html[data-theme] .nav .brand-t b{font-weight:700!important;font-size:1.08rem!important;letter-spacing:-.005em!important;font-variation-settings:"opsz" 11!important;color:var(--tx)!important}
  html[data-theme] .nav .brand .seal{width:42px!important;height:42px!important}
  html[data-theme] .nav .burger{width:44px!important;height:44px!important;border-radius:13px!important;background:var(--obsidian)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .55)!important}
  html[data-theme] .nav .burger span{background:#eef1f2!important;height:2px!important;width:18px!important}
  html[data-theme="dark"] .nav{box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 0 0 1px rgb(255 255 255 / .1)!important}
  html[data-theme="dark"] .nav .brand-t b{color:#f1f5f3!important}
}

/* ================================================================== v20 · bento alignment: icon centred on the label row, clear space under it, boxes fill tall cards */
html[data-theme] .explore .xt .xt-ic{top:13px!important;right:13px!important}
.explore .xt>.tool-tab{align-self:flex-start;margin-bottom:12px!important}
@media (min-width:761px){
  .explore .xt :is(.xv-att,.tv-grid,.tv-timer){flex:1 1 auto;align-content:center}
  .explore .xt .xv-att{padding:18px 16px!important}
  .explore .xt-track .tool-viz.tv-grid{min-height:150px}
  .explore .xt :is(h3,.h3){margin-top:2px}
}
@media (max-width:760px){html[data-theme] .explore .xt .xt-ic{top:10px!important;right:10px!important}.explore .xt>.tool-tab{margin-bottom:10px!important}}

/* ================================================================== v21 · affiliations with logos, mornings strip, the journey chart, the school wall */
.aff-i{display:flex;align-items:center;gap:10px;min-width:0}
.lg{flex:none;display:flex;align-items:center;justify-content:center;gap:3px;height:38px;min-width:38px;padding:4px 6px;border-radius:11px;background:#fff;box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 4px 10px -6px rgb(5 31 32 / .3)}
.lg img{display:block;height:28px;width:auto;max-width:92px;object-fit:contain}
.lg-2 img{height:26px}
.lg-m{width:38px;padding:0;background:var(--obsidian);color:#e8ecee;font:600 .86rem/1 var(--f-display);letter-spacing:.02em;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .5)}
.aff-t{display:grid;gap:2px;min-width:0}
.aff-t b{font:600 .84rem/1.2 var(--f-body);color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aff-t small{font:500 9px/1.1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3)}
/* inside the place cards */
html[data-theme] .pl-aff{display:grid;gap:6px;margin:12px 0 4px;padding:0;list-style:none}
html[data-theme] .pl-aff li.aff-i{padding:6px;border-radius:14px;background:rgb(255 255 255 / .5);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .07)}
html[data-theme="dark"] .pl-aff li.aff-i{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
/* home: mornings strip */
.sw-morn{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 0;padding:12px 16px;border-radius:20px;background:var(--glass);box-shadow:var(--glass-sh)}
.sw-mk{display:grid;gap:3px;padding-right:16px;border-right:1px solid rgb(5 31 32 / .1)}
.sw-mk small{font:500 9px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.sw-mk b{font:600 1rem/1.1 var(--f-display);color:var(--tx)}
.aff-row{display:flex;flex-wrap:wrap;gap:8px 18px;flex:1;margin:0;padding:0;list-style:none}
.aff-row .lg{height:32px;min-width:32px}.aff-row .lg-m{width:32px;font-size:.78rem}
.sw-morn>.link{margin-left:auto}
@media (max-width:760px){.sw-morn{gap:12px}.sw-mk{border-right:0;padding-right:0;flex-basis:100%}.aff-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sw-morn>.link{margin-left:0}}

/* about: the journey */
.jr-card.card{padding:clamp(18px,2.6vw,30px)!important;display:grid;gap:22px}
.jr-head{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid rgb(5 31 32 / .1);padding-bottom:18px}
.jr-hero{display:grid;gap:6px;padding:0 18px;border-left:1px solid rgb(5 31 32 / .1)}
.jr-hero:first-child{border-left:0;padding-left:0}
.jr-hero b{font:500 clamp(2rem,4vw,3rem)/1 var(--f-display);font-variation-settings:"opsz" 28;letter-spacing:-.02em;color:var(--tx)}
.jr-hero b em{font-style:normal;color:var(--em)}
.jr-hero span{font:500 9.5px/1.2 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
.jr{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:240px auto;column-gap:8px}
.jr-grid{grid-column:2;grid-row:1;position:relative;pointer-events:none}
.jr-grid i{position:absolute;left:0;right:0;bottom:var(--y);border-top:1px dashed rgb(5 31 32 / .1)}
.jr-grid i span{position:absolute;right:calc(100% + 10px);top:-6px;font:500 9.5px/1 var(--f-mono);color:var(--tx-3);white-space:nowrap}
.jr-plot{grid-column:2;grid-row:1;position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:2px;align-items:end;border-bottom:1.5px solid rgb(5 31 32 / .35)}
.jr-b{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:0 2px;background:none;border:0;cursor:default}
.jr-b i{display:block;width:min(100%,30px);height:var(--h);border-radius:4px 4px 0 0;background:#396758;transform-origin:bottom;transition:transform .9s cubic-bezier(.16,1,.3,1),background .2s}
.jr-wait .jr-b i{transform:scaleY(0)}
.jr-b:nth-child(n) i{transition-delay:calc(var(--k,0) * 40ms)}
.jr-b:hover i,.jr-b.on i,.jr-b:focus-visible i{background:#235347}
.jr-b:focus-visible{outline:2px solid #396758;outline-offset:2px;border-radius:6px}
.jr-v{margin-bottom:6px;font:600 10.5px/1 var(--f-mono);color:var(--tx-2)}
.jr-y{position:absolute;top:calc(100% + 8px);font:500 9.5px/1 var(--f-mono);color:var(--tx-3);white-space:nowrap}
.jr-band{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:2px;margin-top:30px}
.jr-band span{padding:5px 6px;border-radius:8px;background:rgb(57 103 88 / .1);box-shadow:inset 0 0 0 1px rgb(57 103 88 / .18);font:500 9px/1.1 var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--em);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jr-tip{position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 10px));padding:9px 12px;border-radius:12px;background:var(--obsidian);color:#eef1f2;box-shadow:0 14px 30px -12px rgb(5 31 32 / .6);pointer-events:none;display:grid;gap:3px;white-space:nowrap;margin-left:44px}
.jr-tip small{font:500 9px/1 var(--f-mono);letter-spacing:.14em;color:#9aa3a7}
.jr-tip b{font:600 .9rem/1.1 var(--f-body)}
.jr-tip em{font:500 10px/1 var(--f-mono);font-style:normal;color:#bcdac4}
.jr-tab summary{cursor:pointer;font:500 10px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
.jr-tab table{width:100%;margin-top:12px;border-collapse:collapse;font-size:.85rem}
.jr-tab th,.jr-tab td{text-align:left;padding:7px 4px;border-bottom:1px solid rgb(5 31 32 / .08)}
.jr-tab td:last-child,.jr-tab th:last-child{text-align:right;font-variant-numeric:tabular-nums}
html[data-theme="dark"] .jr-b i{background:#81aa90}
html[data-theme="dark"] .jr-b:hover i,html[data-theme="dark"] .jr-b.on i{background:#9fc4aa}
html[data-theme="dark"] :is(.jr-plot){border-color:rgb(255 255 255 / .35)}
html[data-theme="dark"] .jr-grid i{border-color:rgb(255 255 255 / .1)}
html[data-theme="dark"] :is(.jr-head,.jr-hero){border-color:rgb(255 255 255 / .1)}
/* workshops */
.ws-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
.ws-k{display:grid;gap:3px;padding-right:12px}
.ws-k small{font:500 9px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.ws-k b{font:600 1rem/1.1 var(--f-display);color:var(--tx)}
.ws-i{display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border-radius:14px;background:var(--glass);box-shadow:var(--glass-sh);font:600 .86rem/1.2 var(--f-body);color:var(--tx)}
.ws-i i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--obsidian);color:#e8ecee;font:500 10px/1 var(--f-mono);font-style:normal}
/* about: the school wall */
.sw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sw-g.card{display:grid;align-content:start;gap:14px;padding:18px!important}
.sw-wide{grid-column:1/-1}
.sw-h{display:grid;gap:4px}
.sw-h small{font:500 9px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.sw-h b{font:600 1.15rem/1.1 var(--f-display);color:var(--tx)}
.sw-l{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.sw-wide .sw-l{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.sw-l .aff-i{padding:7px;border-radius:14px;background:rgb(255 255 255 / .45);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .07)}
.sw-l .lg{height:44px;min-width:44px}.sw-l .lg img{height:32px;max-width:110px}.sw-l .lg-m{width:44px}
html[data-theme="dark"] .sw-l .aff-i{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
@media (max-width:860px){.sw{grid-template-columns:1fr}}
@media (max-width:760px){
  .jr-head{grid-template-columns:1fr 1fr 1fr}.jr-hero{padding:0 10px}.jr-hero b{font-size:1.6rem}
  .jr{grid-template-columns:34px minmax(0,1fr);grid-template-rows:200px auto}
  .jr-y{transform:rotate(-55deg);transform-origin:top left;left:40%;top:calc(100% + 12px)}
  .jr-v{font-size:8.5px}
  .jr-band{margin-top:44px}.jr-band span{font-size:7.5px;padding:4px 2px;letter-spacing:.04em}
  .ws-k{flex-basis:100%}
}
/* where cards: everything starts at the top in every card, the centre list sits under the text */
html[data-theme] .place.card{display:flex!important;flex-direction:column}
html[data-theme] .place .pl-b{flex:1;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px}
html[data-theme] .place .pl-b>*{margin-top:0;margin-bottom:0}
html[data-theme] .place .pl-b .pl-aff{margin-top:6px!important}
html[data-theme] .place .pl-b>.link{margin-top:auto!important;padding-top:10px;align-self:flex-start}
.sw-l .aff-t b{white-space:normal;overflow:visible}
.sw-wide .sw-l{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.jr-ys,.jr-bs{display:none}
.jr-band b{font:inherit}
@media (max-width:760px){
  .jr-y{transform:none!important;left:auto!important;top:calc(100% + 7px)!important}
  .jr-yf{display:none}.jr-ys{display:inline;font-size:8px}
  .jr-b:nth-child(even) .jr-ys{visibility:hidden}
  .jr-bf{display:none}.jr-bs{display:inline}
  .jr-band{margin-top:28px}.jr-band span{font-size:8px;padding:4px 1px}
  .aff-row{grid-template-columns:1fr!important}
}
@media (max-width:760px){.sw-morn .aff-row{flex-basis:100%}.aff-row .aff-t b{white-space:normal}}

/* ================================================================== v22 · syllabus panel: topics in two columns so it sits level with the paper trays */
@media (min-width:1100px){
  .sm-trays{align-content:start}
  html[data-theme] .org-panel{align-content:start;padding:22px!important}
  html[data-theme] .org-panel ul{grid-template-columns:1fr 1fr;gap:8px!important}
  html[data-theme] .org-panel li a{grid-template-columns:38px minmax(0,1fr)!important;align-items:center;min-height:52px;padding:8px 10px!important;font-size:.84rem!important;line-height:1.3}
  html[data-theme] .org-panel li a .lv{display:none}
  html[data-theme] .org-panel .h3{font-size:clamp(1.35rem,1.9vw,1.85rem)!important;line-height:1.08!important}
}
/* phones: the side cards of the curve stay readable */
@media (max-width:640px){html[data-theme] .v2-flow>.card{opacity:calc(1 - var(--ad) * .28)!important}html[data-theme] .v2-flow>.card:not(.is-c)>*{opacity:.7!important}}
.v2-flow>.card>*{flex-shrink:0}
.v2-flow-courses .acc.card{padding-bottom:8px!important}

/* ================================================================== v23 · course card level tag: a small frosted plate on the artwork, not a pill */
html[data-theme] .v2-flow-courses .acc .acc-h .tag,html[data-theme] .acc .acc-h .tag{display:inline-flex!important;align-items:center;gap:7px;height:auto!important;padding:6px 10px 6px 9px!important;border:0!important;border-radius:9px!important;corner-shape:round!important;
  background:linear-gradient(180deg,rgb(5 31 32 / .55),rgb(5 31 32 / .35))!important;-webkit-backdrop-filter:blur(10px) saturate(140%);backdrop-filter:blur(10px) saturate(140%);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),inset 0 0 0 1px rgb(255 255 255 / .14),0 6px 14px -8px rgb(0 0 0 / .6)!important;
  font:500 9.5px/1 var(--f-mono)!important;letter-spacing:.18em!important;text-transform:uppercase;color:#e9eef0!important}
html[data-theme] .acc .acc-h .tag::before{content:"";width:5px;height:5px;border-radius:50%;background:#a9cbb3;box-shadow:0 0 6px #a9cbb3}

/* ================================================================== v24 · real photographs: the hero arch and the about frame are filled edge to edge */
html[data-theme] .hero-fig .portrait img:not(.art){width:100%;height:100%;object-fit:cover!important;object-position:50% 20%!important;filter:none!important}
html[data-theme] .hero-fig .portrait:has(img:not(.art)){-webkit-mask-image:none!important;mask-image:none!important;background:#051f20;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .35),0 40px 80px -36px rgb(5 31 32 / .55)}
html[data-theme] .hero-fig .portrait:has(img:not(.art))::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(180deg,transparent,rgb(2 17 18 / .55));pointer-events:none}
html[data-theme] .ab-frame img:not(.art){width:100%;height:100%;object-fit:cover!important;object-position:50% 22%!important;filter:none!important}
.ab-fig:has(.ab-frame img:not(.art)) .ab-badge{display:none!important}
/* about: the gallery */
.mo{display:grid;grid-template-columns:1.6fr 1fr 1fr;grid-template-rows:260px 260px;gap:14px}
.mo-i.card{position:relative;margin:0;padding:0!important;overflow:hidden;border-radius:22px!important}
.mo-i img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--e-out)}
.mo-i:hover img{transform:scale(1.04)}
.mo-a{grid-row:1/3}.mo-b{grid-row:1/3;grid-column:2}.mo-c{grid-column:3}.mo-d{grid-column:3}
.mo-b img{object-position:50% 15%}.mo-d img{object-position:50% 25%}
.mo-i figcaption{position:absolute;left:12px;bottom:12px;padding:7px 11px;border-radius:10px;background:rgb(5 31 32 / .5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .16);font:500 9.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:#eef1f2}
@media (max-width:860px){.mo{grid-template-columns:1fr 1fr;grid-template-rows:220px 200px 200px}.mo-a{grid-column:1/-1;grid-row:1}.mo-b{grid-column:1;grid-row:2/4}.mo-c{grid-column:2;grid-row:2}.mo-d{grid-column:2;grid-row:3}}
/* notes: the study pack */
.spk.card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(20px,3vw,40px);align-items:center;padding:clamp(18px,3vw,36px)!important}
.spk-b{display:grid;gap:14px;align-content:start}
.spk-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:6px}
.spk-h{display:block;margin-bottom:8px;font:500 9.5px/1.2 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.spk-l{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.spk-l li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:rgb(255 255 255 / .5);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .07);font:600 .86rem/1.2 var(--f-body);color:var(--tx)}
.spk-l li i{display:grid;place-items:center;width:28px;height:22px;border-radius:7px;background:var(--obsidian);color:#e8ecee;font:500 9.5px/1 var(--f-mono);font-style:normal}
html[data-theme="dark"] .spk-l li{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
.spk-cov{margin:0;border-radius:18px;overflow:hidden;box-shadow:0 30px 60px -30px rgb(5 31 32 / .6),0 0 0 1px rgb(255 255 255 / .4)}
.spk-cov img{display:block;width:100%;height:auto}
@media (max-width:860px){.spk.card{grid-template-columns:1fr}.spk-cov{order:-1;max-width:420px;justify-self:center}.spk-cols{grid-template-columns:1fr}}
.mo-a img{object-position:14% 50%}
/* real photos in the place cards sit in the same inset, rounded frame as the artwork */
html[data-theme] .place .ph:not(.ph-art):not(.ph-x){margin:10px 10px 0!important;border-radius:16px!important;overflow:hidden;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .12),0 10px 24px -16px rgb(5 31 32 / .6)!important;-webkit-mask-image:none!important;mask-image:none!important}
html[data-theme] .place .ph:not(.ph-art):not(.ph-x)::before,html[data-theme] .place .ph:not(.ph-art):not(.ph-x)::after{content:none!important}
html[data-theme] .place .ph:not(.ph-art):not(.ph-x) img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:none!important;opacity:1!important}

/* ================================================================== v25 · hero: Sir Fazil cut out, standing in front of the MFM arch, his head rising past its rim */
html[data-theme] .hero-fig .portrait.pt-cut{overflow:visible!important;border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 100%)!important;mask-image:linear-gradient(180deg,#000 80%,transparent 100%)!important}
html[data-theme] .hero-fig .portrait.pt-cut::after{content:none!important}
.pt-arch{position:absolute;left:9%;right:9%;top:15%;bottom:0;border-radius:999px 999px 26px 26px;overflow:hidden;
  background:radial-gradient(70% 55% at 50% 38%,rgb(163 199 174 / .32),transparent 70%),url(../mfm-arch.svg) center 30%/cover no-repeat,linear-gradient(180deg,#0b2b26,#021011);
  box-shadow:inset 0 0 0 1px rgb(255 255 255 / .14),inset 0 1px 0 rgb(255 255 255 / .25),0 50px 90px -40px rgb(5 31 32 / .7)}
.pt-arch::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(160deg,rgb(255 255 255 / .85),#c9ced1 30%,rgb(255 255 255 / .2) 60%,#bcc2c6);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.pt-ring{position:absolute;left:50%;top:9%;width:62%;aspect-ratio:1;translate:-50% 0;border-radius:50%;border:1px dashed rgb(57 103 88 / .28);pointer-events:none;animation:ptspin 60s linear infinite}
@keyframes ptspin{to{rotate:360deg}}
html[data-theme] .hero-fig .portrait.pt-cut img.pt-img{position:absolute;left:50%;bottom:0;top:auto;width:auto!important;height:100%!important;max-width:none;translate:-50% 0;object-fit:contain!important;object-position:50% 100%!important;
  filter:drop-shadow(0 24px 40px rgb(1 12 12 / .45)) drop-shadow(0 0 1px rgb(0 0 0 / .4))!important}
html[data-theme="dark"] .pt-ring{border-color:rgb(188 218 196 / .25)}
@media (prefers-reduced-motion:reduce){.pt-ring{animation:none}}
html[data-theme] .hero-fig :is(.fl,.plate,.hero-badge){z-index:4!important}html[data-theme] .hero-fig .portrait.pt-cut{z-index:2}
html[data-theme="light"] .hero-fig .fl{background:linear-gradient(180deg,rgb(255 255 255 / .92),rgb(239 249 241 / .86))!important}
/* navbar theme switch: sun in the White theme, moon in the Green theme */
html[data-theme] .nav .nav-theme{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;min-width:40px;padding:0 12px 0 10px;border:0;border-radius:12px!important;corner-shape:round;cursor:pointer;
  background:var(--obsidian);color:#eef1f2;box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 0 0 1px rgb(0 0 0 / .5),0 6px 14px -8px rgb(5 31 32 / .6);font:500 10px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;transition:transform .25s var(--e-out),background .25s}
html[data-theme] .nav .nav-theme:hover{transform:translateY(-1px);background:linear-gradient(180deg,#4e7b69,#235347)}
.nav-theme svg{width:17px;height:17px;flex:none}
html[data-theme="light"] .nav-theme .nt-moon,html[data-theme="dark"] .nav-theme .nt-sun{display:none}
html[data-theme="dark"] .nav .nav-theme{background:linear-gradient(180deg,#ecf8ee,#dfe4e2);color:#051f20}
@media (max-width:1180px){html[data-theme] .nav .nav-theme{padding:0;width:40px}.nav-theme .nt-l{display:none}}
@media (max-width:900px){html[data-theme] .nav .nav-theme{width:44px;height:44px;border-radius:13px!important}}
html[data-theme] .nav .nav-theme{padding:0!important;width:40px}.nav-theme .nt-l{display:none!important}
@media (max-width:900px){.nav .nav-cart:not(.has){display:none!important}html[data-theme] .nav .nav-theme{width:44px}}
@media (max-width:480px){html[data-theme] .nav{gap:8px!important}html[data-theme] .nav .nav-r{gap:6px!important}html[data-theme] .nav .brand-t b{font-size:1rem!important}html[data-theme] .nav .nav-theme,html[data-theme] .nav .burger{width:42px!important;height:42px!important}html[data-theme] .nav .brand{gap:9px!important;min-width:0}}
@media (max-width:380px){html[data-theme] .nav .brand-t b{font-size:.9rem!important}html[data-theme] .nav .brand .seal{width:36px!important;height:36px!important}html[data-theme] .nav .nav-theme,html[data-theme] .nav .burger{width:40px!important;height:40px!important}}

/* v26 · hero arch: frosted silver glass, no green */
html[data-theme] .pt-arch{background:radial-gradient(80% 60% at 50% 30%,rgb(255 255 255 / .9),rgb(255 255 255 / 0) 70%),linear-gradient(180deg,rgb(250 251 251 / .75),rgb(226 231 233 / .55))!important;
  -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);
  box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgb(255 255 255 / .6),0 40px 80px -40px rgb(5 31 32 / .35)!important}
html[data-theme] .pt-arch::before{content:"";position:absolute;inset:0;background:var(--frost);opacity:.6;border-radius:inherit}
html[data-theme="dark"] .pt-arch{background:radial-gradient(80% 60% at 50% 30%,rgb(255 255 255 / .12),transparent 70%),linear-gradient(180deg,rgb(255 255 255 / .08),rgb(255 255 255 / .03))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),inset 0 0 0 1px rgb(255 255 255 / .1),0 40px 80px -40px rgb(0 0 0 / .6)!important}
html[data-theme="light"] .pt-ring{border-color:rgb(5 31 32 / .16)}
/* logo tiles: tall crests get room too */
.sw-l .lg,.pl-aff .lg{height:52px!important;min-width:52px}
.sw-l .lg img,.pl-aff .lg img{height:42px!important;max-width:120px}
.sw-l .lg-m,.pl-aff .lg-m{width:52px}
.aff-row .lg{height:40px!important;min-width:40px}.aff-row .lg img{height:32px!important}.aff-row .lg-m{width:40px}

/* ================================================================== v27 · bottom controls like SXA / SMK: theme switch + sound at the bottom left, Ilm bot at the bottom right. No quick bar. */
@media (max-width:760px){
  html[data-theme] .mbar{display:none!important}
  html[data-theme] .tdock{display:flex!important;left:max(12px,env(safe-area-inset-left))!important;bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important}
  html[data-theme] .tdock.away{opacity:1;transform:none;pointer-events:auto}
  html.menu-open .tdock,html:has(.bot.open) .tdock{opacity:0!important;pointer-events:none!important}
  .tdock .tpill{width:104px!important;flex-basis:104px!important;height:44px!important}
  .tdock .tsnd{width:44px!important;height:44px!important}
  html[data-theme="dark"] .tdock .tpill-k{transform:translateX(62px)!important}
  html[data-theme] .fab.fab{display:flex!important;right:max(12px,env(safe-area-inset-right))!important;bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important;height:50px!important;padding:5px 14px 5px 5px!important;border-radius:16px!important}
  html[data-theme] .fab.fab .seal{width:40px!important;height:40px!important;border-radius:11px!important}
  html[data-theme] .fab.fab .t{display:grid!important;font-size:.9rem!important}
  html[data-theme] .fab.fab .t::after{font-size:8px}
  html[data-theme] .bot#bot{bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important;height:min(560px,calc(100svh - 110px))!important}
  .ft,.foot{padding-bottom:84px!important}
}

/* ================================================================== v28 · less glass: in the White theme cards are clean white panels with a hairline, not frosted glass */
html:root[data-theme="light"]{
  --glass:linear-gradient(180deg,rgb(255 255 255 / .94),rgb(250 251 251 / .9));
  --glass-sh:0 0 0 1px rgb(5 31 32 / .07),0 1px 2px rgb(5 31 32 / .04),0 18px 40px -26px rgb(5 31 32 / .22);
}
html[data-theme="light"] .card{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* ================================================================== v29 · hero: buttons, numbers and the code row, tidied */
html[data-theme] .hero-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;max-width:640px;margin-top:28px!important;padding:0!important;border:0!important;border-radius:20px!important;overflow:hidden;
  background:#fff!important;box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 18px 40px -26px rgb(5 31 32 / .25)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme] .hero-facts>div{padding:16px 18px!important;margin:0!important;border:0!important;border-left:1px solid rgb(5 31 32 / .08)!important;background:none!important;box-shadow:none!important;border-radius:0!important;display:grid;gap:8px;align-content:start}
html[data-theme] .hero-facts>div:first-child{border-left:0!important}
html[data-theme] .hero-facts dd{margin:0;font:500 .8rem/1.35 var(--f-body)!important;color:var(--tx-2)!important}
html[data-theme] .hero-facts dd::before{content:none!important;display:none!important}
html[data-theme="dark"] .hero-facts{background:rgb(255 255 255 / .05)!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1)!important}
html[data-theme="dark"] .hero-facts>div{border-color:rgb(255 255 255 / .1)!important}
.hcodes{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;max-width:640px;margin-top:14px}
.hcp{display:grid;gap:5px;padding:10px 14px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgb(5 31 32 / .08)}
.hcp small{font:500 8.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)}
.hcp b{font:600 1.35rem/1 var(--f-display);font-variation-settings:"opsz" 14;letter-spacing:-.01em;color:var(--tx)}
.hbis{margin:0;display:flex;align-items:center;justify-content:center;height:100%;min-height:58px;padding:4px 16px;border-radius:14px;background:linear-gradient(180deg,#0b2b26,#051f20);box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 0 0 1px rgb(0 0 0 / .4);
  font:400 clamp(1.15rem,1rem + .5vw,1.5rem)/1.9 var(--f-ar);color:#daf1de;white-space:nowrap;overflow:hidden}
html[data-theme="dark"] .hcp{background:rgb(255 255 255 / .05);box-shadow:0 0 0 1px rgb(255 255 255 / .1)}
html[data-theme="dark"] .hbis{background:rgb(255 255 255 / .06)}
@media (max-width:560px){
  .hcodes{grid-template-columns:1fr 1fr}
  .hbis{grid-column:1/-1;min-height:52px;font-size:1.25rem}
  html[data-theme] .hero-facts>div{padding:12px 10px!important;gap:6px}
  html[data-theme] .hero-facts dd{font-size:.7rem!important}
  html[data-theme] .hero .hero-cta{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  html[data-theme] .hero .hero-cta .btn{width:100%!important;min-width:0!important;--h:46px!important;padding:0 6px 0 12px!important;font-size:.62rem!important;letter-spacing:.06em!important;white-space:nowrap;justify-content:space-between}
  html[data-theme] .hero .hero-cta .btn>*:last-child{flex:none}
}
.hero-cta .l-short{display:none}
@media (max-width:560px){.hero-cta .l-long{display:none!important}.hero-cta .l-short{display:inline!important}html[data-theme] .hero .hero-cta .btn{font-size:.7rem!important;letter-spacing:.08em!important}}
.hbis{background:var(--obsidian)!important}

/* ================================================================== v30 · courses: an SMK-style tilted deck, each card in the SXA course-card layout; tap a card for the details pop-up */
.acc-grid.deck{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding:26px 8px 34px;perspective:1800px;overflow:visible!important}
.deck>.acc.card{position:relative;display:flex!important;flex-direction:column;gap:12px;min-height:380px;margin:0 -10px!important;padding:24px 24px 22px!important;border:0!important;border-radius:22px!important;cursor:pointer;
  background:linear-gradient(180deg,#fff,#f2faf3)!important;box-shadow:0 0 0 1px rgb(5 31 32 / .08),0 2px 4px rgb(5 31 32 / .04),0 30px 60px -36px rgb(5 31 32 / .45)!important;
  transform:rotateY(14deg) rotateZ(-1.2deg);transform-origin:50% 50%;transition:transform .6s var(--e-out),box-shadow .4s,translate .6s var(--e-out)!important;overflow:hidden}
.deck>.acc.card:nth-child(2){transform:rotateY(14deg) rotateZ(0deg);translate:0 10px;z-index:2}
.deck>.acc.card:nth-child(3){transform:rotateY(14deg) rotateZ(1deg);translate:0 18px;z-index:3}
.deck>.acc.card:hover,.deck>.acc.card:focus-visible{transform:none!important;translate:0 -10px!important;z-index:5!important;box-shadow:0 0 0 1.5px #396758,0 40px 70px -36px rgb(22 56 50 / .55)!important}
.deck .acc-ph,.deck .acc-t,.deck .acc-f .link{display:none!important}
.deck .acc-n{position:absolute;right:20px;top:12px;font:500 4rem/1 var(--f-display);font-variation-settings:"opsz" 28;letter-spacing:-.03em;color:transparent;-webkit-text-stroke:1px rgb(57 103 88 / .35);pointer-events:none}
.deck .acc-h{display:block!important;position:static!important;padding:0!important;margin:0!important}
.deck .acc-h>div{display:grid;gap:8px}
html[data-theme] .deck .acc-h .tag{position:static!important;justify-self:start;background:rgb(57 103 88 / .08)!important;color:#396758!important;box-shadow:inset 0 0 0 1px rgb(57 103 88 / .2)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme] .deck .acc-h .tag::before{background:#396758;box-shadow:none}
.deck .code{position:static!important;display:block;order:-1;margin:6px 0 0!important;font:500 3.4rem/.9 var(--f-display)!important;font-variation-settings:"opsz" 28!important;letter-spacing:-.03em!important;color:#396758!important;-webkit-text-fill-color:#396758!important;text-shadow:none!important;background:none!important}
.deck .acc-h{display:flex!important;flex-direction:column-reverse;gap:10px}
.deck .h3{margin:0!important;font:600 1.45rem/1.1 var(--f-display)!important;color:var(--tx)!important}
.deck .acc-sub{margin:0!important;font:500 10px/1.3 var(--f-mono)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)!important}
.deck .acc-meta{margin:4px 0 0!important;padding-top:12px;border-top:1px solid rgb(5 31 32 / .08);font:500 11px/1.4 var(--f-mono)!important;color:var(--tx-2)!important}
.deck .acc-papers{display:grid!important;gap:8px;margin:0!important}
.deck .acc-papers span{display:flex;gap:10px;align-items:flex-start;font:500 .86rem/1.4 var(--f-body);color:var(--tx-2)}
.deck .acc-papers i{flex:none;display:grid;place-items:center;width:26px;height:20px;border-radius:6px;background:var(--obsidian);color:#e8ecee;font:500 9px/1 var(--f-mono);font-style:normal}
.deck .acc-f{margin-top:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;padding:0!important;border:0!important}
html[data-theme] .deck .acc-f .tag{background:#eef0f1!important;color:var(--tx-2)!important;box-shadow:none!important;font-size:9.5px!important}
html[data-theme] .deck .acc-more{background:var(--obsidian)!important;color:#fff!important;box-shadow:none!important;border:0!important}
html[data-theme="dark"] .deck>.acc.card{background:linear-gradient(180deg,rgb(255 255 255 / .07),rgb(255 255 255 / .03))!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1),0 30px 60px -36px rgb(0 0 0 / .8)!important}
html[data-theme="dark"] .deck .code{color:#bcdac4!important;-webkit-text-fill-color:#bcdac4!important}
html[data-theme="dark"] .deck .acc-n{-webkit-text-stroke-color:rgb(188 218 196 / .3)}
html[data-theme="dark"] .deck .acc-f .tag{background:rgb(255 255 255 / .08)!important}
@media (max-width:860px){
  .acc-grid.deck{grid-template-columns:1fr!important;gap:14px!important;padding:6px 0 10px;perspective:none}
  .deck>.acc.card,.deck>.acc.card:nth-child(n){margin:0!important;min-height:0;transform:none!important;translate:none!important}
  .deck .code{font-size:2.8rem!important}.deck .acc-n{font-size:3rem}
}
html[data-theme] .deck .acc .acc-h .code,html[data-theme] .deck .acc .code{position:static!important;inset:auto!important;transform:none!important;order:0;margin:0 0 2px!important;font:500 3.2rem/.9 var(--f-display)!important;color:#396758!important;-webkit-text-fill-color:#396758!important;-webkit-text-stroke:0!important;opacity:1!important}
html[data-theme] .deck .acc-h{flex-direction:column!important}
html[data-theme] .deck .acc-h>div{order:2}
html[data-theme="dark"] .deck .acc .code{color:#bcdac4!important;-webkit-text-fill-color:#bcdac4!important}
html[data-theme] .deck .acc .code{order:-1!important;font-variation-settings:"opsz" 12!important;font-weight:600!important;margin:2px 0 4px!important}
.deck .acc-n{font-variation-settings:"opsz" 12!important}
.acc-grid.deck{padding-top:40px!important}
.deck>.acc.card{transform:rotateY(10deg) rotateZ(-1deg)}
.deck>.acc.card:nth-child(2){transform:rotateY(10deg)}
.deck>.acc.card:nth-child(3){transform:rotateY(10deg) rotateZ(.8deg)}
html[data-theme] .deck .acc .code{font:800 3rem/.95 var(--f-body)!important;letter-spacing:-.045em!important;font-variation-settings:normal!important;margin:0 0 6px!important}
@media (max-width:860px){html[data-theme] .deck .acc .code{font-size:2.5rem!important}}
.deck .acc-code{display:block;margin:0 0 8px;font:800 3rem/.95 var(--f-body);letter-spacing:-.045em;color:#396758;font-variant-numeric:tabular-nums}
html[data-theme="dark"] .deck .acc-code{color:#bcdac4}
@media (max-width:860px){.deck .acc-code{font-size:2.5rem}}

/* ================================================================== v31 · zakat: one compact card. Sliders on the left; on the right only the result (wealth against the nisab, and what is due) */
html[data-theme] .be-studio.card{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(18px,3vw,36px)!important;padding:clamp(16px,2.4vw,26px)!important;max-width:980px;margin-inline:auto}
html[data-theme] .be-studio .be-out,html[data-theme] .be-studio .sl:has(#sNisab){display:none!important}
html[data-theme] .be-studio .be-ctrl{gap:8px!important}
html[data-theme] .be-studio .sl{gap:2px!important;padding:2px 0!important}
html[data-theme] .be-studio .sl span{font-size:.74rem!important}
html[data-theme] .be-studio .zf-row:not(.zf-net){display:none!important}
html[data-theme] .be-studio .zf{padding-bottom:30px!important;gap:0!important}
html[data-theme] .be-studio .be-fig{gap:12px!important;align-content:center}
html[data-theme] .be-studio .be-say{font-size:.84rem!important;line-height:1.5!important}
html[data-theme] .be-studio .note-sm{font-size:.7rem!important;margin:0}
@media (max-width:860px){
  html[data-theme] .be-studio.card{grid-template-columns:1fr!important;gap:16px!important}
  html[data-theme] .be-studio .be-say,html[data-theme] .be-studio .note-sm{display:none!important}
  html[data-theme] .be-studio .seg button{font-size:.72rem!important;padding:8px 6px!important}
}

/* ================================================================== v32 · syllabus: six small cards; a tap opens the topics in a pop-up */
html[data-theme] .org-grid{grid-template-columns:1fr!important}
html[data-theme] .org-panel{display:none!important}
html[data-theme] .org .dept.dept{min-height:0!important;padding:14px 16px!important;gap:8px!important}
html[data-theme] .org .dept[aria-pressed="true"]{background:var(--glass)!important;box-shadow:var(--glass-sh)!important}
html[data-theme] .org .dept[aria-pressed="true"] b{color:var(--tx)!important}
html[data-theme] .org .dept[aria-pressed="true"] :is(.dk,.dm small){color:var(--tx-3)!important}
html[data-theme] .org .dept[aria-pressed="true"] .dk i{background:#a9b2b6!important;box-shadow:none!important}
html[data-theme] .org .dept[aria-pressed="true"] .dn{background:linear-gradient(180deg,#c5ccd0,#dbf1df 70%);-webkit-background-clip:text;background-clip:text}
html[data-theme] .org .dept[aria-pressed="true"] .dbar i{background:linear-gradient(90deg,#9aa3a7,#d3d8db)}
html[data-theme] .org .dept:hover{box-shadow:var(--glass-sh),0 0 0 1.5px #396758!important}
.org .dept::after{content:"View topics →";justify-self:start;font:500 9px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
.org-pop{display:grid;gap:12px}
.org-pop .sm-ph{display:flex;align-items:center;gap:12px}
.org-pop .h3{margin:0;font:600 clamp(1.3rem,2.4vw,1.8rem)/1.1 var(--f-display)}
.org-pop ul{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:4px 0 0;padding:0;list-style:none;max-height:min(52vh,460px);overflow:auto}
.org-pop li a{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;min-height:46px;padding:7px 10px;border-radius:12px;background:rgb(255 255 255 / .6);box-shadow:inset 0 0 0 1px rgb(5 31 32 / .08);font-size:.84rem;line-height:1.3;color:var(--tx)}
.org-pop li a .n{font:600 .74rem var(--f-mono);color:var(--em)}
.org-pop li a .lv{display:none}
.org-pop .ou{font:500 9.5px/1.4 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
html[data-theme="dark"] .org-pop li a{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
@media (max-width:560px){.org-pop ul{grid-template-columns:1fr}}
.org-pop li{opacity:1!important;transform:none!important;translate:none!important}
@media (max-width:560px){html[data-theme] .org-top .seg button{padding:8px 10px!important;font-size:.74rem!important}}

/* ==================================================================== v4 · palette, type, less glass (Nov 2026)
   Palette: #051F20 #0B2B26 #163832 #235347 #8EB69B #DAF1DE. Type: Outfit (headings) + Urbanist (text and labels).
   Panels are now solid surfaces: no backdrop blur, no frost grain, except a light blur on the nav and bottom bar. */
:root{--p0:#051F20;--p1:#0B2B26;--p2:#163832;--p3:#235347;--p4:#8EB69B;--p5:#DAF1DE;--frost:none}
:root[data-theme="light"]{
  --bg:#F2FAF4; --tx:#051F20; --tx-2:#163832; --tx-3:#41695A;
  --em:#235347; --acc:#235347;
  --glass:#FFFFFF; --glass-b:rgb(35 83 71 / .12);
  --glass-sh:0 0 0 1px rgb(35 83 71 / .11),0 1px 2px rgb(5 31 32 / .04),0 16px 34px -26px rgb(5 31 32 / .28);
  --surf:#FFFFFF; --surf-2:#F2FAF4; --line:rgb(35 83 71 / .14);
}
:root[data-theme="dark"]{
  --bg:#051F20; --tx:#DAF1DE; --tx-2:rgb(218 241 222 / .8); --tx-3:#8EB69B;
  --em:#8EB69B; --acc:#8EB69B;
  --glass:#0B2B26; --glass-b:rgb(142 182 155 / .14);
  --glass-sh:0 0 0 1px rgb(142 182 155 / .13),0 22px 44px -30px rgb(0 0 0 / .7);
  --surf:#0B2B26; --surf-2:#051F20; --line:rgb(142 182 155 / .16);
}
html[data-theme="light"] body{background:#F2FAF4!important}
html[data-theme="dark"] body{background:#051F20!important}

/* type */
h1,h2,h3,h4,.display,.title,.title-sm,.h3,.foot-word{font-weight:600;letter-spacing:-.03em}
.eyebrow,.folio{font:600 11.5px/1.3 var(--f-body)!important;letter-spacing:.18em!important}

/* glass off: one rule clears every blur, then the nav, menu and bottom bar get a light one back */
html[data-theme][data-theme][data-theme] *,
html[data-theme][data-theme][data-theme] *::before,
html[data-theme][data-theme][data-theme] *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme][data-theme][data-theme][data-theme] :is(.nav,.mbar,.menu){-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}
html[data-theme][data-theme][data-theme][data-theme] .scrim{-webkit-backdrop-filter:blur(2px)!important;backdrop-filter:blur(2px)!important}

/* solid surfaces */
html[data-theme][data-theme][data-theme] :is(.card,.be-out>div,.dept,.faq details,.hero-codes .hc,.reg.card,form.card,.form.card,.app-card,.nav-drop,.modal-box,.bot,.xsel-list,.cmdk-box,.cart,.toast,.v2-flow-ctl,.fab,.dock){
  background:var(--surf)!important;background-image:none!important;box-shadow:var(--glass-sh)!important}
html[data-theme][data-theme][data-theme] .hero-badge::before{background:var(--surf)!important;box-shadow:var(--glass-sh)!important}
html[data-theme][data-theme][data-theme] :is(.card,.dept):hover{background:var(--surf)!important;box-shadow:0 0 0 1px var(--line),0 24px 44px -26px rgb(5 31 32 / .4)!important}
html[data-theme="light"][data-theme][data-theme] :is(.nav,.mbar,.menu){background:rgb(255 255 255 / .94)!important;background-image:none!important;box-shadow:0 0 0 1px rgb(35 83 71 / .1),0 12px 30px -22px rgb(5 31 32 / .3)!important}
html[data-theme="dark"][data-theme][data-theme] :is(.nav,.mbar,.menu){background:rgb(11 43 38 / .94)!important;background-image:none!important;box-shadow:0 0 0 1px rgb(142 182 155 / .12),0 14px 34px -22px rgb(0 0 0 / .7)!important}
html[data-theme][data-theme][data-theme] .nav.solid{background-color:var(--surf)!important}

/* fields */
html[data-theme][data-theme][data-theme] :is(.field input,.field textarea,.field select,.xsel-btn){background:var(--surf-2)!important;background-image:none!important;box-shadow:inset 0 0 0 1px var(--line)!important}
html[data-theme][data-theme][data-theme] :is(.field input,.field textarea,.field select):focus{box-shadow:inset 0 0 0 1.5px var(--p3),0 0 0 3px rgb(142 182 155 / .3)!important}
html[data-theme="dark"][data-theme][data-theme] :is(.field input,.field textarea,.field select):focus{box-shadow:inset 0 0 0 1.5px var(--p4),0 0 0 3px rgb(142 182 155 / .18)!important}

/* buttons: primary is the deep shade in white mode and the mint shade in green mode; ghost buttons are plain outlined */
html[data-theme="light"] .btn.btn.btn-pri,html[data-theme="light"] .btn.btn.btn-green{background:#235347!important;color:#DAF1DE!important;text-shadow:none!important;box-shadow:0 10px 24px -14px rgb(5 31 32 / .55)!important}
html[data-theme="light"] .btn.btn.btn-pri:hover,html[data-theme="light"] .btn.btn.btn-green:hover{background:#163832!important}
html[data-theme="dark"] .btn.btn.btn-pri,html[data-theme="dark"] .btn.btn.btn-green{background:#8EB69B!important;color:#051F20!important;text-shadow:none!important;box-shadow:0 10px 24px -14px rgb(0 0 0 / .6)!important}
html[data-theme="dark"] .btn.btn.btn-pri:hover,html[data-theme="dark"] .btn.btn.btn-green:hover{background:#DAF1DE!important}
html[data-theme][data-theme] .btn.btn.btn:not(.btn-pri):not(.btn-green){background:var(--surf)!important;background-image:none!important;color:var(--tx)!important;box-shadow:inset 0 0 0 1px var(--line)!important}
html[data-theme][data-theme] .btn.btn.btn:not(.btn-pri):not(.btn-green):hover{box-shadow:inset 0 0 0 1px var(--em)!important}

/* chips and tags */
html[data-theme="light"][data-theme] :is(.tag,.tool-tab,.chip,.pill,.hero-codes span){background:#DAF1DE!important;background-image:none!important;color:#163832!important;box-shadow:none!important}
html[data-theme="dark"][data-theme] :is(.tag,.tool-tab,.chip,.pill,.hero-codes span){background:rgb(142 182 155 / .12)!important;background-image:none!important;color:#DAF1DE!important;box-shadow:inset 0 0 0 1px rgb(142 182 155 / .16)!important}

/* calmer background: no grain, softer glows */
html[data-theme] .grain{display:none!important}
html[data-theme] .card::before{background:none!important}

/* softer lights behind the page, in palette tones (the grey glow is gone) */
html[data-theme="light"] .aurora i:nth-child(1){background:radial-gradient(closest-side,rgb(142 182 155 / .26),rgb(142 182 155 / .06) 55%,transparent 72%)!important}
html[data-theme="light"] .aurora i:nth-child(2){background:radial-gradient(closest-side,rgb(218 241 222 / .9),rgb(218 241 222 / .2) 55%,transparent 72%)!important}
html[data-theme="light"] .aurora i:nth-child(3){background:radial-gradient(closest-side,rgb(255 255 255 / .8),transparent 70%)!important}
html[data-theme="light"][data-theme] :is(.fab,.fab *){color:#051F20!important}

/* ==================================================================== v4 · method cards
   A thick bezelled card: a deep-green rail holds the step number, which fills from the bottom (like the footer
   wordmark) as the card lands on the pile; the heading inks in left to right and the points light up one by one.
   --fl runs 0 → 1: on laptops the pile's scroll timeline drives it, on phones it plays once the card is in view. */
@property --fl{syntax:"<number>";inherits:true;initial-value:0}
html[data-theme] :is(#method,.stepdeck) .proc-s.card{
  --fl:0;
  display:grid!important;grid-template-columns:minmax(180px,250px) minmax(0,1.25fr) minmax(0,1fr)!important;grid-template-rows:1fr auto!important;
  column-gap:clamp(22px,3.2vw,48px)!important;row-gap:10px!important;align-items:stretch;
  padding:12px clamp(20px,2.8vw,40px) 12px 12px!important;border-radius:30px!important;
  background:linear-gradient(180deg,#FFFFFF,#F6FBF7)!important;
  box-shadow:0 0 0 1.5px rgb(35 83 71 / .16),0 0 0 8px rgb(218 241 222 / .75),0 0 0 9px rgb(35 83 71 / .08),0 34px 70px -34px rgb(5 31 32 / .5)!important;
}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s.card{
  background:linear-gradient(180deg,#0B2B26,#082420)!important;
  box-shadow:0 0 0 1.5px rgb(142 182 155 / .2),0 0 0 8px rgb(22 56 50 / .9),0 0 0 9px rgb(142 182 155 / .1),0 34px 70px -30px rgb(0 0 0 / .8)!important;
}
html[data-theme] :is(#method,.stepdeck) .v2-pile>.proc-s.card{background:linear-gradient(180deg,#FFFFFF,#F6FBF7)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .v2-pile>.proc-s.card{background:linear-gradient(180deg,#0B2B26,#082420)!important}

/* the rail */
html[data-theme] :is(#method,.stepdeck) .proc-s .pn{
  grid-column:1!important;grid-row:1 / -1!important;position:relative;overflow:hidden;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;
  padding:clamp(18px,2vw,26px)!important;border-radius:22px;
  background:radial-gradient(120% 90% at 0% 0%,#235347 0%,#163832 45%,#0B2B26 100%)!important;
  box-shadow:inset 0 1px 0 rgb(218 241 222 / .14),inset 0 0 0 1px rgb(142 182 155 / .16);opacity:1!important;transform:none!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn{background:radial-gradient(120% 90% at 0% 0%,#163832 0%,#0B2B26 50%,#051F20 100%)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn::before{content:"Step";font:600 10.5px/1 var(--f-body);letter-spacing:.24em;text-transform:uppercase;color:#8EB69B}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn i{display:block!important;position:absolute;left:clamp(18px,2vw,26px);right:clamp(18px,2vw,26px);top:calc(clamp(18px,2vw,26px) + 18px);height:2px;margin:0!important;border-radius:2px;
  background:linear-gradient(90deg,#DAF1DE,#8EB69B) 0 0/calc(var(--fl) * 100%) 100% no-repeat,rgb(142 182 155 / .2)!important;flex:none}

/* the number: an outline with a solid copy that fills from the bottom */
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{position:relative;display:block;margin-top:auto;
  font:700 clamp(5rem,3.4rem + 4.4vw,8.4rem)/.8 var(--f-display)!important;letter-spacing:-.05em!important;padding:0 .04em .02em 0!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:1.5px rgb(142 182 155 / .55)!important;background:none!important;filter:none!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b::after{content:attr(data-n);position:absolute;inset:0;padding:inherit;-webkit-text-stroke:0;
  background:linear-gradient(0deg,#8EB69B 0%,#DAF1DE 55%,#FFFFFF 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  clip-path:inset(calc(100% - var(--fl) * 100%) 0 0 0);filter:drop-shadow(0 0 18px rgb(142 182 155 / .35))}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn .tag{margin:0!important;background:rgb(218 241 222 / .12)!important;color:#DAF1DE!important;box-shadow:inset 0 0 0 1px rgb(142 182 155 / .3)!important;opacity:1!important;transform:none!important}

/* the heading inks in, the text and points settle */
html[data-theme] :is(#method,.stepdeck) .proc-s h3{grid-column:2!important;grid-row:1!important;align-self:end!important;margin:clamp(14px,2vw,26px) 0 0!important;
  font:700 clamp(1.7rem,1.15rem + 1.6vw,2.7rem)/1.02 var(--f-display)!important;letter-spacing:-.035em!important;
  background:linear-gradient(90deg,#051F20 0 calc(var(--fl) * 100%),rgb(5 31 32 / .2) calc(var(--fl) * 100%) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;opacity:1!important;transform:none!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s h3{background:linear-gradient(90deg,#DAF1DE 0 calc(var(--fl) * 100%),rgb(218 241 222 / .2) calc(var(--fl) * 100%) 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme] :is(#method,.stepdeck) .proc-s>p{grid-column:2!important;grid-row:2!important;align-self:start;margin:0 0 clamp(14px,2vw,26px)!important;max-width:34rem;font-size:1.02rem!important;line-height:1.6;color:var(--tx-2)!important;opacity:1!important;transform:none!important}
html[data-theme] :is(#method,.stepdeck) .proc-s ul{grid-column:3!important;grid-row:1 / -1!important;align-self:center!important;display:grid!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important;list-style:none}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li{--k:1;position:relative;display:flex;align-items:center;gap:12px;padding:13px 16px!important;border:0!important;border-radius:14px;
  font-size:.95rem!important;font-weight:600;color:var(--tx)!important;background:#F3FAF4;box-shadow:inset 0 0 0 1px rgb(35 83 71 / .1);
  opacity:clamp(.28,calc((var(--fl) * 1.5 - var(--k) * .3) * 3),1);translate:calc((1 - clamp(0,calc((var(--fl) * 1.5 - var(--k) * .3) * 3),1)) * 14px) 0}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s ul li{background:rgb(5 31 32 / .55);box-shadow:inset 0 0 0 1px rgb(142 182 155 / .14)}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li:nth-child(2){--k:2}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li:nth-child(3){--k:3}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li::before{content:"";position:static!important;flex:none;width:18px;height:18px;border:0!important;border-radius:50%;transform:none!important;
  background:radial-gradient(circle,#235347 0 4px,transparent 4.5px),#DAF1DE!important;box-shadow:inset 0 0 0 1.5px #8EB69B}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s ul li::before{background:radial-gradient(circle,#DAF1DE 0 4px,transparent 4.5px),#235347!important}
html[data-theme] :is(#method,.stepdeck) .proc-s.card::before,html[data-theme] :is(#method,.stepdeck) .proc-s.card::after{display:none!important}

/* phones: the rail sits on top, the card keeps its weight */
@media (max-width:760px){
  html[data-theme] :is(#method,.stepdeck) .proc-s.card{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;padding:10px 10px 18px!important;border-radius:24px!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn{grid-column:1!important;grid-row:auto!important;flex-direction:row!important;align-items:flex-end!important;min-height:120px;padding:16px 18px!important;border-radius:18px}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn::before{position:absolute;top:16px;left:18px}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn i{top:34px;left:18px;right:18px}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{font-size:4.6rem!important;margin-top:0}
  html[data-theme] :is(#method,.stepdeck) .proc-s h3,html[data-theme] :is(#method,.stepdeck) .proc-s>p,html[data-theme] :is(#method,.stepdeck) .proc-s ul{grid-column:1!important;grid-row:auto!important;margin:0!important;padding:0 8px!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s h3{font-size:1.55rem!important;margin-top:8px!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s ul li{padding:10px 12px!important;font-size:.86rem!important}
}
/* outside the pile the fill plays by itself once the card is in view */
:is(#method,.stepdeck) .proc:not(.v2-pile) .proc-s{transition:--fl 1.6s cubic-bezier(.16,1,.3,1)}
:is(#method,.stepdeck) .proc:not(.v2-pile) .proc-s.fl-on{--fl:1}
html:not(.js) :is(#method,.stepdeck) .proc-s,html.rm :is(#method,.stepdeck) .proc-s{--fl:1}
@media (prefers-reduced-motion:reduce){html[data-theme] :is(#method,.stepdeck) .proc-s.card{--fl:1!important}}
html[data-theme="light"][data-theme] .fab.fab .t{color:#051F20!important}
html[data-theme="light"][data-theme] .fab.fab .t::after{color:#41695A!important}
html[data-theme="dark"][data-theme] .fab.fab .t::after{color:#8EB69B!important}

/* ==================================================================== v4.1 · white + silver base, green brand, burgundy calls to action
   White mode: white and brushed-silver surfaces, the palette greens for ink and accents.
   Burgundy is kept for the buttons that convert: Register (nav), Enrol (phone bar) and the big hero buttons. */
:root{
  --silver:linear-gradient(135deg,#F7F8F9 0%,#CDD2D6 30%,#F1F3F4 52%,#A9B0B5 76%,#E4E7E9 100%);
  --silver-line:linear-gradient(90deg,transparent,#C3C9CD 18%,#F5F6F7 50%,#A9B0B5 82%,transparent);
  --burg:#6E1F2F; --burg-2:#561624; --burg-hi:#8C2B3F;
}
html[data-theme][data-theme]{
  --chrome-text:linear-gradient(180deg,#F4F6F7 0%,#D5D9DC 45%,#B6BCC0 70%,#DADDE0 100%);
  --chrome-edge:linear-gradient(160deg,rgb(255 255 255 / .95) 0%,#DFE2E4 22%,#BCC2C6 48%,#D3D7DA 72%,rgb(255 255 255 / .9) 100%);
}
:root[data-theme="light"]{
  --bg:#F6F7F8; --tx:#051F20; --tx-2:#163832; --tx-3:#4E6A60;
  --glass:#FFFFFF; --surf:#FFFFFF; --surf-2:#F3F5F6; --line:rgb(22 56 50 / .12);
  --glass-sh:0 0 0 1px rgb(169 176 181 / .45),inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .05),0 16px 34px -26px rgb(5 31 32 / .3);
}
html[data-theme="light"] body{background:#F6F7F8!important}
html[data-theme="light"] .bg-base{background:radial-gradient(1100px 700px at 88% -10%,rgb(142 182 155 / .16),transparent 60%),radial-gradient(900px 640px at -10% 105%,rgb(169 176 181 / .22),transparent 60%),linear-gradient(180deg,#FBFBFC,#F1F3F4)!important}
html[data-theme="light"] .aurora i:nth-child(1){background:radial-gradient(closest-side,rgb(142 182 155 / .18),transparent 72%)!important}
html[data-theme="light"] .aurora i:nth-child(2){background:radial-gradient(closest-side,rgb(205 210 214 / .55),rgb(205 210 214 / .12) 55%,transparent 72%)!important}
html[data-theme="light"] .bg-veil{background:radial-gradient(140% 100% at 50% 40%,transparent 55%,rgb(246 247 248 / .75) 100%)!important}

/* silver accents: section hairlines, nav rim, card hover ring, chips */
html[data-theme] .hair{background:var(--silver-line)!important;height:1px}
html[data-theme="light"][data-theme][data-theme] :is(.nav,.mbar,.menu){box-shadow:0 0 0 1px rgb(169 176 181 / .55),inset 0 1px 0 #fff,0 12px 30px -22px rgb(5 31 32 / .3)!important}
html[data-theme="dark"][data-theme][data-theme] :is(.nav,.mbar,.menu){box-shadow:0 0 0 1px rgb(205 210 214 / .22),inset 0 1px 0 rgb(255 255 255 / .06),0 14px 34px -22px rgb(0 0 0 / .7)!important}
html[data-theme][data-theme][data-theme] :is(.card,.dept):hover{box-shadow:0 0 0 1px #C3C9CD,0 24px 44px -26px rgb(5 31 32 / .4)!important}
html[data-theme="light"][data-theme] :is(.tag,.tool-tab,.chip,.pill,.hero-codes span){background:linear-gradient(180deg,#FFFFFF,#ECEEF0)!important;color:#163832!important;box-shadow:inset 0 0 0 1px rgb(169 176 181 / .55)!important}
html[data-theme] .btn.btn-pri.btn-x,html[data-theme] .btn.btn-green.btn-x{--disc:linear-gradient(180deg,#F7F8F9,#C9CED2)!important;--disc-fg:#051F20!important}

/* burgundy calls to action */
html[data-theme] .btn.btn.btn-pri:is(.btn-enrol,.mb-enrol,.btn-lg){background:linear-gradient(180deg,var(--burg-hi),var(--burg) 55%,var(--burg-2))!important;color:#FBF3F4!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .18),0 0 0 1px rgb(86 22 36 / .6),0 12px 26px -14px rgb(86 22 36 / .6)!important}
html[data-theme] .btn.btn.btn-pri:is(.btn-enrol,.mb-enrol,.btn-lg):hover{background:linear-gradient(180deg,#9A3247,var(--burg-hi) 55%,var(--burg))!important}
html[data-theme] .btn.btn-pri.btn-x:is(.btn-enrol,.mb-enrol,.btn-lg){--disc:linear-gradient(180deg,#F7F8F9,#C9CED2)!important;--disc-fg:var(--burg)!important}

/* method cards in white mode: white card, silver rim and bezel, the green rail stays */
html[data-theme="light"] :is(#method,.stepdeck) .proc-s.card,html[data-theme="light"] :is(#method,.stepdeck) .v2-pile>.proc-s.card{
  border:1.5px solid transparent!important;
  background:linear-gradient(180deg,#FFFFFF,#F7F8F9) padding-box,linear-gradient(135deg,#FFFFFF,#BFC5CA 35%,#F2F4F5 55%,#A9B0B5 80%,#E6E9EB) border-box!important;
  box-shadow:0 0 0 7px rgb(236 238 240 / .9),0 0 0 8px rgb(169 176 181 / .45),0 34px 70px -34px rgb(5 31 32 / .45)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s.card,html[data-theme="dark"] :is(#method,.stepdeck) .v2-pile>.proc-s.card{
  border:1.5px solid transparent!important;
  background:linear-gradient(180deg,#0B2B26,#082420) padding-box,linear-gradient(135deg,#6F777C,#C9CED2 35%,#4D5559 55%,#A9B0B5 80%,#5C6468) border-box!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn i{background:linear-gradient(90deg,#F5F6F7,#A9B0B5) 0 0/calc(var(--fl) * 100%) 100% no-repeat,rgb(205 210 214 / .18)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn::before{color:#C9CED2}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b::after{background:linear-gradient(0deg,#8EB69B 0%,#DAF1DE 38%,#FFFFFF 58%,#C9CED2 78%,#F4F6F7 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn .tag{background:linear-gradient(180deg,rgb(255 255 255 / .16),rgb(255 255 255 / .05))!important;color:#E4E7E9!important;box-shadow:inset 0 0 0 1px rgb(205 210 214 / .35)!important}
html[data-theme="light"] :is(#method,.stepdeck) .proc-s ul li{background:linear-gradient(180deg,#FFFFFF,#F3F5F6);box-shadow:inset 0 0 0 1px rgb(169 176 181 / .45)}
html[data-theme="light"] :is(#method,.stepdeck) .proc-s ul li::before{background:radial-gradient(circle,#235347 0 4px,transparent 4.5px),linear-gradient(180deg,#FFFFFF,#DADEE1)!important;box-shadow:inset 0 0 0 1.5px #A9B0B5}
/* form fields: solid, no frosted glass */
html[data-theme][data-theme][data-theme] .v2-form .field :is(input,textarea,select),html[data-theme][data-theme][data-theme] .v2-form .xsel-btn{
  background:var(--surf-2)!important;color:var(--tx)!important;box-shadow:inset 0 0 0 1px var(--line)!important}
html[data-theme="light"][data-theme][data-theme] .v2-form .field :is(input,textarea,select),html[data-theme="light"][data-theme][data-theme] .v2-form .xsel-btn{box-shadow:inset 0 0 0 1px rgb(169 176 181 / .6),inset 0 1px 2px rgb(5 31 32 / .05)!important}
html[data-theme][data-theme] .v2-form{--v-ink:var(--surf-2)}

/* ==================================================================== v4.2 · the courses: a raked deck (after Cambridge Online's streams)
   Three cards arrive gathered, then spread into a raked perspective. Pressing one pulls it forward, square to
   the reader, and what the course covers unfolds inside. Phones: the rake is dropped and the cards swipe, with dots.
   MFM cut: solid white / deep-green panes with a silver rim (no heavy blur), greens for the labels. */
.co-head{text-align:center;justify-items:center;display:grid;max-width:760px;margin-inline:auto}
.co-head .eyebrow{margin:0 0 14px!important;color:var(--em)!important}
.co-rule{width:56px;height:1px;margin:0 auto 18px;background:var(--silver-line)}
.co-head .title{margin:0 0 16px!important}
.co-head .title em{display:inline-block}
.co-head .lede{margin-inline:auto!important;max-width:36rem}

.trio{position:relative;perspective:1500px;perspective-origin:50% 46%;padding:8px 0 4px;margin-top:clamp(28px,4vw,48px);--cw:340px;--lap:.08;
  --trio-face:linear-gradient(180deg,#FFFFFF,#F5F7F8);--trio-rim:#C3C9CD;--trio-ink:#051F20;--trio-ink-2:#3C5A51;--trio-acc:#235347;--trio-line:rgb(22 56 50 / .12);
  --trio-shadow:0 1px 0 #fff inset,0 30px 60px -34px rgb(5 31 32 / .45),0 12px 24px -18px rgb(5 31 32 / .2)}
html[data-theme="dark"] .trio{--trio-face:linear-gradient(180deg,#0E3029,#0A2722);--trio-rim:rgb(201 206 210 / .38);--trio-ink:#DAF1DE;--trio-ink-2:rgb(218 241 222 / .72);--trio-acc:#8EB69B;--trio-line:rgb(142 182 155 / .16);
  --trio-shadow:0 1px 0 rgb(255 255 255 / .06) inset,0 34px 64px -30px rgb(0 0 0 / .8)}
@media (min-width:1151px) and (max-width:1279px){.trio{--cw:316px}}
@media (min-width:1001px) and (max-width:1150px){.trio{--cw:290px;--lap:.1}}
@media (min-width:901px) and (max-width:1000px){.trio{--cw:256px;--lap:.14}}
.trio__rail{position:relative;display:flex;justify-content:center;align-items:center;min-height:540px;transform-style:preserve-3d;padding-left:clamp(30px,5vw,80px)}
.trio__c{position:relative;width:min(var(--cw),82vw);flex:0 0 auto;border-radius:24px;overflow:hidden;cursor:pointer;text-align:left;outline:0;
  background:var(--trio-face) padding-box,linear-gradient(140deg,#FFFFFF,#BFC5CA 30%,#F2F4F5 52%,#A9B0B5 78%,#E6E9EB) border-box;border:1.5px solid transparent;
  box-shadow:var(--trio-shadow);transform-style:preserve-3d;
  transform:translateX(calc(var(--i) * -32%)) rotateY(22deg) scale(.9);opacity:0;
  transition:transform .9s cubic-bezier(.22,.9,.28,1),opacity .6s ease,box-shadow .5s ease,filter .45s ease}
html[data-theme="dark"] .trio__c{background:var(--trio-face) padding-box,linear-gradient(140deg,#8D959A,#3E474B 30%,#C9CED2 52%,#4A5357 78%,#7E868B) border-box}
.trio__c:focus-visible{box-shadow:var(--trio-shadow),0 0 0 3px rgb(142 182 155 / .55)}
.trio.in .trio__c{opacity:1;transform:translateZ(calc(var(--i) * -44px)) rotateY(22deg);transition-delay:calc(var(--i) * 115ms)}
.trio.set .trio__c{transition-delay:0s!important}
.trio__glass{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.8;transition:opacity .5s ease;
  background:linear-gradient(112deg,rgb(255 255 255 / .7),transparent 40%,rgb(218 241 222 / .25) 78%,transparent)}
html[data-theme="dark"] .trio__glass{background:linear-gradient(112deg,rgb(218 241 222 / .08),transparent 40%,rgb(201 206 210 / .06) 78%,transparent)}
.trio__mark{position:absolute;right:-18px;bottom:-18px;z-index:0;pointer-events:none;width:160px;height:160px;color:var(--trio-acc);opacity:.14;transition:opacity .5s ease,transform .7s cubic-bezier(.16,1,.3,1)}
.trio__mark svg{width:100%;height:100%;display:block}
.trio__c:hover .trio__mark{opacity:.24;transform:translate(-5px,-5px) rotate(-4deg)}
.trio__c.on .trio__mark{opacity:.06;transform:translate(6px,6px) scale(.94)}
.trio__in{position:relative;z-index:2;padding:24px 22px 22px;display:flex;flex-direction:column;min-height:490px;min-width:0}
.trio__in>*{min-width:0}
.trio__t,.trio__d{overflow-wrap:anywhere}
.trio__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:2px}
.trio__code{font:700 10px/1 var(--f-body);letter-spacing:.16em;text-transform:uppercase;color:var(--trio-acc);border:1px solid var(--trio-rim);border-radius:99px;padding:7px 12px;
  background:linear-gradient(180deg,rgb(255 255 255 / .9),rgb(236 238 240 / .6));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
html[data-theme="dark"] .trio__code{background:rgb(255 255 255 / .04)}
.trio__n{font:700 2.7rem/.82 var(--f-display);letter-spacing:-.05em;flex:0 0 auto;pointer-events:none;
  background:linear-gradient(180deg,#E4E7E9 0%,#A9B0B5 55%,#CDD2D6 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html[data-theme="dark"] .trio__n{background:linear-gradient(180deg,#F4F6F7 0%,#8D959A 60%,#C9CED2 100%);-webkit-background-clip:text;background-clip:text}
.trio__t{font:700 1.6rem/1.08 var(--f-display)!important;letter-spacing:-.03em!important;margin:18px 0 10px!important;color:var(--trio-ink)!important}
.trio__d{font-size:.9rem;line-height:1.6;color:var(--trio-ink-2);margin:0 0 16px;max-width:34ch}
.trio__chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:14px}
.trio__chip{font:700 10px/1 var(--f-body);letter-spacing:.13em;text-transform:uppercase;color:var(--trio-ink-2);border:1px solid var(--trio-rim);border-radius:99px;padding:8px 12px;white-space:nowrap}
.trio__chip--acc{color:#0B2B26;font-size:10.5px;padding:8px 14px;border-color:#8EB69B;
  background:linear-gradient(180deg,#E6F5E9,#C6E2CD);box-shadow:inset 0 1px 0 rgb(255 255 255 / .7),0 4px 12px -6px rgb(35 83 71 / .45);transition:box-shadow .42s ease,transform .42s cubic-bezier(.16,1,.3,1)}
html[data-theme="dark"] .trio__chip--acc{color:#DAF1DE;background:linear-gradient(180deg,rgb(142 182 155 / .3),rgb(142 182 155 / .16));box-shadow:inset 0 1px 0 rgb(218 241 222 / .2),0 4px 12px -6px rgb(0 0 0 / .5)}
.trio__c:hover .trio__chip--acc,.trio__c.on .trio__chip--acc{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgb(255 255 255 / .75),0 7px 16px -6px rgb(35 83 71 / .55)}
.trio__more{max-height:0;overflow:hidden;opacity:0;min-width:0;padding-bottom:4px;transition:max-height .6s ease,opacity .4s ease}
.trio__list{display:grid;gap:0;margin:4px 0 14px;min-width:0}
.trio__list a{display:grid;gap:3px;padding:10px 0;min-width:0;color:var(--trio-ink);border-bottom:1px solid var(--trio-line);text-decoration:none;transition:color .2s}
.trio__list a:last-child{border-bottom:0}
.trio__list a:hover{color:var(--trio-acc)}
.trio__list em{font-style:normal;font-size:.86rem;font-weight:600;line-height:1.3;min-width:0}
.trio__meta{font:700 9.5px/1.35 var(--f-body);letter-spacing:.12em;text-transform:uppercase}
.trio__meta b{color:var(--trio-acc);font-weight:700}
.trio__btns{display:flex;gap:8px;flex-wrap:wrap}
@media (min-width:901px){
  .trio,.trio__rail{pointer-events:none}
  .trio__c{pointer-events:auto}
  .trio__c+.trio__c{margin-left:calc(var(--cw) * -1 * var(--lap))}
  .trio.in .trio__c:hover{transform:translateZ(calc(var(--i) * -44px + 40px)) rotateY(16deg)}
  .trio.in .trio__c.on{transform:translateX(calc((1 - var(--i)) * 24%)) translateZ(90px) rotateY(0deg);z-index:5;
    box-shadow:var(--trio-shadow),0 50px 90px -40px rgb(5 31 32 / .55)}
  .trio.in .trio__c.on .trio__glass{opacity:.3}
  .trio.in .trio__c.on .trio__more{max-height:460px;opacity:1}
  .trio.in .trio__c.on .trio__list{grid-template-columns:1fr 1fr;gap:0 18px}
  .trio.in.picked .trio__c:not(.on){opacity:.42;filter:saturate(.7)}
  .trio__dots{display:none}
}
@media (max-width:900px){
  .trio{perspective:none;padding:4px 0}
  .trio__rail{display:flex;gap:12px;min-height:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;cursor:grab;justify-content:flex-start;
    padding:14px max(12px,calc((100% - min(352px,88vw)) / 2 + 14px)) 20px;margin-inline:-16px;scrollbar-width:none}
  .trio__rail.is-drag{scroll-snap-type:none;cursor:grabbing;scroll-behavior:auto}
  .trio__rail::-webkit-scrollbar{display:none}
  .trio__c{width:min(352px,88vw);scroll-snap-align:center;transform:translateY(16px);opacity:0;
    transition:transform .55s cubic-bezier(.22,.9,.28,1),opacity .5s ease,box-shadow .45s ease,filter .45s ease}
  .trio.in .trio__c{transform:none;opacity:1;transition-delay:calc(var(--i) * 90ms)}
  .trio__in{min-height:min(440px,118vw);padding:22px 20px 20px}
  .trio__t{font-size:1.45rem!important;margin:14px 0 9px!important}
  .trio__d{font-size:.86rem}
  .trio__n{font-size:2.4rem}
  .trio__mark{width:134px;height:134px;right:-14px;bottom:-14px}
  .trio.in .trio__c.on{transform:translateY(-6px) scale(1.02);z-index:5}
  .trio__c.on .trio__more{max-height:640px;opacity:1}
  .trio__c.on .trio__glass{opacity:.3}
  .trio.in.picked .trio__c:not(.on){opacity:.5;filter:saturate(.7);transform:scale(.965)}
  .trio__dots{display:flex;justify-content:center;gap:2px;margin-top:4px}
  .trio__dots button{width:32px;height:32px;display:grid;place-items:center;border:0;padding:0;cursor:pointer;background:none}
  .trio__dots button::after{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#A9B0B5;transition:.3s ease}
  .trio__dots button.on::after{background:var(--em);width:18px;border-radius:99px}
}
@media (min-width:901px) and (max-width:1180px){
  .trio__in{padding:20px 18px;min-height:466px}
  .trio.in .trio__c.on .trio__list{grid-template-columns:1fr}
  .trio.in .trio__c.on .trio__more{max-height:560px}
}
@media (prefers-reduced-motion:reduce){
  .trio__c,.trio.in .trio__c{transition:none;opacity:1;transform:none}
  .trio.in .trio__c.on,.trio.in.picked .trio__c:not(.on){transform:none;transition:none}
}
html:not(.js) .trio__c{opacity:1;transform:none}
html[data-theme] #courses .sec-head.co-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important;max-width:820px!important;margin-inline:auto!important;gap:0!important}
html[data-theme] #courses .co-head>*{grid-column:1!important;grid-row:auto!important;justify-self:center!important;text-align:center!important}
html[data-theme] #courses .co-head .eyebrow{display:block}
html[data-theme] #courses .co-head .title{font-size:clamp(2.2rem,1.4rem + 3vw,4rem)!important;line-height:1.02!important}

/* ==================================================================== v4.3 · matte silver CTAs, numbers as plain type, counters, a new portrait backdrop */
/* the conversion buttons: matte brushed silver (no burgundy, no shine) */
html[data-theme] .btn.btn.btn-pri:is(.btn-enrol,.mb-enrol,.btn-lg){
  background:linear-gradient(180deg,#F3F5F6 0%,#DDE1E4 55%,#CDD2D6 100%)!important;color:#051F20!important;text-shadow:none!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .9),inset 0 -1px 0 rgb(5 31 32 / .08),0 0 0 1px #B3BABF,0 10px 22px -14px rgb(5 31 32 / .45)!important}
html[data-theme] .btn.btn.btn-pri:is(.btn-enrol,.mb-enrol,.btn-lg):hover{background:linear-gradient(180deg,#FFFFFF 0%,#E6E9EB 55%,#D5DADD 100%)!important;
  box-shadow:inset 0 1px 0 #fff,0 0 0 1px #A9B0B5,0 14px 28px -14px rgb(5 31 32 / .5)!important}
html[data-theme] .btn.btn-pri.btn-x:is(.btn-enrol,.mb-enrol,.btn-lg){--disc:linear-gradient(180deg,#235347,#163832)!important;--disc-fg:#DAF1DE!important}
html[data-theme] .btn.btn.btn-pri:is(.btn-enrol,.mb-enrol,.btn-lg)::before{display:none!important}

/* hero figures: plain type on silver hairlines, no tiles */
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts{border:0!important;border-top:1px solid transparent!important;border-image:var(--silver-line) 1!important;gap:0!important;background:none!important;box-shadow:none!important;padding-top:4px!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:18px 22px 4px 0!important;position:relative}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{padding-left:22px!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div::before{content:"";position:absolute;left:0;top:20px;bottom:6px;width:1px;background:linear-gradient(180deg,transparent,#BFC5CA 30%,#BFC5CA 70%,transparent)}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div::after{display:none!important}
html[data-theme][data-theme] .hero-facts dt{font:700 clamp(2.2rem,1.6rem + 1.6vw,3rem)/1 var(--f-display)!important;letter-spacing:-.045em!important;color:var(--tx)!important;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme][data-theme] .hero-facts dt i{font-style:normal;color:var(--em);margin-left:1px}
html[data-theme][data-theme] .hero-facts dd{margin:10px 0 0!important;font:600 11px/1.45 var(--f-body)!important;letter-spacing:.1em!important;text-transform:uppercase;color:var(--tx-3)!important;max-width:17ch}
/* the syllabus codes: label and number, no tiles */
html[data-theme][data-theme][data-theme] .hcodes .hcp{background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0 22px 0 0!important}
html[data-theme][data-theme][data-theme] .hcodes .hcp+.hcp{padding-left:22px!important;border-left:1px solid #C9CED2!important}
html[data-theme][data-theme][data-theme] .hcodes .hcp::before,html[data-theme][data-theme][data-theme] .hcodes .hcp::after{display:none!important}
html[data-theme][data-theme] .hcodes .hcp b{font:700 1.7rem/1 var(--f-display)!important;letter-spacing:-.03em!important;color:var(--tx)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"][data-theme] .hcodes .hcp+.hcp{border-left-color:rgb(201 206 210 / .3)!important}

/* method steps: the number stands on its own, no green panel */
html[data-theme] :is(#method,.stepdeck) .proc-s .pn{background:none!important;box-shadow:none!important;padding:clamp(10px,1.4vw,18px) 0 clamp(10px,1.4vw,18px) clamp(8px,1.2vw,14px)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn::before{color:var(--tx-3)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn i{left:clamp(8px,1.2vw,14px);right:0;top:calc(clamp(10px,1.4vw,18px) + 18px);background:linear-gradient(90deg,#235347,#8EB69B) 0 0/calc(var(--fl) * 100%) 100% no-repeat,linear-gradient(90deg,#C9CED2,#E4E7E9)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{-webkit-text-stroke:1.5px rgb(35 83 71 / .4)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b::after{background:linear-gradient(0deg,#051F20 0%,#235347 45%,#5E8A73 75%,#A9B0B5 100%);-webkit-background-clip:text;background-clip:text;filter:none}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn i{background:linear-gradient(90deg,#DAF1DE,#8EB69B) 0 0/calc(var(--fl) * 100%) 100% no-repeat,rgb(201 206 210 / .18)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn b{-webkit-text-stroke:1.5px rgb(142 182 155 / .45)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn b::after{background:linear-gradient(0deg,#8EB69B 0%,#DAF1DE 45%,#FFFFFF 70%,#C9CED2 100%);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 18px rgb(142 182 155 / .3))}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn .tag{background:none!important;color:var(--em)!important;box-shadow:inset 0 0 0 1px #C3C9CD!important}

/* the portrait backdrop: a round halo (matte silver in White, deep green in Green) with a fine silver orbit;
   his head rises past its rim and the figure fades softly into the page at the waist */
html[data-theme][data-theme] .pt-arch{left:7%!important;right:7%!important;top:auto!important;bottom:2%!important;aspect-ratio:1;height:auto!important;border-radius:50%!important;overflow:visible!important;
  background:radial-gradient(60% 60% at 50% 32%,#FFFFFF 0%,rgb(255 255 255 / 0) 70%),radial-gradient(70% 50% at 50% 100%,rgb(142 182 155 / .35),transparent 70%),linear-gradient(180deg,#F1F3F4 0%,#DCE0E3 100%)!important;
  box-shadow:inset 0 2px 0 rgb(255 255 255 / .9),0 40px 80px -40px rgb(5 31 32 / .45)!important}
html[data-theme="dark"][data-theme] .pt-arch{background:radial-gradient(60% 60% at 50% 30%,#2E6655 0%,rgb(46 102 85 / 0) 70%),linear-gradient(180deg,#163832 0%,#0B2B26 60%,#082420 100%)!important;
  box-shadow:inset 0 1px 0 rgb(218 241 222 / .14),0 40px 90px -40px rgb(0 0 0 / .8)!important}
html[data-theme][data-theme] .pt-arch::before{content:""!important;position:absolute;inset:-7%!important;border-radius:50%;background:none!important;opacity:1!important;
  border:1px solid rgb(169 176 181 / .55);-webkit-mask:linear-gradient(180deg,#000 60%,transparent 92%);mask:linear-gradient(180deg,#000 60%,transparent 92%)}
html[data-theme="dark"][data-theme] .pt-arch::before{border-color:rgb(201 206 210 / .28)}
html[data-theme][data-theme] .pt-arch::after{border-radius:50%!important;background:linear-gradient(160deg,#FFFFFF,#BFC5CA 35%,rgb(255 255 255 / .3) 60%,#A9B0B5)!important}
html[data-theme="dark"][data-theme] .pt-arch::after{background:linear-gradient(160deg,rgb(255 255 255 / .55),rgb(169 176 181 / .4) 35%,rgb(255 255 255 / .06) 60%,rgb(169 176 181 / .35))!important}
html[data-theme][data-theme] .pt-ring{display:none!important}
html[data-theme][data-theme] .hero-fig .portrait.pt-cut{-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent 100%)!important;mask-image:linear-gradient(180deg,#000 80%,transparent 100%)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts{overflow:visible!important;border-radius:0!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts::after,html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts::before{display:none!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{overflow:visible!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div dd::before{content:none!important}
@media (max-width:560px){
  html[data-theme][data-theme] .hero-facts dt{font-size:clamp(1.55rem,7.2vw,2rem)!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{padding:14px 10px 2px 0!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{padding-left:12px!important}
  html[data-theme][data-theme] .hero-facts dd{font-size:9.5px!important;letter-spacing:.08em!important}
}

/* ==================================================================== v4.4 · "Between classes": one bento system
   Grid: 4 x 3 on laptops (two wide tiles, one tall), 2 columns on tablets, 1 on phones.
   Every tile: tab + icon on one line, the picture in the middle, then title, one line, link.
   Three materials only: deep green (Crash course, Term of the day), matte silver (Portal, Tracker), white with a silver rim. */
html[data-theme] #tools .explore{display:grid!important;gap:16px!important;margin-top:clamp(26px,3.4vw,44px)!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:minmax(300px,auto)!important;
  grid-template-areas:"crash crash ai portal" "papers notes ai term" "parents yt track track"!important}
html[data-theme] #tools .explore>.xt:nth-child(1){grid-area:crash!important}
html[data-theme] #tools .explore>.xt:nth-child(2){grid-area:ai!important}
html[data-theme] #tools .explore>.xt:nth-child(3){grid-area:portal!important}
html[data-theme] #tools .explore>.xt:nth-child(4){grid-area:papers!important}
html[data-theme] #tools .explore>.xt:nth-child(5){grid-area:notes!important}
html[data-theme] #tools .explore>.xt:nth-child(6){grid-area:term!important}
html[data-theme] #tools .explore>.xt:nth-child(7){grid-area:parents!important}
html[data-theme] #tools .explore>.xt:nth-child(8){grid-area:yt!important}
html[data-theme] #tools .explore>.xt:nth-child(9){grid-area:track!important}
@media (max-width:1100px){
  html[data-theme] #tools .explore{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(290px,auto)!important;
    grid-template-areas:"crash crash" "ai portal" "ai term" "papers notes" "parents yt" "track track"!important}
}
@media (max-width:640px){
  html[data-theme] #tools .explore{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;
    grid-template-areas:"crash" "ai" "portal" "term" "papers" "notes" "parents" "yt" "track"!important;gap:12px!important}
}

/* the tile */
html[data-theme] #tools .explore>.xt.card.tn{
  --tn-bg:linear-gradient(180deg,#FFFFFF,#F6F7F8);--tn-t:#051F20;--tn-s:#3C5A51;--tn-ib:#235347;--tn-ic:#DAF1DE;--tn-pill:#FFFFFF;--tn-pt:#235347;--tn-pr:rgb(169 176 181 / .6);
  --tn-b:rgb(169 176 181 / .5);--tn-sh:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .04),0 18px 40px -28px rgb(5 31 32 / .35);
  position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;
  padding:22px!important;margin:0!important;min-height:0!important;height:auto!important;border-radius:24px!important;text-align:left!important;
  background:var(--tn-bg)!important;color:var(--tn-t)!important;border:1px solid var(--tn-b)!important;box-shadow:var(--tn-sh)!important;
  transform:none;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s ease!important;overflow:hidden;opacity:1!important;filter:none!important}
html[data-theme="dark"] #tools .explore>.xt.card.tn{--tn-bg:linear-gradient(180deg,#0E3029,#0A2722);--tn-t:#DAF1DE;--tn-s:rgb(218 241 222 / .74);--tn-ib:#8EB69B;--tn-ic:#051F20;--tn-pill:rgb(255 255 255 / .04);--tn-pt:#DAF1DE;--tn-pr:rgb(201 206 210 / .25);
  --tn-b:rgb(201 206 210 / .18);--tn-sh:inset 0 1px 0 rgb(255 255 255 / .05),0 22px 44px -28px rgb(0 0 0 / .8)}
/* deep green */
html[data-theme] #tools .explore>.xt.card.tn:is(.tn-emerald,.tn-ink){--tn-t:#DAF1DE;--tn-s:rgb(218 241 222 / .8);--tn-ib:linear-gradient(180deg,#F4F6F7,#C9CED2);--tn-ic:#051F20;--tn-pill:rgb(255 255 255 / .08);--tn-pt:#DAF1DE;--tn-pr:rgb(201 206 210 / .35);
  --tn-b:rgb(218 241 222 / .14);--tn-sh:inset 0 1px 0 rgb(218 241 222 / .12),0 26px 50px -28px rgb(5 31 32 / .7)}
html[data-theme] #tools .explore>.xt.card.tn-emerald{--tn-bg:radial-gradient(90% 80% at 100% 0%,rgb(142 182 155 / .28),transparent 60%),linear-gradient(160deg,#2E6655 0%,#235347 40%,#163832 100%)}
html[data-theme] #tools .explore>.xt.card.tn-ink{--tn-bg:radial-gradient(90% 80% at 100% 100%,rgb(142 182 155 / .18),transparent 60%),linear-gradient(160deg,#163832 0%,#0B2B26 55%,#051F20 100%)}
html[data-theme="dark"] #tools .explore>.xt.card.tn-ink{--tn-b:rgb(201 206 210 / .2)}
/* matte silver */
html[data-theme] #tools .explore>.xt.card.tn:is(.tn-silver,.tn-aurora){--tn-bg:radial-gradient(80% 70% at 20% 0%,rgb(255 255 255 / .9),transparent 60%),linear-gradient(180deg,#F1F3F4 0%,#DCE0E3 100%);
  --tn-t:#051F20;--tn-s:#3C5A51;--tn-ib:#163832;--tn-ic:#DAF1DE;--tn-pill:rgb(255 255 255 / .7);--tn-pt:#163832;--tn-pr:rgb(169 176 181 / .7);
  --tn-b:#C3C9CD;--tn-sh:inset 0 1px 0 #fff,inset 0 -1px 0 rgb(5 31 32 / .06),0 20px 42px -28px rgb(5 31 32 / .45)}
html[data-theme] #tools .explore>.xt.card.tn:hover{transform:translateY(-3px)!important;box-shadow:var(--tn-sh),0 30px 56px -30px rgb(5 31 32 / .5)!important}

/* top line: tab left, icon right, on one baseline */
html[data-theme] #tools .xt .tool-tab{order:0;align-self:flex-start;margin:0!important;padding:7px 12px!important;border-radius:99px!important;
  font:700 10px/1 var(--f-body)!important;letter-spacing:.16em!important;text-transform:uppercase!important;
  background:var(--tn-pill)!important;color:var(--tn-pt)!important;box-shadow:inset 0 0 0 1px var(--tn-pr)!important}
html[data-theme] #tools .xt .xt-ic{position:absolute!important;top:18px!important;right:18px!important;left:auto!important;margin:0!important;
  width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:13px!important;
  background:var(--tn-ib)!important;color:var(--tn-ic)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .25),0 6px 14px -8px rgb(5 31 32 / .5)!important}
html[data-theme] #tools .xt .xt-ic svg{width:19px!important;height:19px!important}
html[data-theme] #tools .xt .xt-ic.xt-yt{background:#FF0033!important}

/* the picture fills the middle; the words sit at the foot */
html[data-theme] #tools .xt :is(.xt-viz,.tool-viz){order:1;flex:1 1 auto!important;display:grid!important;place-items:center!important;align-content:center!important;
  height:auto!important;min-height:110px!important;margin:8px 0 4px!important;padding:0!important;width:100%}
html[data-theme] #tools .xt :is(h3,.h3){order:2;margin:0!important;font:600 1.22rem/1.18 var(--f-display)!important;letter-spacing:-.02em!important;color:var(--tn-t)!important;min-height:0!important;max-width:22ch}
html[data-theme] #tools .xt>p{order:3;margin:0!important;font-size:.9rem!important;line-height:1.5!important;color:var(--tn-s)!important;max-width:36ch}
html[data-theme] #tools .xt .link{order:5;align-self:flex-start;margin-top:6px!important;display:inline-flex!important;align-items:center;gap:7px;
  font:700 10.5px/1 var(--f-body)!important;letter-spacing:.15em!important;text-transform:uppercase!important;color:var(--tn-t)!important;
  padding-bottom:6px!important;background:linear-gradient(90deg,#A9B0B5,#E4E7E9) 0 100%/100% 1.5px no-repeat!important;border:0!important;opacity:1!important}
html[data-theme] #tools .xt .link svg{width:13px;height:13px;transition:transform .3s}
html[data-theme] #tools .xt:hover .link svg{transform:translateX(3px)}

/* AI checker (tall): score, bars, then the marked steps */
html[data-theme] #tools .xt .xv-mark{min-height:150px!important;justify-items:start!important;align-content:center!important;gap:10px!important;padding:0 4px!important}
html[data-theme] #tools .xt .xv-mark b{font:700 3.6rem/.9 var(--f-display)!important;letter-spacing:-.05em!important;color:var(--tn-t)!important}
html[data-theme] #tools .xt .xv-mark b small{font-size:1.1rem;color:var(--tn-s)}
html[data-theme] #tools .xt .xv-mark i{display:block;height:6px;width:100%;border-radius:6px;background:linear-gradient(90deg,#235347,#8EB69B) 0 0/var(--w) 100% no-repeat,#E4E7E9!important}
html[data-theme="dark"] #tools .xt .xv-mark i{background:linear-gradient(90deg,#8EB69B,#DAF1DE) 0 0/var(--w) 100% no-repeat,rgb(255 255 255 / .08)!important}
html[data-theme] #tools .xt .xv-steps{order:4;display:grid;gap:0;margin:4px 0 0!important;padding:0!important;list-style:none}
html[data-theme] #tools .xt .xv-steps li{display:flex;justify-content:space-between;align-items:center;padding:10px 0!important;border-bottom:1px solid var(--tn-b);font-size:.86rem}
html[data-theme] #tools .xt .xv-steps li span{font:700 10px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tn-s)}
html[data-theme] #tools .xt .xv-steps li b{font-weight:700;color:var(--tn-t)!important}
html[data-theme] #tools .xt .xv-steps li b.ok{color:#235347!important}
html[data-theme="dark"] #tools .xt .xv-steps li b.ok{color:#8EB69B!important}

/* wide tiles: words on the left, the picture on the right */
@media (min-width:641px){
  html[data-theme] #tools .explore>.xt.card.tn:is(.xt-wide){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;
    grid-template-rows:auto 1fr auto auto!important;column-gap:28px!important;row-gap:10px!important;align-items:start!important}
  html[data-theme] #tools .xt-wide .tool-tab{grid-column:1;grid-row:1}
  html[data-theme] #tools .xt-wide :is(h3,.h3){grid-column:1;grid-row:2;align-self:end}
  html[data-theme] #tools .xt-wide>p{grid-column:1;grid-row:3}
  html[data-theme] #tools .xt-wide .link{grid-column:1;grid-row:4}
  html[data-theme] #tools .xt-wide :is(.xt-viz,.tool-viz,.xv-plan){grid-column:2!important;grid-row:1 / -1!important;align-self:stretch!important;margin:44px 0 0!important}
}
/* Crash course: the four weeks as a clean numbered run */
html[data-theme] #tools .xt .xv-plan{order:1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:8px 0 0!important;padding:0!important;list-style:none;align-content:center}
html[data-theme] #tools .xt .xv-plan li{display:flex;align-items:baseline;gap:12px;padding:12px 0!important;border-bottom:1px solid rgb(218 241 222 / .16);opacity:1!important}
html[data-theme] #tools .xt .xv-plan li b{font:700 1.5rem/1 var(--f-display)!important;letter-spacing:-.04em;
  background:linear-gradient(180deg,#F4F6F7,#A9B0B5);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html[data-theme] #tools .xt .xv-plan li span{font-size:.92rem;font-weight:600;color:var(--tn-t)}
html[data-theme] #tools .xt-wide :is(h3,.h3){font-size:1.55rem!important;max-width:18ch}

/* Term of the day */
html[data-theme] #tools .xt-term{cursor:pointer}
html[data-theme] #tools .xt-term .xt-word{order:1;flex:1 1 auto;display:flex!important;align-items:center;margin:8px 0 0!important;
  font:700 clamp(2.2rem,1.6rem + 1.4vw,2.9rem)/1 var(--f-display)!important;letter-spacing:-.04em!important;
  background:linear-gradient(180deg,#FFFFFF,#C9CED2)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html[data-theme] #tools .xt-term>p{order:3}

/* Portal: the ID card */
html[data-theme] #tools .xt .xt-id,html[data-theme] #tools .xt .xv-id{order:1}
/* Tracker: the grid and its figure side by side */
html[data-theme] #tools .xt-track .tool-viz.tv-grid{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:26px!important}
html[data-theme] #tools .xt-track .tg-stat b{font:700 2.6rem/1 var(--f-display)!important;letter-spacing:-.04em;color:var(--tn-t)!important}
@media (max-width:640px){
  html[data-theme] #tools .explore>.xt.card.tn{padding:20px!important}
  html[data-theme] #tools .xt :is(.xt-viz,.tool-viz){min-height:96px!important}
  html[data-theme] #tools .xt .xv-plan{margin-top:6px!important}
}
/* v4.4 fixes: visuals sit straight on the tile (no inner boxes), shelf in a row, plain silver numerals */
html[data-theme] #tools .xt :is(.xt-viz,.tool-viz){background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme] #tools .xt :is(.xt-viz,.tool-viz):not(.tv-shelf)::before,html[data-theme] #tools .xt :is(.xt-viz,.tool-viz):not(.tv-shelf)::after{display:none!important}
html[data-theme] #tools .xt .tool-viz.tv-shelf{display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:center!important;gap:6px!important;
  height:150px!important;min-height:150px!important;flex:1 1 auto!important;place-items:initial!important;position:relative}
html[data-theme] #tools .xt .tool-viz.tv-shelf::after{display:block!important;bottom:6px!important}
html[data-theme] #tools .xt .xv-plan::before{display:none!important}
html[data-theme][data-theme] #tools .xt .xv-plan li b,html[data-theme][data-theme] #tools .xt .xv-plan li:first-child b{display:inline!important;width:auto!important;height:auto!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;font:700 1.6rem/1 var(--f-display)!important;letter-spacing:-.04em!important;
  background:linear-gradient(180deg,#FFFFFF,#A9B0B5)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html[data-theme] #tools .xt .xv-plan li{display:flex!important;align-items:baseline!important;grid-template-columns:none!important}
html[data-theme] #tools .xt .xv-plan span{color:#DAF1DE!important;font:600 .95rem/1.25 var(--f-body)!important}
html[data-theme] #tools .xt-wide .xv-plan{align-self:center!important;margin:30px 0 0!important}
html[data-theme] #tools .xt .xv-mark{align-self:stretch;justify-content:stretch!important;align-content:center!important;min-height:180px!important}
html[data-theme] #tools .explore{grid-auto-rows:minmax(290px,auto)!important}
html[data-theme] #tools .xt .xv-att{gap:10px!important}

/* ==================================================================== v4.5 · where he teaches: the same raked deck, logos without tiles */
html[data-theme] .sec .sec-head.co-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;text-align:center!important;max-width:820px!important;margin-inline:auto!important;gap:0!important}
html[data-theme] .sec .co-head>*{grid-column:1!important;grid-row:auto!important;justify-self:center!important;text-align:center!important}
html[data-theme] .sec .co-head .title{font-size:clamp(2.2rem,1.4rem + 3vw,4rem)!important;line-height:1.02!important}
/* the academy logos on each card: straight on the pane, by height, in colour (white in Green mode) */
.trio__logos{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:auto 0 0;padding:16px 0 4px;border-top:1px solid var(--trio-line)}
.trio__logos img{display:block;height:34px;width:auto;max-width:132px;object-fit:contain}
.trio__wm{font:700 1.05rem/1 var(--f-display);letter-spacing:-.02em;color:var(--trio-ink)}
html[data-theme="dark"] .trio__logos img{filter:brightness(0) invert(1);opacity:.88}
.trio--where .trio__chips{margin-top:14px}
.trio--where .trio__in{min-height:470px}
.trio.in .trio__c.on .trio__logos{display:none}
.trio--where .trio__list{grid-template-columns:1fr!important}

/* "also teaching at": a clean row of logos with captions, no tiles */
html[data-theme][data-theme] .sw-morn{background:none!important;box-shadow:none!important;border:0!important;border-top:1px solid transparent!important;border-image:var(--silver-line) 1!important;
  border-radius:0!important;padding:26px 0 6px!important;margin-top:clamp(28px,4vw,48px)!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:28px!important}
html[data-theme][data-theme] .sw-morn::before,html[data-theme][data-theme] .sw-morn::after{display:none!important}
html[data-theme][data-theme] .sw-morn .aff-row{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:space-around!important;gap:18px 34px!important;margin:0!important;padding:0!important}
html[data-theme][data-theme] .sw-morn .aff-i{display:grid!important;justify-items:center!important;gap:10px!important;background:none!important;box-shadow:none!important;border:0!important;padding:0!important;min-width:0}
html[data-theme][data-theme] .sw-morn .aff-i .lg{width:auto!important;height:52px!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;display:flex!important;align-items:center!important}
html[data-theme][data-theme] .sw-morn .aff-i .lg img{height:52px!important;width:auto!important;max-width:150px!important;object-fit:contain!important}
html[data-theme][data-theme] .sw-morn .aff-t b{font:700 10px/1.3 var(--f-body)!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:var(--tx-3)!important;text-align:center;display:block}
html[data-theme="dark"][data-theme] .sw-morn .aff-i .lg img{filter:brightness(0) invert(1);opacity:.85}
html[data-theme][data-theme] .sw-morn .sw-mk small{display:block;font:700 10px/1 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:var(--em)}
html[data-theme][data-theme] .sw-morn .sw-mk b{font:600 1.15rem/1.2 var(--f-display);color:var(--tx)}
@media (max-width:760px){
  html[data-theme][data-theme] .sw-morn{grid-template-columns:1fr!important;justify-items:center;text-align:center;gap:20px!important}
  html[data-theme][data-theme] .sw-morn .aff-row{justify-content:center!important;gap:18px 26px!important}
  html[data-theme][data-theme] .sw-morn .aff-i .lg,html[data-theme][data-theme] .sw-morn .aff-i .lg img{height:42px!important}
}
html[data-theme="dark"][data-theme] :is(.sw-morn .aff-i .lg,.trio__logos) img[src*="fec"]{filter:none;opacity:1}

/* ==================================================================== v5 · type: Geist for everything, Instrument Serif italic for the emphasis in headings
   One scale: hero 5.6rem max, section titles 3.7rem max, card titles 1.25–1.6rem, text 16px, labels 11px tracked capitals.
   Headings are sentence case; emphasis is a serif italic in the brand green. */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:var(--f-body)!important;font-size:16px;line-height:1.65;letter-spacing:-.006em;font-feature-settings:"ss01" 1,"cv11" 1}
h1,h2,h3,h4,.display,.title,.title-sm,.h3{font-family:var(--f-display)!important;font-weight:600!important;text-transform:none!important}
html[data-theme] .hero-copy .display{font-size:clamp(3rem,1.9rem + 4.3vw,5.6rem)!important;line-height:.98!important;letter-spacing:-.052em!important;font-weight:600!important}
html[data-theme] .title{font-size:clamp(2.1rem,1.35rem + 2.7vw,3.7rem)!important;line-height:1.04!important;letter-spacing:-.045em!important}
html[data-theme] .sec .co-head .title{font-size:clamp(2.3rem,1.4rem + 3vw,4rem)!important}
html[data-theme] :is(.display,.title,.title-sm,h1,h2,.h2) em,html[data-theme] [data-split-done] em{
  font-family:var(--f-serif)!important;font-style:italic!important;font-weight:400!important;letter-spacing:-.012em!important;font-size:1.08em;line-height:.9;
  color:var(--em)!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important;background:none!important;padding-right:.04em}
html[data-theme] :is(h3,.h3){letter-spacing:-.028em!important}
html[data-theme] .lede{font-size:clamp(1rem,.94rem + .25vw,1.14rem)!important;line-height:1.65!important;letter-spacing:-.008em!important;color:var(--tx-2)!important;font-weight:400!important}
html[data-theme] :is(.eyebrow,.folio){font:600 11px/1.3 var(--f-body)!important;letter-spacing:.2em!important;text-transform:uppercase!important}
html[data-theme] .btn{font-family:var(--f-body)!important;font-weight:600!important;letter-spacing:.07em!important}
html[data-theme] :is(.tag,.chip,.pill,.tool-tab,.trio__code,.trio__chip,.trio__meta){font-family:var(--f-body)!important}
html[data-theme] .trio__t{font-weight:600!important;letter-spacing:-.035em!important}
html[data-theme] :is(#method,.stepdeck) .proc-s h3{font-weight:600!important;letter-spacing:-.04em!important}
html[data-theme] .hero-facts dt,html[data-theme] .trio__n,html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{font-variant-numeric:tabular-nums}
html[data-theme] p{text-wrap:pretty}
html[data-theme] :is(h1,h2,h3,.title,.display){text-wrap:balance}

/* ==================================================================== v5.1 · hero: profile card, credential chips, stat panel */
/* the profile card under the portrait */
html[data-theme][data-theme] .hero-fig .plate.pc{position:absolute!important;left:-6%!important;right:auto!important;bottom:8%!important;z-index:4;
  display:flex!important;align-items:center!important;gap:14px!important;padding:12px 20px 12px 12px!important;border-radius:20px!important;min-width:0!important;
  background:linear-gradient(180deg,#FFFFFF,#F4F6F7)!important;border:1px solid #CDD2D6!important;
  box-shadow:inset 0 1px 0 #fff,0 1px 2px rgb(5 31 32 / .05),0 24px 48px -24px rgb(5 31 32 / .45)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme="dark"][data-theme] .hero-fig .plate.pc{background:linear-gradient(180deg,#123A32,#0B2B26)!important;border-color:rgb(201 206 210 / .22)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .1),0 26px 50px -22px rgb(0 0 0 / .75)!important}
html[data-theme] .hero-fig .plate.pc::after,html[data-theme] .hero-fig .plate.pc::before{display:none!important}
.pc-av{flex:none;width:58px;height:58px;border-radius:50%;padding:2px;background:linear-gradient(160deg,#FFFFFF,#A9B0B5 45%,#E4E7E9 70%,#8D959A)}
.pc-av img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff}
html[data-theme="dark"] .pc-av img{border-color:#0B2B26}
.pc-t{display:grid;gap:3px;min-width:0}
.pc-t small{font:600 9.5px/1 var(--f-body);letter-spacing:.2em;text-transform:uppercase;color:var(--em)}
.pc-t b{display:flex!important;align-items:center;gap:6px;font:600 1.12rem/1.15 var(--f-display)!important;letter-spacing:-.025em!important;color:var(--tx)!important;white-space:nowrap}
.pc-v{width:17px;height:17px;flex:none;color:#235347}
html[data-theme="dark"] .pc-v{color:#8EB69B}
.pc-t em{font-style:normal;font-size:12px;color:var(--tx-3);white-space:nowrap}

/* credential chips around the portrait */
html[data-theme][data-theme] .hero-fig .fl.hb2{position:absolute!important;z-index:4;display:flex!important;align-items:center!important;gap:10px!important;
  padding:7px 16px 7px 7px!important;border-radius:16px!important;animation:none!important;transform:none!important;
  background:linear-gradient(180deg,#FFFFFF,#F4F6F7)!important;border:1px solid #CDD2D6!important;
  box-shadow:inset 0 1px 0 #fff,0 16px 34px -18px rgb(5 31 32 / .4)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme="dark"][data-theme] .hero-fig .fl.hb2{background:linear-gradient(180deg,#123A32,#0B2B26)!important;border-color:rgb(201 206 210 / .22)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .1),0 18px 36px -18px rgb(0 0 0 / .7)!important}
.hb2-ic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(180deg,#2E6655,#163832);color:#DAF1DE;font-style:normal;box-shadow:inset 0 1px 0 rgb(255 255 255 / .2)}
.hb2-ic svg{width:17px;height:17px}
.hb2-gold .hb2-ic{background:linear-gradient(180deg,#F1DE9C,#C99A3C 60%,#A77A22);color:#3A2A08}
.hb2>span{display:grid;gap:2px;line-height:1}
.hb2 b{font:600 .95rem/1.1 var(--f-display)!important;letter-spacing:-.02em!important;color:var(--tx)!important;white-space:nowrap;background:none!important;-webkit-text-fill-color:currentColor!important}
.hb2 small{font:600 9px/1 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:var(--tx-3);white-space:nowrap}
html[data-theme][data-theme] .hero-fig .fl-1.hb2{top:30%!important;left:-8%!important;right:auto!important;bottom:auto!important}
html[data-theme][data-theme] .hero-fig .fl-3.hb2{top:9%!important;right:-2%!important;left:auto!important;bottom:auto!important}
html[data-theme][data-theme] .hero-fig .fl-2.hb2{top:50%!important;right:-8%!important;left:auto!important;bottom:auto!important}
html[data-theme] .hero-fig .fl.hb2 .stamp{display:none}

/* the figures as one stat panel */
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts{border:1px solid #CDD2D6!important;border-image:none!important;border-radius:20px!important;padding:6px!important;
  background:linear-gradient(180deg,#FFFFFF,#F5F7F8)!important;box-shadow:inset 0 1px 0 #fff,0 20px 40px -30px rgb(5 31 32 / .4)!important;max-width:600px!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] .hero-facts{background:linear-gradient(180deg,rgb(255 255 255 / .05),rgb(255 255 255 / .02))!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .06)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{padding:16px 18px 14px!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{padding-left:18px!important;border-left:1px solid #DDE1E4!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{border-left-color:rgb(201 206 210 / .14)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div::before{display:none!important}
html[data-theme][data-theme] .hero-facts dt{font-size:clamp(2rem,1.5rem + 1.3vw,2.6rem)!important;font-weight:600!important;letter-spacing:-.05em!important}
html[data-theme][data-theme] .hero-facts dd{max-width:19ch;margin-top:8px!important}
@media (max-width:760px){
  html[data-theme][data-theme] .hero-fig .plate.pc{left:2%!important;bottom:6%!important;padding:9px 14px 9px 9px!important;gap:10px!important}
  .pc-av{width:46px;height:46px}
  .pc-t b{font-size:1rem!important}
  .pc-t em{font-size:11px}
  html[data-theme][data-theme] .hero-fig .fl-1.hb2{left:-2%!important;top:26%!important}
  html[data-theme][data-theme] .hero-fig .fl-2.hb2{right:-2%!important;top:48%!important}
  html[data-theme][data-theme] .hero-fig .fl-3.hb2{right:0!important;top:4%!important}
  html[data-theme][data-theme] .hero-fig .fl.hb2{padding:5px 12px 5px 5px!important;gap:8px!important}
  .hb2-ic{width:28px;height:28px;border-radius:9px}
  .hb2 b{font-size:.82rem!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{padding:12px 10px!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{padding-left:12px!important}
}
html[data-theme] .hb2 .tick{border:0!important;padding:0!important;background:none!important;box-shadow:none!important;text-decoration:none!important}
html[data-theme] .hb2 .tick::after,html[data-theme] .hb2 .tick::before{display:none!important}
@media (max-width:760px){html[data-theme][data-theme] .hero-fig :is(.fl-1,.fl-2).hb2{display:none!important}}

/* ==================================================================== v5.2 · method: the original wide card, rising and stacking; hollow numbers that fill as you scroll */
html[data-theme] :is(#method,.stepdeck) .proc-s.card,html[data-theme] :is(#method,.stepdeck) .v2-pile>.proc-s.card{
  border:1px solid #CDD2D6!important;border-radius:28px!important;padding:clamp(22px,2.6vw,36px) clamp(24px,3vw,44px)!important;
  background:linear-gradient(180deg,#FFFFFF 0%,#F6F7F8 100%)!important;
  box-shadow:inset 0 1px 0 #fff,0 -10px 30px -24px rgb(5 31 32 / .2),0 30px 60px -36px rgb(5 31 32 / .45)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s.card,html[data-theme="dark"] :is(#method,.stepdeck) .v2-pile>.proc-s.card{
  border-color:rgb(201 206 210 / .2)!important;background:linear-gradient(180deg,#0F332B 0%,#0B2B26 100%)!important;
  box-shadow:inset 0 1px 0 rgb(218 241 222 / .08),0 -10px 30px -24px rgb(0 0 0 / .5),0 30px 60px -30px rgb(0 0 0 / .8)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn{padding:0!important;justify-content:space-between!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn::before{content:none!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn i{display:none!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{margin-top:0!important;font:600 clamp(5.4rem,3.6rem + 4.4vw,8.6rem)/.8 var(--f-display)!important;letter-spacing:-.06em!important;
  -webkit-text-stroke:1.4px rgb(35 83 71 / .5)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn b::after{background:linear-gradient(0deg,#051F20 0%,#163832 40%,#235347 70%,#5E8A73 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn b{-webkit-text-stroke:1.4px rgb(201 206 210 / .45)!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s .pn b::after{background:linear-gradient(0deg,#8EB69B 0%,#DAF1DE 50%,#FFFFFF 80%,#C9CED2 100%);-webkit-background-clip:text;background-clip:text}
html[data-theme] :is(#method,.stepdeck) .proc-s .pn .tag{align-self:flex-start}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li{background:none!important;box-shadow:none!important;border-radius:0!important;border-bottom:1px solid #E1E5E7!important;padding:13px 2px!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s ul li{border-bottom-color:rgb(201 206 210 / .14)!important}
html[data-theme] :is(#method,.stepdeck) .proc-s ul li:last-child{border-bottom:0!important}
html[data-theme] :is(#method,.stepdeck) .proc-s ul{border-top:1px solid #E1E5E7!important}
html[data-theme="dark"] :is(#method,.stepdeck) .proc-s ul{border-top-color:rgb(201 206 210 / .14)!important}

/* ==================================================================== v5.3 · zakat, syllabus, examiner's vocabulary */
/* zakat: the full width on laptops — controls left, the result right, every figure shown */
html[data-theme][data-theme] #zakat .be-studio{max-width:none!important;width:100%!important;margin:clamp(26px,3.4vw,44px) 0 0!important;padding:clamp(22px,2.8vw,40px)!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;gap:clamp(24px,3.6vw,56px)!important;align-items:start!important;border-radius:28px!important;
  background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 30px 60px -40px rgb(5 31 32 / .45)!important}
html[data-theme="dark"][data-theme] #zakat .be-studio{background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .08),0 30px 60px -36px rgb(0 0 0 / .8)!important}
html[data-theme] #zakat .be-ctrl{display:grid!important;gap:18px!important}
html[data-theme] #zakat .be-ctrl .sl{display:grid!important;gap:10px!important}
html[data-theme] #zakat .be-ctrl .sl>span{display:flex!important;justify-content:space-between;align-items:baseline;font:600 11px/1 var(--f-body)!important;letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)!important}
html[data-theme] #zakat .be-ctrl .sl b{font:600 1.05rem/1 var(--f-display)!important;letter-spacing:-.02em;text-transform:none;color:var(--tx)!important}
html[data-theme] #zakat .be-fig{display:grid!important;gap:18px!important;align-content:start!important;padding-left:clamp(0px,3vw,48px);border-left:1px solid #E1E5E7}
html[data-theme="dark"] #zakat .be-fig{border-left-color:rgb(201 206 210 / .14)}
html[data-theme][data-theme] #zakat .zf-row{display:grid!important;grid-template-columns:130px minmax(0,1fr) 120px!important;align-items:center;gap:14px;padding:6px 0}
html[data-theme] #zakat .zf-l{font:600 11px/1.2 var(--f-body);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme] #zakat .zf-v{text-align:right;font:600 1rem/1 var(--f-display)!important;letter-spacing:-.02em;color:var(--tx)!important}
html[data-theme] #zakat .zf-due{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:22px;padding:22px!important;border-radius:20px!important;
  background:linear-gradient(160deg,#235347,#163832 60%,#0B2B26)!important;border:0!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .14),0 20px 40px -26px rgb(5 31 32 / .6)!important}
html[data-theme] #zakat .zf-dt small{display:block;font:600 10.5px/1 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:#8EB69B;margin-bottom:8px}
html[data-theme] #zakat .zf-dt b{display:block;font:600 clamp(2.2rem,1.6rem + 1.6vw,3.1rem)/1 var(--f-display)!important;letter-spacing:-.05em!important;color:#FFFFFF!important}
html[data-theme] #zakat .zf-dt span{display:block;margin-top:8px;font-size:.9rem;color:rgb(218 241 222 / .8)}
html[data-theme] #zakat .zf-40{grid-template-columns:repeat(8,12px)!important;gap:4px!important}
html[data-theme] #zakat .zf-40 i{width:12px!important;height:12px!important;border-radius:3px!important;background:rgb(218 241 222 / .16)!important}
html[data-theme] #zakat .zf-40 i:first-child{background:#DAF1DE!important;box-shadow:0 0 12px rgb(218 241 222 / .6)}
html[data-theme] #zakat .be-say{font-size:.98rem;line-height:1.6;color:var(--tx-2)}
@media (min-width:1101px){html[data-theme][data-theme] #zakat .zf-row{display:grid!important}}
@media (max-width:900px){
  html[data-theme][data-theme] #zakat .be-studio{grid-template-columns:1fr!important}
  html[data-theme] #zakat .be-fig{border-left:0;padding-left:0}
  html[data-theme][data-theme] #zakat .zf-row{grid-template-columns:96px minmax(0,1fr) 96px!important}
}

/* syllabus: areas on the left, grouped by paper; the chosen area's topics on the right */
html[data-theme][data-theme] #org .org{padding:clamp(20px,2.6vw,36px)!important;border-radius:28px!important;margin-top:clamp(26px,3.4vw,44px)!important;
  background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 30px 60px -40px rgb(5 31 32 / .45)!important}
html[data-theme="dark"][data-theme] #org .org{background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .08)!important}
html[data-theme] #org .org-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #E1E5E7}
html[data-theme="dark"] #org .org-top{border-bottom-color:rgb(201 206 210 / .14)}
html[data-theme][data-theme] #org .sm-code{background:none!important;box-shadow:none!important;padding:0!important;border:0!important;display:grid;gap:4px}
html[data-theme] #org .sm-code span{font:600 10.5px/1 var(--f-body)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--em)!important}
html[data-theme] #org .sm-code b{font:600 1.5rem/1 var(--f-display)!important;letter-spacing:-.03em;color:var(--tx)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] #org .org-count{order:3;flex-basis:100%;text-align:right;font:600 10.5px/1 var(--f-body)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--tx-3)}
@media (min-width:1100px){
  html[data-theme] #org .org-count{flex-basis:auto;order:0;margin-left:auto}
  html[data-theme][data-theme] #org .org-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;gap:clamp(22px,3vw,44px)!important;align-items:start!important}
  html[data-theme][data-theme] #org .org-panel{display:grid!important;position:sticky;top:110px;padding:24px!important;border-radius:22px!important;gap:12px;
    background:linear-gradient(160deg,#235347,#163832 55%,#0B2B26)!important;border:0!important;color:#DAF1DE;box-shadow:inset 0 1px 0 rgb(218 241 222 / .14),0 24px 50px -30px rgb(5 31 32 / .6)!important}
  html[data-theme] #org .org-panel .sm-ph{display:flex;align-items:center;gap:12px}
  html[data-theme] #org .org-panel .sm-pnum{font:600 2.4rem/1 var(--f-display);letter-spacing:-.05em;background:linear-gradient(180deg,#FFFFFF,#A9B0B5);-webkit-background-clip:text;background-clip:text;color:transparent}
  html[data-theme] #org .org-panel .ou{color:#8EB69B!important;font:600 10.5px/1.4 var(--f-body)!important;letter-spacing:.16em;text-transform:uppercase}
  html[data-theme] #org .org-panel .h3{color:#FFFFFF!important;font-size:1.45rem!important;margin:0!important}
  html[data-theme] #org .org-panel ul{display:grid;grid-template-columns:1fr 1fr;gap:6px!important;margin:6px 0 4px;padding:0;list-style:none;max-height:420px;overflow:auto;scrollbar-width:thin}
  html[data-theme][data-theme] #org .org-panel li a{display:grid;grid-template-columns:40px minmax(0,1fr)!important;align-items:center;gap:6px;min-height:46px;padding:8px 10px!important;border-radius:12px;
    background:rgb(255 255 255 / .06)!important;box-shadow:inset 0 0 0 1px rgb(218 241 222 / .1)!important;color:#EAF7EC!important;font-size:.84rem!important;text-decoration:none}
  html[data-theme] #org .org-panel li a:hover{background:rgb(255 255 255 / .12)!important}
  html[data-theme] #org .org-panel li a .n{font:600 .78rem var(--f-display)!important;color:#8EB69B!important}
  html[data-theme] #org .org-panel .link{color:#FFFFFF!important}
  html[data-theme] #org .sm-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
}
html[data-theme] #org .sm-tray+.sm-tray{margin-top:18px}
html[data-theme] #org .sm-th{display:flex;align-items:center;gap:12px;margin-bottom:10px}
html[data-theme] #org .sm-pn{font:600 10.5px/1 var(--f-body)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme] #org .sm-pn b{font:600 1.1rem/1 var(--f-display);color:var(--tx);letter-spacing:0;margin-left:4px}
html[data-theme] #org .sm-tc{font:600 10.5px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme][data-theme] #org .dept{text-align:left;padding:14px 16px!important;border-radius:16px!important;background:#FFFFFF!important;border:1px solid #DDE1E4!important;box-shadow:none!important;transition:border-color .25s,box-shadow .25s,transform .25s}
html[data-theme="dark"][data-theme] #org .dept{background:rgb(255 255 255 / .03)!important;border-color:rgb(201 206 210 / .16)!important}
html[data-theme][data-theme] #org .dept:hover{border-color:#8EB69B!important;transform:translateX(3px)}
html[data-theme][data-theme] #org .dept[aria-pressed="true"]{border-color:#235347!important;box-shadow:0 0 0 1px #235347,0 14px 30px -22px rgb(5 31 32 / .5)!important;background:linear-gradient(90deg,rgb(218 241 222 / .55),#FFFFFF 60%)!important}
html[data-theme="dark"][data-theme] #org .dept[aria-pressed="true"]{border-color:#8EB69B!important;box-shadow:0 0 0 1px #8EB69B!important;background:rgb(142 182 155 / .1)!important}
html[data-theme][data-theme] #org .dept b{color:var(--tx)!important;font:600 1rem/1.3 var(--f-display)!important;letter-spacing:-.02em}
html[data-theme][data-theme] #org .dept .dn{font:600 1.6rem/1 var(--f-display)!important;letter-spacing:-.05em;background:linear-gradient(180deg,#C9CED2,#8D959A)!important;-webkit-background-clip:text!important;background-clip:text!important}
html[data-theme][data-theme] #org .dept[aria-pressed="true"] .dn{background:linear-gradient(180deg,#235347,#051F20)!important;-webkit-background-clip:text!important;background-clip:text!important}
html[data-theme="dark"][data-theme] #org .dept[aria-pressed="true"] .dn{background:linear-gradient(180deg,#FFFFFF,#8EB69B)!important;-webkit-background-clip:text!important;background-clip:text!important}
html[data-theme][data-theme] #org .dept .dk{font:600 10px/1 var(--f-body)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--em)!important}
html[data-theme][data-theme] #org .dept .dbar{background:#E4E7E9!important}
html[data-theme="dark"][data-theme] #org .dept .dbar{background:rgb(255 255 255 / .08)!important}
html[data-theme][data-theme] #org .dept .dbar i{background:linear-gradient(90deg,#235347,#8EB69B)!important}
html[data-theme] #org .org .dept::after{content:none!important}

/* the examiner's vocabulary: six command words as a ladder of depth */
html[data-theme] #words .cw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:clamp(26px,3.4vw,44px);counter-reset:cw}
@media (max-width:1000px){html[data-theme] #words .cw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){html[data-theme] #words .cw-grid{grid-template-columns:1fr;gap:12px}}
html[data-theme][data-theme] #words .cw.card{counter-increment:cw;position:relative;display:grid!important;grid-template-rows:auto auto 1fr auto;gap:10px;padding:24px!important;margin:0!important;
  border-radius:24px!important;min-height:230px;transform:none!important;opacity:1!important;filter:none!important;width:auto!important;
  background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 20px 40px -30px rgb(5 31 32 / .4)!important}
html[data-theme="dark"][data-theme] #words .cw.card{background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .08)!important}
html[data-theme][data-theme] #words .cw.card.hot{background:linear-gradient(160deg,#2E6655,#235347 40%,#163832)!important;border-color:transparent!important;box-shadow:0 26px 50px -26px rgb(5 31 32 / .6)!important}
html[data-theme] #words .cw::before{content:"0" counter(cw);font:600 .85rem/1 var(--f-display);letter-spacing:-.02em;color:var(--tx-3)}
html[data-theme] #words .cw b{font:600 1.65rem/1.08 var(--f-display)!important;letter-spacing:-.04em!important;color:var(--tx)!important;-webkit-text-fill-color:currentColor!important;background:none!important}
html[data-theme] #words .cw p{margin:0!important;font-size:.95rem!important;line-height:1.55!important;color:var(--tx-2)!important}
html[data-theme] #words .cw-m{position:absolute;top:20px;right:20px;font:600 10px/1 var(--f-body)!important;letter-spacing:.14em;text-transform:uppercase;padding:7px 11px;border-radius:99px;color:#235347!important;background:#EEF7F0;box-shadow:inset 0 0 0 1px #C3DCCB}
html[data-theme="dark"] #words .cw-m{color:#DAF1DE!important;background:rgb(142 182 155 / .14);box-shadow:inset 0 0 0 1px rgb(142 182 155 / .3)}
html[data-theme] #words .cw.hot :is(b,p,.cw::before){color:#FFFFFF!important}
html[data-theme] #words .cw.hot p{color:rgb(218 241 222 / .85)!important}
html[data-theme] #words .cw.hot::before{color:#8EB69B}
html[data-theme] #words .cw.hot .cw-m{color:#051F20!important;background:linear-gradient(180deg,#F4F6F7,#C9CED2);box-shadow:none}
/* the depth meter along the foot of each card */
html[data-theme][data-theme] #words .cw-lv{order:9;position:relative;display:block!important;height:6px!important;width:100%!important;border-radius:6px;background:#E4E7E9!important;margin-top:6px;overflow:hidden;box-shadow:none!important;border:0!important}
html[data-theme="dark"][data-theme] #words .cw-lv{background:rgb(255 255 255 / .08)!important}
html[data-theme][data-theme] #words .cw-lv i{position:absolute!important;left:0;top:0;bottom:0;height:100%!important;width:var(--h)!important;border-radius:6px;background:linear-gradient(90deg,#8EB69B,#235347)!important}
html[data-theme][data-theme] #words .cw.hot .cw-lv{background:rgb(255 255 255 / .14)!important}
html[data-theme][data-theme] #words .cw.hot .cw-lv i{background:linear-gradient(90deg,#DAF1DE,#FFFFFF)!important}
html[data-theme] #words .cw-lv::after{content:"Depth";position:absolute;right:0;top:-18px;font:600 9px/1 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme][data-theme] #words .cw.card{grid-template-rows:auto auto 1fr auto!important;min-height:0!important}
html[data-theme][data-theme] #words .cw-m{position:static!important;order:-1;justify-self:start;margin-bottom:6px}
html[data-theme][data-theme] #words .cw-lv{height:5px!important;max-height:5px!important;margin-top:24px!important;overflow:visible!important}
html[data-theme][data-theme] #words .cw-lv i{height:5px!important}
html[data-theme] #words .cw-lv::after{top:-16px!important}
html[data-theme] #words .cw.hot .cw-lv::after{color:#8EB69B}

/* ==================================================================== v5.4 · logos on proper tiles, the follow band, the FAQ, tracker and portal tiles */
/* logos: each on a small white tile with a silver rim, in its own colours in both themes */
html[data-theme] .trio__logos{gap:10px!important;border-top:0!important;padding-top:6px!important}
html[data-theme] .trio__logos img,html[data-theme] .trio__wm{box-sizing:content-box;height:34px!important;max-width:110px!important;padding:9px 12px;border-radius:12px;
  background:#FFFFFF;border:1px solid #DDE1E4;box-shadow:inset 0 1px 0 #fff,0 6px 14px -10px rgb(5 31 32 / .35);filter:none!important;opacity:1!important}
html[data-theme] .trio__wm{display:inline-flex;align-items:center;height:34px!important;font:600 .95rem/1 var(--f-display);color:#051F20!important}
html[data-theme="dark"] .trio__logos img,html[data-theme="dark"] .trio__wm{border-color:rgb(201 206 210 / .5)}
html[data-theme][data-theme] .sw-morn .aff-row{justify-content:flex-start!important;gap:14px!important}
html[data-theme][data-theme] .sw-morn .aff-i{display:grid!important;justify-items:center!important;gap:10px!important}
html[data-theme][data-theme] .sw-morn .aff-i .lg{height:auto!important;padding:12px 18px!important;border-radius:16px!important;background:#FFFFFF!important;border:1px solid #DDE1E4!important;
  box-shadow:inset 0 1px 0 #fff,0 10px 22px -16px rgb(5 31 32 / .4)!important;min-width:120px;justify-content:center}
html[data-theme][data-theme] .sw-morn .aff-i .lg img{height:46px!important;filter:none!important;opacity:1!important}
html[data-theme="dark"][data-theme] .sw-morn .aff-i .lg{border-color:rgb(201 206 210 / .5)!important}
html[data-theme="dark"][data-theme] .sw-morn .aff-i .lg img{filter:none!important;opacity:1!important}

/* follow band */
html[data-theme][data-theme] .v2-soc{display:grid!important;grid-template-columns:minmax(220px,.8fr) repeat(auto-fit,minmax(150px,1fr))!important;align-items:stretch!important;gap:12px!important;
  width:100%!important;max-width:none!important;margin:clamp(22px,3vw,36px) 0 0!important;padding:14px!important;border-radius:26px!important;
  background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 24px 50px -36px rgb(5 31 32 / .45)!important}
html[data-theme="dark"][data-theme] .v2-soc{background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .08)!important}
html[data-theme] .v2-soc-k{display:grid!important;align-content:center;gap:6px;padding:12px 14px!important}
html[data-theme] .v2-soc-k small{font:600 10.5px/1 var(--f-body)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--em)!important}
html[data-theme] .v2-soc-k b{font:600 1.35rem/1.15 var(--f-display)!important;letter-spacing:-.03em;color:var(--tx)!important}
html[data-theme][data-theme] .v2-soc-i{position:relative;display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:3px;align-items:center;align-content:center;
  padding:14px 16px!important;border-radius:18px!important;background:#FFFFFF!important;border:1px solid #DDE1E4!important;box-shadow:none!important;text-decoration:none;min-height:72px;transition:transform .3s,border-color .3s,box-shadow .3s}
html[data-theme="dark"][data-theme] .v2-soc-i{background:rgb(255 255 255 / .04)!important;border-color:rgb(201 206 210 / .16)!important}
html[data-theme][data-theme] .v2-soc-i:hover{transform:translateY(-2px);border-color:#8EB69B!important;box-shadow:0 16px 30px -20px rgb(5 31 32 / .45)!important}
html[data-theme][data-theme] .v2-soc-i svg{grid-row:1 / 3;width:38px!important;height:38px!important}
html[data-theme][data-theme] .v2-soc-i span{font:600 .98rem/1.1 var(--f-display)!important;letter-spacing:-.02em;color:var(--tx)!important;text-transform:none!important}
html[data-theme] .v2-soc-i::after{font:600 9.5px/1.2 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme] .v2-soc-i[data-href="instagram"]::after{content:"@mohammadfazilmaniya";letter-spacing:.04em;text-transform:none;font-size:11px}
html[data-theme] .v2-soc-i[data-href="youtube"]::after{content:"Lessons & exam tips"}
html[data-theme] .v2-soc-i[data-href="facebook"]::after{content:"Updates"}
html[data-theme] .v2-soc-i[data-href="whatsappChannel"]::after{content:"WhatsApp channel"}
html[data-theme] .v2-soc-i[href*="courses.html"]::after{content:"On LearnedGuys"}
@media (max-width:900px){html[data-theme][data-theme] .v2-soc{grid-template-columns:1fr 1fr!important}html[data-theme] .v2-soc-k{grid-column:1/-1}}

/* FAQ: numbered question cards, a clear open state, help beside the title */
html[data-theme] #faq .faq-g{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,80px);align-items:start}
@media (max-width:900px){html[data-theme] #faq .faq-g{grid-template-columns:1fr}}
html[data-theme] #faq .sec-head{position:sticky;top:110px}
.faq-cta{margin-top:28px;padding:22px;border-radius:22px;background:linear-gradient(160deg,#235347,#163832 60%,#0B2B26);color:#DAF1DE;box-shadow:0 24px 50px -30px rgb(5 31 32 / .6)}
.faq-cta p{margin:0 0 16px;font-size:.98rem;line-height:1.55;color:rgb(218 241 222 / .88)}
.faq-cta-b{display:flex;flex-wrap:wrap;gap:8px}
html[data-theme] .faq-cta .btn.btn-ghost{background:rgb(255 255 255 / .08)!important;color:#FFFFFF!important;box-shadow:inset 0 0 0 1px rgb(218 241 222 / .3)!important}
html[data-theme] .faq-cta .btn.btn.btn-pri{background:linear-gradient(180deg,#F3F5F6,#CDD2D6)!important;color:#051F20!important}
html[data-theme] #faq .faq{counter-reset:fq;display:grid;gap:10px}
html[data-theme][data-theme] #faq .faq details{counter-increment:fq;margin:0!important;border-radius:20px!important;background:linear-gradient(180deg,#FFFFFF,#F7F8F9)!important;border:1px solid #DDE1E4!important;
  box-shadow:inset 0 1px 0 #fff!important;transition:border-color .3s,box-shadow .3s;overflow:hidden}
html[data-theme="dark"][data-theme] #faq .faq details{background:rgb(255 255 255 / .03)!important;border-color:rgb(201 206 210 / .16)!important;box-shadow:none!important}
html[data-theme][data-theme] #faq .faq details[open]{border-color:#8EB69B!important;box-shadow:0 20px 40px -30px rgb(5 31 32 / .45)!important}
html[data-theme][data-theme] #faq .faq summary{display:grid!important;grid-template-columns:34px minmax(0,1fr) 30px;align-items:center;gap:12px;padding:18px 20px!important;cursor:pointer;list-style:none;
  font:600 1.02rem/1.35 var(--f-display)!important;letter-spacing:-.02em;color:var(--tx)!important}
html[data-theme] #faq .faq summary::-webkit-details-marker{display:none}
html[data-theme] #faq .faq summary::before{content:counter(fq,decimal-leading-zero);font:600 .82rem/1 var(--f-display);color:var(--tx-3)}
html[data-theme][data-theme] #faq .faq summary i{position:relative;width:30px!important;height:30px!important;border-radius:50%!important;background:#EEF7F0!important;box-shadow:inset 0 0 0 1px #C3DCCB!important;transition:transform .35s,background .3s}
html[data-theme="dark"][data-theme] #faq .faq summary i{background:rgb(142 182 155 / .14)!important;box-shadow:inset 0 0 0 1px rgb(142 182 155 / .3)!important}
html[data-theme] #faq .faq summary i::before,html[data-theme] #faq .faq summary i::after{content:""!important;position:absolute;left:50%;top:50%;width:11px;height:1.6px;margin:-.8px 0 0 -5.5px;border-radius:2px;background:var(--em)!important;transition:transform .35s;display:block!important;border:0!important}
html[data-theme] #faq .faq summary i::after{transform:rotate(90deg)}
html[data-theme] #faq .faq details[open] summary i{transform:rotate(180deg);background:#235347!important}
html[data-theme] #faq .faq details[open] summary i::before,html[data-theme] #faq .faq details[open] summary i::after{background:#DAF1DE!important}
html[data-theme] #faq .faq details[open] summary i::after{transform:rotate(0)}
html[data-theme][data-theme] #faq .faq details p{margin:0!important;padding:0 20px 20px 66px!important;font-size:.96rem!important;line-height:1.65!important;color:var(--tx-2)!important}

/* tracker tile: a cleaner grid and a clear figure */
html[data-theme] #tools .xt-track .tool-viz.tv-grid{gap:30px!important}
html[data-theme] #tools .xt-track .tgrid-d{display:grid!important;grid-template-columns:repeat(8,16px)!important;gap:5px!important;padding:16px;border-radius:16px;background:#FFFFFF;border:1px solid #DDE1E4;box-shadow:inset 0 1px 0 #fff}
html[data-theme] #tools .xt-track .tgrid-d i{width:16px!important;height:16px!important;border-radius:5px!important}
html[data-theme] #tools .xt-track .tg-stat{display:grid!important;gap:8px;min-width:150px}
html[data-theme] #tools .xt-track .tg-k{font:600 10px/1 var(--f-body)!important;letter-spacing:.18em;text-transform:uppercase;color:var(--tn-s)!important}
html[data-theme] #tools .xt-track .tg-stat b{font-size:3rem!important}
html[data-theme] #tools .xt-track .tg-bar{display:block;height:6px;border-radius:6px;background:#E4E7E9;overflow:hidden}
html[data-theme] #tools .xt-track .tg-bar i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#235347,#8EB69B)}
html[data-theme] #tools .xt-track .tg-l{display:flex!important;align-items:center;gap:6px;font:600 10px/1 var(--f-body)!important;letter-spacing:.12em;text-transform:uppercase;color:var(--tn-s)!important}
/* portal tile: the student ID as a real card */
html[data-theme][data-theme] #tools .xt .xv-id{position:relative;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:14px!important;
  width:100%;max-width:260px;justify-self:center;aspect-ratio:1.62;min-height:0!important;padding:16px 18px!important;border-radius:16px!important;
  background:radial-gradient(90% 80% at 100% 0%,rgb(142 182 155 / .35),transparent 60%),linear-gradient(150deg,#2E6655,#163832 55%,#0B2B26)!important;
  box-shadow:inset 0 1px 0 rgb(218 241 222 / .18),0 18px 34px -18px rgb(5 31 32 / .6)!important}
html[data-theme] #tools .xv-id .id-av{width:46px!important;height:46px!important;border-radius:50%!important;display:grid;place-items:center;font:600 .95rem/1 var(--f-display)!important;
  color:#051F20!important;background:linear-gradient(160deg,#FFFFFF,#C9CED2)!important;box-shadow:0 0 0 3px rgb(255 255 255 / .12)!important}
html[data-theme] #tools .xv-id .id-t{display:grid;gap:7px}
html[data-theme] #tools .xv-id .id-t b{font:600 .9rem/1 var(--f-display)!important;letter-spacing:.06em;color:#FFFFFF!important}
html[data-theme] #tools .xv-id .id-t i{display:block;height:5px;border-radius:5px;background:rgb(218 241 222 / .3)!important;width:90%}
html[data-theme] #tools .xv-id .id-t i+i{width:60%}
html[data-theme] #tools .xv-id .id-chip{position:absolute;right:16px;bottom:14px;width:32px!important;height:24px!important;border-radius:6px!important;background:linear-gradient(135deg,#F4F6F7,#A9B0B5 50%,#E4E7E9)!important;box-shadow:inset 0 0 0 1px rgb(5 31 32 / .15)!important}
html[data-theme] #tools .xv-id::after{content:"Student ID";position:absolute;left:18px;bottom:14px;font:600 9px/1 var(--f-body);letter-spacing:.2em;text-transform:uppercase;color:#8EB69B}
html[data-theme][data-theme][data-theme] .faq-cta .btn.btn.btn.btn-ghost{background:rgb(255 255 255 / .08)!important;color:#FFFFFF!important;box-shadow:inset 0 0 0 1px rgb(218 241 222 / .35)!important}
html[data-theme] #tools .xt-track .tool-viz.tv-grid{gap:20px!important;justify-content:flex-end!important;padding-right:4px!important}
html[data-theme] #tools .xt-track .tgrid-d{grid-template-columns:repeat(6,15px)!important;gap:5px!important;padding:14px!important}
html[data-theme] #tools .xt-track .tgrid-d i{width:15px!important;height:15px!important}
html[data-theme] #tools .xt-track .tg-stat{min-width:0!important;max-width:150px}
html[data-theme] #tools .xt-track .tg-k{white-space:normal!important;line-height:1.3!important}
html[data-theme] #tools .xt-track .tg-stat b{font-size:2.5rem!important}
html[data-theme] #tools .xt-track .tg-l{flex-wrap:wrap}

/* ==================================================================== v5.5 · Sir Fazil's Assistant: the floating button */
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;height:auto!important;
  padding:7px 20px 7px 7px!important;border-radius:999px!important;border:0!important;cursor:pointer;
  background:radial-gradient(120% 140% at 0% 0%,rgb(142 182 155 / .35),transparent 55%),linear-gradient(160deg,#2E6655 0%,#163832 55%,#0B2B26 100%)!important;
  box-shadow:inset 0 1px 0 rgb(218 241 222 / .22),0 0 0 1px rgb(201 206 210 / .55),0 18px 40px -16px rgb(5 31 32 / .65)!important;color:#FFFFFF!important;
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab:hover{transform:translateY(-2px)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .25),0 0 0 1px #E4E7E9,0 24px 50px -16px rgb(5 31 32 / .7)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .seal{position:relative;width:44px!important;height:44px!important;flex:none;border-radius:50%!important;padding:0!important;background:none!important;box-shadow:0 6px 14px -6px rgb(0 0 0 / .6)!important;border:0!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .seal img{width:100%!important;height:100%!important;border-radius:50%;object-fit:cover;display:block}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .seal::after{content:""!important;position:absolute!important;right:-1px;bottom:1px;top:auto!important;left:auto!important;width:11px!important;height:11px!important;border-radius:50%!important;
  background:#4ADE80!important;box-shadow:0 0 0 2.5px #163832,0 0 10px rgb(74 222 128 / .7)!important;display:block!important;animation:none!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .t{display:grid!important;gap:4px!important;text-align:left;font:600 .98rem/1 var(--f-display)!important;letter-spacing:-.02em!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;white-space:nowrap}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .t::after{content:"Ask about any topic"!important;font:600 9px/1 var(--f-body)!important;letter-spacing:.18em!important;text-transform:uppercase;color:#8EB69B!important;-webkit-text-fill-color:#8EB69B!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab::before,html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab::after{display:none!important}
@media (max-width:760px){html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab{padding:5px 14px 5px 5px!important;gap:9px!important}html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .seal{width:36px!important;height:36px!important}html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .t{font-size:.86rem!important}}

html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .seal::before{display:none!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab>i,html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .fab .dot{display:none!important}

/* ==================================================================== v5.6 · the registration form (after the Sir Xahid Anwar form): glass, steps, validation */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html[data-theme][data-theme][data-theme][data-theme][data-theme] #regForm.rf{position:relative;display:grid!important;gap:18px!important;padding:clamp(22px,2.8vw,34px)!important;border-radius:28px!important;
  background:linear-gradient(160deg,rgb(255 255 255 / .82),rgb(246 247 248 / .66))!important;border:1px solid rgb(255 255 255 / .9)!important;
  box-shadow:0 0 0 1px rgb(169 176 181 / .45),inset 0 1px 0 #fff,0 40px 80px -40px rgb(5 31 32 / .5)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] #regForm.rf{background:linear-gradient(160deg,rgb(18 58 50 / .82),rgb(8 36 32 / .7))!important;border-color:rgb(218 241 222 / .12)!important;
  box-shadow:0 0 0 1px rgb(201 206 210 / .2),inset 0 1px 0 rgb(218 241 222 / .1),0 40px 80px -36px rgb(0 0 0 / .8)!important}
#regForm .rstep{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;border:0;margin:0;padding:0;min-width:0}
#regForm .rstep[hidden]{display:none}
#regForm .rstep.in{animation:rfIn .5s cubic-bezier(.16,1,.3,1)}
@keyframes rfIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
#regForm .full{grid-column:1/-1}
@media (max-width:620px){#regForm .rstep{grid-template-columns:1fr}}

/* the three steps and the progress line */
.rf-steps{display:flex;gap:0;margin:0;padding:0;list-style:none;align-items:center}
.rf-steps li{flex:1;display:flex;align-items:center;gap:9px;font:600 11px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3);transition:color .3s}
.rf-steps li i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font:600 12px/1 var(--f-display);font-style:normal;letter-spacing:0;
  background:#FFFFFF;box-shadow:inset 0 0 0 1px #CDD2D6;color:var(--tx-3);transition:background .35s,color .35s,box-shadow .35s,transform .35s}
html[data-theme="dark"] .rf-steps li i{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(201 206 210 / .25)}
.rf-steps li.on{color:var(--tx)}
.rf-steps li.on i{background:#235347;color:#DAF1DE;box-shadow:0 0 0 4px rgb(142 182 155 / .25);transform:scale(1.06)}
.rf-steps li.done{color:var(--em)}
.rf-steps li.done i{background:#8EB69B;color:transparent;box-shadow:none;position:relative}
.rf-steps li.done i::after{content:"";position:absolute;left:10px;top:7px;width:6px;height:11px;border:solid #051F20;border-width:0 2px 2px 0;transform:rotate(45deg);animation:rfTick .4s cubic-bezier(.16,1,.3,1)}
@keyframes rfTick{from{opacity:0;transform:rotate(45deg) scale(.3)}to{opacity:1;transform:rotate(45deg) scale(1)}}
@media (max-width:520px){.rf-steps li span{display:none}.rf-steps li{flex:none;margin-right:10px}}
.rf-prog{height:4px;border-radius:4px;background:#E4E7E9;overflow:hidden}
html[data-theme="dark"] .rf-prog{background:rgb(255 255 255 / .08)}
.rf-prog i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#235347,#8EB69B,#C9CED2);transition:width .6s cubic-bezier(.16,1,.3,1);box-shadow:0 0 12px rgb(142 182 155 / .6)}

/* fields */
#regForm .field{position:relative;display:grid;gap:7px;min-width:0}
#regForm .field>label,#regForm .lbl{font:600 11px/1.3 var(--f-body)!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--tx-2)!important}
#regForm .field>label small{text-transform:none;letter-spacing:0;font-weight:500;color:var(--tx-3)}
html[data-theme][data-theme][data-theme][data-theme][data-theme] #regForm .field :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),.xsel-btn){width:100%;height:50px!important;padding:0 44px 0 16px!important;border-radius:14px!important;
  font:500 .98rem var(--f-body)!important;color:var(--tx)!important;background:rgb(255 255 255 / .9)!important;border:0!important;
  box-shadow:inset 0 0 0 1px #CDD2D6,inset 0 1px 2px rgb(5 31 32 / .05)!important;transition:box-shadow .25s,background .25s}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] #regForm .field :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),.xsel-btn){background:rgb(5 31 32 / .6)!important;box-shadow:inset 0 0 0 1px rgb(201 206 210 / .22)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] #regForm .field :is(input,.xsel-btn):focus,html[data-theme][data-theme][data-theme][data-theme][data-theme] #regForm .xsel.open .xsel-btn{box-shadow:inset 0 0 0 1.5px #235347,0 0 0 4px rgb(142 182 155 / .25)!important;outline:0}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] #regForm .field :is(input,.xsel-btn):focus{box-shadow:inset 0 0 0 1.5px #8EB69B,0 0 0 4px rgb(142 182 155 / .18)!important}
#regForm .field input::placeholder{color:var(--tx-3);opacity:.7}
/* valid: a green tick pops in; invalid: a red edge and the message slides down */
#regForm .field::after{content:"";position:absolute;right:16px;top:calc(18px + 25px);width:18px;height:18px;margin-top:-9px;border-radius:50%;background:#235347;opacity:0;transform:scale(.4);transition:opacity .25s,transform .35s cubic-bezier(.34,1.56,.64,1);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center/contain;}
#regForm .field::before{content:"";position:absolute;right:21.5px;top:calc(18px + 25px);width:5px;height:9px;margin-top:-6px;border:solid #DAF1DE;border-width:0 2px 2px 0;transform:rotate(45deg) scale(.4);opacity:0;z-index:2;transition:opacity .25s,transform .35s cubic-bezier(.34,1.56,.64,1);pointer-events:none}
#regForm .field.ok::after{opacity:1;transform:scale(1)}
#regForm .field.ok::before{opacity:1;transform:rotate(45deg) scale(1)}
#regForm .field.full::after,#regForm .field.full::before,#regForm .field:has(select)::after,#regForm .field:has(select)::before{display:none}
#regForm .err{display:block;max-height:0;overflow:hidden;opacity:0;font-size:12.5px;line-height:1.4;color:#B4233A;transition:max-height .35s,opacity .3s,margin .3s}
html[data-theme="dark"] #regForm .err{color:#FF9AA8}
#regForm .field.bad .err{max-height:60px;opacity:1}
html[data-theme][data-theme][data-theme][data-theme][data-theme] #regForm .field.bad :is(input,.xsel-btn,.drop){box-shadow:inset 0 0 0 1.5px #C8334B,0 0 0 4px rgb(200 51 75 / .12)!important}
#regForm .shake{animation:rfShake .42s}
@keyframes rfShake{20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}

/* choices as pills */
.rf-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;border-radius:16px;background:rgb(255 255 255 / .7);box-shadow:inset 0 0 0 1px #CDD2D6}
html[data-theme="dark"] .rf-seg{background:rgb(5 31 32 / .5);box-shadow:inset 0 0 0 1px rgb(201 206 210 / .2)}
.rf-seg-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rf-seg label{position:relative;cursor:pointer}
.rf-seg input{position:absolute;opacity:0;pointer-events:none}
.rf-seg span{display:grid;place-items:center;min-height:42px;padding:0 10px;border-radius:12px;text-align:center;font:600 .9rem/1.2 var(--f-body);color:var(--tx-2);transition:background .3s,color .3s,box-shadow .3s}
.rf-seg label:hover span{background:rgb(142 182 155 / .14)}
.rf-seg input:checked+span{background:linear-gradient(180deg,#2E6655,#163832);color:#FFFFFF;box-shadow:inset 0 1px 0 rgb(218 241 222 / .2),0 8px 18px -10px rgb(5 31 32 / .6)}
.rf-seg input:focus-visible+span{outline:2px solid #8EB69B;outline-offset:2px}

/* the slip */
#regForm .drop{position:relative;display:block;cursor:pointer;border-radius:18px;padding:22px;text-align:center;background:rgb(255 255 255 / .6);
  border:1.5px dashed #A9B0B5;transition:border-color .25s,background .25s,transform .25s}
html[data-theme="dark"] #regForm .drop{background:rgb(5 31 32 / .4);border-color:rgb(201 206 210 / .35)}
#regForm .drop:hover,#regForm .drop.over{border-color:#235347;background:rgb(218 241 222 / .45);transform:translateY(-1px)}
#regForm .drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
#regForm .drop-empty{display:grid;justify-items:center;gap:6px}
#regForm .drop-empty[hidden],#regForm .drop-file[hidden]{display:none}
#regForm .drop-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(180deg,#2E6655,#163832);color:#DAF1DE;margin-bottom:4px}
#regForm .drop-ic svg{width:22px;height:22px}
#regForm .drop-empty b{font:600 1rem var(--f-display);color:var(--tx)}
#regForm .drop-empty small{font-size:12.5px;color:var(--tx-3)}
#regForm .drop-file{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;text-align:left}
#regForm .drop-thumb{width:56px;height:56px;border-radius:12px;background:#E4E7E9 center/cover;display:grid;place-items:center;font:700 11px var(--f-body);color:#235347}
#regForm .drop-meta{display:grid;gap:3px;min-width:0}
#regForm .drop-meta b{font:600 .92rem var(--f-body);color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#regForm .drop-meta small{font-size:12px;color:var(--em)}
#regForm .drop-x{font:600 11px var(--f-body);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-2);padding:8px 12px;border-radius:99px;box-shadow:inset 0 0 0 1px #CDD2D6}

/* review, tick box, note, done */
.rf-review dl{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin:8px 0 0;padding:6px 16px;border-radius:16px;background:rgb(255 255 255 / .6);box-shadow:inset 0 0 0 1px #DDE1E4}
html[data-theme="dark"] .rf-review dl{background:rgb(5 31 32 / .4);box-shadow:inset 0 0 0 1px rgb(201 206 210 / .16)}
.rf-review dl div{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid #E7EAEC}
html[data-theme="dark"] .rf-review dl div{border-bottom-color:rgb(201 206 210 / .12)}
.rf-review dt{font:600 10px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
.rf-review dd{margin:0;font:600 .92rem/1.3 var(--f-body);color:var(--tx)}
.rf-check{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start;cursor:pointer;font-size:.92rem;line-height:1.5;color:var(--tx-2)}
.rf-check input{position:absolute;opacity:0}
.rf-box{width:24px;height:24px;border-radius:8px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px #A9B0B5;position:relative;transition:background .25s,box-shadow .25s}
html[data-theme="dark"] .rf-box{background:rgb(5 31 32 / .5);box-shadow:inset 0 0 0 1.5px rgb(201 206 210 / .4)}
.rf-box::after{content:"";position:absolute;left:8px;top:4px;width:6px;height:11px;border:solid #DAF1DE;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.rf-check input:checked+.rf-box{background:linear-gradient(180deg,#2E6655,#163832);box-shadow:0 6px 14px -8px rgb(5 31 32 / .6)}
.rf-check input:checked+.rf-box::after{transform:rotate(45deg) scale(1)}
.rf-check input:focus-visible+.rf-box{outline:2px solid #8EB69B;outline-offset:2px}
#regForm .rf-agree-err{grid-column:1/-1;margin-top:-6px}
#regForm.agree-bad .rf-agree-err{max-height:60px;opacity:1}
#regForm.agree-bad .rf-box{box-shadow:inset 0 0 0 1.5px #C8334B,0 0 0 4px rgb(200 51 75 / .12)}
.rf-note{margin:0;font-size:12.5px;color:var(--tx-3);text-align:center}
#regForm .reg-nav{display:flex;justify-content:space-between;gap:10px}
#regForm .reg-nav #rNext{margin-left:auto;min-width:170px}
#regForm .reg-done{display:grid;justify-items:center;text-align:center;gap:10px;padding:24px 8px;animation:rfIn .6s cubic-bezier(.16,1,.3,1)}
#regForm .reg-done[hidden]{display:none}
#regForm .reg-done .tick{position:relative;width:72px;height:72px;border-radius:50%;background:linear-gradient(160deg,#2E6655,#163832);box-shadow:0 0 0 8px rgb(142 182 155 / .2),0 20px 40px -18px rgb(5 31 32 / .6);animation:rfPop .6s cubic-bezier(.34,1.56,.64,1)}
#regForm .reg-done .tick::after{content:"";position:absolute;left:28px;top:18px;width:14px;height:26px;border:solid #DAF1DE;border-width:0 3px 3px 0;transform:rotate(45deg)}
@keyframes rfPop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
#regForm .reg-done .h3{font-size:1.7rem!important;margin:8px 0 0!important}
#regForm .reg-done p{max-width:40ch;color:var(--tx-2);margin:0}
#regForm .link-btn{background:none;border:0;cursor:pointer;font:600 11px var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--em);padding:8px;border-bottom:1px solid currentColor}
#regForm .reg-steps,#regForm #rErr{display:none!important}

/* themed dropdown lists inside forms */
html[data-theme][data-theme][data-theme] .xsel-list{border-radius:16px!important;padding:6px!important;background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;
  box-shadow:0 0 0 1px #CDD2D6,0 24px 50px -20px rgb(5 31 32 / .4)!important}
html[data-theme="dark"][data-theme][data-theme] .xsel-list{background:linear-gradient(180deg,#123A32,#0B2B26)!important;box-shadow:0 0 0 1px rgb(201 206 210 / .22),0 24px 50px -20px rgb(0 0 0 / .8)!important}
html[data-theme][data-theme][data-theme] .xsel-list li{border-radius:10px!important;padding:10px 12px!important;font:500 .92rem var(--f-body)!important;color:var(--tx)!important}
html[data-theme][data-theme][data-theme] .xsel-list li.act,html[data-theme][data-theme][data-theme] .xsel-list li:hover{background:rgb(142 182 155 / .18)!important}
html[data-theme][data-theme][data-theme] .xsel-list li[aria-selected="true"]{background:linear-gradient(180deg,#2E6655,#163832)!important;color:#FFFFFF!important}
html[data-theme][data-theme] #regForm .xsel-btn .ph{color:var(--tx-3)}
html[data-theme][data-theme] #regForm .rf-seg span{text-transform:none!important;letter-spacing:-.005em!important;font:600 .92rem/1.2 var(--f-body)!important}
html[data-theme][data-theme] #regForm .rf-seg label{text-transform:none!important;letter-spacing:0!important}
html[data-theme][data-theme] #regForm .rf-check span:last-child{text-transform:none;letter-spacing:0}

/* ==================================================================== v5.7 · AI checker page */
/* hero: Sir Fazil at his desk, framed in silver, with the marks as clean chips */
html[data-theme] .phero-art{position:relative}
html[data-theme][data-theme] .phero-art .ph{position:relative;aspect-ratio:4/4.6!important;border-radius:30px!important;overflow:hidden;padding:0!important;
  background:#0B2B26!important;border:0!important;box-shadow:0 0 0 1px #CDD2D6,0 0 0 8px rgb(255 255 255 / .7),0 0 0 9px rgb(169 176 181 / .4),0 40px 80px -40px rgb(5 31 32 / .55)!important}
html[data-theme="dark"][data-theme] .phero-art .ph{box-shadow:0 0 0 1px rgb(201 206 210 / .3),0 0 0 8px rgb(18 58 50 / .8),0 0 0 9px rgb(201 206 210 / .15),0 40px 80px -36px rgb(0 0 0 / .8)!important}
html[data-theme][data-theme] .phero-art .ph img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 22%!important;filter:none!important;opacity:1!important}
html[data-theme][data-theme] .phero-art .ph::after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,transparent,rgb(5 31 32 / .82));pointer-events:none}
html[data-theme][data-theme] .phero-art .ph-c{position:absolute;left:22px;bottom:20px;z-index:2;display:grid;gap:6px;background:none!important;padding:0!important;box-shadow:none!important;border:0!important}
html[data-theme] .phero-art .ph-cap{font:600 10.5px/1 var(--f-body);letter-spacing:.2em;text-transform:uppercase;color:#8EB69B}
html[data-theme] .phero-art .ph-c b{font:600 1.3rem/1.15 var(--f-display);letter-spacing:-.03em;color:#FFFFFF}
html[data-theme][data-theme] .phero-art .float{position:absolute!important;z-index:3;display:grid!important;gap:3px!important;padding:12px 16px!important;border-radius:16px!important;min-width:170px;animation:none!important;
  background:linear-gradient(180deg,#FFFFFF,#F4F6F7)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 18px 40px -18px rgb(5 31 32 / .45)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme="dark"][data-theme] .phero-art .float{background:linear-gradient(180deg,#123A32,#0B2B26)!important;border-color:rgb(201 206 210 / .22)!important}
html[data-theme] .phero-art .float span{font:600 9.5px/1 var(--f-body)!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--em)!important}
html[data-theme] .phero-art .float b{font:600 1.7rem/1 var(--f-display)!important;letter-spacing:-.04em!important;color:var(--tx)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] .phero-art .float small{font-size:12px;color:var(--tx-3)}
html[data-theme][data-theme] .phero-art .f-a{top:12%!important;left:-9%!important;right:auto!important;bottom:auto!important}
html[data-theme][data-theme] .phero-art .f-b{top:40%!important;right:-8%!important;left:auto!important;bottom:auto!important}
html[data-theme][data-theme] .phero-art .f-c{bottom:22%!important;left:-7%!important;top:auto!important;right:auto!important;background:linear-gradient(160deg,#2E6655,#163832)!important;border-color:transparent!important}
html[data-theme] .phero-art .f-c span{color:#8EB69B!important}
html[data-theme] .phero-art .f-c b{color:#FFFFFF!important;font-size:1.25rem!important;display:flex!important;align-items:center;gap:8px}
html[data-theme] .phero-art .f-c b::before{content:"";width:18px;height:18px;border-radius:50%;background:#8EB69B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23051F20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
html[data-theme] .phero-art .f-c small{color:rgb(218 241 222 / .75)!important}
@media (max-width:760px){html[data-theme][data-theme] .phero-art .f-a{left:-2%!important}html[data-theme][data-theme] .phero-art .f-b{right:-2%!important}html[data-theme][data-theme] .phero-art .f-c{left:-2%!important}html[data-theme][data-theme] .phero-art .float{min-width:0;padding:9px 12px!important}html[data-theme] .phero-art .float b{font-size:1.3rem!important}}

/* how it works: a numbered track, five steps, one line through them */
  color:#235347!important;background:linear-gradient(180deg,#FFFFFF,#EEF1F2)!important;box-shadow:0 0 0 1px #CDD2D6,0 0 0 6px var(--bg),0 12px 24px -14px rgb(5 31 32 / .4)!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important}


/* what it can check: a clean three-column list with ticks */
html[data-theme][data-theme] #modes .checks{padding:clamp(22px,2.6vw,32px)!important;border-radius:26px!important;background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;box-shadow:inset 0 1px 0 #fff,0 24px 50px -36px rgb(5 31 32 / .4)!important}
html[data-theme="dark"][data-theme] #modes .checks{background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:none!important}
html[data-theme] #modes .checks .h4{font:600 1.35rem/1.2 var(--f-display)!important;letter-spacing:-.03em;margin:0 0 18px!important;color:var(--tx)!important}
html[data-theme][data-theme] #modes .check-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0 28px!important;margin:0!important;padding:0!important;list-style:none}
@media (max-width:900px){html[data-theme][data-theme] #modes .check-list{grid-template-columns:1fr 1fr!important}}
@media (max-width:560px){html[data-theme][data-theme] #modes .check-list{grid-template-columns:1fr!important}}
html[data-theme][data-theme] #modes .check-list li{display:flex!important;align-items:center;gap:12px;padding:13px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #E4E7E9!important;border-radius:0!important;
  background:none!important;box-shadow:none!important;font:500 .95rem/1.35 var(--f-body)!important;color:var(--tx)!important}
html[data-theme="dark"][data-theme] #modes .check-list li{border-bottom-color:rgb(201 206 210 / .12)!important}
html[data-theme][data-theme] #modes .check-list li::before{content:""!important;flex:none;width:22px;height:22px;border-radius:50%;border:0!important;transform:none!important;position:static!important;
  background:#235347 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23DAF1DE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat!important}
html[data-theme][data-theme] #modes .check-list li:nth-last-child(-n+2){font-weight:600!important}

/* ==================================================================== v5.8 · phones: the method stack, a tidier hero, slim figures */
/* the stack on phones: same rise and pile as on laptops, cards sized for the screen */
@media (max-width:760px){
  html[data-theme] :is(#method,.stepdeck) .v2-pile.v2-pile[data-stack]{margin-inline:0!important;padding:0!important;overflow:visible!important;grid-auto-columns:auto!important}
  html[data-theme] :is(#method,.stepdeck) .v2-pile.v2-pile[data-stack]>.proc-s.card{width:auto!important;min-width:0!important;scroll-snap-align:none!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s.card{padding:22px 20px 20px!important;border-radius:24px!important;gap:10px!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn{flex-direction:row!important;align-items:flex-end!important;justify-content:space-between!important;min-height:0!important;padding:0!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s .pn b{font-size:4.6rem!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s h3{font-size:1.45rem!important;line-height:1.1!important;margin:6px 0 0!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s>p{font-size:.92rem!important;margin:0!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s ul li{padding:10px 0!important;font-size:.86rem!important}
  html[data-theme] :is(#method,.stepdeck) .v2-pile-track>.v2-pile.v2-pile[data-stack]{top:max(84px,calc(50vh - var(--pile-h,300px) / 2 + 30px))!important}
}

/* figures: a slimmer panel on laptops */
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts{border-radius:16px!important;padding:2px!important;box-shadow:inset 0 1px 0 #fff,0 14px 30px -26px rgb(5 31 32 / .35)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{padding:13px 16px 12px!important}
html[data-theme][data-theme] .hero-facts dt{font-size:clamp(1.8rem,1.3rem + 1.1vw,2.3rem)!important}
html[data-theme][data-theme] .hero-facts dd{margin-top:6px!important;font-size:10px!important}

/* the hero on phones: everything a size smaller and on one clean rhythm */
@media (max-width:560px){
  html[data-theme] .hero-copy .display{font-size:clamp(2.5rem,11.5vw,3.1rem)!important;line-height:1!important;letter-spacing:-.048em!important}
  html[data-theme] .hero-copy .eyebrow{font-size:10px!important;letter-spacing:.18em!important}
  html[data-theme] .hero-copy .lede{font-size:.98rem!important;line-height:1.6!important;margin-top:16px!important}
  html[data-theme] .hero-cta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:22px!important}
  html[data-theme] .hero-cta .btn{width:100%!important;min-width:0!important;height:48px!important;padding:0 6px 0 14px!important;font-size:10.5px!important;letter-spacing:.06em!important;justify-content:space-between!important}
  html[data-theme] .hero-cta .btn>svg,html[data-theme] .hero-cta .btn .arr{flex:none}
  /* figures: no box, a row between silver hairlines */
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts{margin-top:22px!important;border:0!important;border-radius:0!important;padding:0!important;background:none!important;box-shadow:none!important;
    border-top:1px solid #D5DADD!important;border-bottom:1px solid #D5DADD!important}
  html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] .hero-facts{border-top-color:rgb(201 206 210 / .2)!important;border-bottom-color:rgb(201 206 210 / .2)!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div{padding:12px 6px 11px 0!important}
  html[data-theme][data-theme][data-theme][data-theme][data-theme] .hero-facts>div+div{padding-left:12px!important}
  html[data-theme][data-theme] .hero-facts dt{font-size:1.5rem!important;letter-spacing:-.045em!important}
  html[data-theme][data-theme] .hero-facts dd{font-size:8.5px!important;letter-spacing:.1em!important;line-height:1.35!important;margin-top:5px!important}
  html[data-theme][data-theme][data-theme] .hcodes{margin-top:16px!important;gap:10px!important}
  html[data-theme][data-theme] .hcodes .hcp b{font-size:1.3rem!important}
  html[data-theme][data-theme] .hcodes .hcp small{font-size:9px!important}
  html[data-theme] .hcodes .hbis{font-size:1.3rem!important;padding:12px!important;border-radius:14px!important}
}
html[data-theme][data-theme][data-theme] .phero-art .ph::after{height:50%!important;background:linear-gradient(180deg,transparent,rgb(5 31 32 / .55) 40%,rgb(5 31 32 / .92))!important;z-index:1!important;opacity:1!important}
html[data-theme][data-theme][data-theme] .phero-art .ph-c{z-index:2!important;opacity:1!important;color:#fff}
html[data-theme][data-theme][data-theme] .phero-art .ph::before{display:none!important}

/* ==================================================================== v5.9 · inner pages: portal, parents, past papers, crash course */
/* one premium card for the inner pages */
html[data-theme][data-theme][data-theme][data-theme][data-theme] :is(.pp-session,.pp-bar,.pp-paper,.trk,.tm-demo,.prac,.cc-c,.cc-next,.dash-side,.pa-empty,.mine-row){
  border-radius:24px!important;background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;border:1px solid #CDD2D6!important;
  box-shadow:inset 0 1px 0 #fff,0 22px 46px -34px rgb(5 31 32 / .42)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] :is(.pp-session,.pp-bar,.pp-paper,.trk,.tm-demo,.prac,.cc-c,.cc-next,.dash-side,.pa-empty,.mine-row){
  background:linear-gradient(180deg,#0F332B,#0B2B26)!important;border-color:rgb(201 206 210 / .2)!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .07),0 22px 46px -30px rgb(0 0 0 / .7)!important}
html[data-theme] :is(.pp-session,.pp-bar,.cc-c,.cc-next,.trk,.tm-demo) .sheen{display:none!important}

/* sign-in and slip forms: glass over the silver shapes, the homepage field style */
html[data-theme][data-theme][data-theme][data-theme][data-theme] :is(.auth-card,.vf).v2-form{border-radius:28px!important;padding:clamp(22px,2.6vw,32px)!important;
  background:linear-gradient(160deg,rgb(255 255 255 / .8),rgb(246 247 248 / .62))!important;border:1px solid rgb(255 255 255 / .9)!important;
  box-shadow:0 0 0 1px rgb(169 176 181 / .45),inset 0 1px 0 #fff,0 40px 80px -40px rgb(5 31 32 / .5)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] :is(.auth-card,.vf).v2-form{background:linear-gradient(160deg,rgb(18 58 50 / .82),rgb(8 36 32 / .7))!important;border-color:rgb(218 241 222 / .12)!important;
  box-shadow:0 0 0 1px rgb(201 206 210 / .2),inset 0 1px 0 rgb(218 241 222 / .1),0 40px 80px -36px rgb(0 0 0 / .8)!important}
html[data-theme] .v2-form .field>label{font:600 11px/1.3 var(--f-body)!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--tx-2)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .v2-form .field :is(input:not([type=file]):not([type=checkbox]):not([type=radio]),textarea,.xsel-btn){height:50px;border-radius:14px!important;padding:0 16px!important;
  font:500 .98rem var(--f-body)!important;background:rgb(255 255 255 / .9)!important;box-shadow:inset 0 0 0 1px #CDD2D6,inset 0 1px 2px rgb(5 31 32 / .05)!important;border:0!important;color:var(--tx)!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme][data-theme] .v2-form .field :is(input:not([type=file]),textarea,.xsel-btn){background:rgb(5 31 32 / .6)!important;box-shadow:inset 0 0 0 1px rgb(201 206 210 / .22)!important}
html[data-theme][data-theme][data-theme][data-theme][data-theme][data-theme] .v2-form .field :is(input,textarea,.xsel-btn):focus{box-shadow:inset 0 0 0 1.5px #235347,0 0 0 4px rgb(142 182 155 / .25)!important;outline:0}
html[data-theme] .v2-form .h3{font-size:1.6rem!important;letter-spacing:-.035em!important}
html[data-theme] .v2-form .ferr:not(:empty){padding:10px 12px;border-radius:12px;background:rgb(200 51 75 / .08);color:#B4233A;font-size:.88rem}
html[data-theme][data-theme] .vf .slip{border-radius:18px!important;border:1.5px dashed #A9B0B5!important;background:rgb(255 255 255 / .6)!important;box-shadow:none!important;padding:16px!important}
html[data-theme="dark"][data-theme] .vf .slip{background:rgb(5 31 32 / .4)!important;border-color:rgb(201 206 210 / .35)!important}
html[data-theme][data-theme] .vf .slip:hover{border-color:#235347!important;background:rgb(218 241 222 / .45)!important}
html[data-theme] .vf .slip-ic{background:linear-gradient(180deg,#2E6655,#163832)!important;color:#DAF1DE!important;border-radius:12px!important}

/* what the login opens: four small cards with a tick */
html[data-theme] .perks{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;margin-top:26px!important;padding:0;list-style:none}
html[data-theme][data-theme] .perks li{position:relative;display:grid;gap:4px;padding:16px 16px 16px 52px!important;border:1px solid #DDE1E4!important;border-left:1px solid #DDE1E4!important;border-radius:18px!important;
  background:linear-gradient(180deg,#FFFFFF,#F6F7F8)!important;box-shadow:0 14px 30px -26px rgb(5 31 32 / .4)!important}
html[data-theme="dark"][data-theme] .perks li{background:rgb(255 255 255 / .04)!important;border-color:rgb(201 206 210 / .16)!important}
html[data-theme] .perks li::before{content:"";position:absolute;left:16px;top:17px;width:24px;height:24px;border-radius:8px;
  background:#235347 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23DAF1DE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
html[data-theme] .perks li b{font:600 1rem/1.2 var(--f-display)!important;letter-spacing:-.02em;color:var(--tx)!important}
html[data-theme] .perks li span{font-size:.86rem;line-height:1.45;color:var(--tx-2)}
@media (max-width:520px){html[data-theme] .perks{grid-template-columns:1fr}}

/* past papers: each paper group a clean card, rows on hairlines, quiet buttons */
html[data-theme] .pp-paper{padding:20px 22px!important}
html[data-theme] .pp-ph{display:flex!important;align-items:center;gap:14px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid #E4E7E9}
html[data-theme="dark"] .pp-ph{border-bottom-color:rgb(201 206 210 / .14)}
html[data-theme][data-theme] .pp-ph .pp-n{font:600 2.4rem/1 var(--f-display)!important;letter-spacing:-.05em;color:transparent!important;-webkit-text-stroke:1.3px #235347!important;background:none!important}
html[data-theme="dark"][data-theme] .pp-ph .pp-n{-webkit-text-stroke-color:#8EB69B!important}
html[data-theme] .pp-ph h3{font:600 1.15rem/1.25 var(--f-display)!important;letter-spacing:-.025em;margin:0!important;color:var(--tx)!important}
html[data-theme] .pp-ph small{font:600 10px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme][data-theme] .pp-paper .pv{padding:12px 0!important;border-bottom:1px solid #EEF0F1!important;background:none!important}
html[data-theme="dark"][data-theme] .pp-paper .pv{border-bottom-color:rgb(201 206 210 / .1)!important}
html[data-theme][data-theme] .pp-paper .pv:last-child{border-bottom:0!important}
html[data-theme] .pp-paper .pv .code{font:600 .95rem var(--f-display)!important;color:var(--tx)!important}
html[data-theme][data-theme] .pp-paper .dl :is(a,button){border-radius:10px!important;font:600 11px/1 var(--f-body)!important;letter-spacing:.06em!important;padding:9px 11px!important;background:#FFFFFF!important;color:var(--tx)!important;box-shadow:inset 0 0 0 1px #CDD2D6!important;border:0!important}
html[data-theme="dark"][data-theme] .pp-paper .dl :is(a,button){background:rgb(255 255 255 / .05)!important;box-shadow:inset 0 0 0 1px rgb(201 206 210 / .22)!important}
html[data-theme][data-theme] .pp-paper .dl a.qp{background:linear-gradient(180deg,#2E6655,#163832)!important;color:#FFFFFF!important;box-shadow:none!important}
html[data-theme][data-theme] .pp-paper :is(.st,.time-it){border-radius:99px!important;font:600 10.5px/1 var(--f-body)!important;letter-spacing:.08em!important;padding:8px 12px!important;background:#F3F5F6!important;box-shadow:inset 0 0 0 1px #DDE1E4!important;color:var(--tx-2)!important;border:0!important}
html[data-theme="dark"][data-theme] .pp-paper :is(.st,.time-it){background:rgb(255 255 255 / .04)!important;box-shadow:inset 0 0 0 1px rgb(201 206 210 / .18)!important}
html[data-theme] .pp-list{display:grid;gap:14px}
html[data-theme] .pp-session b{font:600 1.6rem/1.1 var(--f-display)!important;letter-spacing:-.035em}
/* the timer: glass with a silver ring */
html[data-theme][data-theme][data-theme][data-theme][data-theme] .tm-demo{background:linear-gradient(160deg,rgb(255 255 255 / .82),rgb(246 247 248 / .66))!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}
html[data-theme="dark"][data-theme][data-theme][data-theme][data-theme] .tm-demo{background:linear-gradient(160deg,rgb(18 58 50 / .82),rgb(8 36 32 / .7))!important}

/* crash course: numbered topic cards and the next-course strip */
html[data-theme] .cc-c{padding:26px!important;display:grid!important;align-content:start;gap:10px}
html[data-theme][data-theme] .cc-c .cc-n{font:600 3.2rem/.9 var(--f-display)!important;letter-spacing:-.05em;color:transparent!important;-webkit-text-stroke:1.3px #235347!important;background:none!important}
html[data-theme="dark"][data-theme] .cc-c .cc-n{-webkit-text-stroke-color:#8EB69B!important}
html[data-theme] .cc-c .h3{font-size:1.35rem!important;letter-spacing:-.03em!important;margin:4px 0 0!important}
html[data-theme] .cc-c p{font-size:.93rem;line-height:1.6;color:var(--tx-2);margin:0}
html[data-theme][data-theme] .cc-c ul{margin:6px 0 0!important;padding:0!important;list-style:none;display:grid;gap:0;border-top:1px solid #E4E7E9}
html[data-theme="dark"][data-theme] .cc-c ul{border-top-color:rgb(201 206 210 / .14)}
html[data-theme][data-theme] .cc-c li{display:flex;align-items:center;gap:10px;padding:10px 0!important;border-bottom:1px solid #EEF0F1;font-size:.9rem;color:var(--tx)}
html[data-theme="dark"][data-theme] .cc-c li{border-bottom-color:rgb(201 206 210 / .1)}
html[data-theme][data-theme] .cc-c li::before{content:""!important;flex:none;width:18px;height:18px;border-radius:50%;position:static!important;border:0!important;transform:none!important;
  background:#235347 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23DAF1DE' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat!important}
html[data-theme] .cc-next{padding:20px 24px!important}
html[data-theme][data-theme] .cc-next .cc-date{width:72px;height:72px;border-radius:18px!important;display:grid;place-items:center;align-content:center;background:linear-gradient(160deg,#2E6655,#163832)!important;color:#FFFFFF!important;box-shadow:inset 0 1px 0 rgb(218 241 222 / .2)!important}
html[data-theme] .cc-next .cc-date b{font:600 1.4rem/1 var(--f-display);color:#FFFFFF}
html[data-theme] .cc-next .cc-date span{font:600 9px/1 var(--f-body);letter-spacing:.16em;text-transform:uppercase;color:#8EB69B}

/* ================================================================== v40 · MOBILE PASS (≤760px) */
@media (max-width:760px){
  /* hero: title, then the photo on the first screen, then a short line, small buttons, figures and codes */
  .hero .m-hide{display:none!important}
  html[data-theme] .hero{padding-top:84px!important;padding-bottom:10px!important;min-height:0!important}
  html[data-theme] .hero .hero-g{display:flex!important;flex-direction:column!important;gap:0!important}
  html[data-theme] .hero .hero-copy{display:contents!important}
  html[data-theme] .hero .eyebrow{order:1;margin:0 0 8px!important;font-size:9.5px!important}
  html[data-theme] .hero .display{order:2;margin:0!important;font-size:clamp(2rem,9.6vw,2.5rem)!important;line-height:1.02!important}
  html[data-theme] .hero .hero-fig{order:3;width:100%!important;height:330px!important;min-height:0!important;margin:6px auto 4px!important;max-width:360px}
  html[data-theme] .hero .lede{order:4;margin:6px 0 0!important;font-size:.92rem!important;line-height:1.5!important;max-width:none}
  html[data-theme] .hero .hero-cta{order:5;margin-top:14px!important}
  html[data-theme] .hero .hero-facts{order:6;margin-top:16px!important}
  html[data-theme] .hero .hcodes{order:7;margin-top:12px!important}
  /* photo stage */
  html[data-theme] .hero-fig .portrait.pt-cut{position:absolute!important;inset:0 6% 0!important;width:auto!important;height:100%!important}
  html[data-theme] .hero-fig .hero-badge{width:64px!important;height:64px!important;left:2%!important;top:6%!important}
  html[data-theme] .hero-fig .fl{display:none!important}
  html[data-theme] .hero-fig .plate.pc{left:50%!important;right:auto!important;bottom:6px!important;top:auto!important;translate:-50% 0;transform:none!important;width:max-content;max-width:92%;padding:7px 12px 7px 7px!important;gap:9px!important}
  html[data-theme] .hero-fig .plate.pc .pc-av{width:34px!important;height:34px!important}
  html[data-theme] .hero-fig .plate.pc b{font-size:.92rem!important}
  html[data-theme] .hero-fig .plate.pc em{font-size:.66rem!important}
  html[data-theme] .hero-fig .glow{display:none}
  /* buttons: one row, smaller type */
  html[data-theme] .hero .hero-cta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  html[data-theme] .hero .hero-cta .btn{--h:42px!important;width:100%!important;min-width:0!important;padding:0 5px 0 12px!important;font-size:.64rem!important;letter-spacing:.06em!important}
  /* figures: compact */
  html[data-theme] .hero .hero-facts>div{padding:10px 9px!important;gap:4px!important}
  html[data-theme] .hero .hero-facts dt{font-size:1.35rem!important}
  html[data-theme] .hero .hero-facts dd{font-size:.6rem!important;line-height:1.3!important}
  /* codes + Bismillah: one slim row each */
  html[data-theme] .hero .hcodes{grid-template-columns:1fr 1fr!important;gap:8px!important}
  html[data-theme] .hero .hcp{padding:8px 11px!important;gap:3px!important}
  html[data-theme] .hero .hcp b{font-size:1.05rem!important}
  html[data-theme] .hero .hcp small{font-size:7.5px!important}
  html[data-theme] .hero .hbis{grid-column:1/-1;min-height:0!important;padding:6px 12px!important;font-size:1.05rem!important;line-height:1.7!important}
}
@media (max-width:760px){
  html[data-theme] .hero-fig .plate.pc{translate:none!important}
  html[data-theme] .hero-fig .fl{scale:0!important;visibility:hidden!important}
  html[data-theme] .hero :is(.eyebrow,.display){align-self:flex-start!important;max-width:none!important;width:100%!important;text-align:left!important;justify-content:flex-start!important;margin-inline:0!important}
}
@media (max-width:760px){
  html[data-theme] .hero :is(.lede,.hero-cta,.hero-facts,.hcodes){align-self:stretch!important;max-width:none!important;width:auto!important;margin-inline:0!important}
  /* the assistant: just the logo in a round button */
  html[data-theme] .fab.fab{width:54px!important;height:54px!important;min-width:0!important;padding:0!important;border-radius:50%!important;justify-content:center!important;gap:0!important}
  html[data-theme] .fab.fab .t{display:none!important}
  html[data-theme] .fab.fab .seal{width:46px!important;height:46px!important;border-radius:50%!important}
}
@media (max-width:760px){html[data-theme] .fab.fab{overflow:hidden!important}html[data-theme] .fab.fab .t{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important}}
.r-lv{display:none}
@media (max-width:760px){
  /* f.02: the example card trimmed, the four answers as neat swipe cards */
  html[data-theme] .ladder .case-ph{display:none!important}
  html[data-theme] .ladder .case.card{padding:16px!important}
  html[data-theme] .ladder .case-b p{font-size:.86rem!important;line-height:1.6!important}
  html[data-theme] .ladder .case-b .h3{font-size:1.25rem!important;margin-bottom:6px!important}
  html[data-theme] .ladder .meter{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px!important;padding:10px!important;border-radius:14px!important}
  html[data-theme] .ladder .mt-row{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;text-align:center}
  html[data-theme] .ladder .mt-row>span:first-child{font:600 8.5px/1 var(--f-mono);letter-spacing:.1em;color:var(--tx-3)}
  html[data-theme] .ladder .mt-row .mt-bar{height:4px!important;border-radius:4px;width:100%!important}
  html[data-theme] .ladder .mt-row small{font:600 9.5px/1 var(--f-body)!important;color:var(--tx-2)!important}
  html[data-theme] .ans{grid-auto-columns:82%!important;padding:4px 2px 14px!important;margin-top:14px!important}
  html[data-theme] .ans .rung{display:flex!important;flex-direction:column;gap:10px;min-height:0!important;padding:16px!important;border-radius:20px!important;background:#fff!important;border:0!important;box-shadow:0 0 0 1px rgb(14 30 24 / .08),0 14px 30px -22px rgb(14 30 24 / .35)!important}
  html[data-theme] .ans .rung .r-n{order:-1;display:inline-flex;align-self:flex-start;padding:5px 9px;border-radius:8px;background:rgb(14 107 70 / .08);font:600 9.5px/1 var(--f-mono)!important;letter-spacing:.12em;text-transform:uppercase;color:#0e6b46!important}
  html[data-theme] .ans .rung .r-lv{display:grid;gap:6px;order:0;font:600 8.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
  html[data-theme] .ans .rung .r-lv i{display:block;height:4px;border-radius:4px;background:linear-gradient(90deg,#0e6b46 0 calc(var(--l) * 25%),rgb(14 30 24 / .08) 0)}
  html[data-theme] .ans .rung p{margin:0!important;font-size:.88rem!important;line-height:1.55!important;color:var(--tx)!important}
  html[data-theme] .ans .rung small{display:block;margin-top:auto;padding:9px 11px;border-radius:12px;background:#f3f5f4;font-size:.76rem!important;line-height:1.45!important;color:var(--tx-2)!important}
  html[data-theme="dark"] .ans .rung{background:rgb(255 255 255 / .05)!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1)!important}
  html[data-theme="dark"] .ans .rung small{background:rgb(255 255 255 / .06)}
  html[data-theme] .ladder .sec-head .lede{font-size:.9rem!important}
}
@media (max-width:760px){
  /* courses: shorter card text, one tidy chip strip */
  html[data-theme] #courses .notice{display:none!important}
  html[data-theme] .trio__d{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  html[data-theme] .trio__chips{display:flex!important;flex-wrap:nowrap!important;gap:0!important;padding:0!important;border-radius:12px!important;overflow:hidden;background:#f3f5f4!important;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .08)!important;width:100%}
  html[data-theme] .trio__chip,html[data-theme] .trio__chip--acc{flex:1;display:flex!important;align-items:center;justify-content:center;min-height:36px;padding:8px 6px!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:600 9px/1.2 var(--f-mono)!important;letter-spacing:.08em!important;text-transform:uppercase;color:var(--tx-2)!important;text-align:center;white-space:normal}
  html[data-theme] .trio__chip--acc{border-left:1px solid rgb(14 30 24 / .1)!important;color:#0e6b46!important}
  html[data-theme="dark"] .trio__chips{background:rgb(255 255 255 / .06)!important}
  html[data-theme] .trio__mark{opacity:.35!important;scale:.7;transform-origin:100% 100%}
  /* method: less text — title and the three points, a frosted card */
  html[data-theme] :is(#method,.stepdeck) .proc-s>p{display:none!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s.card{background:linear-gradient(180deg,rgb(255 255 255 / .86),rgb(246 250 248 / .78))!important;-webkit-backdrop-filter:blur(14px) saturate(150%)!important;backdrop-filter:blur(14px) saturate(150%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(14 30 24 / .07),0 24px 44px -28px rgb(14 30 24 / .45)!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s ul li{padding:9px 12px!important;font-size:.84rem!important}
  html[data-theme] :is(#method,.stepdeck) .proc-s h3{font-size:1.3rem!important;line-height:1.15!important}
  html[data-theme] #method .sec-head .lede{display:none!important}
}
@media (max-width:760px){
  html[data-theme] .trio__c{height:auto!important;min-height:0!important}
  html[data-theme] .trio__in{height:auto!important;gap:12px!important}
  html[data-theme] .trio__more{display:grid!important;gap:10px;max-height:none!important;opacity:1!important;visibility:visible!important;transform:none!important}
  html[data-theme] .trio__list{display:grid!important;gap:6px!important}
  html[data-theme] .trio__list a:nth-child(n+3){display:none!important}
  html[data-theme] .trio__list a{display:grid!important;gap:3px;padding:9px 11px!important;border-radius:12px!important;background:#f6f8f7!important;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .07)!important}
  html[data-theme] .trio__list em{font:600 .8rem/1.3 var(--f-body)!important;font-style:normal!important;color:var(--tx)!important}
  html[data-theme] .trio__list .trio__meta b{font:500 9px/1 var(--f-mono)!important;letter-spacing:.08em;color:var(--tx-3)!important}
  html[data-theme] .trio__btns{display:flex!important}
  html[data-theme] .trio__btns .btn-ghost{display:none!important}
  html[data-theme] .trio__btns .btn{--h:38px!important;font-size:.64rem!important}
  html[data-theme] .trio__d{-webkit-line-clamp:2}
  html[data-theme] .trio__rail{height:auto!important}
  html[data-theme="dark"] .trio__list a{background:rgb(255 255 255 / .05)!important}
}
@media (max-width:760px){html[data-theme] .trio__mark{display:none!important}}
.zk-tog{display:none}
@media (max-width:760px){
  /* zakat: an example and its answer; the sliders only when asked for */
  html[data-theme] #zakat .sec-head .lede{display:none!important}
  html[data-theme] .be-studio.card{padding:14px!important;gap:12px!important;border-radius:22px!important}
  html[data-theme] .be-studio .be-ctrl{gap:10px!important}
  html[data-theme] .be-studio .seg button{font-size:.72rem!important;padding:8px 4px!important}
  html[data-theme] .be-studio .be-out,html[data-theme] .be-studio .be-say,html[data-theme] .be-studio .note-sm,html[data-theme] .be-studio .zf-40{display:none!important}
  html[data-theme] .be-studio:not(.zk-open) .sl{display:none!important}
  html[data-theme] .be-studio .sl:has(#sNisab){display:none!important}
  .zk-tog{display:flex;align-items:center;justify-content:center;gap:6px;height:38px;border:0;border-radius:12px;background:#f3f5f4;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .08);font:600 10px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tx-2);cursor:pointer}
  .zk-tog svg{width:14px;height:14px;transition:rotate .3s}
  .zk-open .zk-tog svg{rotate:180deg}
  html[data-theme="dark"] .zk-tog{background:rgb(255 255 255 / .06);color:#cfe0d6}
  html[data-theme] .be-studio .zf-row:not(.zf-net){display:none!important}
  html[data-theme] .be-studio .zf{padding:0 0 26px!important;gap:0!important}
  html[data-theme] .be-studio .zf-due{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:0!important;padding:14px 16px!important;border-radius:16px!important}
  html[data-theme] .be-studio .zf-dt{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;width:100%}
  html[data-theme] .be-studio .zf-dt small{grid-column:1/-1}
  html[data-theme] .be-studio .zf-dt b{font-size:1.6rem!important;line-height:1!important}
  html[data-theme] .be-studio .zf-dt span{font-size:.7rem!important;line-height:1.3!important;text-align:right;max-width:120px}
}
@media (max-width:760px){
  html[data-theme][data-theme] #zakat .be-studio:not(.zk-open) .be-ctrl .sl{display:none!important}
  html[data-theme][data-theme] #zakat .be-ctrl .sl:has(#sNisab){display:none!important}
  html[data-theme][data-theme] #zakat .zf-row:not(.zf-net){display:none!important}
  html[data-theme][data-theme] #zakat .zf-row.zf-net{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px}
  html[data-theme] #zakat .be-ctrl{gap:10px!important}
  html[data-theme] #zakat .be-fig{border-left:0!important;padding-left:0!important;gap:10px!important}
  html[data-theme] #zakat .be-studio{grid-template-columns:1fr!important}
}
@media (max-width:760px){html[data-theme] #zakat .zf-dt b{white-space:nowrap;font-size:1.5rem!important}html[data-theme] #zakat .be-studio.card{padding:12px!important}}
@media (max-width:760px){
  /* syllabus: six small tiles, two per row; a tap opens the topics */
  html[data-theme] #org .sec-head .lede,html[data-theme] #org .org-count,html[data-theme][data-theme] #org .org-panel{display:none!important}
  html[data-theme] #org .org.card{padding:14px!important}
  html[data-theme] #org .org-top{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px!important;margin-bottom:10px!important}
  html[data-theme] #org .sm-code{padding:8px 12px!important}
  html[data-theme] #org .sm-code b{font-size:1.05rem!important}
  html[data-theme] #org .org-top .seg{width:100%;margin:0!important}
  html[data-theme] #org .org-top .seg button{flex:1;font-size:.72rem!important;padding:8px 4px!important}
  html[data-theme] #org .sm-trays{gap:12px!important}
  html[data-theme] #org .sm-th{margin-bottom:6px!important}
  html[data-theme] #org .sm-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  html[data-theme][data-theme] #org .dept.dept{display:grid!important;grid-template-rows:auto auto auto!important;gap:6px!important;min-height:0!important;padding:12px!important;border-radius:16px!important}
  html[data-theme] #org .dept>b{display:none!important}
  html[data-theme] #org .dept .dh{align-items:center!important}
  html[data-theme] #org .dept .dk{font:600 .82rem/1.2 var(--f-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--tx)!important;padding:0!important}
  html[data-theme] #org .dept .dk i{display:none!important}
  html[data-theme] #org .dept .dn{font-size:1.35rem!important;margin:0!important}
  html[data-theme] #org .dept .dm{grid-template-columns:1fr!important;gap:6px!important}
  html[data-theme] #org .dept .dm small{font-size:8.5px!important}
  html[data-theme] #org .dept::after{content:"Topics →"!important;font:600 8.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
  html[data-theme] #org .sm-row .dept:last-child:nth-child(odd){grid-column:1/-1}
}
.cw-step{display:none}
@media (max-width:760px){
  html[data-theme] #words .sec-head .lede{display:none!important}
  html[data-theme][data-theme] #words .cw-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;perspective:none!important}
  html[data-theme][data-theme] #words .cw.card{position:relative!important;display:flex!important;flex-direction:column;gap:8px;min-height:0!important;height:auto!important;padding:12px!important;margin:0!important;transform:none!important;translate:none!important;border-radius:16px!important;cursor:pointer;top:auto!important}
  html[data-theme] #words .cw p{display:none!important}
  html[data-theme] #words .cw .cw-m{order:-1;position:static!important;font:600 8px/1.2 var(--f-mono)!important;letter-spacing:.1em!important;text-transform:uppercase;color:var(--em)!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
  html[data-theme] #words .cw b{font:600 1rem/1.15 var(--f-display)!important;color:var(--tx)!important;margin:0!important}
  html[data-theme][data-theme] #words .cw .cw-lv{position:static!important;display:flex!important;align-items:center;gap:8px;width:100%!important;height:auto!important;margin-top:auto!important;padding:0!important;background:none!important;border:0!important}
  html[data-theme][data-theme] #words .cw .cw-lv::before{content:"";display:none}
  html[data-theme][data-theme] #words .cw .cw-lv i{position:relative!important;flex:1;display:block!important;height:4px!important;border-radius:4px;background:rgb(14 30 24 / .09)!important;overflow:hidden;inset:auto!important;width:auto!important}
  html[data-theme][data-theme] #words .cw .cw-lv i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--h);border-radius:inherit;background:linear-gradient(90deg,#0e6b46,#3a9a6e)}
  html[data-theme] #words .cw .cw-step{display:inline;font:600 8.5px/1 var(--f-mono);font-style:normal;color:var(--tx-3)}
  html[data-theme] #words .cw.hot .cw-lv i::after{background:linear-gradient(90deg,#0b4f34,#2ec27e)}
  html[data-theme] #words .cw::after{content:none!important}
  .cw-pop{display:grid;gap:12px}
  .cw-pop-m{font:600 9.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
  .cw-pop .h3{margin:0;font:600 1.6rem/1.1 var(--f-display)}
  .cw-pop p{margin:0;font-size:.95rem;line-height:1.6;color:var(--tx-2)}
  .cw-pop-lv{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;border-radius:14px;background:#f3f5f4}
  .cw-pop-lv span,.cw-pop-lv em{font:600 9px/1 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;font-style:normal;color:var(--tx-3)}
  .cw-pop-lv i{display:block;height:5px;border-radius:5px;background:rgb(14 30 24 / .1);overflow:hidden}
  .cw-pop-lv b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0e6b46,#3a9a6e)}
  html[data-theme="dark"] .cw-pop-lv{background:rgb(255 255 255 / .06)}
}
@media (max-width:760px){html[data-theme] #words .cw.hot .cw-step{color:#b8d8c6}html[data-theme][data-theme] #words .cw.hot .cw-lv i{background:rgb(255 255 255 / .15)!important}html[data-theme] #words .cw.hot b{color:#fff!important}html[data-theme] #words .cw.hot .cw-m{color:#9fd6b8!important}}
@media (max-width:760px){
  /* between classes: a tidy two-column grid of small tiles */
  html[data-theme] #tools .sec-head .lede{display:none!important}
  html[data-theme][data-theme] #tools .explore{display:grid!important;grid-template-columns:1fr 1fr!important;grid-auto-rows:auto!important;grid-auto-flow:row dense!important;gap:8px!important}
  html[data-theme][data-theme] #tools .xt.card{grid-column:auto!important;grid-row:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-height:132px!important;height:auto!important;padding:12px!important;border-radius:18px!important}
  html[data-theme][data-theme] #tools .xt.xt-wide,html[data-theme][data-theme] #tools .xt.xt-tall{grid-column:1/-1!important;min-height:0!important}
  html[data-theme] #tools .xt>p,html[data-theme] #tools .xt .xv-steps{display:none!important}
  html[data-theme] #tools .xt:not(.xt-wide):not(.xt-tall) :is(.xt-viz,.tool-viz){display:none!important}
  html[data-theme] #tools .xt .h3{margin:auto 0 0!important;font-size:1rem!important;line-height:1.2!important}
  html[data-theme] #tools .xt.xt-wide .h3,html[data-theme] #tools .xt.xt-tall .h3{font-size:1.15rem!important;margin-top:0!important}
  html[data-theme] #tools .xt .tool-tab{margin:0!important;font-size:8.5px!important;padding:5px 8px!important}
  html[data-theme] #tools .xt .xt-ic{width:30px!important;height:30px!important;top:10px!important;right:10px!important;border-radius:9px!important}
  html[data-theme] #tools .xt .xt-ic svg{width:15px!important;height:15px!important}
  html[data-theme] #tools .xt .link{font-size:9px!important;margin-top:0!important}
  html[data-theme] #tools .xt .xv-plan{display:grid!important;grid-template-columns:1fr 1fr;gap:6px 10px!important;margin:2px 0 0!important;width:100%}
  html[data-theme] #tools .xt .xv-plan li{display:flex!important;align-items:center;gap:8px}
  html[data-theme] #tools .xt .xv-plan b{width:26px!important;height:26px!important;font-size:9px!important}
  html[data-theme] #tools .xt .xv-plan span{font-size:.8rem!important}
  html[data-theme] #tools .xt.xt-tall .xv-mark{display:flex!important;align-items:baseline;gap:12px;width:100%;min-height:0!important;padding:0!important}
  html[data-theme] #tools .xt.xt-tall .xv-mark b{font-size:2rem!important}
  html[data-theme] #tools .xt.xt-tall .xv-mark i{flex:1}
  html[data-theme] #tools .xt.xt-track .tool-viz,html[data-theme] #tools .xt.xt-track .xt-viz{display:none!important}
}
@media (max-width:760px){
  /* mornings: four equal logo tiles, two per row */
  html[data-theme] .sw-morn{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:16px!important;border-radius:22px!important;text-align:left}
  html[data-theme] .sw-morn .sw-mk{border:0!important;padding:0!important;text-align:center}
  html[data-theme][data-theme] .sw-morn .aff-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding:0!important}
  html[data-theme][data-theme] .sw-morn .aff-i{display:grid!important;grid-template-rows:64px auto;justify-items:center;align-items:center;gap:6px;padding:10px 8px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 0 0 1px rgb(14 30 24 / .07)!important;text-align:center;margin:0!important;width:auto!important}
  html[data-theme][data-theme] .sw-morn .aff-i .lg{width:100%!important;height:64px!important;border:0!important;min-width:0!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
  html[data-theme][data-theme] .sw-morn .aff-i .lg img{width:auto!important;height:54px!important;max-width:100%!important;object-fit:contain}
  html[data-theme] .sw-morn .aff-t b{font:600 8.5px/1.25 var(--f-mono)!important;letter-spacing:.08em!important;text-transform:uppercase;white-space:normal!important;color:var(--tx-2)!important}
  html[data-theme] .sw-morn>.link{justify-self:center;margin:0!important}
  html[data-theme="dark"] .sw-morn .aff-i{background:rgb(255 255 255 / .05)!important}
  /* follow band: four equal buttons, icon then label */
  html[data-theme][data-theme] .v2-soc{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:16px!important;border-radius:22px!important}
  html[data-theme] .v2-soc .v2-soc-k{grid-column:1/-1;text-align:center;border:0!important;padding:0 0 4px!important;margin:0!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:54px;padding:10px 12px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 0 0 1px rgb(14 30 24 / .07)!important;text-align:left}
  html[data-theme][data-theme] .v2-soc .v2-soc-i>svg,html[data-theme][data-theme] .v2-soc .v2-soc-i>img{flex:none;width:30px!important;height:30px!important;display:block!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i span{display:block!important;font:600 .85rem/1.15 var(--f-body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--tx)!important}
  html[data-theme] .v2-soc .v2-soc-i span small,html[data-theme] .v2-soc .v2-soc-i span em{display:none!important}
  html[data-theme] .v2-soc .v2-soc-i::after,html[data-theme] .v2-soc .v2-soc-i span::after{content:none!important}
  html[data-theme="dark"] .v2-soc .v2-soc-i{background:rgb(255 255 255 / .05)!important}
}
@media (max-width:760px){
  /* FAQ: the help box sits after the questions, never on top of them */
  html[data-theme][data-theme] #faq .faq-g{display:flex!important;flex-direction:column!important;gap:14px!important}
  html[data-theme][data-theme] #faq .sec-head{display:contents!important}
  html[data-theme][data-theme] #faq .faq{order:5}
  html[data-theme][data-theme] #faq .faq-cta{order:6;position:relative!important;top:auto!important;inset:auto!important;transform:none!important;margin:0!important;padding:16px!important;border-radius:20px!important;z-index:auto!important}
  html[data-theme] #faq .faq-cta p{font-size:.85rem!important;margin:0 0 10px!important}
  html[data-theme] #faq .faq-cta-b{display:flex!important;gap:8px!important;flex-wrap:nowrap}
  html[data-theme] #faq .faq-cta-b .btn{--h:38px!important;font-size:.62rem!important;flex:1;min-width:0}
}
/* logos stand alone: no repeated names */
.trio__list a:has(.trio__lg){display:flex!important;align-items:center;gap:10px}
.trio__lg{flex:none;display:flex;align-items:center;gap:4px;height:30px}
.trio__lg img{height:28px;width:auto;max-width:70px;object-fit:contain}
.aff-logo .aff-t small{display:block;margin-top:2px}
html[data-theme][data-theme] .sw-morn .aff-logo{grid-template-rows:72px!important;padding:12px 8px!important}
html[data-theme][data-theme] .sw-morn .aff-logo .lg{height:72px!important}
html[data-theme][data-theme] .sw-morn .aff-logo .lg img{height:60px!important}
@media (max-width:760px){
  html[data-theme][data-theme] .sw-morn .aff-row{width:100%!important;justify-self:stretch}
  html[data-theme][data-theme] .sw-morn .aff-logo{width:100%!important}
  html[data-theme] .trio__list a:has(.trio__lg){flex-direction:row!important;align-items:center!important}
  html[data-theme] .trio__list a:has(.trio__lg) em{font-size:.78rem!important}
}
/* the logo strip on the place cards already shows them: keep the list text-only (areas) */
.trio__list .trio__lg{display:none}
/* register form: clearer glass so the silver shapes behind it show */
html[data-theme="light"] #register .reg.card{background:linear-gradient(160deg,rgb(255 255 255 / .42),rgb(255 255 255 / .22))!important;-webkit-backdrop-filter:blur(10px) saturate(150%)!important;backdrop-filter:blur(10px) saturate(150%)!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .9),inset 0 0 0 1px rgb(255 255 255 / .55),0 30px 60px -36px rgb(14 30 24 / .4)!important}
html[data-theme="light"] #register .reg.card :is(input,select,textarea){background:rgb(255 255 255 / .7)!important}
@media (max-width:760px){
  /* shorter page: drop the repeated intro lines and the feature slider above the form */
  html[data-theme] #register .reg-copy .lede,html[data-theme] #register .rp{display:none!important}
  html[data-theme] .sec{padding-top:56px!important;padding-bottom:56px!important}
  html[data-theme] .sec-head{margin-bottom:18px!important}
  html[data-theme] .sec-head .title{font-size:clamp(1.7rem,7.6vw,2.1rem)!important}
  /* silver as a hairline accent, not a fill */
  html[data-theme] .btn.btn-pri{transition:transform .25s var(--e-out),box-shadow .25s!important}
  html[data-theme] .btn:active{transform:scale(.97)!important}
}
@media (max-width:760px){
  html[data-theme] :is(#ladder,#courses,#where,#tools) .sec-head .lede{display:none!important}
  html[data-theme] .ladder .case-q{font-size:.84rem!important}
}

/* ================================================================== v41 · better design: perks, AI steps, modes, check list, depth bars, syllabus panel */
/* perks (portal + parents): one white panel, icon rows split by hairlines */
html[data-theme][data-theme] .perks{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;margin-top:26px!important;padding:6px!important;list-style:none;border-radius:22px;background:#fff;box-shadow:0 0 0 1px rgb(14 30 24 / .07),0 24px 50px -34px rgb(14 30 24 / .35);max-width:620px}
html[data-theme][data-theme] .perks li{position:relative;display:grid!important;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:3px;align-items:start;padding:14px!important;margin:0!important;border:0!important;border-radius:16px!important;background:none!important;box-shadow:none!important;transition:background .25s}
html[data-theme][data-theme] .perks li::before,html[data-theme][data-theme] .perks li::after{content:none!important;display:none!important}
html[data-theme] .perks li:hover{background:#f4f7f5!important}
html[data-theme] .perks li+li{}
.perks .pk-ic{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(160deg,#eef6f1,#dfeee5);color:#0e6b46;box-shadow:inset 0 0 0 1px rgb(14 107 70 / .14);transition:background .25s,color .25s}
.perks .pk-ic svg{width:19px;height:19px}
html[data-theme] .perks li:hover .pk-ic{background:#0e6b46;color:#fff}
html[data-theme][data-theme] .perks li b{align-self:end;font:600 .95rem/1.2 var(--f-body)!important;color:var(--tx)!important;padding:0!important}
html[data-theme][data-theme] .perks li span{font-size:.82rem!important;line-height:1.45!important;color:var(--tx-2)!important;padding:0!important}
html[data-theme="dark"] .perks{background:rgb(255 255 255 / .05)!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1)!important}
html[data-theme="dark"] .perks li:hover{background:rgb(255 255 255 / .05)!important}
html[data-theme="dark"] .perks .pk-ic{background:rgb(126 230 185 / .12);color:#7ee6b9}

/* AI checker: five step cards on one rail; Sir Fazil's step in dark */
html[data-theme][data-theme] .ai-steps{position:relative;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;list-style:none;counter-reset:none}
html[data-theme][data-theme] .ai-steps::before{content:"";position:absolute;left:4%;right:4%;top:44px;height:2px;background:repeating-linear-gradient(90deg,rgb(14 107 70 / .35) 0 8px,transparent 8px 14px);z-index:0}
html[data-theme][data-theme] .ai-steps li.card{position:relative;z-index:1;display:flex!important;flex-direction:column;gap:10px;padding:18px!important;margin:0!important;border:0!important;border-radius:22px!important;background:#fff!important;box-shadow:0 0 0 1px rgb(14 30 24 / .07),0 20px 40px -30px rgb(14 30 24 / .35)!important;transition:transform .35s var(--e-out),box-shadow .35s}
html[data-theme][data-theme] .ai-steps li.card::before,html[data-theme][data-theme] .ai-steps li.card::after{content:none!important;display:none!important}
html[data-theme] .ai-steps li.card:hover{transform:translateY(-4px)}
.ai-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.ai-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(160deg,#eef6f1,#dfeee5);color:#0e6b46;box-shadow:inset 0 0 0 1px rgb(14 107 70 / .14),0 0 0 6px #fff}
.ai-ic svg{width:22px;height:22px}
html[data-theme][data-theme] .ai-steps .ai-n{position:static!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font:500 2.3rem/1 var(--f-display)!important;letter-spacing:-.03em;color:transparent!important;-webkit-text-stroke:1px rgb(14 107 70 / .35)}
html[data-theme][data-theme] .ai-steps .h3{margin:0!important;font:600 1.08rem/1.2 var(--f-body)!important;color:var(--tx)!important}
html[data-theme][data-theme] .ai-steps p{margin:0!important;font-size:.86rem!important;line-height:1.55!important;color:var(--tx-2)!important}
html[data-theme][data-theme] .ai-steps li.ai-sir{background:linear-gradient(165deg,#1d4a3d,#0b2b22)!important;box-shadow:0 26px 50px -28px rgb(6 30 20 / .7)!important}
html[data-theme] .ai-steps li.ai-sir .ai-ic{background:rgb(255 255 255 / .12);color:#fff;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .2),0 0 0 6px #0f3328}
html[data-theme][data-theme] .ai-steps li.ai-sir .ai-n{-webkit-text-stroke-color:rgb(218 241 222 / .45)}
html[data-theme][data-theme] .ai-steps li.ai-sir .h3{color:#fff!important}
html[data-theme][data-theme] .ai-steps li.ai-sir p{color:rgb(218 241 222 / .8)!important}
html[data-theme="dark"][data-theme] .ai-steps li.card:not(.ai-sir){background:rgb(255 255 255 / .05)!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1)!important}
html[data-theme="dark"] .ai-ic{box-shadow:inset 0 0 0 1px rgb(126 230 185 / .2),0 0 0 6px #0b201a;background:rgb(126 230 185 / .1);color:#7ee6b9}
@media (max-width:1100px){html[data-theme][data-theme] .ai-steps{grid-template-columns:1fr 1fr!important}html[data-theme][data-theme] .ai-steps::before{display:none}}
@media (max-width:560px){html[data-theme][data-theme] .ai-steps{grid-template-columns:1fr!important}html[data-theme][data-theme] .ai-steps li.card{display:grid!important;grid-template-columns:52px minmax(0,1fr);column-gap:14px;row-gap:4px}html[data-theme] .ai-steps .ai-top{grid-row:1/3;flex-direction:column;align-items:center;gap:6px;margin:0}html[data-theme][data-theme] .ai-steps .ai-n{font-size:1.2rem!important}}

/* practice / test: a clear route with moving dots */
html[data-theme] .mode.card{padding:26px!important;border-radius:24px!important;display:flex!important;flex-direction:column;gap:12px}
html[data-theme] .mode .mode-time{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border-radius:999px;background:#f2f5f3;font:600 9.5px/1 var(--f-mono)!important;letter-spacing:.12em;color:var(--tx-2)!important}
html[data-theme] .mode .mode-time::before{content:"";width:6px;height:6px;border-radius:50%;background:#2ec27e;box-shadow:0 0 0 3px rgb(46 194 126 / .2)}
html[data-theme][data-theme] .mode .route{display:flex!important;align-items:center;gap:0!important;margin-top:auto!important;padding:14px!important;border-radius:16px;background:#f4f7f5;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .06)}
html[data-theme][data-theme] .mode .stop{flex:none;padding:8px 12px!important;border:0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 0 0 1px rgb(14 30 24 / .09),0 4px 10px -6px rgb(14 30 24 / .3)!important;font:600 .8rem/1 var(--f-body)!important;color:var(--tx)!important;opacity:1!important}
html[data-theme][data-theme] .mode .stop.sir{background:#fff!important;box-shadow:0 0 0 1.5px #0e6b46!important;color:#0e6b46!important}
html[data-theme][data-theme] .mode .stop.end{background:#0e6b46!important;color:#fff!important;box-shadow:0 8px 16px -8px rgb(14 107 70 / .7)!important}
html[data-theme][data-theme] .mode .lane{position:relative;flex:1;height:2px!important;margin:0 6px;background:repeating-linear-gradient(90deg,rgb(14 107 70 / .3) 0 5px,transparent 5px 9px)!important;border:0!important;overflow:visible}
html[data-theme][data-theme] .mode .lane b{position:absolute!important;top:50%!important;left:0;width:8px!important;height:8px!important;margin-top:-4px;border-radius:50%!important;background:#0e6b46!important;box-shadow:0 0 0 3px rgb(46 194 126 / .2)!important;animation:lane 2.4s var(--e-out) infinite;transform:none!important}
html[data-theme] .mode .lane:nth-of-type(4) b{animation-delay:.6s}html[data-theme] .mode .lane:nth-of-type(6) b{animation-delay:1.2s}
@keyframes lane{0%{left:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:calc(100% - 8px);opacity:0}}
html[data-theme="dark"] .mode .route{background:rgb(255 255 255 / .04)}
html[data-theme="dark"][data-theme] .mode .stop{background:rgb(255 255 255 / .08)!important;color:#eef4f1!important}
html[data-theme="dark"] .mode .mode-time{background:rgb(255 255 255 / .06)}
@media (prefers-reduced-motion:reduce){html[data-theme][data-theme] .mode .lane b{animation:none;left:45%}}

/* what it can check: grouped by paper */
html[data-theme] .checks.card{padding:clamp(20px,3vw,32px)!important;border-radius:24px!important}
.ck-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}
.ck-h .h4{margin:0!important;font:600 1.35rem/1.1 var(--f-body)!important}
.ck-n{font:600 9.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
.ck-g{display:grid;grid-template-columns:1fr 1fr .8fr;gap:14px}
.ck-c{display:grid;align-content:start;gap:4px;padding:18px;border-radius:18px;background:#f5f8f6;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .06)}
.ck-c:last-child{background:linear-gradient(165deg,#1d4a3d,#0b2b22);box-shadow:none}
.ck-k{font:600 9.5px/1 var(--f-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--em)}
.ck-t{font:600 .95rem/1.3 var(--f-body);color:var(--tx);margin-bottom:10px}
.ck-c ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.ck-c li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid rgb(14 30 24 / .07);font-size:.88rem;color:var(--tx)}
.ck-c li::before{content:"";flex:none;width:18px;height:18px;border-radius:6px;background:#0e6b46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
.ck-c:last-child .ck-k{color:#8EB69B}.ck-c:last-child .ck-t,.ck-c:last-child li{color:#fff}
.ck-c:last-child li{border-color:rgb(255 255 255 / .1)}
.ck-c:last-child li::before{background-color:#2ec27e}
html[data-theme="dark"] .ck-c:not(:last-child){background:rgb(255 255 255 / .04);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
html[data-theme="dark"] .ck-c li{border-color:rgb(255 255 255 / .08)}
@media (max-width:900px){.ck-g{grid-template-columns:1fr}}

/* examiner's vocabulary (all sizes): one slim, aligned depth row */
html[data-theme][data-theme] #words .cw .cw-lv{position:static!important;display:flex!important;align-items:center;gap:10px;width:100%!important;height:auto!important;margin-top:auto!important;padding:14px 0 0!important;background:none!important;border:0!important;border-top:1px solid rgb(14 30 24 / .07)!important;box-shadow:none!important}
html[data-theme][data-theme] #words .cw .cw-lv::after{content:none!important}
html[data-theme][data-theme] #words .cw .cw-lv::before{content:"Depth"!important;display:block!important;position:static!important;font:600 9px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tx-3)}
html[data-theme][data-theme] #words .cw .cw-lv i{position:relative!important;flex:1;display:block!important;height:5px!important;border-radius:5px;background:rgb(14 30 24 / .08)!important;overflow:hidden;inset:auto!important;width:auto!important;box-shadow:none!important}
html[data-theme][data-theme] #words .cw .cw-lv i::after{content:""!important;position:absolute;left:0;top:0;bottom:0;width:var(--h);border-radius:inherit;background:linear-gradient(90deg,#0e6b46,#3a9a6e)!important;display:block!important}
html[data-theme] #words .cw .cw-step{display:inline!important;font:600 9px/1 var(--f-mono);font-style:normal;color:var(--tx-3)}
html[data-theme][data-theme] #words .cw.hot .cw-lv{border-color:rgb(255 255 255 / .12)!important}
html[data-theme][data-theme] #words .cw.hot .cw-lv::before,html[data-theme] #words .cw.hot .cw-step{color:#a9cdb8}
html[data-theme][data-theme] #words .cw.hot .cw-lv i{background:rgb(255 255 255 / .14)!important}
html[data-theme][data-theme] #words .cw.hot .cw-lv i::after{background:linear-gradient(90deg,#8EB69B,#e6f5ec)!important}
html[data-theme="dark"][data-theme] #words .cw .cw-lv{border-color:rgb(255 255 255 / .08)!important}
html[data-theme="dark"][data-theme] #words .cw .cw-lv i{background:rgb(255 255 255 / .1)!important}
@media (max-width:760px){html[data-theme][data-theme] #words .cw .cw-lv{padding-top:8px!important}html[data-theme][data-theme] #words .cw .cw-lv::before{content:none!important}html[data-theme][data-theme] #words .cw .cw-lv i{height:4px!important}}

/* syllabus panel (laptops): no boxed numeral, topics as a clean two-column list */
@media (min-width:761px){
  html[data-theme][data-theme] #org .org-panel .sm-ph{display:flex;align-items:center;gap:14px}
  html[data-theme][data-theme] #org .org-panel .sm-pnum{width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;font:500 3rem/.9 var(--f-display)!important;letter-spacing:-.04em!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:1px rgb(218 241 222 / .55)}
  html[data-theme][data-theme] #org .org-panel .ou{color:#8EB69B!important}
  html[data-theme][data-theme] #org .org-panel .h3{margin:6px 0 10px!important;font:600 1.5rem/1.15 var(--f-body)!important;color:#fff!important}
  html[data-theme][data-theme] #org .org-panel ul{gap:0 22px!important;max-height:none!important}
  html[data-theme][data-theme][data-theme] #org .org-panel li a{grid-template-columns:38px minmax(0,1fr)!important;min-height:0!important;padding:11px 4px!important;border:0!important;border-bottom:1px solid rgb(218 241 222 / .1)!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:.88rem!important;color:#eef6f1!important;transition:padding .25s,color .25s}
  html[data-theme][data-theme][data-theme] #org .org-panel li a:hover{padding-left:10px!important;background:none!important;color:#fff!important}
  html[data-theme][data-theme] #org .org-panel li a .n{font:600 .74rem var(--f-mono)!important;color:#8EB69B!important}
}
html[data-theme][data-theme] .ai-steps .ai-n{width:auto!important;height:auto!important;display:block!important;-webkit-text-fill-color:transparent!important}
html[data-theme][data-theme] .ai-steps{margin-top:clamp(26px,3.4vw,44px)!important}
html[data-theme][data-theme][data-theme] .ai-steps li.card.ai-sir{background:linear-gradient(165deg,#1d4a3d,#0b2b22)!important;box-shadow:0 26px 50px -28px rgb(6 30 20 / .7)!important}
html[data-theme][data-theme] .ai-steps li.ai-sir .ai-ic{background:rgb(255 255 255 / .12)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .2),0 0 0 6px #163d31!important}
html[data-theme][data-theme][data-theme] #words .cw.hot .cw-lv{background:none!important;box-shadow:none!important}
html[data-theme][data-theme] .perks li{grid-template-rows:auto 1fr;align-content:start}
html[data-theme][data-theme] .perks li b{align-self:start;margin-top:1px}
@media (max-width:560px){html[data-theme][data-theme] .perks{grid-template-columns:1fr!important}}
@media (max-width:760px){
  html[data-theme][data-theme] .ai-steps{grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-columns:1fr!important;overflow:visible!important;gap:8px!important}
  html[data-theme][data-theme] .ai-steps li.card{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:14px;row-gap:3px;height:auto!important;min-height:0!important;padding:14px!important;border-radius:18px!important}
  html[data-theme][data-theme] .ai-steps .ai-top{grid-row:1/3;flex-direction:column;align-items:center;gap:4px;margin:0}
  html[data-theme][data-theme] .ai-steps .ai-ic{width:44px;height:44px;border-radius:13px;box-shadow:inset 0 0 0 1px rgb(14 107 70 / .14)}
  html[data-theme][data-theme] .ai-steps .ai-n{font-size:1rem!important}
  html[data-theme][data-theme] .ai-steps::before{display:none}
  html[data-theme][data-theme] .ai-steps .h3{font-size:1rem!important}
  html[data-theme][data-theme] .ai-steps p{font-size:.82rem!important}
}

/* ================================================================== v42 · one pop-up style (frosted glass, green hairline), layout-led cards on phones */
html[data-theme][data-theme] .modal .scrim{background:rgb(6 24 18 / .32)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}
html[data-theme][data-theme] .modal-box{position:relative;overflow:hidden;padding:24px!important;border:0!important;border-radius:26px!important;
  background:radial-gradient(120% 55% at 100% 0%,rgb(46 194 126 / .14),transparent 60%),linear-gradient(165deg,rgb(255 255 255 / .86),rgb(243 248 245 / .74))!important;
  -webkit-backdrop-filter:blur(26px) saturate(170%)!important;backdrop-filter:blur(26px) saturate(170%)!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px rgb(255 255 255 / .65),0 40px 90px -30px rgb(6 30 20 / .55)!important}
html[data-theme][data-theme] .modal-box::before{content:"";position:absolute;left:24px;right:24px;top:0;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#0e6b46,#8EB69B 60%,#d5dadc)}
html[data-theme][data-theme] .modal-box>.xbtn{top:16px!important;right:16px!important;width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:rgb(255 255 255 / .7)!important;box-shadow:inset 0 0 0 1px rgb(14 30 24 / .1),0 6px 14px -8px rgb(14 30 24 / .4)!important;color:var(--tx)!important;font-size:1.2rem!important;z-index:3}
html[data-theme="dark"][data-theme] .modal-box{background:radial-gradient(120% 55% at 100% 0%,rgb(46 194 126 / .16),transparent 60%),linear-gradient(165deg,rgb(16 40 32 / .9),rgb(6 22 16 / .86))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),inset 0 0 0 1px rgb(255 255 255 / .08),0 40px 90px -30px rgb(0 0 0 / .8)!important}
html[data-theme="dark"][data-theme] .modal-box>.xbtn{background:rgb(255 255 255 / .08)!important;color:#eef4f1!important}
/* shared inner pieces */
#modalBody :is(.cw-pop-m,.org-pop .ou){font:600 9.5px/1.3 var(--f-mono)!important;letter-spacing:.16em!important;text-transform:uppercase;color:#0e6b46!important}
#modalBody :is(.cw-pop .h3,.org-pop .h3){padding-right:44px;font:600 1.5rem/1.12 var(--f-body)!important;letter-spacing:-.01em;color:var(--tx)!important}
#modalBody .org-pop .sm-pnum{display:grid;place-items:center;width:40px!important;height:40px!important;border-radius:12px!important;background:#0e6b46!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 .95rem/1 var(--f-mono)!important;box-shadow:0 8px 16px -8px rgb(14 107 70 / .7)!important;-webkit-text-stroke:0!important}
html[data-theme][data-theme] #modalBody .org-pop li a{background:rgb(255 255 255 / .62)!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .8),0 1px 2px rgb(14 30 24 / .06)!important;border:0!important;border-radius:12px!important;color:var(--tx)!important}
html[data-theme][data-theme] #modalBody .org-pop li a .n{color:#0e6b46!important}
html[data-theme][data-theme] #modalBody .cw-pop-lv{background:rgb(255 255 255 / .62)!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .8)}
html[data-theme][data-theme] #modalBody .link{color:#0e6b46!important}
html[data-theme="dark"][data-theme] #modalBody .org-pop li a,html[data-theme="dark"][data-theme] #modalBody .cw-pop-lv{background:rgb(255 255 255 / .06)!important;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)!important;color:#eef4f1!important}
html[data-theme="dark"] #modalBody :is(.cw-pop-m,.org-pop .ou,.link){color:#7ee6b9!important}
@media (max-width:760px){html[data-theme][data-theme] .modal-box{width:calc(100vw - 20px)!important;padding:20px!important;border-radius:24px!important}}

@media (max-width:760px){
  /* between classes: equal tiles — icon, label, two-line title, link; no empty gaps */
  html[data-theme][data-theme] #tools .explore{grid-auto-rows:auto!important}
  html[data-theme][data-theme] #tools .xt.card:not(.xt-wide):not(.xt-tall){height:164px!important;min-height:0!important;display:grid!important;grid-template-rows:auto auto 1fr auto!important;gap:6px!important;align-content:stretch;padding:14px!important}
  html[data-theme][data-theme][data-theme] #tools .xt .xt-ic{position:static!important;order:0;width:36px!important;height:36px!important;border-radius:11px!important;margin:0!important}
  html[data-theme][data-theme] #tools .xt .tool-tab{order:1;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font:600 8.5px/1 var(--f-mono)!important;letter-spacing:.14em!important;color:var(--tx-3)!important;white-space:nowrap;margin-top:6px!important}
  html[data-theme][data-theme] #tools .xt .h3,html[data-theme][data-theme] #tools .xt .xt-word{order:2;align-self:start;margin:0!important;font:600 .98rem/1.22 var(--f-body)!important;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html[data-theme][data-theme] #tools .xt-term .xt-word,html[data-theme][data-theme] #tools .xt-term .h3{font:600 1.5rem/1.05 var(--f-display)!important;color:#fff!important;-webkit-line-clamp:1}
  html[data-theme][data-theme] #tools .xt .link{order:3;align-self:end;display:inline-flex!important;align-items:center;gap:5px;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;font:600 9px/1 var(--f-mono)!important;letter-spacing:.12em;color:#0e6b46!important;text-decoration:none!important}
  html[data-theme][data-theme] #tools .xt .link::before,html[data-theme][data-theme] #tools .xt .link::after{content:none!important;display:none!important}
  html[data-theme][data-theme] #tools .xt.tn-ink .link,html[data-theme][data-theme] #tools .xt-term .link,html[data-theme][data-theme] #tools .xt.tn-emerald .link{color:#a9dcc0!important}
  html[data-theme][data-theme] #tools .xt-term .tool-tab{color:#8EB69B!important}
  html[data-theme][data-theme] #tools .xt.xt-wide,html[data-theme][data-theme] #tools .xt.xt-tall{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;column-gap:12px!important;row-gap:8px!important;align-items:center;padding:16px!important}
  html[data-theme][data-theme] #tools .xt.xt-wide>*,html[data-theme][data-theme] #tools .xt.xt-tall>*{grid-column:1/-1}
  html[data-theme][data-theme] #tools .xt.xt-wide>.xt-ic,html[data-theme][data-theme] #tools .xt.xt-tall>.xt-ic{grid-column:1;grid-row:1}
  html[data-theme][data-theme] #tools .xt.xt-wide>.tool-tab,html[data-theme][data-theme] #tools .xt.xt-tall>.tool-tab{grid-column:2;grid-row:1;margin:0!important}
  html[data-theme][data-theme] #tools .xt.xt-wide .h3,html[data-theme][data-theme] #tools .xt.xt-tall .h3{font-size:1.15rem!important}

  /* method cards: one left edge, no dead space */
  html[data-theme][data-theme] :is(#method,.stepdeck) .proc-s.card{min-height:0!important;padding:18px!important;gap:10px!important}
  html[data-theme][data-theme] :is(#method,.stepdeck) .proc-s .pn{padding:0!important;min-height:0!important;margin:0!important;background:none!important}
  html[data-theme][data-theme] :is(#method,.stepdeck) .proc-s h3,html[data-theme][data-theme] :is(#method,.stepdeck) .proc-s ul{padding:0!important;margin:0!important}
  html[data-theme][data-theme] :is(#method,.stepdeck) .proc-s ul li{padding:10px 0!important}

  /* courses: layout-led, the same blocks on every card */
  html[data-theme][data-theme] .trio__d{display:none!important}
  html[data-theme][data-theme] .trio__n{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:1px rgb(14 107 70 / .4)}

  /* F2 answer cards: same edge as the page */
  html[data-theme][data-theme] .ans{margin-inline:-18px!important;padding-inline:18px!important;scroll-padding-inline:18px!important}
  html[data-theme][data-theme] .ans .rung small{margin-top:auto!important}
}

/* ================================================================== v43 · HERO: Sir Fazil in a silver arch (head rising past the rim), chips aligned to the arch, name plate on the base */
html[data-theme][data-theme] .hero .hero-fig{position:relative!important;width:100%!important;max-width:520px!important;height:580px!important;min-height:0!important;margin:0 0 0 auto!important;transform:none!important;overflow:visible!important}
html[data-theme][data-theme] .hero .hero-fig .glow{position:absolute!important;inset:12% 6% 10%!important;border-radius:50%;background:radial-gradient(circle,rgb(142 182 155 / .35),transparent 65%)!important;filter:blur(10px);opacity:1!important;display:block!important;transform:none!important}
html[data-theme][data-theme] .hero .portrait.pt-cut{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;translate:none!important;-webkit-mask-image:none!important;mask-image:none!important;background:none!important;box-shadow:none!important;overflow:visible!important}
html[data-theme][data-theme] .hero .pt-arch{position:absolute!important;left:11%!important;right:11%!important;top:84px!important;bottom:44px!important;border-radius:999px 999px 34px 34px!important;overflow:hidden;
  background:radial-gradient(90% 55% at 50% 22%,#ffffff 0%,rgb(255 255 255 / 0) 70%),linear-gradient(180deg,#f3f6f5 0%,#e2e8e5 70%,#d6ddd9 100%)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgb(14 30 24 / .06),0 50px 90px -46px rgb(14 40 30 / .55)!important}
html[data-theme][data-theme] .hero .pt-arch::before{content:""!important;position:absolute;inset:0;opacity:.5!important;border-radius:inherit;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6l7 15 15 7-15 7-7 15-7-15-15-7 15-7z' fill='none' stroke='%230e6b46' stroke-opacity='.08'/%3E%3C/svg%3E")!important}
html[data-theme][data-theme] .hero .pt-arch::after{content:""!important;position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(170deg,#ffffff,#b9c1c5 30%,rgb(255 255 255 / .2) 60%,#c7cdd0)!important;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
html[data-theme][data-theme] .hero .pt-ring{position:absolute!important;left:50%!important;top:24px!important;width:74%!important;height:auto!important;aspect-ratio:1;translate:-50% 0!important;border:1px dashed rgb(14 107 70 / .22)!important}
html[data-theme][data-theme] .hero .portrait.pt-cut img.pt-img{position:absolute!important;left:50%!important;bottom:44px!important;top:auto!important;width:auto!important;height:530px!important;max-width:none!important;translate:calc(-50% - 10px) 0!important;transform:none!important;object-fit:contain!important;
  -webkit-mask-image:linear-gradient(180deg,#000 72%,transparent 99%)!important;mask-image:linear-gradient(180deg,#000 72%,transparent 99%)!important;filter:drop-shadow(0 24px 34px rgb(10 30 22 / .3))!important}
/* name plate on the base of the arch */
html[data-theme][data-theme] .hero .hero-fig .plate.pc{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:14px!important;translate:-50% 0!important;transform:none!important;width:max-content!important;max-width:92%;z-index:5;animation:none!important}
/* chips: one size, anchored to the arch edges */
html[data-theme][data-theme] .hero .hero-fig .fl{position:absolute!important;inset:auto!important;transform:none!important;translate:none!important;z-index:5;display:flex!important;align-items:center;gap:10px;height:54px;padding:0 16px 0 8px!important;border-radius:16px!important;white-space:nowrap;
  background:linear-gradient(180deg,rgb(255 255 255 / .97),rgb(246 249 247 / .94))!important;box-shadow:0 0 0 1px rgb(14 30 24 / .07),0 16px 32px -18px rgb(14 40 30 / .45)!important;animation:fl-bob 6s ease-in-out infinite!important}
html[data-theme][data-theme] .hero .hero-fig .fl-1{left:0!important;top:44%!important}
html[data-theme][data-theme] .hero .hero-fig .fl-3{right:0!important;top:24%!important;animation-delay:-2s!important}
html[data-theme][data-theme] .hero .hero-fig .fl-2{right:0!important;top:58%!important;animation-delay:-4s!important}
@keyframes fl-bob{0%,100%{translate:0 0}50%{translate:0 -6px}}
html[data-theme][data-theme] .hero .hero-fig .fl .hb2-ic{width:38px!important;height:38px!important;border-radius:11px!important}
html[data-theme][data-theme] .hero .hero-badge{position:absolute!important;left:2%!important;top:44px!important;right:auto!important;bottom:auto!important;width:92px!important;height:92px!important;z-index:4;transform:none!important}
html[data-theme="dark"][data-theme] .hero .pt-arch{background:radial-gradient(90% 55% at 50% 22%,rgb(255 255 255 / .12),transparent 70%),linear-gradient(180deg,rgb(255 255 255 / .08),rgb(255 255 255 / .03))!important;box-shadow:inset 0 1px 0 rgb(255 255 255 / .14),0 0 0 1px rgb(255 255 255 / .08),0 50px 90px -46px rgb(0 0 0 / .7)!important}
html[data-theme="dark"][data-theme] .hero .hero-fig .fl{background:rgb(18 38 30 / .92)!important;box-shadow:0 0 0 1px rgb(255 255 255 / .1),0 16px 32px -18px rgb(0 0 0 / .7)!important}
@media (prefers-reduced-motion:reduce){html[data-theme][data-theme] .hero .hero-fig .fl{animation:none!important}}
@media (min-width:761px) and (max-width:1100px){html[data-theme][data-theme] .hero .hero-fig{height:500px!important}html[data-theme][data-theme] .hero .portrait.pt-cut img.pt-img{height:450px!important}}
@media (max-width:760px){
  html[data-theme][data-theme] .hero .hero-fig{height:372px!important;max-width:380px!important;margin:8px auto 0!important}
  html[data-theme][data-theme] .hero .pt-arch{left:13%!important;right:13%!important;top:56px!important;bottom:30px!important}
  html[data-theme][data-theme] .hero .pt-ring{top:14px!important;width:70%!important}
  html[data-theme][data-theme] .hero .portrait.pt-cut img.pt-img{height:336px!important;bottom:30px!important;translate:calc(-50% - 6px) 0!important}
  html[data-theme][data-theme] .hero .hero-fig .plate.pc{bottom:4px!important}
  html[data-theme][data-theme] .hero .hero-badge{width:60px!important;height:60px!important;left:2%!important;top:30px!important}
  html[data-theme][data-theme] .hero .hero-fig .fl{display:none!important}
}

/* ================================================================== v43 · POP-UPS: a header band, a soft entrance, one layout for every pop-up */
html[data-theme][data-theme] .modal-box{padding:0!important;width:min(680px,calc(100vw - 24px))!important;max-height:min(86vh,760px)!important;overflow:auto!important;
  background:linear-gradient(180deg,rgb(255 255 255 / .94),rgb(248 251 249 / .9))!important;-webkit-backdrop-filter:blur(28px) saturate(170%)!important;backdrop-filter:blur(28px) saturate(170%)!important}
html[data-theme][data-theme] .modal-box::before{content:""!important;position:absolute;left:0;right:0;top:0;height:132px;border-radius:0;z-index:0;
  background:radial-gradient(80% 140% at 100% 0%,rgb(46 194 126 / .2),transparent 60%),radial-gradient(70% 120% at 0% 0%,rgb(142 182 155 / .25),transparent 60%),linear-gradient(180deg,#eef5f1,rgb(255 255 255 / 0))!important;
  border-bottom:0;pointer-events:none}
html[data-theme][data-theme] #modalBody{position:relative;z-index:1;padding:28px!important}
html[data-theme][data-theme] .modal.open .modal-box{animation:popin .45s cubic-bezier(.16,1,.3,1) both}
@keyframes popin{from{opacity:0;transform:translateY(14px) scale(.97);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
html[data-theme][data-theme] .modal .scrim{background:radial-gradient(80% 80% at 50% 40%,rgb(6 24 18 / .25),rgb(6 24 18 / .5))!important}
/* the course pop-up */
#modalBody .acc-pop{display:grid;gap:20px}
#modalBody .acc-pop-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-right:48px}
#modalBody .acc-pop-h .tag{display:inline-flex;margin-bottom:10px;padding:5px 10px!important;border-radius:8px!important;background:#0e6b46!important;color:#fff!important;font:600 9.5px/1 var(--f-mono)!important;letter-spacing:.14em;box-shadow:none!important;border:0!important}
#modalBody .acc-pop-h h2{margin:0;font:600 2.1rem/1 var(--f-body);letter-spacing:-.03em;color:var(--tx)}
#modalBody .acc-pop-h .acc-sub{margin:6px 0 0;font:600 10px/1.3 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
#modalBody .acc-pop-code{font:600 4.2rem/.8 var(--f-body);letter-spacing:-.05em;color:transparent;-webkit-text-stroke:1.2px rgb(14 107 70 / .35)}
#modalBody .acc-t{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;border:0!important;padding:0!important}
#modalBody .acc-t>div{padding:16px!important;border-radius:18px;background:rgb(255 255 255 / .75);box-shadow:inset 0 0 0 1px rgb(14 30 24 / .07),0 10px 24px -20px rgb(14 30 24 / .4);border:0!important}
#modalBody .acc-lbl{display:block;margin-bottom:12px;font:600 9.5px/1 var(--f-mono)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--em)!important}
#modalBody .acc-dr dl{display:grid;gap:10px;margin:0}
#modalBody .acc-dr dl>div{padding:10px 12px;border-radius:12px;background:#f3f7f5}
#modalBody .acc-dr dt{font:600 .9rem/1.3 var(--f-body);color:var(--tx)}
#modalBody .acc-dr dd{margin:4px 0 0;font:500 10px/1 var(--f-mono);letter-spacing:.08em;color:var(--tx-3)}
#modalBody .acc-cr ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
#modalBody .acc-cr li{position:relative;display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid rgb(14 30 24 / .07);font-size:.9rem;line-height:1.4;color:var(--tx)}
#modalBody .acc-cr li:first-child{border-top:0;padding-top:0}
#modalBody .acc-cr li::before{content:"";flex:none;width:18px;height:18px;margin-top:1px;border-radius:6px;background:#0e6b46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;position:static!important;border:0!important}
#modalBody .acc-pop>.btn{justify-self:start}
html[data-theme="dark"] #modalBody .acc-t>div{background:rgb(255 255 255 / .05);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .08)}
html[data-theme="dark"] #modalBody .acc-dr dl>div{background:rgb(255 255 255 / .05)}
html[data-theme="dark"][data-theme] .modal-box{background:linear-gradient(180deg,rgb(14 34 27 / .95),rgb(6 20 15 / .92))!important}
html[data-theme="dark"][data-theme] .modal-box::before{background:radial-gradient(80% 140% at 100% 0%,rgb(46 194 126 / .22),transparent 60%),linear-gradient(180deg,rgb(255 255 255 / .05),transparent)!important}
@media (max-width:600px){#modalBody .acc-t{grid-template-columns:1fr}#modalBody .acc-pop-code{font-size:3rem}#modalBody .acc-pop-h h2{font-size:1.7rem}html[data-theme][data-theme] #modalBody{padding:22px!important}}
html[data-theme="light"][data-theme] .hero .pt-arch{background:radial-gradient(80% 50% at 50% 20%,rgb(255 255 255 / .95) 0%,rgb(255 255 255 / 0) 70%),linear-gradient(180deg,#e9f0ec 0%,#d3ddd7 75%,#c6d2cb 100%)!important}
html[data-theme][data-theme] .hero .pt-arch,html[data-theme][data-theme] .hero .pt-arch::before,html[data-theme][data-theme] .hero .pt-arch::after{corner-shape:round!important;border-radius:999px 999px 34px 34px!important}
html[data-theme][data-theme][data-theme] .hero .pt-arch,html[data-theme][data-theme][data-theme] .hero .pt-arch::before,html[data-theme][data-theme][data-theme] .hero .pt-arch::after{border-radius:50% 50% 28px 28px / 36% 36% 28px 28px!important;corner-shape:round!important}
html[data-theme][data-theme] .hero .pt-arch{top:64px!important}
html[data-theme][data-theme] #modalBody .acc-cr li::before{transform:none!important;rotate:0deg!important;clip-path:none!important;border-radius:6px!important;width:18px!important;height:18px!important;background:#0e6b46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat!important;box-shadow:none!important;left:auto!important;top:auto!important}

/* ================================================================== v44 · pop-ups dead centre on every screen */
html[data-theme][data-theme] .modal{display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;inset:0!important}
html[data-theme][data-theme] .modal-box{width:min(680px,100%)!important;max-width:100%!important;margin:0 auto!important;max-height:calc(100dvh - 32px)!important}
@media (max-width:760px){html[data-theme][data-theme] .modal{padding:12px!important}html[data-theme][data-theme] .modal-box{width:100%!important;border-radius:24px!important}}

/* ================================================================== v44 · phones: tighter type scale, more per screen, richer simple cards */
@media (max-width:760px){
  html[data-theme] .sec-head .title,html[data-theme] .reg-copy .title{font-size:clamp(1.55rem,6.8vw,1.85rem)!important;line-height:1.08!important;letter-spacing:-.025em!important}
  html[data-theme] .sec-head .title em{font-size:1.06em}
  html[data-theme] .sec-head .meta .folio{font-size:9px!important}
  html[data-theme] .sec-head{margin-bottom:14px!important;gap:6px!important}
  html[data-theme] .sec{padding-top:44px!important;padding-bottom:44px!important}
  html[data-theme] body{font-size:15px}
  /* Badr example: a framed exam paper */
  html[data-theme][data-theme] .ladder .case.card{position:relative;padding:16px 16px 14px 20px!important;background:#fff!important;box-shadow:0 0 0 1px rgb(14 30 24 / .07),0 18px 36px -26px rgb(14 30 24 / .4)!important}
  html[data-theme][data-theme] .ladder .case.card::before{content:""!important;display:block!important;position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#0e6b46,#8EB69B)}
  html[data-theme] .ladder .case-b .h3{font-size:1.1rem!important}
  html[data-theme] .ladder .case-b p{font-size:.82rem!important;line-height:1.65!important}
  html[data-theme] .ladder .case-b mark{padding:1px 4px!important;border-radius:5px!important;background:rgb(14 107 70 / .1)!important;color:#0b4f34!important}
  html[data-theme][data-theme] .ladder .case-q{margin:10px 0 0!important;padding:10px 12px!important;border:0!important;border-radius:12px;background:#f3f7f5;font-size:.8rem!important;line-height:1.5!important}
  html[data-theme] .ans .rung p{font-size:.84rem!important}
  html[data-theme] .ans .rung small{font-size:.72rem!important}
  /* courses: smaller title */
  html[data-theme] .trio__t{font-size:1.35rem!important}
  /* FAQ: compact rows with a green number chip */
  html[data-theme][data-theme] #faq .faq details,html[data-theme][data-theme] #faq .faq>div>*{border-radius:16px!important}
  html[data-theme][data-theme] #faq .faq summary{min-height:0!important;padding:12px 12px 12px 14px!important;gap:12px!important;font-size:.88rem!important;line-height:1.3!important}
  html[data-theme][data-theme] #faq .faq summary :is(.n,.q-n,.num,small:first-child){display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:9px;background:rgb(14 107 70 / .08);color:#0e6b46!important;font:600 10px/1 var(--f-mono)!important}
  html[data-theme][data-theme] #faq .faq{gap:6px!important}
  /* place list rows: area with a small pin */
  html[data-theme][data-theme] .trio__list a{position:relative;padding:9px 11px 9px 30px!important}
  html[data-theme][data-theme] .trio__list a::before{content:"";position:absolute;left:11px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50% 50% 50% 0;rotate:-45deg;background:#0e6b46;box-shadow:inset 0 0 0 3px #e6f1eb}
  html[data-theme] .trio__t{margin:0!important}
  /* follow band: brand-tinted buttons */
  html[data-theme][data-theme] .v2-soc .v2-soc-k b{font-size:1.15rem!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i{min-height:48px;transition:transform .2s}
  html[data-theme][data-theme] .v2-soc .v2-soc-i:active{transform:scale(.97)}
  html[data-theme][data-theme] .v2-soc .v2-soc-i[data-href="instagram"]{background:linear-gradient(135deg,#fff,#fdf1f6)!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i[data-href="youtube"]{background:linear-gradient(135deg,#fff,#fff0f0)!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i[data-href="whatsappChannel"]{background:linear-gradient(135deg,#fff,#effaf3)!important}
  /* register form labels smaller */
  html[data-theme] #register .field label{font-size:9.5px!important}
  html[data-theme] #register input{height:46px!important;font-size:15px!important}
}
@media (max-width:760px){
  html[data-theme][data-theme] .trio__in{justify-content:flex-start!important;gap:12px!important}
  html[data-theme][data-theme] .trio__in>*{margin-top:0!important;margin-bottom:0!important;flex:none!important}
  html[data-theme][data-theme] .trio__chips{margin-top:2px!important}
  html[data-theme][data-theme] .ladder .case.card{border-left:3px solid #0e6b46!important}
}
@media (max-width:760px){html[data-theme][data-theme] .trio__c,html[data-theme][data-theme] .trio__rail{height:auto!important;min-height:0!important;align-items:start!important}html[data-theme][data-theme] .trio__rail>*{align-self:start!important}}
@media (max-width:760px){html[data-theme][data-theme][data-theme] .trio__c .trio__in{height:auto!important;min-height:0!important;position:relative!important;inset:auto!important}html[data-theme][data-theme][data-theme] .trio__c .trio__glass{position:absolute!important;inset:0!important;height:auto!important}}

/* ================================================================== v45 · phones: bigger tiles, fewer words */
@media (max-width:760px){
  /* between classes */
  html[data-theme][data-theme] #tools .explore{gap:10px!important}
  html[data-theme][data-theme] #tools .xt.card:not(.xt-wide):not(.xt-tall){height:190px!important;padding:16px!important;border-radius:22px!important}
  html[data-theme][data-theme][data-theme] #tools .xt .xt-ic{width:46px!important;height:46px!important;border-radius:14px!important;box-shadow:0 10px 20px -12px rgb(14 60 40 / .6)!important}
  html[data-theme][data-theme][data-theme] #tools .xt .xt-ic svg{width:21px!important;height:21px!important}
  html[data-theme][data-theme] #tools .xt .h3{font-size:1.12rem!important;line-height:1.2!important;letter-spacing:-.015em!important}
  html[data-theme][data-theme] #tools .xt-term .xt-word,html[data-theme][data-theme] #tools .xt-term .h3{font-size:1.7rem!important}
  html[data-theme][data-theme] #tools .xt.xt-wide>p,html[data-theme][data-theme] #tools .xt.xt-tall>p,html[data-theme] #tools .xt.xt-tall .xv-mark i{display:none!important}
  html[data-theme][data-theme] #tools .xt.xt-wide .h3,html[data-theme][data-theme] #tools .xt.xt-tall .h3{font-size:1.3rem!important}
  html[data-theme][data-theme] #tools .xt.xt-tall .xv-mark b{font-size:2.6rem!important}
  /* examiner's vocabulary */
  html[data-theme][data-theme] #words .cw-grid{gap:10px!important}
  html[data-theme][data-theme] #words .cw.card{min-height:128px!important;padding:16px!important;gap:10px!important;border-radius:20px!important}
  html[data-theme] #words .cw b{font-size:1.18rem!important;line-height:1.15!important;letter-spacing:-.015em}
  html[data-theme] #words .cw .cw-m{font-size:8.5px!important}
  /* syllabus */
  html[data-theme][data-theme] #org .sm-row{gap:10px!important}
  html[data-theme][data-theme] #org .dept.dept{min-height:112px!important;padding:14px!important;gap:8px!important;border-radius:20px!important;align-content:space-between}
  html[data-theme] #org .dept .dk{font-size:.95rem!important;font-weight:600!important}
  html[data-theme] #org .dept .dn{font-size:1.9rem!important}
  html[data-theme] #org .dept .dm small{display:none!important}
}

/* ================================================================== v46 · cards: big titles, short descriptions (two lines at most) */
:is(.card,.trio__c,.xt,.proc-s,.mode,.ai-steps li,.place,.perks li,.ck-c):not(.case):not(.reg):not(.auth-card):not(.rung):not(.be-studio):not(.jr-card):not(.checks):not(.faq-cta) :is(h3,.h3,.trio__t){font-size:clamp(1.25rem,1.05rem + .7vw,1.6rem)!important;line-height:1.12!important;letter-spacing:-.02em!important;font-weight:600!important}
:is(.card,.trio__c,.xt,.proc-s,.mode,.ai-steps li,.place):not(.case):not(.reg):not(.auth-card):not(.rung):not(.be-studio):not(.jr-card):not(.checks):not(.faq-cta):not(form) p:not(.trio__d):not(.case-q):not(.ferr):not(.small):not(.be-say):not(.note-sm){display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;font-size:.88rem!important;line-height:1.5!important}
.perks li span{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-theme][data-theme] .perks li b{font-size:1.02rem!important}
@media (max-width:760px){
  :is(.card,.trio__c,.xt,.proc-s,.mode,.ai-steps li,.place):not(.case):not(.reg):not(.auth-card):not(.rung):not(.be-studio):not(.jr-card):not(.checks):not(.faq-cta) :is(h3,.h3,.trio__t){font-size:1.3rem!important}
  html[data-theme][data-theme] #tools .xt.card:not(.xt-wide):not(.xt-tall) .h3{font-size:1.12rem!important}
  html[data-theme] #words .cw b{font-size:1.2rem!important}
  html[data-theme][data-theme] .ai-steps p,html[data-theme] .perks li span{-webkit-line-clamp:2}
}

@media (max-width:760px){html[data-theme][data-theme][data-theme] .trio__d{display:none!important}
  html[data-theme][data-theme][data-theme] #tools .xt.card:not(.xt-wide):not(.xt-tall) .h3{font-size:1.02rem!important;-webkit-line-clamp:3!important}}
html[data-theme][data-theme][data-theme] .ai-steps li.ai-sir p{color:rgb(218 241 222 / .82)!important}

@media (min-width:761px){.trio__d{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}

/* ================================================================== v47 · faded card style: corner glow, a dot field that fades out, big faded numerals */
html[data-theme="light"] :is(#tools .xt.card:not(.tn-emerald):not(.tn-ink):not(.xt-term),#words .cw.card:not(.hot),#org .dept.dept,.ai-steps li.card:not(.ai-sir),.mode.card,.ck-c:not(:last-child),.trio__c .trio__glass,.perks,.sw-morn,.v2-soc){
  background:
    radial-gradient(120% 85% at 100% 0%,rgb(142 182 155 / .26),transparent 55%),
    linear-gradient(215deg,rgb(255 255 255 / 0) 0%,rgb(255 255 255 / .96) 58%),
    radial-gradient(circle,rgb(14 107 70 / .2) 1px,transparent 1.5px) 0 0/14px 14px,
    linear-gradient(165deg,#ffffff 0%,#f6faf7 60%,#ecf3ef 100%)!important}
html[data-theme="dark"] :is(#tools .xt.card:not(.tn-emerald):not(.tn-ink):not(.xt-term),#words .cw.card:not(.hot),#org .dept.dept,.ai-steps li.card:not(.ai-sir),.mode.card,.trio__c .trio__glass){
  background:
    radial-gradient(120% 85% at 100% 0%,rgb(46 194 126 / .16),transparent 55%),
    linear-gradient(215deg,rgb(8 24 18 / 0) 0%,rgb(8 24 18 / .92) 58%),
    radial-gradient(circle,rgb(218 241 222 / .14) 1px,transparent 1.5px) 0 0/14px 14px,
    linear-gradient(165deg,rgb(255 255 255 / .07),rgb(255 255 255 / .02))!important}
/* dark tiles keep their colour, with the same fade */
:is(#tools .xt.tn-emerald,#tools .xt.tn-ink,#tools .xt-term,#words .cw.hot,.ai-steps li.ai-sir){background-image:radial-gradient(120% 85% at 100% 0%,rgb(142 220 175 / .28),transparent 55%),linear-gradient(215deg,rgb(11 43 34 / 0) 0%,rgb(11 43 34 / .9) 60%),radial-gradient(circle,rgb(218 241 222 / .2) 1px,transparent 1.5px),linear-gradient(165deg,#1f5040,#0b2b22)!important;background-size:auto,auto,14px 14px,auto!important}
/* big faded numerals */
#words .cw-grid{counter-reset:cw}
#words .cw.card{counter-increment:cw;position:relative;overflow:hidden;isolation:isolate}
html[data-theme][data-theme] #words .cw.card::after{content:counter(cw,decimal-leading-zero)!important;display:block!important;position:absolute;right:-6px;bottom:-22px;z-index:-1;font:600 6.5rem/1 var(--f-body);letter-spacing:-.06em;color:transparent;background:linear-gradient(180deg,rgb(14 107 70 / .16),rgb(14 107 70 / 0) 85%);-webkit-background-clip:text;background-clip:text;pointer-events:none}
html[data-theme][data-theme] #words .cw.hot::after{background:linear-gradient(180deg,rgb(218 241 222 / .22),rgb(218 241 222 / 0) 85%);-webkit-background-clip:text;background-clip:text}
html[data-theme][data-theme] #org .dept .dn{background:linear-gradient(180deg,rgb(14 107 70 / .55),rgb(14 107 70 / .08))!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:0!important}
html[data-theme][data-theme] #tools .xt{overflow:hidden;isolation:isolate}
@media (max-width:760px){html[data-theme][data-theme] #words .cw.card::after{font-size:4.6rem;bottom:-14px}}
html[data-theme][data-theme][data-theme] #words .cw.card::after{z-index:0!important}
html[data-theme][data-theme] #words .cw.card>*{position:relative;z-index:1}
@media (max-width:760px){html[data-theme][data-theme][data-theme] #org .dept .dk{font:600 .98rem/1.2 var(--f-body)!important;letter-spacing:-.01em!important;text-transform:none!important}html[data-theme][data-theme][data-theme] #org .dept .dn{font-size:2rem!important}}
html[data-theme][data-theme][data-theme] #words .cw.card::after{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:rgb(14 107 70 / .09)!important;-webkit-text-fill-color:rgb(14 107 70 / .09)!important}
html[data-theme][data-theme][data-theme] #words .cw.hot::after{color:rgb(218 241 222 / .12)!important;-webkit-text-fill-color:rgb(218 241 222 / .12)!important}
html[data-theme][data-theme][data-theme] #words .cw.card::after{inset:auto -4px -14px auto!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;text-align:right;color:rgb(14 107 70 / .12)!important;-webkit-text-fill-color:rgb(14 107 70 / .12)!important;line-height:1!important}
@media (min-width:761px){html[data-theme][data-theme][data-theme] #words .cw.card::after{font-size:7rem!important;bottom:-24px!important}}
html[data-theme][data-theme][data-theme] #words .cw.card::after{-webkit-mask:none!important;mask:none!important;-webkit-mask-image:none!important;mask-image:none!important;background:none!important}
html[data-theme][data-theme][data-theme][data-theme] #words .cw.hot::after{color:rgb(218 241 222 / .14)!important;-webkit-text-fill-color:rgb(218 241 222 / .14)!important}
html[data-theme="dark"][data-theme][data-theme][data-theme] #words .cw.card:not(.hot)::after{color:rgb(126 230 185 / .1)!important;-webkit-text-fill-color:rgb(126 230 185 / .1)!important}
html[data-theme="dark"][data-theme] #tools .xt.card:not(.tn-emerald):not(.tn-ink):not(.xt-term) :is(.h3,h3,.xt-word){color:#eef4f1!important;-webkit-text-fill-color:#eef4f1!important}
html[data-theme="dark"][data-theme] #tools .xt.card:not(.tn-emerald):not(.tn-ink):not(.xt-term) .link{color:#7ee6b9!important}

/* ===== v48 · laptop fixes: wide bento tiles, ID card, mornings strip, follow band ===== */
@media (min-width:641px){
  /* wide tiles: words centred on the left, picture centred on the right, no dead corner */
  html[data-theme][data-theme] #tools .explore>.xt.card.tn:is(.xt-wide){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto 1fr auto auto 1fr auto!important;row-gap:0!important;column-gap:clamp(20px,2.6vw,36px)!important}
  html[data-theme][data-theme] #tools .xt-wide .tool-tab{grid-column:1;grid-row:1}
  html[data-theme][data-theme] #tools .xt-wide :is(h3,.h3){grid-column:1;grid-row:3;align-self:end;margin:0 0 10px!important;font-size:clamp(1.5rem,1.2rem+.9vw,1.95rem)!important;max-width:16ch}
  html[data-theme][data-theme] #tools .xt-wide>p{grid-column:1;grid-row:4;margin:0!important;max-width:34ch}
  html[data-theme][data-theme] #tools .xt-wide .link{grid-column:1;grid-row:6;align-self:end;justify-self:start}
  html[data-theme][data-theme] #tools .xt-wide :is(.xt-viz,.tool-viz,.xv-plan){grid-column:2!important;grid-row:2 / 6!important;align-self:center!important;margin:0!important}

  /* crash course plan: four glass tiles instead of loose rows */
  html[data-theme][data-theme] #tools .xt-wide .xv-plan{grid-template-columns:1fr 1fr!important;gap:10px!important}
  html[data-theme][data-theme] #tools .xt-wide .xv-plan li{display:grid!important;align-content:space-between;gap:14px;min-height:92px;padding:14px 16px!important;border:0!important;border-radius:18px;
    background:linear-gradient(160deg,rgb(255 255 255 / .14),rgb(255 255 255 / .04));box-shadow:inset 0 1px 0 rgb(255 255 255 / .22),inset 0 0 0 1px rgb(255 255 255 / .12)}
  html[data-theme][data-theme] #tools .xt-wide .xv-plan li:first-child{background:linear-gradient(160deg,rgb(255 255 255 / .26),rgb(255 255 255 / .08))}
  html[data-theme][data-theme] #tools .xt-wide .xv-plan li b{font-size:1.7rem!important;opacity:.55}
  html[data-theme][data-theme] #tools .xt-wide .xv-plan li span{font:600 1rem/1.2 var(--f-display)!important;letter-spacing:-.01em}

  /* tracker: crisp cells, bigger board, legend on one line */
  html[data-theme][data-theme] #tools .xt-track .tool-viz.tv-grid{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:clamp(18px,2vw,28px)!important;padding:0!important;min-height:0!important;background:none!important}
  html[data-theme][data-theme] #tools .xt-track .tgrid-d{grid-template-columns:repeat(7,20px)!important;gap:6px!important;padding:16px!important;border-radius:18px!important;flex:none}
  html[data-theme][data-theme] #tools .xt-track .tgrid-d i{width:20px!important;height:20px!important;border-radius:6px!important;border:0!important;box-shadow:none!important;filter:none!important;background:#E6EAE8!important}
  html[data-theme][data-theme] #tools .xt-track .tgrid-d i.on{background:#235347!important}
  html[data-theme][data-theme] #tools .xt-track .tg-stat{min-width:0!important}
  html[data-theme][data-theme] #tools .xt-track .tg-k{white-space:nowrap}
  html[data-theme][data-theme] #tools .xt-track .tg-l{display:flex!important;flex-wrap:nowrap;white-space:nowrap;gap:6px}
  html[data-theme][data-theme] #tools .xt-track .tg-l i{flex:none;width:10px;height:10px;border-radius:3px;background:#E6EAE8}
  html[data-theme][data-theme] #tools .xt-track .tg-l i.on{background:#235347}
  html[data-theme="dark"][data-theme] #tools .xt-track .tgrid-d{background:rgb(255 255 255 / .05)!important;border-color:rgb(255 255 255 / .12)!important}
  html[data-theme="dark"][data-theme] #tools .xt-track .tgrid-d i,html[data-theme="dark"][data-theme] #tools .xt-track .tg-l i{background:rgb(255 255 255 / .12)!important}
  html[data-theme="dark"][data-theme] #tools .xt-track .tgrid-d i.on,html[data-theme="dark"][data-theme] #tools .xt-track .tg-l i.on{background:#8EB69B!important}
}
@media (min-width:641px){
  html[data-theme][data-theme] #tools .xt-track .tool-viz.tv-grid{flex-direction:column!important;align-items:center!important;gap:14px!important}
  html[data-theme][data-theme] #tools .xt-track .tgrid-d{grid-template-columns:repeat(7,18px)!important;gap:6px!important;padding:14px!important}
  html[data-theme][data-theme] #tools .xt-track .tgrid-d i{width:18px!important;height:18px!important}
  html[data-theme][data-theme] #tools .xt-track .tg-stat{width:232px;grid-template-columns:1fr auto;align-items:end;gap:6px 12px!important}
  html[data-theme][data-theme] #tools .xt-track .tg-k{grid-column:1;grid-row:1;align-self:center;white-space:nowrap!important;letter-spacing:.14em!important;font-size:9.5px!important}
  html[data-theme][data-theme] #tools .xt-track .tg-stat b{grid-column:2;grid-row:1 / 3;font-size:2.3rem!important}
  html[data-theme][data-theme] #tools .xt-track .tg-bar{grid-column:1;grid-row:2}
  html[data-theme][data-theme] #tools .xt-track .tg-l{grid-column:1 / -1;grid-row:3}
}
/* ID card: never shows a text cursor */
#tools .xv-id,#tools .xv-id *{caret-color:transparent;user-select:none;-webkit-user-select:none}
#tools .xv-id .id-t b{border:0!important;box-shadow:none!important}
#tools .xv-id .id-t b::after,#tools .xv-id .id-t::after{content:none!important}

/* mornings strip: a proper rounded card */
@media (min-width:901px){
  html[data-theme][data-theme] .sw-morn{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:clamp(18px,2.4vw,34px)!important;
    margin-top:clamp(22px,3vw,36px)!important;padding:18px clamp(20px,2.4vw,30px)!important;border-radius:26px!important;border:1px solid #DDE1E4!important;
    box-shadow:inset 0 1px 0 #fff,0 24px 50px -38px rgb(5 31 32 / .45)!important;overflow:hidden}
  html[data-theme][data-theme] .sw-morn .sw-mk{display:grid!important;gap:6px;padding:0 clamp(18px,2.4vw,30px) 0 0!important;border-right:1px solid #DDE1E4!important}
  html[data-theme][data-theme] .sw-morn .sw-mk small{font:600 10.5px/1 var(--f-body)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--em)!important}
  html[data-theme][data-theme] .sw-morn .sw-mk b{font:600 1.3rem/1.15 var(--f-display)!important;letter-spacing:-.03em;white-space:nowrap}
  html[data-theme][data-theme] .sw-morn .aff-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important}
  html[data-theme][data-theme] .sw-morn .aff-i{width:auto!important;margin:0!important}
  html[data-theme][data-theme] .sw-morn .aff-i .lg{width:100%!important;display:grid!important;place-items:center}
  html[data-theme][data-theme] .sw-morn>.link{margin:0!important;white-space:nowrap}
  html[data-theme="dark"][data-theme] .sw-morn{border-color:rgb(201 206 210 / .18)!important;box-shadow:none!important}
  html[data-theme="dark"][data-theme] .sw-morn .sw-mk{border-color:rgb(201 206 210 / .18)!important}

  /* follow band: heading gets its own room, never under the buttons */
  html[data-theme][data-theme] .v2-soc{grid-template-columns:minmax(max-content,1fr) repeat(4,minmax(0,1fr))!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-k{min-width:0;padding:10px 22px 10px 12px!important;border-right:1px solid #DDE1E4}
  html[data-theme][data-theme] .v2-soc .v2-soc-k b{white-space:nowrap;font-size:1.25rem!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-i{min-width:0}
  html[data-theme="dark"][data-theme] .v2-soc .v2-soc-k{border-color:rgb(201 206 210 / .18)}
}
@media (min-width:901px) and (max-width:1240px){
  html[data-theme][data-theme] .v2-soc{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html[data-theme][data-theme] .v2-soc .v2-soc-k{grid-column:1/-1;border-right:0;padding:4px 8px 2px!important;display:flex!important;align-items:baseline;gap:14px}
  html[data-theme][data-theme] .sw-morn{grid-template-columns:1fr auto!important}
  html[data-theme][data-theme] .sw-morn .aff-row{grid-column:1/-1;grid-row:2}
  html[data-theme][data-theme] .sw-morn .sw-mk{border-right:0!important;padding:0!important}
}
@media (max-width:900px){
  html[data-theme][data-theme] .sw-morn{padding:18px 14px!important;border-radius:24px!important;border:1px solid #DDE1E4!important;box-shadow:inset 0 1px 0 #fff,0 20px 44px -36px rgb(5 31 32 / .45)!important;overflow:hidden}
  html[data-theme="dark"][data-theme] .sw-morn{border-color:rgb(201 206 210 / .18)!important;box-shadow:none!important}
}
