:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#293b36;background:#f5f6f3;font-synthesis:none;touch-action:pan-x pan-y;--green:#285c4b;--light:#eaf0e9;--muted:#88918b;--border:#e8ebe5}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #9ebcaf;outline-offset:3px}[hidden]{display:none!important}.sidebar{position:fixed;width:224px;inset:0 auto 0 0;background:#fbfcf9;border-right:1px solid var(--border);padding:36px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 12px;font-size:21px;font-weight:600;letter-spacing:2px}.brand-symbol{display:grid;place-items:center;width:42px;height:48px;border:1px solid #a5b7a6;border-radius:15px 15px 2px 2px;color:var(--green);font:24px Georgia,"Songti SC",serif}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:6px;font-weight:500}.workspace{margin-top:42px;padding:14px 11px;background:#f0f3ed;border:1px solid #e5e9e1;border-radius:9px;display:flex;gap:9px;align-items:center;font-size:12px}.workspace small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.site-dot{width:7px;height:7px;border-radius:50%;background:#538362}.workspace-arrow{margin-left:auto;color:#859185}.nav-label{font-size:10px;letter-spacing:2px;color:#9ca59d;margin:33px 14px 14px}nav a{display:flex;gap:14px;align-items:center;border-radius:7px;padding:14px 16px;margin:5px 0;color:#7e8880;font-size:13px}nav a span{font-size:19px;width:18px}nav a.active{background:#e8eee6;color:#315c45;font-weight:600}nav a:hover{background:#eff3ec}.sidebar-bottom{margin-top:auto}.schedule-note{border:1px solid #e3e9de;background:#f4f6f0;border-radius:9px;padding:16px 13px;font-size:11px}.clock-icon{margin-right:7px;font-size:17px}.schedule-note p{font-size:12px;letter-spacing:1px;color:#637561}.schedule-note small{color:#8c9788}.help-button{display:flex;gap:8px;color:#8b948a;font-size:11px;padding:17px 5px 0}main{margin-left:224px;padding:0 42px 24px;max-width:1840px}.topline{height:82px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:#9aa197;font-size:11px}.topline b{font-weight:400;margin:0 12px;color:#c5cbc2}.topline strong{font-weight:500;color:#5e6d60}.topline>div{display:flex;align-items:center;gap:18px}.status-pill{font-size:10px;border:1px solid #dce5d7;border-radius:20px;padding:6px 11px;color:#70856d}.avatar{width:31px;height:31px;border-radius:50%;background:#e8ede2;display:grid;place-items:center;font-family:serif;color:#687b5b}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:34px 0 26px}.eyebrow{font-size:9px;letter-spacing:2.6px;font-weight:600;color:#83917e;margin:0 0 12px}h1{font-size:29px;font-weight:550;letter-spacing:1px;line-height:1.4;margin:0}h1 span{color:#90a688}.muted{color:var(--muted);font-size:12px;margin:10px 0 0;line-height:1.7}.outline{background:white;border:1px solid #dfe5dc;border-radius:7px;padding:10px 16px;font-size:11px;white-space:nowrap}.outline span{margin-right:6px;font-size:16px}.toolbar{display:flex;align-items:center;gap:17px}.segmented{display:flex;padding:4px;background:#e9ede6;border-radius:8px;gap:3px}.segmented button{padding:8px 16px;border-radius:5px;color:#8c9587;font-size:11px}.segmented .selected{background:white;box-shadow:0 1px 4px #26382012;color:#456245;font-weight:600}.date-range{font-size:11px;color:#90988c}.mode-control{margin-left:auto;display:flex;gap:10px;align-items:center;color:#8b9485;font-size:11px}.mode-control select{border:1px solid #dfe5da;background:#fcfdfb;border-radius:6px;padding:7px;color:#64755d;font-size:11px}.icon-button{width:30px;height:30px;font-size:23px;color:#7a8b70}.data-note{margin:14px 0 22px;padding:10px 13px;border:1px solid #e6e7d9;background:#f5f4e9;color:#94906b;border-radius:6px;font-size:11px;line-height:1.6}.data-note.live{background:#edf2e9;border-color:#dfe8d7;color:#7a8d6a}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric{background:white;border:1px solid var(--border);border-radius:11px;padding:20px 21px;position:relative;overflow:hidden}.metric.featured{background:#285846;color:white;border-color:#285846}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#81917e}.featured .metric-top{color:#c8d6c5}.metric-icon{font-size:17px;opacity:.65}.metric-number{display:flex;align-items:baseline;gap:8px;margin:19px 0 16px}.metric-number strong{font-size:35px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric-number small{color:#97a08f;font-size:11px}.featured .metric-number small{color:#b6cdb5}.metric-bottom{font-size:10px;color:#a2a99c;display:flex;gap:7px;align-items:center}.metric-bottom .change{padding:3px 5px;background:#eef4e8;color:#6b8554;border-radius:4px;font-size:10px}.featured .change{background:#ffffff16;color:#e1eccd}.main-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:22px;margin-bottom:22px}.panel{background:white;border:1px solid var(--border);border-radius:11px;padding:23px 24px;min-width:0;scroll-margin-top:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel h2{font-size:14px;font-weight:600;margin:0;letter-spacing:.3px}.panel-heading p{font-size:10px;color:#9ba394;margin:7px 0 0}.legend{font-size:10px;color:#9aa491;display:flex;gap:7px;align-items:center}.legend i{height:7px;width:7px;background:#7b9872;border-radius:2px}.trend-summary{display:flex;align-items:baseline;gap:9px;margin-bottom:26px}.trend-summary strong{font-size:29px;font-weight:500;letter-spacing:-.5px}.trend-summary span{font-size:10px;color:#9ba493}.trend-summary small{margin-left:auto;font-size:10px;color:#9ba493}.chart-wrap{height:155px;display:flex;margin-bottom:28px}.chart-y{width:30px;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:0;color:#a7afa0;font-size:9px}.bar-chart{flex:1;display:flex;align-items:flex-end;justify-content:space-around;gap:10px;background:repeating-linear-gradient(to top,#eff1eb 0,#eff1eb 1px,transparent 1px,transparent 25%);position:relative;border-bottom:1px solid #edf0e7}.bar-cell{height:100%;flex:1;min-width:0;max-width:58px;position:relative;display:flex;align-items:flex-end;justify-content:center}.bar{width:62%;max-width:34px;min-height:2px;background:#b8c8ae;border-radius:4px 4px 0 0;position:relative;transition:height .35s,background .2s}.bar:hover,.bar:focus{background:#345f49}.bar.latest{background:#65845b}.bar[data-value="0"]{background:#e8ece2}.bar-label{position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;color:#a0a995}.bar-tip{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);border-radius:5px;background:#294b3d;color:white;padding:7px 9px;font-size:10px;white-space:nowrap;pointer-events:none;opacity:0;z-index:3}.bar:hover .bar-tip,.bar:focus .bar-tip{opacity:1}.chart-foot{display:flex;justify-content:space-between;font-size:9px;color:#9da594;gap:8px}.panel-glyph{font-size:21px;color:#a6b29a}.donut{width:170px;height:170px;border-radius:50%;background:#edf0e7;display:grid;place-items:center;margin:17px auto 23px;position:relative}.donut:before{content:"";position:absolute;inset:22px;border-radius:50%;background:white}.donut>div{position:relative;text-align:center}.donut strong{font-size:32px;letter-spacing:-1px;display:block;font-weight:500}.donut span{display:block;color:#9ca58f;font-size:10px;margin-top:5px}.device-legend{display:grid;gap:12px}.device-row{display:flex;align-items:center;font-size:11px;color:#8c9680}.device-row i{width:7px;height:7px;border-radius:2px;margin-right:9px}.device-row b{margin-left:auto;font-weight:500;color:#5e7054}.device-row small{font-size:10px;width:46px;text-align:right;color:#9ca58e}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.rankings{display:grid;gap:16px;padding:4px 0}.rank-row{display:grid;grid-template-columns:22px 1fr 50px;align-items:center;gap:10px}.rank-index{font-size:10px;color:#a4ad97}.rank-data{min-width:0}.rank-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#66765b;gap:8px;margin-bottom:8px}.rank-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-label small{font-size:9px;color:#a3ad95}.rank-track{height:5px;background:#f0f3ea;border-radius:4px;overflow:hidden}.rank-fill{height:100%;border-radius:4px;background:#b2c4a4}.rank-row:first-child .rank-fill{background:#6c8b5e}.rank-value{font-size:13px;text-align:right;color:#536548;font-variant-numeric:tabular-nums}.rank-value small{display:block;color:#a4ad97;font-size:8px;margin-top:4px}.subnote{font-size:9px;line-height:1.7;color:#a7ad9e;margin:19px 0 0}.action-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.action-card{background:#f7f8f3;border:1px solid #eef0e8;border-radius:7px;padding:19px 8px;text-align:center}.action-card strong{font-size:26px;display:block;font-weight:500;margin-bottom:10px}.action-card span{font-size:10px;color:#879777}.empty{padding:35px 12px;text-align:center;color:#a2aa99;font-size:12px;line-height:1.9}.error{border:1px solid #e8c3b9;background:#fff0ea;color:#a05745;padding:12px;margin-bottom:18px;border-radius:7px}.subtle-loading{opacity:.5;pointer-events:none}footer{display:flex;justify-content:space-between;gap:20px;color:#a3ab9a;font-size:9px;margin-top:30px;padding-top:15px;border-top:1px solid var(--border)}footer b{margin:0 5px}dialog{border:1px solid #e1e7dc;border-radius:16px;padding:34px;max-width:520px;width:calc(100% - 32px);max-height:88vh;color:#384a34}dialog::backdrop{background:#1d302855;backdrop-filter:blur(3px)}dialog h2{font-size:22px;margin:0 0 25px}dt{font-size:13px;font-weight:600;margin-top:20px}dd{font-size:12px;line-height:1.9;color:#8b9584;margin:7px 0 0}.dialog-close{position:absolute;right:15px;top:12px;font-size:25px;color:#a4ad9c}.primary{background:#2b5c48;color:white;padding:13px 22px;border-radius:7px;width:100%;margin-top:22px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 10%,#e2e9da,transparent 55%),#f5f6f1;padding:25px}.login-card{width:400px;max-width:100%;background:white;border:1px solid #e2e8db;padding:40px;border-radius:15px;box-shadow:0 20px 80px #263a2010}.login .brand-symbol{margin-bottom:30px}.login h1{font-size:24px}.login label{display:block;margin:30px 0 10px;color:#75856a;font-size:12px}.login input{width:100%;border:1px solid #dde5d6;border-radius:6px;padding:12px;font-size:16px}.login small{display:block;text-align:center;color:#a8b19f;font-size:10px;margin-top:25px}#login-error{color:#a75742;font-size:12px}.bar-chart.dense{gap:2px}.bar-chart.dense .bar{width:65%}@media(min-width:1550px){main{padding-left:60px;padding-right:60px}.chart-wrap{height:190px}.donut{margin-top:30px}}@media(max-width:1150px){.sidebar{width:190px;padding:28px 13px}main{margin-left:190px;padding-left:25px;padding-right:25px}.metrics{gap:12px}.metric{padding:18px 15px}.metric-number strong{font-size:29px}.main-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.date-range{display:none}.panel{padding:20px}.metric-bottom{flex-wrap:wrap}.trend-summary small{display:none}}@media(max-width:800px){.sidebar{position:relative;width:auto;height:auto;padding:18px 22px;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;justify-content:space-between}.brand{padding:0;font-size:18px}.brand-symbol{width:34px;height:38px;font-size:20px}.brand small{font-size:7px}.workspace,.nav-label,.sidebar nav,.schedule-note{display:none}.sidebar-bottom{margin:0;display:flex;gap:14px}.help-button{padding:0;font-size:11px}main{margin:0;padding:0 22px 24px}.topline{height:58px}.page-heading{padding:28px 0 23px}h1{font-size:24px}.page-heading .muted{font-size:11px}.outline{padding:9px 12px}.metrics{grid-template-columns:repeat(2,1fr);gap:12px}.metric-number strong{font-size:33px}.main-grid{grid-template-columns:1fr}.device-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.device-panel .panel-heading{grid-column:1/-1}.donut{margin:0 auto 5px;width:150px;height:150px}.device-legend{align-content:center}.lower-grid{gap:14px}.chart-wrap{height:170px}.toolbar{gap:8px}.segmented button{padding:8px 12px}.mode-control{gap:5px}.mode-control label{display:none}.data-note{font-size:10px}.trend-summary small{display:block}.rank-row{grid-template-columns:16px 1fr 35px;gap:5px}.panel{padding:20px 17px}footer{line-height:1.8}}@media(max-width:520px){main{padding:0 16px 22px}.sidebar{padding:16px 19px}.topline{font-size:10px}.page-heading{align-items:flex-start;gap:8px}h1{font-size:21px;letter-spacing:0}.eyebrow{font-size:8px;letter-spacing:1.8px}.page-heading .muted{max-width:230px;font-size:10px}.outline{font-size:10px;padding:7px 8px;margin-top:20px}.outline span{font-size:14px}.toolbar{flex-wrap:wrap}.segmented button{padding:8px 11px;font-size:10px}.mode-control select{font-size:10px;max-width:98px}.metrics{gap:10px}.metric{padding:16px}.metric-top{font-size:11px}.metric-number{margin:17px 0 14px}.metric-number strong{font-size:31px}.metric-bottom{font-size:9px}.lower-grid{grid-template-columns:1fr}.trend-summary small{display:none}.chart-foot{font-size:8px}.device-panel{column-gap:10px}.donut{width:140px;height:140px}.donut:before{inset:19px}.bar-chart{gap:5px}.panel-heading h2{font-size:13px}footer{display:block}footer span{display:block;margin-top:5px}.status-pill{font-size:9px}.login-card{padding:30px}.bar-chart.dense .bar-label{font-size:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* 多项目个人工作台：沿用KDY颜色、图表与卡片布局。 */
body{font-size:16px}.sidebar{width:252px;padding:28px 18px;overflow-y:auto}.brand{font-size:20px;letter-spacing:1px}.brand small{font-size:10px}.workspace{margin-top:28px;font-size:14px}.workspace small{font-size:12px}.project-picker{margin-top:22px;min-height:120px;flex:1;display:flex;flex-direction:column}.project-picker input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:7px;background:#fff;font-size:14px}.project-picker nav{margin-top:10px;overflow:auto;max-height:44vh;min-height:100px}.project-link{width:100%;display:flex;align-items:center;gap:11px;padding:13px 10px;text-align:left;border-radius:8px;margin:4px 0;font-size:14px}.project-link>span:last-child{min-width:0;overflow-wrap:anywhere}.project-link small{display:block;color:#88918b;font-size:12px;margin-top:6px}.project-link:hover{background:#f0f3ed}.project-link.active{background:#e6eee3;color:#285c4b;font-weight:600}.project-initial{display:grid;place-items:center;width:28px;height:30px;flex-shrink:0;border:1px solid #d1ddce;border-radius:6px;font-family:serif}.add-project{width:100%;text-align:left;padding:14px 10px;color:var(--green);font-size:14px}.sidebar-bottom{padding-top:24px}.schedule-note{font-size:13px}.schedule-note small{font-size:12px}.help-button{font-size:13px}.mobile-project{display:none}main{margin-left:252px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.outline{font-size:14px}.topline{font-size:13px}.status-pill{font-size:12px}.eyebrow{font-size:11px}.muted{font-size:14px;overflow-wrap:anywhere}.segmented button,.mode-control,.mode-control select,.date-range{font-size:14px}.data-note{font-size:13px}.metric-top{font-size:14px}.metric-bottom,.metric-bottom .change{font-size:12px}.metric-number small{font-size:13px}.panel h2{font-size:16px}.panel-heading p,.chart-foot,.trend-summary span,.trend-summary small{font-size:12px}.chart-y,.bar-label{font-size:11px}.rank-label,.device-row{font-size:14px}.rank-label small,.device-row small,.subnote{font-size:12px}.rank-value small{font-size:10px}.rank-value{font-size:15px}.action-card span{font-size:13px}.action-list{grid-template-columns:repeat(3,minmax(0,1fr))}.action-list .empty{grid-column:1/-1}.donut span{font-size:12px}.project-comparison{margin-bottom:22px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}th,td{text-align:left;padding:15px 12px;border-bottom:1px solid #edf0e9}th{font-weight:500;color:#8b9684;font-size:12px}td:first-child{min-width:180px}td small{display:block;color:#919a8a;font-size:12px;margin-top:5px}.table-project{padding:0;color:#285c4b;font-weight:600}.table-project:hover{text-decoration:underline}.connection{font-size:12px;color:#8b927f;background:#f2f3ed;border-radius:20px;padding:5px 9px}.connection.connected{background:#eaf2e6;color:#59794c}dialog label{display:block;font-size:14px;margin-top:18px;color:#596e53}dialog input:not([type=checkbox]),dialog select,dialog textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dbe3d6;border-radius:7px;margin-top:8px;font:inherit;background:#fff;color:inherit}dialog textarea{font:13px/1.7 ui-monospace,monospace;resize:vertical;overflow-wrap:anywhere}dialog .check{display:flex;gap:10px;align-items:center}.form-hint{font-size:12px;line-height:1.8;color:#87947e;margin-top:9px}.form-error{color:#a15340;font-size:14px}#copy-status{font-size:13px;color:#285c4b}.login label{font-size:14px}.login small{font-size:12px}footer{font-size:12px}.bar-chart.dense .bar-label{font-size:10px}dd{font-size:14px}dt{font-size:15px}
@media(max-width:1150px){.sidebar{width:220px;padding:24px 14px}main{margin-left:220px}.heading-actions{max-width:240px}.page-heading{gap:15px}.outline{font-size:12px}.toolbar{flex-wrap:wrap}.mode-control{margin-left:0}}
@media(max-width:800px){.sidebar{position:relative;width:100%;padding:18px 22px;overflow:visible}.sidebar .brand{font-size:18px}.project-picker,.workspace{display:none}.sidebar-bottom{padding:0}.sidebar-bottom .help-button{font-size:12px}main{margin:0}.mobile-project{display:flex;gap:10px;align-items:center;margin-bottom:20px;font-size:14px}.mobile-project label{flex-shrink:0}.mobile-project select{width:100%;min-width:0;padding:10px;border:1px solid #dbe3d6;border-radius:7px;background:#fff}.mobile-project .outline{margin:0;flex-shrink:0}.page-heading{flex-wrap:wrap}.heading-actions{max-width:none;justify-content:flex-start}.heading-actions .outline{margin:0}.page-heading .muted{font-size:13px}.metric-bottom{gap:4px}.toolbar .mode-control{margin-left:auto}.device-row{font-size:13px}.device-row small{font-size:11px}.data-note{font-size:12px}.bar-chart{gap:5px}.project-comparison{padding-left:12px;padding-right:12px}.table-scroll{margin:0 -3px}.outline{font-size:13px}.trend-summary span{font-size:12px}}
@media(max-width:520px){.metric{padding:16px 12px}.metric-top{font-size:13px}.metric-bottom,.metric-bottom .change{font-size:11px}.metric-number small{font-size:12px}.panel h2{font-size:15px}.segmented button,.mode-control select{font-size:12px}.mobile-project{gap:6px}.mobile-project label{font-size:12px}.mobile-project select{font-size:14px}.project-link{font-size:14px}.chart-foot{font-size:11px}.action-card span{font-size:12px}.heading-actions .outline{font-size:12px}.login-card .muted{font-size:14px}}
/* Thirty-day charts must shrink within a phone-width card. */
.bar-chart{min-width:0}.bar{min-width:0;padding:0}.bar-tip{display:none}.bar:hover .bar-tip,.bar:focus .bar-tip{display:block}.bar-cell:first-child .bar-tip{left:0;transform:none}.bar-cell:last-child .bar-tip{left:auto;right:0;transform:none}
