:root{color-scheme:light;--bg:#f2ede5;--panel:#fdfaf5;--panel2:#f6efe6;--line:#d3c5b4;--gold:#8a641e;--text:#1c3043;--muted:#5f6c77;--green:#276f4e;--red:#a7352c;--blue:#164d83}*{box-sizing:border-box}body{margin:0;background:#f2ede5;color:#1c3043;font:14px/1.6 "Microsoft YaHei","PingFang SC",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.48}input:disabled,select:disabled,textarea:disabled{background:#ede8e1!important;color:#5f6c77!important;border-color:#d3c5b4!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #164d83}a{color:#5f6c77;text-decoration:none}a:hover{text-decoration:underline}button{color:inherit}button,input,select,textarea{border-radius:5px}button{border:0;background:none}input,select,textarea{background:#fdfaf5;color:#1c3043;border:1px solid #d3c5b4;padding:9px 11px;width:100%;min-width:0}input:focus,textarea:focus,select:focus{border-color:#164d83}input::placeholder,textarea::placeholder{color:#5f6c77}textarea{min-height:76px;resize:vertical}input[type=file]{padding:6px;background:#fdfaf5}input[type=checkbox]{width:auto}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:500;letter-spacing:2px}h2{font-size:20px;font-weight:500;letter-spacing:1px}h3{font-size:16px;font-weight:500}strong{font-weight:500}small{font-size:12px}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid #d3c5b4;padding:11px 9px;text-align:left;vertical-align:top}th{font-size:12px;color:#1c3043;font-weight:400;background:#eee5d8}td{font-size:13px}td input,td select{padding:7px;font-size:13px}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:92px;padding:0 4.2%;border-bottom:1px solid #d3c5b4;background:#fdfaf5}.brand{display:flex;align-items:center;color:#1c3043;flex-shrink:0}.brand:hover{text-decoration:none}.brand-name{font-size:24px;letter-spacing:5px;font-weight:500;line-height:1.1}.brand-name span{display:block;font-size:9px;letter-spacing:4px;color:#5f6c77;text-align:center;margin-top:7px}.brand-divider{height:37px;width:1px;background:#fdfaf5;margin:0 20px}.brand-product{font-size:20px;letter-spacing:3px;line-height:1.4}.brand-product span{display:block;font-size:8px;letter-spacing:1.5px;color:#5f6c77}.main-nav{display:flex;align-self:stretch;margin:0 20px}.nav-link{padding:0 18px;position:relative;font-size:15px;color:#5f6c77;white-space:nowrap;border-radius:0}.nav-link.active{color:#164d83}.nav-link.active:after{content:"";height:2px;background:#fdfaf5;position:absolute;left:18px;right:18px;bottom:0}.nav-link:hover{color:#1c3043}.account{display:flex;gap:13px;align-items:center;color:#1c3043;font-size:12px;white-space:nowrap}.account .text-button{font-size:12px}.mode-banner{font-size:11px;text-align:center;color:#5f6c77;background:#fdfaf5;border-bottom:1px solid #d3c5b4;min-height:24px;line-height:24px}.workspace{max-width:1600px;margin:0 auto;padding:36px 4.2% 16px}.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{color:#5f6c77;font:10px/1.5 Arial,sans-serif;letter-spacing:2px;margin-bottom:7px}.page-intro p{color:#5f6c77;font-size:13px;margin-top:8px}.intro-actions{display:flex;align-items:center;gap:25px}.server-clock{color:#5f6c77;font-size:12px;text-align:right}.btn{border:1px solid #d3c5b4;background:#fdfaf5;color:#164d83;padding:9px 17px;white-space:nowrap;transition:background .15s,border-color .15s}.btn:hover{background:#f7f0e7;border-color:#d3c5b4}.btn.primary{background:#164d83;color:#ffffff;border-color:#164d83;font-weight:600;box-shadow:0 5px 15px rgba(85,64,39,.12)}.btn.primary:hover{background:#103e6d}.btn.danger{border-color:#e5b9b3;color:#a7352c}.btn.small{padding:5px 10px;font-size:12px}.btn.wide{width:100%}.text-button{color:#164d83;padding:4px 1px;font-size:12px;white-space:nowrap}.text-button:hover{color:#164d83}.todo-band{display:flex;align-items:center;gap:20px;padding:17px 22px;background:#fdfaf5;border:1px solid #d3c5b4;border-left:3px solid #d3c5b4;margin-bottom:25px;border-radius:7px}.todo-title{display:flex;align-items:center;gap:12px;white-space:nowrap}.todo-title .eyebrow{display:none}.todo-title h2{font-size:16px}.pill{display:inline-block;padding:1px 8px;border:1px solid #d3c5b4;border-radius:20px;color:#5f6c77;font-size:11px;white-space:nowrap}.pill.danger{color:#a7352c;border-color:#e5b9b3}.pill.success{color:#276f4e;border-color:#b5d5c3}.todo-list{display:flex;flex:1;gap:18px;overflow:hidden;align-items:center}.todo-item{flex:1;min-width:0;text-align:left;font-size:12px;border-left:1px solid #d3c5b4;padding:2px 15px}.todo-item strong{display:block;color:#1c3043;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.todo-item small{color:#5f6c77}.todo-item.overdue strong,.danger-text{color:#a7352c}.stats-strip{display:flex;border-top:1px solid #d3c5b4;border-bottom:1px solid #d3c5b4;padding:22px 0;margin-bottom:31px}.stat{flex:1;padding:0 24px;border-right:1px solid #d3c5b4;display:flex;align-items:center;justify-content:center;gap:14px}.stat:first-child{padding-left:0}.stat:last-child{border:0;padding-right:0}.stat span{color:#5f6c77;white-space:nowrap;font-size:12px}.stat strong{font:30px/1 Arial,sans-serif;color:#1c3043}.stat small{color:#5f6c77}.workspace-columns{display:flex;align-items:flex-start;gap:30px}.orders-section{flex:1;min-width:0}.progress-section{width:35%;max-width:460px;min-width:330px;padding:0 0 0 28px;border-left:1px solid #d3c5b4}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:21px}.section-heading .eyebrow{font-size:9px;margin-bottom:4px}.section-heading h2{font-size:20px}.heading-actions{display:flex;gap:16px}.subtle{color:#5f6c77;font-size:12px;letter-spacing:0}.order-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:17px;border-bottom:1px solid #d3c5b4}.status-filters{display:flex;gap:5px;white-space:nowrap}.filter-chip{padding:6px 10px;color:#5f6c77;font-size:12px}.filter-chip.active{background:#fdf4e9;color:#164d83}.search-box{width:245px;display:flex;align-items:center;border:1px solid #d3c5b4;border-radius:5px;background:#fdfaf5}.search-box input{border:0;background:transparent;padding:7px 10px;font-size:12px}.search-box button{font-size:11px;color:#5f6c77;white-space:nowrap;padding:6px 9px}.list-table-head{display:flex;color:#1c3043;font-size:11px;padding:15px 16px 10px}.list-table-head span:nth-child(1){width:42%}.list-table-head span:nth-child(2){width:30%}.list-table-head span:nth-child(3){width:28%}.order-row{display:flex;width:100%;align-items:center;text-align:left;border-bottom:1px solid #d3c5b4;padding:20px 16px;position:relative;border-radius:5px;min-height:105px}.order-row:hover{background:#f7f0e7}.order-row.selected{background:#fdf4e9;box-shadow:inset 3px 0 #b38a4d}.order-primary{width:42%;padding-right:12px;min-width:0}.order-number{display:block;font-family:Arial,sans-serif;color:#164d83;font-size:12px;letter-spacing:.5px;margin-bottom:6px}.order-brand{font-size:16px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-sub{font-size:11px;color:#5f6c77;margin-top:5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-money{width:30%;font-family:Arial,"Microsoft YaHei",sans-serif}.order-money strong{font-size:18px;display:block;letter-spacing:.2px}.order-money small{font-size:11px;color:#5f6c77}.order-state{width:28%;padding-left:5px}.order-state strong{display:block;font-size:13px;color:#1c3043;margin-bottom:5px}.order-state small{color:#5f6c77;font-size:11px}.order-row .row-arrow{position:absolute;right:3px;color:#5f6c77}.list-footer{display:flex;justify-content:space-between;gap:10px;color:#5f6c77;font-size:10px;margin-top:17px}.selected-order{display:flex;justify-content:space-between;align-items:center;color:#5f6c77;font:12px Arial,sans-serif;letter-spacing:.6px}.live-label{font-size:10px;color:#5f6c77;white-space:nowrap}.ring-wrap{position:relative;width:100%;margin:5px auto 0}.ring-wrap canvas{width:100%;display:block;cursor:default}.ring-center{position:absolute;top:40%;left:23%;right:23%;text-align:center;pointer-events:none}.ring-center span{display:block;font-size:10px;color:#5f6c77;letter-spacing:1px}.ring-center strong{display:block;font-size:22px;line-height:1.8;color:#1c3043}.ring-center small{display:block;color:#5f6c77;font-size:10px}.selected-summary{display:flex;justify-content:space-between;gap:12px;padding:15px 0;border-top:1px solid #d3c5b4;border-bottom:1px solid #d3c5b4}.selected-summary div{color:#5f6c77;font-size:11px}.selected-summary strong{display:block;color:#1c3043;font-size:17px;font-family:Arial,"Microsoft YaHei",sans-serif;margin-top:5px}.supplier-progress{padding:12px 0}.supplier-line{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:11px;color:#5f6c77}.supplier-line span:last-child{text-align:right;color:#5f6c77}.progress-footnote{font-size:10px;color:#5f6c77;margin-top:15px}.page-footer{display:flex;justify-content:space-between;border-top:1px solid #d3c5b4;margin-top:35px;padding-top:17px;color:#5f6c77;font-size:10px;letter-spacing:.5px}.empty-state{padding:45px 16px;text-align:center;color:#5f6c77;font-size:13px}.boot{padding:15vh 5%;text-align:center;color:#5f6c77}.auth-screen{max-width:530px;margin:7vh auto;padding:36px 40px;background:#fdfaf5;border:1px solid #d3c5b4;border-top:2px solid #d3c5b4;border-radius:10px}.auth-screen h1{font-size:27px;margin:12px 0}.auth-screen p{color:#5f6c77;font-size:13px}.auth-screen form{margin-top:25px}.auth-screen .field{margin:16px 0}.auth-screen .brand-name{display:block;margin-bottom:32px;width:110px}.auth-screen .brand-name span{text-align:left}.demo-logins{display:flex;gap:8px;margin-top:24px}.demo-logins .btn{flex:1;padding:9px 7px}.auth-foot{margin-top:22px!important;font-size:11px!important}.modal-overlay{position:fixed;inset:0;background:rgba(61,48,34,.22);z-index:40;overflow-y:auto;padding:4vh 3%;display:flex;align-items:flex-start;justify-content:center}.modal{width:1220px;max-width:100%;background:#fdfaf5;border:1px solid #d3c5b4;border-radius:9px;box-shadow:0 25px 100px rgba(85,64,39,.12);margin:auto;max-height:92vh;display:flex;flex-direction:column}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid #d3c5b4;flex-shrink:0}.modal-heading h2{font-size:19px}.modal-heading .text-button{font-size:13px}#modal-body{padding:23px 26px;overflow:auto}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:20px;border-top:1px solid #d3c5b4;margin-top:23px}.form-grid{display:flex;flex-wrap:wrap;gap:15px}.field{flex:1 1 200px;min-width:0}.field.full{flex-basis:100%}.field.wide{flex:2 1 400px}.field label,.field-label{display:block;color:#5f6c77;font-size:12px;margin-bottom:6px}.field .required{color:#5f6c77}.form-section{margin-bottom:23px}.form-section h3{padding:0 0 10px;border-bottom:1px solid #d3c5b4;margin-bottom:15px;color:#5f6c77}.help{color:#5f6c77;font-size:11px;margin-top:8px}.notice{background:#fdfaf5;border:1px solid #d3c5b4;border-left:2px solid #d3c5b4;padding:11px 14px;color:#1c3043;font-size:12px;margin:0 0 17px}.notice.warning{background:#fff8e9;border-color:#d3c5b4;color:#5f6c77}.notice.error{background:#fff3f1;border-color:#e5b9b3;color:#a7352c}.notice.success{background:#eef8f2;border-color:#b5d5c3;color:#276f4e}.table-wrap{overflow-x:auto;border:1px solid #d3c5b4;border-radius:5px}.data-table{min-width:670px}.sku-table{min-width:1000px}.sku-table th,.sku-table td{padding:8px 5px}.sku-table .col-product{min-width:150px}.sku-table .col-spec{min-width:130px}.sku-table .col-supplier{min-width:155px}.sku-table .col-money{min-width:108px}.sku-table .col-qty{min-width:80px}.row-actions{display:flex;gap:9px}.supplier-card{border:1px solid #d3c5b4;padding:13px;border-radius:6px;margin-bottom:12px}.supplier-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.supplier-card .form-grid{gap:11px}.supplier-card .field{flex-basis:160px}.totals{display:flex;justify-content:flex-end;gap:30px;padding:15px 0;font-size:12px;color:#5f6c77}.totals strong{font:20px Arial,sans-serif;color:#1c3043;margin-left:8px}.tabs{display:flex;border-bottom:1px solid #d3c5b4;margin:0 0 21px;gap:6px;overflow:auto}.tabs button{padding:10px 15px;color:#5f6c77;white-space:nowrap;border-bottom:2px solid transparent;border-radius:0}.tabs button.active{border-color:#d3c5b4;color:#164d83}.detail-summary{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:20px}.detail-summary div{flex:1;min-width:150px;color:#5f6c77;font-size:11px}.detail-summary strong{font-size:16px;display:block;color:#1c3043;margin-top:4px}.detail-panel{display:none}.detail-panel.active{display:block}.detail-two-cols{display:flex;gap:25px}.detail-two-cols>div{flex:1;min-width:0}.action-form{border:1px solid #d3c5b4;background:#fdfaf5;padding:16px;border-radius:6px;margin-bottom:17px}.action-form h3{margin-bottom:12px;color:#5f6c77}.action-form .btn{margin-top:13px}.action-form .form-grid{gap:12px}.action-form .field{flex-basis:170px}.permission-note{font-size:11px;color:#5f6c77;margin:9px 0}.record-list{padding:0;margin:0;list-style:none}.record{padding:12px 0;border-bottom:1px solid #d3c5b4;font-size:12px;color:#5f6c77}.record strong{color:#5f6c77}.record small{color:#5f6c77}.record .record-description{margin-top:5px;word-break:break-word}.attachment-link{display:inline-block;margin:5px 12px 3px 0;font-size:12px}.info-line{display:flex;gap:16px;margin:8px 0;color:#5f6c77;font-size:13px}.info-line>span{min-width:80px;color:#5f6c77}.info-line>strong{font-weight:400;color:#1c3043;word-break:break-word}.muted{color:#5f6c77}.danger-text{color:#a7352c}.success-text{color:#276f4e}.locked{color:#5f6c77}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 22px;color:#1c3043;background:#fdfaf5;border:1px solid #d3c5b4;border-radius:6px;box-shadow:0 8px 40px rgba(85,64,39,.12);z-index:80;max-width:90%;font-size:13px}.inline-error{color:#a7352c;font-size:12px;margin-top:12px;white-space:pre-wrap}.progress-mini{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.progress-mini span{padding:5px 10px;background:#fdfaf5;border:1px solid #d3c5b4;border-radius:20px;font-size:11px;color:#5f6c77}.progress-mini span.done{color:#276f4e;border-color:#b5d5c3}.progress-mini span.current,.progress-mini span.partial{color:#5f6c77;border-color:#d3c5b4}.pagination{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:13px 0}.file-preview{display:flex;align-items:center;gap:10px}.file-preview img{width:180px;max-height:180px;object-fit:contain;background:#fdfaf5}.inline-options{display:flex;gap:16px;align-items:center;font-size:12px;color:#5f6c77}.inline-options label{display:flex;gap:7px;align-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}[hidden]{display:none!important}@media(min-width:1550px){.workspace{padding-top:44px}.page-intro{margin-bottom:33px}.order-row{padding-top:25px;padding-bottom:25px}.stats-strip{padding:27px 0}.todo-band{padding:21px 23px}}@media(max-width:1250px){.topbar{padding:0 3%;min-height:82px}.main-nav{margin:0 10px}.nav-link{padding:0 12px}.brand-product{font-size:17px}.brand-divider{margin:0 13px}.workspace{padding:28px 3% 16px}.workspace-columns{gap:22px}.progress-section{min-width:300px;padding-left:20px}.stat{padding:0 14px;gap:10px}.stat strong{font-size:27px}.todo-list{gap:5px}.todo-item{padding:2px 10px}.order-tools{flex-wrap:wrap}.search-box{width:100%}.order-row{padding-left:10px;padding-right:10px}.order-brand{font-size:14px}.order-money strong{font-size:16px}.ring-center strong{font-size:20px}.account{gap:8px}}@media(max-width:1000px){.topbar{flex-wrap:wrap;padding:18px 4% 0;gap:14px}.brand{flex:1}.main-nav{order:3;width:100%;height:45px;margin:0}.nav-link{flex:1;padding:0 8px}.account{font-size:11px}.workspace{padding:25px 4% 16px}.page-intro{align-items:flex-start;gap:15px}.page-intro h1{font-size:24px}.server-clock{display:none}.intro-actions{gap:10px}.todo-band{padding:13px 15px;gap:12px}.todo-list .todo-item:nth-child(n+3){display:none}.todo-title h2{font-size:14px}.todo-band>.text-button{display:none}.stats-strip{flex-wrap:wrap;padding:12px 0;gap:18px 0}.stat{flex-basis:33.333%;padding:0 15px!important;justify-content:flex-start}.stat:nth-child(3){border:0}.stat span{font-size:11px}.stat strong{font-size:24px}.workspace-columns{flex-direction:column}.orders-section{width:100%}.progress-section{width:100%;max-width:none;min-width:0;padding:25px 0 0;border-left:0;border-top:1px solid #d3c5b4}.ring-wrap{max-width:400px;margin:0 auto}.selected-summary{justify-content:space-around}.supplier-progress{display:flex;gap:15px;flex-wrap:wrap}.supplier-line{flex:1;min-width:200px}.list-table-head span:nth-child(1),.order-primary{width:43%}.list-table-head span:nth-child(2),.order-money{width:29%}.list-table-head span:nth-child(3),.order-state{width:28%}.detail-two-cols{flex-direction:column;gap:0}.modal-overlay{padding:1.5vh 2%}.modal{max-height:97vh}.modal-heading{padding:16px}#modal-body{padding:16px}.brand-name{font-size:21px}.brand-product{font-size:18px}}@media(max-width:550px){.brand-product{font-size:15px;letter-spacing:1px}.brand-product span{font-size:6px;letter-spacing:.5px}.brand-divider{margin:0 10px}.brand-name{font-size:19px;letter-spacing:3px}.brand-name span{font-size:7px;letter-spacing:3px}.account #user-label{max-width:95px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.page-intro h1{font-size:21px;letter-spacing:1px}.page-intro p{font-size:11px}.page-intro .eyebrow{font-size:8px;letter-spacing:1px}.intro-actions .btn{padding:8px 10px;font-size:12px}.todo-title .pill{display:none}.todo-list .todo-item:nth-child(n+2){display:none}.todo-item{padding-left:12px}.todo-band{gap:10px}.stat{gap:9px}.stat strong{font-size:22px}.stat span{font-size:10px}.stat small{display:none}.order-row{padding:17px 9px;min-height:100px}.order-number{font-size:10px}.order-brand{font-size:13px}.order-money strong{font-size:14px}.order-state strong{font-size:11px}.order-state small{font-size:10px}.order-sub{font-size:10px}.list-table-head{font-size:10px;padding-left:9px}.heading-actions{gap:10px}.list-footer{font-size:9px}.list-footer span:last-child{display:none}.page-footer{font-size:9px;letter-spacing:0;gap:10px}.auth-screen{margin:5vh 4%;padding:26px 23px}.demo-logins{gap:6px}.demo-logins .btn{font-size:11px}.form-grid{gap:11px}.field{flex-basis:100%}.totals{flex-wrap:wrap;gap:12px}.totals strong{font-size:17px}.tabs{gap:0}.tabs button{padding:9px 11px;font-size:12px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{padding:8px 12px;font-size:12px}.section-heading h2{font-size:18px}}

/* Preserved reference layout; current user-selected white palette */
:root{--bg:#f2ede5;--panel:#fdfaf5;--panel2:#1c3043;--line:#d3c5b4;--gold:#8a641e;--text:#1c3043;--muted:#5f6c77;--green:#276f4e}
body{background:#f2ede5;color:#1c3043}
.mode-banner{background:#fdfaf5;color:#5f6c77;border-bottom:1px solid #d3c5b4;min-height:20px;line-height:20px;font-size:10px}
.topbar{min-height:98px;padding:9px 3.9%;background:#fdfaf5;border-bottom:1px solid #d3c5b4}
.brand{gap:15px}
.brand-logo{display:block;width:78px;height:76px;object-fit:contain;background:#fdfaf5;border:1px solid #d3c5b4;border-radius:3px;padding:3px;flex-shrink:0}
.brand-product{font-family:SimSun,"宋体",serif;font-size:27px;letter-spacing:5px;line-height:1.3}
.brand-product span{font-family:"Microsoft YaHei",Arial,sans-serif;font-size:9px;color:#1c3043;letter-spacing:1.1px;margin-top:7px}
.main-nav{flex:1;margin:0 42px;justify-content:flex-start}
.nav-link{font-family:SimSun,"宋体",serif;font-size:20px;padding:0 23px;color:#1c3043;letter-spacing:1px}
.nav-link.active{color:#164d83}
.nav-link.active:after{left:16px;right:16px;height:3px;background:#fdfaf5}
.account{font-size:12px;gap:12px;color:#1c3043}
.workspace{max-width:1640px;padding:24px 3.9% 20px}
.page-intro{min-height:132px;margin-bottom:9px;align-items:center}
.page-intro .eyebrow{font-family:"Microsoft YaHei",sans-serif;font-size:14px;letter-spacing:0;color:#5f6c77;margin-bottom:10px}
.breadcrumb-divider{display:inline-block;padding:0 13px;color:#5f6c77}
.page-intro h1{font-family:SimSun,"宋体",serif;font-size:51px;line-height:1.25;letter-spacing:3px;font-weight:700;color:#1c3043}
.page-intro p{font-family:SimSun,"宋体",serif;font-size:22px;color:#1c3043;letter-spacing:1px;margin-top:5px}
.intro-actions{gap:23px;margin-top:20px}
.server-clock{font-size:14px;line-height:1.5;color:#5f6c77}
.server-clock span{font-size:10px;color:#5f6c77}
.intro-actions .btn{min-height:50px;padding:10px 25px;font-size:17px;border-radius:4px}
.btn.primary{background:#164d83;border-color:#164d83;color:#ffffff;box-shadow:none}
.btn.primary:hover{background:#103e6d}
.stats-strip{border-top:0;border-bottom:1px solid #d3c5b4;margin-bottom:26px;padding:21px 0 24px}
.stat{gap:15px;padding:0 23px;border-right:1px solid #d3c5b4;justify-content:center;min-height:40px}
.stat span{font-size:16px;color:#1c3043}
.stat strong{font-family:Georgia,"Times New Roman",serif;font-size:34px;color:#5f6c77}
.stat small{font-size:11px;color:#5f6c77}
.stat-completed strong{color:#5f6c77}
.workspace-columns{gap:25px;align-items:flex-start}
.orders-section{flex:1;min-width:0}
.progress-section{width:36.5%;max-width:none;min-width:360px;padding-left:32px;border-left:1px solid #d3c5b4}
.section-heading{margin-bottom:13px;min-height:43px}
.section-title{display:flex;align-items:baseline;gap:16px;min-width:0}
.workspace .section-heading h2{font-family:SimSun,"宋体",serif;font-size:31px;font-weight:700;color:#1c3043;letter-spacing:1px;line-height:1.4;white-space:nowrap}
.subtle,.live-label{color:#5f6c77;font-size:12px;white-space:nowrap}
.heading-actions{gap:15px}
.heading-actions .text-button{font-size:12px;color:#164d83}
.order-tools{border-bottom:0;padding-bottom:8px;gap:14px;min-height:43px}
.filter-chip{padding:5px 12px;font-size:13px;color:#5f6c77;border:1px solid transparent;border-radius:5px}
.filter-chip.active{border-color:#d3c5b4;background:#fdf4e9;color:#164d83}
.search-box{width:246px;background:#fdfaf5;border-color:#d3c5b4;border-radius:4px}
.search-box input{padding:7px 10px;color:#1c3043}
.search-box button{font-size:12px;color:#1c3043}
.list-table-head{display:flex;padding:12px 16px 11px;color:#1c3043;font-size:14px;letter-spacing:.4px}
.list-table-head span:nth-child(1){width:31%}
.list-table-head span:nth-child(2){width:12%}
.list-table-head span:nth-child(3){width:28%}
.list-table-head span:nth-child(4){width:12%}
.orders-list{max-height:420px;overflow-y:auto;scrollbar-color:#5f6c77 #1c3043;scrollbar-width:thin}
.order-row{padding:17px 16px;border-radius:0;min-height:105px;background:transparent;border-bottom:1px solid #d3c5b4;box-shadow:none}
.order-row:hover{background:#f7f0e7}
.order-row.selected{background:#fdf4e9;box-shadow:inset 3px 0 #b38a4d,inset 0 1px #b38a4d,inset 0 -1px #b38a4d}
.order-primary{width:31%;padding-right:12px;min-width:0}
.order-brand{font-family:SimSun,"宋体",serif;font-size:21px;font-weight:700;line-height:1.35;margin-bottom:4px}
.order-number{color:#164d83;font-size:12px;font-family:Arial,sans-serif;margin:0;letter-spacing:.4px}
.order-amount{display:block;font-size:10px;color:#5f6c77;margin-top:4px;white-space:nowrap}
.order-suppliers{width:12%;min-width:0;color:#1c3043;font-size:15px}
.order-suppliers>strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.5}
.order-suppliers>strong small{font-family:"Microsoft YaHei",sans-serif;font-size:12px}
.order-suppliers>small{display:block;font-size:10px;color:#5f6c77}
.order-state{width:28%;padding:0 9px 0 0;min-width:0}
.order-state .status-badge{display:inline-block;border:1px solid #d3c5b4;background:#fdfaf5;border-radius:20px;color:#1c3043;padding:5px 10px;font-size:13px;margin:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.order-state .status-badge.is-done{color:#276f4e;border-color:#d3c5b4}
.order-state .status-badge.is-draft{color:#5f6c77;border-color:#d3c5b4}
.order-state .status-badge.is-partial,.order-row.selected .status-badge{color:#5f6c77;border-color:#d3c5b4;background:#fdf4e9}
.order-state>small{display:block;font-size:9px;line-height:1.5;color:#5f6c77;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-wait{width:12%;font-family:Georgia,"Times New Roman",SimSun,serif;font-size:18px;color:#5f6c77;white-space:nowrap}
.order-wait.is-overdue{color:#5f6c77}
.order-action{width:17%;text-align:right;font-size:13px;color:#1c3043;white-space:nowrap}
.list-footer{font-size:11px;color:#5f6c77;margin-top:15px;gap:10px}
.todo-band{margin:20px 0 0;border:0;border-top:1px solid #d3c5b4;border-left:2px solid #d3c5b4;border-radius:0;background:#fdfaf5;padding:12px 12px;gap:12px}
.todo-title{gap:8px}
.todo-title h3{font-family:SimSun,"宋体",serif;font-size:15px;color:#1c3043}
.todo-title .pill{font-size:10px;padding:0 6px}
.todo-list{gap:0}
.todo-item{padding:0 10px;font-size:11px;border-left:1px solid #d3c5b4}
.todo-item strong{font-size:10px}
.todo-item small{font-size:9px;white-space:nowrap}
.todo-band>.text-button{font-size:10px;color:#164d83}
.selected-order{display:flex;gap:12px;align-items:center;min-height:57px;font-family:"Microsoft YaHei",sans-serif;letter-spacing:0;color:#1c3043;margin:0}
.selected-order>div{min-width:0;flex:1}
#selected-brand{display:block;font-family:SimSun,"宋体",serif;font-size:25px;line-height:1.3;font-weight:700;color:#1c3043;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px}
#selected-number{font-family:Arial,sans-serif;display:block;font-size:14px;color:#1c3043;letter-spacing:.4px}
.wait-pill{display:inline-block;flex-shrink:0;font-size:13px;padding:5px 10px;border:1px solid #d3c5b4;border-radius:4px;color:#5f6c77;background:#fdfaf5;white-space:nowrap}
.ring-wrap{max-width:430px;margin:0 auto;width:100%}
.ring-wrap canvas{width:100%;height:auto}
.ring-center{top:48%;left:22%;right:22%;transform:translateY(-50%)}
.ring-center strong{font-family:SimSun,"宋体",serif;font-size:24px;font-weight:700;line-height:1.5;color:#1c3043}
.ring-center span{font-size:11px;color:#5f6c77;letter-spacing:1px;margin-top:1px}
.ring-center small{font-size:10px;line-height:1.5;color:#5f6c77;margin-top:3px}
.selected-summary{padding:13px 0 12px;border-top:1px solid #d3c5b4;border-bottom:1px solid #d3c5b4;align-items:center;gap:14px}
.selected-summary .summary-primary{width:47%;font-size:11px;color:#1c3043;white-space:nowrap}
.selected-summary .summary-primary strong{font-family:Georgia,"Times New Roman",serif;font-size:30px;color:#5f6c77;line-height:1.3;margin:2px 0}
.selected-summary .summary-primary small{font-family:"Microsoft YaHei",sans-serif;color:#5f6c77;font-size:9px;display:block}
.selected-summary .summary-context{flex:1;border-left:1px solid #d3c5b4;padding-left:14px}
.selected-summary .summary-context strong{font-family:"Microsoft YaHei",sans-serif;color:#1c3043;font-size:12px;margin:0 0 4px;white-space:nowrap}
.selected-summary .summary-context small{display:block;font-size:10px;line-height:1.7;color:#5f6c77;white-space:nowrap}
.supplier-progress{padding:9px 0;max-height:61px;overflow-y:auto}
.supplier-line{font-size:10px;margin:0 0 5px;line-height:1.4}
.supplier-line span:first-child{max-width:63%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f6c77}
.supplier-line span:last-child{white-space:nowrap;color:#5f6c77}
#open-selected{height:43px;border:1px solid #d3c5b4;border-radius:3px;color:#1c3043;background:#fdfaf5;font-size:15px;letter-spacing:1px}
#open-selected:hover{background:#f7f0e7;border-color:#d3c5b4}
.progress-footnote{margin-top:8px;font-size:10px;color:#5f6c77;line-height:1.6}
.page-footer{margin-top:26px;padding-top:12px;font-size:10px;color:#5f6c77}
.auth-screen .brand-name{width:auto;min-height:82px;padding:11px 0 10px 96px;background:url('/assets/nabaina-logo.png') left center / 82px 80px no-repeat;letter-spacing:4px}
.auth-screen .brand-name span{text-align:left}
@media(min-width:1550px){.workspace{padding-top:27px}.page-intro{margin-bottom:9px}.stats-strip{padding:22px 0 24px}.order-row{padding-top:17px;padding-bottom:17px}.todo-band{padding:12px}.progress-section{width:35.8%}}
@media(max-width:1250px){.topbar{padding:9px 3%;min-height:90px}.brand-logo{width:65px;height:64px}.brand{gap:11px}.brand-product{font-size:23px;letter-spacing:4px}.brand-product span{font-size:8px;letter-spacing:.5px}.main-nav{margin:0 22px}.nav-link{font-size:17px;padding:0 14px}.workspace{padding:24px 3% 16px}.progress-section{min-width:325px;width:36.5%;padding-left:21px}.workspace-columns{gap:21px}.page-intro h1{font-size:44px}.page-intro p{font-size:20px}.stats-strip{padding:18px 0 22px}.stat{padding:0 13px;gap:11px}.stat span{font-size:14px}.stat strong{font-size:30px}.order-tools{flex-wrap:wrap;gap:7px}.search-box{width:100%}.order-brand{font-size:18px}.order-state .status-badge{font-size:11px;padding:5px 7px}.order-action{font-size:11px}.order-wait{font-size:16px}.order-amount{font-size:9px}.list-table-head{font-size:12px}.workspace .section-heading h2{font-size:27px}#selected-brand{font-size:22px}.selected-order{gap:8px}.wait-pill{font-size:11px;padding:4px 7px}.selected-summary .summary-primary strong{font-size:25px}.selected-summary .summary-context{padding-left:10px}.selected-summary .summary-context strong{font-size:10px}.selected-summary .summary-context small{font-size:9px}.todo-list .todo-item:nth-child(n+3){display:none}.todo-item{padding:0 8px}.ring-center strong{font-size:21px}}
@media(max-width:1000px){.topbar{padding:12px 4% 0;gap:12px;min-height:0}.brand{flex:1}.brand-logo{width:56px;height:55px}.brand-product{font-size:22px}.main-nav{flex-basis:100%;height:44px;margin:0;justify-content:space-between}.nav-link{font-size:16px;padding:0 10px;flex:1}.account{font-size:11px}.workspace{padding:22px 4% 16px}.page-intro{min-height:118px;margin-bottom:8px;align-items:center}.page-intro h1{font-size:39px}.page-intro p{font-size:18px}.page-intro .eyebrow{font-size:12px;margin-bottom:8px}.server-clock{display:none}.intro-actions{margin-top:15px}.intro-actions .btn{font-size:14px;min-height:43px;padding:8px 18px}.stats-strip{flex-wrap:wrap;gap:18px 0;padding:13px 0 19px;margin-bottom:23px}.stat{flex-basis:33.333%;min-height:31px;justify-content:flex-start;padding:0 15px!important;border-color:#d3c5b4;gap:11px}.stat:nth-child(3){border:0}.stat span{font-size:13px}.stat strong{font-size:28px}.workspace-columns{flex-direction:column;gap:23px}.orders-section{width:100%}.progress-section{width:100%;max-width:none;min-width:0;padding:22px 0 0;border-left:0;border-top:1px solid #d3c5b4}.workspace .section-heading h2{font-size:27px}.order-tools{flex-wrap:nowrap}.search-box{width:250px}.list-table-head{font-size:13px}.list-table-head span:nth-child(1),.order-primary{width:31%}.list-table-head span:nth-child(2),.order-suppliers{width:12%}.list-table-head span:nth-child(3),.order-state{width:28%}.list-table-head span:nth-child(4),.order-wait{width:12%}.order-action{width:17%;font-size:12px}.order-row{padding:15px 13px;min-height:99px}.order-brand{font-size:19px}.order-state .status-badge{font-size:12px}.order-wait{font-size:17px}.orders-list{max-height:400px}.todo-band{margin-top:17px}.todo-list .todo-item:nth-child(n+3){display:none}.todo-band>.text-button{display:block}.ring-wrap{max-width:430px}.ring-center strong{font-size:24px}.selected-order{min-height:58px}#selected-brand{font-size:25px}.selected-summary{justify-content:space-around}.selected-summary .summary-primary{width:45%}.selected-summary .summary-primary strong{font-size:31px}.selected-summary .summary-context strong{font-size:13px}.selected-summary .summary-context small{font-size:11px}.supplier-progress{display:block;max-height:68px}.supplier-line{font-size:12px;min-width:0}.selected-summary .summary-context{flex:none;width:49%;padding-left:18px}.progress-footnote{font-size:11px}}
@media(max-width:550px){.brand{gap:9px}.brand-logo{width:47px;height:46px;padding:2px}.brand-product{font-size:20px;letter-spacing:3px}.brand-product span{font-size:6px;letter-spacing:.2px;margin-top:3px}.account{gap:6px}.account #user-label{max-width:100px}.main-nav{gap:0;height:41px}.nav-link{font-size:14px;padding:0 7px}.workspace{padding:18px 4% 16px}.page-intro{min-height:110px;gap:12px}.page-intro h1{font-size:34px;letter-spacing:2px}.page-intro p{font-size:16px;letter-spacing:.5px}.page-intro .eyebrow{font-size:10px}.breadcrumb-divider{padding:0 8px}.intro-actions{margin-top:21px}.intro-actions .btn{min-height:40px;padding:8px 12px;font-size:12px}.stats-strip{gap:15px 0;padding:10px 0 16px}.stat{padding:0 9px!important;gap:8px}.stat span{font-size:12px}.stat strong{font-size:25px}.stat small{display:none}.workspace .section-heading h2{font-size:25px}.section-title{gap:9px}.subtle{font-size:11px}.heading-actions{gap:10px}.heading-actions .text-button{font-size:11px}.order-tools{flex-wrap:wrap;gap:8px;padding-bottom:5px}.status-filters{gap:3px}.filter-chip{font-size:12px;padding:4px 10px}.search-box{width:100%}.list-table-head{padding:12px 9px 9px;font-size:11px;letter-spacing:0}.list-table-head span:nth-child(1),.order-primary{width:36%}.list-table-head span:nth-child(2),.order-suppliers{width:14%}.list-table-head span:nth-child(3),.order-state{width:35%}.list-table-head span:nth-child(4),.order-wait{width:15%}.orders-list{max-height:394px}.order-row{min-height:97px;padding:14px 9px}.order-brand{font-size:16px}.order-number{font-size:9px}.order-amount{font-size:8px}.order-suppliers>strong{font-size:17px}.order-suppliers>small{font-size:8px;line-height:1.4}.order-suppliers>strong small{font-size:10px}.order-state{padding-right:6px}.order-state .status-badge{font-size:10px;padding:5px 6px}.order-state>small{font-size:8px}.order-wait{font-size:13px}.order-action{display:none}.todo-title h3{font-size:14px}.todo-title .pill{display:inline-block}.todo-list .todo-item:nth-child(n+2){display:none}.todo-band{padding:10px 9px;gap:9px}.todo-item{padding-left:10px}.todo-band>.text-button{font-size:9px}.list-footer{font-size:9px}.selected-order{gap:10px}#selected-brand{font-size:24px}#selected-number{font-size:13px}.wait-pill{font-size:12px;padding:4px 8px}.ring-wrap{max-width:390px}.ring-center strong{font-size:22px}.ring-center small{font-size:9px}.selected-summary .summary-primary{width:45%;font-size:10px}.selected-summary .summary-primary strong{font-size:26px}.selected-summary .summary-primary small{font-size:8px}.selected-summary .summary-context{width:50%;padding-left:12px}.selected-summary .summary-context strong{font-size:11px}.selected-summary .summary-context small{font-size:9px}.supplier-line{font-size:10px}#open-selected{font-size:14px;height:42px}.auth-screen .brand-name{padding-left:86px;background-size:74px 72px;min-height:74px;font-size:23px}.page-footer{font-size:9px}}
/* Flexible draft entry: bulk SKU operations and explicit supplier identity review. */
.editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.sku-bulk-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:13px;border:1px solid #d3c5b4;border-radius:6px;margin:12px 0;background:#fdfaf5}
.bulk-check{display:inline-flex;gap:7px;align-items:center;font-size:12px;white-space:nowrap}
.bulk-check input,.sku-select{width:17px!important;height:17px;min-height:0!important;margin:0;accent-color:#164d83;flex:none}
.bulk-supplier-label{display:flex;align-items:center;gap:8px;font-size:12px}
.bulk-supplier-label select{max-width:290px;min-width:190px}
.bulk-default{flex-basis:100%}
.bulk-add-label{display:inline-flex;gap:8px;align-items:center;font-size:12px}
.bulk-add-label input{width:76px!important;min-width:0}
.sku-table .col-select{width:45px;min-width:45px;text-align:center}
.sku-table-wrap{max-height:460px;overflow:auto}
.sku-table-wrap thead th{position:sticky;top:0;z-index:1;background:#eee5d8}
.supplier-duplicate-slot .notice{margin-top:12px}
.supplier-duplicate-slot p{margin:7px 0;font-size:12px;line-height:1.6}
.supplier-duplicate-slot small{display:block;margin-top:8px;line-height:1.6;color:#5f6c77}
.supplier-card .supplier-card-head>.text-button{flex:none}
.form-section h3>small{font-family:"Microsoft YaHei",sans-serif;font-size:12px;font-weight:400}
@media(max-width:550px){.sku-bulk-toolbar{padding:10px;gap:10px}.bulk-supplier-label{display:block;width:100%}.bulk-supplier-label select{display:block;max-width:none;width:100%;margin-top:6px}.sku-bulk-toolbar .btn{font-size:11px}.editor-actions{gap:9px}.supplier-duplicate-slot .editor-actions{align-items:stretch}.supplier-duplicate-slot .editor-actions .btn{white-space:normal;text-align:left}.sku-table-wrap{max-height:400px}}
/* Stage entry, current-page selection and explicit export scope. */
.stats-strip button.stat{border-radius:0;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer;transition:background .15s}
.stats-strip button.stat:hover{background:#f7f0e7}
.stats-strip button.stat.stat-active{background:#fdf4e9;box-shadow:inset 0 -3px #b38a4d}
.stats-strip button.stat:focus-visible{outline:2px solid #164d83;outline-offset:3px}
.order-filter-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:8px 0 10px;font-size:12px}
.order-filter-summary>strong{color:#5f6c77;font-size:14px}
.order-filter-summary>small{flex-basis:100%;font-size:10px;line-height:1.6;color:#5f6c77}
.order-selection-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;padding:9px 11px;border:1px solid #d3c5b4;border-radius:4px;background:#fdfaf5;font-size:11px}
.order-selection-toolbar label{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.order-selection-toolbar input,.order-check-label input{width:16px!important;height:16px;min-height:0!important;padding:0;margin:0;accent-color:#164d83;flex:none}
.order-selection-toolbar>strong{color:#5f6c77;font-size:11px}
#export-hint{color:#5f6c77;line-height:1.6}
.order-selection-note{margin:7px 0 0;color:#5f6c77;font-size:10px;line-height:1.6;min-height:16px}
.order-select-table-head{display:flex;padding-left:0!important;padding-right:0!important;align-items:center}
.order-select-table-head>.order-check-head{width:33px!important;flex:none;text-align:center;font-size:10px}
.order-data-head{display:flex;flex:1;min-width:0;align-items:center}
.order-data-head>span:nth-child(1){width:37%}.order-data-head>span:nth-child(2){width:15%}.order-data-head>span:nth-child(3){width:31%}.order-data-head>span:nth-child(4){width:17%}
.order-select-table-head>.order-detail-head{width:48px!important;flex:none;text-align:center;font-size:10px}
.order-list-item{display:flex;align-items:stretch;border-bottom:1px solid #d3c5b4;min-width:0}
.order-list-item.is-preview{background:#fdf4e9;box-shadow:inset 3px 0 #b38a4d}
.order-check-label{width:33px;flex:none;display:flex;align-items:center;justify-content:center;cursor:pointer}
.order-list-item>.order-row{flex:1;width:auto;min-width:0;min-height:103px;border:0;border-radius:0;padding-left:5px;padding-right:4px;box-shadow:none!important;background:transparent}
.order-list-item>.order-row:hover{background:#f7f0e7}
.order-list-item .order-primary{width:37%;padding-right:8px}.order-list-item .order-suppliers{width:15%;padding:0 4px}.order-list-item .order-state{width:31%;padding:0 7px 0 2px}.order-list-item .order-wait{width:17%;padding:0;font-size:16px}
.order-detail-button{display:block;width:48px;flex:none;border-radius:0;color:#1c3043;font-size:11px;padding:6px 3px;white-space:nowrap;background:transparent}
.order-detail-button:hover{background:#f7f0e7;color:#1c3043}
.order-mobile-meta{display:none}
.order-page-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:11px 0 0;color:#1c3043;font-size:11px}
.order-page-nav>small{font-size:10px;color:#5f6c77}.order-page-nav>div{display:flex;gap:8px}
.export-selection-summary{font-size:14px;margin:12px 0;color:#1c3043}.export-selection-summary strong{color:#5f6c77}
.export-order-numbers{padding-left:22px;margin:12px 0 20px;max-height:260px;overflow:auto;color:#164d83;font-size:12px;line-height:1.9;word-break:break-word}
@media(max-width:1250px){.order-list-item .order-brand{font-size:16px}.order-list-item .order-state .status-badge{font-size:10px;padding:5px}.order-list-item .order-state>small{font-size:8px}.order-list-item .order-wait{font-size:14px}.order-selection-toolbar{gap:6px 10px}.order-data-head{font-size:11px}}
@media(max-width:550px){.order-filter-summary>strong{font-size:13px}.order-selection-toolbar{padding:8px;font-size:10px;gap:7px 12px}#export-hint{flex-basis:100%;font-size:10px}.order-select-table-head>.order-check-head,.order-check-label{width:27px!important}.order-select-table-head>.order-detail-head,.order-detail-button{width:38px!important;font-size:10px}.order-data-head>span:nth-child(1),.order-list-item .order-primary{width:48%}.order-data-head>span:nth-child(2),.order-list-item .order-suppliers{display:none}.order-data-head>span:nth-child(3),.order-list-item .order-state{width:35%}.order-data-head>span:nth-child(4),.order-list-item .order-wait{width:17%}.order-list-item>.order-row{min-height:101px;padding:12px 3px}.order-list-item .order-brand{font-size:14px}.order-list-item .order-number{font-size:8px}.order-list-item .order-amount{font-size:8px}.order-list-item .order-state .status-badge{font-size:9px;padding:4px}.order-list-item .order-state>small{font-size:8px}.order-list-item .order-wait{font-size:12px}.order-mobile-meta{display:block;font-size:8px;color:#5f6c77;margin-top:3px}.order-page-nav{font-size:10px}.order-page-nav>small{flex-basis:100%;order:3}.order-page-nav .btn{font-size:10px;padding:4px 8px}}

.order-list-item .order-state .order-filter-context{color:#5f6c77;font-size:9px;line-height:1.5;margin-top:3px}

/* Controlled attachment previews and grouped voucher queues. */
.attachment-actions{display:block;margin:7px 0;word-break:break-word}.attachment-actions .attachment-link{display:inline-block;margin-right:13px}.attachment-preview-button{font-size:11px}.attachment-preview-panel{display:block;margin:9px 0 12px;padding:10px;border:1px solid #d3c5b4;background:#fdfaf5;border-radius:4px}.attachment-preview-panel img{display:block;max-width:100%;max-height:540px;object-fit:contain;background:#fdfaf5;margin:0 auto}.attachment-preview-panel .help{display:block;margin:8px 0 0}.attachment-card{padding:14px 0;border-bottom:1px solid #d3c5b4}.attachment-card-heading{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap}.attachment-card-heading strong{font-size:13px;color:#164d83}.attachment-card-heading .pill{font-size:10px}.attachment-card>.help{margin:7px 0}.attachment-group-label{font-size:12px;font-weight:600;color:#164d83;margin:10px 0 8px;line-height:1.7}.action-file-queue{max-width:100%;word-break:break-word}.queued-file-list{padding:0;margin:8px 0 13px;list-style:none;max-height:280px;overflow:auto}.queued-file-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #d3c5b4}.queued-file-list li>span{min-width:0;flex:1}.queued-file-list strong{display:block;font-size:12px;font-weight:400;color:#1c3043}.queued-file-list small{display:block;font-size:10px;line-height:1.7;color:#5f6c77;margin-top:3px}.queued-file-list button{flex:none;font-size:10px}.supplier-invoice-line{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #d3c5b4}.supplier-invoice-line>span{flex:1;min-width:0}.supplier-invoice-line strong{display:block;font-size:13px;color:#1c3043;word-break:break-word}.supplier-invoice-line small{display:block;font-size:11px;line-height:1.7;color:#5f6c77;margin-top:4px}.supplier-invoice-line .btn{flex:none;white-space:normal;max-width:180px}.payment-invoice-state .notice{margin:0 0 9px}.record>.append-record-attachments{margin:9px 0}.supplier-invoice-entry{border-top:2px solid #d3c5b4;padding-top:15px}
@media(max-width:550px){.attachment-preview-panel{padding:6px}.attachment-preview-panel img{max-height:380px}.supplier-invoice-line{align-items:flex-start;flex-wrap:wrap}.supplier-invoice-line>span{flex-basis:100%}.supplier-invoice-line .btn{max-width:none}.queued-file-list li{gap:7px}.attachment-card-heading strong{font-size:12px}}

/* Per-SKU one-time other fee, kept inside the existing scrolling editor. */
.sku-table .col-fee{width:135px;min-width:135px}.sku-table .sku-fee-hint{display:block;color:#5f6c77;font-size:9px;line-height:1.5;margin-top:5px;white-space:normal}.sku-table input[data-item-field="other_fee"]{min-width:110px}

/* r7 regular white palette: same layout and controls, clear role-disabled states. */
:root{color-scheme:light;--bg:#f2ede5;--panel:#fdfaf5;--panel2:#f6efe6;--line:#d3c5b4;--gold:#8a641e;--text:#1c3043;--muted:#5f6c77;--green:#276f4e;--red:#a7352c;--blue:#164d83}
body{background:#f2ede5;color:#1c3043}
.topbar,.auth-screen,.modal,.action-form,.supplier-card,.attachment-preview-panel{background:#fdfaf5;color:#1c3043}
.topbar{border-color:#d3c5b4}.brand-product,.brand-name{color:#1c3043}.brand-name span{color:#8a641e}.brand-divider{background:#d3c5b4}.brand-logo{background:#fdfaf5}
input,select,textarea,input[type=file]{background:#fdfaf5;color:#1c3043;border-color:#c9bcae}input::placeholder,textarea::placeholder{color:#69747d}
button:disabled,input:disabled,select:disabled,textarea:disabled{opacity:1}
input:disabled,select:disabled,textarea:disabled{background:#ede8e1!important;color:#69747d!important;border-color:#d3c5b4!important}
.btn{background:#fdfaf5;color:#164d83;border-color:#c8b79e}.btn:hover{background:#f8efe2;border-color:#7b95ad}.btn.primary{background:#164d83;color:#ffffff;border-color:#164d83}.btn.primary:hover{background:#103e6d}.btn.danger{color:#a7352c;border-color:#d5a59f}.btn:disabled,.btn.primary:disabled{background:#ede8e1;color:#6e787f;border-color:#d3c5b4;box-shadow:none}.text-button:disabled{color:#778079}
a,.text-button,.order-number,.order-detail-button,.attachment-link{color:#164d83}.text-button:hover,a:hover{color:#164c76}.nav-link{color:#5f6c77}.nav-link.active,.tabs button.active{color:#164d83;border-color:#164d83}.nav-link.active:after{background:#164d83}.nav-link:hover{color:#164d83}
.mode-banner{color:#755816;background:#fff8e9;border-color:#ead8af}.todo-band,.notice,.sku-bulk-toolbar,.order-selection-toolbar{background:#fdfaf5;color:#42566a}.todo-band{border-left-color:#164d83}.filter-chip.active,.stats-strip button.stat.stat-active,.order-list-item.is-preview{background:#fdf4e9;color:#164d83}.stats-strip button.stat.stat-active{box-shadow:inset 0 -3px #164d83}.stat strong{color:#164d83}
.notice.warning{background:#fff8e9;color:#755816;border-color:#e6d1a6}.notice.error{background:#fff3f1;color:#9e332c;border-color:#e5b9b3}.notice.success{background:#eef8f2;color:#276f4e;border-color:#b5d5c3}.pill{color:#6e5724;border-color:#d4c29b;background:#fffaf0}.pill.danger{color:#a7352c;border-color:#ddb0a9;background:#fff4f2}.pill.success{color:#276f4e;border-color:#b5d5c3;background:#f0f8f3}
.order-state .status-badge{color:#2c4c68;background:#fdf4e9;border-color:#c6d7e6}.order-state .status-badge.is-done{color:#276f4e;background:#eef8f2;border-color:#b5d5c3}.order-state .status-badge.is-draft{color:#5f6c77;background:#f5eee5;border-color:#d3c5b4}.order-state .status-badge.is-partial,.order-row.selected .status-badge{color:#765818;background:#fdf4e9;border-color:#e6d1a6}.order-state .status-badge.is-correction{color:#a7352c;background:#fff3f1;border-color:#dfa69d}
.progress-mini span{color:#5f6c77;background:#eee5d8;border-color:#d3c5b4}.progress-mini span.done{color:#276f4e;background:#eef8f2;border-color:#b5d5c3}.progress-mini span.current,.progress-mini span.partial{color:#164d83;background:#fdf4e9;border-color:#d1bf9f}.wait-pill{background:#eee5d8;color:#5f6c77;border-color:#d8cbb9}.ring-center strong,#selected-brand{color:#1c3043}
.danger-text,.inline-error,.return-reason{color:#a7352c}.success-text{color:#276f4e}.muted,.help,.subtle,.permission-note{color:#5f6c77}.toast{background:#fdfaf5;color:#1c3043;border-color:#c4ae8c;box-shadow:0 8px 35px rgba(85,64,39,.14)}.modal-overlay{background:rgba(61,48,34,.22)}.modal{box-shadow:0 20px 75px rgba(85,64,39,.18)}
/* Display sequence is separate from stable order IDs and selection controls. */
.order-select-table-head>.order-sequence-head,.order-list-item>.order-sequence{width:30px!important;min-width:30px;flex:none;display:flex;align-items:center;justify-content:center;color:#1c3043;font:12px/1.5 Arial,"Microsoft YaHei",sans-serif;text-align:center}
.order-select-table-head>.order-sequence-head{font-size:10px}.order-sequence-note{font-size:10px;color:#5f6c77}
/* Returned objects keep a visible correction route without resetting the order. */
.correction-panel,.correction-card{background:#fdfaf5;border:1px solid #e6beb8;border-left:3px solid #bd5e52;border-radius:5px;padding:13px 15px;margin:12px 0;word-break:break-word}
.correction-panel h3,.correction-card h3{color:#923b31}.correction-panel .btn,.correction-card .btn{margin-top:9px}.return-reason{display:block;white-space:pre-wrap;word-break:break-word;margin-top:5px}.return-provenance{display:block;color:#69747d;font-size:11px;line-height:1.7;margin-top:5px}
.supplier-invoice-line.is-returned,.record-returned{background:#fffaf9;border-left:3px solid #d38a80;padding-left:12px;padding-right:10px}.order-return-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:3em;overflow:hidden;color:#a04439!important;font-size:10px!important;line-height:1.5;white-space:normal!important;word-break:break-word}
.order-correction-button{width:40px;flex:none;align-self:stretch;white-space:normal;padding:5px 3px;font-size:11px;line-height:1.5;color:#9d4034;background:#fff8f6;border-left:1px solid #eed4cf;border-radius:0}.order-correction-button:hover{background:#ffefeb}.order-correction-button:disabled{color:#778079;background:#ede8e1}
.selected-summary{flex-wrap:wrap}.selected-return-notice{flex-basis:100%;width:100%;margin-top:8px;padding:10px 12px;border:1px solid #e6beb8;background:#fff8f6;color:#963d32;font-size:11px;line-height:1.7;word-break:break-word}
.stats-strip{flex-wrap:wrap}.correction-workspace-alert{flex-basis:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;margin:12px 0 0;background:#fff7f5;border:1px solid #e5bdb6;border-radius:5px;color:#963d32;font-size:12px;line-height:1.7}.correction-workspace-alert .btn{flex:none}.supplier-correction-context,.receipt-finance-prerequisite{word-break:break-word}
@media(max-width:550px){.order-select-table-head>.order-sequence-head,.order-list-item>.order-sequence{width:23px!important;min-width:23px;font-size:10px}.order-correction-button{width:32px;font-size:10px}.correction-panel,.correction-card{padding:10px}.correction-workspace-alert{align-items:flex-start;flex-wrap:wrap;font-size:11px}.order-return-reason{font-size:9px!important}}

/* R8 permitted paint-only section surfaces. */
.orders-section,.progress-section,.stats-strip{background:#fdfaf5;box-shadow:inset 0 0 0 1px #d3c5b4;border-radius:6px}
.list-table-head{background:#eee5d8}
th,.list-table-head,.order-data-head{color:#1c3043}
/* R9 additive trade overview and bounded page selector; existing warm ivory sections retained. */
.trade-overview{margin:0 0 23px;padding:18px 20px;background:#fdfaf5;border:1px solid #d3c5b4;border-radius:6px}
.overview-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.overview-heading h2{font-size:19px;letter-spacing:1px}.overview-heading p{color:#5f6c77;font-size:11px;margin-top:3px}.overview-filter{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap}.overview-filter label{color:#5f6c77;font-size:11px}.overview-filter input{display:block;width:145px;padding:6px 8px;font-size:12px;margin-top:3px}.overview-filter .btn{padding:6px 12px}.overview-date-separator{color:#5f6c77;font-size:11px;padding-bottom:7px}.overview-filter .text-button{padding:7px 2px}.overview-range-note,.overview-status{font-size:11px;color:#5f6c77;margin-top:8px}.overview-status.danger-text{color:#a7352c}.overview-cards{display:flex;flex-wrap:wrap;margin-top:12px;gap:10px}.overview-card{flex:1 1 200px;min-width:0;padding:12px 14px;background:#f6efe6;border:1px solid #e0d6c8;border-radius:5px}.overview-card>span{display:block;font-size:12px;color:#5f6c77}.overview-card>strong{display:block;color:#1c3043;font:24px/1.5 Arial,"Microsoft YaHei",sans-serif;word-break:break-all}.overview-card>small{display:block;font-size:10px;color:#5f6c77}.overview-completed{border-color:#b9cdbb;background:#f1f7ef}.overview-completed>strong{color:#276f4e}.overview-scope{margin-top:11px;font-size:11px;color:#5f6c77}.overview-scope summary{cursor:pointer;color:#164d83;outline-offset:4px}.overview-scope>div{padding:7px 0 0;line-height:1.8;word-break:break-word}
.order-page-nav .order-page-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.order-page-controls label{display:flex;align-items:center;gap:5px;color:#5f6c77;font-size:11px;white-space:nowrap}.order-page-controls select{width:90px;padding:5px 7px;font-size:12px}.order-page-controls input{width:66px;padding:5px 7px;font-size:12px}.order-page-controls form{display:flex;align-items:center;gap:6px}.order-page-nav>small{max-width:550px;line-height:1.6}
@media(max-width:1000px){.overview-card{flex-basis:calc(50% - 10px)}.overview-heading{align-items:flex-start}.overview-filter{gap:7px}.overview-filter input{width:136px}.overview-heading h2{font-size:18px}}
@media(max-width:550px){.trade-overview{padding:13px 12px}.overview-filter{width:100%}.overview-filter label{flex:1;min-width:105px}.overview-filter input{width:100%}.overview-card{padding:10px;flex-basis:calc(50% - 10px)}.overview-card>strong{font-size:19px}.overview-card>small{font-size:9px}.overview-card>span{font-size:11px}.order-page-nav .order-page-controls{justify-content:flex-start;gap:6px}.order-page-controls select{width:86px}.order-page-controls input{width:62px}}

/* r13 compact supplier comparison, within existing overview cards. */
.overview-cost-block{margin-top:10px;padding-top:9px;border-top:1px solid #d3c5b4;min-width:0}.overview-cost-scope,.overview-cost-note{font-size:10px;line-height:1.65;color:#5f6c77;margin:0;overflow-wrap:break-word;word-break:break-word}.overview-cost-details{margin:5px 0 6px;padding:0;min-width:0}.overview-cost-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px;margin:3px 0;min-width:0}.overview-cost-row dt{flex:1 1 72px;font-size:11px;color:#5f6c77;min-width:0}.overview-cost-row dd{margin:0;max-width:100%;min-width:0;color:#1c3043;font:12px/1.6 Arial,"Microsoft YaHei",sans-serif;word-break:break-all}.overview-cost-row.is-loss dd{color:#a7352c;font-weight:600}.overview-cost-row dd.overview-cost-unavailable,.overview-cost-unavailable{color:#5f6c77;font-size:11px}.overview-cost-missing{margin-top:10px;padding-top:9px;border-top:1px solid #d3c5b4}.overview-cost-note{margin-top:6px}@media(max-width:550px){.overview-cost-row dt{flex-basis:66px;font-size:10px}.overview-cost-row dd{font-size:11px}.overview-cost-scope,.overview-cost-note{font-size:9px}}

/* r14: new-workflow-only client billing and explicit resubmission controls. */
.r14-billing-panel{margin:18px 0;padding:18px;border:1px solid #c9c1b4;border-radius:12px;background:#fffdf8;color:#243648;overflow-wrap:anywhere}
.r14-billing-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.r14-billing-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:12px 0}
.r14-billing-summary div{min-width:0}.r14-billing-summary dt{font-size:12px;color:#586879}.r14-billing-summary dd{margin:4px 0 0;overflow-wrap:anywhere;word-wrap:break-word}
.r14-return-actions{position:sticky;top:0;z-index:4;background:#fff7e8;border:2px solid #b58b40;border-radius:10px;padding:14px;margin:10px 0;color:#243648}
.r14-editor-actions{position:sticky;bottom:0;z-index:5;background:#fffaf0;border-top:2px solid #b58b40;padding:14px 8px;box-shadow:0 -6px 16px rgba(37,52,67,.08);flex-wrap:wrap}
.r14-invoice-billing{margin:10px 0;padding:10px;border:1px solid #d7cec0;border-radius:8px;background:#fffdf8}.r14-invoice-billing summary{cursor:pointer;font-weight:600}
@media(max-width:700px){.r14-billing-grid,.r14-billing-summary{grid-template-columns:1fr}.r14-editor-actions{gap:8px}.r14-editor-actions .btn{flex:1 1 140px}.r14-return-actions{position:relative;top:auto}}

/* r15: closure and explicit filter state */
.stat-pending-close{background:#fff2d6!important;border:2px solid #bd811b!important;color:#714700!important}
.order-filter-summary{border:1px solid #c6bca8;background:#fffaf0;padding:14px;border-radius:10px;gap:12px}
.independent-order-states{padding:16px;border:2px solid #bd811b;border-radius:12px;margin-bottom:18px;background:#fffbf1}
.owner-badge{display:inline-block;padding:4px 8px;background:#fff0c7;color:#65410b;border-radius:6px;font-weight:700}
.approval-record{border:1px solid #d4cbbb;border-radius:10px;padding:16px;margin:12px 0;overflow-wrap:anywhere}
@media(min-width:1000px){.stats-strip{grid-template-columns:repeat(7,minmax(0,1fr))}}
