/* OnlineZarada Site Cohesion Final V1
   Loaded after legacy header/page CSS.
   Purpose: one layout + one light/dark contract across the core product.
*/

html[data-oz-mode="light"]{
  --oz-ui-bg:#f3f8fd;
  --oz-ui-bg2:#fbfdff;
  --oz-ui-surface:#ffffff;
  --oz-ui-surface2:#edf5fb;
  --oz-ui-text:#14294a;
  --oz-ui-heading:#173552;
  --oz-ui-muted:#637890;
  --oz-ui-line:rgba(48,94,150,.14);
  --oz-ui-line-strong:rgba(35,125,181,.24);
  --oz-ui-accent:#178bdc;
  --oz-ui-cyan:#1ca8c8;
  --oz-ui-violet:#6759cf;
  --oz-ui-green:#218c69;
  --oz-ui-shadow:0 12px 30px rgba(37,76,124,.07);
  --oz-ui-shadow-lg:0 24px 58px rgba(37,76,124,.11);
  color-scheme:light;
}
html[data-oz-mode="dark"]{
  --oz-ui-bg:#06111d;
  --oz-ui-bg2:#081624;
  --oz-ui-surface:#0b1c2d;
  --oz-ui-surface2:#10243a;
  --oz-ui-text:#eaf4fa;
  --oz-ui-heading:#f5fbff;
  --oz-ui-muted:#91a7b7;
  --oz-ui-line:rgba(83,181,239,.14);
  --oz-ui-line-strong:rgba(72,197,242,.26);
  --oz-ui-accent:#38c9f1;
  --oz-ui-cyan:#49d7ef;
  --oz-ui-violet:#a18af5;
  --oz-ui-green:#55deb8;
  --oz-ui-shadow:0 12px 30px rgba(0,0,0,.20);
  --oz-ui-shadow-lg:0 24px 60px rgba(0,0,0,.30);
  color-scheme:dark;
}

body{
  background:var(--oz-ui-bg)!important;
  color:var(--oz-ui-text)!important;
}

