
.quote-system-page .table-card table{min-width:1500px!important;table-layout:fixed!important;border-collapse:collapse!important;}
.quote-system-page .table-card th,.quote-system-page .table-card td{white-space:normal!important;vertical-align:middle!important;text-align:center!important;overflow:visible!important;text-overflow:clip!important;}

.quote-system-page .table-card th:nth-child(2),.quote-system-page .table-card td:nth-child(2){width:44px!important;min-width:44px!important;}
.quote-system-page .table-card th:nth-child(7),.quote-system-page .table-card td:nth-child(7){width:255px!important;min-width:255px!important;}
.quote-system-page .print-fields{overflow:visible!important;}
.quote-system-page .print-controls{display:grid!important;grid-template-columns:54px 60px 58px 58px 58px 74px!important;gap:6px!important;max-width:255px!important;align-items:center!important;}
.quote-system-page .print-controls label{font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;}
.quote-system-page .print-controls label input{width:40px!important;height:32px!important;}
.quote-system-page .print-controls .cover-check{grid-column:1 / span 2!important;justify-content:flex-start!important;font-size:13px!important;}
.quote-system-page .print-controls .cover-check input{width:18px!important;height:18px!important;}
.quote-system-page tbody tr:hover{background:rgba(11,122,117,.045)!important;}
.quote-system-page tbody tr:hover td{background:transparent!important;}
.quote-system-page tbody td{border-bottom:1px solid rgba(16,24,40,.08)!important;}

