/* amazon-resale.css - the Amazon resale order card in Expenses > Inventory
   ledger (app/amazon-resale.js, migration 297). It borrows Send to Shopify's
   .ss- parts (app/shopsend.css) and adds only its own few: the card at full
   width, the order's options, the list of orders filed as stock. Every
   colour is a token. */

#amzresale{margin:0 0 12px}
#amzresale .az-card{max-width:none;width:auto;padding:12px 14px}
.az-help{font-size:12px;line-height:1.5;margin:0 0 8px}
.az-pickrow{justify-content:flex-start;margin:0 0 6px}
.az-order{border-top:1px solid var(--line);padding:10px 0 0;margin:8px 0 0}
.az-order > .ss-ihead .x{margin-left:auto}
/* the order's figures go under its number, never squeezed beside it */
.az-order > .ss-ihead .ss-imeta{flex:1 1 100%;order:3}
.az-opts{margin:0 0 6px;align-items:end}
.az-wide{grid-column:1/-1}
.az-gw{grid-column:1/-1}
.az-calc{font:400 12px/1.45 var(--mono);color:var(--ink2);margin:6px 0 0}
.az-filed{border-top:1px solid var(--line);margin:10px 0 0;padding:10px 0 0}
.az-sub{margin:0 0 6px}
.az-ord{border-bottom:1px solid var(--line);padding:6px 0}
.az-ord summary{cursor:pointer;font-size:13px;line-height:1.5;min-height:28px;overflow-wrap:anywhere}
.az-ord summary .mono{font-family:var(--mono)}
.az-lines{list-style:none;margin:6px 0;padding:0;font-size:12.5px;line-height:1.5}
.az-lines li{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;padding:2px 0}
.az-lines li span{flex:1;min-width:0;overflow-wrap:anywhere}

@media (max-width:640px){
  #amzresale .btn,#amzresale .ss-f input,#amzresale .ss-opt,.az-ord summary,.az-lines .linkbtn{min-height:44px}
  #amzresale .ss-acts .btn{flex:1 1 100%}
}
