:root{--bg0: #0a0a0c;--bg1: #111114;--bg2: #18181d;--bg3: #202027;--border: #26262e;--border-strong: #34343f;--text: #ededf2;--text-dim: #9b9ba8;--text-faint: #62626e;--gold: #d9a943;--gold-soft: rgba(217, 169, 67, .14);--green: #4ade80;--red: #f87171;--red-soft: rgba(248, 113, 113, .1);--radius: 14px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{color-scheme:dark;height:100%}body{background:var(--bg0);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;overscroll-behavior:none}#root{min-height:100dvh}.screen{min-height:100dvh;padding:calc(env(safe-area-inset-top) + 20px) calc(env(safe-area-inset-right) + 20px) calc(env(safe-area-inset-bottom) + 20px) calc(env(safe-area-inset-left) + 20px);display:flex;flex-direction:column}.center{align-items:center;justify-content:center;text-align:center}h1{font-size:22px;font-weight:700;letter-spacing:-.01em}.muted{color:var(--text-dim)}.small{font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 22px;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--bg2);color:var(--text);font-size:16px;font-weight:600;cursor:pointer;transition:transform .06s ease,background .15s ease,opacity .15s ease}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:default}.btn-primary{background:var(--gold);color:#1a1408;border-color:transparent}.btn-ghost{background:transparent}.btn-lg{width:100%;min-height:58px;font-size:17px;margin-top:8px}.linkish{margin-top:28px;background:none;border:none;color:var(--text-faint);font-size:14px;cursor:pointer;padding:8px 12px}.card{width:100%;max-width:460px;background:var(--bg1);border:1px solid var(--border);border-radius:20px;padding:26px;box-shadow:0 12px 40px #00000080}.enroll{text-align:left}.enroll-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}.enroll-head h1{margin-bottom:4px}.enroll-head p{font-size:14px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.field>span{font-size:13px;font-weight:600;color:var(--text-dim)}.field input{height:52px;padding:0 14px;background:var(--bg0);border:1px solid var(--border-strong);border-radius:12px;color:var(--text);font-size:17px;width:100%}.field input:focus{outline:none;border-color:var(--gold)}.field-row{display:flex;gap:12px}.field-row .field{flex:1}.hint{color:var(--text-faint);font-size:13px;margin:-6px 0 12px}.error-box{background:var(--red-soft);border:1px solid rgba(248,113,113,.3);color:var(--red);border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:14px}.splash{display:flex;flex-direction:column;align-items:center}.spinner{width:30px;height:30px;border-radius:50%;border:3px solid var(--border-strong);border-top-color:var(--gold);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.lock-name{font-size:20px;font-weight:700;margin-top:14px}.dots{display:flex;gap:14px;height:16px;margin-bottom:34px}.dots.shake{animation:shake .45s}.dot{width:14px;height:14px;border-radius:50%;border:2px solid var(--border-strong);background:transparent;transition:background .12s ease,border-color .12s ease}.dot.on{background:var(--gold);border-color:var(--gold)}@keyframes shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-8px)}40%,80%{transform:translate(8px)}}.keypad{display:grid;grid-template-columns:repeat(3,78px);gap:18px;justify-content:center}.key{width:78px;height:78px;border-radius:50%;background:var(--bg2);border:1px solid var(--border);color:var(--text);font-size:30px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .06s ease,background .12s ease}.key:active{transform:scale(.92);background:var(--bg3)}.key:disabled{opacity:.35}.key-ghost{background:transparent;border-color:transparent;font-size:26px}.key-go{background:var(--gold);color:#1a1408;border-color:transparent;font-size:30px}.sell{padding-top:calc(env(safe-area-inset-top) + 10px);padding-bottom:calc(env(safe-area-inset-bottom) + 10px)}.sell-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--border)}.sell-head h1{font-size:18px}.brand-min{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;color:var(--gold)}.brand-min span{color:var(--text)}.btn.sm{min-height:42px;padding:0 14px;font-size:14px}.sell-body{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.sell-body.center{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.sell-foot{padding-top:12px;margin-top:12px;border-top:1px solid var(--border)}.sell-foot.col{display:flex;flex-direction:column;gap:12px}.btn-block{width:100%;min-height:56px;font-size:17px}.btn-lg2{min-height:58px;padding:0 26px;font-size:17px}.empty .empty-ico{width:76px;height:76px;border-radius:50%;background:var(--bg2);color:var(--text-faint);display:flex;align-items:center;justify-content:center;margin-bottom:18px}.empty h2{font-size:20px;margin-bottom:6px}.empty p{max-width:300px;margin-bottom:22px}.line{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid var(--border);cursor:pointer}.line.static{cursor:default}.line-thumb{width:52px;height:52px;flex:0 0 auto;border-radius:10px;overflow:hidden;background:var(--bg2);color:var(--text-faint);display:flex;align-items:center;justify-content:center}.line-thumb img{width:100%;height:100%;object-fit:cover}.line-main{flex:1;min-width:0}.line-desc{font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-sub{font-size:13px;margin-top:2px}.line-total-amt{font-weight:700;font-size:15px;white-space:nowrap}.icon-btn{width:40px;height:40px;flex:0 0 auto;border:none;border-radius:10px;background:transparent;color:var(--text-dim);display:flex;align-items:center;justify-content:center;cursor:pointer}.icon-btn:active{background:var(--bg2)}.icon-btn.danger{color:var(--red)}.total-row{display:flex;align-items:flex-end;justify-content:space-between}.total-row .grand{font-size:26px;font-weight:800;color:var(--gold)}.sm{font-size:13px}.xs{font-size:11px}.foot-actions{display:flex;gap:12px}.foot-actions .btn{flex:1}.foot-actions .btn-primary{flex:1.5}.two-col{display:flex;gap:12px}.two-col .field{flex:1}.photo-empty{width:100%;height:190px;margin-bottom:18px;cursor:pointer;border:2px dashed var(--border-strong);border-radius:16px;background:var(--bg1);color:var(--text-dim);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:600}.photo-empty:active{background:var(--bg2)}.photo-empty:disabled{opacity:.6}.photo-box{position:relative;width:100%;margin-bottom:18px;border-radius:16px;overflow:hidden;background:var(--bg2);cursor:pointer}.photo-box img{display:block;width:100%;max-height:300px;object-fit:cover}.photo-retake{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;background:#0a0a0cc7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--text);border:1px solid var(--border-strong);border-radius:99px;padding:8px 14px;font-size:14px;font-weight:600}.stepper{display:flex;align-items:center;gap:8px}.stepper button{width:48px;height:52px;flex:0 0 auto;border:1px solid var(--border-strong);border-radius:12px;background:var(--bg2);color:var(--text);font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center}.stepper button:active{background:var(--bg3)}.stepper input{flex:1;width:100%;height:52px;text-align:center;background:var(--bg0);border:1px solid var(--border-strong);border-radius:12px;color:var(--text);font-size:18px;font-weight:600}.price-input{position:relative}.price-input input{width:100%;height:52px;padding:0 44px 0 14px;background:var(--bg0);border:1px solid var(--border-strong);border-radius:12px;color:var(--text);font-size:18px;font-weight:600}.price-input .suffix{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--text-dim);font-size:15px}.stepper input:focus,.price-input input:focus{outline:none;border-color:var(--gold)}.line-total{display:flex;align-items:center;justify-content:space-between;margin-top:4px;padding:14px 16px;background:var(--bg1);border:1px solid var(--border);border-radius:14px}.line-total strong{font-size:20px;color:var(--gold)}.dph-note{margin-top:6px;text-align:right;font-size:11px;color:var(--text-faint)}.btn-danger-ghost{width:100%;margin-top:18px;background:transparent;border:1px solid rgba(248,113,113,.26);color:var(--red)}.summary-total{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:18px 2px 4px;border-top:2px solid var(--border-strong);font-size:17px}.summary-total strong{font-size:24px;color:var(--gold)}.pay-instr{color:var(--text-dim);font-size:15px;margin:6px 0 20px}.pay-figures{display:flex;flex-direction:column;gap:14px}.pay-box{display:flex;flex-direction:column;gap:6px;padding:18px 20px;background:var(--bg1);border:1px solid var(--border);border-radius:16px}.pay-label{font-size:13px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em}.pay-amount{font-size:40px;font-weight:800;color:var(--gold);line-height:1.1}.pay-vs{font-size:34px;font-weight:800;letter-spacing:.06em;font-variant-numeric:tabular-nums}.pay-receipt{margin-top:2px}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(env(safe-area-inset-bottom) + 96px);z-index:1000;max-width:90vw;display:flex;align-items:center;gap:14px;background:var(--bg3);color:var(--text);border:1px solid var(--border-strong);border-radius:99px;padding:12px 18px;font-size:15px;font-weight:600;box-shadow:0 8px 30px #00000080}.toast button{background:none;border:none;color:var(--gold);font-size:15px;font-weight:700;cursor:pointer}.photo-uploading{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:8px;background:#0a0a0ccc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--text);border:1px solid var(--border-strong);border-radius:99px;padding:8px 14px;font-size:14px;font-weight:600}.spinner.sm{display:inline-block;width:16px;height:16px;border-width:2px;vertical-align:middle}.saved-badge{width:84px;height:84px;border-radius:50%;background:var(--green-soft, rgba(74, 222, 128, .12));color:var(--green);display:flex;align-items:center;justify-content:center;margin-bottom:20px}.saved-total{margin-top:14px;font-size:34px;font-weight:800;color:var(--gold)}
