.guest-order h1{overflow-wrap:anywhere}
.rma-entry-actions{display:flex;flex-wrap:wrap;gap:12px;min-width:0}.rma-entry-actions button,.customer-order-actions button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}.rma-order-entry h2{min-width:0}.rma-kind-badge{display:inline-block;padding:4px 8px;border:1px solid var(--line-strong);border-radius:6px;font-size:.8rem;font-weight:700;letter-spacing:.04em}.rma-shipping-form{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:10px}.rma-workspace :focus-visible,.rma-history :focus-visible,.rma-entry-actions :focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.rma-workspace{max-width:940px;margin:24px auto;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);overflow-wrap:anywhere}
.rma-workspace h2{font-size:1.6rem;margin:16px 0}.rma-workspace h3{font-size:1.05rem;margin:0 0 8px}.rma-workspace p{line-height:1.6}.rma-eyebrow,.rma-progress{color:var(--muted);font-size:.875rem}
.rma-stepper{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:12px 0}.rma-stepper li{padding:8px 10px;border-radius:8px;border:1px solid var(--line);font-size:.8rem;color:var(--muted)}.rma-stepper [aria-current=step]{color:var(--primary);border-color:var(--primary);font-weight:700}
[data-theme="dark"] .rma-stepper [aria-current=step]{color:var(--focus);border-color:var(--focus)}
.rma-product{display:flex;gap:18px;padding:18px;margin:12px 0;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;align-items:flex-start}.rma-product>img,.rma-image-placeholder{width:88px;height:88px;object-fit:contain;flex:none;border-radius:8px;background:var(--surface)}.rma-image-placeholder{font-size:.75rem;display:grid;place-items:center;text-align:center}.rma-product-copy{min-width:0;flex:1}.rma-product-copy p{margin:6px 0;font-size:.9rem}
.rma-field{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:.95rem;font-weight:600}.rma-field small{color:var(--muted);font-size:.85rem;font-weight:400;line-height:1.5}.rma-field input:not([type=checkbox]):not([type=radio]),.rma-field select,.rma-field textarea,.rma-history select{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid var(--line-strong);border-radius:8px;color:var(--text);background:var(--surface);min-height:46px}.rma-field textarea{resize:vertical}.rma-field:has(input[type=checkbox]),.rma-field:has(input[type=radio]){flex-direction:row;align-items:flex-start;font-weight:400}.rma-field input[type=checkbox],.rma-field input[type=radio]{width:20px;height:20px;flex:none;accent-color:var(--primary)}
.rma-choices{border:0;padding:0;margin:16px 0}.rma-choices legend{font-weight:650}.rma-choices .rma-field{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);cursor:pointer}.rma-choices .rma-field:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.rma-workspace button,.rma-history-card button{padding:12px 16px;border:1px solid var(--line-strong);border-radius:8px;min-height:44px;background:var(--surface-soft);color:var(--text);cursor:pointer;white-space:normal}.rma-workspace button.rma-primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}.rma-workspace button:disabled{opacity:.6;cursor:wait}.rma-actions{position:sticky;bottom:0;display:flex;justify-content:space-between;gap:12px;padding:16px 0;margin-top:24px;background:var(--surface);border-top:1px solid var(--line);z-index:3}.rma-actions button{flex:1;max-width:320px}.rma-text-button{display:block;margin:8px 0}
.rma-result:not(:empty){padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.rma-result.rma-error{border-color:var(--danger);color:var(--danger)}.rma-summary{display:grid;grid-template-columns:minmax(140px,1fr) 2fr;gap:12px;margin:24px 0}.rma-summary dt{font-weight:650}.rma-summary dd{margin:0;white-space:pre-wrap}.rma-dropzone{padding:18px;border:2px dashed var(--line-strong);border-radius:10px}
.rma-photo-list{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0}.rma-photo-list li{display:flex;flex-direction:column;gap:8px;width:140px;min-width:0;overflow-wrap:anywhere}.rma-photo-list img{width:96px;height:96px;object-fit:contain;border:1px solid var(--line);border-radius:8px}.rma-photo-list span{font-size:.8rem}.rma-case-number{font-weight:750;font-size:1.25rem}.rma-timeline{padding-left:20px;line-height:1.6}.rma-timeline li{padding:10px;border-left:2px solid var(--line);margin-bottom:8px}.rma-timeline time{display:block;color:var(--muted);font-size:.875rem}.rma-message{white-space:pre-wrap;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.rma-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.rma-history-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin:12px 0;background:var(--surface-soft)}.rma-history-card p{margin:6px 0}.account-card.account-logged{max-width:1040px}.customer-order-card{padding:18px;margin:16px 0;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.customer-order-card h3{margin:0 0 10px}.customer-order-thumbnails{display:flex;gap:8px;flex-wrap:wrap}.customer-order-thumbnails img{width:56px;height:56px;object-fit:contain;border-radius:6px;background:var(--surface)}.customer-order-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.rma-order-entry{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);margin:20px 0}
@media(max-width:600px){.rma-workspace{padding:16px;margin:16px 0}.rma-stepper{gap:5px}.rma-stepper li{font-size:.72rem;padding:6px}.rma-product{gap:12px;padding:12px}.rma-product>img,.rma-image-placeholder{width:64px;height:64px}.rma-product h3{font-size:.95rem}.rma-summary{display:block}.rma-summary dt{margin-top:14px}.rma-summary dd{margin-top:4px}.rma-actions{gap:8px;padding:12px 0}.rma-actions button{padding:10px;font-size:.875rem}.rma-order-entry{align-items:flex-start;flex-direction:column}.account-card.account-logged{padding:18px;margin:8px 12px 32px}}
@media(max-width:600px){.rma-entry-actions{width:100%;flex-direction:column}.rma-entry-actions button{width:100%}.rma-shipping-form{padding:12px}.rma-workspace{min-width:0;max-width:100%;box-sizing:border-box}.rma-field input,.rma-field textarea,.rma-field select{box-sizing:border-box}}