/* Unified product roots */
:is(.ozv2,.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3){
  color:var(--oz-ui-text)!important;
  min-height:100vh;
}
html[data-oz-mode="light"] :is(.ozv2,.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3){
  background:
    radial-gradient(circle at 84% 4%,rgba(40,157,230,.12),transparent 25%),
    radial-gradient(circle at 12% 28%,rgba(111,89,210,.07),transparent 22%),
    linear-gradient(180deg,var(--oz-ui-bg2),var(--oz-ui-bg) 52%,var(--oz-ui-bg2))!important;
}
html[data-oz-mode="dark"] :is(.ozv2,.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3){
  background:
    radial-gradient(circle at 84% 4%,rgba(0,145,255,.09),transparent 25%),
    radial-gradient(circle at 12% 30%,rgba(139,88,255,.055),transparent 22%),
    linear-gradient(180deg,#071522,#06111d 52%,#07131f)!important;
}

/* One content width */
:is(.ozv2-wrap,.ozcourse-shell,.ozc-wrap,.ozshop-wrap,.ozai-wrap,.ozbl-wrap,.ozsv-wrap,.ozct-wrap,.ozwv-wrap,.ozpv3-wrap){
  width:min(1220px,calc(100% - 32px))!important;
  margin-inline:auto!important;
}
body.ozprofile-v3-page .ozv43-page-inner{
  width:min(1480px,calc(100% - 40px))!important;
  max-width:1480px!important;
  margin-inline:auto!important;
}
@media(min-width:1401px){
  body.ozprofile-v3-page .oz-social-layout{
    grid-template-columns:190px minmax(0,1fr) 300px!important;
    gap:20px!important;
  }
}
@media(min-width:1101px) and (max-width:1400px){
  body.ozprofile-v3-page .ozv43-page-inner{
    width:min(1360px,calc(100% - 28px))!important;
  }
  body.ozprofile-v3-page .oz-social-layout{
    grid-template-columns:158px minmax(0,1fr) 238px!important;
    gap:14px!important;
  }
}

/* One vertical rhythm */
:is(.ozv2-hero,.ozcourse-hero,.ozc-hero,.ozshop-hero,.ozai-hero,.ozbl-hero,.ozsv-hero,.ozct-hero,.ozwv-hero){
  padding:clamp(34px,4.2vw,54px) 0 clamp(24px,3vw,36px)!important;
}
:is(.ozv2-pillars,.ozv2-community,.ozv2-pricing,.ozcourse-outcomes,.ozcourse-list,.ozc-feed-shell,.ozshop-products,.ozshop-how,.ozshop-faq,.ozai-filter,.ozai-workflow,.ozbl-content,.ozsv-services,.ozsv-process,.ozsv-demo,.ozct-main,.ozwv-how,.ozwv-history){
  padding-top:clamp(24px,3.2vw,42px)!important;
  padding-bottom:clamp(30px,4vw,50px)!important;
}

/* Heading rhythm */
:is(.ozv2,.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) h1{
  max-width:900px;
  text-wrap:balance;
}
:is(.ozcourse-copy h1,.ozc-hero h1,.ozshop-hero h1,.ozai-hero h1,.ozbl-hero h1,.ozsv-hero h1,.ozct-hero h1,.ozwv-hero h1){
  font-size:clamp(42px,5.3vw,66px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
:is(.ozcourse-section-head h2,.ozai-section-head h2,.ozbl-section-head h2,.ozsv-section-head h2,.ozwv-section-head h2,.ozshop-section-head h2){
  letter-spacing:-.025em!important;
}
html[data-oz-mode="light"] :is(.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(h1,h2,h3){
  color:var(--oz-ui-heading)!important;
  text-shadow:none!important;
}
html[data-oz-mode="dark"] :is(.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(h1,h2,h3){
  color:var(--oz-ui-heading)!important;
}
html[data-oz-mode="light"] :is(.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(p,li,small){
  color:var(--oz-ui-muted);
}
html[data-oz-mode="dark"] :is(.ozcourse,.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(p,li,small){
  color:var(--oz-ui-muted);
}

/* Shared card geometry */
:is(
 .ozcourse-roadmap,.ozcourse-outcome-grid article,.ozcourse-lesson,.ozcourse-next article,.ozcourse-help>.ozcourse-shell,
 .ozc-status-card,.ozc-kpis>div,.ozc-path>.ozc-wrap>a,
 body.ozcommunity-v2-page .ozl-compose,body.ozcommunity-v2-page .ozl-panel,body.ozcommunity-v2-page .ozl-feed-filter,
 body.ozcommunity-v2-page .ozl-feed-card,body.ozcommunity-v2-page .ozl-community-side>.ozl-side-card,
 body.ozcommunity-v2-page .ozl-community-side>.ozl-home-widget,body.ozcommunity-v2-page .ozl-empty,
 .ozshop-hero-card,.ozshop-card,.ozshop-steps article,.ozshop-faq-grid article,
 .ozai-rule,.ozai-card,.ozai-workflow-grid article,.ozai-practice-grid>div,.ozai-practice-grid>aside,.ozai-next>.ozai-wrap,
 .ozbl-stat,.ozbl-search,.ozbl-card,.ozbl-empty,.ozbl-next>.ozbl-wrap,
 .ozsv-brief,.ozsv-card,.ozsv-process-grid article,.ozsv-demo-card,.ozsv-note>.ozsv-wrap,
 .ozct-info,.ozct-form-card,.ozct-side>section,
 .ozwv-balance-card,.ozwv-how-grid article,.ozwv-stat-grid article,.ozwv-tx,.ozwv-empty,.ozwv-next>.ozwv-wrap,.ozwv-login>.ozwv-wrap,
 body.ozprofile-v3-page #oz-member-profile
){
  border-radius:16px!important;
}

/* Light surfaces */
html[data-oz-mode="light"] :is(
 .ozcourse-roadmap,.ozcourse-outcome-grid article,.ozcourse-lesson,.ozcourse-next article,.ozcourse-help>.ozcourse-shell,
 .ozc-status-card,.ozc-kpis>div,.ozc-path>.ozc-wrap>a,
 body.ozcommunity-v2-page .ozl-compose,body.ozcommunity-v2-page .ozl-panel,body.ozcommunity-v2-page .ozl-feed-filter,
 body.ozcommunity-v2-page .ozl-feed-card,body.ozcommunity-v2-page .ozl-community-side>.ozl-side-card,
 body.ozcommunity-v2-page .ozl-community-side>.ozl-home-widget,body.ozcommunity-v2-page .ozl-empty,
 .ozshop-hero-card,.ozshop-card,.ozshop-steps article,.ozshop-faq-grid article,
 .ozai-rule,.ozai-card,.ozai-workflow-grid article,.ozai-practice-grid>div,.ozai-practice-grid>aside,.ozai-next>.ozai-wrap,
 .ozbl-stat,.ozbl-search,.ozbl-card,.ozbl-empty,.ozbl-next>.ozbl-wrap,
 .ozsv-brief,.ozsv-card,.ozsv-process-grid article,.ozsv-demo-card,.ozsv-note>.ozsv-wrap,
 .ozct-info,.ozct-form-card,.ozct-side>section,
 .ozwv-balance-card,.ozwv-how-grid article,.ozwv-stat-grid article,.ozwv-tx,.ozwv-empty,.ozwv-next>.ozwv-wrap,.ozwv-login>.ozwv-wrap
){
  background:linear-gradient(145deg,#fff,#eef5fb)!important;
  border-color:var(--oz-ui-line)!important;
  box-shadow:var(--oz-ui-shadow)!important;
  color:var(--oz-ui-text)!important;
}

/* Dark surfaces */
html[data-oz-mode="dark"] :is(
 .ozcourse-roadmap,.ozcourse-outcome-grid article,.ozcourse-lesson,.ozcourse-next article,.ozcourse-help>.ozcourse-shell,
 .ozc-status-card,.ozc-kpis>div,.ozc-path>.ozc-wrap>a,
 body.ozcommunity-v2-page .ozl-compose,body.ozcommunity-v2-page .ozl-panel,body.ozcommunity-v2-page .ozl-feed-filter,
 body.ozcommunity-v2-page .ozl-feed-card,body.ozcommunity-v2-page .ozl-community-side>.ozl-side-card,
 body.ozcommunity-v2-page .ozl-community-side>.ozl-home-widget,body.ozcommunity-v2-page .ozl-empty,
 .ozshop-hero-card,.ozshop-card,.ozshop-steps article,.ozshop-faq-grid article,
 .ozai-rule,.ozai-card,.ozai-workflow-grid article,.ozai-practice-grid>div,.ozai-practice-grid>aside,.ozai-next>.ozai-wrap,
 .ozbl-stat,.ozbl-search,.ozbl-card,.ozbl-empty,.ozbl-next>.ozbl-wrap,
 .ozsv-brief,.ozsv-card,.ozsv-process-grid article,.ozsv-demo-card,.ozsv-note>.ozsv-wrap,
 .ozct-info,.ozct-form-card,.ozct-side>section,
 .ozwv-balance-card,.ozwv-how-grid article,.ozwv-stat-grid article,.ozwv-tx,.ozwv-empty,.ozwv-next>.ozwv-wrap,.ozwv-login>.ozwv-wrap
){
  background:linear-gradient(145deg,#0d2135,#081725)!important;
  border-color:var(--oz-ui-line)!important;
  box-shadow:var(--oz-ui-shadow)!important;
  color:var(--oz-ui-text)!important;
}

/* Inputs follow mode, never cross themes */
html[data-oz-mode="light"] :is(.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
  background:#fff!important;
  color:#173552!important;
  border-color:rgba(48,94,150,.20)!important;
}
html[data-oz-mode="dark"] :is(.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
  background:#051522!important;
  color:#edf7fb!important;
  border-color:rgba(111,164,194,.25)!important;
}

/* Secondary buttons/chips follow the mode */
html[data-oz-mode="light"] :is(
 .ozcourse-btn.is-secondary,.ozc-secondary,.ozai-secondary,.ozsv-secondary,
 .ozbl-chips a,.ozai-chips button,.ozwv-filters button,
 body.ozcommunity-v2-page .ozl-upload-chip,
 body.ozcommunity-v2-page .ozl-feed-card>footer>a,
 body.ozcommunity-v2-page .ozl-feed-card>footer>button,
 body.ozcommunity-v2-page .ozl-feed-card>footer form button
){
  background:#fff!important;
  color:#365774!important;
  border-color:var(--oz-ui-line)!important;
}
html[data-oz-mode="dark"] :is(
 .ozcourse-btn.is-secondary,.ozc-secondary,.ozai-secondary,.ozsv-secondary,
 .ozbl-chips a,.ozai-chips button,.ozwv-filters button,
 body.ozcommunity-v2-page .ozl-upload-chip,
 body.ozcommunity-v2-page .ozl-feed-card>footer>a,
 body.ozcommunity-v2-page .ozl-feed-card>footer>button,
 body.ozcommunity-v2-page .ozl-feed-card>footer form button
){
  background:#0b2338!important;
  color:#b8ccd8!important;
  border-color:var(--oz-ui-line)!important;
}

/* Common grid gaps */
:is(.ozcourse-outcome-grid,.ozcourse-lesson-grid,.ozshop-grid,.ozshop-steps,.ozshop-faq-grid,.ozai-grid,.ozai-workflow-grid,.ozbl-grid,.ozsv-grid,.ozsv-process-grid,.ozsv-demo-grid,.ozwv-how-grid,.ozwv-stat-grid){
  gap:12px!important;
}

/* Shop product cards should not feel oversized compared with the rest */
.ozshop-card{min-height:560px!important}
.ozshop-products{padding-top:42px!important}
.ozshop-hero-card{box-shadow:var(--oz-ui-shadow-lg)!important}

/* Community feed: one calm surface hierarchy */
body.ozcommunity-v2-page .ozl-community-layout{gap:14px!important}
body.ozcommunity-v2-page .ozl-feed{gap:10px!important}
body.ozcommunity-v2-page .ozl-feed-card{padding:16px!important}
body.ozcommunity-v2-page .ozl-community-side{gap:10px!important}

/* Sticky side content respects header */
:is(body.ozcommunity-v2-page .ozl-community-side,.ozct-side){top:84px!important}

/* One mobile bottom-navigation component */
:is(.ozv2-bottom-nav,.ozfree-bottom-nav,.ozc-bottom-nav,.ozshop-bottom-nav,.ozai-bottom-nav,.ozbl-bottom-nav,.ozsv-bottom-nav,.ozct-bottom-nav,.ozwv-bottom-nav,.ozpv3-bottom-nav){
  border-top:1px solid var(--oz-ui-line)!important;
  background:color-mix(in srgb,var(--oz-ui-surface) 94%,transparent)!important;
  box-shadow:0 -12px 28px color-mix(in srgb,var(--oz-ui-bg) 18%,transparent)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
}
:is(.ozv2-bottom-nav,.ozfree-bottom-nav,.ozc-bottom-nav,.ozshop-bottom-nav,.ozai-bottom-nav,.ozbl-bottom-nav,.ozsv-bottom-nav,.ozct-bottom-nav,.ozwv-bottom-nav,.ozpv3-bottom-nav) a{
  color:var(--oz-ui-muted)!important;
  min-height:50px!important;
}
:is(.ozv2-bottom-nav,.ozfree-bottom-nav,.ozc-bottom-nav,.ozshop-bottom-nav,.ozai-bottom-nav,.ozbl-bottom-nav,.ozsv-bottom-nav,.ozct-bottom-nav,.ozwv-bottom-nav,.ozpv3-bottom-nav) a.is-active{
  color:var(--oz-ui-accent)!important;
}
:is(.ozv2-bottom-nav,.ozfree-bottom-nav,.ozc-bottom-nav,.ozshop-bottom-nav,.ozai-bottom-nav,.ozbl-bottom-nav,.ozsv-bottom-nav,.ozct-bottom-nav,.ozwv-bottom-nav,.ozpv3-bottom-nav) a.is-active:before{
  background:var(--oz-ui-accent)!important;
  box-shadow:0 0 9px color-mix(in srgb,var(--oz-ui-accent) 60%,transparent)!important;
}

/* Header/drawer: coherent surface and compact overlay */
html[data-oz-mode="light"] .oz-menu-drawer{
  background:linear-gradient(180deg,#fbfdff,#eef6fc)!important;
  color:var(--oz-ui-text)!important;
}
html[data-oz-mode="dark"] .oz-menu-drawer{
  background:linear-gradient(180deg,#071c2d,#04131f)!important;
  color:var(--oz-ui-text)!important;
}
.oz-menu-drawer{border-radius:20px!important}

/* Forms never exceed their containers */
:is(.ozc,.ozshop,.ozai,.ozbl,.ozsv,.ozct,.ozwv,.ozpv3) :is(input,textarea,select,button){
  max-width:100%;
  box-sizing:border-box;
}

/* Mobile: one spacing system */
@media(max-width:700px){
  :is(.ozv2-wrap,.ozcourse-shell,.ozc-wrap,.ozshop-wrap,.ozai-wrap,.ozbl-wrap,.ozsv-wrap,.ozct-wrap,.ozwv-wrap,.ozpv3-wrap){
    width:calc(100% - 18px)!important;
  }
  body.ozprofile-v3-page .ozv43-page-inner{width:calc(100% - 16px)!important}
  :is(.ozv2-hero,.ozcourse-hero,.ozc-hero,.ozshop-hero,.ozai-hero,.ozbl-hero,.ozsv-hero,.ozct-hero,.ozwv-hero){
    padding:26px 0 22px!important;
  }
  :is(.ozcourse-copy h1,.ozc-hero h1,.ozshop-hero h1,.ozai-hero h1,.ozbl-hero h1,.ozsv-hero h1,.ozct-hero h1,.ozwv-hero h1){
    font-size:clamp(34px,10.7vw,42px)!important;
    line-height:1!important;
  }
  :is(.ozcourse-outcome-grid,.ozai-grid,.ozbl-grid,.ozsv-process-grid,.ozsv-demo-grid){
    gap:8px!important;
  }
  .ozshop-grid,.ozshop-steps,.ozshop-faq-grid{gap:10px!important}
  .ozshop-card{min-height:0!important}
  body.ozcommunity-v2-page .ozl-community-layout{gap:9px!important}
  body.ozcommunity-v2-page .ozl-feed-card{padding:12px!important}
  .oz-menu-drawer{
    right:10px!important;
    top:10px!important;
    width:min(344px,calc(100vw - 20px))!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:18px!important;
  }
  .admin-bar .oz-menu-drawer{
    top:52px!important;
    max-height:calc(100dvh - 62px)!important;
  }
}

@media(max-width:390px){
  :is(.ozv2-wrap,.ozcourse-shell,.ozc-wrap,.ozshop-wrap,.ozai-wrap,.ozbl-wrap,.ozsv-wrap,.ozct-wrap,.ozwv-wrap,.ozpv3-wrap){
    width:calc(100% - 14px)!important;
  }
  :is(.ozcourse-copy h1,.ozc-hero h1,.ozshop-hero h1,.ozai-hero h1,.ozbl-hero h1,.ozsv-hero h1,.ozct-hero h1,.ozwv-hero h1){
    font-size:34px!important;
  }
}

/* Profile desktop breathing room: avoid double padding from legacy social layers. */
body.ozprofile-v3-page .ozv43-page{
  padding:10px 0 32px!important;
}
body.ozprofile-v3-page .ozv43-page-inner{
  padding:10px 0 40px!important;
}
body.ozprofile-v3-page .ozpv3-toolbar>.ozpv3-wrap{
  min-height:38px!important;
}

/* Compact consent panel so it never dominates the working area. */
#ozl-cookie.ozl-cookie{
  left:50%!important;
  right:auto!important;
  bottom:18px!important;
  transform:translateX(-50%)!important;
  width:min(940px,calc(100vw - 36px))!important;
  max-width:940px!important;
  max-height:260px!important;
  padding:14px 16px!important;
  border-radius:16px!important;
  gap:14px!important;
}
#ozl-cookie.ozl-cookie[hidden]{display:none!important}
html[data-oz-mode="light"] #ozl-cookie.ozl-cookie{
  background:rgba(255,255,255,.98)!important;
  color:#173552!important;
  border:1px solid rgba(48,94,150,.16)!important;
  box-shadow:0 22px 58px rgba(37,76,124,.16)!important;
}
html[data-oz-mode="light"] #ozl-cookie :is(strong,p,summary,label){
  color:#365774!important;
}
html[data-oz-mode="light"] #ozl-cookie strong{color:#173552!important}
html[data-oz-mode="light"] #ozl-cookie [data-ozconsent="reject"]{
  background:#edf5fb!important;
  color:#365774!important;
  border-color:rgba(48,94,150,.16)!important;
}
html[data-oz-mode="light"] #ozl-cookie [data-ozconsent="accept"],
html[data-oz-mode="light"] #ozl-cookie [data-ozconsent="save"]{
  background:linear-gradient(135deg,#258df8,#24cfe7)!important;
  color:#fff!important;
  border-color:#258df8!important;
}
html[data-oz-mode="dark"] #ozl-cookie.ozl-cookie{
  background:rgba(8,20,34,.98)!important;
  color:#eaf4fa!important;
  border:1px solid rgba(83,181,239,.16)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.34)!important;
}
#ozl-cookie .ozl-cookie-actions{
  flex-wrap:nowrap!important;
  gap:8px!important;
}
#ozl-cookie .ozl-cookie-actions button{
  min-height:40px!important;
  padding:8px 12px!important;
}

@media(max-width:700px){
  #ozl-cookie.ozl-cookie{
    left:10px!important;
    right:10px!important;
    bottom:76px!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
    max-height:40dvh!important;
    padding:12px 14px!important;
    border-radius:14px!important;
  }
  #ozl-cookie>div>p{font-size:11px!important;line-height:1.35!important}
  #ozl-cookie .ozl-cookie-actions button{font-size:12px!important}
}

/* P1.1 · Premium Asistent — full Light-mode conversion */
html[data-oz-mode="light"] body.ozpa-page{
  --pa-bg:#f3f8fd;--pa-panel:#fff;--pa-line:rgba(48,94,150,.14);--pa-text:#14294a;
  --pa-muted:#637890;--pa-blue:#1989ef;--pa-mint:#218c69;--pa-purple:#6759cf;
  background:#f3f8fd!important;color:#14294a!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa{
  background:radial-gradient(circle at 80% 4%,rgba(40,157,230,.12),transparent 25%),radial-gradient(circle at 12% 28%,rgba(111,89,210,.07),transparent 22%),linear-gradient(180deg,#fbfdff,#eef5fb 52%,#f8fbff)!important;
  color:#14294a!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-appbar{
  background:rgba(250,253,255,.96)!important;border-bottom-color:rgba(48,94,150,.12)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-appbar a{color:#5d748d!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-appbar nav a.is-active{
  background:#e7f4fb!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-hero h1{
  color:#173552!important;-webkit-text-fill-color:initial!important;text-shadow:none!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-hero h1 span{
  color:#177fdb!important;-webkit-text-fill-color:#177fdb!important;
}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-kicker,.ozpa-sidebar>span,.ozpa-shortcuts>span){color:#167fa7!important}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-hero p,.ozpa-ai-caveat,.ozpa-status p,.ozpa-status small,.ozpa-sidebar button small,.ozpa-context>span,.ozpa-context label,.ozpa-chat-head small,.ozpa-compose small,.ozpa-lock p){
  color:#637890!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-badges span{
  background:#fff!important;color:#536f88!important;border-color:rgba(48,94,150,.13)!important;
}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-status,.ozpa-sidebar,.ozpa-chat,.ozpa-lock>.ozpa-wrap){
  background:linear-gradient(145deg,#fff,#edf5fb)!important;border-color:rgba(48,94,150,.14)!important;
  box-shadow:0 12px 30px rgba(37,76,124,.07)!important;
}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-status>strong,.ozpa-chat-head span,.ozpa-lock h2){
  color:#173552!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-status-progress{
  background:#eaf3f9!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-status-progress span{color:#6d8299!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-status-progress b{color:#294866!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-status-progress i{background:#dce8f2!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-sidebar button{color:#4a6580!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-sidebar button:hover,
html[data-oz-mode="light"] body.ozpa-page .ozpa-sidebar button.is-active{
  background:#e7f4fb!important;color:#147fa7!important;border-color:rgba(31,157,199,.22)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-sidebar button>b{
  background:#dfeff8!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-context,
html[data-oz-mode="light"] body.ozpa-page .ozpa-shortcuts{border-top-color:rgba(48,94,150,.10)!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-context select{
  background:#fff!important;color:#173552!important;border-color:rgba(48,94,150,.18)!important;
}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-context>a,.ozpa-shortcuts>a){
  background:#eef5fa!important;color:#496681!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-context>a small{color:#71869d!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-context>a strong{color:#294866!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-chat-head{
  background:#f7fbfe!important;border-bottom-color:rgba(48,94,150,.10)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-chat-head button{
  background:#fff!important;color:#536f88!important;border-color:rgba(48,94,150,.14)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages article>span{
  background:#dfeff8!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages article.is-user>span{
  background:#ece8ff!important;color:#6759cf!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages article>div{
  background:#fff!important;border-color:rgba(48,94,150,.12)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages article.is-user>div{
  background:#f1efff!important;border-color:rgba(103,89,207,.14)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages strong{color:#173552!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-messages p{color:#58718a!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-engine-tag{
  background:#e9f8f3!important;color:#24775d!important;
}
html[data-oz-mode="light"] body.ozpa-page :is(.ozpa-copy-answer,.ozpa-prompts button,.ozpa-actions button){
  background:#fff!important;color:#58718a!important;border-color:rgba(48,94,150,.13)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-actions{
  background:#f5fafe!important;border-top-color:rgba(48,94,150,.10)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-actions>span{color:#6d8299!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-actions button:first-of-type{
  background:#e9f8f3!important;color:#24775d!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-compose{
  background:#f7fbfe!important;border-top-color:rgba(48,94,150,.10)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-compose textarea{
  background:#fff!important;color:#173552!important;border-color:rgba(48,94,150,.20)!important;
}
html[data-oz-mode="light"] body.ozpa-page .ozpa-lock span{color:#6759cf!important}
html[data-oz-mode="light"] body.ozpa-page .ozpa-lock a{
  background:linear-gradient(135deg,#258df8,#24cfe7)!important;color:#fff!important;
}

/* P1.2 · Premium Action Center — full Light-mode conversion */
html[data-oz-mode="light"] body.ozac-page{
  --ac-bg:#f3f8fd;--ac-panel:#fff;--ac-line:rgba(48,94,150,.14);--ac-text:#14294a;
  --ac-muted:#637890;--ac-blue:#1989ef;--ac-mint:#218c69;--ac-gold:#b88923;
  background:#f3f8fd!important;color:#14294a!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac{
  background:radial-gradient(circle at 80% 4%,rgba(40,157,230,.12),transparent 25%),radial-gradient(circle at 12% 34%,rgba(46,177,135,.06),transparent 22%),linear-gradient(180deg,#fbfdff,#eef5fb 52%,#f8fbff)!important;
  color:#14294a!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-appbar{
  background:rgba(250,253,255,.96)!important;border-bottom-color:rgba(48,94,150,.12)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-appbar a{color:#5d748d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-appbar nav a.is-active{
  background:#e7f4fb!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-hero h1{
  color:#173552!important;-webkit-text-fill-color:initial!important;text-shadow:none!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-hero h1 span{
  color:#177fdb!important;-webkit-text-fill-color:#177fdb!important;
}
html[data-oz-mode="light"] body.ozac-page :is(.ozac-kicker,.ozac-section-head span,.ozac-focus>div>span,.ozac-recommended>span,.ozac-quick>span){color:#167fa7!important}
html[data-oz-mode="light"] body.ozac-page :is(.ozac-hero p,.ozac-focus p,.ozac-focus>small,.ozac-section-head small,.ozac-step p,.ozac-recommended p,.ozac-quick small,.ozac-lock p,.ozac-streak-copy>small,.ozac-streak-best>small){
  color:#637890!important;
}
html[data-oz-mode="light"] body.ozac-page :is(.ozac-day,.ozac-focus,.ozac-plan,.ozac-project,.ozac-recommended,.ozac-quick,.ozac-principle,.ozac-lock>.ozac-wrap,.ozac-streak-card){
  background:linear-gradient(145deg,#fff,#edf5fb)!important;border-color:rgba(48,94,150,.14)!important;
  box-shadow:0 12px 30px rgba(37,76,124,.07)!important;
}
html[data-oz-mode="light"] body.ozac-page :is(.ozac-day>strong,.ozac-focus h2,.ozac-section-head h2,.ozac-recommended h2,.ozac-lock h2,.ozac-streak-copy>strong,.ozac-streak-best>strong){
  color:#173552!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-day>span{color:#6d8299!important}
html[data-oz-mode="light"] body.ozac-page .ozac-day>div{background:#dce8f2!important}
html[data-oz-mode="light"] body.ozac-page .ozac-day small{color:#71869d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-kpi-grid>a{
  background:#fff!important;border-color:rgba(48,94,150,.13)!important;box-shadow:0 8px 22px rgba(37,76,124,.05)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-kpi-grid span,
html[data-oz-mode="light"] body.ozac-page .ozac-kpi-grid small{color:#71869d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-kpi-grid strong{color:#173552!important}
html[data-oz-mode="light"] body.ozac-page .ozac-focus input{
  background:#fff!important;color:#173552!important;border-color:rgba(48,94,150,.20)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-step{
  background:#fff!important;color:#365774!important;border-color:rgba(48,94,150,.12)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-step>b{
  background:#dfeff8!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-step>div>span{color:#71869d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-step h3{color:#173552!important}
html[data-oz-mode="light"] body.ozac-page .ozac-step>a{
  background:#e7f4fb!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-step.is-done{
  background:#edf9f6!important;border-color:rgba(39,151,111,.18)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-step.is-done .ozac-check i{
  border-color:#35b187!important;background:#35b187!important;box-shadow:inset 0 0 0 4px #edf9f6!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-project-grid>div{
  background:#f4f9fd!important;border:1px solid rgba(48,94,150,.08)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-project-grid small{color:#71869d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-project-grid strong{color:#294866!important}
html[data-oz-mode="light"] body.ozac-page .ozac-next{
  background:#edf9f6!important;border-left-color:#35b187!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-next span{color:#24775d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-next strong{color:#315e50!important}
html[data-oz-mode="light"] body.ozac-page .ozac-recommended{
  background:linear-gradient(145deg,#f4f1ff,#f8fbff)!important;border-color:rgba(103,89,207,.16)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-recommended>b{
  background:#eeeaff!important;color:#6759cf!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-quick>a{color:#496681!important}
html[data-oz-mode="light"] body.ozac-page .ozac-quick>a:hover{background:#eef5fa!important}
html[data-oz-mode="light"] body.ozac-page .ozac-quick>a>b{
  background:#dfeff8!important;color:#147fa7!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-quick i{color:#147fa7!important}
html[data-oz-mode="light"] body.ozac-page .ozac-principle>span{color:#24775d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-principle p{color:#637d74!important}
html[data-oz-mode="light"] body.ozac-page .ozac-lock span{color:#6759cf!important}
html[data-oz-mode="light"] body.ozac-page .ozac-lock a{
  background:linear-gradient(135deg,#258df8,#24cfe7)!important;color:#fff!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-streak-card{
  background:linear-gradient(135deg,#fff9eb,#fff 34%,#edf5fb)!important;border-color:rgba(201,149,45,.17)!important;
}
html[data-oz-mode="light"] body.ozac-page :is(.ozac-streak-copy>span,.ozac-streak-best>span){color:#9b7426!important}
html[data-oz-mode="light"] body.ozac-page .ozac-streak-week>div{
  background:#f4f9fd!important;border:1px solid rgba(48,94,150,.08)!important;
}
html[data-oz-mode="light"] body.ozac-page .ozac-streak-week span{color:#71869d!important}
html[data-oz-mode="light"] body.ozac-page .ozac-streak-week i{
  background:#fff!important;border-color:rgba(48,94,150,.20)!important;
}

/* Global footer: visible on every standard OnlineZarada page. */
html[data-oz-mode] body .ozl-footer{
  display:block!important;
  position:relative!important;
  margin:0!important;
  padding:46px 0 18px!important;
  border-top:1px solid var(--oz-ui-line)!important;
  color:var(--oz-ui-text)!important;
}
html[data-oz-mode="light"] body .ozl-footer{
  background:
    radial-gradient(circle at 12% 0%,rgba(36,177,219,.08),transparent 28%),
    radial-gradient(circle at 88% 0%,rgba(103,89,207,.07),transparent 28%),
    linear-gradient(180deg,#f8fbff,#edf5fb)!important;
}
html[data-oz-mode="dark"] body .ozl-footer{
  background:
    radial-gradient(circle at 12% 0%,rgba(36,177,219,.07),transparent 28%),
    radial-gradient(circle at 88% 0%,rgba(103,89,207,.07),transparent 28%),
    linear-gradient(180deg,#081624,#06111d)!important;
}
html body .ozl-footer .ozl-container{
  width:min(1220px,calc(100% - 32px))!important;
  max-width:1220px!important;
  margin-inline:auto!important;
}
html body .ozl-footer-grid-premium{
  display:grid!important;
  grid-template-columns:1.35fr repeat(3,minmax(0,1fr))!important;
  gap:32px!important;
  align-items:start!important;
}
html body .ozl-footer-grid-premium>section{display:grid!important;align-content:start!important;gap:8px!important}
html body .ozl-footer-heading{
  margin:0 0 8px!important;
  font-size:13px!important;
  line-height:1.25!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
html[data-oz-mode="light"] body .ozl-footer-heading{color:#173552!important}
html[data-oz-mode="dark"] body .ozl-footer-heading{color:#f1f8fc!important}
html body .ozl-footer a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  width:max-content!important;
  max-width:100%!important;
  padding:2px 0!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.45!important;
  transition:color .16s ease,transform .16s ease!important;
}
html[data-oz-mode="light"] body .ozl-footer a{color:#526d87!important}
html[data-oz-mode="dark"] body .ozl-footer a{color:#9fb5c5!important}
html body .ozl-footer a:hover{color:var(--oz-ui-accent)!important;transform:translateX(2px)}
html body .ozl-footer-logo{
  font-size:24px!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  color:var(--oz-ui-heading)!important;
}
html body .ozl-footer-logo strong{color:var(--oz-ui-accent)!important}
html body .ozl-footer-logo span{font-size:12px!important;color:var(--oz-ui-muted)!important}
html body .ozl-footer-brand-col p{
  max-width:330px!important;
  margin:10px 0 12px!important;
  color:var(--oz-ui-muted)!important;
  font-size:12px!important;
  line-height:1.65!important;
}
html body .ozl-footer-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  width:max-content!important;
  padding:6px 9px!important;
  border:1px solid var(--oz-ui-line)!important;
  border-radius:999px!important;
  font-size:10px!important;
  color:var(--oz-ui-muted)!important;
  background:color-mix(in srgb,var(--oz-ui-surface) 82%,transparent)!important;
}
html body .ozl-footer-status i{
  width:7px!important;height:7px!important;border-radius:50%!important;background:var(--oz-ui-green)!important;
  box-shadow:0 0 10px color-mix(in srgb,var(--oz-ui-green) 60%,transparent)!important;
}
html body .ozl-footer-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-top:34px!important;
  padding-top:16px!important;
  border-top:1px solid var(--oz-ui-line)!important;
  color:var(--oz-ui-muted)!important;
  font-size:11px!important;
}
html body .ozl-footer-bottom nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:14px!important;
  flex-wrap:wrap!important;
}
html body .ozl-footer-bottom nav a{font-size:11px!important}

@media(max-width:900px){
  html body .ozl-footer-grid-premium{grid-template-columns:1fr 1fr!important;gap:26px 22px!important}
  html body .ozl-footer-brand-col{grid-column:1/-1!important}
}
@media(max-width:700px){
  html body .ozl-footer{
    padding:22px 0 calc(78px + env(safe-area-inset-bottom))!important;
  }
  html body .ozl-footer .ozl-container{
    width:calc(100% - 20px)!important;
  }

  html body .ozl-footer-grid-premium{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px 14px!important;
    align-items:start!important;
  }

  html body .ozl-footer-grid-premium>section{
    min-width:0!important;
    gap:2px!important;
    align-content:start!important;
  }

  html body .ozl-footer-brand-col{
    grid-column:1/-1!important;
    padding-bottom:4px!important;
  }

  html body .ozl-footer-brand-col p{
    max-width:560px!important;
    margin:7px 0 9px!important;
    font-size:11px!important;
    line-height:1.5!important;
  }

  html body .ozl-footer-logo{
    font-size:21px!important;
  }

  html body .ozl-footer-status{
    padding:5px 8px!important;
    font-size:9px!important;
  }

  html body .ozl-footer-heading{
    margin:0 0 5px!important;
    font-size:11px!important;
    line-height:1.2!important;
    letter-spacing:.07em!important;
  }

  html body .ozl-footer-grid-premium>section>a{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    min-height:31px!important;
    height:auto!important;
    margin:0!important;
    padding:5px 2px!important;
    box-sizing:border-box!important;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* Legal/help has more links: use its own compact 2-column grid. */
  html body .ozl-footer-grid-premium>section:nth-child(4){
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:14px!important;
    row-gap:2px!important;
  }

  html body .ozl-footer-grid-premium>section:nth-child(4)>.ozl-footer-heading{
    grid-column:1/-1!important;
  }

  html body .ozl-footer-bottom{
    display:grid!important;
    gap:9px!important;
    margin-top:18px!important;
    padding-top:12px!important;
    font-size:10px!important;
  }

  html body .ozl-footer-bottom nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:2px 12px!important;
  }

  html body .ozl-footer-bottom nav a{
    width:100%!important;
    min-height:30px!important;
    margin:0!important;
    padding:5px 0!important;
    font-size:10px!important;
    line-height:1.25!important;
  }
}

/* 7-dnevni izazov tabla · legacy render Light-mode shield (page 740 only).
   The public page is still being replaced by an older .ozc renderer outside the theme.
   Keep this scoped to page 740 so no other challenge/community surface is affected. */
html[data-oz-mode="light"] body.page-id-740 main.ozc{
  color:#14294a!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .hero{
  border-color:rgba(48,94,150,.14)!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(36,207,231,.13),transparent 28%),
    radial-gradient(circle at 14% 22%,rgba(103,89,207,.07),transparent 26%),
    linear-gradient(135deg,#ffffff,#edf6fc)!important;
  box-shadow:0 22px 55px rgba(37,76,124,.10)!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .kicker{
  color:#167fa7!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc :is(h1,h2,.day h3){
  color:#173552!important;
  -webkit-text-fill-color:initial!important;
  text-shadow:none!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc :is(.lead,.day p){
  color:#637890!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .btn.alt{
  background:#fff!important;
  color:#365774!important;
  border-color:rgba(48,94,150,.18)!important;
  box-shadow:0 7px 20px rgba(37,76,124,.06)!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .stat{
  background:linear-gradient(145deg,#fff,#eef5fb)!important;
  border-color:rgba(48,94,150,.14)!important;
  box-shadow:0 8px 22px rgba(37,76,124,.05)!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .stat b{
  color:#147fa7!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .stat span{
  color:#637890!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .day{
  background:linear-gradient(145deg,#fff,#edf5fb)!important;
  border-color:rgba(48,94,150,.14)!important;
  box-shadow:0 10px 28px rgba(37,76,124,.06)!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .day .num{
  color:#167fa7!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .day .icon{
  background:#e3f4f8!important;
  color:#147fa7!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .day a{
  color:#147fa7!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .note{
  background:linear-gradient(120deg,#f3efff,#edf9fb)!important;
  color:#536f88!important;
  border-color:rgba(103,89,207,.16)!important;
  box-shadow:0 8px 24px rgba(37,76,124,.05)!important;
}
html[data-oz-mode="light"] body.page-id-740 main.ozc .note strong{
  color:#294866!important;
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}
