/* ==========================================================================
   Coject — Dashboard / Home (Opus 5.5)
   Used by: Pages/Dashboard.cshtml  (needs layout-opus.css; replaces home.css on this page)
   Source of truth: canvas "Coject Dashboard — Opus" (Main.dc.html)
     .cj-dhero       hero (same look as the Project hero: .cj-phero)
     .cj-dkpis       four KPI cards
     .cj-dprojects   recent project cards  (built by Dashboard.js → cjDash.card())
     .cj-dnotif      notifications         (built by Dashboard.js → cjDash.notification())
     .cj-dplot …     charts: stacked bars, donut, heatmap, bar lists — plain HTML/SVG, no library
     .cj-todo-sec    sections with sample data until their APIs exist
   ========================================================================== */

/* ---------- chart tokens (light / dark) ---------- */
body.cj-body {
    --cj-c-done: #09C895;
    --cj-c-review: #6F8DB9;
    --cj-c-prog: #00015D;
    --cj-c-todo: #A3A9BD;
    --cj-c-back: #D5DBE8;
    --cj-c-biz: #7FDDBE;
    --cj-c-dev: #00015D;
    --cj-h0: #EEF1F7; --cj-h1: #C4EEDF; --cj-h2: #7FDDBE; --cj-h3: #09C895; --cj-h4: #007561;
}
body.cj-body.dark {
    --cj-c-done: #00FFC3;
    --cj-c-review: #5C7BB0;
    --cj-c-prog: #8FA2FF;
    --cj-c-todo: #5A6290;
    --cj-c-back: #2B2F58;
    --cj-c-biz: #00A57E;
    --cj-c-dev: #8FA2FF;
    --cj-h0: #22254A; --cj-h1: #0D4A4B; --cj-h2: #00806A; --cj-h3: #00B98C; --cj-h4: #00FFC3;
}

.cj-dash { display: flex; flex-direction: column; gap: 24px; }
.cj-dash .cj-sk { display: inline-block; height: 14px; vertical-align: middle; }
.cj-push { margin-inline-start: auto; }

