
:root{
  --bg:#0b1120;
  --panel:#111827;
  --panel-2:#0f172a;
  --panel-3:#172033;
  --border:#243041;
  --border-strong:#334155;
  --text:#e5eefc;
  --muted:#94a3b8;
  --primary:#2563eb;
  --primary-2:#1d4ed8;
  --success:#16a34a;
  --danger:#dc2626;
  --shadow:0 18px 45px rgba(0,0,0,.28);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,sans-serif;background:radial-gradient(circle at top left,#16213b 0,#0b1120 42%,#09101d 100%);color:var(--text);min-height:100vh;line-height:1.45}
a{color:#bfdbfe;text-decoration:none}
a:hover{text-decoration:none;color:#fff}
input,button,select,textarea{font:inherit}
input,select,textarea{
  width:100%;
  padding:.82rem .95rem;
  border-radius:14px;
  border:1px solid var(--border-strong);
  background:#0c1424;
  color:var(--text);
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus,select:focus,textarea:focus{border-color:#4f7cf7;box-shadow:0 0 0 4px rgba(37,99,235,.16);background:#0b1529}
textarea{min-height:140px;resize:vertical}
button,.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:44px;
  padding:.78rem 1rem;
  border-radius:14px;
  border:1px solid transparent;
  background:linear-gradient(180deg,var(--primary) 0,var(--primary-2) 100%);
  color:#fff;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(37,99,235,.23);
  transition:transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}
button:hover,.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(37,99,235,.3)}
button.secondary,.btn.secondary,.theme-toggle{
  background:#0f172a;
  border-color:var(--border-strong);
  color:var(--text);
  box-shadow:none;
}
button.danger,.btn.danger{background:linear-gradient(180deg,#dc2626 0,#b91c1c 100%)}
.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}
.login-wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:24px;max-width:1140px;width:100%}
.login-card,.login-hero,.card,.stat-card,.timeline-item,.toolbar,.saved-filters,.calendar-day,.gantt-row,.comment,.empty,.userbox,.notif-menu,.topbar,.sidebar{background:rgba(15,23,42,.88);backdrop-filter:blur(8px);border:1px solid rgba(51,65,85,.78);border-radius:var(--radius);box-shadow:var(--shadow)}
.login-card,.login-hero,.card{padding:24px}
.badge{display:inline-flex;align-items:center;gap:.35rem;background:#172554;color:#dbeafe;padding:.38rem .75rem;border-radius:999px;font-size:.8rem;border:1px solid rgba(96,165,250,.18)}
.muted{color:var(--muted)}
.small{font-size:.88rem}
.stack>*+*{margin-top:14px}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.9fr);gap:20px;align-items:start}
.alert{padding:12px 14px;border-radius:14px;margin-bottom:16px;border:1px solid transparent}
.alert.error{background:rgba(127,29,29,.28);color:#fecaca;border-color:rgba(220,38,38,.35)}
.alert.success{background:rgba(20,83,45,.28);color:#bbf7d0;border-color:rgba(34,197,94,.3)}
.feature-list{padding-left:18px}
.kpi,.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.section-head{margin-bottom:16px;flex-wrap:wrap}
.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;min-height:100vh;padding:22px}
.sidebar{padding:20px;position:sticky;top:22px;height:calc(100vh - 44px)}
.brand-wrap{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid rgba(51,65,85,.7)}
.brand-mark{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-weight:700;background:linear-gradient(180deg,#3b82f6 0,#1d4ed8 100%);box-shadow:0 10px 24px rgba(37,99,235,.35)}
.brand{font-size:1.05rem;font-weight:700}
.sidebar nav,.sidebar-nav{display:flex;flex-direction:column;gap:10px}
.sidebar nav a,.nav-item{display:flex;align-items:center;gap:12px;padding:.95rem 1rem;border-radius:16px;color:#cbd5e1;border:1px solid transparent;background:linear-gradient(180deg,rgba(15,23,42,.55) 0,rgba(15,23,42,.3) 100%);transition:all .16s ease;position:relative;overflow:hidden}
.sidebar nav a:hover,.nav-item:hover{background:#14203a;border-color:rgba(59,130,246,.22);transform:translateX(2px);box-shadow:0 10px 24px rgba(2,6,23,.24)}
.sidebar nav a.active,.nav-item.active{background:linear-gradient(180deg,#1e3a8a 0,#1d4ed8 100%);border-color:rgba(147,197,253,.22);color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.24)}
.content{min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;margin-bottom:18px;position:relative;z-index:120;overflow:visible}
.topbar h1{margin:0 0 4px;font-size:1.7rem}
.topbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.top-search{display:flex;align-items:center;gap:10px;min-width:min(100%,420px);flex:1 1 320px}
.top-search input{min-width:220px}
.top-search::after{content:'Caută';display:inline-flex;align-items:center;justify-content:center;min-width:92px;height:44px;padding:0 14px;border-radius:14px;background:#0f172a;border:1px solid var(--border-strong);color:var(--muted)}
.userbox{padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:150px}
.theme-toggle{width:44px;min-width:44px;padding:0}
.notification-pop{position:relative}
.notif-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#0f172a;border:1px solid var(--border-strong)}
.notif-count{position:absolute;top:-6px;right:-6px;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:.76rem;display:grid;place-items:center}
.notif-menu{position:absolute;right:0;top:52px;width:min(380px,85vw);padding:10px;display:grid;gap:8px;z-index:9999;opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease, transform .18s ease, visibility .18s ease}
.notif-item{display:grid;gap:4px;padding:10px 12px;border-radius:12px;background:#0b1220;border:1px solid rgba(51,65,85,.55)}
.notification-pop:hover .notif-menu,.notification-pop:focus-within .notif-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}
.stat-card{padding:20px;position:relative;overflow:hidden}
.stat-card::before{content:'';position:absolute;inset:auto -20px -20px auto;width:90px;height:90px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.22) 0,rgba(37,99,235,0) 72%)}
.stat-value{font-size:2rem;font-weight:700;margin-top:8px}
.table-wrap{overflow:auto;border-radius:16px;border:1px solid rgba(51,65,85,.8);background:#0b1220}
table{width:100%;border-collapse:collapse}
th,td{padding:14px 16px;vertical-align:top;border-bottom:1px solid rgba(51,65,85,.45);text-align:left}
thead th{position:sticky;top:0;background:#10192b;color:#cbd5e1;font-size:.92rem}
tr:hover td{background:rgba(30,41,59,.22)}
.progress{height:10px;border-radius:999px;background:#162033;overflow:hidden;border:1px solid rgba(51,65,85,.6)}
.progress span{display:block;height:100%;background:linear-gradient(90deg,#3b82f6 0,#60a5fa 100%)}
.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:16px 18px;margin-bottom:16px}
.toolbar .field{min-width:180px;flex:1 1 180px}
.toolbar .field:first-of-type{flex:2 1 280px}
.toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-left:auto}
.inline-filter-save{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.inline-filter-save input[type="text"]{flex:1 1 240px}
.saved-filters{padding:14px 16px;margin:0 0 16px}
.saved-filters-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.saved-filter-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:#0b1220;border:1px solid rgba(51,65,85,.7)}
.saved-filter-chip form{margin:0}
.meta-list{display:grid;gap:10px}
.meta-list>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(51,65,85,.45)}
.comment{padding:14px 16px}
.empty{padding:18px;text-align:center;color:var(--muted)}
.timeline{display:grid;gap:12px}
.timeline-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;padding:14px 16px}
.timeline-dot{width:10px;height:10px;border-radius:999px;background:#60a5fa;box-shadow:0 0 0 6px rgba(96,165,250,.12);margin-top:7px}
.small-card-list{display:grid;gap:12px}
.calendar-grid{display:grid;gap:14px}
.calendar-day,.gantt-row{padding:14px 16px}
.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.pagination a{padding:.62rem .8rem;background:#0b1220;border:1px solid rgba(51,65,85,.8);border-radius:12px;text-decoration:none;color:#cbd5e1}
.pagination a.active{background:linear-gradient(180deg,var(--primary) 0,var(--primary-2) 100%);color:#fff;border-color:transparent}
label{display:block;font-size:.92rem;color:#cbd5e1;margin-bottom:6px}
.inline-form{display:flex;align-items:center;gap:8px}
.inline-form input{width:auto}
main.content > form.stack,
main.content > .form-shell,
main.content > .card form.stack,
main.content > .form-card{max-width:980px}
main.content > form.stack,
main.content > .form-shell{background:rgba(15,23,42,.88);border:1px solid rgba(51,65,85,.78);border-radius:18px;padding:22px;box-shadow:var(--shadow)}
#project-form,#task-form{max-width:980px}
form.stack .toolbar-actions,form.stack .grid + .toolbar-actions{margin-top:6px}
input[type="checkbox"],input[type="radio"]{width:auto;padding:0;min-width:auto;accent-color:#3b82f6}
.login-card form button{width:100%}
.login-hero h1,.login-card h1{margin:.35rem 0 1rem}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#2b3a50;border-radius:999px}
::-webkit-scrollbar-track{background:#0b1120}
@media (max-width:1180px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto;top:0}
}
@media (max-width:920px){
  .login-wrap,.grid-2,.two-col{grid-template-columns:1fr}
  .topbar{flex-direction:column;align-items:stretch}
  .topbar-actions{justify-content:flex-start}
}
@media (max-width:720px){
  .app-shell{padding:14px}
  .top-search{min-width:100%}
  .toolbar{padding:14px}
  .toolbar .field,.toolbar .field:first-of-type{min-width:100%;flex:1 1 100%}
  .toolbar-actions{margin-left:0;width:100%}
  .toolbar-actions .btn,.toolbar-actions button{flex:1 1 150px}
}

.nav-ico{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.07);font-size:14px;flex:0 0 32px}
.nav-item.active .nav-ico{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.18)}
.nav-section-title{margin:8px 4px 2px;padding:10px 10px 0;color:var(--muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.theme-toggle{width:auto;min-width:120px;padding:0 14px;gap:10px}
.theme-toggle-text{font-size:.92rem;font-weight:700}
.alert{transition:opacity .4s ease, transform .4s ease,max-height .4s ease;margin-top:0}
.alert.is-hiding{opacity:0;transform:translateY(-8px);max-height:0;padding-top:0;padding-bottom:0;margin-bottom:0;overflow:hidden}
.row-actions{display:flex;flex-wrap:wrap;gap:8px}
.small-btn{min-height:36px;padding:.52rem .8rem;border-radius:12px;font-size:.9rem}
.segmented{display:inline-flex;align-items:center;padding:4px;border-radius:14px;background:#0b1220;border:1px solid rgba(51,65,85,.75);gap:4px;min-height:48px}
.segmented-item{display:inline-flex;align-items:center;justify-content:center;padding:.72rem .95rem;border-radius:11px;color:var(--muted);min-width:86px}
.segmented-item.active{background:linear-gradient(180deg,var(--primary) 0,var(--primary-2) 100%);color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.25)}
.field-view-switch{min-width:220px;flex:0 0 auto}
.gantt-wrap.gantt-list{display:grid;gap:12px}
.gantt-row{display:grid;grid-template-columns:minmax(260px,380px) minmax(320px,1fr);gap:18px;align-items:center}
.gantt-bar-area{position:relative;min-height:48px;border-radius:14px;background:linear-gradient(90deg,rgba(148,163,184,.07) 0,rgba(148,163,184,.14) 100%);border:1px solid rgba(51,65,85,.6);overflow:hidden}
.gantt-bar{position:absolute;top:7px;bottom:7px;border-radius:11px;background:linear-gradient(90deg,#2563eb 0,#60a5fa 100%);display:flex;align-items:center;justify-content:flex-end;padding:0 12px;min-width:54px;box-shadow:0 10px 20px rgba(37,99,235,.25)}
.gantt-bar span{font-size:.82rem;font-weight:700;color:#fff;white-space:nowrap}
.gantt-chart-shell{display:grid;gap:12px;overflow:auto}
.gantt-chart-head,.gantt-chart-row{display:grid;grid-template-columns:280px minmax(640px,1fr);gap:12px;align-items:stretch}
.gantt-chart-title{padding:14px 16px;border-radius:14px;background:#0b1220;border:1px solid rgba(51,65,85,.75);font-weight:700}
.gantt-chart-scale,.gantt-chart-grid{display:grid;position:relative}
.gantt-chart-scale{gap:0}
.gantt-day{padding:12px 8px;text-align:center;font-size:.78rem;color:var(--muted);border-top:1px solid rgba(51,65,85,.55);border-bottom:1px solid rgba(51,65,85,.55);border-right:1px solid rgba(51,65,85,.45);background:#0b1220}
.gantt-day:first-child{border-left:1px solid rgba(51,65,85,.55);border-top-left-radius:14px;border-bottom-left-radius:14px}
.gantt-day:last-child{border-top-right-radius:14px;border-bottom-right-radius:14px}
.gantt-chart-label{padding:14px 16px;border-radius:14px;background:#0b1220;border:1px solid rgba(51,65,85,.75)}
.gantt-chart-grid{align-items:stretch;min-height:72px}
.gantt-cell{border-right:1px solid rgba(51,65,85,.35);border-bottom:1px solid rgba(51,65,85,.35);background:linear-gradient(180deg,rgba(15,23,42,.55) 0,rgba(15,23,42,.25) 100%)}
.gantt-cell:nth-child(1){border-left:1px solid rgba(51,65,85,.35);border-top-left-radius:14px;border-bottom-left-radius:14px}
.gantt-cell:nth-last-child(1){border-top-right-radius:14px;border-bottom-right-radius:14px}
.gantt-task-block{z-index:2;align-self:center;justify-self:stretch;margin:10px 6px;padding:10px 12px;border-radius:12px;background:linear-gradient(90deg,#1d4ed8 0,#60a5fa 100%);display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 12px 22px rgba(37,99,235,.22)}
.gantt-task-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gantt-task-progress{font-size:.82rem;background:rgba(255,255,255,.16);padding:4px 8px;border-radius:999px}
body[data-theme="light"]{--bg:#eef3f9;--card:#ffffff;--card-soft:#f8fbff;--text:#0f172a;--muted:#5b6b80;--border:#d8e1ec;--border-strong:#bfd0e4;--primary:#2563eb;--primary-2:#1d4ed8;--shadow:0 18px 45px rgba(15,23,42,.08)}
body[data-theme="light"]{background:radial-gradient(circle at top left,#f8fbff 0,#eef4fb 42%,#e5edf7 100%);color:var(--text)}
body[data-theme="light"] a{color:#1d4ed8}
body[data-theme="light"] input,body[data-theme="light"] select,body[data-theme="light"] textarea{background:#fff;color:var(--text);border-color:var(--border-strong)}
body[data-theme="light"] .login-card,body[data-theme="light"] .login-hero,body[data-theme="light"] .card,body[data-theme="light"] .stat-card,body[data-theme="light"] .timeline-item,body[data-theme="light"] .toolbar,body[data-theme="light"] .saved-filters,body[data-theme="light"] .calendar-day,body[data-theme="light"] .gantt-row,body[data-theme="light"] .comment,body[data-theme="light"] .empty,body[data-theme="light"] .userbox,body[data-theme="light"] .notif-menu,body[data-theme="light"] .topbar,body[data-theme="light"] .sidebar{background:rgba(255,255,255,.92);border-color:#d5dfeb;box-shadow:var(--shadow)}
body[data-theme="light"] .table-wrap,body[data-theme="light"] .notif-item,body[data-theme="light"] .saved-filter-chip,body[data-theme="light"] .segmented,body[data-theme="light"] .gantt-bar-area,body[data-theme="light"] .gantt-chart-title,body[data-theme="light"] .gantt-chart-label,body[data-theme="light"] .gantt-day{background:#fff;border-color:#d8e1ec}
body[data-theme="light"] .sidebar nav a,body[data-theme="light"] .nav-item{background:linear-gradient(180deg,#fff 0,#f6f9fd 100%);color:#334155}
body[data-theme="light"] .notif-btn,body[data-theme="light"] .theme-toggle,body[data-theme="light"] button.secondary,body[data-theme="light"] .btn.secondary{background:#fff;border-color:#d8e1ec;color:#0f172a}
body[data-theme="medium"]{--bg:#dbe4ef;--card:#233047;--card-soft:#263650;--text:#f3f7fb;--muted:#b7c4d6;--border:#43546e;--border-strong:#5f7393;--primary:#3b82f6;--primary-2:#2563eb;--shadow:0 18px 45px rgba(7,13,24,.22)}
body[data-theme="medium"]{background:radial-gradient(circle at top left,#425676 0,#2f405d 44%,#26344c 100%);color:var(--text)}
body[data-theme="medium"] .login-card,body[data-theme="medium"] .login-hero,body[data-theme="medium"] .card,body[data-theme="medium"] .stat-card,body[data-theme="medium"] .timeline-item,body[data-theme="medium"] .toolbar,body[data-theme="medium"] .saved-filters,body[data-theme="medium"] .calendar-day,body[data-theme="medium"] .gantt-row,body[data-theme="medium"] .comment,body[data-theme="medium"] .empty,body[data-theme="medium"] .userbox,body[data-theme="medium"] .notif-menu,body[data-theme="medium"] .topbar,body[data-theme="medium"] .sidebar{background:rgba(35,48,71,.9);border-color:#566885;box-shadow:var(--shadow)}
body[data-theme="medium"] input,body[data-theme="medium"] select,body[data-theme="medium"] textarea{background:#1d293d;border-color:#60728f}
@media (max-width:980px){.gantt-row{grid-template-columns:1fr}.gantt-chart-head,.gantt-chart-row{grid-template-columns:1fr}.gantt-chart-title{display:none}}


.alert{animation:pmAlertStay 5s linear forwards}
.alert.is-hiding{animation:none}
@keyframes pmAlertStay{0%{opacity:1}89%{opacity:1}100%{opacity:1}}
.gantt-chart-shell{overflow:auto}
.gantt-chart-head,.gantt-chart-row{display:grid;grid-template-columns:minmax(240px,280px) minmax(720px,1fr);align-items:stretch}
.gantt-chart-title,.gantt-chart-label{position:sticky;left:0;z-index:3}
.gantt-chart-title{display:flex;align-items:center;padding:12px 14px;font-weight:700;background:var(--panel);border-right:1px solid var(--border)}
.gantt-chart-scale,.gantt-chart-grid{display:grid;gap:0;position:relative}
.gantt-chart-scale{position:sticky;top:0;z-index:2}
.gantt-chart-label{padding:12px 14px;background:var(--panel);border-top:1px solid var(--border);border-right:1px solid var(--border)}
.gantt-day{padding:10px 6px;text-align:center;font-size:.78rem;border-left:1px solid var(--border);border-bottom:1px solid var(--border);white-space:nowrap;background:rgba(15,23,42,.96)}
.gantt-chart-grid{min-height:68px;border-top:1px solid var(--border)}
.gantt-cell{border-left:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0))}
.gantt-task-block{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 8px;padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-size:.84rem;font-weight:600;box-shadow:0 10px 20px rgba(0,0,0,.18);z-index:1}
.gantt-task-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gantt-task-progress{font-variant-numeric:tabular-nums;opacity:.92}
body[data-theme="light"] .gantt-day{background:#fff}
body[data-theme="medium"] .gantt-day{background:#2d3b55}

.mobile-menu-toggle{display:none;position:fixed;top:14px;left:14px;z-index:80;width:46px;height:46px;border-radius:14px;padding:0;font-size:1.15rem; z-index:999;}
.topbar-mobile-actions{display:none !important}
.alert{display:none !important}
.gantt-matrix-wrap{overflow:auto;border:1px solid rgba(51,65,85,.75);border-radius:16px;background:#0b1220}
.gantt-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
.gantt-matrix thead th{position:sticky;top:0;z-index:4;background:#10192b;color:#cbd5e1;min-width:54px;text-align:center;padding:10px 6px;border-bottom:1px solid rgba(51,65,85,.55);border-right:1px solid rgba(51,65,85,.35)}
.gantt-matrix thead th span{display:block;font-size:.72rem;color:var(--muted);margin-top:3px}
.gantt-matrix .gantt-sticky-col{position:sticky;left:0;z-index:5;min-width:320px;max-width:320px;background:#0f172a;text-align:left;padding:12px 14px;border-right:1px solid rgba(51,65,85,.6)}
.gantt-matrix tbody td{height:48px;border-right:1px solid rgba(51,65,85,.25);border-bottom:1px solid rgba(51,65,85,.25);background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0))}
.gantt-matrix tbody .gantt-sticky-col{background:#0f172a;z-index:3}
.gantt-matrix-cell.active{background:linear-gradient(180deg,rgba(37,99,235,.88) 0,rgba(96,165,250,.78) 100%);box-shadow:inset 0 0 0 1px rgba(191,219,254,.2)}
body[data-theme="light"] .gantt-matrix-wrap{background:#fff;border-color:#d8e1ec}
body[data-theme="light"] .gantt-matrix thead th,body[data-theme="light"] .gantt-matrix .gantt-sticky-col{background:#fff;color:#0f172a;border-color:#d8e1ec}
body[data-theme="light"] .gantt-matrix tbody td{border-color:#e2e8f0;background:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,0))}
body[data-theme="medium"] .gantt-matrix-wrap{background:#1d293d;border-color:#60728f}
body[data-theme="medium"] .gantt-matrix thead th,body[data-theme="medium"] .gantt-matrix .gantt-sticky-col{background:#233047;border-color:#60728f}
@media (max-width:600px){
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .topbar-mobile-actions{display:none !important}
  .app-shell{grid-template-columns:1fr;padding:12px}
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:min(86vw,320px);height:100vh;z-index:70;transform:translateX(-110%);transition:transform .22s ease, box-shadow .22s ease;border-radius:0 18px 18px 0;top:0}
  body.sidebar-open .sidebar{transform:translateX(0);box-shadow:0 20px 50px rgba(0,0,0,.45)}
  .content{padding-top:52px}
  .topbar{padding-top:12px}
}
