/*
 * TAMIYOUZ JOURNAL / THEME IDENTITY V23
 * Distinct daytime editorial paper vs midnight studio for ONLY blog and articles.
 * Single tiny stylesheet, no external images/fonts/scripts, preserves content/SEO.
 */
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body){
 --tyz-j23-body:#f6f2e9;--tyz-j23-white:#fffefa;
 color-scheme:light;
 background:#f6f2e9!important;
}
html[data-tyz-theme="dark"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body){
 --tyz-j23-body:#071424;--tyz-j23-white:#14283f;
 color-scheme:dark;
 background:#071424!important;
}
/* Shared masthead: real day/night treatment instead of the same navy on both. */
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header,
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header.tyz-header--scrolled{
 --tyz-text:#163249;--tyz-text-muted:#456074;
 --tyz-navy-light:#fffaf0;
 --tyz-gold:#89602c;
 background:rgba(255,253,248,.97)!important;
 border-bottom:1px solid rgba(163,122,65,.30)!important;
 box-shadow:0 7px 25px rgba(38,56,68,.075)!important;
 color:#17344a!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__wordmark{
 color:#15364d!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__wordmark small{
 color:#956b35!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header :is(.tyz-header__link,.tyz-header__language){
 color:#304d61!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__nav-list a[aria-current="page"],
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header :is(.tyz-header__link,.tyz-header__language):is(:hover,:focus-visible){
 color:#845721!important;background:rgba(198,149,80,.12)!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__cta{
 color:#183b50!important;background:#f5e9d3!important;border-color:#c7aa7f!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__cta:is(:hover,:focus-visible){
 background:#173b51!important;color:#fffaf0!important;border-color:#173b51!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle{
 color:#724b1e!important;background:#f4e3c7!important;border:1px solid #c99f62!important;
 box-shadow:inset 0 1px rgba(255,255,255,.82)!important;
}
html[data-tyz-theme="dark"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle{
 color:#f6d49b!important;background:#213d55!important;border:1px solid #bd9a62!important;
 box-shadow:0 0 0 3px rgba(194,152,86,.09)!important;
}
/* Intuitive day/night glyphs; source ◐ hidden visually but button remains semantic. */
body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle{
 font-size:0!important;
 transition:background-color .18s ease,color .18s ease!important;
}
body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle::before{
 font-size:22px;font-weight:700;line-height:1;display:block;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle::before{
 content:"☀";
}
html[data-tyz-theme="dark"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle::before{
 content:"☾";
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__burger-bar{
 background:#18394f!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__mobile{
 background:#fffcf5!important;border-bottom:1px solid #d8c4a2!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__mobile-link{
 color:#18394f!important;
}
/* Article page: daylight is genuinely white; darkness is genuinely midnight. */
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article.tyz-pa{
 --pa8-body:#f6f2e9;--pa8-surface:#ffffff;--pa8-surface-2:#fff6e9;
 --pa8-ink:#163249;--pa8-text:#354d61;--pa8-muted:#52687a;
 --pa8-border:rgba(111,87,55,.22);--pa8-gold:#78501f;
 --pa8-hero:linear-gradient(122deg,#fffefa 0%,#f7f1e6 51%,#f0e5d4 100%);
 background:#f6f2e9!important;color:#17354c!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article.tyz-pa{
 --pa8-body:#071424;--pa8-surface:#10263d;--pa8-surface-2:#1a334b;
 --pa8-ink:#fff5e5;--pa8-text:#d9e6f3;--pa8-muted:#b8c9d9;
 --pa8-border:rgba(211,190,157,.23);--pa8-gold:#f1cd94;
 --pa8-hero:linear-gradient(124deg,#071422 0%,#10283f 53%,#19364d 100%);
 background:#071424!important;color:#e5edf5!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-hero{
 background:linear-gradient(122deg,#fffefa,#faf3e8 57%,#f0e4d1)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-hero{
 background:linear-gradient(123deg,#071422,#10283e 54%,#19354c)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-content-section{
 background:#f6f2e9!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-content-section{
 background:#071424!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose{
 --jr21-paper:#ffffff;--jr21-raised:#fff6e8;--jr21-raised2:#f2f7fa;
 background:#ffffff!important;background-image:none!important;
 box-shadow:0 19px 58px rgba(40,60,72,.09)!important;
 border-color:rgba(140,111,68,.20)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose{
 --jr21-paper:#10263d;--jr21-raised:#1a344b;--jr21-raised2:#183149;
 background:#10263d!important;background-image:none!important;
 box-shadow:0 23px 60px rgba(0,4,13,.32)!important;
 border-color:rgba(227,191,132,.22)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article :is(.tyz-pa-aside__box,.tyz-pa-breadcrumbs.tyz-v7-crumbs,.tyz-pa-related__card){
 background:#ffffff!important;color:#17354c!important;border-color:rgba(149,119,72,.23)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article :is(.tyz-pa-aside__box,.tyz-pa-breadcrumbs.tyz-v7-crumbs,.tyz-pa-related__card){
 background:#142a41!important;color:#e9f0fa!important;border-color:rgba(231,196,139,.23)!important;
}
/* Major visual flaw: the article intro was a dark navy panel in BOTH modes. */
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-article-intro{
 background:#ecf5f7!important;background-image:linear-gradient(125deg,#ecf5f7,#fff9ed)!important;
 border:1px solid #d6c09d!important;color:#17364b!important;
 box-shadow:0 13px 29px rgba(39,65,78,.075)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-article-intro > p{
 color:#223f54!important;-webkit-text-fill-color:#223f54!important;text-shadow:none!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-article-intro > span{
 color:#795024!important;-webkit-text-fill-color:#795024!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-article-intro{
 background:linear-gradient(123deg,#1d3c55,#10293f)!important;
 border-color:rgba(232,191,126,.38)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-article-intro > p{
 color:#f3f6fa!important;-webkit-text-fill-color:#f3f6fa!important;
}
/* Related content should follow the entire page identity, not float on legacy layers. */
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-related{
 background:#f2ede4!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-related{
 background:#0b1b2d!important;
}
/* On daytime pages, interactive SMART/Trend panels use a light studio surface. */
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-widget,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-trendlab{
 background:linear-gradient(135deg,#fffaf0 0%,#eef5f7 100%)!important;
 border:1px solid #cfb590!important;
 color:#203b51!important;
 box-shadow:0 16px 38px rgba(40,62,75,.11)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article :is(.tyz-smart-widget,.tyz-trendlab) :is(h2,h3,label,strong,.tyz-smart-duo strong){
 color:#17354c!important;-webkit-text-fill-color:#17354c!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article :is(.tyz-smart-widget,.tyz-trendlab) :is(p,li,.tyz-smart-hint,.tyz-trendlab__disclaimer){
 color:#3f586a!important;-webkit-text-fill-color:#3f586a!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-widget .tyz-smart-kicker,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-trendlab .tyz-trendlab__kicker{
 color:#765021!important;-webkit-text-fill-color:#765021!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-duo>div,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-check__items label,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-trendlab__choice,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-quiz__feedback{
 background:#ffffff!important;border-color:#c4d1d9!important;color:#203e52!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-output{
 background:#eef4f7!important;border:1px solid #c9b590!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-output :is(p,strong,small){
 color:#243e52!important;-webkit-text-fill-color:#243e52!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-smart-widget button:not([aria-pressed="true"]):not(:disabled){
 color:#ffffff!important;background:#193f58!important;border-color:#193f58!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-trendlab__result{
 background:#ffffff!important;border-color:#c9d6df!important;color:#213c51!important;
}
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-trendlab__result :is(h3,p,small){
 color:#243e52!important;-webkit-text-fill-color:#243e52!important;
}
/* The blog listing uses the same clear daylight paper / midnight distinction. */
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog{
 --pb-bg:#f6f2e9;--pb-paper:#fffefa;--pb-ink:#17344a;
 --pb-soft:#506878;--pb-gold:#81541f;--pb-line:rgba(104,83,60,.23);
 color:#17344a!important;background:#f6f2e9!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog{
 --pb-bg:#071424;--pb-paper:#11283e;--pb-ink:#f5f3ed;
 --pb-soft:#bfd0df;--pb-gold:#edc38a;--pb-line:rgba(234,206,161,.22);
 color:#f5f3ed!important;background:#071424!important;
}
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-hero{
 background:linear-gradient(132deg,#fffefa,#f6efe2 57%,#f1e5d2)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-hero{
 background:linear-gradient(132deg,#071525,#11283d 55%,#081a2d)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog :is(.tyz-pb-stories,.tyz-pb-cta){
 background:#f6f2e9!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog :is(.tyz-pb-stories,.tyz-pb-cta){
 background:#071424!important;
}
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-categories{
 background:#fffefa!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-categories{
 background:#10263d!important;
}
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-article-card{
 background:#fffefa!important;border:1px solid #ddd0ba!important;
 box-shadow:0 15px 36px rgba(38,59,71,.08)!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-article-card{
 background:#162c43!important;border:1px solid rgba(215,183,137,.28)!important;
 box-shadow:0 17px 43px rgba(0,5,15,.26)!important;
}
html[data-tyz-theme="light"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-category-card{
 background:#fffdfa!important;color:#18384c!important;
}
html[data-tyz-theme="dark"] body.tyz-premium-blog-body #tyz-premium-blog .tyz-pb-category-card{
 background:#1b354b!important;color:#ebf3fc!important;
}
@media(prefers-reduced-motion:reduce){
 body:is(.tyz-premium-article-body,.tyz-premium-blog-body) #tyz-global-header .tyz-header__theme-toggle{
  transition:none!important;
 }
}
/* The global AI Model-6 masthead has high-specificity dark !important rules.
   Explicitly override that layer on Journal pages only. */
html[data-tyz-theme="light"] body.tyz-premium-blog-body:not(.tyz-ai6-disabled) #tyz-global-header.tyz-header,
html[data-tyz-theme="light"] body.tyz-premium-article-body:not(.tyz-ai6-disabled) #tyz-global-header.tyz-header{
 background:#fffcf5!important;
 background-color:#fffcf5!important;
 background-image:linear-gradient(100deg,#fffdfa,#f8efdf)!important;
 border-color:rgba(161,123,71,.27)!important;
 box-shadow:0 7px 19px rgba(47,58,68,.10),inset 0 1px #fff!important;
 --tyz-text:#17384f;--tyz-text-muted:#425d6f;--tyz-gold:#805723;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header::before{
 opacity:.09!important;background-image:radial-gradient(circle,#ae854d .8px,transparent 1px)!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header::after{
 background:linear-gradient(90deg,transparent,#b38a55 23%,#e0bd81 53%,#b38a55 80%,transparent)!important;
 box-shadow:none!important;opacity:.6!important;height:1px!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header :is(.tyz-header__link,.tyz-header__wordmark){
 color:#17384f!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header :is(.tyz-header__link--active,.tyz-header__link[aria-current="page"]){
 color:#855821!important;background:rgba(209,166,96,.13)!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header :is(.tyz-header__language,.tyz-header__theme-toggle,.tyz-ai6-control){
 color:#7a501f!important;
 background:#f7e9d0!important;background-image:none!important;
 border-color:#c7a575!important;box-shadow:inset 0 1px #fffaf1!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header :is(.tyz-header__language,.tyz-header__theme-toggle,.tyz-ai6-control):is(:hover,:focus-visible){
 background:#e9d4b1!important;background-image:none!important;color:#193b50!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header .tyz-header__cta{
 color:#6d471d!important;background:#f2e4cc!important;border-color:#c7a575!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header .tyz-header__cta:is(:hover,:focus-visible){
 background:#18394f!important;color:#fffaf2!important;border-color:#18394f!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header .tyz-header__mobile{
 background:#fffcf5!important;background-image:none!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header :is(.tyz-header__burger-bar,.tyz-header__mobile-link){
 color:#183c53!important;background-color:#183c53!important;
}
html[data-tyz-theme="light"] body:is(.tyz-premium-blog-body,.tyz-premium-article-body):not(.tyz-ai6-disabled) #tyz-global-header.tyz-header .tyz-header__mobile-link{
 background:transparent!important;
}
/* SMART calculator precise palette — prevent old hardcoded dark islands inside a light card. */
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget :is(.tyz-smart-duo>div,.tyz-smart-check__items label,.tyz-smart-quiz__feedback){
 background:#ffffff!important;background-image:none!important;
 border-color:#bdcbd5!important;
 color:#203a50!important;-webkit-text-fill-color:#203a50!important;
}
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget :is(.tyz-smart-duo>div,.tyz-smart-check__items label,.tyz-smart-quiz__feedback) :is(span,p,strong,small){
 color:#203a50!important;-webkit-text-fill-color:#203a50!important;
}
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget .tyz-smart-duo small{
 color:#6f481c!important;-webkit-text-fill-color:#6f481c!important;
}
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget .tyz-smart-output{
 background:#eef4f7!important;background-color:#eef4f7!important;background-image:none!important;
 border-color:#aebecb!important;color:#1e3a51!important;
}
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget .tyz-smart-output :is(p,small,strong){
 color:#1e3a51!important;-webkit-text-fill-color:#1e3a51!important;
}
html[data-tyz-theme="light"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget .tyz-smart-output button{
 color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
 background:#173d59!important;background-color:#173d59!important;background-image:none!important;
 border-color:#173d59!important;
}
html[data-tyz-theme="dark"] body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-pa-prose .tyz-smart-widget .tyz-smart-actions button{
 background:#f5d09b!important;background-color:#f5d09b!important;background-image:none!important;
 color:#142638!important;-webkit-text-fill-color:#142638!important;border-color:#f5d09b!important;
}
/* Minor light editorial labels crossed the 4.5:1 boundary by a few hundredths. */
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-pa-related .tyz-pa-section-header>span,
html[data-tyz-theme="light"] body.tyz-premium-article-body #tyz-premium-article .tyz-bd .tyz-bd-eyebrow{
 color:#6b451a!important;-webkit-text-fill-color:#6b451a!important;
}
/* Theme changes must never animate pale text across a temporary dark button. */
body.postid-96.tyz-premium-article-body #tyz-premium-article .tyz-smart-widget .tyz-smart-actions button{
 transition:none!important;
}
