:root{--bg:#f4f7f4;--surface:#fff;--ink:#1f3b2d;--muted:#819086;--line:#e7eee7;--green:#237b55;--forest:#183e30;--mint:#c0e7c5;--pale:#edf5ed;--orange:#bb8240;--red:#bd655b;--phone-width:390px;--shadow:0 5px 20px #244e3310}*{box-sizing:border-box}html{font-size:14px;scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#eaf0e9;font:14px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft Yahei','PingFang SC',sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #80b998;outline-offset:2px}button:disabled{opacity:.4;cursor:not-allowed}button,input,select,textarea,a{touch-action:manipulation}button{color:inherit}a{color:var(--green)}svg{display:block}.icon{width:20px;height:20px;flex-shrink:0}input,select,textarea{border:1px solid #e1e9e2;background:#fff;border-radius:9px;padding:12px;color:#3f5c4a;font-size:16px;min-height:44px;max-width:100%}input::placeholder,textarea::placeholder{color:#a1aea5}textarea{resize:vertical}select{font-size:13px;padding:10px}.preview-layout{display:grid;grid-template-columns:250px var(--phone-width) 215px;align-items:center;justify-content:center;gap:42px;padding:22px 20px;min-height:100dvh;background:radial-gradient(ellipse at 45% 25%,#f8faf6 0,#edf2eb 50%,#e5ede4 100%)}.preview-intro{padding-bottom:25px}.preview-wordmark{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:2px;margin-bottom:42px}.preview-wordmark>span{display:grid;place-items:center;width:42px;height:42px;background:var(--forest);color:#c5e8c6;border-radius:13px;font:800 30px Arial,sans-serif;letter-spacing:-2px}.preview-kicker{font-size:10px;letter-spacing:2.6px;color:#869785}.preview-intro h1{font-size:29px;line-height:1.65;letter-spacing:1px;font-weight:650;margin:17px 0 20px}.preview-intro h1 em{font-style:normal;color:#4e8b5f}.preview-intro p{font-size:12px;line-height:1.9;color:#879789}.preview-points{margin-top:35px;display:grid;gap:14px;color:#6e8573;font-size:11px;letter-spacing:.5px}.preview-disclaimer{border-top:1px solid #d4e0d3;padding-top:20px;margin-top:29px;font-size:10px;color:#92a28f;line-height:1.9}.preview-controls{display:flex;align-items:center;justify-content:center;gap:10px;font-size:10px;color:#82917f;height:32px;margin-bottom:10px}.preview-controls>div{display:flex;gap:5px}.preview-controls button{background:#dfe9dd;color:#6e856b;border-radius:5px;min-width:42px;min-height:28px;font:11px 'Segoe UI',sans-serif}.preview-controls button.selected{background:#416d4c;color:white}.preview-controls small{font-size:10px}.device{width:var(--phone-width);height:calc(100dvh - 88px);max-height:865px;min-height:400px;background:var(--bg);border:7px solid #fff;border-radius:36px;overflow:hidden;box-shadow:0 25px 75px #28473220,0 0 0 1px #d4dfd3;display:flex;flex-direction:column;position:relative;container-type:inline-size;isolation:isolate}.phone-header{background:#fff;flex-shrink:0;padding-top:env(safe-area-inset-top,0px);z-index:20;border-bottom:1px solid #ecf1eb}.mini-status{height:25px;display:flex;align-items:center;justify-content:space-between;padding:4px 20px 0;font-size:9px;color:#8c9c8e;letter-spacing:.4px}.mini-status strong{color:#284332;font:600 12px Arial,sans-serif}.mini-status>span{display:flex;align-items:center;gap:7px;font-size:8px}.mini-status i{display:block;width:17px;height:8px;border:1px solid #879d88;border-radius:2px;background:linear-gradient(to right,#8a9f89 75%,transparent 75%)}.mini-navbar{height:51px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;gap:6px}.mini-navbar>strong{font-size:16px;letter-spacing:.4px;font-weight:650;flex:1;text-align:center;padding-left:24px;white-space:nowrap}.mini-back{width:42px;height:44px;background:none;justify-content:flex-start;flex-shrink:0}.mini-back>.icon{width:20px;transform:rotate(180deg)}.mini-logo{width:29px;height:29px;border-radius:9px;background:#214b35;color:#cbebca;display:grid;place-items:center;font:800 21px Arial,sans-serif;letter-spacing:-1px}.wx-capsule{display:flex;gap:10px;align-items:center;padding:2px 10px;border:1px solid #e0e7df;border-radius:17px;min-width:77px;height:29px;color:#425c49;font-size:15px;flex-shrink:0}.wx-capsule>i{height:13px;width:1px;background:#e1e8df}.wx-capsule>span:first-child{letter-spacing:1px;font-size:12px}.phone-screen{flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 15px 18px;scrollbar-width:none;scroll-padding:18px}.phone-screen::-webkit-scrollbar{display:none}.demo-ribbon{display:flex;align-items:center;gap:6px;padding:11px 0;color:#879272;font-size:10px;line-height:1.4;min-height:43px}.demo-ribbon>.icon{width:13px;height:13px;color:#8c9a73}.demo-ribbon>button{margin-left:auto;color:#85916e;background:transparent;font-size:10px;min-height:30px;padding:0}.demo-ribbon>button>.icon{width:12px}.mobile-hero{background:linear-gradient(120deg,#1f5038,#32734e);border-radius:16px;padding:21px 17px 13px;color:white;position:relative;overflow:hidden}.mobile-hero:after{content:'';position:absolute;top:-45px;right:-35px;width:160px;height:160px;border-radius:50%;border:28px solid #ffffff06;pointer-events:none}.hero-upper{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.hero-greeting{font-size:12px;color:#c3ddc5;display:flex;gap:6px;align-items:center;letter-spacing:.5px}.hero-greeting .icon{width:13px;height:13px}.hero-upper h2{font-size:16px;letter-spacing:.2px;font-weight:600;margin:7px 0 19px}.hero-cube{width:43px;height:43px;flex-shrink:0;border-radius:12px;display:grid;place-items:center;background:#ffffff0f;border:1px solid #ffffff12;color:#c2dfbf;transform:rotate(-8deg)}.hero-cube .icon{width:26px;height:26px}.hero-location{border-top:1px solid #ffffff1b;display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:11px;font-size:10px;position:relative;z-index:2}.hero-location>span{display:flex;align-items:center;gap:5px;color:#c7dfc9;white-space:nowrap}.hero-location .icon{width:13px;height:13px}.hero-location select{background:#ffffff10;color:#e0eee0;border:1px solid #ffffff1a;padding:4px 5px;min-height:34px;font-size:10px;width:88px;border-radius:7px}.hero-location option{color:#284c34}.mobile-todos{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 3px 15px}.mobile-todos button{display:flex;flex-direction:column;gap:3px;background:transparent;position:relative;min-height:56px}.mobile-todos button+button:before{content:'';position:absolute;left:0;top:10px;height:34px;width:1px;background:#e2e9df}.mobile-todos strong{font:600 23px 'Segoe UI',sans-serif;color:#34593b}.mobile-todos span{font-size:10px;color:#8c9e8b}.mobile-todos .amber-text{color:#bb8d4e}.mobile-card{background:#fff;border:1px solid #e7ede4;border-radius:13px;box-shadow:0 3px 12px #294b2d03;margin-bottom:12px;padding:16px;min-width:0}.section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 12px}.section-header h3{margin:0;font-weight:600;font-size:14px;letter-spacing:.3px}.section-header>span{font-size:9px;color:#a3afa0}.section-header>button{background:none;font-size:10px;color:#849c7e;min-height:32px;padding:0}.section-header>button .icon{width:12px;height:12px}.section-header.spaced{padding:8px 1px 12px}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:15px;column-gap:2px;padding:2px 0 3px}.module-item{flex-direction:column;background:transparent;gap:7px;font-size:10px;min-height:66px;padding:0;white-space:nowrap;color:#68805f}.module-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:12px}.module-symbol>.icon{width:21px;height:21px}.tone-0{background:#edf5e9;color:#739566}.tone-1{background:#f8f1e5;color:#af935c}.tone-2{background:#edf3ef;color:#729782}.tone-3{background:#eef2f6;color:#8098ac}.quick-order{width:100%;text-align:left;justify-content:flex-start;gap:12px;padding:15px;border:1px solid #dae8d5;border-radius:13px;background:#eaf4e4;margin:2px 0 13px;color:#486e3f;min-height:80px}.quick-order-icon{width:43px;height:43px;background:#cddfc2;border-radius:12px;display:grid;place-items:center;color:#62864e}.quick-order-icon .icon{width:23px;height:23px}.quick-order>span:nth-child(2){flex:1}.quick-order strong{display:block;font-size:14px;font-weight:600}.quick-order small{display:block;font-size:10px;margin-top:3px;color:#8d9f7b}.quick-order>i{font-style:normal;width:27px;height:27px;border:1px solid #c9dabc;border-radius:50%;display:grid;place-items:center;color:#73905e}.quick-order>i>.icon{width:15px}.record-list{display:grid;gap:12px}.record-list>.mobile-card{margin:0}.order-card{background:#fff;border:1px solid #e5ece3;border-radius:13px;overflow:hidden;padding:15px}.record-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:12px}.record-top>strong{font-weight:600;overflow-wrap:anywhere}.record-store{display:flex;align-items:center;gap:6px;min-width:0}.record-store>.icon{width:15px;height:15px;color:#7d9376}.record-store>strong{font-size:12px;font-weight:600}.badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:3px 6px;border-radius:5px;font-size:9px;line-height:1.5;background:#f0f4ef;color:#789071;white-space:nowrap;flex-shrink:0}.badge.green{background:#edf5e9;color:#739162}.badge.amber{background:#faf3e5;color:#b38c4d}.badge.blue{background:#eef3f7;color:#7593a3}.badge.red{background:#fbefeb;color:#bd8374}.badge.dark{background:#e9f0e6;color:#739069}.order-preview{display:flex;align-items:center;gap:8px;padding:16px 0 12px}.mini-product{display:grid;place-items:center;width:42px;height:43px;border-radius:8px;background:#f0f3e9;color:#9eac7c;flex-shrink:0}.mini-product:nth-child(2){background:#f6efe5;color:#b6a073}.mini-product+.mini-product{margin-left:-5px}.mini-product>.icon{width:22px;height:22px}.order-preview>div{min-width:0;flex:1;margin-left:3px}.order-preview b{font-size:11px;display:block;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.order-preview>div>span{display:block;font-size:10px;color:#a0ad99;margin-top:5px}.record-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#98a78f;padding-bottom:12px}.code{font-family:'SFMono-Regular',Consolas,monospace;font-size:9px;overflow-wrap:anywhere}.record-bottom{border-top:1px solid #eff3eb;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.record-bottom>span{font-size:9px;color:#9aaa92;flex:1}.record-money small{display:block;color:#a0ad97;font-size:9px;line-height:1.2;margin-bottom:4px}.record-money b{font:600 15px 'Segoe UI',Arial,sans-serif;white-space:nowrap}.record-buttons{display:flex;gap:7px}.btn{border:1px solid #dce7d6;border-radius:8px;background:#fff;color:#7a9570;font-size:11px;min-height:40px;padding:8px 12px;font-weight:500;white-space:nowrap}.btn.primary{background:#2d7d50;border-color:#2d7d50;color:#fff}.btn:hover{background:#f2f7ef}.btn.primary:hover{background:#256b43}.btn.small{min-height:36px;padding:7px 10px}.btn.text{background:transparent;border:0;min-height:40px}.btn.danger{color:#ba786a;border-color:#eeded6}.btn>.icon{width:17px;height:17px}.full-width{width:100%;margin-top:13px;min-height:44px}.stock-attention{padding:4px 15px}.attention-row{width:100%;background:none;padding:13px 0;justify-content:flex-start;gap:10px;text-align:left}.attention-row+.attention-row{border-top:1px solid #eef2e9}.product-symbol{width:37px;height:39px;display:grid;place-items:center;background:#f7f1e4;color:#b2a16b;border-radius:8px;flex-shrink:0}.product-symbol>.icon{width:20px}.attention-row>span:nth-child(2){flex:1;min-width:0}.attention-row b{font-weight:500;font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-row small{display:block;color:#9eac92;font-size:9px;margin-top:4px}.attention-row>strong{font:500 17px 'Segoe UI',sans-serif;color:#ad8950;text-align:right}.attention-row>strong>small{font:9px -apple-system,sans-serif}.mobile-footer{font-size:9px;color:#abb6a5;text-align:center;margin-top:24px;line-height:1.9;padding-bottom:5px}.bottom-nav{height:62px;box-sizing:content-box;padding-bottom:env(safe-area-inset-bottom,0px);border-top:1px solid #e7eee2;background:#fffffff5;display:grid;grid-template-columns:repeat(4,1fr);flex-shrink:0;z-index:30}.bottom-nav>button{background:none;flex-direction:column;gap:4px;position:relative;font-size:9px;color:#a3b098;padding-top:5px;min-width:44px;min-height:56px}.bottom-nav>.active{color:#437b3f;font-weight:600}.bottom-nav .icon{width:22px;height:22px}.bottom-nav button i{position:absolute;top:10px;left:calc(50% + 8px);width:5px;height:5px;border-radius:50%;background:#c39859;border:1px solid white}.preview-guide{padding-left:4px}.preview-guide h2{font-size:23px;line-height:1.6;font-weight:500;letter-spacing:1px;margin:15px 0 29px}.preview-guide ol{list-style:none;margin:0;padding:0;counter-reset:flow}.preview-guide li{display:flex;flex-direction:column;padding:0 0 29px 37px;position:relative;counter-increment:flow;font-size:12px}.preview-guide li:before{content:'0'counter(flow);position:absolute;left:0;top:0;font:11px 'Segoe UI',sans-serif;width:23px;height:23px;border:1px solid #bfcfba;border-radius:50%;display:grid;place-items:center;color:#789170}.preview-guide li:not(:last-child):after{content:'';position:absolute;left:11px;top:27px;height:30px;border-left:1px dashed #c9d5c3}.preview-guide li b{font-weight:500;color:#6d8561}.preview-guide li span{font-size:10px;color:#99a88d;margin-top:4px}.preview-note{font-size:11px;color:#879a7c;padding:16px;background:#dfead820;border:1px solid #d6e1d0;border-radius:10px;line-height:2}.preview-note strong{font-weight:500;color:#6d895f}.preview-local{display:block;font-size:9px;color:#a6b39a;margin-top:24px;line-height:1.9}.mobile-page-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:5px 0 15px}.mobile-page-title>div{font-size:11px;color:#8f9f86;max-width:215px}.mobile-page-title>.btn{flex-shrink:0}.mobile-search{margin-bottom:13px}.searchbox{position:relative;display:block}.searchbox>.icon{position:absolute;left:13px;top:14px;width:17px;height:17px;color:#a0af98;pointer-events:none}.searchbox input{width:100%;background:#fff;border-color:#e5ece0;border-radius:10px;padding:11px 12px 11px 39px;font-size:13px;min-height:45px}.section-tabs{display:flex;gap:18px;overflow-x:auto;scrollbar-width:none;margin:0 -15px 14px;padding:0 15px;border-bottom:1px solid #e5ecdf;white-space:nowrap}.section-tabs::-webkit-scrollbar{display:none}.section-tabs button{flex-shrink:0;min-height:44px;position:relative;padding:0 0 9px;background:transparent;font-size:12px;color:#a4b198;border-radius:0}.section-tabs .active{color:#5d874e;font-weight:600}.section-tabs .active:after{content:'';position:absolute;bottom:0;width:18px;height:3px;border-radius:3px;background:#6c9859}.section-tabs button>span{display:none}.list-context{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:10px;color:#9aaa8d}.list-context button{background:none;color:#829b71;font-size:10px;min-height:32px}.list-context button>.icon{width:13px;height:13px}.insight{background:#f1f5e9;border:1px solid #e2e9d7;border-radius:9px;font-size:10px;line-height:1.9;color:#8d9e7a;padding:12px 13px;margin:15px 0}.insight b{font-weight:600;color:#708a5c}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:200px;color:#9caf8d;font-size:12px;text-align:center}.empty>.icon{width:40px;height:40px;color:#c0cfb4}.category-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.category-row>select{font-size:11px;min-height:40px;padding:8px 12px;border-radius:8px}.category-row>span{font-size:10px;color:#9eae90}.product-card{width:100%;background:#fff;border:1px solid #e5edde;border-radius:12px;padding:14px;gap:12px;text-align:left;justify-content:flex-start}.catalog-image{width:59px;height:66px;display:grid;place-items:center;border-radius:11px;flex-shrink:0}.catalog-image>.icon{width:32px;height:32px}.catalog-info{flex:1;min-width:0}.catalog-info>strong{font-size:12px;font-weight:600;display:block}.catalog-info>small{font-size:10px;color:#9cac91;display:block;margin-top:4px}.catalog-price{display:block;font:600 16px 'Segoe UI',sans-serif;margin-top:7px;color:#47793e}.catalog-price>small{font:9px -apple-system,sans-serif;color:#a9b59e;margin-left:6px}.product-card>.icon{width:14px;height:14px;color:#aab8a0}.simple-record{padding:16px}.simple-record p{font-size:11px;color:#9eac94;line-height:1.8;margin:10px 0}.simple-record p.code{font-size:9px}.key-values{display:grid;grid-template-columns:auto 1fr;gap:12px 15px;font-size:11px;margin:17px 0}.key-values>span{color:#a0af93}.key-values>b{text-align:right;font-weight:500;color:#738b64;overflow-wrap:anywhere}.inventory-summary{background:#e7f0df;border:1px solid #d6e5cd;padding:19px 20px;border-radius:13px;margin-bottom:16px;color:#7f976a}.inventory-summary>span{font-size:11px}.inventory-summary>strong{font:600 35px 'Segoe UI',sans-serif;display:block;color:#547d43;margin:3px 0}.inventory-summary>strong>small{font:11px -apple-system,sans-serif;color:#9aac87;margin-left:8px}.inventory-summary>div{font-size:10px;color:#94a77e}.inventory-record{padding:15px}.inventory-record .record-meta{margin-top:7px}.stock-triple{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center;background:#f7f9f4;border-radius:9px;padding:12px 3px;margin:5px 0 13px}.stock-triple small{display:block;font-size:10px;color:#a2b092}.stock-triple b{font:500 21px 'Segoe UI',sans-serif;display:block;margin-top:3px;color:#729264}.transfer-route{display:grid;gap:19px;position:relative;margin:23px 0;font-size:12px}.transfer-route:before{position:absolute;content:'';left:4px;top:10px;height:25px;border-left:1px dashed #d1dfc5}.transfer-route>div{display:flex;align-items:center;gap:12px}.transfer-route i{width:9px;height:9px;border-radius:50%;background:#88a870;border:2px solid #e7efdf}.transfer-route>div+div i{background:#bd9a61;border-color:#f4eadc}.expiry-number{display:flex;align-items:center;gap:13px;margin:13px 0 5px}.expiry-number>b{font:500 35px 'Segoe UI',sans-serif;color:#9bb180}.expiry-number>span{font-size:11px;color:#8ea573}.expiry-number small{display:block;font-size:9px;color:#b3bfa7;margin-top:2px}.finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}.finance-grid>div{background:#e8f0e0;padding:15px 13px;border:1px solid #dce7d2;border-radius:11px}.finance-grid span{font-size:10px;color:#8ca476;display:block}.finance-grid strong{font:600 19px 'Segoe UI',sans-serif;display:block;color:#617f4b;margin:6px 0 4px}.finance-grid small{font-size:8px;color:#a3b38e}.donut-box{display:flex;align-items:center;gap:18px;padding:12px 0}.donut{width:125px;height:125px;flex-shrink:0;border-radius:50%;background:conic-gradient(#49795d 0 38%,#83a78a 38% 66%,#b9cdb7 66% 85%,#e7eada 85% 100%);position:relative;display:grid;place-items:center}.donut:before{content:'';position:absolute;inset:20px;border-radius:50%;background:white}.donut>span{position:relative;text-align:center;font-size:8px;color:#a8b298}.donut b{display:block;font:600 21px 'Segoe UI',sans-serif;color:#597448}.donut-legend{display:grid;gap:11px;font-size:9px;color:#95a67c;flex:1}.donut-legend>div{display:flex;align-items:center;gap:6px}.donut-legend i{width:6px;height:6px;border-radius:2px}.donut-legend b{margin-left:auto;font-weight:500;color:#718a56}.profile-card{display:flex;align-items:center;gap:14px;padding:11px 6px 23px}.profile-avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:17px;background:#d8e6cc;color:#6d8f58;font-size:22px;font-weight:600}.profile-card h2{font-size:19px;font-weight:600;margin:0 0 5px}.profile-card span{font-size:10px;color:#9eb18c}.settings-list{background:#fff;border:1px solid #e2ebd9;border-radius:13px;overflow:hidden;margin-bottom:15px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:57px;padding:11px 15px;width:100%;background:none;text-align:left;border-bottom:1px solid #f0f4eb;font-size:12px;color:#879e70}.setting-row:last-child{border-bottom:0}.setting-row>span{display:flex;align-items:center;gap:10px}.setting-row>span>.icon{width:17px;height:17px;color:#9aaf83}.setting-row>.icon{width:14px;height:14px;color:#bdcbb0}.setting-row select{font-size:11px;border:0;min-height:37px;padding:5px 0;text-align:right;color:#91a779;max-width:105px}.overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#1c302760;backdrop-filter:blur(4px);padding:42px 0 4px}.overlay[hidden]{display:none}.modal{width:calc(var(--phone-width) - 14px);max-height:calc(100dvh - 88px);display:flex;flex-direction:column;background:#f7f9f4;border-radius:25px;overflow:hidden;box-shadow:0 25px 70px #14301f30;container-type:inline-size}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;padding:18px 17px 15px;border-bottom:1px solid #e9eee3;flex-shrink:0}.modal-head h2{font-size:16px;line-height:1.5;font-weight:600;margin:0}.modal-head p{font-size:9px;color:#a2b192;line-height:1.7;margin:5px 0 0}.icon-button{min-width:44px;min-height:44px;border-radius:50%;background:#f1f5eb;flex-shrink:0;color:#8aa171}.icon-button>.icon{width:18px;height:18px}.modal-body{overflow:auto;overscroll-behavior:contain;padding:17px;flex:1;min-height:0;scrollbar-width:none}.modal-body::-webkit-scrollbar{display:none}.modal-foot{background:#fff;border-top:1px solid #e8eee1;padding:12px 17px calc(12px + env(safe-area-inset-bottom,0px));display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0;justify-content:flex-end}.modal-foot>.btn{min-height:44px;font-size:12px;flex:1;padding:10px 12px;white-space:normal}.modal-foot .foot-note{flex-basis:100%;font-size:9px;color:#acb99c;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:20px}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-grid select{font-size:14px;min-height:46px}.field-label{display:block;font-size:12px;color:#8da373;margin-bottom:8px}.rules-heading{font-size:13px;font-weight:600;margin:21px 0 12px;color:#65894d}.mobile-record-table{width:100%;border-collapse:collapse;display:block}.mobile-record-table thead{display:none}.mobile-record-table tbody{display:grid;gap:12px}.mobile-record-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;border:1px solid #e3ebd9;background:#fff;padding:14px;border-radius:11px}.mobile-record-table td{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#718d56;min-width:0;overflow-wrap:anywhere}.mobile-record-table td:before{content:attr(data-label);display:block;font-size:9px;color:#a7b595;font-weight:400}.mobile-record-table td:first-child{grid-column:1/-1;border-bottom:1px solid #f0f4e8;padding-bottom:10px;font-weight:600;font-size:12px}.mobile-record-table td:first-child:before{display:none}.mobile-record-table td:has(.quantity-control){grid-column:1/-1;display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}.mobile-record-table td:has(.quantity-control):before{font-size:11px;flex:1;min-width:70px}.mobile-record-table td b{font-weight:600}.subtext{font-size:9px;color:#a4b391;font-weight:400;line-height:1.8}.quantity-control{display:flex;align-items:center;justify-content:flex-end;border:1px solid #dee8d3;border-radius:8px;overflow:hidden;background:#fff;width:152px;flex-shrink:0}.quantity-control button{background:#f1f6e9;width:44px;height:44px;min-width:44px;font:20px Arial,sans-serif;color:#86a665;border-radius:0}.quantity-control input{min-height:44px;height:44px;min-width:0;flex:1;width:64px;padding:8px 1px;text-align:center;border:0;border-radius:0;color:#5e8740;font-size:16px;-moz-appearance:textfield}.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-grid .quantity-control{width:100%}.form-grid .quantity-control input{width:60px}.summary-strip{display:grid;grid-template-columns:1fr;gap:10px;margin:18px 0;padding:14px;border:1px solid #dfe8d4;background:#eff5e6;border-radius:9px}.summary-strip>span{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#91a976}.summary-strip strong{font-size:16px;font-weight:600;color:#618644}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px;background:#edf4e3;padding:15px;border-radius:11px;margin-bottom:18px}.detail-grid span{display:block;font-size:9px;color:#a0b387;margin-bottom:4px}.detail-grid b{font-size:11px;font-weight:500;color:#759456;overflow-wrap:anywhere}.detail-grid .badge{display:inline-flex;font-size:9px}.timeline{display:flex;gap:0;margin:3px 0 23px}.timeline-step{flex:1;text-align:center;position:relative;font-size:9px;color:#afbf97}.timeline-step>i{display:grid;place-items:center;width:23px;height:23px;margin:0 auto 6px;border:1px solid #d9e5ca;background:#fff;border-radius:50%;font:10px Arial,sans-serif;position:relative;z-index:1}.timeline-step:not(:last-child):after{content:'';position:absolute;left:calc(50% + 15px);top:11px;width:calc(100% - 30px);height:1px;background:#dbe6cd}.timeline-step.done{color:#7c9d60}.timeline-step.done>i{background:#8eac74;color:#fff;border-color:#8eac74}.timeline-step.current{color:#668f45;font-weight:600}.timeline-step.current>i{background:#e6f0d8;border-color:#8bac6c}.audit-row{display:flex;gap:12px;font-size:10px;color:#a5b58e;padding:7px 0}.audit-row b{font-weight:400;color:#8ba575}.legend-note{font-size:10px;line-height:1.9;color:#9eb389;overflow-wrap:anywhere}.scope-list{display:grid;gap:14px;font-size:11px;color:#91aa77;line-height:1.9}.scope-list strong{font-weight:600;color:#719853}.rule-grid{display:grid;gap:10px}.rule-card{background:#fff;border:1px solid #e2ebd6;border-radius:10px;padding:14px}.rule-card h3{font-size:12px;font-weight:600;color:#769955;margin:0 0 8px}.rule-card p{font-size:10px;color:#a1b58b;margin:0;line-height:1.9}.order-success{font-size:12px;color:#8fae71;line-height:2}.form-error{font-size:11px;color:#bd7866;line-height:1.8;margin:12px 0 0}.table-scroll{width:100%;overflow:visible}.mobile-record-table .btn{min-height:44px}.mobile-record-table .table-actions{display:flex;gap:10px}#toast{position:fixed;left:50%;bottom:calc(105px + env(safe-area-inset-bottom,0px));transform:translate(-50%,15px);background:#254f34ed;color:#edf5e5;box-shadow:0 5px 25px #1b30292b;padding:12px 15px;border-radius:10px;z-index:200;font-size:11px;line-height:1.8;max-width:calc(var(--phone-width) - 45px);width:max-content;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@container(max-width:340px){.phone-screen{padding-left:12px;padding-right:12px}.mini-navbar>strong{font-size:14px;padding-left:14px}.wx-capsule{min-width:68px;gap:8px;padding:2px 8px}.mini-navbar{padding:0 10px}.hero-upper h2{font-size:14px;line-height:1.8;margin-bottom:14px}.hero-cube{width:34px;height:34px}.hero-cube .icon{width:21px;height:21px}.mobile-hero{padding:17px 13px 12px}.hero-greeting{font-size:11px}.hero-location{font-size:9px}.hero-location select{width:82px;font-size:9px}.module-symbol{width:36px;height:36px}.module-item{font-size:9px}.mobile-card{padding:13px}.order-card{padding:13px}.record-buttons{gap:5px}.record-buttons .btn{font-size:10px;padding:8px 10px}.record-money b{font-size:14px}.order-preview>.mini-product:nth-child(2){display:none}.record-top{gap:6px}.badge{font-size:8px;padding:3px 5px}.record-store>strong{font-size:11px}.record-store{gap:4px}.record-store>.icon{width:13px}.donut{width:105px;height:105px}.donut:before{inset:17px}.donut-box{gap:12px}.donut-legend{font-size:8px;gap:10px}.finance-grid strong{font-size:16px}.finance-grid>div{padding:13px 10px}.section-tabs{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.quick-order{padding:12px;gap:9px}.quick-order small{font-size:9px}.quick-order-icon{width:36px;height:40px}.catalog-image{width:49px;height:60px}.catalog-info>strong{font-size:11px}.product-card{gap:9px;padding:12px}.modal-head{padding:16px 14px}.modal-head h2{font-size:15px}.modal-body{padding:14px}.modal-foot{padding:11px 14px}.timeline-step{font-size:8px}.mobile-record-table tr{padding:12px}.mobile-record-table td:has(.quantity-control):before{min-width:60px;font-size:10px}.quantity-control{width:143px}.demo-ribbon{font-size:9px}.demo-ribbon>button{font-size:9px}}
@media(max-width:1100px){.preview-layout{grid-template-columns:210px var(--phone-width);gap:38px}.preview-guide{display:none}.preview-intro h1{font-size:26px}.preview-wordmark{font-size:23px}}
@media(max-width:760px){.preview-layout{display:flex;justify-content:center;padding:12px 10px;background:#eaf0e8}.preview-intro,.preview-guide{display:none}.device{height:calc(100dvh - 70px);max-height:none}.preview-controls{margin-bottom:12px}}
@media(max-width:520px){html,body{height:100%;background:var(--bg)}.preview-layout{padding:0;display:block;min-height:0;background:var(--bg)}.preview-controls{display:none}.device-wrap{width:100%}.device{width:100%;height:100dvh;height:100svh;max-height:none;min-height:0;border:0;border-radius:0;box-shadow:none}.mini-status{display:none}.mini-navbar{height:54px}.phone-header{padding-top:env(safe-area-inset-top,0px)}.mini-navbar>strong{font-size:17px}.phone-screen{padding-left:16px;padding-right:16px}.demo-ribbon{font-size:11px;min-height:44px}.hero-upper h2{font-size:17px}.hero-greeting{font-size:13px}.module-item{font-size:11px}.module-symbol{width:43px;height:43px}.module-grid{row-gap:18px}.record-top>strong,.record-store>strong{font-size:13px}.order-preview b{font-size:12px}.order-preview>div>span{font-size:11px}.badge{font-size:10px}.btn{font-size:12px;min-height:44px}.record-meta{font-size:11px}.code{font-size:10px}.record-money b{font-size:16px}.bottom-nav{height:62px}.bottom-nav>button{font-size:10px}.mobile-footer{font-size:10px}.overlay{padding:0;align-items:flex-end;background:#17302270}.modal{width:100%;max-height:100dvh;max-height:100svh;border-radius:20px 20px 0 0;padding-top:env(safe-area-inset-top,0px)}.modal-head{padding:17px}.modal-body{padding:17px}.modal-head h2{font-size:17px}.modal-head p{font-size:10px}.modal-foot>.btn{font-size:13px;min-height:48px}.field-label{font-size:13px}.mobile-record-table td{font-size:12px}.mobile-record-table td:first-child{font-size:13px}.mobile-record-table td:before{font-size:10px}.insight{font-size:11px}.mobile-record-table td:has(.quantity-control):before{font-size:12px}.scope-list{font-size:12px}.rule-card h3{font-size:13px}.rule-card p{font-size:11px}.detail-grid b{font-size:12px}.detail-grid span{font-size:10px}.timeline-step{font-size:10px}.modal-foot .foot-note{font-size:10px}.mobile-page-title>div{font-size:12px}.section-tabs button{font-size:13px}#toast{max-width:calc(100vw - 40px);bottom:calc(88px + env(safe-area-inset-bottom,0px));font-size:12px}.searchbox input{font-size:16px;min-height:46px}.catalog-info>strong{font-size:13px}.catalog-info>small{font-size:11px}.catalog-price{font-size:17px}.stock-triple small{font-size:11px}.key-values{font-size:12px}.setting-row{font-size:13px;min-height:60px}}
@media(max-width:350px){.phone-screen{padding-left:12px;padding-right:12px}.hero-upper h2{font-size:14px}.mini-navbar>strong{font-size:15px}.record-store>strong{font-size:12px}.badge{font-size:9px}.btn{font-size:11px;padding:8px 10px}.record-meta{font-size:10px}.module-item{font-size:10px}.module-symbol{width:36px;height:36px}.demo-ribbon{font-size:9px}.record-buttons .btn{font-size:11px}.record-money b{font-size:14px}.order-preview b{font-size:11px}.timeline-step{font-size:9px}.mobile-record-table td:has(.quantity-control):before{font-size:11px}.hero-location select{width:80px}.phone-screen .section-tabs{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.device-frame{display:block;width:var(--phone-width);height:calc(100dvh - 88px);max-height:865px;min-height:400px;border:0;border-radius:30px;background:var(--bg);box-shadow:0 25px 75px #28473220,0 0 0 7px #fff,0 0 0 8px #d4dfd3;overflow:hidden}.embedded .mini-status{display:flex}.embedded .mini-navbar{height:51px}.embedded .device{height:100dvh}.embedded .phone-header{padding-top:0}.embedded .preview-layout{background:var(--bg)}
@media(max-width:760px){.device-frame{height:calc(100dvh - 70px);max-height:none}}
@media(max-width:520px){.device-frame{width:100%;height:100dvh;min-height:0;max-height:none;border-radius:0;box-shadow:none}}
/* Product copy and touch refinements. */
.phone-screen{padding-top:17px}.mobile-page-title{margin-top:0}.preview-guide .preview-note{font-size:12px}.modal-head h2{color:#34552c}.mobile-record-table td{color:#536d45}.mobile-record-table td:before,.field-label{color:#7c8f6e}.mobile-record-table .subtext{font-size:11px;color:#839375}.detail-grid b{color:#587444}.detail-grid span{color:#81956c}.scope-list{color:#72885f}.audit-row b{color:#7b9468}.quantity-control input{color:#426431}.hero-location select{min-height:40px}.section-header>button{min-height:44px}.mobile-record-table .quantity-control button{min-width:44px;min-height:44px}.order-card .btn{min-height:44px}.modal-body .legend-note{font-size:11px;color:#7f946c}.mobile-page-title>div{color:#81916f}
/* Role-specific workspaces. */
.hq-hero{background:linear-gradient(120deg,#24483f,#3d6d60)}.hq-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:13px 0}.hq-summary>div{background:#e8f0e2;border:1px solid #dce7d5;border-radius:11px;padding:13px 15px}.hq-summary span{font-size:10px;color:#7f9271;display:block}.hq-summary b{display:block;font:600 25px 'Segoe UI',sans-serif;color:#527344;margin-top:3px}.hq-summary small{font:10px -apple-system,sans-serif;color:#93a67e;margin-left:7px}.store-qty{font-size:12px;color:#6a8a54;display:block;margin-top:9px}.store-modules{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.store-modules .module-item{font-size:12px}.stock-clear{padding:20px;font-size:12px;color:#8a9c7c;text-align:center}.fixed-field{display:flex;align-items:center;gap:9px;background:#eaf1e2;border:1px solid #dbe7d0;border-radius:9px;padding:13px;font-size:14px;font-weight:500;color:#698450;min-height:47px}.fixed-field .icon{width:17px;height:17px}.user-note{font-size:12px;line-height:1.9;color:#7d906d;overflow-wrap:anywhere}.difference-detail{border:1px solid #eadbd2;background:#faf4ee;padding:13px;border-radius:10px;margin:16px 0}.difference-detail p{font-size:12px;color:#a07e6c;line-height:1.8;margin:8px 0 0}.count-location{display:flex;align-items:center;gap:6px;font-size:11px;color:#829771;margin:6px 0 12px}.count-location .icon{width:14px;height:14px}.store-section-info{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#8ba078;margin-bottom:16px}.store-section-info span{display:flex;gap:6px;align-items:center}.store-section-info .icon{width:16px;height:16px}.store-section-info b{font-weight:400}.setting-row>b{font-size:12px;color:#789366;font-weight:500}.record-bottom>span{line-height:1.6}.store-modules .module-symbol{width:44px;height:44px}
@container(max-width:340px){.store-modules .module-item{font-size:11px}.store-modules .module-symbol{width:40px;height:40px}.record-bottom>span{font-size:10px}.hero-upper h2{font-size:13px}}
