/* ============================================================
   کارنگار — تم ماژول «جذب و استخدام» هم‌تراز با پیشخوان منابع انسانی
   فقط وقتی html.kx-host فعال است (کاربر واردشده روی صفحات کارکنان).
   اصل: رفتار و ساختار صفحات جذب حفظ می‌شود؛ فقط ظاهر به توکن‌های
   مشترک (tokens.css) نزدیک می‌شود.
   ============================================================ */

/* ---------- ۱) نگاشت متغیرهای قدیمی جذب به توکن‌های مشترک */
:root.kx-host{
  --primary:var(--p);--primary-dark:var(--p-d);--primary-rgb:var(--p-rgb);
  --body-bg:var(--bg);--card-bg:var(--surface);--input-bg:var(--surface);
  --border:var(--line);--border-solid:var(--line);
  --text:var(--ink);--text-light:var(--mut);
  --nav-hover:var(--hover);--nav-active:var(--p-soft);
  --dot-color:transparent
}
html.kx-host.theme-dark{
  --bg:#0e1512;--surface:#151f1a;--sunk:#121b16;--line:#24332b;--line2:#1c2922;--hover:#1b2721;
  --ink:#e2ebe5;--ink2:#c3d0c8;--mut:#93a69a;--faint:#6c7f74;
  --p:#3aa874;--p-d:#7fd1a7;--p-soft:rgba(58,168,116,.14);--p-ring:rgba(58,168,116,.22);--p-rgb:58,168,116;--on-p:#06140d
}

/* ---------- ۲) چیدمان: سربرگ قدیمی پنهان، پوستهٔ مشترک جای آن */
html.kx-host header.header,html.kx-host .kgr-orb,html.kx-host body::after{display:none!important}
html.kx-host body{background:var(--bg)!important;background-image:none!important;color:var(--ink)!important;padding:0!important;margin:0!important}
html.kx-host body>.bar{margin-right:var(--side)}
html.kx-host main.content,html.kx-host body>footer,html.kx-host body>.shell.trash-shell{margin-right:var(--side)}
html.kx-host .trash-shell>main.content{margin-right:0!important}
html.kx-host .shell:not(.trash-shell){height:calc(100vh - var(--bar) - 38px)!important;max-height:calc(100vh - var(--bar) - 38px)!important}
html.kx-host .trash-shell{min-height:calc(100vh - var(--bar) - 38px)!important;background:var(--bg)!important}
@media(min-width:961px){
  html.kx-host .shell>.sidebar{width:232px!important;flex:0 0 232px!important}
  html.kx-host .trash-shell main.content .wrap{width:auto!important;max-width:none!important}
  html.kx-host .shell .content-area thead th{padding:10px 8px!important}
  html.kx-host .shell .content-area tbody td{padding:9px 8px!important}
}
html.kx-host body>footer{background:var(--surface)!important;border-top:1px solid var(--line)!important;color:var(--mut)!important;font-size:12px!important;height:38px;display:flex;align-items:center;justify-content:center;gap:8px}
html.kx-host #idle-t{margin-right:var(--side)}
@media(max-width:960px){
  html.kx-host body>.bar,html.kx-host main.content,html.kx-host body>footer,html.kx-host body>.shell.trash-shell,html.kx-host #idle-t{margin-right:0}
  html.kx-host .shell{height:auto!important;max-height:none!important;min-height:calc(100vh - var(--bar))!important}
  html.kx-host #filterToggleBar{top:var(--bar)!important}
  html.kx-host .rep-wrap .filter-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:stretch!important}
  html.kx-host .rep-wrap .filter-card>*,html.kx-host .rep-wrap .filter-card .cal-wrap,html.kx-host .rep-wrap .filter-card .cal-inp-r,html.kx-host .rep-wrap .filter-card .btn-filter,html.kx-host .rep-wrap .filter-card .btn-clear,html.kx-host .rep-wrap .filter-card select,html.kx-host .rep-wrap .filter-card input[type=text]{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;height:38px!important;min-height:38px!important;max-height:38px!important}
  html.kx-host .rep-wrap .filter-card select[name=per_page]{grid-column:1/-1}
  html.kx-host .um-hero-right{display:flex!important;gap:8px!important;width:100%!important}
  html.kx-host .um-hero-right .btn-action{flex:1 1 0!important;justify-content:center!important;width:auto!important}
}

