.order-table .overdue td{background:#fff7f6}.order-status{display:inline-block;padding:4px 7px;border-radius:4px;background:#eee;color:#666;font-size:9px}.order-status.in_production{background:#fff0c2;color:#8a5c00}.order-status.completed{background:#dcf5e8;color:#16794b}.order-status.cancelled{background:#eee;text-decoration:line-through}.order-overdue{display:block;margin-top:4px;color:#b42318;font-size:9px}.order-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:15px 0}.order-form label{font-size:11px;color:#666}.order-form input,.order-form select,.order-form textarea{display:block;width:100%;min-height:41px;margin-top:5px;border:1px solid var(--line);border-radius:6px;padding:8px}.order-form textarea{min-height:70px}.order-form .full{grid-column:1/-1}.order-cost-preview{padding:10px 12px;background:#f7f7f7;font-size:11px;color:#777}@media(max-width:700px){.order-form{grid-template-columns:1fr}.order-form .full{grid-column:auto}.order-table,.order-table tbody{display:block;width:100%}.order-table thead{display:none}.order-table tbody{display:grid;gap:9px}.order-table tr{display:grid;grid-template-columns:1fr 1fr;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.order-table tr.overdue{border-color:#f0b5b1;background:#fff7f6}.order-table td{display:block;min-width:0;padding:7px;border:0!important;background:transparent!important;overflow-wrap:anywhere}.order-table td::before{display:block;margin-bottom:3px;color:#999;font-size:8px}.order-table td:nth-child(1)::before{content:'订单号'}.order-table td:nth-child(2)::before{content:'款号 / 品类'}.order-table td:nth-child(3)::before{content:'工厂'}.order-table td:nth-child(4)::before{content:'数量'}.order-table td:nth-child(5)::before{content:'下单日 / 交期'}.order-table td:nth-child(6)::before{content:'锁定单价 / 总额'}.order-table td:nth-child(7)::before{content:'状态'}.order-table td:nth-child(8)::before{content:'经手人'}.order-table td:nth-child(9){grid-column:1/-1}.order-table td:nth-child(9) button{width:100%}}
.order-eligibility{margin-top:-6px;padding:10px 14px;border-radius:6px;background:#fff4f8;color:#c44f7f;font-size:13px}
.order-craft-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:6px;background:#f7f7f7;color:#666;font-size:13px}.order-craft-status button{flex:none;padding:8px 12px;font-size:12px}@media(max-width:720px){.order-craft-status{align-items:stretch;flex-direction:column}.order-craft-status button{width:100%}}
.order-size-breakdown{margin-top:4px;padding:14px;border:1px solid #e4e0e1;border-radius:8px;background:#fff}.order-size-breakdown legend{padding:0 6px;font-weight:700}.order-size-note{margin:0 0 10px;color:#888;font-size:13px}.order-size-table-wrap{overflow:auto}.order-size-breakdown table{width:100%;border-collapse:collapse}.order-size-breakdown th,.order-size-breakdown td{padding:8px;border-bottom:1px solid #eee;text-align:left}.order-size-breakdown input{width:100%;min-width:70px}.order-size-empty{color:#888;text-align:center!important}.order-quantity-alert{margin-top:10px;padding:10px;border-left:3px solid #d94f83;background:#fff0f5;color:#b23f6e}.order-quantity-actions{display:flex;gap:8px;margin-top:10px}.order-quantity-actions button{padding:8px 12px}
.order-quantity-alert-tag{display:block;width:max-content;margin-top:4px;padding:2px 6px;border-radius:4px;background:#fff0f5;color:#b23f6e}
.order-kind-tag{display:inline-block;padding:2px 6px;border-radius:4px;background:#f0edf9;color:#6653a6;font-size:11px}
.order-control-bar{display:flex;gap:8px;margin:10px 0}.order-control-bar button{padding:8px 12px}
.order-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.order-filter-bar select{min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#555}@media(max-width:700px){.order-filter-bar{display:grid;grid-template-columns:1fr 1fr}.order-filter-bar select{width:100%}}
.order-table thead th{white-space:nowrap}.excel-column-filter{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-left:5px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#888;font-size:10px;cursor:pointer;vertical-align:middle}.excel-column-filter:hover,.excel-column-filter:focus-visible{border-color:#f3a0c2;background:#fff0f6;color:#c44f7f}.excel-column-filter.active{background:#e95891;color:#fff}.order-column-filter-menu{position:fixed;z-index:10050;max-width:calc(100vw - 20px);padding:10px;border:1px solid #e3dfe1;border-radius:6px;background:#fff;box-shadow:0 8px 26px rgba(38,25,31,.18);color:#444;font-size:12px}.order-column-filter-menu[hidden]{display:none}.order-column-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.order-column-filter-head button,.order-column-filter-foot button{border:0;background:transparent;color:#c44f7f;cursor:pointer}.order-column-filter-menu input[type=search]{box-sizing:border-box;width:100%;min-height:32px;margin-bottom:8px;padding:5px 8px;border:1px solid #ddd;border-radius:4px}.order-column-filter-all{display:block;padding:5px 2px;border-bottom:1px solid #eee;font-weight:600}.order-column-filter-options{display:grid;max-height:230px;overflow:auto;padding:5px 0}.order-column-filter-options label{display:flex;align-items:center;gap:5px;min-height:28px;padding:2px 4px;cursor:pointer}.order-column-filter-options label:hover{background:#fff4f8}.order-column-filter-options label[hidden]{display:none}.order-column-filter-options span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-column-filter-empty{padding:8px;color:#999}.order-column-filter-foot{display:flex;justify-content:flex-end;padding-top:6px;border-top:1px solid #eee}@media(max-width:700px){.excel-column-filter{width:20px;height:20px;margin-left:2px}.order-column-filter-menu{font-size:13px}.order-column-filter-options{max-height:200px}}
.order-style-reference{display:grid;grid-template-columns:90px 1fr;gap:12px;align-items:center;padding:10px 14px;border:1px solid #e6e1e2;border-radius:8px;background:#fff;cursor:copy}.order-style-reference:focus-visible{outline:2px solid var(--pink);outline-offset:2px}.order-style-reference-image{width:90px;height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#f5f3f3;color:#999;font-size:12px}.order-style-reference-image img{width:100%;height:100%;object-fit:cover}.order-style-reference>div:last-child{display:grid;gap:4px}.order-style-reference b{font-size:16px}.order-style-reference span{color:#666}.order-style-reference small{color:#999}@media(max-width:700px){.order-style-reference{grid-template-columns:74px 1fr}.order-style-reference-image{width:74px;height:92px}}
.order-quantity-actions[hidden],.order-quantity-alert[hidden]{display:none!important}.order-size-names{display:block!important;margin-bottom:10px}.order-size-names input{margin-top:5px}
.order-style-reference{grid-template-columns:64px 1fr;min-height:78px;padding:8px 12px;gap:10px}.order-style-reference-image{width:64px;height:78px}.order-style-reference>div:last-child{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.order-style-reference b{font-size:14px}.order-style-reference span,.order-style-reference small{font-size:11px}.order-style-reference small{flex-basis:100%}
.order-style-reference{display:flex!important;flex-direction:row!important;align-items:center!important;gap:18px!important;min-height:196px!important;padding:12px 16px!important}.order-style-reference-image{display:flex!important;flex:0 0 150px!important;width:150px!important;height:180px!important}.order-style-reference>div:last-child{display:grid!important;flex:1 1 auto!important;min-width:0!important;align-content:center!important;gap:8px!important}.order-style-reference b{font-size:16px!important}.order-style-reference span,.order-style-reference small{font-size:12px!important}.order-style-reference small{display:block!important}@media(max-width:700px){.order-style-reference{gap:12px!important;min-height:156px!important;padding:10px 12px!important}.order-style-reference-image{flex-basis:112px!important;width:112px!important;height:136px!important}.order-style-reference b{font-size:14px!important}.order-style-reference span,.order-style-reference small{font-size:11px!important}}
