:root{
  --bg:#eef5fb;
  --bg-soft:#f8fbff;
  --panel:#fff;
  --line:#e3ebf5;
  --ink:#1f2d3d;
  --text:#43546a;
  --muted:#8a9bb2;
  --brand:#6f8ee8;
  --brand-hover:#5d79d8;
  --brand-soft:#eef3ff;
  --mint:#eef6ff;
  --green:#5d8fe8;
  --green-soft:#edf4ff;
  --amber:#c98621;
  --amber-soft:#fff7e7;
  --red:#e35b5b;
  --red-soft:#fff0f0;
  --blue:#4f7ccf;
  --blue-soft:#edf5ff;
  --purple:#7b89c8;
  --purple-soft:#f3f6ff;
  --gray-soft:#f7fafb;
  --shadow:0 14px 34px rgba(71,96,128,.10);
  --radius:8px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:linear-gradient(135deg,#edf6ff 0%,#f9fbff 48%,#f2f6fb 100%);color:var(--ink);font-family:var(--font);font-size:14px;overflow:hidden}
button,input,select,textarea{font:inherit}
button{border:0;background:none;cursor:pointer}
.app{height:calc(100vh - 24px);margin:12px;display:flex;border-radius:28px;overflow:hidden;background:rgba(255,255,255,.72);box-shadow:0 26px 70px rgba(72,126,131,.18);--side-width:236px;--todo-side-width:210px}
.side{width:var(--side-width);background:linear-gradient(180deg,#f7fbff 0%,#eef6ff 100%);color:var(--text);display:flex;flex-direction:column;border-right:1px solid rgba(214,226,242,.88);position:relative;transition:width .16s ease}
.side-resizer,.todo-resizer{position:absolute;top:0;right:-5px;width:10px;height:100%;z-index:12;cursor:col-resize;display:flex;align-items:center;justify-content:center}
.side-resizer:before,.todo-resizer:before{content:"";width:2px;height:100%;background:transparent;border-radius:2px;transition:background .14s ease,box-shadow .14s ease}
.side-resizer:hover:before,.todo-resizer:hover:before,.app.resizing .side-resizer:before,.todo-center.resizing .todo-resizer:before{background:#8fb4ff;box-shadow:0 0 0 3px rgba(143,180,255,.16)}
.side-collapsed{--side-width:92px}
.side-collapsed .brand{padding:0;justify-content:center}
.side-collapsed .brand-mark{width:38px;height:38px;border-radius:12px}
.side-collapsed .brand>div:not(.brand-mark),.side-collapsed .nav small,.side-collapsed .nav .nav-full,.side-collapsed .side-user-info{display:none}
.side-collapsed .nav{padding:10px 8px}
.side-collapsed .nav .nav-short{display:block}
.side-collapsed .nav button{height:46px;justify-content:center;align-items:center;padding:0 8px;border-left:0;border-radius:10px;gap:0;margin:3px 0;text-align:center}
.side-collapsed .nav button.active{background:#e8f1ff;color:#244577;box-shadow:inset 3px 0 0 var(--brand)}
.side-collapsed .nav b{font-size:12px;font-weight:760;line-height:1;white-space:nowrap}
.side-collapsed .side-user{padding:14px 0;justify-content:center}
.brand{height:72px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid rgba(214,226,242,.88)}
.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#7da0f2,#9bc6f5);font-weight:800;color:#fff;box-shadow:0 8px 18px rgba(111,142,232,.24)}
.brand b{display:block;font-size:17px}
.brand span{display:block;color:#8b9db3;font-size:11px;margin-top:3px}
.nav{padding:14px 0;flex:1}
.nav button{width:100%;height:52px;padding:0 22px;display:flex;align-items:center;color:#5f728a;border-left:3px solid transparent;text-align:left}
.nav button:hover{background:rgba(111,142,232,.10);color:#2b3b56}
.nav button.active{background:rgba(111,142,232,.16);border-left-color:var(--brand);color:#243a68}
.nav .ico{display:none}
.nav b{display:block;font-size:14px;font-weight:700;letter-spacing:0}
.nav .nav-short{display:none}
.nav small{display:block;font-size:11px;color:#9aa9bc;margin-top:3px}
.side-user{padding:16px 18px;border-top:1px solid rgba(214,226,242,.88);color:#7b8da5;font-size:12px;line-height:1.45;display:flex;align-items:center;justify-content:space-between;gap:12px}
.side-user-info{min-width:0;display:grid;gap:3px}
.side-user-info b{font-size:13px;color:#33445c;font-weight:750}
.side-user-info span{font-size:12px;color:#7f8fa5}
.side-settings{width:32px;height:32px;border-radius:8px;color:#6f8ee8;background:transparent;display:grid;place-items:center;flex:0 0 auto;margin-bottom:1px}
.side-settings:hover,.side-settings.active{background:#e7efff;color:#1769ff}
.side-settings svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.top{height:72px;background:rgba(255,255,255,.86);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;backdrop-filter:blur(18px)}
.top-left{display:flex;align-items:center;gap:12px}
.top h1{font-size:22px;margin:0;font-weight:750}
.scope{height:30px;display:inline-flex;align-items:center;gap:6px;background:#f6f9ff;border:1px solid var(--line);border-radius:7px;padding:0 8px;color:var(--muted);font-size:12px}
.scope select,.filter select{height:24px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:0 24px 0 8px;color:var(--text);outline:none}
.top-actions{display:flex;align-items:center;gap:10px}
#syncBtn{display:none}
.search{width:240px;height:36px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 12px;outline:none}
.search:focus,.scope select:focus,.filter select:focus,textarea:focus,input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(111,142,232,.15)}
.btn{height:34px;border-radius:7px;border:1px solid var(--line);background:#fff;color:var(--text);padding:0 12px;font-weight:650}
.btn:hover{border-color:#b9c5d8;background:#f8fafc}
.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.btn.danger{background:var(--red-soft);border-color:#ffd3cf;color:var(--red)}
.btn.ghost{background:transparent}
.content{flex:1;min-height:0;padding:18px 22px;overflow:hidden;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78))}
.boot-loading{height:100%;min-height:260px;display:grid;place-items:center;text-align:center;color:var(--muted)}
.boot-loading b{display:block;color:var(--ink);font-size:16px;margin-bottom:8px}
.boot-loading span{display:block;font-size:13px}
.page{height:100%;display:grid;grid-template-columns:minmax(420px,44%) 1fr;gap:16px}
.full-page{height:100%;display:flex;flex-direction:column;gap:14px;overflow:auto;padding-right:4px}
.panel{background:rgba(255,255,255,.94);border:1px solid rgba(225,234,246,.96);border-radius:var(--radius);box-shadow:0 8px 24px rgba(69,93,128,.055);min-width:0}
.list-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.panel-head{min-height:52px;padding:12px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(180deg,#fff,#fbfefe)}
.panel-head h2{margin:0;font-size:15px}
.panel-head span{color:var(--muted);font-size:12px}
.filters{padding:10px 12px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.filter{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}
.filter select{min-width:0;width:100%;height:30px}
.list{overflow:auto;min-height:0;padding:8px}
.task-row{height:52px;display:grid;grid-template-columns:1fr auto;gap:8px;padding:0 12px;border:1px solid transparent;border-radius:6px;margin-bottom:3px;background:#fff;cursor:pointer}
.task-row:hover{background:#f5f8ff;border-color:#d5def5}
.task-row.active{background:#f1f5ff;border-color:#b3c4f5}
.task-left{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}
.task-title{font-weight:650;color:var(--ink);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.prio-stripe{flex-shrink:0;width:3px;height:18px;border-radius:2px}
.prio-stripe.p0{background:var(--red)}
.prio-stripe.p1{background:var(--amber)}
.prio-stripe.p2{background:var(--blue)}
.prio-stripe.p3{background:#b1bfd0}
.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;display:inline-block}
.dot.pending{background:#c5d0de}
.dot.doing{background:var(--brand)}
.dot.checking{background:var(--amber)}
.dot.done{background:var(--green)}
.dot.rework{background:var(--red)}
.dot.cancel{background:var(--red)}
.task-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.avatar{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700;color:#fff;flex-shrink:0}
.avatar.a0{background:#4f6ef6}
.avatar.a1{background:#e8961e}
.avatar.a2{background:#22b07d}
.avatar.a3{background:#e5484d}
.avatar.a4{background:#8b5cf6}
.due{font-size:12px;color:var(--muted);white-space:nowrap}
.row-right{display:none}
.tag{display:inline-flex;align-items:center;height:24px;border:1px solid #dfe5ee;border-radius:7px;padding:0 9px;font-size:12px;font-weight:650;line-height:1;white-space:nowrap;background:#fff;color:#64748b}
.pending{background:#f8fafc;border-color:#e3e8ef;color:#64748b}
.doing{background:#f3fbf8;border-color:#d8efe6;color:var(--brand)}
.checking{background:#fff9ec;border-color:#f3e2ba;color:var(--amber)}
.done{background:#f3fbf8;border-color:#d8efe6;color:var(--brand)}
.rework{background:#fff3f1;border-color:#f3d8d4;color:var(--red)}
.cancel{background:#fff3f1;border-color:#f3d8d4;color:var(--red)}
.p0{background:#fff;border-color:#f1c9c3;color:var(--red)}
.p1{background:#fff;border-color:#efd9a7;color:var(--amber)}
.p2{background:#fff;border-color:#cadbf8;color:var(--blue)}
.p3{background:#fff;border-color:#d9e0ea;color:#64748b}
.type{background:#f1f5ff;color:#5a73c7}
.detail{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.detail-head{padding:16px;border-bottom:1px solid var(--line)}
.detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.detail-title h2{font-size:20px;line-height:1.35;margin:0}
.icon-btn{width:32px;height:32px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--brand);font-weight:800}
.detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.detail-body{overflow:auto;padding:14px}
.dtab-wrap{display:flex;border-bottom:1px solid var(--line);margin:0 -14px 12px;padding:0 14px}
.dtab{height:34px;padding:0 10px;font-size:12px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent}
.dtab.active{color:var(--brand);border-bottom-color:var(--brand)}
.tc{display:none;flex-direction:column;gap:12px}
.tc.active{display:flex}
.card{border:1px solid var(--line);border-radius:8px;background:#fff}
.card-title{height:38px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--line);font-size:13px;font-weight:750;color:var(--text)}
.card-body{padding:12px;color:var(--text);line-height:1.65}
.two-line{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card.open .two-line{display:block}
.link-btn{color:var(--brand);font-weight:700}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.record{display:grid;grid-template-columns:122px 1fr;gap:10px;border-bottom:1px solid var(--line);padding:11px 0}
.record:last-child{border-bottom:0}
.record-time{font-size:12px;color:var(--muted)}
.record-main b{display:block;margin-bottom:4px}
.record-main p{margin:0;color:var(--text);line-height:1.6}
.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.summary-card{padding:14px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,#fff,#fbfffe)}
.summary-card span{display:block;color:var(--muted);font-size:12px}
.summary-card b{font-size:26px;color:#233b44}
.summary-card{position:relative;min-height:86px;overflow:hidden}
.summary-card:after{content:"";position:absolute;right:14px;top:16px;width:34px;height:34px;border-radius:50%;background:conic-gradient(var(--brand) 0 68%,#edf2fa 68% 100%)}
.summary-card:before{content:"";position:absolute;right:22px;top:24px;width:18px;height:18px;border-radius:50%;background:#fff;z-index:1}
.summary-card:nth-child(2):after{background:conic-gradient(#5967f2 0 54%,#edf2fa 54% 100%)}
.summary-card:nth-child(3):after{background:conic-gradient(#7aa0e6 0 42%,#edf2fa 42% 100%)}
.summary-card:nth-child(4):after{background:conic-gradient(#e35b5b 0 23%,#edf2fa 23% 100%)}
.dashboard-page{gap:12px}
.dashboard-top{display:grid;grid-template-columns:minmax(360px,2fr) minmax(0,3fr);gap:18px;align-items:start}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-left-stack{display:grid;gap:18px;min-width:0}
.dashboard-right-stack{display:grid;gap:14px;min-width:0}
.dashboard-card{background:rgba(255,255,255,.95);border:1px solid rgba(225,234,246,.96);border-radius:8px;box-shadow:0 8px 24px rgba(69,93,128,.045)}
.desk-layout{display:grid;grid-template-rows:130px 320px auto auto;gap:14px;min-width:0;align-content:start;overflow-y:scroll;scrollbar-gutter:stable}
.desk-top{height:130px;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;overflow:hidden}
.desk-block{display:grid;gap:10px}
.desk-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.desk-quick{padding:0;background:transparent;border:0;box-shadow:none}
.desk-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.desk-section-head h2{margin:0;font-size:15px;color:#1f2937}
.desk-section-head span{font-size:12px;color:var(--muted)}
.desk-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.desk-quick-grid button{height:96px;border:1px solid rgba(225,234,246,.96);border-radius:8px;background:rgba(255,255,255,.95);box-shadow:0 8px 24px rgba(69,93,128,.045);color:#27364a;font-size:13px;font-weight:800}
.desk-quick-grid button::before{content:"+";margin-right:4px;color:#1769ff;font-weight:900}
.desk-quick-grid button:hover{border-color:#bdd2f8;background:#f5f9ff;color:#1769ff}
.desk-quick-grid button:nth-child(1){background:linear-gradient(180deg,#fff,#f6f9ff)}
.desk-quick-grid button:nth-child(2){background:linear-gradient(180deg,#fff,#f7fbff)}
.desk-quick-grid button:nth-child(3){background:linear-gradient(180deg,#fff,#f7fffd)}
.desk-quick-grid button:nth-child(4){background:linear-gradient(180deg,#fff,#fbf9ff)}
.desk-quick-grid button.is-disabled,.todo-add.is-disabled{opacity:.48;cursor:not-allowed;background:#eef2f7;color:#8b98aa;box-shadow:none}
.desk-quick-grid button.is-disabled:hover,.todo-add.is-disabled:hover{border-color:rgba(225,234,246,.96);background:#eef2f7;color:#8b98aa}
.desk-middle{height:320px;display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.5fr);gap:16px;align-items:stretch;overflow:hidden}
.desk-middle .desk-block{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr)}
.desk-middle .dashboard-card{height:100%}
.desk-calendar-panel{padding:12px 14px;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.desk-calendar-panel .mini-calendar-head{margin-bottom:12px}
.desk-trend-card{display:flex;flex-direction:column;min-height:0}
.desk-trend-card .chart-head{display:none}
.desk-trend-card .trend-summary-chart,.desk-trend-card .trend-person-chart{height:auto;min-height:238px;flex:1}
.desk-trend-title-actions{display:flex;align-items:center;gap:8px}
.desk-trend-title-actions .chart-date-filter>button{height:24px}
.desk-recent-title{display:flex;align-items:center;justify-content:flex-start;margin:2px 0 -4px}
.desk-title-inline{display:flex;align-items:center;gap:10px;min-width:0}
.desk-recent-title h2{margin:0;font-size:16px;color:#1f2937}
.desk-recent-title span{display:none}
.desk-recent-filter{height:26px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#607089;padding:0 10px;font-size:11px;font-weight:750}
.desk-recent-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1fr) minmax(300px,1fr);gap:16px;align-items:start}
.desk-schedule-panel{padding:14px;min-height:210px}
.desk-schedule-section+.desk-schedule-section{border-top:1px solid #edf1f6;margin-top:14px;padding-top:14px}
.desk-schedule-section h3{margin:0 0 10px;font-size:14px;color:#1f2937}
.desk-task-list{display:grid;gap:8px}
.desk-task-line{width:100%;min-height:30px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left}
.desk-task-line:hover b{color:#1769ff}
.desk-task-main{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden}
.desk-task-main .tag{height:16px;min-width:auto;margin:0;padding:0 5px;border-radius:5px;font-size:10px;line-height:16px;flex:0 0 auto}
.desk-task-main b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#233044}
.desk-task-owner{font-size:11px;color:#7d8794;white-space:nowrap}
.desk-progress-line{width:100%;display:block;text-align:left;color:#69778a;font-size:11px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.desk-progress-line:hover{color:#1769ff}
.desk-progress-line b{color:#344256}
.desk-upcoming-block{display:grid;gap:8px}
.desk-upcoming-block+.desk-upcoming-block{margin-top:13px;border-top:1px solid #edf1f6;padding-top:13px}
.desk-upcoming-block h3{margin:0;font-size:13px;color:#1f2937}
.metric-card{height:96px;padding:14px;position:relative;overflow:hidden}
.metric-card span{display:block;color:var(--muted);font-size:12px}
.metric-card strong{display:block;margin-top:8px;font-size:24px;line-height:1;font-weight:800;color:#223246}
.metric-card small{display:block;margin-top:8px;color:var(--muted);font-size:11px}
.metric-ring{position:absolute;right:16px;top:18px;width:42px;height:42px;border-radius:50%;background:conic-gradient(var(--brand) 0 70%,#eef3fb 70% 100%)}
.metric-ring:after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.metric-card:nth-child(2) .metric-ring{background:conic-gradient(#7f8df1 0 58%,#eef3fb 58% 100%)}
.metric-card:nth-child(3) .metric-ring{background:conic-gradient(#72a5e8 0 48%,#eef3fb 48% 100%)}
.metric-card:nth-child(4) .metric-ring{background:conic-gradient(#a7b5ca 0 36%,#eef3fb 36% 100%)}
.mini-calendar{padding:12px 14px;align-self:start}
.mini-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.mini-calendar-head b{font-size:13px}
.mini-calendar-head span{font-size:12px;color:var(--muted)}
.calendar-nav{display:inline-flex;align-items:center;gap:6px}
.calendar-nav button{height:26px;min-width:28px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#6e83a4;font-size:12px;font-weight:750}
.calendar-nav button:hover{background:#f3f7ff;color:#1769ff}
.calendar-mode-toggle{padding:0 11px;background:#fff!important;border-color:var(--line)!important;color:#334155!important}
.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;align-content:start}
.calendar-grid span,.calendar-grid button{height:24px;display:grid;place-items:center;border-radius:12px;color:var(--muted);font-size:11px;position:relative}
.calendar-grid button{width:100%;background:transparent;cursor:pointer}
.calendar-grid.month{flex:1;grid-template-rows:24px repeat(6,minmax(36px,1fr));row-gap:6px;align-content:stretch}
.calendar-grid.month span,.calendar-grid.month button{height:100%;min-height:36px}
.calendar-grid .weekday{font-weight:750;color:#91a0b5}
.calendar-grid .muted-day{color:#c7d1df}
.calendar-grid .today{background:var(--brand);color:#fff;font-weight:700}
.calendar-grid .selected:not(.today){background:#eef5ff;color:#1769ff;font-weight:800;box-shadow:inset 0 0 0 1px #9fc3ff}
.calendar-grid .due-count{position:absolute;right:-3px;top:-5px;min-width:15px;height:15px;border-radius:8px;background:#1769ff;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;padding:0 4px;line-height:1;box-shadow:0 2px 6px rgba(23,105,255,.24)}
.calendar-grid .done-count{background:#31c6b0}
.calendar-grid .today .due-count{background:#fff;color:#1769ff}
.calendar-grid .today .done-count{background:#fff;color:#20a895}
.desk-side-panel{padding:14px;background:rgba(255,255,255,.95);border:1px solid rgba(225,234,246,.96);border-radius:8px;box-shadow:0 8px 24px rgba(69,93,128,.045)}
.desk-layout{
  --desk-surface-shadow:0 0 0 1px rgba(62,81,112,.055),0 1px 2px rgba(31,45,61,.035),0 10px 26px rgba(69,93,128,.052);
  --desk-surface-shadow-hover:0 0 0 1px rgba(66,98,152,.105),0 3px 8px rgba(31,45,61,.05),0 16px 34px rgba(69,93,128,.085);
}
.desk-layout .dashboard-card,
.desk-side-panel{
  border:0;
  background:rgba(255,255,255,.96);
  box-shadow:var(--desk-surface-shadow);
}
.desk-quick-grid button{
  border:0;
  box-shadow:var(--desk-surface-shadow);
}
.desk-quick-grid button:hover{
  box-shadow:var(--desk-surface-shadow-hover);
}
.desk-layout .chart-date-panel{
  border:0;
  box-shadow:0 0 0 1px rgba(62,81,112,.07),0 8px 18px rgba(31,45,61,.08),0 18px 36px rgba(31,45,61,.08);
}
.today-side-card{padding:0;background:transparent;border:0;box-shadow:none}
.today-side-card h2{margin:0;font-size:14px}
.today-side-card+.today-side-card{border-top:1px solid #edf1f6;padding-top:14px;margin-top:14px}
.today-side-card .side-sub{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.side-mini-list{display:grid;gap:9px;margin-top:12px}
.side-mini-item{border:0;border-radius:0;padding:0;background:transparent;text-align:left}
.side-mini-item:hover b,.side-mini-item:hover .side-summary-main b{color:#1769ff}
.side-mini-item b{display:block;font-size:12px;line-height:1.45;color:var(--ink)}
.desk-meeting-title{display:flex!important;align-items:center;gap:6px;min-width:0}
.desk-meeting-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.desk-meeting-task-tag{width:18px;height:18px;border-radius:6px;background:#fff4db;border:1px solid #f2cd83;color:#b7791f;font-size:11px;font-style:normal;font-weight:900;line-height:16px;text-align:center;flex:0 0 auto}
.side-mini-item>span:not(.side-summary-main):not(.side-summary-meta){display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}
.side-summary-block{display:grid;gap:4px}
.side-summary-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:24px;width:100%;white-space:nowrap;overflow:hidden}
.side-summary-main{display:flex;align-items:center;gap:5px;min-width:0;justify-self:start;overflow:hidden}
.side-summary-main .tag{display:inline-flex;flex:0 0 auto;height:16px;min-width:auto;margin:0;padding:0 5px;border-radius:5px;font-size:10px;line-height:16px}
.side-summary-main b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ink)}
.side-summary-meta{display:block;margin:0;color:var(--muted);font-size:11px;justify-self:end;white-space:nowrap}
.side-summary-record{padding-left:31px;color:#7b8492;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.chart-date-filter{position:relative}
.chart-date-filter>button{height:26px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#607089;padding:0 10px;font-size:11px;font-weight:750}
.chart-date-panel{position:absolute;right:0;top:32px;width:220px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(31,45,61,.14);padding:8px;display:none;z-index:20}
.chart-date-panel.show{display:grid;gap:6px}
.chart-date-panel button{height:30px;border-radius:6px;text-align:left;padding:0 9px;color:#53647a}
.chart-date-panel button.active,.chart-date-panel button:hover{background:#eef5ff;color:#1769ff}
.chart-date-panel input{height:30px;border:1px solid var(--line);border-radius:6px;padding:0 7px;color:#53647a}
.chart-grid{display:block;min-height:310px}
.chart-card{padding:14px}
.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.chart-head h2{margin:0;font-size:15px}
.chart-tabs{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.chart-tabs span{height:24px;display:inline-flex;align-items:center;padding:0 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px}
.chart-tabs span.active{background:var(--brand-soft);border-color:#cbd9f6;color:var(--brand)}
.chart-filter{height:24px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--muted);font-size:11px;padding:0 8px;outline:none}
.chart-custom-date{height:24px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--muted);font-size:11px;padding:0 7px;outline:none}
.line-chart{height:230px;position:relative;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(111,142,232,.055),rgba(255,255,255,0))}
.line-chart svg{width:100%;height:100%;display:block}
.chart-axis{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:8px;color:var(--muted);font-size:11px;text-align:center}
.trend-summary-chart{height:230px;border-bottom:1px solid var(--line);background:#fbfdff;overflow:hidden;border-radius:8px 8px 0 0}
.trend-summary-chart svg{width:100%;height:100%;display:block}
.trend-summary-chart .trend-grid-line{stroke:#edf2f8;stroke-width:1}
.trend-summary-chart .trend-axis-text{fill:#8b98aa;font-size:11px}
.trend-summary-chart .trend-legend-text{fill:#56667a;font-size:11px;font-weight:650}
.trend-summary-chart .trend-total{fill:none;stroke:#3f80e8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.trend-summary-chart .trend-done{fill:none;stroke:#31c6b0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.trend-summary-chart .trend-total-area{fill:url(#trendTotalArea)}
.trend-summary-chart .trend-done-area{fill:url(#trendDoneArea)}
.trend-summary-chart .trend-dot-total{fill:#3f80e8;stroke:#fff;stroke-width:2}
.trend-summary-chart .trend-dot-done{fill:#31c6b0;stroke:#fff;stroke-width:2}
.trend-summary-chart .trend-tip{fill:#fff;stroke:#e5edf7;stroke-width:1;filter:drop-shadow(0 8px 18px rgba(34,60,96,.14))}
.trend-summary-chart .trend-tip-date{fill:#5e6d80;font-size:11px;font-weight:800}
.trend-summary-chart .trend-tip-label{fill:#607089;font-size:11px}
.trend-summary-chart .trend-tip-value{fill:#3a4a5f;font-size:11px;font-weight:800}
.trend-person-chart{height:230px;border-bottom:1px solid var(--line);background:#fbfdff;overflow:auto;border-radius:8px 8px 0 0}
.trend-person-chart svg{min-width:760px;width:100%;height:100%;display:block}
.trend-person-chart .trend-grid-line{stroke:#edf2f8;stroke-width:1}
.trend-person-chart .trend-axis-text{fill:#8b98aa;font-size:10px}
.trend-person-chart .trend-date-text{fill:#617087;font-size:11px;font-weight:750}
.trend-person-chart .trend-person-label{fill:#7d8da3;font-size:9px}
.trend-person-chart .trend-total-bar{fill:#9bb8f7}
.trend-person-chart .trend-done-bar{fill:#3457c8}
.bar-chart{height:190px;display:flex;align-items:end;gap:18px;padding:12px 8px 0;border-bottom:1px solid var(--line)}
.bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
.bar{width:18px;border-radius:10px 10px 2px 2px;background:linear-gradient(180deg,#85a3f0,#cfe0ff)}
.bar-item span{font-size:11px;color:var(--muted);white-space:nowrap}
.rank-list{padding:0 14px 12px;display:grid;gap:10px}
.rank-item{display:grid;grid-template-columns:24px 1fr 46px;gap:8px;align-items:center}
.rank-item i{font-style:normal;width:20px;height:20px;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:800}
.rank-bar{height:6px;background:#eef3fb;border-radius:6px;overflow:hidden}
.rank-bar span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#7da0f2,#9bc6f5)}
.rank-item em{font-style:normal;color:var(--muted);font-size:12px;text-align:right}
.todo-list{padding:0 14px 12px;display:grid;gap:9px}
.todo-item{border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:#fff}
.todo-item b{display:block;font-size:13px}
.todo-item span{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.focus-list{padding:0 14px 12px;display:grid;gap:9px}
.focus-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start;border-bottom:1px solid var(--line);padding:9px 0}
.focus-item:last-child{border-bottom:0}
.focus-item b{font-size:13px;line-height:1.45}
.focus-item span{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.focus-item em{font-style:normal;color:var(--muted);font-size:12px;white-space:nowrap}
.todo-center{height:100%;display:grid;grid-template-columns:var(--todo-side-width) minmax(0,1fr);gap:18px;background:#fff;border-radius:8px;padding:18px;overflow:hidden;position:relative;transition:grid-template-columns .16s ease}
.todo-side{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #edf1f6;padding-right:16px;overflow:hidden;position:relative;transition:padding .16s ease}
.todo-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.todo-side-head b{font-size:16px;color:#111827}
.todo-side-search{display:flex;gap:8px;margin-bottom:14px}
.todo-side-search input{height:36px;min-width:0;flex:1;border:1px solid #e5eaf2;border-radius:10px;background:#fff;padding:0 12px;outline:none}
.todo-add,.project-side-add{width:36px;height:36px;border-radius:8px;background:#1769ff;color:#fff;font-size:22px;line-height:1;display:grid;place-items:center;box-shadow:0 8px 18px rgba(23,105,255,.16)}
.todo-menu{display:grid;gap:2px;min-width:0;max-width:100%;overflow:hidden}
.todo-menu button{width:100%;max-width:100%;min-width:0;height:40px;border-radius:20px;display:flex;align-items:center;gap:10px;padding:0 10px;color:#1f2937;text-align:left;font-size:14px;overflow:hidden}
.todo-menu button.active{background:#eaf1ff;color:#1769ff;font-weight:750}
.todo-menu button b{font-weight:560;line-height:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}
.todo-menu button.active b{font-weight:750}
.menu-ico{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;color:#7c8796}
.menu-ico svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.todo-menu button.active .menu-ico{color:#1769ff}
.todo-menu em{margin-left:auto;font-style:normal;color:#9aa6b5;font-size:12px;min-width:18px;flex:0 0 24px;text-align:right;line-height:1}
.todo-menu .badge-red{min-width:16px;height:16px;border-radius:8px;background:#ff5a2d;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800;margin-left:auto;line-height:1;padding:0 4px}
.todo-center.todo-side-collapsed{--todo-side-width:62px;gap:12px}
.todo-center.todo-side-collapsed .todo-side{padding-right:10px}
.todo-center.todo-side-collapsed .todo-side-head b,.todo-center.todo-side-collapsed .todo-side-search input,.todo-center.todo-side-collapsed .todo-menu b{display:none}
.todo-center.todo-side-collapsed .todo-side-head{justify-content:center;margin-bottom:12px}
.todo-center.todo-side-collapsed .todo-side-search{justify-content:center}
.todo-center.todo-side-collapsed .todo-add{width:34px;height:34px;font-size:20px}
.todo-center.todo-side-collapsed .todo-menu button{justify-content:center;padding:0;height:38px;border-radius:12px;position:relative}
.todo-center.todo-side-collapsed .todo-menu em,.todo-center.todo-side-collapsed .todo-menu .badge-red{position:absolute;right:2px;top:2px;min-width:14px;height:14px;font-size:9px;padding:0 3px;border-radius:7px;background:#eaf1ff;color:#1769ff}
.todo-center.todo-side-collapsed .todo-menu .badge-red{background:#ff5a2d;color:#fff}
.todo-side-group{border-top:1px solid #edf1f6;margin-top:14px;padding-top:12px;min-width:0;max-width:100%;overflow:hidden}
.todo-side-group-title{height:26px;display:flex;align-items:center;color:#8a95a5;font-size:12px;font-weight:750;padding:0 10px}
.todo-setting{margin-top:auto;height:36px;display:flex;align-items:center;gap:8px;color:#4b5563}
.todo-main{min-width:0;overflow:auto;padding-right:4px}
.todo-main-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.todo-main-head h2{margin:0;font-size:18px;color:#111827}
.todo-main-tools{display:flex;align-items:center;gap:12px;color:#666f7d;font-size:13px;margin-bottom:18px;flex-wrap:wrap}
.todo-main-tools button{min-height:44px;min-width:108px;border-radius:22px;padding:0 18px;color:#5f6b7a;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;cursor:pointer;position:relative;touch-action:manipulation;user-select:none}
.todo-main-tools button:before{content:"";position:absolute;inset:-4px;border-radius:26px}
.todo-main-tools button:hover{background:#f3f6fb;color:#1769ff}
.tool-caret{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;color:#9aa6b5;display:inline-block;margin-left:3px;transform:rotate(45deg) translateY(-2px);font-size:0;line-height:0;flex:0 0 6px}
.todo-main-tools button:hover .tool-caret,.todo-main-tools button.active .tool-caret{color:#1769ff}
.todo-calendar{height:100%;display:grid;grid-template-columns:184px minmax(0,1fr);gap:16px;min-height:0}
.todo-calendar-side{border-right:1px solid #edf1f6;padding-right:12px;overflow:auto;min-height:0}
.todo-calendar-search{height:34px;width:100%;border:1px solid #dfe7f3;border-radius:8px;padding:0 10px;margin-bottom:16px;outline:none;color:#4b5563}
.todo-calendar-section{display:grid;gap:8px;margin-bottom:16px}
.todo-calendar-section h3{margin:0;color:#374151;font-size:13px}
.todo-calendar-person{height:30px;display:flex;align-items:center;gap:8px;color:#4b5563;font-size:12px}
.todo-calendar-person input{width:14px;height:14px;accent-color:#1769ff}
.todo-calendar-person small{margin-left:auto;color:#9aa6b5}
.todo-calendar-main{min-width:0;overflow:hidden;display:flex;flex-direction:column}
.todo-calendar-toolbar{height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:10px}
.todo-calendar-nav{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.todo-calendar-nav button{height:32px;border:1px solid #dfe7f3;border-radius:8px;background:#fff;color:#4b5563;padding:0 10px;font-weight:650}
.todo-calendar-nav button.icon{width:32px;padding:0;font-size:18px;line-height:1}
.todo-calendar-title{height:32px;border:1px solid transparent;border-radius:8px;background:transparent;font-weight:800;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 10px}
.todo-calendar-title:hover{border-color:#dfe7f3;background:#fff;color:#1769ff}
.todo-calendar-title span{color:#1769ff}
.todo-calendar-picker{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.todo-calendar-switch{height:32px;border:1px solid #d8e1ef;border-radius:8px;display:flex;align-items:center;padding:2px;background:#fff}
.todo-calendar-switch button{height:26px;min-width:58px;border-radius:6px;color:#4b5563;font-weight:650}
.todo-calendar-switch button.active{background:#eaf1ff;color:#1769ff}
.todo-calendar-grid{border:1px solid #dde5f0;border-radius:8px;overflow:hidden;background:#fff;min-height:0;flex:1}
.todo-month-head,.todo-month-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.todo-month-head span{height:34px;border-bottom:1px solid #dde5f0;display:flex;align-items:center;padding:0 12px;color:#4b5563;font-size:12px}
.todo-month-head span:first-child{color:#1769ff}
.todo-month-grid{height:calc(100% - 34px);grid-template-rows:repeat(6,minmax(92px,1fr))}
.todo-month-day{border-right:1px solid #dde5f0;border-bottom:1px solid #dde5f0;padding:7px 8px;min-width:0;overflow:hidden}
.todo-month-day:nth-child(7n){border-right:0}
.todo-month-day:nth-last-child(-n+7){border-bottom:0}
.todo-month-day.muted{background:#fafbfe;color:#9aa6b5}
.todo-month-day.today{background:#f5f8ff}
.todo-month-num{font-size:15px;font-weight:800;color:#2f3745;margin-bottom:5px}
.todo-month-day.muted .todo-month-num{color:#9aa6b5}
.todo-month-day.today .todo-month-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1769ff;color:#fff}
.todo-cal-event{height:20px;border-radius:4px;background:#b58608;color:#fff;padding:0 7px;margin-top:4px;font-size:11px;font-weight:750;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.todo-cal-event.p0{background:#b57900}.todo-cal-event.p1{background:#c69b3c}.todo-cal-event.p2{background:#87a6d8}.todo-cal-event.p3{background:#9aa6b5}
.todo-week-wrap,.todo-day-wrap{height:100%;display:grid;grid-template-columns:54px minmax(0,1fr);overflow:auto;position:relative}
.todo-week-days{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px}
.todo-day-days{display:grid;grid-template-columns:1fr;min-width:560px}
.todo-time-col{border-right:1px solid #dde5f0;background:#fff}
.todo-time-cell{height:44px;border-bottom:1px solid #dde5f0;color:#94a3b8;font-size:11px;display:flex;align-items:flex-start;justify-content:center;padding-top:4px}
.todo-week-col,.todo-day-col{border-right:1px solid #dde5f0;position:relative;background:repeating-linear-gradient(to bottom,#fff 0,#fff 43px,#dde5f0 44px)}
.todo-week-col:last-child,.todo-day-col:last-child{border-right:0}
.todo-week-date,.todo-day-date{height:52px;border-bottom:1px solid #dde5f0;padding:8px 10px;color:#1f2937;font-weight:800;background:#fff;position:sticky;top:0;z-index:2}
.todo-week-date small,.todo-day-date small{display:block;color:#1769ff;font-size:12px;margin-bottom:3px}
.todo-week-body,.todo-day-body{height:880px;position:relative}
.todo-hour-event{position:absolute;left:8px;right:8px;min-height:22px;border-radius:5px;background:#b58608;color:#fff;font-size:11px;font-weight:750;padding:4px 7px;overflow:hidden;cursor:pointer}
.todo-now-line{position:absolute;left:54px;right:0;height:1px;background:#ff4d4f;top:738px;z-index:3}
.todo-now-line:before{content:"19:58";position:absolute;left:-40px;top:-7px;color:#ff4d4f;font-size:11px}
.todo-card-list{display:grid;gap:10px}
.todo-project-group-list{display:grid;gap:14px}
.todo-project-group{display:grid;gap:10px}
.todo-project-group-head{min-height:38px;border:1px solid #dbe8fb;border-left:4px solid #1769ff;border-radius:8px;background:#f4f8ff;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:0 10px 0 12px;color:#4c5f78}
.todo-project-group-head b{font-size:13px;color:#174ea6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.todo-project-group-head span{font-size:12px;font-weight:800;color:#6c7f98;white-space:nowrap}
.todo-project-toggle{width:26px;height:26px;border-radius:6px;background:#fff;color:#1769ff;border:1px solid #c8dbff;display:grid;place-items:center;font-size:13px;font-weight:900}
.todo-project-toggle:hover{background:#eaf3ff}
.todo-card{min-height:80px;border:0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(37,48,68,.045);padding:10px 14px;display:grid;grid-template-columns:22px minmax(0,1fr) 72px;gap:12px;align-items:center;text-align:left}
.todo-card:hover{box-shadow:0 12px 28px rgba(37,48,68,.075)}
.todo-card-icon{width:18px;height:18px;border-radius:5px;background:#e8f2ff;color:#1769ff;display:grid;place-items:center;font-size:11px;font-weight:900;margin-top:2px}
.todo-card-icon.project{background:#eef6ff;color:#4f7ccf}
.todo-card h3{margin:0;font-size:14px;line-height:1.4;color:#111827;display:flex;align-items:baseline;gap:7px;flex-wrap:nowrap;min-width:0;overflow:hidden}
.todo-card-title-text{font-size:14px;font-weight:800;color:#111827;min-width:0;max-width:72%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
.todo-card-inline-desc{min-width:28px;color:#7f8da3;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
.source-pill{width:46px;height:18px;border:1px solid #d7dee9;border-radius:9px;background:#f7f8fa;color:#7b8492;padding:0;font-size:11px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 46px}
.star-mark{color:#f6b700;font-size:14px;line-height:1;flex:0 0 auto}
.todo-card p{margin:8px 0 0;color:#5f6b7a;font-size:13px;line-height:1.65}
.todo-card-fields{margin-top:5px;display:flex;flex-wrap:wrap;gap:5px 12px;color:#5f6b7a;font-size:12px;line-height:1.35}
.todo-card-fields .tag{height:20px;font-size:11px}
.todo-card-action{align-self:center;justify-self:end;min-width:58px;height:32px;border-radius:16px;background:#f5f7fb;color:#1769ff;padding:0 12px;font-weight:750;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}
.todo-card-action.primary{background:#eef4ff;color:#1769ff}
.todo-empty-state{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#5f6876}
.todo-empty-art{position:relative;width:188px;height:142px;margin-bottom:18px}
.todo-empty-card{position:absolute;left:62px;top:10px;width:98px;height:64px;border-radius:10px;background:#11cbbb;box-shadow:18px 18px 0 -4px #0bb8ac;transform:rotate(-12deg)}
.todo-empty-card:before{content:"";position:absolute;left:30px;top:17px;width:39px;height:20px;border-left:7px solid #fff;border-bottom:7px solid #fff;transform:rotate(-45deg);border-radius:2px}
.todo-empty-thumb{position:absolute;left:30px;top:56px;width:54px;height:66px;border:3px solid #24468d;border-left:0;border-bottom:0;border-radius:7px 18px 12px 0;transform:rotate(-14deg)}
.todo-empty-thumb:before{content:"";position:absolute;left:-18px;top:-22px;width:14px;height:58px;border:3px solid #24468d;border-right:0;border-bottom:0;border-radius:12px 0 0 0;transform:rotate(9deg)}
.todo-empty-thumb:after{content:"";position:absolute;left:11px;top:21px;width:42px;height:3px;background:#24468d;box-shadow:4px 13px 0 #24468d,4px 26px 0 #24468d;transform:rotate(-31deg);border-radius:4px}
.todo-empty-flag{position:absolute;left:46px;top:3px;width:34px;height:16px;border:3px solid #24468d;border-left:0;border-radius:0 0 4px 0;transform:rotate(-11deg);background:#fff}
.todo-empty-line{position:absolute;height:8px;border-radius:8px;background:#ffc21f;right:36px;bottom:32px;width:42px;transform:rotate(-10deg)}
.todo-empty-line.blue{right:11px;bottom:16px;width:56px;background:#3675ff}
.todo-empty-line.blue.short{right:74px;bottom:13px;width:22px}
.todo-empty-state b{font-size:18px;font-weight:650;color:#687280}
.todo-sort-menu{position:absolute;z-index:50;width:240px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(31,45,61,.14);padding:8px;display:none}
.todo-sort-menu.show{display:block}
.todo-sort-menu button{width:100%;min-height:38px;border-radius:7px;text-align:left;padding:0 11px;color:#4d6078;display:flex;align-items:center;justify-content:space-between;gap:10px}
.todo-sort-menu button:hover,.todo-sort-menu button.active{background:#eef5ff;color:#1769ff}
.todo-sort-menu button.active:after{content:"✓";font-weight:800}
.todo-sort-menu .menu-section{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}
.todo-sort-menu .menu-label{font-size:12px;color:#9aa6b5;padding:4px 10px 6px}
.todo-sort-menu .menu-actions{display:flex;gap:6px;border-top:1px solid var(--line);margin-top:7px;padding-top:8px}
.todo-sort-menu .menu-actions button{justify-content:center;min-height:34px}
.todo-sort-menu .filter-panel{display:grid;grid-template-columns:108px 1fr;min-height:210px}
.todo-sort-menu .filter-tabs{border-right:1px solid var(--line);padding:4px 6px 4px 0;display:grid;align-content:start;gap:4px}
.todo-sort-menu .filter-tabs button{height:38px;border-radius:7px;padding:0 10px;justify-content:flex-start;color:#64748b}
.todo-sort-menu .filter-tabs button.active{background:#eef5ff;color:#1769ff}
.todo-sort-menu .filter-tabs button.active:after{content:""}
.todo-sort-menu .filter-body{padding-left:10px;display:grid;align-content:start;gap:10px}
.todo-sort-menu .filter-group{display:none}
.todo-sort-menu .filter-group.active{display:block}
.todo-sort-menu .filter-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.todo-sort-menu .filter-options button{height:34px;border:1px solid #dfe7f3;border-radius:7px;background:#fff;justify-content:flex-start}
.todo-sort-menu .filter-options button.active{border-color:#bcd3ff;background:#f3f7ff;color:#1769ff}
.todo-sort-menu .filter-footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.todo-sort-menu .filter-footer button{width:auto;min-width:72px;height:34px;justify-content:center}
.todo-sort-menu .filter-footer .primary{background:#1769ff;color:#fff}
.todo-sort-menu .range{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-top:1px solid var(--line);margin-top:6px;padding-top:8px}
.todo-sort-menu input{min-width:0;height:30px;border:1px solid var(--line);border-radius:6px;padding:0 6px}
.todo-end{text-align:center;color:#b6beca;font-size:12px;padding:20px 0}
.todo-drawer-mask{position:fixed;inset:0;background:rgba(0,0,0,.08);z-index:45;display:none}
.todo-drawer-mask.show{display:block}
.todo-drawer{position:fixed;right:0;top:0;bottom:0;width:min(560px,42vw);background:#fff;box-shadow:-18px 0 42px rgba(28,38,56,.18);z-index:46;transform:translateX(102%);transition:transform .18s ease;display:flex;flex-direction:column}
.todo-drawer.show{transform:translateX(0)}
.todo-drawer-head{height:72px;border-bottom:1px solid var(--line);padding:0 18px;display:flex;align-items:center;justify-content:space-between}
.todo-drawer-titlebar{display:flex;align-items:center;gap:10px;min-width:0}
.todo-drawer-head h2{font-size:18px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}
.todo-drawer-tools{display:flex;align-items:center;gap:8px;color:#4b5563}
.todo-drawer-tools button{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-size:18px;line-height:1;color:#64748b}
.todo-drawer-tools button:hover{background:#f4f7fb}
.todo-star-btn{color:#aab4c2}
.todo-star-btn.starred{color:#f6b700}
.todo-drawer-body{flex:1;overflow:auto;padding:20px 28px 110px}
.todo-title-wrap{display:grid;gap:3px;margin:0 0 10px}
.todo-drawer-title{font-size:20px;line-height:1.35;margin:0;color:#111827}
.todo-drawer-title-input{width:100%;min-height:28px;max-height:52px;border:1px solid transparent;border-radius:7px;background:transparent;font-size:18px;font-weight:750;line-height:1.28;margin:0;padding:1px 4px;color:#111827;outline:none;resize:none;overflow:hidden}
.todo-drawer-title-input.expanded{max-height:180px;overflow:auto}
.todo-drawer-title-input:hover,.todo-drawer-title-input:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.todo-title-toggle{justify-self:start;height:24px;border-radius:6px;color:#1769ff;background:#f3f7ff;padding:0 8px;font-size:12px}
.todo-parent-line{height:30px;display:flex;align-items:center;gap:8px;color:#6b7280;margin:0 0 10px;min-width:0}
.todo-parent-line button{height:28px;border-radius:6px;color:#4b5563;background:transparent;padding:0 6px;font-weight:650}
.todo-parent-line button:hover{background:#f3f7ff;color:#1769ff}
.todo-parent-line b,.todo-parent-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.todo-parent-line b{color:#6b7280;font-weight:650;max-width:150px}
.todo-parent-line em{font-style:normal;color:#c2cad6}
.todo-parent-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1f2937;font-weight:750}
.todo-detail-panel{border:1px solid #edf1f6;border-radius:10px;background:#fff;padding:8px 0;margin-bottom:18px}
.todo-detail-row{min-height:48px;display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;align-items:center;color:#6b7280;padding:0 14px}
.todo-detail-row+.todo-detail-row{border-top:1px solid #f1f4f8}
.todo-detail-row>span{display:flex;align-items:center;gap:10px;color:#7d8794;font-size:13px}
.todo-field-ico{width:18px;height:18px;border:1px solid #dfe5ee;border-radius:5px;display:grid;place-items:center;color:#8a95a5;font-size:11px;line-height:1;background:#fff;flex:0 0 18px}
.todo-field-ico.flag{border-color:#ead6a4;color:#b78216}
.todo-field-ico.time{border-color:#d2dfef;color:#687b92}
.todo-field-ico.person{border-radius:50%}
.todo-detail-row b,.todo-detail-row strong{color:#1f2937}
.todo-detail-row .person-picker{width:max-content}
.todo-date-range-field{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);align-items:center;gap:4px;min-width:0;max-width:100%;font-size:12px}
.todo-date-range-field span{text-align:center;color:#8a95a5;font-size:12px}
.todo-date-input{height:30px;border:1px solid transparent;border-radius:6px;background:#f7f9fc;padding:0 6px;outline:none;color:#1f2937;font-size:12px;font-weight:600;cursor:pointer;min-width:0;width:100%}
.todo-date-input:hover,.todo-date-input:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.todo-date-display,.todo-person-display{height:32px;border:1px solid transparent;border-radius:6px;background:#f7f9fc;display:inline-flex;align-items:center;gap:8px;padding:0 10px;color:#1f2937;font-size:13px;font-weight:650;max-width:100%;cursor:pointer}
.todo-date-display{width:max-content;min-width:0;justify-content:flex-start;gap:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.todo-date-display span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.todo-person-display{width:100%}
.todo-person-display .avatar{width:22px;height:22px;font-size:10px}
.todo-date-display:hover,.todo-person-display:hover{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.todo-detail-pop-anchor{position:relative}
.todo-detail-pop-anchor .todo-date-popover{left:0;right:auto;top:38px;max-width:calc(100vw - 64px)}
.todo-detail-pop-anchor .todo-person-popover{left:0;right:auto;top:38px;max-width:calc(100vw - 64px)}
.todo-inline-input,.todo-inline-select{min-width:0;width:100%;height:32px;border:1px solid transparent;border-radius:6px;background:#f7f9fc;padding:0 8px;color:#1f2937;font-size:13px;font-weight:650;outline:none}
.todo-inline-input:hover,.todo-inline-input:focus,.todo-inline-select:hover,.todo-inline-select:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.todo-drawer-section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.todo-drawer-section h3{font-size:14px;margin:0 0 12px;color:#111827}
.inbox-content-section{display:grid;gap:12px}
.inbox-desc-text{margin:0;color:#4d5b6f;font-size:14px;line-height:1.75;white-space:pre-wrap}
.participant-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.participant-chip{height:32px;border-radius:16px;background:#f6f8fb;display:inline-flex;align-items:center;gap:7px;padding:0 10px 0 5px;color:#2f3a4a;font-size:12px;font-weight:700}
.participant-chip .avatar{width:22px;height:22px;font-size:10px}
.participant-add-wrap{position:relative;display:inline-flex}
.participant-add{width:32px;height:32px;border:1px dashed #c6d4e6;border-radius:10px;background:#fbfdff;color:#1769ff;font-size:18px;font-weight:700;display:grid;place-items:center}
.participant-add:hover{border-color:#9ebcf2;background:#eef5ff}
.drawer-add-line{height:28px;border:0;border-radius:6px;display:inline-flex;align-items:center;padding:0;color:#1769ff;background:transparent;cursor:pointer;font-size:13px;font-weight:650}
.drawer-add-line:hover{color:#0f5ce8;background:transparent}
.todo-subtask-list{display:grid;gap:6px;margin-bottom:8px}
.todo-subtask-row{min-height:40px;border:1px solid #edf1f6;border-radius:8px;background:#fff;display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 9px;position:relative}
.todo-subtask-row:hover{background:#f7f9fc}
.todo-subtask-title-text{font-size:13px;font-weight:650;color:#1f2937;line-height:1.45;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.todo-subtask-result-actions{display:flex;align-items:center;gap:6px;color:#64748b;font-size:12px;white-space:nowrap}
.todo-subtask-result-actions .due-chip{height:24px;border-radius:6px;background:#fff4eb;color:#f97316;display:inline-flex;align-items:center;padding:0 7px;font-weight:650}
.todo-subtask-icon{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;color:#1677ff;background:#f3f7ff;font-size:13px}
.todo-subtask-owner-btn{width:26px;height:26px;border-radius:50%;background:#f6f8fb;display:grid;place-items:center;padding:0;color:#4b5563;font-weight:650;cursor:pointer}
.todo-subtask-owner-btn:hover{background:#eef5ff}
.todo-subtask-owner-btn .avatar{width:22px;height:22px;font-size:10px}
.todo-subtask-more{height:24px;width:24px;border-radius:6px;color:#7d8794}
.todo-subtask-more:hover{background:#eef5ff;color:#1769ff}
.todo-subtask-date{height:30px;border:0;background:#f7f9fc;border-radius:6px;padding:0 6px;min-width:0;color:#4d6078;font-size:12px;width:100%}
.todo-subtask-date.empty{color:#7d8794;background:#f7f9fc;padding:0 6px}
.todo-subtask-date.empty:before{content:"截止时间";color:#7d8794}
.todo-subtask-date.empty:focus:before{content:""}
.todo-subtask-row label{height:30px;border-radius:6px;background:#eef5ff;color:#1677ff;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px}
.todo-subtask-row label input{width:14px;height:14px;accent-color:#1677ff}
.todo-subtask-row .avatar{width:22px;height:22px;font-size:11px}
.todo-subtask-status-pill{height:21px;border-radius:5px;background:#f3f4f6;color:#4b5563;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;font-size:11px;font-weight:650;white-space:nowrap}
.todo-subtask-status-pill.done{background:#ecfdf5;color:#12966f}
.todo-subtask-select{height:30px;border:0;border-radius:6px;background:#f7f9fc;padding:0 6px;color:#4d6078;font-size:12px;min-width:0;width:100%}
.todo-subtask-meta{display:flex;align-items:center;gap:8px;grid-column:2 / -1;color:#7d8794;font-size:12px}
.todo-subtask-meta b{color:#4b5563;font-weight:650}
.todo-subtask-meta .avatar{width:20px;height:20px;font-size:10px}
.todo-subtask-meta .todo-subtask-date{width:118px}
.todo-subtask-meta .todo-subtask-select{width:92px}
.todo-subtask-owner{display:flex;align-items:center;gap:6px;min-width:0}
.todo-subtask-owner .avatar{width:24px;height:24px;font-size:11px}
.todo-subtask-edit{border:1px solid #dbeafe;border-radius:8px;padding:7px 8px;background:#fff;display:grid;gap:6px;position:relative}
.todo-subtask-edit-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:8px;align-items:center}
.todo-subtask-edit-row input[type="text"]{height:30px;border:1px solid #d7dee9;border-radius:6px;padding:0 9px;outline:none;font-size:13px}
.todo-subtask-edit-tools{display:flex;align-items:center;gap:6px}
.todo-subtask-tool-btn{min-width:26px;height:26px;border-radius:6px;color:#64748b;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 6px;font-size:12px;white-space:nowrap}
.todo-subtask-tool-btn .avatar{width:22px;height:22px;font-size:10px}
.todo-subtask-tool-btn small{font-size:11px;font-weight:650;color:inherit;line-height:1}
.todo-subtask-tool-btn.active{color:#1677ff;background:#eef5ff}
.todo-subtask-date-btn.has-value{color:#f97316;background:#fff4eb}
.todo-subtask-owner-tool.has-value{color:#1f2937;background:#f7f9fc}
.todo-subtask-hidden-fields{display:none}
.todo-subtask-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:-2px}
.todo-subtask-actions button{height:28px;border-radius:6px;padding:0 12px;font-size:12px}
.todo-subtask-actions .save{background:#cfcfcf;color:#fff;font-weight:700}
.todo-subtask-actions .save.ready{background:#6f8ee8}
.todo-subtask-actions .cancel{color:#1677ff;background:#fff}
.todo-person-popover{position:absolute;right:16px;top:100%;z-index:80;width:280px;max-height:min(420px,calc(100vh - 140px));border:1px solid #dfe6f0;border-radius:10px;background:#fff;box-shadow:0 16px 40px rgba(31,45,61,.16);padding:12px;display:none;overflow:auto;overscroll-behavior:contain}
.todo-person-popover.show{display:block}
.todo-date-popover{position:absolute;left:0;right:auto;top:100%;z-index:80;width:min(276px,calc(100vw - 64px));border:1px solid #e7edf5;border-radius:10px;background:#fff;box-shadow:0 18px 46px rgba(31,45,61,.18);padding:12px;display:none}
.todo-date-popover.show{display:block}
.todo-date-head{display:grid;grid-template-columns:128px 74px;justify-content:start;gap:10px;margin:0 8px 10px}
.todo-date-head input{height:32px;border:1px solid #dfe6f0;border-radius:6px;padding:0 8px}
.todo-date-month{display:flex;align-items:center;justify-content:space-between;font-weight:700;margin:10px 0}
.todo-date-month button{width:26px;height:26px;border-radius:7px;background:transparent;color:#1f2937;font-size:18px;font-weight:800;padding:0}
.todo-date-month button:hover{background:#f3f7ff;color:#1677ff}
.todo-date-body{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:10px;align-items:start}
.todo-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;font-size:12px;color:#4b5563}
.todo-date-grid span{height:24px;display:grid;place-items:center;border-radius:6px}
.todo-date-grid .active{background:#1677ff;color:#fff}
.todo-time-options{max-height:168px;overflow:auto;background:#fbfdff;border-radius:8px;padding:2px;display:grid;gap:2px;scrollbar-width:thin}
.todo-time-options button{height:26px;border-radius:6px;text-align:left;padding:0 8px;color:#374151;font-size:12px}
.todo-time-options button:hover,.todo-time-options button.active{background:#f3f7ff;color:#1677ff}
.todo-date-actions{display:flex;gap:10px;margin-top:12px}
.todo-date-actions button{height:34px;border-radius:7px;flex:1}
.todo-date-actions .primary{background:#1677ff;color:#fff}
.todo-person-search{height:36px;border:1px solid #1677ff;border-radius:7px;padding:0 10px;width:100%;outline:none}
.todo-person-tabs{display:flex;gap:20px;margin:12px 0 10px;color:#64748b;font-size:13px}
.todo-person-tabs button{height:26px;border-radius:0;background:transparent;color:#64748b;padding:0;font-size:13px}
.todo-person-tabs button.active{color:#1677ff;border-bottom:2px solid #1677ff}
.todo-person-group{font-size:12px;color:#8a95a5;margin:8px 0}
.todo-person-option{width:100%;min-width:0;height:40px;display:flex;align-items:center;gap:10px;color:#1f2937;text-align:left;border-radius:7px;padding:0 8px}
.todo-person-option.multi{width:100%;border-radius:7px;padding:0 8px;text-align:left}
.todo-person-option:hover{background:#f7faff}
.todo-person-option.multi:hover{background:#f7faff}
.todo-person-option.multi.active{background:#f2f7ff;color:#1769ff}
.todo-person-option.active{background:#f2f7ff;color:#1769ff}
.person-option-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.todo-person-option .check{margin-left:auto;color:#1677ff;font-weight:800}
.person-dept-row{height:38px;width:100%;border-radius:7px;display:flex;align-items:center;gap:8px;padding:0 8px;color:#1f2937;text-align:left}
.person-dept-row:hover{background:#f7faff;color:#1769ff}
.person-breadcrumb{display:flex;align-items:center;gap:6px;margin:6px 0 8px;color:#8a95a5;font-size:12px}
.person-breadcrumb button{height:24px;border-radius:5px;background:#f3f7ff;color:#1769ff;padding:0 7px;font-size:12px}
.participant-popover{left:0;right:auto;top:38px;width:min(300px,calc(100vw - 64px));max-width:calc(100vw - 64px)}
.participant-popover .todo-person-option .avatar{width:24px;height:24px;font-size:11px}
.participant-popover-actions{display:flex;gap:8px;margin:12px -12px -12px;border-top:1px solid #edf1f6;padding:10px 12px;background:#fff;position:sticky;bottom:-12px}
.participant-popover-actions button{height:32px;border-radius:7px;flex:1;font-weight:700}
.participant-popover-actions .primary{background:#1677ff;color:#fff}
.todo-subtask-row .todo-date-popover{left:0;right:auto;top:36px;max-width:calc(100vw - 64px)}
.todo-subtask-row .todo-person-popover{left:0;right:auto;top:36px;max-width:calc(100vw - 64px)}
.todo-subtask-edit .todo-date-popover{left:0;right:auto;top:38px;max-width:calc(100vw - 64px)}
.todo-subtask-edit .todo-person-popover{left:0;right:auto;top:38px;max-width:calc(100vw - 64px)}
.todo-drawer-activity{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.todo-drawer-activity .project-side-tabs{margin:0 0 14px}
.todo-drawer-activity .activity-stream{max-height:none;overflow:visible}
.todo-activity-collapse{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:0 0 12px;color:#1769ff;font-size:12px}
.todo-activity-collapse:before,.todo-activity-collapse:after{content:"";height:1px;background:#d6e4ff}
.todo-activity-collapse button{height:24px;color:#1769ff;background:transparent;font-size:12px}
.todo-collapsed-summary{border-bottom:1px solid #edf1f6;padding:0 0 12px;margin:0 0 12px;color:#6b7280;font-size:13px;min-width:0;display:grid;gap:10px}
.todo-collapsed-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.todo-collapsed-title{font-size:17px;font-weight:760;color:#111827;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.todo-collapsed-title.expanded{-webkit-line-clamp:unset;display:block}
.todo-collapsed-title-toggle{height:24px;border-radius:6px;background:#f3f7ff;color:#1769ff;padding:0 7px;font-size:12px;white-space:nowrap}
.todo-collapsed-meta{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}
.todo-collapsed-link{height:26px;border-radius:6px;background:#f7f9fc;color:#6b7280;padding:0 8px}
.todo-collapsed-person{display:inline-flex;align-items:center;gap:6px;color:#1f2937;font-weight:650}
.todo-collapsed-person .avatar{width:22px;height:22px;font-size:10px}
.todo-collapsed-date{display:inline-flex;align-items:center;gap:6px;color:#4b5563}
.todo-collapsed-date svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.todo-collapsed-project{height:22px;border-radius:6px;background:#f7f9fc;color:#4b5563;display:inline-flex;align-items:center;padding:0 8px}
.todo-drawer.collapsed-activity .todo-drawer-body{padding-bottom:96px}
.todo-drawer.collapsed-activity .todo-title-wrap,.todo-drawer.collapsed-activity .todo-detail-panel,.todo-drawer.collapsed-activity .todo-drawer-section:not(.todo-drawer-activity){display:none}
.todo-drawer.collapsed-activity .todo-drawer-activity{border-top:0;margin-top:0;padding-top:0}
.todo-drawer-footer{min-height:118px;border-top:1px solid var(--line);padding:12px 16px;background:#fff;display:grid;gap:10px}
.todo-drawer-footer textarea{height:48px;border:0;outline:none;resize:none;line-height:1.6}
.todo-drawer-footer-actions{display:flex;align-items:center;justify-content:space-between;color:#8a95a5}
.todo-filter-mask{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:60;display:none;align-items:center;justify-content:center}
.todo-filter-mask.show{display:flex}
.todo-filter-modal{width:500px;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(0,0,0,.22);padding:24px}
.todo-filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.todo-filter-head b{font-size:16px;color:#111827}
.todo-filter-row{display:grid;grid-template-columns:78px 1fr;gap:14px;align-items:center;margin-bottom:16px}
.todo-filter-row>span{color:#111827;font-weight:650}
.todo-filter-options{display:flex;flex-wrap:wrap;gap:10px}
.todo-filter-options button{height:36px;border:1px solid #e3e8ef;border-radius:18px;padding:0 18px;color:#111827;background:#fff}
.todo-filter-options button.active{border-color:#dfe8ff;background:#eef4ff;color:#1769ff}
.todo-date-range{height:36px;border:1px solid #e3e8ef;border-radius:18px;display:flex;align-items:center;gap:12px;padding:0 14px;color:#8a95a5}
.todo-creator-input{height:38px;border:1px solid #e3e8ef;border-radius:19px;padding:0 14px;color:#8a95a5;display:flex;align-items:center;justify-content:space-between}
.todo-filter-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
.project-shell{height:100%;display:grid;grid-template-columns:250px minmax(460px,1fr) 360px;gap:12px;min-height:0}
.project-sidebar,.project-center,.project-aside{min-height:0;overflow:hidden}
.project-sidebar{display:flex;flex-direction:column}
.project-search{padding:12px;border-bottom:1px solid var(--line)}
.project-search input{width:100%;height:34px;border:1px solid var(--line);border-radius:7px;padding:0 10px;outline:none;background:#fff}
.project-tabs{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line)}
.project-tab{height:28px;padding:0 9px;border-radius:6px;color:var(--muted);font-size:12px;font-weight:650}
.project-tab.active{background:var(--brand-soft);color:var(--brand)}
.project-list{padding:8px;overflow:auto}
.project-item{width:100%;display:block;text-align:left;border:1px solid transparent;border-radius:8px;background:#fff;padding:11px;margin-bottom:8px}
.project-item:hover{background:#f8fbff;border-color:#d8e3f6}
.project-item.active{background:#f3f6ff;border-color:#b7c7f3}
.project-item b{display:block;font-size:13px;line-height:1.4;color:var(--ink)}
.project-item p{margin:6px 0 0;color:var(--muted);font-size:12px}
.project-progress{height:18px;border-radius:9px;background:#edf2fa;overflow:hidden;margin-top:10px;position:relative}
.project-progress span{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#7da0f2,#9bc6f5)}
.project-progress em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:750;color:#31508e}
.project-head{height:56px;padding:0 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff}
.project-title{display:flex;align-items:center;gap:10px;min-width:0}
.project-title b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-title span{font-size:12px;color:var(--muted)}
.project-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.view-switch{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:7px;background:#f8fbff}
.view-switch button{height:26px;padding:0 9px;border-radius:5px;color:var(--muted);font-size:12px;font-weight:650}
.view-switch button.active{background:#fff;color:var(--brand);box-shadow:0 1px 3px rgba(71,96,128,.10)}
.project-main{height:calc(100% - 56px);overflow:auto;padding:12px}
.node-toolbar{height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.node-toolbar-left{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.node-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.node-table th,.node-table td{height:46px;border-bottom:1px solid var(--line);padding:0 10px;text-align:left;white-space:nowrap}
.node-table th{background:#f8fbff;color:var(--muted);font-size:12px;font-weight:700}
.node-table tr:last-child td{border-bottom:0}
.node-name{display:flex;align-items:center;gap:8px;min-width:0}
.node-name b{font-size:13px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.node-board{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:10px}
.board-col{border:1px solid var(--line);border-radius:8px;background:#f8fbff;min-height:360px;display:flex;flex-direction:column}
.board-col h3{height:40px;margin:0;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font-size:13px;border-bottom:1px solid var(--line)}
.board-col h3 span{font-size:12px;color:var(--muted);font-weight:600}
.board-list{padding:10px;display:grid;gap:8px}
.board-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px;box-shadow:0 3px 10px rgba(69,93,128,.04)}
.board-card b{display:block;font-size:13px;line-height:1.45}
.board-card p{margin:8px 0 0;color:var(--muted);font-size:12px}
.timeline-view{display:grid;grid-template-columns:360px 1fr;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.timeline-left .timeline-row,.timeline-grid .timeline-row{height:48px;border-bottom:1px solid var(--line);display:flex;align-items:center}
.timeline-left .timeline-row{padding:0 12px;gap:8px}
.timeline-left .timeline-row:last-child,.timeline-grid .timeline-row:last-child{border-bottom:0}
.timeline-head{height:42px;background:#f8fbff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(7,1fr);color:var(--muted);font-size:12px}
.timeline-head span{display:grid;place-items:center;border-left:1px solid var(--line)}
.timeline-grid{position:relative}
.timeline-row{position:relative;background:repeating-linear-gradient(90deg,#fff 0,#fff calc(14.285% - 1px),#eef3fa calc(14.285% - 1px),#eef3fa 14.285%)}
.timeline-bar{height:12px;border-radius:10px;background:linear-gradient(90deg,#7da0f2,#9bc6f5);position:absolute;left:12%;right:28%}
.timeline-row:nth-child(3) .timeline-bar{left:26%;right:18%}
.timeline-row:nth-child(4) .timeline-bar{left:40%;right:10%}
.timeline-row:nth-child(5) .timeline-bar{left:8%;right:52%;background:linear-gradient(90deg,#f4b04f,#ffd690)}
.project-info{height:100%;display:flex;flex-direction:column}
.project-info-top{padding:16px;border-bottom:1px solid var(--line)}
.project-info-top h2{margin:0;font-size:17px;line-height:1.35}
.project-info-top p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.project-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.project-kpi{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}
.project-kpi span{display:block;color:var(--muted);font-size:11px}
.project-kpi b{display:block;margin-top:4px;font-size:18px}
.project-info-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 12px}
.project-info-tabs button{height:38px;padding:0 8px;font-size:12px;font-weight:650;color:var(--muted);border-bottom:2px solid transparent}
.project-info-tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}
.project-info-body{padding:12px;overflow:auto;display:grid;gap:10px}
.activity-item{display:grid;grid-template-columns:32px 1fr;gap:8px;border-bottom:1px solid var(--line);padding-bottom:10px}
.activity-item:last-child{border-bottom:0}
.activity-icon{width:28px;height:28px;border-radius:14px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:12px;font-weight:800}
.activity-item b{font-size:13px}
.activity-item p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.project-home{height:100%;display:grid;grid-template-columns:var(--todo-side-width) minmax(0,1fr);gap:18px;background:#fff;border-radius:8px;padding:18px;overflow:hidden;position:relative;transition:grid-template-columns .16s ease}
.project-home-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #edf1f6;padding:0 16px 0 0;overflow:hidden;position:relative;transition:padding .16s ease}
.project-side-search{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px}
.project-home-search{height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 10px;outline:none}
.project-home-search:focus{border-color:#b8cdf8;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.project-side-add{border:0;font-weight:800;padding:0}
.project-menu{display:grid;gap:2px}
.project-menu button{height:40px;border-radius:18px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#1f2937;text-align:left}
.project-menu button.active,.project-menu button:hover{background:#eaf1ff;color:#1769ff;font-weight:750}
.project-menu button span:first-child{width:18px;text-align:center}
.project-menu b{font-size:13px}
.project-menu em{margin-left:auto;font-style:normal;color:#9aa6b5;font-size:12px}
.project-menu .divider{height:1px;background:#edf1f6;margin:10px 0}
.project-home-main{min-width:0;overflow:auto;padding-right:4px}
.project-section-title{display:flex;align-items:center;justify-content:space-between;margin:4px 0 12px}
.project-section-title h2{font-size:16px;margin:0}
.project-section-title span{font-size:12px;color:var(--muted)}
.template-strip{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;margin-bottom:22px}
.template-card{height:82px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;text-align:left;box-shadow:0 6px 18px rgba(69,93,128,.045)}
.template-card b{display:block;padding:14px 14px 4px;font-size:13px}
.template-card span{display:block;padding:0 14px;color:var(--muted);font-size:12px}
.template-card.cover{position:relative;color:#fff;border:0;background:linear-gradient(135deg,#789bed,#a8c7f5)}
.template-card.cover:nth-child(3){background:linear-gradient(135deg,#f3a24b,#a7c3f2)}
.template-card.cover:nth-child(4){background:linear-gradient(135deg,#99b6ee,#d7b7ea)}
.template-card.cover:nth-child(5){background:linear-gradient(135deg,#7185a6,#d5dde8)}
.template-card.cover:nth-child(6){background:linear-gradient(135deg,#243655,#738ee6)}
.template-card.cover b,.template-card.cover span{position:relative;z-index:1;color:#fff}
.template-card.cover:after{content:"";position:absolute;inset:auto -18px -28px auto;width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.25)}
.project-home-tabs{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);margin-bottom:14px}
.project-home-tabs button{height:40px;color:var(--muted);font-weight:650;border-bottom:2px solid transparent}
.project-home-tabs button.active{color:var(--ink);border-bottom-color:var(--brand)}
.project-file-list{display:grid;gap:8px}
.project-file-row{min-height:64px;border:1px solid #edf1f6;border-radius:8px;background:#fff;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;text-align:left;color:var(--text)}
.project-file-row:hover{background:#f8fbff;border-color:#d8e6fb}
.project-file-type{width:38px;height:38px;border-radius:8px;background:#eef5ff;color:#1677ff;display:grid;place-items:center;font-size:12px;font-weight:800}
.project-file-main{min-width:0}
.project-file-main b{display:block;color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-file-main p{margin:4px 0 0;color:#7d8794;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-file-main small{display:block;margin-top:3px;color:#9aa6b5;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-file-meta{display:flex;gap:8px;align-items:center;justify-content:flex-end;color:#8a95a5;font-size:12px;white-space:nowrap}
.project-file-actions{display:flex;gap:8px;margin-left:10px}
.project-file-summary{margin-bottom:12px}
.project-file-form input[type=file]{height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px;color:var(--text)}
.project-card-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px}
.project-card{min-height:172px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;overflow:hidden;box-shadow:0 8px 20px rgba(69,93,128,.055)}
.project-card:hover{border-color:#c6d4ef;box-shadow:0 12px 26px rgba(69,93,128,.09);transform:translateY(-1px)}
.project-card-status{height:auto;background:transparent;border-bottom:0;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0;color:var(--muted);font-weight:650;margin-top:10px;flex-wrap:wrap}
.project-card-status small{font-size:12px;color:var(--muted);font-weight:600}
.project-card-status .tag{height:22px}
.project-card-body{padding:14px}
.project-card-body h3{margin:0;font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink)}
.project-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:12px}
.todo-main-tools button.active{color:#1769ff;font-weight:750}
.main.project-page .top,.main.todo-open .top,.main.inbox-open .top,.main.meeting-open .top,.main.desk-open .top{display:none}
.main.project-page .content{padding:18px 22px;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78));}
.main.project-open .content{padding:0;background:#fff}
.main.todo-open .content{padding:18px 22px;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78));}
.main.inbox-open .content{padding:18px 22px;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78));}
.main.meeting-open .content{padding:18px 22px;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78));}
.main.desk-open .content{padding:18px 22px;background:linear-gradient(180deg,rgba(249,251,255,.78),rgba(241,246,252,.78));}
.meeting-status-tabs{display:flex;align-items:center;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.meeting-status-tabs button{height:34px;border:1px solid var(--line);border-radius:17px;background:#fff;color:#64748b;padding:0 13px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;gap:6px}
.meeting-status-tabs button:hover{border-color:#c8d8f3;background:#f7fbff;color:#1769ff}
.meeting-status-tabs button.active{border-color:#b8cdf8;background:#eef5ff;color:#1769ff}
.meeting-list-tabs button{gap:8px}
.meeting-list-tabs button em{min-width:18px;height:18px;border-radius:9px;background:#eef3fb;color:#6b7c93;font-style:normal;font-size:11px;font-weight:800;display:inline-grid;place-items:center;padding:0 5px}
.meeting-list-tabs button.active em{background:#eaf1ff;color:#1769ff}
.meeting-status-tabs button em{font-style:normal;color:#9aa6b5;font-size:12px}
.meeting-card-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:14px}
.meeting-list-empty{grid-column:1/-1;min-height:178px;border:1px dashed #c4d4eb;border-radius:8px;background:#fbfdff;display:grid;place-items:center;text-align:center;color:#8a95a5;padding:22px}
.meeting-list-empty b{display:block;color:#53657d;font-size:15px;margin-bottom:6px}
.meeting-list-empty span{display:block;font-size:12px;line-height:1.6}
.meeting-card{height:178px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;padding:14px;display:grid;grid-template-rows:auto auto minmax(42px,1fr) auto;gap:10px;box-shadow:0 8px 20px rgba(69,93,128,.055);overflow:hidden;color:var(--text)}
.meeting-card:hover{border-color:#c6d4ef;box-shadow:0 12px 26px rgba(69,93,128,.09);transform:translateY(-1px)}
.meeting-card-title{display:flex;align-items:flex-start;gap:8px;min-width:0}
.meeting-card h3{margin:0;font-size:15px;line-height:1.45;color:#1f2937;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;min-width:0;flex:1}
.meeting-card-state{flex:0 0 auto;min-height:20px;border-radius:6px;padding:2px 7px;font-size:12px;font-weight:800;line-height:1.3;white-space:nowrap}
.meeting-card-state.pending{background:#eef5ff;color:#1769ff}
.meeting-card-state.running{background:#fff7ed;color:#c2410c}
.meeting-card-state.done{background:#edf7f1;color:#15803d}
.meeting-card-meta-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.meeting-card-duration{flex:0 0 auto;min-height:21px;border-radius:6px;background:#eef5ff;color:#1769ff;padding:2px 7px;font-size:12px;font-weight:800;line-height:1.3;white-space:nowrap}
.meeting-card-duration.running{background:#fff7ed;color:#c2410c}
.meeting-card-duration.done{background:#edf7f1;color:#15803d}
.meeting-card-purpose{color:#607089;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meeting-card-purpose b{color:#1769ff;font-weight:800;margin-right:4px}
.meeting-card-time{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:21px;border-radius:6px;background:#f4f6f9;color:#66758a;padding:2px 8px;font-size:12px;font-weight:750;line-height:1.3;white-space:normal}
.meeting-card p{margin:0;color:#7d8794;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meeting-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8a95a5;font-size:12px}
.meeting-card-foot b{color:#53657d;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.meeting-card-assets{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#8a95a5;font-size:11px;font-weight:750}
.meeting-stat-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.meeting-stat-list{border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px;min-width:0}
.meeting-stat-list h3{margin:0 0 12px;font-size:14px;color:#1f2937}
.meeting-stat-row{height:34px;display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:10px;color:#53657d;font-size:13px}
.meeting-stat-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.meeting-stat-bar{height:8px;border-radius:8px;background:#edf2fa;overflow:hidden}
.meeting-stat-bar span{display:block;height:100%;border-radius:8px;background:#6f8ee8}
.meeting-issue-list{display:grid;gap:8px}
.meeting-issue-row{min-height:64px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;text-align:left;color:var(--text)}
.meeting-issue-row:hover{background:#f8fbff;border-color:#d8e6fb}
.meeting-issue-type{width:38px;height:38px;border-radius:8px;background:#fff4eb;color:#f97316;display:grid;place-items:center;font-size:12px;font-weight:800}
.meeting-issue-main{min-width:0}
.meeting-issue-main b{display:block;color:#1f2937;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.meeting-issue-main p{margin:4px 0 0;color:#7d8794;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.meeting-issue-meta{display:flex;gap:8px;align-items:center;justify-content:flex-end;color:#8a95a5;font-size:12px;white-space:nowrap}
.meeting-create-mode{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.meeting-create-mode button{min-height:98px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:10px;color:#1f2937}
.meeting-create-mode button:hover{border-color:#b8cdf8;background:#f8fbff}
.meeting-create-mode b{display:block;font-size:15px}
.meeting-create-mode span{display:block;color:#8a95a5;font-size:12px;line-height:1.5}
.meeting-create-mode i{font-style:normal;color:#1769ff;font-size:13px;font-weight:800}
.meeting-schedule-form{display:grid;grid-template-columns:1fr;gap:14px}
.meeting-schedule-form .field input{height:42px}
.meeting-ready-pop{position:fixed;inset:0;background:rgba(15,23,42,.16);display:none;align-items:center;justify-content:center;z-index:80}
.meeting-ready-pop.show{display:flex}
.meeting-ready-card{width:560px;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(42,63,92,.22);padding:28px 24px 24px;position:relative}
.meeting-ready-close{position:absolute;right:14px;top:12px;width:28px;height:28px;border:0;border-radius:50%;background:#f3f5f8;color:#64748b;font-size:18px}
.meeting-ready-head{text-align:center;margin-bottom:22px}
.meeting-ready-title-input{width:100%;min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:#1f2937;font-size:24px;line-height:1.35;font-weight:850;text-align:center;outline:none;padding:3px 36px 5px;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.meeting-ready-title-input:hover{background:#f8fafc}
.meeting-ready-title-input:focus{border-color:#dbe6f5;background:#f8fbff;box-shadow:0 0 0 3px rgba(23,105,255,.06)}
.meeting-ready-stage{height:300px;border-radius:10px;background:#dce3e9;display:grid;place-items:center;position:relative;overflow:hidden}
.meeting-ready-profile{display:grid;justify-items:center;gap:10px}
.meeting-ready-avatar{width:118px;height:118px;border-radius:50%;background:#eaf1ff;color:#1769ff;display:grid;place-items:center;font-size:40px;font-weight:850;letter-spacing:2px}
.meeting-ready-profile b{color:#263244;font-size:15px}
.meeting-ready-name{position:absolute;left:12px;bottom:10px;height:24px;border:0;border-radius:12px;background:#fff;color:#43546a;padding:0 12px;font-size:13px;font-weight:800}
.meeting-ready-tools{display:flex;align-items:center;gap:12px;margin-top:22px}
.meeting-ready-tool{height:38px;min-width:74px;border:0;border-radius:19px;background:#f0f2f5;color:#43546a;font-size:16px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.meeting-ready-tool small{font-size:12px;color:#8a95a5}
.meeting-ready-enter{margin-left:auto;height:38px;border:0;border-radius:19px;background:#1769ff;color:#fff;font-size:14px;font-weight:850;padding:0 24px}
.main.todo-open .content{flex:1}
.project-space{height:100%;display:grid;grid-template-columns:var(--todo-side-width) minmax(0,1fr);gap:0;min-height:0;background:#fff;position:relative;transition:grid-template-columns .16s ease}
.project-space-side{padding:18px 12px;overflow:auto;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:14px;position:relative;transition:padding .16s ease}
.project-back-btn{height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#344256;padding:0 12px;font-weight:750;display:inline-flex;align-items:center;justify-content:center}
.project-back-btn:hover{border-color:#c8d8f3;background:#f8fbff;color:#1769ff}
.project-space-search{height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 12px;outline:none;width:100%}
.project-space-search:focus{border-color:#b8cdf8;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.project-space-section{display:grid;gap:8px}
.project-space-section-title{font-size:13px;font-weight:800;color:#111827;margin-top:2px}
.project-space-nav{display:grid;gap:4px}
.project-space-nav button{height:38px;border-radius:19px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#344256;text-align:left;font-size:14px;font-weight:750}
.project-space-nav button.active{background:#eaf3ff;color:#1769ff}
.project-space-nav button:hover{background:#f3f7ff;color:#1769ff}
.project-space-nav em{margin-left:auto;font-style:normal;color:#8fa0b5;font-size:12px;font-weight:750}
.project-home.todo-side-collapsed,.project-space.todo-side-collapsed{--todo-side-width:62px}
.project-home.todo-side-collapsed{gap:12px}
.project-home.todo-side-collapsed .project-home-side{padding-right:10px}
.project-home.todo-side-collapsed .todo-side-head b,.project-home.todo-side-collapsed .todo-side-search input,.project-home.todo-side-collapsed .todo-menu b{display:none}
.project-home.todo-side-collapsed .todo-side-head,.project-home.todo-side-collapsed .todo-side-search{justify-content:center}
.project-home.todo-side-collapsed .todo-menu button{justify-content:center;padding:0;height:38px;border-radius:12px;position:relative}
.project-home.todo-side-collapsed .todo-menu em{position:absolute;right:2px;top:2px;min-width:14px;height:14px;font-size:9px;padding:0 3px;border-radius:7px;background:#eaf1ff;color:#1769ff}
.project-space.todo-side-collapsed .project-space-side{padding:18px 8px}
.project-space.todo-side-collapsed .project-back-btn,.project-space.todo-side-collapsed .project-space-search,.project-space.todo-side-collapsed .project-space-nav span{display:none}
.project-space.todo-side-collapsed .project-space-nav button{justify-content:center;padding:0;width:46px;height:38px;border-radius:12px;gap:0}
.project-space.todo-side-collapsed .project-space-nav b{display:block;font-size:13px;font-weight:800;white-space:nowrap}
.project-space-summary{font-size:13px;line-height:1.8;color:#243244;font-weight:750;padding:2px 2px 0}
.project-space-summary span{display:block;color:#6f7f94;font-weight:650}
.project-space-header{height:56px;border-bottom:1px solid var(--line);padding:0 18px;background:#fff;position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between}
.project-space-header.compact{height:56px}
.project-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-title-row h2{margin:0;font-size:18px}
.project-title-row span{display:block;margin-top:4px;max-width:760px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-top-tabs{display:flex;gap:22px;margin-top:0;align-items:center;height:100%}
.project-top-tabs button{height:100%;color:var(--muted);font-weight:700;border-bottom:2px solid transparent;padding:0 2px}
.project-top-tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}
.project-work{min-height:0;display:flex;flex-direction:column;overflow:hidden}
.project-board-toolbar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:1;flex-wrap:wrap}
.project-board-toolbar .left,.project-board-toolbar .right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.project-board-wrap{flex:1;overflow:auto;padding:20px 22px;background:#f4f6f9}
.project-summary-page{display:grid;gap:14px;max-width:1180px}
.project-summary-hero{position:relative;border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;box-shadow:0 6px 18px rgba(69,93,128,.04)}
.project-summary-edit{position:absolute;right:12px;top:10px;width:30px;height:30px;border-radius:7px;color:#64748b;display:grid;place-items:center;font-size:15px}
.project-summary-edit:hover{background:#f3f7ff;color:#1769ff}
.project-summary-title h2{margin:0;font-size:18px;line-height:1.35;color:var(--ink)}
.project-summary-title p{margin:8px 0 0;color:#66758a;font-size:13px;line-height:1.65;max-width:760px}
.project-summary-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.project-summary-meta span{height:24px;border-radius:5px;background:#f3f6fb;color:#63738a;padding:0 8px;font-size:12px;font-weight:650;display:inline-flex;align-items:center}
.project-summary-progress{align-self:center}
.project-summary-progress strong{display:block;font-size:28px;line-height:1;color:#31508e;text-align:center;margin-bottom:10px}
.project-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}
.project-summary-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px;min-height:86px}
.project-summary-card span{display:block;color:var(--muted);font-size:12px;font-weight:700}
.project-summary-card b{display:block;margin-top:8px;color:var(--ink);font-size:24px;line-height:1}
.project-summary-card small{display:block;margin-top:8px;color:#7a8798;font-size:12px}
.project-summary-content{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.project-summary-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px}
.project-summary-panel h3{margin:0 0 12px;font-size:14px;color:var(--ink)}
.project-status-list{display:grid;gap:9px}
.project-status-row{display:grid;grid-template-columns:84px minmax(0,1fr) 38px;align-items:center;gap:10px;color:#4f6075;font-size:12px}
.project-status-row b{font-size:12px;color:#253144}
.project-status-bar{height:8px;border-radius:9px;background:#eef3fa;overflow:hidden}
.project-status-bar span{display:block;height:100%;border-radius:9px;background:#7da0f2}
.project-status-row.rework .project-status-bar span{background:#ff9b7c}
.project-status-row.checking .project-status-bar span{background:#f5bd5d}
.project-status-row.done .project-status-bar span{background:#73c8a9}
.project-summary-node-list{display:grid;gap:8px}
.project-summary-node{border:1px solid #edf1f6;border-radius:7px;background:#fbfdff;padding:10px 11px;text-align:left;color:var(--text)}
.project-summary-node b{display:block;font-size:13px;line-height:1.4}
.project-summary-node p{margin:6px 0 0;color:#6f7f94;font-size:12px;line-height:1.5}
.project-roadmap{border:1px solid var(--line);border-radius:8px;background:#fff;padding:16px;display:grid;gap:16px;overflow:hidden}
.project-roadmap h3{margin:0;font-size:14px;color:var(--ink)}
.project-roadmap-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-import-btn{height:30px;border:1px solid #c8d8f3;border-radius:7px;background:#eef5ff;color:#1769ff;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.project-import-btn:hover{border-color:#9dbaf4;background:#e6f0ff}
.project-task-list-page{max-width:1120px;padding:0;display:block}
.project-task-list-page .roadmap-task-panel{border-top:0;padding:14px 16px 16px}
.roadmap-main{display:flex;align-items:flex-start;gap:0;overflow:auto;padding:8px 2px 10px}
.roadmap-step{position:relative;display:grid;grid-template-rows:auto auto;gap:5px;justify-items:center;text-align:center;min-width:142px;border:0;background:transparent;padding:0;color:inherit}
.roadmap-step:not(:last-child):after{content:"";position:absolute;left:calc(50% + 44px);right:calc(-50% + 44px);top:14px;height:1px;background:#ccd5e2}
.roadmap-pill{height:28px;border:1px solid #cfd7e3;border-radius:15px;background:#fff;box-shadow:0 2px 8px rgba(55,70,95,.08);padding:0 10px;display:inline-flex;align-items:center;gap:6px;max-width:136px}
.roadmap-dot{width:8px;height:8px;border-radius:50%;background:#b8c4d6;flex:0 0 auto}
.roadmap-step.pending .roadmap-pill{background:#f7f8fa;color:#7c8797}
.roadmap-step.done .roadmap-dot{background:#49b9ae}
.roadmap-step.doing .roadmap-dot{background:#6f93ee}
.roadmap-step.done .roadmap-pill{border-color:#49b9ae;background:#f1fbfa}
.roadmap-step.doing .roadmap-pill{border-color:#5f83ff;box-shadow:0 0 0 2px rgba(95,131,255,.14),0 2px 8px rgba(55,70,95,.08)}
.roadmap-step.active .roadmap-pill{box-shadow:0 0 0 3px rgba(49,111,255,.16),0 5px 14px rgba(55,70,95,.12);transform:translateY(-1px)}
.roadmap-step b{font-size:12px;line-height:1;color:#273244;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadmap-step span{font-size:11px;color:#7b8797;white-space:nowrap}
.roadmap-task-panel{border-top:1px solid #edf1f6;padding-top:14px;display:grid;gap:10px}
.roadmap-task-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.roadmap-task-head b{font-size:13px;color:#263447}
.roadmap-task-head span{font-size:12px;color:#75849a}
.roadmap-task-list{display:grid;border-top:1px solid #edf1f6}
.roadmap-stage-group{border:0!important;border-bottom:1px solid #edf1f6!important;background:#fff!important;color:inherit!important}
.roadmap-stage-row{min-height:42px;display:grid;grid-template-columns:28px minmax(0,1fr) 132px;align-items:center;gap:8px}
.roadmap-stage-title{font-size:13px;font-weight:800;color:#263447;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:10px}
.roadmap-stage-title small{font-size:12px;font-weight:650;color:#78869a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadmap-stage-meta{display:flex;align-items:center;justify-content:flex-end;color:#78869a;font-size:12px;white-space:nowrap}
.roadmap-stage-progress{width:132px;height:16px;border-radius:8px;background:#edf2fa;overflow:hidden;position:relative}
.roadmap-stage-progress span{display:block;height:100%;border-radius:8px;background:#7da0f2}
.roadmap-stage-progress em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:750;color:#31508e}
.roadmap-stage-group.done .roadmap-stage-progress span{background:#49b9ae}
.roadmap-stage-group.pending .roadmap-stage-progress span{background:#c5cedb}
.roadmap-stage-tasks{display:grid;margin:0 0 6px 28px}
.roadmap-task-group{border-top:1px solid #f0f3f8}
.roadmap-task-group:first-child{border-top:0}
.roadmap-task-group,.roadmap-parent-row,.roadmap-subtask-list{background:#fff}
.roadmap-parent-row{min-height:42px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px}
.roadmap-expand-btn{width:24px;height:24px;border-radius:6px;color:#64748b;display:grid;place-items:center;font-size:12px}
.roadmap-expand-btn:hover{background:#eef5ff;color:#1769ff}
.roadmap-expand-btn.empty{color:#c1cad8;pointer-events:none}
.roadmap-task-title{min-width:0;text-align:left;color:#233044;font-weight:750;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadmap-task-title:hover{color:#1769ff}
.roadmap-task-meta{display:flex;align-items:center;gap:8px;color:#78869a;font-size:12px;white-space:nowrap}
.roadmap-task-meta .tag{height:20px;padding:0 6px;font-size:11px}
.roadmap-subtask-list{display:grid;margin:0 0 6px 28px;border-left:1px solid #edf1f6}
.roadmap-subtask-row{min-height:34px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 0 0 10px;color:#526276;text-align:left}
.roadmap-subtask-row:hover{background:#f8fbff}
.roadmap-subtask-title{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadmap-subtask-meta{font-size:12px;color:#8a97a8;white-space:nowrap}
.project-home-task-list{display:grid;gap:12px;margin-top:12px;max-width:1120px}
.project-home-task-project{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.project-home-task-head{height:44px;border-bottom:1px solid #edf1f6;background:#fbfdff;display:flex;align-items:center;padding:0 14px}
.project-home-task-head button{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:#263447}
.project-home-task-head b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-home-task-head span{font-size:12px;color:#7b8797;font-weight:750;white-space:nowrap}
.project-home-task-project .roadmap-task-list{border-top:0;padding:0 14px 8px}
.project-activity-page{height:100%;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 0 20px}
.project-activity-filter{position:sticky;top:0;z-index:2;min-height:50px;border-bottom:1px solid #edf1f6;background:rgba(255,255,255,.96);display:flex;align-items:center;gap:8px;padding:10px 16px;flex-wrap:wrap}
.project-activity-filter button{height:30px;border:1px solid #dce5f0;border-radius:7px;background:#fff;color:#64748b;padding:0 10px;font-size:12px;font-weight:750}
.project-activity-custom{display:flex;align-items:center;gap:8px}
.project-activity-custom input,.project-activity-custom select{height:30px;border:1px solid #dce5f0;border-radius:7px;background:#fff;color:#344256;padding:0 8px;font-size:12px;outline:none}
.project-activity-custom input:focus,.project-activity-custom select:focus{border-color:#b8cdf8;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.project-activity-custom span{color:#8a97a8;font-size:12px}
.project-activity-group{display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;border-top:1px solid #edf1f6;padding:18px 0}
.project-activity-group:first-child{border-top:0}
.project-activity-date{padding-left:18px;color:#64748b;font-size:13px;font-weight:700;line-height:1.2}
.project-activity-date b{display:block;margin-top:6px;color:#1f2937;font-size:28px;line-height:1}
.project-activity-list{display:grid;gap:4px;padding-right:16px}
.project-activity-row{min-height:54px;display:grid;grid-template-columns:52px 28px minmax(0,1fr);gap:12px;align-items:center;border-radius:7px;padding:7px 10px;color:#526276;text-align:left}
.project-activity-row:hover,.project-activity-row.featured{background:#f1f3f5}
.project-activity-time{font-size:12px;color:#7c8899;white-space:nowrap}
.project-activity-avatar{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800}
.project-activity-main small{display:flex;align-items:center;gap:6px;color:#697789;font-size:12px;line-height:1.35}
.project-activity-main b{display:block;margin-top:2px;color:#1f2937;font-size:13px;line-height:1.45}
.project-activity-main em{font-style:normal;color:#8b96a8;font-weight:650}
.project-info-form textarea{min-height:92px}
.project-kanban{display:grid;grid-template-columns:repeat(5,280px);gap:14px;align-items:start;min-width:max-content}
.project-kanban-col{border-radius:8px;background:#eceff4;min-height:calc(100vh - 190px);padding:12px}
.project-kanban-col h3{height:28px;margin:0 0 10px;display:flex;align-items:center;justify-content:space-between;font-size:13px}
.project-kanban-col h3 span{color:var(--muted);font-size:12px}
.list-head-actions{display:flex;align-items:center;gap:8px}
.list-menu-btn{width:26px;height:26px;border-radius:6px;color:var(--muted);font-weight:800}
.list-menu-btn:hover{background:#fff;color:var(--brand)}
.project-task-card{width:100%;border:1px solid #dfe5ee;border-radius:7px;background:#fff;padding:12px 13px;margin-bottom:9px;text-align:left;box-shadow:0 2px 7px rgba(69,93,128,.04)}
.project-task-card:hover{border-color:#bdcbed;background:#fbfdff}
.project-task-card b{display:block;font-size:13px;line-height:1.45}
.project-task-card p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.project-card-labels{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}
.tiny-label{height:20px;border-radius:4px;background:#f2f5fa;color:#6d7f95;font-size:11px;padding:0 6px;display:inline-flex;align-items:center}
.project-view-list{display:grid;gap:8px;max-width:980px}
.project-view-row{height:54px;border:1px solid var(--line);border-radius:7px;background:#fff;display:grid;grid-template-columns:24px 1fr 92px 88px 92px 90px;align-items:center;gap:10px;padding:0 12px}
.project-view-row b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-view-row span{font-size:12px;color:var(--muted)}
.project-table-wrap{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;max-width:1120px}
.project-table{width:100%;border-collapse:collapse}
.project-table th,.project-table td{height:44px;border-bottom:1px solid var(--line);padding:0 12px;text-align:left;white-space:nowrap}
.project-table th{background:#f8fafc;color:var(--muted);font-size:12px}
.project-table tr:last-child td{border-bottom:0}
.shortcut-btn{height:30px;border-radius:7px;padding:0 9px;display:flex;align-items:center;color:var(--text)}
.shortcut-btn.active,.shortcut-btn:hover{background:var(--brand-soft);color:var(--brand)}
.btn.active{background:var(--brand-soft);border-color:#cbd9f6;color:var(--brand)}
.project-filter-panel{margin:0 18px 10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff;padding:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.project-filter-panel label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:700}
.project-filter-panel select{height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 9px;color:var(--text);outline:none}
.project-empty-page{height:100%;display:grid;place-items:center;color:var(--muted);background:#fff}
.project-empty-page b{display:block;color:var(--ink);font-size:18px;margin-bottom:8px;text-align:center}
.project-task-detail{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:56px minmax(0,1fr);gap:0;height:min(820px,88vh);min-height:640px}
.project-task-top{grid-column:1/-1;height:56px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff}
.project-task-tools{display:flex;align-items:center;gap:8px;color:var(--muted)}
.project-task-tools button{min-width:34px;height:34px;border-radius:8px;color:var(--text);font-weight:700;display:grid;place-items:center}
.project-task-tools button:hover{background:#f3f6fb}
.project-task-left{padding:24px 28px 30px;overflow:auto;min-height:0}
.project-task-left .project-edit-title{font-size:20px;line-height:1.32;margin-bottom:14px}
.project-task-left .todo-detail-panel{max-width:760px;margin-bottom:18px}
.project-task-left .todo-detail-row{grid-template-columns:112px minmax(0,1fr)}
.project-task-left .todo-date-range-field{width:min(430px,100%)}
.project-task-left .todo-detail-pop-anchor .todo-date-popover{left:0;right:auto;top:38px}
.project-task-right{border-left:1px solid var(--line);padding:20px;display:flex;flex-direction:column;min-height:0;background:#fff}
.project-task-badge{display:inline-flex;align-items:center;height:28px;border-radius:6px;background:#eef5ff;color:#1677ff;padding:0 10px;font-weight:700;font-size:13px}
.todo-drawer-head .project-task-badge{height:26px;border-radius:7px;font-size:12px;padding:0 8px;flex:0 0 auto}
.task-top-left{display:flex;align-items:center;gap:14px;min-width:0}
.task-breadcrumb{display:flex;align-items:center;gap:8px;color:#7d8ba0;font-size:13px;white-space:nowrap;min-width:0}
.task-breadcrumb button{color:#53657d;height:28px;border-radius:5px;padding:0 7px}
.task-breadcrumb button:hover{background:#f3f6fb;color:#1677ff}
.task-breadcrumb span{overflow:hidden;text-overflow:ellipsis;max-width:220px}
.project-task-detail h3{font-size:22px;margin:0 0 22px;line-height:1.35}
.project-edit-title{width:100%;border:0;outline:none;font-size:22px;font-weight:750;line-height:1.35;margin:0 0 22px;padding:0;color:var(--ink);background:transparent}
.project-edit-title:focus{box-shadow:none}
.project-field-row{display:grid;grid-template-columns:150px 1fr;align-items:center;min-height:48px;color:var(--text);border-radius:7px;padding:2px 6px}
.project-field-row:hover{background:#fafcff}
.project-field-row > span{color:#7b8797;font-size:14px;display:flex;align-items:center;gap:10px;font-weight:500}
.project-field-row > span em{font-style:normal}
.field-label-icon{width:18px;height:18px;border-radius:4px;color:#7b8797;display:inline-grid;place-items:center;font-size:17px;line-height:1;background:transparent}
.project-field-row b{font-size:14px;font-weight:600}
.editable-value{min-height:32px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-radius:6px;padding:2px 4px}
.editable-value:hover{background:#f3f7ff}
.person-picker{height:34px;border:1px solid transparent;border-radius:6px;background:transparent;display:inline-flex;align-items:center;gap:8px;padding:0 9px;color:#4d5563;font-weight:700}
.person-picker:hover{border-color:#c8d8f3;background:#fff}
.person-picker:after{content:"⌄";font-size:12px;color:var(--muted);margin-left:2px}
.project-value-link{min-height:34px;border:1px solid transparent;border-radius:6px;display:inline-flex;align-items:center;gap:9px;padding:0 8px;min-width:0;max-width:620px;color:#313b4c}
.project-value-link:hover{border-color:#c8d8f3;background:#fff}
.project-cover{width:26px;height:26px;border-radius:5px;background:linear-gradient(135deg,#7aa2ff 0%,#f6d17a 52%,#6aa7a0 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);flex:0 0 auto}
.project-value-link strong{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-value-link small{font-size:13px;color:#8b96a8;font-weight:500}
.inline-pill{height:30px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:5px;background:#f8fafc;padding:0 10px;margin-right:6px;color:var(--text);font-weight:600}
.inline-pill.editable{cursor:pointer}
.task-inline-input{height:32px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 8px;outline:none;min-width:170px}
.task-inline-input:hover,.task-inline-input:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.task-inline-select{height:32px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 8px;outline:none}
.task-inline-select:hover,.task-inline-select:focus{border-color:#b8cdf8;background:#fff}
.field-add{color:var(--brand);font-weight:650}
.project-detail-section{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.project-detail-section h4{margin:0 0 12px;font-size:14px;font-weight:700}
.subtask-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:10px;color:var(--muted)}
.subtask-toolbar h4{display:flex;align-items:center;gap:8px}
.subtask-list{display:grid;gap:8px}
.subtask-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px}
.subtask-row{min-height:40px;border:0;border-radius:6px;background:#fff;display:grid;grid-template-columns:64px minmax(220px,1fr) auto 26px;align-items:center;gap:8px;padding:0 8px;text-align:left}
.subtask-row:hover{background:#f7f9fc}
.subtask-row b{font-size:13px}
.subtask-title{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.subtask-status{height:28px;border:0;border-radius:5px;background:#f4f6f9;padding:0 8px;color:#4d5563;display:inline-flex;align-items:center;gap:6px;font-size:13px}
.subtask-chip{height:28px;border-radius:6px;color:#6f7f94;background:#f7f9fc;display:inline-flex;align-items:center;gap:6px;justify-content:center;font-size:12px;font-weight:600;padding:0 8px;white-space:nowrap}
.subtask-date-chip{height:24px;border-radius:6px;background:#fff4eb;color:#f97316;font-size:12px;font-weight:650;display:inline-flex;align-items:center;padding:0 7px}
.task-date-input{height:34px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 10px;outline:none;color:var(--ink);font-weight:650;cursor:pointer;min-width:148px}
.task-date-input:hover,.task-date-input:focus,.subtask-date:hover,.subtask-date:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.sync-task-check{height:28px;border-radius:6px;background:#eef5ff;color:#1677ff;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:650;white-space:nowrap}
.sync-task-check input{width:13px;height:13px;accent-color:#1677ff}
.subtask-chip.owner{justify-content:flex-start;color:#53657d;background:transparent;padding:0}
.subtask-chip.owner .avatar{width:24px;height:24px;font-size:12px}
.subtask-action-icon{width:24px;height:28px;border-radius:6px;color:#8b96a8;display:grid;place-items:center;font-size:16px}
.subtask-row:hover .subtask-action-icon,.subtask-edit-row:hover .subtask-action-icon{background:#f0f4fa}
.subtask-row .avatar{width:24px;height:24px;font-size:12px}
.subtask-title-input{height:34px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 8px;outline:none}
.subtask-title-input:focus{border-color:#1677ff;background:#fff;box-shadow:0 0 0 3px rgba(22,119,255,.12)}
.subtask-icon-btn{height:28px;width:28px;border-radius:6px;color:var(--muted);display:grid;place-items:center}
.subtask-icon-btn:hover{background:#eef3ff;color:var(--brand)}
.subtask-add{height:34px;border:0;border-radius:6px;background:#fff;color:#1677ff;display:flex;align-items:center;padding:0 8px;font-weight:500;font-size:14px}
.subtask-add:hover{background:#f5f9ff}
.subtask-edit-row{display:grid;grid-template-columns:64px minmax(220px,1fr) auto auto;gap:8px;align-items:center;margin-top:4px;padding:0 8px;min-height:40px;border-radius:6px;background:#fff;position:relative}
.subtask-edit-row:hover{background:#f7f9fc}
.project-subtask-actions{display:flex;align-items:center;gap:6px}
.project-subtask-actions button{height:30px;border-radius:6px;padding:0 10px;font-size:12px;font-weight:650}
.project-subtask-actions .save{background:#1769ff;color:#fff}
.project-subtask-actions .cancel{color:#64748b;background:#f3f6fb}
.subtask-save{height:34px;border-radius:7px;background:#d9d9d9;color:#fff;padding:0 12px;font-weight:650}
.subtask-cancel{height:34px;color:#1677ff;padding:0 8px}
.subtask-chip-select{height:30px;border:0;border-radius:6px;background:#eef3fa;color:#4d6078;padding:0 8px;min-width:0}
.related-divider{height:20px;background:var(--line)}
.project-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.project-panel-head b{font-size:16px}
.project-panel-body{border:1px solid var(--line);border-radius:8px;background:#fbfdff;padding:12px;color:var(--text);line-height:1.7}
.project-empty-page.info-page{display:block;place-items:initial;padding:16px;overflow:auto}
.project-empty-page.info-page>div{max-width:none}
.project-side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.project-side-tabs{display:flex;gap:8px;margin:16px 0}
.project-side-tabs button{height:30px;border-radius:6px;background:#f5f7fa;color:var(--text);padding:0 10px}
.project-side-tabs button.active{background:#eaf3ff;color:#1677ff}
.activity-stream{flex:1;overflow:auto;display:grid;align-content:start;gap:14px;padding-top:2px}
.activity-event{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:9px;align-items:start;color:#7a8799;font-size:12px;line-height:1.45}
.activity-event .activity-icon{width:20px;height:20px;border-radius:5px;background:#f3f6fa;color:#7f8da1;display:grid;place-items:center;font-size:13px}
.activity-event.plain{grid-template-columns:minmax(0,1fr) auto;padding-left:2px}
.activity-event.plain .activity-icon{display:none}
.activity-event b{color:#53657d;font-weight:650}
.activity-event time,.activity-comment time{font-size:12px;color:#a0acba;white-space:nowrap}
.activity-comment{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:9px;align-items:start;font-size:12px;line-height:1.5}
.activity-comment .avatar{width:24px;height:24px;font-size:12px}
.activity-comment b{display:block;color:#1f2937;font-size:12px;line-height:1.4}
.activity-comment p{margin:4px 0 0;color:#313b4c;font-size:12px;line-height:1.55}
.activity-comment-tools{margin-top:6px;display:flex;gap:8px}
.activity-comment-tools button{height:24px;border-radius:5px;color:#1677ff;background:#f3f8ff;padding:0 8px;font-size:12px}
.activity-comment,.activity-event{padding:1px 0}
.attachment-list{display:grid;gap:10px}
.attachment-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}
.attachment-type{width:34px;height:34px;border-radius:7px;background:#eef5ff;color:#1677ff;display:grid;place-items:center;font-weight:800;font-size:12px}
.attachment-item b{display:block;font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attachment-item a{display:block;font-size:13px;color:#1677ff;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.attachment-item a:hover{text-decoration:underline}
.attachment-item span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.attachment-item button,.attachment-open{height:28px;border-radius:6px;color:#1677ff;background:#f3f8ff;padding:0 9px;display:inline-flex;align-items:center;text-decoration:none}
.inbox-file-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.inbox-file-links a{color:#1677ff;font-size:13px;font-weight:700;text-decoration:none}
.inbox-file-links a:hover{text-decoration:underline}
.attachment-empty{border:1px dashed #c4d4eb;border-radius:8px;background:#fbfdff;color:var(--muted);padding:14px;font-size:13px}
.reply-box{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.reply-box textarea{width:100%;height:92px;border:0;outline:none;resize:none;line-height:1.6}
.reply-box.empty{min-height:0;padding-top:0;margin-top:14px;border-top:0}
.task-flow-actions{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;display:flex;gap:8px;justify-content:flex-end;align-items:center}
.task-flow-actions .danger{color:#d04747;border-color:#f0c5c5;background:#fff7f7}
.status-readonly{height:30px;display:inline-flex;align-items:center;border-radius:6px;background:#f4f6f9;color:#313b4c;padding:0 10px;font-weight:700}
.todo-detail-row .status-readonly{height:auto;background:transparent;border-radius:0;padding:0}
.todo-detail-row .status-readonly .tag,
.todo-detail-row>.tag{height:24px;border:0;background:transparent;padding:0;font-size:13px}
.reply-actions{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}
.reply-buttons{display:flex;gap:8px;align-items:center}
.reply-buttons .danger{color:#d04747;border-color:#f0c5c5;background:#fff7f7}
.task-create-form{padding:2px 0 4px}
.task-create-form .project-edit-title{margin-bottom:16px}
.task-create-form .project-field-row{grid-template-columns:120px 1fr}
.task-create-form .project-field-row textarea{width:100%;min-height:86px;border:1px solid transparent;border-radius:6px;background:transparent;padding:8px;outline:none;resize:vertical;line-height:1.6}
.task-create-form .project-field-row textarea:hover,.task-create-form .project-field-row textarea:focus{border-color:#b8cdf8;background:#fff;box-shadow:0 0 0 3px rgba(111,142,232,.12)}
.task-create-form .upload{width:100%;height:54px}
.task-time-range{display:grid;grid-template-columns:minmax(148px,1fr) 16px minmax(148px,1fr);align-items:center;gap:8px;min-width:0;max-width:100%;overflow:visible}
.task-time-range>span{color:#9aa6b5;font-weight:700;text-align:center}
.task-time-range .todo-detail-pop-anchor{min-width:0;width:100%}
.task-deadline-field{display:block;min-width:0;overflow:visible}
.task-deadline-field .todo-detail-pop-anchor{width:min(240px,100%);max-width:100%}
.task-deadline-field .todo-date-display{width:100%;max-width:100%}
.task-advanced-time{margin:-4px 0 8px;padding-left:120px}
.task-advanced-time summary{width:max-content;max-width:100%;cursor:pointer;color:#64748b;font-size:12px;font-weight:750;list-style:none}
.task-advanced-time summary::-webkit-details-marker{display:none}
.task-advanced-time summary:before{content:"›";display:inline-block;margin-right:6px;color:#94a3b8;font-weight:900}
.task-advanced-time[open] summary:before{transform:rotate(90deg)}
.task-advanced-time .project-field-row{margin-top:8px;grid-template-columns:120px 1fr}
.task-create-form .todo-person-display{min-width:132px}
.task-create-form .task-time-range .todo-date-display{width:100%;min-width:0;max-width:none}
.task-create-form .task-date-input{min-width:0}
.task-time-range .todo-detail-pop-anchor:last-child .todo-date-popover{left:auto;right:0}
@media (max-width: 720px){
  .task-time-range{grid-template-columns:minmax(0,1fr);gap:6px}
  .task-time-range>span{text-align:left;padding-left:8px}
  .task-time-range .todo-detail-pop-anchor:last-child .todo-date-popover{left:0;right:auto}
  .task-advanced-time{padding-left:0}
  .task-advanced-time .project-field-row{grid-template-columns:1fr}
}
.modal.wide{width:min(1360px,86vw);max-height:92vh}
.modal.wide main{padding:0}
.modal.task-detail-modal{width:min(1420px,90vw);max-height:92vh;border-radius:8px}
.modal.task-detail-modal header,.modal.task-detail-modal footer{display:none}
.modal.task-detail-modal main{padding:0}
.work-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.compact-list{display:grid;gap:8px}
.mini-row{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px}
.mini-row b{display:block;line-height:1.45}
.mini-row p{margin:5px 0 0;color:var(--muted);font-size:12px}
.mini-row{position:relative}
.mini-row:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}
.mini-row input{width:100%;height:32px;border:1px solid var(--line);border-radius:6px;padding:0 8px;outline:none}
.participant-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.participant-picker-card{position:relative;min-height:58px;border:1px solid #dfe6f0;border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:10px 34px 10px 10px;cursor:pointer}
.participant-picker-card:hover{border-color:#b8cdf8;background:#f8fbff}
.participant-picker-card.active{border-color:#9ebcf2;background:#f2f7ff}
.participant-picker-card input{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;accent-color:#1769ff}
.participant-picker-card b{font-size:13px;color:#263244}
.template-edit-list{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.template-edit-head{height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid var(--line);background:#fbfcff}
.template-preview-head{height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid var(--line);background:#fbfcff}
.template-preview-head b{font-size:14px;color:var(--ink)}
.template-preview-head span{font-size:12px;color:var(--muted);font-weight:650}
.template-list-name{height:30px;border:0;background:transparent;outline:none;font-size:14px;font-weight:750;color:var(--ink);min-width:220px}
.template-list-name:focus{background:#fff;box-shadow:inset 0 -1px 0 var(--brand)}
.template-add-task{height:30px;border-radius:6px;background:#eef5ff;color:#1677ff;padding:0 10px;font-weight:700}
.template-edit-body{display:grid;gap:4px;padding:8px 12px 10px}
.template-task-row{min-height:38px;border-radius:6px;display:flex;align-items:center;gap:8px;padding:0 8px;background:#fff}
.template-task-row:hover{background:#f7f9fc}
.template-task-row:before{content:"";width:3px;height:20px;border-radius:3px;background:#7da0f2;flex:0 0 auto}
.template-task-row span{font-size:13px;font-weight:700;color:var(--text)}
.template-task-row input{height:32px;flex:1;border:0;background:transparent;outline:none;font-size:13px;color:var(--text)}
.template-task-row input:focus{background:#fff}
.template-list-add{height:40px;border:1px dashed #c4d4eb;border-radius:8px;background:#fbfdff;color:#1677ff;font-weight:700}
.popover-menu{position:fixed;z-index:80;width:220px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 38px rgba(44,65,96,.16);padding:8px;display:none}
.popover-menu.show{display:grid;gap:2px}
.popover-menu button{height:36px;border-radius:6px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--text);text-align:left}
.popover-menu button:hover{background:#f4f7fb}
.popover-menu .danger{color:#d04747}
.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.table th,.table td{height:42px;border-bottom:1px solid var(--line);padding:0 12px;text-align:left;white-space:nowrap}
.table th{font-size:12px;color:var(--muted);background:#f7f9fc}
.table tr:last-child td{border-bottom:0}
.node-handle{cursor:grab;color:var(--muted);font-weight:800}
.admin-permission-page{gap:12px}
.admin-hero{min-height:82px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.admin-hero h2{margin:0;font-size:20px;color:#1f2937}
.admin-hero p{margin:6px 0 0;color:#66758b;line-height:1.5}
.admin-hero-stats{min-width:158px;height:54px;border:1px solid #dce7f5;border-radius:8px;background:#f8fbff;display:grid;align-content:center;gap:2px;padding:0 14px;text-align:right}
.admin-hero-stats span{font-size:12px;color:var(--muted)}
.admin-hero-stats b{font-size:18px;color:#243a68}
.admin-dept-layout{display:grid;grid-template-columns:minmax(560px,1fr) 360px;gap:12px;align-items:start;min-height:0}
.admin-dept-table-panel,.admin-dept-panel{min-width:0;overflow:hidden}
.admin-dept-table{display:grid;min-width:0}
.admin-dept-head,.admin-dept-row{display:grid;grid-template-columns:minmax(120px,1fr) 54px minmax(92px,.7fr) minmax(180px,1.4fr) 64px;gap:10px;align-items:center}
.admin-dept-head{height:42px;padding:0 14px;border-bottom:1px solid var(--line);background:#f7f9fc;color:#8a9bb2;font-size:12px;font-weight:800}
.admin-dept-row{min-height:58px;width:100%;padding:0 14px;border-bottom:1px solid var(--line);background:#fff;text-align:left;color:#425166}
.admin-dept-row:hover{background:#f8fbff}
.admin-dept-row.active{background:#eef4ff;box-shadow:inset 3px 0 0 var(--brand)}
.admin-dept-row>span:first-child{padding-left:calc(var(--level,0)*18px)}
.admin-dept-row b{font-size:13px;color:#243044}
.admin-dept-row em{display:inline-flex;height:28px;align-items:center;border:1px solid #c8d8f3;border-radius:7px;padding:0 10px;color:#1769ff;background:#fff;font-style:normal;font-weight:800}
.admin-permission-tags{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.admin-permission-tags span{height:22px;display:inline-flex;align-items:center;border-radius:6px;background:#f1f5ff;color:#526cae;padding:0 7px;font-size:11px;font-weight:800;white-space:nowrap}
.admin-dept-owner-box{padding:14px;border-bottom:1px solid var(--line);display:grid;gap:8px}
.admin-dept-owner-box label{font-size:12px;font-weight:800;color:#7d8ca3}
.admin-dept-owner-box select{height:36px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 10px;color:#243044;outline:none}
.admin-dept-owner-box small{font-size:12px;color:var(--muted);line-height:1.45}
.admin-module-list{display:grid;gap:10px;padding:12px;max-height:calc(100vh - 284px);overflow:auto}
.admin-module-permission{position:relative;min-height:78px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px 12px 12px 58px;display:grid;grid-template-columns:1fr auto;gap:3px 10px;color:#425166}
.admin-module-permission:hover{border-color:#c7d7f2;background:#fbfdff}
.admin-module-permission.active{border-color:#a9c0f1;background:#f2f7ff}
.admin-module-permission input{position:absolute;opacity:0;pointer-events:none}
.admin-module-permission>span{position:absolute;left:14px;top:17px;width:32px;height:18px;border-radius:999px;background:#d8e1ed;transition:background .14s ease}
.admin-module-permission>span:before{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:left .14s ease}
.admin-module-permission.active>span{background:#6f8ee8}
.admin-module-permission.active>span:before{left:17px}
.admin-module-permission b{font-size:14px;color:#243044}
.admin-module-permission em{justify-self:end;font-style:normal;font-size:11px;color:#607089;background:#f7f9fc;border-radius:6px;padding:3px 7px;font-weight:800}
.admin-module-permission small{grid-column:1/-1;color:#7d8ca3;font-size:12px;line-height:1.45}
.admin-module-permission.fixed{color:#77869b}
.admin-tree-panel{overflow:hidden}
.admin-org-tree{padding:0 14px 16px;overflow:auto;max-height:calc(100vh - 220px)}
.admin-tree-node{border-bottom:1px solid #e7edf5}
.admin-tree-node:last-child{border-bottom:0}
.admin-tree-row{min-height:58px;display:grid;grid-template-columns:28px minmax(150px,1fr) minmax(128px,.72fr) minmax(220px,1.4fr) auto;gap:10px;align-items:center;padding:0 10px 0 calc(6px + var(--level,0)*28px);background:#fff}
.admin-tree-row.active{background:#f2f6ff;box-shadow:inset 3px 0 0 var(--brand)}
.admin-tree-toggle{width:24px;height:24px;border-radius:6px;color:#607089;font-weight:900;transform:rotate(-90deg)}
.admin-tree-toggle.open{transform:rotate(0)}
.admin-tree-toggle:disabled{color:#a8b3c2;cursor:default}
.admin-tree-title{text-align:left;min-width:0}
.admin-tree-title b{display:block;font-size:14px;color:#243044}
.admin-tree-title span{display:block;margin-top:3px;font-size:12px;color:#7d8ca3}
.admin-tree-owner{font-size:12px;color:#607089;white-space:nowrap}
.admin-tree-actions{display:flex;justify-content:flex-end;gap:8px}
.admin-tree-actions button,.admin-member-row button{height:30px;border:1px solid #c8d8f3;border-radius:7px;background:#fff;color:#1769ff;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}
.admin-tree-actions button{min-width:74px}
.admin-tree-actions button:hover,.admin-member-row button:hover{background:#f4f8ff}
.admin-tree-children{position:relative;margin-left:30px}
.admin-tree-children:before{content:"";position:absolute;left:16px;top:0;bottom:0;width:1px;background:#dfe7f1}
.admin-member-row{min-height:48px;display:grid;grid-template-columns:28px 28px minmax(120px,1fr) minmax(120px,.8fr) auto;gap:10px;align-items:center;padding:0 10px 0 calc(16px + var(--level,0)*28px);background:#fff;border-top:1px solid #edf1f6}
.admin-member-row b{font-size:13px;color:#243044}
.admin-member-row b em{height:20px;display:inline-flex;align-items:center;margin-left:8px;border-radius:999px;background:#eef4ff;color:#4169bf;padding:0 7px;font-size:11px;font-style:normal;font-weight:850;vertical-align:middle}
.admin-member-row.is-owner{background:#fbfdff}
.admin-member-row small{font-size:12px;color:#7d8ca3}
.admin-tree-spacer{width:10px;height:1px;background:#dfe7f1;justify-self:center}
.admin-tree-drawer{margin:0 10px 12px calc(44px + var(--level,0)*28px);border:1px solid #c9daf8;border-radius:8px;background:#f8fbff;overflow:hidden;animation:drawerIn .14s ease}
.admin-tree-drawer.member{margin-left:76px}
.admin-tree-drawer.owner{padding-bottom:10px}
.admin-drawer-head{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-bottom:1px solid #dce8f7;background:#fff}
.admin-drawer-head b{font-size:13px;color:#243044}
.admin-drawer-head span{font-size:12px;color:#7d8ca3}
.admin-owner-search{height:34px;margin:10px 12px 8px;width:calc(100% - 24px);border:1px solid #cfdced;border-radius:7px;padding:0 10px;outline:none;background:#fff}
.admin-owner-modal-tip{margin:0 12px 2px;color:#7d8ca3;font-size:12px;line-height:1.5}
.admin-owner-list{display:grid;gap:6px;padding:0 12px}
.admin-owner-list button{min-height:42px;border:1px solid #dfe7f1;border-radius:8px;background:#fff;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;text-align:left}
.admin-owner-list button.active{border-color:#9cb9f0;background:#eef4ff}
.admin-owner-list b{font-size:13px;color:#243044}
.admin-owner-list em{font-style:normal;color:#607089;font-size:12px;font-weight:800}
.admin-tree-empty{padding:10px;color:#8a9bb2;font-size:12px}
.admin-module-list.compact{max-height:none;overflow:visible;padding:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-module-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start;border:1px solid #e2eaf6;border-radius:8px;background:#fbfdff;padding:10px}
.admin-module-group h4{grid-column:1/-1;margin:0 0 2px;font-size:12px;color:#526276;font-weight:900}
.admin-module-list.compact .admin-module-permission{min-height:70px}
.admin-side-panel{position:fixed;right:24px;top:94px;bottom:24px;width:min(390px,calc(100vw - 40px));z-index:35;background:#fff;border:1px solid #dbe6f4;border-radius:10px;box-shadow:0 24px 60px rgba(37,57,92,.18);display:flex;flex-direction:column;overflow:hidden;animation:adminSideIn .16s ease}
.admin-side-head{min-height:60px;border-bottom:1px solid #e5edf7;background:linear-gradient(180deg,#fff,#f8fbff);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
.admin-side-head b{display:block;font-size:15px;color:#243044}
.admin-side-head span{display:block;margin-top:3px;font-size:12px;color:#7d8ca3}
.admin-side-head button{width:30px;height:30px;border-radius:7px;color:#7d8ca3;font-size:20px;line-height:1;display:grid;place-items:center}
.admin-side-head button:hover{background:#eef4ff;color:#1769ff}
.admin-side-panel .admin-module-list.compact{grid-template-columns:1fr;overflow:auto;max-height:none;padding:12px}
.admin-side-panel .admin-module-group{grid-template-columns:1fr}
.admin-permission-page:has(.admin-side-panel) .admin-tree-panel{margin-right:414px}
.admin-permission-page:has(.admin-side-panel) .admin-tree-row{grid-template-columns:28px minmax(130px,1fr) minmax(120px,.7fr) auto}
.admin-permission-page:has(.admin-side-panel) .admin-permission-tags{display:none}
@keyframes drawerIn{from{opacity:.6;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@keyframes adminSideIn{from{opacity:.7;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.modal-mask{position:fixed;inset:0;background:rgba(34,74,78,.32);display:none;align-items:center;justify-content:center;z-index:50}
.modal-mask.show{display:flex}
.modal{width:660px;max-height:86vh;background:#fff;border-radius:10px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}
.modal.task-create-modal{overflow:visible}
.modal header,.modal footer{height:58px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.modal footer{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end;gap:8px}
.modal main{padding:16px;overflow:auto}
.modal.task-create-modal main{overflow:visible}
.modal-footer-split{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.modal-footer-actions{display:flex;align-items:center;gap:8px}
.icon-danger{width:34px;height:34px;padding:0;display:grid;place-items:center;color:#9aa6b5;border-color:transparent;background:transparent;font-size:15px;box-shadow:none}
.icon-danger:hover,.icon-danger:focus-visible{color:#d04747;background:#fff1f1;border-color:#ffd8d8}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:12px;font-weight:700;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:7px;background:#fff;padding:9px 10px;outline:none}
.field textarea{min-height:88px;resize:vertical;line-height:1.6}
.upload{height:64px;border:1px dashed #b8c5d9;border-radius:8px;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:var(--muted)}
.upload b{color:var(--text)}
.task-import-form{display:grid;gap:12px}
.task-import-title{font-size:18px;font-weight:850;color:#1f2b3d}
.task-import-title i{font-style:normal;color:#e54545}
.task-import-tip{min-height:44px;border-radius:8px;background:#edf4ff;color:#263447;display:flex;align-items:center;gap:10px;padding:9px 12px;font-size:13px;line-height:1.5}
.task-import-tip b{width:20px;height:20px;border-radius:50%;background:#1769ff;color:#fff;display:grid;place-items:center;font-size:13px;flex:0 0 auto}
.task-import-tip button{border:0;background:transparent;color:#1769ff;font-size:13px;font-weight:850;padding:0 2px;cursor:pointer}
.task-import-zone{min-height:146px;border:1px dashed #c9d3e1;border-radius:8px;background:#fff;display:grid;place-items:center;text-align:center;padding:20px;color:#8a96a8}
.task-import-zone.disabled{background:#f8fafc;color:#a7b0bf}
.task-import-upload-icon{width:36px;height:36px;border-radius:8px;background:#2f6fed;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:500;line-height:1;margin:0 auto 14px}
.task-import-zone strong{display:block;font-size:13px;color:#263447;margin-bottom:7px}
.task-import-zone strong button{border:0;background:transparent;color:#1769ff;font-size:13px;font-weight:850;padding:0;cursor:pointer}
.task-import-zone.disabled strong button{color:#8aa0c5;cursor:not-allowed}
.task-import-zone small{font-size:12px;color:#8a96a8}
.task-import-file-name{min-height:20px;font-size:12px;color:#526276}
.task-import-file-name b{color:#263447}
.toast{position:fixed;right:22px;bottom:22px;background:#405fa8;color:#fff;padding:11px 14px;border-radius:8px;box-shadow:var(--shadow);display:none}
.toast.show{display:block}
.auth-required-page{min-height:calc(100vh - 110px);display:grid;place-items:center;padding:24px}
.auth-required-page section{width:min(420px,100%);border:1px solid #dbe6f4;border-radius:10px;background:#fff;padding:24px;box-shadow:0 18px 46px rgba(37,57,92,.12);display:grid;gap:12px}
.auth-required-page h2{margin:0;font-size:22px;color:#1f2b3d}
.auth-required-page p{margin:0;color:#607089;line-height:1.6}
.auth-required-page .btn{width:max-content}
@media(max-width:1100px){
  .page{grid-template-columns:1fr}
  .detail{display:none}
  .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .meeting-card-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}
  .admin-org-tree{max-height:none;overflow:visible}
  .admin-module-list{max-height:none;overflow:visible}
}
@media(max-width:768px){
  body{overflow:auto}
  .app{height:auto;min-height:100vh;margin:0;border-radius:0;flex-direction:column;overflow:visible}
  .side{width:100%;min-height:auto;border-right:0;border-bottom:1px solid rgba(214,226,242,.88)}
  .brand{height:58px}
  .nav{display:flex;gap:4px;overflow-x:auto;padding:8px 10px;flex:none}
  .nav button{width:auto;min-width:64px;height:38px;padding:0 10px;border-left:0;border-radius:9px;text-align:center;justify-content:center}
  .nav button.active{box-shadow:inset 0 -3px 0 var(--brand)}
  .nav .nav-full{display:none}
  .nav .nav-short{display:block}
  .side-user,.side-resizer{display:none}
  .main{min-height:0}
  .top{height:auto;min-height:72px;align-items:flex-start;gap:10px;padding:12px;flex-wrap:wrap}
  .top-actions{width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:2px}
  .top-actions .search{min-width:180px;width:180px}
  .top-actions .btn{flex:0 0 auto}
  .content,.main.inbox-open .content,.main.todo-open .content,.main.meeting-open .content,.main.project-page .content,.main.desk-open .content{padding:10px;overflow:visible}
  .admin-org-tree{padding:0 10px 12px;max-height:none;overflow:visible}
  .admin-tree-row{grid-template-columns:26px minmax(0,1fr);gap:8px;padding:10px 8px 10px calc(8px + var(--level,0)*16px);align-items:start}
  .admin-tree-owner,.admin-permission-tags,.admin-tree-actions{grid-column:2}
  .admin-tree-actions{justify-content:flex-start;flex-wrap:wrap}
  .admin-tree-children{margin-left:8px}
  .admin-tree-children:before{left:10px}
  .admin-member-row{grid-template-columns:18px 28px minmax(0,1fr);padding:10px 8px 10px calc(8px + var(--level,0)*16px)}
  .admin-member-row small,.admin-member-row button{grid-column:3}
  .admin-member-row button{justify-self:start}
  .admin-tree-drawer,.admin-tree-drawer.member{margin:0 8px 10px 28px}
  .admin-module-list.compact{grid-template-columns:1fr}
  .admin-module-group{grid-template-columns:1fr}
  .admin-side-panel{left:10px;right:10px;top:84px;bottom:10px;width:auto}
  .admin-permission-page:has(.admin-side-panel) .admin-tree-panel{margin-right:0}
  .desk-layout{height:auto;display:flex;flex-direction:column;gap:14px;overflow:visible;padding-right:0}
  .desk-top,.desk-middle{height:auto;display:grid;grid-template-columns:1fr;gap:14px;overflow:visible}
  .desk-overview,.desk-quick-grid{grid-template-columns:1fr}
  .desk-recent-grid{grid-template-columns:1fr;gap:14px}
  .desk-middle .dashboard-card{height:auto}
  .desk-trend-card .trend-summary-chart,.desk-trend-card .trend-person-chart{min-height:220px}
  .desk-schedule-panel{min-height:0}
  .todo-center{height:auto;min-height:calc(100vh - 74px);display:flex;flex-direction:column;gap:12px;padding:12px;overflow:visible}
  .todo-side{border-right:0;border-bottom:1px solid #edf1f6;padding:0 0 10px;overflow:visible;flex:none}
  .todo-resizer{display:none}
  .todo-side-head{margin-bottom:10px}
  .todo-side-search{margin-bottom:10px}
  .todo-menu{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
  .todo-menu button{flex:0 0 auto;min-width:92px;height:36px;border-radius:18px}
  .todo-menu em,.todo-menu .badge-red{margin-left:6px}
  .todo-main{overflow:visible;padding-right:0;min-height:0}
  .todo-main-head{margin-bottom:12px}
  .todo-main-tools{gap:8px;margin-bottom:12px}
  .todo-main-tools button{min-width:0;flex:1 1 0;padding:0 12px}
  .project-home{height:auto;min-height:calc(100vh - 74px);display:flex;flex-direction:column;gap:12px;padding:12px;overflow:visible}
  .project-home-side{border-right:0;border-bottom:1px solid #edf1f6;padding:0 0 10px;overflow:visible;flex:none}
  .project-home-main{overflow:visible;padding-right:0;min-height:0}
  .project-home-tabs{overflow-x:auto;gap:14px}
  .project-home-tabs button{flex:0 0 auto}
  .template-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .project-card-grid{grid-template-columns:1fr;gap:10px}
  .project-card{min-height:0}
  .admin-grid,.admin-dept-layout{grid-template-columns:1fr}
  .admin-hero{align-items:flex-start;flex-direction:column}
  .admin-hero-stats{width:100%;text-align:left}
  .admin-dept-table{overflow:visible;padding:10px;gap:8px}
  .admin-dept-head{display:none}
  .admin-dept-row{min-width:0;width:100%;grid-template-columns:1fr;gap:6px;align-items:start;border:1px solid var(--line);border-radius:8px;padding:12px;margin:0}
  .admin-dept-row>span:first-child{padding-left:0}
  .admin-permission-tags{max-width:100%}
  .admin-module-list{max-height:none;overflow:visible}
  .role-cards{grid-template-columns:1fr}
  .table{display:block;max-width:100%;overflow-x:auto}
  .meeting-card-grid{grid-template-columns:1fr}
  .todo-card{grid-template-columns:22px minmax(0,1fr);padding:12px}
  .todo-card-action{grid-column:2;justify-self:start;margin-top:4px}
  .todo-drawer{width:min(100vw,420px)}
}
@media(max-width:480px){
  .metric-card{height:88px}
  .desk-quick-grid button{height:72px}
}
