:root{font-family:Inter,Microsoft YaHei,system-ui;color:#172033;background:#eef3f8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;border-radius:8px;padding:10px 16px;background:#1769e0;color:#fff;cursor:pointer}button.danger,.danger{background:#fff0f0;color:#c93434}.login{min-height:100vh;display:grid;place-items:center}.login form{width:min(380px,92vw);display:grid;gap:16px}.app header{height:60px;background:#0c2d55;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.shell{display:grid;grid-template-columns:210px 1fr;min-height:calc(100vh - 60px)}aside{background:#10365f;padding:18px 12px;color:#fff}aside a{display:block;padding:13px;border-radius:8px;cursor:pointer;margin-bottom:5px}aside a.on{background:#1769e0}main{padding:24px;min-width:0}.title{display:flex;justify-content:space-between;align-items:center}.panel{background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:18px;margin-bottom:14px}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form input,.form select,.form textarea,.notice input{border:1px solid #cdd7e3;border-radius:8px;padding:11px;min-height:44px}.form textarea{min-height:88px}.group h2{display:flex;justify-content:space-between}.task{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #e5e9ef}.task input{width:22px;height:22px}.task span{flex:1}.task em{font-style:normal;background:#eaf3ff;padding:3px 9px;border-radius:14px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.stats{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:12px;margin:18px 0}.stats article{background:#fff;padding:16px;border-radius:12px;border:1px solid #dce4ef}.stats b{display:block;font-size:28px;margin-top:8px}.bars{height:240px;display:flex;align-items:end;gap:8px;border-bottom:1px solid #ccd6e2}.bars i{flex:1;background:#0aa39a;min-width:4px}.notice{padding:14px;background:#eaf3ff;border-radius:10px;margin:12px 0}.upload{display:inline-block;padding:9px 12px;background:#eef3f8;border-radius:8px;margin:8px}.upload input{display:none}.err{color:#c93434}.muted,small{color:#68758a}.hamb{display:none;background:transparent;font-size:22px}@media(max-width:760px){.shell{grid-template-columns:1fr}aside{display:none;position:absolute;z-index:5;top:60px;left:0;width:240px;min-height:calc(100vh - 60px)}aside.open{display:block}.hamb{display:block}main{padding:14px}.form{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.title h1,h1{font-size:24px}.cards{grid-template-columns:1fr}.task{min-height:52px}}.bottom-nav{display:none}.employee{min-height:100vh;background:#f4f7fb}.employee header{position:sticky;top:0;z-index:6}.employee .shell{display:flex;flex-direction:column;min-height:calc(100vh - 60px)}.employee aside{position:sticky;top:60px;z-index:5;display:flex;gap:8px;width:100%;min-height:auto;padding:10px max(24px,calc((100vw - 1440px)/2));background:#fff;color:#68758a;border-bottom:1px solid #e3e9f1}.employee aside a{margin:0;padding:9px 18px}.employee aside a.on{color:#1769e0;background:#edf5ff;font-weight:600}.employee main{width:100%;max-width:1680px;margin:0 auto;padding:18px 20px}.employee .title{margin-bottom:12px}.employee .title h1{margin:0 0 4px}.today-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;align-items:start}.today-grid .panel{margin-bottom:0;padding:13px 14px;border-radius:10px}.today-grid .group h2{margin:0 0 3px;font-size:16px}.today-grid .group h2 small{font-size:12px}.today-grid .task{padding:7px 0;min-height:38px;gap:8px}.today-grid .task:first-of-type{border-top:0}.today-grid .task input{width:19px;height:19px}.today-grid .task span{font-size:14px;line-height:1.25}.today-grid .task em{font-size:11px;padding:2px 6px}@media(max-width:760px){.employee{min-height:100dvh;background:#f4f7fb;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.employee header{height:56px;padding:env(safe-area-inset-top) 18px 0;background:#fff;color:#172033;border-bottom:1px solid #e8edf4;position:sticky;top:0;z-index:4}.employee header b{font-size:18px}.employee header span{font-size:14px;color:#68758a}.employee .shell{min-height:auto}.employee aside{display:none}.employee main{padding:20px 16px 8px}.employee .today-grid{grid-template-columns:1fr;gap:10px}.employee .today-grid .panel{padding:14px 16px}.employee .today-grid .group h2{margin-bottom:2px}.employee .today-grid .task{min-height:52px;padding:9px 0}.employee .title{align-items:flex-start;gap:12px;margin-bottom:18px}.employee .title h1{font-size:28px;margin:0 0 5px;letter-spacing:-1px}.employee .title>button{width:44px;height:44px;padding:0;font-size:0;border-radius:50%;box-shadow:0 5px 14px #1769e040}.employee .title>button:before{content:"＋";font-size:24px}.employee .panel{border:0;border-radius:16px;box-shadow:0 3px 16px #183b6510;padding:18px;margin-bottom:14px}.employee .group h2{margin:0 0 7px;font-size:18px}.employee .task{min-height:62px;padding:12px 0}.employee .task input{width:26px;height:26px;accent-color:#1769e0}.employee .task span{font-size:16px}.employee .task em{font-size:12px}.employee .form{padding:16px}.employee .form input,.employee .form select,.employee .form textarea{width:100%;font-size:16px;min-height:48px}.employee .form button{min-height:48px}.employee .stats{gap:10px;margin:15px 0}.employee .stats article{padding:14px;border:0;border-radius:14px}.employee .stats article:last-child{grid-column:1/-1}.employee .stats b{font-size:24px}.bottom-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;z-index:10;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e4eaf2;box-shadow:0 -4px 18px #183b6512}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent;color:#768398;padding:2px;border-radius:10px;font-size:12px}.bottom-nav button span{font-size:22px;line-height:24px}.bottom-nav button.on{color:#1769e0;font-weight:600;background:#edf5ff}.employee .err{background:#fff1f1;padding:10px 12px;border-radius:10px;font-size:13px}.employee .muted{text-align:center}}button.secondary{background:#e9eef5;color:#344258}.field{display:grid;gap:6px}.field span{font-size:13px;color:#68758a}.field select[multiple]{min-height:110px}.table-wrap{overflow-x:auto}.employee-table{width:100%;border-collapse:collapse;table-layout:auto}.employee-table th,.employee-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #e5eaf1;vertical-align:middle}.employee-table th{color:#68758a;font-size:13px;background:#f7f9fc}.employee-table td:nth-child(1){font-weight:600;min-width:110px}.employee-table td:nth-child(2){min-width:140px}.employee-table td:nth-child(3){min-width:310px}.employee-table a{display:inline-block;max-width:280px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;color:#1769e0;white-space:nowrap}.employee-table .actions{white-space:nowrap;min-width:250px}.employee-table button{margin:2px 4px 2px 0;padding:8px 11px}.employee-table button.mini{padding:6px 9px;margin-left:8px}.empty{text-align:center!important;color:#8792a3;padding:30px!important}@media(max-width:760px){.table-wrap{padding:0!important;background:transparent!important;box-shadow:none!important}.employee-table,.employee-table tbody,.employee-table tr,.employee-table td{display:block;width:100%}.employee-table thead{display:none}.employee-table tr{background:#fff;border-radius:14px;padding:10px 14px;margin-bottom:12px;box-shadow:0 3px 16px #183b6510}.employee-table td{display:grid;grid-template-columns:78px 1fr;gap:8px;min-width:0!important;padding:9px 0;border-bottom:1px solid #edf1f6;word-break:break-all}.employee-table td:before{content:attr(data-label);color:#7a8798;font-size:13px;font-weight:400}.employee-table td:last-child{border-bottom:0}.employee-table td:nth-child(3){display:grid}.employee-table a{max-width:100%}.employee-table .actions{white-space:normal;display:flex;flex-wrap:wrap;padding-top:12px}.employee-table .actions:before{width:70px}.employee-table .empty{display:block}}.priority{display:inline-block;font-style:normal;font-size:11px;font-weight:600;color:#1769e0;background:#eaf3ff;border-radius:10px;padding:2px 6px;vertical-align:middle}.attachment-bar{display:flex;align-items:center;gap:10px;border-top:1px dashed #dde5ef;padding-top:8px;margin-top:5px}.link-btn{background:transparent;color:#1769e0;padding:3px 0;font-size:12px}.upload-inline{color:#1769e0;font-size:12px;cursor:pointer}.upload-inline input{display:none}.attachment-list{display:grid;gap:5px;margin-top:8px;padding:8px;background:#f6f9fd;border-radius:8px}.attachment-list button{display:block;max-width:100%;padding:5px 7px;background:#fff;color:#345;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:12px;border:1px solid #e2e9f2}.today-grid .group h2{gap:6px}.today-grid .group h2>small{flex:none}.group-heading{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;white-space:nowrap}.group-heading b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.group-heading .priority{flex:none}.group-remark{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:11px;font-weight:400;color:#8a96a6}.overview-stats{grid-template-columns:repeat(3,minmax(140px,1fr));max-width:720px}.overview-title h2{margin:0}.overview-title p{margin:6px 0 14px}.overview-table-wrap{overflow-x:auto}.overview-table{width:100%;border-collapse:collapse;table-layout:fixed}.overview-table th,.overview-table td{text-align:left;padding:14px 12px;border-bottom:1px solid #e5eaf1;vertical-align:middle}.overview-table th{font-size:13px;color:#68758a;background:#f7f9fc}.overview-table th:nth-child(1){width:19%}.overview-table th:nth-child(2){width:39%}.overview-table th:nth-child(3){width:8%}.overview-table th:nth-child(4){width:22%}.overview-table th:nth-child(5){width:12%}.cell-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-preview{position:relative;outline:none}.stage-chips{display:flex;gap:6px;min-width:0;overflow:hidden}.stage-chips span{display:block;flex:0 1 96px;min-width:42px;max-width:96px;padding:5px 8px;border-radius:6px;background:#edf5ff;color:#1769e0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.stage-tooltip{display:none;position:absolute;z-index:20;left:0;top:calc(100% + 7px);width:min(360px,70vw);max-height:320px;overflow:auto;padding:13px 16px;background:#172033;color:#fff;border-radius:9px;box-shadow:0 10px 30px #17203345}.stage-tooltip:before{content:"";position:absolute;top:-5px;left:20px;border-width:0 6px 6px;border-style:solid;border-color:transparent transparent #172033}.stage-tooltip ol{margin:8px 0 0;padding-left:22px}.stage-tooltip li{padding:4px 0;line-height:1.4;word-break:break-word}.stage-preview:hover .stage-tooltip,.stage-preview:focus .stage-tooltip{display:block}.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:#14243b88}.detail-modal{width:min(780px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 22px 70px #08182d55}.modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:#fff;border-bottom:1px solid #e5eaf1}.modal-head>div{display:flex;align-items:center;gap:9px}.modal-head h2{margin:0}.modal-close{width:36px;height:36px;padding:0;background:#eef2f7;color:#45546a;font-size:25px;line-height:1}.detail-section{padding:17px 22px;border-bottom:1px solid #edf1f5}.detail-section:last-child{border-bottom:0}.detail-section h3{margin:0 0 10px}.detail-remark,.detail-task p{margin:0;line-height:1.7;white-space:pre-wrap;word-break:break-word}.detail-files{display:flex;flex-wrap:wrap;gap:7px}.detail-files button{max-width:260px;padding:7px 10px;background:#edf5ff;color:#1769e0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-task{padding:13px 0;border-top:1px dashed #dce4ef}.detail-task:first-of-type{border-top:0}.detail-task-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}.detail-task-title span{flex:none;color:#68758a;font-size:13px}.detail-task .detail-files{margin-top:9px}@media(max-width:760px){.overview-stats{grid-template-columns:repeat(2,1fr)}.overview-stats article:last-child{grid-column:1/-1}.overview{padding:0}.overview-title{padding:16px 16px 0}.overview-table{min-width:700px}.modal-backdrop{padding:10px}.detail-modal{width:100%;max-height:94vh}.modal-head,.detail-section{padding-left:16px;padding-right:16px}}.task-create-form .group-picker{position:relative;margin:0;min-width:0}.group-picker summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:11px 13px;border:1px solid #cdd7e3;border-radius:9px;background:#fff;cursor:pointer;list-style:none}.group-picker summary::-webkit-details-marker{display:none}.group-picker summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#46556b}.group-picker summary i{flex:none;color:#68758a;font-style:normal;transition:transform .18s}.group-picker[open] summary{border-color:#1769e0;border-radius:9px 9px 0 0}.group-picker[open] summary i{transform:rotate(180deg)}.group-picker-menu{position:absolute;z-index:30;left:0;right:0;top:100%;padding:9px 12px 11px;border:1px solid #1769e0;border-top:0;border-radius:0 0 9px 9px;background:#fff;box-shadow:0 12px 28px #17385f25}.group-picker label{display:flex;align-items:center;gap:6px;min-height:34px;cursor:pointer}.group-picker input{width:17px;height:17px;min-height:0}.group-picker .select-all{padding-bottom:7px;border-bottom:1px solid #e6ebf1}.group-picker-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:2px 14px;padding-top:6px;max-height:180px;overflow:auto}.date-range-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.date-field{display:grid;gap:6px}.date-field span{color:#68758a;font-size:13px}.quick-ranges{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.quick-ranges>span{color:#68758a;font-size:13px}.quick-ranges button{padding:7px 11px;background:#edf5ff;color:#1769e0}.task-create-form>button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.date-range-row{grid-template-columns:1fr}}