.inventory-tabbar{display:flex;gap:10px;margin:0 0 16px;align-items:center;}
.inventory-section{display:none;min-height:0;}
.inventory-section.active{display:block;}
.inventory-card-list{display:grid;gap:12px;}
.inventory-category-group{border:1px solid rgba(11,122,117,.13);border-radius:16px;background:rgba(255,255,255,.72);overflow:hidden;}
.inventory-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;}
.inventory-category-head h3{margin:0;color:#0b5960;font-size:18px;}
.inventory-category-head span{font-size:13px;color:#667085;margin-left:8px;}
.inventory-category-body{padding:0 16px 16px;}
.inventory-category-body.hidden{display:none;}
.inventory-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;}
.inventory-product-card{position:relative;border:1px solid rgba(11,122,117,.16);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(240,250,249,.88));box-shadow:0 8px 24px rgba(15,23,42,.05);padding:10px;cursor:pointer;min-height:170px;display:flex;flex-direction:column;gap:7px;}
.inventory-product-card:hover{transform:translateY(-1px);border-color:rgba(11,122,117,.42);box-shadow:0 12px 30px rgba(11,122,117,.11);}
.inventory-product-card img,.inventory-no-image{width:100%;height:86px;object-fit:cover;border-radius:12px;background:rgba(11,122,117,.08);display:flex;align-items:center;justify-content:center;color:#667085;font-size:13px;}
.inventory-product-card strong{font-size:15px;color:#0b5960;line-height:1.3;}
.inventory-qty{font-weight:800;color:#0b7a75;}
.inventory-product-card p{margin:0;color:#667085;font-size:12px;line-height:1.35;word-break:break-word;}
.inventory-float-preview{position:fixed;z-index:9999;pointer-events:none;background:white;border:1px solid rgba(11,122,117,.18);border-radius:16px;box-shadow:0 18px 55px rgba(15,23,42,.22);padding:8px;}
.inventory-float-preview img{max-width:310px;max-height:230px;border-radius:12px;display:block;}
.inventory-editor{max-width:620px!important;}
.inventory-log-wrap{max-height:calc(100vh - 260px)!important;overflow:auto!important;}

/* v20260520_24 订单管理复刻：仅作用于订单页和订单弹�?*/
.order-page-card .order-action-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 14px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.64);box-shadow:inset 0 0 0 1px rgba(5,111,103,.08)}
.order-page-card .order-action-bar .small{height:34px;padding:0 12px;font-weight:700}.danger-btn.small{height:34px;padding:0 12px;border-radius:10px;border:0;background:#c02a24;color:#fff;font-weight:700;cursor:pointer}.danger-btn.small:hover{filter:brightness(1.05)}
.order-table-wrap{max-height:calc(100vh - 285px);overflow:auto}.orders-table{min-width:1900px;table-layout:fixed}.orders-table th,.orders-table td{white-space:normal;word-break:break-word;vertical-align:middle;text-align:center;padding:10px 8px}.orders-table tbody tr:hover{background:rgba(20,143,134,.08)}
.orders-table th:nth-child(1),.orders-table td:nth-child(1){width:40px!important}.orders-table th:nth-child(2),.orders-table td:nth-child(2){width:56px!important}.orders-table th:nth-child(3),.orders-table td:nth-child(3){width:130px!important}.orders-table th:nth-child(4),.orders-table td:nth-child(4){width:150px!important}.orders-table th:nth-child(5),.orders-table td:nth-child(5){width:170px!important}.orders-table th:nth-child(6),.orders-table td:nth-child(6){width:120px!important}.orders-table th:nth-child(7),.orders-table td:nth-child(7){width:140px!important}.orders-table th:nth-child(8),.orders-table td:nth-child(8){width:120px!important}.orders-table th:nth-child(9),.orders-table td:nth-child(9){width:105px!important}.orders-table th:nth-child(10),.orders-table td:nth-child(10){width:100px!important}.orders-table th:nth-child(11),.orders-table td:nth-child(11),.orders-table th:nth-child(12),.orders-table td:nth-child(12){width:100px!important}.orders-table th:nth-child(13),.orders-table td:nth-child(13){width:70px!important}.orders-table th:nth-child(14),.orders-table td:nth-child(14){width:100px!important}.orders-table th:nth-child(15),.orders-table td:nth-child(15){width:200px!important;text-align:left!important}.orders-table th:nth-child(16),.orders-table td:nth-child(16){width:90px!important}.orders-table th:nth-child(17),.orders-table td:nth-child(17){width:90px!important}.orders-table th:nth-child(18),.orders-table td:nth-child(18){width:128px!important}.orders-table th:nth-child(19),.orders-table td:nth-child(19){width:130px!important}
.order-modal-card{width:min(960px,94vw);max-height:90vh;overflow:auto}.order-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.order-form-grid label{display:flex;flex-direction:column;gap:6px;color:#42526b;font-weight:700}.order-form-grid input,.order-form-grid select,.order-form-grid textarea{height:40px;border:1px solid rgba(22,119,111,.2);border-radius:8px;padding:0 10px;background:#fffff3}.order-form-grid textarea{height:84px;padding:10px}.input-with-btn{display:flex;gap:6px}.input-with-btn input{flex:1}.input-with-btn button{width:44px;border:1px solid rgba(22,119,111,.24);border-radius:8px;background:#fff;font-weight:800}.order-note-field{grid-column:1 / -1}.order-image-drop{grid-column:1 / -1;min-height:105px;border:2px dashed rgba(35,90,130,.35);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#667085;font-weight:700;background:rgba(255,255,255,.55);cursor:pointer}.order-image-drop img{max-height:90px;max-width:180px;display:none;border-radius:8px;box-shadow:0 6px 18px rgba(16,32,45,.12)}.order-pick-field{position:relative}.order-pick-field .customer-suggest{top:68px;left:0;right:0}.order-picker-card{width:min(1040px,94vw);max-height:88vh;overflow:auto}.picker-body{display:grid;grid-template-columns:260px 1fr;gap:16px}.picker-side-new{padding:12px;border-radius:14px;background:rgba(237,249,247,.8);display:flex;flex-direction:column;gap:10px}.picker-side-new input{height:36px;border:1px solid rgba(22,119,111,.2);border-radius:8px;padding:0 10px}.picker-list{max-height:560px;overflow:auto;display:flex;flex-direction:column;gap:6px}.picker-list button{border:1px solid rgba(22,119,111,.12);background:#fff;border-radius:8px;padding:9px 12px;text-align:left;display:grid;grid-template-columns:120px 1fr 110px;gap:8px;align-items:center;cursor:pointer}.picker-list button:hover{background:rgba(18,135,125,.08)}
@media (max-width:1000px){.order-form-grid{grid-template-columns:1fr}.picker-body{grid-template-columns:1fr}.orders-table{min-width:1750px}}

/* v20260520_25 targeted fixes */
.product-quote-inline-card .product-quote-layout{grid-template-columns:minmax(560px,1.15fr) minmax(320px,.85fr)!important;align-items:start!important;}
.quote-product-list{overflow:visible!important;}
.quote-product-group{overflow:visible!important;}
.quote-product-group.expanded{padding-bottom:12px!important;}
.quote-product-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important;gap:10px!important;}
.quote-product-card{min-height:78px!important;border-radius:12px!important;}
.quick-calc-panel{position:sticky;top:12px;display:flex!important;flex-direction:column;gap:12px;}
.calc-card.free-calc-card{display:block!important;}
.customer-fields .small{height:38px;white-space:nowrap;}
.inventory-photo-drop{border:1px dashed rgba(11,122,117,.28);border-radius:14px;background:rgba(255,255,255,.72);padding:16px;text-align:center;color:#667085;font-weight:700;}
.inventory-photo-drop.dragover{border-color:#0b7a75;background:rgba(11,122,117,.08);color:#0b7a75;}
.inventory-order-list{display:grid;gap:8px;max-width:560px;}
.inventory-order-item{display:flex;align-items:center;gap:8px;justify-content:space-between;border:1px solid rgba(11,122,117,.14);border-radius:12px;background:rgba(255,255,255,.78);padding:9px 12px;}
.inventory-order-item span{font-weight:800;color:#0b5960;margin-right:auto;}
.inventory-category-head{cursor:pointer!important;}
.inventory-category-body{overflow:visible!important;}
.inventory-product-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important;}
.inventory-product-card::after{content:"右键修改";position:absolute;right:8px;top:8px;font-size:11px;color:#0b7a75;background:rgba(255,255,255,.8);border-radius:999px;padding:2px 6px;opacity:0;transition:.18s;}
.inventory-product-card:hover::after{opacity:1;}

/* v20260520_26 订单管理局部修�?*/
.orders-table{min-width:1920px!important;table-layout:fixed!important;}
.orders-table th,.orders-table td{height:44px!important;max-height:52px!important;text-align:center!important;vertical-align:middle!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;display:table-cell!important;line-height:1.35!important;}
.orders-table td{word-break:break-all!important;}
.orders-table th:nth-child(1),.orders-table td:nth-child(1){width:34px!important;min-width:34px!important;max-width:34px!important;}
.orders-table input[type="checkbox"],#orderSelectAll{width:14px!important;height:14px!important;min-width:14px!important;accent-color:#0b7a75;}
.orders-table th:nth-child(2),.orders-table td:nth-child(2){width:50px!important;cursor:pointer;}
.orders-table th:nth-child(3),.orders-table td:nth-child(3){width:124px!important;}
.orders-table th:nth-child(4),.orders-table td:nth-child(4){width:132px!important;}
.orders-table th:nth-child(5),.orders-table td:nth-child(5){width:150px!important;}
.orders-table th:nth-child(6),.orders-table td:nth-child(6){width:112px!important;}
.orders-table th:nth-child(7),.orders-table td:nth-child(7){width:124px!important;}
.orders-table th:nth-child(8),.orders-table td:nth-child(8){width:116px!important;}
.orders-table th:nth-child(9),.orders-table td:nth-child(9){width:92px!important;}
.orders-table th:nth-child(10),.orders-table td:nth-child(10){width:88px!important;}
.orders-table th:nth-child(11),.orders-table td:nth-child(11),.orders-table th:nth-child(12),.orders-table td:nth-child(12){width:86px!important;}
.orders-table th:nth-child(13),.orders-table td:nth-child(13){width:58px!important;}
.orders-table th:nth-child(14),.orders-table td:nth-child(14){width:88px!important;}
.orders-table th:nth-child(15),.orders-table td:nth-child(15){width:190px!important;text-align:center!important;}
.orders-table th:nth-child(16),.orders-table td:nth-child(16){width:72px!important;}
.orders-table th:nth-child(17),.orders-table td:nth-child(17){width:78px!important;}
.orders-table th:nth-child(18),.orders-table td:nth-child(18){width:82px!important;}
.orders-table th:nth-child(19),.orders-table td:nth-child(19){width:116px!important;}
.orders-table th:nth-child(20),.orders-table td:nth-child(20){width:116px!important;}
.order-thumb-btn{border:0;background:transparent;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
.order-thumb-btn img{width:42px;height:30px;object-fit:cover;border-radius:6px;border:1px solid rgba(11,122,117,.22);box-shadow:0 4px 10px rgba(16,32,45,.08);}
.order-image-modal-card{width:min(820px,92vw);max-height:88vh;overflow:auto;text-align:center;}
.order-image-modal-card img{max-width:100%;max-height:70vh;border-radius:16px;box-shadow:0 18px 40px rgba(16,32,45,.18);}
.order-modal-card{width:min(980px,94vw)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,251,249,.94))!important;box-shadow:0 24px 70px rgba(16,32,45,.16)!important;border:1px solid rgba(255,255,255,.65)!important;}
.order-form-grid input,.order-form-grid select,.order-form-grid textarea{background:rgba(255,255,255,.92)!important;border:1px solid rgba(31,128,121,.20)!important;border-radius:12px!important;color:#102033!important;}
.order-form-grid label{color:#344054!important;font-weight:700!important;}
.order-image-drop{background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(240,249,248,.72))!important;border-color:rgba(11,122,117,.28)!important;}
.order-picker-card{border-radius:24px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,251,249,.94))!important;box-shadow:0 24px 70px rgba(16,32,45,.16)!important;}
.picker-side-new select{height:36px;border:1px solid rgba(22,119,111,.2);border-radius:8px;padding:0 10px;background:#fff;}

/* v20260520_27 inventory additions */
.inventory-tabbar{flex-wrap:wrap;}
.inventory-batch-table-wrap{overflow:auto;max-height:calc(100vh - 260px);border-radius:16px;border:1px solid rgba(11,122,117,.12);}
.inventory-batch-table input{width:100%;min-width:90px;}
.inventory-batch-drop{border:1px dashed rgba(11,122,117,.24);border-radius:10px;min-width:120px;min-height:38px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#667085;background:rgba(255,255,255,.7);cursor:pointer;}
.inventory-batch-drop.has-image{color:#0b7a75;background:rgba(11,122,117,.08);}
.inventory-view-search{margin-bottom:12px;}
.inventory-diagram-grid{height:calc(100vh - 260px);display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.inventory-diagram-card{position:relative;border-radius:18px;overflow:hidden;border:1px solid rgba(11,122,117,.14);background:rgba(255,255,255,.75);min-height:260px;}
.inventory-diagram-card img{width:100%;height:100%;object-fit:contain;display:block;background:rgba(255,255,255,.72);}
.inventory-diagram-actions{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:8px;opacity:0;transition:.18s;}
.inventory-diagram-card:hover .inventory-diagram-actions{opacity:1;}
.image-viewer{position:fixed;inset:0;z-index: var(--layer-preview);background:rgba(5,20,25,.76);display:flex;align-items:center;justify-content:center;padding:24px;}
.image-viewer-inner{max-width:96vw;max-height:94vh;display:flex;flex-direction:column;gap:12px;align-items:center;}
.image-viewer-inner img{max-width:96vw;max-height:86vh;object-fit:contain;border-radius:14px;background:white;}
.inventory-log-wrap input[type=checkbox]{width:14px;height:14px;}

/* v20260520_28 targeted fixes */
.order-row-check,
#orderSelectAll { width: 16px; height: 16px; accent-color: #0d817a; }
.orders-table th,
.orders-table td { text-align: center; vertical-align: middle; max-height: 3.2em; }
.orders-table td { line-height: 1.55; }
.orders-table td:nth-child(15) { white-space: normal; max-width: 220px; display: table-cell; }
.order-note-cell { cursor: copy; }
.order-modal-card,
.customer-modal-card { max-width: 920px; width: min(920px, 92vw); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 24px 80px rgba(23,77,72,.18); }
.order-form-grid label,
.order-form-grid .order-image-drop { color: #233447; font-weight: 700; }
.order-form-grid input,
.order-form-grid select,
.order-form-grid textarea { background: rgba(255,255,255,.9); border: 1px solid rgba(13,129,122,.18); border-radius: 12px; min-height: 42px; }
.order-image-drop { min-height: 112px; border: 1px dashed rgba(13,129,122,.35); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; cursor: pointer; }
.order-image-drop img { max-width: 160px; max-height: 90px; border-radius: 10px; object-fit: contain; }
.picker-search { width: 100%; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(13,129,122,.2); }

.picker-category-head { width: 100%; border: 1px solid rgba(13,129,122,.14); background: rgba(232,247,245,.86); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; color: #075f5a; font-weight: 800; cursor: pointer; }
.picker-category-head:hover { background: rgba(210,239,236,.96); transform: translateY(-1px); }
.picker-product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 8px; }
.picker-product-list button { border: 1px solid rgba(13,129,122,.13); border-radius: 12px; background: rgba(255,255,255,.9); padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; text-align: left; }
.picker-product-list button:hover { border-color: rgba(13,129,122,.35); box-shadow: 0 8px 24px rgba(13,129,122,.10); }
.picker-product-list button strong { color:#102033; }
.picker-product-list button em { font-style: normal; color:#087b73; font-weight: 800; }
.customer-manage-layout { display: block; }
.customer-editor { display: none; }
#customersPage .page-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
#customersPage .data-table td { vertical-align: middle; text-align: center; }
#customersPage .data-table td:nth-child(7) { white-space: normal; word-break: break-word; line-height: 1.55; }
.customer-actions { display: flex; gap: 12px; align-items: center; justify-content: center; }
.customer-actions .edit-btn { color: #0d817a; background: rgba(13,129,122,.08); }
.customer-actions .delete-btn { color: #c23026; background: rgba(194,48,38,.08); }
.customer-thumb-btn img { width: 46px; height: 34px; object-fit: cover; border-radius: 8px; }
.inventory-section .ghost-btn,
.inventory-tab { transition: all .18s ease; }
.inventory-section .ghost-btn:hover,
.inventory-tab:hover,
.page-filter-bar button:hover,
.order-action-bar button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(13,129,122,.12); }
.inventory-tab.active,
.inventory-section .secondary-tabs .active { background: linear-gradient(135deg,#0d817a,#0a9a91); color:#fff; }
.secondary-action-row { display:flex; gap:10px; flex-wrap:wrap; padding: 10px 0; border-top: 1px dashed rgba(13,129,122,.14); margin-top: 10px; }
.small-number-input { width: 96px; }

/* v20260520_29 targeted fixes */
.order-pick-field .customer-suggest{left:0!important;right:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;overflow:auto;}
.order-pick-field .customer-suggest button{grid-template-columns:96px minmax(120px,1fr) 100px!important;min-width:0;}
.order-pick-field .customer-suggest em,.order-pick-field .customer-suggest strong,.order-pick-field .customer-suggest span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.order-modal-card .order-form-grid input,.order-modal-card .order-form-grid select,.order-modal-card .order-form-grid textarea{background:rgba(255,255,255,.92)!important;border-radius:14px!important;border-color:rgba(11,122,117,.18)!important;}
.order-details-card{width:min(1180px,94vw);max-height:86vh;overflow:auto;}
.order-detail-link{border:0;background:transparent;color:#0b7a75;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.customer-list-only{display:block!important;}
#customersPage .data-table-wrap{max-height:calc(100vh - 250px);overflow:auto;}
#customersPage .data-table td{white-space:normal;line-height:1.45;max-height:3em;}
#customerPageSize{min-width:82px;}
.inventory-section .page-filter-bar .primary-btn,.inventory-section .page-filter-bar .ghost-btn,.inventory-tab{box-shadow:0 5px 18px rgba(13,129,122,.06);}
.inventory-section .page-filter-bar .primary-btn:hover,.inventory-section .page-filter-bar .ghost-btn:hover,.inventory-tab:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(13,129,122,.14);}
.picker-category-head{width:100%;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(13,129,122,.14);border-radius:12px;background:rgba(255,255,255,.92);padding:12px 14px;cursor:pointer;color:#0b655f;font-weight:800;}
.picker-category-head:hover{background:rgba(13,129,122,.08);border-color:rgba(13,129,122,.30);}
.orders-table th,.orders-table td{text-align:center;vertical-align:middle!important;}
.orders-table td{line-height:1.35;max-height:2.8em;overflow:hidden;display:table-cell;}
.orders-table .order-note-cell{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:center;}
.order-row-check,#orderSelectAll{width:14px!important;height:14px!important;accent-color:#0b7a75;}

/* v31 scoped fixes: customers, order details, order font size, quote customer picker */
.quote-customer-input-line{display:flex;gap:8px;align-items:center;}
.quote-customer-input-line input{min-width:0;flex:1;}
.quote-customer-input-line button{width:44px;border:1px solid rgba(11,122,117,.22);border-radius:10px;background:rgba(255,255,255,.9);font-weight:800;cursor:pointer;}
.quote-customer-input-line button:hover{background:rgba(11,122,117,.08);color:#0b7a75;}
.customers-table{table-layout:fixed;width:100%;}
.customer-table-wrap{max-height:calc(100vh - 285px);overflow:auto;}
.customers-table th,.customers-table td{height:auto;min-height:42px;line-height:1.55;text-align:center;vertical-align:middle;border-right:1px solid rgba(102,112,133,.10);}

.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:54px!important;}
.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:160px!important;}
.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:105px!important;}
.customers-table th:nth-child(5),.customers-table td:nth-child(5){width:130px!important;white-space:normal!important;word-break:break-word;}

.customers-table th:nth-child(7),.customers-table td:nth-child(7){width:auto!important;text-align:left!important;white-space:normal!important;word-break:break-word;}
.customers-table th:nth-child(8),.customers-table td:nth-child(8){width:78px!important;}
.customers-table th:nth-child(9),.customers-table td:nth-child(9){width:86px!important;}

.customer-actions{display:flex!important;gap:10px;justify-content:center;align-items:center;}
.customer-actions .icon-btn{width:30px;height:30px;border-radius:9px;}
.orders-table th,.orders-table td{font-size:var(--order-table-font,12px)!important;}
.order-action-bar{flex-wrap:wrap;}
.order-details-card{width:min(1180px,96vw);max-height:90vh;overflow:auto;}
.order-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px;}
.detail-table-wrap{max-height:60vh;overflow:auto;}
.detail-table{min-width:1180px;table-layout:fixed;}
.detail-table th,.detail-table td{text-align:center;vertical-align:middle;white-space:normal;word-break:break-word;}
.detail-table th:nth-child(1),.detail-table td:nth-child(1){width:42px!important;}
.detail-table th:nth-child(2),.detail-table td:nth-child(2){width:56px!important;}
.detail-table th:nth-child(3),.detail-table td:nth-child(3){width:145px!important;}
.detail-table th:nth-child(13),.detail-table td:nth-child(13){width:200px!important;text-align:left!important;}
.order-pick-field .customer-suggest{min-width:520px;max-width:min(720px,90vw);}
.order-pick-field .customer-suggest button{grid-template-columns:100px minmax(150px,1fr) 110px 140px;}
.picker-list.quote-customer-picker-list{display:block;max-height:65vh;}
.picker-list.quote-customer-picker-list button{width:100%;margin-bottom:8px;grid-template-columns:110px minmax(160px,1fr) 120px 150px;}
.picker-product-group{margin-bottom:10px;}

.picker-product-list button{display:grid!important;grid-template-columns:minmax(160px,1fr) 120px!important;}
#inventoryBatchAddRows{min-width:128px;}

/* v32 scoped fixes: order/customer management only; keep homepage locked */
.customer-list-only{display:flex!important;flex-direction:column;min-height:0;height:calc(100vh - 225px)!important;}
.customer-table-wrap{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;}
.customer-list-only>.pager-bar{flex:0 0 auto!important;position:sticky;bottom:0;z-index:5;background:linear-gradient(180deg,rgba(248,253,252,.86),rgba(255,255,255,.98));border-top:1px solid rgba(13,129,122,.10);padding:12px 0!important;}
.customers-table{table-layout:fixed!important;min-width:100%!important;}
.customers-table th,.customers-table td{vertical-align:middle!important;text-align:center!important;}
.customers-table th:nth-child(1),.customers-table td:nth-child(1){width:42px!important;}
.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:56px!important;}
.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:150px!important;}
.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:92px!important;}
.customers-table th:nth-child(5),.customers-table td:nth-child(5){width:120px!important;}
.customers-table th:nth-child(6),.customers-table td:nth-child(6){width:95px!important;}
.customers-table th:nth-child(7),.customers-table td:nth-child(7){width:auto!important;text-align:left!important;line-height:1.55!important;}
.customers-table th:nth-child(8),.customers-table td:nth-child(8){width:76px!important;}
.customers-table th:nth-child(9),.customers-table td:nth-child(9){width:76px!important;}
.customers-table th:nth-child(10),.customers-table td:nth-child(10){width:116px!important;text-align:center!important;white-space:nowrap!important;}
.customers-table .row-actions{display:flex;justify-content:center;gap:8px;}
.customers-table .customer-batch-only{text-align:center!important;}
.customers-table .customer-row-check,#customerSelectAll{width:16px!important;height:16px!important;min-width:16px!important;accent-color:#0b7a75;cursor:pointer;}
.customers-table tbody tr.customer-row-selected td{background:rgba(11,122,117,.12)!important;box-shadow:inset 0 1px rgba(11,122,117,.08),inset 0 -1px rgba(11,122,117,.08);}
.customers-table.customer-drag-selecting{user-select:none;cursor:crosshair;}
.customer-batch-hint{font-size:12px;color:#667085;max-width:220px;line-height:1.35;}
#customerBatchDeleteBtn:disabled{opacity:.5;cursor:not-allowed;filter:none;}

.order-action-bar{display:flex!important;align-items:center!important;gap:8px!important;}
.order-action-bar .ghost-btn.small,.order-action-bar .small{transition:.18s ease!important;border-color:rgba(13,129,122,.18)!important;background:rgba(255,255,255,.86)!important;color:#102033!important;}
.order-action-bar .ghost-btn.small:hover,.order-action-bar .small:hover{background:rgba(13,129,122,.12)!important;border-color:rgba(13,129,122,.34)!important;color:#087b73!important;transform:translateY(-1px);box-shadow:0 8px 20px rgba(13,129,122,.12)!important;}
#orderDeleteBtn{background:rgba(255,255,255,.86)!important;color:#102033!important;border:1px solid rgba(13,129,122,.18)!important;}
#orderDeleteBtn:hover{background:rgba(13,129,122,.12)!important;color:#087b73!important;}
.order-font-tool{margin-left:auto!important;}
.page-filter-bar .filter-spacer{flex:1 1 auto;}
.order-page-card .page-filter-bar{align-items:end!important;}
#orderCustomerSearch{min-width:280px!important;width:340px!important;border:2px solid rgba(13,129,122,.24)!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 22px rgba(13,129,122,.06)!important;font-weight:700;}
#orderCustomerSearch:focus{border-color:rgba(13,129,122,.55)!important;box-shadow:0 0 0 4px rgba(13,129,122,.10)!important;outline:0;}
.order-page-size-field{margin-left:auto!important;}

.order-sum-card{width:min(560px,92vw)!important;text-align:center!important;border-radius:26px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(235,249,247,.94))!important;box-shadow:0 28px 80px rgba(16,32,45,.20)!important;}
.order-sum-big{font-size:52px;line-height:1.2;font-weight:900;color:#0b7a75;margin:22px 0 18px;letter-spacing:.5px;}
.order-sum-card .modal-actions{justify-content:center!important;}

.quote-customer-picker-modern{display:flex;flex-direction:column;gap:14px;min-width:min(980px,90vw);}
.quote-customer-picker-tools{display:grid;grid-template-columns:220px minmax(280px,1fr) auto;gap:12px;align-items:end;}
.quote-customer-picker-tools label{display:flex;flex-direction:column;gap:6px;color:#42526b;font-weight:800;}
.quote-customer-picker-tools input,.quote-customer-picker-tools select{height:42px;border:1px solid rgba(13,129,122,.20);border-radius:12px;background:rgba(255,255,255,.95);padding:0 12px;font-weight:700;}
.quote-customer-picker-table-wrap{max-height:58vh!important;overflow:auto!important;border-radius:16px;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(13,129,122,.08);}
.quote-customer-picker-table{min-width:860px!important;table-layout:fixed;}
.quote-customer-picker-table th,.quote-customer-picker-table td{text-align:center;vertical-align:middle;padding:10px 9px;}
.quote-customer-picker-table th:nth-child(1),.quote-customer-picker-table td:nth-child(1){width:70px;}
.quote-customer-picker-table th:nth-child(2),.quote-customer-picker-table td:nth-child(2){width:120px;}
.quote-customer-picker-table th:nth-child(3),.quote-customer-picker-table td:nth-child(3){width:200px;}
.quote-customer-picker-table th:nth-child(4),.quote-customer-picker-table td:nth-child(4){width:120px;}
.quote-customer-picker-table th:nth-child(5),.quote-customer-picker-table td:nth-child(5){width:140px;}
.quote-customer-picker-table td:nth-child(6){text-align:left;white-space:normal;}
.quote-customer-picker-table tbody tr{cursor:pointer;transition:.16s ease;}
.quote-customer-picker-table tbody tr:hover{background:rgba(13,129,122,.08)!important;}

.order-pick-field .customer-suggest{min-width:min(760px,90vw)!important;width:max-content!important;max-width:90vw!important;}
.order-pick-field .customer-suggest button{grid-template-columns:105px minmax(180px,1fr) 120px 150px!important;}

/* v20260520_33：分页跳转、弹窗固定尺寸、订�?客户列表稳定显示 */
.pager-bar{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important;min-height:48px!important;}
.jump-page-field,.customer-page-select-field{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#475467!important;font-size:13px!important;font-weight:700!important;}
.jump-page-field input{width:64px!important;height:32px!important;border:1px solid rgba(13,129,122,.22)!important;border-radius:10px!important;text-align:center!important;background:rgba(255,255,255,.92)!important;}
.customer-page-select-field select{width:76px!important;height:32px!important;border:1px solid rgba(13,129,122,.22)!important;border-radius:10px!important;text-align:center!important;background:rgba(255,255,255,.92)!important;}
.customer-list-only{height:calc(100vh - 230px)!important;display:flex!important;flex-direction:column!important;min-height:0!important;}
.customer-table-wrap{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;}
.customer-list-only>.pager-bar{flex:0 0 50px!important;position:relative!important;bottom:auto!important;background:linear-gradient(180deg,rgba(248,253,252,.9),rgba(255,255,255,.98))!important;border-top:1px solid rgba(13,129,122,.10)!important;}
.quote-customer-picker-modern{height:min(650px,74vh)!important;display:flex!important;flex-direction:column!important;gap:12px!important;min-width:min(980px,90vw)!important;}
.quote-customer-picker-tools{flex:0 0 auto!important;grid-template-columns:170px minmax(280px,1fr) 120px auto!important;}
.quote-customer-picker-table-wrap{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;}
.quote-customer-picker-pager{flex:0 0 48px!important;padding:8px 0 0!important;}
.quote-customer-picker-table td{height:44px!important;max-height:64px!important;overflow:hidden!important;}
.quote-customer-picker-table td:nth-child(6){line-height:1.45;display:table-cell!important;}
.order-table-wrap{min-height:0!important;}
.order-page-card .page-filter-bar .customer-search-wrap input{min-width:260px!important;font-weight:800!important;border-color:rgba(13,129,122,.35)!important;box-shadow:0 0 0 3px rgba(13,129,122,.06)!important;}
.order-action-bar .ghost-btn.small{font-weight:800!important;}

/* v20260520_34：订单金额弹窗、顶部按钮、小工具、订单框�?*/
.top-actions .ghost-btn,
.top-actions .top-admin-link{
  border:1px solid rgba(13,129,122,.22)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(226,247,244,.72))!important;
  color:#0c4c49!important;
  box-shadow:0 10px 26px rgba(12,85,80,.08)!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease!important;
}
.top-actions .ghost-btn:hover,
.top-actions .top-admin-link:hover{
  background:linear-gradient(145deg,#0b8078,#0b6f68)!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 16px 32px rgba(11,128,120,.20)!important;
}
.order-sum-card-modern{width:min(660px,92vw)!important;padding:30px 34px!important;}
.order-sum-card-modern .modal-head{justify-content:center!important;border-bottom:0!important;padding-bottom:0!important;}
.order-sum-card-modern .modal-head strong{font-size:24px!important;color:#102033!important;}
.order-sum-card-modern .order-sum-big{font-size:64px!important;margin:20px 0 8px!important;text-shadow:0 12px 28px rgba(11,128,120,.12)!important;}
.order-sum-cn{font-size:20px;font-weight:900;color:#537305;margin:6px auto 20px;line-height:1.6;max-width:92%;}
.order-selection-box{position:fixed;z-index:30050!important;border:2px solid rgba(13,129,122,.72);background:rgba(13,129,122,.10);border-radius:8px;pointer-events:none;box-shadow:0 10px 26px rgba(13,129,122,.12)}
.custom-tools-card{width:min(1120px,94vw)!important;height:min(760px,86vh)!important;display:flex!important;flex-direction:column!important;}
.custom-tools-layout{display:grid;grid-template-columns:260px 1fr;gap:14px;min-height:0;flex:1;}
.custom-tools-list{padding:12px;border-radius:18px;background:rgba(238,250,248,.75);overflow:auto;box-shadow:inset 0 0 0 1px rgba(13,129,122,.10)}
.custom-tool-btn{width:100%;text-align:left;border:1px solid rgba(13,129,122,.16);border-radius:15px;background:rgba(255,255,255,.78);padding:12px 14px;margin-bottom:10px;cursor:pointer;transition:.18s ease;color:#102033;}
.custom-tool-btn strong{display:block;font-size:15px;color:#075f5a;}
.custom-tool-btn small{display:block;margin-top:5px;color:#667085;line-height:1.4;}
.custom-tool-btn:hover,.custom-tool-btn.active{background:linear-gradient(145deg,rgba(13,129,122,.13),rgba(255,255,255,.95));border-color:rgba(13,129,122,.38);transform:translateY(-1px)}
.custom-tools-runner{border-radius:20px;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(13,129,122,.12),0 14px 42px rgba(16,32,45,.08)}
.custom-tools-runner iframe{width:100%;height:100%;border:0;background:#fff;}
.custom-tool-form textarea{font-family:Consolas,'Microsoft YaHei',monospace;line-height:1.5;min-height:260px;}

/* v20260520_35 库存管理：上下架、低库存预警、批量新增优�?*/
.inventory-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start;}
.inventory-warning-panel{position:sticky;top:8px;border:1px solid rgba(11,122,117,.16);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(236,249,247,.84));box-shadow:0 12px 32px rgba(15,23,42,.06);padding:14px;max-height:620px;overflow:auto;}
.inventory-warning-panel h3{margin:0 0 12px;color:#0b5960;font-size:18px;}
.inventory-warning-item{border:1px solid rgba(198,91,31,.16);background:rgba(255,248,240,.78);border-radius:14px;padding:10px 12px;margin-bottom:10px;display:grid;gap:3px;}
.inventory-warning-item strong{color:#9a4b08;font-size:15px;}
.inventory-warning-item span{color:#667085;font-size:12px;}
.inventory-warning-item b{color:#c2410c;font-size:13px;}
.inventory-product-card.inventory-offline{filter:grayscale(.75);background:linear-gradient(145deg,rgba(245,245,245,.9),rgba(232,236,236,.85));border-color:rgba(100,116,139,.18);opacity:.72;}
.inventory-product-card.inventory-low{border-color:rgba(198,91,31,.42);box-shadow:0 12px 28px rgba(198,91,31,.10);}
.inventory-low-tag,.inventory-status-tag{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:700;}
.inventory-low-tag{color:#c2410c;background:rgba(255,237,213,.85);}
.inventory-status-tag{color:#0b7a75;background:rgba(224,247,244,.9);}
.inventory-offline .inventory-status-tag{color:#64748b;background:rgba(226,232,240,.95);}
.inventory-batch-toolbar{align-items:end;gap:10px;flex-wrap:wrap;}
.inventory-batch-toolbar label{min-width:140px;}
.inventory-batch-toolbar input,.inventory-batch-toolbar select{height:40px;}
.small-file-button{height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(11,122,117,.18);border-radius:12px;background:#fff;color:#0b5960;font-weight:700;padding:0 12px;cursor:pointer;}
.small-file-button input{display:none;}
.inventory-batch-table th,.inventory-batch-table td{text-align:center;vertical-align:middle;}
.inventory-batch-table input,.inventory-batch-table select{width:100%;height:38px;border:1px solid #d8e6e4;border-radius:10px;padding:0 10px;background:#fff;}
.inventory-batch-drop{min-height:38px;border:1px dashed rgba(11,122,117,.35);border-radius:10px;background:rgba(240,250,249,.75);display:flex;align-items:center;justify-content:center;color:#0b7a75;font-size:12px;cursor:pointer;}
.inventory-batch-drop.has-image{background:rgba(11,122,117,.1);font-weight:700;}
@media(max-width:1200px){.inventory-dashboard-grid{grid-template-columns:1fr}.inventory-warning-panel{position:relative;top:auto;}}
.inventory-toggle-btn{margin-top:auto;width:100%;height:30px;font-size:12px;}

/* v20260520_36 订单核心与表格选择修复：仅修复订单弹窗、通用表格框选、报价表格列宽，不改首页布局 */
.modal:not(.hidden) { display:flex !important; }

#orderEditModal .order-modal-card { max-height: 92vh; overflow:auto; }
tr.row-selected,
tbody tr:has(> td input[type="checkbox"]:checked) {
  background: rgba(20, 143, 134, 0.13) !important;
  box-shadow: inset 4px 0 0 rgba(11,122,117,.55);
}
.universal-selection-box {
  position: fixed;
  z-index: 30050 !important;
  pointer-events: none;
  border: 1px solid rgba(11,122,117,.75);
  background: rgba(20,143,134,.16);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11,122,117,.12);
}

/* 锁定报价系统项目列表表格：保持完整列宽与图文打印行显示，不被其它模块样式压缩 */
.quote-system-page .table-card { overflow: hidden !important; }
.quote-system-page .table-card .table-wrap {
  overflow: auto !important;
  width: 100% !important;
  border-radius: 18px !important;
}
.quote-system-page .table-card table {
  width: 1740px !important;
  min-width: 1740px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.quote-system-page .table-card th,
.quote-system-page .table-card td {
  box-sizing: border-box !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-size: 12px !important;
  line-height: 1.32 !important;
  padding: 7px 6px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  border-bottom: 1px solid rgba(102,112,133,.13) !important;
  border-right: 1px solid rgba(102,112,133,.08) !important;
}
.quote-system-page .table-card th:nth-child(1), .quote-system-page .table-card td:nth-child(1){width:42px!important;min-width:42px!important;}
.quote-system-page .table-card th:nth-child(2), .quote-system-page .table-card td:nth-child(2){width:50px!important;min-width:50px!important;}

.quote-system-page .table-card th:nth-child(4), .quote-system-page .table-card td:nth-child(4){width:135px!important;min-width:135px!important;}
.quote-system-page .table-card th:nth-child(5), .quote-system-page .table-card td:nth-child(5){width:110px!important;min-width:110px!important;}
.quote-system-page .table-card th:nth-child(6), .quote-system-page .table-card td:nth-child(6){width:125px!important;min-width:125px!important;}
.quote-system-page .table-card th:nth-child(7), .quote-system-page .table-card td:nth-child(7){width:245px!important;min-width:245px!important;}
.quote-system-page .table-card th:nth-child(8), .quote-system-page .table-card td:nth-child(8){width:92px!important;min-width:92px!important;}
.quote-system-page .table-card th:nth-child(9), .quote-system-page .table-card td:nth-child(9){width:90px!important;min-width:90px!important;}
.quote-system-page .table-card th:nth-child(10), .quote-system-page .table-card td:nth-child(10){width:105px!important;min-width:105px!important;}
.quote-system-page .table-card th:nth-child(11), .quote-system-page .table-card td:nth-child(11){width:92px!important;min-width:92px!important;}
.quote-system-page .table-card th:nth-child(12), .quote-system-page .table-card td:nth-child(12){width:70px!important;min-width:70px!important;}
.quote-system-page .table-card th:nth-child(13), .quote-system-page .table-card td:nth-child(13){width:92px!important;min-width:92px!important;}
.quote-system-page .table-card th:nth-child(14), .quote-system-page .table-card td:nth-child(14){width:110px!important;min-width:110px!important;}
.quote-system-page .table-card th:nth-child(15), .quote-system-page .table-card td:nth-child(15){width:76px!important;min-width:76px!important;}
.quote-system-page .table-card th:nth-child(16), .quote-system-page .table-card td:nth-child(16){width:88px!important;min-width:88px!important;}

.quote-system-page .table-card input,
.quote-system-page .table-card select {
  max-width: 100% !important;
  height: 30px !important;
  font-size: 12px !important;
  padding: 0 7px !important;
}
.quote-system-page .table-card .thumb { width:58px !important; height:42px !important; object-fit:cover !important; border-radius:6px; }
.quote-system-page .table-card .size-cell strong,
.quote-system-page .table-card .size-cell span,
.quote-system-page .table-card .file-meta,
.quote-system-page .table-card .unit-hint { display:block !important; white-space:normal !important; word-break:break-word !important; }
.quote-system-page .table-card .print-controls {
  display: grid !important;
  grid-template-columns: 60px 64px 54px 54px 54px 78px !important;
  gap: 6px !important;
  align-items: center !important;
}
.quote-system-page .table-card .print-controls label { display:flex !important; align-items:center !important; gap:3px !important; white-space:nowrap !important; }
.quote-system-page .table-card .print-controls .mini-input { width:48px !important; }
.quote-system-page .table-card .cover-check input { width:18px !important; height:18px !important; }


/* v20260521_37 订单管理核心修复：弹窗居中、表格框选不再选中文字、重名客户显示联系人电话 */
.modal:not(.hidden) {
  display: grid !important;
  place-items: center !important;
  align-items: center !important;
  justify-content: center !important;
}
#orderEditModal,
#customerEditModal,
#orderPickerModal,
#orderDetailsModal,
#orderImageModal,
#orderSumModal {
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}
#orderEditModal .order-modal-card,
#customerEditModal .customer-modal-card,
#orderPickerModal .order-picker-card,
#orderDetailsModal .order-details-card,
#orderImageModal .order-image-modal-card,
#orderSumModal .order-sum-card {
  align-self: center !important;
  justify-self: center !important;
  margin: auto !important;
}
body.table-drag-selecting,
body.table-drag-selecting * {
  user-select: none !important;
  -webkit-user-select: none !important;
}
.data-table tbody,
.data-table tbody tr,
.data-table tbody td,
.table-wrap tbody,
.table-wrap tbody tr,
.table-wrap tbody td {
  user-select: none;
  -webkit-user-select: none;
}
.order-customer-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 112px;
  line-height: 1.35;
}
.order-customer-cell strong {
  color: #102033;
  font-size: var(--order-table-font, 12px);
  font-weight: 800;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-customer-cell span {
  color: #667085;
  font-size: 11px;
  font-weight: 600;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#orderCustomerSearch {
  text-overflow: ellipsis;
}

/* v20260521_38 订单管理专项优化：只作用订单管理、订单编辑、订单选择弹窗 */
#ordersPage .orders-table{min-width:2080px!important;}
#ordersPage .orders-table th:nth-child(4),#ordersPage .orders-table td:nth-child(4){width:230px!important;min-width:230px!important;max-width:230px!important;}
#ordersPage .orders-table th:nth-child(5),#ordersPage .orders-table td:nth-child(5){width:185px!important;}
#ordersPage .orders-table td:nth-child(4){overflow:visible!important;}
#ordersPage .order-customer-cell{min-width:210px!important;max-width:220px!important;gap:1px!important;}
#ordersPage .order-customer-cell strong{max-width:216px!important;font-weight:750!important;color:#102033!important;}
#ordersPage .order-customer-cell span{max-width:216px!important;color:rgba(71,84,103,.62)!important;font-size:10.5px!important;font-weight:400!important;letter-spacing:.2px!important;}
.order-thumb-btn{position:relative;overflow:visible!important;border:0;background:transparent;cursor:pointer;padding:0;}
.order-thumb-btn img{width:48px;height:36px;object-fit:cover;border-radius:8px;box-shadow:0 6px 16px rgba(16,32,45,.12);}
.order-thumb-btn.has-multiple::after{content:none!important;display:none!important;box-shadow:none!important;}
.order-image-badge{position:absolute;right:-7px;top:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,#0b7a75,#13a7df);color:#fff;font-size:11px;font-weight:900;line-height:20px;box-shadow:0 6px 16px rgba(11,122,117,.28);}



#orderPickerModal .order-picker-card{width:min(1120px,94vw)!important;height:min(760px,88vh)!important;max-height:min(760px,88vh)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
#orderPickerModal .picker-body{flex:1!important;min-height:0!important;display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:16px!important;overflow:hidden!important;}
#orderPickerModal .product-category-picker{min-height:0!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
#orderProductPickerGroups{flex:1;min-height:0;overflow:auto;padding-right:6px;}
.picker-product-group{border:1px solid rgba(11,122,117,.12);border-radius:14px;background:rgba(255,255,255,.76);margin-bottom:8px;overflow:hidden;}
.picker-category-head{width:100%;height:42px;border:0;background:linear-gradient(90deg,rgba(11,122,117,.10),rgba(255,255,255,.85));display:flex;align-items:center;justify-content:space-between;padding:0 14px;cursor:pointer;}
.picker-category-head strong{color:#075f5a;font-size:14px;}
.picker-category-head span{color:#667085;font-size:12px;}
.picker-product-list{max-height:260px!important;overflow:auto!important;padding:8px!important;display:grid!important;gap:6px!important;}
.picker-product-list.hidden{display:none!important;}
.picker-product-row{width:100%!important;display:grid!important;grid-template-columns:minmax(180px,1fr) 92px 72px!important;gap:8px!important;align-items:center!important;border:1px solid rgba(11,122,117,.12)!important;border-radius:10px!important;background:#fff!important;padding:8px 10px!important;}
.picker-product-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102033;}
.picker-product-row em{font-style:normal;color:#0b7a75;font-weight:900;text-align:right;}
.picker-product-row span{color:#667085;text-align:right;font-size:12px;}
.order-customer-picker-modern{height:100%;display:flex;flex-direction:column;gap:12px;min-height:0;}
.order-customer-picker-tools{display:grid;grid-template-columns:180px minmax(280px,1fr) 130px;gap:12px;align-items:end;padding:12px;border-radius:18px;background:rgba(240,250,249,.8);box-shadow:inset 0 0 0 1px rgba(11,122,117,.10);}
.order-customer-picker-tools label{display:flex;flex-direction:column;gap:6px;color:#344054;font-weight:800;font-size:13px;}
.order-customer-picker-tools input,.order-customer-picker-tools select{height:38px;border:1px solid rgba(11,122,117,.18);border-radius:11px;background:#fff;padding:0 10px;}
.order-customer-picker-table-wrap{flex:1;min-height:0;overflow:auto!important;border-radius:16px;}
.order-customer-picker-table{min-width:900px!important;table-layout:fixed;}
.order-customer-picker-table th,.order-customer-picker-table td{text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.order-customer-picker-table th:nth-child(1),.order-customer-picker-table td:nth-child(1){width:62px!important;}
.order-customer-picker-table th:nth-child(2),.order-customer-picker-table td:nth-child(2){width:120px!important;}
.order-customer-picker-table th:nth-child(3),.order-customer-picker-table td:nth-child(3){width:220px!important;}
.order-customer-picker-table th:nth-child(4),.order-customer-picker-table td:nth-child(4){width:120px!important;}
.order-customer-picker-table th:nth-child(5),.order-customer-picker-table td:nth-child(5){width:150px!important;}
.order-customer-picker-table tbody tr{cursor:pointer;transition:.16s ease;}
.order-customer-picker-table tbody tr:hover{background:rgba(11,122,117,.08)!important;}
.picker-type-pill{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:24px;padding:0 10px;border-radius:999px;background:rgba(13,110,253,.10);color:#0b65c2;font-weight:800;font-size:12px;}
.order-customer-picker-pager{margin-top:auto;padding-top:4px;justify-content:flex-end!important;}
#orderFormCustomerSuggest,#orderFormProductSuggest{max-height:300px!important;overflow:auto!important;padding:8px!important;border-radius:16px!important;border:1px solid rgba(11,122,117,.16)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 22px 60px rgba(16,32,45,.20)!important;}
#orderFormCustomerSuggest button.order-customer-suggest-row{display:grid!important;grid-template-columns:92px minmax(170px,1fr) 88px 130px!important;gap:8px!important;align-items:center!important;min-width:520px!important;padding:8px 10px!important;}
#orderFormCustomerSuggest button strong{color:#1769c2!important;font-weight:850!important;}
#orderFormCustomerSuggest button em{color:#101828!important;font-weight:760!important;}
#orderFormCustomerSuggest .suggest-contact{color:#1769c2!important;font-weight:800!important;text-align:left!important;}
#orderFormCustomerSuggest .suggest-phone{color:#101828!important;font-weight:750!important;text-align:left!important;}
#orderFormProductSuggest button.order-product-suggest-row{display:grid!important;grid-template-columns:120px minmax(220px,1fr) 86px 64px!important;gap:8px!important;align-items:center!important;min-width:560px!important;padding:8px 10px!important;}
#orderFormProductSuggest button strong{color:#1769c2!important;font-weight:850!important;}
#orderFormProductSuggest button em{color:#101828!important;font-weight:760!important;}
#orderFormProductSuggest button span{color:#0b7a75!important;font-weight:900!important;text-align:right!important;}
#orderFormProductSuggest button small{color:#667085!important;text-align:right!important;}
#orderEditModal .order-modal-card{width:min(1060px,94vw)!important;overflow:visible!important;}
#orderEditModal .order-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:start;}
#orderEditModal .order-form-grid label{padding:10px 12px!important;border-radius:16px!important;background:rgba(248,251,252,.88)!important;border:1px solid rgba(11,122,117,.10)!important;box-shadow:0 8px 22px rgba(16,32,45,.035)!important;color:#344054!important;}
#orderEditModal .order-form-grid label:nth-child(1),#orderEditModal .order-form-grid label:nth-child(4){grid-column:span 2;}
#orderEditModal .order-form-grid label:nth-child(14){background:linear-gradient(145deg,rgba(255,247,237,.95),rgba(255,255,255,.98))!important;border-color:rgba(234,88,12,.18)!important;}
#orderEditModal #orderFormTotal{color:#d9480f!important;font-size:20px!important;font-weight:950!important;background:#fff7ed!important;border-color:rgba(234,88,12,.32)!important;}
#orderEditModal #orderFormProductPrice{color:#0b7a75!important;font-weight:900!important;}
#orderEditModal .order-image-drop,#orderEditModal .order-note-field{grid-column:1 / -1!important;}
#orderEditModal .modal-actions{gap:18px!important;justify-content:flex-end!important;padding-top:14px!important;}
#orderEditModal .modal-actions button{min-width:108px;}
.order-image-modal-card{width:min(980px,94vw)!important;height:min(760px,90vh)!important;overflow:hidden!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(236,247,248,.92))!important;box-shadow:0 34px 90px rgba(12,25,40,.30)!important;border:1px solid rgba(255,255,255,.72)!important;}
.order-image-head{align-items:center!important;margin-bottom:10px!important;}
.image-modal-actions{display:flex;gap:8px;align-items:center;}
.order-image-stage{position:relative;height:calc(100% - 88px);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:24px;background:radial-gradient(circle at center,rgba(255,255,255,.92),rgba(214,228,232,.72));box-shadow:inset 0 0 0 1px rgba(16,32,45,.06);}
#orderImageLarge{position:relative;z-index:2;max-width:82%!important;max-height:92%!important;object-fit:contain;border-radius:20px!important;box-shadow:0 26px 70px rgba(16,32,45,.28)!important;transition:opacity .22s ease,transform .22s ease;}
#orderImageLarge.image-switching{animation:orderImageFade .26s ease;}
@keyframes orderImageFade{from{opacity:.52;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
.image-side{position:absolute;top:50%;width:24%;height:66%;transform:translateY(-50%) scale(.92);opacity:.32;filter:saturate(.85);display:flex;align-items:center;justify-content:center;z-index:1;cursor:pointer;transition:.2s ease;}
.image-side:hover{opacity:.48;transform:translateY(-50%) scale(.94);}
.image-side-left{left:2%;}.image-side-right{right:2%;}
.image-side img{max-width:100%;max-height:100%;object-fit:contain;border-radius:18px;box-shadow:0 18px 46px rgba(16,32,45,.18);}
.image-nav-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border:0;border-radius:999px;background:rgba(255,255,255,.74);backdrop-filter:blur(12px);box-shadow:0 12px 34px rgba(16,32,45,.18);display:flex;align-items:center;justify-content:center;font-size:38px;line-height:1;color:#0b5960;cursor:pointer;transition:.18s ease;}
.image-nav-btn:hover{background:#fff;transform:translateY(-50%) scale(1.06);}
.image-prev{left:18px;}.image-next{right:18px;}
.order-image-count{text-align:center;color:#667085;font-weight:800;margin-top:10px;}
#orderSumModal .order-sum-card-modern{width:min(440px,90vw)!important;padding:24px 28px!important;border-radius:24px!important;}
#orderSumModal .order-sum-card-modern .modal-head strong{font-size:20px!important;}
#orderSumModal .order-sum-card-modern .order-sum-big{font-size:46px!important;margin:12px 0 4px!important;}
#orderSumModal .order-sum-cn{font-size:17px!important;margin:4px auto 16px!important;color:#475467!important;}
#orderSumModal .modal-actions{display:flex!important;gap:14px!important;}
#orderEditModal{overflow:auto!important;}
@media(max-width:1100px){#orderEditModal .order-form-grid{grid-template-columns:1fr 1fr!important;}#orderEditModal .order-form-grid label:nth-child(1),#orderEditModal .order-form-grid label:nth-child(4){grid-column:1 / -1!important;}}
@media(max-width:760px){#orderEditModal .order-form-grid{grid-template-columns:1fr!important;}#orderPickerModal .picker-body{grid-template-columns:1fr!important;} .order-customer-picker-tools{grid-template-columns:1fr!important;}}


/* v20260521_39 订单管理专项修复：联想框定位、客�?产品选择弹窗、内容搜索、金额复制关�?*/
#ordersPage .page-filter-bar{
  display:flex!important;
  align-items:end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
#ordersPage .order-content-search-field{
  min-width:300px!important;
  flex:0 0 330px!important;
}
#ordersPage #orderContentSearch{
  width:100%!important;
}
#orderEditModal .order-pick-field{
  position:relative!important;
  overflow:visible!important;
  z-index:25!important;
}
#orderEditModal .order-pick-field:focus-within{z-index:60!important;}
#orderEditModal #orderFormCustomerSuggest,
#orderEditModal #orderFormProductSuggest{
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:calc(100% - 1px)!important;
  width:auto!important;
  min-width:0!important;
  max-height:245px!important;
  overflow:auto!important;
  z-index: var(--layer-dropdown) !important;
  border-radius:0 0 16px 16px!important;
  box-shadow:0 22px 44px rgba(16,32,45,.18)!important;
}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row{
  grid-template-columns:74px minmax(120px,1.2fr) 76px 112px!important;
  min-width:0!important;
  gap:6px!important;
  font-size:12px!important;
}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row > *{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row{
  grid-template-columns:92px minmax(120px,1fr) 78px 54px!important;
  min-width:0!important;
  gap:6px!important;
  font-size:12px!important;
}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row > *{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#orderEditModal .order-form-grid label:nth-child(1){grid-column:auto!important;}
#orderEditModal .order-form-grid label:nth-child(2),
#orderEditModal .order-form-grid label:nth-child(4){grid-column:span 2!important;}
#orderEditModal .order-form-grid label:nth-child(3){grid-column:auto!important;}

#orderPickerModal .order-picker-card{
  width:min(1180px,94vw)!important;
  height:min(760px,88vh)!important;
  overflow:hidden!important;
}
#orderPickerModal .customer-picker-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1!important;
  min-height:0!important;
  overflow:hidden!important;
}
#orderPickerModal .customer-picker-body .order-customer-picker-modern{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}
#orderPickerModal .customer-picker-body .order-customer-picker-tools{
  grid-template-columns:190px minmax(360px,1fr) 140px!important;
  padding:14px!important;
  margin-bottom:2px!important;
}
#orderPickerModal .customer-picker-body .order-customer-picker-table-wrap{
  flex:1!important;
  width:100%!important;
  min-height:0!important;
  overflow:auto!important;
}
#orderPickerModal .customer-picker-body .order-customer-picker-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
#orderPickerModal .customer-picker-body .order-customer-picker-table th:nth-child(1),
#orderPickerModal .customer-picker-body .order-customer-picker-table td:nth-child(1){width:70px!important;}
#orderPickerModal .customer-picker-body .order-customer-picker-table th:nth-child(2),
#orderPickerModal .customer-picker-body .order-customer-picker-table td:nth-child(2){width:130px!important;}
#orderPickerModal .customer-picker-body .order-customer-picker-table th:nth-child(3),
#orderPickerModal .customer-picker-body .order-customer-picker-table td:nth-child(3){width:260px!important;}
#orderPickerModal .customer-picker-body .order-customer-picker-table th:nth-child(4),
#orderPickerModal .customer-picker-body .order-customer-picker-table td:nth-child(4){width:140px!important;}
#orderPickerModal .customer-picker-body .order-customer-picker-table th:nth-child(5),
#orderPickerModal .customer-picker-body .order-customer-picker-table td:nth-child(5){width:160px!important;}
#orderPickerModal .product-picker-body{
  flex:1!important;
  min-height:0!important;
  overflow:hidden!important;
}
#orderPickerModal .product-picker-body .picker-list,
#orderPickerModal .product-picker-body #orderProductPickerGroups,
#orderPickerModal .product-picker-body .picker-product-list{
  overflow-x:hidden!important;
}
#orderPickerModal .product-picker-body .picker-product-list{
  display:flex!important;
  flex-direction:column!important;
  max-height:270px!important;
  padding:8px!important;
}
#orderPickerModal .product-picker-body .picker-product-row{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 78px 110px!important;
  column-gap:10px!important;
  align-items:center!important;
}
#orderPickerModal .product-picker-body .picker-product-row strong,
#orderPickerModal .product-picker-body .picker-product-row .picker-product-unit,
#orderPickerModal .product-picker-body .picker-product-row em{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#orderPickerModal .product-picker-body .picker-product-row .picker-product-unit{
  color:#667085!important;
  text-align:center!important;
  font-size:12px!important;
}
#orderPickerModal .product-picker-body .picker-product-row em{
  color:#0b7a75!important;
  font-weight:900!important;
  text-align:right!important;
  font-style:normal!important;
}
#orderSumModal .order-sum-card-modern .modal-actions .primary-btn{min-width:126px!important;}
@media(max-width:1100px){
  #orderEditModal .order-form-grid label:nth-child(2),
  #orderEditModal .order-form-grid label:nth-child(4){grid-column:span 1!important;}
  #orderPickerModal .customer-picker-body .order-customer-picker-tools{grid-template-columns:1fr!important;}
}

/* v20260520_40 批量合并账单：二级订单管理体�?*/
.merged-order-row td:nth-child(6),
.merged-order-row td:nth-child(7),
.merged-order-row td:nth-child(8),
.merged-order-row td:nth-child(9),
.merged-order-row td:nth-child(10),
.merged-order-row td:nth-child(11),
.merged-order-row td:nth-child(12),
.merged-order-row td:nth-child(13){color:transparent!important;background:rgba(248,251,252,.55)!important;}
.merged-order-hint{margin-top:3px;font-size:10.5px;color:rgba(11,122,117,.68);font-weight:700;}
#orderDetailsModal{z-index: var(--layer-modal) !important;align-items:center!important;justify-content:center!important;}
.order-details-layer-card{width:min(92vw,1620px)!important;height:min(86vh,880px)!important;max-height:86vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(240,250,248,.94))!important;box-shadow:0 34px 96px rgba(16,32,45,.30)!important;border:1px solid rgba(255,255,255,.78)!important;}
.order-details-head{align-items:flex-start!important;padding-bottom:8px!important;}
.order-details-head strong{font-size:22px!important;color:#102033!important;}
.order-details-head small{display:block;margin-top:5px;color:#667085;font-size:12px;font-weight:700;}
.order-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px 0 14px!important;border-bottom:1px solid rgba(11,122,117,.10)!important;}
.order-details-layer-card .detail-table-wrap{flex:1!important;min-height:0!important;overflow:auto!important;border-radius:18px!important;background:rgba(255,255,255,.72)!important;}
.order-details-layer-card .detail-table{min-width:1780px!important;table-layout:fixed!important;}
.order-details-layer-card .detail-table th,.order-details-layer-card .detail-table td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;}
.order-details-layer-card .detail-table th:nth-child(1),.order-details-layer-card .detail-table td:nth-child(1){width:48px!important;}
.order-details-layer-card .detail-table th:nth-child(2),.order-details-layer-card .detail-table td:nth-child(2){width:60px!important;}
.order-details-layer-card .detail-table th:nth-child(3),.order-details-layer-card .detail-table td:nth-child(3){width:130px!important;}
.order-details-layer-card .detail-table th:nth-child(4),.order-details-layer-card .detail-table td:nth-child(4){width:210px!important;}
.order-details-layer-card .detail-table th:nth-child(5),.order-details-layer-card .detail-table td:nth-child(5){width:150px!important;}
.order-details-layer-card .detail-table th:nth-child(6),.order-details-layer-card .detail-table td:nth-child(6){width:180px!important;}
.order-details-layer-card .detail-table th:nth-child(7),.order-details-layer-card .detail-table td:nth-child(7){width:120px!important;}
.order-details-layer-card .detail-table th:nth-child(8),.order-details-layer-card .detail-table td:nth-child(8){width:110px!important;}
.order-details-layer-card .detail-table th:nth-child(9),.order-details-layer-card .detail-table td:nth-child(9){width:100px!important;}
.order-details-layer-card .detail-table th:nth-child(10),.order-details-layer-card .detail-table td:nth-child(10),
.order-details-layer-card .detail-table th:nth-child(11),.order-details-layer-card .detail-table td:nth-child(11){width:105px!important;}
.order-details-layer-card .detail-table th:nth-child(12),.order-details-layer-card .detail-table td:nth-child(12){width:70px!important;}
.order-details-layer-card .detail-table th:nth-child(13),.order-details-layer-card .detail-table td:nth-child(13){width:110px!important;}
.order-details-layer-card .detail-table th:nth-child(14),.order-details-layer-card .detail-table td:nth-child(14){width:190px!important;}
.order-details-layer-card .detail-table th:nth-child(15),.order-details-layer-card .detail-table td:nth-child(15){width:80px!important;overflow:visible!important;}
.order-details-layer-card .detail-table th:nth-child(16),.order-details-layer-card .detail-table td:nth-child(16){width:90px!important;}
.detail-thumb-btn img{width:48px!important;height:36px!important;object-fit:cover!important;border-radius:8px!important;}

/* v20260520_41 订单管理：行高统一、合并账单UI统一、弹窗层级修�?*/
#ordersPage .orders-table tbody tr,
#orderDetailsModal .detail-table tbody tr { height: 52px !important; max-height: 52px !important; }
#ordersPage .orders-table th,
#orderDetailsModal .detail-table th {
  height: 48px !important;
  background: linear-gradient(180deg, rgba(237,249,247,.98), rgba(221,242,240,.96)) !important;
  color: #102033 !important;
  font-weight: 900 !important;
  border-bottom: 2px solid rgba(11,122,117,.22) !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.7) !important;
}
#ordersPage .orders-table td,
#orderDetailsModal .detail-table td {
  height: 52px !important;
  max-height: 52px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}
.order-cell-clamp {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.32 !important;
  max-height: 2.64em !important;
}
#ordersPage .order-customer-cell {
  max-height: 42px !important;
  overflow: hidden !important;
}
#ordersPage .order-customer-cell strong,
#ordersPage .order-customer-cell span {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#ordersPage .orders-table .order-note-cell .order-cell-clamp,
#orderDetailsModal .detail-table .order-note-cell .order-cell-clamp { text-align: center !important; }
#orderDetailsModal { z-index: var(--layer-modal) !important; }

#orderPickerModal { z-index: var(--layer-modal) !important; }

#orderSumModal { z-index: var(--layer-modal) !important; }
.order-action-modal { z-index: var(--layer-modal) !important; align-items: center !important; justify-content: center !important; padding: 24px !important; }
.order-action-card {
  width: min(520px, 92vw) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,250,248,.96)) !important;
  box-shadow: 0 30px 88px rgba(16,32,45,.28) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
}
.order-action-field { display:flex; flex-direction:column; gap:8px; color:#344054; font-weight:850; margin: 14px 0 18px; }
.order-action-field input { height:46px; border:1px solid rgba(11,122,117,.22); border-radius:14px; padding:0 14px; font-size:16px; background:#fff; outline:none; }
.order-action-field input:focus { border-color:rgba(11,122,117,.65); box-shadow:0 0 0 4px rgba(11,122,117,.10); }
.order-merge-target-card { width: min(760px, 94vw) !important; max-height: min(720px, 88vh) !important; display:flex; flex-direction:column; }
.merge-target-list { display:flex; flex-direction:column; gap:8px; overflow:auto; max-height: 560px; padding:4px 4px 10px; }
.merge-target-list button { border:1px solid rgba(11,122,117,.14); background:#fff; border-radius:14px; padding:12px 14px; display:grid; grid-template-columns:minmax(180px,1fr) 150px 110px 90px; gap:10px; align-items:center; cursor:pointer; text-align:left; transition:.16s ease; }
.merge-target-list button:hover { background:rgba(11,122,117,.07); transform:translateY(-1px); box-shadow:0 12px 28px rgba(16,32,45,.08); }
.merge-target-list strong { color:#0b7a75; font-weight:900; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.merge-target-list span,.merge-target-list small { color:#667085; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.merge-target-list em { color:#102033; font-style:normal; font-weight:900; text-align:right; }
.order-details-layer-card {
  width: min(96vw, 1760px) !important;
  height: min(92vh, 960px) !important;
  max-height: 92vh !important;
}
.order-details-layer-card .detail-table-wrap { overflow-x: hidden !important; }
.order-details-layer-card .detail-table { width:100% !important; min-width:0 !important; table-layout:fixed !important; }
.order-details-layer-card .detail-table th:nth-child(1),.order-details-layer-card .detail-table td:nth-child(1){width:42px!important;}
.order-details-layer-card .detail-table th:nth-child(2),.order-details-layer-card .detail-table td:nth-child(2){width:48px!important;}
.order-details-layer-card .detail-table th:nth-child(3),.order-details-layer-card .detail-table td:nth-child(3){width:118px!important;}
.order-details-layer-card .detail-table th:nth-child(4),.order-details-layer-card .detail-table td:nth-child(4){width:170px!important;}
.order-details-layer-card .detail-table th:nth-child(5),.order-details-layer-card .detail-table td:nth-child(5){width:110px!important;}
.order-details-layer-card .detail-table th:nth-child(6),.order-details-layer-card .detail-table td:nth-child(6){width:140px!important;}
.order-details-layer-card .detail-table th:nth-child(7),.order-details-layer-card .detail-table td:nth-child(7){width:100px!important;}
.order-details-layer-card .detail-table th:nth-child(8),.order-details-layer-card .detail-table td:nth-child(8){width:82px!important;}
.order-details-layer-card .detail-table th:nth-child(9),.order-details-layer-card .detail-table td:nth-child(9){width:82px!important;}
.order-details-layer-card .detail-table th:nth-child(10),.order-details-layer-card .detail-table td:nth-child(10),
.order-details-layer-card .detail-table th:nth-child(11),.order-details-layer-card .detail-table td:nth-child(11){width:86px!important;}
.order-details-layer-card .detail-table th:nth-child(12),.order-details-layer-card .detail-table td:nth-child(12){width:58px!important;}
.order-details-layer-card .detail-table th:nth-child(13),.order-details-layer-card .detail-table td:nth-child(13){width:90px!important;}
.order-details-layer-card .detail-table th:nth-child(14),.order-details-layer-card .detail-table td:nth-child(14){width:150px!important;}
.order-details-layer-card .detail-table th:nth-child(15),.order-details-layer-card .detail-table td:nth-child(15){width:70px!important;}
.order-details-layer-card .detail-table th:nth-child(16),.order-details-layer-card .detail-table td:nth-child(16){width:72px!important;}
#orderDetailsModal .detail-table input[type="checkbox"],
#ordersPage .orders-table input[type="checkbox"] { width:16px !important; height:16px !important; }
#orderEditModal #orderFormCustomerSuggest,
#orderEditModal #orderFormProductSuggest {
  left: 0 !important;
  right: auto !important;
  width: min(820px, calc(100vw - 96px)) !important;
  max-width: min(820px, calc(100vw - 96px)) !important;
  min-width: 620px !important;
  overflow-x: hidden !important;
}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row,
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row {
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row {
  grid-template-columns:90px minmax(220px,1fr) 110px 150px !important;
}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row {
  grid-template-columns:110px minmax(260px,1fr) 90px 90px !important;
}
@media (max-width: 1100px) {
  .order-details-layer-card .detail-table-wrap { overflow-x:hidden!important; }
  .order-details-layer-card .detail-table { width:100%!important; min-width:0!important; }
  #orderEditModal #orderFormCustomerSuggest,
  #orderEditModal #orderFormProductSuggest { min-width: min(620px, calc(100vw - 72px)) !important; }
  .merge-target-list button { grid-template-columns:1fr 100px; }
}

/* v20260520_42 订单管理/合并账单/导出模板统一优化 */
.order-search-mark{background:#ffeb3b!important;color:#9a3412!important;border-radius:4px;padding:0 2px;font-weight:950;box-shadow:0 0 0 1px rgba(234,179,8,.22)}
.search-note-hit .order-cell-clamp{background:linear-gradient(90deg,rgba(255,237,213,.95),rgba(254,249,195,.78))!important;border:1px solid rgba(234,88,12,.22);border-radius:8px;padding:3px 5px;}
.amount-summary-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin:10px 0 4px;padding:10px 12px;border-radius:16px;background:linear-gradient(90deg,rgba(239,250,248,.92),rgba(255,255,255,.88));border:1px solid rgba(11,122,117,.12);box-shadow:0 10px 26px rgba(16,32,45,.05);font-weight:850;color:#334155;}
.amount-summary-bar span{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.74);border:1px solid rgba(11,122,117,.08);}
.amount-summary-bar strong{font-size:15px;color:#0b7a75;}.amount-summary-bar .paid-text{color:#0f9f7a!important}.amount-summary-bar .unpaid-text,.amount-summary-bar .debt-text{color:#d9480f!important}.detail-summary-bar{position:sticky;bottom:0;z-index:3;margin:0;border-radius:0 0 18px 18px;justify-content:flex-end;}
.order-confirm-card{width:min(520px,90vw)!important}.order-confirm-message{font-size:16px;line-height:1.65;color:#102033;padding:16px 4px 18px;white-space:pre-wrap}.danger-confirm-btn{background:#0b8b7d!important;color:#fff!important}.separated-actions{gap:22px!important;justify-content:flex-end!important}.order-action-card .modal-head{padding-right:0!important}.order-action-card .modal-actions button{min-width:108px!important;}
#orderDetailsModal .order-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px 12px 14px!important;background:rgba(255,255,255,.64)!important;border-radius:16px!important;border-bottom:0!important;box-shadow:inset 0 0 0 1px rgba(5,111,103,.08)!important;margin-bottom:10px!important;}
#orderDetailsModal .order-detail-actions .small{height:34px!important;padding:0 12px!important;font-weight:700!important;border:1px solid rgba(11,122,117,.18)!important;border-radius:10px!important;background:rgba(255,255,255,.88)!important;color:#102033!important;box-shadow:0 6px 16px rgba(16,32,45,.04)!important;transition:.16s ease!important;}
#orderDetailsModal .order-detail-actions .small:hover{transform:translateY(-1px)!important;background:rgba(235,250,248,.96)!important;border-color:rgba(11,122,117,.36)!important;color:#0b7a75!important;box-shadow:0 10px 26px rgba(11,122,117,.10)!important;}
#orderEditModal #orderFormCustomerSuggest,#orderEditModal #orderFormProductSuggest{width:min(860px,calc(100vw - 72px))!important;min-width:min(720px,calc(100vw - 72px))!important;font-size:14px!important;overflow-x:hidden!important;}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row{grid-template-columns:78px minmax(138px,.95fr) 84px minmax(148px,1fr)!important;gap:6px!important;font-size:14px!important;line-height:1.3!important;min-height:40px!important;padding:8px 8px 8px 10px!important;}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row{grid-template-columns:104px minmax(160px,1fr) 82px 70px!important;gap:10px!important;font-size:14px!important;line-height:1.35!important;min-height:42px!important;}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row span{justify-self:end!important;}
#orderEditModal #orderFormCustomerSuggest button.order-customer-suggest-row > *,#orderEditModal #orderFormProductSuggest button.order-product-suggest-row > *{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#orderEditModal #orderFormCustomerSuggest button:hover,#orderEditModal #orderFormProductSuggest button:hover{background:rgba(11,122,117,.08)!important;}
.export-template-admin{border:1px solid rgba(11,122,117,.12);border-radius:14px;background:rgba(248,251,252,.78);padding:12px;margin-top:8px;display:grid;gap:8px}.export-template-admin h3{margin:0;color:#0b7a75}.template-upload-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto minmax(180px,1.2fr);gap:8px;align-items:end}.template-upload-row label{display:flex!important;flex-direction:column;gap:5px}.template-upload-row span{color:#667085;font-weight:700;font-size:13px;align-self:center;}
@media(max-width:900px){.template-upload-row{grid-template-columns:1fr}.amount-summary-bar{justify-content:flex-start}#orderEditModal #orderFormCustomerSuggest,#orderEditModal #orderFormProductSuggest{min-width:min(620px,calc(100vw - 40px))!important;}}

/* v20260520_43 客户类型色块、共享记事本、金额只读优�?*/
.customer-type-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;max-width:96px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:850;line-height:1;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.36)}
.customer-type-blue{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe}.customer-type-green{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.customer-type-orange{background:#ffedd5;color:#c2410c;border:1px solid #fed7aa}.customer-type-purple{background:#ede9fe;color:#6d28d9;border:1px solid #ddd6fe}.customer-type-cyan{background:#cffafe;color:#0e7490;border:1px solid #a5f3fc}.customer-type-rose{background:#ffe4e6;color:#be123c;border:1px solid #fecdd3}.customer-type-slate{background:#e2e8f0;color:#334155;border:1px solid #cbd5e1}
.suggest-type-wrap{display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}.readonly-money-input{background:linear-gradient(180deg,#f8fafc,#eef6f5)!important;color:#c2410c!important;font-weight:950!important;border-color:rgba(11,122,117,.22)!important;cursor:not-allowed!important;appearance:textfield!important;-moz-appearance:textfield!important}.readonly-money-input::-webkit-outer-spin-button,.readonly-money-input::-webkit-inner-spin-button{appearance:none!important;-webkit-appearance:none!important;margin:0!important}
.shared-note-card{width:min(1180px,94vw)!important;max-width:1180px!important;max-height:90vh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:linear-gradient(180deg,#ffffff,#f7fbfb)!important}.shared-note-card .modal-close{position:absolute;right:18px;top:16px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(11,122,117,.09);color:#0b7a75;font-size:22px;line-height:34px;cursor:pointer}.shared-note-card h2{margin:0;padding:22px 28px 4px;color:#0b7a75}.shared-note-meta{padding:0 28px;margin:0 0 10px!important}.rich-note-toolbar{display:flex!important;flex-direction:column!important;gap:10px!important;margin:0!important;padding:12px 20px;background:rgba(239,250,248,.86);border-top:1px solid rgba(11,122,117,.08);border-bottom:1px solid rgba(11,122,117,.12)}.note-tool-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.note-tool-group label{height:34px!important;padding:0 8px;background:#fff;border:1px solid rgba(11,122,117,.14);border-radius:10px}.note-tool-group select{height:28px!important;border:0!important;background:transparent!important;padding:0!important}.note-tool-group input[type=color]{height:26px!important;width:42px!important;border:0!important;background:transparent!important;padding:0!important}.rich-note-toolbar .ghost-btn{height:34px!important;padding:0 11px!important;border:1px solid rgba(11,122,117,.16)!important;background:#fff!important;color:#102033!important;border-radius:10px!important}.rich-note-toolbar .ghost-btn:hover{background:rgba(11,122,117,.08)!important;color:#0b7a75!important;transform:translateY(-1px)}.rich-note-editor{height:min(58vh,560px)!important;margin:0 20px 14px;width:auto!important;border-radius:18px!important;background:#fff!important;overflow:auto!important;line-height:1.75!important;box-shadow:inset 0 0 0 1px rgba(11,122,117,.08)}.shared-note-card .form-actions{padding:0 20px 20px!important;justify-content:flex-end!important;gap:22px!important}.shared-note-table{width:100%;border-collapse:collapse;margin:12px 0;background:#fff}.shared-note-table td{border:1px solid #94a3b8;padding:8px;min-width:90px}.shared-note-image{margin:12px 0;padding:10px;border:1px solid rgba(11,122,117,.12);border-radius:14px;background:#f8fcfc}.shared-note-image img{max-width:100%;height:auto;display:block;margin:0 auto;border-radius:10px}.shared-note-image figcaption{text-align:center;color:#667085;font-size:12px;margin-top:6px}.shared-note-attachment{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:#eef8f7;color:#0b7a75!important;text-decoration:none!important;border:1px solid rgba(11,122,117,.14);font-weight:800}.template-upload-row{grid-template-columns:minmax(220px,1fr) auto auto auto minmax(160px,1.2fr)!important}.order-confirm-card{text-align:center!important}.order-confirm-card .modal-actions{justify-content:center!important;gap:28px!important}.order-confirm-message{text-align:center!important}
.order-sum-extra{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:12px 0 4px}.order-sum-extra span{padding:8px 10px;border-radius:12px;background:#f3fbfa;border:1px solid rgba(11,122,117,.12);font-weight:800;color:#334155;text-align:center}

/* v44 订单/报价/共享记事本专项修�?*/
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row{
  grid-template-columns:92px minmax(135px, 1fr) 84px 62px!important;
  min-width:0!important;
  max-width:100%!important;
  gap:8px!important;
  font-size:14px!important;
}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row em{min-width:0!important;}
#orderEditModal #orderFormProductSuggest button.order-product-suggest-row span{justify-self:end!important;color:#0b8078!important;font-weight:900!important;}
#ordersPage .orders-table th:nth-child(4),#ordersPage .orders-table td:nth-child(4){width:165px!important;min-width:165px!important;max-width:165px!important;}
#ordersPage .order-customer-cell{min-width:0!important;max-width:160px!important;overflow:hidden!important;}
#ordersPage .order-customer-cell strong,#ordersPage .order-customer-cell span{max-width:156px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.quote-system-page .batch-bar{grid-template-columns:repeat(auto-fit,minmax(96px,max-content))!important;align-items:center!important;}
.quote-system-page .table-wrap{overflow-x:auto!important;}
.quote-system-page .table-card table{table-layout:fixed!important;min-width:1740px!important;}
.quote-system-page .table-card th:nth-child(15),.quote-system-page .table-card td:nth-child(15){width:88px!important;min-width:88px!important;}
.quote-system-page .table-card th:nth-child(16),.quote-system-page .table-card td:nth-child(16){width:84px!important;min-width:84px!important;}
.quote-system-page .table-card th:nth-child(17),.quote-system-page .table-card td:nth-child(17){width:82px!important;min-width:82px!important;}
.quote-verify-btn{min-width:58px!important;height:30px!important;padding:0 10px!important;font-size:12px!important;}
.quote-verify-btn:disabled{opacity:.42!important;cursor:not-allowed!important;}
.shared-note-card{width:min(1420px,96vw)!important;max-width:1420px!important;max-height:94vh!important;}
.rich-note-editor{height:min(66vh,680px)!important;overflow-y:auto!important;overflow-x:hidden!important;resize:vertical!important;}
.shared-note-table{width:100%!important;max-width:100%!important;table-layout:fixed!important;resize:both!important;overflow:auto!important;display:table!important;}
.shared-note-table td{min-width:60px!important;word-break:break-word!important;resize:both!important;overflow:auto!important;}
.shared-note-inline-image{display:block!important;margin:10px auto!important;max-width:100%!important;height:auto!important;background:transparent!important;border:0!important;border-radius:0!important;resize:both!important;overflow:auto!important;}
.shared-note-image{background:transparent!important;border:0!important;padding:0!important;}
.shared-note-image figcaption{display:none!important;}
.shared-note-attachment{max-width:100%!important;word-break:break-all!important;}
.template-upload-row{gap:10px!important;}

/* v45 产品报价、报表、库存与客户类型优化 */
.product-quote-filter-row{display:grid!important;grid-template-columns:minmax(220px,1.1fr) minmax(160px,.7fr) minmax(130px,.45fr) auto;gap:10px;align-items:center;margin:0 0 14px!important}.product-quote-filter-row .search-input{margin-bottom:0!important}.inline-product-quote-layout .quick-calc{background:linear-gradient(180deg,#f0fbfb,#ffffff)!important;border-color:#bfe6e3!important;box-shadow:0 18px 44px rgba(11,122,117,.08)}.quick-calc .calc-card{background:linear-gradient(180deg,#ffffff,#f8ffff);border:1px solid #cdebe8;border-radius:16px;padding:16px;margin-bottom:14px}.quick-calc .free-calc-card{background:linear-gradient(180deg,#fffaf2,#ffffff)!important;border-color:#f4d6a6!important}.quick-calc .calc-card h3{margin-top:0;color:#0b7a75}.quick-calc .free-calc-card h3{color:#b26200}.quote-product-card{min-height:62px}.inventory-tab[data-inventory-tab="edit"]{display:none!important}.report-table-wrap{max-height:calc(100vh - 280px);overflow:auto}.report-orders-table{min-width:1700px;table-layout:fixed}.report-orders-table th,.report-orders-table td,.unpaid-table th,.unpaid-table td{text-align:center;vertical-align:middle}.report-orders-table td,.unpaid-table td{max-height:52px;overflow:hidden;text-overflow:ellipsis}.unpaid-table{min-width:980px}.unpaid-customer-link{font-weight:800;color:#0b7a75;cursor:pointer}.unpaid-customer-link:hover{text-decoration:underline}.danger-money{color:#d92d20!important;font-weight:900}.today-orders-card,.unpaid-status-card{min-height:calc(100vh - 140px)}.customer-type-table th:nth-child(1),.customer-type-table td:nth-child(1){width:80px}.customer-type-table th:nth-child(4),.customer-type-table td:nth-child(4){width:300px}.customer-type-table .table-actions{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap}#ordersPage .page-filter-bar label:first-child{min-width:150px}#ordersPage .orders-table th:nth-child(4),#ordersPage .orders-table td:nth-child(4){width:150px!important;min-width:150px!important;max-width:150px!important}#ordersPage .order-customer-cell{max-width:145px!important}#ordersPage .order-customer-cell strong,#ordersPage .order-customer-cell span{max-width:142px!important}
@media(max-width:1100px){.product-quote-filter-row{grid-template-columns:1fr 1fr}.report-orders-table{min-width:1500px}}

/* ===== v46 统一优化：订单联想框、产品报价、库存、报表、文件附�?===== */
.order-product-suggest-row,
.order-customer-suggest-row{
  display:grid!important;
  grid-template-columns: 88px minmax(150px,1.3fr) minmax(92px,.7fr) minmax(110px,.8fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-height:42px!important;
  padding:9px 12px!important;
  font-size:15px!important;
  white-space:nowrap!important;
}
.order-product-suggest-row strong,
.order-customer-suggest-row .suggest-type-wrap{justify-self:start!important;min-width:0!important;}
.order-product-suggest-row em,
.order-customer-suggest-row em{justify-self:start!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;font-style:normal!important;font-weight:800!important;color:#102033!important;}
.order-product-suggest-row span,
.order-customer-suggest-row .suggest-contact{justify-self:start!important;min-width:0!important;color:#0b8078!important;font-weight:800!important;}
.order-product-suggest-row small,
.order-customer-suggest-row .suggest-phone{justify-self:start!important;min-width:0!important;color:#102033!important;font-weight:700!important;}
#orderFormProductSuggest,#orderFormCustomerSuggest{overflow-x:hidden!important;box-shadow:0 18px 45px rgba(8,45,54,.18)!important;border:1px solid rgba(16,128,120,.2)!important;border-radius:16px!important;}

.product-quote-inline-card{background:linear-gradient(180deg,#ffffff 0%,#f7fffd 100%)!important;border:1px solid rgba(10,128,120,.12)!important;box-shadow:0 18px 42px rgba(14,79,74,.08)!important;}
.product-quote-filter-row{display:grid!important;grid-template-columns:minmax(260px,1.5fr) minmax(210px,.9fr) 160px 88px!important;gap:14px!important;align-items:end!important;margin:14px 0 18px!important;max-width:980px!important;}
#productQuotePage .product-quote-filter-row .search-input{margin-left:0!important;max-width:none!important;width:100%!important;}
.inline-product-quote-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important;align-items:start!important;}
#productQuotePage .quick-calc{border-radius:20px!important;border:1px solid rgba(13,126,119,.18)!important;box-shadow:0 14px 38px rgba(14,79,74,.09)!important;overflow:hidden!important;}
#productQuotePage .quick-calc .calc-card:nth-child(1),#productQuotePage .quick-calc .product-calc-card{background:linear-gradient(180deg,#f3fffc 0%,#ffffff 100%)!important;}
#productQuotePage .quick-calc .free-calc-card{background:linear-gradient(180deg,#fff9ee 0%,#ffffff 100%)!important;border-top:1px dashed rgba(200,128,30,.28)!important;}
.quote-product-group{border:1px solid rgba(11,128,120,.13)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 26px rgba(14,79,74,.06)!important;margin-bottom:14px!important;overflow:hidden!important;}
.quote-group-head{background:linear-gradient(90deg,#eafffb 0%,#f8fffd 100%)!important;border-bottom:1px solid rgba(11,128,120,.12)!important;padding:14px 18px!important;}
.quote-group-head h3{color:#096b66!important;font-size:17px!important;}
.quote-product-card{border-radius:15px!important;background:linear-gradient(180deg,#fff,#f8fdfc)!important;border:1px solid rgba(13,126,119,.13)!important;box-shadow:0 8px 18px rgba(14,79,74,.05)!important;}
.quote-product-card:hover{transform:translateY(-2px);box-shadow:0 15px 26px rgba(14,79,74,.12)!important;border-color:rgba(13,126,119,.28)!important;}

.quote-system-page .table-card .table-wrap{width:100%!important;max-width:100%!important;}
.quote-system-page .table-card table{width:100%!important;min-width:1180px!important;}
#batchCancelImages{border-color:#d9aa56!important;color:#8a5a00!important;background:#fff8e8!important;}

.shared-note-card{width:min(96vw,1280px)!important;height:min(92vh,860px)!important;display:flex!important;flex-direction:column!important;}
.shared-note-card .modal-close{display:flex!important;align-items:center!important;justify-content:center!important;right:22px!important;top:22px!important;width:44px!important;height:44px!important;font-size:24px!important;z-index:2!important;}
.shared-note-editor{flex:1!important;min-height:520px!important;overflow:auto!important;overflow-x:hidden!important;background:#fff!important;}
.shared-note-table{max-width:100%!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;resize:both!important;overflow:auto!important;}
.shared-note-table td{border:1px solid #cfe3e2!important;padding:8px!important;min-width:60px!important;min-height:30px!important;}
.shared-note-inline-image{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;max-width:100%!important;height:auto!important;resize:both!important;overflow:auto!important;cursor:nwse-resize!important;}
a.shared-note-attachment{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:10px 14px!important;border-radius:12px!important;border:1px solid rgba(13,126,119,.18)!important;background:#f7fffd!important;color:#086b66!important;font-weight:800!important;text-decoration:none!important;}

.order-thumb-btn{position:relative!important;min-width:48px!important;height:34px!important;border:1px solid rgba(13,126,119,.18)!important;border-radius:9px!important;background:#f7fffd!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;color:#0b8078!important;font-size:12px!important;font-weight:800!important;}
.order-thumb-btn img{width:48px!important;height:34px!important;object-fit:cover!important;display:block!important;}
.order-thumb-btn .order-thumb-fallback{display:none;}
.order-thumb-btn.thumb-missing .order-thumb-fallback,.order-thumb-btn:not(:has(img)) .order-thumb-fallback{display:inline!important;}
.order-thumb-btn b{position:absolute;right:-2px;top:-5px;background:#0b8078;color:white;border-radius:99px;min-width:18px;height:18px;font-size:11px;line-height:18px;}

.inventory-page-card .inventory-tabbar{gap:10px!important;margin-bottom:18px!important;}
.inventory-page-card .inventory-tab{border-radius:14px!important;}
#inventorySearch{max-width:360px!important;width:360px!important;}
#inventorySearchClear{margin-left:8px!important;}
.inventory-warning-panel{background:linear-gradient(180deg,#fff7e8 0%,#fffdf8 100%)!important;border:1px solid rgba(213,132,24,.22)!important;box-shadow:0 12px 30px rgba(166,91,10,.08)!important;}
.inventory-warning-panel h3{color:#ad5e00!important;}
.inventory-warning-item{background:#fff!important;border:1px solid rgba(213,132,24,.2)!important;border-left:5px solid #e59a2a!important;}
.inventory-product-card{position:relative!important;}
.inventory-product-card .inventory-status-tag{display:none!important;}
.inventory-card-note{height:38px!important;line-height:19px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:#52616b!important;margin:6px 0 8px!important;}
.inventory-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:8px!important;}
.inventory-product-card.inventory-offline{background:#f5f6f7!important;border-color:#d9e1e4!important;color:#7d8a91!important;}
.inventory-product-card:not(.inventory-offline){border-color:rgba(30,145,191,.25)!important;background:linear-gradient(180deg,#f8fdff 0%,#ffffff 100%)!important;}
.inventory-product-card.inventory-low{box-shadow:0 0 0 2px rgba(228,117,31,.18),0 12px 26px rgba(228,117,31,.10)!important;}
.inventory-float-preview{pointer-events:none!important;z-index:12000!important;}
.inventory-float-preview img{width:380px!important;max-height:300px!important;object-fit:contain!important;border-radius:16px!important;box-shadow:0 20px 50px rgba(10,34,40,.28)!important;background:white!important;}
.inventory-log-wrap .data-table th:nth-child(1),.inventory-log-wrap .data-table td:nth-child(1){width:36px!important;}
.inventory-log-wrap .data-table th:nth-child(2),.inventory-log-wrap .data-table td:nth-child(2){width:48px!important;}
.inventory-log-wrap .data-table th:nth-child(3),.inventory-log-wrap .data-table td:nth-child(3){width:132px!important;}
.inventory-log-wrap .data-table th:nth-child(4),.inventory-log-wrap .data-table td:nth-child(4){width:78px!important;}
.inventory-log-wrap .data-table th:nth-child(5),.inventory-log-wrap .data-table td:nth-child(5){width:112px!important;}
.inventory-log-wrap .data-table th:nth-child(8),.inventory-log-wrap .data-table td:nth-child(8),.inventory-log-wrap .data-table th:nth-child(9),.inventory-log-wrap .data-table td:nth-child(9){min-width:260px!important;white-space:normal!important;}

.order-file-card{width:min(720px,92vw)!important;}
.order-file-list{display:grid!important;gap:10px!important;max-height:55vh!important;overflow:auto!important;}
.order-file-link{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:center!important;padding:12px 14px!important;border-radius:12px!important;border:1px solid rgba(13,126,119,.18)!important;background:#f8fffd!important;color:#102033!important;text-decoration:none!important;}
.order-file-link:hover{background:#eafffb!important;transform:translateY(-1px)!important;}

.unpaid-table th:nth-child(1),.unpaid-table td:nth-child(1){width:48px!important;}
.unpaid-table th:nth-child(2),.unpaid-table td:nth-child(2){width:96px!important;}
.unpaid-table th:nth-child(3),.unpaid-table td:nth-child(3){width:160px!important;}
.unpaid-table th:nth-child(4),.unpaid-table td:nth-child(4){width:120px!important;}
.unpaid-table th:nth-child(5),.unpaid-table td:nth-child(5){width:120px!important;}
.unpaid-table th:nth-child(6),.unpaid-table td:nth-child(6){width:150px!important;}
.unpaid-table td:nth-child(7){border:1px solid rgba(13,126,119,.16)!important;border-radius:10px!important;background:#fbfffe!important;white-space:normal!important;line-height:1.45!important;}
.customer-type-pill,.suggest-type-wrap .customer-type-pill{opacity:.78!important;background-color:rgba(224,242,254,.65)!important;color:#0a6f96!important;border:1px solid rgba(10,111,150,.12)!important;}
.customer-type-pill.type-personal{background-color:rgba(220,252,231,.58)!important;color:#167345!important;}
.customer-type-pill.type-peer{background-color:rgba(255,237,213,.58)!important;color:#9a5a00!important;}

/* V47 权限、回收站、任务记录、备份增�?*/
.admin-only.hidden { display: none !important; }
.recycle-page-card .page-filter-bar,
.delete-records-card .page-filter-bar,
.task-log-page-card .page-filter-bar { align-items: end; }
.recycle-table th:first-child,.recycle-table td:first-child,
.delete-record-table th:first-child,.delete-record-table td:first-child { width: 42px; text-align:center; }
.recycle-table th:nth-child(2),.recycle-table td:nth-child(2),
.delete-record-table th:nth-child(2),.delete-record-table td:nth-child(2) { width: 54px; text-align:center; }
.recycle-table .money-cell,.delete-record-table .money-cell { color:#0b7a75; font-weight:800; }
.task-log-table td:nth-child(2) { text-align:left; max-width:480px; }
.hit-mark { background: rgba(255, 196, 0, .45); color:#7a3d00; padding: 0 3px; border-radius: 4px; }
.delete-records-card .danger-btn.small,
.recycle-page-card .danger-btn.small { border-radius: 10px; }

/* V48：未收款报表、任务统计、订单文件与首页细节优化 */
#tasksPage, #tasksPage .legacy-table, #tasksPage .home-dashboard-card { user-select: none; }
#tasksPage input, #tasksPage textarea, #tasksPage select, #tasksPage [contenteditable="true"] { user-select: text; }
.legacy-table th, .legacy-table td { border-bottom: 1px solid rgba(15, 118, 110, .12); }
.legacy-table .task-row-actions { display:flex; gap:8px; align-items:center; justify-content:center; min-height:42px; }
.task-order-jump-btn{border:1px solid rgba(13,148,136,.22);background:linear-gradient(180deg,#fff,#f1fbfa);color:#08756f;border-radius:10px;font-weight:800;padding:6px 9px;cursor:pointer;box-shadow:0 4px 12px rgba(13,148,136,.08)}
.task-order-jump-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(13,148,136,.16)}
.unpaid-filter-bar{align-items:end;gap:12px}.unpaid-search-input{max-width:320px}.unpaid-table th:nth-child(1){width:58px}.unpaid-table th:nth-child(2){width:110px}.unpaid-table th:nth-child(3){width:160px}.unpaid-table th:nth-child(4){width:120px}.unpaid-table th:nth-child(5){width:100px}.unpaid-table th:nth-child(6){width:130px}.unpaid-note-cell{border:1px solid rgba(13,148,136,.12);background:rgba(240,253,250,.5);border-radius:10px;line-height:1.55;padding:6px 8px!important;text-align:left!important}
.customer-type-pill{opacity:.86!important;border:1px solid rgba(15,23,42,.08)!important;box-shadow:none!important;background:rgba(226,232,240,.42)!important;color:#475569!important}.customer-type-blue,.type-blue{background:rgba(219,234,254,.55)!important;color:#1d6fa5!important}.customer-type-green,.type-green{background:rgba(220,252,231,.52)!important;color:#167345!important}.customer-type-orange,.type-orange{background:rgba(255,237,213,.52)!important;color:#a15c04!important}.customer-type-purple,.type-purple{background:rgba(237,233,254,.5)!important;color:#6d42ad!important}.customer-type-cyan,.type-cyan{background:rgba(207,250,254,.5)!important;color:#0e7490!important}.customer-type-rose,.type-rose{background:rgba(255,228,230,.5)!important;color:#be4761!important}
.order-sync-task-line{display:flex!important;align-items:center;gap:10px;font-weight:850;color:#244154}.order-task-field textarea{min-height:70px}.order-file-badge-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:34px;border:1px solid rgba(13,148,136,.18);background:linear-gradient(180deg,#fff,#effdfa);border-radius:12px;cursor:pointer}.order-file-badge-btn em{position:absolute;right:-6px;top:-6px;background:#0d9488;color:#fff;border-radius:999px;min-width:18px;height:18px;font-style:normal;font-size:11px;line-height:18px}.order-file-empty{color:#a6b4bd}.windows-file-card{width:min(900px,88vw)!important}.order-file-tools{display:flex;align-items:center;gap:12px;margin:4px 0 14px}.windows-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:14px;max-height:62vh;overflow:auto;padding:6px}.windows-file-item{position:relative;border:1px solid rgba(15,118,110,.13);border-radius:16px;background:rgba(255,255,255,.86);padding:10px;min-height:138px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.06)}.windows-file-item:hover{border-color:rgba(13,148,136,.38);transform:translateY(-1px)}.file-check{position:absolute;left:8px;top:8px}.file-thumb{width:84px;height:72px;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.file-thumb img{width:100%;height:100%;object-fit:cover}.file-kind-icon{font-size:38px}.windows-file-item strong{max-width:100%;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.windows-file-item small{color:#64748b}.task-log-page-card .page-filter-bar{padding:14px 16px;margin:8px 0 16px;border:1px solid rgba(13,148,136,.12);background:rgba(240,253,250,.42);border-radius:18px;align-items:end;gap:12px}.task-log-table{table-layout:fixed}.task-log-table th:nth-child(1){width:58px}.task-log-table th:nth-child(3),.task-log-table th:nth-child(5){width:86px}.task-log-table th:nth-child(4),.task-log-table th:nth-child(6){width:132px}.task-log-table th:nth-child(7){width:82px}.task-log-table th:nth-child(8){width:128px}.task-log-table th:nth-child(2){width:auto}.task-log-table td:nth-child(2){white-space:normal!important;line-height:1.55;text-align:left}.my-task-card .page-filter-bar,.task-log-page-card .page-filter-bar{justify-content:flex-start}.order-table-wrap .orders-table th:nth-child(17),.report-orders-table th:nth-child(16){width:62px}

/* ===== V49 精修：库存、首页、订单弹窗、文件夹、任务页 ===== */
#inventoryViewSection .compact-filter{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;max-width:560px!important;margin:8px 0 18px!important;}
#inventoryViewSection #inventorySearch{width:360px!important;max-width:360px!important;margin:0!important;}
#inventoryViewSection #inventorySearchClear{height:40px!important;margin:0!important;align-self:center!important;}
.inventory-image-preview{position:fixed!important;z-index:12000!important;width:460px!important;max-width:38vw!important;max-height:360px!important;border-radius:18px!important;padding:10px!important;background:rgba(255,255,255,.98)!important;border:1px solid rgba(11,122,117,.20)!important;box-shadow:0 24px 60px rgba(15,55,60,.26)!important;pointer-events:none!important;}
.inventory-image-preview img{width:100%!important;max-height:340px!important;object-fit:contain!important;border-radius:14px!important;display:block!important;}
.inventory-product-card .inventory-card-actions,.inventory-product-card .inventory-card-buttons{display:flex!important;gap:8px!important;align-items:center!important;}
.inventory-product-card button{border-radius:12px!important;font-weight:800!important;border:1px solid rgba(13,126,119,.20)!important;background:#fff!important;color:#123!important;box-shadow:0 4px 12px rgba(16,32,45,.06)!important;}
.inventory-product-card button:hover{background:#ecfffb!important;border-color:rgba(13,126,119,.40)!important;transform:translateY(-1px)!important;}
.inventory-product-card.inventory-low{background:linear-gradient(180deg,#fff6d8 0%,#fffdf4 100%)!important;border:2px solid rgba(222,139,0,.55)!important;box-shadow:0 12px 30px rgba(222,139,0,.18)!important;}
.inventory-low-card,.inventory-low-item,#inventoryLowStockList [data-id]{cursor:pointer!important;border-radius:12px!important;background:#fff4cf!important;border:1px solid rgba(222,139,0,.30)!important;}
#tasksPage, #tasksPage *:not(input):not(textarea):not(select):not([contenteditable="true"]){-webkit-user-select:none!important;user-select:none!important;}
#tasksPage .legacy-table{border-collapse:collapse!important;}
#tasksPage .legacy-table th,#tasksPage .legacy-table td{height:46px!important;border-bottom:1px solid rgba(15,118,110,.14)!important;vertical-align:middle!important;box-sizing:border-box!important;}
#tasksPage .legacy-table .task-row-actions{display:grid!important;grid-template-columns:repeat(4,34px)!important;gap:6px!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:5px 4px!important;}
#tasksPage .task-order-jump-btn{width:34px!important;height:34px!important;border-radius:12px!important;border:1px solid rgba(13,126,119,.18)!important;background:#fff!important;box-shadow:0 4px 12px rgba(16,32,45,.06)!important;font-size:16px!important;line-height:1!important;}
#tasksPage .task-order-jump-btn:hover{background:#eafffb!important;transform:translateY(-1px)!important;}
.unpaid-status-card .page-filter-bar{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 18px!important;margin:8px 0 14px!important;justify-content:flex-start!important;}
.unpaid-status-card .page-filter-bar label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;white-space:nowrap!important;}
.unpaid-status-card #unpaidSearchInput{width:280px!important;max-width:280px!important;margin:0!important;}
.unpaid-status-card #unpaidRefreshBtn{margin-right:14px!important;}
.unpaid-table td:nth-child(7){background:inherit!important;border-color:rgba(226,232,240,.95)!important;border-radius:0!important;}
.unpaid-table th:nth-child(3),.unpaid-table td:nth-child(3){width:220px!important;min-width:220px!important;}
.unpaid-table th:nth-child(6),.unpaid-table td:nth-child(6){width:180px!important;min-width:180px!important;}
.unpaid-table th:nth-child(7),.unpaid-table td:nth-child(7){width:360px!important;max-width:360px!important;}
.customer-type-pill{opacity:.72!important;filter:saturate(.85)!important;}
#sharedNoteModal .modal-close,#closeSharedNoteBtn{display:flex!important;position:absolute!important;top:20px!important;right:24px!important;z-index:20!important;width:auto!important;min-width:72px!important;height:40px!important;border-radius:12px!important;background:#fff!important;border:1px solid rgba(13,126,119,.20)!important;color:#123!important;font-size:0!important;align-items:center!important;justify-content:center!important;box-shadow:0 8px 20px rgba(16,32,45,.08)!important;}
#sharedNoteModal .modal-close::after,#closeSharedNoteBtn::after{content:'关闭';font-size:15px!important;font-weight:850!important;}
#orderEditModal .order-modal-card{width:min(1120px,94vw)!important;max-height:94vh!important;overflow:auto!important;padding:24px!important;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(244,252,251,.96))!important;}
#orderEditModal .order-form-grid{display:none!important;}
.order-form-modern{display:flex!important;flex-direction:column!important;gap:14px!important;}
.order-form-section{border:1px solid rgba(13,126,119,.12)!important;background:rgba(255,255,255,.74)!important;border-radius:20px!important;padding:14px!important;box-shadow:0 10px 28px rgba(16,32,45,.045)!important;}
.order-section-title{display:flex!important;align-items:baseline!important;gap:10px!important;margin-bottom:12px!important;color:#102033!important;}
.order-section-title strong{font-size:16px!important}.order-section-title span{color:#78909c!important;font-size:12px!important;font-weight:700!important;}
.order-basic-grid{display:grid!important;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr) 170px!important;gap:12px!important;align-items:start!important;}
.order-product-grid{display:grid!important;grid-template-columns:1.35fr repeat(4,minmax(118px,.48fr))!important;gap:12px!important;align-items:start!important;}
.order-product-field{grid-column:span 2!important;}
.order-money-card{grid-column:span 1!important;background:linear-gradient(145deg,#fff7ed,#fff)!important;border-color:rgba(234,88,12,.25)!important;}
.order-money-card input{font-size:24px!important;color:#dc4a13!important;font-weight:950!important;}
.order-assets-grid{display:grid!important;grid-template-columns:minmax(260px,.75fr) minmax(220px,.55fr) minmax(340px,1fr)!important;gap:12px!important;align-items:stretch!important;}
.order-task-section{display:grid!important;grid-template-columns:190px 1fr!important;gap:12px!important;align-items:stretch!important;}
.order-field{display:flex!important;flex-direction:column!important;gap:8px!important;padding:10px 12px!important;border:1px solid rgba(11,122,117,.10)!important;border-radius:16px!important;background:rgba(248,251,252,.88)!important;box-shadow:0 8px 22px rgba(16,32,45,.035)!important;font-weight:800!important;color:#344054!important;position:relative!important;}
.order-field span:first-child{font-size:13px!important;color:#344054!important;}
.order-field input,.order-field select,.order-field textarea{width:100%!important;background:#fff!important;border:1px solid rgba(31,128,121,.20)!important;border-radius:12px!important;min-height:42px!important;padding:8px 10px!important;box-sizing:border-box!important;font-weight:800!important;color:#102033!important;}
.order-field textarea{min-height:88px!important;resize:vertical!important;}
.order-image-drop{min-height:128px!important;border:1px dashed rgba(13,126,119,.22)!important;background:#fafffe!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#39505d!important;font-weight:850!important;position:relative!important;overflow:hidden!important;}
.order-file-inline-box{border:1px dashed rgba(13,126,119,.20)!important;background:#f8fffd!important;border-radius:18px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:10px!important;padding:16px!important;}
.order-file-inline-box .hidden{display:none!important;}
.order-sync-task-line.compact{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid rgba(13,126,119,.12)!important;border-radius:16px!important;background:#f8fffd!important;font-weight:850!important;color:#0b7a75!important;}
.order-sync-task-line.compact input{width:18px!important;height:18px!important;accent-color:#0b7a75!important;}
@media(max-width:1000px){.order-basic-grid,.order-product-grid,.order-assets-grid,.order-task-section{grid-template-columns:1fr!important}.order-product-field{grid-column:auto!important}}
.order-file-badge-btn,.order-thumb-btn{position:relative!important;overflow:visible!important;}
.order-file-badge-btn em,.order-image-badge,.order-thumb-btn b{position:absolute!important;right:-8px!important;top:-9px!important;z-index:15!important;min-width:20px!important;height:20px!important;line-height:20px!important;text-align:center!important;border-radius:999px!important;background:#0aa6a0!important;color:#fff!important;font-size:12px!important;font-weight:900!important;box-shadow:0 3px 10px rgba(0,0,0,.18)!important;font-style:normal!important;}
.windows-file-card{width:min(980px,94vw)!important;max-height:88vh!important;overflow:hidden!important;}
.windows-file-tools{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:10px 4px 14px!important;border-bottom:1px solid rgba(13,126,119,.10)!important;}
.file-view-mode-label{display:flex!important;align-items:center!important;gap:8px!important;font-weight:850!important;color:#344054!important;}
.file-view-mode-label select{height:36px!important;border-radius:10px!important;border:1px solid rgba(13,126,119,.18)!important;background:#fff!important;}
.order-file-list{position:relative!important;min-height:320px!important;max-height:62vh!important;overflow:auto!important;padding:14px!important;background:linear-gradient(180deg,#fafffe,#fff)!important;border-radius:18px!important;border:1px solid rgba(13,126,119,.08)!important;}
.windows-file-grid.view-large{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:14px!important;}
.windows-file-grid.view-small{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:10px!important;}
.windows-file-grid.view-detail{display:flex!important;flex-direction:column!important;gap:8px!important;}
.windows-file-item{position:relative!important;border:1px solid rgba(13,126,119,.10)!important;background:#fff!important;border-radius:16px!important;padding:10px!important;min-height:150px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;cursor:pointer!important;box-shadow:0 8px 20px rgba(16,32,45,.035)!important;}
.windows-file-item.selected{background:#eafffb!important;border-color:#0b8f88!important;box-shadow:0 0 0 2px rgba(11,143,136,.16)!important;}
.windows-file-item .file-check{position:absolute!important;left:8px!important;top:8px!important;z-index:3!important;}
.file-thumb{width:84px!important;height:74px!important;border-radius:12px!important;background:#f2fbfa!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
.file-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;}.file-kind-icon{font-size:38px!important;}
.windows-file-item strong{font-size:13px!important;max-width:100%!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.windows-file-item small,.windows-file-item em{font-size:11px!important;color:#6b7c86!important;font-style:normal!important;}
.windows-file-grid.view-detail .windows-file-item{min-height:46px!important;display:grid!important;grid-template-columns:30px 46px minmax(180px,1fr) 130px 120px!important;align-items:center!important;text-align:left!important;}
.windows-file-grid.view-detail .file-thumb{width:38px!important;height:38px!important}.windows-file-grid.view-detail .file-check{position:static!important}.windows-file-grid.view-detail strong{text-align:left!important}.windows-file-grid.view-detail .file-kind-icon{font-size:24px!important;}
.file-context-menu{position:fixed!important;z-index: var(--layer-dropdown) !important;min-width:150px!important;background:#fff!important;border:1px solid rgba(13,126,119,.16)!important;border-radius:12px!important;box-shadow:0 18px 46px rgba(16,32,45,.22)!important;padding:6px!important;}
.file-context-menu button{display:block!important;width:100%!important;padding:9px 12px!important;border:0!important;background:transparent!important;text-align:left!important;border-radius:8px!important;font-weight:800!important;color:#102033!important;}.file-context-menu button:hover{background:#eafffb!important;color:#0b7a75!important;}
.task-log-page-card .page-filter-bar{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;padding:14px 18px!important;margin:10px 0 16px!important;justify-content:flex-start!important;}
.task-log-page-card .page-filter-bar label{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;margin:0!important;}.task-log-page-card .page-filter-bar .search-input{width:280px!important;margin:0!important;}
.task-log-table{table-layout:fixed!important;width:100%!important;}.task-log-table th:nth-child(1),.task-log-table td:nth-child(1){width:56px!important}.task-log-table th:nth-child(3),.task-log-table td:nth-child(3),.task-log-table th:nth-child(5),.task-log-table td:nth-child(5){width:90px!important}.task-log-table th:nth-child(4),.task-log-table td:nth-child(4),.task-log-table th:nth-child(6),.task-log-table td:nth-child(6){width:132px!important}.task-log-table th:nth-child(7),.task-log-table td:nth-child(7){width:76px!important}.task-log-table th:nth-child(8),.task-log-table td:nth-child(8){width:130px!important}.task-log-table th:nth-child(2),.task-log-table td:nth-child(2){width:auto!important;white-space:normal!important;text-align:left!important;line-height:1.5!important;}
.inline-product-quote-layout .quick-calc{background:linear-gradient(180deg,#f7f2ff,#ffffff)!important;border-color:#d8ccff!important;box-shadow:0 20px 48px rgba(79,70,229,.08)!important;}
.product-quote-list .quote-category-row,.product-quote-list .category-header,.quote-category-header{background:linear-gradient(90deg,#eefaf8,#f7fbff)!important;border-color:rgba(11,122,117,.10)!important;color:#0b6f69!important;}
.order-content-search-field input::placeholder{color:#7b8a97!important;}
.file-drag-box{position:fixed;z-index:16000;border:1px solid rgba(11,122,117,.75);background:rgba(11,122,117,.12);border-radius:8px;pointer-events:none;}

/* ========================= V50 实际返修覆盖样式 ========================= */
/* 订单新增/编辑弹窗：压缩为一屏布局，合计金额放大，图片/文件并排 */
#orderEditModal{z-index: var(--layer-modal) !important;}
#orderEditModal .order-modal-card-v50{width:min(1040px,94vw)!important;max-height:92vh!important;overflow:hidden!important;padding:18px 22px 14px!important;}
#orderEditModal .order-form-v50{gap:10px!important;max-height:calc(92vh - 92px)!important;overflow:visible!important;}
#orderEditModal .order-form-section{padding:12px!important;border-radius:18px!important;}

#orderEditModal .order-basic-grid-v50{display:grid!important;grid-template-columns:1.05fr 1.65fr 180px!important;gap:10px!important;align-items:start!important;}
#orderEditModal .order-product-layout-v50{display:grid!important;grid-template-columns:minmax(0,1fr) 210px 260px!important;gap:12px!important;align-items:stretch!important;}
#orderEditModal .order-product-fields-v50{display:grid!important;grid-template-columns:minmax(230px,1.5fr) repeat(3,105px)!important;gap:9px!important;align-items:start!important;}

#orderEditModal .order-field span{font-size:13px!important;margin-bottom:4px!important;}
#orderEditModal .order-field input,#orderEditModal .order-field select{height:42px!important;min-height:42px!important;font-size:15px!important;}
#orderEditModal .input-with-btn input{height:42px!important;}
#orderEditModal .input-with-btn button{height:42px!important;width:44px!important;}
#orderEditModal .order-money-card-v50{min-height:146px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;background:linear-gradient(145deg,#fff4e9,#fffdfb)!important;border:1px solid rgba(234,88,12,.22)!important;box-shadow:0 12px 34px rgba(234,88,12,.08)!important;}
#orderEditModal .order-money-card-v50 span{font-size:15px!important;color:#92400e!important;}
#orderEditModal .order-money-card-v50 input{height:76px!important;font-size:34px!important;text-align:left!important;color:#dc4a13!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-weight:950!important;}
#orderEditModal .order-upload-duo-v50{display:grid!important;grid-template-rows:1fr 1fr!important;gap:10px!important;min-height:146px!important;}
#orderEditModal .order-upload-box-v50{min-height:68px!important;height:auto!important;padding:12px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;background:linear-gradient(180deg,#f7fffe,#ffffff)!important;border:1px dashed rgba(11,122,117,.28)!important;box-shadow:none!important;}
#orderEditModal .order-upload-box-v50 strong{font-size:15px!important;color:#0b6f69!important;}
#orderEditModal .order-upload-box-v50 small{font-size:12px!important;color:#667085!important;line-height:1.35!important;}
#orderEditModal .order-file-inline-box .ghost-btn{margin-top:6px!important;height:32px!important;}
#orderEditModal #orderImagePreview{position:absolute!important;right:10px!important;bottom:8px!important;width:48px!important;height:38px!important;object-fit:cover!important;border-radius:9px!important;box-shadow:0 4px 12px rgba(0,0,0,.12)!important;}
#orderEditModal .order-assets-section-v50{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
#orderEditModal .order-existing-images{display:flex!important;gap:8px!important;min-height:0!important;flex-wrap:wrap!important;}

#orderEditModal .order-existing-image{position:relative;width:68px;height:52px;border:1px solid rgba(11,122,117,.16);border-radius:12px;background:#fff;padding:3px;cursor:pointer;box-shadow:0 6px 16px rgba(26,54,62,.07);}
#orderEditModal .order-existing-image img{width:100%;height:100%;object-fit:cover;border-radius:9px;display:block;}
#orderEditModal .order-existing-image span{position:absolute;right:-7px;top:-7px;width:20px;height:20px;border-radius:50%;background:#ef4444;color:#fff;font-weight:900;line-height:20px;text-align:center;font-size:14px;box-shadow:0 4px 10px rgba(239,68,68,.3);}
#orderEditModal .order-note-field-v50 textarea,#orderEditModal .order-task-field textarea{height:52px!important;min-height:52px!important;resize:none!important;}
#orderEditModal .order-task-line-v50{display:grid!important;grid-template-columns:minmax(0,1fr) 150px!important;gap:10px!important;align-items:end!important;}
#orderEditModal .order-sync-task-line{height:52px!important;border:1px solid rgba(11,122,117,.12)!important;border-radius:14px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:0!important;}
#orderEditModal .order-sync-task-line input{width:16px!important;height:16px!important;}
#orderEditModal .modal-actions{padding-top:10px!important;margin-top:0!important;}

/* 图片/文件角标统一，避免遮挡名称条 */
.order-thumb-btn,.order-file-badge-btn{position:relative!important;overflow:visible!important;}
.order-thumb-btn .order-image-badge,.order-thumb-btn b,.order-file-badge-btn em{position:absolute!important;right:-7px!important;top:-7px!important;min-width:20px!important;height:20px!important;line-height:20px!important;border-radius:999px!important;background:#0b8f87!important;color:#fff!important;font-size:12px!important;font-style:normal!important;font-weight:900!important;text-align:center!important;z-index:3!important;box-shadow:0 4px 10px rgba(11,122,117,.24)!important;padding:0 5px!important;}
.order-file-badge-btn span,.order-thumb-btn img,.order-thumb-fallback{position:relative!important;z-index:2!important;}

/* 库存管理返修 */

.inventory-search-row,.inventory-filter-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;}
#inventorySearch{max-width:320px!important;width:320px!important;}
#inventorySearchClear{height:38px!important;align-self:center!important;}

.inventory-product-card{width:100%!important;min-height:206px!important;height:206px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;border-radius:18px!important;overflow:visible!important;}
.inventory-product-card img,.inventory-no-image{width:100%!important;height:72px!important;object-fit:cover!important;border-radius:13px!important;flex:0 0 72px!important;}
.inventory-product-card strong{height:38px!important;line-height:19px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.inventory-card-actions{margin-top:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
.inventory-card-actions .ghost-btn,.inventory-card-actions button{height:34px!important;border-radius:12px!important;font-size:13px!important;padding:0 8px!important;background:#fff!important;border:1px solid rgba(11,122,117,.18)!important;color:#102033!important;}
.inventory-card-actions .ghost-btn:hover,.inventory-card-actions button:hover{background:#effaf8!important;color:#0b7a75!important;transform:translateY(-1px)!important;}
.inventory-product-card.inventory-low{background:linear-gradient(180deg,#fff6cc,#fffdf0)!important;border:1px solid #facc15!important;box-shadow:0 12px 34px rgba(245,158,11,.22)!important;}
.inventory-warning-panel{background:linear-gradient(180deg,#fff7d6,#fffef4)!important;border-color:#facc15!important;}
.inventory-warning-item{cursor:pointer!important;}
#inventoryImagePreview{position:fixed!important;width:500px!important;max-width:min(500px,42vw)!important;height:auto!important;z-index:5000!important;pointer-events:none!important;border:3px solid #fff!important;border-radius:18px!important;box-shadow:0 22px 55px rgba(15,23,42,.28)!important;background:#fff!important;padding:6px!important;}
#inventoryImagePreview img{width:100%!important;max-height:380px!important;object-fit:contain!important;border-radius:13px!important;display:block!important;}

/* 首页禁止选中/右键后的视觉修复，表格横线和图标统一 */
#tasksPage,#tasksPage *:not(input):not(textarea):not(select):not([contenteditable="true"]){user-select:none!important;-webkit-user-select:none!important;}
#homeTaskRows td{height:54px!important;border-bottom:1px solid rgba(15,23,42,.08)!important;vertical-align:middle!important;}
#homeTaskRows td:nth-child(3),#homeTaskRows td:nth-child(4){height:54px!important;padding-top:6px!important;padding-bottom:6px!important;}
#homeTaskRows .task-actions,#homeTaskRows td:last-child{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:54px!important;}
#homeTaskRows [data-action="open-order-task"],#homeTaskRows .task-order-btn{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid rgba(15,23,42,.10)!important;box-shadow:0 4px 12px rgba(15,23,42,.06)!important;font-size:0!important;line-height:1!important;}
#homeTaskRows [data-action="open-order-task"]::before,#homeTaskRows .task-order-btn::before{content:"📋";font-size:18px!important;line-height:1!important;}
#homeTaskRows [data-action="open-order-task"]::after,#homeTaskRows .task-order-btn::after{display:none!important;content:none!important;}
#homeTaskRows [data-action="open-order-task"] *{display:none!important;}

/* 今日订单：工具栏一行，表头不换�?*/
#todayOrdersPage .compact-filter{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;margin-left:24px!important;margin-bottom:16px!important;}

#todayOrdersPage .data-table th{white-space:nowrap!important;word-break:keep-all!important;min-width:max-content!important;}
#todayOrdersPage .report-orders-table{table-layout:auto!important;min-width:1750px!important;}

/* 共享记事本关闭按钮放底部右侧，去掉错误的右上角圆形按�?*/
.shared-note-card .modal-close{display:none!important;}
.shared-note-bottom-actions{justify-content:flex-end!important;gap:18px!important;align-items:center!important;}
#closeSharedNoteBtn{height:40px!important;border-radius:12px!important;padding:0 22px!important;}

/* 订单文件弹窗必须浮在订单编辑弹窗之上 */


#orderFileModal .order-file-card{max-width:min(1180px,92vw)!important;}

/* 产品报价：只改产品计算器卡片与一级分类条 */
#productQuotePage .quick-calc .calc-card:not(.free-calc-card){background:linear-gradient(180deg,#eef8ff,#ffffff)!important;border:1px solid #bfdff7!important;box-shadow:0 14px 32px rgba(37,99,235,.08)!important;}
#productQuotePage .quick-calc .calc-card:not(.free-calc-card) h3{color:#1d4ed8!important;}
#productQuotePage .product-quote-list .quote-category-row,#productQuotePage .product-quote-list .category-header,#productQuotePage .quote-category-header{background:linear-gradient(90deg,#f6faf9,#eef7f6)!important;border:1px solid rgba(11,122,117,.12)!important;border-left:5px solid rgba(11,122,117,.55)!important;color:#0f524f!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(16,84,80,.05)!important;}

/* 我完成的任务、任务统计不贴边 */
#myFinishedTasksPage .task-log-page-card,#taskStatsPage .task-log-page-card{padding:26px 34px!important;margin-left:20px!important;margin-right:20px!important;}
#myFinishedTasksPage .compact-filter,#taskStatsPage .compact-filter{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;margin:12px 0 18px!important;padding:12px 16px!important;border-radius:16px!important;background:rgba(244,250,249,.9)!important;border:1px solid rgba(11,122,117,.08)!important;}

#myFinishedTasksPage .search-input,#taskStatsPage .search-input{max-width:280px!important;}

@media(max-width:1500px){#orderEditModal .order-product-layout-v50{grid-template-columns:1fr 200px!important;}#orderEditModal .order-upload-duo-v50{grid-column:1 / -1!important;grid-template-columns:1fr 1fr!important;grid-template-rows:none!important;}.inventory-product-card{height:210px!important;}}
@media(max-width:1100px){#orderEditModal .order-basic-grid-v50,#orderEditModal .order-product-layout-v50,#orderEditModal .order-product-fields-v50,#orderEditModal .order-task-line-v50{grid-template-columns:1fr!important}.inventory-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}#myFinishedTasksPage .compact-filter,#taskStatsPage .compact-filter,#todayOrdersPage .compact-filter{flex-wrap:wrap!important;}}
#productQuotePage .quote-product-group .quote-group-head{background:linear-gradient(90deg,#f8fcfb,#edf7f5)!important;border:1px solid rgba(11,122,117,.12)!important;border-left:5px solid rgba(11,122,117,.55)!important;color:#0f524f!important;border-radius:16px!important;box-shadow:0 8px 22px rgba(16,84,80,.05)!important;}
#productQuotePage .quote-product-group .quote-group-head h3{color:#0f524f!important;}


/* ===== V51 返修覆盖：只覆盖 V48/V49/V50 已确认出错的位置 ===== */
.version-badge{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;background:rgba(11,122,117,.08);border:1px solid rgba(11,122,117,.18);color:#0b7a75;font-weight:800;font-size:12px;margin-right:8px;}
body.home-lock-select, #tasksPage, #dashboardPage, #homePage, .topbar, .sidebar, .side-menu, .dash-section, .task-table, .dashboard-card{-webkit-user-select:none!important;user-select:none!important;}
input,textarea,[contenteditable="true"],select{user-select:text!important;-webkit-user-select:text!important;}

/* 今日订单：不再靠边、不换行 */
#todayOrdersPage .data-page-card{padding:26px 28px!important;}
#todayOrdersPage .panel-head{margin-left:0!important;margin-bottom:16px!important;}
#todayOrdersPage .compact-filter{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;margin:0 0 16px 18px!important;padding:0!important;}
#todayOrdersPage .compact-filter label{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;margin:0!important;}
#todayOrdersPage .report-orders-table th{white-space:nowrap!important;}

/* 订单新增/编辑窗口返修：扩大可填区域，压缩金额卡片，避免面目全�?*/
#orderEditModal .order-modal-card-v50{width:min(980px,94vw)!important;max-height:90vh!important;padding:16px 18px 12px!important;overflow:auto!important;}
#orderEditModal .order-form-section{padding:12px 14px!important;margin-bottom:10px!important;border-radius:16px!important;}

#orderEditModal .order-basic-grid-v50{display:grid!important;grid-template-columns:260px minmax(320px,1fr) 180px!important;gap:10px!important;}
#orderEditModal .order-product-layout-v50{display:grid!important;grid-template-columns:minmax(560px,1fr) 150px 250px!important;gap:10px!important;align-items:stretch!important;}
#orderEditModal .order-product-fields-v50{display:grid!important;grid-template-columns:minmax(220px,2.2fr) repeat(3,minmax(92px,1fr))!important;gap:9px!important;}
#orderEditModal .order-field{min-height:auto!important;padding:10px 12px!important;border-radius:14px!important;}
#orderEditModal .order-field input,#orderEditModal .order-field select{height:38px!important;font-size:15px!important;}
#orderEditModal .order-money-card-v50{min-height:110px!important;height:auto!important;justify-content:center!important;padding:12px!important;}
#orderEditModal .order-money-card-v50 span{font-size:14px!important;}
#orderEditModal .order-money-card-v50 input{height:44px!important;font-size:26px!important;line-height:44px!important;}
#orderEditModal .order-upload-duo-v50{display:grid!important;grid-template-rows:1fr 1fr!important;gap:10px!important;min-height:110px!important;}
#orderEditModal .order-upload-box-v50{min-height:92px!important;padding:12px 14px!important;border-radius:16px!important;}
#orderEditModal .order-assets-section-v50{padding:12px 14px!important;}
#orderEditModal .order-note-field-v50 textarea,#orderEditModal .order-task-field textarea{height:54px!important;min-height:54px!important;resize:vertical!important;}
#orderEditModal .order-task-line-v50{display:grid!important;grid-template-columns:minmax(0,1fr) 170px!important;gap:12px!important;align-items:end!important;}
#orderEditModal .order-sync-task-line.compact{height:54px!important;min-height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;}
#orderEditModal .order-sync-task-line.compact input{width:18px!important;height:18px!important;}
#orderFileModal{z-index: var(--layer-modal) !important;align-items:center!important;justify-content:center!important;}
#orderImageModal{z-index: var(--layer-preview) !important;}
.order-existing-images{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:4px 0 10px!important;}
.order-existing-image{position:relative!important;width:86px!important;height:58px!important;border:1px solid rgba(11,122,117,.18)!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;padding:0!important;}
.order-existing-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.order-existing-image span{position:absolute!important;right:4px!important;top:4px!important;width:20px!important;height:20px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font-weight:900!important;line-height:20px!important;box-shadow:0 4px 10px rgba(0,0,0,.18)!important;}

/* 图片/文件角标：统一大小，不遮挡名称�?*/
.order-thumb-btn,.order-file-badge-btn{overflow:visible!important;position:relative!important;}
.order-thumb-btn b,.order-file-badge-btn em,.order-image-badge{right:-6px!important;top:-6px!important;width:auto!important;min-width:20px!important;height:20px!important;line-height:20px!important;border-radius:999px!important;font-size:12px!important;z-index:20!important;padding:0 5px!important;}
.order-file-badge-btn span,.order-thumb-btn img,.order-thumb-fallback{position:relative!important;z-index:5!important;}

/* 库存返修 */
#inventoryViewSection .compact-filter{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;margin:8px 0 16px!important;max-width:620px!important;}
#inventoryViewSection .compact-filter input{height:40px!important;}
#inventoryViewSection .compact-filter button{height:40px!important;align-self:center!important;}
.inventory-product-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;}
.inventory-product-card{height:218px!important;min-height:218px!important;max-height:218px!important;display:grid!important;grid-template-rows:74px 40px 22px 34px 34px!important;gap:6px!important;overflow:hidden!important;padding:10px!important;border-radius:18px!important;}
.inventory-product-card::after{display:none!important;content:none!important;}
.inventory-product-card img,.inventory-no-image{height:74px!important;min-height:74px!important;max-height:74px!important;width:100%!important;object-fit:cover!important;border-radius:13px!important;}
.inventory-product-card strong{height:40px!important;line-height:20px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;margin:0!important;}
.inventory-product-card .inventory-qty,.inventory-product-card .inventory-low-tag{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.inventory-card-note{height:34px!important;line-height:17px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
.inventory-product-card .inventory-card-actions{height:34px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:0!important;}
.inventory-product-card .inventory-card-actions button{height:34px!important;width:100%!important;border-radius:12px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.inventory-product-card.inventory-low{background:#fff3bf!important;border:2px solid #f59f00!important;box-shadow:0 12px 32px rgba(245,159,0,.25)!important;}
#inventoryImagePreview,.inventory-image-preview{position:fixed!important;width:420px!important;max-width:36vw!important;z-index:22000!important;pointer-events:none!important;border:2px solid #fff!important;border-radius:16px!important;background:#fff!important;padding:6px!important;box-shadow:0 18px 45px rgba(15,23,42,.28)!important;}
#inventoryImagePreview img,.inventory-image-preview img{width:100%!important;max-height:320px!important;object-fit:contain!important;border-radius:12px!important;display:block!important;}
@media(max-width:1500px){.inventory-product-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;}}

/* 首页、任务页面、删除记录布局返修 */
#myFinishedTasksPage .data-page-card,#taskStatsPage .data-page-card,#deleteRecordsPage .data-page-card{padding:26px 32px!important;}
#myFinishedTasksPage .compact-filter,#taskStatsPage .compact-filter{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;margin:16px 0 20px!important;padding:12px 16px!important;border-radius:16px!important;background:rgba(244,250,249,.96)!important;border:1px solid rgba(11,122,117,.10)!important;width:calc(100% - 32px)!important;}
#myFinishedTasksPage .compact-filter label,#taskStatsPage .compact-filter label{display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;margin:0!important;}
#myFinishedTasksPage .search-input,#taskStatsPage .search-input{min-width:240px!important;}
.task-log-table th,.task-log-table td{vertical-align:middle!important;}
.task-log-table th:not(:nth-child(2)),.task-log-table td:not(:nth-child(2)){white-space:nowrap!important;width:1%!important;}
.task-log-table th:nth-child(2),.task-log-table td:nth-child(2){width:auto!important;white-space:normal!important;word-break:break-word!important;}

/* 共享记事本关闭按钮放到底部按钮区，不再固定右�?*/
#sharedNoteModal #closeSharedNoteBtn{position:static!important;top:auto!important;right:auto!important;font-size:14px!important;min-width:86px!important;height:38px!important;}
#sharedNoteModal .shared-note-bottom-actions{position:relative!important;display:flex!important;justify-content:flex-end!important;gap:14px!important;padding-right:0!important;}

/* 产品报价：只改上方产品计算器卡片和一级分类条 */
#productQuotePage .quick-calc .calc-card:not(.free-calc-card){background:linear-gradient(180deg,#eef7ff 0%,#ffffff 100%)!important;border:1px solid #bdd7ff!important;box-shadow:0 14px 32px rgba(37,99,235,.10)!important;}
#productQuotePage .product-category-group,#productQuotePage .product-category-head,.product-quote-list .product-category-head{background:linear-gradient(180deg,#f7fbfb,#ffffff)!important;border:1px solid rgba(13,126,119,.14)!important;border-radius:16px!important;color:#0b5960!important;box-shadow:0 8px 20px rgba(15,23,42,.04)!important;}

/* V52：仅针对“报价系统”页面的产品模糊搜索与表格列宽整�?*/
.quote-system-page .table-card .panel-head{
  align-items:center!important;
  gap:14px!important;
}
.quote-system-page .table-card .table-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
.quote-system-page .linked-selects{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
.quote-product-search-wrap{position:relative;display:inline-flex;align-items:center;min-width:0;}
.quote-default-product-search-wrap{width:180px!important;flex:0 0 180px!important;}
.quote-product-search-input{
  width:100%;height:32px;border:1px solid rgba(16,103,98,.18);border-radius:8px;background:#fff;
  padding:0 9px;font-size:12px;color:#22323a;outline:none;
}
.quote-product-search-input:focus{border-color:rgba(13,148,136,.45);box-shadow:0 0 0 3px rgba(13,148,136,.08);}
.quote-product-suggest{
  position:absolute;left:0;top:calc(100% + 5px);z-index: var(--layer-dropdown);width:280px;max-height:300px;overflow:auto;
  border:1px solid rgba(13,148,136,.18);background:rgba(255,255,255,.98);border-radius:12px;
  box-shadow:0 18px 42px rgba(15,23,42,.16);padding:6px;
}
.quote-product-suggest.hidden{display:none!important;}
.quote-product-suggest button{display:flex;width:100%;border:0;background:transparent;border-radius:9px;padding:8px 9px;text-align:left;cursor:pointer;flex-direction:column;gap:3px;}
.quote-product-suggest button:hover{background:rgba(13,148,136,.08);}
.quote-product-suggest strong{font-size:13px;color:#102833;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.quote-product-suggest span{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.quote-product-suggest-empty{font-size:12px;color:#94a3b8;padding:10px;text-align:center;}
.quote-system-page .row-product-search-wrap{position:relative;display:grid;grid-template-columns:1fr;gap:4px;width:100%;}
.quote-system-page .row-product-search-input{height:26px!important;font-size:11px!important;border-radius:7px!important;padding:0 6px!important;}
.quote-system-page .row-product-select{height:26px!important;font-size:11px!important;padding:0 6px!important;}
.quote-system-page .row-product-suggest{width:260px;top:27px;left:0;z-index: var(--layer-dropdown);}
.quote-system-page .table-card .table-wrap{overflow:auto!important;}
.quote-system-page .table-card table{
  table-layout:fixed!important;width:100%!important;min-width:1500px!important;
}
.quote-system-page .table-card th,.quote-system-page .table-card td{
  white-space:normal!important;word-break:break-word!important;line-height:1.25!important;vertical-align:middle!important;
  padding:6px 5px!important;font-size:11px!important;
}

.quote-system-page .table-card th:nth-child(2),.quote-system-page .table-card td:nth-child(2){width:40px!important;min-width:40px!important;}
.quote-system-page .table-card th:nth-child(3),.quote-system-page .table-card td:nth-child(3){width:70px!important;min-width:70px!important;}
.quote-system-page .table-card th:nth-child(4),.quote-system-page .table-card td:nth-child(4){width:125px!important;min-width:125px!important;}
.quote-system-page .table-card th:nth-child(5),.quote-system-page .table-card td:nth-child(5){width:105px!important;min-width:105px!important;}
.quote-system-page .table-card th:nth-child(6),.quote-system-page .table-card td:nth-child(6){width:150px!important;min-width:150px!important;}
.quote-system-page .table-card th:nth-child(7),.quote-system-page .table-card td:nth-child(7){width:150px!important;min-width:150px!important;}
.quote-system-page .table-card th:nth-child(8),.quote-system-page .table-card td:nth-child(8){width:78px!important;min-width:78px!important;}
.quote-system-page .table-card th:nth-child(9),.quote-system-page .table-card td:nth-child(9){width:82px!important;min-width:82px!important;}
.quote-system-page .table-card th:nth-child(10),.quote-system-page .table-card td:nth-child(10){width:94px!important;min-width:94px!important;}
.quote-system-page .table-card th:nth-child(11),.quote-system-page .table-card td:nth-child(11){width:88px!important;min-width:88px!important;}
.quote-system-page .table-card th:nth-child(12),.quote-system-page .table-card td:nth-child(12){width:58px!important;min-width:58px!important;}
.quote-system-page .table-card th:nth-child(13),.quote-system-page .table-card td:nth-child(13){width:82px!important;min-width:82px!important;}
.quote-system-page .table-card th:nth-child(14),.quote-system-page .table-card td:nth-child(14){width:116px!important;min-width:116px!important;}
.quote-system-page .table-card th:nth-child(15),.quote-system-page .table-card td:nth-child(15){width:84px!important;min-width:84px!important;}

.quote-system-page .table-card th:nth-child(17),.quote-system-page .table-card td:nth-child(17){width:74px!important;min-width:74px!important;}
.quote-system-page .table-card .thumb{width:52px!important;height:38px!important;object-fit:cover!important;border-radius:6px!important;}
.quote-system-page .row-input,.quote-system-page .row-select,.quote-system-page .note-input,.quote-system-page .qty-input,.quote-system-page .discount-input{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
}
.quote-system-page .size-cell strong,.quote-system-page .size-cell span,.quote-system-page .file-meta,.quote-system-page .unit-hint{display:block!important;white-space:normal!important;word-break:break-word!important;}
.quote-system-page .print-row .size-cell{overflow:visible!important;}
.quote-system-page .print-controls{display:flex!important;flex-wrap:wrap!important;gap:4px!important;align-items:center!important;justify-content:flex-start!important;max-width:100%!important;}
.quote-system-page .print-controls select,.quote-system-page .print-controls input{height:26px!important;font-size:11px!important;padding:0 4px!important;}
.quote-system-page .print-controls .paper-select{width:46px!important;}.quote-system-page .print-controls .print-mode-select{width:56px!important;}.quote-system-page .print-controls .binding-select{width:66px!important;}
.quote-system-page .print-controls label{font-size:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;}
.quote-system-page .print-controls label input{width:36px!important;text-align:center!important;}.quote-system-page .print-controls .cover-check{font-size:11px!important;width:auto!important;}
.quote-system-page .table-card td:nth-child(6){overflow:visible!important;}
.quote-system-page .table-card tbody tr{overflow:visible!important;}

/* V53：报价系统单页专项修复，严格限制在报价系统与后台版本说明 */
.version-badge{display:none!important;}
.quote-system-page .linked-selects select,
.quote-system-page .batch-bar select{height:32px!important;}
.quote-system-page .quote-default-product-search-wrap,
.quote-system-page .quote-batch-product-search-wrap{width:150px!important;flex:0 0 150px!important;}
.quote-system-page .quote-product-search-input::placeholder{color:#a8b3bd!important;opacity:1!important;}
.quote-system-page .row-product-search-wrap{position:relative!important;display:block!important;width:132px!important;min-width:132px!important;}
.quote-system-page .row-product-search-input{height:28px!important;width:132px!important;font-size:11px!important;border-radius:7px!important;padding:0 7px!important;white-space:nowrap!important;}
.quote-system-page .row-product-select{height:28px!important;font-size:11px!important;padding:0 6px!important;}
.quote-system-page .row-product-suggest{width:270px!important;top:32px!important;left:0!important;z-index: var(--layer-dropdown) !important;}
.quote-system-page .quote-product-suggest{z-index: var(--layer-dropdown) !important;}
.quote-system-page .table-card table{table-layout:fixed!important;width:100%!important;min-width:1560px!important;}
.quote-system-page .table-card th,.quote-system-page .table-card td{white-space:nowrap!important;word-break:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important;}
.quote-system-page .table-card th:nth-child(1),.quote-system-page .table-card td:nth-child(1){width:34px!important;min-width:34px!important;}
.quote-system-page .table-card th:nth-child(2),.quote-system-page .table-card td:nth-child(2){width:34px!important;min-width:34px!important;}
.quote-system-page .table-card th:nth-child(3),.quote-system-page .table-card td:nth-child(3){width:86px!important;min-width:86px!important;}
.quote-system-page .table-card th:nth-child(4),.quote-system-page .table-card td:nth-child(4){width:120px!important;min-width:120px!important;}
.quote-system-page .table-card th:nth-child(5),.quote-system-page .table-card td:nth-child(5){width:90px!important;min-width:90px!important;}
.quote-system-page .table-card th:nth-child(6),.quote-system-page .table-card td:nth-child(6){width:110px!important;min-width:110px!important;}
.quote-system-page .table-card th:nth-child(7),.quote-system-page .table-card td:nth-child(7){width:132px!important;min-width:132px!important;}
.quote-system-page .table-card th:nth-child(8),.quote-system-page .table-card td:nth-child(8){width:145px!important;min-width:145px!important;}
.quote-system-page .table-card th:nth-child(9),.quote-system-page .table-card td:nth-child(9){width:80px!important;min-width:80px!important;}
.quote-system-page .table-card th:nth-child(10),.quote-system-page .table-card td:nth-child(10){width:78px!important;min-width:78px!important;}
.quote-system-page .table-card th:nth-child(11),.quote-system-page .table-card td:nth-child(11){width:84px!important;min-width:84px!important;}
.quote-system-page .table-card th:nth-child(12),.quote-system-page .table-card td:nth-child(12){width:84px!important;min-width:84px!important;}
.quote-system-page .table-card th:nth-child(13),.quote-system-page .table-card td:nth-child(13){width:60px!important;min-width:60px!important;}
.quote-system-page .table-card th:nth-child(14),.quote-system-page .table-card td:nth-child(14){width:82px!important;min-width:82px!important;}
.quote-system-page .table-card th:nth-child(15),.quote-system-page .table-card td:nth-child(15){width:108px!important;min-width:108px!important;}
.quote-system-page .table-card th:nth-child(16),.quote-system-page .table-card td:nth-child(16){width:72px!important;min-width:72px!important;}
.quote-system-page .table-card th:nth-child(17),.quote-system-page .table-card td:nth-child(17){width:64px!important;min-width:64px!important;}
.quote-system-page .table-card th:nth-child(18),.quote-system-page .table-card td:nth-child(18){width:68px!important;min-width:68px!important;}
.quote-system-page .table-card .thumb{width:76px!important;height:54px!important;object-fit:cover!important;border-radius:7px!important;display:block!important;margin:0 auto!important;cursor:pointer!important;}
.quote-system-page .size-cell strong,.quote-system-page .size-cell span,.quote-system-page .file-meta,.quote-system-page .unit-hint{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.quote-system-page .print-controls{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;align-items:center!important;max-width:100%!important;overflow:hidden!important;}
.quote-system-page .print-controls select,.quote-system-page .print-controls input{height:26px!important;font-size:11px!important;}
.quote-system-page .print-fields{overflow:hidden!important;}
.version-info-card{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:14px;margin:10px 0 18px;max-width:620px;}
.version-info-card div{border:1px solid rgba(13,126,119,.16);background:linear-gradient(180deg,#f7fcfb,#fff);border-radius:16px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.version-info-card span{display:block;color:#64748b;font-size:13px;margin-bottom:8px}.version-info-card strong{font-size:28px;color:#0b7a75;}
.version-log-list{display:grid;gap:12px;max-width:980px}.version-log-list article{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:16px;box-shadow:0 10px 26px rgba(15,23,42,.05)}.version-log-list h3{margin:0 0 8px;color:#12323a}.version-log-list p{margin:0;color:#53636d;line-height:1.7}

/* v20260520_54 报价系统专项：只作用于报价系统页 */
#quotePage, #quotePage .quote-system-page, #quotePage .quote-system-page *:not(input):not(textarea):not(select):not(option) {
  -webkit-user-select: none;
  user-select: none;
}
#quotePage input, #quotePage textarea, #quotePage select {
  -webkit-user-select: text;
  user-select: text;
}
#quotePage .quote-product-suggest {
  position: fixed !important;
  z-index: var(--layer-dropdown) !important;
  max-height: 330px !important;
  overflow: auto !important;
  border: 1px solid rgba(11,122,117,.18) !important;
  background: rgba(255,255,255,.98) !important;
  border-radius: 14px !important;
  box-shadow: 0 22px 60px rgba(16,32,45,.22) !important;
  padding: 7px !important;
}
#quotePage .quote-product-suggest.hidden { display: none !important; }
#quotePage .quote-product-suggest button {
  width: 100% !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  background: transparent !important;
  display: block !important;
  text-align: left !important;
  cursor: pointer !important;
}
#quotePage .quote-product-suggest button:hover { background: rgba(11,122,117,.08) !important; }
#quotePage .quote-product-suggest strong {
  display: block !important;
  color: #102033 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#quotePage .quote-product-suggest span {
  display: block !important;
  margin-top: 2px !important;
  color: #667085 !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#quotePage .quote-product-search-input::placeholder,
#quotePage .row-product-search-input::placeholder { color: rgba(102,112,133,.48) !important; }
#quotePage .quote-default-product-search-wrap,
#quotePage .quote-batch-product-search-wrap { width: 112px !important; min-width: 112px !important; }
#quotePage .quote-product-search-input { width: 112px !important; min-width: 112px !important; }
#quotePage .row-product-search-wrap { width: 112px !important; min-width: 112px !important; position: relative !important; }
#quotePage .row-product-search-input { width: 112px !important; min-width: 112px !important; text-align: center !important; }
#quotePage .table-card .table-wrap { overflow: auto !important; }
#quotePage .table-card table {
  width: 1630px !important;
  min-width: 1630px !important;
  table-layout: fixed !important;
}
#quotePage .table-card th,
#quotePage .table-card td {
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding: 7px 5px !important;
  line-height: 1.28 !important;
}
#quotePage .table-card th:nth-child(1), #quotePage .table-card td:nth-child(1){width:34px!important;min-width:34px!important;}
#quotePage .table-card th:nth-child(2), #quotePage .table-card td:nth-child(2){width:40px!important;min-width:40px!important;}
#quotePage .table-card th:nth-child(3), #quotePage .table-card td:nth-child(3){width:96px!important;min-width:96px!important;}
#quotePage .table-card th:nth-child(4), #quotePage .table-card td:nth-child(4){width:118px!important;min-width:118px!important;}
#quotePage .table-card th:nth-child(5), #quotePage .table-card td:nth-child(5){width:92px!important;min-width:92px!important;}
#quotePage .table-card th:nth-child(6), #quotePage .table-card td:nth-child(6){width:100px!important;min-width:100px!important;}
#quotePage .table-card th:nth-child(7), #quotePage .table-card td:nth-child(7){width:118px!important;min-width:118px!important;}
#quotePage .table-card th:nth-child(8), #quotePage .table-card td:nth-child(8){width:116px!important;min-width:116px!important;}
#quotePage .table-card th:nth-child(9), #quotePage .table-card td:nth-child(9){width:86px!important;min-width:86px!important;}
#quotePage .table-card th:nth-child(10), #quotePage .table-card td:nth-child(10){width:78px!important;min-width:78px!important;}
#quotePage .table-card th:nth-child(11), #quotePage .table-card td:nth-child(11){width:88px!important;min-width:88px!important;}
#quotePage .table-card th:nth-child(12), #quotePage .table-card td:nth-child(12){width:74px!important;min-width:74px!important;}
#quotePage .table-card th:nth-child(13), #quotePage .table-card td:nth-child(13){width:68px!important;min-width:68px!important;}
#quotePage .table-card th:nth-child(14), #quotePage .table-card td:nth-child(14){width:86px!important;min-width:86px!important;}
#quotePage .table-card th:nth-child(15), #quotePage .table-card td:nth-child(15){width:92px!important;min-width:92px!important;}
#quotePage .table-card th:nth-child(16), #quotePage .table-card td:nth-child(16){width:76px!important;min-width:76px!important;}
#quotePage .table-card th:nth-child(17), #quotePage .table-card td:nth-child(17){width:70px!important;min-width:70px!important;}
#quotePage .table-card th:nth-child(18), #quotePage .table-card td:nth-child(18){width:56px!important;min-width:56px!important;}
#quotePage .discount-input { width: 48px !important; min-width: 48px !important; text-align: center !important; }
#quotePage .row-input, #quotePage .row-select, #quotePage .qty-input, #quotePage .note-input, #quotePage .discount-input {
  height: 30px !important;
  font-size: 12px !important;
  text-align: center !important;
  padding: 0 6px !important;
}
#quotePage .file-meta { display: block !important; font-size: 10px !important; color: #667085 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
#quotePage .quote-image-cell-btn {
  width: 78px !important;
  height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 10px !important;
  position: relative !important;
  cursor: zoom-in !important;
}
#quotePage .quote-image-cell-btn .quote-thumb, #quotePage .table-card .quote-thumb {
  width: 76px !important;
  height: 52px !important;
  object-fit: cover !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 18px rgba(16,32,45,.12) !important;
}
#quotePage .quote-image-count-badge {
  position: absolute !important;
  right: -5px !important;
  top: -5px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#0b7a75,#13a7df) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 20px !important;
  box-shadow: 0 6px 14px rgba(11,122,117,.24) !important;
}
#quotePage .quote-upload-inline-btn {
  height: 32px !important;
  min-width: 68px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(11,122,117,.18) !important;
  background: rgba(240,250,249,.88) !important;
  color: #0b7a75 !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}
#quotePage .quote-upload-inline-btn:hover { background: rgba(11,122,117,.12) !important; }
#quotePage .quote-row-context-menu {
  position: fixed !important;
  z-index: var(--layer-dropdown) !important;
  width: 168px !important;
  padding: 8px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(11,122,117,.14) !important;
  box-shadow: 0 22px 60px rgba(16,32,45,.22) !important;
}
#quotePage .quote-row-context-menu button,
.quote-row-context-menu button {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 10px !important;
  text-align: left !important;
  padding: 9px 10px !important;
  font-weight: 800 !important;
  color: #102033 !important;
  cursor: pointer !important;
}
#quotePage .quote-row-context-menu button:hover,
.quote-row-context-menu button:hover { background: rgba(11,122,117,.08) !important; }
#quotePage .quote-row-context-menu button.danger,
.quote-row-context-menu button.danger { color: #b42318 !important; }
#quotePage .print-row .print-fields { white-space: normal !important; overflow: visible !important; }
#quotePage .print-row .size-cell, #quotePage .print-row .size-cell * { white-space: normal !important; }
#quotePage .print-controls { max-width: 100% !important; grid-template-columns: 52px 58px 46px 46px 46px 62px !important; }
.graphic-quote-page-card .graphic-quote-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}
.graphic-quote-placeholder section {
  border: 1px solid rgba(11,122,117,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  padding: 18px;
  box-shadow: 0 12px 32px rgba(16,32,45,.06);
}
.graphic-quote-placeholder h3 { margin: 0 0 8px; color: #0b7a75; }
.graphic-quote-placeholder p { margin: 0; color: #667085; line-height: 1.7; }

/* v20260520_55 产品报价页专项修复：只作用于产品报价页面 */
#quotePage .upload-card .panel-head h3{font-size:18px!important;}
#quotePage .drop-zone span{color:#667085!important;}
#quotePage .workspace-grid{grid-template-columns:minmax(0,1fr) minmax(250px,310px)!important;gap:14px!important;align-items:start!important;}
#quotePage .table-tools,
#quotePage .linked-selects,
#quotePage .batch-bar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;}
#quotePage .batch-bar{overflow-x:auto!important;padding-bottom:4px!important;}
#quotePage .linked-selects select,
#quotePage .batch-bar select{min-width:78px!important;max-width:96px!important;height:32px!important;}
#quotePage .quote-default-product-search-wrap,
#quotePage .quote-batch-product-search-wrap{width:100px!important;min-width:100px!important;flex:0 0 100px!important;}
#quotePage .quote-product-search-input,
#quotePage .row-product-search-input{width:100px!important;min-width:100px!important;height:30px!important;text-align:center!important;font-size:12px!important;padding:0 7px!important;}
#quotePage .row-product-search-wrap{width:100px!important;min-width:100px!important;position:relative!important;}
#quotePage .quote-product-search-input::placeholder,
#quotePage .row-product-search-input::placeholder{color:rgba(102,112,133,.52)!important;}
#quotePage .table-card .table-wrap{overflow-x:auto!important;overflow-y:visible!important;border-radius:16px!important;}
#quotePage .table-card table{width:100%!important;min-width:1370px!important;table-layout:fixed!important;}
#quotePage .table-card th,
#quotePage .table-card td{text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:6px 4px!important;line-height:1.25!important;}
#quotePage .table-card thead th{font-weight:900!important;color:#18323a!important;background:rgba(11,122,117,.08)!important;}
#quotePage .table-card th:nth-child(1),#quotePage .table-card td:nth-child(1){width:30px!important;min-width:30px!important;}
#quotePage .table-card th:nth-child(2),#quotePage .table-card td:nth-child(2){width:36px!important;min-width:36px!important;}
#quotePage .table-card th:nth-child(3),#quotePage .table-card td:nth-child(3){width:88px!important;min-width:88px!important;}
#quotePage .table-card th:nth-child(4),#quotePage .table-card td:nth-child(4){width:104px!important;min-width:104px!important;}
#quotePage .table-card th:nth-child(5),#quotePage .table-card td:nth-child(5){width:78px!important;min-width:78px!important;}
#quotePage .table-card th:nth-child(6),#quotePage .table-card td:nth-child(6){width:88px!important;min-width:88px!important;}
#quotePage .table-card th:nth-child(7),#quotePage .table-card td:nth-child(7){width:104px!important;min-width:104px!important;overflow:visible!important;}
#quotePage .table-card th:nth-child(8),#quotePage .table-card td:nth-child(8){width:118px!important;min-width:118px!important;}
#quotePage .table-card th:nth-child(9),#quotePage .table-card td:nth-child(9){width:74px!important;min-width:74px!important;}
#quotePage .table-card th:nth-child(10),#quotePage .table-card td:nth-child(10){width:76px!important;min-width:76px!important;}
#quotePage .table-card th:nth-child(11),#quotePage .table-card td:nth-child(11){width:82px!important;min-width:82px!important;}
#quotePage .table-card th:nth-child(12),#quotePage .table-card td:nth-child(12){width:76px!important;min-width:76px!important;}
#quotePage .table-card th:nth-child(13),#quotePage .table-card td:nth-child(13){width:58px!important;min-width:58px!important;}
#quotePage .table-card th:nth-child(14),#quotePage .table-card td:nth-child(14){width:76px!important;min-width:76px!important;}
#quotePage .table-card th:nth-child(15),#quotePage .table-card td:nth-child(15){width:96px!important;min-width:96px!important;}
#quotePage .table-card th:nth-child(16),#quotePage .table-card td:nth-child(16){width:62px!important;min-width:62px!important;}
#quotePage .table-card th:nth-child(17),#quotePage .table-card td:nth-child(17){width:58px!important;min-width:58px!important;}
#quotePage .table-card th:nth-child(18),#quotePage .table-card td:nth-child(18){width:48px!important;min-width:48px!important;}
#quotePage .discount-input{width:42px!important;min-width:42px!important;text-align:center!important;padding:0 4px!important;}
#quotePage .row-input,#quotePage .row-select,#quotePage .qty-input,#quotePage .note-input,#quotePage .discount-input{height:30px!important;font-size:12px!important;border-radius:8px!important;}
#quotePage .quote-image-cell-btn{width:76px!important;height:58px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;overflow:hidden!important;background:#f8fbfb!important;border:1px solid rgba(11,122,117,.12)!important;}
#quotePage .quote-image-cell-btn .quote-thumb,#quotePage .table-card .quote-thumb{width:72px!important;height:52px!important;object-fit:cover!important;border-radius:8px!important;display:block!important;}
#quotePage .quote-upload-inline-btn{height:30px!important;min-width:66px!important;border-radius:9px!important;border:1px solid rgba(11,122,117,.2)!important;background:rgba(11,122,117,.06)!important;color:#0b7a75!important;font-weight:850!important;}
#quotePage .quote-image-count-badge{position:absolute!important;right:2px!important;top:2px!important;min-width:18px!important;height:18px!important;line-height:18px!important;border-radius:999px!important;background:#0b7a75!important;color:#fff!important;font-size:11px!important;font-weight:900!important;z-index:4!important;box-shadow:0 3px 8px rgba(0,0,0,.18)!important;}
#quotePage .file-meta{display:block!important;font-size:10px!important;color:#667085!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#quotePage .print-row{display:none!important;}
.quote-product-suggest-portal{position:fixed!important;z-index: var(--layer-dropdown) !important;max-height:330px!important;overflow:auto!important;border:1px solid rgba(11,122,117,.18)!important;background:rgba(255,255,255,.98)!important;border-radius:14px!important;box-shadow:0 22px 60px rgba(16,32,45,.22)!important;padding:7px!important;}
.quote-product-suggest-portal.hidden{display:none!important;}
.quote-product-suggest-portal button{width:100%!important;border:0!important;border-radius:10px!important;padding:8px 10px!important;background:transparent!important;display:block!important;text-align:left!important;cursor:pointer!important;}
.quote-product-suggest-portal button:hover{background:rgba(11,122,117,.08)!important;}
.quote-product-suggest-portal strong{display:block!important;color:#102033!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.quote-product-suggest-portal span{display:block!important;margin-top:2px!important;color:#667085!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.quote-row-context-menu{position:fixed!important;z-index: var(--layer-dropdown) !important;width:176px!important;padding:8px!important;border-radius:16px!important;background:rgba(255,255,255,.86)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border:1px solid rgba(11,122,117,.16)!important;box-shadow:0 24px 70px rgba(16,32,45,.26)!important;}
.quote-row-context-menu button{display:block!important;width:100%!important;border:0!important;background:transparent!important;border-radius:11px!important;text-align:left!important;padding:9px 11px!important;font-weight:850!important;color:#102033!important;cursor:pointer!important;}
.quote-row-context-menu button:hover{background:rgba(11,122,117,.10)!important;}
.quote-row-context-menu button.danger{color:#b42318!important;}

/* v20260520_56 产品报价页专项修复：批量弹窗系统化、表格居中、搜索浮层与列宽修复。仅作用于产品报价页�?*/
#quotePage .quote-system-page .table-card .table-wrap{
  overflow:auto!important;
  border-radius:18px!important;
}
#quotePage .quote-system-page .table-card table{
  table-layout:fixed!important;
  width:1540px!important;
  min-width:1540px!important;
  border-collapse:collapse!important;
}
#quotePage .quote-system-page .table-card th,
#quotePage .quote-system-page .table-card td{
  text-align:center!important;
  vertical-align:middle!important;
  border-bottom:1px solid rgba(102,112,133,.16)!important;
  border-right:1px solid rgba(102,112,133,.10)!important;
  box-sizing:border-box!important;
  padding:7px 6px!important;
}
#quotePage .quote-system-page .table-card thead th{
  background:#edf8f6!important;
  font-weight:800!important;
  color:#1f3440!important;
  white-space:nowrap!important;
}
#quotePage .quote-system-page .table-card tbody td{
  height:58px!important;
  background:#fff!important;
}
#quotePage .quote-system-page .table-card th:nth-child(1), #quotePage .quote-system-page .table-card td:nth-child(1){width:38px!important;min-width:38px!important;}
#quotePage .quote-system-page .table-card th:nth-child(2), #quotePage .quote-system-page .table-card td:nth-child(2){width:42px!important;min-width:42px!important;}
#quotePage .quote-system-page .table-card th:nth-child(3), #quotePage .quote-system-page .table-card td:nth-child(3){width:82px!important;min-width:82px!important;}
#quotePage .quote-system-page .table-card th:nth-child(4), #quotePage .quote-system-page .table-card td:nth-child(4){width:128px!important;min-width:128px!important;}
#quotePage .quote-system-page .table-card th:nth-child(5), #quotePage .quote-system-page .table-card td:nth-child(5){width:98px!important;min-width:98px!important;}
#quotePage .quote-system-page .table-card th:nth-child(6), #quotePage .quote-system-page .table-card td:nth-child(6){width:112px!important;min-width:112px!important;}
#quotePage .quote-system-page .table-card th:nth-child(7), #quotePage .quote-system-page .table-card td:nth-child(7){width:122px!important;min-width:122px!important;}
#quotePage .quote-system-page .table-card th:nth-child(8), #quotePage .quote-system-page .table-card td:nth-child(8){width:178px!important;min-width:178px!important;}
#quotePage .quote-system-page .table-card th:nth-child(9), #quotePage .quote-system-page .table-card td:nth-child(9){width:86px!important;min-width:86px!important;}
#quotePage .quote-system-page .table-card th:nth-child(10), #quotePage .quote-system-page .table-card td:nth-child(10){width:88px!important;min-width:88px!important;}
#quotePage .quote-system-page .table-card th:nth-child(11), #quotePage .quote-system-page .table-card td:nth-child(11){width:88px!important;min-width:88px!important;}
#quotePage .quote-system-page .table-card th:nth-child(12), #quotePage .quote-system-page .table-card td:nth-child(12){width:74px!important;min-width:74px!important;}
#quotePage .quote-system-page .table-card th:nth-child(13), #quotePage .quote-system-page .table-card td:nth-child(13){width:72px!important;min-width:72px!important;}
#quotePage .quote-system-page .table-card th:nth-child(14), #quotePage .quote-system-page .table-card td:nth-child(14){width:98px!important;min-width:98px!important;}
#quotePage .quote-system-page .table-card th:nth-child(15), #quotePage .quote-system-page .table-card td:nth-child(15){width:92px!important;min-width:92px!important;}
#quotePage .quote-system-page .table-card th:nth-child(16), #quotePage .quote-system-page .table-card td:nth-child(16){width:78px!important;min-width:78px!important;}
#quotePage .quote-system-page .table-card th:nth-child(17), #quotePage .quote-system-page .table-card td:nth-child(17){width:62px!important;min-width:62px!important;}
#quotePage .quote-system-page .table-card th:nth-child(18), #quotePage .quote-system-page .table-card td:nth-child(18){width:54px!important;min-width:54px!important;}
#quotePage .quote-system-page .table-card input,
#quotePage .quote-system-page .table-card select{
  height:32px!important;
  margin:0 auto!important;
  text-align:center!important;
  display:block!important;
  border-radius:9px!important;
}
#quotePage .quote-system-page .row-product-search-wrap{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#quotePage .quote-system-page .row-product-search-input{
  width:106px!important;
  max-width:106px!important;
  min-width:106px!important;
  padding:0 7px!important;
}
#quotePage .quote-system-page .discount-input{
  width:44px!important;
  max-width:44px!important;
  padding:0 4px!important;
}
#quotePage .quote-system-page .size-cell{
  text-align:center!important;
  white-space:normal!important;
  word-break:break-word!important;
  line-height:1.32!important;
}
#quotePage .quote-system-page .size-cell strong,
#quotePage .quote-system-page .size-cell span{white-space:normal!important;word-break:break-word!important;}
#quotePage .quote-system-page .quote-product-suggest-portal,
.quote-product-suggest-portal{
  z-index: var(--layer-dropdown) !important;
  overflow:auto!important;
  border:1px solid rgba(11,122,117,.20)!important;
  background:rgba(255,255,255,.99)!important;
  border-radius:14px!important;
  box-shadow:0 22px 64px rgba(16,32,45,.24)!important;
  padding:8px!important;
}
#quotePage .quote-product-suggest-portal button,
.quote-product-suggest-portal button{
  width:100%!important;
  border:0!important;
  background:transparent!important;
  border-radius:11px!important;
  padding:9px 11px!important;
  text-align:left!important;
  cursor:pointer!important;
  display:block!important;
}
#quotePage .quote-product-suggest-portal button:hover,
.quote-product-suggest-portal button:hover{background:rgba(11,122,117,.085)!important;}
#quotePage .quote-product-suggest-portal .suggest-product-name,
.quote-product-suggest-portal .suggest-product-name{
  display:block!important;
  color:#102033!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:900!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#quotePage .quote-product-suggest-portal .suggest-product-meta,
.quote-product-suggest-portal .suggest-product-meta{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:3px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  color:#667085!important;
  font-size:11px!important;
}
#quotePage .quote-product-suggest-portal .suggest-product-meta em,
.quote-product-suggest-portal .suggest-product-meta em{
  font-style:normal!important;
  color:#0b7a75!important;
  background:rgba(11,122,117,.08)!important;
  border:1px solid rgba(11,122,117,.12)!important;
  border-radius:999px!important;
  padding:1px 7px!important;
  flex:0 0 auto!important;
}
#quotePage .quote-product-suggest-portal .suggest-product-meta b,
.quote-product-suggest-portal .suggest-product-meta b{
  font-weight:700!important;
  color:#667085!important;
}
#quotePage .quote-system-page .batch-row,
#quotePage .quote-system-page .selection-tools,
#quotePage .quote-system-page .table-tools{
  align-items:center!important;
}

/* v20260520_57 报价系统专项修复：恢复表格区域原排版，修复宽屏右侧空白与规格尺寸显示不全。仅作用于报价系统页面�?*/
#quotePage .quote-system-page .table-card{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#quotePage .quote-system-page .table-card .panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}
#quotePage .quote-system-page .table-card .table-tools,
#quotePage .quote-system-page .table-card .linked-selects{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
#quotePage .quote-system-page .batch-bar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:12px 18px!important;
  scrollbar-gutter:stable!important;
}
#quotePage .quote-system-page .batch-bar > *,
#quotePage .quote-system-page .table-tools > *,
#quotePage .quote-system-page .linked-selects > *{
  flex:0 0 auto!important;
}
#quotePage .quote-system-page .batch-bar .check-line{
  min-width:76px!important;
  margin-right:2px!important;
}
#quotePage .quote-system-page .batch-bar select{
  min-width:92px!important;
  max-width:116px!important;
  height:32px!important;
}
#quotePage .quote-system-page .quote-batch-product-search-wrap,
#quotePage .quote-system-page .quote-default-product-search-wrap{
  width:118px!important;
  min-width:118px!important;
  flex:0 0 118px!important;
}
#quotePage .quote-system-page .quote-product-search-input{
  width:118px!important;
  min-width:118px!important;
  height:32px!important;
  text-align:center!important;
}
#quotePage .quote-system-page #batchProductUnit{
  min-width:52px!important;
  text-align:center!important;
}
#quotePage .quote-system-page #batchDiscount{
  width:80px!important;
  min-width:80px!important;
  max-width:80px!important;
}
#quotePage .quote-system-page #batchNote{
  width:146px!important;
  min-width:146px!important;
  max-width:146px!important;
}
#quotePage .quote-system-page .batch-bar button{
  min-width:86px!important;
  height:36px!important;
  padding:0 12px!important;
  white-space:nowrap!important;
}
#quotePage .quote-system-page #applyBatchProduct,
#quotePage .quote-system-page #applyBatchDiscount,
#quotePage .quote-system-page #applyBatchNote{
  min-width:104px!important;
}
#quotePage .quote-system-page #deleteSelected{
  min-width:82px!important;
}
#quotePage .quote-system-page #cancelSelectedImages,
#quotePage .quote-system-page #batchCancelImages{
  min-width:86px!important;
}

#quotePage .quote-system-page .table-card table{
  width:100%!important;
  min-width:1600px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
#quotePage .quote-system-page .table-card th,
#quotePage .quote-system-page .table-card td{
  text-align:center!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
#quotePage .quote-system-page .table-card tbody td{
  height:auto!important;
  min-height:58px!important;
}
#quotePage .quote-system-page .table-card th:nth-child(8),
#quotePage .quote-system-page .table-card td:nth-child(8){
  width:190px!important;
  min-width:190px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#quotePage .quote-system-page .table-card td:nth-child(8) .size-cell,
#quotePage .quote-system-page .size-cell{
  display:block!important;
  width:100%!important;
  max-height:none!important;
  height:auto!important;
  text-align:center!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.36!important;
}
#quotePage .quote-system-page .size-cell strong,
#quotePage .quote-system-page .size-cell span,
#quotePage .quote-system-page .print-fields,
#quotePage .quote-system-page .print-fields *{
  white-space:normal!important;
  word-break:break-word!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media (max-width: 1280px){
  #quotePage .quote-system-page .table-card .panel-head{
    flex-wrap:wrap!important;
  }
  #quotePage .quote-system-page .table-card .table-tools{
    justify-content:flex-start!important;
    width:100%!important;
  }
}

/* v20260520_58 报价系统表格最终专项修复：只作用于产品报价页，解决批量栏分散、行悬停不高亮、规格尺寸空白与表格分割线断裂�?*/
#quotePage .quote-system-page .batch-bar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:12px 18px!important;
}
#quotePage .quote-system-page .batch-bar > *,
#quotePage .quote-system-page .batch-bar select,
#quotePage .quote-system-page .batch-bar input,
#quotePage .quote-system-page .batch-bar button,
#quotePage .quote-system-page .batch-bar .quote-product-search-wrap,
#quotePage .quote-system-page .batch-bar .unit-hint,
#quotePage .quote-system-page .batch-bar .check-line{
  margin-left:0!important;
  margin-right:0!important;
  flex:0 0 auto!important;
}
#quotePage .quote-system-page .batch-bar .check-line{min-width:64px!important;margin-right:4px!important;}
#quotePage .quote-system-page .batch-bar select{width:96px!important;min-width:96px!important;max-width:96px!important;height:32px!important;}
#quotePage .quote-system-page .batch-bar .quote-batch-product-search-wrap{width:118px!important;min-width:118px!important;max-width:118px!important;}
#quotePage .quote-system-page .batch-bar .quote-product-search-input{width:118px!important;min-width:118px!important;max-width:118px!important;height:32px!important;text-align:center!important;}
#quotePage .quote-system-page #batchProductUnit{min-width:44px!important;max-width:44px!important;text-align:center!important;}
#quotePage .quote-system-page #batchDiscount{width:72px!important;min-width:72px!important;max-width:72px!important;}
#quotePage .quote-system-page #batchNote{width:136px!important;min-width:136px!important;max-width:136px!important;}
#quotePage .quote-system-page .batch-bar button{height:34px!important;min-width:auto!important;padding:0 12px!important;white-space:nowrap!important;}
#quotePage .quote-system-page #applyBatchProduct,
#quotePage .quote-system-page #applyBatchDiscount,
#quotePage .quote-system-page #applyBatchNote{min-width:102px!important;}
#quotePage .quote-system-page #deleteSelected{min-width:78px!important;}
#quotePage .quote-system-page #cancelSelectedImages{min-width:76px!important;}
#quotePage .quote-system-page #batchCancelImages{min-width:96px!important;}

#quotePage .quote-system-page .table-card .table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border-radius:0 0 18px 18px!important;
}
#quotePage .quote-system-page .table-card table{
  width:100%!important;
  min-width:1580px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
#quotePage .quote-system-page .table-card th,
#quotePage .quote-system-page .table-card td{
  text-align:center!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  border-bottom:1px solid rgba(102,112,133,.16)!important;
  border-right:1px solid rgba(102,112,133,.10)!important;
}
#quotePage .quote-system-page .table-card thead th{background:#edf8f6!important;}
#quotePage .quote-system-page .table-card tbody tr[data-id] > td{background:#fff!important;}
#quotePage .quote-system-page .table-card tbody tr[data-id]:hover,
#quotePage .quote-system-page .table-card tbody tr[data-id]:hover > td{
  background:#f3faf9!important;
}
#quotePage .quote-system-page .table-card tbody tr.row-selected,
#quotePage .quote-system-page .table-card tbody tr.row-selected > td{
  background:#eaf8f6!important;
}
#quotePage .quote-system-page .table-card th:nth-child(8),
#quotePage .quote-system-page .table-card td:nth-child(8){width:150px!important;min-width:150px!important;max-width:150px!important;}
#quotePage .quote-system-page .table-card th:nth-child(9),
#quotePage .quote-system-page .table-card td:nth-child(9){width:84px!important;min-width:84px!important;max-width:84px!important;white-space:normal!important;}
#quotePage .quote-system-page .table-card td:nth-child(8),
#quotePage .quote-system-page .table-card td:nth-child(9){overflow:visible!important;text-overflow:clip!important;}
#quotePage .quote-system-page .manual-size-cell{
  display:table-cell!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  padding:6px 4px!important;
}
#quotePage .quote-system-page .manual-size-editor{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
}
#quotePage .quote-system-page .manual-size-editor label{
  display:grid!important;
  grid-template-columns:42px 56px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  width:108px!important;
  min-width:0!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.2!important;
  color:#344054!important;
  white-space:nowrap!important;
}
#quotePage .quote-system-page .manual-size-editor label span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
#quotePage .quote-system-page .manual-size-editor .mini-input{
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
  height:26px!important;
  min-height:26px!important;
  padding:0 4px!important;
  margin:0!important;
  text-align:center!important;
  border-radius:7px!important;
}
#quotePage .quote-system-page .size-cell,
#quotePage .quote-system-page .size-cell strong,
#quotePage .quote-system-page .size-cell span{
  white-space:normal!important;
  word-break:break-word!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* v20260520_59 报价系统产品报价页最终定向修复：只修用户指出的位置，不改其它页面�?*/
#quotePage .quote-system-page .workspace-grid{
  grid-template-columns:minmax(0,1fr) minmax(280px,320px)!important;
  gap:16px!important;
  align-items:stretch!important;
}
#quotePage .quote-system-page .workspace-grid > .quote-card{
  min-width:0!important;
  max-width:100%!important;
  align-self:stretch!important;
}
#quotePage .quote-system-page .upload-card{
  height:100%!important;
  position:relative!important;
  overflow:hidden!important;
}
#quotePage .quote-system-page .upload-card::before,
#quotePage .quote-system-page .upload-card::after,
#quotePage .quote-system-page .summary-card::before,
#quotePage .quote-system-page .summary-card::after{
  display:none!important;
  content:none!important;
}
#quotePage .quote-system-page .upload-card .drop-zone{
  min-height:248px!important;
  height:calc(100% - 64px)!important;
  box-sizing:border-box!important;
}
#quotePage .quote-system-page .summary-card{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-content:stretch!important;
  justify-content:flex-start!important;
  gap:14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#quotePage .quote-system-page .summary-card .summary-total{
  font-size:clamp(34px,4.2vw,48px)!important;
}
#quotePage .quote-system-page .summary-card .draft-actions,
#quotePage .quote-system-page .summary-card .export-actions{
  width:100%!important;
}

/* 规格尺寸列加宽，把之前空出来的白块并回到规格尺寸展示区域；面�?长度列仅略收紧，其他列不动�?*/
#quotePage .quote-system-page .table-card table{
  min-width:1520px!important;
}
#quotePage .quote-system-page .table-card th:nth-child(8),
#quotePage .quote-system-page .table-card td:nth-child(8){
  width:198px!important;
  min-width:198px!important;
  max-width:198px!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
#quotePage .quote-system-page .table-card th:nth-child(9),
#quotePage .quote-system-page .table-card td:nth-child(9){
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
#quotePage .quote-system-page .table-card td:nth-child(8) .size-cell,
#quotePage .quote-system-page .table-card td:nth-child(8) .print-fields,
#quotePage .quote-system-page .table-card td:nth-child(8) .manual-size-editor{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}
#quotePage .quote-system-page .table-card td:nth-child(8) .size-cell{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  text-align:center!important;
}
#quotePage .quote-system-page .table-card td:nth-child(8) .size-cell strong,
#quotePage .quote-system-page .table-card td:nth-child(8) .size-cell span{
  display:block!important;
  width:100%!important;
}

/* 选择客户弹窗：表格宽度铺满，备注列自动吃掉剩余空间，不再出现右侧大片空白�?*/
#quotePage .quote-customer-picker-modern{
  width:min(1120px,92vw)!important;
  min-width:min(1120px,92vw)!important;
  max-width:92vw!important;
}
#quotePage .quote-customer-picker-table-wrap{
  width:100%!important;
  overflow:auto!important;
}
#quotePage .quote-customer-picker-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
#quotePage .quote-customer-picker-table th:nth-child(1),
#quotePage .quote-customer-picker-table td:nth-child(1){width:70px!important;}
#quotePage .quote-customer-picker-table th:nth-child(2),
#quotePage .quote-customer-picker-table td:nth-child(2){width:120px!important;}
#quotePage .quote-customer-picker-table th:nth-child(3),
#quotePage .quote-customer-picker-table td:nth-child(3){width:190px!important;}
#quotePage .quote-customer-picker-table th:nth-child(4),
#quotePage .quote-customer-picker-table td:nth-child(4){width:120px!important;}
#quotePage .quote-customer-picker-table th:nth-child(5),
#quotePage .quote-customer-picker-table td:nth-child(5){width:140px!important;}
#quotePage .quote-customer-picker-table th:nth-child(6),
#quotePage .quote-customer-picker-table td:nth-child(6){
  width:auto!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow:visible!important;
  text-overflow:clip!important;
}


/* v20260520_60 产品报价尺寸编辑：图片导入行也允许直接修改宽高，不保存图片到本地/服务器�?*/
#quotePage .quote-system-page .quote-size-edit-cell{padding-top:5px!important;padding-bottom:5px!important;}
#quotePage .quote-system-page .quote-size-editor{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%!important;max-width:100%!important;align-items:center!important;}
#quotePage .quote-system-page .quote-size-editor label{display:grid!important;grid-template-columns:auto minmax(52px,1fr)!important;gap:4px!important;width:100%!important;margin:0!important;align-items:center!important;font-size:11px!important;line-height:1.2!important;color:#344054!important;}
#quotePage .quote-system-page .quote-size-editor .mini-input{width:100%!important;min-width:0!important;max-width:none!important;height:26px!important;padding:0 4px!important;text-align:center!important;}
#quotePage .quote-system-page .quote-size-meta{display:flex!important;flex-direction:column!important;gap:1px!important;margin-top:3px!important;width:100%!important;color:#667085!important;font-size:10px!important;line-height:1.15!important;text-align:center!important;}
#quotePage .quote-system-page .quote-size-meta span{display:block!important;width:100%!important;white-space:normal!important;word-break:break-word!important;}


/* v20260520_61 产品报价页定向修复：客户选择弹窗铺满、汇总卡略宽、尺�?数量输入框美化�?*/
#orderPickerModal.quote-customer-picker-modal .order-picker-card{
  width:min(1220px,94vw)!important;
  max-width:94vw!important;
}
#orderPickerBody.quote-customer-picker-body{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-modern{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:min(650px,74vh)!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-tools{
  width:100%!important;
  box-sizing:border-box!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table-wrap{
  width:100%!important;
  max-width:100%!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table{
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  table-layout:fixed!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(1),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(1){width:70px!important;}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(2),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(2){width:120px!important;}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(3),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(3){width:200px!important;}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(4),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(4){width:130px!important;}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(5),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(5){width:150px!important;}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table th:nth-child(6),
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-table td:nth-child(6){
  width:auto!important;
  text-align:left!important;
  white-space:normal!important;
  word-break:break-word!important;
}
#orderPickerBody.quote-customer-picker-body .quote-customer-picker-pager{
  flex:0 0 auto!important;
}

#quotePage .quote-system-page .workspace-grid{
  grid-template-columns:minmax(0,1fr) minmax(360px,420px)!important;
  gap:16px!important;
}
#quotePage .quote-system-page .summary-card{
  min-width:360px!important;
  max-width:420px!important;
}
#quotePage .quote-system-page .upload-card{
  min-width:0!important;
}

#quotePage .quote-system-page .quote-size-editor{
  grid-template-columns:max-content max-content!important;
  justify-content:center!important;
  justify-items:center!important;
  gap:5px!important;
}
#quotePage .quote-system-page .quote-size-editor label{
  grid-template-columns:auto 52px!important;
  width:auto!important;
  justify-content:center!important;
  gap:3px!important;
}
#quotePage .quote-system-page .quote-size-editor .mini-input{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:24px!important;
  padding:0 2px!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
#quotePage .quote-system-page .table-card td:nth-child(8){
  text-align:center!important;
}

#quotePage .quote-system-page .table-card th:nth-child(13),
#quotePage .quote-system-page .table-card td:nth-child(13){
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  text-align:center!important;
}
#quotePage .quote-system-page .qty-input{
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:28px!important;
  line-height:28px!important;
  padding:0!important;
  margin:0 auto!important;
  text-align:center!important;
  text-align-last:center!important;
  box-sizing:border-box!important;
  appearance:textfield!important;
  -moz-appearance:textfield!important;
}
#quotePage .quote-system-page .qty-input::-webkit-inner-spin-button,
#quotePage .quote-system-page .qty-input::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:none!important;
  margin:0!important;
}

/* v20260520_62 产品报价页定向修复：尺寸智能补正兜底、图片缩略图去背景并放大�?*/
#quotePage .quote-system-page .table-card th:nth-child(3),
#quotePage .quote-system-page .table-card td:nth-child(3){
  width:104px!important;
  min-width:104px!important;
  max-width:104px!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
#quotePage .quote-system-page .quote-image-cell-btn{
  width:86px!important;
  height:64px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  overflow:visible!important;
}
#quotePage .quote-system-page .quote-image-cell-btn .quote-thumb,
#quotePage .quote-system-page .table-card .quote-thumb{
  width:86px!important;
  height:64px!important;
  max-width:86px!important;
  max-height:64px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  display:block!important;
  margin:0 auto!important;
  background:transparent!important;
  box-shadow:0 4px 12px rgba(16,32,45,.10)!important;
}
#quotePage .quote-system-page .quote-image-count-badge{
  right:-5px!important;
  top:-6px!important;
}

/* v20260520_63 产品报价页定点修复：只解决客户名称联想下拉被上传区域遮盖的问题�?*/
#quotePage .quote-system-page .quote-info-band{
  position:relative!important;
  z-index:5000!important;
  overflow:visible!important;
}
#quotePage .quote-system-page .customer-fields{
  position:relative!important;
  z-index:5001!important;
  overflow:visible!important;
}
#quotePage .quote-system-page #customerOptions.quote-customer-suggest{
  z-index: var(--layer-dropdown) !important;
}
#quotePage .quote-system-page .workspace-grid{
  position:relative!important;
  z-index:1!important;
}


/* ========================= V64 订单管理定点返修 ========================= */
/* 1）订单新�?编辑弹窗：只整理订单弹窗布局，避免右侧上传区被挤�?*/
#orderEditModal .order-modal-card-v50{
  width:min(1180px, calc(100vw - 48px))!important;
  max-height:92vh!important;
  overflow:auto!important;
  padding:18px 22px 14px!important;
}
#orderEditModal .order-form-v50{
  max-height:none!important;
  overflow:visible!important;
  gap:12px!important;
}
#orderEditModal .order-basic-grid-v50{
  display:grid!important;
  grid-template-columns:minmax(280px,.85fr) minmax(360px,1.35fr) 210px!important;
  gap:12px!important;
  align-items:start!important;
}
#orderEditModal .order-product-layout-v50{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 185px 230px!important;
  gap:12px!important;
  align-items:stretch!important;
}
#orderEditModal .order-product-fields-v50{
  display:grid!important;
  grid-template-columns:minmax(220px,1.7fr) repeat(3,minmax(86px,1fr))!important;
  gap:9px!important;
  align-items:start!important;
  min-width:0!important;
}
#orderEditModal .order-product-fields-v50 .order-product-field{grid-column:span 2!important;}
#orderEditModal .order-field{min-width:0!important;}
#orderEditModal .order-upload-duo-v50{
  min-width:0!important;
  width:100%!important;
  display:grid!important;
  grid-template-rows:1fr 1fr!important;
  gap:10px!important;
}
#orderEditModal .order-upload-box-v50{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
  align-items:flex-start!important;
}
#orderEditModal .order-upload-box-v50 strong,
#orderEditModal .order-upload-box-v50 small{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#orderEditModal .modal-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:8!important;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.98))!important;
  padding-top:10px!important;
}
@media(max-width:1120px){
  #orderEditModal .order-basic-grid-v50{grid-template-columns:1fr!important;}
  #orderEditModal .order-product-layout-v50{grid-template-columns:1fr!important;}
  #orderEditModal .order-product-fields-v50{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  #orderEditModal .order-product-fields-v50 .order-product-field{grid-column:1 / -1!important;}
  #orderEditModal .order-upload-duo-v50{grid-template-columns:1fr 1fr!important;grid-template-rows:none!important;}
}

/* 2）订单管理页自定义右键菜单：屏蔽浏览器默认菜单，提供订单常用操作 */
.order-row-context-menu{
  position:fixed!important;
  z-index: var(--layer-dropdown) !important;
  width:190px!important;
  padding:6px!important;
  border-radius:12px!important;
  border:1px solid rgba(13,126,119,.16)!important;
  background:#fff!important;
  box-shadow:0 18px 46px rgba(16,32,45,.22)!important;
}
.order-row-context-menu button{
  display:block!important;
  width:100%!important;
  height:34px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  text-align:left!important;
  font-weight:800!important;
  color:#102033!important;
  cursor:pointer!important;
}
.order-row-context-menu button:hover{background:#eafffb!important;color:#0b7a75!important;}
.order-row-context-menu button.danger{color:#b42318!important;}
.order-row-context-menu button.danger:hover{background:#fff1f0!important;color:#b42318!important;}

/* 3）所有通用表格表头锁定，不参与鼠标悬停高亮和文字选中 */
.data-table thead th,
.legacy-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  user-select:none!important;
  background:linear-gradient(180deg,rgba(239,250,248,.98),rgba(231,245,244,.98))!important;
  color:#344054!important;
}
.data-table thead tr:hover,
.data-table thead tr:hover th,
.data-table thead th:hover,
.legacy-table thead tr:hover,
.legacy-table thead tr:hover th,
.legacy-table thead th:hover{
  background:linear-gradient(180deg,rgba(239,250,248,.98),rgba(231,245,244,.98))!important;
  color:#344054!important;
  box-shadow:none!important;
}

/* ========================= V65 订单管理页定点修�?========================= */
/* 本段只作用于订单管理页与订单新增/编辑弹窗，不改产品报价页和首页�?*/
#orderEditModal .order-modal-card-v50{
  width:min(1220px, calc(100vw - 48px))!important;
  max-height:92vh!important;
  overflow:auto!important;
  padding:18px 22px 14px!important;
}
#orderEditModal .order-form-v50{
  gap:12px!important;
  max-height:none!important;
  overflow:visible!important;
}
#orderEditModal .order-form-section{
  padding:13px 16px!important;
  border-radius:18px!important;
}
#orderEditModal .order-basic-grid-v50{
  display:grid!important;
  grid-template-columns:minmax(300px,.95fr) minmax(420px,1.55fr) 176px!important;
  gap:12px!important;
  align-items:start!important;
}
#orderEditModal .order-date-field{
  max-width:176px!important;
  justify-self:stretch!important;
}
#orderEditModal .order-date-field input{
  min-width:0!important;
}
#orderEditModal .order-product-section-v65{
  border-color:rgba(34,197,94,.28)!important;
  background:linear-gradient(180deg,rgba(247,255,251,.96),rgba(255,255,255,.98))!important;
}
#orderEditModal .order-product-layout-v65{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 230px!important;
  gap:14px!important;
  align-items:stretch!important;
}
#orderEditModal .order-product-fields-v65{
  display:grid!important;
  grid-template-columns:minmax(220px,1.55fr) minmax(110px,.68fr) minmax(110px,.68fr) minmax(120px,.78fr)!important;
  gap:10px!important;
  align-items:start!important;
  min-width:0!important;
}
#orderEditModal .order-product-name-field-v65{grid-column:1 / span 3!important;}
#orderEditModal .order-state-field-v65{grid-column:4!important;}
#orderEditModal .order-width-field-v65{grid-column:1!important;}
#orderEditModal .order-height-field-v65{grid-column:2!important;}
#orderEditModal .order-area-field-v65{grid-column:3!important;}
#orderEditModal .order-calc-field-v65{grid-column:4!important;}
#orderEditModal .order-project-price-field-v65{grid-column:1!important;}
#orderEditModal .order-product-price-field-v65{grid-column:2!important;}
#orderEditModal .order-qty-field-v65{grid-column:3!important;}

#orderEditModal .order-area-field-v65 input{
  padding-right:62px!important;
}
#orderEditModal .order-area-field-v65::after{
  content:attr(data-unit-label);
  position:absolute;
  right:22px;
  bottom:20px;
  color:rgba(100,116,139,.55);
  font-size:14px;
  font-weight:850;
  pointer-events:none;
}
#orderEditModal .order-money-card-v65{
  min-height:198px!important;
  padding:18px!important;
  justify-content:center!important;
  background:linear-gradient(145deg,#fff7ed,#fffaf6)!important;
  border:1px solid rgba(234,88,12,.28)!important;
  box-shadow:0 14px 34px rgba(234,88,12,.08)!important;
}
#orderEditModal .order-money-card-v65 span{
  color:#9a3412!important;
  font-size:16px!important;
  font-weight:950!important;
}
#orderEditModal .order-money-card-v65 input{
  height:74px!important;
  line-height:74px!important;
  font-size:34px!important;
  color:#d9480f!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  text-align:center!important;
  font-weight:950!important;
}
#orderEditModal .order-assets-section-v65{
  background:rgba(255,255,255,.92)!important;
}
#orderEditModal .order-assets-grid-v65{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
#orderEditModal .order-image-box-v65,
#orderEditModal .order-file-box-v65,
#orderEditModal .order-note-field-v65{
  min-height:118px!important;
  height:118px!important;
  border-radius:16px!important;
  border:1px dashed rgba(245,158,11,.42)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-image-box-v65,
#orderEditModal .order-file-box-v65{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:14px 16px!important;
  overflow:hidden!important;
}
#orderEditModal .order-image-box-v65 strong,
#orderEditModal .order-file-box-v65 strong{
  color:#0b6f69!important;
  font-size:16px!important;
  font-weight:950!important;
}
#orderEditModal .order-image-box-v65 small,
#orderEditModal .order-file-box-v65 small{
  color:#667085!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:normal!important;
}
#orderEditModal .order-file-box-v65 .ghost-btn{
  height:32px!important;
  margin-top:6px!important;
}
#orderEditModal .order-note-field-v65{
  padding:12px 14px!important;
  border-style:solid!important;
  background:#fff!important;
}
#orderEditModal .order-note-field-v65 textarea{
  min-height:70px!important;
  height:70px!important;
  resize:vertical!important;
}
#orderEditModal #orderImagePreview{
  position:absolute!important;
  right:10px!important;
  bottom:8px!important;
  width:58px!important;
  height:44px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  box-shadow:0 4px 12px rgba(0,0,0,.12)!important;
}
#orderEditModal .order-existing-images{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:0 0 8px!important;
}

#orderEditModal .order-task-line-v65{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 210px!important;
  gap:0!important;
  align-items:stretch!important;
  margin-top:14px!important;
  border:1px solid rgba(31,128,121,.16)!important;
  border-radius:16px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 8px 22px rgba(16,32,45,.035)!important;
}
#orderEditModal .order-task-field-v65{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:10px 12px!important;
}
#orderEditModal .order-task-field-v65 textarea{
  min-height:54px!important;
  height:54px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  resize:vertical!important;
}
#orderEditModal .order-sync-task-line-v65{
  border:0!important;
  border-left:1px solid rgba(31,128,121,.14)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#f8fffd,#ffffff)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  color:#0b7a75!important;
  font-weight:900!important;
}
#orderEditModal .order-sync-task-line-v65 input{
  width:18px!important;
  height:18px!important;
  accent-color:#0b7a75!important;
}
#orderEditModal .modal-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:9!important;
  padding:10px 0 0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.75),rgba(255,255,255,.98))!important;
}
#orderEditModal .modal-actions button{min-width:120px!important;}

/* 订单管理页右键菜单：�?DOM textContent 生成文字，避免乱码；菜单项分组更清晰�?*/
.order-row-context-menu-v65{
  width:202px!important;
  padding:7px!important;
  font-family:"Microsoft YaHei","微软雅黑",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.order-row-context-menu-v65 button{
  height:34px!important;
  line-height:34px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.order-row-context-menu-v65 .order-context-divider{
  height:1px!important;
  margin:5px 4px!important;
  background:rgba(15,118,110,.12)!important;
}

/* 订单管理页表头：仅订单页面和订单明细弹窗内固定、不高亮、不被拖选�?*/
#ordersPage .orders-table thead,
#ordersPage .orders-table thead th,
#orderDetailsModal table thead,
#orderDetailsModal table thead th{
  user-select:none!important;
  -webkit-user-select:none!important;
}
#ordersPage .orders-table thead th,
#orderDetailsModal table thead th{
  position:sticky!important;
  top:0!important;
  z-index:16!important;
  background:linear-gradient(180deg,rgba(239,250,248,.98),rgba(231,245,244,.98))!important;
  color:#344054!important;
  box-shadow:none!important;
}
#ordersPage .orders-table thead tr:hover,
#ordersPage .orders-table thead tr:hover th,
#ordersPage .orders-table thead th:hover,
#orderDetailsModal table thead tr:hover,
#orderDetailsModal table thead tr:hover th,
#orderDetailsModal table thead th:hover{
  background:linear-gradient(180deg,rgba(239,250,248,.98),rgba(231,245,244,.98))!important;
  color:#344054!important;
  box-shadow:none!important;
}
#ordersPage .orders-table thead *::selection,
#orderDetailsModal table thead *::selection{
  background:transparent!important;
  color:inherit!important;
}
@media(max-width:1120px){
  #orderEditModal .order-basic-grid-v50,
  #orderEditModal .order-product-layout-v65,
  #orderEditModal .order-product-fields-v65,
  #orderEditModal .order-assets-grid-v65,
  #orderEditModal .order-task-line-v65{grid-template-columns:1fr!important;}
  #orderEditModal .order-product-name-field-v65,
  #orderEditModal .order-state-field-v65,
  #orderEditModal .order-width-field-v65,
  #orderEditModal .order-height-field-v65,
  #orderEditModal .order-area-field-v65,
  #orderEditModal .order-calc-field-v65,
  #orderEditModal .order-project-price-field-v65,
  #orderEditModal .order-product-price-field-v65,
  #orderEditModal .order-qty-field-v65{grid-column:auto!important;}
}

/* ========================= V66 订单新增/编辑弹窗按确认示意图定点重排 ========================= */
/* 只作用于订单弹窗 #orderEditModal；不改产品报价页、首页和后端逻辑�?*/
#orderEditModal .order-modal-card-v50{
  width:min(1160px, calc(100vw - 54px))!important;
  max-height:92vh!important;
  overflow:auto!important;
  padding:18px 22px 14px!important;
  border-radius:26px!important;
}
#orderEditModal .order-form-v50{
  gap:14px!important;
}
#orderEditModal .order-form-section{
  border-radius:18px!important;
  box-sizing:border-box!important;
}

/* 顶部：客户与订单，只保留客户和订单名称，订单日期移入产品与规格区右上角�?*/
#orderEditModal .order-basic-grid-v66{
  display:grid!important;
  grid-template-columns:380px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
#orderEditModal .order-basic-grid-v66 .order-customer-field,
#orderEditModal .order-basic-grid-v66 .order-name-field-v66{
  min-height:86px!important;
}
#orderEditModal .order-basic-grid-v66 .order-name-field-v66 input{
  width:100%!important;
}

/* 产品与规格：左侧四列表单 + 右侧独立合计卡�?*/
#orderEditModal .order-product-section-v66{
  border:1px solid rgba(34,197,94,.30)!important;
  background:linear-gradient(180deg,rgba(247,255,251,.98),rgba(255,255,255,.98))!important;
}
#orderEditModal .order-product-layout-v66{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 290px!important;
  gap:16px!important;
  align-items:stretch!important;
}
#orderEditModal .order-product-fields-v66{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  min-width:0!important;
}
#orderEditModal .order-product-name-field-v66{grid-column:1 / span 3!important;}
#orderEditModal .order-date-field-v66{grid-column:4!important;max-width:none!important;justify-self:stretch!important;}
#orderEditModal .order-width-field-v66{grid-column:1!important;}
#orderEditModal .order-height-field-v66{grid-column:2!important;}
#orderEditModal .order-area-field-v66{grid-column:3!important;}
#orderEditModal .order-calc-field-v66{grid-column:4!important;}
#orderEditModal .order-project-price-field-v66{grid-column:1!important;}
#orderEditModal .order-product-price-field-v66{grid-column:2!important;}
#orderEditModal .order-qty-field-v66{grid-column:3!important;}
#orderEditModal .order-state-field-v66{grid-column:4!important;}


/* 面积/长度不再显示单位提示，单位由右侧“计算方式”字段承担�?*/




#orderEditModal .order-money-card-v66{
  min-height:218px!important;
  padding:22px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  background:linear-gradient(145deg,#fff7ed,#fffaf6)!important;
  border:1px solid rgba(234,88,12,.30)!important;
  box-shadow:0 14px 34px rgba(234,88,12,.08)!important;
}
#orderEditModal .order-money-card-v66 span{
  color:#9a3412!important;
  font-size:16px!important;
  font-weight:950!important;
}
#orderEditModal .order-money-card-v66 input{
  height:86px!important;
  line-height:86px!important;
  font-size:40px!important;
  color:#d9480f!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  text-align:center!important;
  font-weight:950!important;
}

/* 图片、文件、同步任务三等分；备注单独整行�?*/
#orderEditModal .order-assets-section-v66{
  background:rgba(255,255,255,.96)!important;
}
#orderEditModal .order-assets-grid-v66{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66,
#orderEditModal .order-task-card-v66{
  min-height:136px!important;
  height:136px!important;
  border-radius:16px!important;
  border:1px dashed rgba(245,158,11,.46)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:15px 18px!important;
  overflow:hidden!important;
}
#orderEditModal .order-task-card-v66{
  display:flex!important;
  flex-direction:column!important;
  padding:13px 16px!important;
  gap:9px!important;
  overflow:hidden!important;
}
#orderEditModal .order-task-card-v66 .order-sync-task-line-v66{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  height:auto!important;
  min-height:24px!important;
  padding:0!important;
  color:#0b7a75!important;
  font-weight:950!important;
}
#orderEditModal .order-task-card-v66 .order-sync-task-line-v66 input{
  width:18px!important;
  height:18px!important;
  accent-color:#0b7a75!important;
}
#orderEditModal .order-task-card-v66 .order-task-field-v66{
  flex:1!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}

