.d8-order-review { margin: 18px 0; padding: 18px; border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; color: #26364a; text-align: left; clear: both; }
.d8-order-review p { margin: 8px 0; line-height: 1.5; }
.d8-review-missing { color: #854d0e; }
.d8-order-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #cbd5e1; padding-top: 12px; margin-top: 12px; }
.d8-order-total strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.d8-cost-warning { padding: 12px; background: #fffbeb; color: #713f12; border-left: 4px solid #b45309; line-height: 1.5; }
.d8-cost-badge { display: block; font-size: 12px; color: #854d0e; margin-top: 4px; }
.d8-reviewed-lines th { color: #334155; }
.d8-reviewed-lines th.linecoluht, .d8-reviewed-lines th.linecoluttc, .d8-reviewed-lines th.linecoluht_currency, .d8-reviewed-lines th.linecoluttc_currency { white-space: normal !important; min-width: 120px; }
.d8-reviewed-lines td { font-variant-numeric: tabular-nums; }
.d8-entry-outer > td { padding: 20px !important; background: #f8fafc; border: 1px solid #dce2e9; }
.d8-entry-table, .d8-entry-table > tbody { display: block; width: 100%; border: 0; }
.d8-entry-table .d8-entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px 20px; background: transparent; }
.d8-entry-grid > td { display: block; padding: 0 !important; border: 0 !important; min-width: 0 !important; text-align: left; white-space: normal; }
.d8-entry-grid > .linecoldescription { grid-column: 1 / -1; width: 100% !important; max-width: none !important; padding-bottom: 18px !important; border-bottom: 1px solid #dce2e9 !important; }
.d8-entry-grid > .linecolnum { display: none; }
.d8-entry-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #334155; }
.d8-entry-grid > td:not(.linecoldescription) input:not([type=hidden]):not([type=submit]),
.d8-entry-grid > td:not(.linecoldescription) select { box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: none !important; min-height: 38px; font-size: 15px; font-variant-numeric: tabular-nums; }
.d8-entry-grid > td:not(.linecoldescription) input:not([type=submit]) { text-align: right; }
.d8-entry-grid .select2-container { max-width: 100% !important; }
.d8-entry-grid > .linecoldiscount > span.opacitymedium { display: none; }
.d8-entry-grid > td:not(.linecoldescription) .select2-container { width: 100% !important; }
.d8-entry-grid .linecoldescription textarea, .d8-entry-grid .cke { box-sizing: border-box; width: 100% !important; max-width: 100%; }
.d8-entry-grid > .d8-entry-actions { grid-column: 1 / -1; text-align: right; padding-top: 14px !important; border-top: 1px solid #dce2e9 !important; }
.d8-entry-actions .button { min-height: 40px; min-width: 120px; }
@media (max-width: 600px) {
    .d8-entry-outer > td { padding: 12px !important; }
    .d8-entry-table .d8-entry-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .d8-entry-grid .linecoldescription .minwidth400imp { min-width: 0 !important; }
}
