:root{--blue:#2965ff;--ink:#111d32;--muted:#657b9f;--line:#dce5f1;--bg:#f7f9fb;--white:#fff;--soft:#eff4ff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:13px "Segoe UI","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button,.button{border:1px solid var(--line);background:var(--white);color:var(--ink);padding:10px 14px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;white-space:nowrap;min-height:39px}button:hover,.button:hover{border-color:#99b5fa;background:var(--soft)}button:disabled{cursor:not-allowed;opacity:.42}button.primary,.button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.danger{background:#ed4545;color:white;border-color:#ed4545}button.soft{background:var(--soft);border-color:transparent}button.link-button{border:0;background:none;color:var(--muted);padding:4px;min-height:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #79a0ff;outline-offset:3px}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1{font-size:28px;line-height:1.3;margin:0 0 8px;font-weight:750;letter-spacing:-.6px}h2{font-size:19px;margin:0 0 18px}h3{font-size:16px;margin:0 0 12px}p{color:var(--muted);line-height:1.7;margin:0;font-size:13px}small{color:var(--muted);font-size:11px}.sidebar{width:252px;position:fixed;left:0;top:0;bottom:0;border-right:1px solid var(--line);background:var(--white);display:flex;flex-direction:column;z-index:2}.brand{height:57px;display:flex;align-items:center;gap:10px;padding:0 16px;color:var(--ink);text-decoration:none;font-weight:650;font-size:16px;flex-shrink:0}.brand img{width:34px;height:34px}nav{padding:14px 20px 10px 0;overflow:auto}nav label{display:block;font-size:12px;color:var(--muted);margin:17px 16px 11px}nav a{height:43px;margin-bottom:5px;padding:0 31px;display:flex;align-items:center;gap:10px;color:var(--muted);text-decoration:none;border-radius:0 9px 9px 0}nav a.active{color:var(--blue);background:#e2eaff}nav a:hover{background:var(--soft)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:16px 14px}.version{font:10px Consolas,monospace;color:var(--muted);border:1px solid var(--line);padding:6px 10px;border-radius:16px;box-shadow:0 2px 5px #00000005}.theme-button{border:0;padding:0;color:#e98c25;gap:20px;min-height:25px;font-size:21px}.switch{display:inline-block;width:39px;height:22px;background:#cdd7e1;border-radius:15px;position:relative;vertical-align:middle}.switch:after{content:'';position:absolute;width:17px;height:17px;left:3px;top:2.5px;border-radius:50%;background:white}.switch.on{background:var(--blue)}.switch.on:after{left:19px}.shell{margin-left:252px}.topbar{height:56px;border-bottom:1px solid var(--line);background:var(--white);display:flex;align-items:center;justify-content:flex-end;gap:34px;padding:0 30px;font-size:12px}main{padding:35px 25px 30px;position:relative}main:before{content:'';position:absolute;left:18px;top:20px;width:850px;height:112px;max-width:85%;background-image:radial-gradient(#b9d2ff 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to right,transparent,#000 15%,transparent);pointer-events:none;z-index:-1}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:35px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.range{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.range input{width:130px;font-size:11px;padding:9px 7px}.notice{border:1px solid #c8d8ff;background:#edf3ff;color:var(--muted);padding:14px 12px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.notice button{padding:0;min-height:0;background:none;border:0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:21px}.stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}.stat{position:relative;background:var(--white);border:1px solid #ccd9f3;border-radius:12px;padding:20px 24px;box-shadow:0 14px 28px #233a5803}.stat:before{content:'';position:absolute;top:0;left:23px;width:38px;height:2px;background:#9ab7ff}.stat>div{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;font-weight:600}.stat svg{padding:6px;width:30px;height:30px;background:var(--soft);color:var(--blue);border:1px solid #bcd0ff;border-radius:7px}.stat b{font-size:29px;display:block;margin:19px 0 12px;color:var(--ink)}.stat small{display:block;font-size:11px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:var(--white);border:1px solid #ccd9f3;border-radius:16px;margin-bottom:19px;overflow:hidden;box-shadow:0 15px 28px #22344803}.card-head{display:flex;align-items:center;justify-content:space-between;padding:18px 23px;gap:12px}.card-head strong{font-size:15px}.card-body{padding:0 24px 23px}.empty{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:#b3b6bd;padding:25px;text-align:center}.empty svg{width:35px;height:35px;stroke:#c0c3c9}.empty small{max-width:450px;color:#a7b0bf;line-height:1.7}.chart-card .empty{min-height:250px}.segments{display:inline-flex;border:1px solid var(--line);border-radius:7px;background:#f0f4f9;padding:2px}.segments button{min-height:26px;padding:5px 10px;border:0;background:none;border-radius:5px;font-size:11px;color:var(--muted)}.segments button.selected{background:var(--white);color:var(--ink);box-shadow:0 1px 3px #20345115}.toolbar{display:flex;gap:8px;align-items:center;margin:0 0 12px;flex-wrap:wrap}.toolbar select{width:160px}.toolbar input.search{width:250px}.toolbar .push{margin-left:auto}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:11px}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-size:12px;font-weight:600;color:var(--ink);background:#f0f4f8;padding:15px 12px;border-bottom:1px solid var(--line)}td{padding:19px 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}td button,td .button{font-size:12px;min-height:32px;padding:7px 10px}td code{font-size:11px}tbody tr:last-child td{border-bottom:0}.pagination{display:flex;justify-content:flex-end;gap:9px;align-items:center;margin-top:26px;color:var(--muted);font-size:12px}.pagination button{padding:4px 8px;min-height:27px}.pagination .selected{color:var(--blue);border-color:var(--blue)}input,select,textarea{background:var(--white);border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--ink);min-height:39px;min-width:0}input::placeholder,textarea::placeholder{color:#97a3b4}select{color:var(--muted)}.badge{display:inline-flex;border:1px solid var(--line);padding:3px 6px;border-radius:5px;font-size:11px;color:var(--muted);white-space:nowrap}.badge.green{color:#10a75d;border-color:#a6dfbf;background:#effaf3}.badge.blue{color:var(--blue);background:var(--soft)}.badge.orange{color:#b57b29;background:#fff7ea}.tabs{display:flex;gap:18px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:12px;white-space:nowrap}.tabs button{border:0;border-radius:0;background:none;padding:13px 0;font-size:12px;color:var(--muted)}.tabs button.selected{color:var(--blue);border-bottom:2px solid var(--blue)}.data-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.data-box{padding:23px;border:1px solid var(--line);border-radius:12px;min-height:100px;color:var(--muted)}.data-box strong{font-size:22px;display:block;margin-top:15px;font-weight:500}.data-box.row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:90px}.heat-scroll{overflow:auto}.heatmap{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,12px);grid-auto-columns:12px;gap:3px;width:max-content}.heatmap i{background:#e6e9ef;border-radius:2px}.heatmap i.has-data{background:#5e9af7}.months{display:flex;justify-content:space-between;width:777px;margin-top:12px;font-size:11px;color:var(--muted)}.member-layout{display:grid;grid-template-columns:320px 1fr;gap:16px}.department{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:15px;min-height:650px}.department h3{display:flex;align-items:center;justify-content:space-between;font-size:13px}.department button.dept{display:block;width:100%;text-align:left;justify-content:flex-start;border:0;background:none;color:var(--muted);margin-top:9px}.department button.dept.selected{background:#e2eaff;color:var(--blue);border:1px solid #a2bcff;border-left:4px solid var(--blue)}.company-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--white);min-width:0}.company-card h2{font-size:22px;margin:3px 0 15px}.download-section{padding:26px 16px}.download-section.tinted{background:#f0f4f8}.download-section h3{font-size:15px}.download-section .table-scroll{border:0;border-radius:0}.download-section td{padding:23px 12px}.download-section tbody tr:nth-child(even){background:#f0f4f8}.download-card{padding:0 16px}.download-card .toolbar{padding:14px 0;border-bottom:1px solid var(--line);margin:0}.sha{border:0;padding:0!important;background:none!important;color:var(--muted);max-width:145px;white-space:normal;word-break:break-all;text-align:left}.form label{display:block;color:var(--muted);font-size:12px;margin-bottom:16px}.form input,.form select{display:block;width:100%;margin-top:7px}.form p{font-size:12px;margin-bottom:15px}.form .actions{justify-content:flex-end}.row-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:13px 0;font-size:13px}.row-line span:first-child{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);padding:25px;width:480px;max-width:90vw;box-shadow:0 25px 90px #233a582a}dialog::backdrop{background:#17233d45}.secret,pre{white-space:pre-wrap;word-break:break-all;max-height:380px;overflow:auto;background:var(--soft);padding:15px;border-radius:8px;font-size:12px}.secret{user-select:all}#toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243553;color:white;padding:13px 22px;border-radius:8px;max-width:700px;z-index:100;white-space:pre-wrap;line-height:1.7}#toast.show{display:block}.dark{--bg:#17212e;--white:#202d3d;--ink:#e4edfb;--muted:#a5b7d0;--line:#39485c;--soft:#283b59}.dark nav a.active,.dark .notice,.dark th,.dark .segments,.dark .download-section.tinted,.dark .download-section tbody tr:nth-child(even){background:#293c5a}.dark .stat,.dark .card{border-color:var(--line)}.dark .heatmap i{background:#39485c}.dark .heatmap i.has-data{background:#5e9af7}@media(max-width:1350px){.sidebar{width:218px}.shell{margin-left:218px}.stats.five{gap:12px}.stat{padding:18px}.stat>div{gap:7px;font-size:12px}.member-layout{grid-template-columns:225px 1fr}.range input{width:118px}.pagehead{align-items:flex-start}}@media(max-width:1000px){.stats.five{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.member-layout{grid-template-columns:180px 1fr}.pagehead{flex-wrap:wrap}.data-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{width:62px}.brand{padding:14px;font-size:0}.brand img{width:32px}.sidebar nav{padding:15px 4px}nav label,nav a span,.version,.sidebar-bottom{display:none}nav a{padding:10px 15px}.shell{margin-left:62px}main{padding:24px 14px}.topbar{padding:0 14px}.stats.five{grid-template-columns:repeat(2,1fr)}.member-layout{grid-template-columns:1fr}.department{min-height:0}.pagehead{margin-bottom:23px}h1{font-size:25px}.range{flex-wrap:wrap}.toolbar .push{margin-left:0}}
:root .download-section table td:last-child,:root .download-section table th:last-child{position:sticky;right:0;background:var(--white);box-shadow:-6px 0 10px #233a5806}.center{justify-content:center}.admin .download-section td:nth-child(6){max-width:200px;overflow:hidden;text-overflow:ellipsis}
