/* HOLISTIC screen design system — approved /home/ identity, 17 November 2026.
 * This is the only maintained visual source for the website and native portal.
 * The named layer gives its deliberate compatibility overrides precedence over
 * legacy unlayered !important rules without increasing selector specificity.
 * Page styles retain layout/behaviour; print/PDF and financial meaning remain separate.
 */
@layer holistic-design;
@media screen{
@layer holistic-design{
html[data-holistic-brand="site"]{
 --site-font:CircularStd,HOLISTIC-Tajawal,Tahoma,sans-serif!important;
 --site-teal:#22766f!important;--site-teal-hover:#185d57!important;
 --site-ink:#123e47!important;--site-copy:#415c63!important;--site-muted:#657e78!important;
 --site-gold:#d7aa50!important;--site-paper:#f5f7f9!important;--site-surface:#fff!important;--site-field-ink:#123e47!important;--site-line:#dce8e5!important;
 --site-control-line:#b9d3cf!important;--site-radius:8px!important;--site-card-radius:14px!important;
 --site-shadow:0 6px 26px #123d4610!important;--site-control-height:48px!important;
 --site-text-size:16px!important;--site-title-size:29px!important;--site-space:8px!important;
 --primary:var(--site-teal)!important;--blue:var(--site-teal)!important;--teal:var(--site-teal)!important;
 --ink:var(--site-ink)!important;--bg:var(--site-paper)!important;--line:var(--site-line)!important;
 --accent:var(--site-gold)!important;--gold:var(--site-gold)!important;--hc-control-font:var(--site-font)!important;
}
html[data-holistic-brand="site"] body{font-family:var(--site-font)!important;background:var(--site-paper)!important;color:var(--site-ink)!important;line-height:1.8!important}
html[data-holistic-brand="site"] :where(h1,h2,h3,h4,h5,h6,p,label,legend,li,dt,dd,td,th,span,input,select,textarea,summary,a,button,[role="button"]):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]){font-family:var(--site-font)!important;letter-spacing:0!important}
html[data-holistic-brand="site"] :where(h1,h2,h3,h4,h5,h6,.blog--title){font-weight:500!important;line-height:1.5!important;color:var(--site-ink)!important;-webkit-text-fill-color:currentColor!important}
html[data-holistic-brand="site"] :where(h1){font-size:clamp(28px,3.2vw,36px)!important}
html[data-holistic-brand="site"] :where(h2,.blog--title){font-size:var(--site-title-size)!important}
html[data-holistic-brand="site"] :where(h3){font-size:22px!important}
html[data-holistic-brand="site"] :where(.blog--title):is(:hover,:focus,:active){color:var(--site-ink)!important}
html[data-holistic-brand="site"] :where(p){font-size:var(--site-text-size)!important;line-height:1.9!important}
html[data-holistic-brand="site"] :where(.blog-content,.hc-feature-card,.hc-home-stories,.hc-home-products,.de-shell) p:where(:not(.hc-eyebrow,.de-eyebrow,.de-price,.de-review,.de-note,.hc-rail-hint)){color:var(--site-copy)!important;font-weight:400!important}
html[data-holistic-brand="site"] :is(.hc-eyebrow,.de-eyebrow){font-size:13px!important;line-height:1.8!important;font-weight:700!important;color:var(--site-teal)!important}
html[data-holistic-brand="site"] :is(.muted,.auth-foot,.hc-rail-hint){font-size:14px!important;color:var(--site-muted)!important}
/* Contexts on dark surfaces are explicit variants, not inherited accidents. */
html[data-holistic-brand="site"] :is(.hc-home-hero-copy,.hc-section-hero-copy) :is(h1,h2,p){color:#fff!important;-webkit-text-fill-color:currentColor!important}
/* Cards: geometry and surface only. Status/financial borders keep their meaning. */
html[data-holistic-brand="site"] :where(.card,.panel,.section,.study-card,.study-chart,.de-card,.de-support,.hc-feature-card){border-radius:var(--site-card-radius)!important;background-color:var(--site-surface)!important;box-shadow:var(--site-shadow)!important}
html[data-holistic-brand="site"] :where(.card,.panel,.section,.de-card){border-color:var(--site-line)!important}
html[data-holistic-brand="site"] :is(.de-support,.hero){border-top-color:var(--site-gold)!important}
html[data-holistic-brand="site"] :is(.price,.de-price){color:var(--site-teal)!important;font-size:28px!important;font-weight:700!important}
/* Compound navigation cards are vertical content, never horizontal CTA controls. */
html[data-holistic-brand="site"] .hc-overview-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important;min-width:0!important;max-width:100%!important;padding:24px!important;background:var(--site-surface)!important;color:var(--site-ink)!important;-webkit-text-fill-color:currentColor!important;border:1px solid var(--site-line)!important;border-radius:var(--site-card-radius)!important;box-shadow:var(--site-shadow)!important;text-align:start!important;text-decoration:none!important;font-size:16px!important;font-weight:400!important;line-height:1.8!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
html[data-holistic-brand="site"] .hc-overview-card>h2{width:100%!important;margin:0!important;word-break:normal!important;overflow-wrap:break-word!important}
html[data-holistic-brand="site"] .hc-overview-card>p{width:100%!important;margin:0 0 8px!important;font-size:16px!important;font-weight:400!important;line-height:1.9!important;color:var(--site-copy)!important;-webkit-text-fill-color:currentColor!important}
html[data-holistic-brand="site"] .hc-overview-card>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-start!important;margin-top:auto!important;padding:8px 14px!important;min-height:44px!important;max-width:100%!important;border:1px solid var(--site-teal)!important;border-radius:var(--site-radius)!important;background:#fff!important;color:var(--site-teal)!important;-webkit-text-fill-color:currentColor!important;font-size:16px!important;font-weight:700!important;line-height:1.6!important;white-space:normal!important;word-break:normal!important}
@media(max-width:700px){html[data-holistic-brand="site"] .hc-overview-card{padding:20px!important}html[data-holistic-brand="site"]:is([dir="rtl"],[lang="ar"]) .hc-overview-card>span{align-self:flex-end!important}}
/* Shared outlined action; page navigation stays semantic anchors/disclosures. */
html[data-holistic-brand="site"] :where(button,input[type="submit"],a.button,a.ghost,a.de-secondary,p>a[href]:not(:has(img,svg)),.qs-home-nav a,.study-table-toggle,main summary,main a[href]:not(:has(img,svg,h1,h2,h3,p),.card,.account-tile,.hc-overview-card),.hc-home-stories a[href]:not(:has(img,svg)),.hc-home-products a[href]:not(:has(img,svg)),.hc-section-nav a,.hc-section-actions a,.hc-contact-panel a,.hc-path-choices a,.hc-hero-main-actions a,.hc-hero-actions a,.de-actions a,a.hc-info-link){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:var(--site-space)!important;
 min-height:var(--site-control-height)!important;max-width:100%!important;padding:10px 18px!important;
 background:#fff!important;color:var(--site-teal)!important;-webkit-text-fill-color:currentColor!important;
 border:1px solid var(--site-teal)!important;border-radius:var(--site-radius)!important;
 font-size:16px!important;font-weight:700!important;line-height:1.6!important;text-align:center!important;
 text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer;
}
html[data-holistic-brand="site"] :where(button,a.button,a.ghost,a.de-secondary,p>a[href]:not(:has(img,svg)),.qs-home-nav a,.study-table-toggle,main summary,main a[href]:not(:has(img,svg,h1,h2,h3,p),.card,.account-tile,.hc-overview-card),.hc-home-stories a[href]:not(:has(img,svg)),.hc-home-products a[href]:not(:has(img,svg))):is(:hover,:focus-visible){background:#edf5f2!important;color:var(--site-teal-hover)!important}
html[data-holistic-brand="site"] :is(.primary,.de-primary,.btn-primary,.hc-path-web,a.hc-wa-route,.account-subtabs a.current,.account-tabs a.current,button[aria-pressed="true"],[role="tab"][aria-selected="true"]){background:var(--site-teal)!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;border-color:var(--site-teal)!important}
html[data-holistic-brand="site"] :is(.primary,.de-primary,.btn-primary,.hc-path-web,a.hc-wa-route):is(:hover,:focus-visible){background:var(--site-teal-hover)!important;color:#fff!important}
html[data-holistic-brand="site"] .hc-home-stories a[href]:not(:has(img,svg)),html[data-holistic-brand="site"] .hc-hero-main-actions>a.hc-path-web{background:#fff!important;color:var(--site-teal)!important;-webkit-text-fill-color:currentColor!important}
html[data-holistic-brand="site"] .hc-hero-main-actions>a.hc-path-web{border-color:#fff!important}
html[data-holistic-brand="site"] .hc-hero-main-actions>a.hc-outline-action{background:transparent!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;border-color:#d6e9e3!important}
html[data-holistic-brand="site"] :is(button,[role="button"],input[type="submit"]):disabled{opacity:.5!important;cursor:not-allowed!important}
html[data-holistic-brand="site"] main summary{display:list-item!important;list-style-position:inside!important;text-align:start!important;width:fit-content!important}
html[data-holistic-brand="site"] main .library-project>summary{width:100%!important;padding:14px 18px!important;background:#edf5f2!important}
html[data-holistic-brand="site"] :is(a[href],button,[role="button"],summary,input,select,textarea):focus-visible{outline:3px solid var(--site-gold)!important;outline-offset:3px!important}
html[data-holistic-brand="site"] .account-subtabs{gap:10px!important;border-bottom:0!important}
/* Fields share one size; native date/select behaviour and validation are retained. */
html[data-holistic-brand="site"] :where(input:not([type="checkbox"],[type="radio"],[type="range"],[type="hidden"],[type="submit"]),select,textarea){font-size:16px!important;line-height:1.6!important;min-height:48px!important;padding:10px 12px!important;background:#fff!important;color:var(--site-field-ink)!important;border:1px solid var(--site-control-line)!important;border-radius:var(--site-radius)!important;box-sizing:border-box!important;max-width:100%!important}
html[data-holistic-brand="site"] textarea{min-height:120px!important}
html[data-holistic-brand="site"] :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--site-teal)!important;min-height:0!important}
html[data-holistic-brand="site"] :is(input,select,textarea):is(:focus,:focus-visible){border-color:var(--site-teal)!important}
html[data-holistic-brand="site"] :is(input,select,textarea)[aria-invalid="true"]{border-color:#bd4858!important}
/* Keep number direction and financial status colors; do not style chart SVG fills. */
html[data-holistic-brand="site"] :is(.study-card strong,.statement-panel td:not(:first-child),#full-report td:not(:first-child),.kpi strong,.metric-value,.qs-readable-number){direction:ltr!important;unicode-bidi:isolate!important;font-family:var(--site-font)!important;font-variant-numeric:lining-nums tabular-nums!important;font-feature-settings:"lnum" 1,"tnum" 1!important;letter-spacing:.015em!important}
html[data-holistic-brand="site"] :is(.statement-panel td:not(:first-child),#full-report td:not(:first-child)){font-size:16px!important;line-height:1.8!important}
html[data-holistic-brand="site"] .study-card strong{font-size:clamp(23px,2.3vw,29px)!important;font-weight:700!important}
html[data-holistic-brand="site"] #night-mode{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:76px!important;min-height:44px!important;padding:8px 10px!important;border-radius:var(--site-radius)!important;background:#e8f5f4!important;color:var(--site-field-ink)!important}
/* Night theme uses the existing site dark surfaces, with paired text tokens. */
html[data-holistic-brand="site"].night-mode{--site-paper:#111315!important;--site-surface:#1a1d1f!important;--site-ink:#f5f7f9!important;--site-copy:#dce8e5!important;--site-muted:#9a9fa5!important}
html[data-holistic-brand="site"].night-mode :is(.hc-home-stories,.hc-home-products,.hc-portfolio,.hc-explore,.de-steps,.bg-white,.main-card,.hc-contact-panel,.hc-section){background-color:var(--site-surface)!important}
html[data-holistic-brand="site"].night-mode :is(.hc-eyebrow,.de-eyebrow,.de-price,.price){color:#74c1ba!important}
/* Icon controls have their own geometry; do not turn the menu into a CTA. */
html[data-holistic-brand="site"] :is(.navbar-toggler,.close-btn){width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;background:transparent!important;color:var(--site-teal)!important;border:0!important;border-radius:var(--site-radius)!important}
html[data-holistic-brand="site"] .hc-rail-tools button{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important}
/* Footer is a compact navigation variant, separate from transaction actions. */
html[data-holistic-brand="site"] footer.footer .footer-top{padding:24px 0!important}
html[data-holistic-brand="site"] footer.footer .footer-top>.container>.row{display:grid!important;grid-template-columns:1.05fr 1.7fr 1fr .85fr!important;gap:24px!important;margin:0!important;align-items:start!important}
html[data-holistic-brand="site"] footer.footer .footer-top>.container>.row>[class*="col-"]{width:auto!important;max-width:100%!important;padding:0!important;margin:0!important}
html[data-holistic-brand="site"] footer.footer .footer-content{margin:0!important}
html[data-holistic-brand="site"] footer.footer h4{font-size:18px!important;line-height:1.5!important;margin:0 0 12px!important;color:#95d3ce!important}
html[data-holistic-brand="site"] footer.footer .footer-link-list{display:grid!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important}
html[data-holistic-brand="site"] footer.footer .footer-top>.container>.row>[class*="col-"]:nth-child(2) .footer-link-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-holistic-brand="site"] footer.footer .footer-link-list li{display:flex!important;margin:0!important;padding:0!important;min-width:0!important}
html[data-holistic-brand="site"] footer.footer :is(.footer-link-list a.footer-link,.hc-footer-contact a){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;min-height:36px!important;margin:0!important;padding:6px 10px!important;font-size:14px!important;line-height:1.5!important;font-weight:400!important;border:1px solid #ffffff4d!important;border-radius:6px!important;background:#ffffff08!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;text-align:start!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important}
html[data-holistic-brand="site"] footer.footer :is(.footer-link-list a.footer-link,.hc-footer-contact a):is(:hover,:focus-visible){background:#fff!important;color:var(--site-teal-hover)!important}
html[data-holistic-brand="site"] footer.footer .social-links{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px 0!important;padding:0!important}
html[data-holistic-brand="site"] footer.footer .social-links li{margin:0!important;padding:0!important}
html[data-holistic-brand="site"] footer.footer .social-links a.social-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin:0!important;font-size:16px!important;border-radius:50%!important;border:1px solid #ffffff4d!important;background:transparent!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html[data-holistic-brand="site"] footer.footer .hc-footer-contact{display:grid!important;gap:6px!important;margin-top:12px!important}
html[data-holistic-brand="site"] footer.footer .hc-footer-contact a{font-size:13px!important}
html[data-holistic-brand="site"] footer.footer .footer-content img{max-width:190px!important;height:auto!important}
html[data-holistic-brand="site"] footer.footer .hc-official-company-name{font-size:13px!important;line-height:1.6!important;margin-block:10px!important}
@media(max-width:991px){html[data-holistic-brand="site"] footer.footer .footer-top>.container>.row{grid-template-columns:1fr 1fr!important;gap:24px!important}}
@media(max-width:700px){html[data-holistic-brand="site"]{--site-title-size:25px!important}html[data-holistic-brand="site"] h1{font-size:28px!important}html[data-holistic-brand="site"] h3{font-size:21px!important}}
@media(max-width:575px){html[data-holistic-brand="site"] footer.footer .footer-top>.container>.row{grid-template-columns:1fr!important;gap:22px!important}html[data-holistic-brand="site"] footer.footer .footer-link-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-holistic-brand="site"] footer.footer :is(.footer-link-list a.footer-link,.hc-footer-contact a){min-height:44px!important}html[data-holistic-brand="site"] footer.footer .social-links a.social-link{width:40px!important;height:40px!important;min-height:40px!important}}
}
}
