.refund-queue-row .row-title{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}
.refund-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0}.refund-meta div{min-width:0}.refund-meta dt{font-size:.85rem;color:#596274}.refund-meta dd{margin:.3rem 0 0;overflow-wrap:anywhere;font-weight:600}
.refund-context{padding:1rem;border-left:4px solid #bd4e85;background:#fbf3f7;border-radius:.3rem;line-height:1.6}.refund-workflow,.refund-verification,.refund-conversation{margin:1.3rem 0;padding:1.1rem;border:1px solid #e4d9df;border-radius:.7rem}.refund-workflow li{margin:.6rem 0;line-height:1.6}.refund-workflow a{display:inline-block;color:#8f2057;font-weight:700;text-decoration:underline}.refund-verification input{max-width:36rem}.refund-verification form{display:grid;gap:.65rem}.refund-verification button{justify-self:start}.refund-success{padding:.8rem;background:#edf8ef;color:#185a2c;font-weight:600}.refund-message{padding:.9rem;margin:.7rem 0;background:#f4f6f8;border-radius:.6rem}.refund-message.from-support{background:#fff1f7}.refund-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.5rem 0}.refund-message time{font-size:.8rem;color:#596274}#billing-refund-detail textarea{display:block;width:100%;margin:.6rem 0}#billing-refund-detail [aria-busy=true]{cursor:progress}#billing-refund-detail .status-message{white-space:pre-wrap}#billing-refund-list{overflow-wrap:anywhere}#billing-refund-panel .toolbar{flex-wrap:wrap}
.refund-resolution{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e4d9df}.refund-resolution form{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem}.refund-resolution select{min-width:0;width:100%}.refund-resolution .refund-confirm{display:flex;align-items:flex-start;gap:.5rem;line-height:1.5}.refund-confirm input{width:auto;flex:0 0 auto;margin:.25rem 0 0}.refund-resolution button{justify-self:start}
@media(max-width:580px){.refund-meta{grid-template-columns:1fr}.refund-queue-row{align-items:flex-start;gap:.8rem;flex-wrap:wrap}.refund-workflow,.refund-verification,.refund-conversation{padding:.75rem}#billing-refund-detail .section-heading{align-items:flex-start}}

.refund-guide-dialog{width:min(48rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:calc(100dvh - 2rem);padding:1.6rem;border:1px solid #e1d5dc;border-radius:1rem;color:#252c3d;background:#fff;box-shadow:0 1rem 4rem #20253040;overflow:auto;box-sizing:border-box}
.refund-guide-dialog::backdrop{background:#1c243b9c}.refund-guide-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.refund-guide-heading h2{margin:.35rem 0 .5rem;font-size:1.55rem;line-height:1.25}.refund-guide-heading button{flex:0 0 auto}.refund-guide-body{line-height:1.7;overflow-wrap:anywhere}.refund-guide-body h3{font-size:1.08rem;line-height:1.4;margin:1.5rem 0 .5rem;color:#8f2057}.refund-guide-body p{margin:.65rem 0;white-space:normal}.refund-guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.2rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e4d9df}.refund-guide-actions a{color:#8f2057;font-weight:700;text-decoration:underline;text-underline-offset:.2rem}.refund-guide-dialog :focus-visible{outline:3px solid #9c2f68;outline-offset:4px}
@media(max-width:580px){.refund-guide-dialog{padding:1rem;width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.refund-guide-heading{gap:.5rem}.refund-guide-heading h2{font-size:1.3rem}.refund-guide-heading .eyebrow{font-size:.65rem}.refund-guide-actions a,.refund-guide-actions button{min-height:44px;display:inline-flex;align-items:center}}
@media print{body:has(.refund-guide-dialog[open]) *{visibility:hidden}body:has(.refund-guide-dialog[open]) .refund-guide-dialog,body:has(.refund-guide-dialog[open]) .refund-guide-dialog *{visibility:visible}.refund-guide-dialog[open]{position:absolute;inset:0 auto auto 0;display:block;width:100%;max-width:none;height:auto;max-height:none;margin:0;padding:0;border:0;box-shadow:none;overflow:visible}.refund-guide-dialog::backdrop{background:none}body:has(.refund-guide-dialog[open]) .refund-guide-actions,body:has(.refund-guide-dialog[open]) .refund-guide-heading button,body:has(.refund-guide-dialog[open]) #billing-refund-guide-status{display:none}.refund-guide-body h3{break-after:avoid}.refund-guide-body p{orphans:3;widows:3}}

.refund-guide-dialog[open]{display:flex;flex-direction:column}.refund-guide-heading,.refund-guide-actions{flex:0 0 auto}.refund-guide-body{min-height:0;overflow-y:auto;padding-right:.25rem}.refund-guide-actions{margin-top:1rem}#billing-refund-guide-status:empty{display:none}
@media print{.refund-guide-dialog[open]{display:block}.refund-guide-body{overflow:visible;padding:0}}
