*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;background:#f4f6fa;color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}h1,h2,h3,h4,p{margin:0}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-header{position:sticky;top:0;z-index:50;background:#fffffff0;border-bottom:1px solid #e5e9f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-header-inner{max-width:1600px;margin:0 auto;min-height:58px;padding:0 24px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto}.brand-mark{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;letter-spacing:.02em;box-shadow:0 4px 12px #1d4ed847}.brand-mark--light{background:#ffffff2e;box-shadow:none}.brand-text{display:flex;flex-direction:column;line-height:1.15}.brand-text strong{font-size:14px;font-weight:650;letter-spacing:.02em}.brand-text small{font-size:9px;color:#8a94a6;letter-spacing:.12em;text-transform:uppercase;margin-top:1px}.app-nav{display:flex;align-items:center;gap:4px;flex:1 1 auto;overflow-x:auto}.nav-link{padding:8px 13px;border-radius:7px;font-size:13px;color:#5b6474;white-space:nowrap;transition:background .16s,color .16s}.nav-link:hover{background:#f0f4fb;color:#1d4ed8}.nav-link.active{background:#e8efff;color:#1d4ed8;font-weight:600}.app-user{display:flex;align-items:center;gap:8px;flex:0 0 auto}.user-avatar{width:28px;height:28px;border-radius:50%;background:#e8efff;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-weight:650;font-size:12px}.user-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#374151}.app-main{flex:1 1 auto;width:100%;max-width:1600px;margin:0 auto;padding:22px 24px 40px}.app-footer{text-align:center;color:#9aa3b2;font-size:12px;padding:14px 0 22px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.page-title{font-size:20px;line-height:1.3;font-weight:650;color:#111827}.page-subtitle{margin-top:5px;color:#7b8496;font-size:13px;line-height:1.65;max-width:880px}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.panel{background:#fff;border:1px solid #e7ebf3;border-radius:10px;box-shadow:0 1px 2px #10182808}.panel-pad{padding:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #eef1f7}.panel-title{font-size:14px;font-weight:650;color:#1f2937}.panel-hint{color:#8b95a7;font-size:12px}.section-gap{margin-top:16px}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:13px 16px}.filter-item{width:158px}.filter-item--wide{width:230px}.filter-spacer{flex:1 1 auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.summary-text{color:#6b7280;font-size:13px}.summary-text strong{color:#1d4ed8;font-weight:650}.data-table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12.5px}.data-table th{text-align:left;padding:9px 12px;background:#f8fafc;color:#687386;font-weight:600;white-space:nowrap;border-bottom:1px solid #e7ebf3}.data-table td{padding:9px 12px;border-bottom:1px solid #f0f2f7;vertical-align:middle;color:#2b3444}.data-table tbody tr:hover{background:#fafbfe}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr.row-danger{background:#fff6f6}.data-table tbody tr.row-danger:hover{background:#ffefef}.data-table tbody tr.row-danger td{color:#a61b3a}.data-table .cell-main{font-weight:500;color:#1f2937;word-break:break-all;line-height:1.45}.data-table .cell-sub{margin-top:2px;color:#97a0b0;font-size:11px;line-height:1.4}.data-table .cell-actions{white-space:nowrap}.data-table .num{font-variant-numeric:tabular-nums;white-space:nowrap}.data-table .center{text-align:center}.data-table .danger-text{color:#d03050}.data-table .success-text{color:#12996b}.empty-cell{padding:36px 12px!important;text-align:center}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #eef1f7}.table-footer .footer-info{color:#8b95a7;font-size:12px}.filename-cell{min-width:220px;max-width:380px}.reason-cell{min-width:160px;max-width:260px;color:#7b8496}.reason-cell.is-rejected{color:#c62845}.url-text{color:#8b95a7;font-size:11px;word-break:break-all}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.loading-block{padding:48px 16px;display:flex;justify-content:center}.error-block{padding:16px}.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 16px 12px;padding:10px 14px;border:1px solid #dbe6ff;background:#f2f6ff;border-radius:9px;font-size:13px;color:#2b4b86}.selection-bar strong{color:#1d4ed8;font-size:15px}.selection-bar .selection-actions{display:flex;gap:8px;align-items:center}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 12% 12%,#dbe7ff 0,#dbe7ff00 42%),radial-gradient(circle at 88% 88%,#e5edff 0,#e5edff00 40%),#f4f7fc}.login-panel{width:min(980px,100%);display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e6ebf5;box-shadow:0 24px 70px #1e40af1f}.login-hero{position:relative;overflow:hidden;background:linear-gradient(150deg,#102f7a,#1d4ed8 58%,#3b82f6);color:#fff;padding:52px 44px;display:flex;flex-direction:column;justify-content:center}.login-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-120px;bottom:-140px;background:#ffffff14}.login-hero:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:40px;top:-90px;background:#ffffff0f}.login-brand{display:flex;align-items:center;gap:10px;font-size:12px;color:#ffffffd1;position:relative;z-index:1}.login-hero h1{font-size:32px;line-height:1.38;font-weight:650;margin-top:34px;letter-spacing:.01em;position:relative;z-index:1}.login-lead{margin-top:16px;font-size:13px;letter-spacing:.06em;color:#ffffffb8;position:relative;z-index:1}.login-points{list-style:none;margin:36px 0 0;padding:0;display:flex;flex-direction:column;gap:14px;position:relative;z-index:1}.login-points li{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;color:#ffffffdb}.login-points span{flex:0 0 auto;font-size:11px;color:#ffffff8c;padding-top:2px;font-variant-numeric:tabular-nums}.login-form-wrap{padding:54px 48px;display:flex;flex-direction:column;justify-content:center}.login-form-head h2{font-size:24px;font-weight:650;color:#111827}.login-form-head p{color:#8b95a7;font-size:13px;margin-top:7px;margin-bottom:26px}.login-error{margin-bottom:14px}.login-foot{color:#a0a8b6;font-size:12px;text-align:center;margin-top:22px}.drop-zone{border:1.5px dashed #c7d2e6;background:#fff;border-radius:12px;padding:30px 20px;text-align:center;transition:border-color .18s,background .18s,box-shadow .18s}.drop-zone.dragging{border-color:#1d4ed8;background:#eff5ff;box-shadow:inset 0 0 0 1px #1d4ed840}.drop-icon{width:44px;height:44px;margin:0 auto 10px;border-radius:12px;background:#eef4ff;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:300}.drop-title{font-size:15px;font-weight:600;color:#1f2937}.drop-sub{margin-top:5px;color:#8b95a7;font-size:12.5px}.drop-actions{display:flex;gap:10px;justify-content:center;margin-top:15px;flex-wrap:wrap}.hidden-input{display:none}.upload-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 12px}.upload-summary .summary-text{font-size:13px}.batch-rows{display:flex;flex-direction:column;gap:14px}.batch-card{background:#fff;border:1px solid #e7ebf3;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #10182808}.batch-card--unmatched{border-color:#f0c36a}.batch-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fafbfe;border-bottom:1px solid #eef1f7}.batch-card-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.batch-index{font-size:12px;font-weight:600;color:#4b5563}.batch-file-count{font-size:12px;color:#8b95a7}.batch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px;padding:16px}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field-label{font-size:12px;color:#5f6b7c;font-weight:500}.field-label.required:after{content:" *";color:#d03050}.field-error{font-size:11px;color:#d03050;line-height:1.4}.field-span-2{grid-column:span 2}.native-input{width:100%;height:34px;border:1px solid #d9dfe9;border-radius:6px;padding:0 10px;background:#fff;color:#1f2937;outline:none;font-size:13px;transition:border-color .16s,box-shadow .16s}.native-input:focus{border-color:#1d4ed8;box-shadow:0 0 0 2px #1d4ed81f}.file-list{border-top:1px solid #eef1f7}.file-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;border-bottom:1px solid #f3f5f9;font-size:12.5px}.file-item:last-child{border-bottom:0}.file-main{min-width:0;display:flex;flex-direction:column;gap:2px}.file-name{color:#2b3444;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{color:#98a1b1;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-status{display:flex;align-items:center;gap:8px;flex:0 0 auto}.file-error{color:#d03050;font-size:11px;max-width:420px;text-align:right}.submit-progress{margin:14px 0 0}.result-card{margin-bottom:16px}.result-summary{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:14px;color:#374151;margin-bottom:12px}.result-summary strong{color:#1d4ed8;font-size:18px}.preview-row>td{padding:10px 12px!important;background:#f8fafc}.preview-panel{background:#0f172a;border-radius:9px;padding:12px}.clip-video{width:100%;max-height:520px;background:#000;border-radius:6px;display:block;outline:none}.preview-loading{min-height:220px;display:flex;align-items:center;justify-content:center}.preview-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px;color:#cbd5e1;font-size:11.5px;line-height:1.6}.preview-meta b{color:#fff;font-weight:500}.preview-meta .warn{color:#fbbf24}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.stat-card{background:#fff;border:1px solid #e7ebf3;border-radius:10px;padding:16px 18px;box-shadow:0 1px 2px #10182808}.stat-label{color:#7b8496;font-size:12.5px}.stat-value{margin-top:8px;font-size:26px;line-height:1.2;font-weight:650;color:#111827;font-variant-numeric:tabular-nums;letter-spacing:-.01em}.stat-hint{margin-top:6px;color:#98a1b1;font-size:11.5px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quota-rows{display:flex;flex-direction:column}.quota-row{display:grid;grid-template-columns:80px 70px 1fr 70px;gap:10px;align-items:center;padding:10px 16px;border-bottom:1px solid #f3f5f9;font-size:12.5px}.quota-row:last-child{border-bottom:0}.quota-name{font-weight:500;color:#2b3444}.quota-count{color:#687386;font-variant-numeric:tabular-nums}.quota-bar{min-width:80px}.quota-note{margin:0 16px 12px;color:#98a1b1;font-size:11.5px;line-height:1.6}.progress-cell{display:flex;align-items:center;gap:8px;min-width:120px}.progress-cell .pct{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px;color:#4b5563}.category-cell{display:flex;flex-direction:column;gap:1px}.category-cell .code{color:#a0a8b6;font-size:10.5px}.table-scroll{max-height:380px;overflow:auto}.table-scroll .data-table th{position:sticky;top:0;z-index:2}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}.detail-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;flex:1 1 480px}.detail-meta .meta-label{display:block;color:#98a1b1;font-size:11.5px;margin-bottom:2px}.detail-meta .meta-value{color:#2b3444;font-size:13px;font-weight:500;word-break:break-all}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-note{background:#f8fafc;border:1px solid #eef1f7;border-radius:8px;padding:9px 12px;color:#7b8496;font-size:12px;margin-bottom:12px;line-height:1.6}.detail-table-wrap{max-height:46vh;overflow:auto;border:1px solid #eef1f7;border-radius:8px}.detail-table-wrap .data-table th{position:sticky;top:0;z-index:2}.push-result{margin-top:12px}.push-files{max-height:180px;overflow:auto;margin-top:8px}.delivery-new-grid{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:16px;align-items:start}.cart-panel{position:sticky;top:76px;background:#fff;border:1px solid #e7ebf3;border-radius:10px;box-shadow:0 1px 2px #10182808;overflow:hidden}.cart-head{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #eef1f7}.cart-head h2{font-size:14px;font-weight:650}.cart-stats{padding:12px 16px;display:flex;flex-direction:column;gap:8px}.cart-stat{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.cart-stat .label{color:#8b95a7;font-size:12px}.cart-stat .value{color:#1f2937;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.cart-stat .value.big{color:#1d4ed8;font-size:20px}.cart-list{max-height:280px;overflow:auto;border-top:1px solid #eef1f7}.cart-item{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px 16px;border-bottom:1px solid #f5f7fa}.cart-item:last-child{border-bottom:0}.cart-item-main{min-width:0}.cart-item-name{font-size:12px;color:#2b3444;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-item-meta{color:#98a1b1;font-size:11px;margin-top:2px}.cart-empty{padding:28px 16px;text-align:center;color:#98a1b1;font-size:12.5px}.cart-actions{padding:12px 16px;display:flex;flex-direction:column;gap:8px;border-top:1px solid #eef1f7}.cart-hint{color:#98a1b1;font-size:11px;line-height:1.6;padding:0 16px 14px}.create-error{margin:0 16px 12px}.text-muted{color:#8b95a7}.text-small{font-size:12px}.text-danger{color:#d03050}.text-success{color:#12996b}.nowrap{white-space:nowrap}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mb-12{margin-bottom:12px}.flex-wrap{flex-wrap:wrap}@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:1fr}}@media(max-width:1000px){.delivery-new-grid{grid-template-columns:1fr}.cart-panel{position:static}.batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.app-header-inner{flex-wrap:wrap;gap:8px 14px;padding:9px 14px 10px}.app-nav{order:3;flex-basis:100%}.app-main{padding:16px 14px 32px}.page-title{font-size:18px}.user-name{display:none}.login-panel{grid-template-columns:1fr}.login-hero{display:none}.login-form-wrap{padding:34px 24px}.quota-row{grid-template-columns:64px 54px 1fr 60px}}@media(max-width:680px){.stat-grid,.batch-grid{grid-template-columns:1fr}.field-span-2{grid-column:span 1}.filter-item,.filter-item--wide{width:100%}.filter-bar{align-items:stretch}.selection-bar{align-items:flex-start;flex-direction:column}.page-actions{width:100%}.drop-zone{padding:22px 14px}.file-item{align-items:flex-start;flex-direction:column;gap:6px}.file-status{width:100%;justify-content:space-between}.file-error{text-align:left}.detail-head{flex-direction:column}.detail-actions{width:100%}.table-footer{justify-content:center}}.data-table tfoot td{background:#f8fafc;border-top:1px solid #e7ebf3;border-bottom:0;font-weight:600;color:#1f2937}.data-table tfoot .total-row td{padding-top:10px;padding-bottom:10px}.delivery-modal .n-card__content{max-height:calc(100vh - 210px);overflow-y:auto}.quota-bar .cell-sub{margin-top:3px;white-space:nowrap}
