:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#183047;background:#f4f7fa}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#1c668f;color:#fff;padding:10px 16px;font-weight:600}button:hover{background:#155574}button:disabled{opacity:.55;cursor:wait}.quiet{background:#e8f0f5;color:#24546f}.quiet:hover{background:#d8e7ef}.topbar{height:62px;background:#fff;border-bottom:1px solid #dfebf0;display:flex;align-items:center;gap:26px;padding:0 max(22px,calc((100vw - 1220px)/2));font-weight:700}.topbar a,.back{color:#1a638b;text-decoration:none}.topbar button{margin-left:auto}.shell{max-width:1220px;margin:auto;padding:36px 22px 50px}.heading,.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.heading{margin-bottom:24px}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;color:#287ba3;margin:0 0 9px}h1{font-size:32px;margin:0 0 9px}h2{font-size:19px;margin:0 0 7px}.hint,.panel-head p,.footnote{color:#617587;line-height:1.6;margin:0}.mode{padding:8px 12px;border-radius:20px;background:#e6f3ed;color:#2a765a;white-space:nowrap;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stats article,.panel{background:#fff;border:1px solid #e0eaf0;box-shadow:0 5px 20px rgba(34,73,104,.04);border-radius:16px}.stats article{padding:20px 22px}.stats strong{display:block;font-size:30px;color:#165c82}.stats span{display:block;color:#607688;font-size:13px;margin-top:4px}.panel{padding:24px;margin-bottom:18px}.panel-head{align-items:center;margin-bottom:18px}.panel-head p{font-size:13px}.panel-head button,.panel-head select{flex-shrink:0}#upload-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}input[type=file]{max-width:100%;padding:10px;border:1px dashed #b5cbd8;border-radius:10px;background:#f8fbfc}#upload-message{min-height:20px;margin:12px 0 0;color:#266d59}.error,#upload-message.error{color:#b23a40}.empty{padding:26px;text-align:center;color:#7b8c9a;background:#f8fafc;border-radius:10px}.alert{border:1px solid #f0dca8;border-left:5px solid #d3992b;background:#fffaf0;border-radius:10px;padding:15px 17px;display:flex;justify-content:space-between;gap:20px;margin-bottom:9px}.alert strong{font-size:15px}.alert p{margin:6px 0 0;color:#745f39;font-size:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:780px;text-align:left}th,td{padding:12px 10px;border-bottom:1px solid #e9eff3;font-size:13px;vertical-align:top}th{color:#657b8d;font-weight:700;background:#f9fbfc}td{overflow-wrap:anywhere}.pill{display:inline-block;padding:4px 8px;border-radius:8px;background:#ebf1f5;color:#49677a;white-space:nowrap}.pill.delivered{background:#e8f6e9;color:#287143}.pill.query_error{background:#fceced;color:#a9434a}.pill.not_found{background:#f5f0e7;color:#826433}.footnote{font-size:12px}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(420px,100%);background:#fff;border-radius:18px;padding:34px;box-shadow:0 15px 48px rgba(34,73,104,.13)}.login-card h1{font-size:28px}.login-card form{display:grid;gap:16px;margin-top:26px}.login-card label{font-weight:600;font-size:14px}.login-card input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #cad9e3;border-radius:9px}.login-card .error{background:#fff0f0;padding:10px;border-radius:8px}.back{display:inline-block;margin-bottom:28px;font-size:13px}@media(max-width:750px){.stats{grid-template-columns:repeat(2,1fr)}.heading,.panel-head{display:block}.mode{display:inline-block;margin-top:14px}.panel-head button,.panel-head select{margin-top:13px}.alert{display:block}.alert button{margin-top:10px}h1{font-size:27px}}
.fba-link{padding:0;border:0;border-radius:0;background:none;color:#12618d;text-decoration:underline;text-underline-offset:3px;font-weight:700;text-align:left}.fba-link:hover{background:none;color:#0d4567}.fba-link:focus-visible{outline:2px solid #12618d;outline-offset:3px}#trace-dialog{width:min(700px,calc(100vw - 24px));max-height:min(85vh,850px);border:0;border-radius:16px;padding:0;box-shadow:0 24px 70px rgba(10,37,57,.25);color:#183047}#trace-dialog::backdrop{background:rgba(16,40,58,.58)}.trace-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:23px 24px 18px;border-bottom:1px solid #e0eaf0}.trace-head h2{margin:0 0 5px;overflow-wrap:anywhere}.trace-head p{margin:0;color:#617587;font-size:13px}.trace-body{padding:20px 24px 26px;overflow:auto;max-height:calc(85vh - 90px)}.trace-count{margin:0 0 16px;color:#617587;font-size:13px}.trace-list{list-style:none;padding:0;margin:0 0 0 8px;border-left:2px solid #c9dce8}.trace-event{position:relative;padding:0 0 20px 20px}.trace-event:last-child{padding-bottom:0}.trace-event::before{content:"";position:absolute;left:-6px;top:4px;width:10px;height:10px;background:#1c668f;border-radius:50%}.trace-event time{font-size:12px;color:#62798a}.trace-event p{margin:5px 0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.trace-event small{color:#62798a}.trace-extra{margin-top:7px;color:#617587;font-size:12px}.trace-extra summary{cursor:pointer}.trace-extra dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 10px;margin:8px 0 0;overflow-wrap:anywhere}.trace-extra dt{font-weight:700}.trace-extra dd{margin:0}@media(max-width:750px){.trace-head,.trace-body{padding-left:18px;padding-right:18px}}
.alert-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border:1px solid #d9e9f0;border-radius:10px;background:#f7fbfd}.alert-entry p{margin:0;color:#31576e}.alerts-dialog-body{padding:18px 24px 24px;max-height:calc(85vh - 92px);overflow:auto}.alerts-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;color:#617587;font-size:13px}.signed-card{padding:16px 18px;margin-bottom:10px;border:1px solid #f0dca8;border-left:5px solid #d3992b;background:#fffaf0;border-radius:10px}.signed-card-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.signed-fields{display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 10px;margin:14px 0 8px;font-size:14px}.signed-fields dt{color:#745f39}.signed-fields dd{margin:0;overflow-wrap:anywhere}.signed-source{color:#826b49;font-size:12px;margin:0 0 12px}#alerts-dialog{width:min(700px,calc(100vw - 24px));max-height:min(85vh,850px);border:0;border-radius:16px;padding:0;box-shadow:0 24px 70px rgba(10,37,57,.25);color:#183047}#alerts-dialog::backdrop{background:rgba(16,40,58,.58)}@media(max-width:750px){.alert-entry{display:block}.alert-entry button{margin-top:12px}.alerts-dialog-body{padding-left:18px;padding-right:18px}.alerts-actions{align-items:flex-start;flex-direction:column}.signed-fields{grid-template-columns:78px minmax(0,1fr)}}
.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:11px;align-items:end;margin:12px 0 18px}.filter-grid label{display:grid;gap:5px;color:#617587;font-size:12px;font-weight:600}.filter-grid input,.filter-grid select,.record-toolbar select,.row-hours{width:100%;padding:9px 10px;border:1px solid #cad9e3;border-radius:9px;background:#fff;color:#183047}.filter-buttons,.button-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-buttons button,.button-group button{white-space:nowrap}.record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 11px;color:#607688;font-size:13px}.record-toolbar .button-group select{width:auto}.row-actions{white-space:nowrap}.row-actions button{margin-right:5px;padding:7px 9px;font-size:12px}.row-hours{min-width:90px}#alerts-dialog{width:min(1000px,calc(100vw - 24px))}#alerts-dialog .filter-grid{padding:0 0 15px;border-bottom:1px solid #e0eaf0}.panel .button-group{justify-content:flex-end}table{min-width:1100px}#query-status{margin:10px 0 0;font-size:13px}@media(max-width:750px){.record-toolbar{align-items:flex-start}.record-toolbar .button-group{justify-content:flex-start}.panel .button-group{justify-content:flex-start}}
#signed-dialog{width:min(1050px,calc(100vw - 24px));max-height:min(85vh,850px);border:0;border-radius:16px;padding:0;box-shadow:0 24px 70px rgba(10,37,57,.25);color:#183047}#signed-dialog::backdrop{background:rgba(16,40,58,.58)}#signed-dialog .filter-grid{padding:0 0 15px;border-bottom:1px solid #e0eaf0}.signed-table{min-width:850px}#signed-list td{max-width:240px}#signed-list td:nth-child(6){max-width:300px}
#bulk-month{width:145px;padding:9px 10px;border:1px solid #cad9e3;border-radius:9px;background:#fff;color:#183047}section.panel .table-wrap table{min-width:1220px}.signed-table{min-width:930px}
