/* =====================================================================
   کیت طراحی نوینکست — اجزای داشبورد (عیناً در همه سامانه‌ها)
   داشبورد «روز من» — بازطراحی با مهارت ui-ux-pro-max
   سبک: Minimalism & Swiss (پیشنهاد مهارت برای داشبوردهای سازمانی)
   موبایل‌محور؛ نقاط شکست یکسان: ۷۶۸ و ۱۰۲۴
   همه قواعد زیر .dash هستند تا روی صفحات دیگر پورتال اثری نگذارند.
   جزئیات تصمیم‌ها: design-system/novinext/MASTER.md
   ===================================================================== */

.dash {
    /* ---- رنگ‌های معنایی (برند نوینکست؛ همه جفت‌های متن/زمینه اندازه‌گیری‌شده ≥ ۴٫۵:۱) ---- */
    --c-primary: #6f00ff;          /* سفید روی آن ۶٫۷۳ */
    --c-primary-strong: #b400ff;   /* سفید روی آن ۴٫۷۹ */
    --c-surface: #ffffff;
    --c-page: #f7f7f7;
    --c-text: #231a3a;             /* روی سفید ۱۶٫۴ */
    --c-text-2: #5b5470;           /* روی سفید ۷٫۱ */
    --c-text-3: #736d84;           /* روی سفید ۴٫۹۴ (قبلاً #8d879e با ۳٫۴۵ که رد می‌شد) */
    --c-border: #e6e3ee;
    --c-border-strong: #cfc9dc;
    --c-tint: #f5f0ff;
    --c-danger: #a3162e;           /* روی سفید ۷٫۷ */
    --c-danger-mark: #e23d5a;      /* فقط غیرمتنی؛ روی سفید ۴٫۱۶ */
    --c-success: #177a2c;
    --c-info: #0a5e65;             /* روی cyan-wash ۷٫۰ */
    --c-info-wash: #e3fcfe;
    /* نوار مرخصی: هر قطعه ≥ ۳:۱ روی سفید (قبلاً ۱٫۷۵ و ۱٫۵۴) */
    --c-bar-used: #8a76c9;         /* ۳٫۸۱ */
    --c-bar-keep: #2ea449;         /* ۳٫۲۲ */
    --c-bar-lose: #e23d5a;         /* ۴٫۱۶ + هاشور */
    /* سرآغاز تیره */
    --c-hero: #1f0a52;
    --c-hero-2: #2e0f75;
    --c-hero-text-2: #cdbdf3;      /* روی سرآغاز ۹٫۶ */
    --c-now: #68ea7d;              /* algae؛ روی سرآغاز ۱۰٫۸ */
    --c-on-now: #0e3d17;           /* روی algae ۸٫۰ */
    --c-focus: #6f00ff;
    --c-focus-on-dark: #68ea7d;

    /* ---- مقیاس تایپوگرافی (حداقل ۱۲ پیکسل؛ متن اصلی ۱۶) ---- */
    --fs-12: 12px; --fs-14: 14px; --fs-16: 16px; --fs-18: 18px; --fs-24: 24px; --fs-32: 32px;
    /* ---- مقیاس فاصله ۴/۸ ---- */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
    /* ---- گردی گوشه‌ها و حرکت ---- */
    --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
    --t-fast: 150ms; --t-base: 200ms; --ease-out: cubic-bezier(.2, .8, .2, 1);
    --target: 44px;                /* حداقل ناحیه لمسی */

    color: var(--c-text);
    font-size: var(--fs-16);
    line-height: 1.7;
    width: 100%; /* تمام عرض صفحه (قبلاً حداکثر ۱۲۴۰ پیکسل بود) */
    font-variant-numeric: tabular-nums;
}
.dash *:where(h1, h2, h3) { text-wrap: balance; }
/* خنثی‌سازی پیش‌فرض‌های Bootstrap و مرورگر داخل داشبورد (بدون افزایش اولویت) */
.dash :where(p, h1, h2, h3, h4, figure) { margin: 0; }
.dash :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.dash :where(a) { color: inherit; text-decoration: none; }
.dash :where(table) { border-collapse: collapse; width: 100%; }
.dash small { font-size: max(12px, .875em); } /* حداقل ۱۲ پیکسل، حتی داخل متن کوچک‌تر (Bootstrap آن را ۸۷٫۵٪ می‌کند) */
.dash b, .dash strong { font-weight: 700; }