#orderEditModal .order-task-card-v66 .order-task-field-v66 textarea{
  width:100%!important;
  height:74px!important;
  min-height:74px!important;
  border:1px solid rgba(31,128,121,.12)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.92)!important;
  padding:10px 12px!important;
  resize:none!important;
  box-shadow:none!important;
}
#orderEditModal .order-note-field-v66{
  margin-top:16px!important;
  min-height:126px!important;
  height:auto!important;
  padding:14px 16px!important;
  border-radius:16px!important;
  border:1px solid rgba(245,158,11,.32)!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-note-field-v66 textarea{
  height:78px!important;
  min-height:78px!important;
  resize:vertical!important;
}

@media(max-width:1120px){
  #orderEditModal .order-basic-grid-v66,
  #orderEditModal .order-product-layout-v66,
  #orderEditModal .order-product-fields-v66,
  #orderEditModal .order-assets-grid-v66{
    grid-template-columns:1fr!important;
  }
  #orderEditModal .order-product-name-field-v66,
  #orderEditModal .order-date-field-v66,
  #orderEditModal .order-width-field-v66,
  #orderEditModal .order-height-field-v66,
  #orderEditModal .order-area-field-v66,
  #orderEditModal .order-calc-field-v66,
  #orderEditModal .order-project-price-field-v66,
  #orderEditModal .order-product-price-field-v66,
  #orderEditModal .order-qty-field-v66,
  #orderEditModal .order-state-field-v66{
    grid-column:auto!important;
  }
}
#orderEditModal .order-image-box-v66{position:relative!important;}

