.auth-screen{min-height:100vh;display:grid;place-items:center;background:#f5f6f8;padding:24px}.auth-card{width:min(100%,420px);padding:32px;background:#fff;border:1px solid #e8e9ed;border-radius:14px;box-shadow:0 10px 36px #16202a12}.auth-card h1{font-size:21px}.auth-card p{color:#66717e}.auth-logo{max-width:130px;max-height:55px;object-fit:contain;margin-bottom:18px}.auth-card label{display:block;margin:18px 0;font-weight:600;font-size:14px}.auth-card input{display:block;width:100%;margin-top:7px;border:1px solid #cbd1d8;border-radius:8px;padding:12px}.auth-card button{width:100%;border:0;border-radius:8px;background:#ad1e2b;color:#fff;padding:12px;font-weight:700;cursor:pointer}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.auth-card .auth-link-button{margin-top:12px;background:transparent;color:#ad1e2b;border:1px solid #e5c0c4}.auth-error{color:#b42318!important}.auth-success{color:#16703c!important}.auth-card small{display:block;margin-top:18px;color:#66717e;line-height:1.6}.auth-session{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:6px 16px;background:#fff;border-bottom:1px solid #eee;font-size:12px;color:#596472}.auth-session button{background:#fff;border:1px solid #ccd2d8;border-radius:6px;padding:5px 10px}.auth-session{position:sticky;top:0;z-index:50;height:40px;min-height:40px;box-sizing:border-box}.auth-session span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-session button{flex-shrink:0}.auth-session~.shell{min-height:calc(100vh - 40px)}.auth-session~.shell .sidebar{top:40px;height:calc(100vh - 40px)}:root{font-family:Inter,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;color:#25303a;background:#f5f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,p{margin-top:0}h1{font-size:26px;letter-spacing:-.5px;margin-bottom:7px}h2{font-size:17px;margin-bottom:16px}p{line-height:1.6}.shell{display:flex;min-height:100vh}.sidebar{width:244px;background:#fff;border-right:1px solid #e8e9ed;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:25px 18px 32px}.brandmark{background:#b51f2c;color:#fff;border-radius:9px;font-weight:900;font-size:22px;letter-spacing:-2px;padding:10px 12px}.brand b{display:block;font-size:17px}.brand small{display:block;color:#7a828d;font-size:11px;margin-top:4px}.navlabel{font-size:11px;color:#9aa0a9;padding:0 23px 12px;letter-spacing:1px}nav{padding:0 10px;display:grid;gap:5px}.navitem{border:0;background:transparent;display:flex;align-items:center;gap:13px;padding:12px 13px;color:#56616d;border-radius:9px;text-align:left;font-size:14px}.navitem.selected{background:#fbecee;color:#b51f2c;font-weight:700}.navitem:hover{background:#f5f5f6}.chev{margin-left:auto;opacity:.4}.sidefoot{margin-top:auto;border-top:1px solid #eee;padding:20px;color:#666;font-size:12px;line-height:1.9}.sidefoot small{color:#999}.dot{display:inline-block;width:8px;height:8px;background:#37a87d;border-radius:50%;margin-right:5px}.main{flex:1;min-width:0}.topbar{height:70px;background:#fff;border-bottom:1px solid #e8e9ed;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:15px}.topname{font-size:14px;font-weight:700}.topcontrols{display:flex;gap:9px}.topcontrols select{padding:8px 10px;width:auto;max-width:135px}.content{max-width:1320px;margin:auto;padding:34px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.heading p{color:#7b838e;margin-bottom:0;font-size:14px}.eyebrow{color:#b51f2c;letter-spacing:1.7px;font-size:11px;font-weight:800;margin-bottom:8px}.datechip{background:#fff;border:1px solid #e6e7ea;border-radius:9px;padding:10px 15px;font-size:13px;color:#666}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat,.panel{background:#fff;border:1px solid #e9eaee;border-radius:13px;box-shadow:0 2px 10px #25303a05}.stat{padding:19px 20px}.statrow{display:flex;align-items:center;justify-content:space-between;color:#737c86;font-size:13px}.staticon{background:#fbecee;color:#b51f2c;border-radius:9px;padding:8px;display:flex}.staticon svg{width:18px;height:18px}.statvalue{font-size:28px;font-weight:750;margin-top:12px;letter-spacing:-1px}.statvalue small{font-size:13px;color:#8d949d;margin-left:5px}.columns{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:start}.panel{padding:22px;margin-bottom:20px}.panelhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panelhead h2{margin:0}.textbtn{border:0;background:none;color:#b51f2c;font-size:13px}.projectline,.logrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #f0f1f3}.projectline:last-child,.logrow:last-child{border:0}.projectline b,.logrow b{font-size:13px}.projectline small,.logrow small,td small,.deadline small{display:block;color:#8a929b;font-size:11px;margin-top:5px}.right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:7px}.badge{display:inline-flex;border-radius:20px;padding:5px 10px;font-size:11px;white-space:nowrap;font-weight:700}.badge.danger{background:#ffedf0;color:#b51f2c}.badge.success{background:#e6f7ee;color:#168051}.badge.info{background:#edf3ff;color:#3260a1}.badge.neutral{background:#f0f1f4;color:#66717b}.notice{display:flex;gap:10px;align-items:flex-start;border-radius:9px;background:#fff2f0;color:#9e3840;padding:13px;margin-bottom:10px;font-size:13px;line-height:1.6}.notice.light{background:#f5f6f8;color:#66717b}.muted{color:#8a929b;font-size:13px;margin:15px 0}.primary,.outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:700}.primary{background:#b51f2c;color:#fff;border:1px solid #b51f2c}.primary:hover{background:#981a26}.outline{background:#fff;border:1px solid #dce0e4;color:#5b6671}.full{width:100%;margin-top:15px}.toolbar{display:flex;margin-bottom:17px}.toolbar input{max-width:400px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;min-width:850px}th{background:#f7f8fa;color:#7d8690;font-size:12px;font-weight:600}td,th{padding:14px 12px;border-bottom:1px solid #eceef0}td b{display:block;font-size:13px}td{vertical-align:middle}.track{height:6px;background:#edf0f2;border-radius:10px;overflow:hidden;margin-top:8px}.track span{display:block;height:100%;background:#b51f2c;border-radius:10px}.track.large{height:10px}.actions{display:flex;gap:6px}.actions button{border:1px solid #e2e4e7;background:#fff;color:#7b3038;border-radius:6px;padding:6px 8px;font-size:11px;white-space:nowrap}label{display:block;color:#55616c;font-size:12px;font-weight:650;margin-bottom:13px}input,select,textarea{display:block;width:100%;border:1px solid #dfe3e7;border-radius:8px;padding:10px 11px;background:#fff;color:#26323d;outline:none;margin-top:7px;min-width:0}input:focus,select:focus,textarea:focus{border-color:#c6535d;box-shadow:0 0 0 3px #b51f2c12}input:disabled,select:disabled,textarea:disabled{background:#f6f7f8;color:#7a828a}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.hint{align-self:center;color:#88919a;font-size:12px;line-height:1.7}.logrow p{font-size:12px;color:#69737d;margin:7px 0 0}.iconbtn{border:0;background:transparent;color:#8d929a;padding:5px;display:inline-flex}.red{color:#b51f2c}.deadline{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid #eee}.deadline>div>b{display:block;font-size:13px}.history{grid-column:1/-1;background:#f8f9fa;border-radius:7px;padding:9px 12px}.history small{margin:4px 0}.resource{padding:15px 0;border-bottom:1px solid #eee}.resourcehead{display:flex;justify-content:space-between;gap:12px;font-size:13px}.resourcehead span{color:#7d8791}.spaced{margin-top:30px}.chips,.checks{display:flex;flex-wrap:wrap;gap:8px}.chips span{padding:8px 11px;background:#f6f7f9;border-radius:7px;font-size:12px}.checks{margin:8px 0 18px}.checks label{display:flex;align-items:center;gap:6px;background:#f7f8f9;border-radius:7px;padding:9px 10px;margin:0}.checks input{width:auto;margin:0}.modalback{position:fixed;top:0;right:0;bottom:0;left:0;background:#1d273399;display:flex;justify-content:center;align-items:center;padding:20px;z-index:20}.modal{background:#fff;border-radius:14px;width:min(760px,100%);max-height:92vh;display:flex;flex-direction:column;box-shadow:0 20px 80px #0003}.modalhead,.modalfoot{padding:19px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eee}.modalhead h2{margin:0 0 5px}.modalhead small{color:#89919a}.modalfoot{border-top:1px solid #eee;border-bottom:0;justify-content:flex-end}.modalbody{overflow:auto;padding:22px 24px}.historybox{background:#f7f8f9;padding:12px;border-radius:8px;font-size:12px}.historybox p{margin:8px 0 0}.toast{position:fixed;top:80px;right:25px;background:#25303a;color:#fff;padding:13px 18px;border-radius:8px;box-shadow:0 5px 20px #0003;z-index:40;font-size:13px}.mobile{display:none}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.content{padding:24px}.sidebar{width:210px}}@media(max-width:760px){.sidebar{position:fixed;z-index:15;transform:translate(-100%);transition:transform .2s;box-shadow:0 10px 30px #0002}.sidebar.show{transform:translate(0)}.mobile{display:inline-flex}.topbar{padding:0 15px;height:auto;min-height:68px;flex-wrap:wrap}.topname{font-size:12px;flex:1}.topcontrols{width:100%;padding-bottom:10px}.topcontrols select{max-width:none;flex:1}.content{padding:20px 14px}.heading{align-items:flex-start;flex-wrap:wrap}.heading h1{font-size:23px}.stats{gap:10px}.stat{padding:14px}.statvalue{font-size:24px}.panel{padding:16px}.formgrid{grid-template-columns:1fr}.deadline{grid-template-columns:1fr 1fr}.deadline>div:first-child{grid-column:1/-1}.resourcehead{flex-direction:column}.modalback{padding:8px}.modalbody{padding:16px}.modalhead,.modalfoot{padding:14px}}.brandlogo{display:block;width:64px;height:44px;object-fit:contain;flex-shrink:0;border:0;background:transparent;padding:0;box-shadow:none}.brand{gap:10px}.brand b{font-size:15px;line-height:1.4}.scopebar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px;background:#fff;border:1px solid #e9eaee;border-radius:12px;padding:12px 18px}.scopebar label{margin:0;min-width:240px}.scopebar select{margin-top:5px}.scopebar .muted{margin:0}.project-hours-link{color:inherit;text-decoration:none;border-bottom:1px dashed #b3bdc8}.project-hours-link:hover{color:#b7192f;border-bottom-color:#b7192f}.hours-page{min-height:100vh;background:#f4f5f7;color:#152335}.hours-header{display:flex;align-items:center;gap:16px;padding:16px max(24px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid #e6e9ed}.hours-header img{width:55px;max-height:45px;object-fit:contain}.hours-header div{display:flex;flex-direction:column;gap:3px}.hours-header small{color:#738093}.hours-header button{margin-left:auto}.hours-body{max-width:1160px;margin:34px auto;padding:0 24px 48px}.hours-body>p{color:#66768a}.hours-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.hours-stats>div,.hours-card{background:#fff;border:1px solid #e4e8ed;border-radius:13px;padding:22px}.hours-stats>div{display:flex;flex-direction:column;gap:12px}.hours-stats small{color:#718096}.hours-stats strong{font-size:26px}.hours-card{margin-top:18px}.hours-card h2{font-size:18px;margin:0 0 16px}.hours-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.hours-people>div{display:flex;justify-content:space-between;background:#f7f8fa;padding:12px;border-radius:8px}.hours-section-head{display:flex;align-items:center;justify-content:space-between}.hours-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.hours-filters label{display:flex;flex-direction:column;gap:6px;color:#5e6c7f;font-size:13px}.hours-filters input,.hours-filters select{min-height:38px;padding:7px;border:1px solid #dce1e7;border-radius:7px;background:#fff}.hours-note{font-size:13px;margin-top:18px}@media(max-width:700px){.hours-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hours-header{padding:12px 18px}.hours-body{padding:0 14px}.hours-stats>div,.hours-card{padding:15px}}
