:root{--brand:#356df3;--ink:#182338;--muted:#748096;--line:#e5eaf2;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f5f7fb}body{color:var(--ink);background:#f5f7fb}h1{font-size:28px;letter-spacing:-.7px;margin:10px 0 12px;line-height:1.35}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:17px}p,.help,.muted{color:var(--muted)}button{background:var(--brand);border-radius:11px;padding:12px 18px;min-height:46px;font-size:16px;color:#fff}button.secondary,button.outline{background:#fff;color:var(--brand);border:1px solid #c8d7ff}button.link-btn{background:transparent;color:var(--brand);padding:8px 0;display:inline-flex;align-items:center;gap:6px}button.danger{color:#ce4857;background:#fff1f3}.icon-button{background:transparent;color:var(--brand);display:inline-flex;align-items:center;justify-content:center;padding:9px;min-width:44px}.lucide{width:24px;height:24px;flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible{outline:3px solid #a8c1ff;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}.staff-header{max-width:640px;margin:auto;padding:20px 20px 10px;background:transparent!important;color:var(--ink);gap:10px}.staff-header>div{display:flex;align-items:center;gap:10px}.staff-header strong{color:var(--brand);font-size:22px;letter-spacing:-.6px}.staff-header span{border-left:1px solid #b7c0d0;padding-left:10px;color:#778198;font-size:14px}.staff-header .icon-button{background:#fff;border:1px solid var(--line);border-radius:50%;color:var(--brand)}.wrap{max-width:640px;padding:16px 20px 180px;margin:auto}.compact{max-width:none;margin:0}.store-label{display:flex;align-items:center;gap:10px;font-weight:600;margin:4px 0 26px}.store-label .lucide{color:var(--brand)}.staff-hero h1{font-size:29px;margin:0 0 6px}.staff-hero p{margin:0 0 22px;font-size:16px}.photo-action{display:flex;align-items:center;gap:17px;width:100%;padding:23px 20px;background:var(--brand);border-radius:13px;text-align:left}.photo-action>.lucide:first-child{width:39px;height:39px}.photo-action>.lucide:last-child{margin-left:auto;width:25px}.photo-action span{display:flex;flex-direction:column;gap:5px}.photo-action strong{font-size:23px}.photo-action small{font-weight:400;font-size:14px;color:#ecf2ff}.staff-shortcuts{display:flex;border:1px solid var(--line);background:white;border-radius:13px;margin:12px 0}.staff-shortcuts button{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px;background:none;color:var(--ink);border-radius:0;margin:18px 0;padding:0 8px;border-right:1px solid var(--line)}.staff-shortcuts button:last-child{border:0}.staff-shortcuts .lucide{width:29px;height:29px}.processing-strip{width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:17px;background:#edf3ff;color:var(--brand);border:1px solid #dce7ff;border-radius:12px;margin:12px 0 24px}.processing-strip>.lucide{width:29px;height:29px}.processing-strip span{display:flex;flex-direction:column;gap:6px}.processing-strip strong{color:#263a64;font-size:16px}.processing-strip small{font-weight:400;font-size:13px;color:#738199}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 12px}.section-title h1,.section-title h2{margin:0}.section-title .link-btn{font-size:13px;white-space:nowrap}.section-title .lucide{width:18px;height:18px}.count-bubble{font-size:15px;border-radius:50%;padding:4px 8px;color:#a96505;background:#ffebc7;margin-left:4px}.task-list{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.task-row{display:flex;align-items:center;gap:12px;padding:20px 16px;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0}.task-symbol{width:46px;height:62px;background:#eef2f8;color:#8795ae;border:1px solid #e0e7f2;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.task-info{flex:1;min-width:0}.task-info h3{font-size:15px;margin:0 0 6px;overflow-wrap:anywhere}.task-info p{margin:4px 0;font-size:12px;line-height:1.6}.small{font-size:13px;padding:8px 12px;min-height:38px;white-space:nowrap}.status-pill{display:inline-block;font-size:12px;background:#eff3f9;color:#71809b;border-radius:6px;padding:4px 7px;margin-top:4px}.status-pill.amber{background:#fff0d7;color:#b56b05}.status-pill.red{background:#ffe9ec;color:#d24556}.status-pill.blue{background:#e9f0ff;color:var(--brand)}.return-note{color:#b7544b!important}.error-detail summary{font-size:12px;color:#c25050;margin-top:8px}.error-detail p{overflow-wrap:anywhere}.footer-note{text-align:center;font-size:12px;margin:22px 0}.staff-nav{position:fixed;bottom:0;left:0;right:0;max-width:640px;margin:auto;display:flex;padding:9px 14px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);z-index:30}.staff-nav button{position:relative;display:flex;flex:1;align-items:center;flex-direction:column;gap:5px;background:none;color:#7c879e;min-height:52px;font-size:12px;padding:3px}.staff-nav .lucide{width:25px;height:25px}.staff-nav button.active{color:var(--brand)}.staff-nav button>b{position:absolute;left:calc(50% + 7px);top:-4px;min-width:17px;padding:1px 4px;border-radius:10px;background:#ef5362;color:white;font-size:10px;border:2px solid #fff}.card{border-radius:13px;border:1px solid var(--line);padding:18px;box-shadow:none;margin:14px 0}input,select,textarea{border:1px solid #dce3ee;color:var(--ink);font-size:16px;border-radius:9px;padding:12px;min-height:46px;box-shadow:none}input:focus,select:focus,textarea:focus{outline:2px solid #b7ccff;border-color:var(--brand)}input[hidden]{display:none}label{font-size:14px;color:#6e7b93;margin:14px 0 8px}textarea{min-height:96px}a{color:var(--brand)}.filters{display:flex;overflow:auto;gap:7px;flex-wrap:nowrap;margin:18px 0}.filters button{white-space:nowrap;padding:10px 13px;font-size:13px;min-height:40px;background:#eaf0f8;color:#6e7b93}.filters button.active{background:var(--brand);color:#fff}.staff-title{display:flex;align-items:center;gap:8px;margin:0 -10px 16px}.staff-title h1{font-size:25px;margin:0}.subtitle{font-size:14px;line-height:1.65;margin:0 0 22px}.form-dock{position:fixed;left:0;right:0;bottom:calc(72px + env(safe-area-inset-bottom));max-width:640px;margin:auto;padding:12px 20px;background:#fff;border-top:1px solid var(--line);z-index:20;display:flex;align-items:center;gap:12px}.form-dock>span{font-size:14px;color:#718099;flex:1}.form-dock>button{flex:1}.form-dock>button:last-child{flex:1.5}.step-line{display:flex;justify-content:space-between;font-size:12px;color:#8793aa;margin:22px 0}.step-line b{color:var(--brand)}.mode-switch{display:flex;background:#fff;border:1px solid var(--line);padding:4px;border-radius:11px;margin-bottom:16px}.mode-switch button{flex:1;font-size:13px;background:#fff;color:#5f6c84;padding:9px 5px}.mode-switch button.active{color:#fff;background:var(--brand)}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-tile{position:relative;border:1px solid var(--line);background:white;border-radius:11px;padding:8px;overflow:hidden}.upload-tile img{width:100%;height:180px;object-fit:contain;background:#f1f3f7;border-radius:6px}.upload-tile button{position:absolute;right:12px;top:12px;border-radius:50%;min-height:30px;width:30px;padding:4px;background:#223046b0}.upload-tile strong{font-size:14px;display:block;margin-top:9px}.upload-tile p{font-size:12px;overflow-wrap:anywhere}.upload-picker{min-height:115px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--brand);background:#fff;border:1px dashed #b5c9ef;font-size:15px}.upload-picker .lucide{width:33px;height:33px}.profile-card{display:flex;gap:20px;align-items:center;padding:24px 0}.profile-card>.lucide{width:54px;height:54px;color:var(--brand)}.profile-card h2{margin:0}.profile-card p{font-size:13px}.menu-row{display:flex;align-items:center;gap:12px;color:var(--ink);background:#fff;width:100%;border-radius:0;border-bottom:1px solid var(--line);padding:18px}.menu-row>.lucide:last-child{margin-left:auto;color:#a0aac0;width:18px}.menu-row>.lucide:first-child{color:var(--brand)}.count-progress{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px;margin:16px 0}.count-progress>span{float:right;font-size:12px;color:var(--brand)}progress{width:100%;height:8px;display:block;accent-color:var(--brand);margin-top:14px}.count-list{padding:0 16px}.count-item{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.count-item[hidden]{display:none}.count-item:last-child{border-bottom:0}.count-item label{color:var(--ink);font-weight:600;margin:0}.count-item small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:8px}.count-input{display:flex;align-items:center;position:relative;width:145px;flex-shrink:0}.count-input input{width:100%;padding-right:42px}.count-input span{position:absolute;right:12px;color:var(--muted);font-size:13px}.notice{border-left:0;color:#97620d;background:#fff5e4}.draft-status{font-size:13px}.item-editor{background:#f8faff;border:1px solid var(--line);border-radius:10px;padding:14px}.item-editor .link-btn{font-size:13px}.record h3{font-size:16px}.record .row{gap:8px}.record{padding:18px 0}.record p{overflow-wrap:anywhere}.record .badge{font-size:11px}.staff-sheet{position:fixed;inset:0;width:100%;max-width:640px;height:100dvh;max-height:100dvh;margin:0 auto;border-radius:0;padding:20px 20px calc(105px + env(safe-area-inset-bottom));color:var(--ink);background:#f5f7fb;overflow:auto;box-sizing:border-box}.staff-sheet::backdrop{background:#1c2d4955}.staff-sheet>.row:first-child{position:sticky;top:-20px;background:#f5f7fb;z-index:3;padding:12px 0;margin-bottom:16px;flex-wrap:nowrap}.staff-sheet>.row:first-child h2{font-size:22px;margin:0}.staff-sheet .cancel{background:#fff;color:#66738b;border:1px solid var(--line);font-size:14px;padding:8px 12px}.staff-sheet .staff-nav{position:fixed}.staff-sheet.receipt-check-dialog{display:flex;max-width:640px;max-height:100dvh;height:100dvh;padding:16px 20px calc(80px + env(safe-area-inset-bottom));gap:0}.staff-sheet.receipt-check-dialog>.row{position:static;flex-shrink:0}.staff-sheet #staff-check-form{min-height:0;flex:1;display:flex;flex-direction:column}.staff-sheet .check-scroll{min-height:0;overflow:auto;padding:0 0 14px;border:0;margin:0;flex:1}.staff-sheet .check-supplier,.staff-sheet .check-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;box-shadow:none}.staff-sheet .check-context{font-size:12px;padding:5px 0 12px;flex-wrap:wrap;color:var(--muted)}.staff-sheet .check-status{color:var(--brand);background:#e9f0ff}.staff-sheet .check-intro{font-size:13px}.staff-sheet .check-fields{display:grid;grid-template-columns:1fr .75fr 1fr;gap:9px}.staff-sheet .check-fields input{padding:10px 7px;min-width:0;width:100%}.staff-sheet .check-item-number{color:#728099;font-size:12px}.staff-sheet .check-remove{padding:4px 7px;min-height:30px;background:transparent;color:#ce5865}.staff-sheet .check-advanced{color:#71809b;font-size:12px;margin-top:14px}.staff-sheet .check-footer{flex-shrink:0;background:white;padding:12px 0 0;border-top:1px solid var(--line)}.staff-sheet .check-total-row{margin:0 0 8px}.staff-sheet .check-total-row h2{font-size:24px;color:var(--ink)}.staff-sheet .check-footer-actions{display:flex;gap:10px}.staff-sheet .check-footer-actions button:first-child{flex:1}.staff-sheet .check-footer-actions button:last-child{flex:2;background:var(--brand);font-size:15px}.staff-sheet .check-footer small{font-size:11px;color:var(--muted)}.staff-sheet #staff-check-error:empty{display:none}.staff-sheet #staff-check-error{font-size:13px;color:#ce4857}.staff-sheet #staff-check-image img{max-height:330px;object-fit:contain;background:#eef2f7;border-radius:10px;margin:10px auto}.staff-sheet .modal-footer{position:static;background:transparent;padding:12px 0}.login .brand{color:var(--brand)}#toast{background:#20314d;bottom:165px;font-size:14px;z-index:1000}body:has(dialog[open]){overflow:hidden}@media(min-width:700px){.staff-sheet{top:20px;bottom:20px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);border-radius:16px}.staff-sheet.receipt-check-dialog{height:calc(100dvh - 40px)}.staff-sheet .staff-nav{bottom:20px;border-radius:0 0 16px 16px}.wrap{padding-top:20px}}@media(max-width:360px){.wrap{padding-left:14px;padding-right:14px}.staff-header{padding:16px 14px 10px}.staff-header strong{font-size:20px}.staff-header span{font-size:12px}.task-row{gap:8px;padding:15px 12px}.task-symbol{width:33px;height:46px}.task-row .small{font-size:12px;padding:8px}.photo-action{padding:20px 15px;gap:12px}.photo-action strong{font-size:21px}.photo-action small{font-size:12px}.staff-sheet{padding-left:14px;padding-right:14px}.form-dock{padding:10px 14px}}
.next-check{display:flex;align-items:center;gap:7px;font-size:12px;margin:8px 0;color:#758199}.next-check input{width:15px;height:15px;min-height:0;padding:0;accent-color:var(--brand)}.photo-page-tabs{display:flex;gap:6px;overflow:auto}.photo-page-tabs button{font-size:12px;min-height:36px;padding:7px 10px;white-space:nowrap}.sales-file{display:flex;gap:14px;align-items:center;background:#fff;padding:16px;border:1px solid var(--line);border-radius:12px}.sales-file>.lucide{width:35px;height:35px;color:var(--brand)}.sales-file strong{font-size:14px;overflow-wrap:anywhere}.sales-file p{font-size:12px;margin:4px 0}.sales-metrics{display:grid;grid-template-columns:1fr 1fr;padding:20px 15px;background:#edf3ff;border:1px solid #dce6ff;border-radius:12px;gap:15px}.sales-metrics small{color:#76849c;font-size:12px}.sales-metrics strong{display:block;color:var(--brand);font-size:26px;margin-top:8px}.sales-preview-head,.sales-preview-row{display:grid;grid-template-columns:minmax(0,1.4fr) .5fr 1fr;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:13px}.sales-preview-head{color:#7d89a1;padding-top:0}.sales-preview-row strong{font-size:14px}.sales-preview-row small{display:block;font-size:11px;font-weight:400;color:#8290a6;margin-top:4px}.sales-preview-row span:last-child{text-align:right}.sales-preview details{font-size:13px;padding-top:15px;color:var(--brand)}.sales-footer{display:flex;gap:12px;position:sticky;bottom:0;background:#fff;padding:14px 0}.sales-footer button{flex:1;font-size:14px}.staff-sheet:has(.sales-footer){padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.staff-sheet .check-supplier-other summary,.staff-sheet .check-advanced summary{color:#70809a}.staff-sheet .check-section-heading span{font-size:11px}.staff-sheet .check-supplier{padding:12px 14px}.staff-sheet .check-supplier .check-section-heading{margin-bottom:8px}.staff-sheet .check-supplier h3{font-size:15px}.staff-sheet .check-supplier-other{margin-top:8px}.staff-sheet .check-item label{margin:8px 0 5px;font-size:12px}.staff-sheet .check-item{padding:13px}.staff-sheet .check-item input[name=name]{font-weight:600}.staff-sheet .check-fields{margin-top:3px}.staff-sheet .check-advanced{margin-top:10px}.staff-sheet .check-item-heading{margin-bottom:4px}.staff-sheet .check-total-row{padding:0}.notice.good{color:#305387;background:#edf3ff}.notice.good button{font-size:13px;padding:8px 12px;min-height:36px}
.staff-header{padding:10px 20px 4px}.staff-header .icon-button{min-height:38px;min-width:38px;padding:6px}.wrap{padding-top:8px}body[data-staff-page=home] .wrap,body[data-staff-page=todo] .wrap,body[data-staff-page=records] .wrap,body[data-staff-page=profile] .wrap{padding-bottom:95px}.store-label{margin:0 0 18px}.staff-hero h1{font-size:28px}.staff-hero p{margin-bottom:16px}.photo-action{padding:20px}.processing-strip{padding:14px;margin-bottom:18px}.processing-strip span{gap:4px}.task-symbol{width:65px;height:80px;overflow:hidden}.task-symbol img{width:100%;height:100%;object-fit:cover;color:#8292aa;font-size:10px}.task-row{padding:15px 12px;gap:10px}.task-info h3{font-size:15px}.task-row .small{padding:8px 11px}.section-title{margin-top:20px}.staff-shortcuts button{margin:15px 0}.photo-action span{gap:4px}@media(max-width:360px){.task-symbol{width:45px;height:68px}.staff-header{padding-top:10px}.task-row{gap:8px}}