/* ========================= V67 新增/编辑订单弹窗按用户标注图定点修正 ========================= */
/* 只覆�?#orderEditModal 内部布局；不改产品报价页、首页、保�?上传/计算逻辑�?*/
#orderEditModal{
  overflow:hidden!important;
}
#orderEditModal .order-modal-card-v50{
  width:min(1160px, calc(100vw - 38px))!important;
  max-height:calc(100vh - 26px)!important;
  overflow:hidden!important;
  padding:16px 22px 12px!important;
  border-radius:26px!important;
  box-sizing:border-box!important;
}
#orderEditModal .modal-head{
  margin-bottom:10px!important;
}
#orderEditModal .order-form-v50{
  gap:10px!important;
  max-height:none!important;
  overflow:visible!important;
}
#orderEditModal .order-form-section{
  padding:12px 14px!important;
  border-radius:18px!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-section-title{
  margin-bottom:8px!important;
}
#orderEditModal .order-section-title strong{
  font-size:19px!important;
}
#orderEditModal .order-section-title span{
  font-size:13px!important;
}
#orderEditModal .order-field{
  padding:10px 12px!important;
  min-height:72px!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-field span{
  margin-bottom:5px!important;
  font-size:14px!important;
}
#orderEditModal .order-field input,
#orderEditModal .order-field select{
  height:42px!important;
  min-height:42px!important;
  font-size:17px!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-field textarea{
  box-sizing:border-box!important;
}

