:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#24374e;background:#e5e7ec;font-synthesis:none;--primary:#7978f6;--blue:#5c7aff;--muted:#939baa;--line:#f1f2f5}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}input,textarea{min-width:0;outline:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #6980ff;outline-offset:3px}button,input{min-height:36px}button .icon{pointer-events:none}img{object-fit:contain}.phone{position:relative;max-width:414px;min-height:100dvh;margin:auto;background:#f6f7f9;overflow:clip;box-shadow:0 0 50px #29375a12}.header{height:43px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:center;background:#e9ecff;color:#183b64;font-size:18px;line-height:1}.header.home-header{background:#5877c6;color:#fff}.header.detail-header{background:#5b79fb;color:#fff}.header .back{position:absolute;left:7px;top:3px;width:39px;height:37px;display:flex;align-items:center;justify-content:center}.back img{transform:rotate(180deg);width:21px;height:21px}.capsule{position:absolute;right:8px;top:6px;width:119px;height:31px;display:flex;align-items:center;justify-content:space-evenly;border:1px solid #d9dce5;border-radius:20px;background:#ffffffa8;color:#25282f;font-size:20px;pointer-events:none}.capsule span+span{border-left:1px solid #bfc4ce;padding-left:11px}.capsule .dots{font-size:18px;letter-spacing:1px}.header.home-header .capsule,.header.detail-header .capsule{background:#ffffffb3}.header .header-title{max-width:50%;white-space:nowrap}.demo-banner{padding:6px;text-align:center;font-size:11px;letter-spacing:1px;color:#8186a6;background:#eef0ff}.demo-banner[hidden]{display:none}main{padding-bottom:24px;min-height:calc(100dvh - 43px)}.with-tabs main{padding-bottom:95px}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.bottom-nav{position:fixed;bottom:0;z-index:25;left:50%;transform:translateX(-50%);width:min(100%,414px);height:74px;padding-bottom:env(safe-area-inset-bottom);display:flex;background:#f8f8ffeb;backdrop-filter:blur(10px);border-top:1px solid #f0f0f8}.bottom-nav[hidden]{display:none}.tab{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#34404b;font-size:11px}.tab .icon{width:27px;height:27px}.tab.active{color:#ec9a68}.home-view{padding:20px 16px;background:#f0f2ff;min-height:calc(100dvh - 43px)}.search{height:45px;padding:0 19px;border-radius:26px;background:#fff;display:flex;align-items:center;gap:10px}.search .icon{width:17px;height:17px;opacity:.65}.search input{width:100%;border:0;font-size:13px;background:transparent;color:#59677e}.search input::placeholder{color:#a1a8b8}.sort-tabs{display:flex;justify-content:space-around;height:57px;margin:16px 0 21px;background:#ffffffeb;border-radius:22px;align-items:center}.sort-tabs button{padding:0 8px;font-size:14px;color:#929aaf;position:relative}.sort-tabs button.active{font-size:16px;color:#8482fa;font-weight:700}.sort-tabs button.active:after{content:"";position:absolute;width:24px;height:4px;border-radius:5px;bottom:-5px;left:calc(50% - 12px);background:#8784fa}.task-card{border-radius:25px;background:#fff;margin-bottom:16px;overflow:hidden;box-shadow:0 7px 22px #7d83d005}.task-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:73px;padding:20px 21px 16px}.task-name{font-size:16px;font-weight:650;line-height:1.45;flex:1;color:#203247}.task-title{margin-left:7px}.badge{font-size:12px;line-height:21px;display:inline-flex;align-items:center;justify-content:center;min-width:37px;padding:0 6px;border-radius:7px;background:#8581f6;color:#fff;box-shadow:0 3px 8px #8380f44a;vertical-align:2px;font-weight:500}.badge.hot{background:#ee897d;box-shadow:0 3px 8px #ee897d30}.price{color:#ff6c61;font-size:21px;font-weight:700;white-space:nowrap;line-height:1.3}.task-bottom{display:flex;align-items:center;padding:14px 21px 17px;border-top:1px dashed #edf0f6;background:#fcfdff}.stat{display:flex;flex-direction:column;min-width:69px;font-size:17px;font-weight:600;gap:3px}.stat:first-child{color:#ff756c}.stat+.stat{border-left:1px solid #e7eaf5;padding-left:20px;min-width:94px}.stat small{font-size:11px;color:#9aa4b5;font-weight:400}.participate{margin-left:auto;min-height:33px;padding:6px 24px;border-radius:24px;background:linear-gradient(100deg,#7978f5,#959cfb);color:#fff;font-size:13px;font-weight:600;box-shadow:0 5px 12px #8284ed45}.end{color:#b1b8ca;font-size:13px;text-align:center;margin:44px 0 16px}.empty{padding:56px 20px;color:#aaa;font-size:14px;text-align:center}.loading{color:#a1a7b9;padding:40px 20px;text-align:center;font-size:14px}.error-panel{text-align:center;padding:45px 24px;color:#9a7280;font-size:14px}.error-panel button{display:block;margin:20px auto 0}.link{color:#7e7afa}.primary{background:linear-gradient(100deg,#7474f5,#979efa);border-radius:25px;min-height:48px;color:#fff;box-shadow:0 5px 12px #8584ea2b;width:100%;font-size:16px}.primary.blue{background:#5c7dff;box-shadow:none}.secondary{padding:8px 20px;border-radius:22px;color:#7879ef;background:#f0f1ff}.danger{color:#f1675c}.detail-view{padding:12px 11px 110px;background:#fbfbfc}.detail-summary{background:#fff;border-radius:10px;padding:18px 16px}.detail-meta{display:flex;align-items:center;gap:8px}.detail-meta .price{margin-left:auto}.detail-meta .badge{background:#f36e61;box-shadow:none;border-radius:10px}.stars{color:#f6b23d;font-size:15px;letter-spacing:2px}.detail-summary h1{font-size:20px;color:#172b3e;margin:10px 0 7px;line-height:1.5}.category{display:inline-block;padding:3px 11px;border-radius:20px;background:#fff8e7;color:#e7aa38;font-size:12px}.task-code{color:#919aa7;margin-top:16px;font-size:13px}.remaining{display:inline-block;margin-top:9px;background:#f36c60;color:#fff;border-radius:3px;padding:3px 7px;font-size:13px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-top:1px solid #eee;margin-top:13px;padding-top:14px;text-align:center}.metric strong{display:block;color:#7377ff;font-size:15px}.metric span{display:block;margin-top:6px;color:#9ca2ac;font-size:12px}.section{background:#fff;border-radius:11px;padding:16px;margin-top:13px}.section h2{font-size:17px;margin:0 0 9px;color:#183047;font-weight:600;display:flex;align-items:center;justify-content:space-between}.section p,.section li{font-size:14px;line-height:1.7;color:#657181;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.section ul{margin:0;padding-left:11px}.section li::marker{color:#687dff}.copy{font-size:12px;color:#6b80ff;background:#f0f4ff;min-height:25px;border-radius:20px;padding:3px 11px;font-weight:400}.detail-action{position:fixed;width:min(100%,414px);left:50%;transform:translateX(-50%);bottom:0;background:#fff;display:flex;align-items:center;gap:20px;padding:13px 16px max(13px,env(safe-area-inset-bottom));z-index:25}.detail-action .change{white-space:nowrap;font-size:13px;color:#777}.detail-action .change .icon{width:13px;height:13px;margin-right:5px}.detail-action .primary{min-height:45px}.profile-hero{height:136px;display:flex;gap:20px;align-items:center;padding:18px 25px 30px;background:linear-gradient(120deg,#eef0ff,#e4e7fc);margin-bottom:-18px}.avatar{width:77px;height:77px;border-radius:50%;border:3px solid #fff;background:#f5f5ff;box-shadow:0 5px 15px #a3a8d62b;object-fit:cover}.profile-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.profile-name strong{font-size:22px}.id-pill{background:#dedffe;border:1px solid #caceff;color:#7b7aff;border-radius:20px;padding:4px 10px;font-size:12px}.phone-pill{background:#fff;border-radius:20px;font-size:11px;letter-spacing:1.2px;padding:6px 12px;color:#7b7bff;display:inline-flex;gap:7px;align-items:center}.phone-pill .icon{width:13px;height:13px}.menu{margin:0 16px 18px;position:relative;background:#fff;border-radius:19px;padding:0 17px;box-shadow:0 8px 20px #888b9f03}.menu-row{min-height:60px;display:flex;align-items:center;gap:14px;width:100%;font-size:15px;border-bottom:1px solid #f6f6f6;padding:11px 9px;text-align:left}.menu-row:last-child{border-bottom:0}.menu-row .right{margin-left:auto;font-size:14px;color:#7777ff;font-weight:650}.chevron{width:15px;height:15px;opacity:.4;margin-left:auto}.right+.chevron{margin-left:0}.orders-shortcut{margin:0 16px 12px;border-radius:15px;background:#fff;padding:0 17px}.login-view{min-height:calc(100dvh - 43px);padding:13px 30px 90px;background:linear-gradient(#ececf7,#f7f7f8 45%);position:relative}.login-view h1{font-size:29px;letter-spacing:1px;margin:0 0 6px}.login-view .subtitle{font-size:14px;color:#8b9ab1;margin:0}.brand-box{width:150px;height:150px;border-radius:31px;background:#fff;display:flex;align-items:center;justify-content:center;margin:40px auto 59px;box-shadow:0 15px 35px #a5a9d023;overflow:hidden}.brand-box img{width:120px;height:120px;object-fit:contain}.login-button{width:100%;min-height:48px;border-radius:28px;background:#55b15e;color:#fff;font-weight:650;font-size:18px;box-shadow:0 8px 18px #55b15e25;display:flex;align-items:center;justify-content:center;gap:8px}.login-button .icon{width:18px;height:18px;filter:brightness(0) invert(1)}.divider{text-align:center;font-size:12px;color:#a8b2c3;display:flex;align-items:center;gap:13px;justify-content:center;margin:29px auto 19px}.divider:before,.divider:after{content:"";width:60px;height:1px;background:#dde0e8}.guest{display:block;background:#fff;border:1px solid #e5e8f2;color:#8996ad;border-radius:28px;width:122px;margin:0 auto;font-size:14px;min-height:42px;box-shadow:0 3px 10px #b5bfdd10}.demo-login{display:block;margin:13px auto 0;color:#7b7be7;font-size:13px}.agreement-consent{position:absolute;bottom:50px;left:30px;right:30px;display:flex;align-items:flex-start;gap:6px;font-size:12px;color:#9ba6ba;line-height:22px;justify-content:center}.agreement-consent input{min-height:auto;accent-color:#7b7af6;margin:4px 1px 0 0;width:17px;height:17px;flex-shrink:0}.agreement-consent a{color:#7378ff}.content-pad{padding:16px}.authorization-card{border-radius:18px;background:#fff;padding:29px 24px 32px;box-shadow:0 6px 15px #25345505;text-align:center}.authorization-card h2{font-size:19px;margin:3px 0 31px}.authorization-card p{color:#9aa1ae;font-size:13px;margin-bottom:17px}.auth-code-form{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 21px;background:#f6f7f9;border-radius:12px}.auth-code-form input{border:0;background:none;width:100%;font-size:14px;color:#637188}.auth-code-form button{background:#7977f2;color:#fff;border-radius:24px;min-width:76px;font-size:13px;min-height:40px}.info-card{margin-top:24px;background:#fff;padding:0 16px;border-radius:20px}.info-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f5f5f5;min-height:57px;padding:10px 8px;font-size:14px;gap:20px}.info-row:last-child{border:0}.info-row input{width:65%;border:0;text-align:right;color:#6d7787;background:none;font-size:14px}.info-row .avatar{width:59px;height:59px;border:0}.info-row.avatar-row{min-height:99px}.info-row .value{color:#667284}.save-button{margin-top:40px}.wallet-card{background:linear-gradient(110deg,#7977ef,#969cf9);border-radius:17px;color:#fff;padding:34px 27px 28px;text-align:center;position:relative;box-shadow:0 10px 17px #8585ed2b;min-height:140px}.wallet-card p{font-size:13px;margin:0 0 14px}.wallet-card strong{font-size:39px;letter-spacing:-1px}.withdraw{position:absolute;right:24px;top:32px;border:1px solid #ffffff7a;border-radius:20px;padding:4px 16px;font-size:13px;background:#ffffff18;min-height:32px}.wallet-rules{margin-top:16px;background:#fff;padding:17px 16px;border-radius:13px}.wallet-rules h2{font-size:15px;margin:0 0 13px}.wallet-rules p{font-size:13px;line-height:1.7;color:#617189;margin:0}.ledger-title{margin:16px 0;background:#f0f0ff;border:4px solid #fff;border-radius:12px;text-align:center;font-size:14px;color:#7477fe;padding:13px}.ledger-list{background:#fff;border-radius:14px;min-height:131px}.ledger-list .empty{padding:45px 20px}.ledger-row{padding:17px 15px;border-bottom:1px solid #f3f4f7;display:flex;gap:14px;justify-content:space-between;font-size:14px}.ledger-row p{margin:5px 0;color:#9ea5b0;font-size:11px}.ledger-row strong{white-space:nowrap;color:#7778f4}.withdrawal-card{background:#fff;border-radius:13px;padding:16px;margin-top:13px;font-size:14px}.withdrawal-card .status{float:right}.withdrawal-card p{font-size:12px;color:#969eae;line-height:1.6}.withdrawal-card .primary{min-height:38px;font-size:14px;margin-top:8px}.message-card{background:#fff;border-radius:12px;padding:17px;margin-bottom:12px}.message-card h2{font-size:15px;margin:0 0 10px}.message-card p{font-size:13px;line-height:1.7;color:#7a8394;white-space:pre-wrap}.message-card time{font-size:11px;color:#b0b5bf}.message-card.unread{border-left:3px solid #8b86f7}.message-card button{float:right;font-size:12px;color:#787af0}.agreement-text{padding:20px;background:#fff;min-height:calc(100dvh - 43px);font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.order-tabs{display:flex;gap:5px;padding:15px 10px;background:#fff;overflow:auto}.order-tabs button{white-space:nowrap;color:#9aa1b0;padding:5px 12px;min-height:32px;font-size:13px;border-radius:18px}.order-tabs button.active{background:#efefff;color:#7b76f3}.order-card{background:#fff;border-radius:16px;padding:18px;margin:13px 16px}.order-card h2{font-size:16px;line-height:1.5;margin:0 0 14px;font-weight:600}.order-card .order-line{display:flex;justify-content:space-between;align-items:center;font-size:13px}.order-card .order-line .price{font-size:18px}.order-card p{font-size:12px;color:#9da4b2;line-height:1.7;margin-bottom:0}.order-card .secondary{display:block;text-align:center;margin-top:15px;min-height:37px}.status{font-size:12px;display:inline-block;border-radius:20px;padding:4px 9px;background:#f0f0ff;color:#7b7af2}.status.approved{background:#eaf7ed;color:#62a774}.status.rejected,.status.cancelled{background:#fff0ee;color:#df837d}.form-block{background:#fff;padding:18px;border-radius:15px;margin:13px 16px}.form-block h2{font-size:16px;margin:0 0 13px}.form-block label{font-size:14px;display:block;margin:18px 0 10px}.form-block textarea{width:100%;height:132px;resize:vertical;border:1px solid #e7e9f2;border-radius:9px;padding:12px;font-size:14px;line-height:1.6;color:#657084}.field-hint{font-size:12px;color:#999faa;line-height:1.6;margin:9px 0}.upload-label{background:#f7f8ff;border:1px dashed #cbd0e6;border-radius:10px;padding:13px;text-align:center;color:#8586c5;cursor:pointer}.upload-label .icon{width:19px;height:19px;margin-right:6px}.upload-label input{display:none}.upload-items{display:flex;gap:9px;flex-wrap:wrap}.upload-item{background:#f5f6fb;border-radius:9px;padding:8px;font-size:11px;max-width:100%;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}.upload-item img{width:50px;height:50px;object-fit:cover;border-radius:4px}.upload-item button{font-size:11px;color:#d77a7a;padding:2px;min-height:25px}.order-actions{display:flex;gap:10px;padding:5px 16px 24px}.order-actions .secondary{white-space:nowrap}.note{background:#fff7ee;border-radius:8px;padding:12px;color:#be8c55;font-size:13px;line-height:1.6}.toast{position:fixed;z-index:100;left:50%;top:45%;transform:translate(-50%,-50%);max-width:320px;min-width:140px;text-align:center;padding:16px 21px;border-radius:12px;background:#172136e8;color:#fff;line-height:1.6;font-size:14px;box-shadow:0 10px 35px #1f2a401c}.toast[hidden]{display:none}.modal{border:0;border-radius:16px;width:min(330px,90vw);padding:25px;text-align:center;color:#273a50;box-shadow:0 18px 60px #28314836}.modal::backdrop{background:#131b385c}.modal h2{font-size:18px;margin:0 0 18px}.modal p{font-size:14px;line-height:1.8;color:#8c96a6;overflow-wrap:anywhere}.modal-actions{display:flex;gap:12px;margin-top:20px}.modal-actions button{flex:1;min-height:39px;font-size:14px}.modal .share-url{font-size:12px;word-break:break-all;background:#f4f5fb;padding:12px;border-radius:9px;text-align:left}.empty-avatar{padding:16px;object-fit:contain}.hidden{display:none!important}@media(max-width:414px){body{background:#f6f7f9}.phone{width:100%;box-shadow:none}}@media(min-width:415px){.phone{min-height:100dvh}}@media(max-width:360px){.task-top,.task-bottom{padding-left:16px;padding-right:16px}.task-name{font-size:14px}.price{font-size:18px}.participate{padding:6px 17px}.stat{min-width:62px}.stat+.stat{padding-left:13px;min-width:83px}.capsule{width:100px}.profile-hero{gap:13px;padding-left:19px}.profile-name strong{font-size:19px}.agreement-consent{left:16px;right:16px;font-size:11px}}

.id-pill{max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-row .value{max-width:65%;text-align:right;overflow-wrap:anywhere}.upload-item button[data-download]{color:#7777df}.info-row input[readonly]{color:#9ca5b2}

/* Detail spacing matched to the supplied 414px reference. */
.back img{transform:none}.detail-summary h1{line-height:1.3;margin:8px 0 5px}.task-code{margin-top:14px}.remaining{margin-top:8px}.metrics{margin-top:12px;padding-top:13px}.section h2{margin-bottom:7px}.section p,.section li{margin:4px 0;line-height:1.65}

.detail-action .change{width:98px;flex-shrink:0}.detail-action .primary{flex:1;width:auto}