/* ---- دسترس‌پذیری: حلقه فوکوس، متن فقط برای صفحه‌خوان، حرکت کم ---- */
.dash a:focus-visible, .dash button:focus-visible {
    outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: var(--r-sm);
}
.dash .today a:focus-visible { outline-color: var(--c-focus-on-dark); }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- دکمه‌ها و لینک‌های عملیاتی (ناحیه لمسی ≥ ۴۴) ---- */
.dash .act {
    border: 0; font: inherit; font-size: var(--fs-14); font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; min-height: var(--target);
    padding: 0 var(--sp-4); border-radius: var(--r-sm); font-size: var(--fs-14); font-weight: 700; white-space: nowrap;
    background: var(--c-primary); color: #fff; cursor: pointer; flex-shrink: 0;
    transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.dash .act:hover { background: #5c00d4; }
.dash .act:active { transform: scale(.97); }
.dash .act.ghost { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.dash .act.ghost:hover { background: var(--c-tint); }
.dash .link {
    border: 0; background: transparent; font: inherit; /* وقتی روی <button> هم استفاده شود */
    display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--sp-2);
    color: var(--c-primary); font-size: var(--fs-14); font-weight: 700; white-space: nowrap; cursor: pointer; border-radius: var(--r-sm);
    transition: background-color var(--t-fast) var(--ease-out);
}
.dash .link:hover { background: var(--c-tint); }

/* ================= سرآغاز: روز من (تنها بخش پررنگ صفحه) ================= */
.dash .today {
    border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4) var(--sp-4); margin-bottom: var(--sp-6); color: #fff;
    background: linear-gradient(160deg, var(--c-hero-2) 0%, var(--c-hero) 60%);
}
.dash .hello { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.dash .hello h1 { margin: 0; font-size: var(--fs-24); font-weight: 800; line-height: 1.35; }
.dash .hello .date { color: var(--c-hero-text-2); font-size: var(--fs-14); margin-top: var(--sp-1); }
.dash .hello .sum { margin-top: var(--sp-3); font-size: var(--fs-16); }
.dash .hello .sum b { color: var(--c-now); }
.dash .hello .sum a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dash .clock { font-weight: 800; font-size: var(--fs-24); line-height: 1.2; direction: ltr; white-space: nowrap; flex-shrink: 0; }

.dash .track { position: relative; height: 72px; }
.dash .rail { position: absolute; inset-inline: 0; top: 0; height: 44px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.dash .elapsed { position: absolute; inset-block: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px); }
.dash .tick { position: absolute; top: 0; height: 44px; border-right: 1px dashed rgba(255,255,255,.14); }
.dash .hour { position: absolute; top: 50px; transform: translateX(50%); font-size: var(--fs-12); color: var(--c-hero-text-2); white-space: nowrap; }
.dash .hour.odd { display: none; }
.dash .now { position: absolute; top: -8px; height: 58px; border-right: 2px solid var(--c-now); z-index: 1; }
.dash .now::before { content: ''; position: absolute; top: -5px; right: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-now); }
.dash .now em { position: absolute; top: -32px; right: -24px; font-style: normal; font-size: var(--fs-12); font-weight: 700; color: var(--c-on-now); background: var(--c-now); padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; }
.dash .meet { position: absolute; top: 8px; height: 28px; border-radius: 6px; overflow: hidden; z-index: 2; background: var(--c-primary-strong); color: #fff; padding: 0 var(--sp-2); }
.dash .meet .past { position: absolute; inset-block: 0; right: 0; background: rgba(20,4,50,.35); }
.dash .meet b, .dash .meet span { display: none; }
.dash .meet.next { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c-now); color: #fff; }
.dash .meet.done { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); color: var(--c-hero-text-2); }

/* فهرست جلسات امروز: روی موبایل دیده می‌شود، روی صفحه بزرگ فقط برای صفحه‌خوان (نوار تصویری aria-hidden است) */
.dash .agenda { margin: var(--sp-3) 0 0; padding: 0; list-style: none; }
.dash .agenda li { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-14); }
.dash .agenda time { font-weight: 700; min-width: 96px; color: var(--c-hero-text-2); }
.dash .agenda .state { margin-inline-start: auto; font-size: var(--fs-12); font-weight: 700; padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; }
.dash .agenda .state.live { color: var(--c-on-now); background: var(--c-now); }
.dash .agenda .state.done { color: var(--c-hero-text-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.dash .today-empty { font-size: var(--fs-14); color: var(--c-hero-text-2); }
.dash .today-empty a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }

/* ================= بخش‌ها ================= */
.dash .dash-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.dash .section-title { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-3); font-size: var(--fs-18); font-weight: 800; }
.dash .count { background: var(--c-primary); color: #fff; font-size: var(--fs-12); font-weight: 700; min-width: 24px; height: 24px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 var(--sp-2); }
.dash .panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.dash .state-note { padding: var(--sp-4); color: var(--c-text-2); font-size: var(--fs-14); display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* ---- منتظر شما ---- */
.dash .todo { margin: 0; padding: 0; list-style: none; }
.dash .todo li { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); flex-wrap: wrap; transition: background-color var(--t-fast) var(--ease-out); }
.dash .todo li + li { border-top: 1px solid var(--c-border); }
.dash .todo li:hover { background: #fcfbfe; }
.dash .todo-ic { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.dash .todo-ic.a { background: var(--c-tint); color: var(--c-primary); }
.dash .todo-ic.b { background: var(--c-info-wash); color: #0b7c85; }
.dash .todo-ic.c { background: #fff1f3; color: var(--c-danger-mark); }
.dash .todo-body { flex: 1 1 calc(100% - 60px); min-width: 0; }
.dash .todo-body b { display: block; font-size: var(--fs-16); line-height: 1.5; }
.dash .todo-body small { display: block; color: var(--c-text-2); font-size: var(--fs-14); }
.dash .todo li .act { margin-inline-start: 52px; }

/* ---- وضعیت من ---- */
.dash .me { padding: var(--sp-4); }
.dash .me-label { font-size: var(--fs-14); color: var(--c-text-2); }
.dash .leave-num { font-size: var(--fs-24); font-weight: 900; line-height: 1.35; }
.dash .leave-num small { font-size: var(--fs-14); font-weight: 500; color: var(--c-text-2); margin-inline-start: var(--sp-2); }
.dash .bar { display: flex; gap: 2px; height: 14px; margin: var(--sp-3) 0 var(--sp-2); }
.dash .bar i { display: block; height: 100%; min-width: 3px; }
.dash .bar i:first-child { border-radius: 0 99px 99px 0; }
.dash .bar i:last-child { border-radius: 99px 0 0 99px; }
.dash .bar i:only-child { border-radius: 99px; }
.dash .bar .used { background: var(--c-bar-used); }
.dash .bar .keep { background: var(--c-bar-keep); }
.dash .bar .lose { background: repeating-linear-gradient(45deg, var(--c-bar-lose) 0 5px, #f7a3b1 5px 9px); }
.dash .bar .over { background: var(--c-bar-lose); border-radius: 99px; }
.dash .legend { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-1); font-size: var(--fs-14); color: var(--c-text-2); }
.dash .legend li { display: flex; align-items: center; gap: var(--sp-2); }
.dash .legend i { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.dash .legend b { color: var(--c-text); margin-inline-start: auto; font-weight: 700; }
.dash .warn { display: flex; gap: var(--sp-2); align-items: flex-start; margin-top: var(--sp-3); font-size: var(--fs-14); color: var(--c-danger); background: #fff5f6; border-radius: var(--r-sm); padding: var(--sp-2) var(--sp-3); }
.dash .warn svg { margin-top: 3px; }
.dash .me-list { margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.dash .me-list li { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; border-top: 1px solid var(--c-border); min-height: 60px; }
.dash .me-list .ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--c-tint); display: grid; place-items: center; color: var(--c-primary); flex-shrink: 0; }
.dash .me-list .t { flex: 1; min-width: 0; }
.dash .me-list .t b { display: block; font-size: var(--fs-14); }
.dash .me-list .t small { color: var(--c-text-2); font-size: var(--fs-14); display: block; }
.dash .mask { letter-spacing: 3px; color: var(--c-text-3); }

/* ---- هفت روز پیش رو (موبایل: فهرست عمودی) ---- */
.dash .week { margin: 0 0 var(--sp-3); padding: 0; list-style: none; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.dash .day { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); }
.dash .day + .day { border-top: 1px solid var(--c-border); }
.dash .day h3 { width: 84px; flex-shrink: 0; margin: 0; font-size: var(--fs-14); font-weight: 700; color: var(--c-text-2); line-height: 1.5; }
.dash .day h3 small { display: block; font-weight: 400; font-size: var(--fs-12); color: var(--c-text-3); }
.dash .day.is-today { box-shadow: inset -3px 0 0 var(--c-primary); }
.dash .day.is-today h3 { color: var(--c-primary); }
.dash .day.off { background: #fbfafc; }
.dash .chips { flex: 1; margin: 0; padding: 0; list-style: none; }
.dash .none { color: var(--c-text-3); font-size: var(--fs-14); }
.dash .chip { display: block; font-size: var(--fs-14); line-height: 1.5; padding: var(--sp-1) var(--sp-2); border-radius: var(--r-sm); margin-bottom: var(--sp-1);
    background: var(--c-surface); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-border-strong); }
.dash .chip.mine { background: var(--c-primary); color: #fff; box-shadow: none; }
.dash .chip time { font-weight: 700; margin-inline-end: var(--sp-1); }
/* تراشه قابل کلیک: کل تراشه پیوند است؛ ناحیه لمسی ۴۴ روی موبایل، ۲۴ برای نشانگر ماوس */
.dash .chip:has(> a) { padding: 0; }
.dash .chip > a { display: flex; align-items: center; min-height: 44px; padding: var(--sp-1) var(--sp-2); border-radius: inherit; color: inherit; }
.dash .chip > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dash .week-note { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-14); color: var(--c-text-2); margin-bottom: var(--sp-6); }
.dash .week-note span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.dash .week-note i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* ---- اطلاعیه، تولدها، سامانه‌ها ---- */
.dash .notice { background: var(--c-surface); border: 1px solid var(--c-border); border-right: 4px solid var(--c-primary-strong); border-radius: var(--r-md); padding: var(--sp-4); margin-bottom: var(--sp-3); }
.dash .notice h3 { font-size: var(--fs-16); font-weight: 800; margin: 0 0 var(--sp-1); }
.dash .notice p { margin: 0; color: var(--c-text-2); font-size: var(--fs-14); white-space: pre-line; }
.dash .notice small { display: block; margin-top: var(--sp-2); color: var(--c-text-3); font-size: var(--fs-12); }
.dash .notice.has-img { padding: 0; overflow: hidden; }
.dash .notice.has-img .img { aspect-ratio: 16 / 7; background: var(--c-tint); }
.dash .notice.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dash .notice.has-img .cap { padding: var(--sp-3) var(--sp-4); }
.dash .bdays { margin: 0; padding: 0; list-style: none; }
.dash .bday { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; }
.dash .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--c-primary); background: var(--c-tint); flex-shrink: 0; }
.dash .bday b { display: block; font-size: var(--fs-14); line-height: 1.5; }
.dash .bday small { color: var(--c-text-2); font-size: var(--fs-14); }
.dash .systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.dash .sys { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-1); border-radius: var(--r-md);
    font-size: var(--fs-14); font-weight: 500; text-align: center; line-height: 1.4; cursor: pointer;
    transition: background-color var(--t-fast) var(--ease-out); }
.dash .sys:hover { background: var(--c-surface); }
.dash .sys .ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-primary); }

/* ================= تبلت (≥ ۷۶۸) ================= */
@media (min-width: 768px) {
    .dash .today { padding: var(--sp-6) var(--sp-6) var(--sp-5); }
    .dash .hello h1 { font-size: var(--fs-32); }
    .dash .clock { font-size: var(--fs-32); }
    .dash .track { height: 96px; }
    .dash .rail, .dash .tick { height: 72px; }
    .dash .hour { top: 78px; }
    .dash .hour.odd { display: block; }
    .dash .now { height: 86px; }
    .dash .meet { top: 10px; height: 52px; padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); }
    .dash .meet b, .dash .meet span { display: block; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dash .meet b { font-size: var(--fs-14); line-height: 1.5; }
    .dash .meet span { font-size: var(--fs-12); }
    .dash .agenda { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .dash .todo li { flex-wrap: nowrap; }
    .dash .todo-body { flex: 1 1 auto; }
    .dash .todo li .act { margin-inline-start: 0; }
    .dash .systems { grid-template-columns: repeat(6, 1fr); }
}

/* ================= دسکتاپ (≥ ۱۰۲۴) ================= */
@media (min-width: 1024px) {
    .dash .dash-row { grid-template-columns: 1.45fr 1fr; gap: var(--sp-5); align-items: start; }
    .dash .week { display: grid; grid-template-columns: repeat(7, 1fr); }
    .dash .day { display: block; min-height: 136px; padding: var(--sp-3) var(--sp-2); }
    .dash .day + .day { border-top: none; border-right: 1px solid var(--c-border); }
    .dash .day h3 { width: auto; margin-bottom: var(--sp-2); }
    .dash .day.is-today { box-shadow: inset 0 3px 0 var(--c-primary); }
    .dash .chip { font-size: var(--fs-12); }
    .dash .chip > a { display: block; min-height: 24px; }
}

/* ================= کاهش حرکت ================= */
@media (prefers-reduced-motion: reduce) {
    .dash *, .dash *::before, .dash *::after { transition: none !important; animation: none !important; }
    .dash .act:active { transform: none; }
}

/* =====================================================================
   اجزای سرآغاز سامانه‌ها (کیت)
   ===================================================================== */

/* ---- مسیرهای افقی (رزرو اتاق: اتاق×ساعت؛ منابع انسانی: رویداد×روز) ---- */
.dash .lane { display: flex; align-items: stretch; }
.dash .lane-label { width: 96px; flex-shrink: 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-2); font-size: var(--fs-14); font-weight: 700; line-height: 1.4; }
.dash .lane-label small { display: block; font-weight: 400; font-size: var(--fs-12); color: var(--c-hero-text-2); }
.dash .lane-label .free { display: inline-block; margin-top: 2px; font-size: var(--fs-12); font-weight: 700; color: var(--c-on-now); background: var(--c-now); padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; }
.dash .lane-area { flex: 1; position: relative; min-height: 48px; border-bottom: 1px solid rgba(255,255,255,.10);
    background-image: repeating-linear-gradient(to left, rgba(255,255,255,.07) 0 1px, transparent 1px 10%); }
.dash .lane:first-child .lane-area { border-top: 1px solid rgba(255,255,255,.10); }
.dash .lane-area .elapsed { position: absolute; inset-block: 0; right: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px); }
.dash .gb { position: absolute; top: 10px; height: 28px; border-radius: 6px; overflow: hidden; z-index: 2; padding: 0 var(--sp-2);
    display: flex; align-items: center; background: rgba(255,255,255,.18); color: #fff; font-size: var(--fs-12); }
.dash .gb b { display: none; position: relative; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash .gb.mine { background: var(--c-primary-strong); }
.dash .gb.done { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: var(--c-hero-text-2); }
.dash .gb .past { position: absolute; inset-block: 0; right: 0; background: rgba(20,4,50,.35); }
.dash .nowline { position: absolute; inset-block: 0; border-right: 2px solid var(--c-now); z-index: 1; }
.dash .nowline em { position: absolute; top: -30px; right: -22px; font-style: normal; font-size: var(--fs-12); font-weight: 700; color: var(--c-on-now); background: var(--c-now); padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; }
.dash .lanes.has-now { margin-top: var(--sp-6); }
.dash .axis { position: relative; height: 26px; margin-right: 96px; }
.dash .axis span { position: absolute; top: 6px; transform: translateX(50%); font-size: var(--fs-12); color: var(--c-hero-text-2); white-space: nowrap; }
.dash .axis span.odd { display: none; }
.dash .fri { position: absolute; inset-block: 0; background: rgba(255,255,255,.05); }
.dash .ev { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px -7px 0 0; border-radius: 50%; border: 2px solid var(--c-hero); }
.dash .ev.k-eval { background: #c78bff; } .dash .ev.k-start { background: var(--c-now); } .dash .ev.k-end { background: #ff6b83; border-radius: 3px; } .dash .ev.k-bday { background: #3df1fd; }

/* ---- راهنما و فهرست داخل سرآغاز ---- */
.dash .hero-legend { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-12); color: var(--c-hero-text-2); margin-top: var(--sp-3); }
.dash .hero-legend span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.dash .hero-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dash .hero-list { margin-top: var(--sp-3); }
.dash .hero-list li { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-14); }
.dash .hero-list .k { font-weight: 700; min-width: 96px; color: var(--c-hero-text-2); }
.dash .hero-list .v { margin-inline-start: auto; font-size: var(--fs-12); font-weight: 700; padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; color: var(--c-on-now); background: var(--c-now); }
.dash .hero-list .v.warn { color: #5c0716; background: #ff97a8; }
.dash .hero-list .v.plain { color: var(--c-hero-text-2); background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* ---- مسیر تأیید (خرید) ---- */
.dash .pipeline { display: flex; flex-direction: column; position: relative; }
.dash .pipeline::before { content: ''; position: absolute; top: 24px; bottom: 24px; right: 21px; width: 2px; background: rgba(255,255,255,.25); }
.dash .stage { position: relative; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-1) 0; }
.dash .node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: var(--fs-16); font-weight: 800;
    background: #2d0f6e; border: 2px solid rgba(255,255,255,.35); }
.dash .st-name { flex: 1; font-size: var(--fs-14); font-weight: 700; }
.dash .st-amt { font-size: var(--fs-12); color: var(--c-hero-text-2); }
.dash .stage.you .node { background: var(--c-primary-strong); border-color: var(--c-now); box-shadow: 0 0 0 4px rgba(104,234,125,.25); }
.dash .stage.empty .node, .dash .stage.empty .st-name { opacity: .55; }
.dash .stage.done .node { background: var(--c-now); color: var(--c-on-now); border-color: var(--c-now); }
.dash .you-tag { font-size: var(--fs-12); font-weight: 700; color: var(--c-on-now); background: var(--c-now); padding: 0 var(--sp-2); border-radius: 99px; white-space: nowrap; }

/* ---- نوار ماه‌های سال (مالی) ---- */
.dash .months { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.dash .mo { border-radius: var(--r-md); padding: var(--sp-2) var(--sp-1); min-height: 64px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.dash .mo b { display: block; font-size: var(--fs-14); }
.dash .mo span { font-size: var(--fs-12); color: var(--c-hero-text-2); }
.dash .mo.done { background: #7a1cff; border-color: transparent; }
.dash .mo.done span { color: #fff; }
.dash .mo.partial { background: rgba(255,107,131,.16); border: 1.5px solid #ff6b83; }
.dash .mo.partial span { color: #ffd2d9; font-weight: 700; }
.dash .mo.current { border: 1.5px dashed var(--c-now); }
.dash .mo.current span { color: var(--c-now); font-weight: 700; }
.dash .mo.future { opacity: .55; }

/* ---- تابلوی کاندیداها (جذب): موبایل = فهرست خلاصه ---- */
.dash .board { display: none; }
.dash .bh { font-size: var(--fs-12); color: var(--c-hero-text-2); text-align: center; }
.dash .bj b { display: block; font-size: var(--fs-14); }
.dash .bj small { font-size: var(--fs-12); color: var(--c-hero-text-2); }
.dash .bc { border-radius: var(--r-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); min-height: 56px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.dash .bc b { font-size: var(--fs-16); font-weight: 800; }
.dash .dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; max-width: 60px; }
.dash .dots i { width: 7px; height: 7px; border-radius: 50%; background: #c78bff; }
.dash .bc.zero { opacity: .45; }
.dash .bc.new { border: 1.5px solid var(--c-now); background: rgba(104,234,125,.10); }
.dash .bc.new .dots i, .dash .bc.hired .dots i { background: var(--c-now); }
.dash .bc.late { border: 1.5px solid #ff6b83; background: rgba(255,107,131,.12); }
.dash .bc.hired { background: rgba(104,234,125,.16); }

/* ---- ترکیب وضعیت (اموال) ---- */
.dash .bigbar { display: flex; gap: 2px; height: 20px; }
.dash .bigbar i, .dash .cbar i { display: block; height: 100%; min-width: 3px; }
.dash .bigbar i:first-child, .dash .cbar i:first-child { border-radius: 0 99px 99px 0; }
.dash .bigbar i:last-child, .dash .cbar i:last-child { border-radius: 99px 0 0 99px; }
.dash i.s-assigned { background: #a24bff; }
.dash i.s-stock { background: var(--c-now); }
.dash i.s-repair { background: repeating-linear-gradient(45deg, #ff6b83 0 5px, #ffb3c0 5px 9px); }
.dash i.s-retired { background: rgba(255,255,255,.45); }
.dash .biglabels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-4); margin: var(--sp-3) 0 var(--sp-4); }
.dash .bl b { display: block; font-size: var(--fs-24); font-weight: 800; line-height: 1.3; }
.dash .bl span { font-size: var(--fs-12); color: var(--c-hero-text-2); }
.dash .cats { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.dash .cr { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-14); }
.dash .cn { width: 88px; flex-shrink: 0; }
.dash .cbar { flex: 1; display: flex; gap: 2px; height: 10px; }
.dash .ct { width: 36px; text-align: left; color: var(--c-hero-text-2); font-size: var(--fs-12); }

/* ---- اجزای بخش‌های روشن ---- */
.dash .tag { display: inline-block; font-size: var(--fs-12); font-weight: 700; padding: 2px var(--sp-2); border-radius: 99px; white-space: nowrap; }
.dash .tag.violet { background: var(--c-tint); color: var(--c-primary); }
.dash .tag.green { background: #e6fbe9; color: var(--c-success); }
.dash .tag.cyan { background: var(--c-info-wash); color: var(--c-info); }
.dash .tag.red { background: #fff1f3; color: var(--c-danger); }
.dash .tag.grey { background: #f0eef4; color: var(--c-text-2); }
.dash .tbl-wrap { overflow-x: auto; }
.dash .tbl { font-size: var(--fs-14); }
.dash .tbl th { text-align: right; font-weight: 700; color: var(--c-text-2); font-size: var(--fs-12); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-border); white-space: nowrap; }
.dash .tbl td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.dash .tbl tr:last-child td { border-bottom: 0; }
.dash .tbl .hide-m { display: none; }
.dash .feed li { display: flex; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-14); align-items: flex-start; }
.dash .feed li + li { border-top: 1px solid var(--c-border); }
.dash .feed .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); margin-top: 7px; flex-shrink: 0; }
.dash .feed b { display: block; }
.dash .feed a { display: inline-flex; align-items: center; min-height: 44px; }
.dash .feed a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dash .board-legend { display: none; }
.dash .feed small { display: block; color: var(--c-text-2); font-size: var(--fs-14); }
.dash .mini { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--c-border); font-size: var(--fs-14); color: var(--c-text-2); }
.dash .mini b { font-size: var(--fs-16); color: var(--c-text); font-weight: 800; }
.dash .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

@media (min-width: 768px) {
    .dash .lane-label { width: 168px; padding-left: var(--sp-3); }
    .dash .lane-area { min-height: 56px; }
    .dash .gb { top: 10px; height: 36px; font-size: var(--fs-12); }
    .dash .gb b { display: block; }
    .dash .axis { margin-right: 168px; }
    .dash .axis span.odd { display: block; }
    .dash .pipeline { flex-direction: row; justify-content: space-between; }
    .dash .pipeline::before { top: 27px; bottom: auto; right: 6%; left: 6%; width: auto; height: 2px; }
    .dash .stage { flex: 1; flex-direction: column; text-align: center; gap: var(--sp-1); }
    .dash .node { width: 56px; height: 56px; font-size: var(--fs-18); }
    .dash .st-name { flex: none; }
    .dash .months { grid-template-columns: repeat(6, 1fr); }
    .dash .biglabels { grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--sp-6); }
    .dash .cn { width: 120px; }
    .dash .tbl .hide-m { display: table-cell; }
    .dash .feed a { min-height: 24px; }
}
@media (min-width: 1024px) {
    .dash .months { grid-template-columns: repeat(12, 1fr); }
    .dash .board { display: grid; grid-template-columns: 168px repeat(6, 1fr); gap: var(--sp-2); }
    /* روی دسکتاپ فهرست متنی فقط برای صفحه‌خوان (تابلو تصویری aria-hidden است) */
    .dash .board + .hero-list.m-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
    .dash .board-legend { display: flex; }
}