#orderEditModal .input-with-btn input{
  height:42px!important;
  min-width:0!important;
}
#orderEditModal .input-with-btn button{
  width:50px!important;
  min-width:50px!important;
  height:42px!important;
}

/* 顶部客户与订单：只保留客户和订单名称，两列铺开�?*/
#orderEditModal .order-basic-grid-v66,
#orderEditModal .order-basic-grid-v50{
  display:grid!important;
  grid-template-columns:minmax(360px,.86fr) minmax(0,1.34fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}
#orderEditModal .order-basic-grid-v66 .order-customer-field,
#orderEditModal .order-basic-grid-v66 .order-name-field-v66{
  min-height:82px!important;
}

/* 产品与规格：父级直接承担五列网格；产品名称在左，订单日期在右上，合计在右下�?*/
#orderEditModal .order-product-section-v66{
  border:1px solid rgba(34,197,94,.32)!important;
  background:linear-gradient(180deg,rgba(247,255,251,.98),rgba(255,255,255,.98))!important;
}
#orderEditModal .order-product-layout-v66{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr)) 330px!important;
  grid-template-rows:auto auto auto!important;
  gap:12px 14px!important;
  align-items:stretch!important;
}

#orderEditModal .order-product-name-field-v66{
  grid-column:1 / 5!important;
  grid-row:1!important;
  min-height:82px!important;
}
#orderEditModal .order-date-field-v66{
  grid-column:5!important;
  grid-row:1!important;
  min-height:82px!important;
  max-width:none!important;
  justify-self:stretch!important;
  border-color:rgba(245,158,11,.38)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
}










