:root{--red:#e90038;--bg:#f5f5f5;--ink:#111;--muted:#999;font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:#e7e7e7;color:var(--ink)}.phone-page{width:375px;min-height:100vh;margin:auto;background:var(--bg);position:relative;padding:88px 12px 38px;overflow:hidden}.topbar{position:fixed;z-index:8;top:0;left:50%;transform:translateX(-50%);width:375px;height:88px;background:#fff}.status{height:44px;padding:12px 18px;display:flex;justify-content:space-between;font-size:15px}.signals{display:flex;gap:3px;align-items:center}.signals i{display:block;width:3px;background:#000;border-radius:2px}.signals i:nth-child(1){height:4px}.signals i:nth-child(2){height:7px}.signals i:nth-child(3){height:10px}.signals b{margin-left:5px;border:1px solid #111;width:20px;height:10px;border-radius:3px}.navtitle{height:44px;display:grid;grid-template-columns:79px 1fr 79px;align-items:center;text-align:center;font-size:16px;font-weight:800}.back{width:24px;height:24px;margin-left:16px;cursor:pointer}.navtitle .blank{height:24px}.homebar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:8;width:375px;height:34px;background:#fff;display:flex;align-items:center;justify-content:center}.homebar:after{content:"";width:134px;height:5px;border-radius:5px;background:#000}.summary-card{background:var(--red);border-radius:16px;color:#fff;min-height:200px;padding:22px 16px 14px;margin:24px 4px 8px;position:relative;overflow:hidden}.summary-card::after{content:"";position:absolute;width:88px;height:88px;border-radius:50%;right:12px;top:-8px;background:radial-gradient(circle at 50% 35%,#fff2c8 0 22%,#f2b983 23% 28%,#fff 29% 55%,transparent 56%);opacity:.93}.summary-label{font-size:14px;display:flex;gap:9px;align-items:center}.summary-label img{height:15px;width:13px}.summary-total{font-family:Bahnschrift,Arial;font-size:38px;font-weight:700;line-height:1;margin:8px 0 18px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);font-size:11px}.summary-stats b{display:block;color:#fff;font-size:16px;line-height:24px}.summary-card button{width:100%;height:40px;border:0;border-radius:24px;background:#fff;color:var(--red);font-weight:800;font-size:15px;margin-top:14px;position:relative}.bank{margin:-8px 4px 12px;background:#fff;border:1px solid #b5d5ea;border-radius:0 0 16px 16px;padding:14px 16px 10px;font-size:12px;color:#777}.bank strong{font-size:14px;color:#111}.bank span{float:right}.section-card{background:#fff;border-radius:16px;margin:10px 4px;padding:16px}.section-title{display:flex;align-items:center;font-weight:800;font-size:16px;margin-bottom:9px}.section-title .tag{width:28px;height:28px;border-radius:8px;background:#45c864;color:#fff;text-align:center;line-height:28px;margin-right:10px}.section-title.orange .tag{background:#ff9a63}.viewall{margin-left:auto;color:#999;font-size:12px;font-weight:400}.mini-line{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee}.mini-line:last-child{border:0}.mini-line p{margin:0;font-size:14px}.mini-line small{display:block;color:#999;font-size:11px;margin-top:4px}.money.red{color:#f22;font-weight:800}.money{font-weight:800}.list-page{padding:98px 0 38px;background:#fff}.date-filter{margin:0 16px 10px;display:inline-flex;background:#f5f5f5;padding:9px 12px;border-radius:6px;color:#666;font-size:16px}.date-filter img{width:8px;margin-left:8px}.record{padding:12px 16px 13px;border-bottom:1px solid #eee}.record-top{display:flex;justify-content:space-between}.record h4{margin:0;font-size:14px;font-weight:500}.record time{font-size:13px;color:#999;display:block;margin-top:6px}.record .amount{font-size:15px;font-weight:800}.record .detail{margin-top:12px;background:#f5f5f5;border-radius:4px;color:#666;padding:7px 12px;font-size:13px}.badge{float:right;border-radius:50px;padding:2px 10px;margin-top:6px;font-size:11px}.badge.pending{color:#ffa726;background:#fff4e5}.badge.paid{color:#00b22f;background:#e5ffec}.badge.refund{color:#999;background:#eee}.badge.failed{color:#fd4135;background:#ffefee}.alert{background:#fff2f2;color:#ff2828;font-size:11px;border-radius:6px;padding:7px 8px;margin-top:12px}.alert img{height:12px;margin-right:8px;vertical-align:middle}.dashboard{padding:88px 12px 38px;background:#f5f5f5}.dashboard-head{position:absolute;top:0;left:0;width:100%;height:230px;background:var(--red);color:#fff;padding:58px 16px 0}.dashboard .topbar{background:transparent;color:#fff}.dashboard .signals i{background:#fff}.dashboard .signals b{border-color:#fff}.sales-caption{font-size:12px;margin-top:2px}.sales-total{font-family:Bahnschrift,Arial;font-size:40px;line-height:42px;margin-top:6px}.month-change{float:right;margin-top:-22px;font-size:12px;color:#ebdc34}.board-content{position:relative;margin-top:88px;border-radius:16px 16px 0 0;padding-top:16px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metric{background:#fff;border-radius:12px;padding:12px;height:96px}.metric span{font-size:11px;color:#666}.metric b{display:block;font-size:18px;margin:13px 0 3px}.metric small{font-size:9px}.panel{background:#fff;border-radius:12px;margin-top:12px;padding:12px}.panel h3{font-size:14px;margin:0 0 12px}.chart{height:175px;background:linear-gradient(#f5f7ff 1px,transparent 1px) 0 0/100% 33px;position:relative;overflow:hidden}.chart svg{width:100%;height:100%}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#f5f5f5;border-radius:8px;overflow:hidden}.team-grid div{height:42px;background:#fff;display:grid;place-content:center;text-align:center;font-size:11px;color:#999}.team-grid b{color:#333;font-size:13px}.donut{width:110px;height:110px;border-radius:50%;background:conic-gradient(#f45959 0 35%,#1688e8 35% 65%,#22c8ae 65% 95%,#f5c43e 95%);position:relative;float:left;margin:0 15px 5px 4px}.donut:after{content:"";position:absolute;inset:24px;background:#fff;border-radius:50%}.legend p{font-size:11px;line-height:20px;margin:0}.payline{height:4px;background:#ffe5e5;border-radius:2px;margin:5px 0 12px}.payline i{display:block;background:#ff6d75;height:4px;border-radius:2px}.rank{width:100%;border-collapse:collapse;text-align:center;font-size:10px;color:#666}.rank td,.rank th{border-bottom:1px solid #eee;height:32px;font-weight:400}.relationship{padding-top:100px}.relationship .summary-card{margin:0 0 12px;min-height:164px;padding-top:20px}.relationship .summary-stats{grid-template-columns:repeat(2,1fr)}.people-card{background:#fff;border-radius:12px;margin-bottom:12px;padding:16px 12px 12px;cursor:pointer}.person-head{display:flex;align-items:center}.avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#eee}.person-meta{margin-left:10px;flex:1}.person-meta b{font-size:15px}.member{font-size:10px;color:#ffae00;background:#fff7d8;padding:3px 6px;border-radius:4px;margin-left:8px}.person-meta small{display:block;color:#666;margin-top:7px;font-size:11px}.call{width:42px;text-align:center;font-size:11px;color:#666}.call img{width:24px;display:block;margin:auto auto 4px}.person-stats{display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;text-align:center;background:#f5f5f5;border-radius:8px;margin-top:12px;padding:7px 0}.person-stats div{color:#999;font-size:11px}.person-stats b{display:block;font-size:16px;font-weight:400;margin-top:3px}.person-stats i{height:16px;background:#ddd}.detail-heading{font-size:16px;font-weight:800;margin:6px 0 10px}.order-card{background:#fff;padding:16px;border-radius:12px;margin-bottom:12px}.order-card .order-no{font-size:14px}.order-card .pay{font-size:12px;color:#999;margin:5px 0 12px}.order-product{display:flex;gap:12px}.product-image{width:80px;height:80px;object-fit:cover;background:#e8f4f7}.order-product h4{font-size:14px;font-weight:500;margin:0}.order-product p{margin:5px 0;color:#999;font-size:12px}.order-product b{font-size:14px}.order-foot{border-top:1px solid #eee;margin-top:12px;padding-top:12px;color:#999;font-size:12px;display:flex;justify-content:space-between}.order-foot b{color:#111;font-size:16px}
@media(max-width:375px){.phone-page,.topbar,.homebar{width:100%}} 
.dashboard .back{filter:brightness(0) invert(1)}.member img{height:10px;width:11px;vertical-align:-1px;margin-right:3px}


/* 需求确认：原型不绘制操作系统状态栏 */
.topbar{height:88px}.topbar .navtitle{margin-top:44px}.phone-page{padding-top:88px}.list-page{padding-top:98px}

/* Figma 143:2780 / 152:4301 / 165:1015 use the exported mascot, not a CSS approximation. */
.summary-card::after{display:none!important}.summary-mascot{position:absolute;z-index:0;right:8px;top:-12px;width:108px;height:108px;object-fit:contain}.summary-card>*:not(.summary-mascot){position:relative;z-index:1}
.member-detail{padding-left:12px;padding-right:12px}.member-detail>.people-card{margin-top:12px}.member-order{background:#fff;border-radius:12px;margin:0 0 12px;padding:16px}.member-order-head{font-size:14px;margin-bottom:12px}.member-order-head small{display:block;color:#666;font-size:12px;margin-top:4px}.member-order .order-product{padding-bottom:14px}.member-order .order-product p{margin:4px 0}.member-order .order-foot{margin-top:0}
.navtitle .back{width:9.961px;height:17.578px;margin-left:16px;object-fit:fill}
