
/* V176: brand-safe kinetic visuals; preserve media controls, payment and editorial reading. */
html[data-v176] {--v176-ink:#f4eee5;--v176-panel:#211b18;--v176-field:#25201c;--v176-muted:#c8bbae;--v176-accent:#d4aa67;--v176-border:#806449;--v176-glow:rgba(226,178,104,.23);--v176-bg:#171310}
html[data-v176="books"] {--v176-accent:#cfa760;--v176-glow:rgba(218,175,95,.25)}
html[data-v176="qadah"] {--v176-accent:#d3a87e;--v176-glow:rgba(217,159,109,.23)}
html[data-v176][data-io-theme="light"] {--v176-ink:#261d16;--v176-panel:#fffdf8;--v176-field:#fffdf8;--v176-muted:#5e5145;--v176-accent:#79501e;--v176-border:#9c7950;--v176-glow:rgba(158,108,46,.16);--v176-bg:#f4eee5}
html[data-v176][data-v176][data-v176] :is(header .brand-text,header .io-v4-brand-name){display:none!important}
html[data-v176][data-v176] :is(header a.brand,header a.io-v4-brand){min-width:0!important;width:auto!important;gap:0!important;flex:0 0 auto!important}
html[data-v176][data-v176] :is(header a.brand,header a.io-v4-brand)>img{width:auto!important;max-width:clamp(82px,12vw,150px)!important;height:clamp(44px,5vw,68px)!important;object-fit:contain!important}
html[data-v176][data-v176][data-v176] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="submit"]),textarea,select){background:var(--v176-field)!important;color:var(--v176-ink)!important;border:1px solid var(--v176-border)!important;caret-color:var(--v176-accent)!important;min-width:0!important;max-width:100%!important}
html[data-v176][data-v176][data-v176] :is(input,textarea)::placeholder{color:var(--v176-muted)!important;opacity:1!important;-webkit-text-fill-color:var(--v176-muted)!important}
html[data-v176][data-v176] :is(input,textarea,select):focus-visible{outline:2px solid var(--v176-accent)!important;outline-offset:2px!important}
html[data-v176][data-v176] :is(input,textarea):-webkit-autofill{-webkit-text-fill-color:var(--v176-ink)!important;box-shadow:0 0 0 1000px var(--v176-field) inset!important}
html[data-v176] select option{background:var(--v176-field);color:var(--v176-ink)}
/* Motion is additive; no pointer event is intercepted. */
html[data-v176] [data-v176-kinetic]{--v176-rx:0deg;--v176-ry:0deg;--v176-dx:0px;--v176-dy:0px;--v176-x:50%;--v176-y:50%;transition:rotate .28s ease,translate .28s ease,scale .28s ease,box-shadow .28s ease,filter .28s ease;transform-style:preserve-3d}
html[data-v176] [data-v176-kinetic="surface"]{position:relative;isolation:isolate}
html[data-v176] [data-v176-kinetic="surface"]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;background:radial-gradient(ellipse at var(--v176-x) var(--v176-y),var(--v176-glow),transparent 57%);opacity:0;transition:opacity .25s}
html[data-v176] [data-v176-kinetic="surface"]:is(:hover,:focus-within)::after{opacity:1}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
html[data-v176] [data-v176-active="1"][data-v176-kinetic="surface"]{transform:perspective(1000px) rotateX(var(--v176-rx)) rotateY(var(--v176-ry))!important;translate:0 -3px;box-shadow:0 14px 40px var(--v176-glow)!important}
html[data-v176] [data-v176-active="1"][data-v176-kinetic="image"]{translate:var(--v176-dx) var(--v176-dy);scale:1.035;filter:brightness(1.06) saturate(1.05)}
html[data-v176] [data-v176-active="1"][data-v176-kinetic="control"]{translate:var(--v176-dx) var(--v176-dy);box-shadow:0 0 22px var(--v176-glow)}
html[data-v176] [data-v176-kinetic="control"]:active{scale:.96}
html[data-v176] [data-v176-active="1"][data-v176-kinetic="object"]{rotate:var(--v176-rx);translate:var(--v176-dx) var(--v176-dy);filter:drop-shadow(0 0 12px var(--v176-glow))}
}
html[data-v176] [data-v176-kinetic]:focus-visible{outline:2px solid var(--v176-accent);outline-offset:3px}
html[data-v176] [data-v176-kinetic="image"]{backface-visibility:hidden}
html[data-v176] [data-v176-hero-visual]{overflow:hidden;isolation:isolate}
html[data-v176] [data-v176-hero-visual] img{translate:var(--v176-hero-x,0px) var(--v176-hero-y,0px);transition:translate .45s ease}
@media(prefers-reduced-motion:reduce){html[data-v176] [data-v176-kinetic],html[data-v176] [data-v176-hero-visual] img{transition:none!important;translate:none!important;rotate:none!important;scale:none!important;animation:none!important}}
/* Same row, one photograph, AR left and EN right. Specificity intentionally exceeds V170/V169. */
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]{display:grid!important;direction:ltr!important;grid-template-columns:minmax(0,48%) minmax(0,52%)!important;grid-template-areas:"visual copy"!important;grid-template-rows:minmax(340px,auto)!important;align-items:stretch!important;gap:0!important;padding:0!important;margin:0!important;min-height:clamp(340px,39vw,560px)!important;height:auto!important;max-height:none!important;background:var(--v176-bg)!important;overflow:hidden!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][dir="ltr"] .io-v4-root [data-v176-book-hero]{grid-template-columns:minmax(0,52%) minmax(0,48%)!important;grid-template-areas:"copy visual"!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual]{grid-area:visual!important;display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:340px!important;max-height:none!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;mask-image:none!important;-webkit-mask-image:none!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual] img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;opacity:1!important;display:block!important;filter:none!important;mask-image:linear-gradient(90deg,#000 0%,#000 58%,transparent 100%)!important;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 58%,transparent 100%)!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][dir="ltr"] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual] img{mask-image:linear-gradient(270deg,#000 0%,#000 58%,transparent 100%)!important;-webkit-mask-image:linear-gradient(270deg,#000 0%,#000 58%,transparent 100%)!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]>.io-v4-hero-inner{grid-area:copy!important;position:relative!important;inset:auto!important;transform:none!important;align-self:center!important;width:100%!important;max-width:none!important;min-width:0!important;padding:clamp(22px,4vw,56px)!important;background:transparent!important}
html[data-v176="books"][data-v176][dir="rtl"] [data-v176-book-hero]>.io-v4-hero-inner{direction:rtl!important;text-align:right!important}
html[data-v176="books"][data-v176][dir="ltr"] [data-v176-book-hero]>.io-v4-hero-inner{direction:ltr!important;text-align:left!important}
@media(max-width:760px){
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero],html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][dir="ltr"] .io-v4-root [data-v176-book-hero]{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"copy" "visual"!important;grid-template-rows:auto clamp(210px,55vw,330px)!important;min-height:0!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual]{min-height:0!important}
html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual] img,html[data-v176="books"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][dir="ltr"] .io-v4-root [data-v176-book-hero]>[data-v176-hero-visual] img{mask-image:linear-gradient(0deg,#000 0%,#000 65%,transparent 100%)!important;-webkit-mask-image:linear-gradient(0deg,#000 0%,#000 65%,transparent 100%)!important}
}
/* About: keep content, build coherent editorial cards instead of loose paragraphs. */
html[data-v176-page="about"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] :is(.source-preserving-journey,.io-v50-bio){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:min(100%,1280px)!important;max-width:1280px!important;margin-inline:auto!important;gap:clamp(16px,2.4vw,32px)!important;padding:clamp(16px,3vw,42px)!important}
html[data-v176-page="about"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .source-preserving-journey>.original-chapter{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;gap:20px!important;min-height:0!important;padding:clamp(18px,3vw,36px)!important;margin:0!important;background:var(--v176-panel)!important;border:1px solid var(--v176-border)!important;border-radius:20px!important;color:var(--v176-ink)!important;box-shadow:0 12px 36px var(--v176-glow)!important;overflow:hidden!important}
html[data-v176-page="about"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .source-preserving-journey>.original-chapter>.source-copy{grid-area:auto!important;display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;background:none!important;transform:none!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
html[data-v176-page="about"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] .source-preserving-journey>.original-chapter>.ref147-art{display:none!important}
html[data-v176-page="about"][data-v176] :is(.source-copy,.io-v50-fact,.io-chapter-topic) :is(h2,h3,p,li){color:var(--v176-ink)!important;line-height:1.85!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
html[data-v176-page="about"][data-v176][data-v176] :is(.io-chapter-topics,.io-v50-facts){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:16px!important}
html[data-v176-page="about"][data-v176][data-v176] :is(.io-chapter-topic,.io-v50-fact){background:var(--v176-panel)!important;border:1px solid var(--v176-border)!important;border-radius:14px!important;padding:20px!important;min-width:0!important}
 /* Article page: real reading column, not generic portrait-heavy service layout. */
html[data-v176-page="article"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] :is(.io-deep-hero,.source-preserving-journey>.original-chapter,.source-introduction){display:block!important;position:relative!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;min-height:0!important;height:auto!important;max-height:none!important;width:min(100%,940px)!important;max-width:940px!important;margin:24px auto!important;padding:clamp(20px,4vw,46px)!important;background:var(--v176-panel)!important;color:var(--v176-ink)!important;border:1px solid var(--v176-border)!important;border-radius:18px!important;box-shadow:0 12px 36px var(--v176-glow)!important}
html[data-v176-page="article"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] :is(.io-deep-hero-copy,.source-copy){display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;min-width:0!important;transform:none!important;padding:0!important;margin:0!important;background:none!important}
html[data-v176-page="article"][data-v176] :is(.source-copy,.io-deep-hero-copy,.source-introduction) :is(h1,h2,h3,p,li,span),html[data-v176-page="insights"][data-v176] main :is(h1,h2,h3,p,li,span){color:var(--v176-ink)!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
html[data-v176-page="article"][data-v176] .source-copy p{font-size:clamp(1rem,1.3vw,1.12rem)!important;line-height:1.95!important;max-width:80ch!important}
html[data-v176-page="article"][data-v176] :is(.source-copy,.io-deep-hero-copy,.io-v82-content-nav) a,html[data-v176-page="insights"][data-v176] main :is(a,.article-link,.eyebrow){color:var(--v176-accent)!important}
html[data-v176-page="article"][data-v176] .io-deep-hero::before,html[data-v176-page="article"][data-v176] .original-chapter::before{background:none!important}
html[data-v176-page="insights"][data-v176][data-v176][data-v176] main :is(.inner-hero,.section,.article-card,.catalog-section,.news-deck,.cta-band){background:var(--v176-panel)!important;color:var(--v176-ink)!important;border-color:var(--v176-border)!important;box-shadow:none!important}
html[data-v176-page="insights"][data-v176][data-v176][data-v176] .article-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:22px!important}
html[data-v176-page="insights"][data-v176][data-v176] .article-card{border:1px solid var(--v176-border)!important;border-radius:18px!important;overflow:hidden!important}
html[data-v176-page="insights"][data-v176] .article-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
html[data-v176] #v176-manual-instapay{margin-block:20px;padding:20px;background:var(--v176-panel);color:var(--v176-ink);border:1px solid var(--v176-border);border-radius:16px;overflow-wrap:anywhere}
html[data-v176] #v176-manual-instapay[hidden]{display:none!important}
html[data-v176] #v176-manual-instapay img{width:min(220px,100%);height:auto;display:block;margin:14px auto;background:white;padding:8px;border-radius:10px}
html[data-v176] #v176-manual-instapay a{display:inline-block;padding:10px 16px;margin:4px;border:1px solid var(--v176-border);border-radius:10px;color:var(--v176-ink);text-decoration:underline}

/* Keep light mode genuinely light and retain each site's established theme ink. */
html[data-v176][data-io-theme="light"]{--v176-bg:#fff;--v176-panel:#fffdf9;--v176-field:#fff}
html[data-v176="books"][data-io-theme="light"]{--v176-ink:#172647;--v176-muted:#40506d;--v176-accent:#734400;--v176-border:#647b9b}
html[data-v176="books"]:not([data-io-theme="light"]){--v176-bg:#111a2c;--v176-panel:#192237;--v176-field:#1a2334;--v176-ink:#f5efe5;--v176-muted:#c6cbd6;--v176-accent:#e0b873;--v176-border:#8b7890}
html[data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="submit"]),textarea,select){background:var(--v176-field)!important;color:var(--v176-ink)!important;border-color:var(--v176-border)!important}
html[data-v176][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] :is(input,textarea)::placeholder{color:var(--v176-muted)!important;opacity:1!important;-webkit-text-fill-color:var(--v176-muted)!important}
html[data-v176-page="insights"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] main :is(.inner-hero,.section,.article-card,.catalog-section,.article-info,.container,.inner-hero-copy){background-color:var(--v176-panel)!important;color:var(--v176-ink)!important;background-image:none!important}
html[data-v176-page="insights"][data-v176][data-v176][data-v176][data-v176][data-v176] .inner-hero>.container{display:block!important;min-height:0!important;padding:clamp(20px,4vw,48px)!important}
html[data-v176-page="insights"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] main :is(a,.article-link,.eyebrow){color:var(--v176-accent)!important;text-decoration-color:var(--v176-accent)!important}
html[data-v176-page="article"][data-v176][data-v176][data-v176][data-v176][data-v176][data-v176] main :is(.source-copy,.io-deep-hero-copy,.source-introduction,.io-v82-content-nav) :is(a,summary){color:var(--v176-accent)!important}
html[data-v176-page="about"][data-v176][data-v176] #io-v7-content{width:min(100%,1280px)!important;max-width:1280px!important;margin:24px auto!important;padding:clamp(20px,4vw,44px)!important;background:var(--v176-panel)!important;color:var(--v176-ink)!important;border:1px solid var(--v176-border)!important;border-radius:20px!important}
html[data-v176] :is(a,button)[data-v176-kinetic]:focus-visible{outline:2px solid var(--v176-accent)!important}
html[data-v176] [data-v176-kinetic="surface"]{transition:transform .28s ease,translate .28s ease,box-shadow .28s ease}
html[data-v176] [data-v176-kinetic="image"]:hover{filter:brightness(1.06) saturate(1.05)}
@media(prefers-reduced-motion:reduce){html[data-v176] [data-v176-kinetic="image"]:hover{filter:none!important}}
