#settleSummary .home-pending-head > strong { flex:1 1 auto; max-width:none; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
#settleSummary .home-pending-inline-meta { margin-left:auto; flex:0 0 auto; }
#settleSummary .home-pending-inline-meta > span:first-child { margin-left:8px; }
#settleSummary .settle-sku-row { display:flex; align-items:center; gap:12px; min-width:0; margin-top:5px; padding:0 8px; border:1.5px solid #ddd; border-radius:14px; background:#fff; }
#settleSummary .settle-sku-row .home-pending-skus { flex:1 1 0; min-width:0; margin:0; padding:6px 0; border:0; }
#orderExtrasAdd { position:relative; flex:0 0 40px; display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box; width:40px; height:40px; gap:1px; border:1px solid #222; border-radius:6px; padding:0; background:#fff; color:#222; font:700 12px/14px "Inter Tight","Noto Sans SC",sans-serif; cursor:pointer; }
#orderExtrasAdd::before { content:""; position:absolute; right:calc(100% + 6px); top:50%; transform:translateY(-50%); height:36px; border-left:1px solid #ccc; pointer-events:none; }
#orderExtrasAdd > span { display:block; white-space:nowrap; }
.order-extra-badge .home-pending-sku-main,.order-extra-badge .home-pending-code-strip { border-color:#a26424; background:#fff8ed; color:#8a4b12; }
.order-extra-badge .home-pending-code-strip { font-size:8px; padding-left:1px; padding-right:1px; }
.order-extra-badge:focus-visible { outline:2px solid #a26424; outline-offset:3px; border-radius:6px; }
#orderExtrasDelete { margin-right:auto; color:#ad3027; border-color:#ad3027; }
.order-extra-row td { background:#fffaf0; }
.order-extra-row td > div { display:flex; align-items:center; flex-wrap:wrap; gap:6px; padding:5px; text-align:left; }
.order-extra-row small { color:#777; font-size:10px; }
.order-extra-row td > div > span { margin-left:auto; display:flex; gap:5px; }
.order-extra-row button { border:1px solid #aaa; border-radius:5px; background:#fff; padding:3px 6px; font:inherit; font-size:11px; cursor:pointer; }
.order-extra-row .order-extra-identity { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; padding:5px 0; }
.order-extra-row .order-extra-desc { display:flex; flex:1 1 70px; flex-direction:column; min-width:0; gap:3px; text-align:left; }
.order-extra-desc strong { font-size:12px; font-weight:700; overflow-wrap:anywhere; }
.order-extra-desc small { line-height:1.4; overflow-wrap:anywhere; }
.order-extra-row .order-extra-badge { display:inline-grid; flex:0 0 35px; margin:0; }
.order-extra-row .order-extra-actions { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.order-extra-row button.order-extra-action { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; flex:0 0 30px; box-sizing:border-box; border:1px solid #222; border-radius:50%; padding:0; background:#222; color:#fff; font:700 13px/1 "Inter Tight","Noto Sans SC",sans-serif; }
.order-extra-row button.order-extra-action:focus-visible { outline:2px solid #777; outline-offset:2px; }
.order-extra-row .order-extra-price { font-variant-numeric:tabular-nums; white-space:nowrap; }
#warehouseBody .order-extra-badge { position:relative; }
#warehouseBody .order-extra-badge :is(.wh-sku-circle, .wh-sku-code-strip) { border-color:#a26424; background:#fff8ed; color:#8a4b12; }
#warehouseBody .order-extra-desc { display:grid; gap:2px; }
#warehouseBody .order-extra-desc :is(strong, small) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#warehouseBody .order-extra-desc strong { font-size:12px; line-height:14px; }
#warehouseBody .order-extra-desc small { line-height:12px; }
#settleItemsBody .order-extra-row td { vertical-align:middle; }
#settleItemsBody .order-extra-desc strong { font-size:12px; line-height:1.4; font-weight:700; }
#settleItemsBody .order-extra-cost { display:block; margin-top:3px; font-size:10px; font-weight:400; line-height:1.4; }
#orderExtrasModal { z-index:260; }
#orderExtrasModal .order-extras-box { width:min(460px,calc(100vw - 24px)); box-sizing:border-box; max-height:calc(100dvh - 24px); overflow:auto; padding:24px; font:13px "Inter Tight","Noto Sans SC",sans-serif; }
.order-extras-box label { display:flex; flex-direction:column; gap:6px; margin:12px 0; }
.order-extras-box input,.order-extras-box select { width:100%; min-width:0; box-sizing:border-box; padding:9px; border:1px solid #bbb; border-radius:6px; background:#fff; color:#222; font:inherit; }
.order-extras-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.order-extras-note { color:#777; font-size:12px; line-height:1.6; }
#orderExtrasPreview { font-weight:700; line-height:1.6; }
.order-extras-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:18px; }
.order-extras-actions button { padding:8px 16px; border:1px solid #222; border-radius:6px; background:#fff; color:#222; cursor:pointer; }
#orderExtrasSave { background:#222; color:#fff; }
@media(max-width:480px) { #settleSummary .home-pending-head { flex-wrap:wrap; } #settleSummary .home-pending-head > strong { flex-basis:65%; } #settleSummary .home-pending-inline-meta { margin-left:auto; } }

#settleItemsBody .order-extra-identity { padding:0; gap:0; }
#settleItemsBody .order-extra-badge { position:relative; display:block; width:35px; min-height:34px; height:34px; }
#settleItemsBody .order-extra-badge .home-pending-sku-main { position:absolute; top:0; left:50%; transform:translateX(-50%); width:29px; height:29px; font-size:13px; }
#settleItemsBody .order-extra-badge .home-pending-code-strip { position:absolute; bottom:0; left:50%; transform:translateX(-50%); z-index:3; width:29px; height:10px; margin:0; font-size:7px; line-height:8px; }
#settleItemsBody > tr { height:43px; }