/* ---------- sidebar: keep the help box (SIDENAV adds .cj-has-proj, which hides it) ---------- */
#sideMenu.cj-has-proj:not(.closed) .cj-help-box { display: block; }
#sideMenu .cj-dash-starnav .cj-nav li > a .cj-mono { width: 22px; height: 22px; border-radius: 6px; font-size: 9.5px; }
#sideMenu .cj-dash-starnav .cj-nav li > a .cj-mono.ar { font-family: var(--cj-font-ar); font-size: 10.5px; }
#sideMenu .cj-dash-starnav .cj-nav li > a span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- top bar ---------- */
.cj-app .cj-top .cj-gsearch-li .cj-gsearch .cj-ic { width: 16px; height: 16px; color: var(--cj-t4); }
.cj-app .cj-top .cj-top-actions .cj-btn-secondary { background: transparent; border: 1.5px solid var(--cj-electric); color: var(--cj-electric); }
.cj-app .cj-top .cj-top-actions .cj-btn-secondary .cj-ic { color: var(--cj-electric); }
.cj-app .cj-top .cj-top-actions .cj-btn-secondary:hover { background: var(--cj-electric); color: #fff; }
.cj-app .cj-top .cj-top-actions .cj-btn-secondary:hover .cj-ic { color: var(--cj-neon-raw); }
body.dark .cj-app .cj-top .cj-top-actions .cj-btn-secondary { border-color: rgba(255,255,255,.55); color: #fff; }
body.dark .cj-app .cj-top .cj-top-actions .cj-btn-secondary .cj-ic { color: var(--cj-neon-raw); }

/* ---------- hero (same as project-opus.css .cj-phero) ---------- */
.cj-phero {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 22px;
    padding: 30px 32px;
    border: 1px solid var(--cj-line);
    border-radius: var(--cj-r-xl);
    background: radial-gradient(90% 170% at 88% 120%, #DDF4EC 0%, #EEF8F5 38%, #F7F8FC 70%, #FFFFFF 100%);
}
body.dark .cj-phero { background: radial-gradient(90% 160% at 85% 120%, #00015D 0%, #090B45 45%, #12153A 80%); }
.cj-phero-chev { position: absolute; inset-inline-end: -40px; top: -150px; height: 430px; width: auto; color: var(--cj-teal); pointer-events: none; }
body.dark .cj-phero-chev { color: var(--cj-neon-raw); opacity: .9; filter: drop-shadow(0 0 10px rgba(0,255,195,.55)); }
[dir="rtl"] .cj-phero-chev { transform: scaleX(-1); }
.cj-phero-tt { position: relative; min-width: 0; }
.cj-phero-tt .cj-ov { color: var(--cj-teal-ink); }
body.dark .cj-phero-tt .cj-ov { color: var(--cj-neon-raw); }
.cj-phero h1 { margin-top: 4px; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--cj-title); }
.cj-phero-meta { display: flex; align-items: center; flex-wrap: wrap; row-gap: 6px; margin-top: 8px; font-size: 13.5px; color: var(--cj-t2); }
.cj-phero-meta .cj-sep { margin: 0 10px; }
body.dark .cj-phero-meta .cj-sep { color: var(--cj-neon-raw); }
.cj-dhero-tt { flex: 1 1 420px; }
.cj-dhero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cj-dhero-act .cj-btn-secondary .cj-ic { color: var(--cj-electric); }
body.dark .cj-dhero-act .cj-btn-secondary .cj-ic { color: var(--cj-neon-raw); }
.cj-dhero-act .cj-btn-secondary bdi { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- section card ---------- */
.cj-dsec { padding: 22px; min-width: 0; }
body.dark .cj-dash .cj-card { box-shadow: inset 0 0 0 1px var(--cj-line); }
.cj-dsec-h { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.cj-dsec-h h2 { font-size: 16px; font-weight: 700; color: var(--cj-title); }
.cj-dsec-h > small { flex-basis: 100%; margin-top: -6px; font-size: 12.5px; color: var(--cj-t3); }
.cj-dsec-h .cj-n { padding: 1px 8px; border-radius: 99px; background: var(--cj-teal); color: var(--cj-dark-blue); font-size: 11px; font-weight: 800; }
.cj-dsec-h .cj-n:empty { display: none; }
.cj-link { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--cj-electric); }
body.dark .cj-link { color: var(--cj-neon-raw); }
.cj-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cj-dsec-h .cj-seg { background: var(--cj-s1); box-shadow: none; border: 1px solid var(--cj-line); }

.cj-dgrid { display: grid; gap: 24px; align-items: stretch; }
.cj-dgrid-main { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.cj-dgrid-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cj-dgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cj-dempty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 10px; color: var(--cj-t3); text-align: center; }
.cj-dempty .cj-ic { width: 30px; height: 30px; color: var(--cj-t4); }

.cj-dlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; color: var(--cj-t2); }
.cj-dlegend > span { display: inline-flex; align-items: center; gap: 7px; }
.cj-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
.cj-chip .cj-ic { width: 13px; height: 13px; }

/* ---------- KPIs ---------- */
.cj-dkpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cj-dkpi { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cj-dkpi-row { flex-direction: row; align-items: center; gap: 18px; }
.cj-dkpi-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cj-dkpi-col .cj-chip { align-self: flex-start; }
.cj-dkpi-h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--cj-t2); }
.cj-dkpi-h .cj-todo { margin-inline-start: auto; }
.cj-dkpi-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--cj-hover); color: var(--cj-electric); }
body.dark .cj-dkpi-ic { background: var(--cj-electric); color: var(--cj-neon-raw); }
.cj-dkpi-v { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--cj-title); }
.cj-dkpi-s { font-size: 12.5px; color: var(--cj-t3); }
.cj-dkpi-s b { color: var(--cj-t1); }
.cj-dkpi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cj-dkpi-foot { display: flex; align-items: center; gap: 10px; }
.cj-dkpi-spark { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cj-av-stack .cj-av { width: 30px; height: 30px; background: var(--cj-s3); }
.cj-av-stack .cj-av-more { background: var(--cj-s3); color: var(--cj-t2); }
.cj-av-t { color: var(--cj-dark-blue); }

/* progress ring */
.cj-ring { position: relative; width: 76px; height: 76px; flex: none; }
.cj-ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
[dir="rtl"] .cj-ring svg { transform: rotate(-90deg) scaleY(-1); }
.cj-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.cj-ring .cj-ring-bg { stroke: var(--cj-s4); }
.cj-ring .cj-ring-fg { stroke: var(--cj-teal); transition: stroke-dasharray .8s var(--cj-ease); }
body.dark .cj-ring .cj-ring-fg { stroke: var(--cj-neon-raw); }
.cj-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--cj-title); }

