
:root{--red:#ed1525;--bg:#f6f5f3;--ink:#171717;--muted:#92918e;--line:#eeece9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #e7777d;outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}aside{position:fixed;inset:0 auto 0 0;width:228px;background:#fff;border-right:1px solid var(--line);padding:40px 24px;display:flex;flex-direction:column}.brand{font-size:19px;font-weight:850;letter-spacing:-.6px}.brand small{font-size:12px;font-weight:600;letter-spacing:1px}.brand b{color:var(--red)}.side-nav{margin-top:52px;display:grid;gap:9px}.side-nav button{display:flex;gap:14px;align-items:center;padding:14px 18px;color:#7c7c7a;text-align:left;border-radius:14px;font-size:14px;font-weight:600}.side-nav button.active{background:#fef0ef;color:var(--red)}.side-foot{margin-top:auto;color:#aaa;font-size:11px;line-height:2}main{max-width:1190px;margin-left:228px;padding:32px 48px 100px}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.crumb{color:#979692;font-size:12px;letter-spacing:1px}.profile{display:flex;align-items:center;gap:14px}.avatar{background:#222;color:white;width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;font-size:14px}.demo{font-size:10px;color:#aaa;border:1px solid #ddd;border-radius:20px;padding:5px 9px}.heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px}h1{font-size:31px;letter-spacing:-1px;margin:0 0 8px;font-weight:850}h2{font-size:18px;margin:0;font-weight:750}p{line-height:1.7}.sub{color:var(--muted);font-size:12px}.primary{background:var(--red);color:#fff;padding:13px 19px;border-radius:13px;font-size:13px;font-weight:650}.secondary{background:#f2f1ee;border-radius:12px;padding:12px 16px;font-size:13px}.hero{background:linear-gradient(115deg,#fa2838,#e70919);border-radius:25px;padding:29px 32px;color:white;position:relative;overflow:hidden;min-height:204px;box-shadow:0 14px 30px #e61b2012}.hero:after{content:'H';font-size:270px;line-height:1;font-weight:900;position:absolute;right:12px;top:-30px;color:#ffffff07;transform:skew(-10deg);pointer-events:none}.hero label{font-size:13px;color:#ffffffbd}.hero .amount{font-size:49px;font-weight:800;letter-spacing:-1px;margin:13px 0}.hero .amount small{font-size:24px}.hero .growth{font-size:12px;color:#ffffffd9}.hero .topline{display:flex;justify-content:space-between}.hero button{color:#fff}.overview{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stat{background:white;border-radius:22px;padding:20px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;min-height:93px}.stat span{font-size:12px;color:#96948f}.stat strong{font-size:29px;letter-spacing:-1px;margin-top:10px}.stat i{float:right;color:#b9b6b0;font-style:normal}.stat.warn strong{color:var(--red)}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:white;border-radius:22px;padding:21px 14px;margin:22px 0 30px}.quick button{display:flex;gap:12px;align-items:center;justify-content:center;font-size:13px;font-weight:600}.quick svg{color:#73706c}.section{display:flex;align-items:center;justify-content:space-between;margin:28px 0 17px}.link{font-size:12px;color:#91908c}.cols{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}.card{background:white;border-radius:22px;padding:24px;margin-bottom:16px}.customer{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:18px 0;border-bottom:1px solid var(--line)}.customer:last-child{border-bottom:0}.initial{width:43px;height:43px;border-radius:14px;background:#f4f2ef;display:grid;place-items:center;flex-shrink:0;font-size:16px;font-weight:700}.initial.red{background:#feeeed;color:var(--red)}.customer .info{flex:1}.customer strong{font-size:14px}.customer p{font-size:11px;color:#99958f;margin:6px 0 0}.tag{display:inline-block;font-size:10px;line-height:1.4;padding:4px 7px;border-radius:6px;background:#f3f1ee;color:#89847e;font-weight:500;margin-left:7px}.tag.red{color:#dc2331;background:#ffeeed}.tag.green{background:#eef4f0;color:#55806b}.tag.gold{background:#faf1df;color:#a78039}.due{font-size:11px;color:var(--red)}.note{font-size:12px;line-height:1.8;color:#8d8983}.progress{height:5px;background:#f0edeb;border-radius:10px;overflow:hidden;margin-top:12px}.progress i{display:block;height:100%;background:var(--red);border-radius:10px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.money{font-size:25px;font-weight:750;letter-spacing:-.5px}.bottom{display:none}.fab{position:fixed;bottom:30px;right:34px;width:57px;height:57px;background:var(--red);color:white;border-radius:50%;font-size:36px;box-shadow:0 7px 24px #ed152532;z-index:20}.search{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 17px;display:flex;align-items:center;gap:12px;margin-bottom:18px}.search input{border:0;outline:none;width:100%;background:none;font-size:13px}.chips{display:flex;gap:9px;overflow:auto;margin-bottom:19px;padding-bottom:3px}.chip{white-space:nowrap;border-radius:10px;padding:10px 15px;background:#eeece8;color:#8d8880;font-size:12px}.chip.active{background:#222;color:white}.list-card{padding:4px 22px}.empty{padding:40px;text-align:center;color:#999}.detail-top{display:flex;gap:17px;align-items:center}.detail-top .initial{width:63px;height:63px;font-size:24px}.detail-top h2{font-size:23px}.facts{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:24px}.facts label{color:#999;font-size:11px;display:block;margin-bottom:8px}.facts strong{font-size:13px;font-weight:500}.timeline{border-left:1px solid #e8e4df;margin:9px 0 0 8px;padding-left:25px}.event{position:relative;margin:0 0 28px}.event:before{content:'';position:absolute;left:-31px;top:4px;width:9px;height:9px;border:2px solid white;border-radius:50%;background:#e53942}.event p{font-size:13px;line-height:1.8;margin:10px 0;color:#64615c}.event time{font-size:11px;color:#aaa}.form{max-width:680px}.field{display:block;font-size:12px;font-weight:600;margin-bottom:20px}.field input,.field select,.field textarea{display:block;border:1px solid #e7e4df;background:#faf9f7;border-radius:11px;padding:13px;width:100%;margin-top:9px;outline-color:#ec7980}.field textarea{height:112px;resize:vertical}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bar-chart{height:160px;display:flex;align-items:flex-end;gap:20px;padding:20px 4px 0;margin-bottom:28px}.bar-chart div{flex:1;position:relative;background:#f5c8c9;border-radius:7px 7px 0 0;min-width:12px}.bar-chart div:last-child{background:var(--red)}.bar-chart span{position:absolute;bottom:-23px;left:0;right:0;text-align:center;font-size:10px;color:#999}.bar-chart b{position:absolute;top:-20px;left:0;right:0;text-align:center;font-size:10px;font-weight:500;color:#8a807c}.order{cursor:pointer}.order .row{margin-bottom:16px}.order p{font-size:12px;color:#96918a}.order-footer{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:12px}.settings-row{padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}.switch{background:#ddd;width:40px;height:24px;border-radius:20px;padding:3px;cursor:pointer}.switch.on{background:var(--red)}.switch:after{content:'';display:block;width:18px;height:18px;border-radius:100%;background:white;transition:.2s}.switch.on:after{transform:translateX(16px)}dialog{border:0;border-radius:26px;padding:28px;max-width:430px;width:calc(100% - 32px);box-shadow:0 30px 100px #0003}dialog::backdrop{background:#17171755;backdrop-filter:blur(4px)}dialog .primary{width:100%;margin-top:10px}.menu-create{display:grid;gap:12px;margin-top:24px}.menu-create button{text-align:left;background:#f6f4f1;padding:18px;border-radius:14px;display:flex;gap:15px;align-items:center;font-size:14px}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#242424;color:#fff;padding:13px 22px;border-radius:12px;z-index:100;font-size:13px;box-shadow:0 10px 30px #0002}.back{padding:0;margin-bottom:20px;color:#8e8982;font-size:12px}.desktop-label{font-size:11px;letter-spacing:2px;color:#a8a49d;margin-bottom:25px}.mobile-brand{display:none}.rank{padding:15px 0;border-bottom:1px solid var(--line)}.rank em{font-style:normal;color:#aaa;margin-right:16px}.rank strong{font-size:13px}.rank small{font-size:11px;color:#999}.btnline{display:flex;gap:10px;margin-top:24px}.btnline>*{flex:1}.productline{background:#f8f7f5;padding:16px;border-radius:12px;margin-bottom:15px;font-size:13px}.page{animation:enter .2s ease}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}@media(min-width:1450px){main{margin-left:auto;margin-right:auto;padding-left:240px;max-width:1400px}}@media(max-width:1050px){aside{width:190px;padding:30px 18px}main{margin-left:190px;padding:28px}.overview{grid-template-columns:1fr}.cols{grid-template-columns:1fr 1fr}}@media(max-width:700px){aside{display:none}main{margin:0;padding:24px 20px 115px;max-width:600px;margin:auto}.top{margin-bottom:30px}.crumb{display:none}.mobile-brand{display:block;background:var(--red);color:#fff;border-radius:10px;padding:9px 12px;font-weight:800;font-size:16px}.mobile-brand small{font-weight:650;font-size:13px}.profile{gap:9px}.avatar{width:33px;height:33px}.demo{font-size:9px;padding:4px 6px}h1{font-size:29px}.heading{margin-bottom:24px}.heading>.primary{padding:10px 12px;font-size:11px}.hero{min-height:190px;padding:26px;border-radius:24px}.hero .amount{font-size:43px}.overview{gap:16px}.stats{gap:13px}.stat{min-height:111px;border-radius:21px;padding:20px}.stat span{font-size:12px}.stat strong{font-size:32px}.quick{gap:0;padding:19px 5px;margin-top:18px}.quick button{flex-direction:column;gap:9px;font-size:11px}.cols{display:block}.section{margin-top:24px}h2{font-size:17px}.card{padding:20px}.bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:82px;padding:9px 12px max(12px,env(safe-area-inset-bottom));background:#ffffffef;backdrop-filter:blur(20px);border-top:1px solid #eeebe5;z-index:20;justify-content:space-around;align-items:flex-start}.bottom button{width:20%;display:flex;align-items:center;flex-direction:column;gap:5px;color:#98958f;font-size:10px;padding:7px 0}.bottom button.active{color:var(--red);font-weight:700}.bottom .plus{background:var(--red);color:white;border-radius:50%;height:56px;width:56px;margin-top:-21px;box-shadow:0 4px 15px #ed152525;font-size:35px;padding:2px}.fab{display:none}.list-card{padding:3px 18px}.customer strong{font-size:13px}.customer p{font-size:10px}.customer{gap:10px}.tag{font-size:9px;margin-left:4px}.initial{width:38px;height:38px}.due{font-size:10px}.desktop-label{display:none}.facts{gap:20px}.detail-top h2{font-size:21px}.field-pair{gap:12px}.toast{width:max-content;max-width:90%;text-align:center}.money{font-size:23px}.bar-chart{gap:15px}}

a{text-decoration:none;color:inherit}.side-nav a{display:flex;gap:14px;align-items:center;padding:14px 18px;color:#7c7c7a;border-radius:14px;font-size:14px;font-weight:600}.side-nav a.active{background:#fef0ef;color:var(--red)}.bottom a{width:20%;display:flex;align-items:center;flex-direction:column;gap:5px;color:#98958f;font-size:10px;padding:7px 0}.bottom a.active{color:var(--red);font-weight:700}.nav-icon{font-size:23px;line-height:23px}.quick a{display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}.field textarea{height:auto}.field .helptext{display:block;font-size:11px;font-weight:400;color:#888;margin-top:8px}.errorlist{color:#c51425;font-size:12px;line-height:1.7;padding-left:17px}.alert{padding:13px 18px;border-radius:12px;background:#edf4ed;color:#376845;margin-bottom:18px;font-size:13px}.alert.error{background:#ffeded;color:#b62323}.form button[type=submit]{min-height:44px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.login-wrap{max-width:440px;margin:8vh auto;padding:24px}.login-wrap .brand{margin-bottom:32px}.login-wrap .card{padding:30px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid #eee;white-space:nowrap}th{color:#888;font-weight:500}.quiet{font-size:12px;color:#999}.actions form{margin:0}.inline-form{display:inline}.empty p{font-size:13px}.page-list{display:flex;justify-content:center;gap:25px;padding:15px;font-size:12px}pre{white-space:pre-wrap}.card p{overflow-wrap:anywhere}.customer{overflow-wrap:anywhere}.side-foot{line-height:1.7}.form input,.form select,.form textarea{max-width:100%}.login-wrap input{width:100%}@media(max-width:700px){.quick a{font-size:12px}.bottom .plus{width:56px;padding-top:4px;font-size:35px;color:white}.actions>*{min-height:40px}.login-wrap{margin:3vh auto}.customer .info{min-width:0}.customer strong{overflow-wrap:anywhere}}