@charset "UTF-8";
@font-face{font-family:'ZCOOL KuaiLe';src:url('/assets/ZCOOLKuaiLe-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('/assets/NotoSansSC-Variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--bg:#fcfbf8;--paper:#ffffff;--ink:#424b54;--muted:#68717b;--line:#e6e9ec;--lavender:#f0f0f5;--lavender-deep:#6e7c8c;--blush:#faf1f3;--sky:#f1f6f8;--mint:#f0f6f2;--error:#985669;--radius:20px;--shadow:0 8px 28px -18px #66748018;--ease:cubic-bezier(.22,1,.36,1);font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg);color-scheme:light}
*{box-sizing:border-box}html{min-width:0;scroll-behavior:smooth;scrollbar-color:#dedfe2 transparent}body{font-weight:400;margin:0;min-width:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button,input,select,textarea,a,[tabindex]{outline:none}h1,h2,h3,p{margin:0}h1{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-weight:500;font-size:30px;line-height:1.25;letter-spacing:.5px}h2{font-size:17px;font-weight:500;line-height:1.45}h3{font-size:14px;font-weight:500}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg,a svg{transition:transform .24s var(--ease)}[hidden]{display:none!important}::selection{background:#e8eaee;color:#424b54}
html[data-input=keyboard]:not(.window-blurred) :is(button,a,[tabindex],input,select,textarea):focus-visible{outline:2px solid #707680;outline-offset:-3px}html[data-input=keyboard]:not(.window-blurred) :is(input,select,textarea):focus-visible{border-color:#a1a8b4;box-shadow:inset 0 0 0 1px #a1a8b4}html[data-input=keyboard]:not(.window-blurred) .button-primary:focus-visible{outline-color:#474c55}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:10px;left:10px;padding:10px 18px;border-radius:12px;background:var(--ink);color:white;transform:translateY(-180%);z-index:100}.skip-link:focus{transform:translateY(0)}
input,select,textarea{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:11px;background:#fafbfc;padding:10px 13px;color:var(--ink);transition:border-color .2s,background .2s,box-shadow .2s}input:hover,select:hover,textarea:hover{border-color:#d9dbde}input::placeholder,textarea::placeholder{color:#6c6f74;opacity:1}input[type=checkbox],input[type=radio]{width:17px;min-height:0;height:17px;accent-color:var(--lavender-deep);flex:none}label{display:block;font-size:12px;font-weight:500;color:#5f6267;margin-bottom:8px}textarea{resize:vertical}.field{min-width:0;margin-bottom:18px}.field:last-child{margin-bottom:0}.field .inline-note{margin-top:7px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.muted{color:var(--muted)}.surface-caption,.eyebrow{display:block;font-size:10px;font-weight:500;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted)}.surface-caption{margin-bottom:6px}.serif{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif}
#custom-background{position:fixed;inset:0;z-index:-3;background-size:cover;background-position:center}#custom-background:has(img)::after,#custom-background:has(video)::after{content:'';position:absolute;inset:0;background:#fcfbf8e3}#custom-background img,#custom-background video{width:100%;height:100%;object-fit:cover}.ambient{position:fixed;z-index:-2;border-radius:50%;filter:blur(80px);pointer-events:none;opacity:.20}.ambient-one{width:min(450px,75vw);height:450px;background:#f7ecef;left:-160px;top:4%;animation:ambient-drift 28s ease-in-out infinite alternate}.ambient-two{width:min(470px,75vw);height:470px;background:#eaf0f5;right:-200px;bottom:-150px;animation:ambient-drift 34s ease-in-out infinite alternate-reverse}.boot{min-height:100dvh;display:grid;place-items:center}.boot-mark{display:inline-flex;color:var(--lavender-deep);animation:star-twinkle 2.5s ease-in-out infinite}.boot-mark svg{width:44px;height:44px}
.brand{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap}.brand-mark{display:block;object-fit:contain;flex:none;width:38px;height:38px;color:#646971;stroke-width:1.7;overflow:visible;transition:transform .3s var(--ease)}.brand-mark-fill{fill:#f2f2f4}.brand-mark-star{fill:#eee6d2;stroke:#a38f69}.brand:hover .brand-mark{transform:rotate(-8deg)}.brand-name{min-width:0;overflow:hidden;text-overflow:ellipsis;font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-weight:500;font-size:24px;letter-spacing:.5px}.brand-name small{font:500 12px 'ZCOOL KuaiLe','Noto Sans SC',sans-serif;margin-left:8px;color:var(--muted)}
.button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:12px;font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap;transition:transform .18s var(--ease),background .2s,border-color .2s,color .2s}.button:hover:not(:disabled){transform:none}.button:active:not(:disabled){transform:scale(.99)}.button-primary{background:#edf0f4;border-color:#e0e5eb;color:#4c5b6b;box-shadow:none}.button-primary:hover:not(:disabled){background:#e5eaf0;border-color:#d5dde6;box-shadow:none}.button-primary:hover:not(:disabled)>svg:last-child{transform:none}.button-secondary{background:#f4f5f7;border-color:#e6e9ed;color:#5d6875}.button-secondary:hover:not(:disabled){background:#ecf0f4}.button-ghost{background:#ffffffcc;border-color:#e5e8eb;color:#606b77}.button-ghost:hover:not(:disabled){background:#f5f6f8;border-color:#dbe2e9}.button-danger{background:#f8eef0;border-color:#ead8dd;color:#884f60}.button-danger:hover:not(:disabled){background:#f4e7eb}.button-small{min-height:36px;padding:8px 13px;font-size:12px;border-radius:10px}.icon-button,.copy-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fefcfad9;color:#6e7279;transition:background .2s,transform .24s var(--ease),border-color .2s}.icon-button:hover:not(:disabled),.copy-button:hover:not(:disabled){background:#f2f3f5;border-color:#dddfe3;transform:none}.icon-button:active:not(:disabled),.copy-button:active:not(:disabled){transform:scale(.98)}.icon-button:hover svg{transform:none}.copy-button{width:33px;height:33px;border-radius:10px}.copy-button svg{width:16px;height:16px}.copy-button:hover svg{transform:none}.text-button{border:0;background:none;padding:6px 1px;min-height:30px;color:#6a6f78;font-size:12px;font-weight:500;transition:color .2s}.text-button:hover{color:#424852}.button.loading{pointer-events:none}.button.loading::after,.queue-save-button.loading::after{content:'';width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .75s linear infinite;flex:none}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:27px;padding:6px 9px;border:1px solid var(--line);border-radius:9px;font-size:10px;line-height:1.25;white-space:nowrap;color:#696d74;background:#f8f9fa}.pill-demo{color:#6d5d43;background:#f6f1e6;border-color:#e9e1cf}.pill-live{color:#476b5a;background:#eff5f1;border-color:#dce7e1}.status-dot{display:inline-block;width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}.inventory-pill{max-width:100%;color:#61656b;background:#f6f7f9;border-color:#edeef0;gap:6px;flex-wrap:wrap}.inventory-pill svg{width:14px;height:14px}.inventory-pill strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;margin-left:2px}.inventory-pill>span{white-space:nowrap}.inventory-unknown{color:#6c6f73;background:#f8f5f7}.inventory-refused{color:#7b6141;background:#f9f3ea;border-color:#eae2d6}.inventory-allocation{padding-left:7px;border-left:1px solid #dbccb5;font-size:10px}
.error-text{color:var(--error);font-size:12px;line-height:1.7;margin-top:12px;overflow-wrap:anywhere}.error-text:empty{display:none}.empty{padding:48px 20px;text-align:center;color:var(--muted);font-size:13px}.empty>svg{display:block;width:32px;height:32px;margin:0 auto 12px;color:#6f7581}.loading-state{display:flex;align-items:center;justify-content:center;gap:12px}.inline-warning{padding:12px 14px;border:1px solid #e9e1d2;border-radius:11px;background:#f9f4eb;color:#765e40;font-size:12px;line-height:1.75;margin-bottom:19px;overflow-wrap:anywhere}.inline-note{font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.animate-in{animation:enter .48s var(--ease) both}
/* Public desk */
.public-shell{max-width:1110px;min-height:100dvh;padding:28px 44px 20px;margin:auto;display:flex;flex-direction:column}.public-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.public-header>.brand{max-width:45%}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.public-main{display:grid;grid-template-columns:280px minmax(0,450px);align-items:center;justify-content:center;gap:72px;flex:1;padding:48px 0 58px}.public-aside{min-width:0;align-self:center}.mascot-scene{width:280px;max-width:100%;margin:0 auto 22px}.mail-mascot{display:block;width:100%;height:auto;object-fit:contain;overflow:visible;stroke:none}img.mail-mascot{animation:mascot-float 7s ease-in-out infinite}.mascot-float{transform-origin:160px 150px;animation:mascot-float 6s ease-in-out infinite}.mascot-tail{transform-origin:226px 180px;animation:tail-wave 7s ease-in-out infinite}.mascot-blush{animation:blush 5s ease-in-out infinite}.mascot-star{transform-box:fill-box;transform-origin:center;animation:star-twinkle 4s ease-in-out infinite}.star-two{animation-delay:-1.6s}.star-three{animation-delay:-2.8s}.mascot-halo{transform-origin:center;animation:halo-breathe 8s ease-in-out infinite}.steps{list-style:none;display:flex;align-items:center;justify-content:center;gap:24px;padding:0;margin:0}.steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;color:#6c6f74;font-size:11px;transition:color .2s}.step-number{display:grid;place-items:center;width:34px;height:34px;border:1px solid #edeeef;border-radius:12px;background:#fafbfc;transition:background .24s,border-color .24s,transform .3s var(--ease)}.step-number svg{width:17px;height:17px}.steps li+li:before{position:absolute;content:'';width:14px;height:1px;background:#e7e8ea;top:17px;left:-19px}.steps .active{color:#5b626d;font-weight:500}.steps .active .step-number{background:#edeff2;border-color:#d9dbe0;transform:translateY(-2px)}.steps .done .step-number{background:#f2f5f2;border-color:#dce5df;color:#527660}
.exchange-card{position:relative;width:100%;min-width:0;padding:28px;background:#ffffffed;border:1px solid #e7e9ec;border-radius:24px;box-shadow:0 12px 36px -24px #66748016;backdrop-filter:blur(16px)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.card-top h1{font-size:29px}.small-flower{display:flex;align-items:center;justify-content:center;color:#a4acb9;flex:none}.small-flower svg{width:26px;height:26px;fill:#f2f3f5;stroke-width:1.3}.service-types{display:flex;gap:8px;margin-bottom:24px}.service-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #e3eaee;border-radius:9px;background:#f3f8fa;padding:7px 11px;color:#576f7d;font-size:12px;font-weight:500}.service-tag svg{width:16px;height:16px}.service-tag.email{color:#666b73;background:#f8f1f4;border-color:#ede2e9}.service-tag.unavailable{opacity:.48}.cdk-input{font-size:15px;height:49px;letter-spacing:.3px;background:#fafbfc}.redeem-form>.button{width:100%;justify-content:space-between;margin-top:16px;min-height:46px}.redeem-form .field{margin-bottom:13px}.demo-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:23px;padding-top:17px;border-top:1px dashed #e9eaec;font-size:11px;color:var(--muted)}.demo-shortcuts>span{margin-right:auto}.demo-shortcut{border:1px solid #eaebed;background:#fafbfc;border-radius:8px;padding:6px 10px;font-size:11px;color:#6a6f77;transition:transform .2s,background .2s}.demo-shortcut:hover{background:#f2f3f5;transform:none}.form-footnote{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.7;color:var(--muted);margin-top:18px}.form-footnote svg{width:14px;height:14px}.public-footer{display:flex;justify-content:center;align-items:center;gap:12px;padding-top:16px;color:#6c6f74;font-size:10px;letter-spacing:.4px}.footer-status{display:flex;align-items:center;gap:6px}.footer-status svg{width:13px;height:13px}.footer-wordmark{font-size:12px}
/* Resource surfaces stay stable during polling. */
.order-heading{display:flex;align-items:center;gap:10px;min-width:0}.order-heading>div{min-width:0}.kind-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;border:1px solid #e1eaef;background:#eff4f7;color:#5e7888}.kind-icon.email{background:#f4f5f7;color:#707680;border-color:#e9eaed}.order-heading h1{font-size:22px;white-space:nowrap}.order-heading .surface-caption{font-size:9px;line-height:1.1;margin-bottom:4px}.order-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#646972;line-height:1.45;flex:none;max-width:120px}.order-status.waiting .status-dot,.order-status.queued .status-dot{animation:dot-pulse 2s ease-in-out infinite}.order-status.received,.order-status.completed{color:#46715c}.order-status.review,.order-status.cancel_pending,.order-status.complete_pending,.order-status.next_pending,.order-status.next_uncertain{color:#78623f}.order-status.failed{color:var(--error)}.resource-label{margin-bottom:8px;font-size:11px;color:var(--muted)}.resource-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e4e8ed;background:#f6f7f9;border-radius:12px}.resource-value{min-width:0;flex:1;font-size:24px;font-weight:400;line-height:1.5;letter-spacing:.4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.resource-value.email{font-size:16px;font-weight:400;letter-spacing:0}.code-box{display:flex;align-items:center;justify-content:center;gap:13px;position:relative;min-height:110px;margin-top:16px;border:1px dashed #e4e5e7;border-radius:14px;background:#fafbfc;overflow:hidden}.code-value{max-width:calc(100% - 64px);padding:14px 0;font-size:36px;line-height:1.4;font-weight:500;letter-spacing:5px;overflow-wrap:anywhere;word-break:break-all;font-variant-numeric:tabular-nums;color:#506375}.code-value.long-code{font-size:19px;letter-spacing:1px}.code-waiting{display:flex;align-items:center;gap:11px;padding:17px;color:var(--muted);font-size:12px;line-height:1.7}.waiting-dots{display:flex;align-items:center;gap:4px;flex:none}.waiting-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#6f7581;animation:dot-hop 1.65s ease-in-out infinite}.waiting-dots i:nth-child(2){animation-delay:.18s}.waiting-dots i:nth-child(3){animation-delay:.36s}.code-box.received{border-style:solid;border-color:#e0e6eb;background:#f7f9fa}.code-box.with-history{display:block;min-height:0;padding:0 17px}.code-history{width:100%}.code-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;min-width:0}.code-entry+.code-entry{border-top:1px solid #e7ebef}.code-entry-info{display:flex;flex-direction:column;min-width:0}.code-entry .code-value{max-width:100%;font-size:30px;line-height:1.3;letter-spacing:4px;padding:1px 0}.code-entry .code-value.long-code{font-size:18px;letter-spacing:.8px}.code-round,.code-time{font-size:10px;color:#6b6f77}.code-time{margin-top:4px;font-variant-numeric:tabular-nums}.code-entry-new,.code-new{animation:code-arrive .65s var(--ease) both}.code-box .following-code{border-top:1px solid #ebedef;padding:14px 0}.order-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px 12px;margin-top:13px;font-size:10px;line-height:1.6;color:var(--muted)}.time-left{display:inline-flex;align-items:center;gap:5px;color:#696e78;font-variant-numeric:tabular-nums}.time-left svg{width:13px;height:13px}.order-progress{height:3px;border-radius:10px;background:#f1f2f3;overflow:hidden;margin:12px 0 18px}.order-progress>span{display:block;height:100%;width:100%;background:linear-gradient(90deg,#ccd8e1,#a4b9c9);border-radius:inherit;transition:width 1s linear}.order-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:17px}.order-actions .button{flex:1;min-width:0;padding-inline:13px;font-size:12px}.order-message{font-size:11px;line-height:1.8;color:#6b6f75;margin:15px 0;overflow-wrap:anywhere}.terminal-message{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;line-height:1.8;padding:16px;color:var(--muted)}.terminal-message svg{color:#707680}.order-switch{display:block;margin:18px auto 0;font-size:11px}.retry-form{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.retry-form .button{width:100%;margin-top:10px}
.queue-preferences{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px 12px;margin:13px 0 0;background:#f7f8fa;border:1px solid #e9edf0;border-radius:11px}.queue-preference-label{display:flex;align-items:center;gap:6px;flex:none;margin:0;font-size:11px;color:#627080;font-weight:500}.queue-preference-label svg{width:14px;height:14px}.queue-duration-control{display:flex;align-items:center;gap:7px;min-width:0}.queue-duration-input{width:70px;height:31px;min-height:31px;padding:5px 5px 5px 10px;border-radius:8px;text-align:center;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;background:#ffffff}.queue-duration-input:disabled{color:#6f7278;background:#f1f3f5;opacity:1;cursor:not-allowed}.queue-duration-unit{font-size:10px;color:var(--muted);white-space:nowrap}.queue-save-button{display:inline-flex;align-items:center;gap:4px;flex:none;min-height:30px;padding:5px 8px;border:1px solid #dee5ed;border-radius:8px;background:#eef2f6;font-size:11px;color:#5b6d7f}.queue-save-button:hover{background:#e4ebf2}.queue-inline{margin-bottom:14px}.code-box.queue-box{min-height:130px;background:#f7f9fa;border-color:#e3e5e8}.queue-waiting{display:flex;align-items:center;justify-content:center;gap:18px;max-width:100%;padding:25px 17px}.queue-orbit{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px;background:#eff1f3;color:#686f7c;border-radius:15px;transform:rotate(-7deg)}.queue-orbit::after{content:'';position:absolute;inset:-6px;border:2px solid #eeeff1;border-top-color:#abb2bf;border-radius:50%;animation:spin 3s linear infinite}.queue-orbit svg{width:20px;height:20px;animation:mail-sway 4s ease-in-out infinite}.queue-waiting>div{display:flex;flex-direction:column;gap:5px;min-width:0}.queue-waiting strong{font-size:14px;font-weight:500;color:#5f6570}.queue-waiting>div>span{font-size:10px;line-height:1.7;color:#6b6f75}
/* Compact administration */
.admin-shell{display:flex;min-height:100dvh;max-width:1680px;margin:auto}.sidebar{position:sticky;top:0;width:88px;height:100dvh;flex:none;display:flex;flex-direction:column;align-items:center;padding:22px 10px 15px;border-right:1px solid #edeeef;background:#fdfcfaed;backdrop-filter:blur(16px)}.sidebar>.brand{flex-direction:column;gap:5px;width:100%;padding:0 2px}.sidebar .brand-mark{width:34px;height:34px}.sidebar .brand-name{max-width:100%;font-size:16px;letter-spacing:0}.admin-nav{display:flex;flex-direction:column;gap:9px;width:100%;margin-top:38px}.nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;padding:11px 4px;border:1px solid transparent;border-radius:13px;background:none;color:#6b6f75;font-size:11px;font-weight:500;line-height:1.3;transition:background .22s,color .22s,transform .25s var(--ease),border-color .22s}.nav-item svg{width:21px;height:21px}.nav-item:hover{color:#5a6a7b;background:#f5f6f8;transform:none}.nav-item:hover svg{transform:none}.nav-item.active{color:#526577;background:#eef1f5;border-color:#e2e7ed;box-shadow:none}.nav-item.active:after{content:'';position:absolute;width:4px;height:15px;left:-10px;top:calc(50% - 7px);border-radius:0 4px 4px 0;background:#b4c2ce}.sidebar-footer{display:flex;flex-direction:column;width:100%;gap:6px;margin-top:auto;padding-top:25px}.sidebar-footer .nav-item{font-size:10px;padding:10px 2px}.sidebar-footer .nav-item svg{width:18px;height:18px}.admin-content{flex:1;min-width:0;padding:25px 34px 36px}.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px;min-height:32px}.topbar-title{display:inline-flex;align-items:center;gap:7px;color:#6b6f75;font-size:12px;font-weight:500;white-space:nowrap}.topbar-title svg{width:15px;height:15px;color:#a5adba;fill:#f3f4f6}.admin-breadcrumb{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px}.admin-breadcrumb svg{width:12px;height:12px}.admin-user{display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:11px;border:1px solid #e9eaed;background:#f3f4f6;color:#666d79}.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.page-title h1{font-size:28px}.page-title .date-label{font-size:11px;color:var(--muted)}.page-title>.button{min-height:39px;padding:9px 15px;font-size:12px}.page-title>.icon-button{width:35px;height:35px;border-radius:11px}.title-with-count{display:flex;align-items:center;gap:11px;min-width:0}.count-chip{padding:2px 8px;min-width:28px;text-align:center;background:#f3f4f6;color:#656b75;border:1px solid #e7e8eb;border-radius:8px;font-size:11px;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:23px}.stat-card{position:relative;min-width:0;overflow:hidden;min-height:123px;border:1px solid #e8e9ed;border-radius:17px;background:#f6f6f9;padding:18px 18px 15px;transition:transform .25s var(--ease),box-shadow .25s}.stat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.stat-card:nth-child(2){background:#f4f8fa;border-color:#e4edf1}.stat-card:nth-child(3){background:#fbf5f6;border-color:#f1e7eb}.stat-card:nth-child(4){background:#f5f8f5;border-color:#e7ece5}.stat-card:nth-child(5){background:#fbf8f1;border-color:#f0eadf}.stat-label{display:block;position:relative;font-size:11px;color:#686b71;font-weight:500}.stat-value{display:block;margin-top:15px;font-size:35px;font-weight:500;letter-spacing:-1px;line-height:1.15;font-variant-numeric:tabular-nums;color:#686f7a}.stat-card:nth-child(2) .stat-value{color:#5a7282}.stat-card:nth-child(3) .stat-value{color:#975c78}.stat-card:nth-child(4) .stat-value{color:#56765a}.stat-card:nth-child(5) .stat-value{color:#816c49}.stat-decoration{position:absolute;right:15px;bottom:17px;display:flex;color:#aab1bd;transform:rotate(-9deg)}.stat-decoration svg{width:26px;height:26px;stroke-width:1.4}.stat-card:nth-child(2) .stat-decoration{color:#a7c1ce}.stat-card:nth-child(3) .stat-decoration{color:#cbacbb}.stat-card:nth-child(4) .stat-decoration{color:#adc2ab}.stat-card:nth-child(5) .stat-decoration{color:#c6b896}.panel{min-width:0;border:1px solid #ecedee;border-radius:18px;background:#ffffffed;overflow:hidden;box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 21px}.panel-header h2{font-size:15px}.panel-header .eyebrow{display:inline;margin-left:9px;font-size:9px}.table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{height:36px;padding:9px 20px;border-block:1px solid #eeeff0;background:#fafbfb;color:#6a6f77;font-size:11px;font-weight:500}td{height:58px;padding:10px 20px;border-bottom:1px solid #f2f3f4;color:#5d6065}tbody tr:last-child td{border-bottom:0}tbody tr{transition:background .16s}tbody tr:hover{background:#fafbfc}.table-code{font-variant-numeric:tabular-nums;font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:11px;color:#626871;letter-spacing:0}.table-code-line{display:flex;align-items:center;gap:8px}.table-copy{width:28px;height:28px;border-radius:8px}.table-copy svg{width:13px;height:13px}.table-sub{display:block;margin-top:4px;font-size:10px;color:#6c6f75;line-height:1.5}.table-resource{max-width:240px;overflow:hidden;text-overflow:ellipsis}.table-note{max-width:160px;overflow:hidden;text-overflow:ellipsis}.kind-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#5d6f87}.kind-label svg{width:15px;height:15px;color:#7b93a3}.kind-label.email{color:#6a6f77}.kind-label.email svg{color:#6e7582}.status-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:7px;font-size:10px;line-height:1.4;color:#526e5e;background:#eff3f0;white-space:nowrap}.status-badge.waiting,.status-badge.active,.status-badge.allocating,.status-badge.queued{background:#f3f4f6;color:#676d78}.status-badge.completed,.status-badge.used,.status-badge.received{background:#eef3ef;color:#456e56}.status-badge.disabled,.status-badge.cancelled,.status-badge.expired,.status-badge.exhausted{background:#f4f4f5;color:#6c6f73}.status-badge.review,.status-badge.cancel_pending,.status-badge.complete_pending,.status-badge.next_pending,.status-badge.next_uncertain{background:#f6f1e7;color:#7b623f}.status-badge.failed{background:#f8eef1;color:#8c5265}.status-badge.queued .status-dot{animation:dot-pulse 2s ease-in-out infinite}.row-action{min-height:28px;border:0;background:transparent;padding:5px 2px;color:#676f7d;font-size:12px;font-weight:500;border-radius:5px}.row-action:hover{text-decoration:underline;text-underline-offset:3px}.row-action:disabled{color:#75777b}
.cdk-page .page-title{margin-bottom:17px}.cdk-toolbar{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid #eff0f1}.search-field{position:relative;flex:1;min-width:0;max-width:310px}.search-field svg{position:absolute;left:10px;top:10px;width:15px;height:15px;color:#71767f}.search-field input{height:35px;min-height:35px;padding:7px 10px 7px 33px;border-radius:9px;font-size:12px;background:#fafbfc}.cdk-toolbar select{width:120px;height:35px;min-height:35px;flex:none;padding:6px 9px;border-radius:9px;font-size:12px}.cdk-search-button{width:35px;height:35px;border-radius:9px}.cdk-search-button svg{width:17px;height:17px}.cdk-table{min-width:965px;font-size:12px;line-height:1.35}.cdk-table th{height:34px;padding:8px 12px;font-size:11px;line-height:17px}.cdk-table td{height:44px;padding:5px 12px;vertical-align:middle}.cdk-table th:first-child,.cdk-table td:first-child{padding-left:15px}.cdk-table th:last-child,.cdk-table td:last-child{padding-right:15px}.cdk-code-cell{width:1%}.cdk-code-cell .table-code{font-size:12px;white-space:nowrap}.cdk-table .table-copy{width:27px;height:27px}.cdk-batch-cell{width:1%;font-variant-numeric:tabular-nums;font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:11px;color:#6c6f74}.cdk-quota-cell,.cdk-date-cell{font-variant-numeric:tabular-nums}.cdk-table .table-sub{font-size:10px;line-height:13px;margin-top:1px}.cdk-table .table-note{max-width:155px}.cdk-table .status-badge{font-size:11px;padding:4px 7px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:47px;padding:8px 14px;border-top:1px solid #f0f1f2;font-size:11px;color:var(--muted)}.pagination-buttons{display:flex;align-items:center;gap:5px}.pagination-buttons button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #eaebed;border-radius:8px;background:#fafbfc;color:#686f79;transition:background .2s,transform .2s}.pagination-buttons button:hover:not(:disabled){background:#f1f2f5;transform:none}.pagination-buttons svg{width:14px;height:14px}.pagination-buttons span{padding:0 7px;font-variant-numeric:tabular-nums}
.direct-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;max-width:1150px}.direct-resource-card{padding:23px}.direct-resource-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}.direct-resource-heading h2{font-size:19px;font-weight:500;white-space:nowrap}.direct-resource-heading .status-badge{max-width:140px;white-space:normal}.direct-resource-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:151px;margin-bottom:19px;border:1px dashed #e4eaee;border-radius:14px;background:#f8fbfc;color:#587285;font-size:11px}.direct-resource-empty.email{background:#fbfbfc;border-color:#ebecef;color:#6a6f77}.direct-resource-empty>svg{width:42px;height:42px;stroke-width:1.25;transform:rotate(-8deg)}.direct-resource-card .queue-preferences{margin-bottom:16px}.direct-acquire{width:100%}.direct-resource-card .resource-value{font-size:23px}.direct-resource-card .resource-value.email{font-size:16px}.direct-resource-card .order-actions:empty,.direct-resource-card .order-meta:empty{display:none}.direct-resource-card .order-progress+.order-actions{margin-top:0}
/* Settings and access */
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1120px}.settings-panel{padding:22px}.settings-panel.full{grid-column:1/-1}.settings-panel h2{display:flex;align-items:center;gap:8px;margin-bottom:22px;font-size:15px}.settings-panel h2 svg{width:19px;height:19px;color:#6e7582}.settings-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.settings-section-header h2{margin-bottom:0}.settings-panel>.field:last-child,.settings-panel>.field-grid:last-child .field{margin-bottom:0}.switch-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px;padding-bottom:18px;border-bottom:1px solid #f1f2f4;font-size:12px;color:#6b6f76}.switch{position:relative;display:inline-block;width:37px;height:22px;flex:none}.switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}.switch-track{display:block;width:100%;height:100%;border:1px solid #dfe0e2;border-radius:20px;background:#eeeff0;transition:background .25s,border-color .25s}.switch-track:after{position:absolute;content:'';width:16px;height:16px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #6a6d7230;transition:transform .3s var(--ease)}.switch input:checked+.switch-track{background:#9aaebf;border-color:#8fa4b7}.switch input:checked+.switch-track:after{transform:translateX(15px)}html[data-input=keyboard]:not(.window-blurred) .switch input:focus-visible+.switch-track{outline:2px solid #676d78;outline-offset:-3px}.settings-bottom{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:13px;max-width:1120px;margin-top:20px}.settings-bottom .error-text{flex:1;margin-top:0;min-width:0}.saved-note{font-size:12px;color:#50745d}.saved-note:not(:empty){animation:enter .3s var(--ease)}
.login-shell{min-height:100dvh;display:flex;flex-direction:column;padding:29px 42px}.login-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.login-header>.brand{max-width:calc(100% - 125px)}.login-header>.button{flex:none}.login-card{position:relative;width:380px;max-width:100%;padding:30px;margin:auto;border:1px solid #ebecee;border-radius:23px;background:#ffffffed;box-shadow:0 12px 36px -24px #66748018}.login-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#f3f4f6;color:#6e7582;margin-bottom:20px;transform:rotate(-6deg)}.login-icon svg{width:25px;height:25px;fill:#f9fafb;stroke-width:1.5}.login-card h1{font-size:27px;margin-bottom:26px}.login-description{font-size:12px;color:var(--muted);margin:-13px 0 23px;line-height:1.7}.login-card .field{margin-bottom:18px}.login-card form>.button{width:100%;margin-top:3px;justify-content:space-between}.login-card>.button{width:100%;margin-top:18px}.login-bottom{font-size:10px;text-align:center;color:var(--muted);padding-top:25px}
dialog{width:470px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 44px);padding:25px;border:1px solid #e7e9eb;border-radius:21px;background:#fafbfcfc;color:var(--ink);box-shadow:0 22px 80px #484c5435;overflow:auto;overscroll-behavior:contain}dialog[open]{animation:dialog-enter .27s var(--ease)}dialog::backdrop{background:#4c4f5445;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}.dialog-header h2{font-family:'ZCOOL KuaiLe','Noto Sans SC',sans-serif;font-size:23px;font-weight:500;min-width:0}.dialog-header .icon-button{width:32px;height:32px;border-radius:10px;background:#f5f6f8}.dialog-header svg{width:17px;height:17px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap;margin-top:23px}.dialog-actions .button{min-height:39px;padding:9px 15px;font-size:12px}.dialog-form .field-grid{gap:14px}.dialog-form:has(#restore-cdk-code){margin-top:19px}.dialog-body{font-size:13px;color:#696d73;line-height:1.8;overflow-wrap:anywhere}.dialog-notice{color:#4f715b;font-size:12px;line-height:1.7;margin-top:14px;overflow-wrap:anywhere}.dialog-notice:empty{display:none}.dialog-notice.error-text{color:var(--error)}.generated-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.generated-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis}.new-codes{margin:17px 0;max-height:275px;max-width:100%;padding:13px;background:#f6f6f9;border:1px solid #e8e9ec;border-radius:11px;overflow:auto;white-space:pre;font-variant-numeric:tabular-nums;font:400 12px/1.9 'ZCOOL KuaiLe','Noto Sans SC',sans-serif;color:#5c626d}.resolution-choices{display:flex;flex-direction:column;gap:11px;margin-top:19px}.resolution-choice{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #eaebed;border-radius:12px;background:#fafbfc;color:#60656e;line-height:1.7;cursor:pointer}.resolution-choice input{margin:3px 0 0}.resolution-choice strong{display:block;font-size:12px;font-weight:500}.resolution-choice span span{display:block;font-size:11px;font-weight:400;color:#6b6f75}.resolution-choice:has(input:checked){background:#f2f3f5;border-color:#d5d7dc}.resolution-choice:has(input:disabled){opacity:.58;cursor:not-allowed}.toast-region{position:fixed;left:50%;bottom:24px;z-index:100;max-width:calc(100vw - 32px);transform:translateX(-50%);pointer-events:none}.toast{display:flex;align-items:center;gap:9px;max-width:100%;padding:12px 17px;background:#fefafcf5;border:1px solid #e3e4e7;border-radius:13px;box-shadow:0 7px 22px #66748012;backdrop-filter:blur(14px);font-size:12px;color:#5f656f;line-height:1.6;animation:toast-in .3s var(--ease)}.toast span{min-width:0;overflow-wrap:anywhere}.toast svg{width:17px;height:17px;color:#6f7581}.toast.error{border-color:#dfc3cd;color:var(--error)}.toast.error svg{color:var(--error)}
@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialog-enter{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ambient-drift{from{transform:translate(0,0)}to{transform:translate(45px,-25px)}}
@keyframes mascot-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes tail-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(8deg)}}
@keyframes blush{0%,100%{opacity:.62}50%{opacity:.95}}
@keyframes halo-breathe{0%,100%{opacity:.8;transform:scale(.98)}50%{opacity:1;transform:scale(1.02)}}
@keyframes star-twinkle{0%,100%{opacity:.65;transform:scale(.92) rotate(-6deg)}50%{opacity:1;transform:scale(1.08) rotate(6deg)}}
@keyframes dot-pulse{0%,100%{opacity:.4}50%{opacity:1}}
@keyframes dot-hop{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes mail-sway{0%,100%{transform:rotate(0)}50%{transform:rotate(12deg)}}
@keyframes code-arrive{from{opacity:0;transform:translateY(6px);filter:brightness(1.2)}to{opacity:1;transform:translateY(0);filter:brightness(1)}}
@keyframes toast-in{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1450px){.admin-content{padding-inline:42px}.public-main{gap:88px}.public-shell{max-width:1180px}}
@media(max-width:1100px){.admin-content{padding:24px}.stats-grid{gap:10px}.stat-card{padding:16px 13px;min-height:117px}.stat-value{font-size:32px}.public-main{grid-template-columns:240px minmax(0,430px);gap:42px}.mascot-scene{width:240px}.public-shell{padding-inline:32px}.direct-resource-card{padding:20px}.direct-resource-grid{gap:16px}.direct-resource-heading{gap:7px}.direct-resource-heading h2{font-size:17px}.direct-resource-heading .kind-icon{width:35px;height:35px}.direct-resource-heading .status-badge{max-width:112px}}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{min-height:107px}.stat-card:nth-child(4),.stat-card:nth-child(5){min-height:98px}.settings-grid{gap:15px}.settings-panel{padding:19px}.settings-panel .field-grid{gap:12px}.direct-resource-card .order-actions .button{padding-inline:10px;font-size:11px}.direct-resource-card .resource-value.email{font-size:14px}.admin-content{padding-inline:21px}.public-main{gap:28px;grid-template-columns:200px minmax(0,420px)}.mascot-scene{width:200px}.public-shell{padding-inline:26px}.public-header .brand-name{font-size:22px}.exchange-card{padding:24px}}
@media(max-width:760px){.direct-resource-grid{grid-template-columns:1fr;max-width:620px}.direct-resource-card{padding:22px}.direct-resource-card .resource-value.email{font-size:16px}.direct-resource-empty{min-height:115px}.direct-resource-heading .status-badge{max-width:none}.public-main{grid-template-columns:minmax(0,1fr);align-content:center;gap:18px;max-width:460px;width:100%;margin:auto;padding:30px 0 37px}.public-aside{display:flex;align-items:center;justify-content:center;gap:23px;width:100%}.mascot-scene{width:118px;flex:none;margin:0}.steps{gap:18px}.step-number{width:29px;height:29px;border-radius:10px}.steps li{font-size:10px;gap:5px}.step-number svg{width:15px;height:15px}.steps li+li:before{top:14px;left:-14px;width:10px}.exchange-card{padding:25px}.public-main:has(.code-history) .mascot-scene{width:76px}.public-main:has(.code-history){padding-top:22px}.public-main:has(.code-history) .public-aside{gap:20px}.settings-panel .field-grid{grid-template-columns:1fr;gap:0}.settings-panel>.field-grid:last-child .field{margin-bottom:18px}.settings-panel>.field-grid:last-child .field:last-child{margin-bottom:0}}
@media(max-width:680px){.admin-shell{display:block}.sidebar{position:static;width:auto;height:auto;padding:17px 18px 0;display:flex;flex-direction:row;justify-content:space-between;gap:14px;border:0;background:none;backdrop-filter:none}.sidebar>.brand{width:auto;max-width:calc(100% - 148px);padding:0;flex-direction:row;gap:7px}.sidebar .brand-mark{width:30px;height:30px}.sidebar .brand-name{font-size:20px}.sidebar-footer{margin:0;padding:0;width:auto;flex-direction:row;gap:5px}.sidebar-footer .nav-item{width:auto;flex-direction:row;gap:5px;padding:7px 8px;font-size:10px;border-radius:9px;white-space:nowrap;background:#fafbfc;border-color:#eef0f1}.sidebar-footer .nav-item svg{width:14px;height:14px}.admin-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin:0;padding:9px 18px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #eaebed;background:#fefafbf5;backdrop-filter:blur(18px);box-shadow:0 -5px 24px #6c717a09}.admin-nav .nav-item{min-width:0;min-height:49px;padding:7px 5px;gap:4px;font-size:10px;border-radius:11px}.admin-nav .nav-item svg{width:19px;height:19px}.nav-item:hover{transform:none}.nav-item.active:after{display:none}.admin-content{padding:17px 18px calc(96px + env(safe-area-inset-bottom))}.admin-topbar{margin-bottom:22px;gap:8px;min-height:28px}.topbar-title{font-size:10px;gap:5px}.topbar-title svg{width:13px;height:13px}.admin-topbar .header-actions{gap:5px;flex-wrap:wrap}.admin-topbar .pill{font-size:9px;padding:5px 7px;min-height:25px}.admin-topbar .inventory-pill strong{font-size:11px}.admin-topbar .inventory-pill svg{width:12px;height:12px}.page-title{margin-bottom:18px;gap:12px}.page-title h1{font-size:26px}.page-title>.button{min-height:38px;padding:9px 12px;font-size:11px}.page-title>.button svg{width:17px;height:17px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:20px}.stat-card{padding:16px;min-height:113px}.stat-card:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:76px;padding-right:54px}.stat-card:first-child .stat-value{margin:0;font-size:32px}.stat-card:first-child .stat-decoration{bottom:23px;right:17px}.stat-card:first-child .stat-decoration svg{width:23px;height:23px}.stat-card:nth-child(4),.stat-card:nth-child(5){min-height:113px}.stat-value{font-size:32px;margin-top:13px}.stat-decoration{right:14px;bottom:17px}.stat-decoration svg{width:24px;height:24px}.panel-header{padding:16px 17px}.panel-header h2{font-size:14px}.panel-header .eyebrow{display:none}.panel{border-radius:16px}th,td{padding-inline:16px}.settings-grid{grid-template-columns:1fr;gap:15px}.settings-panel{padding:20px}.settings-panel.full{grid-column:auto}.settings-panel .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-panel>.field-grid:last-child .field{margin-bottom:0}.settings-bottom{position:sticky;bottom:calc(81px + env(safe-area-inset-bottom));padding:10px;margin-top:17px;border:1px solid #e9ebed;border-radius:13px;background:#fefafcf5;backdrop-filter:blur(12px);gap:9px;box-shadow:var(--shadow)}.settings-bottom .button{min-height:38px;padding:9px 13px;font-size:12px}.settings-bottom .error-text{flex-basis:100%;font-size:11px}.settings-bottom .error-text:empty{display:none}.saved-note{margin-right:auto;font-size:11px}.cdk-toolbar{gap:7px;padding:10px}.cdk-toolbar select{width:98px;font-size:11px}.search-field input{font-size:11px;padding-right:7px}.cdk-page .table-copy{width:32px;height:32px}.cdk-table .row-action{min-height:32px;padding-inline:5px}.pagination-buttons button{width:32px;height:32px}.pagination{padding:9px 11px}.direct-resource-grid{max-width:none}.direct-resource-card{padding:21px}.direct-resource-card .order-actions .button{padding-inline:12px;font-size:12px}.toast-region:has(.toast){bottom:24px}body:has(.admin-nav) .toast-region{bottom:calc(86px + env(safe-area-inset-bottom))}.public-shell{padding:20px 20px 16px}.public-header{gap:10px;flex-wrap:wrap}.public-header>.brand{max-width:calc(100% - 43px)}.public-header .brand-mark{width:33px;height:33px}.public-header .brand-name{font-size:22px}.public-header .header-actions{margin-left:auto;gap:6px;flex-wrap:wrap}.public-header .pill{font-size:9px;padding:5px 7px}.public-header .inventory-pill strong{font-size:11px}.public-header .icon-button{width:33px;height:33px;border-radius:10px}.public-header .icon-button svg{width:17px;height:17px}.login-shell{padding:22px}.login-card{padding:28px;margin-block:auto}.login-header .brand-name{font-size:22px}.login-header .brand-mark{width:32px;height:32px}.login-header>.button{padding-inline:10px;font-size:11px}.login-header>.brand{max-width:calc(100% - 114px)}dialog{padding:23px;max-height:calc(100dvh - 30px)}.dialog-header h2{font-size:22px}}
@media(max-width:390px){.public-shell{padding-inline:15px}.public-header .brand-name{font-size:20px}.public-header .pill-demo{display:none}.public-main{padding-top:23px;gap:15px}.public-aside{gap:14px}.mascot-scene{width:94px}.steps{gap:15px}.exchange-card{padding:21px;border-radius:21px}.card-top{gap:9px;margin-bottom:21px}.card-top h1{font-size:27px}.order-heading h1{font-size:21px}.order-heading{gap:8px}.kind-icon{width:35px;height:35px;border-radius:11px}.order-status{font-size:10px;max-width:94px}.resource-value{font-size:22px}.resource-value.email{font-size:14px}.resource-row{padding:12px}.code-box.with-history{padding-inline:14px}.code-entry .code-value{font-size:28px;letter-spacing:3px}.queue-preferences{padding:9px 10px;gap:7px}.queue-preference-label{gap:4px;font-size:10px}.queue-duration-control{gap:5px}.queue-duration-input{width:61px}.queue-save-button{padding-inline:6px}.queue-waiting{gap:16px;padding-inline:14px}.queue-orbit{width:37px;height:37px;border-radius:13px}.queue-waiting strong{font-size:13px}.queue-waiting>div>span{font-size:10px}.sidebar{padding-inline:14px;gap:7px}.sidebar>.brand{max-width:calc(100% - 140px)}.sidebar .brand-name{font-size:18px}.sidebar .brand-mark{width:27px;height:27px}.sidebar-footer .nav-item{padding:7px 6px;font-size:9px}.sidebar-footer .nav-item svg{width:13px;height:13px}.admin-content{padding-inline:14px}.admin-nav{padding-inline:12px;gap:6px}.topbar-title{font-size:9px}.admin-topbar{align-items:flex-start}.admin-topbar .header-actions{max-width:220px}.admin-topbar .pill{font-size:8px}.admin-topbar .inventory-pill svg{display:none}.settings-panel{padding:18px}.settings-panel .field-grid{gap:11px}.settings-panel input,.settings-panel select{font-size:12px;padding-inline:10px}.settings-panel label{font-size:11px}.direct-resource-card{padding:18px}.order-actions .button{font-size:11px;padding-inline:10px}.direct-resource-card .order-actions .button{font-size:11px;padding-inline:10px}.login-shell{padding:19px 16px}.login-card{padding:24px}.login-header .brand-name{font-size:19px}dialog{padding:20px}.dialog-actions{gap:7px}.dialog-actions .button{padding-inline:11px;font-size:11px}}
@media(max-width:340px){.public-header .header-actions{width:100%;justify-content:space-between}.public-header>.brand{max-width:100%}.public-aside .mascot-scene{width:77px}.public-aside{gap:12px}.public-main:has(.code-history) .mascot-scene{display:none}.exchange-card{padding:18px}.service-tag{padding:7px 10px;font-size:11px}.order-heading h1{font-size:19px}.order-status{max-width:84px;font-size:9px}.order-actions{gap:7px}.order-actions .button{padding-inline:8px;font-size:10px}.queue-preference-label svg{display:none}.settings-panel .field-grid,.dialog-form .field-grid{grid-template-columns:1fr;gap:0}.settings-panel>.field-grid:last-child .field{margin-bottom:18px}.settings-panel>.field-grid:last-child .field:last-child{margin-bottom:0}.sidebar .brand-name{font-size:16px}.sidebar .brand-mark{width:25px;height:25px}.sidebar>.brand{gap:5px}.stat-card{padding:15px 13px}.stat-label{font-size:10px}.direct-resource-heading .status-badge{max-width:105px;font-size:9px}.queue-duration-input{width:58px}.queue-duration-unit{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.animate-in,.code-entry-new,.code-new{opacity:1;transform:none}.button:hover:not(:disabled),.nav-item:hover,.stat-card:hover{transform:none}.mascot-float,.mascot-tail,.mascot-star,.mascot-halo{transform:none}}
