:root{color:#192832;font-synthesis:none;--ink:#192832;--muted:#4f616e;--line:#d1dce2;--accent:#08635f;--accent-hover:#064b48;--surface:#fff;background:#f1f5f7;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-size:100%;line-height:1.6}*{box-sizing:border-box}body{min-width:280px;margin:0}h1,h2,h3,p,dl,dd{margin:0}h1{letter-spacing:-.045em;font-size:clamp(1.7rem,4vw,2.2rem);line-height:1.18}h2{letter-spacing:-.015em;font-size:1.15rem;line-height:1.35}h3{margin-bottom:.55rem;font-size:1rem}a{color:var(--accent)}button,input,textarea,select{font:inherit}.shell{width:min(1120px,100% - 3rem);margin-inline:auto}.topbar{color:#fff;background:#122c37}.nav{justify-content:space-between;align-items:center;gap:1rem;min-height:66px;display:flex}.brand{color:#fff;letter-spacing:.04em;font-size:1.12rem;font-weight:760;text-decoration:none}.nav-link{color:#e1f3f2;text-underline-offset:.23em;font-size:.95rem}.customer-shell{max-width:940px;padding-block:clamp(2rem,6vw,5rem)}.admin-shell{padding-block:clamp(1.4rem,4vw,3rem)}.redeem-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start;gap:1.2rem;display:grid}.panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-width:0;padding:clamp(1rem,3.6vw,2rem)}.lookup{background:#e9f3f3;border-color:#c7dcda}.lookup:not(.compact){max-width:520px}.login{gap:1.1rem;max-width:460px;margin-inline:auto;display:grid}.intro{color:var(--muted);margin-top:.6rem;margin-bottom:1.25rem}.stack{gap:1rem;display:grid}.panel>h2+.stack,.panel>.heading-row+.stack{margin-top:1rem}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem;display:grid}.field{color:#253944;gap:.32rem;font-size:.95rem;font-weight:650;display:grid}.field input,.field textarea,.field select{width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #9db1ba;border-radius:8px;padding:.65rem .75rem;font-size:1rem;font-weight:440;line-height:1.45}.field input::placeholder,.field textarea::placeholder{color:#607581}.field textarea{resize:vertical;min-height:124px}.field select{appearance:none;background:linear-gradient(45deg,#0000 50%,#47636a 50%) calc(100% - 17px)/6px 6px no-repeat,linear-gradient(135deg,#47636a 50%,#0000 50%) calc(100% - 11px)/6px 6px no-repeat,#fff;padding-right:2.1rem}.field input[readonly]{background:#f0f4f5}:focus-visible{outline-offset:2px;outline:3px solid #087e7a}.checkbox{align-items:flex-start;gap:.55rem;font-size:.95rem;display:flex}.checkbox input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0;margin:.2em 0 0}button{background:var(--accent);color:#fff;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-self:start;min-height:42px;padding:.55rem 1rem;font-weight:680}button:hover:not(:disabled){background:var(--accent-hover)}button:disabled{opacity:.55;cursor:default}button.secondary{color:#154b4b;background:#fff;border-color:#93b3b4}button.secondary:hover:not(:disabled),button.text-button:hover:not(:disabled){background:#eff8f8}button.text-button{color:#125d59;text-underline-offset:.2em;background:0 0;border-color:#0000;min-height:36px;padding:.25rem .5rem;text-decoration:underline}button.text-button.danger{color:#822421}.mono,code{font-family:IBM Plex Mono,Consolas,monospace}.wrap{overflow-wrap:anywhere}.selection,.renewal{color:#104743;background:#eaf6f4;border:1px solid #c1dbd8;border-radius:10px;gap:.15rem;padding:.75rem 1rem;display:grid}.selection span,.renewal span{font-size:.92rem}.selection strong,.renewal strong{font-size:1.12rem}.selection small{color:#36575a;font-size:.88rem}.notice{border:1px solid #0000;border-radius:8px;padding:.6rem .8rem}.notice.danger{color:#822421;background:#fdf0ef;border-color:#ebc7c3}.notice.info{color:#244954;background:#e8f4f5;border-color:#c5dee0}main>.notice{margin-bottom:1rem}.heading-row,.actions,.pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;display:flex}.actions{justify-content:flex-start}.details{padding-block:.9rem;display:grid}.details>div{border-bottom:1px solid #e2eaed;grid-template-columns:minmax(5rem,1fr) minmax(0,3fr);gap:.55rem;padding:.55rem 0;display:grid}.details dt{color:var(--muted)}.details dd{font-weight:600}.pill{border-radius:999px;padding:.23rem .65rem;font-size:.9rem;font-weight:660}.positive{color:#135134;background:#e2f5ea}.negative{color:#812420;background:#fbeae8}.neutral{color:#6b4d1e;background:#f5efdd}.inset{margin-top:1rem}.used-receipt,.order-progress{border-top:1px solid var(--line);padding-top:1rem}.order-progress{margin-bottom:1rem}.order-progress p{color:var(--muted);margin-top:.4rem}.order-progress ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem 1rem;margin:.7rem 0 0;padding:0;list-style:none;display:grid}.order-progress li{color:var(--muted);align-items:baseline;gap:.55rem;padding:.25rem .45rem;display:flex}.order-progress li:before{content:"";border:1px solid;border-radius:50%;flex:none;block-size:.53rem;inline-size:.53rem}.order-progress li[data-state=done]{color:#135134}.order-progress li[data-state=done]:before{background:currentColor}.order-progress li[data-state=current]{color:#085450;background:#eaf6f4;border-radius:6px;font-weight:700}.order-progress li[data-state=current]:before{background:currentColor}.order-progress li[data-state=paused]{color:#6b4d1e}.renewal+.notice{margin-top:.85rem}.recovery code{color:#244954;margin:0 0 .8rem;display:block}.connection-field{border:1px solid var(--line);border-radius:10px;min-width:0;margin:0;padding:.9rem 1rem 1rem}.connection-field legend{color:var(--ink);padding-inline:.4rem;font-weight:700}.connection-actions{align-items:center;margin-top:.85rem}.connection-field .notice{margin-top:.65rem}.tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:.45rem;padding-bottom:.6rem;display:flex}.tabs button{color:#274653;background:0 0;font-weight:650}.tabs button:hover:not(:disabled){background:#e3ecee}.tabs button[aria-pressed=true]{color:#134b49;background:#d9eeee;border-color:#add2d0}.table-wrap{width:100%;margin-top:.85rem;overflow-x:auto}.history-filters{flex-wrap:wrap;align-items:flex-end;gap:.65rem 1.2rem;display:flex}.history-filters .checkbox{padding-block:.55rem}.history-filter{max-width:18rem}.retained-card{color:#125d59;white-space:nowrap;background:#e8f4f5;border-radius:999px;margin-inline-start:.5rem;padding:.12rem .45rem;font-size:.82rem;font-weight:650;display:inline-block}.nowrap{white-space:nowrap}table{border-collapse:collapse;width:100%;line-height:1.45}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #dce6eb;padding:.65rem .55rem;font-size:.94rem}th{color:#3b5967;white-space:nowrap;background:#f2f7f8;font-weight:700}.empty{color:var(--muted);text-align:center}.subline{color:var(--muted);font-size:.81rem;display:block}.pagination{color:var(--muted);justify-content:flex-end;margin-top:.7rem}@media (width<=720px){.shell{width:calc(100% - 1.5rem)}.redeem-grid{grid-template-columns:minmax(0,1fr)}td,th{padding:.55rem .4rem}}@media (width<=530px){.field-grid,.order-progress ol{grid-template-columns:minmax(0,1fr)}.details>div{grid-template-columns:5.45rem minmax(0,1fr)}.nav{min-height:56px}.actions button{flex:1}}
