*{box-sizing:border-box}html,body{color:#17171b;background:#f5f5f7;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.shell{max-width:680px;margin:auto;padding:18px 16px 104px}.top{justify-content:space-between;align-items:center;margin:4px 0 22px;display:flex}.brand{letter-spacing:-.7px;font-size:23px;font-weight:800}.brand i{color:#6750ff;font-style:normal}.avatar{color:#fff;background:#17171b;border-radius:15px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.hero{color:#fff;background:linear-gradient(135deg,#17171b,#35313f);border-radius:28px;padding:22px;box-shadow:0 18px 45px #17171b28}.hero small{color:#b7b4bf}.hero strong{margin:6px 0;font-size:32px;display:block}.metrics{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;display:grid}.metric{background:#ffffff13;border:1px solid #ffffff16;border-radius:18px;padding:13px}.metric b{margin-top:4px;font-size:16px;display:block}.section-head{justify-content:space-between;align-items:center;margin:26px 2px 12px;display:flex}.section-head h2{margin:0;font-size:19px}.primary{color:#fff;background:#6750ff;border:0;border-radius:16px;padding:12px 16px;font-weight:750;box-shadow:0 8px 20px #6750ff35}.order{background:#fff;border:1px solid #e9e9ed;border-radius:22px;margin:10px 0;padding:16px;box-shadow:0 6px 22px #2221}.order-top{justify-content:space-between;gap:10px;display:flex}.order h3{margin:2px 0 6px;font-size:15px;line-height:1.35}.muted{color:#7b7b85;font-size:13px}.pill{color:#6750ff;background:#f0edff;border-radius:99px;height:max-content;padding:6px 9px;font-size:11px;font-weight:750}.pill.done{color:#168746;background:#e7f8ee}.money-row{border-top:1px solid #eeeef2;grid-template-columns:minmax(92px,1fr) auto auto;align-items:end;gap:12px;margin-top:14px;padding-top:11px;font-size:13px;display:grid}.money-row>b{white-space:nowrap;font-size:16px}.order-profit{color:#168746;white-space:nowrap;flex-direction:column;align-items:flex-end;display:flex}.order-profit small{color:#7b7b85;font-size:9px}.order-profit strong{font-size:13px}.order-profit.loss,.line-profit.loss{color:#c93a48}.empty{text-align:center;color:#898993;padding:50px 20px}.empty b{color:#29292f;margin:12px;font-size:18px;display:block}.nav{z-index:40;width:min(680px,100%);height:78px;padding:9px 8px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffc;border-top:1px solid #dddde4;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav a{color:#97979f;text-align:center;flex:1;font-size:10px;font-weight:650;text-decoration:none}.nav b{font-size:24px;font-weight:500;line-height:31px;display:block}.nav a.active{color:#6750ff}.sheet-wrap{z-index:60;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1118;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:min(680px,100%);max-height:94vh;padding:10px 16px calc(24px + env(safe-area-inset-bottom));background:#f7f7f9;border-radius:30px 30px 0 0;overflow:auto}.grab{background:#d1d1d6;border-radius:9px;width:44px;height:5px;margin:0 auto 15px}.sheet h2{margin:0 0 18px}.field{margin:13px 0}.field label{color:#73737c;margin:0 0 6px 3px;font-size:12px;font-weight:650;display:block}.field input,.field select,.field textarea{color:#17171b;background:#fff;border:1px solid #e0e0e6;border-radius:15px;outline:none;width:100%;padding:14px}.field input:focus,.field select:focus{border-color:#6750ff;box-shadow:0 0 0 3px #6750ff15}.grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.summary{color:#fff;background:#17171b;border-radius:22px;margin:18px 0;padding:17px}.summary div{color:#bdbbc4;justify-content:space-between;margin:8px 0;font-size:13px;display:flex}.summary strong{color:#fff;font-size:20px}.summary .positive{color:#62dc93}.summary .negative{color:#ff7b88}.finance-summary .profit-total{border-top:1px solid #ffffff24;align-items:center;margin-top:13px;padding-top:13px}.row-add{background:#fff;border:1px solid #e3e3e8;border-radius:16px;margin:8px 0;padding:12px}.row-add .line{grid-template-columns:1fr 104px 34px;gap:7px;display:grid}.tiny{background:#eeeef2;border:0;border-radius:11px;min-width:0;padding:9px}.remove-line{color:#8e8e96;padding:4px;font-size:18px}.accessory-name{grid-template-columns:1fr 34px;gap:7px;display:grid}.accessory-prices{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.accessory-prices label{margin:0}.accessory-prices label span{color:#73737c;margin:0 0 5px 2px;font-size:10px;display:block}.accessory-prices input{width:100%}.line-profit{text-align:right;color:#168746;margin-top:8px;font-size:11px;font-weight:750}.label-note{color:#9a9aa2;font-weight:500}.add-link{color:#6750ff;background:0 0;border:0;padding:7px 2px;font-weight:700}.actions{background:#f7f7f9;gap:10px;padding:12px 0 4px;display:flex;position:sticky;bottom:-24px}.actions button{border:0;border-radius:17px;flex:1;padding:15px;font-weight:750}.cancel{background:#e9e9ed}.save{color:#fff;background:#6750ff}.page-title{margin:12px 0 20px;font-size:26px}.card{background:#fff;border:1px solid #e7e7eb;border-radius:22px;margin:10px 0;padding:17px}.scanner{aspect-ratio:1;background:#17171b;border-radius:28px;position:relative;overflow:hidden}.scanner video{object-fit:cover;width:100%;height:100%}.scan-frame{border:3px solid #fff;border-radius:24px;position:absolute;inset:18%;box-shadow:0 0 0 999px #0004}.detail-head{text-align:center;padding:30px 10px}.detail-head .num{color:#fff;background:#6750ff;border-radius:99px;padding:7px 13px;font-weight:800;display:inline-block}.qrbox{text-align:center;background:#fff;border-radius:26px;padding:16px}.qrbox img{width:220px;max-width:100%}.complete{color:#fff;background:#17171b;border:0;border-radius:18px;width:100%;margin-top:12px;padding:16px;font-weight:800}@media (max-width:420px){.money-row{gap:8px}.money-row>span:first-child{font-size:11px}.order-profit small{font-size:8px}.order-profit strong{font-size:12px}}@media (max-width:380px){.shell{padding-left:12px;padding-right:12px}.brand{font-size:21px}.grid2{grid-template-columns:1fr}.hero strong{font-size:28px}.money-row{grid-template-columns:minmax(76px,1fr) auto auto;gap:6px}.money-row>b{font-size:14px}.accessory-prices{grid-template-columns:1fr}}
.edit-order{color:#5a43e8;background:#f0edff;border:1px solid #d9d5ff;border-radius:18px;width:100%;margin:0 0 12px;padding:15px;font-weight:800}
.period-tabs{background:#e8e8ed;border-radius:17px;gap:4px;margin:0 0 16px;padding:4px;display:flex}.period-tabs button{color:#777680;background:0 0;border:0;border-radius:13px;flex:1;padding:12px 8px;font-weight:750}.period-tabs button[aria-selected=true]{color:#17171b;background:#fff;box-shadow:0 2px 9px #0001}.period-select{color:#6f6d77;margin:0 2px 14px;font-size:12px;font-weight:700;display:block}.period-select select{color:#17171b;background:#fff;border:1px solid #dedee5;border-radius:15px;width:100%;margin-top:6px;padding:13px;display:block}.period-heading{justify-content:space-between;align-items:flex-end;gap:12px;padding:3px 3px 15px;display:flex}.period-heading small{color:#777680}.period-heading h1{margin:3px 0 2px;font-size:24px}.period-heading p{color:#777680;margin:0;font-size:12px}.period-heading>span{color:#6048e8;background:#ece8ff;border-radius:99px;flex-shrink:0;padding:7px 10px;font-size:12px;font-weight:750}.order{cursor:pointer}.order:focus-visible,.period-tabs button:focus-visible,.period-select select:focus-visible{outline-offset:2px;outline:3px solid #a99aff}@media (max-width:390px){.period-tabs button{font-size:13px}.period-heading h1{font-size:22px}.period-heading>span{font-size:11px}}
