/* Canonical and isolated order-detail layout. It never targets global modal/table rules. */
.eco-order-detail-modal-v2{align-items:center;padding:12px 16px}
.eco-order-detail-modal-v2 .modal{width:min(1080px,calc(100vw - 32px));max-width:1080px;height:auto;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;border-radius:18px}
.eco-order-detail-modal-v2 .modal-head{position:relative;z-index:2;flex:none;background:#fff;padding:14px 20px}.eco-order-detail-modal-v2 .modal-head h3{font-size:18px}
.eco-order-detail-modal-v2 .modal-body{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:14px 20px 18px}
.eco-order-detail-modal-v2 .modal-foot{flex:none;position:relative;z-index:2;padding:9px 20px;background:#fff}
.eco-order-detail-v2{display:grid;gap:11px;min-width:0;color:#1f2937}.eco-order-detail-v2__toolbar{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;padding-bottom:10px;border-bottom:1px solid #e2ece5}.eco-order-detail-v2__toolbar .btn{min-height:40px;padding:8px 13px;font-size:13px;white-space:nowrap}
.eco-order-print-chooser{position:absolute;z-index:4;top:calc(100% + 8px);right:0;width:min(470px,100%);padding:14px;border:1px solid #cfe3d6;border-radius:14px;background:#fff;box-shadow:0 16px 32px rgba(20,78,52,.18);color:#1f2937}.eco-order-print-chooser__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.eco-order-print-chooser__head b{display:block;color:#174e34;font-size:15px}.eco-order-print-chooser__head span{display:block;margin-top:3px;color:#667085;font-size:12px;line-height:1.4}.eco-order-print-chooser__close{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #dce9e1;border-radius:50%;background:#f7fbf8;color:#174e34;font-size:20px;line-height:1;cursor:pointer}.eco-order-print-chooser__close:hover,.eco-order-print-chooser__close:focus-visible{background:#eff9f2;outline:2px solid #75b995;outline-offset:2px}.eco-order-print-chooser__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.eco-order-print-choice{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:11px;border:1px solid #dce9e1;border-radius:11px;background:#fff;color:#174e34;text-align:left;cursor:pointer}.eco-order-print-choice:hover,.eco-order-print-choice:focus-visible{border-color:#39a966;background:#f3fbf5;outline:2px solid #75b995;outline-offset:2px}.eco-order-print-choice>svg{width:21px;height:21px;flex:none;color:#087443}.eco-order-print-choice span{display:grid;gap:3px;min-width:0}.eco-order-print-choice b{font-size:13px;line-height:1.3}.eco-order-print-choice small{color:#667085;font-size:11px;line-height:1.35}
.eco-order-detail-v2__meta{display:flex;align-items:center;gap:9px;min-width:0;color:#667085;font-size:12px}.eco-order-detail-v2__meta b{color:#174e34;font-size:15px;white-space:nowrap}.eco-order-detail-v2__meta span{padding:3px 8px;border-radius:999px;background:#eff9f2;color:#197043;font-weight:800;white-space:nowrap}.eco-order-detail-v2__meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eco-order-detail-v2__section{min-width:0;border:1px solid #dce9e1;border-radius:12px;background:#fff;padding:12px}.eco-order-detail-v2__section h4{margin:0 0 9px;color:#174e34;font-size:14px}
.eco-order-detail-v2__party-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.eco-order-detail-v2__party{display:grid;gap:3px;min-width:0;padding:0 12px;border-left:1px solid #e2ece5}.eco-order-detail-v2__party:first-child{padding-left:0;border-left:0}.eco-order-detail-v2__party:last-child{padding-right:0}.eco-order-detail-v2__party>span{color:#718178;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.eco-order-detail-v2__party>b{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.eco-order-detail-v2__party small,.eco-order-detail-v2__party em{color:#667085;font-size:12px;font-style:normal;line-height:1.35;overflow-wrap:anywhere}
.eco-order-detail-v2__table-wrap{width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;border:1px solid #dfeae3;border-radius:9px}.eco-order-detail-v2__table{width:100%;min-width:620px;border-collapse:separate;border-spacing:0;table-layout:fixed}.eco-order-detail-v2__table th,.eco-order-detail-v2__table td{padding:7px 9px;border-bottom:1px solid #e3ece6;text-align:left;vertical-align:top}.eco-order-detail-v2__table th{position:sticky;top:0;z-index:1;background:#eff9f2;color:#246044;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}.eco-order-detail-v2__table th:nth-child(1){width:7%;text-align:center}.eco-order-detail-v2__table th:nth-child(2){width:43%}.eco-order-detail-v2__table th:nth-child(3){width:12%;text-align:right}.eco-order-detail-v2__table th:nth-child(4),.eco-order-detail-v2__table th:nth-child(5){width:19%;text-align:right}.eco-order-detail-v2__table td:first-child{text-align:center;font-variant-numeric:tabular-nums}.eco-order-detail-v2__table td:nth-child(n+3){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.eco-order-detail-v2__table td:nth-child(2){font-size:13px;overflow-wrap:anywhere}.eco-order-detail-v2__gift{display:block;margin-top:3px;color:#087443;font-size:10px;font-style:normal;font-weight:800}.eco-order-detail-v2__empty{text-align:center!important;color:#718178}
.eco-order-detail-v2__summary{max-width:660px;margin-left:auto}.eco-order-detail-v2__summary dl{margin:0}.eco-order-detail-v2__summary dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,auto);gap:15px;padding:7px 0;border-bottom:1px dashed #dfe9e3}.eco-order-detail-v2__summary dt,.eco-order-detail-v2__summary dd{margin:0;font-size:13px}.eco-order-detail-v2__summary dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.eco-order-detail-v2__summary dd ul{margin:0;padding-left:16px;white-space:normal;text-align:left}.eco-order-detail-v2__summary dd li{display:flex;justify-content:space-between;gap:10px;margin:2px 0}.eco-order-detail-v2__payable{border-bottom:0!important;background:#effaf2;margin:7px -8px -8px;padding:9px 8px!important;color:#087443;font-size:15px;font-weight:900}.eco-order-detail-v2__commission{width:100%;border-collapse:collapse}.eco-order-detail-v2__commission th,.eco-order-detail-v2__commission td{padding:7px 0;border-bottom:1px solid #e3ece6;text-align:left;font-size:13px}.eco-order-detail-v2__commission th{color:#475467;font-weight:600}.eco-order-detail-v2__commission td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:800;color:#087443}
@media (max-width:767px){.eco-order-detail-modal-v2{align-items:stretch;padding:0}.eco-order-detail-modal-v2 .modal{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}.eco-order-detail-modal-v2 .modal-head{padding:14px 16px}.eco-order-detail-modal-v2 .modal-head h3{font-size:16px}.eco-order-detail-modal-v2 .modal-body{padding:12px 14px calc(16px + env(safe-area-inset-bottom))}.eco-order-detail-modal-v2 .modal-foot{display:none}.eco-order-detail-v2{gap:10px}.eco-order-detail-v2__toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.eco-order-detail-v2__toolbar .btn{width:100%;min-width:0;min-height:44px;padding-inline:8px;font-size:12px}.eco-order-print-chooser{position:relative;top:auto;right:auto;grid-column:1/-1;width:100%;margin-top:1px}.eco-order-detail-v2__meta{flex-wrap:wrap;gap:6px}.eco-order-detail-v2__meta small{flex-basis:100%}.eco-order-detail-v2__section{padding:11px}.eco-order-detail-v2__party-grid{grid-template-columns:1fr;gap:9px}.eco-order-detail-v2__party{padding:0 0 9px;border-left:0;border-bottom:1px solid #e2ece5}.eco-order-detail-v2__party:last-child{padding-bottom:0;border-bottom:0}.eco-order-detail-v2__summary{max-width:none;margin-left:0}.eco-order-detail-v2__summary dl>div{grid-template-columns:1fr;gap:3px}.eco-order-detail-v2__summary dd{text-align:left;white-space:normal}.eco-order-detail-v2__payable dd{font-size:17px;font-weight:900;color:#087443}.eco-order-detail-v2__commission-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media (max-width:480px){.eco-order-print-chooser__options{grid-template-columns:1fr}.eco-order-print-choice{min-height:62px}}
@media (max-width:420px){.eco-order-detail-v2__toolbar{grid-template-columns:1fr}}

/* The commission preview is a compact three-column summary on wide screens
   and a readable labelled stack on narrow handsets. */
.eco-order-detail-v2__commission{border:1px solid #e1ece4;border-radius:9px;border-collapse:separate;border-spacing:0;table-layout:fixed;overflow:hidden}.eco-order-detail-v2__commission th,.eco-order-detail-v2__commission td{padding:9px 11px;border:0;border-right:1px solid #e3ece6}.eco-order-detail-v2__commission th:last-child,.eco-order-detail-v2__commission td:last-child{border-right:0}.eco-order-detail-v2__commission thead th{background:#eff9f2;color:#246044;font-size:11px;font-weight:800;text-transform:uppercase}.eco-order-detail-v2__commission tbody td{text-align:right}.eco-order-detail-v2__commission-note{margin:8px 0 0;color:#667085;font-size:12px;line-height:1.45}
@media (max-width:767px){.eco-order-detail-v2__commission{display:block;border:0;border-radius:0}.eco-order-detail-v2__commission thead{display:none}.eco-order-detail-v2__commission tbody,.eco-order-detail-v2__commission tr{display:block}.eco-order-detail-v2__commission tr{display:grid;grid-template-columns:1fr;gap:7px}.eco-order-detail-v2__commission td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px!important;border:1px solid #e1ece4!important;border-radius:9px;text-align:right!important;white-space:nowrap}.eco-order-detail-v2__commission td::before{color:#475467;font-size:12px;font-weight:600;text-align:left;white-space:normal}.eco-order-detail-v2__commission td:nth-child(1)::before{content:'Hoa hồng trực tiếp'}.eco-order-detail-v2__commission td:nth-child(2)::before{content:'Hoa hồng chênh lệch'}.eco-order-detail-v2__commission td:nth-child(3)::before{content:'Hoa hồng đồng cấp'}}

/* Authorized allocation is a full table on wide screens and compact cards on phones. */
.eco-order-detail-v2__commission-note,.eco-order-detail-v2__commission-empty{margin:0 0 10px;color:#667085;font-size:12px;line-height:1.45}.eco-order-detail-v2__commission-empty{margin-bottom:0}.eco-order-detail-v2__commission-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border:1px solid #e1ece4;border-radius:9px}.eco-order-detail-v2__commission-table{width:100%;min-width:1172px;border-collapse:separate;border-spacing:0;table-layout:fixed}.eco-order-detail-v2__commission-table th,.eco-order-detail-v2__commission-table td{padding:9px 10px;border-bottom:1px solid #e3ece6;vertical-align:top;text-align:left;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.eco-order-detail-v2__commission-table thead th{background:#eff9f2;color:#246044;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}.eco-order-detail-v2__commission-table th:nth-child(1){width:155px}.eco-order-detail-v2__commission-table th:nth-child(2){width:115px}.eco-order-detail-v2__commission-table th:nth-child(3),.eco-order-detail-v2__commission-table th:nth-child(4){width:145px}.eco-order-detail-v2__commission-table th:nth-child(5){width:130px;text-align:right}.eco-order-detail-v2__commission-table th:nth-child(6){width:160px}.eco-order-detail-v2__commission-table th:nth-child(7){width:72px;text-align:center}.eco-order-detail-v2__commission-table th:nth-child(8){width:120px;text-align:right}.eco-order-detail-v2__commission-table th:nth-child(9){width:130px;text-align:center}.eco-order-detail-v2__commission-table td:nth-child(1) b{display:block;color:#174e34}.eco-order-detail-v2__commission-table td:nth-child(1) small{display:block;margin-top:2px;color:#667085}.eco-order-detail-v2__commission-table td:nth-child(5),.eco-order-detail-v2__commission-table td:nth-child(7),.eco-order-detail-v2__commission-table td:nth-child(8),.eco-order-detail-v2__commission-table tfoot td{white-space:nowrap;font-variant-numeric:tabular-nums}.eco-order-detail-v2__commission-table td:nth-child(5),.eco-order-detail-v2__commission-table td:nth-child(8),.eco-order-detail-v2__commission-table tfoot td{text-align:right;color:#087443}.eco-order-detail-v2__commission-table td:nth-child(7),.eco-order-detail-v2__commission-table td:nth-child(9){text-align:center}.eco-order-detail-v2__commission-table tfoot th,.eco-order-detail-v2__commission-table tfoot td{background:#f5fbf7;border-bottom:0;color:#174e34;font-size:11px;font-weight:900}.eco-order-detail-v2__commission-table tfoot th{text-align:right}.eco-order-detail-v2__commission-status{display:inline-flex;justify-content:center;align-items:center;min-width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#eef7f0;color:#197043;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap}.eco-order-detail-v2__commission-status--pending{background:#fff6df;color:#9a6700}.eco-order-detail-v2__commission-status--approved,.eco-order-detail-v2__commission-status--available,.eco-order-detail-v2__commission-status--paid,.eco-order-detail-v2__commission-status--eligible{background:#e9f8ef;color:#087443}.eco-order-detail-v2__commission-status--reversed{background:#fff0f0;color:#b42318}.eco-order-detail-v2__commission-mobile{display:none}
@media (max-width:767px){.eco-order-detail-v2__commission-desktop{display:none}.eco-order-detail-v2__commission-mobile{display:grid;gap:9px}.eco-order-detail-v2__commission-card{border:1px solid #e1ece4;border-radius:9px;padding:10px;background:#fff}.eco-order-detail-v2__commission-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:1px solid #edf2ee}.eco-order-detail-v2__commission-card-head b{display:block;color:#174e34;font-size:13px}.eco-order-detail-v2__commission-card-head small{display:block;margin-top:2px;color:#667085;font-size:11px}.eco-order-detail-v2__commission-card dl{display:grid;gap:7px;margin:9px 0 0}.eco-order-detail-v2__commission-card dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.eco-order-detail-v2__commission-card dt,.eco-order-detail-v2__commission-card dd{margin:0;font-size:12px}.eco-order-detail-v2__commission-card dt{color:#667085}.eco-order-detail-v2__commission-card dd{color:#344054;overflow-wrap:anywhere}.eco-order-detail-v2__commission-card-amount{padding-top:7px;border-top:1px dashed #dfe9e3}.eco-order-detail-v2__commission-card-amount dd{color:#087443;font-weight:900;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.eco-order-detail-v2__commission-mobile-total{display:flex;justify-content:space-between;gap:10px;padding:10px;border-radius:9px;background:#effaf2;color:#174e34;font-size:12px;font-weight:900}.eco-order-detail-v2__commission-mobile-total b{color:#087443;white-space:nowrap;font-variant-numeric:tabular-nums}}
/* Canonical customer order note: full-width directly after the product list. */
.eco-order-detail-v2__note{width:100%;max-width:none;margin:0}.eco-order-detail-v2__note-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid #dce9e1;border-radius:10px;background:#f6fbf7;line-height:1.55}
@media(max-width:640px){.eco-order-detail-v2__note-text{padding:11px;font-size:14px}}

/* V135 completed-order commission repair: admin-only preview + audited apply. */
.eco-commission-repair{display:grid;gap:12px}.eco-commission-repair-intro,.eco-commission-repair-note{margin:0;color:#475467;font-size:13px;line-height:1.55}.eco-commission-repair-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.eco-commission-repair-kpis>div{padding:11px 12px;border:1px solid #dce9e1;border-radius:11px;background:#f6fbf7}.eco-commission-repair-kpis span{display:block;color:#667085;font-size:11px;font-weight:800}.eco-commission-repair-kpis b{display:block;margin-top:4px;color:#087443;font-size:18px}.eco-commission-repair-table{max-width:100%;overflow:auto;border:1px solid #dce9e1;border-radius:10px}.eco-commission-repair-table table{width:100%;min-width:760px;border-collapse:collapse}.eco-commission-repair-table th,.eco-commission-repair-table td{padding:8px 9px;border-bottom:1px solid #e7eee9;text-align:left;font-size:12px;vertical-align:top}.eco-commission-repair-table th{background:#eff9f2;color:#246044;font-size:10px;text-transform:uppercase}.eco-commission-repair-table td:nth-child(n+4),.eco-commission-repair-table th:nth-child(n+4){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.eco-commission-repair-table small{display:block;margin-top:2px;color:#667085}.eco-commission-repair-warning{padding:10px 12px;border:1px solid #f0cf84;border-radius:10px;background:#fff9e8;color:#7a5200;font-size:12px;line-height:1.5}.eco-commission-repair-warning ul{margin:6px 0 0;padding-left:18px}.eco-commission-repair-note{padding:10px 12px;border-left:3px solid #39b54a;background:#f6fbf7}.eco-commission-repair textarea{width:100%;resize:vertical}
@media(max-width:640px){.eco-commission-repair-kpis{grid-template-columns:1fr}.eco-commission-repair-table table{min-width:700px}}
/* V136 order commission repair: recognized-order recalculation entry + 4 KPI preview. */
.eco-order-detail-v2__commission-repair-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #cfe6d6;background:#f7fbf8}
.eco-order-detail-v2__commission-repair-entry-copy{min-width:0}.eco-order-detail-v2__commission-repair-entry-copy h4{margin:0 0 6px}.eco-order-detail-v2__commission-repair-entry-copy p{margin:0;color:#344054;font-size:13px;line-height:1.5}.eco-order-detail-v2__commission-repair-entry-copy small{display:block;margin-top:5px;color:#667085;line-height:1.45}.eco-order-detail-v2__commission-repair-entry .btn{flex:0 0 auto;white-space:nowrap}
.eco-commission-repair-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.eco-order-detail-v2__commission-repair-entry{align-items:stretch;flex-direction:column}.eco-order-detail-v2__commission-repair-entry .btn{width:100%}.eco-commission-repair-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.eco-commission-repair-kpis{grid-template-columns:1fr}}

/* V164V: payment rounding is presentation-only for customer settlement. */
.eco-order-detail-v2__rounding dd small{display:block;margin-top:2px;color:#718078;font-size:11px;font-weight:500;line-height:1.25}

/* V164W — payment QR beside the existing order summary. Uses backend payment_transfer only. */
.eco-order-detail-v2__payment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,430px);gap:12px;align-items:stretch;min-width:0}
.eco-order-detail-v2__payment-grid--summary-only{grid-template-columns:minmax(0,1fr) minmax(370px,430px)}
.eco-order-detail-v2__payment-grid--summary-only .eco-order-detail-v2__summary{grid-column:2}
.eco-order-detail-v2__payment-grid .eco-order-detail-v2__summary{width:100%;max-width:none;margin:0}
.eco-order-detail-v2__payment-transfer{min-height:100%}
.eco-order-detail-v2__payment-transfer-grid{display:grid;grid-template-columns:185px minmax(0,1fr);gap:14px;align-items:start}
.eco-order-detail-v2__qr{display:grid;place-items:center;width:185px;min-height:185px;padding:8px;border:1px solid #dbe9e1;border-radius:12px;background:#f7fbf8;color:#597065;cursor:pointer}
.eco-order-detail-v2__qr img{display:block;width:167px;height:167px;object-fit:contain;border-radius:8px;background:#fff}
.eco-order-detail-v2__qr span{font-size:12px;font-weight:700}
.eco-order-detail-v2__payment-transfer-info{display:grid;gap:3px;min-width:0}
.eco-order-detail-v2__payment-transfer-info>strong{color:#087443;font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.eco-order-detail-v2__payment-transfer-info>small{color:#667085;font-size:11px;line-height:1.35}
.eco-order-detail-v2__payment-transfer-info dl{margin:7px 0 0}
.eco-order-detail-v2__payment-transfer-info dl>div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;padding:5px 0;border-bottom:1px dashed #e2ebe5}
.eco-order-detail-v2__payment-transfer-info dt,.eco-order-detail-v2__payment-transfer-info dd{margin:0;font-size:11px;line-height:1.35}
.eco-order-detail-v2__payment-transfer-info dt{color:#667085}.eco-order-detail-v2__payment-transfer-info dd{color:#263e31;font-weight:700;overflow-wrap:anywhere}
@media(max-width:900px){
 .eco-order-detail-v2__payment-grid,.eco-order-detail-v2__payment-grid--summary-only{grid-template-columns:1fr}
 .eco-order-detail-v2__payment-grid--summary-only .eco-order-detail-v2__summary{grid-column:1}
 .eco-order-detail-v2__payment-transfer-grid{grid-template-columns:165px minmax(0,1fr)}
 .eco-order-detail-v2__qr{width:165px;min-height:165px}.eco-order-detail-v2__qr img{width:147px;height:147px}
}
@media(max-width:600px){
 .eco-order-detail-v2__payment-grid{gap:10px}
 .eco-order-detail-v2__payment-transfer-grid{grid-template-columns:112px minmax(0,1fr);gap:10px}
 .eco-order-detail-v2__qr{width:112px;min-height:112px;padding:6px}.eco-order-detail-v2__qr img{width:98px;height:98px}
 .eco-order-detail-v2__payment-transfer-info>strong{font-size:18px}
 .eco-order-detail-v2__payment-transfer-info dl>div{grid-template-columns:1fr;gap:2px}
}

/* V179 — admin-only business recognition month control inside pending Order Detail. */
.eco-order-detail-v2__recognition{margin:0 0 10px;padding:10px 12px;border:1px solid #cfe6d6;border-radius:10px;background:#f7fbf8}
.eco-order-detail-v2__recognition-control{display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer}
.eco-order-detail-v2__recognition-control>input{position:absolute;opacity:0;pointer-events:none}
.eco-order-detail-v2__recognition-check{position:relative;flex:0 0 20px;width:20px;height:20px;border:1.5px solid #9bb9a5;border-radius:5px;background:#fff}
.eco-order-detail-v2__recognition-control>input:checked+.eco-order-detail-v2__recognition-check{border-color:#178548;background:#178548}
.eco-order-detail-v2__recognition-control>input:checked+.eco-order-detail-v2__recognition-check:after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.eco-order-detail-v2__recognition-control>input:focus-visible+.eco-order-detail-v2__recognition-check{outline:2px solid #8fd3a7;outline-offset:2px}
.eco-order-detail-v2__recognition-copy{display:flex;align-items:baseline;gap:10px;min-width:0;line-height:1.3}
.eco-order-detail-v2__recognition-copy b{flex:0 0 auto;color:#174e34;font-size:13px;white-space:nowrap}
.eco-order-detail-v2__recognition-copy small{min-width:0;color:#667085;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eco-order-detail-v2__recognition--warning{border-color:#f0cf84;background:#fff9e8}.eco-order-detail-v2__recognition--warning .eco-order-detail-v2__recognition-copy b{color:#7a5200}
@media(max-width:720px){.eco-order-detail-v2__recognition-copy{display:block}.eco-order-detail-v2__recognition-copy b,.eco-order-detail-v2__recognition-copy small{display:block;white-space:normal}.eco-order-detail-v2__recognition-copy small{margin-top:3px}.eco-order-detail-v2__recognition-control{align-items:flex-start}.eco-order-detail-v2__recognition-check{margin-top:1px}}

/* V181 — pending order detail always shows the canonical recognition period.
   Eligibility still comes from backend; styling does not create or bypass business rules. */
.eco-order-detail-v2__recognition--current{background:#f8faf9}
.eco-order-detail-v2__recognition-control--locked{cursor:default}
.eco-order-detail-v2__recognition-check--locked{background:#edf3ef;border-color:#b8c9bf}
.eco-order-detail-v2__recognition-check--locked:after{content:"";position:absolute;left:5px;top:8px;width:8px;height:2px;border-radius:2px;background:#7d9687}
/* 🔴 V222 · audit trail for TV commission changes caused by approved retroactive rank */
.eco-order-detail-v2__commission-retro-banner{margin:0 0 10px;padding:10px 12px;border:1px solid #bfe6ca;border-radius:10px;background:#eefaf2;color:#245b3a;font-size:12px;line-height:1.5}
.eco-order-detail-v2__commission-retro-banner b{color:#087443}
.eco-order-detail-v2__commission-retro-note{display:block;margin-top:5px;padding-top:5px;border-top:1px dashed #cfe2d5;color:#176a3c;font-weight:700;line-height:1.45}

/* V409: Single canonical order-detail entitlement marker (all roles). */
.eco-group-bonus-order-label{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center;margin:10px 0;padding:10px 12px;border:1px solid #a4dbb4;border-radius:10px;background:#effaf2;color:#146336;font-size:12px;line-height:1.45}.eco-group-bonus-order-label b{font-weight:800}.eco-group-bonus-order-label span{color:#356b48}
