/* Tesila themes. Light mode follows Apple Newsroom's neutral hierarchy; dark remains the default. */
body{--ui-bg:#0A0A12;--ui-surface:#0E0E18;--ui-text:#F0EEF5;--ui-muted:#A8A3B8;--ui-line:#1E1E30;--ui-accent:#8B5CF6;color-scheme:dark}
body.ts-site-light{--ui-bg:#F5F5F7;--ui-surface:#FFFFFF;--ui-surface-soft:#FAFAFC;--ui-text:#1D1D1F;--ui-muted:#6E6E73;--ui-subtle:#86868B;--ui-line:#D2D2D7;--ui-hover:#E8E8ED;--ui-accent:#0071E3;--ui-accent-hover:#006EDB;--ui-link:#0066CC;--tesila-brand-night:#F5F5F7;--tesila-brand-surface:#FFFFFF;--tesila-brand-navy:#FFFFFF;--tesila-brand-blue:#EDEDF2;--tesila-brand-hover:#E8E8ED;--tesila-brand-border:#D2D2D7;--tesila-brand-teal:#0071E3;--tesila-brand-highlight:#2997FF;--tesila-brand-cream:#6E6E73;--tesila-brand-white:#1D1D1F;--tsa-ink:#1D1D1F;--tsr-ink:#1D1D1F;color-scheme:light}
html body .ts-mobile-menu{background:var(--ui-surface)!important;color:var(--ui-text)!important;overscroll-behavior:contain;touch-action:pan-y;padding-bottom:max(20px,env(safe-area-inset-bottom));max-width:100vw}
html body .ts-mobile-menu__head,html body .ts-mobile-nav a{border-color:var(--ui-line)!important}
html body .ts-mobile-menu a,html body .ts-mobile-menu strong,html body .ts-mobile-menu button{color:var(--ui-text)!important}
html body .ts-mobile-menu small{color:var(--ui-muted)!important}
html body .ts-mobile-account-card,html body .ts-mobile-account-card__icon,html body .ts-mobile-menu__close{background:var(--ui-bg)!important;border-color:var(--ui-line)!important}
html body .ts-mobile-nav a:hover{background:var(--ui-hover,var(--ui-bg))!important}
body.ts-site-light .ts-wordmark-logo{filter:brightness(0) saturate(100%) invert(13%) sepia(30%) saturate(3341%) hue-rotate(201deg) brightness(78%) contrast(112%)!important}
html body.home.ts-nodes-home .ts-mobile-cart-shortcut,html body.home.ts-nodes-home .ts-mobile-drawer-cart{display:none!important}
html body.home.ts-nodes-home .ts-theme-switch{display:inline-flex!important;color:var(--ui-text)!important;background:var(--ui-surface)!important;border:1px solid var(--ui-line);border-radius:24px;padding:8px;gap:6px;align-items:center}
html body.home.ts-nodes-home.ts-site-light .ts-header-nav a,html body.home.ts-nodes-home.ts-site-light .ts-header-action--ghost{color:var(--ui-text)!important;background:transparent!important}
body.ts-site-light .tsn-footer{background:linear-gradient(180deg,rgba(245,245,247,0),rgba(245,245,247,.96))!important}
body.ts-site-light .tsn-footer__bubble,body.ts-site-light .tsn-footer__bubble a,body.ts-site-light .tsn-footer__bubble strong{color:var(--ui-text)!important}
body.ts-site-light .tsn-footer__copy,body.ts-site-light .tsn-footer__bubble p{color:var(--ui-muted)!important}
body.ts-site-light .tsn-footer__bubble--trust img{filter:grayscale(1)!important}
@media(max-width:1100px){
 html body .ts-header-shell{direction:rtl!important}
 html body .ts-mobile-menu-toggle{grid-column:1!important;grid-row:1!important;order:0!important;justify-self:start!important;color:var(--ui-text)!important;background:var(--ui-surface)!important;border-color:var(--ui-line)!important;min-width:44px;min-height:44px}
 html body .ts-header-shell>a.ts-logo{grid-column:2!important;grid-row:1!important;justify-self:center!important}
 html body .ts-mobile-cart-shortcut{grid-column:3!important;grid-row:1!important}
 html body.home.ts-nodes-home .ts-header-shell{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important}
 html body.home.ts-nodes-home .ts-header-actions{display:none!important}
 html body .ts-mobile-menu__head{display:flex!important;gap:12px;align-items:center}
 html body .ts-mobile-menu__head .ts-logo{flex:1;min-width:0}
 html body .ts-mobile-menu__head .ts-wordmark-logo{max-width:105px!important}
}
@media(prefers-reduced-motion:reduce){html body .ts-mobile-menu{transition:none!important}}
html body.home.ts-nodes-home.ts-site-light .ts-mobile-menu-toggle{color:#1D1D1F!important;background:#FFFFFF!important;border-color:#D2D2D7!important}
html body.home.ts-nodes-home .ts-theme-switch__track{position:relative;display:block;width:30px;height:18px;border-radius:12px;background:var(--ui-accent)}
html body.home.ts-nodes-home .ts-theme-switch__track i{position:absolute;left:3px;top:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .2s}
html body.home.ts-nodes-home .ts-theme-switch[aria-pressed=true] .ts-theme-switch__track i{transform:translateX(12px)}
html body.ts-themed .ts-theme-switch[aria-pressed=true] .ts-theme-switch__track{background:#A78BFA!important}
/* Cart is a centered, breathable panel instead of a full-width table. */
html body.woocommerce-cart.ts-themed .ts-main{padding:36px 20px 72px!important}
html body.woocommerce-cart.ts-themed .woocommerce{box-sizing:border-box;width:min(1240px,calc(100% - 40px))!important;margin:0 auto!important;padding:clamp(22px,3vw,42px)!important;border:1px solid var(--ui-line)!important;border-radius:28px!important;overflow:hidden;background:var(--ui-surface)!important}
html body.woocommerce-cart.ts-themed :is(.woocommerce-cart-form,.cart-collaterals .cart_totals,table.shop_table){box-sizing:border-box;border-radius:20px!important;overflow:hidden}
html body.woocommerce-cart.ts-themed .cart-collaterals .cart_totals{float:none!important;width:min(100%,480px)!important;margin:24px 0 0 auto!important;padding:22px!important}
html body.woocommerce-cart.ts-themed .wc-proceed-to-checkout a{width:100%;box-sizing:border-box;border-radius:14px!important}
@media(max-width:700px){
 html body.woocommerce-cart.ts-themed .ts-main{padding:14px 0 40px!important}
 html body.woocommerce-cart.ts-themed .woocommerce{width:calc(100% - 20px)!important;padding:14px 12px!important;border-radius:20px!important}
 html body.woocommerce-cart.ts-themed .woocommerce-cart-form{width:100%;overflow:visible!important}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive{display:block;width:100%!important;border:0!important;overflow:visible!important}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive tbody{display:block;width:100%}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive tr{display:block;margin:0 0 14px;padding:12px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-bg)}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive td{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;padding:9px 4px!important;text-align:left!important;border:0!important;overflow-wrap:anywhere}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive td::before{float:none!important;flex:0 0 auto;text-align:right!important}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive td.product-thumbnail{display:block!important;text-align:center!important}
 html body.woocommerce-cart.ts-themed table.shop_table_responsive td.product-thumbnail::before{display:none!important}
 html body.woocommerce-cart.ts-themed td.product-thumbnail img{width:84px!important;height:84px!important;object-fit:cover;border-radius:14px}
 html body.woocommerce-cart.ts-themed .cart-collaterals .cart_totals{width:100%!important;margin-top:12px!important;padding:16px!important;border-radius:16px!important}
 html body.woocommerce-cart.ts-themed .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%}
 html body.woocommerce-cart.ts-themed .coupon :is(input,button){width:100%!important;min-width:0!important}
}
body.ts-site-light{--tsa-paper:#F5F5F7;--tsa-paper-2:#FFFFFF;--tsa-ink:#1D1D1F;--tsa-blue:#0071E3;--tsa-mint:#EDEDF2;--tsa-line:#D2D2D7;--tsr-paper:#F5F5F7;--tsr-ink:#1D1D1F;--tsr-blue:#0071E3;--tsr-mint:#EDEDF2;--tsr-line:#D2D2D7}
html body.ts-site-light{background-color:#F5F5F7!important;background-image:radial-gradient(circle at 10% 4%,rgba(255,255,255,.96) 0 18%,transparent 46%),radial-gradient(circle at 92% 8%,rgba(237,237,242,.76) 0,transparent 42%),linear-gradient(180deg,#FFFFFF 0%,#F5F5F7 34%,#F5F5F7 100%)!important;background-attachment:fixed!important;color:#1D1D1F!important}
html body.ts-themed.ts-site-light:not(.single-product) :is(.ts-main,.ts-resource-page,.ts-account-page,.ts-account-auth,.ts-search-page,.ts-archive-page,.tsa-page,.tsr-page){background-color:transparent!important;background-image:none!important}
/* Shared templates: resources, account, commerce and editorial subpages. */
html body.ts-themed{background:var(--ui-bg)!important;color:var(--ui-text)!important}
html body.ts-themed.ts-site-dark .ts-header{background:var(--ui-bg)!important;background-image:none!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-page,.ts-account-page,.ts-account-auth,.ts-search-page,.ts-archive-page){background:var(--ui-bg)!important;color:var(--ui-text)!important;background-image:none!important}
html body.ts-themed :is(.ts-resource-section,.ts-resource-cta,.ts-resource-answer,.ts-resource-tracking-form,.ts-resource-faq-item,.ts-account-auth-card,.ts-account-auth-aside,.ts-account-card,.ts-product-card__media,.ts-cart-drawer,.ts-cart-panel,.ts-cart-item,.ts-quick-cart,.ts-quick-cart__panel,.ts-quick-cart__item,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-orders-table,.woocommerce-address-fields,.woocommerce-Address,.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password,.woocommerce-cart-form,.cart_totals,.woocommerce-info,.woocommerce-message,.woocommerce-error,.select2-dropdown,.select2-selection,.select2-results__option){background:var(--ui-surface)!important;background-image:none!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-page,.ts-account-auth,.ts-account-page) :is(h1,h2,h3,h4,strong,summary,a){color:var(--ui-text)!important}
html body.ts-themed :is(.ts-resource-page,.ts-account-auth,.ts-account-page) :is(p,small,label,li){color:var(--ui-muted)!important}
html body.ts-themed :is(.ts-resource-hero,.ts-account-auth-aside) {background:var(--ui-bg)!important;background-image:none!important}
html body.ts-themed .ts-account-auth-aside :is(li,article,div){background:var(--ui-surface)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-answer,.ts-resource-faq-item,details,summary){border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-page,.ts-account-auth) a:hover{color:var(--ui-accent)!important}
html body.ts-themed :is(#order_review_heading,#order_review,#customer_details .col-1,#customer_details .col-2,#payment,#payment .payment_box){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html body.ts-themed .select2-selection__rendered{color:var(--ui-text)!important}
html body.ts-themed :is(button,input,select,textarea){accent-color:var(--ui-accent)}
html body.ts-themed :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
html body.ts-themed :is(.tsa-atlas__insight,.tsa-commerce,.tsa-method__result,.tsa-proof-link,.tsr-card,.tsr-stage){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.tsa-method,.tsa-connection,.tsa-principles,.tsa-book,.tsa-proof-link,.tsa-atlas__insight) :is(h2,h3,strong,span,small){color:var(--ui-text)!important}
html body.ts-themed .tsa-atlas__insight a{color:var(--ui-accent)!important}
html body.ts-themed .tsa-atlas__insight,html body.ts-themed .tsa-atlas__insight:is(:hover,:focus-within){background:rgba(14,14,24,.28)!important;background-image:none!important;border-color:rgba(139,92,246,.2)!important;box-shadow:none!important;filter:none!important;transform:none!important}
html body.ts-themed.ts-site-light .tsa-atlas__insight,html body.ts-themed.ts-site-light .tsa-atlas__insight:is(:hover,:focus-within){background:rgba(245,245,247,.42)!important;border-color:rgba(124,58,237,.16)!important}
html body.ts-themed .tsa-scenario :is(h2,p,li,span,strong){color:#fff!important}
html body.ts-themed .tsa-atlas__node{color:var(--ui-text);background:var(--ui-surface)}
html body.ts-themed .tsa-atlas__node.is-active,html body.ts-themed .tsa-button--primary{background:var(--ui-accent);color:#fff!important}
html body.ts-themed .tsa-atlas__core :is(strong,span){color:#fff!important}
html body.ts-themed img{max-width:100%;height:auto}
html body.ts-themed :is(input,select,textarea){max-width:100%;box-sizing:border-box}
html body.ts-themed .ts-entry-content{overflow-wrap:anywhere}
html body.ts-themed .ts-entry-content :is(iframe,video){max-width:100%}
html body.ts-themed .ts-entry-content pre{max-width:100%;overflow:auto}
html body.ts-themed :is(.ts-resource-section,.ts-resource-answer,.ts-account-auth-card,.tsr-card){min-width:0;overflow-wrap:anywhere}
@media(max-width:767px){
 html body.ts-themed :is(input,select,textarea){font-size:16px!important}
 html body.ts-themed :is(.ts-resource-grid,.ts-resource-answers,.ts-account-auth-grid){grid-template-columns:minmax(0,1fr)!important}
 html body.ts-themed :is(.ts-resource-section,.ts-resource-cta,.ts-account-auth-card){padding:20px 16px!important}
 html body.ts-themed :is(.ts-container,.ts-resource-wrap){max-width:calc(100% - 24px);min-width:0}
 html body.ts-themed :is(.ts-mobile-menu,.ts-cart-drawer,.ts-cart-panel){max-height:100dvh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 html body.ts-themed :is(button,.ts-btn,.ts-resource-page summary){min-height:44px;touch-action:manipulation}
 html body.ts-themed .ts-entry-content table{display:block;max-width:100%;overflow-x:auto}
}
/* Living illustrations preserve their original transforms and remain tappable. */
html body.ts-themed .ts-mag-empty{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-kicker,.ts-resource-section__index,.ts-resource-answer__icon,.ts-account-kicker){background:var(--ui-surface)!important;color:var(--ui-accent)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-resource-hero__actions,.ts-resource-cta) a{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;min-height:44px}
html body.ts-themed :is(.ts-account-auth-side,.ts-account-auth-benefits>div,.tsa-auth,.ts-sp-section,.ts-pi__section,.ts-pi__related-products,.ts-pi__articles){background:var(--ui-surface)!important;background-image:none!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html body.ts-themed :is(.ts-account-auth-side,.tsa-auth,.ts-pi__section) :is(h1,h2,h3,h4,strong,label){color:var(--ui-text)!important}
html body.ts-themed :is(.ts-account-auth-side,.tsa-auth,.ts-pi__section) :is(p,small,li){color:var(--ui-muted)!important}
html body.ts-themed .ts-contact-hp{left:auto!important;right:0!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);pointer-events:none}
html body.ts-themed :is(.ts-guide-content,.ts-guide-section,.ts-mag-topic,.ts-mag-topic__top){min-width:0;max-width:100%;box-sizing:border-box}
html body.ts-themed .ts-guide-content{grid-template-columns:minmax(0,1fr)}
html body.ts-themed .ts-comparison__viewport{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
html body.ts-themed :is(.tsr-stage__meta b,.tsr-map__legend li){color:var(--ui-muted)!important}
@media(max-width:767px){
 html body.ts-themed .ts-mag-topic-grid{grid-template-columns:minmax(0,1fr)!important}
 html body.ts-themed :is(.ts-mag-topic__parent,.ts-mag-topic p){white-space:normal;overflow-wrap:anywhere}
 html body.ts-themed .ts-mag-topic__top{flex-wrap:wrap}
}
@keyframes tsaFloat{from{translate:0 -6px}to{translate:0 8px}}
/* Readable copy is always bright in dark mode; hierarchy comes from size/weight. */
html body.ts-themed.ts-site-dark{--ui-text:#FFFFFF;--ui-muted:#F7F7FC;--tesila-brand-white:#FFFFFF;--tesila-brand-cream:#F7F7FC;--tsa-ink:#FFFFFF;--tsr-ink:#FFFFFF;--ts-muted:#F7F7FC}
html body.ts-themed.ts-site-dark :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,label,legend,summary,strong,em,small,figcaption,blockquote,button,input,select,textarea){color:#FFFFFF!important;-webkit-text-fill-color:currentColor}
html body.ts-themed.ts-site-dark :is(p,small,figcaption,label,.tsn-footer__copy,.tsn-footer__bubble p,.tsa-book span,.tsa-book small,.tsa-atlas__core span){opacity:1!important}
html body.ts-themed.ts-site-dark :is(.ts-header-nav,.ts-mobile-nav,.ts-resource-page,.ts-account-page,.tsr-page,.tsa-page,.ts-article__content,.ts-entry-content,.ts-footer) span{color:#FFFFFF!important}
html body.ts-themed.ts-site-dark input::placeholder,html body.ts-themed.ts-site-dark textarea::placeholder{color:#F7F7FC!important;opacity:1}
html body.ts-themed.ts-site-dark span:not([aria-hidden=true]){color:#FFFFFF!important}
html body.ts-themed.ts-site-dark :is(.ts-mobile-cart-shortcut,.ts-mobile-menu-toggle,.ts-theme-switch,.tsa-button:not(.tsa-button--primary)){background:var(--ui-surface)!important;color:#fff!important;border-color:var(--ui-line)!important}
/* Seasonal color remains atmospheric only; Apple-neutral reading and controls stay stable. */
body.ts-site-light{--tesila-brand-teal:#0071E3;--ui-accent:#0071E3;--tsa-blue:#0071E3;--tsr-blue:#0071E3}
body.ts-site-light .tsn-world__aura{background:radial-gradient(ellipse at 48% 48%,rgba(255,255,255,.94),transparent 42%),radial-gradient(circle at 78% 82%,rgba(41,151,255,.12),transparent 48%),radial-gradient(circle at 24% 18%,rgba(175,82,222,.1),transparent 42%);opacity:.76}
body.ts-site-light :is(.ts-mag-hero__visual,.ts-brand-hero__visual,.tsa-atlas::before){background:radial-gradient(circle at 35% 30%,var(--mood-a,#ece6f6),var(--mood-b,#e4f1f5) 55%,transparent 72%)!important}
body.ts-site-light .tsn-footer:before{background:radial-gradient(circle,rgba(255,255,255,.92),transparent 68%);opacity:.5}
body.ts-site-light .tsn-footer:after{background:radial-gradient(circle,rgba(41,151,255,.12),transparent 68%);opacity:.52}
/* One site-wide reading contract: luminous white at night, ink black in light. */
html body.ts-themed.ts-site-dark :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,caption,label,legend,summary,strong,b,em,i:not([aria-hidden]),small,figcaption,blockquote,cite,address,time,code,pre,kbd,samp,mark,button,input,select,textarea,option,optgroup,span:not([aria-hidden=true]),svg text){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;fill:currentColor;text-shadow:none}
html body.ts-themed.ts-site-light :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,caption,label,legend,summary,strong,b,em,i:not([aria-hidden]),small,figcaption,blockquote,cite,address,time,code,pre,kbd,samp,mark,button,input,select,textarea,option,optgroup,span:not([aria-hidden=true]),svg text){color:#1D1D1F!important;-webkit-text-fill-color:#1D1D1F!important;fill:currentColor;text-shadow:none}
html body.ts-themed.ts-site-dark:not(#tesila-product-theme-exception) :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,caption,label,legend,summary,strong,b,em,i:not([aria-hidden]),small,figcaption,blockquote,cite,address,time,code,pre,kbd,samp,mark,button,input,select,textarea,option,optgroup,span:not([aria-hidden=true]),svg text){color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;fill:currentColor;text-shadow:none;opacity:1}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,caption,label,legend,summary,strong,b,em,i:not([aria-hidden]),small,figcaption,blockquote,cite,address,time,code,pre,kbd,samp,mark,button,input,select,textarea,option,optgroup,span:not([aria-hidden=true]),svg text){color:#1D1D1F!important;-webkit-text-fill-color:#1D1D1F!important;fill:currentColor;text-shadow:none;opacity:1}
html body.ts-themed.ts-site-light :is(.ts-header-action,.ts-mobile-drawer-cart,.ts-lp-btn){background:#F5F5F7!important;border-color:#D2D2D7!important}
html body.ts-themed.ts-site-dark :where(input,textarea)::placeholder{color:#F7F7FC!important;-webkit-text-fill-color:#F7F7FC!important;opacity:.82}
html body.ts-themed.ts-site-light :where(input,textarea)::placeholder{color:#6E6E73!important;-webkit-text-fill-color:#6E6E73!important;opacity:1}
html body.ts-themed :where([disabled],[aria-disabled=true]){opacity:.62}
html body.ts-themed.ts-site-dark .ts-contrast-purple{background:#7C3AED!important;background-image:none!important;border-color:rgba(255,255,255,.82)!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important}
/* Known pale controls use violet surfaces at night so white copy never disappears. */
html body.ts-themed.ts-site-dark :is(.ts-lp-btn--outline,.ts-product-intro__checklist li>span,.ts-mag-stats>span){background:#7C3AED!important;background-image:none!important;border-color:rgba(255,255,255,.72)!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;box-shadow:none!important}
html body.ts-themed.ts-site-dark .ts-article__meta span{background:rgba(139,92,246,.15)!important;background-image:none!important;border-color:rgba(167,139,250,.34)!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;box-shadow:none!important}
/* Reading accents: quiet violet for article summaries, brighter only on interaction. */
html body.ts-themed.ts-site-dark .ts-quick-answer{background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(124,58,237,.07))!important;border-color:rgba(167,139,250,.42)!important;box-shadow:none!important}
html body.ts-themed.ts-site-dark .ts-quick-answer__icon{background:#8B5CF6!important;color:#fff!important;border-color:rgba(255,255,255,.56)!important;box-shadow:none!important}
html body.ts-themed .ts-article__toc a{border-radius:10px;padding:8px 10px;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
html body.ts-themed.ts-site-dark .ts-article__toc a:is(:hover,:focus,:active){background:rgba(139,92,246,.16)!important;border-color:rgba(167,139,250,.4)!important;outline:none}
html body.ts-themed.ts-site-light .ts-article__toc a:is(:hover,:focus,:active){background:rgba(124,58,237,.1)!important;border-color:rgba(124,58,237,.25)!important;outline:none}

/* Calm progressive delivery: sharp content near the viewport, no layout jump. */
html.ts-progressive-ready body.ts-themed [data-ts-stream-state=pending]{opacity:0;transform:translate3d(0,8px,0);filter:blur(2px)}
html.ts-progressive-ready body.ts-themed [data-ts-stream-state=shown]{opacity:1;transform:none;filter:none;transition:opacity .34s ease,transform .34s cubic-bezier(.2,.7,.2,1),filter .34s ease}
html.ts-progressive-ready body.ts-themed .ts-media-waiting{position:relative;background:linear-gradient(100deg,var(--ui-surface) 25%,var(--ui-line) 42%,var(--ui-surface) 60%);background-size:220% 100%;animation:tsMediaPulse 1.5s ease-in-out infinite}
html.ts-progressive-ready body.ts-themed img[data-ts-media-ready=false]{opacity:.08;filter:blur(12px);transition:opacity .42s ease,filter .42s ease}
html.ts-progressive-ready body.ts-themed img[data-ts-media-ready=true]{opacity:1;filter:none;transition:opacity .42s ease,filter .42s ease}
.ts-article__content .ts-type-streaming::after{content:'|';display:inline-block;margin-inline-start:2px;color:#A78BFA;-webkit-text-fill-color:#A78BFA;animation:tsTypeCaret .72s steps(1,end) infinite}
@keyframes tsMediaPulse{from{background-position:120% 0}to{background-position:-80% 0}}
@keyframes tsTypeCaret{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){html.ts-progressive-ready body.ts-themed [data-ts-stream-state],html.ts-progressive-ready body.ts-themed img[data-ts-media-ready]{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}.ts-media-waiting{animation:none!important}}
@keyframes tsaOrbitGlow{from{opacity:.45}to{opacity:.95}}
/* Magazine constellation: each live point follows its own concentric rail. */
.ts-mag-orbit{--ts-mag-orbit-size:280px;width:var(--ts-mag-orbit-size);height:var(--ts-mag-orbit-size)}
.ts-mag-orbit>span{top:50%!important;right:auto!important;bottom:auto!important;left:50%!important;margin:-8px 0 0 -8px;will-change:transform;animation:tsMagRail 15s linear infinite}
.ts-mag-orbit>span:nth-child(1){--ts-mag-rail:calc(var(--ts-mag-orbit-size)/2 - 6px);animation-duration:15s;animation-delay:-3.2s}
.ts-mag-orbit>span:nth-child(2){--ts-mag-rail:calc(var(--ts-mag-orbit-size)/2 - 38px);animation-duration:11s;animation-delay:-7.1s;animation-direction:reverse}
.ts-mag-orbit>span:nth-child(3){--ts-mag-rail:calc(var(--ts-mag-orbit-size)/2 - 78px);animation-duration:8s;animation-delay:-4.4s}
@keyframes tsMagRail{from{transform:rotate(0deg) translateX(var(--ts-mag-rail))}to{transform:rotate(360deg) translateX(var(--ts-mag-rail))}}
@media(max-width:560px){.ts-mag-orbit{--ts-mag-orbit-size:190px}}
@media(prefers-reduced-motion:no-preference){
 .tsa-atlas__core,.tsa-connection__hub,.tsa-connection__point,.tsa-atlas__node{animation:tsaFloat 6s ease-in-out infinite alternate;animation-play-state:paused}
 .tsa-connection__point--two,.tsa-atlas__node:nth-of-type(2n){animation-delay:-2s;animation-duration:7.5s}
 .tsa-connection__point--three,.tsa-atlas__node:nth-of-type(3n){animation-delay:-4s;animation-duration:8.5s}
 .tsa-atlas.is-in-view .tsa-atlas__core,.tsa-atlas.is-in-view .tsa-atlas__node,.tsa-connection__map.is-in-view .tsa-connection__hub,.tsa-connection__map.is-in-view .tsa-connection__point{animation-play-state:running}
 .tsa-connection__map.is-in-view>i{animation:tsaOrbitGlow 5s ease-in-out infinite alternate}
}
@media(prefers-reduced-motion:reduce){.ts-mag-orbit>span{animation-play-state:paused}}

/* Apple Newsroom light-mode roles: white cards, ink titles, gray metadata, blue actions. */
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-header,.ts-mobile-menu,.ts-cart-drawer,.ts-cart-panel,.ts-quick-cart__panel){background:rgba(255,255,255,.88)!important;border-color:#D2D2D7!important;box-shadow:none!important;backdrop-filter:saturate(180%) blur(18px)}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-resource-section,.ts-resource-cta,.ts-resource-answer,.ts-resource-tracking-form,.ts-resource-faq-item,.ts-account-auth-card,.ts-account-auth-aside,.ts-account-card,.ts-product-card__media,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-cart-form,.cart_totals,.woocommerce-info,.woocommerce-message,.woocommerce-error,.select2-dropdown,.select2-selection,.tsr-card,.tsr-stage,.tsa-atlas__insight){background:#FFFFFF!important;background-image:none!important;border-color:#D2D2D7!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-entry-content,.ts-resource-page,.ts-account-page,.ts-search-page,.ts-archive-page) :is(small,figcaption,time,.ts-meta,.ts-muted,.ts-resource-lead){color:#6E6E73!important;-webkit-text-fill-color:#6E6E73!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-entry-content,.ts-resource-page,.ts-account-page,.ts-search-page,.ts-archive-page) a:not(.ts-btn):not(.button):not([class*=button]){color:#0066CC!important;-webkit-text-fill-color:#0066CC!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-entry-content,.ts-resource-page,.ts-account-page,.ts-search-page,.ts-archive-page) a:not(.ts-btn):not(.button):not([class*=button]):is(:hover,:focus-visible){color:#006EDB!important;-webkit-text-fill-color:#006EDB!important;text-decoration:underline}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-btn--primary,.button.alt,.checkout-button,.tsa-button--primary,.ts-resource-hero__actions .is-primary){background:#0071E3!important;border-color:#0071E3!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-btn--primary,.button.alt,.checkout-button,.tsa-button--primary,.ts-resource-hero__actions .is-primary):is(:hover,:focus-visible){background:#006EDB!important;border-color:#006EDB!important;transform:none!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-mobile-nav a,.ts-article__toc a,.ts-lp-btn,.ts-header-action):is(:hover,:focus-visible){background:#E8E8ED!important;border-color:#D2D2D7!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(input,select,textarea){background:#FFFFFF!important;border-color:#D2D2D7!important;color:#1D1D1F!important;-webkit-text-fill-color:#1D1D1F!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(input,select,textarea):focus{border-color:#0071E3!important;box-shadow:0 0 0 3px rgba(0,113,227,.16)!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-mag-hero,.ts-mag-archive-head,.ts-magazine-page){background:#F5F5F7!important;border-color:#D2D2D7!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-mag-hero__copy,.ts-mag-topic,.ts-mag-featured,.ts-mag-card,.ts-mag-aside,.ts-article__toc,.ts-article__side,.ts-article__content,.ts-comments){background:#FFFFFF!important;border-color:#D2D2D7!important;box-shadow:none!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-mag-hero p,.ts-mag-featured__copy p,.ts-mag-card p,.ts-article__side p,.ts-mag-card time){color:#6E6E73!important;-webkit-text-fill-color:#6E6E73!important}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-mag-card__category,.ts-mag-card__footer a,.ts-mag-section-head span,.ts-article__toc>a,.ts-article__side a){color:#0066CC!important;-webkit-text-fill-color:#0066CC!important}

/* Home is one continuous scene: the canvas flows under transparent chrome. */
html body.home.ts-nodes-home .ts-header,html body.home.ts-nodes-home .ts-header-shell,html body.home.ts-nodes-home .ts-main,html body.home.ts-nodes-home .tsn-footer{background:transparent!important;background-image:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.home.ts-nodes-home .ts-header{border:0!important}
html body.home.ts-nodes-home .tsn-footer{border:0!important}
html body.home.ts-nodes-home.ts-site-light .ts-header-nav a,html body.home.ts-nodes-home.ts-site-light .ts-header-action--ghost,html body.home.ts-nodes-home.ts-site-light .tsn-footer__bubble,html body.home.ts-nodes-home.ts-site-light .tsn-footer__bubble a,html body.home.ts-nodes-home.ts-site-light .tsn-footer__bubble strong{color:#07143F!important;-webkit-text-fill-color:#07143F!important}
html body.home.ts-nodes-home.ts-site-light .tsn-footer__copy,html body.home.ts-nodes-home.ts-site-light .tsn-footer__bubble p{color:#5F5549!important;-webkit-text-fill-color:#5F5549!important}
html body.home.ts-nodes-home.ts-site-light .tsn-footer__bubble--trust img{filter:sepia(.34) saturate(.72) contrast(.92)!important;opacity:.84}
html body.home.ts-nodes-home .tsn-footer:before,html body.home.ts-nodes-home .tsn-footer:after{opacity:.28!important}
html body.home.ts-nodes-home.ts-site-light .tsn-world__aura{background:radial-gradient(ellipse at 50% 38%,rgba(255,255,255,.22),transparent 38%),radial-gradient(circle at 80% 78%,rgba(198,154,79,.08),transparent 46%),radial-gradient(circle at 18% 22%,rgba(12,52,145,.045),transparent 44%)!important;opacity:.22!important}

/* The home scene owns its complete viewport, including the navigation and footer.
   Match the shared theme's exception specificity so its white header cannot win. */
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) :is(header.ts-header,.ts-header-shell,.ts-main,.tsn-footer){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) :is(.ts-header,.ts-header-shell,.tsn-footer)::before,
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) :is(.ts-header,.ts-header-shell,.tsn-footer)::after{display:none!important;content:none!important}
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) .tsn-footer__stars{display:none!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .tsn-world__aura{display:none!important}
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) .ts-header-shell{box-sizing:border-box!important;padding-inline:clamp(24px,2.6vw,52px)!important}
html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) .tsn-footer__cluster{box-sizing:border-box!important;padding-inline:clamp(8px,1.2vw,18px)!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-header-shell,.tsn-footer) .ts-wordmark-logo{filter:brightness(0) saturate(100%) invert(13%) sepia(30%) saturate(3341%) hue-rotate(201deg) brightness(78%) contrast(112%)!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception){--tsn-day-ink:#121b43;--tsn-day-muted:#46506d;--tsn-day-line:rgba(54,63,98,.2);--tsn-day-control:rgba(239,243,250,.56)}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-header-shell,.tsn-footer) :where(a,span,p,strong,button,small){color:#07113c!important;-webkit-text-fill-color:#07113c!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) :is(.ts-header-action--ghost,.ts-mobile-menu-toggle,.ts-theme-switch){background:var(--tsn-day-control)!important;border-color:var(--tsn-day-line)!important;box-shadow:none!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .ts-header{min-height:88px!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .ts-header-shell{min-height:88px!important;padding-block:12px!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .ts-header-nav a{font-weight:850!important;text-shadow:0 1px 0 rgba(255,255,255,.62)!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .ts-header-nav a:is(:hover,:focus-visible){background:rgba(255,255,255,.4)!important;border-color:var(--tsn-day-line)!important;box-shadow:none!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .ts-theme-switch__track{background:#6f54d9!important}
html body.home.ts-nodes-home.ts-site-light:not(#tesila-product-theme-exception) .tsn-footer__bubble--trust img{filter:brightness(.5) sepia(.5) saturate(.7)!important;opacity:1!important}
@media(max-width:700px){
 html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) .ts-header-shell{padding-inline:max(16px,env(safe-area-inset-left))!important}
 html body.home.ts-nodes-home.ts-themed:not(#tesila-product-theme-exception) .tsn-footer__cluster{padding-inline:0!important}
}

/* Shop-only light mode: pearl surfaces, navy type, and one blue action color. */
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product){
 --ts-shop-bg:#f5f7fa;
 --ts-shop-surface:#ffffff;
 --ts-shop-surface-soft:#f7f9fc;
 --ts-shop-ink:#14233a;
 --ts-shop-muted:#607087;
 --ts-shop-line:#d7e0ea;
 --ts-shop-accent:#0b72e7;
 background:var(--ts-shop-bg)!important;
 color:var(--ts-shop-ink)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-filter-panel,.ts-shop-sidebar,.ts-catalog-toolbar,.ts-product-card,.woocommerce ul.products li.product){
 background:linear-gradient(180deg,#fff 0%,#f8fafd 100%)!important;
 border-color:var(--ts-shop-line)!important;
 color:var(--ts-shop-ink)!important;
 box-shadow:0 12px 30px rgba(27,50,79,.08)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-filter-panel,.ts-shop-sidebar,.ts-catalog-toolbar,.ts-product-card,.woocommerce ul.products li.product) :where(h1,h2,h3,h4,h5,h6,p,a,span,label,small,strong,li,dt,dd){
 color:var(--ts-shop-ink)!important;
 -webkit-text-fill-color:var(--ts-shop-ink)!important;
 text-shadow:none!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-filter-panel,.ts-shop-sidebar,.ts-catalog-toolbar,.ts-product-card,.woocommerce ul.products li.product) :where(.ts-muted,.ts-product-card__meta,.ts-catalog-count,small){
 color:var(--ts-shop-muted)!important;
 -webkit-text-fill-color:var(--ts-shop-muted)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 background:#fff!important;
 border-color:#cbd6e2!important;
 color:var(--ts-shop-ink)!important;
 -webkit-text-fill-color:var(--ts-shop-ink)!important;
 box-shadow:none!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(input,textarea)::placeholder{
 color:#718096!important;
 -webkit-text-fill-color:#718096!important;
 opacity:1!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-price-filter button,.ts-btn--primary,button[type=submit],input[type=submit]){
 background:var(--ts-shop-accent)!important;
 border-color:var(--ts-shop-accent)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 box-shadow:none!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-product-card__image,.woocommerce ul.products li.product a img){
 background:#f4f7fa!important
}
html body:is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) .ts-shop-loader.is-done{
 display:none!important
}
html body.ts-site-light:is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) .ts-shop-loader.is-loading{
 background:rgba(255,255,255,.94)!important;
 border-color:var(--ts-shop-line,#d7e0ea)!important;
 color:var(--ts-shop-muted,#607087)!important;
 box-shadow:none!important
}

/* Shop light-mode completion: replace every remaining navy panel. */
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-shop-head,.ts-side-block){
 background:linear-gradient(145deg,#ffffff 0%,#f4f7fb 100%)!important;
 border-color:var(--ts-shop-line)!important;
 color:var(--ts-shop-ink)!important;
 box-shadow:0 12px 30px rgba(27,50,79,.08)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-shop-head,.ts-side-block) :where(h1,h2,h3,h4,h5,h6,p,a,span,label,small,strong,li){
 color:var(--ts-shop-ink)!important;
 -webkit-text-fill-color:var(--ts-shop-ink)!important;
 text-shadow:none!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-shop-head__desc,.ts-shop-toolbar__meta,.ts-side-block__head p){
 color:var(--ts-shop-muted)!important;
 -webkit-text-fill-color:var(--ts-shop-muted)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-shop-toolbar__count,.ts-side-input,.ts-filter-reset,.ts-product-card__cat){
 background:#eef3f8!important;
 border-color:#cbd6e2!important;
 color:var(--ts-shop-ink)!important;
 -webkit-text-fill-color:var(--ts-shop-ink)!important;
 box-shadow:none!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-side-input,.ts-filter-reset) :where(span,a,label){
 color:var(--ts-shop-ink)!important;
 -webkit-text-fill-color:var(--ts-shop-ink)!important
}
html body.ts-themed.ts-site-light:not(#tesila-product-theme-exception):is(.woocommerce-shop,.tax-product_cat,.search.post-type-product) :is(.ts-product-card__cart,.ts-price-filter button,button[type=submit],input[type=submit]){
 color:#fff!important;
 -webkit-text-fill-color:#fff!important
}

/* Editorial type system for content pages; the custom T-shirt product stays isolated. */
html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page){
 --ts-reading-measure:68ch;
 font-family:IRANYekanX,Tahoma,sans-serif;
 font-kerning:normal;
 text-rendering:optimizeLegibility
}
html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page) :where(h1,h2,h3,h4){
 font-weight:900;
 line-height:1.2;
 letter-spacing:-.035em;
 text-wrap:balance
}
html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page) :where(p,li){
 line-height:1.95;
 text-wrap:pretty
}
html body.ts-themed:not(.single-product) :is(.ts-article__content,.ts-entry-content) :where(p,ul,ol,blockquote){
 max-inline-size:var(--ts-reading-measure);
 margin-inline:auto
}
html body.ts-themed:not(.single-product) :is(.ts-article__content,.ts-entry-content) :where(h2,h3,h4){
 max-inline-size:26ch;
 margin-inline:auto
}
@media(max-width:700px){
 html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page) :where(h1){font-size:clamp(36px,10vw,48px)!important;line-height:1.18!important}
 html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page) :where(h2){font-size:clamp(29px,8vw,39px)!important}
 html body.ts-themed:not(.single-product) :is(.ts-resource-page,.ts-magazine-page,.ts-article,.ts-entry-content,.tsa-page,.tsr-page,.ts-search-page,.ts-archive-page) :where(h3){font-size:clamp(23px,6vw,30px)!important}
}