/* sparkline */
.cj-spark { width: 120px; height: 40px; flex: none; }
.cj-spark polyline { fill: none; stroke: var(--cj-teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cj-spark circle { fill: var(--cj-teal); }
body.dark .cj-spark polyline { stroke: var(--cj-neon-raw); }
body.dark .cj-spark circle { fill: var(--cj-neon-raw); }

/* ---------- recent projects ---------- */
.cj-dprojects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cj-dpcard {
    position: relative;
    display: flex; flex-direction: column; gap: 12px;
    min-width: 0; padding: 18px;
    border-radius: 14px;
    background: var(--cj-s1);
    border: 1px solid var(--cj-line);
    transition: background .18s, transform .18s, box-shadow .18s;
}
.cj-dpcard:not(.cj-loading):hover { background: var(--cj-s2); transform: translateY(-2px); box-shadow: var(--cj-shadow-2), inset 0 0 0 1.5px rgba(9,200,149,.55); }
body.dark .cj-dpcard:not(.cj-loading):hover { background: var(--cj-s3); box-shadow: inset 0 0 0 1px rgba(0,255,195,.32); }
.cj-dpcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.cj-dpcard-link:focus-visible { outline: 2px solid var(--cj-teal); outline-offset: 2px; }
.cj-dpcard-hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cj-dpmono {
    width: 42px; height: 42px; flex: none;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--cj-electric); color: var(--cj-neon-raw);
    font-weight: 800; font-size: 14px; letter-spacing: .02em; user-select: none;
}
.cj-dpmono.ar { font-family: var(--cj-font-ar); font-size: 15px; }
body.dark .cj-dpmono { box-shadow: inset 0 0 0 1px rgba(0,255,195,.3); }
body.cj-body .cj-dpmono.skeleton { border-radius: 12px; }
.cj-dpcard-tt { flex: 1; min-width: 0; }
.cj-dpcard h3 { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--cj-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
[dir="rtl"] .cj-dpcard h3 { text-align: right; }
.cj-dprow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--cj-t3); min-width: 0; }
.cj-dprow b { color: var(--cj-t1); }
.cj-dprow .cj-ic { width: 13px; height: 13px; }
.cj-dprow-sb { justify-content: space-between; }
.cj-dpcard .cj-role span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cj-dpcard .cj-av-stack > .cj-av + .cj-av { margin-inline-start: -8px; }
.cj-dpcard .cj-av-more { margin-inline-start: 6px; font-size: 12px; font-weight: 700; color: var(--cj-t2); }
.cj-dpcard .cj-pbar { flex: none; }
.cj-dpcard .cj-pbar > i { transition: width .6s var(--cj-ease); }
.cj-dpcard.cj-loading .cj-pbar { margin-top: 6px; }
body.cj-body .cj-dpcard .cj-av.skeleton { border-radius: 50%; }

/* star — checkbox redrawn as a star (beats components.css checkbox rules) */
#dvRecentProjects .cj-dpcard input.cj-star {
    position: relative; z-index: 2; flex: none;
    width: 32px !important; height: 32px !important;
    margin: 0 !important; margin-inline-start: auto !important; padding: 0 !important;
    border: 0 !important; border-radius: 8px !important;
    background: none !important; background-image: none !important;
    -webkit-appearance: none; appearance: none;
    visibility: visible;
    color: var(--cj-t4); -webkit-text-fill-color: currentColor;
    cursor: pointer;
}
#dvRecentProjects .cj-dpcard input.cj-star::before {
    content: "\f005";
    position: absolute; inset: 0;
    display: grid; place-items: center;
    width: auto; height: auto; top: auto; transform: none;
    font-family: "Font Awesome 6 Pro"; font-weight: 400; font-size: 17px;
    color: inherit; visibility: visible;
}
#dvRecentProjects .cj-dpcard input.cj-star:hover { background: var(--cj-hover) !important; color: var(--cj-accent); }
#dvRecentProjects .cj-dpcard input.cj-star:checked { color: #E0A100; }
body.dark #dvRecentProjects .cj-dpcard input.cj-star:checked { color: var(--cj-neon-raw); }
#dvRecentProjects .cj-dpcard input.cj-star:checked::before { font-weight: 900; }
#dvRecentProjects .cj-dpcard input.cj-star:focus-visible { outline: 2px solid var(--cj-teal); outline-offset: 1px; }
#dvRecentProjects > .cj-filtered-out { display: none !important; }

