.eew-rma { max-width: 850px; margin: 1.5rem auto; color: #182b3a; font: 16px/1.5 Arial, sans-serif; text-align: left; }
.eew-rma * { box-sizing: border-box; }
.eew-rma [hidden] { display: none !important; }
.eew-rma h2 { font-size: 1.8rem; line-height: 1.2; color: #164b70; margin: 1.5rem 0 1rem; }
.eew-rma-notice { padding: 1rem 1.2rem; margin: 1rem 0; border-radius: 6px; background: #fff4d7; border-left: 5px solid #bb7a00; }
.eew-rma-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.eew-rma-wide { grid-column: 1/-1; }
.eew-rma label { display: block; font-weight: 600; margin: 0 0 .35rem; }
.eew-rma label span { color: #ae1a14; }
.eew-rma input:not([type=checkbox]):not([type=hidden]), .eew-rma textarea, .eew-rma select { width: 100%; padding: .65rem .75rem; border: 1px solid #a2b3c0; border-radius: 5px; color: #182b3a; background: #fff; font: inherit; min-height: 44px; }
.eew-rma textarea { resize: vertical; }
.eew-rma small { display: block; font-size: .84rem; line-height: 1.4; margin-top: .35rem; }
.eew-rma input:focus-visible, .eew-rma textarea:focus-visible, .eew-rma select:focus-visible, .eew-rma button:focus-visible { outline: 3px solid #287eb0; outline-offset: 3px; }
.eew-rma [aria-invalid=true] { border-color: #ac251a !important; }
.eew-rma-field-error, .eew-rma-error { color: #a0241b; }
.eew-rma-field-error:empty { display: none; }
.eew-rma-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.eew-rma button { padding: .8rem 1.3rem; border: 0; border-radius: 5px; background: #176b9d; color: #fff; font: 600 1rem Arial, sans-serif; cursor: pointer; min-height: 44px; }
.eew-rma button[type=reset] { background: #e7edf1; color: #253b4b; }
.eew-rma button:disabled { opacity: .55; cursor: wait; }
.eew-rma button:hover:not(:disabled) { filter: brightness(.92); }
.eew-rma-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.eew-rma-summary { border: 1px solid #b6cbbb; border-top: 6px solid #327344; padding: 1.5rem; border-radius: 6px; margin: 1.5rem 0; background: #fff; }
.eew-rma-summary h2 { color: #285d37; margin-top: .6rem; }
.eew-rma-summary-identifiers { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 1rem 0; }
.eew-rma-summary-shipping { padding: 1rem; background: #f1f6f9; border: 1px solid #c5d1d9; border-radius: 4px; }
.eew-rma-summary-shipping strong, .eew-rma-summary-shipping span { display: block; }
.eew-rma-summary address { font-style: normal; white-space: pre-line; margin: .4rem 0; }
.eew-rma-summary dl { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: .65rem 1rem; margin: 1.5rem 0 0; }
.eew-rma-summary dt { font-weight: bold; }
.eew-rma-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.eew-rma-print-frame { position: fixed; right: 100%; top: 0; width: 8.5in; height: 11in; border: 0; }
@media (max-width: 600px) {
    .eew-rma-grid { grid-template-columns: 1fr; }
    .eew-rma-summary { padding: 1rem; }
    .eew-rma-summary dl { grid-template-columns: 1fr; gap: .3rem; }
    .eew-rma-summary dd { margin-bottom: .7rem; }
}
@media print {
    .eew-rma-form, .eew-rma-print, .eew-rma-reload, .eew-rma-message, .eew-rma-notice { display: none !important; }
    .eew-rma-summary { border: 0; padding: 0; }
}
