/* رایزن لاله ۲ — دیوار فرماندهی
   یک صفحه، بدون اسکرول. همه چیز کاشی است و هر کاشی یک تصویر. */

:root {
  /* پوسته تیره: چرم شب، طلای لاله، فیروزه */
  --w-bg: #0a1013;
  --w-bg-2: #0e1619;
  --w-chrome: #0c1417;
  --w-tile: #121c20;
  --w-tile-2: #162327;
  --w-line: rgba(224, 187, 118, 0.14);
  --w-line-2: rgba(255, 255, 255, 0.07);
  --w-ink: #eef4f2;
  --w-dim: #9db1ad;
  --w-faint: #6d837f;
  --w-track: rgba(255, 255, 255, 0.08);
  --w-grid: rgba(255, 255, 255, 0.07);
  --w-zone: rgba(255, 255, 255, 0.04);
  --w-future: rgba(255, 255, 255, 0.03);
  --w-mark: rgba(224, 187, 118, 0.5);
  --w-pulse: #e2654f;
  --w-gold: #d9ad63;
  --w-gold-2: #f0d3a0;
  --w-a1: #2fbf8f;
  --w-a2: #45b6d8;
  --w-a3: #d1824a;
  --w-a4: #a98bdc;
  --w-a5: #e0bb76;
  --w-a6: #8ccf62;
  --w-good: #2fbf8f;
  --w-ok: #9ec75a;
  --w-warn: #e0a93f;
  --w-bad: #e2654f;
  --w-ready: #2c6f5f;
  --w-on-accent: #09120f;
  --w-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  --wt-r: 14px;
}
:root[data-theme='light'] {
  --w-bg: #f1f2ee;
  --w-bg-2: #e9eae5;
  --w-chrome: #11191b;
  --w-tile: #ffffff;
  --w-tile-2: #f8f8f5;
  --w-line: #e3e2da;
  --w-line-2: #ececE4;
  --w-ink: #1b2120;
  --w-dim: #5f6764;
  --w-faint: #8d9490;
  --w-track: #e9e9e2;
  --w-grid: #e7e7df;
  --w-zone: rgba(0, 0, 0, 0.035);
  --w-future: rgba(0, 0, 0, 0.03);
  --w-mark: rgba(184, 137, 58, 0.55);
  --w-pulse: #c0392b;
  --w-gold: #b8893a;
  --w-gold-2: #8d6526;
  --w-a1: #0b6b4f;
  --w-a2: #26748c;
  --w-a3: #b4602b;
  --w-a4: #65509b;
  --w-a5: #b97a0c;
  --w-a6: #3f8c2f;
  --w-good: #1d7a4b;
  --w-ok: #6b9c2c;
  --w-warn: #b97a0c;
  --w-bad: #c0392b;
  --w-ready: #a9d2c0;
  --w-on-accent: #ffffff;
  --w-shadow: 0 1px 2px rgba(28, 33, 31, 0.05), 0 10px 26px -18px rgba(28, 33, 31, 0.3);
}

/* ---------- اسکلت ---------- */
body.wall-body { background: var(--w-bg); overflow: hidden; }
.wx-app {
  height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(120% 90% at 85% -20%, var(--w-bg-2), var(--w-bg) 62%);
  color: var(--w-ink); overflow: hidden;
}