/* ---------- ۳) سطوح و کارت‌ها */
html.kx-host .form-card,html.kx-host .group-card,html.kx-host .stat-card,html.kx-host .about-card,html.kx-host .u-card,html.kx-host .t-card,html.kx-host .log-card,
html.kx-host .tbl-card,html.kx-host .table-wrap,html.kx-host .modal-box,html.kx-host .filter-card,html.kx-host .pg-row,html.kx-host .rep-tabs,
html.kx-host .case-card,html.kx-host .u-card-new,html.kx-host .gf-card,html.kx-host .info-box,html.kx-host .card,html.kx-host .item,html.kx-host .filter{
  background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh)!important;color:var(--ink)!important
}
html.kx-host .toolbar,html.kx-host #filterToggleBar,html.kx-host .pg-bar{background:var(--surface)!important;border-color:var(--line)!important;box-shadow:none!important}
html.kx-host .um-hero,html.kx-host .gf-hero,html.kx-host .about-hero{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh)!important}
html.kx-host .um-hero *,html.kx-host .gf-hero *,html.kx-host body.staff-frame .um-hero-title,html.kx-host body.staff-frame .gf-hero-title{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html.kx-host .um-hero-sub,html.kx-host .gf-hero-sub{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html.kx-host .um-hero-title,html.kx-host .gf-hero-title,html.kx-host .um-wrap .um-hero .um-hero-title,html.kx-host body .um-hero .um-hero-title{font-size:20px!important;font-weight:700!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html.kx-host .um-wrap .um-hero .um-hero-sub,html.kx-host body .um-hero .um-hero-sub{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html.kx-host .um-hero .btn-action,html.kx-host .gf-hero .btn-action,html.kx-host .btn-action{height:var(--h)!important;padding:0 14px!important;border-radius:var(--r)!important;display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;font-weight:700!important;box-shadow:none!important;transform:none!important;text-decoration:none!important}
html.kx-host .um-hero .btn-action.btn-primary,html.kx-host .btn-action.btn-primary{background:var(--p)!important;border:1px solid var(--p)!important;color:var(--on-p)!important;-webkit-text-fill-color:var(--on-p)!important}
html.kx-host .um-hero .btn-action.btn-purple,html.kx-host .um-hero .btn-action.btn-trash-hero,html.kx-host .btn-action.btn-purple,html.kx-host .btn-action.btn-trash-hero{background:var(--surface)!important;border:1px solid var(--line)!important;color:var(--ink2)!important;-webkit-text-fill-color:var(--ink2)!important}
html.kx-host .um-hero .btn-action:hover{filter:brightness(.97)}
html.kx-host .um-hero [style*="rgba(255,255,255"]{background:var(--sunk)!important;border-color:var(--line)!important;color:var(--mut)!important}
html.kx-host .btn-row{height:var(--hs)!important;padding:0 10px!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;text-decoration:none!important}
html.kx-host .btn-row-edit{background:var(--surface)!important;border:1px solid var(--line)!important;color:var(--ink2)!important}
html.kx-host .btn-row-del{background:var(--surface)!important;border:1px solid var(--line)!important;color:var(--bad)!important}
html.kx-host .btn-row-del:hover{background:var(--bad-soft)!important;border-color:transparent!important}
html.kx-host .role-chip,html.kx-host .status-chip,html.kx-host .perm-chip{border-radius:12px!important;font-size:11.5px!important;font-weight:700!important;border:0!important}
html.kx-host .status-chip.status-active{background:var(--ok-soft)!important;color:var(--ok)!important}
html.kx-host .status-chip.status-inactive{background:var(--line2)!important;color:var(--mut)!important}
html.kx-host .role-chip{background:var(--p-soft)!important;color:var(--p-d)!important}
html.kx-host .um-table-wrap{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh)!important}
html.kx-host .rep-hdr{color:var(--ink)!important;font-size:18px!important;font-weight:700!important}

/* ---------- ۴) جدول‌ها: سرستون ملایم به‌جای گرادیان تیره */
html.kx-host table{background:var(--surface)!important;border-collapse:collapse}
html.kx-host thead tr,html.kx-host thead th,html.kx-host #mt thead tr,html.kx-host #mt thead th{background:var(--sunk)!important;background-image:none!important;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;font-size:12px!important;font-weight:700!important;border-bottom:1px solid var(--line)!important;text-shadow:none!important}
html.kx-host thead th input[type=checkbox]{accent-color:var(--p)}
html.kx-host tbody td{border-bottom:1px solid var(--line2)!important;color:var(--ink)!important;font-size:13px!important}
html.kx-host tbody tr:hover td{background:var(--hover)!important}
html.kx-host tbody tr.sel-r td,html.kx-host tbody tr.sel-log td{background:var(--p-soft)!important}
html.kx-host .pg-bar button,html.kx-host .pg-bar a,html.kx-host .pg-btn{background:var(--surface)!important;color:var(--ink2)!important;border:1px solid var(--line)!important;border-radius:var(--r)!important;height:var(--hs)!important;min-height:var(--hs)!important;padding:0 10px!important;font-size:12px!important}
html.kx-host .pg-btn.cur{background:var(--p)!important;color:var(--on-p)!important;border-color:var(--p)!important}

/* ---------- ۵) نوار کناری پوشه‌ها (داخل ماژول جذب) */
html.kx-host .shell>.sidebar,html.kx-host .sidebar{background:var(--surface)!important;border-left:1px solid var(--line)!important;box-shadow:none!important}
html.kx-host .sb-header{background:var(--surface)!important;color:var(--ink)!important;border-bottom:1px solid var(--line2)!important;padding:14px 14px 12px!important}
html.kx-host .sb-header *{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html.kx-host .sb-avatar{border:1px solid var(--line)!important;box-shadow:none!important;border-radius:10px!important}
html.kx-host .sb-role,html.kx-host .sb-sl{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;opacity:1!important}
html.kx-host .sb-stat{background:var(--sunk)!important;border:1px solid var(--line2)!important;border-radius:var(--r)!important}
html.kx-host .sb-sv{color:var(--p-d)!important;-webkit-text-fill-color:var(--p-d)!important;font-feature-settings:"tnum"}
html.kx-host .nav-item,html.kx-host .sidebar a.nav-trash{color:var(--ink2)!important;border-radius:var(--r)!important;margin:1px 8px!important;background:transparent!important;border:0!important;font-size:13.5px!important}
html.kx-host .nav-item:hover,html.kx-host .sidebar a.nav-trash:hover{background:var(--hover)!important}
html.kx-host .nav-item.active{background:var(--p-soft)!important;color:var(--p-d)!important;font-weight:700!important;box-shadow:none!important}
html.kx-host .nav-item .nav-icon{color:var(--mut)!important}
html.kx-host .nav-item.active .nav-icon{color:var(--p)!important}
html.kx-host .nav-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;box-sizing:border-box!important;overflow:visible!important;background:var(--line2)!important;color:var(--mut)!important;border-radius:10px!important;min-width:22px!important;height:20px!important;padding:0 6px!important;font-size:11px!important;font-weight:700!important;line-height:1!important;font-feature-settings:"tnum"}
html.kx-host .trash-shell .nav-badge{animation:none!important;opacity:1!important;transform:none!important}
html.kx-host .nav-item.active .nav-badge{background:var(--p)!important;color:var(--on-p)!important}
html.kx-host .nav-sep{border-color:var(--line2)!important;background:var(--line2)!important}
html.kx-host .pane-toggle{background:var(--sunk)!important;color:var(--mut)!important;border-top:1px solid var(--line2)!important}
html.kx-host .sb-footer{background:var(--surface)!important;border-top:1px solid var(--line2)!important}

/* ---------- ۶) دکمه‌ها: یک خانوادهٔ واحد */
html.kx-host .btn-add,html.kx-host .btn-submit,html.kx-host .btn-save,html.kx-host .btn-filter,html.kx-host .btn-send,html.kx-host button.btn-primary,html.kx-host .btn-new,html.kx-host .um-add-btn,html.kx-host .filter button:not(.clear){
  background:var(--p)!important;color:var(--on-p)!important;-webkit-text-fill-color:var(--on-p)!important;border:1px solid var(--p)!important;border-radius:var(--r)!important;box-shadow:none!important;font-weight:700!important;transform:none!important
}
html.kx-host .btn-add:hover,html.kx-host .btn-submit:hover,html.kx-host .btn-save:hover,html.kx-host .btn-filter:hover,html.kx-host .btn-send:hover{background:var(--p-d)!important;border-color:var(--p-d)!important}
html.kx-host .btn-rf,html.kx-host .btn-clear,html.kx-host .btn-cancel,html.kx-host .btn-cancel-modal,html.kx-host .btn-edit,html.kx-host .btn-act,html.kx-host .btn-view,html.kx-host .btn-restore,html.kx-host .clear,html.kx-host .date-toggle-btn,html.kx-host #filterToggle,html.kx-host .mob-filter-btn,html.kx-host .rep-tab,html.kx-host .btn-trash-link,html.kx-host .pane-btn,html.kx-host .btn-sm:not(.btn-del):not(.btn-pdel):not(.btn-deact){
  background:var(--surface)!important;color:var(--ink2)!important;-webkit-text-fill-color:var(--ink2)!important;border:1px solid var(--line)!important;border-radius:var(--r)!important;box-shadow:none!important;font-weight:700!important;transform:none!important;text-decoration:none!important
}
html.kx-host .btn-rf:hover,html.kx-host .btn-cancel:hover,html.kx-host .btn-view:hover,html.kx-host .btn-edit:hover,html.kx-host .btn-act:hover,html.kx-host .date-toggle-btn:hover,html.kx-host #filterToggle:hover,html.kx-host .rep-tab:hover{background:var(--hover)!important}
html.kx-host .rep-tab.active{background:var(--p-soft)!important;color:var(--p-d)!important;-webkit-text-fill-color:var(--p-d)!important;border-color:transparent!important}
html.kx-host .btn-del,html.kx-host .btn-pdel,html.kx-host .btn-deact,html.kx-host .card-del-btn{background:var(--surface)!important;color:var(--bad)!important;-webkit-text-fill-color:var(--bad)!important;border:1px solid var(--line)!important;border-radius:var(--r)!important;box-shadow:none!important;transform:none!important}
html.kx-host .btn-del:hover,html.kx-host .btn-pdel:hover,html.kx-host .btn-deact:hover{background:var(--bad-soft)!important;border-color:transparent!important}
html.kx-host .btn-sm{height:var(--hs)!important;min-height:var(--hs)!important;padding:0 10px!important;font-size:12px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:6px!important}
html.kx-host .btn-view{width:auto!important;min-width:76px!important}
html.kx-host .act-btns,html.kx-host .row-actions,html.kx-host .u-card-actions,html.kx-host .t-card-actions{display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
html.kx-host form.sf{display:inline-flex!important;align-items:center!important;gap:6px!important}
html.kx-host form.sf select{height:var(--hs)!important;border-radius:6px!important;font-size:12px!important;padding:0 24px 0 8px!important}
html.kx-host form.sf button{height:var(--hs)!important;min-height:var(--hs)!important;padding:0 10px!important;font-size:12px!important;border-radius:6px!important;background:var(--surface)!important;color:var(--ink2)!important;-webkit-text-fill-color:var(--ink2)!important;border:1px solid var(--line)!important;box-shadow:none!important}
html.kx-host form.sf button:hover{background:var(--hover)!important}

/* ---------- ۷) ورودی‌ها و فیلترها */
html.kx-host input[type=text],html.kx-host input[type=password],html.kx-host input[type=email],html.kx-host input[type=tel],html.kx-host input[type=number],html.kx-host input[type=search],html.kx-host textarea,html.kx-host select,html.kx-host .form-input,html.kx-host .form-select,html.kx-host .dcal input{
  background:var(--surface)!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:var(--r)!important;box-shadow:none!important
}
html.kx-host input:focus,html.kx-host textarea:focus,html.kx-host select:focus{border-color:var(--p)!important;box-shadow:0 0 0 3px var(--p-ring)!important;outline:0!important}
html.kx-host input::placeholder,html.kx-host textarea::placeholder{color:var(--faint)!important;-webkit-text-fill-color:var(--faint)!important}
html.kx-host .toolbar{border-bottom:1px solid var(--line2)!important}
html.kx-host .toolbar input,html.kx-host .toolbar select,html.kx-host .toolbar .btn-rf,html.kx-host .toolbar .date-toggle-btn{height:var(--h)!important;min-height:var(--h)!important;font-size:13px!important}
html.kx-host #filterToggleBar{border-bottom:1px solid var(--line2)!important}
html.kx-host .cal-drop,html.kx-host .mini-cal,html.kx-host .date-section{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh2)!important}
html.kx-host .cd-grid .d.sel,html.kx-host .mc-grid .d.sel{background:var(--p)!important;color:var(--on-p)!important}
html.kx-host .cd-grid .d.td,html.kx-host .mc-grid .d.today{box-shadow:inset 0 0 0 1px var(--p)!important;background:transparent!important;color:var(--ink)!important}
html.kx-host .cd-grid .d.in-range{background:var(--p-soft)!important}

/* ---------- ۸) وضعیت‌ها، برچسب‌ها و مدال */
html.kx-host .st{border:0!important;font-weight:700!important}
html.kx-host .st-new{background:var(--info-soft)!important;color:var(--info)!important}
html.kx-host .st-viewed{background:var(--warn-soft)!important;color:var(--warn)!important}
html.kx-host .st-reviewed{background:var(--p-soft)!important;color:var(--p-d)!important}
html.kx-host .st-rejected{background:var(--bad-soft)!important;color:var(--bad)!important}
html.kx-host .st-approved{background:var(--ok-soft)!important;color:var(--ok)!important}
html.kx-host .st-archived{background:var(--line2)!important;color:var(--mut)!important}
html.kx-host .role-tag,html.kx-host .perm-badge,html.kx-host .inactive-badge,html.kx-host .tag{border-radius:12px!important;font-weight:700!important;font-size:11.5px!important}
html.kx-host .modal-overlay{background:rgba(12,24,18,.42)!important}
html.kx-host .modal-box{border-radius:12px!important;box-shadow:var(--sh2)!important}
html.kx-host .modal-title{color:var(--ink)!important}
html.kx-host #k-confirm-box{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:var(--sh2)!important}
html.kx-host #k-confirm-yes{background:var(--p)!important;color:var(--on-p)!important;border-radius:var(--r)!important;border:0!important}
html.kx-host #k-confirm-no{background:var(--surface)!important;color:var(--ink2)!important;border:1px solid var(--line)!important;border-radius:var(--r)!important}
html.kx-host .flash-msg,html.kx-host #delete-notice>div,html.kx-host .viewport-notice{border-radius:var(--r)!important;box-shadow:var(--sh2)!important}

/* ---------- ۹) تایپوگرافی و ارقام */
html.kx-host body,html.kx-host body *:not(svg):not(path){font-family:var(--font)!important}
html.kx-host .logo-title,html.kx-host .form-title,html.kx-host .um-hero-title,html.kx-host .gf-hero-title{color:var(--ink)!important}
html.kx-host .cn,html.kx-host .card-cn,html.kx-host .sb-sv,html.kx-host .nav-badge,html.kx-host td,html.kx-host .when,html.kx-host .n-time,html.kx-host .log-card-time{font-feature-settings:"tnum"}
html.kx-host .shell .content-area .cn{background:var(--p-soft)!important;color:var(--p-d)!important;-webkit-text-fill-color:var(--p-d)!important;border:0!important;border-radius:6px!important;font-weight:700!important}

/* ---------- ۱۰) صفحات متمرکز (کاربران، گزارش، لینک، پروفایل، پرونده) */
html.kx-host body.staff-frame main.content .form-wrap,html.kx-host main .gf-wrap,html.kx-host .wrap,html.kx-host .rep-wrap,html.kx-host .um-wrap{margin-top:24px!important}

/* ---------- ۱۱) ارسال لینک و شماره پرونده */
html.kx-host .sl-hero{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh)!important;color:var(--ink)!important}
html.kx-host .sl-hero *{color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important}
html.kx-host .sl-hero-sub{color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
html.kx-host .sl-hero-icon{display:none!important}
html.kx-host .sl-card{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;box-shadow:var(--sh)!important}
html.kx-host .sl-card-title{color:var(--ink)!important;font-size:15px!important;font-weight:700!important}
html.kx-host .sl-card-sub,html.kx-host .form-hint{color:var(--mut)!important}
html.kx-host .preview-card{background:var(--sunk)!important;border:1px solid var(--line2)!important;border-radius:var(--r)!important;color:var(--ink2)!important}
html.kx-host .admin-chip{background:var(--p-soft)!important;color:var(--p-d)!important;border:0!important;border-radius:10px!important}
html.kx-host .btn-send,html.kx-host .btn-save-tpl,html.kx-host .case-card .save,html.kx-host button.save{background:var(--p)!important;color:var(--on-p)!important;-webkit-text-fill-color:var(--on-p)!important;border:1px solid var(--p)!important;border-radius:var(--r)!important;box-shadow:none!important;font-weight:700!important;height:var(--h)!important;min-height:var(--h)!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html.kx-host .btn-send:hover,html.kx-host .btn-save-tpl:hover,html.kx-host .case-card .save:hover{background:var(--p-d)!important;border-color:var(--p-d)!important}
html.kx-host .btn-send{width:100%!important}
html.kx-host .case-link{color:var(--p-d)!important}
html.kx-host .numbers-count{background:var(--p-soft)!important;color:var(--p-d)!important;border-radius:10px!important;font-feature-settings:"tnum"}

/* ---------- ۱۲) دور چهارم: نوار پوشه‌ها، فرم وضعیت، دربارهٔ سامانه */
html.kx-host .sidebar .sb-user,html.kx-host .pane-toggle,html.kx-host .pane-btn{display:none!important}
@media(min-width:961px){
  html.kx-host .sb-header{padding:12px 12px 10px!important}
  html.kx-host .sb-stats{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:6px!important;margin:0!important}
  html.kx-host .sb-stat{padding:7px 4px!important;text-align:center!important}
  html.kx-host .sb-sv{font-size:15px!important;font-weight:700!important;line-height:1.3!important}
  html.kx-host .sb-sl{font-size:11px!important}
}
@media(max-width:960px){html.kx-host .sb-header{display:none!important}}
html.kx-host .sidebar a.nav-trash,html.kx-host .sidebar a.nav-trash:link{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;padding:11px 14px!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;font-size:13.5px!important;text-align:right!important;text-decoration:none!important;color:var(--ink2)!important;border-radius:var(--r)!important;margin:1px 8px!important;border:0!important;background:transparent!important}
html.kx-host .sidebar a.nav-trash .nav-icon{color:var(--mut)!important;display:inline-flex!important}
html.kx-host .sidebar a.nav-trash .nav-icon svg{width:18px!important;height:18px!important}
html.kx-host .sidebar a.nav-trash .nav-label{flex:1!important;font-size:inherit!important;text-align:right!important;display:block!important}
html.kx-host .sidebar a.nav-trash .nav-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 6px!important}
html.kx-host .sidebar a.nav-trash:hover{background:var(--hover)!important}
html.kx-host .sidebar a.nav-trash.active,html.kx-host .trash-shell .sidebar a.nav-trash{background:var(--p-soft)!important;color:var(--p-d)!important;font-weight:700!important}
html.kx-host .trash-shell .sidebar a.nav-trash .nav-icon{color:var(--p)!important}
html.kx-host .trash-shell .sidebar a.nav-trash .nav-badge{background:var(--p)!important;color:var(--on-p)!important}
@media(max-width:960px){
  html.kx-host .sidebar a.nav-trash{flex-direction:column!important;justify-content:center!important;gap:2px!important;padding:8px 6px!important;min-width:74px!important;width:auto!important;font-size:11px!important;margin:0!important}
  html.kx-host .sidebar a.nav-trash .nav-label{text-align:center!important}
}
/* فرم «وضعیت فعلی» در پروندهٔ متقاضی */
html.kx-host form[action$="/set-status"]{gap:10px!important;align-items:center!important}
html.kx-host form[action$="/set-status"] label{font-size:13px!important;font-weight:700!important;color:var(--ink2)!important}
html.kx-host form[action$="/set-status"] select[name=status]{height:var(--h)!important;min-height:var(--h)!important;min-width:170px!important;padding:0 32px 0 12px!important;border:1px solid var(--line)!important;border-radius:var(--r)!important;background:var(--surface)!important;color:var(--ink)!important;font-size:13px!important;font-weight:700!important;appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7f74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important}
html.kx-host form[action$="/set-status"] button[type=submit]{height:var(--h)!important;min-height:var(--h)!important;padding:0 18px!important;border-radius:var(--r)!important;background:var(--p)!important;color:var(--on-p)!important;-webkit-text-fill-color:var(--on-p)!important;border:1px solid var(--p)!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;cursor:pointer}
html.kx-host form[action$="/set-status"] button[type=submit]:hover{background:var(--p-d)!important;border-color:var(--p-d)!important}
html.kx-host .kb-root .sec-title.collapsible{font-size:14px!important;font-weight:700!important;color:var(--ink)!important}
/* دربارهٔ سامانه: سربرگ لوگو */
html.kx-host .about-hero{position:relative!important;overflow:hidden!important;border-radius:var(--r2)!important;border:1px solid var(--line)!important;box-shadow:var(--sh)!important;padding:40px 24px 34px!important;text-align:center!important;color:#fff!important;
  background:radial-gradient(900px 300px at 85% -40%,rgba(255,255,255,.22),transparent 60%),radial-gradient(600px 260px at 10% 120%,rgba(255,255,255,.14),transparent 60%),linear-gradient(135deg,var(--p-d) 0%,var(--p) 55%,#1c9a6b 100%)!important}
html.kx-host .about-hero::before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;border-radius:0!important;top:0!important;left:0!important;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='54'/%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3C/g%3E%3C/svg%3E") center/120px 120px!important;opacity:1!important;pointer-events:none!important}
html.kx-host .about-hero::after{display:none!important}
html.kx-host .about-hero *{color:#fff!important;-webkit-text-fill-color:#fff!important;position:relative;z-index:1}
html.kx-host .about-hero .hero-logo{width:84px!important;height:84px!important;padding:14px!important;border-radius:22px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 30px rgba(0,0,0,.18),0 0 0 6px rgba(255,255,255,.14)!important;margin-bottom:16px!important;animation:none!important;object-fit:contain!important}
html.kx-host .about-hero .hero-title{font-size:26px!important;font-weight:700!important;letter-spacing:-.2px!important;margin-bottom:6px!important}
html.kx-host .about-hero .hero-sub{font-size:14px!important;opacity:.9!important;margin-bottom:14px!important}
html.kx-host .about-hero .hero-version{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:999px!important;padding:5px 16px!important;font-size:12.5px!important;font-feature-settings:"tnum"}
html.kx-host .about-footer{background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--r2)!important;color:var(--ink2)!important}
html.kx-host .about-footer *{color:var(--ink2)!important;-webkit-text-fill-color:var(--ink2)!important}
/* پانوشت یکسان با صفحهٔ ورود */
html.kx-host body>footer,html.kx-host main.content>footer,html.kx-host footer{background:transparent!important;border:0!important;box-shadow:none!important;margin-top:20px!important;padding:14px 16px 18px!important;text-align:center!important;font-size:13px!important;line-height:1.9!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;white-space:nowrap!important;opacity:1!important}
html.kx-host footer img,html.kx-host footer .iran-flag{display:inline-block!important;width:20px!important;height:13px!important;border-radius:2px!important;vertical-align:middle!important;margin-inline-start:4px!important;margin-inline-end:0!important}
@media(max-width:640px){html.kx-host footer{font-size:11.5px!important}}
/* نتایج آزمون‌های اختصاصی در پروندهٔ متقاضی */
html.kx-host .kx-xres{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:12px}
html.kx-host .kx-xcard{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);padding:12px 14px;display:flex;flex-direction:column;gap:8px}
html.kx-host .kx-xh{display:flex;align-items:center;justify-content:space-between;gap:8px}
html.kx-host .kx-xh b{font-size:13.5px;color:var(--ink)}
html.kx-host .kx-score{display:flex;align-items:baseline;gap:6px}
html.kx-host .kx-score b{font-size:26px;font-weight:700;color:var(--p-d);font-feature-settings:"tnum"}
html.kx-host .kx-score span{font-size:12px;color:var(--mut)}
html.kx-host .kx-xmeta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:var(--mut)}
html.kx-host .kx-proc{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:11.5px;color:var(--mut);background:var(--sunk,#f3f7f5);border-radius:9px;padding:6px 10px}
html.kx-host .kx-proc .kx-warnn{color:#b4232c;font-weight:700}
html.kx-host .kx-proc .kx-okn{color:#146b45;font-weight:700}
html.kx-host .kx-dq{font-size:12px;font-weight:700;color:#b4232c;background:#fdecec;border-radius:9px;padding:6px 10px}
html.kx-host .kx-evs{display:flex;flex-direction:column;gap:3px;font-size:11px;color:var(--mut);max-height:96px;overflow:auto;padding:2px 2px 0}
html.kx-host .kx-shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px}
html.kx-host .kx-shots a{position:relative;display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line)}
html.kx-host .kx-shots img{display:block;width:100%;height:56px;object-fit:cover}
html.kx-host .kx-shots i{position:absolute;bottom:0;right:0;left:0;background:rgba(0,0,0,.55);color:#fff;font-size:9.5px;font-style:normal;text-align:center;padding:1px 2px}
html.kx-host #examModal select.modal-input{appearance:auto!important;-webkit-appearance:auto!important}
html.kx-host .kx-xres .pill{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:12px;font-size:11.5px;font-weight:700;white-space:nowrap;background:var(--line2);color:var(--mut);line-height:1}
html.kx-host .kx-xres .pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.75}
html.kx-host .kx-xres .pill.plain::before{display:none}
html.kx-host .kx-xres .pill.ok{background:var(--ok-soft);color:var(--ok)}
html.kx-host .kx-xres .pill.warn{background:var(--warn-soft);color:var(--warn)}
html.kx-host .kx-xres .pill.bad{background:var(--bad-soft);color:var(--bad)}
html.kx-host .kx-xres .pill.info{background:var(--info-soft);color:var(--info)}
html.kx-host .kx-xres .pill.p{background:var(--p-soft);color:var(--p-d)}

/* پیام‌های نتیجه (toast) و بنر نتیجهٔ ارسال پیامک در صفحات جذب */
html.kx-host .toasts{position:fixed;left:20px;bottom:20px;z-index:2147483000;display:flex;flex-direction:column;gap:8px;max-width:380px}
html.kx-host .toast{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-radius:var(--r);background:#1d2b23;color:#eef5f0!important;-webkit-text-fill-color:#eef5f0!important;font-size:13px;box-shadow:var(--sh2);line-height:1.7}
html.kx-host .toast svg{width:17px;height:17px;margin-top:2px;flex:none}
html.kx-host .toast.ok svg{color:#6fd39f}html.kx-host .toast.bad svg{color:#ff9b90}html.kx-host .toast.warn svg{color:#ffd37a}
html.kx-host.theme-dark .toast{background:#e5eee8;color:#14211a!important;-webkit-text-fill-color:#14211a!important}
html.kx-host .kx-flash{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;border-radius:var(--r);border:1px solid var(--ok);background:var(--ok-soft);color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;font-size:13px;line-height:1.8}
html.kx-host .kx-flash.bad{border-color:var(--bad);background:var(--bad-soft)}
html.kx-host .kx-flash.warn{border-color:var(--warn);background:var(--warn-soft)}
html.kx-host .kx-flash svg{width:18px;height:18px;flex:none;margin-top:3px}
html.kx-host .kx-flash.ok svg{color:var(--ok)}html.kx-host .kx-flash.bad svg{color:var(--bad)}html.kx-host .kx-flash.warn svg{color:var(--warn)}
html.kx-host .kx-flash b{font-weight:700}
html.kx-host .kx-flash .grow{flex:1}
html.kx-host .kx-flash button{border:0;background:transparent;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;cursor:pointer;font-size:16px;line-height:1;padding:2px 4px}

/* وضعیت پیامک دعوت آزمون */
html.kx-host .kx-sms{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px;padding:6px 10px;border-radius:9px;font-size:12px;background:var(--sunk,#f3f7f5);color:var(--mut,#4a7060)}
html.kx-host .kx-sms.ok{background:#e8f5ee;color:#146b45}
html.kx-host .kx-sms.bad{background:#fdecec;color:#b4232c}
html.kx-host .kx-chs{display:inline-flex;gap:4px;flex-wrap:wrap;margin-inline-start:8px;vertical-align:middle}
html.kx-host .kx-ch{font-style:normal;font-size:11px;padding:1px 8px;border-radius:999px;background:#fff;border:1px solid #cfe3d8;color:#146b45}
html.kx-host .kx-ch.no{border-color:#e5d3d3;color:#9a5b5b}
html.kx-host .kx-mini{border:1px solid currentColor;background:transparent;color:inherit;border-radius:7px;padding:3px 10px;font:inherit;font-size:11.5px;cursor:pointer;opacity:.9}
html.kx-host .kx-mini:hover{opacity:1;background:rgba(255,255,255,.5)}
html.kx-host .kx-mini:disabled{opacity:.5;cursor:default}

html.kx-host .kx-shots.two{grid-template-columns:repeat(2,minmax(0,140px))}
html.kx-host .kx-shots.two img{height:96px}
html.kx-host .kx-shots.two i{font-size:10.5px}
html.kx-host .kx-empnote{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);padding:9px 12px;margin-bottom:10px;font-size:12.5px;line-height:1.9}
html.kx-host .kx-empnote a{color:var(--p, #1f6feb);font-weight:700}
html.kx-host .kx-sheetbtn{align-self:flex-start}
html.kx-host .kx-sheet{display:flex;flex-direction:column;gap:6px}
html.kx-host .kx-q{border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:3px;font-size:12.5px;line-height:1.8}
html.kx-host .kx-q.ok{border-color:#9fd8b4;background:rgba(22,163,74,.05)}
html.kx-host .kx-q.no{border-color:#f1b2b2;background:rgba(220,38,38,.04)}
html.kx-host .kx-q b{font-size:12.5px}html.kx-host .kx-q small{font-weight:400;opacity:.7}
html.kx-host .kx-q em{font-style:normal;color:#15803d;font-weight:700}
html.kx-host .kx-q img{max-width:220px;max-height:140px;border-radius:8px;border:1px solid var(--line)}
html.kx-host .kx-na{font-style:normal;opacity:.65}

/* پنجرهٔ جزئیات آزمون (K.modal) روی صفحات جذب — app.css این‌جا بارگذاری نمی‌شود */
html.kx-host .ov{position:fixed;inset:0;z-index:2147482000;background:rgba(12,24,18,.42);display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px 16px;overflow-y:auto}
html.kx-host .mdl{width:100%;max-width:560px;background:var(--surface,#fff);border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.25);display:flex;flex-direction:column}
html.kx-host .mdl.lg{max-width:820px}
html.kx-host .mdl.sm{max-width:420px}
html.kx-host .mdl-h{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line2,#e6efe9)}
html.kx-host .mdl-h h3{flex:1;font-size:15px;font-weight:700;margin:0;color:var(--ink)}
html.kx-host .mdl-h [data-x]{border:0;background:transparent;cursor:pointer;color:var(--mut);width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
html.kx-host .mdl-h [data-x]:hover{background:var(--line2,#eef4f0)}
html.kx-host .mdl-h [data-x] svg{width:18px;height:18px}
html.kx-host .mdl-b{padding:18px}
@media(max-width:640px){html.kx-host .ov{padding:0;align-items:flex-end}html.kx-host .mdl,html.kx-host .mdl.lg{max-width:none;border-radius:14px 14px 0 0;max-height:92vh}html.kx-host .mdl-b{overflow-y:auto}}
html.kx-host .kx-sheet[hidden]{display:none!important}
html.kx-host .iv.kx-flag{color:#c0392b!important;-webkit-text-fill-color:#c0392b!important;font-weight:700}
