:root{--navy:#172a3b;--navy-dark:#112332;--teal:#15786f;--teal-dark:#10635c;--teal-light:#e9f5f1;--text:#203747;--muted:#778692;--line:#e6ebed;--bg:#f4f7f7;--white:#fff;--warning:#9f6b25;--warning-bg:#fff7e9;--danger:#bb4b4b;--radius:12px;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--text);font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select,summary{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #259a8d}input,select{color:var(--text);background:#fff;border:1px solid #dce4e6;border-radius:7px;min-height:36px;padding:7px 11px}input::placeholder{color:#9aa6ad}input[type=number]{font-variant-numeric:tabular-nums}input[type=date]{font-family:Arial,sans-serif;width:143px}h1,h2,h3,p{margin:0}h2{font-size:16px;font-weight:650;line-height:1.5}h3{font-size:14px;margin-bottom:14px}p{line-height:1.8}small{font-size:11px}.app-shell{display:flex;min-height:100vh}.sidebar{width:226px;flex:0 0 226px;background:var(--navy);color:#fff;position:fixed;inset:0 auto 0 0;padding:36px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:11px;align-items:center;padding:0 8px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;font-size:20px;background:#d5ede3;color:#174f47;border-radius:10px;font-weight:bold}.brand strong{font-size:20px;letter-spacing:1px}.brand small{display:block;letter-spacing:1.5px;font-family:Arial,sans-serif;font-size:8px;color:#95aaa9;margin-top:6px}.workspace-tag{color:#a6b9c5;font-size:11px;display:flex;align-items:center;gap:7px;margin:31px 8px 25px;padding:10px 0;border-top:1px solid #ffffff0d;border-bottom:1px solid #ffffff0d}.status-dot{width:6px;height:6px;background:#66b9a6;border-radius:50%;display:inline-block;flex-shrink:0}.nav-list{display:grid;gap:8px}.nav-item{position:relative;display:flex;align-items:center;width:100%;height:46px;border:0;border-radius:7px;background:none;color:#b5c4ce;padding:0 13px;text-align:left;gap:13px;font-size:13px}.nav-item>span:first-child{width:18px;text-align:center;font-size:21px;color:#829dac}.nav-item:hover{background:#ffffff08}.nav-item.active{background:#fff;color:var(--navy);font-weight:650;box-shadow:0 3px 12px #00000014}.nav-item.active>span:first-child{color:var(--teal)}.nav-count{margin-left:auto;font-size:10px;background:#ffffff12;padding:2px 5px;border-radius:4px}.nav-item.active .nav-count{background:#eaf3f0;color:var(--teal)}.sidebar-note{margin-top:auto;padding:34px 8px 0}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:#82948f;font-family:Arial,"Microsoft YaHei",sans-serif}.sidebar-note p{color:#8fa5b2;font-size:11px;line-height:1.9;margin-top:13px}.local-pill{font-size:9px;color:#78929e;display:block;margin-top:22px;padding-top:15px;border-top:1px solid #ffffff0d}.workspace{margin-left:226px;min-width:0;flex:1}.topbar{height:65px;background:#fff;border-bottom:1px solid var(--line);padding:0 35px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;gap:15px;color:var(--muted);font-size:11px}.breadcrumb span{color:#c2cbd0}.breadcrumb strong{color:#506473;font-weight:500}.topbar-status{display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted)}main{max-width:1800px;margin:0 auto;padding:33px 34px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading .eyebrow{color:var(--teal);font-size:9px;letter-spacing:2px;margin-bottom:12px}h1{font-size:27px;letter-spacing:.6px;font-weight:650;line-height:1.3}.page-heading p{font-size:12px;color:var(--muted);margin-top:10px}.button{border:0;min-height:36px;border-radius:7px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s}.button-primary{color:#fff;background:var(--teal);box-shadow:0 2px 3px #176c5b0c}.button-primary:hover:not(:disabled){background:var(--teal-dark)}.button-outline{background:#fff;border:1px solid #dce5e5;color:#526672}.button-outline:hover:not(:disabled){background:#f8faf9}.button-quiet{background:transparent;color:#697b84}.button-quiet:hover{background:#e9eeee}.button-danger{background:#fff2f1;color:var(--danger)}.button-group{display:flex;gap:9px;align-items:center}.period-bar{background:#fff;display:flex;gap:20px;align-items:center;padding:17px 21px;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px}.period-label{display:flex;gap:12px;align-items:center;margin-right:auto}.calendar-icon{width:34px;height:34px;display:grid;place-items:center;background:#f0f5f4;border-radius:8px;color:var(--teal);font-size:22px}.period-label strong{font-size:12px}.period-label small{color:var(--muted);display:block;margin-top:5px;font-size:10px}.period-fields{display:flex;gap:11px;align-items:center}.period-fields>label{font-size:11px;color:var(--muted)}.date-separator{color:#a0aeb4;font-size:11px}.period-bar>.button{margin-left:6px;padding-left:20px;padding-right:20px}.message{padding:13px 17px;font-size:12px;line-height:1.7;border-radius:8px;margin-bottom:16px;background:#eaf5f0;color:#236658;border:1px solid #cde7dd}.message.error{color:#a5433e;background:#fff1ef;border-color:#f2d5d1}.message.warning{background:var(--warning-bg);color:var(--warning);border-color:#f0dfc3}.mode-banner{display:flex;align-items:center;gap:11px;padding:12px 16px;border:1px solid #e0e9e5;background:#edf5f1;border-radius:8px;margin-bottom:21px;font-size:11px;color:#466c60;line-height:1.6}.mode-banner.warning{background:var(--warning-bg);border-color:#f2e5c8;color:var(--warning)}.mode-banner.demo{background:#edf2fa;border-color:#dce6f6;color:#4f6e98}.mode-banner strong{font-weight:650}.mode-banner .badge{flex-shrink:0}.mode-banner .button{margin-left:auto;min-height:26px;padding:4px 8px;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{padding:22px 21px 18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-height:137px}.stat-card.accent{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 5px 14px #15786f13}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7b8b94}.stat-card.accent .stat-label{color:#c1e0d7}.stat-label .stat-symbol{font-size:17px;color:#a2b5b8}.stat-card.accent .stat-symbol{color:#8ec5b8}.stat-value{font:600 27px/1.2 Arial,sans-serif;letter-spacing:-.5px;margin-top:17px;white-space:nowrap}.stat-value .unit{font:11px "Microsoft YaHei",sans-serif;color:#93a0a8;letter-spacing:0;margin-right:7px}.stat-card.accent .unit{color:#b5dbd2}.stat-description{font-size:10px;color:#96a3aa;margin-top:11px}.stat-card.accent .stat-description{color:#abcec5}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:22px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 18px}.section-header p{font-size:11px;color:var(--muted);margin-top:5px}.small-count{display:inline-block;font:500 10px Arial,sans-serif;background:#edf3f0;color:#567f73;border-radius:5px;padding:4px 6px;vertical-align:middle;margin-left:6px}.table-toolbar{padding:12px 22px;border-top:1px solid #f2f4f4;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.filter-group{display:flex;gap:10px}.search-field{display:flex;align-items:center;gap:7px;background:#f8faf9;border:1px solid #e4eae9;border-radius:6px;padding:0 11px}.search-field>span{font-size:21px;color:#9daeb3}.search-field input{border:0;padding:7px 0;background:transparent;min-height:32px;width:160px;font-size:11px}.filter-group select{min-height:32px;font-size:11px;max-width:140px}.table-hint{font-size:10px;color:#9aa6ad;display:flex;align-items:center;gap:6px}.editable-dot{width:7px;height:7px;background:#dcefe7;border-radius:2px}.table-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#c8d4d2 #f7f9f8}table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px;text-align:left}th{font-weight:500;color:#7b8b94;line-height:1.6;background:#f8faf9;white-space:nowrap;padding:13px 16px;border-bottom:1px solid var(--line)}td{padding:15px 16px;white-space:nowrap;border-bottom:1px solid #f0f3f3;color:#4b6270;line-height:1.5}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#fbfcfb}.numeric{text-align:right;font-variant-numeric:tabular-nums;font-family:Arial,"Microsoft YaHei",sans-serif}.name-cell{font-weight:600;color:#344d5c}.store-cell{min-width:135px}.report-table{min-width:2080px}.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;border-right:1px solid #eef2f1}.report-table th:first-child{background:#f8faf9;z-index:3}.report-table td.person-cell{padding:13px 15px;min-width:92px}.person-cell small{display:block;color:#97a4ab;font-size:9px;font-weight:400;margin-top:5px}.report-table td:nth-child(6){color:var(--teal);font-weight:bold}.score-input,.day-input{width:63px;min-height:30px;border:1px solid #dfebe5;border-radius:4px;padding:5px;background:#f3f9f6;font-size:11px;text-align:right}.score-input:focus,.day-input:focus{background:#fff}.score-input::-webkit-inner-spin-button{display:none}.table-footer{font-size:10px;color:#92a0a8;padding:15px 22px;border-top:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;line-height:1.7;background:#fdfefe}.badge{display:inline-block;border-radius:4px;padding:3px 7px;font-size:10px;background:#e9f5ef;color:var(--teal);font-weight:500}.badge.warning{background:#fdf0d9;color:#9b722f}.badge.muted{background:#eff2f4;color:#8998a0}.badge.blue{background:#e9eff9;color:#5977a4}.badge.danger{background:#ffedeb;color:#ba5952}.rate-wrap{display:flex;align-items:center;justify-content:flex-end;gap:8px}.rate-bar{display:inline-block;width:43px;height:4px;background:#ebf1ee;border-radius:5px;overflow:hidden}.rate-bar>span{display:block;height:100%;border-radius:5px;background:#6aad99}.rate-good{color:var(--teal)}.rate-low{color:#b78b48}.summary-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:20px}.summary-grid table th,.summary-grid table td{padding:13px 21px}.summary-grid .table-scroll{max-height:295px}.summary-grid .card{margin-bottom:20px}.empty-state{text-align:center;padding:52px 20px 54px;color:#85969e}.empty-icon{font-size:31px;color:#aac3bd;background:#f1f6f4;border:1px solid #e4efea;border-radius:14px;display:grid;place-items:center;width:60px;height:60px;margin:0 auto 16px}.empty-state h3{color:#4f6975;font-size:14px;font-weight:500;margin-bottom:9px}.empty-state p{font-size:11px;max-width:450px;margin:0 auto}.empty-state .button{margin-top:19px}.compact-empty{padding:28px 20px;color:#96a3aa;text-align:center;font-size:11px}.audit-card summary{padding:17px 22px;cursor:pointer;font-size:12px;list-style-position:inside;color:#536e79}.audit-card summary .muted{font-size:10px;margin-left:12px}.audit-content{padding:4px 22px 22px}.audit-content>p{font-size:11px;margin-bottom:20px}.audit-content .table-scroll{border:1px solid var(--line);border-radius:7px;max-height:310px}.warning-list{padding:12px 15px;background:#fff8ec;font-size:11px;color:#9a762e;margin-bottom:20px;border-radius:6px;line-height:1.9}.source-intro{display:flex;align-items:center;justify-content:space-between;padding:23px;gap:25px}.source-intro p{font-size:11px;color:var(--muted);margin-top:7px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.source-card{padding:22px;margin-bottom:0}.source-grid{margin-bottom:23px}.source-heading{display:flex;align-items:center;gap:12px;margin-bottom:19px}.platform-logo{width:41px;height:41px;border:1px solid #f1e9c8;background:#fff9e7;display:grid;place-items:center;border-radius:10px;color:#b99422;font-weight:700;font-size:18px}.platform-logo.ax{background:#edf5ff;border-color:#dfeafb;color:#4f8ac1}.source-heading h2{font-size:15px}.source-heading p{font-size:10px;color:#91a0a8;line-height:1.6;margin-top:4px}.source-heading .badge{margin-left:auto}.port-row{background:#f7f9f8;border-radius:6px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;margin-bottom:16px;font-size:10px;color:#8b9ba3}.port-row code{color:#486977;font-size:12px}.source-actions{display:flex;gap:8px;margin-bottom:20px}.source-actions .button{flex:1}.file-slot{padding:14px 0;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;min-height:69px}.file-slot .file-text{flex:1;min-width:0}.file-slot strong{font-size:11px;font-weight:500;display:block}.file-slot small{font-size:10px;color:#98a6ae;display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:270px}.file-slot .button{font-size:10px;min-height:29px;padding:5px 9px}.file-icon{width:28px;height:33px;border-radius:4px;background:#f0f4f2;color:#76958c;display:grid;place-items:center;font-size:10px;font-weight:bold}.file-icon.ready{background:#e7f3ed;color:#458372}.job-list{padding:0 22px 20px}.job-row{border-top:1px solid var(--line);padding:16px 0;display:flex;gap:14px;align-items:flex-start}.job-row .badge{min-width:52px;text-align:center}.job-body{flex:1;min-width:0}.job-title{font-size:12px}.job-detail{margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#8a9ba3;line-height:1.7}.job-time{font-size:10px;color:#98a6ae;margin-left:auto}.info-note{padding:18px 22px;border-left:3px solid #b1d5c8;background:#edf5f1;border-radius:0 8px 8px 0;margin:8px 0 24px;font-size:11px;color:#577b6e}.info-note strong{font-size:12px;display:block;margin-bottom:6px}.config-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.config-grid>.card{margin-bottom:22px}.rule-card{padding:25px}.rule-card h2{margin:12px 0 16px}.rule-card p{font-size:11px;color:#7b8e97}.rule-card>strong{font-size:11px;font-weight:500}.rule-divider{height:1px;background:var(--line);margin:21px 0}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.chips span{font-size:10px;color:#648576;padding:5px 8px;background:#eef5f1;border-radius:4px}.action-link{background:none;border:0;color:#4b8b7b;padding:3px 5px;font-size:11px}.action-link:hover{background:#edf6f2;border-radius:4px}.action-link.danger{color:#b08582}.muted{color:var(--muted)}.calendar-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.calendar-card{padding-bottom:22px}.calendar-legend{padding:0 22px 19px;display:flex;gap:16px;font-size:10px;align-items:center;color:#83978f}.calendar-legend>span{display:flex;gap:5px;align-items:center}.calendar-legend i{display:inline-block;width:8px;height:8px;border-radius:2px}.calendar-legend strong{font-weight:500;margin-left:auto;color:#4f7e6c}.legend-work{background:#ddede5}.legend-rest{background:#eef0f1}.legend-override{background:#78bca6}.week-labels{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;padding:9px 19px;color:#90a29a;font-size:10px}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;padding:0 21px}.calendar-day{position:relative;border:1px solid #e6eeea;background:#f4faf6;color:#557664;border-radius:6px;min-height:53px;padding:8px 0;display:flex;flex-direction:column;gap:5px;align-items:center;font:600 12px Arial,sans-serif}.calendar-day small{font:9px "Microsoft YaHei",sans-serif;color:#91a89a}.calendar-day.rest{background:#f6f7f7;border-color:#eceff0;color:#a3adb1}.calendar-day.rest small{color:#b6bdc0}.calendar-day.override{border-color:#74b399;box-shadow:inset 0 0 0 1px #74b39920}.calendar-day.override:after{position:absolute;right:5px;top:5px;width:4px;height:4px;content:"";background:#67a990;border-radius:50%}.calendar-day:hover{border-color:#6aab91}.calendar-day.in-period .day-number{color:#136f59}.calendar-day.outside{background:transparent;border:0;pointer-events:none}.calendar-explanation{padding:28px}.calendar-explanation h2{margin-top:13px;font-size:18px}.calendar-explanation>p{font-size:10px;margin-top:22px}.formula-steps{list-style:none;counter-reset:formula;padding:0;margin:25px 0 0}.formula-steps li{position:relative;padding-left:34px;margin-top:22px;counter-increment:formula}.formula-steps li:before{content:counter(formula);position:absolute;left:0;top:0;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#edf4f0;color:#6c9785;font:11px Arial,sans-serif}.formula-steps strong{font-size:11px;font-weight:550}.formula-steps p{font-size:11px;color:#8b9c95;margin-top:7px;line-height:1.9}.day-input{width:82px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;color:#a5b1b5;font-size:9px;padding:4px 1px 23px;margin-top:8px}.workspace-footer span:first-child{letter-spacing:.5px}dialog{width:460px;max-width:calc(100vw - 40px);border:1px solid #e5ebe8;border-radius:14px;padding:0;box-shadow:0 25px 100px #15382e40;color:var(--text)}dialog::backdrop{background:#152c3959;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:27px 26px 19px}.dialog-heading .eyebrow{font-size:8px;margin-bottom:10px}.dialog-heading h2{font-size:20px}.icon-button{border:0;background:#f3f6f5;color:#81978d;width:28px;height:28px;border-radius:50%;font-size:20px}.dialog-fields{padding:8px 26px 20px;display:grid;gap:17px}.field-label{display:grid;gap:8px;font-size:12px}.field-label input,.field-label select{width:100%;min-height:39px}.field-help{font-size:10px;color:#93a49b;line-height:1.7}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:12px}.checkbox-label input{min-height:auto;accent-color:var(--teal)}.dialog-actions{padding:18px 26px;border-top:1px solid var(--line);background:#f9fbfa;display:flex;justify-content:flex-end;gap:9px}.form-error{font-size:11px;color:var(--danger);margin:0 26px 18px;line-height:1.7}.busy-overlay{position:fixed;bottom:22px;left:calc(50% + 90px);transform:translateX(-50%);z-index:100;background:var(--navy);color:#fff;padding:13px 20px;border-radius:9px;box-shadow:0 6px 24px #112d3633;display:flex;align-items:center;gap:11px;font-size:12px}.spinner{width:15px;height:15px;border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.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}.skip-link{position:fixed;left:10px;top:-60px;background:var(--teal);padding:12px;color:white;z-index:200}.skip-link:focus{top:10px}[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){main{padding:38px 45px 0}.stats-grid{gap:22px}.stat-card{padding:24px 25px 21px}.stat-value{font-size:31px}.report-table{min-width:2160px}.source-card{padding:26px}}@media(max-width:1200px){.sidebar{width:195px;flex-basis:195px;padding:30px 14px}.workspace{margin-left:195px}main{padding:25px 22px 0}.topbar{padding:0 24px}.period-bar{gap:12px;padding:16px}.period-fields{gap:7px}.period-fields>label{display:none}.stat-value{font-size:24px}.stat-card{padding:19px 15px}.table-hint{display:none}.summary-grid{grid-template-columns:1fr 1fr}}@media(max-width:940px){.sidebar{width:72px;padding:25px 9px}.brand{padding:0;justify-content:center}.brand>div,.workspace-tag,.sidebar-note,.nav-item:not(.active) .nav-count{display:none}.nav-list{margin-top:38px}.nav-item{font-size:0;justify-content:center;padding:0}.nav-item>span:first-child{font-size:24px}.nav-count{display:none}.workspace{margin-left:72px}.period-label small{display:none}.period-label strong{font-size:11px}.period-fields input{width:128px}.stats-grid{gap:10px}.stat-value{font-size:21px}.page-heading h1{font-size:24px}.config-grid,.calendar-grid{grid-template-columns:1fr}.rule-card{display:none}.calendar-explanation{display:none}}@media(max-width:700px){main{padding:23px 15px 0}.topbar{padding:0 17px}.page-heading{align-items:flex-start}.page-heading h1{font-size:20px}.page-heading p{font-size:11px}.page-heading .button{font-size:10px;padding:7px}.period-bar{flex-wrap:wrap}.period-label{width:100%}.period-fields{flex:1}.period-fields input{width:calc(50% - 10px)}.period-bar>.button{width:100%;margin:0}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:125px}.summary-grid,.source-grid{grid-template-columns:1fr}.section-header{padding:18px 16px;flex-wrap:wrap}.section-header .button{font-size:10px}.table-toolbar{padding:10px 15px}.table-footer{padding:12px 16px}.table-footer>span:last-child{display:none}.source-intro{flex-direction:column;align-items:flex-start}.source-intro .button{width:100%}.workspace-footer{font-size:8px}.busy-overlay{left:calc(50% + 25px);max-width:75vw;white-space:nowrap}.filter-group{width:100%}.search-field input{width:125px}.mode-banner{align-items:flex-start}.mode-banner .button{display:none}.calendar-legend{gap:10px}.calendar-legend strong{font-size:9px}.calendar-day{min-height:45px}.calendar-days{gap:4px;padding:0 15px}.calendar-legend{padding:0 15px 15px}.calendar-legend>span{font-size:9px}}
.download-links{display:flex;gap:9px 18px;flex-wrap:wrap;margin-top:10px}.download-links a{color:#246f60;text-underline-offset:3px;font-size:11px;overflow-wrap:anywhere}
.source-error{font-size:11px;line-height:1.7;background:#fff3ef;color:#ac6250;border-radius:6px;padding:10px 12px;margin:-3px 0 15px;overflow-wrap:anywhere}
#report-table{max-height:520px}#people-table{max-height:430px}#target-table{max-height:530px}#days-table{max-height:480px}.table-scroll th{position:sticky;top:0;z-index:2}.report-table th:first-child{z-index:4}.report-table td:first-child{z-index:1}
.export-blocked-hint{margin:0 22px 15px;padding:10px 13px;border-radius:6px;background:#fff7e9;color:#9f6b25;font-size:11px;line-height:1.8}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(circle at 15% 20%,#e0efe7,transparent 45%),#f4f7f6}.auth-card{width:420px;max-width:100%;padding:36px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 14px 55px #183e3210}.auth-card>.brand-mark{margin-bottom:22px}.auth-card>.eyebrow{margin-bottom:12px;color:var(--teal)}.auth-card h1{font-size:23px}.auth-card>p{color:var(--muted);font-size:12px;line-height:1.8;margin:13px 0 22px}.auth-card form{display:grid;gap:19px;margin-top:25px}.auth-card form>.button{min-height:42px}.auth-card>.auth-error{background:#fff1ef;color:var(--danger);padding:11px 13px;border-radius:6px;margin:18px 0 0;overflow-wrap:anywhere}.auth-card>#auth-logout{margin-top:17px;width:100%}.account-controls{display:flex;align-items:center;gap:8px;margin-left:12px;padding-left:14px;border-left:1px solid var(--line)}#account-label{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#4b6570}.account-controls .action-link{font-size:10px}.job-recovery{margin-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.job-recovery p{font-size:11px;color:var(--warning)}#users-table{max-height:600px}.score-input:disabled,.day-input:disabled{opacity:1;background:#f7f8f8;border-color:transparent;color:#4b6270}.calendar-day:disabled{cursor:default;opacity:.85}#collector-status{line-height:1.9}#save-period-button{margin-left:0;padding:9px 12px}@media(max-width:1200px){.period-bar{flex-wrap:wrap}.topbar{min-height:65px;height:auto;padding-top:12px;padding-bottom:12px;gap:12px;flex-wrap:wrap}.account-controls{gap:5px}.period-fields{margin-left:auto}}@media(max-width:700px){.account-controls{margin-left:0;padding-left:0;border:0;flex-wrap:wrap}.topbar-status{flex-wrap:wrap}.auth-card{padding:28px}.period-fields{margin-left:0}}
.file-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}.file-actions a{text-decoration:none}
.personal-setup{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px 24px;padding:22px;border:1px solid #c2ddd5;background:#f5fbf8}.personal-setup>div:first-child{flex:1;min-width:260px}.personal-setup .eyebrow{color:var(--teal);font-size:10px}.personal-setup h2{font-size:17px;margin:8px 0}.personal-setup p{max-width:710px;font-size:12px;line-height:1.9;color:#627a73}.device-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.device-actions a,.pairing-action a{text-decoration:none}.pairing-action{width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #d8e8e1;padding-top:15px}.pairing-action>span{font-size:12px;color:#627a73;line-height:1.8}.source-actions .platform-open{flex:1.5;min-height:48px;font-size:13px;font-weight:600;box-shadow:0 3px 9px #15786f20}.source-actions .button-outline{flex:1}.source-intro>div{flex:1}.source-intro h2{font-size:17px}@media(max-width:700px){.personal-setup{padding:18px}.device-actions{width:100%}.device-actions>.button{flex:1}.source-actions{flex-wrap:wrap}.source-actions .platform-open{flex-basis:100%}.source-actions .button-outline{flex-basis:100%}}
@media(max-width:700px){.period-fields{min-width:0;width:100%;flex-basis:100%}.period-fields input{min-width:0;flex:1;width:0}}
.collection-status{display:flex;align-items:center;gap:18px;padding:22px 24px;margin:0 0 22px;border:2px solid #b8d3e7;border-radius:12px;background:#eef6fc;color:#245775}.collection-status.success{background:#edf9f1;border-color:#42a576;color:#145b36}.collection-status.warning{background:#fff8e8;border-color:#d9b365;color:#77511a}.collection-status-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:50%;background:#fff;font-size:30px;font-weight:700}.collection-status-body{flex:1;min-width:0}.collection-status-body strong{display:block;font-size:19px;line-height:1.5}.collection-status-body p{margin-top:7px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.collection-status .button{flex-shrink:0;background:#fff}.collection-complete-dialog{width:560px;padding:32px;text-align:center;border:2px solid #42a576}.completion-check{width:68px;height:68px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#e2f5e8;color:#197743;font-size:43px;font-weight:700}.completion-count{font-size:16px;font-weight:600;color:#197743;margin-bottom:12px}.collection-complete-dialog h2{font-size:23px;line-height:1.6;color:#145b36}.collection-complete-dialog>p{font-size:12px;line-height:1.9;margin-top:16px;color:#526c60}.collection-complete-dialog .completion-next{padding:12px;background:#f2f8f4;border-radius:8px}.completion-actions{display:flex;justify-content:center;gap:12px;margin-top:25px}@media(max-width:700px){.collection-status{align-items:flex-start;flex-wrap:wrap;padding:18px;gap:12px}.collection-status-icon{flex-basis:36px;height:36px;font-size:24px}.collection-status-body{flex-basis:calc(100% - 48px)}.collection-status-body strong{font-size:16px}.collection-status .button{width:100%}.collection-complete-dialog{padding:24px 18px}.collection-complete-dialog h2{font-size:19px}.completion-actions{flex-wrap:wrap}.completion-actions .button{flex:1}}

.busy-overlay{width:480px;max-width:calc(100vw - 40px);align-items:flex-start;padding:18px 22px;white-space:normal}.busy-overlay>.spinner{flex:0 0 15px;margin-top:3px}.busy-body{flex:1;min-width:0}.busy-body strong{font-size:13px}.busy-body p{font-size:12px;line-height:1.8;margin-top:7px;overflow-wrap:anywhere}.busy-body progress{width:100%;height:9px;margin-top:10px;accent-color:#80d4b4}.busy-body>span,.busy-body>small{display:block;font-size:11px;line-height:1.7;margin-top:5px;color:#c6dcd5}.collection-status-body p{white-space:pre-line}.collection-status.running .collection-status-icon{animation:status-pulse 1.6s ease-in-out infinite}@keyframes status-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.spinner,.collection-status.running .collection-status-icon{animation:none}}@media(max-width:700px){.busy-overlay{left:50%;width:calc(100vw - 30px);max-width:calc(100vw - 30px);bottom:12px}}

.collector-update{display:flex;align-items:center;gap:20px;margin:0 0 22px;padding:18px 22px;border:1px solid #dfc997;border-radius:10px;background:#fff9ed;color:#755521}.collector-update>div{flex:1;min-width:0}.collector-update h2{font-size:15px;line-height:1.6}.collector-update p{font-size:12px;line-height:1.8;margin-top:5px;overflow-wrap:anywhere}.collector-update .button{flex-shrink:0;background:#fff;text-decoration:none;color:#755521;border-color:#d7bf8c}#collector-version{font-weight:600;color:#446c60}@media(max-width:700px){.collector-update{align-items:flex-start;flex-direction:column;gap:13px;padding:17px}.collector-update .button{width:100%}}

.job-source-progress{margin-top:10px;padding:10px 12px;border-left:3px solid #b8d3e7;border-radius:4px;background:#f4f8fb;color:#466575;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.job-source-progress>strong{display:block;font-size:11px;margin-bottom:5px}.job-source-progress>div{white-space:pre-wrap;padding:4px 0}.job-source-progress>div+div{border-top:1px solid #e4edf2}

.sellout-import-card{padding:24px}.sellout-month-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.sellout-month-row .eyebrow{color:var(--teal);font-size:10px}.sellout-month-row h2{font-size:18px;margin:9px 0}.sellout-month-row p,.sellout-import-card>p{font-size:11px;line-height:1.8;color:var(--muted)}.sellout-import-form{display:flex;align-items:flex-end;gap:18px;margin:23px 0 12px}.sellout-import-form .field-label{flex:1;max-width:650px;min-width:0}.sellout-import-form input{padding:8px;background:#f8fbf9;border:1px solid var(--line);border-radius:6px;max-width:100%;font-size:12px}.sellout-import-form input::file-selector-button{border:0;border-radius:4px;padding:7px 12px;margin-right:12px;background:#e6f1ec;color:#386958;cursor:pointer}.sellout-import-form .button{min-height:44px;flex-shrink:0}.sellout-result-notes{padding:0 22px 16px;font-size:11px;line-height:1.9;color:#6d8580;overflow-wrap:anywhere}.sellout-result-notes>p+p{margin-top:6px}.sellout-result-notes .warning-list{margin:10px 0 0}#sellout-download{text-decoration:none}#sellout-table,#sellout-departments,#sellout-unmatched{max-height:530px}.sellout-table{min-width:1150px}#sellout-unmatched td:last-child{white-space:normal;min-width:210px}#sellout-fill-status{color:#2e7a63}@media(max-width:700px){.sellout-import-card{padding:18px}.sellout-month-row{align-items:flex-start;flex-direction:column;gap:12px}.sellout-month-row h2{font-size:16px}.sellout-import-form{align-items:stretch;flex-direction:column;gap:12px;margin-top:18px}.sellout-import-form .button{width:100%}.sellout-result-notes{padding:0 16px 14px}.sellout-policy{padding:16px}}

.target-import-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}.target-import-entry p{font-size:11px;color:var(--muted);margin-top:6px}.target-import-entry .button{flex-shrink:0}.target-import-dialog{width:780px;max-height:90vh}.target-import-dialog .dialog-heading{padding-bottom:16px}.target-import-content{padding:0 26px 20px;max-height:calc(90vh - 175px);overflow-y:auto;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.target-import-content>p{margin-bottom:12px}.target-import-period{font-weight:600;color:#356755}.target-import-content .warning-list{margin:12px 0;padding:12px 14px}.target-import-warning{color:#95662d;background:#fff8e8;padding:8px 12px;margin-top:8px;border-radius:5px}#target-import-summary p{margin-top:7px}#target-import-details details{margin-top:14px;border:1px solid var(--line);border-radius:6px;padding:10px 12px}#target-import-details summary{cursor:pointer;font-weight:600;color:#496b5c}#target-import-details details>p{margin-top:7px}#target-import-details .table-scroll{max-height:260px;margin-top:9px}#target-import-status{margin-top:14px;padding:10px 12px;border-radius:6px;background:#edf5f1;color:#385e50;font-weight:500}.target-import-dialog .dialog-actions{position:sticky;bottom:0}@media(max-width:700px){.target-import-entry{align-items:flex-start;flex-direction:column;gap:12px}.target-import-entry .button{width:100%}.target-import-dialog .dialog-heading{padding:20px 18px 14px}.target-import-content{padding:0 18px 16px}.target-import-dialog .dialog-actions{padding:14px 18px;flex-wrap:wrap}.target-import-dialog .dialog-actions .button{flex:1}}