#orderEditModal .order-area-field-v66 input{
  padding-right:12px!important;
}


/* 合计金额：右侧下方，数字放大，去掉数字背后的色块，并允许复制金额文字�?*/
#orderEditModal .order-money-card-v66{
  grid-column:5!important;
  grid-row:2 / span 2!important;
  min-height:156px!important;
  height:100%!important;
  padding:20px 24px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  background:linear-gradient(145deg,#fff8f1,#fffdf9)!important;
  border:1px solid rgba(234,88,12,.32)!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
}
#orderEditModal .order-money-card-v66 span{
  color:#9a3412!important;
  font-size:17px!important;
  font-weight:950!important;
  margin-bottom:16px!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .order-money-card-v66 input{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:58px!important;
  line-height:1.05!important;
  font-size:44px!important;
  color:#d9480f!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  text-align:center!important;
  font-weight:950!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
  pointer-events:auto!important;
}

/* 图片、文件与备注：上传图�?/ 上传文件 / 同步工作任务内容 同一行三等分；备注紧跟其下整行�?*/
#orderEditModal .order-assets-section-v66{
  background:rgba(255,255,255,.96)!important;
  padding-bottom:12px!important;
}
#orderEditModal .order-existing-images{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:0 0 6px!important;
  min-height:0!important;
}
#orderEditModal .order-existing-images.hidden{
  display:none!important;
}

#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66,
#orderEditModal .order-task-card-v66{
  min-height:120px!important;
  height:120px!important;
  border-radius:16px!important;
  border:1px dashed rgba(245,158,11,.48)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:14px 18px!important;
  overflow:hidden!important;
  text-align:left!important;
}
#orderEditModal .order-image-box-v66 strong,
#orderEditModal .order-file-box-v66 strong{
  color:#0b6f69!important;
  font-size:18px!important;
  font-weight:950!important;
  margin-bottom:8px!important;
}
#orderEditModal .order-image-box-v66 small,
#orderEditModal .order-file-box-v66 small{
  font-size:13px!important;
  line-height:1.35!important;
  color:#667085!important;
  white-space:normal!important;
}
#orderEditModal .order-file-box-v66 .ghost-btn{
  height:32px!important;
  margin-top:8px!important;
}
#orderEditModal .order-task-card-v66{
  display:flex!important;
  flex-direction:column!important;
  padding:13px 16px!important;
  gap:8px!important;
  overflow:hidden!important;
}
#orderEditModal .order-task-card-v66 .order-sync-task-line-v66{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:24px!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#0b7a75!important;
  font-size:16px!important;
  font-weight:950!important;
}
#orderEditModal .order-task-card-v66 .order-sync-task-line-v66 input{
  width:20px!important;
  height:20px!important;
  accent-color:#0b7a75!important;
}
#orderEditModal .order-task-card-v66 .order-task-field-v66{
  flex:1!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#orderEditModal .order-task-card-v66 .order-task-field-v66 span{
  display:none!important;
}
#orderEditModal .order-task-card-v66 .order-task-field-v66 textarea{
  width:100%!important;
  height:68px!important;
  min-height:68px!important;
  resize:none!important;
  border:1px solid rgba(31,128,121,.13)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.95)!important;
  padding:9px 12px!important;
  box-shadow:none!important;
}
#orderEditModal .order-note-field-v66{
  margin-top:14px!important;
  min-height:104px!important;
  height:auto!important;
  padding:12px 16px!important;
  border-radius:16px!important;
  border:1px solid rgba(245,158,11,.36)!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-note-field-v66 textarea{
  height:60px!important;
  min-height:60px!important;
  resize:none!important;
}

/* 底部按钮：整体居中，按钮之间留距离，不贴边�?*/
#orderEditModal .modal-actions{
  position:static!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:44px!important;
  padding:12px 0 0!important;
  margin:0!important;
  background:transparent!important;
}
#orderEditModal .modal-actions .primary-btn,
#orderEditModal .modal-actions .ghost-btn{
  min-width:150px!important;
  height:48px!important;
  font-size:18px!important;
  border-radius:12px!important;
}

/* 标准窗口下尽量保持一屏，无横向滚动条。窄屏才单列自适应�?*/
@media(max-width:1180px){
  #orderEditModal .order-product-layout-v66{
    grid-template-columns:repeat(4,minmax(0,1fr)) 300px!important;
  }
}
@media(max-width:980px){




}

/* ========================= V68 订单弹窗最终布局强制覆盖 ========================= */
/* 仅作用于订单新增/编辑弹窗；不影响产品报价页和首页�?*/
#orderEditModal:not(.hidden){
  overflow:hidden!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px!important;
}
#orderEditModal .order-modal-card-v50{
  width:min(1180px, calc(100vw - 28px))!important;
  max-width:1180px!important;
  max-height:calc(100vh - 20px)!important;
  overflow:hidden!important;
  padding:16px 22px 14px!important;
  border-radius:26px!important;
  box-sizing:border-box!important;
}
#orderEditModal .modal-head{
  margin:0 0 10px!important;
  min-height:46px!important;
  flex:0 0 auto!important;
}
#orderEditModal .order-form-v50{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  overflow:visible!important;
  max-height:none!important;
}
#orderEditModal .order-form-section{
  padding:12px 14px!important;
  border-radius:18px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
#orderEditModal .order-section-title{
  height:24px!important;
  min-height:24px!important;
  margin:0 0 8px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
#orderEditModal .order-section-title strong{font-size:19px!important;line-height:1!important;}
#orderEditModal .order-section-title span{font-size:13px!important;line-height:1!important;}
#orderEditModal .order-field{
  min-height:70px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-field span{
  font-size:14px!important;
  margin:0 0 5px!important;
  line-height:1.15!important;
}
#orderEditModal .order-field input,
#orderEditModal .order-field select{
  height:40px!important;
  min-height:40px!important;
  font-size:17px!important;
  box-sizing:border-box!important;
}
#orderEditModal .input-with-btn{display:flex!important;gap:8px!important;min-width:0!important;}
#orderEditModal .input-with-btn input{height:40px!important;min-width:0!important;}
#orderEditModal .input-with-btn button{width:50px!important;min-width:50px!important;height:40px!important;}

/* 顶部客户与订单：两栏，不放订单日期�?*/
#orderEditModal .order-basic-section-v66{height:146px!important;min-height:146px!important;}
#orderEditModal .order-basic-grid-v66,
#orderEditModal .order-basic-grid-v50{
  display:grid!important;
  grid-template-columns:minmax(390px,.82fr) minmax(0,1.38fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}


/* 产品与规格：产品名称左侧，订单日期右上，合计右下�?*/
#orderEditModal .order-product-section-v66{
  height:318px!important;
  min-height:318px!important;
  border:1px solid rgba(34,197,94,.32)!important;
  background:linear-gradient(180deg,rgba(247,255,251,.98),rgba(255,255,255,.98))!important;
}
#orderEditModal .order-product-layout-v66{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr)) 340px!important;
  grid-template-rows:74px 74px 74px!important;
  gap:12px 14px!important;
  align-items:stretch!important;
}
#orderEditModal .order-product-fields-v66{display:contents!important;}
#orderEditModal .order-product-name-field-v66{grid-column:1 / 5!important;grid-row:1!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-date-field-v66{
  grid-column:5!important;grid-row:1!important;
  height:74px!important;min-height:74px!important;
  border-color:rgba(245,158,11,.36)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
}
#orderEditModal .order-width-field-v66{grid-column:1!important;grid-row:2!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-height-field-v66{grid-column:2!important;grid-row:2!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-area-field-v66{grid-column:3!important;grid-row:2!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-calc-field-v66{grid-column:4!important;grid-row:2!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-project-price-field-v66{grid-column:1!important;grid-row:3!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-product-price-field-v66{grid-column:2!important;grid-row:3!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-qty-field-v66{grid-column:3!important;grid-row:3!important;height:74px!important;min-height:74px!important;}
#orderEditModal .order-state-field-v66{grid-column:4!important;grid-row:3!important;height:74px!important;min-height:74px!important;}

#orderEditModal .order-area-field-v66::after{content:none!important;display:none!important;}
#orderEditModal .order-area-field-v66 input::placeholder{color:transparent!important;}
#orderEditModal .order-money-card-v66{
  grid-column:5!important;grid-row:2 / 4!important;
  height:160px!important;min-height:160px!important;
  padding:18px 22px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  background:linear-gradient(145deg,#fff8f1,#fffdf9)!important;
  border:1px solid rgba(234,88,12,.32)!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
}
#orderEditModal .order-money-card-v66 span{
  color:#9a3412!important;
  font-size:18px!important;
  font-weight:950!important;
  margin:0 0 18px!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .order-money-card-v66 input{
  width:100%!important;
  height:auto!important;
  min-height:54px!important;
  line-height:1.05!important;
  font-size:48px!important;
  color:#d9480f!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  text-align:center!important;
  font-weight:950!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
  pointer-events:auto!important;
}

/* 图片、文件、同步任务三等分；备注独占一整行并上移�?*/
#orderEditModal .order-assets-section-v66{
  height:320px!important;
  min-height:320px!important;
  padding:12px 14px!important;
  background:rgba(255,255,255,.96)!important;
}

#orderEditModal .order-existing-images{margin:0 0 4px!important;min-height:0!important;}
#orderEditModal .order-assets-grid-v66{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  margin:0!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66,
#orderEditModal .order-task-card-v66{
  grid-column:auto!important;
  width:auto!important;
  height:108px!important;
  min-height:108px!important;
  border-radius:16px!important;
  border:1px dashed rgba(245,158,11,.48)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:12px 18px!important;
  overflow:hidden!important;
  text-align:left!important;
}
#orderEditModal .order-image-box-v66 strong,
#orderEditModal .order-file-box-v66 strong{font-size:18px!important;color:#0b6f69!important;margin-bottom:7px!important;}
#orderEditModal .order-image-box-v66 small,
#orderEditModal .order-file-box-v66 small{font-size:13px!important;line-height:1.32!important;color:#667085!important;}
#orderEditModal .order-file-box-v66 .ghost-btn{height:30px!important;margin-top:7px!important;}
#orderEditModal .order-task-card-v66{
  display:flex!important;
  flex-direction:column!important;
  padding:12px 16px!important;
  gap:7px!important;
  overflow:hidden!important;
}
#orderEditModal .order-sync-task-line-v66{padding:0!important;border:0!important;background:transparent!important;height:22px!important;min-height:22px!important;display:flex!important;align-items:center!important;gap:9px!important;color:#0b7a75!important;font-size:16px!important;font-weight:950!important;}
#orderEditModal .order-sync-task-line-v66 input{width:19px!important;height:19px!important;accent-color:#0b7a75!important;}
#orderEditModal .order-task-field-v66{flex:1!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;}

#orderEditModal .order-task-field-v66 textarea{height:60px!important;min-height:60px!important;resize:none!important;border:1px solid rgba(31,128,121,.13)!important;border-radius:12px!important;background:#fff!important;padding:8px 12px!important;box-shadow:none!important;}
#orderEditModal .order-note-field-v66{
  margin-top:12px!important;
  height:118px!important;
  min-height:118px!important;
  padding:12px 16px!important;
  border-radius:16px!important;
  border:1px solid rgba(245,158,11,.36)!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-note-field-v66 textarea{height:70px!important;min-height:70px!important;resize:none!important;}

#orderEditModal .modal-actions{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:48px!important;
  padding:12px 0 0!important;
  margin:0!important;
  background:transparent!important;
}
#orderEditModal .modal-actions .primary-btn,
#orderEditModal .modal-actions .ghost-btn{min-width:150px!important;height:48px!important;border-radius:12px!important;font-size:18px!important;}

@media(max-height:860px){
  #orderEditModal .order-basic-section-v66{height:132px!important;min-height:132px!important;}
  #orderEditModal .order-product-section-v66{height:300px!important;min-height:300px!important;}
  #orderEditModal .order-assets-section-v66{height:286px!important;min-height:286px!important;}
  #orderEditModal .order-product-layout-v66{grid-template-rows:68px 68px 68px!important;}
  #orderEditModal .order-product-name-field-v66,
  #orderEditModal .order-date-field-v66,
  #orderEditModal .order-width-field-v66,
  #orderEditModal .order-height-field-v66,
  #orderEditModal .order-area-field-v66,
  #orderEditModal .order-calc-field-v66,
  #orderEditModal .order-project-price-field-v66,
  #orderEditModal .order-product-price-field-v66,
  #orderEditModal .order-qty-field-v66,
  #orderEditModal .order-state-field-v66{height:68px!important;min-height:68px!important;}
  #orderEditModal .order-image-box-v66,
  #orderEditModal .order-file-box-v66,
  #orderEditModal .order-task-card-v66{height:96px!important;min-height:96px!important;}
  #orderEditModal .order-note-field-v66{height:102px!important;min-height:102px!important;}
  #orderEditModal .order-note-field-v66 textarea{height:56px!important;min-height:56px!important;}
}

@media(max-width:980px){
  #orderEditModal .order-modal-card-v50{overflow:auto!important;}
  #orderEditModal .order-basic-grid-v66,
  #orderEditModal .order-basic-grid-v50,
  #orderEditModal .order-product-layout-v66,
  #orderEditModal .order-assets-grid-v66{grid-template-columns:1fr!important;}
  #orderEditModal .order-product-fields-v66{display:grid!important;grid-template-columns:1fr!important;}
  #orderEditModal .order-product-name-field-v66,
  #orderEditModal .order-date-field-v66,
  #orderEditModal .order-width-field-v66,
  #orderEditModal .order-height-field-v66,
  #orderEditModal .order-area-field-v66,
  #orderEditModal .order-calc-field-v66,
  #orderEditModal .order-project-price-field-v66,
  #orderEditModal .order-product-price-field-v66,
  #orderEditModal .order-qty-field-v66,
  #orderEditModal .order-state-field-v66,
  #orderEditModal .order-money-card-v66{grid-column:auto!important;grid-row:auto!important;}
}

/* V68 金额输入框专门覆盖：取消旧版 #orderFormTotal 浅色背景框�?*/
#orderEditModal #orderFormTotal{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
}

/* V68 保证上传三等分卡片标题始终可见�?*/
#orderEditModal .order-image-box-v66 strong,
#orderEditModal .order-file-box-v66 strong,
#orderEditModal .order-task-card-v66 .order-sync-task-line-v66 span{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
}

/* ================= V70 order modal real layout reset =================
   Scope: #orderEditModal only. Do not affect quote page or home page.
*/
#orderEditModal .order-modal-card-v50{
  width:min(1080px, calc(100vw - 72px))!important;
  max-width:min(1080px, calc(100vw - 72px))!important;
  height:min(820px, calc(100vh - 42px))!important;
  max-height:min(820px, calc(100vh - 42px))!important;
  overflow:hidden!important;
  padding:16px 22px 14px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
#orderEditModal .modal-head{flex:0 0 auto!important;margin:0!important;padding:0 0 4px!important;height:42px!important;min-height:42px!important;}
#orderEditModal .order-form-modern.order-form-v50{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:144px 302px 238px!important;
  gap:12px!important;
}
#orderEditModal .order-form-section{box-sizing:border-box!important;margin:0!important;overflow:visible!important;}
#orderEditModal .order-section-title{height:26px!important;min-height:26px!important;margin:0 0 8px!important;display:flex!important;align-items:center!important;gap:12px!important;}
#orderEditModal .order-section-title strong{font-size:19px!important;font-weight:900!important;line-height:1!important;}
#orderEditModal .order-section-title span{font-size:13px!important;font-weight:700!important;color:#78909c!important;}
#orderEditModal .order-field{min-width:0!important;box-sizing:border-box!important;padding:12px 14px!important;border-radius:14px!important;box-shadow:none!important;}
#orderEditModal .order-field span{font-size:14px!important;font-weight:800!important;color:#1f2937!important;line-height:1.1!important;margin-bottom:7px!important;}
#orderEditModal .order-field input,
#orderEditModal .order-field select,
#orderEditModal .order-field textarea{
  font-size:16px!important;
  font-weight:650!important;
  color:#111827!important;
  box-sizing:border-box!important;
}
#orderEditModal input::placeholder,
#orderEditModal textarea::placeholder{
  font-size:13px!important;
  font-weight:500!important;
  color:#8a97a8!important;
}
#orderEditModal .input-with-btn{height:42px!important;display:flex!important;gap:8px!important;}
#orderEditModal .input-with-btn input{height:42px!important;flex:1 1 auto!important;min-width:0!important;}
#orderEditModal .input-with-btn button{height:42px!important;width:52px!important;min-width:52px!important;}

/* top: customer and order */
#orderEditModal .order-basic-section-v66{height:144px!important;min-height:144px!important;padding:18px 20px!important;border-radius:20px!important;}
#orderEditModal .order-basic-grid-v66,
#orderEditModal .order-basic-grid-v50{
  display:grid!important;
  grid-template-columns:430px 1fr!important;
  gap:16px!important;
  align-items:stretch!important;
  height:82px!important;
}
#orderEditModal .order-basic-grid-v66 .order-customer-field,
#orderEditModal .order-basic-grid-v66 .order-name-field-v66{
  height:82px!important;min-height:82px!important;
}

/* middle: product/spec exact structure */
#orderEditModal .order-product-section-v66{
  height:302px!important;
  min-height:302px!important;
  padding:16px 20px!important;
  border-radius:20px!important;
  border:1px solid rgba(16,185,129,.32)!important;
  background:linear-gradient(180deg,#f8fffb,#ffffff)!important;
}
#orderEditModal .order-product-layout-v66{
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) 330px!important;
  grid-template-rows:82px 166px!important;
  column-gap:18px!important;
  row-gap:10px!important;
  height:248px!important;
  align-items:stretch!important;
}
#orderEditModal .order-product-fields-v66{
  grid-column:1!important;
  grid-row:1 / 3!important;
  display:grid!important;
  grid-template-columns:repeat(4, minmax(0,1fr))!important;
  grid-template-rows:82px 72px 72px!important;
  gap:10px 12px!important;
  min-width:0!important;
}
#orderEditModal .order-product-name-field-v66{
  grid-column:1 / 5!important;
  grid-row:1!important;
  height:82px!important;
  min-height:82px!important;
}
#orderEditModal .order-width-field-v66{grid-column:1!important;grid-row:2!important;}
#orderEditModal .order-height-field-v66{grid-column:2!important;grid-row:2!important;}
#orderEditModal .order-area-field-v66{grid-column:3!important;grid-row:2!important;}
#orderEditModal .order-calc-field-v66{grid-column:4!important;grid-row:2!important;}
#orderEditModal .order-project-price-field-v66{grid-column:1!important;grid-row:3!important;}
#orderEditModal .order-product-price-field-v66{grid-column:2!important;grid-row:3!important;}
#orderEditModal .order-qty-field-v66{grid-column:3!important;grid-row:3!important;}
#orderEditModal .order-state-field-v66{grid-column:4!important;grid-row:3!important;}
#orderEditModal .order-width-field-v66,
#orderEditModal .order-height-field-v66,
#orderEditModal .order-area-field-v66,
#orderEditModal .order-calc-field-v66,
#orderEditModal .order-project-price-field-v66,
#orderEditModal .order-product-price-field-v66,
#orderEditModal .order-qty-field-v66,
#orderEditModal .order-state-field-v66{height:72px!important;min-height:72px!important;padding:10px 12px!important;}
#orderEditModal .order-width-field-v66 input,
#orderEditModal .order-height-field-v66 input,
#orderEditModal .order-area-field-v66 input,
#orderEditModal .order-project-price-field-v66 input,
#orderEditModal .order-product-price-field-v66 input,
#orderEditModal .order-qty-field-v66 input,
#orderEditModal .order-calc-field-v66 select,
#orderEditModal .order-state-field-v66 select{height:36px!important;min-height:36px!important;}
#orderEditModal .order-date-field-v66{
  grid-column:2!important;
  grid-row:1!important;
  height:82px!important;min-height:82px!important;
  padding:12px 16px!important;
  border-color:rgba(245,158,11,.36)!important;
  background:linear-gradient(180deg,#fffdf8,#ffffff)!important;
}
#orderEditModal .order-date-field-v66 input{height:42px!important;}
#orderEditModal .order-money-card-v66{
  grid-column:2!important;
  grid-row:2!important;
  height:166px!important;min-height:166px!important;
  padding:22px 26px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:stretch!important;
  background:linear-gradient(180deg,#fffaf4,#fffdfb)!important;
  border:1px solid rgba(234,88,12,.33)!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .order-money-card-v66 span{font-size:18px!important;color:#9a3412!important;margin:0 0 14px!important;font-weight:900!important;}
#orderEditModal .order-money-card-v66 input,
#orderEditModal #orderFormTotal{
  font-size:46px!important;
  line-height:1!important;
  color:#d9480f!important;
  font-weight:950!important;
  text-align:center!important;
  height:auto!important;
  min-height:58px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text!important;
}
#orderEditModal .order-unit-hidden-v65{display:none!important;}

/* bottom assets: 3 equal cards + full-width note */
#orderEditModal .order-assets-section-v66{
  height:238px!important;
  min-height:238px!important;
  padding:14px 20px!important;
  border-radius:20px!important;
}
#orderEditModal .order-existing-images:empty{display:none!important;}
#orderEditModal .order-assets-grid-v66{
  display:grid!important;
  grid-template-columns:repeat(3, minmax(0, 1fr))!important;
  gap:14px!important;
  height:86px!important;
  margin:0 0 12px!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66,
#orderEditModal .order-task-card-v66{
  height:86px!important;
  min-height:86px!important;
  width:auto!important;
  border-radius:14px!important;
  border:1px dashed rgba(245,158,11,.46)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#orderEditModal .order-image-box-v66,
#orderEditModal .order-file-box-v66{padding:12px 18px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;cursor:pointer!important;}
#orderEditModal .order-image-box-v66 strong,
#orderEditModal .order-file-box-v66 strong{font-size:17px!important;color:#0b6f69!important;margin:0 0 5px!important;}
#orderEditModal .order-image-box-v66 small,
#orderEditModal .order-file-box-v66 small{font-size:12px!important;font-weight:500!important;line-height:1.25!important;color:#667085!important;}
#orderEditModal .order-file-box-v66 #orderFormFileUploadBtn{display:none!important;}
#orderEditModal .order-task-card-v66{padding:11px 16px!important;display:flex!important;flex-direction:column!important;gap:6px!important;}
#orderEditModal .order-sync-task-line-v66{height:20px!important;min-height:20px!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;gap:8px!important;color:#0b7a75!important;font-size:15px!important;font-weight:850!important;}
#orderEditModal .order-sync-task-line-v66 input{width:18px!important;height:18px!important;}
#orderEditModal .order-task-field-v66{flex:1!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
#orderEditModal .order-task-field-v66 span{display:none!important;}
#orderEditModal .order-task-field-v66 textarea{height:48px!important;min-height:48px!important;resize:none!important;border:1px solid rgba(31,128,121,.15)!important;border-radius:11px!important;padding:7px 10px!important;background:#fff!important;font-size:13px!important;font-weight:500!important;}
#orderEditModal .order-note-field-v66{
  height:86px!important;min-height:86px!important;
  margin:0!important;
  padding:10px 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(245,158,11,.35)!important;
  background:#fff!important;
}
#orderEditModal .order-note-field-v66 textarea{height:45px!important;min-height:45px!important;resize:none!important;font-size:14px!important;font-weight:500!important;}
#orderEditModal .modal-actions{flex:0 0 54px!important;height:54px!important;min-height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:58px!important;padding:4px 0 0!important;margin:0!important;}
#orderEditModal .modal-actions button{width:150px!important;min-width:150px!important;height:44px!important;border-radius:12px!important;}

/* V70 quote item unit price: editable numeric only, no unit suffix. */
#quotePage .quote-unit-price-cell{min-width:92px!important;}
#quotePage .quote-unit-price-input{
  width:78px!important;
  height:32px!important;
  text-align:center!important;
  border:1px solid #dbe7ea!important;
  border-radius:8px!important;
  background:#fff!important;
  font-weight:700!important;
  color:#0f172a!important;
}
#quotePage .quote-unit-price-input:focus{outline:none!important;border-color:#0f766e!important;box-shadow:0 0 0 2px rgba(15,118,110,.12)!important;}

/* ================= V71 order add/edit modal clean layout ================= */
#orderEditModal:not(.hidden){
  overflow:hidden!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px!important;
}
#orderEditModal .oq-modal-card{
  width:min(1180px,calc(100vw - 48px))!important;
  max-width:min(1180px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 28px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:24px 28px 20px!important;
  border-radius:26px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,252,251,.97))!important;
}
#orderEditModal .oq-modal-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:48px!important;
  flex:0 0 auto!important;
}
#orderEditModal .oq-modal-head strong{
  font-size:22px!important;
  line-height:1!important;
  color:#102033!important;
  font-weight:950!important;
}
#orderEditModal .oq-modal-head #closeOrderModal{
  min-width:74px!important;
  height:46px!important;
  border-radius:12px!important;
  font-size:18px!important;
  font-weight:900!important;
}
#orderEditModal .oq-form{
  display:flex!important;
  flex-direction:column!important;
  gap:24px!important;
  min-width:0!important;
}
#orderEditModal .oq-section{
  box-sizing:border-box!important;
  border:1px solid rgba(13,148,136,.16)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.74)!important;
  padding:18px 20px 20px!important;
  overflow:visible!important;
  box-shadow:0 10px 26px rgba(16,32,45,.045)!important;
}
#orderEditModal .oq-basic-section{border-color:rgba(13,148,136,.15)!important;}
#orderEditModal .oq-product-section{
  border-color:rgba(34,197,94,.34)!important;
  background:linear-gradient(180deg,rgba(248,255,251,.98),rgba(255,255,255,.98))!important;
}
#orderEditModal .oq-assets-section{
  border-color:rgba(13,148,136,.14)!important;
  background:rgba(255,255,255,.86)!important;
}
#orderEditModal .oq-section-title{
  display:flex!important;
  align-items:baseline!important;
  gap:14px!important;
  margin:0 0 14px!important;
  min-height:26px!important;
}
#orderEditModal .oq-section-title strong{
  font-size:22px!important;
  line-height:1!important;
  color:#102033!important;
  font-weight:950!important;
}
#orderEditModal .oq-section-title span{
  font-size:14px!important;
  line-height:1!important;
  color:#78909c!important;
  font-weight:800!important;
}
#orderEditModal .oq-basic-grid{
  display:grid!important;
  grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}
#orderEditModal .oq-product-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 310px!important;
  gap:18px!important;
  align-items:stretch!important;
}
#orderEditModal .oq-product-left{
  display:grid!important;
  grid-template-rows:auto auto!important;
  gap:12px!important;
  min-width:0!important;
}
#orderEditModal .oq-spec-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  min-width:0!important;
}
#orderEditModal .oq-product-side{
  display:grid!important;
  grid-template-rows:120px minmax(154px,1fr)!important;
  gap:14px!important;
  min-width:0!important;
}
#orderEditModal .oq-field,
#orderEditModal .oq-note-field,
#orderEditModal .oq-task-card,
#orderEditModal .oq-upload-card{
  box-sizing:border-box!important;
  border:1px solid rgba(31,128,121,.14)!important;
  border-radius:16px!important;
  background:rgba(248,251,252,.88)!important;
}
#orderEditModal .oq-field{
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  min-width:0!important;
  padding:14px 16px!important;
  min-height:94px!important;
  position:relative!important;
}
#orderEditModal .oq-product-name-field{min-height:102px!important;}
#orderEditModal .oq-spec-grid .oq-field{
  min-height:104px!important;
  padding:13px 14px!important;
}
#orderEditModal .oq-field > span,
#orderEditModal .oq-note-field > span{
  display:block!important;
  font-size:17px!important;
  line-height:1.15!important;
  color:#1f2937!important;
  font-weight:900!important;
  margin:0!important;
}
#orderEditModal .oq-field input,
#orderEditModal .oq-field select,
#orderEditModal .oq-note-field textarea,
#orderEditModal .oq-task-card textarea{
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid rgba(31,128,121,.20)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#102033!important;
  font-size:17px!important;
  font-weight:700!important;
  outline:none!important;
  box-shadow:none!important;
}
#orderEditModal .oq-field input,
#orderEditModal .oq-field select{
  height:46px!important;
  min-height:46px!important;
  padding:8px 12px!important;
}
#orderEditModal .oq-field input::placeholder,
#orderEditModal .oq-task-card textarea::placeholder{
  color:#8a97a8!important;
  font-size:15px!important;
  font-weight:500!important;
}
#orderEditModal .oq-input-with-btn{
  display:flex!important;
  gap:10px!important;
  min-width:0!important;
}
#orderEditModal .oq-input-with-btn input{
  flex:1 1 auto!important;
  min-width:0!important;
}
#orderEditModal .oq-input-with-btn button{
  flex:0 0 52px!important;
  width:52px!important;
  min-width:52px!important;
  height:46px!important;
  border:1px solid rgba(31,128,121,.22)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#111827!important;
  font-size:18px!important;
  font-weight:950!important;
  cursor:pointer!important;
}
#orderEditModal .oq-suggest{
  top:96px!important;
  left:0!important;
  right:0!important;
  z-index:50!important;
  max-height:280px!important;
  overflow:auto!important;
}
#orderEditModal .oq-hidden-unit{display:none!important;}
#orderEditModal .oq-money-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  min-width:0!important;
  padding:24px 24px 22px!important;
  border:1px solid rgba(234,88,12,.32)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fffaf4,#fffdfb)!important;
  box-shadow:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-money-card span{
  color:#9a3412!important;
  font-size:22px!important;
  font-weight:950!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-money-card textarea,
#orderEditModal .oq-money-card input,
#orderEditModal #orderFormTotal{
  width:100%!important;
  min-height:64px!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#d9480f!important;
  font-size:48px!important;
  line-height:1!important;
  font-weight:950!important;
  text-align:right!important;
  cursor:text!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-existing-images:empty{display:none!important;}
#orderEditModal .oq-existing-images{
  margin:0 0 10px!important;
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
#orderEditModal .oq-assets-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  min-width:0!important;
}
#orderEditModal .oq-upload-card{
  min-height:128px!important;
  padding:18px 20px!important;
  border-style:dashed!important;
  border-color:rgba(245,158,11,.48)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:12px!important;
  cursor:pointer!important;
  color:#0b6f69!important;
  text-align:left!important;
  position:relative!important;
  overflow:hidden!important;
}
#orderEditModal .oq-upload-card strong{
  font-size:21px!important;
  line-height:1.1!important;
  font-weight:950!important;
  color:#0b7a75!important;
}
#orderEditModal .oq-upload-card small{
  font-size:14px!important;
  line-height:1.35!important;
  color:#64748b!important;
  font-weight:600!important;
}
#orderEditModal #orderImagePreview{
  position:absolute!important;
  right:14px!important;
  bottom:12px!important;
  width:72px!important;
  height:54px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  box-shadow:0 8px 18px rgba(16,32,45,.18)!important;
}
#orderEditModal #orderFormFileUploadBtn{display:none!important;}
#orderEditModal .oq-task-card{
  min-height:128px!important;
  padding:16px 18px!important;
  border-style:dashed!important;
  border-color:rgba(245,158,11,.48)!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
