/* Shared private request attachments and compact customer request results. */
.return-items{border:0;padding:0;margin:0 0 24px;min-width:0}
.return-items legend{font-size:14px;font-weight:700;color:#193b56}.return-items>p{font-size:12px;line-height:1.6;color:#728596;margin:6px 0 14px}
.return-item{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:14px;align-items:center;border:1px solid #e1e8ee;border-radius:13px;padding:16px;margin-top:10px;background:#fff;transition:border-color .15s,background .15s}
.return-item:hover{border-color:#b1c4d2}.return-item.is-selected{border-color:#ecae78;background:#fffaf5;box-shadow:0 0 0 1px #ecae7820}
.return-item-choice{display:flex!important;gap:12px;align-items:flex-start!important;margin:0!important;cursor:pointer}
.return-item-choice input{flex:0 0 auto;width:19px!important;height:19px;margin:2px 0 0;accent-color:#1c4360}
.return-item-choice span{min-width:0}.return-item-choice strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#193b56}.return-item-choice small{display:block;font-size:10px;line-height:1.6;color:#728596;margin-top:3px}.return-item-choice .return-item-code{letter-spacing:.2px;color:#667f91}
.return-item-choice .return-item-photo{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid #e4ebf0;border-radius:11px;background:#fff;overflow:hidden}
.return-item-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}.return-item-choice>.return-item-photo+span{flex:1}
@media(max-width:540px){.return-item-choice{gap:9px}.return-item-choice .return-item-photo{flex-basis:52px;width:52px;height:52px;border-radius:9px}.return-item-choice strong{font-size:11px}}
.return-item-quantity{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;margin:0;color:#6d8393}
.return-quantity-control{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;width:110px;border:1px solid #dbe5ed;border-radius:10px;background:#fff;overflow:hidden}
.return-quantity-control button{display:grid;place-items:center;min-height:40px;padding:0;border:0;background:transparent;color:#1c4360;cursor:pointer}.return-quantity-control button:hover:not(:disabled){background:#edf3f7}.return-quantity-control button:disabled{opacity:.3;cursor:default}
.return-quantity-control input{width:100%;min-width:0;min-height:40px;border:0!important;border-radius:0;background:transparent;padding:0!important;text-align:center;font:inherit;font-size:13px;color:#193b56;appearance:textfield;-moz-appearance:textfield}
.return-quantity-control input::-webkit-inner-spin-button,.return-quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.return-quantity-control input:disabled{opacity:.45}
.return-quantity-control:focus-within{outline:2px solid #88a9bf;outline-offset:2px}.order-request-dialog .return-quantity-control input:focus{outline:0;box-shadow:none}
.return-item-choice .return-item-price{display:block;margin-top:8px;font-size:12px;font-weight:600;color:#244c67}.return-item-choice .return-item-price small{display:inline;font-size:10px;font-weight:400}
.return-selection-total{font-weight:600;color:#193b56!important}.return-selection-error{color:#a53e35!important}
.return-items :is(input,button):focus-visible{outline:2px solid #cf8649;outline-offset:-2px}
.request-product-summary{grid-column:1/-1;min-width:0;margin:6px 0}.request-product-summary>div,.request-product-summary>p{display:flex;justify-content:space-between;gap:14px;font-size:11px;padding:8px 0;border-bottom:1px solid #193b5612;margin:0}
.request-product-summary strong,.request-product-summary small{display:block}.request-product-summary small{margin-top:3px;color:#607487}.request-product-summary b{white-space:nowrap}.request-product-summary span{min-width:0;overflow-wrap:anywhere}
.guest-request-form .return-item-choice{flex-direction:row}.guest-request-form .return-item-choice input{width:18px!important}
@media(max-width:440px){.return-item{grid-template-columns:minmax(0,1fr);padding:13px;gap:10px}.return-item-quantity{flex-direction:row;justify-content:space-between;margin-left:31px}.request-product-summary>div{flex-wrap:wrap}.return-quantity-control{grid-template-columns:36px minmax(0,1fr) 36px;width:118px}.return-quantity-control button,.return-quantity-control input{min-height:42px}}
.order-progress-visible{grid-column:1/-1;min-width:0;margin-top:8px}
.order-card-modern .order-progress-visible .order-timeline{margin:18px 0 4px}
.order-card-modern .order-state.has-request h3{color:#244c67}
.order-card-modern .order-state.has-request.rejected h3{color:#9b5746}
.order-state.has-request.rejected .order-state-icon{background:#fbefeb;color:#a45e4b}
.order-state.has-request.pending .order-state-icon,.order-state.has-request.reviewing .order-state-icon{background:#fff5e6;color:#aa762b}
.order-card-modern .order-request-status.request-result{--request-tone:#916522;--request-fill:#fff7e9;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 16px;line-height:1.6;border:1px solid #efe2c9;border-radius:9px;background:var(--request-fill);padding:12px 15px;margin-top:16px}
.order-card-modern .request-result.refunded,.order-card-modern .request-result.refund_pending{--request-tone:#287c68;--request-fill:#edf7f3;border-color:#d5e9df}
.order-card-modern .request-result.rejected{--request-tone:#a15347;--request-fill:#fff3ef;border-color:#f1ddd6}
.request-result-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;line-height:18px}
.request-result-type{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:600;color:var(--request-tone)}
.request-result-type i{font-size:11px;color:inherit}
.request-result-badge{color:var(--request-tone);font-size:10px;font-weight:600;padding:0;background:none;border-radius:0}
.order-card-modern .request-result>p{grid-column:1/-1;font-size:11px;color:#627988;line-height:1.6;margin:0}
.request-result-reply{grid-column:1/-1;display:flex;gap:8px;align-items:baseline;line-height:18px}
.request-result-reply>span{font-size:10px;color:var(--request-tone);flex-shrink:0}
.request-result-reply>span::after{content:':'}.request-result-reply p{font-size:11px;line-height:1.65;color:#405e70;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.request-result-details{grid-column:2;justify-self:end;line-height:18px}
.request-result-details[open]{grid-column:1/-1;justify-self:stretch}
.request-appeal{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;font-size:10px;line-height:18px;color:#87695f}
.request-appeal a{color:#974c42;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#d5a198}
.request-appeal a:hover{color:#76382f;text-decoration-color:currentColor}
.request-appeal a:focus-visible{outline:2px solid #a35c50;outline-offset:4px;border-radius:2px}
.request-result-details summary{display:inline-flex;gap:8px;align-items:center;font-size:10px;cursor:pointer;color:#668398;list-style:none}
.request-result-details summary::-webkit-details-marker{display:none}
.request-result-details summary i{font-size:8px}.request-result-details[open] summary i{transform:rotate(180deg)}
.request-result-details>p{font-size:11px;color:#58758b;line-height:1.7;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.request-upload{margin-top:14px;border:1px dashed #d7e2e9;border-radius:9px;padding:13px;background:#fbfcfd}
.request-upload-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.request-upload-heading>span{font-size:12px;color:#36566e;font-weight:600}
.request-upload-heading small{font-size:10px;font-weight:400;color:#8b9daa;margin-left:6px}
.request-upload-heading label{font-size:11px!important;font-weight:500!important;color:#315c7a;cursor:pointer;display:inline-flex;gap:7px;align-items:center;margin:0!important}
.request-upload:focus-within{outline:2px solid #80a8c3;outline-offset:2px}
.request-upload>p{font-size:10px;line-height:1.6;color:#899ca9;margin:9px 0 0}
.request-upload .request-photo-error{color:#a53e35}
.request-photo-preview,.request-photo-gallery{display:flex;flex-wrap:wrap;gap:10px}
.request-photo-preview:not(:empty){margin-top:12px}
.request-photo-preview>div{position:relative}
.request-photo-preview img,.request-photo-gallery img{display:block;width:74px;height:74px;object-fit:cover;border-radius:8px;border:1px solid #e1e9ef;background:#fff}
.request-photo-gallery a{display:block;transition:opacity .15s}.request-photo-gallery a:hover{opacity:.8}
.request-photo-preview button{position:absolute;right:-5px;top:-5px;width:23px;height:23px;border:1px solid #dce5eb;background:#fff;color:#567387;border-radius:50%;display:grid;place-items:center;font-size:17px;cursor:pointer;box-shadow:0 2px 6px #17385012}
.admin-request-photos{margin:20px 0}.admin-request-photos h3{font-size:13px;margin-bottom:12px}
.admin-request-photos img{width:100px;height:100px}
@media(max-width:600px){.order-card-modern .order-request-status.request-result{padding:12px;grid-template-columns:minmax(0,1fr)}.request-result-details{grid-column:1;justify-self:start}.request-upload-heading small{display:block;margin:3px 0 0}.order-card-modern .order-progress-visible .order-timeline{gap:6px;margin-top:16px}.request-result-badge{font-size:9px}.request-result-reply{flex-wrap:wrap;gap:2px 8px}}

/* Keyboard focus stays visible, including the visually hidden photo input. */
.order-request-dialog{width:min(640px,calc(100% - 32px));padding:0;overflow:hidden;border-radius:22px;border:1px solid #e2e9ef;box-shadow:0 28px 90px #102e4940;color:#193b56}
.order-request-dialog::backdrop{background:#142e426b;backdrop-filter:blur(5px)}
.order-request-dialog>form{display:flex;flex-direction:column;max-height:min(850px,calc(100dvh - 40px));margin:0;min-height:0}
.order-request-dialog .request-dialog-header{display:flex;flex:0 0 auto;gap:14px;align-items:center;padding:23px 26px;margin:0;border-bottom:1px solid #e9eef3;background:#fff}
.order-request-dialog .request-dialog-icon{width:46px;height:46px;flex:0 0 auto;border:1px solid #f5e4d4;border-radius:14px;background:#fff3e7;color:#d67b30}
.request-dialog-header>div{flex:1;min-width:0}.order-request-dialog .request-order-number{font-size:9px;letter-spacing:1.1px;color:#7a8fa0}
.order-request-dialog .request-dialog-header h3{font-size:21px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:5px 0 0;color:#193b56}
.order-request-dialog .request-dialog-header button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;background:#f5f8fa;border:1px solid #e8eef3;border-radius:11px;color:#6d879a;padding:0}
.order-request-dialog .request-dialog-header button:hover{background:#eaf1f6;color:#193b56}
.request-dialog-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 26px 8px;scrollbar-width:thin;scrollbar-color:#c8d6df transparent;scroll-padding-block:16px}
.order-request-dialog .request-dialog-description{font-size:12px;line-height:1.7;color:#728799;margin:0 0 23px}
.order-request-dialog .return-selection-total{display:none}
.order-request-dialog .request-reasons{border-top:1px solid #e9eef3;padding-top:20px;margin:0 0 20px}
.order-request-dialog .request-reasons legend{float:left;width:100%;font-size:13px;color:#193b56;font-weight:650;margin-bottom:12px}.request-reasons>div{clear:both}
.order-request-dialog .request-reasons button{border-radius:9px;background:#f8fafc;border-color:#e1e8ee;min-height:40px;padding:9px 12px;color:#597386;font-size:11px;transition:background .15s,border-color .15s}
.order-request-dialog .request-reasons button:hover{border-color:#a5bbcb}.order-request-dialog .request-reasons button[aria-pressed=true]{color:#a45318;background:#fff2e6;border-color:#edb88c}
.order-request-dialog .request-description-label{font-size:13px;color:#193b56}.order-request-dialog .request-description-label span{font-size:10px}
.order-request-dialog textarea{min-height:90px;border-radius:12px;background:#f9fbfc;font-size:12px;padding:12px 14px}.order-request-dialog textarea:focus{border-color:#8eafc6;background:#fff}
.order-request-dialog .request-upload{border-radius:12px;background:#fafcfd;padding:14px;margin-top:16px}.order-request-dialog .request-upload-heading label{padding:7px 10px;border:1px solid #dce6ee;border-radius:8px;background:#fff}
.order-request-dialog .request-scope-note{font-size:10px;line-height:1.7;margin:16px 0 12px;color:#7d90a0}
.order-request-dialog .request-dialog-actions{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 26px;margin:0;border-top:1px solid #e6edf2;background:#fff;box-shadow:0 -5px 18px #193b5604}
.request-footer-summary{min-width:0}.request-footer-summary>span{display:block;font-size:9px;color:#7c91a1;margin-bottom:4px}.request-footer-summary strong{display:block;font-size:11px;font-weight:600;color:#244c67;line-height:1.5}
.request-action-buttons{display:flex;gap:9px;margin-left:auto;flex-shrink:0}.order-request-dialog .request-dialog-actions button{min-height:43px;border-radius:10px;padding:10px 15px;font-size:11px;font-weight:600;border:1px solid #dce6ee;background:#fff;color:#607c90}
.order-request-dialog .request-dialog-actions button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:13px;background:#1c4360;border-color:#1c4360;color:#fff;box-shadow:0 3px 8px #1c436012}
.order-request-dialog .request-dialog-actions button:hover:not(:disabled){background:#f1f6f9}.order-request-dialog .request-dialog-actions button[type=submit]:hover:not(:disabled){background:#14374f}
@media(max-width:540px){.order-request-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.order-request-dialog>form{max-height:calc(100dvh - 24px)}.order-request-dialog .request-dialog-header{padding:17px;gap:11px}.order-request-dialog .request-dialog-header h3{font-size:18px!important}.order-request-dialog .request-dialog-icon{width:40px;height:40px;border-radius:12px}.request-dialog-content{padding:17px 17px 5px}.order-request-dialog .request-dialog-actions{padding:13px 17px calc(13px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:10px}.request-footer-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.request-footer-summary>span{margin:0}.request-action-buttons{width:100%}.request-action-buttons button[type=submit]{flex:1}.order-request-dialog .request-reasons>div{grid-template-columns:1fr 1fr}.order-request-dialog .request-reasons button{text-align:center}.order-request-dialog textarea{font-size:16px}.order-request-dialog .request-upload-heading{flex-wrap:wrap;gap:10px}.return-quantity-control input{font-size:16px}}
.order-request-dialog :is(button,textarea):focus-visible,
.order-request-open:focus-visible{outline:3px solid #eaa76c;outline-offset:3px}
.request-upload:has([data-request-photos]:focus-visible) .request-upload-heading label{outline:3px solid #eaa76c;outline-offset:3px;border-radius:6px}
.request-photo-preview button{min-width:32px;min-height:32px}
@media(pointer:coarse){.request-photo-preview button{min-width:40px;min-height:40px}.request-dialog-header [data-request-close]{min-width:44px;min-height:44px}}
