/* SAS day theme ("صباحي"): same layout, light palette. Active when <html data-mode="day">. Night stays the default. */
html[data-mode="day"]{color-scheme:light;--gz-bg:#f7f4ec;--gz-panel:#ffffff;--gz-panel-2:#f0ece0;--gz-line:#0f3d2e24;--gz-ink:#1b3228;--gz-head:#0f3d2e;--gz-muted:#566a5f;--gz-sage:#3d6a52;--gz-gold:#a97c1d;--gz-gold-soft:#8a6516}
html[data-mode="day"] body,html[data-mode="day"] body:has(.goalz-home){background:var(--gz-bg);color:var(--gz-ink)}
html[data-mode="day"] .goalz-home{--gz-bg:#f7f4ec;--gz-ink:#1b3228;--gz-gold:#a97c1d;background:var(--gz-bg);color:var(--gz-ink)}
/* hero: keep the photo, fade it into the cream page */
html[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 1%,#f7f4eccc 22%,#f7f4ec00 62%),linear-gradient(90deg,#f7f4ec00,#f7f4ec00)!important}
html[data-mode="day"] .gz-hero h1,html[data-mode="day"] .gz-hero .gz-hero-copy h1{color:#fff;text-shadow:0 2px 24px #000a}
html[data-mode="day"] .gz-hero h1 span{color:#f1d584}
html[data-mode="day"] .gz-hero p,html[data-mode="day"] .gz-hero .eyebrow{color:#f2f2e8;text-shadow:0 1px 14px #000b}
html[data-mode="day"] .goalz-home .btn.gz-ghost{background:#ffffff26;color:#fff;border:1px solid #ffffff55}
html[data-mode="day"] .goalz-home .btn:hover{background:#0f3d2e;color:#fff}
/* header */
html[data-mode="day"] .header{background:#f7f4ec;color:var(--gz-ink);border-bottom:1px solid var(--gz-line)}
html[data-mode="day"] body:has(.goalz-home) .header{background:transparent;color:#fff;border:0}
html[data-mode="day"] .nav a{color:var(--gz-ink)}
html[data-mode="day"] body:has(.goalz-home) .nav a{background:#00000038;color:#fff}
html[data-mode="day"] body:has(.goalz-home) .nav a:hover,html[data-mode="day"] body:has(.goalz-home) .nav a.active{background:#0f3d2ecc}
html[data-mode="day"] body:has(.goalz-home) .header-actions .text-link,html[data-mode="day"] body:has(.goalz-home) .menu-btn{color:#fff;border-color:#ffffff66}
html[data-mode="day"] .brand strong,html[data-mode="day"] .brand b{color:var(--gz-head)}
/* sections / cards / lists on the home page */
html[data-mode="day"] .gz-pillar>p,html[data-mode="day"] .gz-portal-list p{color:var(--gz-muted)}
html[data-mode="day"] .gz-pathway,html[data-mode="day"] .gz-portal-list>div,html[data-mode="day"] .gz-preview-top,html[data-mode="day"] .gz-preview-foot,html[data-mode="day"] .gz-coach-list>a,html[data-mode="day"] .gz-faq details{border-color:var(--gz-line)}
html[data-mode="day"] .gz-preview-stats>div{background:#fff;border:1px solid var(--gz-line)}
html[data-mode="day"] .gz-preview-stats small,html[data-mode="day"] .gz-preview-stats em{color:var(--gz-muted)}
html[data-mode="day"] .gz-final:after{background:linear-gradient(0deg,#f7f4ec,#f7f4ec99 50%,#f7f4ec)}
html[data-mode="day"] .gz-final h2,html[data-mode="day"] .gz-final h1{color:var(--gz-head)}
/* footer stays deep green, like a brand band */
html[data-mode="day"] body:has(.goalz-home) .footer,html[data-mode="day"] .footer{background:#0f3d2e;color:#e8efe6}
html[data-mode="day"] .footer h4,html[data-mode="day"] .footer p,html[data-mode="day"] .footer a{color:#e8efe6}
html[data-mode="day"] .footer-bottom{border-color:#ffffff30}

/* readable text on the cream background (the night theme hard-codes light greys) */
html[data-mode="day"] .goalz-home .gz-kicker,html[data-mode="day"] .goalz-home .gz-title>.gz-kicker{color:#8a6516}
html[data-mode="day"] .goalz-home .gz-center>.gz-kicker,html[data-mode="day"] .goalz-home .gz-type-section>.gz-kicker{color:#3d6a52}
html[data-mode="day"] .goalz-home .gz-hero .gz-kicker{color:#f1d584}
html[data-mode="day"] .goalz-home .gz-disclaimer,html[data-mode="day"] .goalz-home .gz-pathway>b,html[data-mode="day"] .goalz-home .gz-pathway>p{color:var(--gz-muted)}
html[data-mode="day"] .goalz-home .gz-pathway>span,html[data-mode="day"] .gz-pathway>span{color:#a97c1d}
html[data-mode="day"] .goalz-home .gz-title h1,html[data-mode="day"] .goalz-home .gz-title h1>span{color:#0f3d2e}
html[data-mode="day"] .goalz-home .gz-title h1>span:nth-child(2){color:#a97c1d}
html[data-mode="day"] .goalz-home .gz-title .gz-outline{color:#0f3d2e55}
html[data-mode="day"] .goalz-home section:not(.gz-hero) p,html[data-mode="day"] .goalz-home section:not(.gz-hero) small,html[data-mode="day"] .goalz-home section:not(.gz-hero) b:not(.gz-pillar-arrow *){color:var(--gz-muted)}
html[data-mode="day"] .goalz-home section:not(.gz-hero) h1,html[data-mode="day"] .goalz-home section:not(.gz-hero) h2,html[data-mode="day"] .goalz-home section:not(.gz-hero) h3,html[data-mode="day"] .goalz-home section:not(.gz-hero) summary{color:var(--gz-head)}
html[data-mode="day"] .goalz-home section:not(.gz-hero) h2 span,html[data-mode="day"] .goalz-home section:not(.gz-hero) h1 span{color:inherit}
html[data-mode="day"] .goalz-home section:not(.gz-hero) .btn.gz-ghost,html[data-mode="day"] .goalz-home section:not(.gz-hero) .btn:not(.gold){background:#0f3d2e0f;color:#0f3d2e;border:1px solid #0f3d2e40}
html[data-mode="day"] .goalz-home section:not(.gz-hero) .btn.gold{color:#162d23}
html[data-mode="day"] .goalz-home .text-link{color:#0f3d2e}
html[data-mode="day"] .goalz-home .gz-hero .text-link{color:#fff}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-foot,html[data-mode="day"] .goalz-home .gz-hero [class*="foot"],html[data-mode="day"] .goalz-home .gz-hero small{color:#0f3d2e;text-shadow:none}
/* header on the home page: everything white over the photo */
html[data-mode="day"] body:has(.goalz-home) .header *{color:#fff}
html[data-mode="day"] body:has(.goalz-home) .header .btn.gold{color:#162d23}
html[data-mode="day"] body:has(.goalz-home) .header .brand strong,html[data-mode="day"] body:has(.goalz-home) .header .brand b,html[data-mode="day"] body:has(.goalz-home) .header .brand small{color:#fff}

html[data-mode="day"] .goalz-home .gz-hero .gz-title h1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span{color:#fff;text-shadow:0 2px 26px #000b}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span:nth-child(2){color:#f1d584}
html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{color:#ffffffb8}

html[data-mode="day"] body:not(:has(.goalz-home)) .page-head{background:radial-gradient(90% 140% at 85% 0%,#e7efe4 0%,#f7f4ec 66%);color:var(--gz-ink);border-bottom:1px solid var(--gz-line)}
html[data-mode="day"] body:not(:has(.goalz-home)) .page-head .container:after{color:#0f3d2e0d}
html[data-mode="day"] body:not(:has(.goalz-home)) .page-head .breadcrumb{color:var(--gz-muted)}
html[data-mode="day"] body:not(:has(.goalz-home)) .page-head .eyebrow{color:#8a6516}
html[data-mode="day"] body:not(:has(.goalz-home)) .page-head h1{color:#0f3d2e}
html[data-mode="day"] body:not(:has(.goalz-home)) .page-head p{color:var(--gz-muted)}
html[data-mode="day"] body:not(:has(.goalz-home)) .sport-card{color:#fff}
html[data-mode="day"] body:not(:has(.goalz-home)) .sport-card h3,html[data-mode="day"] body:not(:has(.goalz-home)) .sport-card small{color:#fff}
/* toggle button */
html[data-mode="day"] .sas-mode{background:#ffffffee;color:#0f3d2e;border-color:#0f3d2e55}

/* صورة الغلاف النهارية — تظهر في النسخة النهارية فقط، والليلية كما هي */
html[data-mode="day"] .gz-hero-photo{content:url("https://lkphjkzvmkvoffszgpmh.supabase.co/storage/v1/object/public/media/site/sas-hero-day-v8.webp")}


/* موبايل: ضغط أزرار الهيدر حتى لا يخرج شيء عن الشاشة */
@media(max-width:520px){
  .header-actions{gap:6px !important}
  .header-actions .lang-btn{min-width:38px !important;height:34px !important;padding:0 8px !important}
  .header-actions .sas-mode{width:34px;height:34px;min-width:34px;font-size:15px}
  .header-actions .btn{padding-inline:12px !important;font-size:12px !important}
  .header-inner{gap:8px !important}
  .header .brand b{font-size:12px !important}
}
@media(max-width:430px){
  .header .brand img,body:has(.goalz-home) .brand img{width:46px !important;height:46px !important}
  .header .brand b,body:has(.goalz-home) .brand b{font-size:11px !important;line-height:1.2}
  .header-actions .btn svg{display:none}
  .header-actions .btn{padding-inline:10px !important}
}
@media(max-width:380px){.header .brand span{display:none !important}}

/* الغلاف النهاري: خلفية سماء فاتحة → نص أخضر داكن بدل الأبيض */
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span{color:#0f3d2e;text-shadow:0 1px 18px #ffffffaa}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span:nth-child(2){color:#a9801f}
html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{color:#0f3d2e99}
html[data-mode="day"] .goalz-home .gz-hero p,html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy p{color:#16382c;text-shadow:0 1px 12px #fffc}
html[data-mode="day"] .goalz-home .gz-hero .gz-kicker{color:#7a5a12}
html[data-mode="day"] .goalz-home .gz-hero .btn.gz-ghost{background:#ffffffb0;color:#0f3d2e;border:1px solid #0f3d2e40}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-foot,html[data-mode="day"] .goalz-home .gz-hero [class*="foot"]{color:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .brand b{color:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .brand small{color:#4a6257}
html[data-mode="day"] body:has(.goalz-home) .header-actions .text-link{color:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .nav a{background:#ffffffb8;color:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .nav a.active,html[data-mode="day"] body:has(.goalz-home) .nav a:hover{background:#0f3d2e;color:#fff}
html[data-mode="day"] .goalz-home .lang-btn,html[data-mode="day"] body:has(.goalz-home) .lang-btn{color:#0f3d2e;border-color:#0f3d2e55;background:#ffffffb8}
html[data-mode="day"] body:has(.goalz-home) .header-actions .text-link,html[data-mode="day"] body:has(.goalz-home) .header-actions .text-link span{color:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .brand small{color:#3d5a4d}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy+*,html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy~*:not(.gz-hero-photo):not(.gz-hero-shade){color:#0f3d2e;text-shadow:0 1px 10px #fffc}
html[data-mode="day"] .goalz-home .gz-hero span:not(.gz-kicker):not(.k1):not(.k2):not(.gz-outline){color:#0f3d2e !important;text-shadow:0 1px 10px #fffd}
html[data-mode="day"] .goalz-home .gz-hero .gz-outline{color:#0f3d2ecc !important}
html[data-mode="day"] .header .brand b,html[data-mode="day"] body:has(.goalz-home) .header .brand b{color:#0f3d2e !important}
html[data-mode="day"] .header .brand small{color:#3d5a4d !important}
/* الإنجليزية + النهاري: نسخة معكوسة (اللاعب يمين والنص يسار) */
html.lang-en[data-mode="day"] .gz-hero-photo{content:url("https://lkphjkzvmkvoffszgpmh.supabase.co/storage/v1/object/public/media/site/sas-hero-day-en6.webp")}
html.lang-en[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 1%,#f7f4eccc 22%,#f7f4ec00 62%),linear-gradient(270deg,#f7f4ec00,#f7f4ec00)!important}

/* ===== تباين أعلى وأيقونات أوضح في النهاري ===== */
html[data-mode="day"]{--gz-muted:#3a5246;--gz-gold:#8f6510;--gz-gold-soft:#7a5510}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) p,
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) small,
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) li{color:#33493e !important}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) .gz-kicker{color:#7a5510 !important;font-weight:800}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) .gz-kicker svg{color:#0f3d2e;stroke:#0f3d2e}
/* الأيقونات: خط أخضر داكن وسُمك أكبر */
html[data-mode="day"] .goalz-home svg{stroke-width:2.1}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) svg{color:#0f3d2e}
/* أزرار الأسهم الدائرية: أخضر داكن بسهم أبيض بدل الذهبي الباهت */
html[data-mode="day"] .gz-pillar-arrow{background:#0f3d2e;color:#fff;box-shadow:0 4px 14px #0f3d2e40}
html[data-mode="day"] .gz-pillar-arrow svg{color:#fff !important}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) .btn.gz-ghost{background:#fff;border:1.5px solid #0f3d2e;color:#0f3d2e;font-weight:800}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) .btn.gz-ghost:hover{background:#0f3d2e;color:#fff}
html[data-mode="day"] .goalz-home .gz-type-links a,html[data-mode="day"] .goalz-home .gz-branch-links a{color:#0f3d2e;font-weight:800}
/* الخاتمة: كتلة خضراء داكنة بنص فاتح (كالليلي) */
html[data-mode="day"] .goalz-home .gz-final{color:#fff}
html[data-mode="day"] .goalz-home .gz-final h2,html[data-mode="day"] .goalz-home .gz-final h2 *:not(span){color:#f4f1e6 !important;text-shadow:none}
html[data-mode="day"] .goalz-home .gz-final h2 span{color:#e3bf62 !important}
html[data-mode="day"] .goalz-home .gz-final p,html[data-mode="day"] .goalz-home .gz-final .gz-kicker{color:#d9e2cc !important}
html[data-mode="day"] .goalz-home .gz-final .btn.gold{background:#d9b657;color:#14301f}
html[data-mode="day"] .goalz-home .gz-final svg{color:inherit}
html[data-mode="day"] .goalz-home .gz-final:after{background:linear-gradient(0deg,#0d2a20,#0d2a20cc 50%,#0d2a20)}
/* بطاقة المسار الرابعة: صورة نهارية بدل الليلية */
html[data-mode="day"] .gz-pillars img[src*="hero"]{content:url("https://lkphjkzvmkvoffszgpmh.supabase.co/storage/v1/object/public/media/site/sas-hero-day-v8.webp");object-position:40% 25%}
html.lang-en[data-mode="day"] .gz-pillars img[src*="hero"]{content:url("https://lkphjkzvmkvoffszgpmh.supabase.co/storage/v1/object/public/media/site/sas-hero-day-en6.webp");object-position:65% 25%}

/* زر الوضع: أيقونة أحادية اللون ثابتة (بدون ألوان) */
.sas-mode{width:38px;height:38px;min-width:38px;border-radius:50%;cursor:pointer;display:inline-grid;place-items:center;padding:0;flex:none;border:1px solid #ffffff40;background:transparent;color:#f1ecdc}
.sas-mode:hover{background:#ffffff1c}
.sas-mode .sas-ic{width:20px;height:20px;display:block;background:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.sas-mode[data-ic="sun"] .sas-ic{-webkit-mask-image:url(assets/icons/sun.svg);mask-image:url(assets/icons/sun.svg)}
.sas-mode[data-ic="moon"] .sas-ic{-webkit-mask-image:url(assets/icons/moon.svg);mask-image:url(assets/icons/moon.svg)}
html[data-mode="day"] .sas-mode{background:#fff;color:#0f3d2e;border:1px solid #0f3d2e66}
html[data-mode="day"] .sas-mode:hover{background:#0f3d2e;color:#fff}
@media(max-width:520px){.header-actions .sas-mode .sas-ic{width:18px;height:18px}}
html[data-mode="day"] .btn.gold,html[data-mode="day"] .goalz-home .btn.gold,html[data-mode="day"] body:has(.goalz-home) .header-actions .btn{background:#d9b657 !important;color:#14301f !important;border:1px solid #b8932f}
html[data-mode="day"] .btn.gold:hover{background:#0f3d2e !important;color:#fff !important}
.sas-mode .sas-ic{width:22px !important;height:22px !important}

/* ===== مراجعة التباين (النهاري فقط) ===== */
html[data-mode="day"] .gz-dashboard-preview{background:#fff;border:1px solid #0f3d2e26;box-shadow:0 12px 40px #0f3d2e18}
html[data-mode="day"] .gz-dashboard-preview *{color:#16382c}
html[data-mode="day"] .gz-dashboard-preview small,html[data-mode="day"] .gz-dashboard-preview p{color:#3a5246 !important}
html[data-mode="day"] .gz-dashboard-preview h3,html[data-mode="day"] .gz-dashboard-preview .gz-preview-foot{color:#0f3d2e !important}
html[data-mode="day"] .goalz-home section span[class=""],html[data-mode="day"] .gz-pillars span{color:#7a5510}
html[data-mode="day"] .chip.active,html[data-mode="day"] .chips .chip.active{background:#0f3d2e !important;color:#fff !important;border-color:#0f3d2e}
html[data-mode="day"] .chip{color:#0f3d2e;border-color:#0f3d2e55;background:#fff}
html[data-mode="day"] .sport-card .sport-category,html[data-mode="day"] .sport-category{color:#e4eedf !important}
html[data-mode="day"] .notice{background:#fff7dd;border:1px solid #c9a23d;color:#5a3f08 !important}
html[data-mode="day"] .coach-top-label{color:#3a5246 !important}
html[data-mode="day"] .coach-role,html[data-mode="day"] .date{color:#6b4a0c !important;font-weight:700}
html[data-mode="day"] .coach-monogram{color:#0f3d2e !important}
html[data-mode="day"] .gz-pillars span,html[data-mode="day"] .gz-pathway-grid span{color:#7a5510 !important}
html[data-mode="day"] .goalz-home section:not(.gz-hero):not(.gz-final) span:not([class]){color:#7a5510 !important}
html[data-mode="day"] .goalz-home .gz-dashboard-preview span:not([class]){color:#16382c !important}
html[data-mode="day"] .header-actions .sas-mode,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode{color:#0f3d2e !important;background:#fff !important;border-color:#0f3d2e66 !important}
html[data-mode="day"] .header-actions .sas-mode:hover{background:#0f3d2e !important;color:#fff !important}
html:not([data-mode="day"]) .header-actions .sas-mode{color:#f1ecdc !important}
html[data-mode="day"] .sas-mode .sas-ic{background:#0f3d2e !important}
html[data-mode="day"] .sas-mode:hover .sas-ic{background:#fff !important}
html:not([data-mode="day"]) .sas-mode .sas-ic{background:#f1ecdc !important}
html[data-mode="day"] body:has(.goalz-home) .header .text-link svg,html[data-mode="day"] body:has(.goalz-home) .header .login-link *{color:#0f3d2e !important;stroke:#0f3d2e}
html[data-mode="day"] body:has(.goalz-home) .header .btn,html[data-mode="day"] body:has(.goalz-home) .header .btn *{color:#14301f !important}
html[data-mode="day"] body:has(.goalz-home) .header .menu-btn{color:#0f3d2e !important;border-color:#0f3d2e66 !important}

/* ===== مراجعة بصرية: قسم المسبح + الكلمات الكبيرة + شفافية الغلاف ===== */
html[data-mode="day"] .gz-hero-photo{opacity:1 !important}
html[data-mode="day"] .goalz-home section.gz-feature h1,html[data-mode="day"] .goalz-home section.gz-feature h2,html[data-mode="day"] .goalz-home section.gz-feature h3{color:#f6f2e4 !important;text-shadow:0 2px 24px #0008}
html[data-mode="day"] .goalz-home section.gz-feature h2 span,html[data-mode="day"] .goalz-home section.gz-feature .gz-kicker{color:#e8c76a !important}
html[data-mode="day"] .goalz-home section.gz-feature p,html[data-mode="day"] .goalz-home section.gz-feature span:not(.gz-kicker){color:#eaf0e2 !important}
html[data-mode="day"] .goalz-home section.gz-feature .btn{background:#d9b657 !important;color:#14301f !important}
html[data-mode="day"] .goalz-home section h1 span:not([class]),html[data-mode="day"] .goalz-home section h2 span:not([class]),html[data-mode="day"] .goalz-home section h3 span:not([class]){color:inherit !important}
html[data-mode="day"] .gz-type-section h2,html[data-mode="day"] .gz-type-section h2 *{color:#0f3d2e !important}
html[data-mode="day"] .gz-type-section h2 span.gz-gold,html[data-mode="day"] .gz-type-section h2:nth-of-type(2){color:#8f6510 !important}
html[data-mode="day"] .goalz-home .gz-type-links a span:not([class]){color:#0f3d2e !important}
html[data-mode="day"] .goalz-home .gz-type-links a:hover span:not([class]){color:#8f6510 !important}
html[data-mode="day"] .goalz-home .gz-type-links a small{color:#5a6f63 !important}
/* أزرار النماذج الأساسية في النهاري (كانت شبه شفافة) */
html[data-mode="day"] main .btn:not(.gold):not(.gz-ghost):not(.outline):not(.danger){background:#0f3d2e !important;color:#fff !important;border:1px solid #0f3d2e !important}
html[data-mode="day"] main .btn:not(.gold):not(.gz-ghost):not(.outline):not(.danger) svg{color:#fff;stroke:#fff}
html[data-mode="day"] main .btn.outline{background:#fff !important;color:#0f3d2e !important;border:1.5px solid #0f3d2e !important}
html[data-mode="day"] input::placeholder,html[data-mode="day"] textarea::placeholder{color:#6b7c72 !important;opacity:1}
html[data-mode="day"] .coach-monogram{color:#9fc3ac !important}
html[data-mode="day"] .coach-top-label,html[data-mode="day"] .coach-top span{color:#cfe0d4 !important}
html[data-mode="day"] footer .brand b,html[data-mode="day"] .footer .brand b,html[data-mode="day"] body:has(.goalz-home) footer .brand b{color:#f2eedd !important}
html[data-mode="day"] footer .brand small,html[data-mode="day"] .footer .brand small{color:#b8c6ac !important}

/* ===== مفتاح النهار/الليل (شكل كبسولة) ===== */
.sas-mode,html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode,html:not([data-mode="day"]) .header-actions .sas-mode{
 direction:ltr !important;position:relative;display:inline-block !important;width:56px !important;min-width:56px !important;height:30px !important;border-radius:999px !important;padding:0 !important;
 border:0 !important;background:#2b2f2d !important;color:#fff !important;box-shadow:inset 0 0 0 1px #ffffff26;transition:background .25s}
html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode{background:#b9bdb7 !important;box-shadow:inset 0 0 0 1px #0f3d2e33}
.sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover{filter:brightness(1.1);background:inherit}
.sas-mode::after{content:"";position:absolute;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:left .25s,right .25s;right:3px;left:auto}
html[data-mode="day"] .sas-mode::after{right:auto;left:3px}
.sas-mode .sas-ic,html[data-mode="day"] .sas-mode .sas-ic,html:not([data-mode="day"]) .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{
 position:absolute;top:7px;left:8px;right:auto;width:16px !important;height:16px !important;background:#fff !important;
 -webkit-mask-image:url(assets/icons/moon.svg) !important;mask-image:url(assets/icons/moon.svg) !important}
html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{left:auto;right:8px;background:#fff !important;-webkit-mask-image:url(assets/icons/sun.svg) !important;mask-image:url(assets/icons/sun.svg) !important}
@media(max-width:520px){.header-actions .sas-mode{width:50px !important;min-width:50px !important;height:28px !important}.sas-mode::after{width:22px;height:22px}.header-actions .sas-mode .sas-ic{top:6px;width:16px !important;height:16px !important}}

/* ألوان المفتاح بهوية SAS */
.sas-mode,html:not([data-mode="day"]) .header-actions .sas-mode{background:#1b2520 !important;box-shadow:inset 0 0 0 1px #c8a24d99 !important}
.sas-mode::after{background:#c8a24d !important}
.sas-mode .sas-ic,html:not([data-mode="day"]) .sas-mode .sas-ic{background:#d7c28d !important}
html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode{background:#e8e1cb !important;box-shadow:inset 0 0 0 1px #0f3d2e80 !important}
html[data-mode="day"] .sas-mode::after{background:#0f3d2e !important}
html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{background:#9a7418 !important}
.sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode:hover{filter:brightness(1.08)}
html[data-mode="day"] .sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode{background:#e8e1cb !important}
html:not([data-mode="day"]) .sas-mode:hover{background:#1b2520 !important}

/* ===== مراجعة الهيدر النهاري: تباعد ووضوح ===== */
.header-actions{gap:14px !important;align-items:center}
.header-actions .sas-mode,html[data-mode="day"] .header-actions .sas-mode{width:62px !important;min-width:62px !important;height:34px !important;margin-inline:4px;flex:none}
.sas-mode::after{top:4px !important;width:26px !important;height:26px !important}
.header-actions .sas-mode .sas-ic,html[data-mode="day"] .header-actions .sas-mode .sas-ic{top:8px !important;width:18px !important;height:18px !important}
html[data-mode="day"] .header-actions .sas-mode .sas-ic{background:#8a6410 !important}
html[data-mode="day"] .header-actions .login-link{background:#ffffffe6 !important;color:#0f3d2e !important;border:1px solid #0f3d2e33;border-radius:999px;padding:8px 16px !important;font-weight:800;text-shadow:none !important;white-space:nowrap}
html[data-mode="day"] .header-actions .login-link:hover{background:#0f3d2e !important;color:#fff !important}
html[data-mode="day"] .header-actions .login-link svg{color:currentColor}
@media(max-width:520px){.header-actions{gap:8px !important}.header-actions .sas-mode,html[data-mode="day"] .header-actions .sas-mode{width:54px !important;min-width:54px !important;height:30px !important;margin-inline:0}.sas-mode::after{top:3px !important;width:24px !important;height:24px !important}.header-actions .sas-mode .sas-ic{top:6px !important;width:17px !important;height:17px !important}}

/* ===== مفتاح النهار/الليل — تصميم Magnific (كبسولة بكرة بيضاء وتسمية) بألوان SAS ===== */
.sas-mode,html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode,html:not([data-mode="day"]) .header-actions .sas-mode,.header-actions .sas-mode{
 width:92px !important;min-width:92px !important;height:38px !important;border-radius:999px !important;margin-inline:6px;
 background:#1b2520 !important;box-shadow:inset 0 2px 5px #0009,0 0 0 2px #c8a24d55 !important;border:0 !important;direction:ltr !important;overflow:hidden}
html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode{
 background:#e3b83f !important;box-shadow:inset 0 2px 4px #8a64104d,0 0 0 2px #0f3d2e33 !important}
.sas-mode:hover,html[data-mode="day"] .sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode:hover{filter:brightness(1.07)}
html:not([data-mode="day"]) .sas-mode:hover{background:#1b2520 !important}
html[data-mode="day"] .sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode:hover{background:#e3b83f !important}
/* التسمية */
.sas-mode::before{content:attr(data-lbl);position:absolute;top:0;bottom:0;display:flex;align-items:center;font:900 12px/1 Cairo,system-ui,sans-serif;letter-spacing:.06em;right:11px;left:auto;color:#8f9a8e;text-transform:uppercase}
html[data-mode="day"] .sas-mode::before{right:auto;left:12px;color:#fff6d6}
/* الكرة البيضاء */
.sas-mode::after,html[data-mode="day"] .sas-mode::after,.header-actions .sas-mode::after{content:"";position:absolute;top:4px !important;width:30px !important;height:30px !important;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#e9e9e4) !important;box-shadow:0 2px 5px #0006;left:4px;right:auto;transition:left .25s}
html[data-mode="day"] .sas-mode::after,html[data-mode="day"] .header-actions .sas-mode::after{left:58px;right:auto}
/* الأيقونة داخل الكرة */
.sas-mode .sas-ic,.header-actions .sas-mode .sas-ic,html:not([data-mode="day"]) .sas-mode .sas-ic,html:not([data-mode="day"]) .header-actions .sas-mode .sas-ic{
 position:absolute !important;z-index:2;top:9px !important;left:9px !important;right:auto !important;width:20px !important;height:20px !important;background:#1b2520 !important;
 -webkit-mask-image:url(assets/icons/moon.svg) !important;mask-image:url(assets/icons/moon.svg) !important}
html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .header-actions .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{
 left:63px !important;right:auto !important;background:#e0a800 !important;-webkit-mask-image:url(assets/icons/sun.svg) !important;mask-image:url(assets/icons/sun.svg) !important}
@media(max-width:700px){
 .sas-mode,.header-actions .sas-mode,html[data-mode="day"] .header-actions .sas-mode{width:62px !important;min-width:62px !important;height:32px !important;margin-inline:2px}
 .sas-mode::before{display:none}
 .sas-mode::after,.header-actions .sas-mode::after{top:3px !important;width:26px !important;height:26px !important;left:3px}
 html[data-mode="day"] .sas-mode::after,html[data-mode="day"] .header-actions .sas-mode::after{left:33px}
 .sas-mode .sas-ic,.header-actions .sas-mode .sas-ic{top:8px !important;left:8px !important;width:16px !important;height:16px !important}
 html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .header-actions .sas-mode .sas-ic{left:38px !important}}

/* ألوان تصميم Magnific الأصلية */
.sas-mode,.header-actions .sas-mode,html:not([data-mode="day"]) .header-actions .sas-mode,html:not([data-mode="day"]) .sas-mode:hover{background:#2e2938 !important;box-shadow:inset 0 3px 6px #0008,0 0 0 2px #ffffff30 !important}
.sas-mode::before{color:#7d7694 !important}
html[data-mode="day"] .sas-mode,html[data-mode="day"] .header-actions .sas-mode,html[data-mode="day"] .sas-mode:hover,html[data-mode="day"] .header-actions .sas-mode:hover,html[data-mode="day"] body:has(.goalz-home) .header-actions .sas-mode{background:#f2c500 !important;box-shadow:inset 0 3px 5px #b8880055,0 0 0 2px #ffffffa0 !important}
html[data-mode="day"] .sas-mode::before{color:#fff1a8 !important}
.sas-mode .sas-ic,.header-actions .sas-mode .sas-ic,html:not([data-mode="day"]) .sas-mode .sas-ic,html:not([data-mode="day"]) .header-actions .sas-mode .sas-ic{background:#2e2938 !important}
html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .header-actions .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{background:#f2c500 !important}
html[data-mode="day"] .icon-btn.menu-btn{background:#fff !important;border-color:#0f3d2e66 !important;color:#0f3d2e !important}
html[data-mode="day"] .icon-btn.menu-btn *,html[data-mode="day"] .icon-btn.menu-btn span,html[data-mode="day"] .icon-btn.menu-btn svg{color:#0f3d2e !important;stroke:#0f3d2e !important;border-color:#0f3d2e !important}
html[data-mode="day"] .icon-btn.menu-btn span:not(:empty){background:transparent}
html[data-mode="day"] .gz-feature .gz-kicker,html[data-mode="day"] .gz-feature .gz-kicker *{color:#f3dc92 !important}
html[data-mode="day"] .gz-final .gz-kicker,html[data-mode="day"] .gz-final .gz-kicker *{color:#f3dc92 !important}
html[data-mode="day"] .sas-mode .sas-ic,html[data-mode="day"] .header-actions .sas-mode .sas-ic,html[data-mode="day"] .sas-mode:hover .sas-ic{background:#d98a00 !important}

/* ===== البوابة: نصوص باهتة ===== */
html[data-mode="day"] .sidebar .brand b,html[data-mode="day"] .sidebar b{color:#f1ecdc !important}
html[data-mode="day"] .sidebar .brand span,html[data-mode="day"] .sidebar-bottom *,html[data-mode="day"] .sidebar .side-label{color:#c4d1b4 !important}
html[data-mode="day"] .sidebar .tiny{color:#b9c7a3 !important}
html[data-mode="day"] .sidebar a.active{color:#f0d57e !important}
html[data-mode="day"] .p-pill{background:#0f3d2e14;color:#0f3d2e}
html[data-mode="day"] .p-pill.p-0{background:#c8a24d33;color:#6b4a08}
html[data-mode="day"] .p-pill.p-1{background:#2f6fc42a;color:#1c4a8c}
html[data-mode="day"] .p-pill.p-2{background:#8a4fc22a;color:#5b2c8c}
html[data-mode="day"] .p-pill.p-3{background:#2f9a5e2a;color:#13613a}
html[data-mode="day"] .p-pill.p-4{background:#c43f3f26;color:#8c1f1f}
html[data-mode="day"] .dash-content p,html[data-mode="day"] .dash-content small,html[data-mode="day"] .dash-content .tiny{color:#4a5f54}
html[data-mode="day"] .sidebar .brand small,html[data-mode="day"] .sidebar .brand span{color:#c4d1b4 !important}

/* ===== مفتاح النهار/الليل — نسخة نهائية مطابقة لتصميم Magnific (مضغوطة) ===== */
.sas-mode{--w:62px;--h:32px;--k:24px;--p:4px}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{width:var(--w) !important;min-width:var(--w) !important;height:var(--h) !important;margin:0 !important;border-radius:999px !important;position:relative;overflow:visible !important;direction:ltr !important;display:inline-block !important;padding:0 !important;border:0 !important;flex:none}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{background:#2d2837 !important;box-shadow:inset 0 2px 5px #0009,0 0 0 2px #ffffff40 !important}
html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{background:#f0c400 !important;box-shadow:inset 0 2px 4px #a8800044,0 0 0 2px #fffffff0,0 1px 4px #0003 !important}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{content:attr(data-lbl);position:absolute;top:0;bottom:0;display:flex;align-items:center;font:900 11px/1 "Arial Black",Arial,Cairo,sans-serif;letter-spacing:.04em;text-transform:uppercase;left:auto;right:12px}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{color:#756f88}
html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{color:#fbeaa0;right:auto;left:11px}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{content:"";position:absolute;top:calc((var(--h) - var(--k)) / 2);width:var(--k) !important;height:var(--k) !important;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff,#ececec) !important;box-shadow:0 2px 4px #0005;transition:left .25s}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{left:var(--p);right:auto}
html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{left:calc(var(--w) - var(--k) - var(--p));right:auto}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{position:absolute !important;z-index:2;top:calc((var(--h) - 18px) / 2) !important;width:18px !important;height:18px !important;-webkit-mask:none !important;mask:none !important;background-color:transparent !important;background-repeat:no-repeat !important;background-position:center !important;background-size:contain !important;right:auto !important}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{left:calc(var(--p) + (var(--k) - 18px) / 2) !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232d2837' d='M20.2 14.6A8.8 8.8 0 0 1 9.4 3.8a.6.6 0 0 0-.8-.7A9.6 9.6 0 1 0 20.9 15.4a.6.6 0 0 0-.7-.8z'/%3E%3C/svg%3E") !important}
html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{left:calc(var(--w) - var(--k) - var(--p) + (var(--k) - 18px) / 2) !important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.6' fill='%23f2cd00'/%3E%3Cg stroke='%23f2cd00' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M12 2.6v2.4M12 19v2.4M2.6 12H5M19 12h2.4M5.3 5.3 7 7M17 17l1.7 1.7M18.7 5.3 17 7M7 17l-1.7 1.7'/%3E%3C/g%3E%3C/svg%3E") !important}
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode:hover,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode:hover{filter:brightness(1.06)}
/* ===== الهيدر: أكثر إحكامًا حتى لا يغطي صورة الغلاف ===== */
@media(min-width:851px){
 .header-actions{gap:8px !important}
 .header-actions .login-link{font-size:0 !important;width:38px !important;height:38px !important;padding:0 !important;display:inline-grid !important;place-items:center;border-radius:50% !important;gap:0 !important}
 .header-actions .login-link svg,.header-actions .login-link i{width:18px !important;height:18px !important;font-size:18px !important}
 html[data-mode="day"] .header-actions .login-link{background:#ffffffee !important;border:1px solid #0f3d2e33}
 .header-actions .lang-btn{width:38px !important;min-width:38px !important;height:38px !important;padding:0 !important;font-size:12px !important}
}
@media(min-width:1400px){.header-actions{transform:translateX(-56px)}}
@media(max-width:700px){.sas-mode{--w:62px;--h:32px;--k:24px;--p:4px}.sas-mode::before{display:none !important}}
@media(min-width:851px){.header-actions .login-link{display:inline-flex !important;align-items:center;justify-content:center;line-height:0 !important}.header-actions .login-link svg{margin:0 !important;flex:none}}
@media(min-width:851px){html:not([data-mode="day"]) .header-actions .login-link{border:1px solid #ffffff2e !important;background:#ffffff0d !important}}

/* ===== تقوية الغلاف النهاري ===== */
html[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 12%,#f7f4ec00 42%),linear-gradient(90deg,#00000000,#00000000) !important}
html.lang-en[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 12%,#f7f4ec00 42%) !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k1{color:#06261b !important;text-shadow:0 2px 22px #ffffffcc,0 0 2px #ffffff80 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k2,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k2{color:#8a5a00 !important;text-shadow:0 2px 22px #ffffffcc,0 0 2px #ffffff80 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{color:#0d4733 !important;-webkit-text-stroke:0 !important;text-shadow:0 2px 22px #ffffffcc,0 0 2px #ffffff80 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-kicker{color:#4d3504 !important;font-weight:800 !important;background:#ffffffd9;padding:5px 14px;border-radius:999px;text-shadow:none !important;box-shadow:0 2px 10px #0f3d2e22;display:inline-flex;width:fit-content;border:1px solid #8a5a0033}
html[data-mode="day"] .goalz-home .gz-hero p,html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy p{color:#06261b !important;font-weight:700;text-shadow:0 1px 14px #ffffffe6,0 0 2px #fff !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-foot,html[data-mode="day"] .goalz-home .gz-hero [class*="foot"],html[data-mode="day"] .goalz-home .gz-hero small{color:#06261b !important;font-weight:800;text-shadow:0 1px 10px #ffffffe6 !important}

/* ===== البوابة: عمق بصري أقوى ===== */
html[data-mode="day"] .dashboard.sas-portal .dashboard-main{background:#ece6d5}
html[data-mode="day"] .dashboard.sas-portal .dash-header{background:#fffdf7;border-bottom:1px solid #0f3d2e22;box-shadow:0 2px 12px #0f3d2e10}
html[data-mode="day"] .dashboard.sas-portal .metric{background:#fff;border:1px solid #0f3d2e1f;border-top:4px solid #c8a24d;border-radius:14px;box-shadow:0 8px 22px #0f3d2e18}
html[data-mode="day"] .dashboard.sas-portal .metric b,html[data-mode="day"] .dashboard.sas-portal .metric strong,html[data-mode="day"] .dashboard.sas-portal .metric .num{color:#0f3d2e}
html[data-mode="day"] .dashboard.sas-portal .dash-content h1{color:#0a3025}
html[data-mode="day"] .dashboard.sas-portal .dash-content .card,html[data-mode="day"] .dashboard.sas-portal .dash-content section,html[data-mode="day"] .dashboard.sas-portal .table-wrap{background:#fff;border:1px solid #0f3d2e1c;border-radius:14px;box-shadow:0 8px 22px #0f3d2e12}
html[data-mode="day"] .dashboard.sas-portal th{background:#f4f0e4;color:#0f3d2e;font-weight:800}
html[data-mode="day"] .dashboard.sas-portal tr:hover td{background:#faf6e8}
html[data-mode="day"] .dashboard.sas-portal .sidebar{background:linear-gradient(180deg,#0e3a2c,#08241b)}

/* ===== الغلاف النهاري بعد تعميق الصورة: نص فاتح على سماء داكنة + تدرّج جانبي خفيف ===== */
html[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 12%,#f7f4ec00 38%),linear-gradient(270deg,#04202acc 0%,#04202a80 30%,#04202a00 60%) !important}
html.lang-en[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 12%,#f7f4ec00 38%),linear-gradient(90deg,#04202acc 0%,#04202a80 30%,#04202a00 60%) !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k1{color:#fff !important;text-shadow:0 2px 20px #000a !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k2,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k2{color:#f6d77d !important;text-shadow:0 2px 20px #000a !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{color:#e8f3e2 !important;text-shadow:0 2px 20px #000a !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy p{color:#fff !important;font-weight:600;text-shadow:0 1px 14px #000c !important}
html[data-mode="day"] body:has(.goalz-home) .header .brand b,html[data-mode="day"] body:has(.goalz-home) .header .brand small,html[data-mode="day"] body:has(.goalz-home) .header .brand span,html[data-mode="day"] body:has(.goalz-home) .header .brand strong{color:#fff !important;text-shadow:0 1px 10px #000b}
html[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 10%,#f7f4ec00 34%),linear-gradient(270deg,#04202aa6 0%,#04202a5c 28%,#04202a00 56%) !important}
html.lang-en[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb8 10%,#f7f4ec00 34%),linear-gradient(90deg,#04202aa6 0%,#04202a5c 28%,#04202a00 56%) !important}

/* ===== لوحة ألوان نهارية موحّدة ===== */
html[data-mode="day"]{--day-ink:#0f3d2e;--day-text:#33493e;--day-muted:#4a5f54;--day-gold:#7a5510;--day-gold-soft:#f6d77d}
html[data-mode="day"] .dash-content .tiny,html[data-mode="day"] .dash-content .muted,html[data-mode="day"] .dash-content .tiny.muted,html[data-mode="day"] main .tiny.muted{color:var(--day-muted) !important}
html[data-mode="day"] .sport-index,html[data-mode="day"] .value-number,html[data-mode="day"] .step-number,html[data-mode="day"] .t-num,html[data-mode="day"] .coach-index{color:var(--day-gold) !important}
html[data-mode="day"] .sidebar a,html[data-mode="day"] .sidebar .side-nav a{color:#d3dec4 !important}
html[data-mode="day"] .sidebar a.active{color:#f6d77d !important}
html[data-mode="day"] .dash-content a:not(.btn):not(.p-btn){color:#0f3d2e}
html[data-mode="day"] .dash-content label,html[data-mode="day"] .dash-content .p-label{color:var(--day-muted)}
html[data-mode="day"] .dash-content h2,html[data-mode="day"] .dash-content h3,html[data-mode="day"] .dash-content h4{color:var(--day-ink)}
html[data-mode="day"] .dash-content input,html[data-mode="day"] .dash-content select,html[data-mode="day"] .dash-content textarea{background:#fff;color:#0f3d2e;border:1px solid #0f3d2e40}
html[data-mode="day"] .dash-content input::placeholder,html[data-mode="day"] .dash-content textarea::placeholder{color:#6d8076}
html[data-mode="day"] .dash-content td{color:var(--day-text)}
html[data-mode="day"] .dash-content .btn:not(.gold):not(.primary){background:#0f3d2e0d;color:#0f3d2e;border:1px solid #0f3d2e40}

/* ===== تخفيف الأبيض الصريح: كريمي دافئ موحّد (البوابة) ===== */
html[data-mode="day"]{--day-paper:#f6f1e3;--day-paper-2:#efe8d4;--day-bg:#e6dfca;--day-line:#0f3d2e29}
html[data-mode="day"] .dashboard.sas-portal .dashboard-main{background:var(--day-bg)}
html[data-mode="day"] .dashboard.sas-portal .dash-header{background:var(--day-paper-2);border-bottom:1px solid var(--day-line);box-shadow:none}
html[data-mode="day"] .dashboard.sas-portal .metric,html[data-mode="day"] .dashboard.sas-portal .dash-content .card,html[data-mode="day"] .dashboard.sas-portal .dash-content section,html[data-mode="day"] .dashboard.sas-portal .table-wrap,html[data-mode="day"] .dashboard.sas-portal .dash-content [class*="panel"],html[data-mode="day"] .dashboard.sas-portal .dash-content [class*="box"]{background:var(--day-paper);border-color:var(--day-line)}
html[data-mode="day"] .dashboard.sas-portal th{background:var(--day-paper-2);color:#0f3d2e}
html[data-mode="day"] .dashboard.sas-portal tr:hover td{background:#efe8d4}
html[data-mode="day"] .dashboard.sas-portal td,html[data-mode="day"] .dashboard.sas-portal th{border-color:var(--day-line)}
html[data-mode="day"] .dash-content input,html[data-mode="day"] .dash-content select,html[data-mode="day"] .dash-content textarea{background:#fbf8ef;border-color:#0f3d2e45}
html[data-mode="day"] .dash-content .btn:not(.gold):not(.primary){background:transparent;border-color:#0f3d2e55}
html[data-mode="day"] .dashboard.sas-portal .p-pill{box-shadow:inset 0 0 0 1px #0f3d2e1a}
/* الموقع العام: أزرار القائمة والغلاف */
html[data-mode="day"] .header .nav a,html[data-mode="day"] .header nav a{background:#f3eedd}
html[data-mode="day"] .header-actions .lang-btn,html[data-mode="day"] .header-actions .login-link{background:#f3eedd !important}
html[data-mode="day"] .dash-content .btn.outline,html[data-mode="day"] .dash-content .btn.small.outline,html[data-mode="day"] .dashboard .btn.outline{background:transparent !important;border:1px solid #0f3d2e66 !important;color:#0f3d2e !important}
html[data-mode="day"] .dashboard .btn.outline:hover{background:#0f3d2e !important;color:#f6f1e3 !important}
/* hero parity: day layout identical to night (no shift on toggle) */
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy>.gz-kicker{margin:-6px 0 -6px !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title>.gz-kicker{margin:-6px 0 12px !important}
/* smaller toggle label (EN fits cleanly) */
html:not([data-mode="day"]) body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before,html[data-mode="day"] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{font-size:8.5px !important;letter-spacing:.02em !important;font-weight:800 !important}
html.lang-en body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{font-size:8px !important}

/* ===== SAS Office (/office) — day theme, same warm palette as portal ===== */
html[data-mode="day"] .ofc{--bg:#f3eedd;--side:#0e3a2c;--panel:#fbf8ef;--panel2:#f5f0e1;--panel3:#ece5d0;--line:#0f3d2e1f;--line2:#0f3d2e33;--ink:#0f3d2e;--soft:#33493e;--muted:#4a5f54;
 --gold:#8a6516;--gold2:#7a5510;--goldbg:#c8a24d2e;--green:#1f7a4f;--greenbg:#1f7a4f1c;--red:#b83a2a;--redbg:#b83a2a17;--orange:#b0661a;--orangebg:#b0661a1c;--blue:#1f5f9a;--bluebg:#1f5f9a17;--violet:#6a4fc2;--violetbg:#6a4fc217;--gray:#5c6b62;--graybg:#0f3d2e0f;
 --shadow:0 14px 34px -22px #0f3d2e66;background:radial-gradient(1200px 500px at 85% -10%,#c8a24d26,transparent 60%),#f3eedd}
html[data-mode="day"] .ofc .o-side{background:linear-gradient(180deg,#0e3a2c,#08241b);--ink:#eef3e6;--soft:#d3dec4;--muted:#a9bba9;--line:#ffffff1c;--gold:#e3c986;--panel3:#ffffff14}
html[data-mode="day"] .ofc .o-brand b,html[data-mode="day"] .ofc .o-nav a:hover,html[data-mode="day"] .ofc .o-nav a.on,html[data-mode="day"] .ofc .o-side-foot a:hover{color:#fff}
html[data-mode="day"] .ofc .o-nav a{color:#d3dec4}
html[data-mode="day"] .ofc .o-nav a.on{color:#f6d77d;background:linear-gradient(90deg,#c8a24d33,#c8a24d12)}
html[data-mode="day"] .ofc .o-kpi strong,html[data-mode="day"] .ofc .o-ring strong,html[data-mode="day"] .ofc .o-donut li b,html[data-mode="day"] .ofc .o-tabs button.on,html[data-mode="day"] .ofc .o-shortcuts button:hover,html[data-mode="day"] .ofc .o-icon:hover{color:#0f3d2e}
html[data-mode="day"] .ofc .o-tabs button.on{background:#fff;box-shadow:inset 0 0 0 1px #8a651655}
html[data-mode="day"] .ofc .o-kpi,html[data-mode="day"] .ofc .o-card,html[data-mode="day"] .ofc .o-panel,html[data-mode="day"] .ofc [class*="o-card"],html[data-mode="day"] .ofc .o-kpis>*{box-shadow:0 10px 26px -20px #0f3d2e66}
html[data-mode="day"] .ofc .o-col-k,html[data-mode="day"] .ofc .o-week-day,html[data-mode="day"] .ofc .o-cal-cell,html[data-mode="day"] .ofc .o-alert-row,html[data-mode="day"] .ofc .o-camp-stats,html[data-mode="day"] .ofc .o-cust-player,html[data-mode="day"] .ofc .o-detail-desc{background:#0f3d2e0a}
html[data-mode="day"] .ofc .o-table tr.o-click:hover td,html[data-mode="day"] .ofc .o-check-row:hover,html[data-mode="day"] .ofc button.o-mini:hover,html[data-mode="day"] .ofc a.o-mini:hover{background:#c8a24d1f}
html[data-mode="day"] .ofc .o-col-empty{color:#4a5f54;border-color:#0f3d2e33}
html[data-mode="day"] .ofc .o-msg.internal{background:#f6edc8}
html[data-mode="day"] .ofc .o-btn.gold,html[data-mode="day"] .ofc .o-btn.primary{background:linear-gradient(180deg,#d8b24e,#b88a22);color:#2b1d00}
html[data-mode="day"] .ofc .o-btn.danger,html[data-mode="day"] .ofc .o-badge,html[data-mode="day"] .ofc .o-bell b{color:#fff}
html[data-mode="day"] .ofc input,html[data-mode="day"] .ofc select,html[data-mode="day"] .ofc textarea{background:#fffdf6;color:#0f3d2e;border-color:#0f3d2e38}
html[data-mode="day"] .ofc input::placeholder,html[data-mode="day"] .ofc textarea::placeholder{color:#6b7c71}
html[data-mode="day"] .ofc .o-top{background:#f3eeddE6;border-bottom-color:#0f3d2e1f}
html[data-mode="day"] .ofc .o-card,html[data-mode="day"] .ofc .o-kpi,html[data-mode="day"] .ofc .o-person-card,html[data-mode="day"] .ofc .o-report{background:linear-gradient(180deg,#fdfaf2,#f8f3e5);border-color:#0f3d2e24;border-top:3px solid #c8a24d99}
html[data-mode="day"] .ofc .o-tcard{background:#fdfaf2}
html[data-mode="day"] .ofc .o-hero{background:radial-gradient(600px 220px at 10% 0%,#c8a24d33,transparent 70%),linear-gradient(135deg,#fdf6dc,#f3ead0)}
html[data-mode="day"] .ofc .o-av{background:linear-gradient(135deg,#d9cfae,#c7bb92);color:#0f3d2e}
html[data-mode="day"] .ofc .o-att{background:#0f3d2e12}
html[data-mode="day"] .ofc .ofc-modal,html[data-mode="day"] .ofc-modal{background:#fbf8ef;color:#0f3d2e}
html[data-mode="day"] .ofc .o-pop,html[data-mode="day"] .o-pop{background:#fbf8ef;color:#0f3d2e;border-color:#0f3d2e33}
html[data-mode="day"] .ofc .o-compose textarea,html[data-mode="day"] .ofc .o-form textarea,html[data-mode="day"] .ofc .o-field input:not([type=checkbox]):not([type=range]),html[data-mode="day"] .ofc .o-field select,html[data-mode="day"] .ofc .o-field textarea,html[data-mode="day"] .ofc .o-checks .o-check{background:#fffdf6;color:#0f3d2e}
html[data-mode="day"] .ofc select option,html[data-mode="day"] .ofc .o-filter select option,html[data-mode="day"] .ofc .o-field select option{background:#fbf8ef;color:#0f3d2e}
html[data-mode="day"] .ofc .o-btn.gold{background:linear-gradient(180deg,#e0bb55,#bd8f25);color:#2b1d00}

/* hero image: slight transparency to melt into the page background (day) */
html[data-mode="day"] .gz-hero-photo{opacity:.93}
/* portal sidebar footer — refined (both modes) */
.dashboard .sidebar-bottom{border-top:1px solid #ffffff1c;padding-top:16px;display:grid;gap:12px}
.dashboard .sidebar-bottom a.btn{background:linear-gradient(180deg,#23925a,#17703f) !important;color:#fff !important;border:1px solid #ffffff26 !important;border-radius:12px;min-height:40px;font-weight:800;box-shadow:0 8px 18px -12px #000a;letter-spacing:0}
.dashboard .sidebar-bottom a.btn small{color:#fff !important;background:none !important;border:0 !important;font-size:13px;font-weight:800;padding:0}
.dashboard .sidebar-bottom .role-select{background:#ffffff14 !important;color:#eef3e6 !important;border:1px solid #ffffff33 !important;border-radius:12px;height:42px;padding:0 12px;font-weight:700;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f6d77d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;background-repeat:no-repeat !important;background-position:left 12px center !important;padding-inline-end:12px}
.dashboard .sidebar-bottom .role-select option{background:#0e3a2c;color:#eef3e6}
.dashboard .sidebar-bottom label.tiny{color:#d3dec4 !important;font-weight:700}
.dashboard .sidebar-bottom .avatar{background:linear-gradient(135deg,#d8b24e,#a9791a) !important;color:#2b1d00 !important;border:2px solid #f6d77d66;font-weight:900}
.dashboard .sidebar-bottom .row .tiny{color:#d3dec4 !important}
.dashboard .sidebar-bottom .row b.tiny{color:#fff !important;font-weight:800}
.dashboard .sidebar{overflow-y:auto !important;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#ffffff33 transparent}
.dashboard .sidebar-bottom{gap:8px;padding-top:12px;margin-top:8px}

/* hero shade: light side tint only (the dark side band made parts look near-black) */
html[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb0 9%,#f7f4ec00 30%),linear-gradient(270deg,#0a2a3a40 0%,#0a2a3a1f 30%,#0a2a3a00 55%) !important}
html.lang-en[data-mode="day"] .gz-hero-shade{background:linear-gradient(0deg,#f7f4ec 0%,#f7f4ecb0 9%,#f7f4ec00 30%),linear-gradient(90deg,#0a2a3a40 0%,#0a2a3a1f 30%,#0a2a3a00 55%) !important}
html[data-mode="day"] .gz-hero-photo{opacity:.96}

/* narrower toggle: label sits beside the knob without crowding */
html body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{font-size:8px !important;right:9px !important}
html[lang=en] body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before,html.lang-en body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{font-size:7.5px !important;right:8px !important}
/* light daytime sky => dark-green hero text with a soft light halo */
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k1{color:#0a2f23 !important;text-shadow:0 2px 18px #ffffffb0,0 0 2px #ffffff70 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k2,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k2{color:#8a5a00 !important;text-shadow:0 2px 18px #ffffffb0,0 0 2px #ffffff70 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{color:#0d4733 !important;text-shadow:0 2px 18px #ffffffb0,0 0 2px #ffffff70 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-hero-copy p{color:#06261b !important;font-weight:700;text-shadow:0 1px 12px #ffffffd0,0 0 2px #ffffff !important}
html[data-mode="day"] body:has(.goalz-home) .header .brand b,html[data-mode="day"] body:has(.goalz-home) .header .brand small,html[data-mode="day"] body:has(.goalz-home) .header .brand span,html[data-mode="day"] body:has(.goalz-home) .header .brand strong{color:#0a2f23 !important;text-shadow:0 1px 8px #ffffffc0 !important}
/* toggle: icon-only (no cramped text label) */
html body .sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{display:none !important;content:none !important}
/* EN day hero: match AR sky tone */

/* mobile/tablet day hero: stronger halo so dark text stays readable over the jersey */
@media(max-width:850px){
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k1,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k1,html[data-mode="day"] .goalz-home .gz-hero .gz-title .gz-outline{text-shadow:0 0 4px #fff,0 0 12px #fffffff0,0 0 26px #ffffffc0 !important}
html[data-mode="day"] .goalz-home .gz-hero .gz-title h1 .k2,html[data-mode="day"] .goalz-home .gz-hero .gz-title h1>span.k2{text-shadow:0 0 4px #fff,0 0 12px #fffffff0,0 0 22px #ffffffa0 !important}
}
/* portal mobile tab bar (day) */
html[data-mode="day"] .mobile-dash-nav{background:#f3eedd !important;border-color:#0f3d2e24 !important;scrollbar-width:none}
html[data-mode="day"] .mobile-dash-nav::-webkit-scrollbar{display:none}
html[data-mode="day"] .mobile-dash-nav a{color:#0f3d2e !important}
html[data-mode="day"] .mobile-dash-nav a.active{background:#0f3d2e !important;color:#f6d77d !important}
/* portal athlete/profile/inset banners: readable on cream */
html[data-mode="day"] .athlete-workspace .eyebrow,html[data-mode="day"] .inset-banner .eyebrow,html[data-mode="day"] .profile-banner .eyebrow{color:#7a5510 !important}
html[data-mode="day"] .athlete-workspace p,html[data-mode="day"] .profile-banner p,html[data-mode="day"] .inset-banner p,html[data-mode="day"] .next-training>span{color:#4a5f54 !important}
html[data-mode="day"] .athlete-workspace b,html[data-mode="day"] .next-training b,html[data-mode="day"] .profile-banner b,html[data-mode="day"] .inset-banner b{color:#0f3d2e !important}
html[data-mode="day"] .dashboard .dash-content output,html[data-mode="day"] .dashboard .dash-content output b{color:#7a5510 !important}

/* hero kicker: breathing room below the brand (both modes, desktop) */
@media(min-width:851px){.goalz-home .gz-hero-grid{padding-top:128px !important}}
/* portal sidebar: "Main website" outline button must stay readable on the dark-green rail */
html[data-mode="day"] .dashboard .sidebar a.btn.outline,html[data-mode="day"] .dashboard .sidebar .btn.small.outline{color:#e8efdc !important;border-color:#ffffff55 !important;background:#ffffff12 !important}
html[data-mode="day"] .dashboard .sidebar a.btn.outline:hover{background:#ffffff24 !important;color:#fff !important}
html[data-mode="day"] .p-skills,html[data-mode="day"] .p-skill-total{color:#33493e !important}
html[data-mode="day"] .p-skill-total b,html[data-mode="day"] .p-skills b{color:#7a5510 !important}

/* v121: office day polish — visible controls, calmer cards */
html[data-mode="day"] .ofc .o-tick span,html[data-mode="day"] .ofc span.o-tick{border-color:#0f3d2e66;background:#fff}
html[data-mode="day"] .ofc .o-tick input:checked+span,html[data-mode="day"] .ofc span.o-tick.on{background:#1f7a4f;border-color:#1f7a4f;color:#fff}
html[data-mode="day"] .ofc .o-card{border-top:1px solid #0f3d2e24;background:#fffdf7;box-shadow:0 10px 28px -20px #0f3d2e66}
html[data-mode="day"] .ofc .o-hero{background:linear-gradient(135deg,#fffdf5,#f6efd8);border:1px solid #c8a24d40;box-shadow:0 10px 28px -20px #0f3d2e66}
html[data-mode="day"] .ofc .o-progress,html[data-mode="day"] .ofc .o-check-sec h4 b,html[data-mode="day"] .ofc .o-kpi-top i{background:#0f3d2e14}
html[data-mode="day"] .ofc .o-funnel-step,html[data-mode="day"] .ofc .o-alert-row,html[data-mode="day"] .ofc .o-col-k,html[data-mode="day"] .ofc .o-week-day,html[data-mode="day"] .ofc .o-cal-cell,html[data-mode="day"] .ofc .o-cust-player,html[data-mode="day"] .ofc .o-camp-stats,html[data-mode="day"] .ofc .o-detail-desc{background:#0f3d2e08}
html[data-mode="day"] .ofc .o-col-empty,html[data-mode="day"] .ofc .o-week-add{border-color:#0f3d2e33;color:#4a6a5a}
html[data-mode="day"] .ofc .o-check-row:hover,html[data-mode="day"] .ofc .o-table tr.o-click:hover td,html[data-mode="day"] .ofc button.o-mini:hover,html[data-mode="day"] .ofc a.o-mini:hover{background:#0f3d2e0d}
html[data-mode="day"] .ofc .o-alert-row:hover{border-color:#0f3d2e55}

/* v123: compact WhatsApp button + tidy preview label (both themes) */
.dashboard .sidebar-bottom a.btn.p-wa{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;height:36px;padding:0 12px;margin:0;border-radius:10px;font-size:12.5px;font-weight:800;line-height:1}
.dashboard .sidebar-bottom a.btn.p-wa svg{width:16px;height:16px;flex:none;color:#fff}
.dashboard .sidebar-bottom a.btn.p-wa span{color:#fff !important;font-size:12.5px;font-weight:800}
.dashboard .sidebar-bottom label.tiny{display:block;font-size:11.5px;margin:2px 0 0}
.dashboard .sidebar-bottom .role-select{height:38px;font-size:13px;margin-top:6px !important}
.dashboard .sidebar-bottom .row{gap:10px}

/* v123: tablet/mobile hero — keep the headline off the player, readable on a cream veil */
@media(min-width:581px) and (max-width:850px){
  .gz-hero-photo{object-position:78% center !important}
  html.lang-en .gz-hero-photo{object-position:22% center !important}
  .gz-title h1{font-size:68px !important}
  .gz-title h1>span:nth-child(2){padding-right:0 !important}
}

/* v123: phone header must never overflow (inner pages had a cut-off menu button) */
@media(max-width:520px){
  .header .brand span{display:none !important}
  .header-inner{gap:8px !important}
  .header-actions{gap:6px !important;flex-shrink:1;min-width:0}
}

/* v124: compact day/night switch + even header spacing */
html body .header-actions .sas-mode.sas-mode{--w:50px;--h:30px;--k:22px;--p:4px;width:50px !important;min-width:50px !important;height:30px !important}

/* v125: legibility floors (phone) */
.sport-index{color:#f2d98a !important;font-weight:800;text-shadow:0 1px 8px #000b}
.coaches-page .badge,main .badge,.coach-top-label{font-size:11px !important}
@media(max-width:700px){main .badge{font-size:11px !important}main small{font-size:max(11px,1em)}}

/* v125: sidebar footer must fit the sidebar width (tablet clipped the WhatsApp button) */
.dashboard .sidebar-bottom{grid-template-columns:minmax(0,1fr)}
.dashboard .sidebar-bottom>*{min-width:0}
.dashboard .sidebar-bottom .role-select{width:100% !important;box-sizing:border-box;max-width:100%}
.dashboard .sidebar-bottom a.btn.p-wa{box-sizing:border-box;white-space:nowrap;padding:0 8px}

/* v125: phone hero — photo on top with a feathered edge, headline below it (readable in day and night) */
@media(max-width:580px){
  .gz-hero{height:960px !important}
  .gz-hero-photo{height:52% !important;object-position:37% 8% !important;-webkit-mask-image:linear-gradient(#000 72%,transparent);mask-image:linear-gradient(#000 72%,transparent)}
  html.lang-en .gz-hero-photo{object-position:63% 8% !important}
  .gz-title{padding-top:260px}
}

/* v125: previous (v8 / en6) day hero restored, with only a gentle lift */
html[data-mode="day"] .gz-hero-photo{filter:brightness(1.04) contrast(1) saturate(1) !important}

/* v126: office day — nav icons follow the link colour (active icon was dark brown on green) */
html[data-mode="day"] .ofc .o-side svg,html[data-mode="day"] .ofc .o-nav a svg,html[data-mode="day"] .ofc .o-side-foot a svg{color:inherit !important;stroke:currentColor !important}
html[data-mode="day"] .ofc .o-nav a.on svg{color:#f6d77d !important;filter:none}

/* v126: academy portal sidebar footer — tidy user block + proper sign-out button */
.dashboard .sidebar-bottom .row:not(.p-link){display:flex;align-items:center;gap:10px;min-width:0}
.dashboard .sidebar-bottom .row:not(.p-link) .avatar{width:38px;height:38px;min-width:38px;font-size:15px;flex:none}
.dashboard .sidebar-bottom .row:not(.p-link)>div:last-child{min-width:0;flex:1;line-height:1.35}
.dashboard .sidebar-bottom .row b.tiny{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:right}
.dashboard .sidebar-bottom .row:not(.p-link) p.tiny{margin:2px 0 0;font-size:11.5px;opacity:.9}
.dashboard .sidebar-bottom .p-link{display:flex !important;align-items:center;justify-content:center;gap:8px;width:100%;height:36px;margin-top:6px !important;padding:0 10px;border:1px solid #ffffff2e;border-radius:10px;background:#ffffff0d;color:#e8efdc !important;font-size:12.5px;font-weight:700;cursor:pointer}
.dashboard .sidebar-bottom .p-link svg{width:16px;height:16px;flex:none}
.dashboard .sidebar-bottom .p-link:hover{background:#ffffff1c;color:#fff !important}

/* v127: sport index numbers readable in day; phone text-size floors on the home page */
html[data-mode="day"] .sport-index,html[data-mode="day"] .sport-card .sport-index{color:#f2d98a !important;text-shadow:0 1px 8px #000b}
@media(max-width:580px){
  .goalz-home .gz-kicker,.gz-pillar>.gz-kicker,.gz-feature>.gz-kicker{font-size:11px !important}
  .gz-title>.gz-kicker{font-size:11px !important}
  .gz-hero-footer span[dir],.gz-hero-footer small{font-size:10px !important}
  .gz-type-links a>small{font-size:9px !important}
  .gz-feature p,.gz-center>p{font-size:12.5px}
}

/* v128: last polish */
html[data-mode="day"] .dashboard .d-badge b,html[data-mode="day"] .d-badge b{color:#7a5510 !important}
html[data-mode="day"] .dash-content .empty,html[data-mode="day"] .dash-content .muted,html[data-mode="day"] .dash-content p.tiny{color:#4f6258}
html[data-mode="day"] .ofc,html .ofc main,.ofc .o-main{overflow-x:clip}
.ofc .o-chart text,.ofc .o-bars span,.ofc svg text{font-size:max(10px,1em)}

/* v129: developer credit in footer */

/* v130: dark image sections keep light/gold type in day; phone text collisions */
html[data-mode="day"] .goalz-home .gz-feature .gz-kicker,html[data-mode="day"] .goalz-home .gz-feature h2 span,html[data-mode="day"] .goalz-home .gz-final h2 span,html[data-mode="day"] .goalz-home .gz-final .gz-kicker{color:#f2d98a !important;text-shadow:0 1px 10px #0009}
html[data-mode="day"] .goalz-home .gz-feature h2,html[data-mode="day"] .goalz-home .gz-final h2{text-shadow:0 2px 16px #0009}
html[data-mode="day"] .gz-pillars .gz-pillar-arrow{color:#f2d98a !important}
html[data-mode="day"] .gz-pillars .gz-pillar-arrow svg{color:#f2d98a !important;stroke:#f2d98a !important}
@media(max-width:580px){
  .gz-hero-footer{flex-direction:column !important;align-items:flex-start !important;gap:8px !important;flex-wrap:nowrap !important}
  .gz-hero-footer>*{max-width:100%}
  .gz-center h2 br{display:none}
  .gz-center h2{font-size:25px !important;line-height:1.75}
  .gz-feature h2{font-size:40px !important;line-height:1.35}
  .gz-feature>.gz-kicker,.gz-feature .gz-kicker{display:block;margin-bottom:6px}
}
/* v131 swim banner colors: beat section:not() rule specificity */
html[data-mode="day"] body .goalz-home section.gz-feature:not(.gz-hero):not(.gz-final):not(.x) .gz-kicker,
html[data-mode="day"] body .goalz-home section.gz-feature:not(.gz-hero):not(.gz-final):not(.x) h2 span,
html[data-mode="day"] body .goalz-home section.gz-feature:not(.gz-hero):not(.gz-final):not(.x) h2 span *{color:#f2d98a !important}
html[data-mode="day"] body .goalz-home section.gz-feature:not(.gz-hero):not(.gz-final):not(.x) h2{color:#f6f2e4 !important}
/* v132 keep heading line breaks (no joined words) */
@media(max-width:580px){.gz-center h2 br{display:inline !important}.gz-center h2 br:after{content:" "}.gz-center h2{font-size:23px !important;line-height:1.7 !important}.gz-center h2 span{display:inline}}
/* v133 Arabic hero title: phone only, no line collision */
@media(max-width:580px){
html:not(.lang-en) .goalz-home .gz-hero .gz-title h1{line-height:1.55 !important;letter-spacing:0 !important;font-size:44px !important}
html:not(.lang-en) .goalz-home .gz-hero .gz-title h1>span{line-height:1.55 !important;padding-block:.06em;overflow:visible}
}

/* v134 Athar credit — refined, shared by site footer / portal / office */
.credit-athar{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 18px;border:1px solid #ffffff22;border-radius:999px;background:#ffffff08;font:500 12px/1.3 Cairo,Montserrat,sans-serif;text-decoration:none;color:#b9c9bf;letter-spacing:0;transition:border-color .2s,background .2s,color .2s;white-space:nowrap}
.credit-athar b{font:800 12.5px/1 Montserrat,sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:#d9b657}
.credit-athar i{display:none}
.credit-athar:hover{border-color:#d9b657aa;background:#d9b65714;color:#e6efe9}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
@media(max-width:580px){.footer-bottom{flex-direction:column;justify-content:center;text-align:center}}
.sidebar-bottom .credit-athar,.o-side-foot .credit-athar{display:flex;width:fit-content;margin:14px auto 2px;padding:6px 14px;font-size:11px}
.sidebar-bottom .credit-athar b,.o-side-foot .credit-athar b{font-size:11.5px}
html[data-mode="day"] .footer .credit-athar{border-color:#ffffff30;color:#c7d6cc}
html[data-mode="day"] .o-side-foot .credit-athar,html[data-mode="day"] .sidebar-bottom .credit-athar{border-color:#ffffff30;color:#c7d6cc}
html body .credit-athar i{display:none !important}
html body .footer-bottom .credit-athar,html body .footer .credit-athar{display:inline-flex !important;flex-direction:row !important;border:1px solid #ffffff22 !important;padding:7px 18px !important}

/* v137 footer social band */
.footer .footer-social{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap;margin:34px 0 8px;padding:20px 24px;border:1px solid rgba(201,162,74,.28);border-radius:14px;background:rgba(255,255,255,.04)}
.footer .footer-social .fs-txt{display:grid;gap:2px;text-align:start}
.footer .footer-social .fs-txt b{font-size:17px;color:#f3e7bd}
.footer .footer-social .fs-txt small{font-size:13px;opacity:.72}
.footer .footer-social .fs-list{display:flex;flex-wrap:wrap;gap:10px}
.footer .footer-social a.fs-item{display:inline-flex;align-items:center;gap:10px;width:auto;height:46px;padding:0 18px 0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#eef2e6;text-decoration:none;font-weight:700;font-size:14px;transition:transform .2s,background .2s,border-color .2s,color .2s}
.footer .footer-social a.fs-item:hover{transform:translateY(-2px);color:#fff;background:var(--b,#c9a24a);border-color:var(--b,#c9a24a)}
.footer .footer-social .fs-ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--b,#c9a24a);color:#fff;flex:none}
.footer .footer-social a.fs-item:hover .fs-ic{background:rgba(255,255,255,.22)}
.footer .footer-social .soc-facebook{--b:#1877f2}.footer .footer-social .soc-instagram{--b:#d6249f}.footer .footer-social .soc-tiktok{--b:#111}.footer .footer-social .soc-youtube{--b:#e62117}.footer .footer-social .soc-x{--b:#222}.footer .footer-social .soc-whatsapp{--b:#25a244}
html[data-mode="day"] .footer .footer-social{background:rgba(16,35,26,.04);border-color:rgba(16,35,26,.14)}
html[data-mode="day"] .footer .footer-social .fs-txt b{color:#10231a}
html[data-mode="day"] .footer .footer-social a.fs-item{color:#10231a;background:#fff;border-color:rgba(16,35,26,.16)}
html[data-mode="day"] .footer .footer-social a.fs-item:hover{color:#fff}
@media(max-width:620px){.footer .footer-social{padding:16px}.footer .footer-social .fs-list{width:100%}.footer .footer-social a.fs-item{flex:1 1 calc(50% - 10px);justify-content:flex-start}}

/* v138 floating social rail — side follows language direction, colours follow the theme */
.soc-rail{--rb:rgba(16,28,22,.82);--rbd:rgba(201,162,74,.32);--ri:#f1e7c4;--rib:rgba(255,255,255,.07);--rt:#10231a;--rtc:#f1e7c4;position:fixed;inset-inline-end:14px;top:50%;transform:translateY(-50%);z-index:60;display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:999px;background:var(--rb);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--rbd);box-shadow:0 10px 30px rgba(0,0,0,.28)}
html[data-mode="day"] .soc-rail{--rb:rgba(255,255,255,.92);--rbd:rgba(16,35,26,.16);--ri:#0f3d2e;--rib:rgba(15,61,46,.07);--rt:#fff;--rtc:#0f3d2e;box-shadow:0 10px 30px rgba(16,35,26,.14)}
.soc-rail a{position:relative;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--ri) !important;background:var(--rib);transition:transform .2s,background .2s,color .2s}
.soc-rail a:hover,.soc-rail a:focus-visible{transform:scale(1.12);background:var(--b,#c9a24a);color:#fff !important;outline:0}
.soc-rail a svg{width:18px;height:18px;fill:currentColor !important;stroke:none !important;flex:none}
.soc-rail a:after{content:attr(aria-label);position:absolute;inset-inline-end:calc(100% + 10px);top:50%;transform:translateY(-50%);opacity:0;pointer-events:none;white-space:nowrap;font-size:12px;font-weight:700;padding:5px 10px;border-radius:8px;background:var(--rt);color:var(--rtc) !important;border:1px solid var(--rbd);transition:opacity .18s}
.soc-rail a:hover:after,.soc-rail a:focus-visible:after{opacity:1}
.soc-rail .soc-facebook{--b:#1877f2}.soc-rail .soc-instagram{--b:linear-gradient(45deg,#f9a03c 0%,#ee4f3f 30%,#d62976 60%,#7f3fbf 100%)}.soc-rail .soc-tiktok{--b:linear-gradient(135deg,#25f4ee 0%,#111 48%,#fe2c55 100%)}.soc-rail .soc-youtube{--b:#e62117}.soc-rail .soc-x{--b:#222}.soc-rail .soc-whatsapp{--b:#25a244}
@media(max-width:1000px){.soc-rail{inset-inline-end:8px;top:auto;bottom:90px;transform:none;flex-direction:row;padding:6px;gap:6px}.soc-rail a{width:34px;height:34px}.soc-rail a:after{display:none}}
@media(prefers-reduced-motion:reduce){.soc-rail a{transition:none}}

/* v142 — occasion strip (header) */
.occ{display:flex;align-items:center;justify-content:center;gap:14px;min-height:34px;padding:4px 44px;position:relative;overflow:hidden;font:700 13px/1.4 Cairo,Montserrat,sans-serif;color:#f3e7bd;background:linear-gradient(90deg,#0f3d2e,#1b5a43 50%,#0f3d2e);border-bottom:1px solid #c8a24d55;text-align:center;z-index:11}
.occ .oc-en{display:none}html.lang-en .occ .oc-ar{display:none}html.lang-en .occ .oc-en{display:inline}
.occ-greet{background:linear-gradient(90deg,#16201b,#1f2d26,#16201b);color:#d9e3d2;border-bottom-color:#ffffff1f}
.occ-national{background:linear-gradient(90deg,#1a0f0f,#2a1414 50%,#1a0f0f);color:#fff}
.occ .oc-flag{position:absolute;inset-inline:0;top:0;height:3px;background:linear-gradient(90deg,#ce1126 0 33.3%,#fff 33.3% 66.6%,#000 66.6%)}
.occ-public{background:linear-gradient(90deg,#3a2a0c,#5b4214 50%,#3a2a0c)}
.occ .oc-ic{width:32px;height:32px;flex:none;display:inline-grid}.occ .oc-ic svg{width:100%;height:100%;fill:#e8c766;stroke:none}
.occ .oc-lan path{fill:none;stroke:#e8c766;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.occ .oc-glow{animation:ocglow 1.8s ease-in-out infinite;stroke:#ffd877!important}
@keyframes ocglow{50%{opacity:.25}}
.occ .oc-star{animation:octw 2.2s ease-in-out infinite}.occ .oc-star.s2{animation-delay:.9s}@keyframes octw{50%{opacity:.2;transform:scale(.6)}}
.occ .oc-conf *{transform-box:fill-box;transform-origin:center;animation:ocfall 2.6s ease-in-out infinite}.occ .oc-conf *:nth-child(2n){animation-delay:.7s;fill:#ff8e72}.occ .oc-conf *:nth-child(3n){animation-delay:1.3s;fill:#7fd6a6}
@keyframes ocfall{0%,100%{transform:translateY(-3px) rotate(0)}50%{transform:translateY(5px) rotate(60deg)}}
.occ .oc-x{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:50%;background:#ffffff1a;color:inherit;font:700 16px/1 sans-serif;cursor:pointer;padding:0}
html[data-mode="day"] .occ{background:linear-gradient(90deg,#f1e4b8,#f8efd0 50%,#f1e4b8);color:#0f3d2e;border-bottom-color:#c8a24d66}
html[data-mode="day"] .occ .oc-ic svg{fill:#9a7416}html[data-mode="day"] .occ .oc-lan path{stroke:#9a7416}
html[data-mode="day"] .occ-greet{background:#ece8dc;color:#2b3a32}html[data-mode="day"] .occ-national{background:#f6e9e6;color:#5a1c14}
@media(max-width:640px){.occ{font-size:11.5px;padding:4px 36px;gap:8px}.occ .oc-ic{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.occ *{animation:none!important}}
/* yearly palettes: the artwork set and colours rotate every year */
.occ-islamic.occ-v1,.occ-public.occ-v1{background:linear-gradient(90deg,#0b3b3f,#14636a 50%,#0b3b3f)}
.occ-islamic.occ-v2,.occ-public.occ-v2{background:linear-gradient(90deg,#33193f,#4e2a61 50%,#33193f)}
.occ-islamic.occ-v3,.occ-public.occ-v3{background:linear-gradient(90deg,#0f2447,#1b3c70 50%,#0f2447)}
.occ-national.occ-v1{background:linear-gradient(90deg,#1b1410,#32231a 50%,#1b1410)}.occ-national.occ-v2{background:linear-gradient(90deg,#161a24,#262d40 50%,#161a24)}.occ-national.occ-v3{background:linear-gradient(90deg,#1a1212,#341a1a 50%,#1a1212)}
.occ-greet.occ-v1{background:linear-gradient(90deg,#17211f,#223330,#17211f)}.occ-greet.occ-v2{background:linear-gradient(90deg,#1c1c22,#2a2a35,#1c1c22)}.occ-greet.occ-v3{background:linear-gradient(90deg,#1d1f19,#2c2f24,#1d1f19)}
html[data-mode="day"] .occ-v1.occ-islamic,html[data-mode="day"] .occ-v1.occ-public{background:linear-gradient(90deg,#d6ece9,#e8f6f3 50%,#d6ece9)}
html[data-mode="day"] .occ-v2.occ-islamic,html[data-mode="day"] .occ-v2.occ-public{background:linear-gradient(90deg,#ecdff2,#f6eefa 50%,#ecdff2)}
html[data-mode="day"] .occ-v3.occ-islamic,html[data-mode="day"] .occ-v3.occ-public{background:linear-gradient(90deg,#dbe5f6,#eaf0fb 50%,#dbe5f6)}
.occ .oc-spin{animation:ocspin 12s linear infinite;transform-box:fill-box;transform-origin:center}@keyframes ocspin{to{transform:rotate(360deg)}}
.occ .oc-ic svg path[fill="none"],.occ .oc-ic svg path[stroke]{stroke-linecap:round}
/* home: header overlays the hero, so the strip takes the top band instead of pushing the header down */
body:has(.goalz-home) .header .occ{position:absolute;inset-inline:0;top:-28px;height:28px;min-height:28px;padding-block:0;font-size:12px}
body:has(.goalz-home) .header .occ .oc-ic{width:24px;height:24px}
@media(max-width:580px){body:has(.goalz-home) .header .occ{top:-25px;height:25px;min-height:25px;font-size:10.5px}}

/* v143 — header scenes: lanterns, sheep, bunting, fireworks … drawn as SVG, hanging into the header */
.header{position:relative}
.occ-deco{position:absolute;inset-inline:0;top:100%;height:0;pointer-events:none;z-index:9}
body:has(.goalz-home) .header .occ-deco{top:0}
.occ-deco .oc-i{position:absolute;top:0}
.occ-deco .oc-hang{width:var(--sz,48px);transform-origin:50% 0;animation:ocswing 4.6s ease-in-out infinite;display:flex;flex-direction:column;align-items:center}
.occ-deco .oc-hang .oc-str{display:block;width:2px;height:var(--len,70px);background:linear-gradient(#e8d9a8,#b79a4a);flex:none}
.occ-deco .oc-hang svg{width:var(--sz,48px);height:auto;display:block;filter:drop-shadow(0 6px 10px #0006)}
@keyframes ocswing{0%,100%{transform:rotate(-3.5deg)}50%{transform:rotate(3.5deg)}}
.occ-deco .oc-flame{animation:ocflame 1.1s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 100%}
@keyframes ocflame{0%,100%{transform:scale(1,1);opacity:.95}50%{transform:scale(.8,1.18);opacity:.7}}
.occ-deco .oc-lights,.occ-deco .oc-bunting,.occ-deco .oc-ribbon{inset-inline:0;width:100%}
.occ-deco .oc-lights svg{width:100%;height:34px;display:block}.occ-deco .oc-bunting svg{width:100%;height:62px;display:block;filter:drop-shadow(0 4px 6px #0005)}
.occ-deco .oc-ribbon svg{width:100%;height:34px;display:block}
.occ-deco .oc-bulb{animation:octw 1.8s ease-in-out infinite;filter:drop-shadow(0 0 5px currentColor)}
.occ-deco .oc-flagtri{transform-box:fill-box;transform-origin:50% 0;animation:ocsway 3s ease-in-out infinite}
@keyframes ocsway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.occ-deco .oc-wave{animation:ocwave 3.4s ease-in-out infinite;transform-box:fill-box}
@keyframes ocwave{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
.occ-deco .oc-moon{width:54px;animation:ocfloat 5s ease-in-out infinite;filter:drop-shadow(0 0 14px #f3d27a99)}.occ-deco .oc-moon svg{width:100%;display:block}
@keyframes ocfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.occ-deco .oc-fw{width:110px;animation:ocfw 2.6s ease-out infinite;opacity:0}.occ-deco .oc-fw svg{width:100%;display:block}
@keyframes ocfw{0%{transform:scale(.2);opacity:0}15%{opacity:1}100%{transform:scale(1.15);opacity:0}}
.occ-deco .oc-balloon{display:flex;gap:2px;align-items:flex-start;animation:ocfloat 4.2s ease-in-out infinite}.occ-deco .oc-balloon svg{width:34px;height:auto;display:block}
.occ-deco .oc-balloon svg:nth-child(2){margin-top:14px}.occ-deco .oc-balloon svg:nth-child(3){margin-top:4px}
.occ-deco .oc-sheepbox{inset-inline-end:3%;top:calc(var(--hh,96px) - 44px);width:132px;animation:ocbob 2.4s ease-in-out infinite}.occ-deco .oc-sheepbox svg{width:100%;display:block;filter:drop-shadow(0 8px 10px #0006)}
@keyframes ocbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
html[dir="rtl"] .occ-deco .oc-sheepbox svg{transform:scaleX(-1)}
body:has(.goalz-home) .header .occ-deco .oc-sheepbox{top:70px}
@media(max-width:900px){.occ-deco .oc-i:not(.oc-bunting):not(.oc-lights):not(.oc-ribbon):not(.oc-sheepbox){display:none}.occ-deco .oc-hang:nth-of-type(-n+2){display:flex}.occ-deco .oc-sheepbox{width:92px;top:60px}}
@media(prefers-reduced-motion:reduce){.occ-deco *{animation:none!important}}
.header>.container,.header .header-inner{position:relative;z-index:2}.occ-deco{z-index:1}

/* sizes must beat the site's global svg rules */
.occ-deco svg{max-width:none!important}
.occ-deco .oc-hang svg{width:var(--sz,48px)!important;height:auto!important}
.occ-deco .oc-moon svg{width:54px!important;height:auto!important}
.occ-deco .oc-balloon svg{width:34px!important;height:auto!important}
.occ-deco .oc-sheepbox{inset-inline-end:17%!important;width:150px!important;top:100px!important}
.occ-deco .oc-sheepbox svg{width:150px!important;height:auto!important;filter:drop-shadow(0 0 16px #f3d27a66)!important}
.occ-deco .oc-bunting svg{width:100%!important;height:38px!important;opacity:.92}
.occ-deco .oc-lights svg{width:100%!important;height:30px!important}
.occ-deco .oc-ribbon svg{width:100%!important;height:30px!important}
.occ-deco .oc-fw svg{width:110px!important;height:110px!important}
.occ-deco .oc-moon{inset-inline-start:auto}

/* v144 ready-made artwork (img) */
.occ-deco .oc-hang img{width:var(--sz,48px)!important;height:auto!important;display:block;filter:drop-shadow(0 8px 12px #0007)}
.occ-deco .oc-sheepbox img{width:150px!important;height:auto!important;display:block;filter:drop-shadow(0 8px 12px #0007)}
html[dir="rtl"] .occ-deco .oc-sheepbox img{transform:scaleX(-1)}

/* v145 review fixes: login tabs fit on phones, social rail never covers forms/inner pages on phones */
@media(max-width:520px){.p-tabs{gap:0;justify-content:space-between}.p-tabs a{padding-inline:5px;font-size:.8rem;white-space:nowrap;flex:1 1 auto;text-align:center}}
@media(max-width:1000px){body:not(:has(.goalz-home)) .soc-rail{display:none}}


/* v147 day/night switch (as approved): dark track + white knob with a dark crescent at night; yellow track + white knob with a sun by day */
html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{--kx:3px;direction:ltr !important;position:relative !important;display:inline-block !important;flex:none;width:58px !important;min-width:58px !important;height:30px !important;margin-inline:2px;border-radius:999px !important;padding:0 !important;border:1px solid #ffffff3d !important;background:#2d2837 !important;box-shadow:none !important;cursor:pointer;transition:background .3s,border-color .3s;filter:none}
html[data-mode="day"] body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{--kx:31px;border:1px solid #c9a000 !important;background:#f0c400 !important}
html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode:hover{filter:brightness(1.12)}
html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::before{display:none !important;content:none !important}
html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{content:"" !important;position:absolute !important;top:2px !important;left:var(--kx) !important;right:auto !important;width:24px !important;height:24px !important;border-radius:50% !important;background:#fff !important;box-shadow:0 1px 3px #0005 !important;transition:left .28s cubic-bezier(.4,.1,.2,1) !important}
html[data-mode="day"] body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{background:#fff !important;box-shadow:0 1px 3px #0004 !important}
html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{position:absolute !important;z-index:2;top:6px !important;left:calc(var(--kx) + 4.5px) !important;right:auto !important;width:15px !important;height:15px !important;margin:0 !important;background:#2d2837 !important;transition:left .28s cubic-bezier(.4,.1,.2,1);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E") center/contain no-repeat !important}
html[data-mode="day"] body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{background:#f0c400 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224.4%22/%3E%3Cg stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22%3E%3Cline x1=%2219.40%22 y1=%2212.00%22 x2=%2222.20%22 y2=%2212.00%22/%3E%3Cline x1=%2217.23%22 y1=%2217.23%22 x2=%2219.21%22 y2=%2219.21%22/%3E%3Cline x1=%2212.00%22 y1=%2219.40%22 x2=%2212.00%22 y2=%2222.20%22/%3E%3Cline x1=%226.77%22 y1=%2217.23%22 x2=%224.79%22 y2=%2219.21%22/%3E%3Cline x1=%224.60%22 y1=%2212.00%22 x2=%221.80%22 y2=%2212.00%22/%3E%3Cline x1=%226.77%22 y1=%226.77%22 x2=%224.79%22 y2=%224.79%22/%3E%3Cline x1=%2212.00%22 y1=%224.60%22 x2=%2212.00%22 y2=%221.80%22/%3E%3Cline x1=%2217.23%22 y1=%226.77%22 x2=%2219.21%22 y2=%224.79%22/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224.4%22/%3E%3Cg stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22%3E%3Cline x1=%2219.40%22 y1=%2212.00%22 x2=%2222.20%22 y2=%2212.00%22/%3E%3Cline x1=%2217.23%22 y1=%2217.23%22 x2=%2219.21%22 y2=%2219.21%22/%3E%3Cline x1=%2212.00%22 y1=%2219.40%22 x2=%2212.00%22 y2=%2222.20%22/%3E%3Cline x1=%226.77%22 y1=%2217.23%22 x2=%224.79%22 y2=%2219.21%22/%3E%3Cline x1=%224.60%22 y1=%2212.00%22 x2=%221.80%22 y2=%2212.00%22/%3E%3Cline x1=%226.77%22 y1=%226.77%22 x2=%224.79%22 y2=%224.79%22/%3E%3Cline x1=%2212.00%22 y1=%224.60%22 x2=%2212.00%22 y2=%221.80%22/%3E%3Cline x1=%2217.23%22 y1=%226.77%22 x2=%2219.21%22 y2=%224.79%22/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat !important}
@media(max-width:520px){html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{width:52px !important;min-width:52px !important;height:28px !important}html[data-mode="day"] body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode{--kx:27px}html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode::after{width:22px !important;height:22px !important}html body :is(.header-actions,.o-top-actions,.dash-header .row) button.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode.sas-mode .sas-ic{top:6px !important;left:calc(var(--kx) + 4px) !important}}

/* v148 real coach photos */
.coach-top .coach-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
.coach-top:has(.coach-photo)::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 55%,#0008);pointer-events:none}
.coach-top:has(.coach-photo) .badge{z-index:2}
.coach-top:has(.coach-photo) .coach-top-label{display:none}
.coach-photo-lg{width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:center 22%;border:4px solid #fff;box-shadow:0 0 0 1px var(--line,#dce4dd);flex:none}
html:not([data-mode="day"]) .coach-photo-lg{border-color:#1b2520;box-shadow:0 0 0 1px #ffffff2a}

/* v155 phones & tablets: the floating social bar overlapped the home hero text — the footer already carries the same links */
/* phones: keep the hero buttons clear of the floating "Ask us" button */
@media (max-width:600px){.gz-hero-copy .gz-actions{margin-bottom:64px}}
