/* Islam Domains / screenshot-locked site themes. Only applies to the 4 approved branded home pages.
   2026-11-23. Semantic, responsive HTML, original logo/media assets, real records, no fake reviews.
*/
:root{--io-ref-font:Cairo,"Noto Kufi Arabic",Tahoma,Arial,sans-serif}
html.io-ref-active{scroll-behavior:smooth}
html.io-ref-active .io-v4-root{--r-gold:#f7bc53;--r-ink:#fcf3e2;--r-panel:#1a1511;--r-line:#c58c4066;--r-rad:17px;font-family:var(--io-ref-font)!important;background:#110b08!important;color:var(--r-ink)!important;isolation:isolate}
html.io-ref-active .io-v4-root.io-v4-books{--r-gold:#ffb32c;--r-line:#4786ff77;--r-panel:#0c1944;--r-ink:#f8fbff;background:radial-gradient(ellipse at 98% 8%,#1836ac 0%,transparent 31%),radial-gradient(ellipse at 6% 68%,#491684 0%,transparent 30%),#070e2c!important}
html.io-ref-active .io-v4-root.io-v4-qadah{--r-gold:#eeb96f;--r-ink:#fff4e5;--r-panel:#201912;--r-line:#c99e6d88;background:#f6e9d7!important}
html.io-ref-active .io-v4-root.io-v4-mash{--r-gold:#ffcc11;--r-ink:#faf4e4;--r-panel:#1a130b;--r-line:#f5bd2680;background:radial-gradient(ellipse at 96% 18%,#38210d,transparent 27%),#0a0907!important}
html.io-ref-active .io-v4-root *{box-sizing:border-box}
html.io-ref-active .io-v4-root :is(a,button,input,select){-webkit-tap-highlight-color:transparent}
html.io-ref-active .io-v4-root :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffce61!important;outline-offset:3px}
html.io-ref-active .io-v4-header{z-index:110!important;position:relative!important;inset:auto!important;padding:0!important;border-bottom:1px solid #cda26345;background:linear-gradient(90deg,#0c090df0,#20140eec 52%,#08080aef)}
html.io-ref-active .io-v4-books .io-v4-header{background:linear-gradient(90deg,#0b1248,#060b29 55%,#07132d)!important;border-bottom-color:#3773ff70}
html.io-ref-active .io-v4-qadah .io-v4-header{background:#17110f!important}
html.io-ref-active .io-v4-mash .io-v4-header{background:#080806f7!important;border-bottom-color:#ffca2160}
html.io-ref-active .io-v4-header-inner{max-width:1450px!important;padding:5px 18px!important;margin:auto!important;background:transparent!important;backdrop-filter:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:57px!important}
html.io-ref-active .io-v4-brand img{max-height:65px!important;width:auto!important;max-width:105px!important;object-fit:contain!important;filter:drop-shadow(0 1px 5px #000b)}
html.io-ref-active .io-v4-brand-name{font-size:.86rem!important;color:#f7dab0}
html.io-ref-active .io-v4-menu{gap:clamp(1px,1.1vw,17px)!important}
html.io-ref-active .io-v4-menu a{font-size:clamp(.76rem,.85vw,.96rem)!important;padding:9px 8px!important;font-weight:800!important;border-radius:0!important}
html.io-ref-active .io-v4-menu a[aria-current=page]{color:var(--r-gold)!important;background:transparent!important;border-bottom:2px solid var(--r-gold)!important;box-shadow:none!important}
html.io-ref-active .io-v4-tool{border-color:#d9af704a!important;border-radius:8px!important}
html.io-ref-active .io-v4-root .io-v4-hero{position:relative!important;overflow:hidden!important;isolation:isolate!important;min-height:365px!important;background:radial-gradient(ellipse at 85% 25%,#68401745,transparent 37%),linear-gradient(98deg,#0d0a08,#24170f 65%,#100a06)!important}
html.io-ref-active .io-v4-books .io-v4-hero{background:linear-gradient(92deg,#060f44bb,#090f44b8 47%,#0e1548c2),url('/images/vision-2026/books-hero-1536.webp') center/cover no-repeat!important}
html.io-ref-active .io-v4-qadah .io-v4-hero{background:linear-gradient(94deg,#120c09dd,#2c1a0e55 46%,#1f110ab8),url('/qadah/vision-2026/qadah-hero-1536.webp') center/cover no-repeat!important}
html.io-ref-active .io-v4-mash .io-v4-hero{background:linear-gradient(93deg,#06060688,#28180755 57%,#100c07a1),url('/images/vision-2026/mashrustan-hero-1536.webp') center/cover no-repeat!important}
html.io-ref-active .io-v4-hero:before{content:"";position:absolute;pointer-events:none;inset:auto -8% -19% -8%;height:48%;background:radial-gradient(ellipse at 60% 80%,#ffa52b76,transparent 60%);filter:blur(22px);z-index:0}
html.io-ref-active .io-v4-books .io-v4-hero:before{background:conic-gradient(from 220deg at 40% 90%,#ed4aac88,#ffaf1666,#136afbaa,#1e25a800,#ed4aac88);filter:blur(27px);height:42%}
html.io-ref-active .io-v4-qadah .io-v4-hero:before{background:linear-gradient(100deg,transparent,#deae5780,transparent);transform:rotate(-4deg);filter:blur(20px)}
html.io-ref-active .io-v4-mash .io-v4-hero:before{background:linear-gradient(91deg,transparent,#e2ad2666 44%,#ffe02150,transparent)}
html.io-ref-active .io-v4-root .io-v4-hero-inner{position:relative!important;z-index:4!important;max-width:1450px!important;width:calc(100% - 50px)!important;margin-inline:auto!important;padding:45px 24px 38px!important;min-height:340px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
html.io-ref-active .io-v4-hero-copy{max-width:55%!important;width:min(710px,55%)!important;margin:0 3% 0 auto!important;position:relative!important;z-index:5!important;direction:rtl!important;text-align:right!important;transform:none!important}
html.io-ref-active [dir=ltr] .io-v4-hero-copy{direction:ltr!important;text-align:left!important}
html.io-ref-active .io-v4-books .io-v4-hero-copy{margin:auto!important;text-align:center!important;width:42%!important;max-width:42%!important}
html.io-ref-active .io-v4-qadah .io-v4-hero-copy{width:43%!important;max-width:43%!important;margin:0 23% 0 auto!important}
html.io-ref-active .io-v4-mash .io-v4-hero-copy{width:44%!important;max-width:44%!important;margin:0 3% 0 auto!important}
html.io-ref-active .io-v4-hero-copy h1{font:900 clamp(1.8rem,3.2vw,3.6rem)/1.34 var(--io-ref-font)!important;color:var(--r-ink)!important;margin:.25em 0!important;text-shadow:0 3px 14px #000b!important;letter-spacing:-.017em}
html.io-ref-active .io-v4-hero-copy h1 em{color:var(--r-gold)!important;font-style:normal!important}
html.io-ref-active .io-v4-hero-desc{color:#ffefd6!important;font-size:clamp(.87rem,1.08vw,1.17rem)!important;line-height:1.8!important;max-width:650px!important;margin:10px 0 15px!important}
html.io-ref-active .io-v4-books .io-v4-hero-desc{color:#f1edff!important}
html.io-ref-active .io-v4-books .io-v4-hero-desc,html.io-ref-active .io-v4-books .io-v4-overline{margin-inline:auto!important}
html.io-ref-active .io-v4-overline{font-size:clamp(.7rem,1vw,.88rem)!important;color:var(--r-gold)!important;letter-spacing:.13em!important;font-weight:850!important}
html.io-ref-active .io-v4-hero-brand{width:95px!important;height:64px!important;object-fit:contain!important;filter:drop-shadow(0 2px 9px #0006)!important}
html.io-ref-active .io-v4-hero .io-v4-actions{gap:11px!important;justify-content:flex-start!important;flex-wrap:wrap!important}
html.io-ref-active .io-v4-books .io-v4-hero .io-v4-actions{justify-content:center!important}
html.io-ref-active .io-v4-actions>a,html.io-ref-active .io-brand-cta{min-height:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:10px 20px!important;text-decoration:none!important;border-radius:12px!important;background:linear-gradient(160deg,#ffe3a0,#e9a73d)!important;border:1px solid #fff0be70!important;color:#1e1409!important;font-weight:900!important;box-shadow:0 5px 19px #e7a33b48,inset 0 1px 1px #ffebc5!important;transition:transform .2s ease,filter .2s ease!important}
html.io-ref-active .io-v4-books .io-v4-actions>a:not(.is-secondary){background:linear-gradient(130deg,#ffd44a,#ff8a00)!important;color:#1d1432!important}
html.io-ref-active .io-v4-mash .io-v4-actions>a:not(.is-secondary){background:linear-gradient(140deg,#ffe14d,#ffa800)!important;color:#191109!important}
html.io-ref-active .io-v4-actions>a.is-secondary{background:#0d0a0bbb!important;border:1px solid var(--r-gold)!important;color:#fff4d9!important;box-shadow:none!important}
html.io-ref-active .io-v4-actions>a:hover,html.io-ref-active .io-brand-cta:hover{transform:translateY(-2px)!important;filter:brightness(1.07)}
html.io-ref-active .io-v4-hero-foot{gap:17px!important;color:#f9da9a!important}
html.io-ref-active .io-v4-hero-stats{position:relative!important;z-index:4!important;background:#0c0c13b8!important;border-top:1px solid var(--r-line)!important;padding:11px clamp(15px,5vw,80px)!important;display:flex!important;justify-content:space-evenly!important;gap:8px!important}
html.io-ref-active .io-v4-hero-stats>div{border:0!important;flex:1!important;text-align:center!important}
html.io-ref-active .io-v4-hero-stats strong{color:var(--r-gold)!important;font-size:clamp(1.05rem,1.45vw,1.5rem)!important}
html.io-ref-active .io-v4-hero-stats span{font-size:.74rem!important;color:#e7ddcf!important}
html.io-ref-active .io-v4-hero .io-v5-founder{z-index:2!important;left:0!important;right:auto!important;bottom:-4px!important;top:auto!important;opacity:1!important;width:clamp(245px,33%,520px)!important;max-height:92%!important;object-fit:contain!important;object-position:left bottom!important;transform:none!important;mask-image:linear-gradient(to right,#000 72%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to right,#000 72%,transparent 100%)!important}
html.io-ref-active .io-v4-books .io-v4-hero .io-v5-founder{left:1%!important;width:32%!important;max-width:445px!important}
html.io-ref-active .io-v4-qadah .io-v5-video-background,html.io-ref-active .io-v4-mash .io-v5-video-background{z-index:1!important;opacity:.4!important;pointer-events:none!important}
html.io-ref-active .io-v5-media-control{z-index:15!important}
html.io-ref-active .io-v4-root .io-ref-presenter{position:absolute;z-index:3;left:clamp(5px,4vw,75px);bottom:0;width:clamp(245px,32vw,490px);height:92%;object-fit:contain;object-position:left bottom;mask-image:linear-gradient(to right,#000 85%,transparent);-webkit-mask-image:linear-gradient(to right,#000 85%,transparent);pointer-events:none;filter:drop-shadow(0 10px 18px #000a)}
html.io-ref-active .io-v4-qadah .io-ref-presenter{width:clamp(230px,31vw,455px)}
html.io-ref-active .io-v4-mash .io-ref-presenter{width:clamp(180px,24vw,360px);left:3%}
html.io-ref-active .io-v4-root .io-ref-logo-disc{position:absolute;right:1.2%;top:42px;width:clamp(110px,15vw,210px);aspect-ratio:1;border-radius:50%;border:3px solid #e5bf85;background:radial-gradient(circle,#fff6df,#eadbbd);display:grid;place-items:center;box-shadow:0 0 25px #edaf6a60;z-index:5}
html.io-ref-active .io-ref-logo-disc img{width:82%;height:82%;object-fit:contain}
html.io-ref-active .io-v4-qadah .io-ref-logo-disc{right:1%;top:38px}
html.io-ref-active .io-ref-books-art{position:absolute;right:1%;top:6%;height:87%;width:27%;object-fit:contain;pointer-events:none;opacity:.95;z-index:2;filter:drop-shadow(0 10px 25px #116fff60)}
html.io-ref-active .io-v4-hero-stats{display:none!important}
html.io-ref-active .io-v4-main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
html.io-ref-active .io-ref-sections{position:relative;z-index:3;max-width:1430px;width:calc(100% - 34px);margin:0 auto;padding:11px 0 28px;direction:rtl}
html.io-ref-active [dir=ltr] .io-ref-sections{direction:ltr}
html.io-ref-active .io-ref-row{padding:12px clamp(12px,2vw,29px);border:1px solid var(--r-line);border-radius:var(--r-rad);background:linear-gradient(125deg,#3420148f,#120f11dd);box-shadow:inset 0 1px 0 #fff2,0 7px 24px #0003;margin-block:9px;position:relative;overflow:hidden}
html.io-ref-active .io-v4-books .io-ref-row{background:linear-gradient(120deg,#101f5cdb,#08112ddf);box-shadow:0 0 19px #0a6ffc21,inset 0 1px 0 #fff1}
html.io-ref-active .io-v4-qadah .io-ref-row{background:#fffaf1;color:#241a13;border-color:#b99466;box-shadow:0 5px 20px #8a643325}
html.io-ref-active .io-v4-mash .io-ref-row{background:linear-gradient(120deg,#251806d4,#0d0b09dd);border-color:#f1c0357b}
html.io-ref-active .io-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
html.io-ref-active .io-ref-section-title{font-size:clamp(1.07rem,1.7vw,1.55rem);line-height:1.5;margin:0;color:inherit;font-weight:900}
html.io-ref-active .io-ref-section-title>span{color:var(--r-gold)}
html.io-ref-active .io-ref-subtitle{font-size:.82rem;line-height:1.6;margin:.1rem 0;color:#d9cbbc}
html.io-ref-active .io-v4-books .io-ref-subtitle{color:#aebfe5}
html.io-ref-active .io-v4-qadah .io-ref-subtitle{color:#5f4c3b}
html.io-ref-active .io-ref-link{font-size:.8rem;flex:none;display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid var(--r-line);border-radius:10px;text-decoration:none!important;color:inherit!important;font-weight:850;background:#0002}
html.io-ref-active .io-ref-link:hover{border-color:var(--r-gold);color:var(--r-gold)!important}
html.io-ref-active .io-ref-chips{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}
html.io-ref-active .io-ref-chip{border:1px solid #5264d277;background:linear-gradient(155deg,#17347c,#11173b);color:#fff;min-height:85px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 4px;font:850 .71rem/1.4 var(--io-ref-font);text-decoration:none;text-align:center;cursor:pointer;transition:transform .2s,box-shadow .2s}
html.io-ref-active .io-ref-chip .io-ref-icon{font-size:1.65rem;line-height:1.2;color:#ffcb4f;filter:drop-shadow(0 0 8px #43b6ff8a)}
html.io-ref-active .io-ref-chip:nth-child(3n+2){background:linear-gradient(140deg,#2b1955,#16143d);border-color:#9344ee66}
html.io-ref-active .io-ref-chip:hover,html.io-ref-active .io-ref-chip[aria-pressed=true]{transform:translateY(-3px);border-color:#ffc14b;box-shadow:0 0 18px #bd48fa50,0 0 8px #0897fb60}
html.io-ref-active .io-ref-bookgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
html.io-ref-active .io-ref-book{min-width:0;display:flex;flex-direction:column;background:#0a12378f;border:1px solid #334d9860;border-radius:13px;padding:10px;text-align:center;box-shadow:inset 0 1px 0 #ffffff10}
html.io-ref-active .io-ref-book img{width:100%;height:160px;object-fit:contain;filter:drop-shadow(0 6px 8px #0008)}
html.io-ref-active .io-ref-book h3{color:#fff!important;font-size:clamp(.79rem,1vw,1.05rem);margin:8px 0 2px;line-height:1.5}
html.io-ref-active .io-ref-book p{font-size:.72rem;color:#b8c5f3;margin:0}
html.io-ref-active .io-ref-book .io-ref-book-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px}
html.io-ref-active .io-ref-price{font-weight:900;color:#ffe09c;font-size:.83rem}
html.io-ref-active .io-ref-preview{font:800 .7rem var(--io-ref-font);color:#1b1337;background:linear-gradient(140deg,#ffbe3d,#ff800c);padding:5px 9px;border-radius:7px;border:0;text-decoration:none}
html.io-ref-active .io-ref-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html.io-ref-active .io-ref-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
html.io-ref-active .io-ref-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
html.io-ref-active .io-ref-card{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:96px;padding:14px;background:linear-gradient(145deg,#58371980,#19100b70);border-radius:13px;border:1px solid #d5a46173;position:relative;overflow:hidden;color:inherit;text-decoration:none!important}
html.io-ref-active .io-ref-card strong{font-size:clamp(.84rem,1.1vw,1.07rem);line-height:1.5}
html.io-ref-active .io-ref-card small{line-height:1.7;font-size:.75rem;color:#eddbb9}
html.io-ref-active .io-ref-card .io-ref-icon{font-size:1.85rem;align-self:flex-start;filter:drop-shadow(0 3px 6px #0006)}
html.io-ref-active .io-ref-card img{max-width:95px;max-height:67px;object-fit:contain;align-self:flex-start}
html.io-ref-active .io-ref-card:hover{border-color:#ffd277;box-shadow:0 0 21px #e9a63e3b;transform:translateY(-2px)}
html.io-ref-active .io-v4-books .io-ref-card{background:#142760;border-color:#4174ff65}
html.io-ref-active .io-v4-mash .io-ref-card{background:#251a0b;border-color:#dbb23466}
html.io-ref-active .io-ref-steps{display:flex;align-items:stretch;gap:9px}
html.io-ref-active .io-ref-step{flex:1;min-width:0;border:1px solid #ba873f88;background:#0e0d0bcc;border-radius:12px;text-align:center;padding:11px 6px}
html.io-ref-active .io-ref-step .io-ref-step-icon{font-size:1.5rem;color:var(--r-gold);margin-bottom:3px}
html.io-ref-active .io-ref-step strong{font-size:.84rem;display:block;color:inherit}
html.io-ref-active .io-ref-step small{display:block;font-size:.68rem;line-height:1.5;color:#dac09f;margin-top:5px}
html.io-ref-active .io-ref-episode{position:relative;min-height:140px;overflow:hidden;border:1px solid #b4956a;border-radius:14px;background:#271a0f;display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none!important;color:white!important;padding:15px;isolation:isolate}
html.io-ref-active .io-ref-episode img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.64}
html.io-ref-active .io-ref-episode:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0e0b08 0%,#17100b4f 85%);z-index:-1}
html.io-ref-active .io-ref-episode span{font-size:.7rem;color:#ffcb70;background:#15100bba;border:1px solid #ba9859;border-radius:20px;align-self:start;padding:2px 9px}
html.io-ref-active .io-ref-episode strong{margin-top:9px;font-weight:850;font-size:.94rem;line-height:1.6}
html.io-ref-active .io-ref-episode small{font-size:.74rem;color:#f3dcb7}
html.io-ref-active .io-v4-qadah .io-ref-card{background:linear-gradient(150deg,#2d2117,#50351e);color:#fff;border-color:#bf905a}
html.io-ref-active .io-v4-qadah .io-ref-card small{color:#e9d1a6}
html.io-ref-active .io-ref-platforms{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#21160f;border:1px solid #b59263;border-radius:14px;padding:12px;justify-content:space-around;margin:10px 0}
html.io-ref-active .io-ref-platforms a{border:1px solid #e8c58e66;color:#ffefce;text-decoration:none;border-radius:10px;padding:9px 15px;font-size:.85rem;font-weight:800}
html.io-ref-active .io-ref-platforms a:hover{background:#e9b45b26}
html.io-ref-active .io-ref-band{display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:17px;border:1px solid #efbc5a9c;background:linear-gradient(104deg,#31150c,#5b311b 45%,#24120b);margin-block:10px;padding:17px clamp(16px,3vw,37px);min-height:87px;box-shadow:0 0 20px #b265242b}
html.io-ref-active .io-v4-books .io-ref-band{background:linear-gradient(90deg,#db571ad6,#54147d,#0f3993);border-color:#a15ffd;box-shadow:0 0 20px #ab36ff6d}
html.io-ref-active .io-v4-mash .io-ref-band{background:linear-gradient(91deg,#ffba08,#fce12e,#ffc402);color:#160e08;border-color:#ffe882;box-shadow:0 0 27px #ffaf139c}
html.io-ref-active .io-ref-band h2{margin:0;font-size:clamp(1.02rem,1.8vw,1.55rem);font-weight:900;color:inherit}
html.io-ref-active .io-ref-band p{margin:5px 0 0;font-size:.81rem;line-height:1.6;color:inherit}
html.io-ref-active .io-ref-band a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 21px;border-radius:12px;background:linear-gradient(#ffd981,#e7a63d);color:#1c1209;text-decoration:none;font-weight:900;flex:none;box-shadow:0 4px 16px #0004}
html.io-ref-active .io-v4-mash .io-ref-band a{background:#19130b;color:#ffe139}
html.io-ref-active .io-ref-search{width:min(450px,100%);padding:11px 17px;font:700 .91rem var(--io-ref-font);border-radius:30px;border:1px solid #5794ff;background:#112153;color:#fff}
html.io-ref-active .io-ref-search::placeholder{color:#c7c9e3}
html.io-ref-active .io-ref-search-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
html.io-ref-active .io-ref-empty{padding:20px;text-align:center;font-size:.84rem;color:#f9d27a}
html.io-ref-active .io-ref-hidden{display:none!important}
html.io-ref-active .io-ref-summary{font-size:.82rem;line-height:1.75;color:inherit}
html.io-ref-active .io-ref-chip-row{display:flex;flex-wrap:wrap;gap:9px}
html.io-ref-active .io-ref-smallpill{font-size:.75rem;display:inline-flex;align-items:center;gap:5px;padding:6px 13px;border-radius:50px;background:#0a0c15a8;border:1px solid var(--r-line);text-decoration:none;color:inherit}
html.io-ref-active .io-ref-bookhero{display:flex;align-items:center;gap:20px;min-height:130px}
html.io-ref-active .io-ref-bookhero img{height:135px;width:155px;object-fit:contain;border-radius:12px}
html.io-ref-active .io-ref-bookhero h2{font-size:clamp(1.1rem,1.7vw,1.7rem)}
html.io-ref-active .io-v4-qadah .io-ref-bookhero{color:#21160c}
html.io-ref-active .io-ref-legacy-separator{color:var(--r-gold);font-weight:800;font-size:.9rem;padding:16px 7px;margin:auto;max-width:1400px}
html.io-ref-active .io-v4-root .source-preserving-journey{margin-top:0!important}
html.io-ref-active .io-v4-root .io-v4-footer{background:#100a08!important;border-top:1px solid #9e7340!important}
html.io-ref-active .io-v4-books .io-v4-footer{background:#06132f!important;border-color:#2d59ca!important}
html.io-ref-active .io-v4-qadah .io-v4-footer{background:#17100b!important;color:#f3e4d2!important}
html.io-ref-active .io-v4-mash .io-v4-footer{background:#050505!important;border-color:#dbab20!important}
html.io-ref-active .io-v4-root .io-v4-footer-inner{max-width:1410px!important;padding-block:20px!important;gap:22px!important}
html.io-ref-active .io-v4-footer a{font-size:.82rem}
html.io-ref-active .io-v4-root .io-ref-sections .io-v4-section{margin:0}
html.io-ref-active .io-v4-root .io-v4-main>.io-v4-section:not(.io-brand-section){display:none!important}
html.io-ref-active .io-v4-root .io-v4-main>.io-ref-sections{display:block!important}
html.io-ref-active .io-v4-official .io-brand-section{width:calc(100% - 34px);max-width:1410px;margin:10px auto!important;padding:18px 25px!important;background:linear-gradient(120deg,#2b1d13,#17110dd9)!important;border:1px solid #b28a5773!important;border-radius:16px!important}
html.io-ref-active .io-v4-official .io-brand-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
html.io-ref-active .io-v4-official .io-brand-card{background:linear-gradient(150deg,#54361e,#1c110b)!important;border:1px solid #c08f5d!important;box-shadow:inset 0 1px 0 #fff2,0 5px 14px #0003!important;border-radius:13px!important;min-height:138px!important}
html.io-ref-active .io-v4-official .io-brand-section h2{color:#ffdfab!important;font-size:clamp(1.15rem,1.8vw,1.6rem)!important}
html.io-ref-active .io-v4-official .io-brand-section .io-v4-overline{color:#ffd379!important}
html.io-ref-active .io-v4-official .io-brand-section .io-brand-card h3{color:#ffe5b4!important;font-size:.98rem!important}
html.io-ref-active .io-v4-official .io-brand-section .io-brand-card p{font-size:.81rem!important;color:#f7dfbd!important}
html.io-ref-active .io-v4-official #io-brand-introduction{padding-bottom:8px!important}
html.io-ref-active .io-v4-official #io-brand-projects .io-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html.io-ref-active .io-v4-official #io-brand-projects .io-brand-card:first-child{display:none!important}
html.io-ref-active .io-v4-official .io-brand-tags li{border-color:#ae845ac4!important;color:#ffe2a8!important;background:#281d14!important}
html.io-ref-active .io-v4-official .io-brand-lead{color:#ead9c1!important}
html.io-ref-active .io-v4-official .io-v4-footer{margin-top:25px!important}
html.io-ref-active .io-v4-qadah .io-ref-sections{color:#26180e}
html.io-ref-active .io-v4-qadah .io-ref-section-title{color:#24160d}
html.io-ref-active .io-v4-qadah .io-ref-band{background:#fff8e9;color:#21140b}
html.io-ref-active .io-v4-qadah .io-ref-platforms{color:#fff}
html.io-ref-active .io-v4-mash .io-ref-chapters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
html.io-ref-active .io-v4-mash .io-ref-chapter{background:linear-gradient(155deg,#291d0c,#0d0b08);border:1px solid #e6b623;border-radius:10px;padding:11px 8px;min-height:84px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;text-align:center;text-decoration:none;color:#fbe6b1}
html.io-ref-active .io-v4-mash .io-ref-chapter b{color:#ffde28;font-size:.95rem}
@media(max-width:1200px){
 html.io-ref-active .io-ref-chips{grid-template-columns:repeat(5,minmax(0,1fr))}
 html.io-ref-active .io-ref-bookgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
 html.io-ref-active .io-v4-official .io-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html.io-ref-active .io-v4-mash .io-ref-chapters{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.io-ref-active .io-v4-qadah .io-ref-logo-disc{width:140px}
}
@media(max-width:800px){
 html.io-ref-active .io-v4-header-inner{width:calc(100% - 18px)!important;min-height:56px!important;padding:4px 7px!important}
 html.io-ref-active .io-v4-root .io-v4-hero-inner{padding:28px 15px!important;min-height:350px!important;align-items:flex-start!important}
 html.io-ref-active .io-v4-hero-copy{max-width:72%!important;width:72%!important;margin:0 0 0 auto!important}
 html.io-ref-active .io-v4-books .io-v4-hero-copy{max-width:72%!important;width:72%!important;margin:0 auto!important}
 html.io-ref-active .io-v4-qadah .io-v4-hero-copy{max-width:67%!important;width:67%!important;margin:0 18% 0 auto!important}
 html.io-ref-active .io-v4-mash .io-v4-hero-copy{max-width:75%!important;width:75%!important;margin:0 0 0 auto!important}
 html.io-ref-active .io-v4-hero-copy h1{font-size:clamp(1.35rem,4.2vw,2rem)!important}
 html.io-ref-active .io-v4-root .io-ref-presenter{opacity:.65;left:-22px;width:38%;height:73%}
 html.io-ref-active .io-v4-qadah .io-ref-logo-disc{width:112px;top:40px}
 html.io-ref-active .io-ref-chips{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.io-ref-active .io-ref-bookgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.io-ref-active .io-ref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.io-ref-active .io-ref-grid.cols-3,html.io-ref-active .io-ref-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.io-ref-active .io-ref-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 html.io-ref-active .io-v4-books .io-ref-books-art{opacity:.2}
}
@media(max-width:600px){
 html.io-ref-active .io-v4-root .io-v4-hero{min-height:440px!important}
 html.io-ref-active .io-v4-root .io-v4-hero-inner{width:calc(100% - 10px)!important;padding:24px 12px 25px!important;min-height:390px!important;align-items:flex-start!important}
 html.io-ref-active .io-v4-hero-copy,html.io-ref-active .io-v4-books .io-v4-hero-copy,html.io-ref-active .io-v4-qadah .io-v4-hero-copy,html.io-ref-active .io-v4-mash .io-v4-hero-copy{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important;text-align:right!important}
 html.io-ref-active [dir=ltr] .io-v4-hero-copy{text-align:left!important}
 html.io-ref-active .io-v4-hero-copy h1{font-size:clamp(1.45rem,5.2vw,1.85rem)!important;max-width:95%!important}
 html.io-ref-active .io-v4-hero-desc{font-size:.83rem!important;line-height:1.7!important;max-width:88%!important}
 html.io-ref-active .io-v4-books .io-v4-hero-desc{max-width:90%!important}
 html.io-ref-active .io-v4-hero .io-v4-actions{gap:7px!important}
 html.io-ref-active .io-v4-actions>a{font-size:.77rem!important;min-height:40px!important;padding:8px 11px!important}
 html.io-ref-active .io-v4-hero .io-ref-presenter,html.io-ref-active .io-v4-hero .io-v5-founder{opacity:.3!important;width:47%!important;left:-12%!important;max-height:57%!important;pointer-events:none!important}
 html.io-ref-active .io-v4-qadah .io-ref-logo-disc{width:83px!important;top:auto!important;bottom:22px!important;right:12px!important;opacity:.85}
 html.io-ref-active .io-v4-books .io-ref-books-art{opacity:.24;width:42%;right:-8%;top:32%}
 html.io-ref-active .io-ref-sections{width:calc(100% - 16px)!important}
 html.io-ref-active .io-ref-row{padding:12px!important}
 html.io-ref-active .io-ref-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 html.io-ref-active .io-ref-chip{min-height:73px;padding:6px 3px;font-size:.64rem}
 html.io-ref-active .io-ref-chip .io-ref-icon{font-size:1.35rem}
 html.io-ref-active .io-ref-bookgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.io-ref-active .io-ref-book img{height:142px}
 html.io-ref-active .io-ref-grid.cols-3,html.io-ref-active .io-ref-grid.cols-5{grid-template-columns:1fr}
 html.io-ref-active .io-ref-steps{grid-template-columns:1fr 1fr}
 html.io-ref-active .io-ref-band{flex-direction:column;align-items:flex-start;gap:9px;padding:17px}
 html.io-ref-active .io-v4-official .io-brand-section{width:calc(100% - 16px);padding:13px!important}
 html.io-ref-active .io-v4-official .io-brand-grid{grid-template-columns:1fr!important}
 html.io-ref-active .io-v4-official #io-brand-projects .io-brand-grid{grid-template-columns:1fr!important}
 html.io-ref-active .io-v4-mash .io-ref-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.io-ref-active .io-ref-section-head{align-items:flex-start}
 html.io-ref-active .io-ref-section-title{font-size:1.04rem}
}
@media(prefers-reduced-motion:reduce){
 html.io-ref-active,html.io-ref-active *,html.io-ref-active *:before,html.io-ref-active *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Mouse-responsive light pools: screenshot glow implemented as lightweight CSS/JS, not a canvas screenshot. */
html.io-ref-active .io-ref-card,html.io-ref-active .io-ref-book,html.io-ref-active .io-ref-chip,html.io-ref-active .io-ref-episode{isolation:isolate;position:relative;will-change:auto}
html.io-ref-active .io-ref-card:after,html.io-ref-active .io-ref-book:after,html.io-ref-active .io-ref-chip:after,html.io-ref-active .io-ref-episode:after{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
 background:radial-gradient(230px circle at var(--io-ref-mx,50%) var(--io-ref-my,50%),color-mix(in srgb,var(--r-gold) 19%,transparent),transparent 75%);
 opacity:0;transition:opacity .2s ease
}
html.io-ref-active .io-ref-card:hover:after,html.io-ref-active .io-ref-card:focus-visible:after,html.io-ref-active .io-ref-book:hover:after,html.io-ref-active .io-ref-chip:hover:after,html.io-ref-active .io-ref-episode:hover:after{opacity:1}
html.io-ref-active :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode)>*{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){html.io-ref-active :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode){will-change:auto!important;transform:none!important}}


/* V6 CLEANROOM COMPONENTS — no old source-vault panels are rendered. */
html.io-ref-v6{--io-ref-light:#ffe2a0}
html.io-ref-v6 .io-ref-card,
html.io-ref-v6 .io-ref-book,
html.io-ref-v6 .io-ref-chip,
html.io-ref-v6 .io-ref-episode,
html.io-ref-v6 .io-ref-functional-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;transition:transform .23s ease,border-color .23s ease,box-shadow .23s ease}
html.io-ref-v6 .io-ref-card:after,
html.io-ref-v6 .io-ref-book:after,
html.io-ref-v6 .io-ref-chip:after,
html.io-ref-v6 .io-ref-episode:after,
html.io-ref-v6 .io-ref-functional-card:after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;z-index:0;opacity:0;transition:opacity .2s ease;background:radial-gradient(210px circle at var(--io-ref-mx,50%) var(--io-ref-my,50%),color-mix(in srgb,var(--r-gold) 22%,transparent),transparent 78%)}
html.io-ref-v6 :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode,.io-ref-functional-card):hover:after,
html.io-ref-v6 :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode,.io-ref-functional-card):focus-within:after{opacity:1}
html.io-ref-v6 :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode,.io-ref-functional-card)>*{position:relative;z-index:1}
html.io-ref-v6 .io-ref-bookgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
html.io-ref-v6 .io-ref-book{padding:11px;border-radius:15px;border:1px solid #517bce82;background:linear-gradient(160deg,#152b73,#080d2c);gap:9px;display:flex;flex-direction:column}
html.io-ref-v6 .io-ref-book[hidden]{display:none!important}
html.io-ref-v6 .io-ref-book>a:first-child{display:flex;align-items:center;justify-content:center;min-height:180px}
html.io-ref-v6 .io-ref-book>a:first-child img{max-width:100%;max-height:184px;object-fit:contain;filter:drop-shadow(0 12px 17px #0008)}
html.io-ref-v6 .io-ref-book h3{min-height:2.7em;margin:0;font-weight:900;line-height:1.5;font-size:.92rem;color:#f7f9ff}
html.io-ref-v6 .io-ref-book-bottom{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;justify-content:center;align-items:center}
html.io-ref-v6 .io-ref-book-bottom .io-ref-price{flex-basis:100%;font:900 .91rem var(--io-ref-font);color:#ffe39e}
html.io-ref-v6 .io-ref-preview,
html.io-ref-v6 .io-ref-save{font:850 .72rem var(--io-ref-font);border:1px solid #f8a528;min-height:36px;display:inline-flex;justify-content:center;align-items:center;gap:5px;border-radius:9px;padding:7px 10px;cursor:pointer;text-decoration:none!important}
html.io-ref-v6 .io-ref-preview{background:linear-gradient(120deg,#ffc53a,#ee7900);color:#171028}
html.io-ref-v6 .io-ref-save{background:#131b43;color:#fff4d5}
html.io-ref-v6 .io-ref-save[aria-pressed=true]{background:#381979;color:#ffe6a8}
html.io-ref-v6 .io-ref-results{font-size:.74rem;color:#d9d9f7;font-weight:750}
html.io-ref-v6 .io-ref-section-head{flex-wrap:wrap}
html.io-ref-v6 .io-ref-card{transform:translateZ(0)}
html.io-ref-v6 .io-ref-functional-card{padding:clamp(16px,2.5vw,28px);border:1px solid var(--r-line);border-radius:16px;background:linear-gradient(140deg,#2a1b10,#0e0a09);color:var(--r-ink);box-shadow:inset 0 1px 0 #ffedbc20}
html.io-ref-v6 .io-ref-functional-card h2{color:var(--r-gold);font-size:clamp(1.02rem,1.85vw,1.55rem);margin:0 0 17px}
html.io-ref-v6 .io-ref-functional-card :is(form,.io-idea-result){background:transparent;border:0;box-shadow:none;max-width:none;margin:0;padding:0}
html.io-ref-v6 .io-ref-functional-card :is(.io-field,.io-consent){display:flex;flex-direction:column;gap:7px;margin:8px 0;color:#ffe9bc;font-weight:750;min-width:0}
html.io-ref-v6 .io-ref-functional-card :is(input,textarea,select){max-width:100%;min-width:0;min-height:44px;background:#120d0b;border:1px solid #d0aa6e;border-radius:10px;padding:10px 12px;font:600 .9rem var(--io-ref-font);color:#fff6e8}
html.io-ref-v6 .io-ref-functional-card :is(input,textarea,select):focus-visible{outline:3px solid #ffcd60;outline-offset:2px}
html.io-ref-v6 .io-ref-functional-card textarea{resize:vertical;min-height:88px}
html.io-ref-v6 .io-ref-functional-card .io-consent{flex-direction:row;align-items:flex-start}
html.io-ref-v6 .io-ref-functional-card input[type=checkbox]{min-height:auto;width:20px;height:20px;flex:none}
html.io-ref-v6 .io-ref-functional-card :is(.io-btn,.io-btn-primary,button[type=submit]){background:linear-gradient(120deg,#ffe15c,#f2a42d);color:#1e1006;border:1px solid #ffedb8;border-radius:9px;padding:10px 17px;font:900 .84rem var(--io-ref-font);cursor:pointer}
html.io-ref-v6 .io-ref-functional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html.io-ref-v6 .io-ref-functional-grid>form{padding:16px;border:1px solid #9d723b99;border-radius:13px;background:#211509a6}
html.io-ref-v6 .io-ref-tool-mount:has([data-io-ref-idea-host]:empty),
html.io-ref-v6 .io-ref-form-mount:has([data-io-ref-form-host]:empty){min-height:100px}
html.io-ref-v6 .io-ref-episode{background:#29180f}
html.io-ref-v6 .io-ref-episode img{max-width:100%;object-fit:cover}
html.io-ref-v6 .io-v5-video-background{isolation:isolate;position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit}
html.io-ref-v6 .io-v5-video-background .io-v5-video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.46}
html.io-ref-v6 .io-v5-video-background iframe{position:absolute;width:100%;height:100%;inset:0;border:0;object-fit:cover;z-index:2}
html.io-ref-v6 .io-v5-media-control{pointer-events:auto;position:absolute;z-index:15;display:flex;gap:8px;flex-wrap:wrap;bottom:10px;right:12px}
html.io-ref-v6 .io-v5-media-control button{min-height:38px;border:1px solid #ffe1a0;background:#24180fe8;color:#ffebc4;border-radius:9px;padding:8px 12px;font:800 .8rem var(--io-ref-font)}
html.io-ref-v6 .io-v5-media-status{font-size:.72rem;color:#ffedc3;display:inline-flex;align-items:center}
html.io-ref-v6 .io-ref-legacy-separator,
html.io-ref-v6 .source-preserving-journey,
html.io-ref-v6 .io-v5-source-details,
html.io-ref-v6 .io-v4-original-divider{display:none!important} /* defense-in-depth; main server transformation deletes these nodes */
html.io-ref-v6 .io-ref-sections>.io-ref-row,
html.io-ref-v6 .io-ref-sections>.io-ref-band{content-visibility:auto;contain-intrinsic-size:auto 260px}
@media(max-width:1200px){html.io-ref-v6 .io-ref-bookgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){html.io-ref-v6 .io-ref-bookgrid{grid-template-columns:repeat(3,minmax(0,1fr))}html.io-ref-v6 .io-ref-functional-grid{grid-template-columns:1fr}}
@media(max-width:540px){html.io-ref-v6 .io-ref-bookgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html.io-ref-v6 .io-ref-book>a:first-child{min-height:145px}html.io-ref-v6 .io-ref-book h3{font-size:.79rem}html.io-ref-v6 .io-ref-preview,html.io-ref-v6 .io-ref-save{font-size:.68rem;padding:7px}html.io-ref-v6 .io-ref-functional-card{padding:12px}html.io-ref-v6 .io-v5-media-status{display:none}}
@media(prefers-reduced-motion:reduce){html.io-ref-v6 :is(.io-ref-card,.io-ref-book,.io-ref-chip,.io-ref-episode,.io-ref-functional-card){transition:none!important;transform:none!important}}

/* V6 owns its light mode; legacy IO_THEME_CSS/JS is NOT loaded on the homepage.
   Dark is the screenshot-matched default; light is an accessible alternate theme. */
html.io-ref-v6[data-io-theme="light"] .io-v4-root{--r-ink:#221913;--r-panel:#fff9ef;--r-line:#af7c4594;--r-gold:#8c530c;background:#f5eee3!important;color:#24180f!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-root.io-v4-books{--r-gold:#a9510a;--r-line:#5d82cf88;background:linear-gradient(160deg,#e8eeff,#fbf7ed)!important;color:#19254c!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-root.io-v4-qadah{background:#fffaf1!important;color:#2a1a0d!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-root.io-v4-mash{background:#f8f4e9!important;color:#211a0c!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-row{background:#fffaf2!important;color:#211b16!important;border-color:#b58d5485!important;box-shadow:0 6px 21px #62451a20!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-row{background:linear-gradient(120deg,#f8faff,#e5ebff)!important;border-color:#718fca88!important;color:#17254c!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-mash .io-ref-row{background:#fff9ea!important;color:#21180b!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-section-title{color:inherit!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-subtitle{color:#62564a!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-subtitle{color:#526185!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-card{background:linear-gradient(140deg,#faf0e1,#efe0c7)!important;color:#30200e!important;border-color:#b78b51!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-card small{color:#5a4731!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-card{background:#dce8ff!important;border-color:#749cde!important;color:#152d5a!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-book{background:#e3edff!important;border-color:#7899d6!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-book h3{color:#16285b!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-book p{color:#4e5d82!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-price{color:#885116!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-search{color:#1a2452!important;background:#fff!important;border-color:#587cbb!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-ref-search::placeholder{color:#4f5f82!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-hero h1,
html.io-ref-v6[data-io-theme="light"] .io-v4-hero .io-v4-hero-copy h1{color:#fff4e2!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-hero .io-v4-hero-desc{color:#fff2d9!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-v4-hero .io-v4-hero-copy h1{color:#fff!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-functional-card{background:#fbf3e5!important;color:#23180c!important;border-color:#b88739!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-functional-card :is(.io-field,.io-consent){color:#352318!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-functional-card :is(input,textarea,select){background:#fff!important;color:#261b13!important;border-color:#b18453!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-functional-grid>form{background:#fffaf0!important;border-color:#c89e66!important}
html.io-ref-v6[data-io-theme="light"] .io-ref-row .io-ref-link{color:inherit!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-qadah .io-ref-episode{color:#fff!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-mash .io-ref-chapter{background:linear-gradient(140deg,#3d260c,#211408)!important;color:#ffe7a5!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-root .io-v4-header{background:#17100eef!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-books .io-v4-header{background:#0c1544!important}
html.io-ref-v6[data-io-theme="light"] .io-v4-root .io-v4-footer{background:#171009!important;color:#ffecd2!important}

/* V6 hero correction — RIGHT-hand readable copy, LEFT-hand full cinematographic image. */
html.io-ref-v6 .io-v4-official .io-v4-hero,
html.io-ref-v6 .io-v4-books .io-v4-hero{position:relative!important;min-height:570px!important;overflow:hidden!important;isolation:isolate!important}
html.io-ref-v6 .io-v4-official .io-v4-hero{background:radial-gradient(ellipse at 18% 78%,#79552935,transparent 60%),linear-gradient(100deg,#100b08 0%,#1f1511 54%,#0c0908 100%)!important}
html.io-ref-v6 .io-v4-books .io-v4-hero{background:radial-gradient(ellipse at 13% 60%,#2842c577,transparent 65%),linear-gradient(100deg,#080e2e 0%,#0b1640 55%,#080e2b 100%)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-inner,
html.io-ref-v6 .io-v4-books .io-v4-hero-inner{width:min(100%,1480px)!important;max-width:1480px!important;min-height:515px!important;display:grid!important;direction:rtl!important;grid-template-columns:minmax(0,54%) minmax(0,46%)!important;align-items:center!important;justify-content:stretch!important;padding:clamp(38px,5vw,82px) clamp(26px,5vw,80px)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-copy,
html.io-ref-v6 .io-v4-books .io-v4-hero-copy{grid-column:1!important;justify-self:stretch!important;align-self:center!important;max-width:660px!important;width:100%!important;margin:0!important;padding:0 clamp(5px,2vw,25px) 0 0!important;direction:rtl!important;text-align:right!important;position:relative!important;z-index:8!important}
html.io-ref-v6 .io-v4-root[dir="ltr"] .io-v4-hero-copy{direction:ltr!important;text-align:left!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-copy h1,
html.io-ref-v6 .io-v4-books .io-v4-hero-copy h1{max-width:16ch!important;line-height:1.24!important;font-size:clamp(2.15rem,3.7vw,4.55rem)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-desc,
html.io-ref-v6 .io-v4-books .io-v4-hero-desc{margin:14px 0 22px!important;max-width:53ch!important;text-align:inherit!important;line-height:1.9!important}
html.io-ref-v6 .io-v4-official .io-v4-hero .io-v5-founder{position:absolute!important;display:block!important;left:0!important;right:auto!important;bottom:0!important;top:0!important;width:51%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:cover!important;object-position:38% center!important;z-index:2!important;opacity:1!important;transform:none!important;filter:none!important;mask-image:radial-gradient(ellipse 93% 102% at 39% 44%,#000 58%,transparent 99%)!important;-webkit-mask-image:radial-gradient(ellipse 93% 102% at 39% 44%,#000 58%,transparent 99%)!important;pointer-events:none!important}
html.io-ref-v6 .io-v4-official .io-v4-hero:after{content:"";position:absolute;left:0;bottom:0;width:61%;height:50%;z-index:3;pointer-events:none;background:linear-gradient(to top,#100b08 0%,transparent 95%);opacity:.52}
html.io-ref-v6 .io-v4-books .io-v4-hero:after{content:"";position:absolute;top:0;left:0;width:54%;height:100%;pointer-events:none;z-index:2;background:url('/images/vision-2026/books-hero-1536.webp') 39% center/cover no-repeat;opacity:.94;mask-image:radial-gradient(ellipse 96% 108% at 37% 44%,#000 57%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 96% 108% at 37% 44%,#000 57%,transparent 100%)}
html.io-ref-v6 .io-v4-books .io-v4-hero .io-v5-founder{display:none!important}
html.io-ref-v6 .io-v4-official .io-v4-hero .io-v4-hero-copy>*,
html.io-ref-v6 .io-v4-books .io-v4-hero .io-v4-hero-copy>*{position:relative;z-index:3}
html.io-ref-v6 .io-v4-official .io-v4-hero .io-v4-actions,
html.io-ref-v6 .io-v4-books .io-v4-hero .io-v4-actions{justify-content:flex-start!important;align-items:center!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:16px 0!important}
html.io-ref-v6 .io-v4-official .io-v4-actions>a,
html.io-ref-v6 .io-v4-books .io-v4-actions>a{min-height:48px!important;min-width:155px!important;white-space:normal!important;line-height:1.5!important;text-align:center!important;flex:0 1 auto!important;max-width:100%!important;overflow-wrap:anywhere!important}
html.io-ref-v6 .io-v4-books .io-v4-hero-stats{display:none!important}
html.io-ref-v6 .io-v4-books .io-v4-hero-player{display:none!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero .io-ref-presenter,
html.io-ref-v6 .io-v4-qadah .io-v4-hero .io-ref-logo-disc{display:none!important}
/* All subscribe and purchase links align within their own bounding cards. */
html.io-ref-v6 .io-ref-book-bottom{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:center!important;gap:9px!important;width:100%!important}
html.io-ref-v6 .io-ref-book-bottom .io-ref-price{grid-column:1/-1!important;justify-self:center!important;white-space:nowrap!important;line-height:1.45!important;font-weight:900!important;font-size:1.08rem!important;color:#ffe5a3!important}
html.io-ref-v6 .io-ref-book-bottom .io-ref-price small{font-size:.68rem!important;letter-spacing:.06em!important}
html.io-ref-v6 .io-ref-book-bottom :is(.io-ref-preview,.io-ref-save){width:100%!important;min-width:0!important;max-width:100%!important;min-height:43px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important;font-weight:850!important;font-family:var(--io-ref-font)!important;text-align:center!important;justify-content:center!important;box-sizing:border-box!important}
html.io-ref-v6 .io-ref-pager{display:flex;align-items:center;gap:9px}
html.io-ref-v6 .io-ref-pager button{min-width:44px;min-height:44px;border:1px solid var(--r-gold);border-radius:11px;background:var(--r-panel);color:var(--r-gold);cursor:pointer}
html.io-ref-v6 .io-ref-pager button:disabled{opacity:.35;cursor:not-allowed}
html.io-ref-v6 .io-ref-book-filter-row{padding-top:19px!important}
html.io-ref-v6 .io-ref-shopping-note{padding:13px 24px!important;text-align:center!important}
html.io-ref-v6 .io-ref-shopping-note p{margin:0;font-size:.77rem!important;line-height:1.7}
html.io-ref-v6 .io-ref-band a,html.io-ref-v6 .io-v4-root a[data-io-subscribe]{min-height:47px!important;padding:11px 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;flex-wrap:wrap!important;gap:8px!important;border-radius:12px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
/* Mashrustan official-book registration now lives on two genuine inner routes. */
html.io-ref-v6 .io-ref-inner-page{min-height:100vh!important;display:flex!important;flex-direction:column!important}
html.io-ref-v6 .io-ref-inner-page>main{flex:1!important;width:min(100%,1150px)!important;margin:0 auto!important;padding:clamp(20px,3vw,50px) 18px 70px!important;min-width:0!important}
html.io-ref-v6 .io-ref-inner-page .io-ref-inner-intro{max-width:none!important;background:linear-gradient(130deg,#34220d,#130c07)!important;border:1px solid #dfb636b0!important;color:#fff2c2!important;border-radius:20px!important;text-align:start!important;padding:clamp(20px,3.1vw,43px)!important}
html.io-ref-v6 .io-ref-inner-page .io-ref-inner-intro h1{color:#ffde65!important;font-size:clamp(1.6rem,3.2vw,3rem)!important;line-height:1.4!important;max-width:24ch!important}
html.io-ref-v6 .io-ref-inner-page .io-ref-inner-intro p{color:#fff1d2!important;line-height:1.9!important;max-width:67ch!important}
html.io-ref-v6 .io-ref-inner-page .io-ref-inner-brand{display:block!important;max-width:112px!important;max-height:76px!important;object-fit:contain!important;margin:12px 0!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-forms{display:block!important;width:100%!important;max-width:none!important;margin:20px 0 0!important;border:1px solid #d8a842ba!important;border-radius:18px!important;background:linear-gradient(145deg,#281a0a,#100c08)!important;padding:clamp(19px,3vw,38px)!important;color:#ffefc5!important;box-shadow:inset 0 1px 0 #ffdf7536,0 15px 37px #0005!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-forms h2{color:#ffdc52!important;font-size:clamp(1.35rem,2.2vw,2rem)!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;max-width:780px!important;margin:0 auto!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout>form{display:grid!important;gap:13px!important;min-width:0!important;padding:0!important;background:none!important;border:0!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout :is(input,select,textarea){width:100%!important;min-width:0!important;min-height:44px!important;border-radius:10px!important;border:1px solid #d5ad63!important;padding:10px 13px!important;color:#fff9e8!important;background:#1c140c!important;font-family:var(--io-ref-font)!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout :is(label,.io-field){display:grid!important;gap:8px!important;color:#fff1d7!important;font-weight:700!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout input[type=checkbox]{width:20px!important;height:20px!important;min-height:20px!important}
html.io-ref-v6 .io-ref-inner-page .io-mash-form-layout button[type=submit]{min-height:46px!important;padding:10px 22px!important;background:linear-gradient(115deg,#ffdc5f,#efa322)!important;color:#231304!important;border:1px solid #ffe69b!important;border-radius:11px!important;font:900 .92rem var(--io-ref-font)!important;cursor:pointer!important}
@media(max-width:900px){
 html.io-ref-v6 .io-v4-official .io-v4-hero-inner,
 html.io-ref-v6 .io-v4-books .io-v4-hero-inner{grid-template-columns:56% 44%!important;min-height:490px!important;padding:40px 25px!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero-copy,
 html.io-ref-v6 .io-v4-books .io-v4-hero-copy{width:100%!important;max-width:100%!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero .io-v5-founder{width:47%!important}
 html.io-ref-v6 .io-v4-books .io-v4-hero:after{width:46%!important}
}
@media(max-width:640px){
 html.io-ref-v6 .io-v4-official .io-v4-hero,
 html.io-ref-v6 .io-v4-books .io-v4-hero{min-height:660px!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero-inner,
 html.io-ref-v6 .io-v4-books .io-v4-hero-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-height:660px!important;padding:32px 20px 290px!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero-copy,
 html.io-ref-v6 .io-v4-books .io-v4-hero-copy{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;text-align:right!important;direction:rtl!important}
 html.io-ref-v6 .io-v4-root[dir="ltr"] .io-v4-hero-copy{text-align:left!important;direction:ltr!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero-copy h1,
 html.io-ref-v6 .io-v4-books .io-v4-hero-copy h1{font-size:clamp(1.6rem,6.8vw,2.5rem)!important;max-width:none!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero .io-v5-founder{top:auto!important;bottom:0!important;left:0!important;right:auto!important;width:100%!important;height:40%!important;opacity:.82!important;object-position:left bottom!important;mask-image:linear-gradient(to top,#000 47%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to top,#000 47%,transparent 100%)!important}
 html.io-ref-v6 .io-v4-books .io-v4-hero:after{top:auto!important;bottom:0!important;left:0!important;width:100%!important;height:40%!important;mask-image:linear-gradient(to top,#000 47%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to top,#000 47%,transparent 100%)!important}
 html.io-ref-v6 .io-v4-official .io-v4-actions>a,
 html.io-ref-v6 .io-v4-books .io-v4-actions>a{flex:1 1 140px!important;min-width:0!important}
 html.io-ref-v6 .io-v4-books .io-v4-hero .io-v4-actions{justify-content:flex-start!important}
 html.io-ref-v6 .io-ref-book-bottom{gap:6px!important}
 html.io-ref-v6 .io-ref-book-bottom :is(.io-ref-preview,.io-ref-save){font-size:.7rem!important;padding:8px 7px!important}
}

/* V6 final: keep hero text 100% on desktop RIGHT; keep portraits/videos 100%
   on the opposite LEFT corner. Shift position only; never mirror the face. */
html.io-ref-v6 .io-v4-official .io-v4-hero{background:radial-gradient(ellipse at 17% 56%,#78502c57,transparent 56%),linear-gradient(97deg,#160f0b 0%,#2a1a10 43%,#190f0b 100%)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-inner{grid-template-columns:minmax(0,59%) minmax(0,41%)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero-copy{grid-column:1!important;grid-row:1!important;justify-self:stretch!important;max-width:none!important;width:100%!important;padding-inline-start:clamp(9px,1vw,17px)!important;padding-inline-end:clamp(9px,2vw,28px)!important;direction:rtl!important;text-align:right!important;z-index:12!important}
html.io-ref-v6 .io-v4-official .io-v4-hero .io-v5-founder{left:0!important;right:auto!important;top:0!important;bottom:0!important;height:100%!important;max-height:none!important;width:min(42%,610px)!important;max-width:none!important;object-fit:cover!important;object-position:34% 48%!important;opacity:1!important;transform:none!important;pointer-events:none!important;filter:saturate(1.03) sepia(.08)!important;mask-image:linear-gradient(to right,#000 0%,#000 71%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to right,#000 0%,#000 71%,transparent 100%)!important}
html.io-ref-v6 .io-v4-official .io-v4-hero:after{content:"";position:absolute;inset:0 auto 0 0;width:46%;height:100%;z-index:3;pointer-events:none;opacity:.46;background:linear-gradient(90deg,transparent 48%,#2a1a10 100%),linear-gradient(to top,#160e08 0%,transparent 31%)}
html.io-ref-v6 .io-v4-official .io-v4-hero-copy :is(h1,p,.io-v4-actions){max-width:100%!important;position:relative!important;z-index:14}
/* Both show trailers, not frozen photographs. Video genuinely replaces poster
   in the EXACT visual bounding box after the iframe/player becomes ready. */
html.io-ref-v6 .io-v4-qadah .io-v4-hero,
html.io-ref-v6 .io-v4-mash .io-v4-hero{min-height:625px!important;isolation:isolate!important;position:relative!important;overflow:hidden!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero{background:radial-gradient(ellipse at 9% 75%,#b8843d32,transparent 45%),linear-gradient(102deg,#130c08,#2b190e 60%,#100c09)!important}
html.io-ref-v6 .io-v4-mash .io-v4-hero{background:radial-gradient(ellipse at 12% 60%,#b8941459,transparent 61%),linear-gradient(104deg,#0c0905,#241605 58%,#080803)!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero-inner,
html.io-ref-v6 .io-v4-mash .io-v4-hero-inner{position:relative!important;z-index:9!important;width:min(100%,1480px)!important;max-width:1480px!important;min-height:590px!important;padding:clamp(32px,5vw,65px) clamp(22px,5vw,78px)!important;display:grid!important;direction:rtl!important;grid-template-columns:minmax(0,56%) minmax(0,44%)!important;align-items:center!important;justify-content:stretch!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero-copy,
html.io-ref-v6 .io-v4-mash .io-v4-hero-copy{position:relative!important;z-index:11!important;grid-column:1!important;grid-row:1!important;margin:0!important;width:100%!important;max-width:690px!important;justify-self:stretch!important;direction:rtl!important;text-align:right!important;padding:0 8px 0 0!important;transform:none!important}
html.io-ref-v6 .io-v4-root[dir=ltr] :is(.io-v4-qadah,.io-v4-mash) .io-v4-hero-copy,
html.io-ref-v6 .io-v4-qadah[dir=ltr] .io-v4-hero-copy,
html.io-ref-v6 .io-v4-mash[dir=ltr] .io-v4-hero-copy{direction:ltr!important;text-align:left!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background,
html.io-ref-v6 .io-v4-mash .io-v5-video-background{position:absolute!important;inset:0 auto 0 0!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:55%!important;height:100%!important;z-index:2!important;opacity:1!important;overflow:hidden!important;isolation:isolate!important;pointer-events:auto!important;mask-image:linear-gradient(to right,#000 0%,#000 72%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to right,#000 0%,#000 72%,transparent 100%)!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background .io-v5-video-poster,
html.io-ref-v6 .io-v4-mash .io-v5-video-background .io-v5-video-poster{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:3!important;opacity:1!important;pointer-events:none!important;transition:opacity .52s ease!important}
html.io-ref-v6 .io-v4-mash .io-v5-video-background .io-v5-video-poster{object-position:35% 45%!important;transform:scale(1.13)!important;transform-origin:left center!important;filter:saturate(1.07) contrast(1.07)!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background .io-v5-video-poster{object-position:39% center!important;filter:contrast(1.06)!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background iframe,
html.io-ref-v6 .io-v4-mash .io-v5-video-background iframe{position:absolute!important;z-index:4!important;display:block!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;width:max(110%,82vh)!important;min-width:100%!important;height:max(100%,46.13vw)!important;min-height:100%!important;max-width:none!important;border:0!important;transform:translate(-50%,-50%) scale(1.03)!important;opacity:0!important;filter:none!important;pointer-events:auto!important;transition:opacity .4s ease!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background[data-video-playing=true] iframe,
html.io-ref-v6 .io-v4-mash .io-v5-video-background[data-video-playing=true] iframe{opacity:1!important}
html.io-ref-v6 .io-v4-qadah .io-v5-video-background[data-video-playing=true] .io-v5-video-poster,
html.io-ref-v6 .io-v4-mash .io-v5-video-background[data-video-playing=true] .io-v5-video-poster{opacity:0!important;visibility:hidden!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero:before,
html.io-ref-v6 .io-v4-mash .io-v4-hero:before{z-index:5!important;pointer-events:none!important;opacity:.18!important}
html.io-ref-v6 .io-v4-qadah .io-v5-media-control,
html.io-ref-v6 .io-v4-mash .io-v5-media-control{top:auto!important;bottom:22px!important;left:clamp(12px,3vw,36px)!important;right:auto!important;z-index:20!important;max-width:53%!important;pointer-events:auto!important;align-items:center!important}
html.io-ref-v6 .io-v4-qadah .io-v5-media-control button,
html.io-ref-v6 .io-v4-mash .io-v5-media-control button{min-height:44px!important;min-width:90px!important;border:1px solid #ffc557!important;border-radius:11px!important;background:#150e09e8!important;color:#ffe7a9!important;backdrop-filter:blur(8px)!important;cursor:pointer!important}
html.io-ref-v6 .io-v4-qadah .io-v5-media-control .io-v5-media-status,
html.io-ref-v6 .io-v4-mash .io-v5-media-control .io-v5-media-status{max-width:270px!important;font-weight:650!important;font-size:.7rem!important;color:#ffefcf!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero-copy .io-v4-actions,
html.io-ref-v6 .io-v4-mash .io-v4-hero-copy .io-v4-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important}
html.io-ref-v6 .io-v4-qadah .io-v4-hero-copy :is(h1,.io-v4-hero-desc),
html.io-ref-v6 .io-v4-mash .io-v4-hero-copy :is(h1,.io-v4-hero-desc){max-width:38ch!important;direction:inherit!important;text-align:inherit!important}
/* The premium header is truly shared; nav remains horizontal and the cart
   sits immediately adjacent to the locale/theme tools, never in nav list. */
html.io-ref-v6 .io-ref-global-header{position:relative!important;z-index:40!important;box-shadow:none!important}
html.io-ref-v6 .io-ref-global-header .io-v4-header-inner{display:flex!important;gap:clamp(8px,1.25vw,18px)!important;min-height:77px!important;align-items:center!important;justify-content:space-between!important}
html.io-ref-v6 .io-ref-global-header .io-v4-menu{display:flex;flex:1 1 auto!important;min-width:0!important;gap:clamp(2px,.56vw,10px)!important;justify-content:center!important;align-items:center!important}
html.io-ref-v6 .io-ref-global-header .io-v4-menu a{white-space:nowrap!important;font-size:clamp(.68rem,.72vw,.87rem)!important;padding:8px clamp(4px,.6vw,9px)!important}
html.io-ref-v6 .io-ref-global-header .io-v4-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:0 0 auto!important;min-width:0!important}
html.io-ref-v6 .io-ref-global-header .io-ref-cart-tool{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;border-radius:11px!important;color:var(--r-gold)!important;border:1px solid #d7ac6d8a!important}
html.io-ref-v6 .io-ref-global-header .io-ref-cart-tool svg{display:block!important;color:inherit!important}
html.io-ref-v6 .io-ref-deep .io-v4-main{max-width:1320px!important;padding:20px clamp(15px,3vw,38px)!important}
html.io-ref-v6.io-ref-deep .io-v4-section,
html.io-ref-v6.io-ref-deep .io-v4-panel,
html.io-ref-v6 .io-ref-programs .io-ref-row{border-radius:18px!important;overflow:hidden!important;box-shadow:inset 0 1px #ffd48220,0 12px 35px #0003!important}
html.io-ref-v6.io-ref-deep .io-v4-section{padding:clamp(17px,3vw,33px)!important;margin-bottom:20px!important;border:1px solid var(--r-line)!important;background:linear-gradient(125deg,#20180f,#13100f)!important;color:var(--r-ink)!important}
html.io-ref-v6.io-ref-deep .io-v4-section :is(h2,h3,p){color:inherit!important;overflow-wrap:anywhere!important}
html.io-ref-v6.io-ref-deep .io-v4-panel{background:linear-gradient(125deg,#2a1e17,#171210)!important;border:1px solid var(--r-line)!important;color:#fff0d3!important}
html.io-ref-v6.io-ref-deep .io-v4-section .io-v4-feature-grid,
html.io-ref-v6.io-ref-deep .io-v4-section .io-v4-route-grid{display:grid!important;gap:15px!important}
html.io-ref-v6.io-ref-deep .io-v4-books .io-v4-section,
html.io-ref-v6.io-ref-deep .io-v4-books .io-v4-panel{background:linear-gradient(115deg,#0f2551,#111634)!important;border-color:#598cf16f!important}
html.io-ref-v6.io-ref-deep .io-v4-qadah .io-v4-section,
html.io-ref-v6.io-ref-deep .io-v4-qadah .io-v4-panel{background:linear-gradient(125deg,#32261a,#1c1512)!important}
html.io-ref-v6.io-ref-deep .io-v4-mash .io-v4-section,
html.io-ref-v6.io-ref-deep .io-v4-mash .io-v4-panel{background:linear-gradient(125deg,#221c08,#0b0905)!important;border-color:#ad924e77!important}
html.io-ref-v6 .io-ref-programs-main{width:min(100%,1330px)!important;margin-inline:auto!important;padding:clamp(16px,3vw,44px)!important;min-height:55vh!important}
html.io-ref-v6 .io-ref-programs-main>.io-ref-sections>.io-ref-row{padding:clamp(22px,3vw,42px)!important}
html.io-ref-v6 .io-ref-programs .io-ref-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:17px!important}
html.io-ref-v6 .io-ref-programs-main~#idea-builder,
html.io-ref-v6 #idea-builder.io-native.io-idea{width:min(100%,1190px)!important;margin:24px auto!important;padding:clamp(20px,3vw,38px)!important;background:linear-gradient(130deg,#2d200b,#141009)!important;border:1px solid #d9ab4785!important;border-radius:20px!important;color:#ffedc3!important;box-shadow:0 17px 44px #0004!important}
html.io-ref-v6 #idea-builder h2,html.io-ref-v6 #idea-builder h3{color:#ffe272!important}
html.io-ref-v6 #idea-builder .io-idea-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
html.io-ref-v6 #idea-builder .io-field{display:grid!important;gap:9px!important;min-width:0!important;color:#fff2d1!important}
html.io-ref-v6 #idea-builder :is(textarea,input,select){width:100%!important;min-width:0!important;border:1px solid #c9a25f!important;border-radius:12px!important;background:#21190e!important;color:#fff9e8!important;padding:12px!important;font:inherit!important}
html.io-ref-v6 #idea-builder .io-actions{grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important}
html.io-ref-v6 #idea-builder .io-actions button{min-height:45px!important;border:1px solid #f2c354!important;border-radius:11px!important;padding:11px 20px!important;background:#f4c55a!important;color:#191207!important;font-weight:800!important}
html.io-ref-v6 .io-ref-legal-card{max-width:1220px!important;margin:20px auto!important;padding:clamp(17px,3vw,38px)!important;border-radius:20px!important;border:1px solid var(--r-line)!important;background:linear-gradient(125deg,var(--r-panel),#16100c)!important;color:var(--r-ink)!important;line-height:1.9!important}
html.io-ref-v6 .io-ref-legal-card :is(h1,h2,h3){color:var(--r-gold)!important}
html.io-ref-v6 .io-ref-legal-card :is(p,li){color:var(--r-ink)!important;max-width:85ch!important}
html.io-ref-v6 .io-ref-global-header a:focus-visible,
html.io-ref-v6 .io-ref-global-header button:focus-visible{outline:3px solid var(--r-gold)!important;outline-offset:2px!important}
@media(max-width:1100px){
 html.io-ref-v6 .io-ref-global-header .io-v4-menu{gap:3px!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-menu a{font-size:.66rem!important;padding:7px 4px!important}
 html.io-ref-v6 .io-v4-qadah .io-v4-hero-inner,html.io-ref-v6 .io-v4-mash .io-v4-hero-inner{grid-template-columns:55% 45%!important;padding:40px 24px!important}
}
@media(max-width:800px){
 html.io-ref-v6 .io-ref-global-header .io-v4-menu{display:none!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-menu[data-open="true"]{display:flex!important;position:absolute!important;top:100%!important;left:10px!important;right:10px!important;flex-direction:column!important;z-index:50!important;align-items:stretch!important;gap:3px!important;background:#100e0df8!important;border:1px solid var(--r-gold)!important;border-radius:13px!important;padding:12px!important;box-shadow:0 20px 50px #0008!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-menu[data-open="true"] a{font-size:.89rem!important;min-height:43px!important;display:flex!important;align-items:center!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-menu-toggle{display:inline-flex!important;align-items:center!important}
 html.io-ref-v6 .io-ref-programs .io-ref-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 html.io-ref-v6 .io-v4-qadah .io-v4-hero,html.io-ref-v6 .io-v4-mash .io-v4-hero{min-height:690px!important}
 html.io-ref-v6 .io-v4-qadah .io-v4-hero-inner,html.io-ref-v6 .io-v4-mash .io-v4-hero-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;padding:30px 20px 300px!important;min-height:690px!important}
 html.io-ref-v6 .io-v4-qadah .io-v4-hero-copy,html.io-ref-v6 .io-v4-mash .io-v4-hero-copy{max-width:100%!important;width:100%!important;padding:0!important;direction:rtl!important;text-align:right!important}
 html.io-ref-v6 .io-v4-qadah[dir=ltr] .io-v4-hero-copy,html.io-ref-v6 .io-v4-mash[dir=ltr] .io-v4-hero-copy{direction:ltr!important;text-align:left!important}
 html.io-ref-v6 .io-v4-qadah .io-v5-video-background,html.io-ref-v6 .io-v4-mash .io-v5-video-background{inset:auto 0 0 0!important;width:100%!important;height:43%!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;mask-image:linear-gradient(to bottom,transparent 0%,#000 29%,#000 100%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 29%,#000 100%)!important}
 html.io-ref-v6 .io-v4-qadah .io-v5-media-control,html.io-ref-v6 .io-v4-mash .io-v5-media-control{bottom:14px!important;left:12px!important;right:12px!important;max-width:calc(100% - 24px)!important;gap:6px!important}
 html.io-ref-v6 .io-v4-qadah .io-v5-media-control .io-v5-media-status,html.io-ref-v6 .io-v4-mash .io-v5-media-control .io-v5-media-status{display:none!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero .io-v5-founder{width:100%!important;height:39%!important;top:auto!important;bottom:0!important;object-fit:cover!important;object-position:34% 41%!important;mask-image:linear-gradient(to bottom,transparent,#000 31%,#000 100%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 31%,#000 100%)!important}
 html.io-ref-v6 .io-v4-official .io-v4-hero:after{width:100%!important;height:43%!important;top:auto!important;bottom:0!important;left:0!important;background:linear-gradient(to bottom,#21140c65,transparent 40%)!important}
 html.io-ref-v6 .io-ref-programs .io-ref-grid{grid-template-columns:1fr!important}
 html.io-ref-v6 #idea-builder .io-idea-form{grid-template-columns:1fr!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-tools{gap:4px!important}
 html.io-ref-v6 .io-ref-global-header .io-v4-brand-name{font-size:.78rem!important}
}
@media(prefers-reduced-motion:reduce){
 html.io-ref-v6 .io-v5-video-background iframe,html.io-ref-v6 .io-v5-video-background .io-v5-video-poster{transition:none!important}
}

/* Native checkout, reading authorization, policy and legal documents use the
   SAME V6 card language. Only presentation and the redundant header change. */
html.io-ref-v6.io-ref-native body{min-width:0!important;background:linear-gradient(143deg,#10192e,#21172a 42%,#100d16)!important;color:#fff3db!important;font-family:var(--io-ref-font)!important}
html.io-ref-v6.io-ref-native body[data-vision-inner="books"]{background:radial-gradient(ellipse at 20% 7%,#244ba055,transparent 49%),linear-gradient(145deg,#071333,#130f2c)!important}
html.io-ref-v6.io-ref-native .io-ref-native-header-shell{width:100%!important;max-width:none!important;position:relative!important;isolation:isolate!important;z-index:90!important;background:#0d1533!important}
html.io-ref-v6.io-ref-native .io-ref-native-header-shell .io-v4-header{margin:0!important;background:linear-gradient(90deg,#0a133b,#0c1434 70%,#0b1028)!important}
html.io-ref-v6.io-ref-native main.wrap{width:min(100%,1260px)!important;max-width:1260px!important;margin:0 auto!important;padding:clamp(15px,3vw,42px)!important;color:#fff4dc!important;min-width:0!important}
html.io-ref-v6.io-ref-native main.wrap .heading{margin-bottom:clamp(19px,2vw,32px)!important;border:1px solid #718ac078!important;border-radius:19px!important;background:linear-gradient(128deg,#142958,#121633)!important;box-shadow:0 17px 40px #03081c80!important;padding:clamp(17px,3vw,36px)!important;color:#f9faff!important}
html.io-ref-v6.io-ref-native main.wrap .heading :is(h1,h2){color:#fff!important;font-size:clamp(1.5rem,2.8vw,2.6rem)!important;line-height:1.3!important}
html.io-ref-v6.io-ref-native main.wrap .heading p{color:#d7e5ff!important;line-height:1.8!important}
html.io-ref-v6.io-ref-native :is(.panel,.io-library-activation,.io-library-shelf,.product,.io-books-library-layout) {border-radius:17px!important;box-sizing:border-box!important;min-width:0!important}
html.io-ref-v6.io-ref-native .panel{background:linear-gradient(135deg,#14234b,#0d1a36 75%)!important;color:#f8f6fc!important;border:1px solid #739cde73!important;box-shadow:0 12px 30px #060a1d6b!important;padding:clamp(17px,2.4vw,29px)!important;margin-bottom:16px!important}
html.io-ref-v6.io-ref-native .panel :is(h2,h3,strong){color:#ffdb75!important}
html.io-ref-v6.io-ref-native .panel :is(p,li,span,label){color:#edf2ff!important;line-height:1.75!important}
html.io-ref-v6.io-ref-native .panel :is(input,select,textarea){background:#ecf4ff!important;color:#16264f!important;border:1px solid #7193c2!important;border-radius:11px!important;min-height:42px!important;min-width:0!important;max-width:100%!important;font-family:var(--io-ref-font)!important}
html.io-ref-v6.io-ref-native .panel :is(button,.link){border-radius:10px!important;min-height:45px!important;padding:10px 16px!important;white-space:normal!important;overflow-wrap:anywhere!important}
html.io-ref-v6.io-ref-native .panel a{color:#ffe17b!important;text-underline-offset:3px}
html.io-ref-v6.io-ref-native .cart-checkout-grid,html.io-ref-v6.io-ref-native .io-books-library-layout{display:grid!important;gap:18px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.io-ref-v6.io-ref-native main.wrap .panel .product img{object-fit:contain!important;max-width:150px!important;max-height:220px!important}
html.io-ref-v6.io-ref-native .io-ref-legal-card{background:linear-gradient(135deg,#132454,#101a37)!important;border:1px solid #7d9de783!important;border-radius:18px!important;box-shadow:0 11px 28px #060d1f67!important;padding:clamp(16px,2vw,29px)!important;margin:clamp(14px,2vw,26px) 0!important;color:#eef3ff!important}
html.io-ref-v6.io-ref-native .io-ref-legal-card :is(h1,h2,h3){color:#ffe29d!important;margin:.7em 0!important;line-height:1.45!important}
html.io-ref-v6.io-ref-native .io-ref-legal-card :is(p,li){color:#f2f4ff!important;font-weight:450!important;line-height:1.88!important;max-width:86ch!important}
html.io-ref-v6.io-ref-native .io-ref-legal-card a{color:#ffe185!important}
html.io-ref-v6.io-ref-native .legal-page.io-ref-legal-card{width:min(100% - 32px,1050px)!important;max-width:1050px!important;margin:32px auto 70px!important;padding:clamp(19px,4vw,48px)!important;background:linear-gradient(130deg,#2a220e,#120c08)!important;border-color:#d4a34889!important}
html.io-ref-v6.io-ref-native .legal-page.io-ref-legal-card :is(p,li){color:#fff0d6!important}
html.io-ref-v6.io-ref-native .io-global-controls{display:none!important}
html.io-ref-v6.io-ref-native :is(input,textarea,button,a,select):focus-visible{outline:3px solid #ffe277!important;outline-offset:2px!important}
@media(max-width:790px){
 html.io-ref-v6.io-ref-native .cart-checkout-grid,
 html.io-ref-v6.io-ref-native .io-books-library-layout{grid-template-columns:1fr!important}
 html.io-ref-v6.io-ref-native main.wrap{padding:16px!important}
}

/* First-party Books cart is a functional purchase review, not a decorative
   reading-list button. Accessible count beside the shared theme control. */
html.io-ref-v6 .io-ref-cart-tool{position:relative!important}
html.io-ref-v6 .io-ref-cart-tool .io-ref-cart-count:not([hidden]){
 position:absolute!important;top:-7px!important;right:-7px!important;
 display:grid!important;place-items:center!important;min-width:21px!important;
 height:21px!important;padding:0 5px!important;border-radius:999px!important;
 border:1px solid #fff6d7!important;background:#f6b843!important;color:#121930!important;
 font:900 .68rem/1 var(--io-ref-font)!important;box-shadow:0 2px 9px #0007!important;
}
html.io-ref-v6 .io-ref-add-cart{cursor:pointer!important;background:linear-gradient(128deg,#f8cb57,#ea981d)!important;color:#19142d!important;border:1px solid #ffe08f!important}
html.io-ref-v6 .io-ref-add-cart:hover{filter:brightness(1.07)!important}
html.io-ref-v6 .io-ref-cart-status{color:#ffe2a2!important;font-weight:800!important;line-height:1.7!important;font-size:.83rem!important;min-height:1.2em!important;margin:12px 0 0!important}
html.io-ref-v6 .io-ref-cart-count[hidden]{display:none!important}
