:root{color-scheme:dark;--navy:#101b32;--panel:#1c2942;--gold:#f0cf91;--cream:#fff1d8;--muted:#c6d0e1;--line:#ffffff24;--green:#b8dfc9}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:linear-gradient(90deg,rgba(8,16,34,.35),rgba(8,16,34,.16)),url('/assets/backgrounds-realistic/purchases.webp') center/cover fixed,var(--navy);color:var(--cream);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
main{max-width:940px;margin:auto;padding:32px 24px 24px}
a{color:var(--gold);text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.top-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 24px;border-bottom:1px solid var(--line)}
.brand{color:var(--gold);font-size:.72rem;font-weight:800;letter-spacing:.15em;text-decoration:none}
.back-link{font-size:.84rem;white-space:nowrap}
.hero{padding:52px 0 32px;max-width:650px}
.eyebrow{margin:0 0 16px;font-size:.67rem;font-weight:800;letter-spacing:.19em;color:var(--gold)}
h1{font:clamp(2.7rem,6.5vw,4.5rem)/1.05 Georgia,"Times New Roman",serif;letter-spacing:-.025em;margin:0 0 20px;text-wrap:balance}
.intro{margin:0;color:var(--muted);max-width:580px;font-size:1.05rem}
h2{font:1.7rem/1.2 Georgia,"Times New Roman",serif;margin:0 0 8px}
h3{font:1.35rem/1.3 Georgia,"Times New Roman",serif;margin:0 0 8px}
.lookup-panel,.order-card,.empty-panel{background:linear-gradient(135deg,rgba(35,50,77,.94),rgba(24,36,58,.95));border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 42px #03091470;backdrop-filter:blur(5px)}
.lookup-panel{padding:28px 32px;max-width:680px}
.panel-heading{display:flex;gap:16px;align-items:center;margin-bottom:26px}
.panel-heading p{margin:0;color:var(--muted);font-size:.92rem}
.seal{display:grid;place-items:center;flex:0 0 48px;height:48px;border:1px solid #f0cf914d;border-radius:50%;color:var(--gold);font-size:1.7rem}
.field{margin-bottom:22px}
label{display:block;font-size:.92rem;font-weight:650;margin-bottom:8px}
.optional{color:var(--muted);font-weight:400}
input{display:block;width:100%;min-height:49px;padding:11px 14px;border:1px solid #c6d0e14d;border-radius:9px;background:#101c30;color:#fff4df}
input::placeholder{color:#a0abc0}
input:hover{border-color:#c6d0e180}
.field-help{margin:7px 0 0;color:var(--muted);font-size:.8rem;line-height:1.5}
.button{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:48px;padding:11px 18px;border:1px solid transparent;border-radius:10px;font-size:.92rem;line-height:1.4;font-weight:750;cursor:pointer;text-decoration:none}
.button-primary{background:var(--gold);color:#241c10}
.button-primary:hover{background:#ffe0a6}
.button-secondary{background:transparent;border-color:#f0cf9166;color:var(--gold)}
.button-secondary:hover{background:#f0cf9110}
.button:disabled{opacity:.6;cursor:wait}
.privacy-note{display:flex;gap:9px;margin:24px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;line-height:1.6}
.privacy-note span{color:var(--gold)}
.status{padding:18px 22px;margin:0 0 22px;border:1px solid #f0cf914d;border-radius:12px;background:#27344c;color:var(--cream);font-size:.94rem;max-width:680px}
.status.is-error{border-color:#efa79c80;background:#382a36}
.status.is-success{border-color:#b8dfc959;background:#1e383c}
.results-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 22px}
.results-heading p{margin:0;font-size:.9rem}
.muted{color:var(--muted)}
.orders{display:grid;gap:16px}
.order-card{padding:24px}
.order-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:15px;font-size:.79rem;color:var(--muted)}
.order-number{font-weight:750;color:var(--gold);letter-spacing:.035em}
.order-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.order-total{margin:0;font-weight:750;color:var(--cream)}
.paid-badge{display:inline-block;margin-top:3px;font-size:.77rem;color:var(--green)}
.empty-panel{padding:28px}
.empty-panel p{color:var(--muted);max-width:570px;margin:10px 0 20px}
.text-link{font-size:.9rem;font-weight:650}
.results-note{font-size:.84rem;color:var(--muted);margin-top:24px;max-width:740px}
.page-footer{padding:30px 0 12px;margin-top:28px;color:#aebbd0;font-size:.79rem;border-top:1px solid var(--line)}
.page-footer p{margin:0 0 7px}
[hidden]{display:none!important}
@media(max-width:620px){main{padding:20px 18px}.top-nav{align-items:flex-start;gap:12px}.brand{max-width:145px;line-height:1.6}.back-link{font-size:.77rem}.hero{padding:36px 0 26px}h1{font-size:2.7rem}.eyebrow{font-size:.59rem}.lookup-panel{padding:23px 20px}.panel-heading{gap:12px}.seal{flex-basis:40px;height:40px;font-size:1.4rem}h2{font-size:1.5rem}.results-heading{align-items:flex-start;flex-direction:column;gap:14px}.order-card{padding:20px}.order-bottom{align-items:flex-start;flex-direction:column;gap:16px}.order-bottom .button{width:100%}#send-purchase-link{width:100%}.status{padding:16px 18px}}
@media(prefers-reduced-motion:no-preference){.button{transition:background .15s ease}}

body.my-purchases-page{display:flex;min-height:100vh;flex-direction:column}
body.my-purchases-page>main{width:100%;flex:1}
