.account-delivery-row{min-width:0;margin:0 0 14px;padding:16px;border:1px solid #294767;border-radius:14px;display:grid;gap:12px}
.account-delivery-row legend{padding:0 6px;font-weight:700}
.account-delivery-row>small{color:#9baec7;line-height:1.5}
.account-delivery-row .field input{width:100%;min-width:0}
.account-authenticator{display:grid;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid #294767}
.account-authenticator>code{font-size:26px!important;letter-spacing:.18em;min-height:30px}
.account-authenticator>small{color:#9baec7;font-size:12px}
.buyer-code-list label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;min-width:0}
.buyer-code-list label>span{grid-column:1/-1}
.buyer-code-list input{min-width:0;width:100%;padding:10px;color:#edf6ff;background:#050e1c;border:1px solid #294767;border-radius:8px;font-size:14px}
.client-order-actions .order-delivery-action{margin-top:10px;text-align:left}
.client-order-actions .order-delivery-action>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#83c4ff;font-weight:700}
.client-order-actions .order-delivery-panel{width:min(390px,75vw);max-height:520px;overflow:auto;padding:14px;display:grid;gap:12px;background:#071321;border:1px solid #294767;border-radius:12px}
.client-order-actions .order-delivery-panel>small{font-size:12px;color:#9baec7;white-space:normal}
.client-order-actions .buyer-code-list{display:grid;gap:10px;list-style:none;margin:0;padding:0}
.client-order-actions .buyer-code-list>li{display:grid;gap:8px;padding:12px;background:#0c1c30;border-radius:10px;white-space:normal;min-width:0}
.client-order-actions .buyer-code-list code{overflow-wrap:anywhere;user-select:all;color:#e6f4ff}
.client-order-actions .button{min-height:42px;padding:8px 12px;border:1px solid #2d5a8b;border-radius:8px;background:#122d4c;color:#dceeff;cursor:pointer}
.client-order-actions .buyer-delivery-messages{white-space:normal;overflow-wrap:anywhere}
.client-order-actions .buyer-delivery-messages ul{padding-left:18px;margin:8px 0;display:grid;gap:6px}
.client-order-actions .order-review-action{white-space:normal;max-width:100%}
.client-order-actions .order-review-action summary{cursor:pointer;color:#8dc7ff;padding:10px 0}
.client-order-actions .order-action-form{display:grid;gap:10px;min-width:0;width:320px;max-width:100%;box-sizing:border-box;padding:12px;border:1px solid #294767;border-radius:12px;background:#071321}
.client-order-actions .order-action-form select,.client-order-actions .order-action-form textarea{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #294767;border-radius:8px;background:#0c1c30;color:#e6f4ff;font:inherit;font-size:16px}
.client-order-actions .order-action-form textarea{resize:vertical}
.order-review-feedback{white-space:normal;overflow-wrap:anywhere}
.order-review-feedback:empty{display:none}
@media(max-width:640px){
  .account-delivery-row input,.buyer-code-list input{font-size:16px!important}
  [data-client-orders-table]{min-width:0!important;width:100%}
  [data-client-orders-table] .client-table{display:block;min-width:0;width:100%}
  [data-client-view="orders"]{min-width:0}
  [data-client-orders-table] thead{display:none}
  [data-client-orders-table] tbody,[data-client-orders-table] tr,[data-client-orders-table] td{display:block;width:100%;box-sizing:border-box}
  [data-client-orders-table] tr{padding:14px;margin-bottom:12px;border:1px solid #22384f;border-radius:14px}
  [data-client-orders-table] td{border:0;padding:7px 0;white-space:normal}
  [data-client-orders-table] td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#7e98b4;font-size:11px}
  .client-order-actions .order-delivery-panel{width:100%;box-sizing:border-box;max-height:none}
}
