.merch-search{display:grid;grid-template-columns:minmax(160px,2fr) minmax(130px,1fr) minmax(130px,1fr) auto;gap:12px;align-items:end;margin-block:20px}.merch-buy label,.merch-notes,.merch-offer-fields label,.merch-quantity label,.merch-search label{display:grid;gap:6px;min-width:0}.merch-fields select,.merch-offer-fields select,.merch-search :is(input,select){width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card,#fff);color:inherit;font:inherit}.merch-grid{align-items:start}.merch-card .product-art img{object-fit:contain}.merch-card h2{font-size:20px}.merch-price{display:block;font-weight:650}.merch-price small{display:block}.merch-editor .editor-field-hint,.merch-offer-fields .editor-field-hint,.merch-price small{font-weight:400;color:var(--muted);font-size:12px}.merch-buy{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-block-start:12px}.merch-buy label{flex:1 1 100px}.merch-buy .merch-variant-field,.merch-buy>.merch-price{flex-basis:100%}.merch-buy .merch-variant-select{width:100%;min-width:0;max-width:100%;min-height:44px}.merch-buy input{width:100%}.merch-buy p{flex-basis:100%}.merch-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.merch-fields{margin:0;padding:0;border:0;display:grid;gap:14px;min-width:0}.merch-fields label{display:grid;gap:6px;min-width:0}.merch-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.merch-tier{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;margin-block:10px}.merch-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px;margin-block:16px}.merch-media-grid article{min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px}.merch-media-grid :is(img,video){display:block;width:100%;height:150px;object-fit:contain}.merch-media-grid .row{gap:6px}.merch-editor details{margin-block-start:16px}.merch-upload-queue{min-width:0;padding:14px;margin-block:14px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}.merch-upload-queue ul{padding-inline-start:22px}.merch-recovery{margin-block:20px;padding:18px;overflow-wrap:anywhere}.merch-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.merch-recovery-summary{max-height:320px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px}.merch-recovery-summary dt{color:var(--muted);font-size:13px}.merch-recovery-summary dd{margin:4px 0 12px;white-space:pre-wrap}.merch-upload-queue .btn{white-space:normal;max-width:100%}.merch-editor .commerce-error bdi{overflow-wrap:anywhere}.merch-editor [data-merch-save-state=saved]{color:var(--brand)}.merch-editor [data-merch-save-state=failed]{color:#a13024}.merch-quantity{display:flex;gap:10px;align-items:end;margin-block:12px}.merch-quantity input{max-width:170px}.merch-notes{margin-block:16px}.merch-line{display:flex;gap:16px;align-items:center}.merch-line>div{flex:1 1;min-width:0}.merch-line img{object-fit:contain}.merch-history{padding-inline-start:22px}.merch-history>li{border-block-end:1px solid var(--line);padding-block:12px}.merch-offer-fields{border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:16px;min-width:0}.merch-detail .product-summary{min-width:0}@media (max-width:800px){.merch-editor-grid,.merch-pair,.merch-recovery-grid,.merch-search{grid-template-columns:minmax(0,1fr)}.merch-editor .commerce-toolbar{align-items:flex-start;gap:12px}.merch-line{flex-wrap:wrap}.merch-line>strong{margin-inline-start:auto}.merch-tier{grid-template-columns:repeat(2,minmax(0,1fr))}.merch-tier>button{grid-column:1/-1}.merch-offer-fields{grid-template-columns:minmax(0,1fr)}.merch-buy>.btn{flex:1 1 auto}.merch-quantity{flex-wrap:wrap}.merch-quantity input{max-width:100%}}.merch-inquiry-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}.merch-inquiry-recovery .btn{max-width:100%;white-space:normal}