/* KP external fees share Laochen's seven inputs and payment categories. */
.kp-aligned-fees { grid-column:1/-1; min-width:0; }
.kp-aligned-fee-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.kp-aligned-fee-card { display:grid; grid-template-rows:repeat(2,52px); gap:8px; padding:12px; border:1px solid #cbded0; border-radius:10px; background:#edf4ee; min-width:0; }
.kp-aligned-fee-card label { display:grid; grid-template-columns:60px minmax(0,1fr); gap:8px; align-items:center; min-width:0; margin:0; }
.kp-aligned-fee-card label span { font-size:18px; font-weight:600; line-height:1.3; white-space:nowrap; }
.kp-aligned-fee-card input { width:100%; min-width:0; height:52px; padding:6px 8px; border:1px solid #a9bbae; border-radius:8px; background:#fffefc; color:#26342e; font-size:24px; line-height:1.3; text-align:right; font-variant-numeric:tabular-nums; }
.kp-aligned-fee-card .kp-aligned-shipping span { color:#246641; }
.kp-aligned-return { background:#f5e6db; border-color:#dfc9b9; }
.kp-aligned-fee-help,.kp-aligned-legacy { margin:8px 0 0; font-size:14px; line-height:1.5; color:#526459; overflow-wrap:anywhere; }
.kp-aligned-legacy-confirm { display:flex !important; align-items:center; gap:8px; margin:10px 0 0; color:#775119; font-size:15px; }
.kp-aligned-legacy-confirm input { width:22px; height:22px; flex:none; }
.booking-goods-row { grid-template-columns:minmax(0,2fr) minmax(90px,1fr); }
@media(max-width:600px) { .kp-aligned-fee-card { padding:8px; grid-template-rows:repeat(2,44px); gap:6px; }.kp-aligned-fee-card label { grid-template-columns:54px minmax(0,1fr); gap:4px; }.kp-aligned-fee-card input { height:44px; padding:4px 2px; font-size:22px; }.kp-aligned-fee-grid { gap:8px; } }

body .cp-exchange .cp-exchange-table { table-layout:fixed; width:100%; min-width:1000px; }
body .cp-exchange .cp-exchange-table th,body .cp-exchange .cp-exchange-table td { padding:10px 6px; white-space:normal; overflow-wrap:anywhere; font-size:var(--web-type-xs,18px); line-height:1.45; }
body .cp-exchange .cp-exchange-table .number { white-space:nowrap; overflow-wrap:normal; }
body .cp-exchange .cp-exchange-table th.number { white-space:normal; }
body .cp-exchange .cp-exchange-table th:first-child { width:112px; }
body .cp-exchange .cp-exchange-note,body .cp-exchange .cp-exchange-sum { color:#526459; }
body .external-booking-workspace .booking-form { max-height:calc(100dvh - 160px); }
body .external-booking-workspace :is(.booking-route-page,.booking-details-page,.booking-fees-page) { min-height:0; overflow-y:auto; }
body .desktop-workspace .external-booking-workspace .kp-aligned-fee-card label input:not([type=checkbox]):not([type=radio]):not([type=file]) { height:52px; min-height:52px; }
@media(max-height:820px) {
 body .external-booking-workspace .kp-aligned-fee-card { grid-template-rows:repeat(2,44px); padding:8px; gap:6px; }
 body .desktop-workspace .external-booking-workspace .kp-aligned-fee-card label input:not([type=checkbox]):not([type=radio]):not([type=file]) { height:44px; min-height:44px; }
}