/* ---------- notifications ---------- */
.cj-dnotif .cj-dsec-h { margin-bottom: 6px; }
.cj-dnotif .all_notifications { max-height: 560px; overflow-y: auto; }
.cj-dnitem { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--cj-line); }
.cj-dnitem .cj-av { width: 34px; height: 34px; border: 0; object-fit: cover; }
body.cj-body .cj-dnitem .cj-av.skeleton { border-radius: 50%; }
.cj-dnitem-tx { flex: 1; min-width: 0; }
.cj-dnitem p { font-size: 13px; line-height: 1.45; color: var(--cj-t2); overflow-wrap: anywhere; }
.cj-dnitem p a { font-weight: 700; color: var(--cj-electric); }
body.dark .cj-dnitem p a { color: var(--cj-neon-raw); }
.cj-dnitem small { font-size: 11.5px; color: var(--cj-t4); }
.cj-dnitem .cj-ibtn .cj-ic { width: 15px; height: 15px; }

/* ---------- throughput (stacked bars) ---------- */
.cj-dchart-sum { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.cj-dchart-sum .cj-dkpi-v { font-size: 30px; }
.cj-dchart-sum .cj-chip, .cj-dchart-sum .cj-dlegend { margin-bottom: 4px; }
.cj-dplot { position: relative; height: 200px; margin-inline-start: 28px; }
.cj-gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--cj-line-2); }
.cj-gl.base { border-top-style: solid; }
.cj-gl span { position: absolute; inset-inline-start: -28px; top: -8px; font-size: 10.5px; color: var(--cj-t4); }
.cj-dbars { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-around; gap: 6px; }
.cj-dbcol { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.cj-dstack { width: 100%; max-width: 34px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; border-radius: 7px 7px 2px 2px; overflow: hidden; transition: height .5s var(--cj-ease); }
.cj-dstack > i { display: block; width: 100%; }
.cj-dbcol:hover .cj-dstack { filter: brightness(1.08); }
.cj-dxl { display: flex; justify-content: space-around; gap: 6px; margin-inline-start: 28px; margin-top: 8px; }
.cj-dxl span { flex: 1; text-align: center; font-size: 10.5px; color: var(--cj-t4); }

/* ---------- donut ---------- */
.cj-ddonut-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.cj-ddonut { position: relative; width: 170px; height: 170px; flex: none; }
.cj-ddonut svg { width: 170px; height: 170px; display: block; }
.cj-ddonut circle { fill: none; stroke-width: 20; }
.cj-ddonut-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cj-ddonut-mid b { font-size: 28px; font-weight: 800; line-height: 1; color: var(--cj-title); }
.cj-ddonut-mid small { font-size: 12px; color: var(--cj-t3); }
.cj-dleg { flex: 1; min-width: 170px; display: flex; flex-direction: column; }
.cj-dleg > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--cj-line); font-size: 13px; color: var(--cj-t2); }
.cj-dleg > div:last-child { border-bottom: 0; }
.cj-dleg b { margin-inline-start: auto; color: var(--cj-t1); }
.cj-dleg em { width: 40px; font-style: normal; text-align: end; font-size: 12px; color: var(--cj-t4); }

/* ---------- activity heatmap ---------- */
.cj-dact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 36px; }
.cj-hm-wrap { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; }
.cj-hm-days { display: grid; grid-template-rows: repeat(7, 16px); gap: 4px; padding-top: 20px; font-size: 10.5px; line-height: 16px; color: var(--cj-t4); }
.cj-hm-cols { display: flex; gap: 4px; }
.cj-hm-col { display: flex; flex-direction: column; gap: 4px; }
.cj-hm-col small { height: 16px; font-size: 10.5px; color: var(--cj-t4); white-space: nowrap; }
.cj-hm { width: 16px; height: 16px; border-radius: 4px; display: block; }
.cj-hm.l0 { background: var(--cj-h0); } .cj-hm.l1 { background: var(--cj-h1); } .cj-hm.l2 { background: var(--cj-h2); }
.cj-hm.l3 { background: var(--cj-h3); } .cj-hm.l4 { background: var(--cj-h4); }
.cj-dact-sum { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 16px; }
.cj-dact-sum .cj-dkpi-v { font-size: 28px; }
.cj-dact-row { display: flex; gap: 28px; }
.cj-dact-row b { font-size: 18px; color: var(--cj-title); }
.cj-hm-leg { gap: 5px; }
.cj-hm-leg > span { margin: 0 4px; }

