:root{--ink:#10284b;--navy:#071f43;--muted:#647084;--line:#dce0e6;--paper:#f7f5f0;--gold:#d5ab69;--blue:#245bd1;--green:#22694e;--error:#9b3035;font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}a{color:var(--blue)}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-weight:600;cursor:pointer;text-decoration:none}button:hover,.button:hover{border-color:var(--blue);background:#f1f5fd}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--navy);border-color:var(--navy);color:white}.primary:hover{background:#173c70;color:white}.small{font-size:12px;min-height:36px;padding:7px 11px}.danger{color:var(--error)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6895e9;outline-offset:3px}.skip{position:absolute;left:20px;top:-60px;padding:10px;background:white;z-index:20}.skip:focus{top:10px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 5vw;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:24px;letter-spacing:-1px;font-weight:750}.brand-mark{width:31px;height:31px;background:var(--navy);color:white;border-radius:9px;font-size:25px;text-align:center;line-height:28px}.divider{font-size:26px;font-weight:300;color:#c8ced8;margin:0 6px}.brand-label{font-size:13px;font-weight:500;letter-spacing:0}nav,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}nav{font-size:13px}.site-footer{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);padding:25px 5vw;border-top:1px solid var(--line)}#app{max-width:1280px;margin:0 auto;padding:48px 40px 64px;min-height:calc(100vh - 155px)}h1,h2,h3,p{margin-top:0}h1{font-size:40px;line-height:1.13;letter-spacing:-1.4px;font-weight:650;margin-bottom:16px}h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin-bottom:12px}h3{font-size:16px;margin-bottom:8px}p{margin-bottom:17px}.eyebrow{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:1.9px;color:#80602d;margin-bottom:15px}.muted,small{color:var(--muted)}small{font-size:12px}.loading{padding:70px 0;text-align:center}.redemption-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}.gift-story{background:var(--navy);border-radius:14px;color:white;padding:34px;position:sticky;top:24px;overflow:hidden;min-height:610px;display:flex;flex-direction:column}.gift-story .eyebrow{color:var(--gold);margin-top:28px}.organizer{font-size:20px;font-weight:750;letter-spacing:-.6px}.gift-story h1{font-size:44px;line-height:1.07;max-width:320px;white-space:pre-line}.gift-story p{color:#c2cfe1;font-size:14px;max-width:310px}.gift-art{height:192px;display:flex;align-items:center;justify-content:center;position:relative;margin:8px 0}.gift-art:before{content:"";position:absolute;width:192px;height:192px;border:1px solid #344867;border-radius:50%}.gift-art svg{width:156px;height:174px;z-index:1}.gift-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#ccd6e5;border-top:1px solid #344867;padding-top:18px;margin-top:auto}.gift-note i{width:6px;height:6px;background:var(--gold);border-radius:50%}.form-intro{margin:7px 0 26px}.form-intro h1{font-size:32px}.form-intro p{font-size:14px;color:var(--muted);margin-bottom:14px}.voucher-badge{display:inline-flex;align-items:center;gap:8px;background:#e7eee8;color:var(--green);font-size:11px;font-weight:650;padding:5px 9px;border-radius:4px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;min-width:0}.field small{font-weight:400;font-size:11px}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd3dd;padding:11px 12px;min-height:45px;border-radius:6px;background:#fff;color:var(--ink);font-weight:400;outline-offset:2px}.field input::placeholder,.field textarea::placeholder{color:#929aa6}.field input[aria-invalid=true]{border-color:var(--error)}textarea{resize:vertical;min-height:83px}.wide{grid-column:1/-1}fieldset{border:0;border-top:1px solid var(--line);margin:28px 0 0;padding:21px 0 0}legend{font-size:16px;font-weight:650;padding-right:14px}.section-number{font-size:10px;color:#7a8799;margin-right:8px}.optional{color:#7d8594;font-size:10px;font-weight:400}.check{display:flex;gap:9px;align-items:flex-start;font-size:12px;margin-top:17px}.check input{width:16px;height:16px;accent-color:var(--navy);margin:2px 0}.privacy{font-size:11px;color:var(--muted);line-height:1.7;margin:24px 0 17px}.submit{width:100%;padding:13px}.form-end{font-size:11px;text-align:center;color:var(--muted);margin:11px 0}.error,.notice{font-size:13px;padding:12px 15px;border-radius:6px;margin:15px 0;overflow-wrap:anywhere}.error{color:var(--error);background:#fcebec;border:1px solid #ebc3c6}.notice{background:#fff3d9;color:#77511b;border:1px solid #ecdaad}.error:empty{display:none}.error ul{margin:8px 0 0;padding-left:20px}.help{font-size:12px;margin-top:21px;color:var(--muted);overflow-wrap:anywhere}.entry{max-width:500px;margin:45px auto;text-align:center}.entry .field{text-align:left;margin:26px 0 18px}.entry h1{font-size:40px}.code-input{text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:1.5px}.entry-symbol{font-size:31px;display:grid;place-items:center;width:65px;height:65px;background:#ebe4d7;color:#7e591e;border-radius:18px;margin:0 auto 24px}.success{max-width:620px;margin:50px auto;text-align:center}.success-symbol{font-size:28px;width:64px;height:64px;display:grid;place-items:center;margin:0 auto 25px;background:#e2eee6;color:var(--green);border-radius:50%}.reference{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;margin:28px 0;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:20px}.reference strong{display:block;font-family:ui-monospace,monospace;font-size:19px;margin-top:5px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-title h1{font-size:34px;margin-bottom:7px}.page-title p{font-size:13px;margin-bottom:0}.campaign-bar{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}.campaign-bar .field{flex:1;min-width:240px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.stat{border:1px solid var(--line);background:white;border-radius:9px;padding:20px}.stat strong{display:block;font-size:32px;font-weight:650}.stat span{font-size:12px;color:var(--muted)}.panel{border:1px solid var(--line);background:white;border-radius:10px;padding:24px;margin-bottom:22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-heading h2{margin:0}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.empty h2{color:var(--ink)}.tabs{display:flex;gap:25px;margin:28px 0 20px;border-bottom:1px solid var(--line)}.tab{padding:12px 0;border:0;border-bottom:3px solid transparent;background:none;border-radius:0;color:var(--muted)}.tab.active{color:var(--ink);border-color:var(--ink)}.toolbar{display:flex;gap:12px;margin-bottom:20px}.toolbar .field{flex:1}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:14px 12px;border-bottom:1px solid #e6e9ee;vertical-align:top}th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:600}td small{display:block;margin-top:3px}td strong{font-size:13px}td .small{white-space:nowrap}.badge{display:inline-block;font-size:10px;padding:4px 8px;font-weight:600;border-radius:4px;background:#edf0f5;color:#516078;white-space:nowrap}.badge.active,.badge.approved,.badge.shipped{background:#e5f1e9;color:#22694e}.badge.submitted,.badge.queued{background:#fff1d5;color:#835d20}.badge.void,.badge.on_hold,.badge.failed,.badge.closed{background:#fae8e9;color:#9b3035}.batch{margin:15px 0;border:1px solid var(--line);padding:18px;border-radius:8px}.batch summary{cursor:pointer;font-weight:600}.batch .actions{margin:16px 0}.batch small{font-weight:400}.mono{font-family:ui-monospace,monospace}.batch-form{display:grid;grid-template-columns:1fr 120px auto;align-items:end;gap:12px}.login{max-width:425px;margin:40px auto}.login h1{font-size:32px}.login .field{margin:20px 0}dialog{border:1px solid var(--line);padding:0;border-radius:12px;max-width:720px;width:calc(100% - 32px);max-height:92dvh;color:var(--ink);box-shadow:0 30px 90px #10284b40}dialog::backdrop{background:#10284b80;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0}.dialog-body{padding:24px 26px}.close{font-size:23px;min-height:36px;width:36px;padding:0;background:transparent}.dialog-body .actions{justify-content:flex-end;margin-top:24px}.facts{display:grid;grid-template-columns:145px 1fr;gap:9px 16px;font-size:13px;margin:0 0 22px}.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.history{font-size:12px;color:var(--muted);padding-left:18px}.history li{margin:10px 0}.field-error{font-size:11px;color:var(--error);font-weight:400}.locked{font-size:12px;color:var(--muted)}.details-edit{margin:22px 0}.details-edit summary{cursor:pointer;font-weight:600;margin-bottom:18px}.nowrap{white-space:nowrap}[hidden]{display:none!important}
@media(max-width:1000px){.redemption-layout{gap:30px;grid-template-columns:.85fr 1.15fr}.gift-story{padding:28px}.gift-story h1{font-size:37px}#app{padding:36px 25px 50px}}
@media(max-width:720px){.site-header{padding:17px 20px;flex-wrap:wrap}.brand{font-size:21px}.brand-label{font-size:12px}.divider{margin:0 1px}#app{padding:24px 20px 40px}.redemption-layout{grid-template-columns:1fr;gap:27px}.gift-story{position:relative;top:0;min-height:0;padding:25px}.gift-story .organizer{font-size:16px}.gift-story .eyebrow{margin-top:21px;margin-bottom:12px;font-size:9px}.gift-story h1{font-size:35px;max-width:260px;margin-bottom:12px}.gift-story p{font-size:12px;max-width:245px;margin-bottom:18px}.gift-art{position:absolute;right:-30px;top:28px;width:130px;height:130px;opacity:.2;pointer-events:none}.gift-art:before{width:160px;height:160px}.gift-art svg{width:90px;height:125px}.gift-note{font-size:10px;padding-top:15px}.form-intro h1{font-size:28px}.form-intro{margin-top:0}.field-grid{grid-template-columns:1fr;gap:15px}.wide{grid-column:auto}.field input,.field select,.field textarea{font-size:16px;min-height:47px}fieldset{margin-top:25px}.site-footer{font-size:10px;padding:22px 20px}.entry{margin:30px 0}.entry h1{font-size:34px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:26px}.page-title{align-items:flex-start}.page-title h1{font-size:27px}.page-title .actions{justify-content:flex-end}.panel{padding:17px}.panel-heading{align-items:flex-start}.batch-form{grid-template-columns:1fr 85px}.batch-form button{grid-column:1/-1}.toolbar{flex-direction:column}.dialog-head,.dialog-body{padding:20px}.dialog-head h2{font-size:21px}.facts{grid-template-columns:100px 1fr}.reference{flex-direction:column;align-items:flex-start}.success{margin:28px auto}.success h1{font-size:32px}}
.scan-trigger{margin-top:4px;gap:10px}.scan-divider{display:flex;align-items:center;gap:14px;margin:24px 0 0;color:var(--muted);font-size:12px}.scan-divider:before,.scan-divider:after{content:"";height:1px;background:var(--line);flex:1}.entry .scan-divider+form .field{margin-top:18px}.qr-preview{position:relative;aspect-ratio:4/3;max-height:360px;background:var(--navy);overflow:hidden;border-radius:10px}.qr-preview video{display:block;width:100%;height:100%;object-fit:cover}.qr-frame{position:absolute;inset:15% 20%;border:2px solid #fff;border-radius:10px;box-shadow:0 0 0 100vmax #071f4326;pointer-events:none}.qr-actions{display:flex;gap:10px;flex-wrap:wrap}.qr-actions button{flex:1;white-space:normal}.qr-privacy{margin-bottom:0;text-align:center}#qr-dialog{max-width:540px}#qr-status{min-height:20px;margin:16px 0}#qr-dialog .dialog-body>.muted{font-size:14px}
@media(max-width:420px){.qr-actions{flex-direction:column}.scan-divider{gap:10px;font-size:11px}}