#orderEditModal .oq-sync-line{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  color:#0b7a75!important;
  font-size:20px!important;
  line-height:1.1!important;
  font-weight:950!important;
}
#orderEditModal .oq-sync-line input{
  width:20px!important;
  height:20px!important;
  accent-color:#0b7a75!important;
}
#orderEditModal .oq-task-card textarea{
  flex:1 1 auto!important;
  min-height:58px!important;
  resize:none!important;
  padding:10px 12px!important;
  font-size:15px!important;
  font-weight:500!important;
}
#orderEditModal .oq-note-field{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin-top:16px!important;
  padding:16px 18px!important;
  border-color:rgba(245,158,11,.42)!important;
  background:#fff!important;
}
#orderEditModal .oq-note-field textarea{
  min-height:86px!important;
  resize:vertical!important;
  padding:12px 14px!important;
  font-size:16px!important;
  font-weight:500!important;
}
#orderEditModal .oq-actions{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:58px!important;
  min-height:56px!important;
  flex:0 0 auto!important;
  padding:2px 0 0!important;
}
#orderEditModal .oq-actions button{
  min-width:150px!important;
  height:46px!important;
  border-radius:12px!important;
  font-size:18px!important;
  font-weight:950!important;
}
@media(max-width:980px){
  #orderEditModal .oq-basic-grid,
  #orderEditModal .oq-product-layout,
  #orderEditModal .oq-assets-grid{grid-template-columns:1fr!important;}
  #orderEditModal .oq-product-side{grid-template-rows:auto auto!important;}
  #orderEditModal .oq-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* V71 detail tuning: compact modal, aligned product/date/summary cards, visible upload feedback. */
#orderEditModal .oq-modal-card{
  width:min(1080px,calc(100vw - 32px))!important;
  max-width:min(1080px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 24px)!important;
  padding:16px 22px 14px!important;
  gap:12px!important;
  overflow-x:hidden!important;
}
#orderEditModal .oq-modal-head{
  min-height:40px!important;
  height:40px!important;
}
#orderEditModal .oq-form{
  gap:14px!important;
}
#orderEditModal .oq-section{
  padding:14px 16px!important;
  border-radius:20px!important;
}
#orderEditModal .oq-section-title{
  min-height:22px!important;
  margin-bottom:10px!important;
}
#orderEditModal .oq-section-title strong{font-size:20px!important;}
#orderEditModal .oq-basic-grid{
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr)!important;
  gap:14px!important;
}
#orderEditModal .oq-field{
  min-height:82px!important;
  padding:11px 14px!important;
  gap:7px!important;
}
#orderEditModal .oq-field > span,
#orderEditModal .oq-note-field > span{
  font-size:16px!important;
}
#orderEditModal .oq-field input,
#orderEditModal .oq-field select{
  height:40px!important;
  min-height:40px!important;
  font-size:16px!important;
}
#orderEditModal .oq-input-with-btn{height:40px!important;gap:8px!important;}
#orderEditModal .oq-input-with-btn button{
  height:40px!important;
  width:48px!important;
  min-width:48px!important;
  flex-basis:48px!important;
}
#orderEditModal .oq-product-layout{
  grid-template-columns:minmax(0,1fr) 290px!important;
  gap:16px!important;
}
#orderEditModal .oq-product-left{
  gap:10px!important;
}
#orderEditModal .oq-product-name-field,
#orderEditModal .oq-date-field{
  min-height:84px!important;
  height:84px!important;
  padding:11px 14px!important;
}
#orderEditModal .oq-spec-grid{
  gap:10px!important;
}
#orderEditModal .oq-spec-grid .oq-field{
  min-height:78px!important;
  height:78px!important;
  padding:9px 12px!important;
}
#orderEditModal .oq-spec-grid .oq-field input,
#orderEditModal .oq-spec-grid .oq-field select{
  height:34px!important;
  min-height:34px!important;
}
#orderEditModal .oq-product-side{
  grid-template-rows:84px 166px!important;
  gap:10px!important;
}
#orderEditModal .oq-money-card{
  min-height:166px!important;
  height:166px!important;
  padding:18px 20px 16px!important;
}
#orderEditModal .oq-money-card span{
  flex:0 0 100%!important;
  width:100%!important;
  align-self:flex-start!important;
  font-size:20px!important;
}
#orderEditModal .oq-money-card textarea,
#orderEditModal .oq-money-card input,
#orderEditModal #orderFormTotal{
  min-height:58px!important;
  font-size:46px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-assets-grid{
  gap:14px!important;
}
#orderEditModal .oq-upload-card,
#orderEditModal .oq-task-card{
  min-height:106px!important;
  height:106px!important;
  padding:14px 16px!important;
}
#orderEditModal .oq-upload-card{
  gap:8px!important;
}
#orderEditModal .oq-upload-card strong,
#orderEditModal .oq-sync-line{
  font-size:19px!important;
  line-height:1.1!important;
  min-height:22px!important;
  margin:0!important;
}
#orderEditModal .oq-upload-card small{
  max-width:calc(100% - 86px)!important;
  font-size:13px!important;
  line-height:1.3!important;
}
#orderEditModal #orderImagePreview{
  width:76px!important;
  height:58px!important;
  right:14px!important;
  bottom:12px!important;
  display:none;
}
#orderEditModal .oq-image-count{
  position:absolute!important;
  right:8px!important;
  top:8px!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#0b7a75!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:22px!important;
  text-align:center!important;
  font-weight:900!important;
  box-shadow:0 5px 14px rgba(11,122,117,.22)!important;
}
#orderEditModal .oq-file-card small{
  max-width:100%!important;
  word-break:break-all!important;
}
#orderEditModal .oq-task-card{
  gap:8px!important;
}
#orderEditModal .oq-sync-line{
  display:flex!important;
  align-items:center!important;
}
#orderEditModal .oq-task-card textarea{
  min-height:50px!important;
  padding:8px 10px!important;
  font-size:14px!important;
}
#orderEditModal .oq-note-field{
  margin-top:12px!important;
  padding:12px 14px!important;
  gap:8px!important;
}
#orderEditModal .oq-note-field textarea{
  min-height:64px!important;
  height:64px!important;
  font-size:15px!important;
}
#orderEditModal .oq-actions{
  min-height:46px!important;
  gap:54px!important;
  padding-top:0!important;
}
#orderEditModal .oq-actions button{
  height:42px!important;
}
@media(max-height:780px){
  #orderEditModal .oq-modal-card{padding:12px 18px!important;gap:10px!important;}
  #orderEditModal .oq-form{gap:10px!important;}
  #orderEditModal .oq-section{padding:12px 14px!important;}
  #orderEditModal .oq-product-name-field,
  #orderEditModal .oq-date-field{height:78px!important;min-height:78px!important;}
  #orderEditModal .oq-spec-grid .oq-field{height:72px!important;min-height:72px!important;}
  #orderEditModal .oq-product-side{grid-template-rows:78px 154px!important;}
  #orderEditModal .oq-money-card{height:154px!important;min-height:154px!important;}
  #orderEditModal .oq-upload-card,
  #orderEditModal .oq-task-card{height:96px!important;min-height:96px!important;}
  #orderEditModal .oq-note-field textarea{height:54px!important;min-height:54px!important;}
}

/* V71 visual polish: scoped typography, select clipping fix, and currency marker. */
#orderEditModal .oq-section-title strong{
  color:#1f3346!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
}
#orderEditModal .oq-section-title span{
  color:#78909c!important;
  font-weight:500!important;
}
#orderEditModal .oq-field > span,
#orderEditModal .oq-note-field > span{
  color:#405164!important;
  font-weight:600!important;
}
#orderEditModal .oq-upload-card strong,
#orderEditModal .oq-sync-line{
  font-weight:650!important;
}
#orderEditModal .oq-field input,
#orderEditModal .oq-field select,
#orderEditModal .oq-note-field textarea,
#orderEditModal .oq-task-card textarea{
  font-weight:500!important;
  color:#172233!important;
}
#orderEditModal .oq-field input::placeholder,
#orderEditModal .oq-task-card textarea::placeholder,
#orderEditModal .oq-note-field textarea::placeholder{
  color:#9aa7b4!important;
  font-weight:400!important;
  opacity:1!important;
}
#orderEditModal .oq-field select,
#orderEditModal .oq-spec-grid .oq-field select,
#orderEditModal #orderFormCalcUnit,
#orderEditModal #orderFormState{
  height:38px!important;
  min-height:38px!important;
  line-height:38px!important;
  padding:0 34px 0 12px!important;
  box-sizing:border-box!important;
  font-size:16px!important;
  font-weight:500!important;
  overflow:visible!important;
  vertical-align:middle!important;
  appearance:auto!important;
  -webkit-appearance:menulist!important;
}
#orderEditModal .oq-money-card{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-content:space-between!important;
  overflow:visible!important;
  align-items:flex-end!important;
}
#orderEditModal .oq-money-card::before{
  content:"\00A5"!important;
  position:static!important;
  display:inline-flex!important;
  align-items:flex-end!important;
  flex:0 0 auto!important;
  margin:0 4px 7px 0!important;
  color:#d9480f!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:700!important;
  pointer-events:none!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-money-card[data-has-total="0"]::before{
  content:none!important;
}
#orderEditModal .oq-money-card textarea,
#orderEditModal .oq-money-card input,
#orderEditModal #orderFormTotal{
  display:inline-block!important;
  width:auto!important;
  field-sizing:content!important;
  max-width:calc(100% - 34px)!important;
  min-width:0!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  resize:none!important;
  line-height:58px!important;
  text-align:right!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  margin-top:auto!important;
  margin-bottom:2px!important;
  color:#d9480f!important;
  font-size:44px!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
#orderEditModal .oq-money-card textarea{
  vertical-align:bottom!important;
}
#orderEditModal .oq-upload-card small,
#orderEditModal .oq-file-card small{
  display:block!important;
  max-width:100%!important;
  color:#8a97a8!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:400!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#orderEditModal .oq-task-card textarea{
  overflow:hidden!important;
  resize:none!important;
  font-weight:400!important;
  color:#596b7a!important;
}
#orderEditModal .oq-task-card textarea::placeholder{
  color:#8a97a8!important;
  font-size:12.5px!important;
  font-weight:400!important;
}
#orderEditModal .oq-note-field textarea,
#orderEditModal #orderFormNote{
  resize:none!important;
  overflow:auto!important;
}


/* ================= V75 stable repair: backend-cache safe modal total alignment ================= */


#orderEditModal .oq-money-card > span{
  flex:0 0 auto!important;
  width:100%!important;
  align-self:flex-start!important;
}
#orderEditModal #orderFormTotal{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  max-height:none!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}


/* ================= V76 repair: keep order modal total visible ================= */
#orderEditModal .oq-money-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  overflow:visible!important;
}
#orderEditModal .oq-money-card > span{
  position:relative!important;
  z-index:2!important;
}
#orderEditModal #orderFormTotal{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
}

/* V76 final repair: order edit modal total is one selectable text block */
#orderEditModal .oq-money-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  align-items:stretch!important;
  overflow:visible!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-money-card::before{
  content:none!important;
  display:none!important;
}
#orderEditModal .oq-money-card > span{
  position:relative!important;
  z-index:2!important;
  align-self:flex-start!important;
  width:100%!important;
  margin:0!important;
  text-align:left!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}
#orderEditModal .oq-total-display{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-top:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#d9480f!important;
  font-size:44px!important;
  line-height:1.08!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-align:right!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  overflow:visible!important;
  user-select:text!important;
  -webkit-user-select:text!important;
}

/* Order table image/file count badges stay inside cells and below sticky header */
#ordersPage .orders-table thead,
#ordersPage .orders-table thead th{
  z-index:30!important;
}
#ordersPage .orders-table .order-thumb-btn,
#ordersPage .orders-table .order-file-badge-btn{
  position:relative!important;
  overflow:hidden!important;
  z-index:0!important;
}
#ordersPage .orders-table .order-thumb-btn img,
#ordersPage .orders-table .order-thumb-fallback,
#ordersPage .orders-table .order-file-badge-btn span{
  position:relative!important;
  z-index:1!important;
}
#ordersPage .orders-table .order-image-badge,
#ordersPage .orders-table .order-thumb-btn b,
#ordersPage .orders-table .order-file-badge-btn em{
  position:absolute!important;
  top:2px!important;
  right:2px!important;
  z-index:2!important;
  min-width:18px!important;
  height:18px!important;
  line-height:18px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  text-align:center!important;
  font-size:11px!important;
  font-weight:900!important;
  font-style:normal!important;
  color:#fff!important;
  background:#0b8f87!important;
  box-shadow:0 2px 6px rgba(15,23,42,.18)!important;
  pointer-events:none!important;
}

/* Order file dialog: selection marquee and context menu layering */
#orderFileModal{
  z-index: var(--layer-modal) !important;
}
#orderFileModal .windows-file-card{
  overflow:visible!important;
}
#orderFileModal .order-file-list{
  overflow:auto!important;
  position:relative!important;
  z-index:1!important;
}
#orderFileModal .windows-file-item,
#orderFileModal .windows-file-item:hover,
#orderFileModal .windows-file-item.selected{
  position:relative!important;
  z-index:1!important;
}
.file-drag-box{
  position:fixed!important;
  z-index:20040!important;
  border:1px solid rgba(14,116,144,.86)!important;
  background:rgba(45,212,191,.18)!important;
  border-radius:8px!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.45) inset!important;
  pointer-events:none!important;
}
.file-context-menu{
  position:fixed!important;
  z-index: var(--layer-dropdown) !important;
}
.order-action-modal{
  z-index: var(--layer-modal) !important;
}

/* Order query page */
#orderQueryPage .order-query-card{
  min-height:calc(100vh - 140px);
}
#orderQueryPage .order-query-filter{
  display:grid;
  grid-template-columns:minmax(180px,1.2fr) repeat(2,minmax(140px,.7fr)) minmax(220px,1.5fr) repeat(3,minmax(120px,.7fr)) auto auto;
  gap:10px;
  align-items:end;
  margin:12px 0 14px;
}
#orderQueryPage .order-query-filter label{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  color:#344054;
  font-weight:850;
  font-size:13px;
}
#orderQueryPage .order-query-filter input,
#orderQueryPage .order-query-filter select{
  height:38px;
  border:1px solid rgba(11,122,117,.16);
  border-radius:10px;
  background:#fff;
  color:#102033;
  padding:0 10px;
  font-size:14px;
  box-sizing:border-box;
}
#orderQueryPage .order-query-filter button{
  height:38px;
  white-space:nowrap;
}
#orderQueryPage .order-query-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(120px,1fr));
  gap:10px;
  margin:6px 0 12px;
}
#orderQueryPage .order-query-stats div{
  border:1px solid rgba(11,122,117,.12);
  border-radius:12px;
  background:linear-gradient(180deg,#f8fffe,#fff);
  padding:10px 12px;
}
#orderQueryPage .order-query-stats span{
  display:block;
  color:#667085;
  font-size:12px;
  font-weight:800;
}
#orderQueryPage .order-query-stats strong{
  display:block;
  margin-top:4px;
  color:#0b7a75;
  font-size:18px;
  font-weight:950;
}
#orderQueryPage .order-query-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin:0 0 10px;
}
#orderQueryPage .order-query-table-wrap{
  max-height:calc(100vh - 390px);
  overflow:auto;
}
#orderQueryPage .order-query-table{
  min-width:1480px;
  table-layout:fixed;
}
#orderQueryPage .order-query-table th,
#orderQueryPage .order-query-table td{
  text-align:center;
  vertical-align:middle;
}
#orderQueryPage .order-query-table th:nth-child(1),
#orderQueryPage .order-query-table td:nth-child(1){width:44px;}
#orderQueryPage .order-query-table th:nth-child(6),
#orderQueryPage .order-query-table td:nth-child(6){width:260px;text-align:left;}
#orderQueryPage .order-query-summary-cell{
  white-space:normal;
  line-height:1.45;
}
#orderQueryPage .order-query-pager{
  margin-top:10px;
}
@media(max-width:1300px){


}
@media(max-width:760px){

  #orderQueryPage .order-query-actions{justify-content:flex-start;flex-wrap:wrap;}
}

/* Order query page polish */
#orderQueryPage .order-query-card{
  padding:22px 24px 18px!important;
  overflow:hidden;
}
#orderQueryPage .order-query-card .panel-head{
  margin-bottom:14px;
}
#orderQueryPage .order-query-filter{
  grid-template-columns:minmax(180px,1.1fr) minmax(180px,1.1fr) 150px 150px minmax(190px,1.1fr) minmax(190px,1.1fr);
  gap:12px 14px;
  align-items:end;
  padding:14px;
  margin:0 0 12px;
  border:1px solid rgba(11,122,117,.10);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(248,253,252,.92),rgba(255,255,255,.96));
}
#orderQueryPage .order-query-filter label:nth-child(1){grid-column:1 / 3;}
#orderQueryPage .order-query-filter label:nth-child(2){grid-column:3;}
#orderQueryPage .order-query-filter label:nth-child(3){grid-column:4;}
#orderQueryPage .order-query-filter label:nth-child(4){grid-column:5 / 7;}
#orderQueryPage .order-query-filter label:nth-child(5){grid-column:1;}
#orderQueryPage .order-query-filter label:nth-child(6){grid-column:2;}
#orderQueryPage .order-query-filter label:nth-child(7){grid-column:3;}
#orderQueryPage .order-query-filter input,
#orderQueryPage .order-query-filter select{
  height:34px!important;
  border-radius:9px!important;
  font-size:13px!important;
}
#orderQueryPage .order-query-filter button{
  height:34px!important;
  min-width:76px!important;
  padding:0 14px!important;
  border-radius:9px!important;
  font-size:13px!important;
}
#orderQueryPage .order-query-stats{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
}
#orderQueryPage .order-query-stats div{
  min-height:58px;
  padding:8px 11px;
  border-radius:12px;
}
#orderQueryPage .order-query-stats strong{
  font-size:17px;
}
#orderQueryPage .order-query-actions{
  padding:0 2px;
  margin:0 0 8px;
}
#orderQueryPage .order-query-actions button{
  height:32px!important;
  min-width:96px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  font-size:13px!important;
}
#orderQueryPage .order-query-table-wrap{
  padding:10px;
  border:1px solid rgba(11,122,117,.10);
  border-radius:16px;
  background:#fff;
  max-height:calc(100vh - 420px);
}
#orderQueryPage .order-query-table{
  width:100%;
  min-width:1280px;
}
#orderQueryPage .order-query-table th,
#orderQueryPage .order-query-table td{
  padding:8px 7px!important;
  font-size:13px;
}
#orderQueryPage .order-query-table .empty-row td{
  height:96px;
  text-align:center!important;
  color:#667085;
  font-weight:800;
}
#orderQueryPage .order-query-pager{
  justify-content:flex-end;
  padding:10px 4px 0;
  margin-top:0;
}
#orderQueryPage .order-query-pager button,
#orderQueryPage .order-query-pager select{
  height:32px!important;
}
@media(max-width:1300px){
  #orderQueryPage .order-query-filter{grid-template-columns:repeat(3,minmax(0,1fr));}
  #orderQueryPage .order-query-filter label,
  #orderQueryPage .order-query-filter label:nth-child(n){grid-column:auto;}
  #orderQueryPage .order-query-stats{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:760px){
  #orderQueryPage .order-query-card{padding:16px 14px!important;}
  #orderQueryPage .order-query-filter,
  #orderQueryPage .order-query-stats{grid-template-columns:1fr;}
}

/* Order query final layout fix */

#orderQueryPage .order-query-filter{
  grid-template-columns:1.1fr 138px 138px 1.35fr 118px 118px 118px 74px 74px!important;
  gap:10px!important;
  padding:12px!important;
}
#orderQueryPage .order-query-filter label,
#orderQueryPage .order-query-filter label:nth-child(n){
  grid-column:auto!important;
}
#orderQueryPage .order-query-filter label:nth-child(1){grid-column:1 / 2!important;}
#orderQueryPage .order-query-filter label:nth-child(2){grid-column:2 / 3!important;}
#orderQueryPage .order-query-filter label:nth-child(3){grid-column:3 / 4!important;}
#orderQueryPage .order-query-filter label:nth-child(4){grid-column:4 / 10!important;}
#orderQueryPage .order-query-filter label:nth-child(5){grid-column:1 / 2!important;}
#orderQueryPage .order-query-filter label:nth-child(6){grid-column:2 / 3!important;}
#orderQueryPage .order-query-filter label:nth-child(7){grid-column:3 / 4!important;}
#orderQueryPage .order-query-filter button{
  width:74px!important;
  min-width:74px!important;
  padding:0!important;
  justify-self:start!important;
}
#orderQueryPage #orderQuerySearchBtn{grid-column:4 / 5!important;}
#orderQueryPage #orderQueryResetBtn{grid-column:5 / 6!important;}
#orderQueryPage .order-query-stats{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}
#orderQueryPage .order-query-stats div{
  min-height:52px!important;
  padding:8px 10px!important;
}
#orderQueryPage .order-query-actions{
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:2px 0 8px!important;
}
#orderQueryPage .order-query-actions button{
  height:30px!important;
  min-width:90px!important;
  padding:0 10px!important;
  font-size:12px!important;
}
#orderQueryPage .order-query-table-wrap{
  padding:10px!important;
  overflow:auto!important;
}
#orderQueryPage .order-query-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
#orderQueryPage .order-query-table th,
#orderQueryPage .order-query-table td{
  padding:7px 6px!important;
  font-size:12px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:break-word!important;
}
#orderQueryPage .order-query-table th:nth-child(1),
#orderQueryPage .order-query-table td:nth-child(1){width:38px!important;padding-left:10px!important;}


#orderQueryPage .order-query-table th:nth-child(9),
#orderQueryPage .order-query-table td:nth-child(9),
#orderQueryPage .order-query-table th:nth-child(10),
#orderQueryPage .order-query-table td:nth-child(10){width:66px!important;}
#orderQueryPage .order-query-table th:nth-child(11),
#orderQueryPage .order-query-table td:nth-child(11){width:94px!important;}
#orderQueryPage .order-query-table th:nth-child(13),
#orderQueryPage .order-query-table td:nth-child(13){width:62px!important;}
#orderQueryPage .order-query-pager{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  padding:10px 2px 0!important;
}
#orderQueryPage .order-query-pager label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  margin:0!important;
  font-size:13px!important;
  color:#344054!important;
}

@media(max-width:1300px){
  #orderQueryPage .order-query-filter{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  #orderQueryPage .order-query-filter label:nth-child(n),
  #orderQueryPage #orderQuerySearchBtn,
  #orderQueryPage #orderQueryResetBtn{grid-column:auto!important;}
  #orderQueryPage .order-query-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  #orderQueryPage .order-query-filter,
  #orderQueryPage .order-query-stats{grid-template-columns:1fr!important;}
  #orderQueryPage .order-query-pager{justify-content:flex-start!important;flex-wrap:wrap!important;}
}

/* Order query focused cleanup page */
#orderQueryPage .order-query-card{
  padding:20px!important;
}
#orderQueryPage .order-query-filter{
  display:grid!important;
  grid-template-columns:132px 132px minmax(140px,1fr) minmax(140px,1fr) 108px 108px 108px 66px 66px!important;
  gap:8px!important;
  align-items:end!important;
  padding:12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  flex-wrap:nowrap!important;
}
#orderQueryPage .order-query-filter label,
#orderQueryPage .order-query-filter label:nth-child(n){
  grid-column:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}
#orderQueryPage .order-query-filter input,
#orderQueryPage .order-query-filter select{
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
}
#orderQueryPage .order-query-filter button,
#orderQueryPage #orderQuerySearchBtn,
#orderQueryPage #orderQueryResetBtn{
  grid-column:auto!important;
  width:66px!important;
  min-width:66px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  justify-self:stretch!important;
  font-size:12px!important;
}
#orderQueryPage .order-query-stats{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0!important;
}
#orderQueryPage .order-query-stats div{
  min-height:50px!important;
  padding:8px 10px!important;
}
#orderQueryPage .order-query-stats strong{
  font-size:18px!important;
  line-height:1.15!important;
}
#orderQueryPage .order-query-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  margin:4px 0 10px!important;
}
#orderQueryPage .order-query-actions button{
  height:32px!important;
  min-width:104px!important;
  border-radius:8px!important;
  padding:0 12px!important;
  font-size:12px!important;
  font-weight:700!important;
}
#orderQueryPage #orderQueryDeleteImagesBtn,
#orderQueryPage #orderQueryDeleteFilesBtn{
  color:#a04b00!important;
  border-color:#ffd3a3!important;
  background:#fff7ed!important;
}
#orderQueryPage #orderQueryDeleteOrdersBtn{
  color:#b42318!important;
  border-color:#fecaca!important;
  background:#fff1f2!important;
}
#orderQueryPage .order-query-table-wrap{
  padding:12px!important;
  overflow-x:auto!important;
}
#orderQueryPage .order-query-table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
}
#orderQueryPage .order-query-table th,
#orderQueryPage .order-query-table td{
  padding:7px 6px!important;
  font-size:12px!important;
  vertical-align:middle!important;
}
#orderQueryPage .order-query-table th:nth-child(1),
#orderQueryPage .order-query-table td:nth-child(1){width:34px!important;padding-left:8px!important;padding-right:4px!important;text-align:center!important;}
#orderQueryPage .order-query-table th:nth-child(2),
#orderQueryPage .order-query-table td:nth-child(2){width:84px!important;}
#orderQueryPage .order-query-table th:nth-child(3),
#orderQueryPage .order-query-table td:nth-child(3){width:118px!important;}

#orderQueryPage .order-query-table th:nth-child(5),
#orderQueryPage .order-query-table td:nth-child(5){width:128px!important;}
#orderQueryPage .order-query-table th:nth-child(6),
#orderQueryPage .order-query-table td:nth-child(6){width:190px!important;text-align:left!important;}
#orderQueryPage .order-query-table th:nth-child(7),
#orderQueryPage .order-query-table td:nth-child(7){width:92px!important;}
#orderQueryPage .order-query-table th:nth-child(8),
#orderQueryPage .order-query-table td:nth-child(8){width:72px!important;}
#orderQueryPage .order-query-table th:nth-child(9),
#orderQueryPage .order-query-table td:nth-child(9),
#orderQueryPage .order-query-table th:nth-child(10),
#orderQueryPage .order-query-table td:nth-child(10){width:118px!important;overflow:visible!important;}
#orderQueryPage .order-query-table th:nth-child(11),
#orderQueryPage .order-query-table td:nth-child(11){width:90px!important;}
#orderQueryPage .order-query-table th:nth-child(12),
#orderQueryPage .order-query-table td:nth-child(12){width:108px!important;}
#orderQueryPage .order-query-table th:nth-child(13),
#orderQueryPage .order-query-table td:nth-child(13){width:58px!important;}
#orderQueryPage .order-query-table .empty-row td{
  padding:28px 12px!important;
  text-align:center!important;
  color:#667085!important;
}
#orderQueryPage .order-query-status-tag,
#orderQueryPage .order-query-media-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  max-width:100%!important;
  min-height:26px!important;
  border-radius:999px!important;
  padding:3px 8px!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
#orderQueryPage .order-query-status-tag.is-empty{
  color:#667085!important;
  background:#f2f4f7!important;
  border:1px solid #eaecf0!important;
}
#orderQueryPage .order-query-media-btn{
  border:1px solid transparent!important;
  cursor:pointer!important;
}
#orderQueryPage .order-query-media-btn.has-image{
  color:#047857!important;
  background:#ecfdf3!important;
  border-color:#a7f3d0!important;
}
#orderQueryPage .order-query-media-btn.has-file{
  color:#0369a1!important;
  background:#eff8ff!important;
  border-color:#bae6fd!important;
}
#orderQueryPage .order-query-thumb,
#orderQueryPage .order-query-file-icon{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
}
#orderQueryPage .order-query-thumb img{
  width:22px!important;
  height:22px!important;
  border-radius:4px!important;
  object-fit:cover!important;
  display:block!important;
}
#orderQueryPage .order-query-thumb em,
#orderQueryPage .order-query-file-icon em{
  position:absolute!important;
  right:-5px!important;
  top:-5px!important;
  min-width:14px!important;
  height:14px!important;
  padding:0 3px!important;
  border-radius:999px!important;
  background:#12b76a!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:14px!important;
  font-style:normal!important;
  box-shadow:0 0 0 1px #fff!important;
}
#orderQueryPage .order-query-file-icon em{
  background:#0ea5e9!important;
}
#orderQueryPage .order-query-pager{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  padding:12px 4px 0!important;
  white-space:nowrap!important;
}
#orderQueryPage .order-query-pager label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  white-space:nowrap!important;
}
#orderQueryPage .order-query-pager button,
#orderQueryPage .order-query-pager select{
  height:30px!important;
  min-height:30px!important;
}
#orderQueryPage .order-query-pager select{
  width:72px!important;
  min-width:72px!important;
  padding:0 24px 0 8px!important;
  line-height:30px!important;
}

/* Order query cleanup controls and sticky table refinement */
#orderQueryPage .order-query-filter{
  grid-template-columns:128px 128px minmax(130px,1fr) minmax(130px,1fr) 104px 104px 104px 154px 64px 64px!important;
}
#orderQueryPage .order-query-filter select#orderQuerySortBy{
  min-width:154px!important;
}
#orderQueryPage .order-query-table-wrap{
  max-height:calc(100vh - 360px)!important;
  overflow:auto!important;
  position:relative!important;
}
#orderQueryPage .order-query-table{
  min-width:1240px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#orderQueryPage .order-query-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:8!important;
  background:#f8fafc!important;
  box-shadow:0 1px 0 #e5e7eb, 0 2px 8px rgba(15,23,42,.06)!important;
}
#orderQueryPage .order-query-table tbody td{
  position:relative!important;
  z-index:1!important;
  background:#fff!important;
}

#orderQueryPage #orderQuerySelectAll,
#orderQueryPage .order-query-row-check{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  margin:0!important;
  vertical-align:middle!important;
  accent-color:#2563eb!important;
}

#orderQueryPage .order-query-table th:nth-child(3),
#orderQueryPage .order-query-table td:nth-child(3){width:110px!important;}
#orderQueryPage .order-query-table th:nth-child(4),
#orderQueryPage .order-query-table td:nth-child(4){width:78px!important;}
#orderQueryPage .order-query-table th:nth-child(5),
#orderQueryPage .order-query-table td:nth-child(5){width:144px!important;}
#orderQueryPage .order-query-table th:nth-child(6),
#orderQueryPage .order-query-table td:nth-child(6){width:220px!important;}

#orderQueryPage .order-query-table th:nth-child(9),
#orderQueryPage .order-query-table td:nth-child(9),
#orderQueryPage .order-query-table th:nth-child(10),
#orderQueryPage .order-query-table td:nth-child(10){width:116px!important;}
#orderQueryPage .order-query-table th:nth-child(11),
#orderQueryPage .order-query-table td:nth-child(11){width:96px!important;}
#orderQueryPage .order-query-table th:nth-child(13),
#orderQueryPage .order-query-table td:nth-child(13){width:56px!important;}


/* Homepage detail fixes */
#tasksPage .home-free-calc-modal.hidden{
  display:none!important;
}
#tasksPage .home-free-calc-modal{
  position:fixed!important;
  inset:0!important;
  z-index: var(--layer-modal) !important;
  pointer-events:none!important;
}
#tasksPage .home-free-calc-window{
  position:absolute!important;
  width:560px!important;
  max-width:calc(100vw - 28px)!important;
  border:1px solid rgba(209,132,18,.28)!important;
  border-radius:18px!important;
  background:#fffdf9!important;
  box-shadow:0 24px 70px rgba(15,23,42,.18)!important;
  overflow:hidden!important;
  pointer-events:auto!important;
}
#tasksPage .home-free-calc-head{
  height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:0 14px 0 18px!important;
  cursor:move!important;
  background:linear-gradient(180deg,#fffaf0,#ffffff)!important;
  border-bottom:1px solid rgba(209,132,18,.16)!important;
}
#tasksPage .home-free-calc-head strong{
  color:#0b7a75!important;
  font-size:18px!important;
  font-weight:800!important;
}
#tasksPage .home-free-calc-body{
  padding:16px!important;
}
#tasksPage .home-free-calc-body .free-calc-card{
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#tasksPage .legacy-table{
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
#tasksPage .legacy-table tbody tr[data-id]:hover{
  background:linear-gradient(90deg,rgba(240,253,250,.34) 0%,rgba(236,248,246,.62) 42%,rgba(248,252,251,.28) 100%)!important;
  box-shadow:none!important;
}
#tasksPage .legacy-table tbody tr[data-id] td{
  transition:background .34s ease,color .22s ease!important;
}
#tasksPage .legacy-table tbody tr[data-id]:hover td{
  background:linear-gradient(90deg,rgba(240,253,250,.18) 0%,rgba(232,246,243,.42) 52%,rgba(255,255,255,.18) 100%)!important;
}
#tasksPage .legacy-table th:nth-child(8),
#tasksPage .legacy-table td:nth-child(8){
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  padding:7px 8px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
#tasksPage .legacy-table th:nth-child(9),
#tasksPage .legacy-table td:nth-child(9){
  width:210px!important;
  min-width:210px!important;
  max-width:210px!important;
  padding:7px 8px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
#tasksPage .task-row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  white-space:nowrap!important;
  height:100%!important;
  min-height:46px!important;
}
#tasksPage .task-order-jump-btn,
#tasksPage .task-row-actions button{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  flex:0 0 34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(11,122,117,.18)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#101828!important;
  font-size:17px!important;
  line-height:1!important;
  box-sizing:border-box!important;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(15,23,42,.04)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease!important;
}
#tasksPage .task-order-jump-btn:hover,
#tasksPage .task-row-actions button:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(11,122,117,.36)!important;
  background:#f3fbf9!important;
  box-shadow:0 8px 18px rgba(15,23,42,.08)!important;
}
#tasksPage .task-order-jump-btn::after,
#tasksPage .task-order-jump-btn::before{
  content:none!important;
  display:none!important;
}

/* Restore the homepage task table header strip only */
#tasksPage .legacy-table thead th{
  height:46px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(248,252,251,.58) 52%,rgba(232,246,243,.72) 100%)!important;
  backdrop-filter:blur(8px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(8px) saturate(1.08)!important;
  color:#344054!important;
  font-weight:600!important;
  border-top:1px solid rgba(255,255,255,.62)!important;
  border-bottom:1px solid rgba(15,118,110,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58),0 1px 0 rgba(15,118,110,.06)!important;
}
#tasksPage .legacy-table thead th:nth-child(8){
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
}
#tasksPage .legacy-table thead th:nth-child(9){
  width:178px!important;
  min-width:178px!important;
  max-width:178px!important;
}

#tasksPage .legacy-table th:nth-child(8),
#tasksPage .legacy-table td:nth-child(8){
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
  padding:6px 4px!important;
  overflow:hidden!important;
}
#tasksPage .legacy-table th:nth-child(9),
#tasksPage .legacy-table td:nth-child(9){
  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;
  padding:6px 8px!important;
  overflow:hidden!important;
}
#tasksPage #homeTaskRows td:nth-child(8){
  text-align:center!important;
  vertical-align:middle!important;
}
#tasksPage #homeTaskRows td.task-row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:54px!important;
  min-height:54px!important;
  padding:6px 8px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
#tasksPage #homeTaskRows .task-order-jump-btn,
#tasksPage #homeTaskRows td.task-row-actions button{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  flex:0 0 34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  font-size:17px!important;
  line-height:1!important;
  vertical-align:middle!important;
}
#tasksPage #homeTaskRows .task-order-jump-btn{
  font-size:0!important;
}
#tasksPage #homeTaskRows .task-order-jump-btn::before{
  content:"\1F4CB"!important;
  display:block!important;
  font-size:18px!important;
  line-height:1!important;
}
#tasksPage #homeTaskRows .task-order-jump-btn::after{
  content:none!important;
  display:none!important;
}

/* Homepage task table: restore simple solid hover and refine small action icons */
#tasksPage #homeTaskRows tr[data-id]:hover,
#tasksPage #homeTaskRows tr[data-id]:hover td{
  background:#eef8f6!important;
}
#tasksPage #homeTaskRows tr[data-id] td{
  transition:background-color .18s ease!important;
}
#tasksPage #homeTaskRows .task-order-jump-btn::before{
  font-size:15px!important;
}
#tasksPage #homeTaskRows td.task-row-actions button{
  font-size:15px!important;
}
#orderQueryPage .order-query-pay-tag{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:42px!important;
  height:22px!important;
  border-radius:999px!important;
  padding:0 7px!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
#orderQueryPage .order-query-pay-tag.is-paid{
  color:#067647!important;
  background:#ecfdf3!important;
  border:1px solid #abefc6!important;
}
#orderQueryPage .order-query-pay-tag.is-unpaid{
  color:#b42318!important;
  background:#fff1f3!important;
  border:1px solid #fecdd3!important;
}
#orderQueryPage .order-query-mark{
  background:#fff3b0!important;
  color:inherit!important;
  border-radius:3px!important;
  padding:0 2px!important;
}
#orderQueryPage .order-query-mark-block{
  display:inline!important;
  box-decoration-break:clone!important;
  -webkit-box-decoration-break:clone!important;
}
#orderQueryPage .order-query-contact-cell{
  line-height:1.25!important;
}
#orderQueryPage .order-query-phone{
  display:block!important;
  margin-top:2px!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:500!important;
}
#orderQueryPage .order-query-pager select{
  width:82px!important;
  min-width:82px!important;
  box-sizing:border-box!important;
  line-height:30px!important;
  text-align:left!important;
}