/* ---------- upcoming ---------- */
.cj-dup { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--cj-line); }
.cj-dup:first-child { border-top: 0; padding-top: 0; }
.cj-ddate { width: 48px; height: 52px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--cj-s1); border: 1px solid var(--cj-line); }
.cj-ddate small { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--cj-teal-ink); }
body.dark .cj-ddate small { color: var(--cj-neon-raw); }
.cj-ddate b { font-size: 18px; font-weight: 800; line-height: 1.1; color: var(--cj-title); }
.cj-dup-tx { flex: 1; min-width: 0; }
.cj-dup h4 { font-size: 13.5px; font-weight: 700; color: var(--cj-t1); }
.cj-dup p { font-size: 12px; color: var(--cj-t3); }

/* ---------- bar lists (footprint / contributors) ---------- */
.cj-dfrow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 9px 0; }
.cj-dfrow > .cj-dfi, .cj-dfrow > .cj-av { grid-row: span 2; }
.cj-dfi { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--cj-hover); color: var(--cj-electric); }
body.dark .cj-dfi { background: var(--cj-electric); color: var(--cj-neon-raw); }
.cj-dfi .cj-ic { width: 16px; height: 16px; }
.cj-dfrow .cj-av { width: 32px; height: 32px; border: 0; }
.cj-dfrow > span:not(.cj-dfi):not(.cj-av) { font-size: 13px; font-weight: 500; color: var(--cj-t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cj-dfrow > span small { color: var(--cj-t4); }
.cj-dfrow > b { font-size: 13px; color: var(--cj-t1); text-align: end; }
.cj-dfrow > .cj-pbar { grid-column: 2 / span 2; height: 5px; }

/* ---------- resources ---------- */
.cj-dres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cj-dres-t { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--cj-s1); border: 1px solid var(--cj-line); color: var(--cj-t1); transition: background .15s, border-color .15s; }
.cj-dres-t:hover { background: var(--cj-hover); border-color: rgba(9,200,149,.45); color: var(--cj-t1); }
body.dark .cj-dres-t:hover { border-color: rgba(0,255,195,.35); }
.cj-dres-t .cj-dkpi-ic { width: 34px; height: 34px; border-radius: 10px; }
.cj-dres-t b { font-size: 13.5px; color: var(--cj-title); }
.cj-dres-t small { font-size: 12px; line-height: 1.4; color: var(--cj-t3); }

/* ---------- "implement later" markers (remove when the APIs are wired) ---------- */
.cj-todo {
    display: inline-flex; align-items: center;
    height: 20px; padding: 0 7px;
    border-radius: 6px;
    background: var(--cj-warn-bg); color: var(--cj-warn-t);
    font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap; cursor: help;
}

/* ---------- create project modal (same as projects-opus.css) ---------- */
.cj-modal-np { max-width: 680px; }
.cj-modal .cj-lang-row { display: flex; align-items: center; gap: 10px; }
.cj-modal .cj-lang-row > select, .cj-modal .cj-lang-row > .k-widget { flex: 1; min-width: 0; }
.cj-modal .cj-swap { width: 38px; height: 38px; flex: none; padding: 0; display: grid; place-items: center; border-radius: var(--cj-r); background: var(--cj-s1); color: var(--cj-t2); cursor: pointer; transition: background .15s, color .15s; }
.cj-modal .cj-swap:hover { background: var(--cj-hover); color: var(--cj-accent); }
.cj-modal .cj-modal-note { font-size: 12.5px; margin-inline-end: auto; }
.cj-modal #btnCreateProject { min-width: 120px; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
    .cj-dgrid-main { grid-template-columns: minmax(0, 1fr) 340px; }
    .cj-dprojects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
    .cj-dkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cj-dgrid-main, .cj-dgrid-wide { grid-template-columns: minmax(0, 1fr); }
    .cj-dgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cj-dprojects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cj-phero-chev { opacity: .5; }
}
@media (max-width: 1000px) {
    .cj-dprojects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cj-dgrid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .cj-phero { padding: 22px 20px; }
    .cj-phero h1 { font-size: 25px; }
    .cj-dkpis, .cj-dprojects { grid-template-columns: minmax(0, 1fr); }
    .cj-modal .form-row-colums { flex-direction: column; }
    .cj-modal .form-column-50 { width: 100%; }
}
@media (max-width: 560px) {
    .cj-phero-chev { display: none; }
    .cj-app .cj-top #liAllProjects { display: none !important; }
    .cj-dres { grid-template-columns: minmax(0, 1fr); }
}
