/* 🌿 الزتونة — v1.9.61 (شاشة المدير: المخبر، ليه، لو، الطيار الآلى، الخطة، التوقعات، التحليل) */
.hquick .hq.zq span { filter: saturate(1.2); }
.zhead { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 0 12px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #6B7B2B, #3E4A17); box-shadow: 0 6px 20px rgba(62,74,23,.25); }
.zhead img { width: 64px; height: 64px; object-fit: contain; }
.zhead h1 { margin: 0; font-size: 24px; color: #fff; }
.zhead small { opacity: .9; }
.ztabs { margin: 0 0 12px; }
.ztabs button.on { background: #6B7B2B !important; border-color: #6B7B2B !important; color: #fff !important; }
.zhello { font-size: 17px; font-weight: 700; margin: 4px 2px 12px; }
.zbusy { display: flex; align-items: center; gap: 10px; padding: 30px; justify-content: center; color: var(--muted); font-size: 16px; }
.zbusy img { width: 56px; animation: zbob 1.2s ease-in-out infinite; }
@keyframes zbob { 50% { transform: translateY(-6px); } }
.zerr { padding: 14px; border-radius: 12px; background: #fee2e2; color: #991b1b; font-weight: 600; }
.zcard { display: flex; gap: 12px; padding: 12px 14px; margin: 0 0 10px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); border-inline-start: 6px solid #9ca3af; }
.zcard.s3 { border-inline-start-color: #dc2626; } .zcard.s2 { border-inline-start-color: #f59e0b; } .zcard.s1 { border-inline-start-color: #6B7B2B; }
.zci { font-size: 30px; line-height: 1; }
.zcb { flex: 1; min-width: 0; }
.zcb b { font-size: 15.5px; } .zcb p { margin: 4px 0 6px; color: var(--muted); white-space: pre-line; }
.zcb pre { white-space: pre-wrap; font-family: inherit; max-height: 260px; overflow: auto; margin: 6px 0; padding: 8px; border-radius: 8px; background: rgba(107,123,43,.08); }
.zcb details summary, .zhow summary { cursor: pointer; color: #6B7B2B; font-weight: 600; }
.ztag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; background: rgba(107,123,43,.15); color: #4d5a1c; margin-inline-start: 6px; }
.zhow { margin: 14px 0 6px; padding: 10px 14px; border-radius: 12px; border: 1px dashed #6B7B2B; background: rgba(107,123,43,.06); }
.zhow > div { margin-top: 8px; line-height: 1.8; }
.zhow li { margin: 0 0 4px; }
.zbig { padding: 14px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); text-align: center; }
.zbig small { display: block; color: var(--muted); } .zbig b { display: block; font-size: 24px; margin: 4px 0; font-variant-numeric: tabular-nums; } .zbig span { font-size: 13px; color: var(--muted); }
.zbig.up b { color: #15803d; } .zbig.down b { color: #dc2626; } .zbig.ceil { background: linear-gradient(135deg, rgba(107,123,43,.12), rgba(62,74,23,.05)); border-color: #6B7B2B; }
.zwhy { display: flex; gap: 10px; padding: 10px 12px; margin: 0 0 8px; border-radius: 12px; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); }
.zwhy.g { border-inline-start: 5px solid #16a34a; } .zwhy.b { border-inline-start: 5px solid #dc2626; }
.zwhy ul { margin: 4px 0 0; padding-inline-start: 18px; color: var(--muted); }
.zn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: #6B7B2B; }
.zwarn { padding: 10px 14px; margin: 8px 0; border-radius: 12px; background: #fef3c7; color: #92400e; }
.zwif { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 760px) { .zwif, .zplan3 { grid-template-columns: 1fr !important; } }
.zsl { display: block; margin: 0 0 10px; }
.zsl b { float: left; color: #6B7B2B; } .zsl input { width: 100%; accent-color: #6B7B2B; }
.zsec input[type=number] { width: 70px; } .zsec td, .zsec th { white-space: nowrap; }
.zup { color: #15803d; font-weight: 700; } .zdn { color: #dc2626; font-weight: 700; }
.zplanin .tbar { flex-wrap: wrap; }
.zplan3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.zverdict { padding: 14px 16px; margin: 0 0 12px; border-radius: 14px; font-size: 16px; line-height: 1.8; }
.zverdict.zv-easy0, .zverdict.zv-easy { background: #dcfce7; color: #14532d; }
.zverdict.zv-mid { background: #fef9c3; color: #713f12; }
.zverdict.zv-hard { background: #ffedd5; color: #7c2d12; }
.zverdict.zv-no { background: #fee2e2; color: #7f1d1d; }
.zplan { padding: 10px 14px; margin: 0 0 8px; border-radius: 12px; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); }
.zplan.bad { border-color: #dc2626; background: rgba(220,38,38,.05); }
.zplan ul { margin: 6px 0 0; padding-inline-start: 18px; }
.zbars { display: flex; align-items: flex-end; gap: 4px; height: 220px; padding: 10px 4px 0; overflow-x: auto; }
.zb { flex: 1 0 44px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.zb i { display: block; width: 70%; border-radius: 6px 6px 0 0; background: #6B7B2B; min-height: 2px; }
.zb.fc i { background: repeating-linear-gradient(45deg, #a3b35a, #a3b35a 6px, #c5d28a 6px, #c5d28a 12px); }
.zb small { font-size: 11px; color: var(--muted); } .zb em { font-style: normal; font-size: 10px; color: var(--muted); white-space: nowrap; }
html[data-theme="dark"] .zverdict.zv-easy0, html[data-theme="dark"] .zverdict.zv-easy { background: #14532d; color: #dcfce7; }
html[data-theme="dark"] .zverdict.zv-mid { background: #713f12; color: #fef9c3; }
html[data-theme="dark"] .zverdict.zv-hard { background: #7c2d12; color: #ffedd5; }
html[data-theme="dark"] .zverdict.zv-no, html[data-theme="dark"] .zerr { background: #7f1d1d; color: #fee2e2; }
html[data-theme="dark"] .zwarn { background: #78350f; color: #fef3c7; }
html[data-theme="dark"] .ztag { color: #d9e59a; }
@media print { .ztabs, .zhow, .zsl { display: none !important; } }
/* v1.9.62 */
.zbig span { display: block; margin-top: 2px; }
.ztag { margin-inline-start: 0; margin-inline-end: 8px; }
.zlaw { margin: 14px 0; padding: 12px 14px; border-radius: 14px; border: 1px solid #6B7B2B; background: rgba(107,123,43,.05); overflow-x: auto; }
.zlaw h4 { margin: 0 0 8px; color: #4d5a1c; font-size: 15px; }
.zlaw table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.zlaw th { text-align: start; color: var(--muted); font-weight: 600; padding: 4px 8px; border-bottom: 1px solid var(--line, #e5e7eb); }
.zlaw td { padding: 6px 8px; border-bottom: 1px dashed var(--line, #e5e7eb); vertical-align: top; line-height: 1.7; }
.zlaw td:nth-child(2) { background: rgba(107,123,43,.08); border-radius: 6px; }
.zlaw td:nth-child(3) { font-variant-numeric: tabular-nums; direction: rtl; }
html[data-theme="dark"] .zlaw h4 { color: #d9e59a; }
/* 1.9.116.36 📡 رادار التجديد + 🎯 مولّد العروض */
.zrstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 12px; }
@media (max-width: 760px) { .zrstats { grid-template-columns: 1fr 1fr; } }
.zrad { display: flex; gap: 12px; align-items: center; padding: 10px 12px; margin: 0 0 8px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); border-inline-start: 6px solid #9ca3af; }
.zrad.zhi { border-inline-start-color: #dc2626; } .zrad.zmd { border-inline-start-color: #f59e0b; } .zrad.zlo { border-inline-start-color: #6B7B2B; }
.zrisk { flex: none; width: 64px; text-align: center; }
.zrisk b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.zrad.zhi .zrisk b { color: #dc2626; } .zrad.zmd .zrisk b { color: #b45309; }
.zrisk i { display: block; height: 5px; border-radius: 3px; background: currentColor; opacity: .5; margin: 2px auto; max-width: 100%; }
.zrisk small { color: var(--muted); font-size: 11px; }
.zract { display: flex; flex-direction: column; gap: 6px; align-items: stretch; flex: none; }
.ztag.ok { background: rgba(22,163,74,.15); color: #166534; }
.zguard { color: #166534 !important; font-weight: 600; }
.zidea .olinks { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 600px) { .zrad { flex-wrap: wrap; } .zract { flex-direction: row; } }

/* 63: «no» clashed with the neon look's .no (56px icon box) */
.zverdict { width: auto; height: auto; display: block; }

/* 1.9.116.66 🧭 المستشار + 📌 قراراتى (أسامى طويلة عشان ماتتخانقش مع أشكال الهاكر واللوكس) */
.zcard.s0 { border-inline-start-color: #9ca3af; }
.zadvh { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 4px; }
.zadvh .ztag { margin: 0; }
.ztag.zconf.hi { background: rgba(22,163,74,.15); color: #166534; } .ztag.zconf.md { background: rgba(245,158,11,.18); color: #92400e; } .ztag.zconf.lo { background: rgba(220,38,38,.12); color: #991b1b; }
.ztag.zdue { background: rgba(220,38,38,.12); color: #991b1b; }
.zimp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 6px 0; padding: 8px 10px; border-radius: 10px; background: rgba(107,123,43,.08); }
.zimp span { color: var(--muted); font-size: 13px; } .zimp b { font-size: 19px; font-variant-numeric: tabular-nums; } .zimp small { color: var(--muted); }
.zcb p.zlawl, .zcb p.zlearn { font-size: 13px; margin: 2px 0; }
.zcb p.zlearn { color: #6B7B2B; }
.zadv .olinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.zbig b.zsm { font-size: 18px; }
.zpick { flex-wrap: wrap; align-items: flex-end; }
.zpick label { min-width: 0; flex: 1 1 200px; } .zpick select { width: 100%; max-width: 100%; }
.ztag.zchip { display: inline-flex; align-items: center; gap: 4px; margin: 4px 4px 0 0; white-space: normal; }
.ztag.zchip button { border: 0; background: none; cursor: pointer; color: inherit; padding: 0 2px; }
.zwif .panel { min-width: 0; }
html[data-theme="dark"] .ztag.zconf.hi { color: #bbf7d0; } html[data-theme="dark"] .ztag.zconf.md { color: #fde68a; }
html[data-theme="dark"] .ztag.zconf.lo, html[data-theme="dark"] .ztag.zdue { color: #fecaca; }
html[data-theme="dark"] .zcb p.zlearn { color: #d9e59a; }
@media (max-width: 1100px) { .zadvst { grid-template-columns: 1fr 1fr; } }

/* 1.9.116.66: جداول التوقعات تسكرول جوّه نفسها على الشاشات الضيقة */
.zsc { overflow-x: auto; max-width: 100%; }
#zBody .panel { min-width: 0; }
