.email-memory-prompt{margin-block:20px;padding:16px;border:1px solid var(--sgh-border,rgba(168,85,247,.2));border-radius:16px;background:var(--sgh-surface,rgba(124,58,237,.06))}.email-memory-prompt[hidden],.memory-quiet[hidden]{display:none}.email-memory-prompt h2{font-size:15px;font-weight:650;margin:0 0 8px}.email-memory-prompt p,.memory-help{font-size:12px;line-height:1.65;overflow-wrap:anywhere;color:var(--sgh-text-muted,#a89eb7)}.email-memory-prompt .memory-address{font-weight:600;color:var(--sgh-accent,#b991f5)}.memory-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.memory-actions button,.memory-quiet{min-height:44px;border-radius:12px;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer}.memory-primary{background:#7c3aed;color:white;border:1px solid #8b5cf6}.memory-quiet{background:transparent;color:inherit;border:1px solid var(--sgh-border,rgba(168,85,247,.2))}.memory-quiet:focus-visible,.memory-primary:focus-visible{outline:2px solid #b991f5;outline-offset:3px}.memory-actions button{transition:transform 140ms ease,background-color 180ms ease}.memory-actions button:active{transform:scale(.98)}.local-email-filter{margin-block:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.local-email-filter label{min-width:0;font-size:12px}.local-email-filter input{display:block;margin-top:8px;width:100%;min-width:0;min-height:44px;border:1px solid var(--sgh-border,rgba(168,85,247,.2));border-radius:12px;background:transparent;padding:10px 12px;color:inherit;font:inherit}.local-email-filter input:focus{outline:2px solid #a78bfa;outline-offset:2px}.memory-help summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.memory-help p{margin-block:8px}.saved-email-note{font-size:12px;line-height:1.5;margin-top:8px;color:var(--sgh-accent,#a78bfa)}@media(max-width:360px){.local-email-filter{grid-template-columns:minmax(0,1fr)}.local-email-filter button{justify-self:start}}@media(prefers-reduced-motion:reduce){.memory-actions button{transition:none;transform:none!important}}

#emailLookupResults .history-card{position:relative;display:grid;gap:10px}#emailLookupResults h3{padding-right:110px;font-size:15px;overflow-wrap:anywhere}#emailLookupResults details{font-size:12px;line-height:1.7;overflow-wrap:anywhere}#emailLookupResults summary{min-height:44px;cursor:pointer;display:flex;align-items:center}#emailLookupResults .device-order-view{justify-self:start;min-height:44px}.email-order-status{position:absolute;right:14px;top:14px;border-radius:20px;padding:4px 8px;font-size:11px;color:#c4b5fd;background:rgba(139,92,246,.12);max-width:105px;overflow-wrap:anywhere}.email-order-status[data-state=Delivered]{color:#34b988;background:rgba(52,185,136,.12)}.email-order-status[data-state=Rejected],.email-order-status[data-state="Top-up failed"]{color:#e9818b;background:rgba(233,129,139,.1)}#emailLookupStatus[data-state=error]{color:#db7182}#emailLookupStatus[data-state=loading]::before{content:'';display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:8px;vertical-align:middle;animation:email-search-spin .8s linear infinite}@keyframes email-search-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#emailLookupStatus[data-state=loading]::before{animation:none}}
