:root{--ink:#193e35;--text:#253c35;--muted:#718279;--paper:#f5f6ef;--card:#fffef9;--line:#e1e7dd;--orange:#ed8d39;--orange-soft:#fff0db;--green-soft:#eaf0e7;--error:#9a3d34;--shadow:0 12px 36px #183e3508;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}[hidden]{display:none!important}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #ed8d3999;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.35;font-weight:700}h2{font-size:20px;line-height:1.4}h3{font-size:15px}p{line-height:1.7}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#849180;margin-bottom:10px}.site-header{height:92px;max-width:1440px;margin:0 auto;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:50% 50% 50% 15%;background:var(--orange);display:grid;place-items:center;font-size:23px;color:var(--ink);font-weight:800;transform:rotate(-5deg)}.brand strong{display:block;font-size:18px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:3px}.header-note{font-size:12px;letter-spacing:1px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:7px 13px}.account{display:flex;align-items:center;gap:14px;font-size:13px}.button{border:0;border-radius:10px;min-height:44px;padding:12px 20px;font-weight:650;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:20px;transition:background .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--ink);color:#fffdf3;box-shadow:0 5px 14px #173d3510}.button.primary:hover:not(:disabled){background:#285747}.button.subtle{background:var(--green-soft);color:var(--ink);min-height:36px;padding:8px 12px}.button.full{width:100%}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}main{max-width:1440px;margin:0 auto;padding:34px 44px 48px}.login-layout{min-height:calc(100vh - 230px);display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:100px;max-width:1050px;margin:auto;padding:30px 0}.welcome-copy h1{font-size:49px;line-height:1.42;margin-bottom:24px;letter-spacing:-2px}.lead{font-size:15px;max-width:420px;color:var(--muted);line-height:1.9}.welcome-rule{width:62px;height:3px;background:var(--orange);margin:36px 0 24px;border-radius:3px}.welcome-points{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:#64796d}.welcome-points span:before{content:"";width:5px;height:5px;display:inline-block;background:var(--orange);border-radius:100%;margin:0 7px 2px 0}.login-card{padding:38px}.pill{display:inline-block;border-radius:5px;font-size:10px;font-weight:650;letter-spacing:1px;padding:5px 8px;background:var(--orange-soft);color:#9b6328}.login-card h2{font-size:25px;margin:18px 0 8px}.login-card>p{font-size:13px}.login-card form{margin-top:28px}.login-foot{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:11px!important;color:var(--muted);line-height:1.8}label:not(.check-label):not(.search-label){display:block;font-size:12px;font-weight:600;margin-bottom:9px}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;background:#fffefb;border:1px solid #d5ded2;border-radius:8px;padding:12px 13px;font-size:13px;color:var(--text);line-height:1.4}input::placeholder,textarea::placeholder{color:#9ba59b}textarea{resize:vertical;min-height:82px}select{cursor:pointer}#login-password{margin-bottom:22px}#login-username{margin-bottom:20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:6px 0 30px}.page-heading .muted{font-size:13px;margin-top:10px}.history-picker{min-width:230px}.history-picker label{font-size:11px!important;color:var(--muted);font-weight:400!important}.history-picker select{background:var(--card)}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:26px;align-items:start}.upload-panel{padding:24px;position:sticky;top:22px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:25px}.section-title h2{font-size:16px}.step{font-size:10px;color:#9b6b35;background:var(--orange-soft);border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.label-note{float:right;font-size:10px;font-weight:400;color:var(--muted)}.field-help{display:block;color:var(--muted);font-size:10px;line-height:1.7;margin:7px 0 22px}.file-label{margin-top:24px}.drop-zone{position:relative;display:flex;align-items:center;flex-direction:column;text-align:center;background:#f7f8f2;border:1px dashed #bbcbb6;border-radius:10px;min-height:160px;padding:22px 12px;margin-bottom:24px;transition:border-color .15s,background .15s}.drop-zone.dragging{background:var(--orange-soft);border-color:var(--orange)}.drop-zone:focus-within{outline:3px solid #ed8d3999;outline-offset:3px}.drop-zone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;font-size:16px}.drop-zone strong{font-size:11px;line-height:1.6;overflow-wrap:anywhere;max-width:100%;margin:12px 0 5px}.drop-zone .muted{font-size:10px}.file-icon{font-size:9px;font-weight:700;letter-spacing:1px;display:grid;place-items:center;border:1px solid #ccd9c6;width:40px;height:44px;border-radius:6px;color:#829479;background:#fffef9}.upload-guide{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.upload-guide h3{font-size:11px;margin-bottom:8px}.upload-guide p{font-size:10px;color:var(--muted);line-height:1.9}.upload-guide p+p{margin-top:8px}.upload-guide strong{font-weight:500;color:#58705f}.empty-state{min-height:550px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 24px;background:linear-gradient(130deg,#fffef9,#f7f8ef)}.empty-state h2{font-size:22px;margin-bottom:15px}.empty-state p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.9}.empty-state small{font-size:10px;color:#99a493;margin-top:28px}.empty-grid{display:grid;grid-template-columns:repeat(2,20px);gap:5px;margin-bottom:28px;transform:rotate(-8deg)}.empty-grid span{height:20px;background:#e5ecdf;border-radius:4px}.empty-grid span:first-child{background:var(--orange)}.view-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:3px 0 18px}.view-heading h2{display:inline-block;vertical-align:middle;margin-left:10px;font-size:19px}.view-heading .pill{vertical-align:middle}.view-heading p{font-size:11px;margin-top:8px}.week-note{background:var(--green-soft);font-size:12px;padding:12px 15px;border-radius:8px;margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat-card{padding:20px 18px;background:var(--card);border:1px solid var(--line);border-radius:12px}.stat-card>span{display:block;font-size:11px;color:var(--muted)}.stat-card>strong{display:block;font-size:28px;letter-spacing:-1px;margin:10px 0 8px;font-variant-numeric:tabular-nums;white-space:nowrap}.stat-card>small{font-size:9px;color:var(--muted);line-height:1.7;display:block}.pathways-card{padding:20px;margin-bottom:18px}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.pathway-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pathway-top{display:flex;justify-content:space-between;align-items:baseline;font-size:11px;margin-bottom:9px;gap:8px}.pathway-count{color:var(--muted);font-size:10px;white-space:nowrap}.bar-track{height:5px;background:#ecf0e6;border-radius:5px;overflow:hidden}.bar-fill{height:100%;min-width:0;background:#91a984;border-radius:5px}.pathway-item:nth-child(3n+2) .bar-fill{background:#dba264}.pathway-item:nth-child(3n+3) .bar-fill{background:#436b55}.pathway-power{font-size:9px;color:var(--muted);margin-top:6px}.roster-card{overflow:hidden}.roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px}.roster-toolbar p{font-size:10px;margin-top:6px}.search-label{max-width:215px;min-width:140px}.search-label input{background:#f7f8f2!important;font-size:11px!important;padding:9px 12px!important}.table-scroll{overflow-x:auto;max-height:600px;overscroll-behavior:contain}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th{font-size:10px;color:#829080;font-weight:500;background:#f4f6ef;position:sticky;top:0;z-index:1;padding:13px 14px;text-align:left;border-bottom:1px solid var(--line)}td{padding:13px 14px;border-bottom:1px solid #edf0e8;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:none}tbody tr:hover{background:#fafaf3}td:first-child{color:#8e9b8b}td.member-name{font-weight:600;color:var(--ink)}.numeric{text-align:right}.left-row td{color:#95a091!important}.status-tag{display:inline-block;padding:3px 6px;font-size:9px;border-radius:4px;background:#ecf2e7;color:#65805d}.status-tag.departed{background:#f1f1ec;color:#8b9186}.table-empty{text-align:center;color:var(--muted);font-size:12px;padding:30px}.publish-panel{margin-top:18px;padding:23px;background:#f0f4e9;border-color:#d7e1cf;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px}.publish-panel .eyebrow{margin-bottom:6px;font-size:9px}.publish-panel h3{font-size:15px}.publish-panel p.muted{font-size:11px;margin-top:6px}.check-label{font-size:11px;line-height:1.8;display:flex;align-items:flex-start;gap:8px;flex-basis:100%;color:#6c624b}.check-label input{margin-top:4px;accent-color:var(--ink);flex-shrink:0;width:16px;height:16px}.publish-panel .form-error{flex-basis:100%}.form-error{font-size:12px;color:var(--error);line-height:1.8;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.message{padding:13px 17px;border:1px solid #c5d9bc;background:#ecf5e6;color:#45623d;border-radius:9px;font-size:12px;margin-bottom:24px;line-height:1.8}.message.error{background:#fff0e9;color:var(--error);border-color:#eed4c7}.warning-box{border:1px solid #edd9b4;background:#fff5e4;padding:16px 18px;border-radius:10px;margin-bottom:18px}.warning-box h3{font-size:12px;color:#8f662d}.warning-box ul{padding-left:18px;margin:8px 0 0;color:#8e724c;font-size:11px;line-height:1.9;overflow-wrap:anywhere}footer{max-width:1440px;margin:auto;padding:22px 44px 30px;color:#9aa592;font-size:10px;display:flex;justify-content:space-between;border-top:1px solid var(--line);letter-spacing:.5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1250px){.stat-card>strong{font-size:30px}}
@media(max-width:1100px){.workspace{grid-template-columns:280px minmax(0,1fr);gap:18px}main{padding:30px}.site-header{padding:0 30px}.stat-card{padding:18px 12px}.stat-card>strong{font-size:23px}.stat-card>small{font-size:8px}.login-layout{gap:50px}.welcome-copy h1{font-size:42px}.panel-heading{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:860px){.workspace{grid-template-columns:1fr}.upload-panel{position:static}.upload-panel form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}#upload-form label[for=week-start],#week-start,#date-help{grid-column:1}#upload-form .file-label,#drop-zone{grid-column:2}#upload-form .file-label{grid-row:1;margin-top:0}#drop-zone{grid-row:2 / span 5;min-height:155px;margin-bottom:18px}#upload-form label[for=week-note],#week-note{grid-column:1}#upload-form .field-help:not(#date-help),#upload-error,#preview-button{grid-column:1 / -1}#upload-form .field-help:not(#date-help){margin-bottom:16px}.upload-guide{margin-top:18px;padding-top:18px}.upload-guide p{font-size:11px}.empty-state{min-height:330px}.stat-card>strong{font-size:30px}.stat-card>small{font-size:10px}.panel-heading{flex-direction:row;align-items:center}.page-heading h1{font-size:29px}.history-picker{min-width:200px}.login-layout{gap:30px}.welcome-copy h1{font-size:34px}.login-card{padding:28px}.lead{font-size:13px}.welcome-points{gap:10px}}
@media(max-width:600px){.site-header{height:76px;padding:0 20px}.brand strong{font-size:16px}.brand small{font-size:9px}.brand-mark{width:35px;height:35px;font-size:20px}.header-note{font-size:10px}.account{gap:8px}.account>span{max-width:85px;overflow:hidden;text-overflow:ellipsis}.button{min-height:46px}main{padding:25px 18px 32px}.login-layout{display:flex;flex-direction:column;align-items:stretch;min-height:auto;padding:8px 0 20px;gap:25px}.welcome-copy .eyebrow{margin-bottom:12px}.welcome-copy h1{font-size:33px;margin-bottom:15px}.welcome-copy h1 br{display:none}.welcome-copy .lead{font-size:12px}.welcome-rule,.welcome-points{display:none}.login-card{padding:25px}.page-heading{display:block;margin:0 0 22px}.page-heading h1{font-size:27px}.history-picker{margin-top:24px}.history-picker label{margin-bottom:7px}.page-heading .muted{font-size:12px}.upload-panel{padding:20px}.upload-panel form{display:block}.file-label{margin-top:24px!important}#drop-zone{min-height:140px}#upload-form .field-help:not(#date-help){margin-bottom:20px}.upload-guide p{font-size:10px}.view-heading{align-items:flex-start}.view-heading h2{font-size:16px;display:block;margin:9px 0 0}.view-heading p{font-size:10px}#publish-date{font-size:10px}.stat-grid{gap:7px}.stat-card{padding:15px 10px}.stat-card>strong{font-size:20px;letter-spacing:-.7px;margin:9px 0}.stat-card>span{font-size:10px}.stat-card>small{font-size:8px;line-height:1.7}.pathways-card{padding:18px}.pathway-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.panel-heading{display:block;margin-bottom:20px}.panel-heading .small{display:block;margin-top:8px;font-size:10px}.roster-toolbar{padding:18px;gap:10px}.search-label{max-width:160px;min-width:100px}td,th{padding:12px 10px}.table-scroll{max-height:480px}.publish-panel{padding:20px}.publish-panel .button{width:100%}.publish-panel p.muted{font-size:10px}.check-label{font-size:10px}.message{font-size:11px}footer{padding:20px;font-size:9px;gap:12px}.empty-state{padding:35px 15px}.empty-state h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.pathway-progress{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#ecf0e6;color:#91a984}.pathway-progress::-webkit-progress-bar{background:#ecf0e6;border-radius:5px}.pathway-progress::-webkit-progress-value{background:#91a984;border-radius:5px}.pathway-progress::-moz-progress-bar{background:#91a984;border-radius:5px}.pathway-item:nth-child(3n+2) .pathway-progress{color:#dba264}.pathway-item:nth-child(3n+2) .pathway-progress::-webkit-progress-value{background:#dba264}.pathway-item:nth-child(3n+2) .pathway-progress::-moz-progress-bar{background:#dba264}.pathway-item:nth-child(3n+3) .pathway-progress{color:#436b55}.pathway-item:nth-child(3n+3) .pathway-progress::-webkit-progress-value{background:#436b55}.pathway-item:nth-child(3n+3) .pathway-progress::-moz-progress-bar{background:#436b55}
@media(max-width:420px){.stat-grid{grid-template-columns:1fr}.stat-card{display:grid;grid-template-columns:1fr auto;align-items:center;padding:16px}.stat-card>span{font-size:11px}.stat-card>strong{font-size:26px;margin:0;grid-column:2;grid-row:1 / span 2}.stat-card>small{font-size:9px;margin-top:5px}.roster-toolbar{flex-wrap:wrap}.search-label{max-width:none;width:100%}.account .button{font-size:11px;padding:8px 10px}}
/* Allow the narrow grid track to shrink below the table's intrinsic width. */
.workspace>*,.data-panel,#data-view,.upload-panel form,.roster-card,.login-layout>*{min-width:0}
input,select,textarea{min-width:0;max-width:100%}
.table-scroll{width:100%;max-width:100%}
@media(max-width:860px){.workspace{grid-template-columns:minmax(0,1fr)}}
