/* ═══ هویت رنگی زیباتو — یک قاعده برای همه‌جا [۱۴۰۵/۰۸/۰۳ · مالک: «سیاه و طلایی بهتر؛ مردانه سرمه‌ای و طلایی، زنانه بادمجانی و طلایی»]
   پلتفرم و صفحه‌های عمومی و سوپرادمین: سیاه + طلا.  آقایان (سالن، سالن‌دار، آرایشگر، مشتری مرد): سرمه‌ای + طلا.
   بانوان: بادمجانی + طلا.  آبی دیگر رنگ اقدام نیست. آخرین فایل CSS در همهٔ قالب‌های پایه.
   روشن: زمینهٔ مرواریدی، اقدام با رنگ هویت و لبهٔ طلایی.  تیره: سیاه واقعی (با ته‌رنگ هویت) و اقدام طلایی. */
:root{
  --id-ink:#121212;--id-deep:#000;--id-mid:#2A2A2C;--id-soft:rgba(18,18,18,.07);
  --id-gold:#C79A4E;--id-gold-l:#F6E2B3;--id-gold-ink:#8A6A2F;
  --id-gold-g:linear-gradient(120deg,#F6E2B3 0%,#E2BE79 38%,#C79A4E 70%,#9C7433 100%);
  --id-act-g:linear-gradient(125deg,#3A3A3C 0%,#1C1C1E 45%,#000 100%);
  --id-text-g:linear-gradient(100deg,#121212 0%,#3A3A3C 35%,#C79A4E 100%)}
html[data-theme="dark"]{--id-ink:#F5F2EC;--id-deep:#000;--id-mid:#1A1A1B;--id-soft:rgba(226,190,121,.10);--id-gold:#E2BE79;--id-gold-ink:#E6C98F;
  --id-act-g:linear-gradient(125deg,#F6E2B3 0%,#E2BE79 40%,#C79A4E 75%,#9C7433 100%);--id-text-g:linear-gradient(100deg,#FFFFFF 0%,#F6E2B3 45%,#C79A4E 100%)}

/* ── صفحه‌های عمومی (unify) ── */
html:not([data-theme="dark"]){--u-ink:#121212;--u-ink2:#3A3A3E;--u-mut:#6E6A64;--u-act:#121212;--u-act2:#3A3A3C;--u-g-act:var(--id-act-g);--u-g-text:var(--id-text-g)}
html[data-theme="dark"]{--u-act:#E6C98F;--u-act2:#F6E2B3;--u-g-act:var(--id-act-g);--u-g-text:var(--id-text-g)}
html body :is(.zsb-btn:not(.ghost):not(.gold),.zh-btn-primary,.btn-primary,button.zsb-btn.lg,.hv-go){background:var(--id-act-g)!important;box-shadow:0 14px 28px -14px rgba(0,0,0,.55),inset 0 0 0 1px rgba(226,190,121,.6)!important}
html[data-theme="dark"] body :is(.zsb-btn:not(.ghost):not(.gold),.zh-btn-primary,.btn-primary,button.zsb-btn.lg,.hv-go){color:#1A1206!important}

/* ── صفحهٔ اول (z3) ── */
html:not([data-theme="dark"]) body.z3{--z-ink:#121212;--z-ink2:#3A3A3E;--z-mut:#6E6A64;--z-act:#121212;--z-act-g:var(--id-act-g);--z-text-g:var(--id-text-g)}
html body.z3 .z3-mesh i:nth-child(2){background:radial-gradient(circle,rgba(18,18,18,.10),transparent 65%)}
html body.z3 .z3-mesh i:nth-child(3){background:radial-gradient(circle,rgba(199,154,78,.18),transparent 65%)}
html body.z3 .z3-chat-b .b{background:var(--id-act-g)}
html[data-theme="dark"] body.z3 .z3-chat-b .b{color:#1A1206}
/* ساعت‌های آزاد و کارت سالن‌ها بر اساس جنسیت: بانوان بادمجانی، آقایان سرمه‌ای */
html body.z3 .z3-slot>b{background:linear-gradient(125deg,#8E2A6C,#5C1646 60%,#3A0E2C)!important;color:#F6E2B3!important;box-shadow:inset 0 0 0 1px rgba(226,190,121,.55)}
html body.z3 .z3-slot.m>b{background:linear-gradient(125deg,#2A3A7A,#141A3A 60%,#0A0E24)!important;color:#F6E2B3!important}
html body.z3 .z3-sc-img{background-color:#5C1646}
html body.z3 .z3-sc.m .z3-sc-img{background-color:#141A3A}
html body.z3 .z3-final-in{background:radial-gradient(500px 260px at 90% 0,rgba(226,190,121,.40),transparent 70%),linear-gradient(140deg,#1C1C1E,#000)!important}
/* ایجنت‌ها */
html:not([data-theme="dark"]) .ag{--ag-act:#121212;--ag-act2:#3A3A3C;--ag-soft:rgba(199,154,78,.10)}
html .ag-hub circle{fill:url(#agHub)}
html:not([data-theme="dark"]) .ag-node.on circle{fill:#121212;stroke:#E2BE79}
html .pk{fill:#C79A4E;filter:drop-shadow(0 0 6px #E2BE79)}

/* ── داشبوردها: سه هویت ── */
/* سوپرادمین: سیاه و طلا */
html body.zb-dashboard.zd-admin{--zd-navy:#000;--zd-navy2:#1C1C1E;--zd-act:#121212;--zd-act2:#3A3A3C;--zd-glow:rgba(226,190,121,.2);
  --btn-grad:linear-gradient(125deg,#3A3A3C,#1C1C1E 45%,#000);--btn-glow:0 14px 28px -14px rgba(0,0,0,.55);--zd-bg:#F7F4EF}
/* آقایان: سرمه‌ای و طلا */
html body.zb-dashboard.zd-male{--zd-navy:#141A3A;--zd-navy2:#0B1230;--zd-act:#1E2A5E;--zd-act2:#34468E;--zd-glow:rgba(226,190,121,.2);
  --btn-grad:linear-gradient(125deg,#34468E,#1E2A5E 50%,#0B1230);--btn-glow:0 14px 28px -14px rgba(20,26,58,.6);--zd-bg:#F5F6FA}
/* بانوان: بادمجانی و طلا */
html body.zb-dashboard.zd-female{--zd-navy:#3A0E2C;--zd-navy2:#5C1646;--zd-act:#6E1B53;--zd-act2:#9A3478;--zd-glow:rgba(226,190,121,.2);
  --btn-grad:linear-gradient(125deg,#9A3478,#6E1B53 50%,#3A0E2C);--btn-glow:0 14px 28px -14px rgba(92,22,70,.6);--zd-bg:#FAF6F8}
html body.zb-dashboard :is(.btn-primary,.zpa-cta.pri){background:var(--btn-grad)!important;color:#fff!important;box-shadow:var(--btn-glow),inset 0 0 0 1px rgba(226,190,121,.55)!important}
html body.zb-dashboard{--zm-num:linear-gradient(100deg,var(--zd-act) 0%,var(--zd-act2) 55%,#C79A4E 100%)}
/* تیره: سیاه با ته‌رنگ هویت، اقدام طلایی */
html[data-theme="dark"] body.zb-dashboard.zd-admin{--zd-bg:#000;--zl-surface:#0B0B0C;--zd-card:#111112;--zd-act:#E2BE79;--zd-act2:#F6E2B3}
html[data-theme="dark"] body.zb-dashboard.zd-male{--zd-bg:#03050F;--zl-surface:#070B1C;--zd-card:#0B1026;--zd-act:#E2BE79;--zd-act2:#F6E2B3;
  --zm-mesh:radial-gradient(42vw 34vw at 88% -6%,rgba(52,70,142,.28),transparent 70%),radial-gradient(36vw 30vw at 6% 40%,rgba(226,190,121,.10),transparent 70%)}
html[data-theme="dark"] body.zb-dashboard.zd-female{--zd-bg:#070206;--zl-surface:#12060F;--zd-card:#190A15;--zd-act:#E2BE79;--zd-act2:#F6E2B3;
  --zm-mesh:radial-gradient(42vw 34vw at 88% -6%,rgba(154,52,120,.28),transparent 70%),radial-gradient(36vw 30vw at 6% 40%,rgba(226,190,121,.10),transparent 70%)}
html[data-theme="dark"] body.zb-dashboard :is(.btn-primary,.zpa-cta.pri){background:var(--id-act-g)!important;color:#1A1206!important}
html[data-theme="dark"] body.zb-dashboard{--zm-num:linear-gradient(100deg,#fff 0%,#F6E2B3 55%,#C79A4E 100%)}
html[data-theme="dark"] body.zb-dashboard.zd-male :is(#sidebar,nav.navbar.fixed-top,aside.w-64){background:linear-gradient(180deg,rgba(8,12,30,.95),rgba(3,5,15,.97))!important}
html[data-theme="dark"] body.zb-dashboard.zd-female :is(#sidebar,nav.navbar.fixed-top,aside.w-64){background:linear-gradient(180deg,rgba(22,8,18,.95),rgba(7,2,6,.97))!important}
html[data-theme="dark"] body.zb-dashboard.zd-male :is(.zbd-card,.zdo-card,.dx-card,.glass-card):not(.zcu-ticket):not(.zcu-wallet){background:linear-gradient(165deg,rgba(14,20,46,.88),rgba(5,8,22,.94))!important}
html[data-theme="dark"] body.zb-dashboard.zd-female :is(.zbd-card,.zdo-card,.dx-card,.glass-card):not(.zcu-ticket):not(.zcu-wallet){background:linear-gradient(165deg,rgba(30,11,25,.88),rgba(10,3,8,.94))!important}
html[data-theme="dark"] body.zd-male .zcu-ticket{background:radial-gradient(420px 220px at 100% 0,rgba(226,190,121,.22),transparent 60%),linear-gradient(160deg,#141B3E,#050816)!important}
html[data-theme="dark"] body.zd-female .zcu-ticket{background:radial-gradient(420px 220px at 100% 0,rgba(226,190,121,.22),transparent 60%),linear-gradient(160deg,#2A0D22,#0A0308)!important}
/* ناوبری موبایل */
@media (max-width:1023px){html body .zb-mnav .zb-mnav-fab{background:var(--btn-grad,var(--id-act-g))!important}}
html[data-theme="dark"] body.zb-dashboard .zbd-wi{background:color-mix(in srgb,var(--zd-card) 90%,var(--zd-act) 6%)!important;border:1px solid var(--zd-line)!important}
html[data-theme="dark"] body.zb-dashboard.zd-admin .zbd-wi{background:#121213!important}
html body.z3 .z3-f select,html body .hv-f select{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme="dark"] body .zb-mnav{background:rgba(10,10,11,.88)!important;box-shadow:0 14px 34px -14px #000,inset 0 0 0 1px rgba(246,226,179,.2)!important}
html[data-theme="dark"] body .zb-mnav :is(a.active,a[aria-current="page"],.is-active){color:#F6E2B3!important;background:rgba(226,190,121,.12)!important}
/* [۱۴۰۵/۰۸/۰۳] منوی کناری موبایل بالای نوار پایین؛ آخرین پیوندها پنهان نمی‌مانند */
@media(max-width:1023px){#sidebar{z-index:90!important;overflow-y:auto;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
@media(max-width:1023px){#sidebar-overlay{z-index:80!important}}

/* ══ پالت برندبوک زیباتو v6 برای همهٔ صفحه‌ها [۱۴۰۵/۰۸/۰۴ · مالک: «تم روشن خیلی سفید است»، «به‌جای سیاه سرمه‌ای تیره، گرادیانت»،
   «از این برندبوک استفاده کن» (brand/zibato-brandbook)] ══
   روشن: زمینهٔ عاجی #F7F1EA، سطح #FBF8F3، خط #E9DFC9، متن سرمه‌ای #141A3A، طلایی فقط برای اقدام و تأکید.
   تیره: سرمه‌ای برندبوک #0A0F2A ← #141A3A ← #1E2A5E به‌صورت گرادیان؛ سیاه یکدست کنار رفت. */
html:not([data-theme="dark"]){--bg:#F7F1EA;--bg-2:#F1E8DA;--bg-3:#EADFCB;--surface:#FBF8F3;--surface-2:#F4EDE2;--border:#E9DFC9;--border-strong:#DCCBA8;
  --text:#141A3A;--text-2:#3C4264;--muted:#6B7194}
html:not([data-theme="dark"]) body{background:#F7F1EA}
html:not([data-theme="dark"]) body.z3{--z-bg:#F7F1EA;--z-bg2:#EFE5D5;--z-surface:#FBF8F3;--z-glass:rgba(251,248,243,.82);--z-line:#E9DFC9;
  --z-ink:#141A3A;--z-ink2:#3C4264;--z-mut:#6B7194;background:#F7F1EA}
html[data-theme="dark"]{--bg:#0A0F2A;--bg-2:#0E1433;--bg-3:#141A3A;--surface:#141B3F;--surface-2:#1A2350;--border:rgba(218,187,133,.14);--border-strong:rgba(218,187,133,.28)}
html[data-theme="dark"] body{background:linear-gradient(180deg,#141A3A 0%,#0A0F2A 60%) fixed}
html[data-theme="dark"] body.z3{--z-bg:#0A0F2A;--z-bg2:#0E1433;--z-surface:#141B3F;--z-glass:rgba(20,27,63,.78);--z-line:rgba(218,187,133,.14);
  --z-ink:#F7F1EA;--z-ink2:#D7DAEE;--z-mut:#A7ADCF;background:linear-gradient(180deg,#141A3A 0%,#0A0F2A 50%) fixed}
html body.z3 .z3-final-in{background:radial-gradient(500px 260px at 90% 0,rgba(226,190,121,.35),transparent 70%),linear-gradient(140deg,#1E2A5E,#0A0F2A)!important}
html[data-theme="dark"] .zau{--surface:#141B3F;--surface-2:#1A2350}
html[data-theme="dark"] .z3-hero{background:radial-gradient(60% 50% at 85% 8%,rgba(199,154,78,.16),transparent 65%),linear-gradient(180deg,#1E2A5E 0%,#141A3A 45%,#0A0F2A 100%)!important}
html[data-theme="dark"] .z3-nav{background:rgba(14,20,51,.94)!important}
html[data-theme="dark"] .z3-search{background:rgba(20,27,63,.86)!important}
html[data-theme="dark"] .z3-float,html[data-theme="dark"] .z3-chat{background:rgba(20,27,63,.9)!important}

/* ── سرمه‌ای در تم روشن [۱۴۰۵/۰۸/۰۴ · مالک: «در تم روشن سرمه‌ای استفاده کن؛ خیلی روشن است»] ──
   ساختار سرمه‌ای (سایدبار پنل‌ها، نوارهای یک‌درمیان صفحهٔ اول)، محتوا عاجی، طلایی برای اقدام. */
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar{background:linear-gradient(180deg,#1E2A5E 0%,#141A3A 55%,#0A0F2A 100%)!important;border-color:rgba(218,187,133,.18)!important;color:#E9E6F2;
  --text:#F7F1EA;--text-2:#D7DAEE;--muted:#A7ADCF;--surface:rgba(255,255,255,.06);--surface-2:rgba(255,255,255,.09);--border:rgba(218,187,133,.18)}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar :is(a,span,b,small,p,h2,h3,h4,strong,div,button,summary,label){color:inherit}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link{color:#D7DAEE}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link:hover{background:rgba(255,255,255,.07);color:#F6E2B3}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link.active{background:rgba(218,187,133,.16);color:#F6E2B3;box-shadow:inset 3px 0 0 #DABB85}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar svg{color:#DABB85}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar :is(.bg-white,[class*="bg-gray"],[class*="bg-slate"]){background:rgba(255,255,255,.06)!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar :is([class*="border-gray"],[class*="border-slate"],hr){border-color:rgba(218,187,133,.16)!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar [class*="text-gray"],html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar [class*="text-slate"]{color:#A7ADCF!important}
/* صفحهٔ اول: بخش‌های یک‌درمیان سرمه‌ای */
html:not([data-theme="dark"]) body.z3 .z3-alt{background:radial-gradient(60% 50% at 90% 0%,rgba(199,154,78,.14),transparent 60%),linear-gradient(180deg,#141A3A,#0A0F2A)!important;
  --z-bg:#0A0F2A;--z-bg2:#0E1433;--z-surface:#141B3F;--z-glass:rgba(20,27,63,.8);--z-line:rgba(218,187,133,.16);
  --z-ink:#F7F1EA;--z-ink2:#D7DAEE;--z-mut:#A7ADCF;--z-gold-ink:#E6C98F;color:#F7F1EA}
html:not([data-theme="dark"]) body.z3 .z3-alt .z3-h h2 em{background:linear-gradient(120deg,#F6E2B3,#DABB85 50%,#C79A4E)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link{color:#D7DAEE!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link:is(:hover,.active,[aria-current="page"]){color:#F6E2B3!important;background:rgba(218,187,133,.14)!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar .sidebar-link svg{color:#DABB85!important}
html:not([data-theme="dark"]) body.zb-dashboard aside#sidebar :is(.zb-clock,[class*="zb-clock"]){background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important;border-color:rgba(218,187,133,.3)!important;color:#F7F1EA!important;box-shadow:none!important}

/* ══ تم تیره: مشکی مدرن [۱۴۰۵/۰۸/۰۴ · مالک: «در فرم تیره سرمه‌ای را با سیاه مناسب و مدرن جایگزین کن»] ══
   تیره = گرافیتی تا مشکی (#18181B ← #0B0B0C) با سطح‌های #141416 و خط طلایی کم‌رنگ؛ سرمه‌ای فقط در تم روشن (سایدبار، نوارها، هیرو). */
html[data-theme="dark"]{--bg:#0B0B0C;--bg-2:#111113;--bg-3:#18181B;--surface:#141416;--surface-2:#1B1B1E;--border:rgba(218,187,133,.12);--border-strong:rgba(218,187,133,.24)}
html[data-theme="dark"] body{background:radial-gradient(60% 40% at 90% 0%,rgba(199,154,78,.07),transparent 60%),linear-gradient(180deg,#18181B 0%,#0B0B0C 55%) fixed}
html[data-theme="dark"] body.z3{--z-bg:#0B0B0C;--z-bg2:#111113;--z-surface:#141416;--z-glass:rgba(20,20,22,.78);--z-line:rgba(218,187,133,.12);
  --z-ink:#F5F2EC;--z-ink2:#D6D1C7;--z-mut:#9C978E;background:linear-gradient(180deg,#18181B 0%,#0B0B0C 50%) fixed}
html[data-theme="dark"] .z3-hero{background:radial-gradient(60% 50% at 85% 8%,rgba(199,154,78,.14),transparent 65%),linear-gradient(180deg,#1C1C20 0%,#121214 45%,#0B0B0C 100%)!important}
html[data-theme="dark"] .z3-nav{background:rgba(14,14,16,.92)!important}
html[data-theme="dark"] .z3-search{background:rgba(20,20,22,.86)!important}
html[data-theme="dark"] .z3-float,html[data-theme="dark"] .z3-chat{background:rgba(22,22,25,.9)!important}
html[data-theme="dark"] body.z3 .z3-alt{background:linear-gradient(180deg,#121214,#0B0B0C)!important}
html body.z3 .z3-final-in{background:radial-gradient(500px 260px at 90% 0,rgba(226,190,121,.30),transparent 70%),linear-gradient(140deg,#1E2A5E,#0A0F2A)!important}
html[data-theme="dark"] body.z3 .z3-final-in{background:radial-gradient(500px 260px at 90% 0,rgba(226,190,121,.28),transparent 70%),linear-gradient(140deg,#1C1C20,#0B0B0C)!important}
html[data-theme="dark"] .jr{--ph-scr:#121214;--ph-card:#1B1B1E;--ph-line:rgba(218,187,133,.12);--ph-chip:#24211B}
html[data-theme="dark"] .jr-phone{background:linear-gradient(160deg,#2A2A2E,#0B0B0C)}
html[data-theme="dark"] .jr-notch{background:#0B0B0C}
html[data-theme="dark"] .zau{--surface:#141416;--surface-2:#1B1B1E;background:radial-gradient(55% 40% at 85% 0%,rgba(199,154,78,.12),transparent 60%),linear-gradient(180deg,#18181B,#0B0B0C)!important}
html[data-theme="dark"]:has(.zau),html[data-theme="dark"]:has(.zau) body{background:#0B0B0C!important}
html[data-theme="dark"] .zau .auth-card,html[data-theme="dark"] .zau-card{background:linear-gradient(180deg,#18181B,#111113)!important}
html[data-theme="dark"] .zau .otp-box{background:#1B1B1E!important}
html[data-theme="dark"] body.zb-dashboard aside#sidebar{background:linear-gradient(180deg,#18181B 0%,#0E0E10 100%)!important}
/* فوتر عمومی: سرمه‌ای در تم روشن، گرافیتی در تم تیره [۱۴۰۵/۰۸/۰۴] */
html body footer.pt-5.pt-5.mt-0{background:radial-gradient(50% 80% at 90% 0%,rgba(199,154,78,.12),transparent 60%),linear-gradient(180deg,#141A3A,#0A0F2A)!important;color:rgba(247,241,234,.8)!important}
html[data-theme="dark"] body footer.pt-5.pt-5.mt-0{background:linear-gradient(180deg,#141416,#0B0B0C)!important}
html body footer.pt-5.pt-5.mt-0 :is(h5,h6,.h5,.h6,strong,b,span.text-white){color:#F6E2B3!important}
html body footer.pt-5.pt-5.mt-0 a{color:rgba(247,241,234,.82)!important}
html body footer.pt-5.pt-5.mt-0 a:hover{color:#F6E2B3!important}
input[type=range]{accent-color:#C79A4E}
html body footer.pt-5.pt-5.mt-0 :is(p,small,li,div){color:rgba(247,241,234,.78)}
