:root{--ink:#1a304d;--blue:#2761d9;--pale:#edf3ff;--muted:#60738b;--line:#dfe7f1;--paper:#f4f7fb;--red:#ad404c;--green:#21745d;--shadow:0 4px 20px #172d4906;--space:8px;--radius:12px;color-scheme:light}
.store-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:25px}.store-dialog .drawer-head{padding:0 0 18px}.store-dialog form{margin-bottom:20px}.store-dialog .field{margin-top:0}.store-code-card,.store-binding>div{border:1px solid var(--line);border-radius:10px;background:#fff;padding:13px}.store-code-card{background:var(--pale);border-color:#c9d9fb;margin-bottom:12px}.store-code-card span,.store-binding span{display:block;color:var(--muted);font-size:12px}.store-code-card strong{display:block;font-family:ui-monospace,Consolas,monospace;font-size:28px;letter-spacing:8px;color:var(--blue);margin:6px 0}.store-code-card small,.store-binding strong{display:block;font-size:12px;margin-top:4px;overflow-wrap:anywhere}.store-binding{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.store-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 18px}.store-photos img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f8fd;border:1px solid var(--line);border-radius:8px}.quote-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafd;border:1px solid var(--line);border-radius:10px;padding:11px 13px;margin:15px 0}.quote-progress strong{font-size:12px;color:var(--blue)}.quote-progress span{font-size:12px;color:var(--muted);text-align:right}.quote-grid-head.per-photo,.quote-line.per-photo{grid-template-columns:38px minmax(0,1fr) 50px 86px 52px}.quote-line.per-photo.skipped{background:#f4f6f9;border-radius:8px;padding:4px}.quote-line.per-photo.skipped input{background:#f2f4f8;color:#8595ac}.photo-skip{border:1px solid #d7e0ec;background:#fff;border-radius:7px;color:#65788f;font-size:12px;padding:7px 4px;white-space:nowrap}.photo-skip:hover{color:var(--blue);border-color:#b9cbe9}

.inspection-results{display:grid;gap:10px}.inspection-result{display:grid;grid-template-columns:38px minmax(0,1fr);gap:6px 10px;align-items:start;border:1px solid var(--line);border-radius:10px;padding:12px}.inspection-result>div{min-width:0}.inspection-result strong{display:block;font-size:12px}.inspection-result small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.result-choice{grid-column:2;display:flex;flex-wrap:wrap;gap:8px 12px;font-size:12px;margin-top:8px}.result-choice label{white-space:nowrap}.result-choice input{margin-right:3px}.reprice-amount{grid-column:2;min-width:0;margin-top:2px;font-size:12px;border:1px solid #d3ddea;border-radius:7px;padding:8px}[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;background:var(--paper);color:var(--ink);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8bb2ff;outline-offset:3px}button{transition:background .15s,border-color .15s}input,select,textarea{color:var(--ink)}input:read-only{background:#f3f6fa;color:#62728a}input[type=checkbox]{accent-color:var(--blue)}.icon{width:19px;height:19px;flex:none;vertical-align:middle}.mono,.price,.quote-total strong,.settlement-total strong{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;letter-spacing:-.3px}.loading{padding:40px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:1px;color:var(--muted)}.muted,.meta{color:var(--muted);font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:9px;padding:9px 14px;font-weight:650;font-size:13px;min-height:38px}.btn:hover{background:#2454c4}.btn.secondary{background:#fff;color:#536781;border-color:var(--line)}.btn.secondary:hover{background:#f2f6fd;border-color:#b9cbe9}.btn.danger{background:#b94f5a;border-color:#b94f5a;color:white}.wide{width:100%;min-height:44px}.text-btn{border:0;background:transparent;color:var(--blue);font-size:12px;padding:7px 0;cursor:pointer}.icon-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:9px;color:var(--muted);flex:none}.icon-btn:hover{background:#f3f6fb}.error,.action-error{color:var(--red);font-size:12px}.action-error{white-space:pre-wrap;margin:12px 0;min-height:18px}.empty{padding:48px 24px;text-align:center;color:var(--muted)}.empty .btn{display:block;margin:20px auto 0}.field{display:block;margin:16px 0}.field>span{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.field small{color:var(--muted);font-weight:400;margin-left:5px}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #d3ddea;padding:10px 12px;border-radius:8px;background:#fff}.field textarea{min-height:94px;resize:vertical;line-height:1.6}.field input:focus,.field textarea:focus{border-color:var(--blue)}.field input[type=checkbox]{width:auto;display:inline}.check-field{display:flex;align-items:center;gap:8px;margin:20px 0;font-size:12px}.actions{display:flex;gap:10px;align-items:center;margin-top:24px}.banner{display:flex;align-items:center;gap:10px;color:#8c683e;background:#fff7ec;border:1px solid #f2e6d4;border-radius:10px;font-size:12px;padding:11px 15px;margin:22px 0}.demo-tag{background:#f4e4cc;border-radius:4px;padding:2px 5px;font-size:12px;font-weight:750;letter-spacing:.5px}
/* 品牌与导航：鲸鱼贴纸配轻量工作台。 */
.shell{min-height:100vh;display:grid;grid-template-columns:220px minmax(0,1fr)}.nav{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;padding:0 6px}.brand img{width:48px;height:48px;object-fit:contain}.brand strong{display:block;font-size:18px;letter-spacing:1px}.brand small{font-size:12px;color:var(--muted);letter-spacing:1px}.nav-caption{color:#96a2b3;font-size:12px;letter-spacing:1px;margin:44px 14px 13px}.nav-link{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;background:transparent;border:0;border-radius:10px;text-align:left;color:#63738b;margin:4px 0;font-size:13px;font-weight:600}.nav-link:hover{background:#f4f7fc}.nav-link.active{color:var(--blue);background:var(--pale)}.nav-count{margin-left:auto;background:white;color:var(--blue);padding:0 6px;border-radius:5px;font-size:12px}.nav-foot{margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.nav-foot p{line-height:1.8}.live-dot{display:inline-block;width:6px;height:6px;background:#41a586;border-radius:50%;margin-right:5px}.main{padding:32px clamp(20px,3vw,48px);width:100%;max-width:1660px;margin:0 auto}.head{display:flex;align-items:center;justify-content:space-between;gap:20px}.head h1{font-size:28px;font-weight:750;letter-spacing:-.5px;margin:7px 0 5px}.head p{font-size:12px;color:var(--muted);margin:0}.tools{display:flex;align-items:center;gap:10px}.account-label{font-size:12px;color:var(--muted);padding-right:12px}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:24px 0}.stat-card{display:flex;align-items:center;gap:12px;min-height:102px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 16px;color:var(--ink);text-align:left;box-shadow:var(--shadow)}.stat-card.active{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.stat-card>.icon{width:14px;height:14px;margin-left:auto;color:#a6b2c3}.stat-icon,.action-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;color:var(--tone-ink,#2d62de);background:var(--tone-bg,#edf3ff);flex:none}.stat-icon .icon{width:22px;height:22px}.stat-copy{display:flex;flex-direction:column;gap:2px}.stat-copy>span{font-size:12px;color:var(--muted)}.stat-copy strong{font-size:27px;font-weight:750;line-height:1.3}.tone-blue{--tone-ink:#2d62de;--tone-bg:#edf3ff}.tone-teal{--tone-ink:#2a8b92;--tone-bg:#eaf7f8}.tone-purple{--tone-ink:#9370c0;--tone-bg:#f4effb}.tone-green{--tone-ink:#267c65;--tone-bg:#e8f7f1}.tone-red{--tone-ink:#b94f5a;--tone-bg:#fff0f1}.tone-amber{--tone-ink:#aa7a29;--tone-bg:#fff7e6}.tone-neutral{--tone-ink:#7a899e;--tone-bg:#f0f3f8}
/* 订单分类、列表与分页。 */
.list-panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 24px 8px;gap:12px}.list-heading>div{display:flex;align-items:baseline;gap:13px}.list-heading h2{font-size:17px;margin:0;font-weight:700}.list-heading span{color:var(--muted);font-size:12px}.tabs{display:flex;gap:24px;padding:0 24px;margin-top:8px;border-bottom:1px solid var(--line);overflow:auto}.tab{position:relative;display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:15px 0;color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600}.tab span{font-size:12px;background:#f2f5fa;border-radius:5px;min-width:19px;padding:0 5px}.tab.active{color:var(--blue)}.tab.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--blue);border-radius:3px 3px 0 0}.tab.active span{background:var(--pale)}.filters{display:flex;align-items:center;gap:12px;padding:18px 24px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;flex:1;max-width:460px;color:#9cacc0;padding:0 12px;min-height:38px}.search-field input{border:0;background:transparent;min-width:0;width:100%;font-size:12px;padding:9px 0;outline-offset:0}.filters select,.pagination select{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#64758d;font-size:12px}.filters .text-btn{margin-left:auto;white-space:nowrap}.table-scroll{overflow:auto}.order-table{width:100%;border-collapse:collapse;min-width:890px}.order-table th{text-align:left;font-size:12px;color:#7d8c9f;background:#f8fafd;padding:13px 16px;font-weight:600;white-space:nowrap}.order-table td{padding:19px 16px;border-bottom:1px solid #eef2f7;vertical-align:middle;font-size:12px}.order-table th:first-child,.order-table td:first-child{padding-left:24px}.order-table th:last-child,.order-table td:last-child{padding-right:24px}.goods-column{width:34%}.operation-column{width:140px}.order-row:hover{background:#fafcff}.order-row.selected{background:#f1f6ff}.goods-cell{display:flex;align-items:center;gap:13px;min-width:230px}.goods-cell>div{min-width:0}.cover-button{width:58px;height:58px;position:relative;flex:none;border:1px solid var(--line);border-radius:10px;padding:0;background:#f4f7fc;overflow:hidden;display:grid;place-items:center}.cover-button img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.cover-placeholder{font-size:12px;color:#94a4b9}.order-title{border:0;background:transparent;padding:0;text-align:left;color:var(--ink);font-size:13px;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:325px;line-height:1.55}.order-id{font-family:ui-monospace,Consolas,monospace;font-size:12px!important;letter-spacing:-.1px}.order-table small{display:block;color:var(--muted);font-size:12px;margin-top:5px;max-width:190px;line-height:1.5;overflow-wrap:anywhere}.order-table .goods-cell small{max-width:330px}.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600;color:var(--tone-ink);background:var(--tone-bg);white-space:nowrap}.status-badge>span{width:5px;height:5px;border-radius:50%;background:var(--tone-ink)}.price{font-size:14px;white-space:nowrap}.date-cell{font-size:12px!important;color:var(--muted);white-space:nowrap}.row-action{white-space:nowrap;font-size:12px;min-height:34px;padding:7px 10px}.row-action .icon{width:13px;height:13px}.list-message:not(:empty){padding:36px 24px;text-align:center;color:var(--muted);font-size:12px}.list-message.error{color:var(--red)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 24px;color:var(--muted);font-size:12px}.pagination>div{display:flex;align-items:center;gap:10px}.pagination select{padding:5px}.pagination .btn{font-size:12px;padding:6px 11px;min-height:30px}
/* 单笔订单：照片与处理表单并排，历史按需查看。 */
dialog{border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 30px 100px #10274830;padding:0;max-height:calc(100dvh - 40px)}dialog::backdrop{background:#172d496b;backdrop-filter:blur(3px)}.order-dialog{width:min(1020px,calc(100vw - 48px));height:min(860px,calc(100dvh - 40px));margin:auto;overflow:hidden}.order-dialog[open]{display:flex;flex-direction:column}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:23px 28px 15px;gap:16px;flex:none}.drawer-head h2{font-size:20px;margin:5px 0 0;line-height:1.45;max-width:880px}.detail{overflow:auto;flex:1;padding:0 28px 24px}.detail-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:14px}.detail-meta .text-btn{font-size:12px;padding:0;color:#7c8da5}.detail-meta .icon{width:12px;height:12px}.process-steps{display:flex;margin:18px 0 24px;padding:15px 0;background:#f8fafd;border-radius:10px;list-style:none}.process-steps li{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;color:#9aa8b9}.process-steps li:after{content:'';position:absolute;top:13px;left:calc(50% + 18px);width:calc(100% - 36px);height:1px;background:#dce4f0}.process-steps li:last-child:after{display:none}.process-steps li>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #dde5f0;background:#fff;font-size:12px}.process-steps .done{color:#6386cb}.process-steps .done>span{background:#edf3ff;border-color:#cfddf6}.process-steps .current{font-weight:700;color:var(--blue)}.process-steps .current>span{background:var(--blue);color:#fff;border-color:var(--blue)}.detail-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.detail-tabs button{border:0;background:transparent;padding:12px 0;color:var(--muted);font-size:12px;position:relative}.detail-tabs span{font-size:12px;margin-left:5px}.detail-tabs .active{color:var(--blue);font-weight:650}.detail-tabs .active:after{content:'';position:absolute;bottom:-1px;height:2px;left:0;right:0;background:var(--blue)}.drawer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:28px}.drawer-grid[hidden]{display:none}.review-column{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-heading h3,.sub-title{font-size:13px;font-weight:650;margin:0}.section-heading span{font-size:12px;color:var(--muted)}.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.photo-tile{height:75px;position:relative;border:1px solid var(--line);border-radius:9px;background:#f5f8fd;color:#8595ac;font-size:12px;padding:0;overflow:hidden}.photo-tile:first-child{grid-column:span 4;height:220px}.photo-tile img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#f4f7fc}.reference-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:21px 0;padding:17px;background:#f8fafd;border-radius:10px}.reference-info span{display:block;color:var(--muted);font-size:12px}.reference-info strong{display:block;font-size:12px;margin-top:5px;font-weight:650}.user-note{font-size:12px;margin:18px 0}.user-note>span{color:var(--muted);font-size:12px}.user-note p{white-space:pre-wrap;margin:5px 0;line-height:1.7;overflow-wrap:anywhere}.sub-title{margin:20px 0 12px}.item-list>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:12px;border-bottom:1px solid var(--line);padding:10px 0}.item-list small{width:100%;color:var(--muted);font-size:12px}.accepted-box{border:1px solid #cce8de;background:#f3fbf8;border-radius:10px;padding:15px;margin-top:20px}.accepted-box h3{font-size:12px;margin:0}.accepted-box p{font-size:12px;color:#669281;margin:4px 0 12px}.accepted-box>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:10px}.accepted-total{padding-top:10px;border-top:1px solid #d6eae2}.more-info{margin-top:20px;font-size:12px}.more-info summary{cursor:pointer;color:var(--muted);padding:10px 0}.more-info dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;margin:10px 0}.more-info dt{color:var(--muted);font-size:12px}.more-info dd{margin:0;font-size:12px;overflow-wrap:anywhere}.action-column{min-width:0;border-left:1px solid var(--line);padding-left:26px}.action-heading{display:flex;align-items:center;gap:11px;margin-bottom:20px}.action-heading h3{font-size:15px;margin:0 0 4px}.action-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.form-hint{padding:12px 14px;background:#f5f8fc;border-radius:8px;font-size:12px;color:#75879f;margin:14px 0;line-height:1.7}.segmented{display:flex;gap:4px;padding:4px;background:#f1f4f9;border-radius:8px;margin:15px 0}.segmented button{flex:1;border:0;background:transparent;color:var(--muted);font-size:12px;padding:8px 4px;border-radius:6px;white-space:nowrap}.segmented .active{color:var(--blue);font-weight:650;background:#fff;box-shadow:0 2px 5px #172d490a}.quote-grid-head,.quote-line{display:grid;grid-template-columns:minmax(0,1fr) 52px 93px 23px;gap:7px;align-items:center}.quote-grid-head{color:var(--muted);font-size:12px;padding:8px 0}.quote-grid-head:has(span:last-child:nth-child(3)),.quote-line.locked{grid-template-columns:minmax(0,1fr) 52px 93px}.quote-line{margin:7px 0}.quote-line input{width:100%;min-width:0;font-size:12px;border:1px solid #d3ddea;padding:9px 7px;border-radius:7px}.quote-line input[type=number]{appearance:textfield}.quote-line input::-webkit-inner-spin-button{appearance:none}.line-remove{border:0;background:#f5f7fc;border-radius:5px;color:#8b9bb0;width:23px;height:29px;padding:0}.add-line{font-size:12px;padding:10px 0}.quote-total{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#edf3ff;border-radius:10px;padding:16px;margin:14px 0 20px}.quote-total span{font-size:12px}.quote-total small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.quote-total strong{font-size:23px;color:var(--blue);white-space:nowrap}.settlement-total{background:#edf9f3;border:1px solid #d6ecdf;border-radius:12px;padding:24px;text-align:center;margin:20px 0}.settlement-total span,.settlement-total small{display:block;font-size:12px;color:#6c9887}.settlement-total strong{display:block;font-size:35px;color:#267c65;margin:6px 0}.waiting-box{text-align:center;padding:27px 18px;border:1px dashed #d5dfec;border-radius:12px;background:#fbfcfe}.waiting-box .action-icon{margin:auto;width:50px;height:50px}.waiting-box h3{font-size:16px;margin:15px 0 8px}.waiting-box p{font-size:12px;color:var(--muted);line-height:1.9}.settled-record strong{display:block;color:var(--green);font-size:30px;margin:20px 0 3px}.settled-record span,.settled-record small{display:block;font-size:12px;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}.logistics-card{padding:16px;background:#f3f7fd;border-radius:10px;margin:20px 0;font-size:12px}.logistics-card span{display:block;color:var(--muted)}.logistics-card strong{display:block;font-family:ui-monospace,monospace;font-size:14px;margin-top:6px;overflow-wrap:anywhere}.logistics-card p{color:var(--muted);margin-bottom:0}.drawer-foot{padding:16px 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none;background:#fbfcfe}.drawer-foot>span{font-size:12px;color:var(--muted)}.quote-record{border:1px solid var(--line);border-radius:12px;padding:20px;margin:16px 0}.quote-record header{display:flex;align-items:center;justify-content:space-between}.quote-record h3{font-size:25px;margin:5px 0 0;color:var(--blue)}.quote-record p{font-size:12px;white-space:pre-wrap}.quote-record small{font-size:12px;color:var(--muted)}.quote-record-items{background:#f7f9fc;padding:12px 15px;border-radius:8px;margin:15px 0}.quote-record-items>div{display:flex;justify-content:space-between;gap:20px;font-size:12px;padding:6px 0}.timeline{padding:5px 0;list-style:none}.timeline li{display:flex;gap:16px;position:relative;padding:0 0 25px}.timeline li:before{position:absolute;content:'';left:5px;top:10px;bottom:0;border-left:1px solid #d8e3f2}.timeline li:last-child:before{display:none}.timeline-dot{width:11px;height:11px;background:#d7e4f9;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #c7d8f0;flex:none;margin-top:5px}.timeline strong{font-size:12px;margin-right:12px}.timeline span:not(.timeline-dot){font-size:12px;color:var(--blue)}.timeline small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.timeline p{font-size:12px;color:#65768d;margin:8px 0;white-space:pre-wrap}.next-action{padding:14px 16px;background:var(--tone-bg);color:var(--tone-ink);border-radius:9px;font-size:12px;margin:20px 0}
/* 确认、照片预览与原有管理功能。 */
.confirm-dialog{width:min(420px,calc(100vw - 40px));padding:28px}.confirm-symbol{display:grid;place-items:center;width:42px;height:42px;color:var(--blue);background:var(--pale);border-radius:12px}.confirm-dialog h2{font-size:19px;margin:18px 0 12px}.confirm-dialog p{color:#687a94;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.confirm-dialog .actions{justify-content:flex-end}.photo-dialog{width:min(1040px,calc(100vw - 40px));padding:20px;background:#f5f7fb}.photo-dialog>.icon-btn{margin-left:auto}.photo-dialog>img{display:block;max-width:100%;max-height:calc(100dvh - 190px);margin:15px auto;object-fit:contain}.photo-controls{display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px;color:var(--muted)}.toast{position:fixed;right:24px;bottom:24px;background:#172d49;color:white;padding:13px 20px;border-radius:10px;font-size:12px;box-shadow:0 6px 22px #19345b30;z-index:9999;max-width:calc(100vw - 48px)}.extra-panel{width:min(800px,calc(100vw - 40px));padding:25px;overflow:auto}.extra-panel .head{margin-bottom:20px}.extra-panel .head h2{font-size:20px;margin:0}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.settings-fields .field.long{grid-column:span 2}.extra-panel .banner{display:block;line-height:1.8}.extra-panel .meta{line-height:1.8}.withdraw-card{border:1px solid var(--line);border-radius:12px;padding:20px;margin:14px 0}.withdraw-card strong{font-size:19px;color:var(--blue)}.withdraw-card small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.withdraw-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.withdraw-form .field{flex:1;margin-bottom:0}.withdraw-form .btn{margin-top:12px}.nav-extra{margin-top:8px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) 390px;max-width:1080px;margin:auto;gap:70px;align-items:center;padding:50px}.login-brand>img{width:95px;height:95px;object-fit:contain}.login-brand .eyebrow{color:#5779b8;margin-top:16px}.login-brand h1{font-size:39px;line-height:1.5;letter-spacing:-1px;margin:15px 0}.login-brand p{font-size:13px;color:var(--muted);line-height:1.9}.login-flow{display:flex;align-items:center;gap:8px;font-size:12px;color:#6482b6;margin-top:30px}.login-flow span{color:#aebed5;margin:0 4px}.login-card{background:white;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 20px 80px #172d490a}.login-card h2{font-size:24px;margin:8px 0}.login-card p{font-size:12px;color:var(--muted);margin-bottom:24px}.login-card .error{color:var(--red);min-height:18px;margin:12px 0}.login-card .field{margin:24px 0}
@media(min-width:1550px){.order-table th,.order-table td{padding-left:22px;padding-right:22px}.order-title{max-width:430px}.goods-column{width:37%}}
@media(max-width:1180px){.shell{grid-template-columns:180px minmax(0,1fr)}.nav{padding:25px 12px}.brand{gap:5px}.brand strong{font-size:16px}.brand img{width:42px}.main{padding:25px 20px}.stat-card{padding:15px 10px;gap:8px}.stat-icon{width:32px;height:32px}.stats{gap:10px}.stat-card>.icon{display:none}.account-label{display:none}.filters{flex-wrap:wrap}.search-field{max-width:none;flex-basis:40%}.order-dialog{width:calc(100vw - 40px);margin:auto}.drawer-grid{gap:24px}}
@media(max-width:760px){.shell{display:block}.nav{position:static;height:auto;flex-direction:row;align-items:center;gap:15px;padding:12px 16px;border-bottom:1px solid var(--line);border-right:0;overflow:auto}.brand{flex:none}.brand img{width:35px;height:35px}.brand strong{font-size:14px}.brand small{display:none}.nav-caption,.nav-foot{display:none}.nav-links{display:flex;align-items:center;gap:5px}.nav-link{white-space:nowrap;width:auto;font-size:12px;padding:9px}.nav-link .icon{display:none}.main{padding:20px 14px}.head{align-items:flex-start;gap:8px}.head h1{font-size:23px}.head .eyebrow{font-size:12px}.head p{font-size:12px}.tools{gap:5px}.tools .btn{font-size:12px;padding:7px}.tools .icon{width:15px;height:15px}.stats{display:flex;overflow:auto;padding:2px 1px 8px;gap:10px}.stat-card{min-width:142px;min-height:88px;flex:none}.stat-copy strong{font-size:24px}.list-heading{padding:18px 16px 8px}.list-heading>div{display:block}.list-heading h2{font-size:15px}.sync-time{display:none}.tabs{padding:0 16px;gap:18px}.filters{padding:14px 16px;gap:8px}.search-field{flex-basis:100%}.filters select{font-size:12px;padding:8px;max-width:47%}.filters .text-btn{margin-left:0;font-size:12px}.pagination{padding:16px;flex-wrap:wrap}.pagination>div{width:100%;justify-content:space-between}.order-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);margin:auto}.drawer-head{padding:18px}.drawer-head h2{font-size:17px}.detail{padding:0 18px 20px}.detail-meta{gap:8px;font-size:12px}.detail-meta .mono{font-size:12px}.drawer-grid{grid-template-columns:1fr;gap:24px}.action-column{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.photo-tile:first-child{height:200px}.drawer-foot{padding:12px 18px}.drawer-foot>span{display:none}.drawer-foot .btn{margin-left:auto}.settings-fields{display:block}.extra-panel{padding:20px}.extra-panel .head h2{font-size:17px}.withdraw-form{display:block}.withdraw-form .field{margin-bottom:14px}.login-wrap{display:block;padding:35px 20px;max-width:430px}.login-brand h1,.login-brand p,.login-flow{display:none}.login-brand{display:flex;align-items:center;gap:12px;margin:0 0 25px}.login-brand>img{width:55px;height:55px}.login-brand .eyebrow{margin:0}.login-card{padding:25px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
/* 当前操作固定在底部，照片与长清单滚动时仍能提交。 */
.drawer-foot #footer-submit{margin-left:auto;flex:none}.drawer-foot #footer-submit[hidden]{display:none}.drawer-foot #footer-submit + .btn{flex:none}.drawer-foot>span{min-width:0}.drawer-foot:has(#footer-submit:not([hidden]))>span{max-width:35%}
@media(max-width:760px){.drawer-foot{gap:8px}.drawer-foot #footer-submit{min-width:0;white-space:normal;max-width:72%;font-size:12px}.drawer-foot #footer-submit + .btn{margin-left:0;font-size:12px;padding:8px}.drawer-foot #footer-submit + .btn .icon{display:none}}

.evidence-field,.published-evidence,.payment-feedback{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#dce7e6)}.evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.evidence-photo{width:100%;height:96px;border:1px solid #dbe5e8;background:#f0f6f7;border-radius:10px;overflow:hidden;padding:0;cursor:zoom-in}.evidence-photo img{width:100%;height:100%;object-fit:cover}.evidence-upload{display:block;position:relative;padding:12px;border:1px dashed #79a8bd;border-radius:10px;text-align:center;background:#eff8fa;cursor:pointer}.evidence-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.evidence-field>small,.evidence-grid small{display:block;color:#687d88;font-size:12px;margin:8px 0}.return-address-card{background:#e9f5f4;border:1px solid #bfdcda;border-radius:14px;padding:18px;margin:20px 0}.return-address-card span,.return-address-card strong{display:block}.return-address-card strong{font-size:17px;margin-top:10px}.return-address-card p{line-height:1.6}.return-address-card small{color:#526f7a}.feedback-flag{display:inline-block;background:#fff0e6;color:#a4542f;padding:5px 8px;border-radius:6px;font-size:12px;margin-top:6px}.payment-feedback article{padding:16px 0;border-top:1px solid #dce7e6}.payment-feedback p{white-space:pre-wrap}.price-comparison{font-weight:600}

.feedback-alert{display:block;width:100%;padding:14px 20px;margin:16px 0;border:1px solid #edc4af;border-radius:12px;background:#fff1e8;color:#9b4d2c;text-align:left;font-weight:600;cursor:pointer}.feedback-alert[hidden]{display:none}

.drawer-head>div:first-child{flex:1;min-width:0}.drawer-head #drawer-refresh{white-space:nowrap}
/* 鲸鱼回收运营：以待处理物品和实际凭证组织工作。 */
.ops-panel{width:min(920px,calc(100vw - 24px))}.ops-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.ops-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ops-card{border:1px solid var(--line,#c8d6ee);border-left:4px solid #3157ae;padding:16px;display:flex;align-items:center;gap:20px;justify-content:space-between;margin:12px 0;background:#f8faff}.ops-card p{margin:6px 0;overflow-wrap:anywhere}.ops-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.ops-section{padding:20px 0;border-top:1px solid #c8d6ee}.ops-section h3{color:#173558}.ops-order-title{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.ops-photos{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.ops-photos img{max-width:100%;width:160px;height:160px;object-fit:contain;background:#edf3ff;border:1px solid #c8d6ee}.ops-order-entry{margin:12px 0;width:100%;text-align:left}.ops-panel .field{display:grid;gap:8px;margin-bottom:16px}.ops-panel input,.ops-panel select{max-width:100%;min-width:0}.ops-panel button:focus-visible{outline:3px solid #7195e8;outline-offset:3px}@media(max-width:600px){.ops-fields{grid-template-columns:1fr}.ops-card{align-items:flex-start;flex-direction:column;gap:8px}.ops-tabs .btn{padding:10px 12px}.ops-photos img{width:120px;height:120px}}

/* 订单中的用户关联与回收历史。 */
.customer-link{border:0;background:transparent;padding:0;color:var(--blue);font-weight:650;text-align:left;overflow-wrap:anywhere}.customer-cell{min-width:150px;max-width:190px}.customer-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:var(--pale);border-radius:10px;margin:16px 0}.customer-strip strong{display:block;margin:4px 0;font-size:15px}.customer-strip strong small{color:var(--muted);font-size:12px;margin-left:8px}.customer-strip .btn{flex:none}.customer-identity{background:#f8fafd;border:1px solid var(--line);border-radius:10px;padding:15px}.customer-identity p{font-size:12px;color:var(--muted);margin:7px 0;overflow-wrap:anywhere}.customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.customer-stats>div{border:1px solid var(--line);border-radius:10px;padding:14px}.customer-stats span,.customer-amounts span{display:block;font-size:12px;color:var(--muted)}.customer-stats strong{font-size:21px;display:block;margin-top:6px}.customer-amounts{display:flex;gap:36px;margin-bottom:12px}.customer-amounts strong{display:block;font-size:19px;margin-top:4px}.customer-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.customer-history-head h3{font-size:15px;margin:0}.customer-history-head select{border:1px solid var(--line);border-radius:8px;padding:7px;background:white;font-size:12px;max-width:45%}.customer-order{border:1px solid var(--line);border-radius:12px;padding:18px;margin:12px 0}.customer-order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-order-top strong{font-size:13px;overflow-wrap:anywhere}.customer-order small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.customer-order-items{display:flex;gap:12px;margin:15px 0;font-size:12px}.customer-order-items img{width:60px;height:60px;border-radius:8px;object-fit:cover;flex:none}.customer-order-items p{margin:5px 0;color:var(--muted);overflow-wrap:anywhere}.customer-order footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px}.customer-order .price{font-size:13px;white-space:normal}.customer-order .btn{font-size:12px;flex:none}.customer-panel .pagination{padding:15px 0}.customer-panel .head h2{overflow-wrap:anywhere}.order-table{min-width:1070px}.goods-column{width:29%}
@media(max-width:760px){.customer-strip{align-items:flex-start;flex-direction:column;padding:14px}.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-stats strong{font-size:19px}.customer-amounts{gap:20px}.customer-order{padding:13px}.customer-order-top{gap:8px}.customer-order-top>div{min-width:0}.customer-order footer{flex-wrap:wrap}.customer-history-head h3{font-size:13px}}
[data-action-photo]{max-width:100%}
.quote-grid-head.per-photo,.quote-line.per-photo{grid-template-columns:38px minmax(0,1fr) 50px 86px 52px}
.row-photo{width:38px;height:38px;flex:none;border:1px solid #c9d9fb;border-radius:7px;background:#eef4ff;color:#7c8da5;font-size:12px;padding:0;overflow:hidden}
.row-photo img{width:100%;height:100%;object-fit:cover}

/* 长表单：保存操作常驻面板底部，避免滚动到内容末尾才能提交。 */
.panel-save{position:sticky;bottom:-25px;z-index:4;display:flex;align-items:center;gap:14px;margin:20px -25px -25px;padding:14px 25px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 18px #172d490d}
.panel-save .error{flex:1;margin:0;min-height:0}
.panel-save .btn{flex:none;margin-left:auto}
.version-hint{display:block;margin:6px 0 0!important;color:#a4542f!important;font-size:12px!important}

@media(max-width:760px){
  /* 订单列表改为卡片，操作按钮不再藏在横向滚动区。 */
  .table-scroll{overflow:visible}
  .order-table{display:block;min-width:0}
  .order-table thead{display:none}
  .order-table tbody{display:block}
  .order-table .order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px;border-bottom:1px solid #eef2f7;align-items:center}
  .order-table .order-row:hover{background:#fafcff}
  .order-table .order-row.selected{background:#f1f6ff}
  .order-table .order-row td{display:block;padding:0;border:0;min-width:0;text-align:left}
  .order-table .order-row td:nth-child(1){grid-column:1/-1}
  .order-table .order-row td:nth-child(2){grid-column:1/-1}
  .order-table .order-row td:nth-child(3){grid-column:1}
  .order-table .order-row td:nth-child(4){grid-column:2;justify-self:end;text-align:right}
  .order-table .order-row td:nth-child(5){grid-column:1}
  .order-table .order-row td:nth-child(6){grid-column:2;justify-self:end}
  .order-table .order-row td:nth-child(7){grid-column:1/-1;margin-top:4px}
  .order-table .goods-cell{min-width:0}
  .order-table .order-title{max-width:none}
  .order-table small{max-width:none}
  .order-table .customer-cell{min-width:0;max-width:none}
  .order-table .row-action{width:100%}
  .panel-save{bottom:-20px;margin:18px -20px -20px;padding:12px 20px;gap:10px 12px;flex-wrap:wrap}
  .panel-save .error{flex-basis:100%;order:-1}
  .panel-save .btn{width:100%;margin-left:0}
}

/* Shared rhythm: body 14px, captions 12px, 8px spacing, stable numeric columns. */
:root { font-synthesis: none; }
body { text-rendering: optimizeLegibility; }
h1, h2, h3, strong { font-weight: 600; }
button, input, select, textarea { line-height: 1.5; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .5; }
button:disabled:hover { cursor: not-allowed; }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; accent-color: var(--blue); vertical-align: middle; flex: none; }
::placeholder { color: #8291a5; opacity: 1; }
.mono, .price, .quote-total strong, .settlement-total strong, .stat-copy strong, .customer-stats strong { font-variant-numeric: tabular-nums; }
.eyebrow { letter-spacing: .6px; }
.btn { min-height: 42px; font-size: 13px; padding: 10px 16px; border-radius: 9px; }
.btn.wide { min-height: 46px; }
.btn:not(:disabled):active { transform: translateY(1px); }
.icon-btn { width: 40px; height: 40px; }
.text-btn { min-height: 36px; }
.field > span { font-size: 13px; margin-bottom: 8px; }
.field input, .field select, .field textarea { min-height: 44px; border-color: #ccd8e7; border-radius: 9px; padding: 11px 12px; }
.field textarea { min-height: 108px; }
.field small { display: inline-block; margin-left: 4px; line-height: 1.6; }
.check-field { min-height: 40px; font-size: 13px; align-items: flex-start; }
.check-field input { margin-top: 3px; }
.error:empty, .action-error:empty { display: none; }
.error:not(:empty), .action-error:not(:empty) { line-height: 1.7; }
.shell { grid-template-columns: 232px minmax(0, 1fr); }
.nav { padding: 28px 16px 20px; height: 100dvh; overflow-y: auto; }
.brand { gap: 8px; padding: 0 4px; }
.brand strong { font-size: 17px; letter-spacing: 0; }
.brand small { font-size: 12px; letter-spacing: .3px; }
.nav-caption { margin: 32px 12px 10px; color: var(--muted); }
.nav-link { padding: 12px; min-height: 46px; border-radius: 9px; font-size: 13px; }
.nav-link.active { box-shadow: inset 3px 0 var(--blue); }
.nav-link.nav-extra { margin-top: 4px; }
.nav-foot { padding: 20px 12px 0; margin-top: auto; }
.nav-foot p { margin: 8px 0; }
.main { padding: 32px clamp(20px, 2.8vw, 44px); }
.head h1 { font-size: 28px; letter-spacing: -.5px; margin: 4px 0; }
.head p { font-size: 13px; }
.head .eyebrow { font-size: 12px; }
.tools { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.environment-banner { background: #edf3ff; color: #395c90; border-color: #d6e3fb; margin: 24px 0; padding: 14px 16px; font-size: 13px; }
.environment-banner .icon { width: 20px; height: 20px; }
.stats { gap: 12px; margin: 24px 0; }
.stat-card { min-height: 106px; padding: 18px 16px; border-radius: 12px; box-shadow: none; }
.stat-card:hover { border-color: #afc6ec; background: #fbfdff; }
.stat-card.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.stat-copy { gap: 4px; }
.stat-copy strong { font-size: 28px; }
.stat-copy > span { font-size: 13px; color: #526880; }
.list-heading { padding: 22px 24px 12px; }
.list-heading h2 { font-size: 18px; }
.list-heading > div { flex-wrap: wrap; gap: 4px 12px; }
.sync-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tab { min-height: 50px; font-size: 13px; padding: 14px 0; }
.tab span { min-width: 22px; text-align: center; }
.filters { flex-wrap: wrap; gap: 10px; padding: 20px 24px 16px; align-items: stretch; }
.search-field { flex-basis: 250px; min-height: 42px; }
.search-field input { font-size: 13px; }
.filters select { font-size: 13px; min-height: 42px; }
.filters .text-btn { padding: 4px; }
.filter-summary { border-top: 1px solid #edf1f7; background: #f8fafd; padding: 10px 24px; color: #526c8b; font-size: 12px; overflow-wrap: anywhere; }
.order-table { min-width: 1090px; }
.order-table th { padding-top: 14px; padding-bottom: 14px; font-size: 12px; color: #546981; background: #f7f9fc; }
.order-table td { padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.order-title { font-size: 14px; }
.order-table small { font-size: 12px; line-height: 1.6; }
.order-id { font-size: 11px !important; letter-spacing: 0; }
.status-badge { font-size: 12px; border-radius: 6px; padding: 5px 8px; }
.price { font-size: 15px; }
.row-action { font-size: 12px; min-height: 40px; padding: 8px 12px; }
.pagination { padding: 18px 24px; font-size: 12px; }
.pagination .btn { min-height: 38px; padding: 8px 12px; }
.pagination select { min-height: 36px; }
.list-message:not(:empty) { padding: 36px 24px; font-size: 13px; }
.empty-state { max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state > .icon { width: 38px; height: 38px; color: #849fc6; margin-bottom: 8px; }
.empty-state strong { font-size: 16px; color: var(--ink); }
.empty-state p { margin: 0 0 12px; line-height: 1.8; }
.drawer-head { padding: 22px 28px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.detail { padding-top: 20px; }
.detail-meta { gap: 10px; font-size: 12px; }
.detail-tabs { gap: 24px; margin-bottom: 24px; }
.detail-tabs button { font-size: 13px; min-height: 46px; }
.section-heading h3, .sub-title { font-size: 14px; }
.reference-info { gap: 20px; padding: 18px; margin: 24px 0; }
.reference-info strong { font-size: 14px; }
.action-heading { align-items: flex-start; gap: 12px; }
.action-heading h3 { font-size: 17px; margin-bottom: 6px; }
.action-heading p { font-size: 13px; line-height: 1.7; }
.form-hint { font-size: 12px; color: #526b88; padding: 12px 14px; border: 1px solid #e7edf5; }
.quote-progress { padding: 12px; align-items: flex-start; flex-direction: column; gap: 4px; }
.quote-progress span { text-align: left; }
.quote-progress strong { font-size: 13px; }
.quote-total { padding: 16px; border: 1px solid #d5e2fb; }
.quote-total strong { font-size: 28px; }
.quote-grid-head, .quote-line { grid-template-columns: minmax(0, 1fr) 56px 94px 28px; gap: 8px; }
.quote-grid-head:has(span:last-child:nth-child(3)), .quote-line.locked { grid-template-columns: minmax(0, 1fr) 56px 94px; }
.quote-grid-head.per-photo, .quote-line.per-photo { grid-template-columns: 38px minmax(54px, 1fr) 50px 86px 44px; gap: 6px; }
.quote-line input { font-size: 13px; min-height: 40px; padding: 9px 7px; }
.line-remove { width: 28px; height: 40px; font-size: 18px; }
.photo-skip { min-height: 40px; padding: 6px 2px; }
.row-photo { height: 40px; }
.inspection-result { padding: 14px; }
.inspection-result strong { font-size: 13px; }
.result-choice { gap: 12px; font-size: 13px; line-height: 1.6; }
.result-choice label { display: inline-flex; gap: 4px; align-items: center; min-height: 30px; }
.reprice-amount { min-height: 42px; font-size: 13px; }
.accepted-box h3 { font-size: 14px; }
.accepted-box > div { font-size: 13px; align-items: flex-start; }
.accepted-box > div span { min-width: 0; overflow-wrap: anywhere; }
.accepted-box strong { flex: none; }
.more-info summary { min-height: 44px; }
.waiting-box h3 { font-size: 17px; }
.waiting-box p { font-size: 13px; }
.waiting-box > .btn { margin-top: 12px; }
.drawer-foot { gap: 12px; padding: 16px 24px; background: white; box-shadow: 0 -4px 18px #172d4905; }
.drawer-foot > span { font-size: 12px; }
.confirm-dialog p { font-size: 14px; line-height: 1.8; }
.extra-panel .head { position: sticky; top: -25px; z-index: 5; background: #fff; padding: 16px 0; margin: -10px 0 16px; border-bottom: 1px solid var(--line); }
.extra-panel .head h2 { font-size: 20px; }
.extra-panel .actions { flex-wrap: wrap; }
.ops-tabs { gap: 8px; }
.ops-card { border-radius: 10px; padding: 18px; border-color: var(--line); border-left-color: #7098dc; }
.customer-order, .withdraw-card { padding: 20px; }
.customer-link { min-height: 32px; line-height: 1.6; }
.customer-identity p, .customer-order-items { font-size: 13px; }
.login-brand h1 { font-weight: 600; line-height: 1.4; }
.login-card { border-radius: 16px; padding: 32px; }
.login-card h2 { font-weight: 600; }
.login-card p { font-size: 13px; }
.login-card .field { margin: 24px 0; }
.store-dialog .drawer-head { padding: 0 0 18px; margin-bottom: 20px; }
.store-code-card strong { font-variant-numeric: tabular-nums; }
.store-binding strong { font-size: 13px; }

@media (max-width: 1180px) {
  .shell { grid-template-columns: 192px minmax(0, 1fr); }
  .nav { padding: 24px 12px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }
  .brand img { width: 38px; height: 38px; }
  .main { padding: 24px 20px; }
  .stat-card { padding: 16px 10px; gap: 8px; }
  .stat-copy > span { font-size: 12px; }
  .tools .btn { padding: 9px 10px; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .nav { height: auto; padding: 12px 16px; gap: 16px; overflow-x: auto; overflow-y: hidden; }
  .brand strong { font-size: 14px; }
  .brand img { width: 36px; height: 36px; }
  .nav-links { gap: 4px; }
  .nav-link { min-height: 40px; padding: 10px; font-size: 12px; }
  .nav-link.active { box-shadow: inset 0 -2px var(--blue); }
  .main { padding: 24px 14px; }
  .head { flex-wrap: wrap; gap: 16px; }
  .head > div:first-child { width: 100%; }
  .head h1 { font-size: 24px; }
  .head p, .head .eyebrow { font-size: 12px; }
  .tools { width: 100%; justify-content: flex-start; gap: 8px; }
  .tools .btn { font-size: 12px; min-height: 42px; padding: 10px 12px; }
  .environment-banner { margin: 20px 0; align-items: flex-start; font-size: 12px; }
  .stats { margin: 20px 0; gap: 10px; }
  .stat-card { min-width: 146px; min-height: 96px; padding: 16px; }
  .list-heading { padding: 20px 16px 10px; }
  .list-heading > div { display: flex; flex-direction: column; align-items: flex-start; }
  .list-heading h2 { font-size: 17px; }
  .tabs { gap: 20px; padding: 0 16px; }
  .tab { font-size: 13px; }
  .filters { padding: 16px; gap: 10px; }
  .search-field { flex-basis: 100%; }
  .filters select { min-width: 0; max-width: none; flex: 1 1 42%; font-size: 12px; padding: 10px 8px; }
  .filters #sort { flex-basis: 55%; }
  .filters .text-btn { margin-left: auto; }
  .filter-summary { padding: 12px 16px; }
  .order-table { min-width: 0; }
  .order-table .order-row { padding: 18px 16px; gap: 12px; }
  .order-table .order-row td { padding: 0; font-size: 13px; }
  .order-title { font-size: 14px; }
  .order-table small { font-size: 12px; }
  .order-table .order-row td:nth-child(4) { max-width: 170px; }
  .order-table .row-action { min-height: 44px; }
  .pagination { padding: 16px; gap: 12px; }
  .pagination > div { gap: 8px; flex-wrap: wrap; }
  .pagination .btn { min-height: 40px; padding: 8px 12px; }
  .drawer-head { padding: 16px; gap: 8px; }
  .drawer-head h2 { font-size: 18px; }
  .drawer-head #drawer-refresh { font-size: 12px; padding: 4px; }
  .detail { padding: 16px; }
  .detail-meta { font-size: 12px; }
  .drawer-grid { gap: 24px; }
  .action-column { padding-top: 24px; }
  .reference-info { gap: 16px; }
  .process-steps li { font-size: 11px; gap: 8px; text-align: center; }
  .detail-tabs { gap: 20px; }
  .drawer-foot { padding: 12px; gap: 8px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .drawer-foot #footer-submit { flex: 1; max-width: none; font-size: 12px; min-height: 44px; margin-left: 0; padding: 10px; }
  .drawer-foot #footer-submit + .btn { font-size: 12px; min-height: 44px; padding: 8px 10px; }
  .quote-grid-head.per-photo, .quote-line.per-photo { grid-template-columns: 32px minmax(38px, 1fr) 42px 72px 40px; gap: 5px; }
  .quote-line input { padding: 10px 5px; font-size: 12px; }
  .row-photo { width: 32px; }
  .quote-total strong { font-size: 26px; }
  .quote-progress span { font-size: 12px; }
  .extra-panel .head { top: -20px; margin-top: -8px; flex-wrap: nowrap; }
  .extra-panel .head > h2 { width: auto; }
  .customer-strip { margin: 16px 0; }
  .customer-order, .withdraw-card { padding: 16px; }
  .customer-amounts { gap: 16px; flex-wrap: wrap; }
  .toast { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); font-size: 13px; padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:not(:disabled):active { transform: none; }
}
/* 下拉与筛选：用页面内选择层替代系统弹层，保持与按钮、输入框同一套尺寸和描边。 */
select.native-select { position: absolute !important; display: block !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; overflow: hidden !important; white-space: nowrap !important; }
.select { position: relative; display: inline-flex; min-width: 0; max-width: 100%; vertical-align: middle; }
.select-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #43566f; font-size: 13px; line-height: 1.4; text-align: left; transition: border-color .15s, box-shadow .15s; }
.select-trigger:hover { border-color: #c3d2e6; }
.select-trigger[aria-expanded=true] { border-color: #a8c1ea; box-shadow: 0 0 0 3px #eaf1fd; }
.select-trigger:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #dce8fd; }
.select-trigger:disabled { background: #f5f8fc; opacity: .55; cursor: not-allowed; }
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger.is-placeholder .select-value { color: #76879d; }
.select-chevron { width: 14px; height: 14px; flex: none; color: #93a2b6; transition: transform .15s; }
.select-trigger[aria-expanded=true] .select-chevron { transform: rotate(180deg); }
.select-menu { position: fixed; z-index: 90; display: flex; flex-direction: column; gap: 2px; max-height: min(288px, calc(100vh - 24px)); overflow: auto; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px #172d4926, 0 2px 8px #172d4914; overscroll-behavior: contain; }
.select-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #43566f; font-size: 13px; line-height: 1.5; text-align: left; white-space: nowrap; }
.select-option:hover, .select-option.is-active { background: #f3f7fd; color: var(--ink); }
.select-option[aria-selected=true] { background: var(--pale); color: var(--blue); font-weight: 600; }
.select-option[aria-selected=true].is-active { background: #e4edfd; }
.select-option:disabled { background: transparent; color: #a7b3c3; cursor: not-allowed; }
.select-check { width: 14px; height: 14px; flex: none; opacity: 0; }
.select-option[aria-selected=true] .select-check { opacity: 1; }
.select-block { display: block; width: 100%; }
.select-block .select-trigger { min-height: 44px; padding: 11px 12px; border-color: #ccd8e7; }
.select-compact .select-trigger { min-height: 36px; padding: 6px 9px; font-size: 12px; border-radius: 8px; }
.pagination .select { margin: 0 2px; }
.customer-history-head .select { max-width: 45%; }
.customer-history-head .select .select-trigger { width: 100%; }
.filters .select { flex: 0 0 auto; }
.filters .select-trigger { min-width: 132px; }
.search-field { border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #e7effd; }
.search-field input:focus-visible { outline: none; }
@media (max-width: 760px) {
  .filters .select { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .filters .select-trigger { width: 100%; min-width: 0; min-height: 42px; padding: 10px 9px; font-size: 12px; }
  .select-menu { max-height: min(260px, calc(100vh - 20px)); }
}

/* 独立管理页面：运营、账号、资料与提醒不再使用弹窗，与订单列表保持同一套卡片节奏。 */
#page-view{min-height:60vh}
.page-head{align-items:flex-start;margin:0 0 24px}
.page-head .tools{flex:none}
.page-back{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);text-decoration:none;margin-bottom:6px}
.page-back .icon{width:13px;height:13px;transform:rotate(180deg)}
.page-back:hover{color:var(--blue)}
.page-head h1{margin-top:0}
.page-loading{padding:56px 24px;text-align:center;color:var(--muted);font-size:13px}
.list-panel.page-panel{padding:24px;overflow:visible}
.page-panel>.banner{margin:0 0 20px;line-height:1.8}
.page-panel .ops-tabs{margin-bottom:20px}
.page-panel .ops-tabs a{text-decoration:none}
.page-panel .ops-summary{margin:0 0 4px}
.page-panel .ops-card{margin:10px 0}
.page-panel .ops-backup{padding:6px 0}
.page-panel .ops-pagination{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}
.nav-links+.nav-caption{margin-top:20px}
.account-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px 22px;margin-bottom:24px}
.account-banner strong{color:#244a7e}
.account-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:32px}
.account-grid .page-section{min-width:0}
.account-column{display:grid;gap:24px;align-content:start;min-width:0}
.account-column .page-section+.page-section{border-top:1px solid var(--line);padding-top:22px}
.account-grid>.session-section{border-left:1px solid var(--line);padding-left:32px}
.page-section>h2{font-size:16px;margin:0 0 6px}
.page-section>.meta{margin:0 0 16px}
.section-heading h2{font-size:16px;margin:0}
.session-section .section-heading{margin-bottom:4px}
.session-section .section-heading span{color:var(--muted);font-size:12px}
.session-list{max-height:352px;overflow:auto;border:1px solid var(--line);border-radius:10px;margin:14px 0 16px;background:#fbfcfe}
.session-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:0 12px;padding:11px 14px;border-bottom:1px solid #eef2f7}
.session-row:last-child{border-bottom:0}
.session-row.current{background:#f2f7ff}
.session-status{width:6px;height:6px;border-radius:50%;background:#c3cedd}
.session-row.current .session-status{background:#3f8b74;box-shadow:0 0 0 3px #e3f3ec}
.session-main{min-width:0}
.session-main strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.session-main small,.session-time small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.session-time{text-align:right;font-size:12px;color:#526880;white-space:nowrap}
.session-actions{margin-top:0}
.security-section{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.security-log{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;list-style:none;margin:14px 0 0;padding:0}
.security-log li{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #f0f3f8;min-width:0}
.security-dot{width:7px;height:7px;border-radius:50%;background:var(--tone-ink,#7a899e);margin-top:6px;flex:none}
.security-log strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.security-log small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.notice-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.notice-chip{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px 11px;font-size:12px;color:#526880}
.notice-chip:hover{border-color:#b9cbe9;background:#f8faff}
.notice-chip-dot{width:6px;height:6px;border-radius:50%;background:var(--tone-ink,#9aa8b9);flex:none}
.notice-chip strong{font-size:13px;font-weight:700;color:var(--tone-ink,#1a304d);font-variant-numeric:tabular-nums}
.notice-chip.is-active{border-color:var(--blue);background:var(--pale);color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.notice-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:16px 0 0}
.notice-toolbar .search-field{flex:1;min-width:240px;max-width:none;background:#fff}
.notice-toolbar .field{margin:0;flex:0 1 210px}
.table-wrap{overflow:auto;margin-top:14px;border:1px solid var(--line);border-radius:10px}
.notice-table{width:100%;border-collapse:collapse;min-width:860px}
.notice-table th{text-align:left;font-size:12px;color:#546981;background:#f7f9fc;padding:12px 16px;font-weight:600;white-space:nowrap}
.notice-table th:first-child,.notice-table td:first-child{padding-left:22px}
.notice-table th:last-child,.notice-table td:last-child{padding-right:22px}
.notice-table td{padding:13px 16px;border-bottom:1px solid #eef2f7;vertical-align:middle;font-size:12px}
.notice-table tr:last-child td{border-bottom:0}
.notice-table tr:hover td{background:#fafcff}
.notice-cell strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.notice-cell small{display:block;color:var(--muted);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.notice-cell .mono{font-size:11px}
.notice-reason{display:block;max-width:200px;margin-top:4px;color:var(--tone-ink,#9a6a24);font-size:12px;line-height:1.5}
.notice-read{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#8b5e34;background:#fff7ec;border-radius:6px;padding:3px 7px;white-space:nowrap}
.notice-read.is-read{color:#267c65;background:#e8f7f1}
.notice-attempts{font-variant-numeric:tabular-nums;color:#526880;white-space:nowrap}
.notice-table .row-action{min-height:32px;padding:6px 10px}
.meta-link{color:var(--blue);text-decoration:none;white-space:nowrap}
.meta-link:hover{text-decoration:underline}
.notification-pagination:not(:empty){display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--line);margin-top:18px;font-size:12px;color:var(--muted)}
.page-panel .settings-fields{margin-top:4px}
.page-panel .panel-save{position:sticky;bottom:0;z-index:4;margin:20px 0 0;padding:14px 0 4px;background:#fff;box-shadow:0 -10px 16px #fff}
@media(max-width:760px){
  .nav{flex-wrap:wrap;overflow:visible;gap:6px 12px;padding:10px 14px}
  .nav-links{flex-wrap:wrap;width:100%;gap:2px 4px}
  .nav-link{min-height:34px;padding:7px 9px}
  .page-head{margin-bottom:18px}
  .list-panel.page-panel{padding:16px}
  .account-grid{grid-template-columns:1fr;gap:0}
  .account-grid>.session-section{border-left:0;border-top:1px solid var(--line);padding-left:0;margin-top:22px;padding-top:22px}
  .session-list{max-height:300px}
  .session-row{grid-template-columns:auto minmax(0,1fr);gap:2px 10px}
  .session-time{grid-column:2;display:flex;gap:4px 10px;flex-wrap:wrap;text-align:left}
  .security-section{margin-top:24px;padding-top:20px}
  .security-log{grid-template-columns:1fr;gap:0}
  .notice-toolbar .search-field{flex-basis:100%}
  .notice-toolbar .field{flex-basis:100%}
  .table-wrap{border:0;border-radius:0;margin-top:12px;overflow:visible}
  .notice-table{min-width:0;display:block}
  .notice-table thead{display:none}
  .notice-table tbody{display:block}
  .notice-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 16px;border-bottom:1px solid #eef2f7}
  .notice-table td{display:block;padding:0;border:0}
  .notice-table td:nth-child(1){grid-column:1/-1}
  .notice-table td:nth-child(2){grid-column:1;align-self:center}
  .notice-table td:nth-child(3){grid-column:2;justify-self:end}
  .notice-table td:nth-child(4){grid-column:1;color:var(--muted)}
  .notice-table td:nth-child(5){grid-column:2;justify-self:end}
  .notice-table td:nth-child(6){grid-column:1/-1}
  .notice-table td.notice-action.is-empty{display:none}
  .notice-table tr:hover td{background:transparent}
  .notice-table .row-action{width:100%}
  .notice-reason{max-width:none}
  .notification-pagination:not(:empty){flex-wrap:wrap}
  .notification-pagination .btn{flex:1}
  .page-panel .panel-save{padding:12px 0 0;margin-top:16px}
}
