:root{
  --dash-bg:#020b1d;
  --dash-panel:rgba(3,24,58,.82);
  --dash-line:rgba(37,145,255,.48);
  --dash-cyan:#29d4ff;
  --dash-blue:#278cff;
  --dash-text:#dcecff;
  --dash-muted:#7189aa;
}

body{
  background:
    radial-gradient(circle at 18% 4%,rgba(8,69,145,.28),transparent 35%),
    radial-gradient(circle at 88% 34%,rgba(12,61,145,.2),transparent 32%),
    linear-gradient(145deg,#010817 0%,#03132e 55%,#020b1d 100%);
}
body::before{background-size:48px 48px;opacity:.75}
.ambient-one{background:#0068ff;opacity:.14}.ambient-two{background:#143dff;opacity:.12}
.shell{
  width:calc(100% - clamp(16px,2.2vw,72px));
  max-width:none;
  padding:clamp(8px,1.1vh,20px) 0 clamp(20px,2.2vh,44px)
}
.glass{
  background:linear-gradient(145deg,rgba(4,29,68,.91),rgba(2,18,45,.83));
  border-color:rgba(41,143,255,.32);
  box-shadow:inset 0 0 28px rgba(13,80,172,.08),0 10px 30px rgba(0,0,0,.24);
  backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)
}
.topbar{
  min-height:68px;padding:10px 18px;border-radius:3px 3px 0 0;
  border-color:rgba(41,143,255,.38);border-bottom-color:rgba(41,193,255,.62)
}
.brand p{font-size:9px;color:#27cfff}.brand h1{font-size:27px;letter-spacing:1px;text-shadow:0 0 18px rgba(84,188,255,.35)}
.brand-icon{border-radius:8px;background:linear-gradient(145deg,#1b8cff,#19d9ff);box-shadow:0 0 24px rgba(31,168,255,.42)}
.tech-beacon{height:36px}.top-actions{gap:8px}.primary-action,.secondary-action{border-radius:5px;padding:9px 14px}.sync strong{color:#9ad9ff;font-size:12px}.sync small{font-size:10px}

.module-nav{
  margin:0 0 14px;padding:0 18px;border-radius:0 0 3px 3px;display:flex;justify-content:center;gap:34px;
  border-top:0;background:rgba(2,13,34,.91)
}
.module-nav button{
  display:block;min-width:118px;padding:16px 20px 13px;text-align:center;border:0;border-radius:0;color:#7d8da9
}
.module-nav button:hover,.module-nav button.active{background:transparent;border:0;color:#36d4ff;box-shadow:inset 0 -3px 0 #27cfff,0 8px 22px rgba(31,173,255,.14)}
.module-nav b,.module-nav small{display:none}.module-nav span{font-size:15px;font-weight:600}

.dashboard-overview{gap:16px;margin:0 0 14px}
.dashboard-overview .metric{
  display:grid;grid-template-columns:74px 1fr;grid-template-rows:auto auto auto;column-gap:18px;min-height:122px;
  padding:20px 24px;border-radius:3px;border-color:rgba(37,144,255,.48);background:linear-gradient(145deg,rgba(4,36,82,.92),rgba(3,22,55,.86));
}
.dashboard-overview .metric:hover{transform:translateY(-1px);border-color:#21b8ff;box-shadow:0 0 26px rgba(36,147,255,.18),inset 0 0 30px rgba(19,84,179,.09)}
.dashboard-overview .metric:after{content:"";position:absolute;left:0;top:0;width:72px;height:1px;background:#24d3ff;box-shadow:0 0 13px #24d3ff}
.metric-icon{grid-row:1/4;align-self:center;display:grid;place-items:center;width:68px;height:68px;border:1px solid rgba(41,161,255,.55);border-radius:50%;background:radial-gradient(circle,rgba(39,187,255,.18),rgba(13,66,157,.28));box-shadow:0 0 23px rgba(39,171,255,.28),inset 0 0 20px rgba(23,167,255,.14)}
.metric-icon:before{color:#38caff;font-size:31px;line-height:1;text-shadow:0 0 14px #2aaeff}.list-icon:before{content:"▤"}.clock-icon:before{content:"◷"}.star-icon:before{content:"☆"}.check-icon:before{content:"✓"}
.dashboard-overview .metric>span:not(.metric-icon){color:#c5d8f2;font-size:15px}
.dashboard-overview .metric strong{margin:5px 0 2px;color:#54caff;font-size:36px;text-shadow:0 0 16px rgba(38,165,255,.46)}
.dashboard-overview .metric strong em{margin-left:7px;color:#7d9dbc;font-size:11px;font-style:normal;font-weight:500;text-shadow:none}
.dashboard-overview .metric small{color:#758ba8;font-size:11px}
.metric-bars{position:absolute;right:20px;bottom:20px;width:84px;height:40px;opacity:.24;background:linear-gradient(90deg,transparent 0 7%,#238dff 7% 11%,transparent 11% 18%,#238dff 18% 23%,transparent 23% 31%,#238dff 31% 37%,transparent 37% 46%,#238dff 46% 52%,transparent 52% 61%,#238dff 61% 68%,transparent 68% 78%,#238dff 78% 85%,transparent 85%);clip-path:polygon(0 80%,10% 57%,20% 73%,30% 34%,40% 66%,50% 20%,60% 48%,70% 5%,80% 43%,90% 22%,100% 78%,100% 100%,0 100%)}

.dashboard-toolbar{padding:10px 14px;margin-bottom:10px;border-radius:3px}.dashboard-toolbar .view-title>span{height:29px;width:3px}.dashboard-toolbar .view-title h2{font-size:15px}.dashboard-toolbar .view-title p{font-size:10px}.dashboard-toolbar .filters label{height:35px;border-radius:4px;background:rgba(2,14,36,.72)}
.task-export-action{height:35px;padding:0 15px;white-space:nowrap;color:#bfeeff;border-color:rgba(41,192,255,.42);background:linear-gradient(135deg,rgba(13,67,123,.85),rgba(4,38,79,.78))}.task-export-action:hover{color:#fff;border-color:#32d7ff;box-shadow:0 0 18px rgba(42,198,255,.22)}.task-export-action:disabled{cursor:not-allowed;opacity:.42;box-shadow:none}

.dashboard-workspace{display:grid;grid-template-columns:minmax(0,4.7fr) minmax(220px,1fr);gap:10px}
.kanban-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}
.kanban-column,.workload-panel,.trend-panel,.distribution-panel{position:relative;border-radius:3px;overflow:hidden}
.kanban-column:before,.workload-panel:before,.trend-panel:before,.distribution-panel:before{content:"";position:absolute;left:0;top:0;width:66px;height:1px;background:#28caff;box-shadow:0 0 12px #28caff}
.kanban-column>header,.workload-panel>header{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid rgba(49,131,224,.24)}
.kanban-column>header h3,.workload-panel>header h3{margin:0;color:#75c1ff;font-size:18px;font-weight:650}.kanban-column>header h3 b{margin-left:4px;color:#329dff;font-weight:500}.kanban-column>header span,.workload-panel>header span{color:#6f87a7;font-size:10px}
.important-column>header h3{color:#ffbd50}.completed-column>header h3{color:#52dca3}
.kanban-list{display:grid;gap:5px;height:clamp(350px,38vh,720px);padding:7px;overflow:auto;scrollbar-width:thin;scrollbar-color:#1768af transparent}
.compact-task{position:relative;min-width:0;padding:12px 11px 10px;border:1px solid rgba(44,121,206,.3);border-radius:4px;background:linear-gradient(135deg,rgba(8,40,83,.78),rgba(3,24,59,.62));transition:.18s ease}
.compact-task:hover{border-color:rgba(44,177,255,.66);background:linear-gradient(135deg,rgba(9,51,104,.88),rgba(3,29,71,.76));box-shadow:inset 0 0 18px rgba(33,129,255,.08)}
.compact-task.age-blue{border-color:rgba(43,159,255,.82);background:linear-gradient(135deg,rgba(12,70,132,.9),rgba(3,29,71,.74));box-shadow:inset 3px 0 0 #2da7ff,0 0 13px rgba(45,167,255,.15)}
.compact-task.age-yellow{border-color:rgba(255,216,67,.78);background:linear-gradient(135deg,rgba(103,81,8,.56),rgba(37,35,17,.78));box-shadow:inset 3px 0 0 #ffd843,0 0 13px rgba(255,216,67,.12)}
.compact-task.age-orange{border-color:rgba(255,146,45,.82);background:linear-gradient(135deg,rgba(114,57,7,.62),rgba(48,28,13,.82));box-shadow:inset 3px 0 0 #ff922d,0 0 14px rgba(255,146,45,.14)}
.compact-task.age-red{border-color:rgba(255,73,86,.86);background:linear-gradient(135deg,rgba(118,20,31,.68),rgba(52,15,25,.84));box-shadow:inset 3px 0 0 #ff4956,0 0 16px rgba(255,73,86,.18)}
.compact-task.age-blue .compact-meta time{color:#73c7ff}.compact-task.age-yellow .compact-meta time{color:#ffe177}.compact-task.age-orange .compact-meta time{color:#ffb063}.compact-task.age-red .compact-meta time{color:#ff8d96}.compact-task.important-neutral{border-color:rgba(255,174,50,.42)}
.compact-title{display:flex;align-items:center;gap:8px}.compact-title>i{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#2a97ff;box-shadow:0 0 10px #2a97ff}.compact-task.important .compact-title>i{background:#ffae32;box-shadow:0 0 10px #ffae32}.compact-task.archived .compact-title>i{background:#42d89a;box-shadow:0 0 10px #42d89a}
.compact-title h4{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#d9e8fb;font-size:13px;font-weight:600}.compact-title>b{margin-left:auto;padding:3px 6px;border-radius:3px;color:#ffb23f;background:rgba(255,163,24,.12);font-size:9px}
.compact-meta,.compact-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;color:#718ba9;font-size:9px}.compact-meta time{white-space:nowrap}.compact-foot{margin-top:10px}.compact-person{display:flex;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ab0ca}.compact-person>i{display:grid;place-items:center;flex:0 0 auto;width:18px;height:18px;margin-right:5px;border-radius:50%;color:#ddf5ff;background:linear-gradient(145deg,#177dca,#25c7e9);font-size:9px;font-style:normal}.compact-status{margin-left:auto;color:#38dba4}.compact-task.unassigned .compact-status{color:#50b7ff}.compact-task.important .compact-status{color:#ffba49}.compact-actions{display:flex;gap:3px}.compact-actions button{width:24px;height:22px;padding:0;border:1px solid rgba(58,156,232,.27);border-radius:3px;color:#8ed7ff;background:rgba(6,33,71,.8);font-size:9px;cursor:pointer}.compact-actions .complete{color:#58ecae;border-color:rgba(70,221,157,.34);background:rgba(16,91,67,.28)}.compact-actions .delete{color:#ff93a0;border-color:rgba(255,93,111,.24)}
.completion-time{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding:6px 8px;border:1px solid rgba(63,218,158,.24);border-radius:3px;background:rgba(24,112,79,.14)}.completion-time span{color:#6ea98f;font-size:9px}.completion-time strong{color:#69e9b4;font-size:9px;font-weight:600;white-space:nowrap}
.column-empty{display:grid;place-items:center;align-content:center;min-height:150px;color:#526c8e;text-align:center}.column-empty span{font-size:24px}.column-empty p{font-size:11px}

.workload-panel{padding-bottom:8px}.workload-panel>header h3{font-size:17px}.workload-list{display:grid;gap:12px;padding:13px 14px}.workload-item{display:grid;grid-template-columns:27px 48px 1fr 35px;align-items:center;gap:8px}.workload-item .avatar{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;color:#e7f8ff;background:linear-gradient(145deg,#1a72bd,#28c1e8);border:1px solid rgba(116,219,255,.35);font-size:11px}.workload-item strong{font-size:11px;font-weight:500}.workload-item>i{height:6px;border-radius:5px;background:#0a315d;overflow:hidden}.workload-item>i b{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#227dff,#32d9ff);box-shadow:0 0 10px #25a9ff}.workload-item em{color:#b3c5dc;font-size:10px;font-style:normal;text-align:right}

.dashboard-charts{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(320px,1fr);gap:10px;margin-top:10px}.trend-panel{min-height:clamp(260px,29vh,560px)}.distribution-panel{min-height:clamp(220px,25vh,500px)}.trend-panel,.distribution-panel{padding:15px 18px}.trend-panel>header,.distribution-panel>header{display:flex;justify-content:space-between;align-items:flex-start}.trend-panel h3,.distribution-panel h3{margin:0;color:#6bc0ff;font-size:18px}.trend-panel p,.distribution-panel p{margin:4px 0 0;color:#607b9c;font-size:10px}.trend-panel>header>span{color:#35d4ff;font-size:9px}.task-trend-chart{display:grid;grid-template-rows:auto minmax(160px,1fr);height:clamp(210px,24vh,470px);margin-top:7px}.trend-summary{display:flex;align-items:center;gap:17px;padding:6px 4px 2px}.trend-summary>span{display:flex;align-items:baseline;gap:5px}.trend-summary small{color:#647f9f;font-size:9px}.trend-summary strong{color:#dcefff;font-size:16px}.trend-summary strong.rise{color:#ffbd50}.trend-summary strong.fall{color:#53dda4}.trend-legend{display:flex;align-items:center;gap:5px;margin-left:auto;color:#718dac;font-size:8px}.trend-legend i{display:inline-block;width:9px;height:5px;margin-left:5px;border-radius:2px}.trend-legend i.active{height:2px;background:#2bd2ff;box-shadow:0 0 6px #2bd2ff}.trend-legend i.created{background:#397fff}.trend-legend i.completed{background:#40d99a}.trend-visual{min-height:0}.task-trend-chart svg{display:block;width:100%;height:100%}.grid-lines line{stroke:rgba(72,131,197,.17);stroke-width:1}.trend-area{fill:url(#trendFill)}.trend-line{fill:none;stroke:#2bd2ff;stroke-width:2}.trend-dots circle{fill:#b6f6ff;stroke:#2bd2ff;stroke-width:2}.trend-value{fill:#bcefff;font-size:8px;font-weight:600}.trend-bar.created{fill:#397fff;opacity:.66}.trend-bar.completed{fill:#40d99a;opacity:.72}.trend-labels text{fill:#607b9c;font-size:9px}
.status-distribution{display:grid;grid-template-columns:155px 1fr;align-items:center;gap:22px;height:170px}.status-donut{display:grid;place-items:center;width:142px;height:142px;border-radius:50%;box-shadow:0 0 24px rgba(37,159,255,.2)}.status-donut:before{content:"";grid-area:1/1;width:92px;height:92px;border-radius:50%;background:#03122c;box-shadow:inset 0 0 16px rgba(31,97,171,.3)}.status-donut>span{grid-area:1/1;z-index:1;display:grid;text-align:center}.status-donut small,.status-donut em{color:#718cab;font-size:9px;font-style:normal}.status-donut strong{color:#edf8ff;font-size:27px;line-height:1.1}.distribution-legend{display:grid;gap:11px}.distribution-legend>div{display:grid;grid-template-columns:8px 1fr 30px 45px;align-items:center;gap:7px;color:#9eb4ce;font-size:10px}.distribution-legend i{width:7px;height:7px;border-radius:50%}.distribution-legend strong{color:#dcecff;text-align:right}.distribution-legend em{color:#6f87a7;font-style:normal;text-align:right}.dashboard-empty{color:#607c9e;font-size:11px;text-align:center}

footer{color:#476589}

/* 团队负荷趋势图：纵坐标、网格线和平滑曲线 */
.grid-lines line{stroke:rgba(72,131,197,.2);stroke-width:1;stroke-dasharray:3 4}
.trend-axis{stroke:rgba(88,157,226,.38);stroke-width:1}
.trend-line{stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.trend-labels text,.trend-y-labels text{fill:#6d88a8;font-size:9px}
.trend-y-labels .trend-axis-title{fill:#7e9dbc;font-size:9px;font-weight:600;letter-spacing:1px}

@media(min-width:1800px){
  .topbar{min-height:clamp(68px,7vh,118px);padding-inline:clamp(18px,1.5vw,42px)}
  .brand h1{font-size:clamp(27px,1.6vw,42px)}
  .brand p{font-size:clamp(9px,.55vw,15px)}
  .module-nav{gap:clamp(34px,3vw,90px)}
  .module-nav button{min-width:clamp(118px,7vw,220px);padding-block:clamp(16px,1.5vh,28px)}
  .module-nav span{font-size:clamp(15px,.86vw,23px)}
  .dashboard-overview{gap:clamp(16px,1vw,30px)}
  .dashboard-overview .metric{min-height:clamp(122px,13vh,230px);padding:clamp(20px,1.4vw,38px)}
  .dashboard-overview .metric>span:not(.metric-icon){font-size:clamp(15px,.82vw,22px)}
  .dashboard-overview .metric strong{font-size:clamp(36px,2vw,56px)}
  .dashboard-overview .metric small{font-size:clamp(11px,.62vw,17px)}
  .dashboard-toolbar{padding:clamp(10px,1vh,18px) clamp(14px,1vw,28px)}
  .dashboard-toolbar .view-title h2{font-size:clamp(15px,.9vw,24px)}
  .dashboard-toolbar .view-title p{font-size:clamp(10px,.58vw,15px)}
  .dashboard-workspace,.dashboard-charts{gap:clamp(10px,.7vw,22px)}
  .kanban-grid{gap:clamp(6px,.45vw,14px)}
  .kanban-column>header,.workload-panel>header{padding:clamp(13px,1vh,22px) clamp(15px,1vw,28px)}
  .kanban-column>header h3,.workload-panel>header h3{font-size:clamp(18px,1vw,27px)}
  .compact-task{padding:clamp(12px,.8vw,20px)}
  .compact-title h4{font-size:clamp(13px,.72vw,19px)}
  .compact-meta,.compact-foot{font-size:clamp(9px,.5vw,14px)}
  .workload-list{gap:clamp(12px,1.1vh,22px);padding:clamp(13px,1vw,26px)}
  .workload-item{grid-template-columns:clamp(27px,1.7vw,44px) clamp(48px,3vw,78px) 1fr clamp(35px,2.3vw,58px)}
  .workload-item .avatar{width:clamp(27px,1.7vw,44px);height:clamp(27px,1.7vw,44px);font-size:clamp(11px,.62vw,17px)}
  .workload-item strong,.workload-item em{font-size:clamp(11px,.62vw,17px)}
  .trend-panel h3,.distribution-panel h3{font-size:clamp(18px,1vw,28px)}
  .status-distribution{height:calc(clamp(220px,25vh,500px) - 48px);grid-template-columns:clamp(155px,10vw,280px) 1fr}
  .status-donut{width:clamp(142px,8vw,240px);height:clamp(142px,8vw,240px)}
  .status-donut:before{width:65%;height:65%}
}

.compact-actions .complete{width:42px}

@media(max-width:1350px){.dashboard-workspace{grid-template-columns:1fr}.workload-list{grid-template-columns:repeat(3,1fr)}.kanban-list{height:330px}.dashboard-overview .metric{grid-template-columns:55px 1fr;padding:17px}.metric-icon{width:52px;height:52px}.metric-icon:before{font-size:24px}}
@media(max-width:1050px){.kanban-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-list{height:350px}.dashboard-charts{grid-template-columns:1fr}.workload-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.shell{width:calc(100% - 16px);padding-top:8px}.topbar{flex-wrap:wrap;gap:10px}.brand h1{font-size:19px}.tech-beacon{display:none}.module-nav{gap:4px;padding:0 4px}.module-nav button{min-width:0;flex:1;padding:12px 4px 10px}.module-nav span{font-size:11px}.dashboard-overview{grid-template-columns:repeat(2,1fr);gap:7px}.dashboard-overview .metric{min-height:100px;grid-template-columns:42px 1fr;column-gap:9px;padding:13px}.metric-icon{width:39px;height:39px}.metric-icon:before{font-size:19px}.dashboard-overview .metric strong{font-size:28px}.metric-bars{display:none}.dashboard-toolbar{align-items:flex-start;flex-direction:column}.dashboard-toolbar .filters{width:100%}.kanban-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.kanban-column{flex:0 0 min(86vw,360px);scroll-snap-align:start}.kanban-list{height:420px}.workload-list{grid-template-columns:1fr}.dashboard-charts{grid-template-columns:1fr}.trend-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.trend-summary>span{display:grid;gap:1px;text-align:center}.trend-summary strong{font-size:14px}.trend-legend{grid-column:1/-1;justify-content:center;margin:2px 0 0}.status-distribution{grid-template-columns:125px 1fr;gap:12px}.status-donut{width:116px;height:116px}.status-donut:before{width:75px;height:75px}}
@media(max-width:480px){.top-actions{width:100%;justify-content:flex-end}.brand-icon{display:none}.dashboard-overview .metric small{display:none}.dashboard-overview .metric{min-height:82px}.dashboard-toolbar .view-title{display:none}.dashboard-toolbar .filters{flex-direction:column}.task-export-action{width:100%}.status-distribution{grid-template-columns:1fr;height:auto;justify-items:center}.distribution-legend{width:100%}}