/* Order query search suggestions, split storage columns and selected rows */
#orderQueryPage .order-query-card{
  overflow:visible!important;
}
#orderQueryPage .order-query-filter{
  grid-template-columns:128px 128px minmax(150px,1fr) minmax(150px,1fr) 106px 106px 106px 166px 66px 66px!important;
  gap:9px!important;
  overflow:visible!important;
}
#orderQueryPage .order-query-filter input,
#orderQueryPage .order-query-filter select,
#orderQueryPage .order-query-filter button{
  height:36px!important;
  min-height:36px!important;
}
#orderQueryPage .order-query-suggest-field{
  position:relative!important;
  z-index:20!important;
}
#orderQueryPage .order-query-suggestions{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:calc(100% + 6px)!important;
  z-index: var(--layer-dropdown) !important;
  max-height:280px!important;
  overflow:auto!important;
  padding:6px!important;
  border:1px solid #d0d5dd!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 14px 30px rgba(15,23,42,.16)!important;
}
#orderQueryPage .order-query-suggestions button{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:34px!important;
  padding:7px 9px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#101828!important;
  font-size:12px!important;
  text-align:left!important;
  cursor:pointer!important;
}
#orderQueryPage .order-query-suggestions button:hover{
  background:#f2f4f7!important;
}
#orderQueryPage .order-query-suggestions strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-weight:700!important;
}
#orderQueryPage .order-query-suggestions span{
  flex:0 0 auto!important;
  color:#667085!important;
  font-size:11px!important;
}
#orderQueryPage .order-query-stats div{
  border:1px solid transparent!important;
}
#orderQueryPage .order-query-stats .order-query-stat-1{background:#eff6ff!important;border-color:#bfdbfe!important;}
#orderQueryPage .order-query-stats .order-query-stat-2{background:#ecfdf3!important;border-color:#bbf7d0!important;}
#orderQueryPage .order-query-stats .order-query-stat-3{background:#eef6ff!important;border-color:#bae6fd!important;}
#orderQueryPage .order-query-stats .order-query-stat-4{background:#f0fdfa!important;border-color:#99f6e4!important;}
#orderQueryPage .order-query-stats .order-query-stat-5{background:#f5f3ff!important;border-color:#ddd6fe!important;}
#orderQueryPage .order-query-stats .order-query-stat-6{background:#fff7ed!important;border-color:#fed7aa!important;}
#orderQueryPage .order-query-stats span{
  color:#667085!important;
  font-weight:600!important;
}
#orderQueryPage .order-query-stats strong{
  color:#101828!important;
  font-weight:800!important;
}
#orderQueryPage .order-query-table-wrap{
  max-height:calc(100vh - 350px)!important;
  overflow:auto!important;
  padding:12px!important;
  z-index:1!important;
}
#orderQueryPage .order-query-table{
  min-width:1360px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#orderQueryPage .order-query-table thead th{
  top:0!important;
  z-index:30!important;
  height:38px!important;
  background:#f8fafc!important;
  color:#344054!important;
  font-weight:800!important;
  border-bottom:1px solid #d0d5dd!important;
  box-shadow:0 2px 8px rgba(15,23,42,.08)!important;
}
#orderQueryPage .order-query-table tbody tr.order-query-selected td{
  background:#eff6ff!important;
}
#orderQueryPage .order-query-table tbody tr.order-query-selected:hover td{
  background:#dbeafe!important;
}
#orderQueryPage .order-query-table th:nth-child(1),
#orderQueryPage .order-query-table td:nth-child(1){width:30px!important;min-width:30px!important;max-width:30px!important;padding:0 4px!important;text-align:center!important;}
#orderQueryPage .order-query-table th:nth-child(2),
#orderQueryPage .order-query-table td:nth-child(2){width:82px!important;}
#orderQueryPage .order-query-table th:nth-child(3),
#orderQueryPage .order-query-table td:nth-child(3){width:112px!important;}
#orderQueryPage .order-query-table th:nth-child(4),
#orderQueryPage .order-query-table td:nth-child(4){width:86px!important;}
#orderQueryPage .order-query-table th:nth-child(5),
#orderQueryPage .order-query-table td:nth-child(5){width:132px!important;}
#orderQueryPage .order-query-table th:nth-child(6),
#orderQueryPage .order-query-table td:nth-child(6){width:214px!important;}
#orderQueryPage .order-query-table th:nth-child(7),
#orderQueryPage .order-query-table td:nth-child(7){width:88px!important;}
#orderQueryPage .order-query-table th:nth-child(8),
#orderQueryPage .order-query-table td:nth-child(8){width:64px!important;}
#orderQueryPage .order-query-table th:nth-child(9),
#orderQueryPage .order-query-table td:nth-child(9),
#orderQueryPage .order-query-table th:nth-child(10),
#orderQueryPage .order-query-table td:nth-child(10){width:112px!important;overflow:visible!important;}
#orderQueryPage .order-query-table th:nth-child(11),
#orderQueryPage .order-query-table td:nth-child(11),
#orderQueryPage .order-query-table th:nth-child(12),
#orderQueryPage .order-query-table td:nth-child(12),
#orderQueryPage .order-query-table th:nth-child(13),
#orderQueryPage .order-query-table td:nth-child(13){width:88px!important;}
#orderQueryPage .order-query-table th:nth-child(14),
#orderQueryPage .order-query-table td:nth-child(14){width:108px!important;}
#orderQueryPage .order-query-table th:nth-child(15),
#orderQueryPage .order-query-table td:nth-child(15){width:56px!important;}
#orderQueryPage #orderQuerySelectAll,
#orderQueryPage .order-query-row-check{
  position:relative!important;
  z-index:2!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
}
#orderQueryPage .order-query-media-btn,
#orderQueryPage .order-query-status-tag,
#orderQueryPage .order-query-pay-tag{
  z-index:3!important;
}
#orderQueryPage .order-query-pager{
  flex-wrap:nowrap!important;
  padding-bottom:4px!important;
}
#orderQueryPage .order-query-pager select{
  width:88px!important;
  min-width:88px!important;
  height:32px!important;
  line-height:32px!important;
}

/* Order query focused fixes: checkbox-driven selection highlight and compact working width */
#orderQueryPage .order-query-table tbody tr:has(.order-query-row-check:checked) td{
  background:#eff6ff!important;
}
#orderQueryPage .order-query-table tbody tr:has(.order-query-row-check:checked):hover td{
  background:#dbeafe!important;
}
#orderQueryPage .order-query-card{
  max-width:1780px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
#orderQueryPage .order-query-stats{
  max-width:1500px!important;
  margin:10px auto 12px!important;
  gap:7px!important;
}
#orderQueryPage .order-query-stats div{
  min-height:46px!important;
  padding:8px 10px!important;
}
#orderQueryPage .order-query-stats strong{
  font-size:16px!important;
  line-height:1.15!important;
}
#orderQueryPage .order-query-actions{
  max-width:1500px!important;
  margin:8px auto 10px!important;
}
#orderQueryPage .order-query-table-wrap{
  max-width:1720px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Order query final visual alignment: keep the table wide, compact only the summary strip */
#orderQueryPage .order-query-card{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
#orderQueryPage .order-query-stats{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  margin:12px auto 14px!important;
  grid-template-columns:repeat(6,minmax(150px,1fr))!important;
}
#orderQueryPage .order-query-stats div{
  min-height:52px!important;
  padding:10px 12px!important;
}
#orderQueryPage .order-query-actions{
  width:100%!important;
  max-width:none!important;
  margin:8px 0 10px!important;
}
#orderQueryPage .order-query-table-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:10px 12px 12px!important;
  background:#fff!important;
}
#orderQueryPage .order-query-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:80!important;
  height:34px!important;
  background:linear-gradient(180deg,#f7fffc 0%,#eef8f5 100%)!important;
  color:#1f3445!important;
  font-size:12px!important;
  font-weight:700!important;
  border-bottom:1px solid rgba(13,148,136,.22)!important;
  box-shadow:0 2px 8px rgba(15,23,42,.06)!important;
}
#orderQueryPage .order-query-table tbody td{
  position:relative!important;
  z-index:1!important;
}
#orderQueryPage .order-query-media-btn,
#orderQueryPage .order-query-status-tag,
#orderQueryPage .order-query-pay-tag{
  position:relative!important;
  z-index:2!important;
}

/* V77 图文报价独立页面：仅限 #graphicQuotePage */
#graphicQuotePage .graphic-quote-page{display:flex;flex-direction:column;gap:16px;padding:18px;max-width:100%;box-sizing:border-box;color:#1f3340;}
#graphicQuotePage .graphic-quote-hero{display:flex;justify-content:space-between;align-items:stretch;gap:18px;background:linear-gradient(135deg,#f6fffd,#eefbf8);border:1px solid #d8ebe8;border-radius:20px;padding:18px 20px;box-shadow:0 10px 26px rgba(16,82,78,.08);}
#graphicQuotePage .graphic-quote-hero h2{margin:4px 0 8px;font-size:24px;color:#123f3c;font-weight:700;}
#graphicQuotePage .graphic-total-card{min-width:230px;border-radius:18px;background:#fff7e6;border:1px solid #f2d29a;padding:16px 18px;text-align:right;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;}
#graphicQuotePage .graphic-total-card span{font-size:13px;color:#96620e;font-weight:600;}
#graphicQuotePage .graphic-total-card strong{font-size:30px;line-height:1.25;color:#bc5b03;word-break:break-all;}
#graphicQuotePage .graphic-info-grid,#graphicQuotePage .graphic-toolbar-card,#graphicQuotePage .graphic-extra-card,#graphicQuotePage .graphic-summary-card,#graphicQuotePage .graphic-table-card,#graphicQuotePage .graphic-action-row{background:#fff;border:1px solid #dcebe9;border-radius:18px;box-shadow:0 8px 22px rgba(16,82,78,.06);}
#graphicQuotePage .graphic-info-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;padding:16px;}
#graphicQuotePage label{font-size:13px;color:#526b72;font-weight:600;display:flex;flex-direction:column;gap:6px;min-width:0;}
#graphicQuotePage label.wide{grid-column:span 2;}
#graphicQuotePage input,#graphicQuotePage select{height:38px;border:1px solid #cfe2df;border-radius:10px;padding:0 10px;background:#fff;color:#172b35;font-size:14px;font-weight:500;box-sizing:border-box;min-width:0;}
#graphicQuotePage input:focus,#graphicQuotePage select:focus{outline:none;border-color:#159083;box-shadow:0 0 0 3px rgba(21,144,131,.12);}
#graphicQuotePage .graphic-toolbar-card{display:grid;grid-template-columns:minmax(340px,1fr) 2fr;gap:14px;padding:16px;align-items:stretch;}
#graphicQuotePage .graphic-upload-box{border:2px dashed #9fd6ce;border-radius:16px;background:#f7fffd;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;min-height:96px;}
#graphicQuotePage .graphic-upload-box.dragover{background:#e8faf5;border-color:#00897b;}
#graphicQuotePage .graphic-upload-box strong{font-size:16px;color:#0b6f67;}
#graphicQuotePage .graphic-upload-box p{margin:6px 0 0;color:#6b7f86;font-size:13px;line-height:1.5;}
#graphicQuotePage .graphic-file-btn{position:relative;overflow:hidden;white-space:nowrap;}
#graphicQuotePage .graphic-file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer;}
#graphicQuotePage .graphic-defaults{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;align-items:end;}
#graphicQuotePage .graphic-action-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;flex-wrap:wrap;}
#graphicQuotePage .graphic-quick-actions,#graphicQuotePage .graphic-draft-actions,#graphicQuotePage .graphic-footer-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
#graphicQuotePage .graphic-draft-actions select{min-width:220px;}
#graphicQuotePage .danger-lite{border-color:#f3c6c6!important;color:#b42318!important;background:#fff7f7!important;}
#graphicQuotePage .graphic-table-card{padding:12px;}
#graphicQuotePage .graphic-table-scroll{overflow:auto;max-height:calc(100vh - 390px);min-height:280px;border-radius:14px;border:1px solid #dcebe9;}
#graphicQuotePage .graphic-quote-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;background:#fff;font-size:13px;}
#graphicQuotePage .graphic-quote-table th{position:sticky;top:0;z-index:4;background:#e9f7f4;color:#1f5d58;font-weight:700;border-bottom:1px solid #cfe2df;padding:9px 8px;white-space:nowrap;text-align:center;}
#graphicQuotePage .graphic-quote-table td{border-bottom:1px solid #eef4f3;padding:7px 6px;text-align:center;vertical-align:middle;background:#fff;}
#graphicQuotePage .graphic-quote-table tr:hover td{background:#f8fdfc;}
#graphicQuotePage .graphic-quote-table tr.row-selected td{background:#eaf8f4;}
#graphicQuotePage .graphic-quote-table .check-col{width:42px;min-width:42px;max-width:42px;}
#graphicQuotePage .graphic-quote-table input[type="checkbox"]{width:16px;height:16px;padding:0;accent-color:#0b8078;}
#graphicQuotePage .gq-input{width:82px;height:32px;border-radius:8px;padding:0 8px;text-align:center;font-size:13px;}
#graphicQuotePage select.gq-input{min-width:92px;text-align:left;padding-right:22px;}
#graphicQuotePage .gq-file-name{min-width:220px;max-width:260px;text-align:left!important;}
#graphicQuotePage .gq-file-name strong{display:block;max-width:235px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1d3b43;font-weight:650;}
#graphicQuotePage .gq-file-name small{display:block;color:#8a9aa0;font-size:12px;margin-top:3px;}
#graphicQuotePage .gq-price-changed{border-color:#f5b75f!important;background:#fffaf0!important;}
#graphicQuotePage .gq-craft-inline{display:flex;gap:4px;align-items:center;}
#graphicQuotePage .gq-craft-inline .gq-input:first-child{width:72px;}
#graphicQuotePage .gq-money{font-weight:700;color:#b45309;min-width:88px;text-align:right!important;white-space:nowrap;}
#graphicQuotePage .gq-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 8px;font-size:12px;background:#eef2f5;color:#667085;white-space:nowrap;}
#graphicQuotePage .gq-status.done{background:#e7f8ef;color:#087443;}
#graphicQuotePage .gq-status.fail{background:#fff0f0;color:#c03221;}
#graphicQuotePage .gq-row-actions{white-space:nowrap;}
#graphicQuotePage .graphic-extra-grid{display:grid;grid-template-columns:1.05fr 1.6fr;gap:16px;}
#graphicQuotePage .graphic-extra-card,#graphicQuotePage .graphic-summary-card{padding:16px;}
#graphicQuotePage .graphic-extra-card h3,#graphicQuotePage .graphic-summary-card h3{margin:0 0 12px;color:#123f3c;font-size:16px;}
#graphicQuotePage .graphic-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;}
#graphicQuotePage .graphic-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px;}
#graphicQuotePage .gq-summary-item{border-radius:14px;background:#f5fbfa;border:1px solid #dcebe9;padding:10px 12px;min-height:58px;display:flex;flex-direction:column;justify-content:center;gap:4px;}
#graphicQuotePage .gq-summary-item span{font-size:12px;color:#6a7f86;font-weight:600;}
#graphicQuotePage .gq-summary-item strong{font-size:17px;color:#163f48;word-break:break-all;}
#graphicQuotePage .gq-summary-item.total{background:#fff7e8;border-color:#f0d09c;}
#graphicQuotePage .gq-summary-item.total strong{font-size:22px;color:#b45309;}
#graphicQuotePage .graphic-footer-actions{justify-content:center;padding:4px 0 10px;}
#graphicQuotePage .empty-row td{height:120px;color:#7b8e94;text-align:center!important;}
@media (max-width: 1400px){#graphicQuotePage .graphic-info-grid{grid-template-columns:repeat(3,minmax(140px,1fr));}#graphicQuotePage label.wide{grid-column:span 1;}#graphicQuotePage .graphic-toolbar-card{grid-template-columns:1fr;}#graphicQuotePage .graphic-summary-grid{grid-template-columns:repeat(3,minmax(110px,1fr));}}
@media (max-width: 900px){#graphicQuotePage .graphic-quote-hero{flex-direction:column;}#graphicQuotePage .graphic-info-grid,#graphicQuotePage .graphic-defaults,#graphicQuotePage .graphic-extra-fields{grid-template-columns:1fr 1fr;}#graphicQuotePage .graphic-extra-grid{grid-template-columns:1fr;}#graphicQuotePage .graphic-summary-grid{grid-template-columns:1fr 1fr;}}

/* V77 order management toolbar grouping: scoped to #ordersPage only. */
#ordersPage .order-action-bar{
  gap:12px;
  align-items:center;
}
#ordersPage .order-action-group{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:7px;
  border-radius:14px;
  border:1px solid transparent;
}
#ordersPage .order-action-group .ghost-btn.small,
#ordersPage #orderImageSearchBtn{
  height:34px;
  min-width:0;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  box-shadow:none;
}
#ordersPage .order-action-group-basic{
  background:rgba(13,148,136,.08);
  border-color:rgba(13,148,136,.18);
}
#ordersPage .order-action-group-basic .ghost-btn.small,
#ordersPage #orderImageSearchBtn{
  color:#075f5a;
  background:rgba(255,255,255,.86);
  border-color:rgba(13,148,136,.25);
}
#ordersPage .order-action-group-basic .ghost-btn.small:hover,
#ordersPage #orderImageSearchBtn:hover{
  background:#e8f7f4;
  border-color:rgba(13,148,136,.42);
}
#ordersPage .order-action-group-basic #orderDeleteBtn{
  color:#b42318;
  background:#fff7f7;
  border-color:#f3c6c6;
}
#ordersPage .order-action-group-basic #orderDeleteBtn:hover{
  background:#fee4e2;
  border-color:#f0a8a8;
}
#ordersPage .order-action-group-export{
  background:rgba(79,70,229,.07);
  border-color:rgba(79,70,229,.16);
}
#ordersPage .order-action-group-export .ghost-btn.small{
  color:#3730a3;
  background:rgba(255,255,255,.88);
  border-color:rgba(79,70,229,.22);
}
#ordersPage .order-action-group-export .ghost-btn.small:hover{
  background:#eef2ff;
  border-color:rgba(79,70,229,.38);
}
#ordersPage .order-action-group-merge{
  background:rgba(217,119,6,.09);
  border-color:rgba(217,119,6,.20);
}
#ordersPage .order-action-group-merge .ghost-btn.small{
  color:#9a4d00;
  background:rgba(255,255,255,.88);
  border-color:rgba(217,119,6,.26);
}
#ordersPage .order-action-group-merge .ghost-btn.small:hover{
  background:#fff7ed;
  border-color:rgba(217,119,6,.44);
}

/* v78.1: 合并账单名称列二级订单提示完整显示 */
#ordersPage .orders-table tr.merged-order-row td:nth-child(5){
  overflow:visible!important;
  white-space:normal!important;
  line-height:1.35!important;
}
#ordersPage .orders-table tr.merged-order-row .order-detail-link{
  display:block!important;
  width:100%!important;
  min-height:18px!important;
  line-height:1.35!important;
  padding:0!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#ordersPage .orders-table tr.merged-order-row .merged-order-hint{
  display:block!important;
  width:100%!important;
  margin:3px 0 0!important;
  line-height:1.4!important;
  font-size:12px!important;
  color:rgba(11,122,117,.78)!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#ordersPage .orders-table tr.merged-order-row td{
  height:58px!important;
  max-height:none!important;
}


/* v80 稳定修复：登录态校验期间不闪登录页 */
body.auth-pending .login-page,
body.auth-pending .main-shell{visibility:hidden!important;}

/* v80 订单管理：合并账单提示完整显示，避免二级订单文字被截断 */
#ordersPage .orders-table tr.merged-order-row .merged-order-hint{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  min-width:0!important;
  line-height:1.45!important;
  height:auto!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  padding:0 2px!important;
}
#ordersPage .orders-table tr.merged-order-row td:nth-child(5){
  overflow:visible!important;
}

/* v80 二级订单明细：图片角标压在缩略图内，不再盖住下方文字 */
#orderDetailsModal .detail-thumb-btn{
  width:48px!important;
  min-width:48px!important;
  height:36px!important;
  overflow:hidden!important;
  z-index:0!important;
}
#orderDetailsModal .detail-thumb-btn img{
  width:48px!important;
  height:36px!important;
}
#orderDetailsModal .detail-thumb-btn .order-image-badge,
#orderDetailsModal .detail-thumb-btn b{
  top:1px!important;
  right:1px!important;
  min-width:17px!important;
  height:17px!important;
  line-height:17px!important;
  font-size:10.5px!important;
  padding:0 4px!important;
  z-index:2!important;
  box-shadow:0 2px 6px rgba(11,122,117,.18)!important;
}
#orderDetailsModal .detail-table td:nth-child(15){
  overflow:hidden!important;
}

/* v80 今日订单：表格列宽重新分配，表头完整显示，图片/文件列压缩 */
#todayOrdersPage .report-table-wrap{
  max-height:calc(100vh - 300px)!important;
  overflow:auto!important;
  border-radius:14px!important;
}
#todayOrdersPage .report-orders-table{
  width:100%!important;
  min-width:1560px!important;
  table-layout:fixed!important;
}
#todayOrdersPage .report-orders-table th,
#todayOrdersPage .report-orders-table td{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  text-align:center!important;
  vertical-align:middle!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
#todayOrdersPage .report-orders-table th:nth-child(1),#todayOrdersPage .report-orders-table td:nth-child(1){width:46px!important;}
#todayOrdersPage .report-orders-table th:nth-child(2),#todayOrdersPage .report-orders-table td:nth-child(2){width:76px!important;}
#todayOrdersPage .report-orders-table th:nth-child(3),#todayOrdersPage .report-orders-table td:nth-child(3){width:106px!important;}
#todayOrdersPage .report-orders-table th:nth-child(4),#todayOrdersPage .report-orders-table td:nth-child(4){width:120px!important;}
#todayOrdersPage .report-orders-table th:nth-child(5),#todayOrdersPage .report-orders-table td:nth-child(5){width:96px!important;}
#todayOrdersPage .report-orders-table th:nth-child(6),#todayOrdersPage .report-orders-table td:nth-child(6){width:106px!important;}
#todayOrdersPage .report-orders-table th:nth-child(7),#todayOrdersPage .report-orders-table td:nth-child(7){width:96px!important;}
#todayOrdersPage .report-orders-table th:nth-child(8),#todayOrdersPage .report-orders-table td:nth-child(8){width:78px!important;}
#todayOrdersPage .report-orders-table th:nth-child(9),#todayOrdersPage .report-orders-table td:nth-child(9){width:82px!important;}
#todayOrdersPage .report-orders-table th:nth-child(10),#todayOrdersPage .report-orders-table td:nth-child(10){width:78px!important;}
#todayOrdersPage .report-orders-table th:nth-child(11),#todayOrdersPage .report-orders-table td:nth-child(11){width:78px!important;}
#todayOrdersPage .report-orders-table th:nth-child(12),#todayOrdersPage .report-orders-table td:nth-child(12){width:52px!important;}
#todayOrdersPage .report-orders-table th:nth-child(13),#todayOrdersPage .report-orders-table td:nth-child(13){width:82px!important;}
#todayOrdersPage .report-orders-table th:nth-child(14),#todayOrdersPage .report-orders-table td:nth-child(14){width:110px!important;}
#todayOrdersPage .report-orders-table th:nth-child(15),#todayOrdersPage .report-orders-table td:nth-child(15){width:64px!important;overflow:hidden!important;}
#todayOrdersPage .report-orders-table th:nth-child(16),#todayOrdersPage .report-orders-table td:nth-child(16){width:58px!important;}
#todayOrdersPage .report-orders-table th:nth-child(17),#todayOrdersPage .report-orders-table td:nth-child(17){width:76px!important;}
#todayOrdersPage .report-orders-table th:nth-child(18),#todayOrdersPage .report-orders-table td:nth-child(18){width:82px!important;}
#todayOrdersPage .report-orders-table th:nth-child(19),#todayOrdersPage .report-orders-table td:nth-child(19){width:108px!important;}
#todayOrdersPage .report-orders-table th:nth-child(20),#todayOrdersPage .report-orders-table td:nth-child(20){width:116px!important;}
#todayOrdersPage .order-thumb-btn{
  width:44px!important;
  min-width:44px!important;
  height:30px!important;
  overflow:hidden!important;
}
#todayOrdersPage .order-thumb-btn img{
  width:44px!important;
  height:30px!important;
}
#todayOrdersPage .order-thumb-btn b,
#todayOrdersPage .order-thumb-btn .order-image-badge{
  top:1px!important;
  right:1px!important;
  min-width:16px!important;
  height:16px!important;
  line-height:16px!important;
  font-size:10px!important;
  padding:0 3px!important;
}
#todayOrdersPage .order-file-badge-btn{
  width:36px!important;
  min-width:36px!important;
  height:30px!important;
}
#todayOrdersPage .order-file-badge-btn em{
  top:1px!important;
  right:1px!important;
  min-width:16px!important;
  height:16px!important;
  line-height:16px!important;
  font-size:10px!important;
}

/* v82 局部修复：订单管理合并账单小字完整居中、项目单价居中、加入合并账单搜索 */
#ordersPage .orders-table tr.merged-order-row td:nth-child(5){
  overflow:visible!important;
  white-space:normal!important;
  text-align:center!important;
}
#ordersPage .orders-table tr.merged-order-row td:nth-child(5) .order-cell-clamp{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.35!important;
}
#ordersPage .orders-table tr.merged-order-row .order-detail-link{
  max-width:100%!important;
  text-align:center!important;
}
#ordersPage .orders-table tr.merged-order-row .merged-order-hint{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.45!important;
  font-size:12px!important;
  padding:0!important;
  margin:2px auto 0!important;
}
#ordersPage .orders-table th:nth-child(11),
#ordersPage .orders-table td:nth-child(11){
  text-align:center!important;
}
#ordersPage .orders-table td:nth-child(11) .order-cell-clamp{
  justify-content:center!important;
  text-align:center!important;
  margin:0 auto!important;
}
#ordersPage .order-merge-target-card{
  width:min(760px,88vw)!important;
}
#ordersPage .merge-target-filter,
.order-merge-target-card .merge-target-filter{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:4px 0 12px;
}
#ordersPage .merge-target-search,
.order-merge-target-card .merge-target-search{
  width:100%;
  height:42px;
  border:1px solid #cfe3e0;
  border-radius:12px;
  padding:0 14px;
  font-size:14px;
  background:#fff;
  outline:none;
}
#ordersPage .merge-target-search:focus,
.order-merge-target-card .merge-target-search:focus{
  border-color:#0b7a75;
  box-shadow:0 0 0 3px rgba(11,122,117,.10);
}
#ordersPage .merge-target-filter small,
.order-merge-target-card .merge-target-filter small{
  color:#68827f;
  font-size:12px;
}
#ordersPage .merge-target-empty,
.order-merge-target-card .merge-target-empty{
  padding:28px 12px;
  text-align:center;
  color:#6b7f7d;
  background:#f8fffd;
  border:1px dashed #cfe7e4;
  border-radius:14px;
}
#quotePage .batch-bar{
  align-items:center;
}

/* ===== V83：回收站、今日订单、合并账单弹窗、个人任务局部修复 ===== */
.order-merge-target-card{
  width:min(760px,88vw)!important;
  height:min(620px,82vh)!important;
  max-height:min(620px,82vh)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.order-merge-target-card .merge-target-filter{
  flex:0 0 auto!important;
}
.order-merge-target-card .merge-target-list{
  flex:1 1 auto!important;
  min-height:360px!important;
  max-height:none!important;
  overflow:auto!important;
  padding:4px 6px 10px!important;
}
.order-merge-target-card .modal-actions{
  flex:0 0 auto!important;
}
.order-merge-target-card .merge-target-empty{
  height:100%!important;
  min-height:320px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

#orderRecyclePage .data-page-card{
  padding:26px 32px!important;
  margin:0 10px!important;
  overflow:hidden!important;
}
#orderRecyclePage .recycle-toolbar{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  padding:12px 14px!important;
  margin:12px 0 16px!important;
  border:1px solid rgba(11,122,117,.10)!important;
  border-radius:18px!important;
  background:rgba(244,250,249,.96)!important;
}
#orderRecyclePage .recycle-toolbar .search-input{
  flex:1 1 360px!important;
  min-width:240px!important;
  max-width:520px!important;
  height:40px!important;
  margin:0!important;
}
#orderRecyclePage .recycle-toolbar button,
#orderRecyclePage .recycle-toolbar select{
  height:40px!important;
}
#orderRecyclePage .recycle-toolbar label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  margin:0!important;
}
#orderRecyclePage .data-table-wrap{
  padding:0!important;
  overflow:auto!important;
  border-radius:16px!important;
}
#orderRecyclePage .recycle-table{
  table-layout:fixed!important;
  min-width:1120px!important;
}
#orderRecyclePage .recycle-table th,
#orderRecyclePage .recycle-table td{
  text-align:center!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#orderRecyclePage .recycle-table th:first-child,
#orderRecyclePage .recycle-table td:first-child{width:42px!important;}
#orderRecyclePage .recycle-table th:nth-child(2),
#orderRecyclePage .recycle-table td:nth-child(2){width:54px!important;}
#orderRecyclePage .recycle-table th:nth-child(3),
#orderRecyclePage .recycle-table td:nth-child(3){width:150px!important;}
#orderRecyclePage .recycle-table th:nth-child(4),
#orderRecyclePage .recycle-table td:nth-child(4){width:150px!important;}
#orderRecyclePage .recycle-table th:nth-child(5),
#orderRecyclePage .recycle-table td:nth-child(5){width:180px!important;}
#orderRecyclePage .recycle-table th:nth-child(6),
#orderRecyclePage .recycle-table td:nth-child(6){width:150px!important;}
#orderRecyclePage .recycle-table th:nth-child(7),
#orderRecyclePage .recycle-table td:nth-child(7){width:100px!important;}
#orderRecyclePage .recycle-table th:nth-child(8),
#orderRecyclePage .recycle-table td:nth-child(8){width:90px!important;}
#orderRecyclePage .recycle-table th:nth-child(9),
#orderRecyclePage .recycle-table td:nth-child(9){width:150px!important;}
#orderRecyclePage .recycle-table th:nth-child(10),
#orderRecyclePage .recycle-table td:nth-child(10){width:110px!important;}

#todayOrdersPage .today-orders-toolbar{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
}
#todayOrdersPage .today-orders-toolbar label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}
#todayOrdersPage .today-orders-toolbar select{
  min-width:82px!important;
  height:40px!important;
}
#todayOrdersPage .today-orders-pager{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:12px!important;
  margin:12px 0 0!important;
}
#todayOrdersPage .report-table-wrap{
  max-height:calc(100vh - 330px)!important;
}
#todayOrdersPage .report-orders-table th,
#todayOrdersPage .report-orders-table td{
  white-space:nowrap!important;
  word-break:keep-all!important;
  text-overflow:clip!important;
}
#todayOrdersPage .report-orders-table th:nth-child(1),#todayOrdersPage .report-orders-table td:nth-child(1){width:54px!important;min-width:54px!important;}
#todayOrdersPage .report-orders-table th:nth-child(2),#todayOrdersPage .report-orders-table td:nth-child(2){width:88px!important;min-width:88px!important;}
#todayOrdersPage .report-orders-table th:nth-child(3),#todayOrdersPage .report-orders-table td:nth-child(3){width:120px!important;min-width:120px!important;}
#todayOrdersPage .report-orders-table th:nth-child(15),#todayOrdersPage .report-orders-table td:nth-child(15){width:66px!important;min-width:66px!important;}
#todayOrdersPage .report-orders-table th:nth-child(16),#todayOrdersPage .report-orders-table td:nth-child(16){width:54px!important;min-width:54px!important;}

#myFinishedTasksPage .data-table-wrap{
  overflow:auto!important;
}
#myFinishedTasksPage .task-log-table{
  table-layout:fixed!important;
  min-width:1180px!important;
}
#myFinishedTasksPage .task-log-table th,
#myFinishedTasksPage .task-log-table td{
  text-align:center!important;
  vertical-align:middle!important;
}
#myFinishedTasksPage .task-log-table th:nth-child(1),#myFinishedTasksPage .task-log-table td:nth-child(1){width:58px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(2),#myFinishedTasksPage .task-log-table td:nth-child(2){width:420px!important;text-align:left!important;white-space:normal!important;line-height:1.55!important;}
#myFinishedTasksPage .task-log-table th:nth-child(3),#myFinishedTasksPage .task-log-table td:nth-child(3){width:100px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(4),#myFinishedTasksPage .task-log-table td:nth-child(4){width:150px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(5),#myFinishedTasksPage .task-log-table td:nth-child(5){width:150px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(6),#myFinishedTasksPage .task-log-table td:nth-child(6){width:90px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(7),#myFinishedTasksPage .task-log-table td:nth-child(7){width:150px!important;}

/* V84 回收站、业务配置、个人中心整合修复 */
#orderRecyclePage .recycle-toolbar{
  width:100%!important;
  box-sizing:border-box!important;
  justify-content:flex-start!important;
}
#orderRecyclePage .recycle-page-card{max-width:100%!important;box-sizing:border-box!important;}
#orderRecyclePage .recycle-table input[type="checkbox"],
#orderRecyclePage #recycleSelectAll{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  padding:0!important;
  margin:0 auto!important;
  transform:none!important;
  accent-color:#0b7a75;
}
#orderRecyclePage .recycle-check-cell{padding:0!important;text-align:center!important;vertical-align:middle!important;}
#orderRecyclePage .recycle-table .empty-row td{
  height:180px!important;
  text-align:center!important;
  color:#64748b!important;
  font-weight:800!important;
  background:#fff!important;
}
#orderRecyclePage .recycle-table tr.row-selected td{background:rgba(13,148,136,.08)!important;}
#orderRecyclePage .pager{margin-top:14px!important;}

#customerTypePage.readonly-config .data-page-card::after,
#customerTypePage .readonly-tip{
  color:#64748b!important;
  font-weight:800!important;
}
#customerTypePage .readonly-config input,
#customerTypePage .readonly-config textarea,
#customerTypePage .readonly-config select{
  background:#f8fafc!important;
}

.product-config-page{padding:24px 28px!important;overflow:hidden!important;}
.product-config-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 18px;padding:8px;border:1px solid rgba(11,122,117,.12);background:rgba(240,253,250,.48);border-radius:18px;}
.product-config-tab{border:1px solid rgba(11,122,117,.18);background:#fff;color:#1f3447;border-radius:12px;padding:10px 16px;font-weight:900;cursor:pointer;}
.product-config-tab.active{background:#0b7a75;color:#fff;box-shadow:0 10px 22px rgba(11,122,117,.16);}
.product-config-panel{border:1px solid rgba(11,122,117,.10);background:rgba(255,255,255,.92);border-radius:18px;padding:16px;}
.product-config-form{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;align-items:end;margin-bottom:16px;}
.product-config-form label{display:flex;flex-direction:column;gap:6px;font-weight:850;color:#334155;}
.product-config-form input,.product-config-form select,.product-config-form textarea{width:100%;box-sizing:border-box;border:1px solid #d5e5e4;border-radius:12px;background:#fff;min-height:40px;padding:8px 11px;font:inherit;}
.product-config-form textarea{resize:vertical;}
.product-config-form .wide,.product-config-form .form-actions.wide{grid-column:1/-1;}
.product-config-form .form-actions{display:flex;align-items:center;gap:10px;justify-content:flex-start;}
.product-config-form.readonly-config{opacity:.72;}
.product-config-form.readonly-config input,.product-config-form.readonly-config select,.product-config-form.readonly-config textarea{pointer-events:none;background:#f8fafc!important;}
.product-config-list{display:flex;flex-direction:column;gap:10px;max-height:calc(100vh - 360px);overflow:auto;padding-right:4px;}
.product-config-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(15,118,110,.12);border-radius:16px;background:linear-gradient(180deg,#fff,#f8ffff);padding:12px 14px;}
.product-config-row strong{font-size:15px;color:#0f2a3d;}
.product-config-row span,.product-config-row small{display:block;color:#64748b;font-size:12px;margin-top:4px;}
.product-config-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.product-config-group{border:1px solid rgba(15,118,110,.10);border-radius:16px;padding:12px;background:rgba(248,250,252,.62);}
.product-config-group h3{margin:0 0 10px;color:#0b7a75;font-size:16px;}.product-config-group h3 span{font-size:12px;color:#64748b;}
.print-price-form{grid-template-columns:repeat(5,minmax(130px,1fr));}

.profile-page-card{padding:24px 28px!important;}
.profile-form{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px;max-width:980px;}
.profile-form label{display:flex;flex-direction:column;gap:6px;font-weight:850;color:#334155;}
.profile-form input,.profile-form textarea{border:1px solid #d5e5e4;border-radius:12px;background:#fff;min-height:42px;padding:9px 12px;font:inherit;box-sizing:border-box;}
.profile-form .wide,.profile-form .form-actions.wide{grid-column:1/-1;}
.profile-form .form-actions{display:flex;gap:12px;align-items:center;}

#myFinishedTasksPage .data-table-wrap{max-width:100%!important;overflow:auto!important;}
#myFinishedTasksPage .task-log-table{min-width:1080px!important;table-layout:fixed!important;}
#myFinishedTasksPage .task-log-table th,#myFinishedTasksPage .task-log-table td{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;vertical-align:middle!important;}
#myFinishedTasksPage .task-log-table th:nth-child(1),#myFinishedTasksPage .task-log-table td:nth-child(1){width:64px!important;min-width:64px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(2),#myFinishedTasksPage .task-log-table td:nth-child(2){width:360px!important;white-space:normal!important;text-align:left!important;line-height:1.5!important;}
#myFinishedTasksPage .task-log-table th:nth-child(3),#myFinishedTasksPage .task-log-table td:nth-child(3){width:110px!important;min-width:110px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(4),#myFinishedTasksPage .task-log-table td:nth-child(4){width:150px!important;min-width:150px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(5),#myFinishedTasksPage .task-log-table td:nth-child(5){width:150px!important;min-width:150px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(6),#myFinishedTasksPage .task-log-table td:nth-child(6){width:92px!important;min-width:92px!important;}
#myFinishedTasksPage .task-log-table th:nth-child(7),#myFinishedTasksPage .task-log-table td:nth-child(7){width:154px!important;min-width:154px!important;}

@media (max-width: 1360px){
  .product-config-form{grid-template-columns:repeat(2,minmax(180px,1fr));}
  .print-price-form{grid-template-columns:repeat(3,minmax(130px,1fr));}
  .profile-form{grid-template-columns:repeat(2,minmax(200px,1fr));}
}

/* V85 业务配置拆分：产品管理、图文价格独立 */
#productManagePage .product-config-toolbar{
  display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important;
  margin:4px 0 14px!important;padding:12px!important;border:1px solid rgba(11,122,117,.12)!important;
  background:rgba(240,253,250,.52)!important;border-radius:16px!important;
}
#productManagePage .product-config-toolbar label{
  display:flex!important;flex-direction:column!important;gap:6px!important;min-width:150px!important;
  font-weight:850!important;color:#334155!important;
}
#productManagePage .product-config-toolbar input,
#productManagePage .product-config-toolbar select{
  height:38px!important;border:1px solid #d5e5e4!important;border-radius:11px!important;background:#fff!important;padding:7px 10px!important;box-sizing:border-box!important;
}
#productManagePage .product-config-select{display:flex!important;align-items:center!important;justify-content:center!important;min-width:28px!important;margin:0!important;}
#productManagePage .product-config-select input{width:16px!important;height:16px!important;min-width:16px!important;accent-color:#0b7a75!important;}
#productManagePage .product-config-main{flex:1!important;min-width:180px!important;}
#productManagePage .product-config-row{align-items:center!important;}
#productManagePage .product-config-row.disabled-item{opacity:.62!important;background:#f8fafc!important;}
#graphicPricePage .graphic-price-page{padding:24px 28px!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;}
#graphicPricePage .graphic-price-form{display:flex!important;flex-direction:column!important;gap:16px!important;}
#graphicPricePage .graphic-price-section{border:1px solid rgba(11,122,117,.12)!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;padding:16px!important;}
#graphicPricePage .graphic-price-section h3{margin:0 0 14px!important;color:#0b7a75!important;font-size:17px!important;}
#graphicPricePage .graphic-price-grid{display:grid!important;grid-template-columns:repeat(5,minmax(140px,1fr))!important;gap:12px!important;}
#graphicPricePage .graphic-price-grid label{display:flex!important;flex-direction:column!important;gap:6px!important;font-weight:850!important;color:#334155!important;}
#graphicPricePage .graphic-price-grid input{width:100%!important;height:40px!important;border:1px solid #d5e5e4!important;border-radius:12px!important;background:#fff!important;padding:8px 11px!important;box-sizing:border-box!important;font:inherit!important;text-align:right!important;}
#graphicPricePage .graphic-price-note{border:1px dashed rgba(11,122,117,.24)!important;border-radius:14px!important;background:rgba(240,253,250,.55)!important;padding:12px 14px!important;color:#476174!important;font-weight:800!important;}
#graphicPricePage .form-actions.wide{display:flex!important;gap:12px!important;align-items:center!important;justify-content:flex-start!important;}
@media (max-width: 1360px){
  #graphicPricePage .graphic-price-grid{grid-template-columns:repeat(3,minmax(140px,1fr))!important;}
}

/* Editable order total, retaining the amount card layout. */
#orderEditModal .oq-total-editor { display:flex; align-items:center; margin-top:auto; min-width:0; color:#d9480f; }
#orderEditModal .oq-total-editor b { font-size:32px; }
#orderEditModal .oq-money-card .oq-total-editor #orderFormTotal {
  position:static!important; display:block!important; visibility:visible!important;
  opacity:1!important; pointer-events:auto!important; flex:1; width:100%!important;
  max-width:100%!important; min-width:0!important; height:58px!important;
  font-size:38px!important; field-sizing:fixed!important; margin:0!important;
}
#orderEditModal .oq-total-editor #orderFormTotal:focus { outline:2px solid #0b8580!important; border-radius:6px; }
