@font-face{font-family:system-ui;src:local("Microsoft YaHei UI")}:root{--charcoal:#090a0c;--panel-dark:#111317;--accent:#0066cc;--accent-soft:#eaf2fc;--bg:#f5f6f8;--text:#161b22;--muted:#545e6b;--line:#e2e6eb;--orange:#c7893f;--red:#b94747;--radius:13px}*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI","Microsoft YaHei UI","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--text);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7db4f0;outline-offset:3px}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:var(--charcoal);color:#d4d8e0;padding:31px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;color:#fff;font-size:19px;font-weight:650;letter-spacing:1px}.brand-symbol{display:flex;align-items:center;justify-content:center;background:#f5f6f8;color:var(--charcoal);width:40px;height:43px;border-radius:10px;font-size:28px;letter-spacing:-4px;padding-right:4px}.brand-symbol span{font-size:18px;align-self:flex-start;margin-top:8px}.brand-sub{display:block;font-size:8px;font-weight:500;letter-spacing:1.5px;margin-top:6px;color:#b6bdc9}.workspace-tag{display:flex;align-items:center;gap:8px;border:1px solid #303640;border-radius:7px;margin-top:33px;padding:12px 10px;font-size:11px;color:#c5ccd7}.workspace-tag>span:last-child{margin-left:auto;font-size:10px;color:#6b7786}.status-dot{width:6px;height:6px;background:#4c9bf1;display:inline-block;border-radius:50%;flex-shrink:0}.nav-title{font-size:10px;color:#8b96a7;letter-spacing:1.4px;margin:32px 12px 13px}nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;gap:13px;align-items:center;width:100%;border:0;background:none;border-radius:7px;padding:14px 13px;color:#b6bdc9;text-align:left;font-size:13px}.nav-item:hover{background:#1a1e25;color:white}.nav-item.active{background:#0066cc;color:#ffffff;font-weight:650}.nav-icon{font-size:21px;line-height:1;font-weight:400;width:23px;text-align:center}.nav-count{background:#ffffff26;color:#ffffff;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:10px 10px 0}.local-badge{font-size:11px;display:flex;align-items:center;gap:7px;color:#c5ccd7}.sidebar-bottom p{font-size:10px;color:#8b96a7;margin-top:12px}.quit-button{display:flex;justify-content:space-between;border:0;border-top:1px solid #303640;background:none;padding:17px 0 10px;margin-top:23px;color:#b6bdc9;width:100%;font-size:11px}.version{display:flex;justify-content:space-between;margin-top:14px;font-size:8px;letter-spacing:1.5px;color:#8b96a7}main{margin-left:232px;min-height:100vh}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:#65707e;display:flex;gap:16px;align-items:center}.breadcrumb strong{color:#283443;font-weight:500}.breadcrumb>span{color:#d8dfe8}.clock{display:flex;align-items:center;gap:8px;font-size:11px;color:#65707e;white-space:nowrap}.icon-button{border:1px solid var(--line);background:white;border-radius:6px;width:30px;height:30px;margin-left:10px;color:#4b596b;font-size:20px}.content{padding:35px 38px 28px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:20px}.eyebrow{font-size:9px;font-weight:650;color:#0066cc;letter-spacing:2px;margin:0 0 9px}h1{font-size:27px;font-weight:650;margin:0;letter-spacing:1px}.subtitle{font-size:12px;color:#65707e;margin:11px 0 0}#heading-actions,.button-row{display:flex;gap:10px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:550;white-space:nowrap;line-height:1.4}.button-primary{background:var(--accent);color:white;box-shadow:0 3px 7px #0066cc16}.button-primary:hover{background:#0055aa}.button-secondary{border-color:#e5e9ef;background:#fff;color:#4b596b}.button-secondary:hover{background:#fafbfd}.button-dark{background:var(--charcoal);color:white}.button-dark:hover{background:#262c35}.button-danger{background:#b94747;color:white}.page{display:none}.page.active{display:block}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;text-align:left;color:inherit;transition:border-color .15s,transform .15s}.stat-card:hover{border-color:#9fc3ed;transform:translateY(-2px)}.stat-label{font-size:12px;color:#6b7786;display:flex;justify-content:space-between;align-items:center}.stat-label>span{font-size:19px;color:#a3adba}.stat-value{display:block;font-size:35px;font-weight:600;line-height:1.2;letter-spacing:-1px;margin:15px 0 10px;font-variant-numeric:tabular-nums}.stat-note{font-size:10px;color:#6c7785}.stat-label .green{color:#278259;font-size:12px}.stat-label .orange{color:#c69353}.blank-stat{background:#eef4fc}.scan-bar{display:flex;align-items:center;gap:15px;background:#eaf2fc;border:1px solid #d4e3f7;border-radius:11px;padding:18px 20px;margin-bottom:28px}.scan-icon{font-size:31px;color:#0066cc;line-height:1;border:1px solid #b8d2f1;border-radius:7px;width:41px;height:41px;text-align:center;padding-top:3px}.scan-description{min-width:178px}.scan-description strong{display:block;font-size:13px;font-weight:600;color:#164d82;margin-bottom:6px}.scan-description span{font-size:10px;color:#537090}.scan-form{display:flex;gap:9px;flex:1}.scan-form input{width:100%;min-width:80px;background:#fff;border:1px solid #e5e9ef;border-radius:6px;padding:12px 14px;font-size:11px;color:#283b52}.scan-form input::placeholder{color:#a3adba}kbd{font-family:inherit;font-size:8px;color:#6b7786;border:1px solid #d8dfe8;border-radius:4px;padding:3px 5px;letter-spacing:.5px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-top{display:flex;align-items:center;justify-content:space-between;padding:23px 23px 18px;gap:16px}.panel-title{display:flex;align-items:center;gap:10px}h2{font-size:15px;font-weight:600;margin:0}.count-badge{font-size:10px;background:#f4f6f9;color:#6b7786;border-radius:5px;padding:3px 6px}.inventory-tools{display:flex;gap:10px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:0 11px;height:34px;color:#a3adba}.search-box>span{font-size:22px}.search-box input{border:0;background:transparent;width:214px;font-size:10px;outline:none;color:#4b596b}.search-box input::placeholder{color:#a3adba}select{background:#fff;border:1px solid #e5e9ef;border-radius:6px;padding:8px 10px;color:#6b7786;font-size:11px}.filter-tabs{display:flex;gap:26px;padding:0 23px;border-bottom:1px solid var(--line)}.filter-tabs button{padding:0 0 13px;border:0;border-bottom:2px solid transparent;background:none;font-size:11px;color:#6c7785}.filter-tabs button.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}thead{background:#fafbfd}th{font-size:10px;font-weight:500;letter-spacing:.2px;color:#6b7786;padding:13px 20px;border-bottom:1px solid #f4f6f9}td{padding:18px 20px;border-bottom:1px solid #f4f6f9;font-size:11px;color:#6b7786;max-width:230px;overflow:hidden;text-overflow:ellipsis}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfd}.asset-name{color:#283443;font-size:12px;font-weight:550;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.asset-code{font-family:"Consolas",monospace;font-size:9px;color:#6c7785;letter-spacing:.3px}.asset-cell{display:flex;align-items:center;gap:12px}.asset-mark{width:32px;height:35px;border:1px solid #e5e9ef;border-radius:7px;background:#f4f6f9;color:#6b7786;font-size:19px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 8px;font-size:9px;font-weight:500}.badge:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.badge-available{color:#278259;background:#edf6ef}.badge-borrowed{color:#b38441;background:#f4f6f9}.badge-blank{color:#6b7786;background:#f4f6f9}.badge-alert{color:#b15b54;background:#f4f6f9}.actions-col{width:125px}.text-button{border:0;background:none;padding:5px 7px;color:var(--accent);font-size:11px;font-weight:600}.text-button.secondary{color:#6b7786;font-weight:400}.text-button:hover{background:#edf4fd;border-radius:5px}.table-footer{border-top:1px solid var(--line);padding:14px 23px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#6c7785}.table-footer>div{display:flex;align-items:center;gap:13px}.pagination-button{height:24px;width:26px;border:1px solid var(--line);border-radius:4px;background:white;color:#6b7786}.footnote{font-size:10px;color:#6c7785;margin-top:18px;display:flex;align-items:center;gap:6px;line-height:1.7}.dot-outline{width:10px;height:10px;border:1px solid #a3adba;border-radius:50%}.empty-state{padding:48px 20px 53px;text-align:center}.empty-icon{width:60px;height:60px;background:#f4f6f9;border:1px solid #e5e9ef;border-radius:18px;display:flex;justify-content:center;align-items:center;margin:0 auto 17px;color:#6b7786;font-size:28px}.empty-state h3{font-size:15px;font-weight:600;margin:0 0 10px}.empty-state p{font-size:11px;color:#6c7785;margin:0;line-height:1.8}.empty-state .button{margin-top:19px}.labels-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:23px}.label-main{padding:30px}.section-number{font-size:9px;letter-spacing:2px;color:#6b7786;margin-bottom:18px}.label-main h2{font-size:21px;line-height:1.5}.muted{color:#6b7786;font-size:12px;line-height:1.9}.label-preview{display:flex;align-items:center;justify-content:center;gap:39px;background:#f4f6f9;border:1px solid #e5e9ef;border-radius:10px;padding:33px 20px;margin:30px 0}.sample-label{background:#fff;width:160px;height:184px;box-shadow:0 6px 20px #10121614;border:1px solid #e5e9ef;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:2px}.sample-label img{width:135px;height:135px;image-rendering:pixelated}.sample-label span{font:11px Consolas,monospace;margin-top:5px;color:#111}.preview-description .dimension{display:block;font-size:25px;letter-spacing:1px;color:#164d82;font-weight:550;margin-bottom:13px}.dimension small{font-size:11px;font-weight:400}.preview-description strong{font-size:12px;font-weight:600}.preview-description p{font-size:10px;color:#6b7786;line-height:1.9;margin:9px 0 15px}.pill{display:inline-block;font-size:8px;padding:5px 7px;background:#e5e9ef;color:#6b7786;border-radius:4px}.print-actions{display:flex;gap:10px;flex-wrap:wrap}.notice{background:#f4f6f9;border:1px solid #e5e9ef;border-radius:7px;padding:14px 17px;font-size:11px;color:#6b7786;line-height:1.9;margin-top:24px}.notice strong{font-size:11px;color:#4b596b;font-weight:600}.notice p{margin:5px 0 0}.batch-panel{padding:26px}.batch-panel h2{font-size:16px}.batch-panel form{margin-top:20px}.batch-panel label{font-size:11px;color:#6b7786}.number-input{display:flex;align-items:center;border:1px solid #e5e9ef;border-radius:7px;margin:10px 0 16px;padding-right:15px;color:#a3adba}.number-input input{min-width:0;border:0;border-radius:7px;width:100%;padding:13px;font-size:18px;color:var(--text);font-weight:550}.number-input span{font-size:11px}.full-width{width:100%}.subtle{font-size:10px;color:#6b7786;line-height:1.8}.subtle strong{color:#6b7786;font-weight:600}#batch-result{background:#eaf2fc;color:#164d82;border:1px solid #d4e3f7;padding:12px;border-radius:7px;font-size:11px;line-height:1.8;margin-top:12px}#batch-result a{color:#0066cc;text-decoration:underline}.steps-panel{margin-top:20px;padding:24px}.steps-panel h3{font-size:12px;margin:0 0 21px;font-weight:600}.steps-panel ol{list-style:none;padding:0;margin:0}.steps-panel li{display:flex;gap:12px;margin:0 0 20px}.steps-panel li:last-child{margin-bottom:0}.steps-panel li>span{border:1px solid #e5e9ef;color:#6b7786;background:#f4f6f9;font-size:9px;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.steps-panel strong{font-size:11px;font-weight:600}.steps-panel p{font-size:10px;color:#a3adba;margin:6px 0 0}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.data-card{padding:30px}.data-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:#eaf2fc;border:1px solid #e5e9ef;color:#0066cc;border-radius:9px;font-size:23px;margin-bottom:22px}.data-card h2{font-size:18px}.file-list{margin:22px 0}.file-list>div{padding:13px 0;border-bottom:1px solid #f4f6f9}.file-list dt{font:12px Consolas,monospace;color:#4b596b}.file-list dd{margin:6px 0 0;font-size:10px;color:#6b7786}.data-path{margin-top:30px;border-top:1px solid #f4f6f9;padding-top:20px}.data-path>span{display:block;font-size:10px;color:#6b7786;margin-bottom:10px}.data-path code{font:10px Consolas,"Microsoft YaHei",monospace;color:#6b7786;overflow-wrap:anywhere;line-height:1.8}.instructions-panel{margin-top:22px;padding:28px}.instruction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:25px}.instruction-grid>div>span{font-size:11px;display:block;color:#a3adba;margin-bottom:12px}.instruction-grid strong{font-size:12px;font-weight:600}.instruction-grid p{font-size:11px;color:#6b7786;line-height:1.9}.modal{padding:0;border:1px solid #e5e9ef;border-radius:16px;width:min(680px,calc(100vw - 32px));max-height:90vh;color:var(--text);box-shadow:0 22px 100px #090a0c30;overflow:auto}.modal::backdrop{background:#090a0c77;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:26px 28px 20px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px;margin-bottom:8px}.modal-header p{font-size:10px;color:#6b7786;margin:0;font-family:Consolas,monospace}.modal-close{border:1px solid var(--line);background:white;border-radius:50%;width:29px;height:29px;color:#6b7786;font-size:18px;line-height:1}.modal-body{padding:25px 28px}.modal-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbfd}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field{display:flex;flex-direction:column;gap:8px}.form-field.wide{grid-column:1/-1}.form-field label{font-size:11px;color:#4b596b;font-weight:550}.required{color:#b46b56;margin-left:3px}.optional{font-size:10px;color:#a3adba;margin-left:5px;font-weight:400}.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid #e5e9ef;padding:10px 12px;border-radius:6px;min-height:39px;font-size:12px;line-height:1.5;color:#283443;background:#fff}.form-field input::placeholder,.form-field textarea::placeholder{color:#a3adba}.form-field textarea{min-height:77px;resize:vertical}.form-field small{font-size:10px;color:#6b7786;line-height:1.7}.asset-summary{background:#f4f6f9;border:1px solid #e5e9ef;border-radius:8px;padding:15px;display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:10px}.asset-summary strong{display:block;font-size:13px;font-weight:600}.asset-summary p{font-size:10px;color:#6b7786;margin:7px 0 0}.summary-meta{font-size:10px;color:#6b7786;line-height:1.8;text-align:right}.form-notice{background:#f4f6f9;border-radius:7px;padding:11px 13px;font-size:10px;color:#6b7786;line-height:1.8;margin-bottom:20px}.form-error{background:#f4f6f9;border:1px solid #f1d5ce;color:#ac5b4b;padding:12px 14px;margin:0 0 18px;border-radius:7px;font-size:11px;line-height:1.7}.camera-box{border:1px dashed #d8dfe8;border-radius:9px;background:#fafbfd;padding:16px}.camera-actions{display:flex;gap:9px;flex-wrap:wrap}.camera-box p{font-size:10px;color:#6b7786;line-height:1.8;margin:10px 0 0}.camera-box video,.camera-box img{width:100%;max-height:260px;object-fit:contain;background:#161b22;border-radius:7px;margin-bottom:12px}.camera-box video{transform:scaleX(-1)}.camera-status{color:#9a8050!important}.radio-row{display:flex;gap:12px;margin-top:2px}.radio-label{display:flex;align-items:center;gap:7px!important;border:1px solid #e5e9ef;border-radius:7px;padding:11px 14px;font-weight:400!important}.radio-label input{width:auto;min-height:0;accent-color:var(--accent)}.details-hero{display:flex;gap:22px;align-items:center;margin-bottom:24px}.details-hero img{width:105px;height:105px;image-rendering:pixelated;border:1px solid #e5e9ef;border-radius:6px}.details-hero h3{font-size:21px;margin:0 0 12px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 20px;margin:0}.details-grid>div.wide{grid-column:1/-1}.details-grid dt{font-size:10px;color:#6b7786;margin-bottom:7px}.details-grid dd{font-size:12px;color:#4b596b;margin:0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.detail-section{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.detail-section h3{font-size:13px;margin:0 0 17px}.photo-preview{max-width:100%;max-height:300px;border-radius:8px;object-fit:contain;margin-top:8px}.mini-history{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #f4f6f9;font-size:11px;color:#6b7786;gap:10px}.mini-history strong{font-weight:500;color:#4b596b}.mini-history:last-child{border-bottom:0}.error-panel{background:#f4f6f9;border:1px solid #f1d0ca;padding:16px;border-radius:9px;color:#b25d4e;margin-bottom:20px;font-size:12px;line-height:1.8}.error-panel button{margin-left:12px}#toast{position:fixed;bottom:30px;left:calc(50% + 116px);transform:translate(-50%,20px);background:#111317;color:#ffffff;font-size:12px;border-radius:9px;padding:14px 24px;box-shadow:0 8px 25px #10121625;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:200;max-width:600px;line-height:1.7}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8f493f}.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}[hidden]{display:none!important}@media(min-width:1450px){.content{padding:40px 48px}.topbar{padding:0 48px}.stat-card{padding:22px 25px}.stat-value{font-size:39px}.scan-description{min-width:205px}.scan-form input{font-size:12px}td{padding-top:20px;padding-bottom:20px}}@media(max-width:1150px){.sidebar{width:200px;padding-left:15px;padding-right:15px}main{margin-left:200px}.content{padding:28px 25px}.topbar{padding:0 25px}.scan-description{min-width:150px}.scan-bar{gap:11px;padding:16px}.scan-description span{font-size:9px}kbd{display:none}.search-box input{width:180px}.stat-card{padding:18px}.labels-layout{grid-template-columns:1.3fr 1fr}.label-preview{gap:20px}.sample-label{width:130px;height:155px}.sample-label img{width:115px;height:115px}.preview-description .dimension{font-size:22px}#toast{left:calc(50% + 100px)}td,th{padding-left:16px;padding-right:16px}.button-row{flex-wrap:wrap}}@media(max-width:930px){.sidebar{width:76px;align-items:center;padding:24px 12px}.brand>span:last-child,.workspace-tag,.nav-title,.nav-count,.sidebar-bottom,.nav-item{font-size:0}.brand-symbol{font-size:28px}.brand-symbol span{font-size:18px}nav{margin-top:40px;width:100%}.nav-item{padding:14px;gap:0;justify-content:center}.nav-icon{font-size:23px}.nav-count{display:none}main{margin-left:76px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-value{font-size:30px}.scan-description{display:none}.panel-top{padding:18px}.filter-tabs{padding-left:18px}.search-box input{width:175px}.labels-layout{grid-template-columns:1fr}.data-grid{grid-template-columns:1fr}.label-preview{justify-content:flex-start;padding-left:40px}.label-main{padding:25px}.stat-label{font-size:10px}.stat-note{font-size:9px}#toast{left:calc(50% + 38px)}.instructions-panel{padding:23px}}@media(max-width:650px){.sidebar{width:58px;padding:20px 7px}.brand-symbol{width:33px;height:35px;font-size:24px}.brand-symbol span{font-size:15px;margin-top:6px}.nav-item{padding:14px 8px}main{margin-left:58px}.content{padding:23px 14px}.topbar{padding:0 15px;height:60px}.breadcrumb{font-size:10px;gap:8px}.clock{font-size:8px;gap:4px}.icon-button{margin-left:5px;width:24px;height:26px}.page-heading{flex-wrap:wrap;margin-bottom:20px;gap:17px}h1{font-size:24px}.subtitle{font-size:10px}.button{font-size:11px;padding:10px 12px}.stats-grid{grid-template-columns:1fr 1fr}.scan-bar{padding:12px;gap:8px}.scan-icon{display:none}.scan-form{gap:6px}.scan-form input{padding:10px;font-size:10px}.scan-form .button{padding:10px;font-size:10px}.scan-form .button span{display:none}.panel-top{flex-wrap:wrap;gap:14px}.inventory-tools{width:100%}.search-box{flex:1;min-width:100px}.search-box input{width:100%;min-width:50px}.inventory-tools select{max-width:96px;font-size:10px}.filter-tabs{gap:20px}.filter-tabs button{font-size:10px}.table-footer{padding:12px 14px}.label-main{padding:21px}.label-main h2{font-size:18px}.label-preview{padding:22px 13px;gap:19px}.preview-description .dimension{font-size:20px}.sample-label{width:120px;height:145px;flex-shrink:0}.sample-label img{width:108px;height:108px}.preview-description strong{font-size:11px}.pill{font-size:7px}.print-actions .button{width:100%}.data-card{padding:24px}.instruction-grid{grid-template-columns:1fr;gap:13px}.instruction-grid>div>span{margin-bottom:6px}.form-grid,.details-grid{grid-template-columns:1fr}.form-field.wide,.details-grid>div.wide{grid-column:auto}.modal-header,.modal-body{padding:21px}.modal-footer{padding:16px 21px}.summary-meta{max-width:150px}#toast{left:calc(50% + 29px);max-width:calc(100% - 95px);width:max-content}.clock>.status-dot{display:none}}

/* Identity references: https://urer.arch.tsinghua.edu.cn/css/theme.css */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:15px;letter-spacing:0}
.brand-logo{display:block;width:192px;max-width:100%;height:auto;object-fit:contain}
.brand-copy{display:block}.brand-title{display:block;font-size:17px;font-weight:600;line-height:1.45;letter-spacing:.3px;white-space:nowrap}
.brand-sub{font-size:10px;letter-spacing:2px;margin-top:5px;color:#b6bdc9}.brand-compact{display:none}
.workspace-tag{margin-top:23px;border-radius:5px}.workspace-tag>span:last-child{font-size:8px;letter-spacing:1px;color:#8b96a7}
.nav-title{margin-top:25px}.nav-item.active{box-shadow:0 3px 14px #0066cc20}.nav-item.active .nav-count{color:#fff}
.official-link{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#b6bdc9;margin-top:14px;padding:5px 0}
.official-link:hover{color:#fff}.version{font-size:7px;letter-spacing:.9px;gap:10px;margin-top:12px}.version span{white-space:nowrap}
.breadcrumb .breadcrumb-lab{color:#545e6b}.stat-note,.asset-code,.footnote,.subtle,.table-footer{font-size:11px}.search-box input{font-size:11px}
.form-field label,.form-field small,.form-notice,.notice,.muted{color:#545e6b}.form-notice,.notice{background:#f5f6f8}.stat-value{color:#161b22}
.button-primary{border-color:#0066cc}.button-primary:hover{border-color:#0055aa}.blank-stat .stat-value{color:#0066cc}
@media(max-width:1150px){.brand-logo{width:170px}.brand-title{font-size:16px}.brand-sub{font-size:9px}.version{font-size:6px}}
@media(max-width:930px){.brand{width:100%;align-items:center}.brand-logo,.brand-copy{display:none}.brand-compact{display:flex;align-items:center;justify-content:center;width:42px;height:42px;color:#fff;background:#0066cc;border-radius:6px;font-family:Georgia,serif;font-size:20px;letter-spacing:-1px}.workspace-tag,.nav-title,.sidebar-bottom{display:none}nav{margin-top:30px}.brand-sub{display:none}}
@media(max-width:650px){.brand-compact{width:34px;height:36px;font-size:17px}.breadcrumb-lab{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stat-note{font-size:10px}}

/* Cloud identity and account controls. */
.icp-footer{margin-top:14px;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.icp-footer a{color:#aeb9c9;text-decoration:none}.icp-footer a:hover{text-decoration:underline}.login-card .icp-footer{margin-top:28px;padding-top:18px;border-top:1px solid #e2e6ec;text-align:center;font-size:12px}.login-card .icp-footer a{color:#6b7786}
.unlock-card{width:min(440px,calc(100vw - 32px));padding:32px;background:#fff;border:1px solid #e2e6ec;border-radius:12px;box-shadow:0 12px 45px #12203b0d}.unlock-card h2{color:#17212e;font-size:22px}.unlock-card p{line-height:1.8}.unlock-card .form-field{margin:24px 0}.unlock-card .text-button{display:inline-block;margin-top:16px}.badge-pending{color:#95610d;background:#fff5df}.pending-time{display:block;color:#95610d;font-size:10px;margin-top:5px}.sync-pending{color:#95610d;background:#fff5df}.sync-error{color:#af3131;background:#fff0ef}.offline-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.offline-heading .button-row{flex-wrap:wrap;justify-content:flex-end;max-width:480px}.sync-compare{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sync-compare section{min-width:0}.sync-compare dd{white-space:pre-wrap;overflow-wrap:anywhere}.discard-confirm{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:13px;line-height:1.8}.discard-confirm input{margin-top:5px}.button-danger{background:#ac3535;color:#fff}.button-danger:disabled{opacity:.45;cursor:not-allowed}#offline-panel{margin-top:24px}#offline-panel h2{margin-top:0}#offline-panel .table-wrap{margin-top:20px}.offline-queue{min-width:650px}#offline-unlock-entry{margin-top:20px;padding-top:20px;border-top:1px solid #e2e6ec}#offline-unlock-entry:empty{display:none}.session-loading:has(.unlock-card){overflow:auto;padding:20px}.session-loading:has(.unlock-card)>form{flex-shrink:0}@media(max-width:700px){.offline-heading{display:block}.offline-heading .button-row{justify-content:flex-start}.sync-compare{grid-template-columns:1fr}.unlock-card{padding:24px}.session-loading:has(.unlock-card){align-items:flex-start;padding-top:12vh}}
.session-loading{display:none;position:fixed;inset:0;align-items:center;justify-content:center;gap:20px;background:#f5f6f8;color:#545e6b;z-index:500;font-size:14px}.session-loading a{color:#0066cc;text-decoration:underline}
.auth-pending .session-loading{display:flex}.auth-pending>.sidebar,.auth-pending>main{visibility:hidden}
.account-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.account-summary strong{font-size:12px;color:#f5f6f8;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-summary span{font-size:9px;color:#b6bdc9}.account-link{border:0;background:none;color:#b6bdc9;font-size:10px;padding:9px 0 0}.account-link:hover{color:white}.quit-button{margin-top:14px}.official-link{margin-top:8px}
.mobile-account{border:1px solid var(--line);background:#fff;color:#545e6b;border-radius:5px;font-size:10px;padding:6px 8px;margin-left:6px}.sync-status{font-size:10px;color:#0066cc;padding:4px 7px;background:#eaf2fc;border-radius:4px}
.accounts-panel{margin-top:24px}.account-help{padding:0 23px 12px;margin:0;color:#545e6b;font-size:12px;line-height:1.8}#users-error{margin:0 23px 15px}.form-field input[readonly]{background:#f5f6f8;color:#65707e;cursor:default}
.login-page{display:flex;min-height:100vh;background:#f5f6f8}.login-identity{width:48%;min-height:100vh;background:#090a0c;color:#fff;padding:48px 6vw;display:flex;flex-direction:column;justify-content:space-between}.login-identity img{width:300px;max-width:100%;height:auto}.login-identity .eyebrow{color:#aeb9c9;font-size:10px;line-height:1.8}.login-identity h1{font-size:27px;line-height:1.6}.login-tagline{font-size:42px;font-weight:500;line-height:1.4;letter-spacing:2px;margin:28px 0}.login-intro{color:#aeb9c9;font-size:13px;letter-spacing:1px}.login-footer{color:#748090;font-size:9px;letter-spacing:1.4px}.login-entry{flex:1;display:flex;align-items:center;justify-content:center;padding:50px 6vw}.login-card{width:100%;max-width:390px}.login-card h2{font-size:27px;margin:12px 0 16px}.login-card .muted{margin-bottom:32px}.login-card .form-field{margin-bottom:23px}.login-card .form-field label{font-size:13px;margin-bottom:9px}.login-card .form-field input{min-height:46px;font-size:14px;background:#fff}.login-card .button{min-height:46px;font-size:14px}.login-help{color:#6b7786;font-size:12px;line-height:1.8;margin-top:23px}.password-input{display:flex;position:relative}.password-input input{padding-right:62px}.password-input button{position:absolute;right:8px;top:8px;height:30px;border:0;background:none;color:#0066cc;font-size:12px;padding:0 9px}#login-error{margin-bottom:20px}
@media(max-width:930px){.login-identity{width:43%;padding:35px}.login-tagline{font-size:34px}.login-identity h1{font-size:22px}.login-entry{padding:35px}.login-identity .eyebrow{font-size:8px}}
@media(max-width:650px){.login-page{display:block}.login-identity{width:100%;min-height:0;padding:24px}.login-identity img{width:205px}.login-identity>div,.login-footer{display:none}.login-entry{padding:36px 24px}.login-card h2{font-size:25px}.clock{flex-wrap:wrap;justify-content:flex-end;max-width:155px;gap:4px}.sync-status{font-size:8px;padding:3px 5px}.mobile-account{font-size:9px;padding:4px 6px}.topbar{min-height:68px}.account-help{padding-left:18px;padding-right:18px}.accounts-panel .panel-top{align-items:center}.breadcrumb-lab{max-width:110px}}

/* Local production mode uses the same assets, with explicit storage labels. */
.deployment-notice{margin:0 0 22px;border-left:3px solid #0066cc}.deployment-notice strong{color:#0066cc}.deployment-notice p{margin:5px 0 0}.workspace-tag #workspace-name{font-size:11px;letter-spacing:0;color:#d8dfe8}.workspace-tag #workspace-mode{margin-left:auto}#migration-panel .button-row{margin-top:22px}.login-notice{color:#3d5d7c;background:#edf5fc;border-color:#c8dcec}
.local-cloud-sync{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #d5e1ee;border-radius:10px;padding:18px 22px;margin:0 0 24px}.local-cloud-sync p{margin:7px 0 0;color:#596677;font-size:12px;line-height:1.7}.local-cloud-sync strong{font-size:15px}.sync-warning{color:#975d0c}.local-cloud-sync .button{flex-shrink:0}#cloud-sync-items{margin-top:18px}@media(max-width:650px){.local-cloud-sync{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.local-cloud-sync .button{align-self:flex-start}}
.loan-feature-tabs{display:flex;gap:8px;margin:0 0 22px;border-bottom:1px solid #dce4ee}.loan-feature-tabs button{border:0;border-bottom:3px solid transparent;padding:13px 20px;background:transparent;color:#607086;font-size:14px;font-weight:600}.loan-feature-tabs button[aria-selected=true]{color:#0066cc;border-bottom-color:#0066cc}.device-query-panel{padding:24px;margin-bottom:24px;overflow:visible;position:relative;z-index:2}.device-query-panel h2{font-size:18px}.device-query-panel .muted{margin:10px 0 18px}.device-search-wrap{position:relative;width:min(660px,100%);min-width:0}.device-search-wrap .search-box{background:#fff;height:44px;min-width:0}.device-search-wrap .search-box input{flex:1;width:100%;font-size:13px;min-width:0}.device-search-wrap .search-box:focus-within{border-color:#8db9e9;box-shadow:0 0 0 2px #0066cc12}.device-search-clear{border:0;background:transparent;color:#637287;font-size:20px;width:26px;height:30px;padding:0;line-height:1;flex-shrink:0}.device-search-popup{position:absolute;left:0;top:calc(100% + 8px);width:100%;z-index:40;background:#fff;border:1px solid #cddcec;border-radius:10px;box-shadow:0 12px 34px #16294024;overflow:hidden}.device-search-summary{font-size:11px;line-height:1.7;color:#526276;margin:0;padding:12px 14px;border-bottom:1px solid #e9eef5;background:#f7faff}.device-search-results{max-height:420px;overflow-y:auto;overscroll-behavior:contain}.device-suggestion{display:flex;flex-direction:column;gap:6px;white-space:normal;width:100%;text-align:left;padding:14px 16px;border:0;border-bottom:1px solid #eff2f6;background:#fff;color:#283443}.device-suggestion:last-child{border-bottom:0}.device-suggestion:hover,.device-suggestion.active{background:#edf5ff}.device-suggestion-main{display:flex;gap:12px;align-items:center;justify-content:space-between}.device-suggestion-main strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.device-suggestion-status{font-size:10px;color:#35658a;white-space:nowrap;background:#eaf2fc;padding:3px 6px;border-radius:4px}.device-suggestion-meta,.device-suggestion-purpose,.device-suggestion-bottom{font-size:12px;line-height:1.6;color:#667589;overflow-wrap:anywhere}.device-suggestion-purpose{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.device-suggestion-bottom{display:flex;justify-content:space-between;gap:12px}.device-suggestion-bottom b{font-size:11px;font-weight:600;color:#0066cc;white-space:nowrap}.device-search-empty{margin:0;padding:22px 14px;color:#667589;font-size:12px;line-height:1.8}.device-search-keys{margin:0;padding:9px 14px;background:#fafbfd;border-top:1px solid #e9eef5;color:#738093;font-size:10px}@media(max-width:650px){.device-query-panel{padding:18px}.device-query-panel h2{font-size:16px}.loan-feature-tabs button{padding:12px 16px;font-size:13px}.device-search-results{max-height:350px}.device-suggestion{padding:12px}.device-suggestion-main strong{font-size:13px}.device-suggestion-bottom{flex-wrap:wrap}}

.device-search-scope-label{font-size:12px;color:#657488;margin-right:10px}.device-search-scope{margin-bottom:12px;min-width:130px}.device-suggestion-people{font-size:12px;line-height:1.7;color:#0066cc;overflow-wrap:anywhere}

.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){.stats-grid{grid-template-columns:1fr}.stat-value{margin-top:8px;margin-bottom:6px}}

.device-query-selects{display:grid;grid-template-columns:1fr 1.4fr;gap:14px;margin-bottom:14px}.device-query-selects>div{display:flex;flex-direction:column;gap:7px}.device-query-selects .device-search-scope{margin:0;width:100%}.device-date-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.device-date-filters>div{display:flex;flex-direction:column;gap:7px}.device-date-filters label{font-size:11px;color:#5b697a}.device-date-filters input{width:100%;min-width:0;border:1px solid #dfe6ee;border-radius:6px;background:#fff;padding:9px 7px;color:#38475b;font-size:12px}.device-filter-help{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:10px;font-size:10px;line-height:1.7;color:#748195}.device-filter-help .text-button{padding:0;white-space:nowrap}.device-search-wrap .form-error{margin-top:12px;margin-bottom:0}.device-suggestion-dates{font-size:11px;line-height:1.7;color:#546c83}.loan-table-help{font-size:11px;color:#718095;margin:0;padding:0 23px 18px}.download-source{color:#657488;font-size:12px;margin:0 0 20px}.download-source strong{font-weight:550;color:#35465b}.download-grid .data-card{display:flex;flex-direction:column;align-items:flex-start;min-height:265px}.download-grid .muted{flex:1;margin-bottom:23px}.download-note{color:#718095;font-size:11px;line-height:1.9;margin-top:20px}.utility-section{background:#fff;border:1px solid #e0e7ef;border-radius:10px;margin:20px 0}.utility-section>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:12px;padding:17px 20px;font-size:13px;font-weight:550;color:#35475c}.utility-section>summary::-webkit-details-marker{display:none}.utility-section>summary::before{content:'›';font-size:19px;color:#75859a;transition:transform .15s}.utility-section[open]>summary::before{transform:rotate(90deg)}.utility-section>summary span{font-size:11px;font-weight:400;color:#75859a;margin-left:auto}.utility-body{border-top:1px solid #e8edf3;padding:22px}.utility-body #offline-panel h2{font-size:16px}.admin-downloads{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:24px}.admin-downloads h3{font-size:15px;margin:0}.utility-body .accounts-panel{margin-top:0}.utility-body #migration-panel{border-top:1px solid #e8edf3;margin-top:24px;padding-top:16px}#local-cloud-sync{margin-bottom:12px}#cloud-sync-details{margin-top:0;margin-bottom:22px}#cloud-sync-details .utility-body{overflow-x:auto}@media(max-width:650px){.device-query-selects{grid-template-columns:1fr;gap:12px}.device-date-filters{grid-template-columns:1fr 1fr;gap:12px}.device-filter-help{flex-direction:column}.admin-downloads{grid-template-columns:1fr}.utility-section>summary{padding:15px}.utility-section>summary span{font-size:10px}.utility-body{padding:16px}.loan-table-help{padding-left:18px;padding-right:18px}.download-grid .data-card{min-height:235px}}
.data-upload{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;margin:22px 0}.data-upload h2{font-size:17px;margin:0 0 8px}.data-upload p{margin:6px 0;line-height:1.8}.upload-action{display:flex;align-items:center;gap:10px;flex-shrink:0}.upload-action>span{font-size:12px;color:#7b8490}.upload-action .button:disabled{opacity:1;background:#eef0f3;color:#9198a2;border-color:#dfe3e8;box-shadow:none;cursor:not-allowed}.restore-target{font-size:13px;color:#5a6c80}.restore-target strong{color:#0066cc}.restore-counts{margin:18px 0}.restore-counts th,.restore-counts td{padding:10px 12px;font-size:12px}.restore-warnings{font-size:12px;line-height:1.9;color:#84601d;padding-left:20px}.restore-confirm-check{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px;line-height:1.8}.restore-confirm-check input{margin-top:5px;flex-shrink:0}.restore-result-title{font-size:17px;font-weight:600}#restore-upload-form input[type=file]{width:100%;padding:10px 0;font-size:12px}#restore-upload-form .form-field,#restore-commit-form .form-field{margin-top:18px}@media(max-width:760px){.data-upload{flex-direction:column;align-items:stretch;padding:20px}.upload-action{flex-wrap:wrap}.upload-action .button{align-self:flex-start}}
.restore-target-note{font-size:12px;line-height:1.8;color:#536b86;background:#f3f7fc;border-radius:6px;padding:10px 12px}

/* Exact label scanning is available in both inventory and lending views. */
.scan-workspace{margin:0 0 24px}.scan-workspace .scan-bar{margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.scan-workspace .scan-description{max-width:250px}.scan-workspace .scan-description span{line-height:1.6;display:block}.serial-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #d4e3f7;border-top:0;border-radius:0 0 11px 11px;padding:11px 16px;font-size:11px;color:#657488}.serial-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.serial-actions .button{padding:7px 10px;font-size:11px}.serial-last{font-size:10px}.serial-last strong{font-family:Consolas,monospace;color:#365773}.serial-dialog{width:min(560px,calc(100vw - 32px))}.serial-dialog select{width:100%}.serial-dialog .modal-header p{font-family:inherit}.serial-dialog .notice{margin-top:18px}.scan-form input:focus{outline:2px solid #8db9e9;outline-offset:1px}@media(max-width:930px){.scan-workspace .scan-description{display:block;min-width:0;max-width:none}.scan-workspace .scan-bar{flex-wrap:wrap}.scan-workspace .scan-form{flex-basis:100%}.serial-toolbar{align-items:flex-start;flex-direction:column}.serial-actions{width:100%}.serial-last{margin-right:auto}}@media(max-width:650px){.scan-workspace .scan-description strong{font-size:13px}.scan-workspace .scan-description span{font-size:11px}.scan-workspace .scan-form input{font-size:11px;min-width:0}.serial-toolbar{padding:11px 12px}.serial-actions .button{font-size:10px}.serial-last{width:100%}}

.serial-close{border:1px solid var(--line);background:white;border-radius:50%;width:29px;height:29px;color:#6b7786;font-size:18px;line-height:1}

.scan-confirmation{display:flex;flex-direction:column;gap:7px;background:#eaf4ff;border:1px solid #b6d7fa;border-radius:8px;padding:15px 16px;margin-bottom:18px;color:#165b9b}.scan-confirmation strong{font-size:15px}.scan-confirmation span{font-size:12px;line-height:1.7}