/* ---------- سربرگ ---------- */
.wx-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0;
  height: 54px; padding: 0 14px; background: linear-gradient(90deg, #0b1316 0%, #16262a 50%, #0b1316 100%);
  border-bottom: 1px solid var(--w-line); color: #eef3f1; position: relative; z-index: 30;
}
.wx-bar::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--w-gold) 30%, var(--w-gold-2) 50%, var(--w-gold) 70%, transparent); opacity: 0.7; }
.wx-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wx-left { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.wx-wordmark { height: 28px; width: auto; flex: none; }
.wx-bar .property { margin: 0; min-width: 0; }
.wx-bar .property-btn { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.13); color: #eef3f1; grid-template-columns: 26px minmax(0, 1fr) 14px; padding: 4px 9px; box-shadow: none; }
.wx-bar .property-btn b { color: #fff; font-size: 12.5px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-bar .property-btn small { color: #8ea5a0; font-size: 10.5px; }
.wx-bar .property-btn .p-ic { width: 26px; height: 26px; background: rgba(224, 187, 118, 0.14); color: var(--w-gold-2); }
.wx-bar .property-menu { z-index: 70; width: 282px; inset-inline-start: auto; inset-inline-end: 0; background: #121e22; border-color: var(--w-line); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8); }
.wx-bar .property-menu button { color: #eef3f1; }

.wx-meta { display: grid; gap: 0; text-align: center; padding-inline: 10px; border-inline-start: 1px solid rgba(255, 255, 255, 0.1); line-height: 1.4; }
.wx-meta b { font-size: 12.5px; color: #fff; white-space: nowrap; }
.wx-meta small { font-size: 10px; color: #7f948f; white-space: nowrap; }
.wx-meta.clock b { font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: 0.5px; }
.wx-acts { display: flex; align-items: center; gap: 6px; }
.wx-acts .icon-btn { width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #eef3f1; display: grid; place-items: center; }
.wx-acts .icon-btn:hover { background: rgba(224, 187, 118, 0.18); border-color: var(--w-gold); color: #fff; }
.wx-acts .icon-btn svg { width: 17px; height: 17px; }
.wx-acts .icon-btn[aria-pressed='true'] { background: linear-gradient(135deg, #8d6526, var(--w-gold)); border-color: transparent; color: #1b1407; }
.wx-acts .ask-btn { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #8d6526, var(--w-gold)); color: #fff4e2; font-weight: 700; font-size: 12.5px; }
.wx-acts .ask-btn svg { width: 16px; height: 16px; }
.wx-acts .ask-btn:hover { filter: brightness(1.08); }

/* زبانه دیوارها */
.wx-tabs { display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 3px; }
.wx-tab { display: flex; align-items: center; gap: 6px; padding: 5px 14px; border: 0; border-radius: 9px; background: transparent; color: #a9bdb8; font-size: 13px; font-weight: 700; white-space: nowrap; transition: all 0.15s; }
.wx-tab svg { width: 15px; height: 15px; }
.wx-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.wx-tab[aria-current='page'] { background: linear-gradient(135deg, #8d6526, var(--w-gold)); color: #19120a; box-shadow: 0 4px 14px -6px var(--w-gold); }
.wx-tab small { font-size: 10.5px; opacity: 0.75; font-weight: 600; }
.wx-pagetitle { display: flex; align-items: center; gap: 10px; }
.wx-pagetitle b { font-size: 15px; color: #fff; white-space: nowrap; }
.wx-pagetitle span { font-size: 11.5px; color: #8ea5a0; white-space: nowrap; }
.wx-back { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 9px; background: transparent; color: #eef3f1; font-size: 12.5px; font-weight: 600; }
.wx-back:hover { border-color: var(--w-gold); }
.wx-back svg { width: 15px; height: 15px; }

/* نوار پیشرفت حالت نمایش */
.wx-prog { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--w-gold); transform-origin: right; z-index: 2; }

/* ---------- صحنه ---------- */
.wx-stage { min-height: 0; overflow: hidden; }
.wx-stage.page-mode { overflow: auto; background: var(--bg); color: var(--ink); }
.wx-page { padding: 16px 22px 40px; max-width: 1700px; margin: 0 auto; }

/* ---------- نوار شاخص ---------- */
.wall { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding: 8px 10px 10px; }
.wx-kpi { display: flex; gap: 7px; }
.kchip {
  flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 12px; border: 1px solid var(--w-line); background: var(--w-tile); color: inherit;
  text-align: start; box-shadow: var(--w-shadow); transition: transform 0.12s, border-color 0.12s;
}
.kchip:hover { border-color: var(--w-gold); transform: translateY(-1px); }
.kc-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--w-tile-2); }
.kc-ic svg { width: 16px; height: 16px; }
.kc-main { min-width: 0; display: grid; }
.kc-lab { font-size: 10.5px; color: var(--w-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.kc-val { font-size: clamp(15px, 2.1vh, 21px); font-weight: 800; letter-spacing: -0.4px; line-height: 1.25; color: var(--w-ink); white-space: nowrap; }
.kc-val small { font-size: 0.56em; font-weight: 600; color: var(--w-dim); margin-inline-start: 3px; }
.kc-end { display: grid; justify-items: end; gap: 1px; }
.kc-end em { font-size: 9.5px; color: var(--w-faint); font-style: normal; }

/* ---------- کاشی‌ها ---------- */
.wall-grid { display: flex; flex-direction: column; gap: 8px; min-height: 0; min-width: 0; }
.wrow { display: flex; gap: 8px; flex: 1 1 0; min-height: 0; }
.wtile {
  flex: var(--f, 3) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 7px 10px 8px; border-radius: var(--wt-r); border: 1px solid var(--w-line); background: var(--w-tile);
  box-shadow: var(--w-shadow); position: relative; overflow: hidden; text-align: start;
}
.wtile[data-deep] { cursor: pointer; transition: border-color 0.14s, box-shadow 0.14s; }
.wtile[data-deep]:hover { border-color: var(--w-gold); box-shadow: 0 0 0 1px var(--w-gold), 0 14px 32px -20px rgba(0, 0, 0, 0.9); }
.wtile[data-deep]:focus-visible { outline: 2px solid var(--w-gold); outline-offset: 2px; }
/* ورود نرم کاشی‌ها هنگام تعویض دیوار */
@keyframes wIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wall-grid .wtile { animation: wIn 0.34s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.wall-grid .wrow:nth-child(2) .wtile { animation-delay: 0.07s; }
.wall-grid .wrow .wtile:nth-child(2) { animation-delay: 0.04s; }
.wall-grid .wrow .wtile:nth-child(3) { animation-delay: 0.08s; }
.wall-grid .wrow .wtile:nth-child(4) { animation-delay: 0.12s; }
.wall-grid .wrow:nth-child(2) .wtile:nth-child(2) { animation-delay: 0.11s; }
.wall-grid .wrow:nth-child(2) .wtile:nth-child(3) { animation-delay: 0.15s; }
.wall-grid .wrow:nth-child(2) .wtile:nth-child(4) { animation-delay: 0.19s; }
.wx-kpi .kchip { animation: wIn 0.3s ease-out both; }
@media (prefers-reduced-motion: reduce) { .wall-grid .wtile, .wx-kpi .kchip { animation: none; } }

.wt-head { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wt-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--w-tile-2); color: var(--w-gold); flex: none; }
.wt-ic svg { width: 13px; height: 13px; }
.wt-head h3 { font-size: clamp(11px, 1.45vh, 13.5px); font-weight: 700; color: var(--w-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wt-val { margin-inline-start: auto; font-size: clamp(13px, 2vh, 19px); font-weight: 800; letter-spacing: -0.4px; color: var(--w-ink); white-space: nowrap; }
.wt-val small { font-size: 0.56em; font-weight: 600; color: var(--w-dim); margin-inline-start: 3px; }
.wt-d { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.wt-d.up { color: var(--w-good); background: color-mix(in srgb, var(--w-good) 14%, transparent); }
.wt-d.down { color: var(--w-bad); background: color-mix(in srgb, var(--w-bad) 14%, transparent); }
.wt-d.flat { color: var(--w-faint); background: var(--w-track); }
.wt-more { opacity: 0.32; color: var(--w-gold); display: grid; place-items: center; transition: opacity 0.14s; }
.wt-more svg { width: 13px; height: 13px; }
.wtile:hover .wt-more { opacity: 1; }
.wt-body { flex: 1 1 auto; min-height: 0; }
.viz { width: 100%; height: 100%; }
.vsvg { display: block; font-family: inherit; }
.vseg { cursor: default; }
.wtile[data-deep] .vseg { cursor: pointer; }
.vseg:hover { filter: brightness(1.12); }
.wt-leg { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 10.5px; color: var(--w-dim); line-height: 1.6; max-height: 2.9em; overflow: hidden; }
.wt-leg span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.wt-leg i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.wt-leg b { color: var(--w-ink); font-weight: 700; }
.sprk { display: block; }

/* فهرست‌های کوتاه داخل کاشی */
.walert { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; height: 100%; }
.walert li { display: flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 9px; background: var(--w-tile-2); border-inline-start: 3px solid var(--w-dim); flex: 1 1 0; min-height: 0; }
.walert li div { min-width: 0; display: grid; gap: 1px; }
.walert li b { font-size: clamp(10px, 1.35vh, 12.5px); font-weight: 600; color: var(--w-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.walert li i { font-size: clamp(9.5px, 1.15vh, 11.5px); font-style: normal; color: var(--w-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 1.6; }
.walert li span { display: grid; place-items: center; color: inherit; flex: none; }
.walert li svg { width: 14px; height: 14px; }
.walert .al-pom { border-color: var(--w-bad); color: var(--w-bad); }
.walert .al-amber { border-color: var(--w-warn); color: var(--w-warn); }
.walert .al-turq { border-color: var(--w-a1); color: var(--w-a1); }
.walert .al-brass { border-color: var(--w-gold); color: var(--w-gold); }
.wdec { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; height: 100%; }
.wdec li { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 9px; background: var(--w-tile-2); flex: 1 1 0; min-height: 0; }
.wdec b { font-size: clamp(10px, 1.35vh, 12.5px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdec em { font-size: 10px; font-style: normal; color: var(--w-faint); white-space: nowrap; }
.wd-b { height: 70%; border-radius: 3px; background: linear-gradient(to top, var(--w-a1) var(--p), var(--w-track) var(--p)); }
.wd-s { height: 70%; border-radius: 3px; background: var(--w-dim); }
.wd-s.pom { background: var(--w-bad); }
.wd-s.leaf { background: var(--w-good); }
.wd-s.amber { background: var(--w-warn); }

.wlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; height: 100%; overflow: auto; }
.wlist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 10px; background: var(--w-tile-2); border-inline-start: 3px solid transparent; }
.wlist.big li { grid-template-columns: auto minmax(0, 1fr); row-gap: 1px; }
.wlist.big li b { grid-column: 2; }
.wlist.big li span:not(.li-ic) { grid-column: 2; font-size: 11px; color: var(--w-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlist .li-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--w-tile); }
.wlist .li-ic svg { width: 14px; height: 14px; }
.wlist li b { font-size: 12.5px; font-weight: 600; color: var(--w-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlist li em { font-size: 11px; font-style: normal; color: var(--w-faint); }
.wlist li span { font-size: 11.5px; color: var(--w-dim); }
.wlist li[data-drill] { cursor: pointer; }
.wlist li[data-drill]:hover { border-inline-start-color: var(--w-gold); }
.wlist .al-pom { border-inline-start-color: var(--w-bad); }
.wlist .al-pom .li-ic { color: var(--w-bad); }
.wlist .al-amber { border-inline-start-color: var(--w-warn); }
.wlist .al-amber .li-ic { color: var(--w-warn); }
.wlist .al-turq { border-inline-start-color: var(--w-a1); }
.wlist .al-turq .li-ic { color: var(--w-a1); }
.wlist .al-leaf { border-inline-start-color: var(--w-good); }
.wlist .al-leaf .li-ic { color: var(--w-good); }
.wlist .al-brass { border-inline-start-color: var(--w-gold); }
.wlist .al-brass .li-ic { color: var(--w-gold); }

/* ---------- داک ماژول‌ها ---------- */
.wx-dock {
  display: flex; align-items: stretch; gap: 3px; padding: 4px 10px; background: var(--w-chrome);
  border-top: 1px solid var(--w-line); overflow-x: auto; scrollbar-width: thin; min-width: 0; max-width: 100%;
}
.wx-dock::-webkit-scrollbar { height: 5px; }
.wx-dock::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 3px; }
.dock-btn {
  display: grid; justify-items: center; gap: 1px; padding: 4px 9px; border: 0; border-radius: 9px; background: transparent;
  color: #93a8a4; font-size: 10px; font-weight: 600; white-space: nowrap; flex: none; transition: all 0.13s;
}
.dock-btn svg { width: 16px; height: 16px; }
.dock-btn:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.dock-btn[aria-current='page'] { background: rgba(224, 187, 118, 0.16); color: var(--w-gold-2); }
.dock-sep { width: 1px; background: rgba(255, 255, 255, 0.1); margin: 6px 5px; flex: none; }
.dock-lab { font-size: 10px; color: #5f736f; align-self: center; padding-inline: 6px; white-space: nowrap; flex: none; }

/* ---------- لایه عمیق ---------- */
.deep { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(4, 8, 9, 0.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.18s; padding: 2vh 2vw; }
.deep.in { opacity: 1; }
.deep-card {
  width: min(1560px, 96vw); height: min(960px, 92vh); display: flex; flex-direction: column;
  background: var(--w-bg-2); border: 1px solid var(--w-line); border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden; transform: translateY(8px) scale(0.99); transition: transform 0.2s;
}
.deep.in .deep-card { transform: none; }
.deep-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--w-line); background: linear-gradient(90deg, #0b1316, #16262a); }
:root[data-theme='light'] .deep-head { background: linear-gradient(90deg, #11191b, #1d3034); }
.dh-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(224, 187, 118, 0.16); color: var(--w-gold); flex: none; }
.dh-t { min-width: 0; }
.dh-t h2 { font-size: 17px; font-weight: 800; color: #fff; }
.dh-t p { font-size: 12px; color: #9db1ad; }
.dh-end { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; }
.dbtn { padding: 6px 13px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 9px; background: transparent; color: #eef3f1; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dbtn:hover { border-color: var(--w-gold); color: #fff; background: rgba(224, 187, 118, 0.12); }
.dbtn.close { width: 34px; display: grid; place-items: center; padding: 0; height: 32px; }
.dbtn.close svg { width: 16px; height: 16px; }
.deep-grid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.deep-grid .wrow { gap: 10px; }

/* ---------- واکنش به اندازه صفحه ---------- */
@media (max-width: 1600px) {
  .wx-tab small { display: none; }
}
@media (max-width: 1500px) {
  .dock-lab { display: none; }
  .dock-sep { margin: 6px 3px; }
  .wt-head h3 { font-size: clamp(10.5px, 1.4vh, 12.5px); }
  .kc-lab { font-size: 10px; }
  .kchip .sprk { display: none; }
  .kchip { padding: 6px 8px; gap: 6px; }
}
@media (max-width: 1180px) {
  .wx-kpi { flex-wrap: wrap; }
  .kchip { flex: 1 1 calc(25% - 6px); }
  .wx-meta.date { display: none; }
}
@media (max-width: 1240px) {
  .wx-meta.weather { display: none; }
  .wt-leg { max-height: 1.7em; }
  .kc-ic { display: none; }
}
@media (max-width: 1060px) {
  .wx-bar { grid-template-columns: auto minmax(0, 1fr) auto; height: 50px; }
  .wx-tabs { justify-self: center; }
  .wx-acts .ask-btn span { display: none; }
  .wx-acts .ask-btn { width: 32px; padding: 0; justify-content: center; }
}
@media (max-width: 900px) {
  .wx-app { height: auto; min-height: 100dvh; overflow: visible; }
  body.wall-body { overflow-x: hidden; overflow-y: auto; }
  html { overflow-x: hidden; }
  .wx-stage { overflow: visible; }
  .wall { height: auto; padding: 8px; grid-template-rows: auto auto; }
  .wall-grid { min-height: auto; }
  .wx-kpi { flex-wrap: wrap; }
  .kchip { flex: 1 1 calc(50% - 4px); }
  .wrow { flex-direction: column; flex: 0 0 auto; min-height: auto; }
  .wtile { min-height: 230px; flex: 0 0 auto; }
  .wtile .wt-body { min-height: 170px; }
  .wx-bar { position: sticky; top: 0; }
  .wx-dock { position: sticky; bottom: 0; }
  .deep-card { width: 100vw; height: 100dvh; border-radius: 0; }
  .deep { padding: 0; }
  .deep-grid { overflow: auto; }
  .deep-grid .wrow { flex-direction: column; flex: 0 0 auto; }
  .deep-grid .wtile { min-height: 240px; flex: 0 0 auto; }
  .dh-end .dbtn:not(.close) { display: none; }
}
@media (max-width: 760px) {
  .wx-bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; height: auto; padding: 6px 10px 8px; gap: 7px 8px; }
  .wx-nav { grid-column: 1 / -1; grid-row: 2; }
  .wx-tabs { width: 100%; }
  .wx-tab { flex: 1 1 0; justify-content: center; min-width: 0; }
  .wx-meta.clock { display: none; }
  .wx-pagetitle { width: 100%; }
}
@media (max-width: 620px) {
  .wx-wordmark { height: 22px; }
  .wx-bar .property-btn small { display: none; }
  .wx-tab { padding: 5px 8px; font-size: 12px; }
  .kchip { flex: 1 1 calc(50% - 4px); padding: 6px 9px; }
  .kc-val { font-size: 17px; }
  .wx-pagetitle span { display: none; }
  .wtile { min-height: 210px; }
}

/* ---------- صفحه ورود ---------- */
.wboot { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 30%, #16262a, #080e10 70%); transition: opacity 0.45s; }
.wboot.done { opacity: 0; pointer-events: none; }
.wboot-in { display: grid; justify-items: center; gap: 10px; text-align: center; }
.wboot-in img { height: 72px; filter: drop-shadow(0 6px 20px rgba(217, 173, 99, 0.35)); }
.wboot-in h1 { font-size: 22px; color: #fff; font-weight: 800; }
.wboot-in p { font-size: 13px; color: #9db1ad; }
.wboot-bar { width: 240px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.wboot-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--w-gold), transparent); animation: wsweep 1.1s infinite; }
@keyframes wsweep { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
