:root{--canvas:#F7F6F2;--ink:#202624;--muted:#5D675F;--green:#245B49;--green-hover:#194635;--pale:#EAF2ED;--line:#DDE2DC;--white:#fff;--red:#9B352E;--red-pale:#FBEEEA;--amber:#80501D;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.3;font-weight:650;letter-spacing:-.04em}h2{font-size:22px;line-height:1.4;font-weight:650;letter-spacing:-.02em}h3{font-size:17px;line-height:1.5;font-weight:600}p{overflow-wrap:anywhere}p+p{margin-top:10px}[hidden]{display:none!important}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:.015em}.muted,.helper{color:var(--muted)}.helper{font-size:12px;line-height:1.65}.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}.break-all{overflow-wrap:anywhere;word-break:break-all}.optional{color:var(--muted);font-weight:400;font-size:12px;margin-left:6px}
.site-header{height:64px;display:flex;align-items:center;gap:23px;padding:0 40px;border-bottom:1px solid var(--line)}.wordmark{position:relative;display:inline-flex;align-items:center;gap:13px;font-family:var(--sans);font-weight:750;font-size:18px;line-height:1;letter-spacing:.17em;text-decoration:none}.wordmark-rule{width:17px;height:13px;border-top:2px solid var(--green);border-bottom:2px solid var(--green);transform:skewY(-24deg);margin-left:-4px}.header-caption{font-size:12px;color:var(--muted);border-left:1px solid #cbd2ca;padding-left:22px;letter-spacing:.08em}.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.12em;color:var(--muted);margin-bottom:12px}.intro{margin-top:12px}.public-main{width:min(100% - 40px,500px);margin:64px auto 0;padding-bottom:30px}.section-heading{margin-bottom:24px}.service-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.service-state{font-size:12px;display:inline-flex;align-items:center;gap:8px;transition:color .18s ease}.service-state:before{content:"";width:6px;height:6px;border-radius:50%;background:#81897f;flex-shrink:0}.service-state.ready:before{background:var(--green)}.service-state.unready:before{background:var(--amber)}.status-note{margin:0 0 23px}.text-button{background:transparent;border:0;color:var(--green);font-size:12px;min-height:36px;padding:5px 0;text-decoration:underline;text-underline-offset:4px}.text-button:hover{color:var(--green-hover)}.text-button:disabled{color:var(--muted);text-decoration:none}.field{margin-bottom:20px}.field label{display:block;font-size:14px;font-weight:550;margin-bottom:7px}input:not([type=checkbox]),select{width:100%;min-height:48px;border:1px solid #BFC8BE;border-radius:8px;background:var(--white);padding:10px 13px;color:var(--ink);transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}input::placeholder{color:#737D73;opacity:1}input[aria-invalid=true]{border-color:var(--red)}input:disabled,select:disabled{background:#EFEEE9;color:#667065}input:focus,select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px #245b491f}.imei-input{font-size:17px;letter-spacing:.06em}.field .helper{margin-top:6px}.field-error{color:var(--red);font-size:12px;margin-top:5px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid #C7CEC4;border-radius:8px;background:var(--white);color:var(--ink);font-size:14px;font-weight:550;line-height:1.5;text-decoration:none;transition:background-color .12s ease,border-color .12s ease,transform .12s ease,box-shadow .12s ease}.button:hover:not(:disabled){background:#F0F2EC;border-color:#A7B3A3}.button:active:not(:disabled){transform:translateY(1px) scale(.985)}.button.primary{color:#fff;background:var(--green);border-color:var(--green)}.button.primary:hover:not(:disabled){background:var(--green-hover);border-color:var(--green-hover)}.button:disabled{background:#E7EAE3;border-color:#D4DBD0;color:#687363}.button.quiet{background:transparent;border-color:transparent;color:var(--muted);font-weight:400}.button.quiet:hover:not(:disabled){background:#ECEFE7;border-color:transparent;color:var(--ink)}.button.danger{border-color:#D9AFA5;color:var(--red);background:#FFF9F6}.button.danger:hover:not(:disabled){background:var(--red-pale);border-color:var(--red)}.full{width:100%;min-height:48px}.full+.full{margin-top:8px}.small{min-height:36px;font-size:12px;padding:7px 12px}.icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}:focus-visible{outline:3px solid #407D65;outline-offset:4px}h1:focus,h2:focus,h3:focus{outline:none}.device-plate{background:var(--pale);padding:18px 20px 15px;border-radius:10px;border-top:2px solid #799888;margin:23px 0 12px}.plate-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#425E4E;margin-bottom:20px}.plate-state{font-size:12px;color:var(--green)}.plate-label{font-size:12px;color:var(--muted);margin-bottom:7px;letter-spacing:.03em}.device-number{font-size:24px;line-height:1.45;letter-spacing:.035em;color:var(--ink);overflow-wrap:anywhere;min-height:35px}.plate-bottom{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#496251;border-top:1px solid #CCDCD0;padding-top:11px;margin-top:20px}.binding-note{color:var(--muted);font-size:12px;margin:12px 0 20px;line-height:1.8}.plate-details{margin:20px 0 0;border-top:1px solid #CCDCD0;padding-top:12px;font-size:13px}.plate-details>div{display:flex;gap:16px;justify-content:space-between;margin-top:6px}.plate-details dt{color:var(--muted)}.plate-details dd{margin:0;text-align:right;overflow-wrap:anywhere}.review-plate,.success-plate{margin-top:22px}.state-view>h2+.muted{margin-top:8px}.state-view:not([hidden]){animation:state-in .18s ease-out both}.success-plate{border-top-color:var(--green)}.help-block{margin-top:28px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted)}summary{cursor:pointer;min-height:30px;padding:4px 0;color:var(--ink)}.help-block>div{padding-top:10px;line-height:1.8}.page-footer{font-size:12px;color:var(--muted);margin-top:22px}.notice{border:1px solid #D9DCCD;background:#F1F2E9;border-radius:8px;padding:13px 15px;font-size:13px;line-height:1.75;margin-bottom:20px;color:#485343;overflow-wrap:anywhere}.notice.error{background:var(--red-pale);border-color:#E5CCC2;color:#853A30}.notice h2{font-size:17px;margin-bottom:8px}.notice .button{margin-top:14px}.notice p+p{margin-top:8px}.command{font-size:13px;overflow-wrap:anywhere}.toast{position:fixed;z-index:20;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(90vw,520px);background:var(--ink);color:#fff;border-radius:8px;padding:12px 18px;font-size:13px;box-shadow:0 4px 20px #2026241a;pointer-events:none}
/* 管理台：记录是主体，不放置虚构指标。 */
.admin-page{font-size:14px}.account-menu{margin-left:auto;display:flex;gap:24px;align-items:center;font-size:12px}.admin-main{max-width:1440px;margin:0 auto;padding:40px 56px 32px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.workspace-heading .eyebrow{margin-bottom:7px}.workspace-heading h1{font-size:28px}.workspace-heading>.button{min-width:124px}.admin-service{display:flex;align-items:center;gap:16px;margin-top:12px}.admin-service .text-button{min-height:30px}.toolbar{display:flex;align-items:center;gap:16px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.search-field{display:flex;gap:8px;width:min(100%,560px)}.search-field input{min-height:44px}.search-field .button{flex-shrink:0}.filter-field{display:flex;align-items:center;gap:10px;margin-left:auto}.filter-field>label{font-size:12px;color:var(--muted);white-space:nowrap}.filter-field select{min-height:44px;min-width:130px;width:auto;padding-right:30px}.toolbar>.button{flex-shrink:0}.list-caption{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 0 13px;font-size:12px;color:var(--muted)}.list-caption p+p{margin:0}.records-surface{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;min-height:330px}.records-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:13px}.records-table th{font-size:12px;font-weight:500;color:var(--muted);background:#F0F2EC;border-bottom:1px solid var(--line);padding:13px 20px}.records-table th:nth-child(1){width:20%}.records-table th:nth-child(2){width:22%}.records-table th:nth-child(3){width:12%}.records-table th:nth-child(4){width:19%}.records-table th:nth-child(5){width:20%}.records-table th:nth-child(6){width:7%;padding-left:0}.records-table td{padding:16px 20px;border-bottom:1px solid #E9ECE5;vertical-align:middle;overflow-wrap:anywhere}.records-table td:last-child{padding-left:0}.records-table tr:last-child td{border-bottom:0}.records-table tbody tr:hover{background:#FAFBF8}.record-label{font-weight:550}.record-time{display:block;font-family:var(--mono);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.record-time+.record-time{color:var(--muted);margin-top:2px}.row-action{font-size:12px;min-height:38px}.badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:5px;background:#EEF0E9;color:#5A6658;font-size:12px;font-weight:400;white-space:nowrap}.badge.bound{background:var(--pale);color:var(--green)}.badge.revoked{background:#F6ECE6;color:#87503C}.empty-state{min-height:330px;padding:70px 24px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.empty-state>p:first-child{font-size:17px;font-weight:550}.empty-state .muted{font-size:13px;margin-top:9px;max-width:400px}.empty-state .button{margin-top:20px}.list-footer{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-top:18px}.pagination{display:flex;align-items:center;gap:14px;flex-shrink:0}.pagination>span{font-size:12px;color:var(--muted);min-width:50px;text-align:center}.login-shell{max-width:420px;width:calc(100% - 40px);margin:100px auto 40px}.login-shell .intro{margin-bottom:32px}.login-shell .field{margin-top:26px}.login-footnote{padding-top:25px;margin-top:25px;border-top:1px solid var(--line)}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:500px;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--line);background:var(--canvas);color:var(--ink);padding:0;box-shadow:-12px 0 48px #20262412;overscroll-behavior:contain}.drawer::backdrop{background:#20262450}.drawer[open]{animation:drawer-in .25s cubic-bezier(.2,.65,.2,1) both}.drawer-inner{padding:30px 30px 40px}.drawer-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:28px}.drawer-header .eyebrow{margin-bottom:6px}.drawer-header .button{flex-shrink:0}.drawer p.muted{margin-bottom:24px}.drawer .field{margin-bottom:24px}.drawer .notice{margin-top:22px}.checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;margin-bottom:24px;cursor:pointer}.checkbox-label input{margin:4px 0 0;flex-shrink:0;width:18px;height:18px;accent-color:var(--green)}.checkbox-label:has(input:disabled){color:var(--muted)}#request-note{margin:0 0 14px}.delivery-heading h3{margin-top:14px;font-size:24px}.detail-list{margin:24px 0}.detail-list>div{padding:13px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:start}.detail-list dt{color:var(--muted);font-size:12px}.detail-list dd{margin:0;font-size:13px;overflow-wrap:anywhere}.detail-identity{background:var(--pale);border-top:2px solid #799888;border-radius:8px;padding:20px}.detail-identity h3{font-size:23px;overflow-wrap:anywhere;margin-bottom:14px}.danger-zone{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}.danger-zone>h3{font-size:15px}.danger-zone p{font-size:13px;color:var(--muted);margin:10px 0 18px}.danger-zone strong{font-weight:550;color:var(--ink)}.button-row{display:flex;justify-content:flex-end;gap:10px}.delivery-heading+.detail-list{margin-top:20px}#delivery-save-state{margin-top:10px}#revoke-confirmation{margin-top:22px;background:var(--red-pale);border-radius:8px;padding:18px}#revoke-confirmation h3{font-size:16px}body:has(dialog[open]){overflow:hidden}
.enter{animation:entry .35s ease-out both}.enter .section-heading{animation:entry .3s ease-out both}
@keyframes entry{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes state-in{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-in{from{opacity:.6;transform:translateX(22px)}to{opacity:1;transform:translateX(0)}}
@media(min-width:1500px){.public-main{margin-top:80px}}@media(max-width:1050px){.admin-main{padding:30px 28px}.records-table td,.records-table th{padding-left:13px;padding-right:13px}.records-table th:nth-child(1){width:18%}.records-table th:nth-child(2){width:20%}.records-table th:nth-child(4){width:22%}.records-table th:nth-child(6){width:8%}.toolbar{gap:12px}.search-field{width:50%}.filter-field{gap:7px}}
@media(max-width:760px){.site-header{height:56px;padding:0 20px;gap:17px}.header-caption{padding-left:16px}.public-main{margin-top:30px}.public-main h1{font-size:25px}.section-heading{margin-bottom:18px}.status-note{margin-bottom:21px}.device-number{font-size:22px}.device-plate{padding:16px 18px 14px}.plate-top{margin-bottom:16px}.plate-bottom{margin-top:16px}.field{margin-bottom:18px}.public-main .intro{font-size:14px}.public-main .help-block{margin-top:24px}.account-menu{gap:12px}.admin-header .header-caption{display:none}.admin-main{padding:22px 20px}.workspace-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-bottom:16px;gap:4px 12px}.workspace-heading>div{display:contents}.workspace-heading .eyebrow{grid-column:1/-1;grid-row:1}.workspace-heading h1{font-size:25px;grid-column:1;grid-row:2}.workspace-heading>.button{min-width:100px;margin-top:0;padding:10px 12px;grid-column:2;grid-row:2}.workspace-heading .admin-service{grid-column:1/-1;grid-row:3}.workspace-heading .helper{max-width:none;grid-column:1/-1;grid-row:4}.admin-service{flex-wrap:wrap;gap:0 12px;margin-top:4px}.toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}.search-field{grid-column:1/-1;width:100%}.filter-field{margin-left:0}.filter-field select{width:100%;min-width:0;flex:1}.filter-field label{font-size:12px}.list-caption{align-items:flex-start;flex-direction:column;gap:3px;padding:12px 0 10px}.records-surface{min-height:280px}.records-table,.records-table tbody{display:block;width:100%}.records-table thead{display:none}.records-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:16px;border-bottom:1px solid var(--line)}.records-table tr:last-child{border-bottom:0}.records-table td{display:block;padding:0;border:0;min-width:0}.records-table td:nth-child(1){grid-row:1;grid-column:1;font-size:15px}.records-table td:nth-child(3){grid-row:1;grid-column:2;justify-self:end}.records-table td:nth-child(2){grid-row:3;grid-column:1;color:var(--muted);font-size:12px}.records-table td:nth-child(2):before{content:"批次 · ";font-family:var(--sans)}.records-table td:nth-child(4){grid-row:2;grid-column:1;font-size:13px}.records-table td:nth-child(4):before{content:"IMEI · ";font-family:var(--sans);font-size:12px;color:var(--muted)}.records-table td:nth-child(5){grid-row:4;grid-column:1}.record-time{display:inline;font-size:12px}.record-time+.record-time{margin-left:8px}.records-table td:nth-child(6){grid-row:2/5;grid-column:2;align-self:end}.row-action{min-width:44px;min-height:44px}.empty-state{min-height:280px;padding:50px 24px}.list-footer{flex-direction:column;align-items:stretch;gap:18px}.pagination{justify-content:space-between}.pagination .button{min-height:44px}.login-shell{margin-top:64px}.drawer{width:100%;border-left:0}.drawer-inner{padding:24px 20px 36px}.drawer-header{margin-bottom:25px}.detail-list>div{grid-template-columns:90px minmax(0,1fr);gap:12px}.toast{bottom:18px;width:max-content}.list-caption .helper{font-size:12px}.text-button{min-height:44px}.admin-service .text-button{min-height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
