:root{--bg:#f4f6fa;--ink:#17233a;--muted:#8792a5;--line:#e4e9f1;--card:#fff;--blue:#216bea;--blue-soft:#eef4ff;--navy:#fff;--green:#249a64;--orange:#d98226;--red:#d55252}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer;color:inherit}.app-shell{max-width:430px;min-height:100vh;margin:0 auto;background:var(--bg);padding-bottom:70px}.topbar{height:56px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px}.brand{display:flex;gap:8px;align-items:center}.brand-mark{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#8bb4ff,#216bea);color:#fff;font-weight:800;font-size:14px}.brand strong{font-size:14px}.brand small{display:none}.icon-btn{background:#f0f3f8;color:#52627b;width:30px;height:30px;border-radius:9px}.page{padding:16px}.hero h1{font-size:22px;line-height:1.25;margin:3px 0 14px}.hero .eyebrow,.hero p{display:none}.eyebrow{color:var(--blue);font-weight:800;font-size:10px;letter-spacing:1px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px}.section-title h2{font-size:15px;margin:0}.section-title a,.link-btn{font-size:11px;color:var(--blue);background:none}.muted{color:var(--muted);font-size:10px}.balance{border:0;width:100%;text-align:left;background:linear-gradient(135deg,#235bc6,#3886ef);color:#fff;border-radius:14px;padding:14px 15px;display:flex;justify-content:space-between;align-items:end;margin:0 0 10px}.balance strong,.wallet-hero strong,.account-summary strong{font-size:24px;display:block;margin-top:4px}.balance small,.wallet-hero small,.account-summary small{color:#dce8ff;font-size:11px}.pill{background:#ffffff25;padding:6px 8px;border-radius:18px;font-size:10px;white-space:nowrap}.notice{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 10px;margin-bottom:13px}.notice>span{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#e4f6eb;color:var(--green);font-size:10px}.notice b,.notice small{display:block}.notice b{font-size:10px;margin-bottom:2px}.notice small{color:var(--muted);font-size:9px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:9px}.work-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;min-height:108px;position:relative}.work-card.primary{background:var(--blue-soft);border-color:#cfe0ff}.work-card .emoji{font-size:20px;color:var(--blue)}.work-card h3{font-size:13px;margin:8px 0 4px}.work-card p{color:var(--muted);font-size:10px;line-height:1.35;margin:0}.card-arrow{position:absolute;right:11px;bottom:10px;color:var(--blue);font-size:14px}.card{background:var(--card);border-radius:13px;border:1px solid var(--line);padding:13px;margin-bottom:10px}.intro-card h2{font-size:17px;margin:6px 0 4px}.steps{display:flex;align-items:center;gap:6px;margin:0 0 13px}.step{height:5px;border-radius:8px;background:#dde4ef;flex:1}.step.active{background:var(--blue)}.step-label{font-size:10px;color:var(--muted);margin-left:4px;white-space:nowrap}.label{font-size:11px;font-weight:750;margin:12px 0 6px;display:block}.input,.textarea,.select{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px;background:#fbfcfe;color:var(--ink);outline:none;font-size:12px}.input:focus,.textarea:focus,.select:focus{border-color:#8db4fa;box-shadow:0 0 0 3px #216bea12}.textarea{min-height:78px;resize:vertical;line-height:1.55}.small-textarea{min-height:58px}.btn{width:100%;padding:11px;border-radius:9px;background:var(--blue);color:#fff;font-weight:750;font-size:12px;margin-top:11px}.btn:hover{background:#1456ca}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.secondary{background:#edf3ff;color:var(--blue)}.text-btn{display:block;background:none;color:var(--muted);font-size:11px;margin:11px auto 0}.code-row{display:flex;gap:7px}.code-row .input{flex:1}.code-btn{width:100px;background:#edf3ff;color:var(--blue);border-radius:9px;font-size:11px}.code-btn:disabled{opacity:.55}.form-hint,.button-note,.upload-tip{color:var(--muted);font-size:9px;line-height:1.5}.form-hint{margin:6px 0 0}.button-note{text-align:center;margin:7px 0 0}.direction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.direction{border:1px solid var(--line);background:#fafcff;border-radius:8px;color:var(--muted);font-size:11px;padding:8px 4px}.direction.active{background:var(--blue-soft);color:var(--blue);border-color:#9ebeff;font-weight:700}.asset-box{height:92px;position:relative;border:1.5px dashed #cbd6e5;border-radius:10px;display:grid;place-items:center;text-align:center;overflow:hidden;background:#fcfdff}.asset-box input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:2}.asset-copy{display:flex;flex-direction:column;gap:3px;align-items:center;color:var(--muted);padding:8px}.asset-copy b{font-size:11px;color:var(--ink)}.asset-copy small{font-size:9px}.upload-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:var(--blue-soft);color:var(--blue);font-size:15px}.asset-box>img{width:100%;height:100%;object-fit:cover}.asset-box.has-image{border-style:solid;border-color:#9ebeff}.asset-box.has-image .asset-copy{display:none}.remove-asset{position:absolute;z-index:3;top:6px;right:6px;border-radius:50%;width:22px;height:22px;background:#17233acc;color:#fff;font-size:15px;line-height:19px}.upload-tip{margin:5px 0 2px}.match-guide{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;margin:10px 0}.guide-head,.guide-row{display:grid;grid-template-columns:62px 1fr 1fr;gap:6px;align-items:center}.guide-head{display:flex;justify-content:space-between;margin-bottom:5px;font-size:10px}.guide-head span{color:var(--blue);font-size:9px}.guide-row{font-size:9px;padding:6px 0;border-top:1px solid var(--line)}.guide-row span{font-weight:750}.guide-row b{font-weight:600;color:#46546b}.guide-row em{font-style:normal;color:var(--red)}.angle-result{padding:11px}.result-status{display:flex;gap:8px;align-items:center;background:#eff9f3;border:1px solid #d5efdf;border-radius:10px;padding:9px}.result-status.warning{background:#fff7ec;border-color:#f1dfbf}.result-status>span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#bde5cd;color:#187648;font-weight:800}.result-status.warning>span{background:#f7d9ab;color:#9a5a12}.result-status b,.result-status small{display:block}.result-status b{font-size:11px}.result-status small{font-size:9px;color:var(--muted);margin-top:2px}.result-image{height:220px;margin:10px 0;border-radius:10px;background:linear-gradient(140deg,#d9e5ff,#f3ded3);overflow:hidden;position:relative;display:grid;place-items:center}.result-image img{width:100%;height:100%;object-fit:cover}.scan-line{position:absolute;left:0;right:0;top:43%;height:1px;background:#fff9;box-shadow:0 0 9px #fff;animation:scan 2.2s ease-in-out infinite alternate}@keyframes scan{to{top:70%}}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;color:#557267;font-size:10px}.linked-card h3{font-size:13px;margin:5px 0 9px}.linked-images{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}.linked-images>div{height:92px;position:relative;overflow:hidden;border-radius:9px;background:#eef4ff;display:grid;place-items:center;color:var(--muted)}.linked-images img{width:100%;height:100%;object-fit:cover}.linked-images small{position:absolute;bottom:0;left:0;right:0;padding:4px 6px;color:#fff;background:#11131bcc;font-size:9px}.card-title-row{display:flex;align-items:center;justify-content:space-between}.card-title-row h3{margin:0;font-size:13px}.ref-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.ref-grid label{display:block;font-size:10px;margin-bottom:4px;color:var(--muted)}.ref-grid .asset-box{height:73px}.ref-grid .asset-copy b{font-size:9px}.ref-grid .asset-copy small{display:none}.template-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.template-row button{padding:6px 8px;border-radius:7px;background:#edf3ff;color:var(--blue);font-size:10px}.keep-chip{font-size:9px;color:#557267;background:#eff8f3;border-radius:8px;padding:6px 7px;margin-top:7px}.segmented{display:flex;background:#eef1f6;border-radius:8px;padding:3px;gap:3px}.segmented button{flex:1;border-radius:6px;padding:7px;background:transparent;color:var(--muted);font-size:10px}.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #2221}.quantity{display:flex;align-items:center;justify-content:center;gap:18px;background:#fbfcfe;border:1px solid var(--line);border-radius:8px;padding:6px}.quantity button{width:28px;height:28px;border-radius:8px;background:var(--blue-soft);color:var(--blue);font-size:17px}.quantity strong{min-width:42px;text-align:center;font-size:12px}.job-hint{display:flex;gap:8px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 10px;margin-bottom:10px}.job-hint>span{color:var(--blue);font-size:16px}.job-hint b,.job-hint small{display:block}.job-hint b{font-size:10px}.job-hint small{font-size:9px;color:var(--muted);margin-top:2px}.job-list{padding:2px 12px}.job{width:100%;display:flex;gap:8px;align-items:center;background:none;padding:10px 0;border-bottom:1px solid var(--line);text-align:left}.job:last-child{border-bottom:0}.thumb{width:42px;height:42px;border-radius:9px;background:linear-gradient(135deg,#d8e5ff,#f5d9cb);display:grid;place-items:center;font-size:17px;overflow:hidden;flex:none}.thumb img{width:100%;height:100%;object-fit:cover}.job-main{min-width:0;flex:1}.job h3{font-size:11px;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job p{margin:0;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{margin-left:auto;font-size:9px;color:var(--orange);white-space:nowrap}.status.success{color:var(--green)}.status.failed{color:var(--red)}.progress{height:4px;background:#e9edf4;border-radius:8px;overflow:hidden;margin-top:5px}.progress i{display:block;height:100%;background:var(--blue);border-radius:8px}.detail-card{padding:13px}.detail-head{display:flex;align-items:center;gap:8px}.detail-head>div{flex:1}.detail-head b,.detail-head small{display:block}.detail-head b{font-size:12px}.detail-head small{font-size:9px;color:var(--muted);margin-top:3px}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px #fdf0e3}.status-dot.success{background:var(--green);box-shadow:0 0 0 4px #e3f5eb}.detail-progress{margin:17px 0}.detail-progress>div:first-child{display:flex;justify-content:space-between;font-size:10px;margin-bottom:5px}.detail-progress b{color:var(--blue)}.progress.big{height:7px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f7f9fc;border-radius:9px;padding:9px;margin-bottom:11px}.detail-grid span{font-size:9px;color:var(--muted)}.detail-grid strong{display:block;color:var(--ink);font-size:9px;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.waiting-box,.error-box{padding:9px;border-radius:9px;font-size:10px;color:var(--muted);background:#f4f6fa}.error-box{color:var(--red);background:#fff1f1}.works-grid{align-items:start}.work-item{padding:6px;text-align:left;min-height:0}.work-item h3{font-size:11px;margin:7px 3px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-item p{font-size:9px;margin:0 3px 3px}.work-image{height:135px;border-radius:9px;overflow:hidden;background:linear-gradient(140deg,#d9e5ff,#f3ded3);position:relative;display:grid;place-items:center}.work-image img{width:100%;height:100%;object-fit:cover}.work-badge{position:absolute;top:6px;right:6px;background:#11131bbd;color:#fff;border-radius:6px;padding:3px 5px;font-size:9px}.preview-card h3{font-size:14px;margin:11px 0 4px}.full-preview{height:300px;border-radius:10px;overflow:hidden;background:linear-gradient(140deg,#d9e5ff,#f3ded3);display:grid;place-items:center}.full-preview img{width:100%;height:100%;object-fit:contain}.action-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.action-row .btn{font-size:10px}.danger-btn{display:block;margin:11px auto 2px;background:none;color:var(--red);font-size:10px}.account-summary{background:linear-gradient(135deg,#235bc6,#3886ef);color:#fff;border-radius:13px;padding:13px 14px;display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}.account-summary .btn{width:auto;margin:0;background:#ffffff25;color:#fff;padding:8px 10px;font-size:10px}.profile{display:flex;align-items:center;gap:9px}.avatar{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#ffcda2,#c7c4ff);display:grid;place-items:center;font-size:16px;font-weight:800}.profile>div:nth-child(2){flex:1}.profile b{font-size:12px}.profile .muted{font-size:10px}.verified{font-size:9px;color:var(--green);background:#e8f7ef;border-radius:7px;padding:4px 5px}.row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;background:none;text-align:left}.row:last-child{border:0}.wallet-hero{background:linear-gradient(135deg,#235bc6,#3886ef);color:#fff;border-radius:13px;padding:14px;margin-bottom:10px}.wallet-hero strong{font-size:25px;margin:4px 0 11px}.refresh-btn{background:#ffffff25;color:#fff;border-radius:8px;padding:7px 9px;font-size:10px}.recharge-card h3{font-size:14px;margin:6px 0 3px}.recharge-code{display:flex;align-items:center;justify-content:space-between;background:var(--blue-soft);border:1px solid #d2e1ff;border-radius:8px;padding:8px 9px;margin:10px 0}.recharge-code code{font-size:11px;letter-spacing:.7px;color:#245ab8}.recharge-code button{background:var(--blue);color:#fff;padding:6px 8px;border-radius:7px;font-size:10px}.wallet-steps{display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.wallet-steps span{display:flex;align-items:center;gap:4px}.wallet-steps b{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--blue-soft);color:var(--blue)}.ledger{padding:3px 12px}.ledger-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.ledger-row:last-child{border-bottom:0}.ledger-row b,.ledger-row small{display:block}.ledger-row b{font-size:10px}.ledger-row small{color:var(--muted);font-size:9px;margin-top:2px}.ledger-row strong{font-size:11px;color:var(--red)}.ledger-row strong.plus{color:var(--green)}.faq-card h3{font-size:14px;margin:6px 0}.faq-row{display:grid;grid-template-columns:1fr auto;gap:3px;width:100%;padding:11px 0;border-bottom:1px solid var(--line);background:none;text-align:left;font-size:11px}.faq-row:last-child{border-bottom:0}.faq-row>b{color:var(--blue);font-size:15px;line-height:13px}.faq-row small{grid-column:1/-1;display:none;color:var(--muted);font-size:10px;line-height:1.6;padding-top:5px}.faq-row.open small{display:block}.faq-row.open>b{transform:rotate(45deg)}.empty{text-align:center;color:var(--muted);padding:42px 20px;font-size:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);height:62px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:5;padding-top:6px}.bottom-nav button{background:none;color:#99a3b4;font-size:9px;display:flex;flex-direction:column;gap:2px;align-items:center}.bottom-nav button span{font-size:18px;line-height:18px}.bottom-nav button.active{color:var(--blue);font-weight:700}.auth-screen .app-shell{max-width:430px;background:var(--bg);padding:0}.auth-page{min-height:100vh;color:var(--ink);padding:28px 16px 18px;background:var(--bg)}.auth-brand{display:flex;gap:8px;align-items:center;padding:0 2px}.auth-brand strong{font-size:14px}.auth-brand small{display:none}.auth-hero{padding:35px 2px 15px}.auth-hero .eyebrow{font-size:10px}.auth-hero h1{font-size:23px;line-height:1.25;margin:7px 0}.auth-hero p{font-size:11px;color:var(--muted);line-height:1.5}.auth-card{background:#fff;border-radius:14px;color:var(--ink);padding:12px 13px 14px;box-shadow:0 3px 14px #2c3b5c0c}.auth-tabs{display:flex;gap:5px;background:#eef1f6;border-radius:8px;padding:3px;margin-bottom:5px}.auth-tabs button{flex:1;border-radius:6px;background:none;padding:7px;color:var(--muted);font-size:11px}.auth-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 6px #2221;font-weight:700}.auth-card .label{margin-top:10px}.auth-card .btn{margin-top:13px}.demo-entry{display:flex;justify-content:space-between;align-items:center;width:100%;background:#fff;border:1px solid var(--line);color:var(--blue);border-radius:10px;margin-top:9px;padding:10px 12px;font-size:11px}.demo-entry span{font-size:17px}.auth-foot{text-align:center;color:#8b96a8;font-size:9px;margin:11px 0 0;line-height:1.5}@media(max-width:380px){.page{padding-left:14px;padding-right:14px}.direction-grid{grid-template-columns:repeat(2,1fr)}.guide-row{grid-template-columns:55px 1fr 1fr}}
#modalRoot:empty{display:none}.modal-backdrop{position:fixed;inset:0;background:#14203966;z-index:20;display:flex;align-items:flex-end;justify-content:center}.modal{width:min(430px,100%);background:#fff;border-radius:17px 17px 0 0;padding:16px;box-shadow:0 -8px 30px #1420392a;max-height:90vh;overflow:auto}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.modal-head h3{font-size:16px;margin:0}.modal-close{background:#f0f3f8;color:#61708a;width:27px;height:27px;border-radius:8px}.modal-note{font-size:11px;color:var(--muted);margin:0 0 10px;line-height:1.5}.modal .label{margin-top:10px}.modal-error{color:var(--red);font-size:10px;margin-top:6px}.auth-error{color:var(--red);font-size:10px;margin-top:6px}
.guest-head{display:flex;align-items:center;justify-content:space-between;margin:3px 0 17px}.guest-head h1{font-size:22px;margin:0}.guest-login{padding:8px 10px;border-radius:8px;background:var(--blue-soft);color:var(--blue);font-size:11px}.guest-card{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:10px}.guest-card b{font-size:14px}.guest-card p{font-size:10px;color:var(--muted);margin:6px 0 0}.guest-card>span{color:var(--blue);font-size:22px}.guest-login-note{text-align:center;color:var(--muted);font-size:11px;margin-top:22px}
.demo-exit{display:block;margin:0 0 9px auto;background:none;color:var(--blue);font-size:11px;padding:2px 0}
