@charset "UTF-8";
:root{--green:#176f59;--deep:#174e40;--ink:#203d34;--muted:#819088;--line:#e7ede8;--bg:#f6f8f5;--gold:#bf8c48;--light:#eaf4ed;--red:#b85243;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #9ac6b4;outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-1px;line-height:1.4}h2{font-size:17px;letter-spacing:-.2px}h3{font-size:15px;font-weight:600}p{line-height:1.8}small{font-size:12px}a{color:var(--green)}.icon{width:20px;height:20px;flex:none;vertical-align:middle}.muted{color:var(--muted);font-size:12px}.right{text-align:right}.nowrap{white-space:nowrap}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.btn{min-height:43px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-weight:550;font-size:13px;transition:background .15s,transform .15s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff;box-shadow:0 3px 5px #176f590d}.primary:hover{background:#125d49}.secondary{background:#fff;border:1px solid #dce6df;color:#416153}.soft{background:#e9f2ec;color:var(--green)}.light{background:#fff;color:var(--deep)}.wide{width:100%}.compact{min-height:37px;padding:8px 12px;font-size:12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;color:#809388;flex:none}.icon-btn:hover{background:#edf3ee;color:var(--green)}.text-btn{font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--green);padding:6px 0;white-space:nowrap}.text-btn .icon{width:16px;height:16px}.danger{color:var(--red)}.eyebrow{display:block;font-size:10px;font-weight:650;letter-spacing:1.8px;color:#7d9586;margin-bottom:9px}.avatar{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:14px;background:#edf1df;color:#6c7650;font-weight:650;font-size:18px;flex:none}.avatar.small{width:37px;height:37px;border-radius:11px;font-size:15px}.avatar.tiny{width:31px;height:31px;border-radius:50%;font-size:12px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:700;letter-spacing:1px}.brand small{display:block;font-size:10px;color:#8b9b8d;font-weight:400;letter-spacing:.7px;margin-top:5px}.workspace{display:flex;min-height:100vh}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:31px 22px 18px;z-index:10}.sidebar .brand{padding:0 4px}.nav-caption{font-size:10px;letter-spacing:2px;color:#99a59c;margin:46px 13px 15px}.nav-item{width:100%;display:flex;gap:14px;align-items:center;border-radius:9px;min-height:47px;padding:12px 15px;margin-bottom:8px;color:#829187;text-align:left;font-size:13px}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:#f6f8f4}.nav-item.active{color:#1b6e53;background:#eaf3ec;font-weight:600}.nav-dot{width:5px;height:5px;border-radius:50%;background:#4b9276;margin-left:auto}.sidebar-tip{margin-top:auto;padding:20px 14px 15px;border-radius:12px;background:#f6f7ed;border:1px solid #edeedd}.tiny-label{font-size:10px;color:#999a7c}.sidebar-tip strong{display:block;font-size:16px;font-weight:650;margin-top:10px}.sidebar-tip p{font-size:11px;color:#969783;margin:7px 0 13px}.sidebar-tip button{font-size:11px;color:#547553;display:flex;align-items:center;gap:7px}.sidebar-tip .icon{width:15px;height:15px}.account{display:flex;gap:10px;text-align:left;align-items:center;width:100%;padding:20px 0 0;margin-top:20px;border-top:1px solid var(--line);font-size:12px}.account>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account small{display:block;font-size:10px;color:#97a095;margin-top:5px}.account>.icon{margin-left:auto;width:17px}.main-shell{margin-left:238px;width:calc(100% - 238px)}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px;font-size:12px;background:#fcfdfb}.desktop-breadcrumb{color:#a2ada4}.desktop-breadcrumb b{font-weight:400;margin:0 15px;color:#c5cec7}.topbar-right{display:flex;align-items:center;gap:16px}.connection{font-size:11px;color:#82968a;display:flex;align-items:center;gap:7px}.connection i{height:6px;width:6px;border-radius:50%;background:#81ac87}.connection.offline{color:#b38051}.connection.offline i{background:#c79958}#page{max-width:1440px;padding:32px 37px 0;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{color:#8d998f;font-size:12px;margin-top:10px}.page-footer{max-width:1440px;padding:30px 37px;color:#9da99f;font-size:10px;display:flex;justify-content:space-between;margin:auto}.page-footer span{color:#adb6ac}.hero-banner{display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;min-height:195px;background:#e7efe1;border:1px solid #dce7d6;border-radius:14px;margin-bottom:23px;padding:25px 30px}.hero-banner>div{z-index:1}.hero-label{font-size:10px;letter-spacing:1.8px;color:#829477}.hero-banner h2{font-size:27px;font-weight:600;color:#315b42;letter-spacing:1px;margin:10px 0 6px}.hero-banner p{color:#8b9a82;font-size:11px;margin-bottom:17px}.hero-banner .btn{min-height:33px;font-size:11px;padding:8px 12px;border-radius:6px}.hero-banner .btn .icon{width:14px;height:14px}.hero-art{width:300px;height:208px;object-fit:cover;border-radius:12px;mix-blend-mode:multiply;flex:none;margin:-18px 0 -18px 20px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px 19px 17px;min-width:0}.stat>div{display:flex;justify-content:space-between;align-items:center;color:#8b998f;font-size:11px;gap:8px}.stat>div .icon{width:18px;height:18px;color:#90aa94}.stat strong{font-size:27px;display:block;margin:17px 0 10px;letter-spacing:-.8px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat strong small{font-size:15px;letter-spacing:0;font-weight:400}.stat p{font-size:10px;color:#a0ac9f}.stat.featured{background:#196c56;border-color:#196c56;color:#fff}.stat.featured>div,.stat.featured>div .icon{color:#b4d2bf}.stat.featured p{color:#a1c3ae}.amount-due{color:#b68a47}.overview-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{font-size:14px;font-weight:600}.overview-side{display:flex;flex-direction:column;gap:18px}.trend-total{font-size:23px;margin-left:22px;font-weight:600;letter-spacing:-.5px}.trend-chart{display:block;width:100%;height:auto;padding:13px 17px 9px}.trend-panel .panel-head{padding-bottom:12px}.quick-card{background:#f0f1e6;border:1px solid #e7e8dc;border-radius:12px;padding:21px 17px;display:flex;align-items:center;gap:12px}.quick-icon{height:38px;width:38px;border-radius:11px;background:#e4e8d5;color:#79906a;display:flex;align-items:center;justify-content:center;flex:none}.quick-card h3{font-size:12px}.quick-card p{font-size:10px;color:#999f87;margin-top:6px}.quick-card .icon-btn{margin-left:auto}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{font-size:10px;color:#94a194;font-weight:500;background:#fbfcf9;padding:13px 20px;text-align:left}td{padding:17px 20px;border-top:1px solid #f0f3ec;font-size:12px;color:#6f8073}td strong{font-weight:550;color:var(--ink)}td small,.row-link small{display:block;font-size:10px;color:#a1ad9e;margin-top:6px}.row-link{text-align:left;max-width:220px;padding:0}.row-link strong{display:block;font-size:12px;font-weight:550}.badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;font-size:10px;white-space:nowrap}.badge:before{content:'';display:inline-block;height:4px;width:4px;border-radius:50%;background:currentColor;margin-right:5px}.badge.green{background:#edf5ec;color:#789b70}.badge.amber{background:#f8f0dd;color:#b59655}.badge.gray{background:#f1f3ed;color:#9ca58d}.empty{padding:46px 18px;display:flex;flex-direction:column;align-items:center;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;background:#f1f5ed;width:47px;height:47px;border-radius:16px;color:#a0b496;margin-bottom:16px}.empty h3{font-size:13px;color:#637b64}.empty p{font-size:11px;color:#a0aa97;margin:9px 0 17px}.empty .btn{font-size:11px;min-height:34px;padding:8px 15px}.list-toolbar{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.search-field{display:flex;align-items:center;gap:9px;flex:1;max-width:420px}.search-field>.icon{color:#9aaa9b;width:18px;height:18px}.search-field input{border:0;background:transparent;padding:6px 0;box-shadow:none!important}.segmented{display:flex;gap:4px;padding:4px;border-radius:8px;background:#f4f6f0;flex:none}.segmented button{font-size:11px;padding:7px 12px;border-radius:5px;color:#929e8a}.segmented button.active{background:white;color:#48714e;box-shadow:0 1px 4px #53684c0d}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:23px}.customer-card{padding:20px 19px 0;border:1px solid var(--line);border-radius:11px;min-width:0}.customer-top{display:flex;align-items:center;gap:10px}.customer-top>div{min-width:0}.customer-top h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.customer-top p{color:#99a28f;font-size:10px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-top .icon-btn{margin-left:auto;width:29px}.customer-phone{display:flex;align-items:center;gap:8px;font-size:12px;color:#879481;margin:20px 0 18px}.customer-phone .icon{width:15px;height:15px}.customer-numbers{display:flex;gap:20px;padding-bottom:19px}.customer-numbers div{flex:1;min-width:0}.customer-numbers span{font-size:10px;color:#a2ab98;display:block}.customer-numbers b{font-size:14px;font-weight:550;display:block;margin-top:7px;overflow-wrap:anywhere}.customer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e8;padding:12px 0;font-size:10px;color:#939f8a}.customer-bottom b{font-weight:500}.orders-summary{display:flex;gap:26px;padding:16px 22px;font-size:11px;color:#94a08c}.orders-summary b{font-weight:500;color:#567250}.orders-summary .amount-due{color:#b68a47}.report-filters{margin-bottom:24px}.filter-fields{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:16px;align-items:end;padding:0 22px 23px}.filter-fields label{margin:0}.filter-fields .btn{height:43px}.statement{padding:30px 32px}.statement-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #286c51;padding-bottom:23px}.statement-header h2{font-size:26px;letter-spacing:1.5px}.statement-header p{color:#8e9d85;font-size:11px;margin-top:10px}.statement-meta{display:flex;justify-content:space-between;gap:14px;font-size:11px;padding:20px 0;color:#95a08b;flex-wrap:wrap}.statement-meta strong{font-weight:500;color:#637a58;margin-left:10px}.statement-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e8ede1;background:#f7f9f3;border-radius:9px;padding:23px;margin:5px 0 25px}.statement-totals>div{padding-left:22px;border-left:1px solid #e4e9db}.statement-totals>div:first-child{padding-left:0;border:0}.statement-totals span{font-size:11px;color:#8b9b7e;display:block}.statement-totals strong{display:block;font-size:24px;font-weight:600;margin-top:10px;letter-spacing:-.5px;overflow-wrap:anywhere}.statement-totals .unpaid strong{color:#b18b4f}.report-table td{font-size:11px;white-space:normal;vertical-align:top;padding:17px 12px}.report-table th{padding:12px}.report-table td:first-child{min-width:150px}.report-table td:nth-child(2){min-width:150px}.statement-note{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;line-height:2;color:#99a48d;font-size:10px}.report-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px}.report-actions p{font-size:10px;color:#8d9e7e;display:flex;gap:5px;align-items:center;margin-right:auto}.report-actions p .icon{width:15px;height:15px}.bottom-nav{display:none}label{display:block;font-size:12px;font-weight:500;color:#697e60;margin-bottom:18px}label em{color:#ba905c;font-style:normal}input,select,textarea{display:block;width:100%;border:1px solid #dfe6d8;border-radius:8px;background:#fff;min-height:43px;padding:11px 12px;outline:none;color:#3c5739;transition:border-color .15s;min-width:0;font-size:13px}label input,label select,label textarea{margin-top:9px}input::placeholder,textarea::placeholder{color:#acb6a2;font-size:12px}input:focus,select:focus,textarea:focus{border-color:#8cb39b;box-shadow:0 0 0 3px #e6f0e7}textarea{resize:vertical;min-height:80px;line-height:1.6}dialog{border:1px solid #e6ecdf;background:#fff;border-radius:17px;box-shadow:0 24px 90px #18362133;padding:0;width:520px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 36px);color:var(--ink)}dialog::backdrop{background:#183d3066;backdrop-filter:blur(3px)}dialog.wide-modal{width:760px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid #eaf0e3;position:sticky;top:0;background:#fff;z-index:3}.modal-head .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:6px}.modal-head h2{font-size:20px}.modal-body{padding:24px 27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-grid .full{grid-column:1/-1}.modal-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:20px;margin-top:3px;border-top:1px solid #e8eddf}.form-error{color:var(--red);font-size:12px;line-height:1.7;margin:8px 0 14px}.form-error:empty{display:none}.draft-banner{display:flex;gap:8px;align-items:center;padding:12px 13px;margin-bottom:24px;border-radius:8px;background:#f2f6eb;color:#96a57f;font-size:11px}.draft-banner>.icon{width:16px;height:16px}.draft-banner>.text-btn{margin-left:auto;font-size:10px}.section-label{display:flex;justify-content:space-between;align-items:center;margin:9px 0 15px}.section-label h3{font-size:13px}.section-label span{font-size:10px;color:#a2ad93}.item-line{display:grid;grid-template-columns:2.4fr 1.3fr .9fr .7fr 27px;gap:9px;align-items:end;padding:14px 0;border-top:1px solid #edf1e5}.item-line label{margin:0;font-size:10px;color:#94a481}.item-line input{font-size:12px;padding:10px 9px}.item-line .icon-btn{width:28px;height:41px;color:#b4bbaa}.item-line .icon-btn .icon{width:16px;height:16px}.add-product{width:100%;border:1px dashed #cddac3;color:#83986e;border-radius:7px;padding:11px;font-size:11px;margin-top:6px}.add-product .icon{width:15px;height:15px}.order-total{display:flex;justify-content:space-between;align-items:center;padding:18px;margin:19px 0;background:#f0f5e9;border-radius:8px;color:#678450;font-size:12px}.order-total strong{font-size:22px;font-weight:600}.remaining{padding:0 0 17px 14px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:11px;color:#879975}.remaining b{font-size:17px;color:#ba9251;font-weight:600}.remaining .text-btn{width:100%;justify-content:flex-start;font-size:10px}.detail-title{display:flex;align-items:center;justify-content:space-between}.detail-title h3{font-size:20px}.detail-title p{font-size:12px;color:#95a383;margin-top:6px}.detail-meta{display:flex;gap:18px;font-size:10px;color:#a2ad92;margin:20px 0}.mini{padding:16px;margin-top:25px}.mini strong{font-size:18px}.mini>div{padding-left:15px}.settings-note{display:flex;gap:8px;font-size:11px;color:#95a384;padding:0 0 18px}.settings-note .icon{width:16px;height:16px}#toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,15px);max-width:calc(100vw - 32px);width:max-content;background:#244f3f;color:#fff;border-radius:9px;padding:12px 20px;box-shadow:0 4px 25px #1f3c3a22;z-index:100;font-size:13px;line-height:1.6;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#935840}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:30px;text-align:center}.boot h1{font-size:23px}.boot p{max-width:450px;color:#93a080;font-size:13px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.auth-story{background:#edf2e6;padding:50px 65px;display:flex;flex-direction:column;overflow:hidden;position:relative}.auth-copy{margin:auto 0;padding:45px 0 20px}.auth-copy .eyebrow{font-size:12px;letter-spacing:3px}.auth-copy h1{font-size:46px;line-height:1.5;letter-spacing:3px;font-weight:600;margin:18px 0;color:#2c6048}.auth-copy p{color:#8c9e7f;font-size:13px;line-height:2.2}.brand-art{display:block;width:320px;max-width:90%;height:245px;object-fit:cover;mix-blend-mode:multiply;margin:15px auto 0}.auth-foot{font-size:10px;color:#95a785;letter-spacing:3px}.auth-card{align-self:center;width:380px;max-width:100%;padding:45px 10px;margin:auto}.auth-card h2{font-size:27px;margin:12px 0}.auth-card>.muted{margin-bottom:29px;font-size:12px}.auth-card form label{margin-bottom:21px}.auth-card .btn{margin-top:5px;min-height:46px}.auth-note{font-size:10px;color:#a2ae95;display:flex;gap:7px;align-items:center;justify-content:center;margin-top:23px}.auth-note .icon{height:13px;width:13px}.mobile-brand{display:none}
@media(min-width:1550px){#page{padding-top:40px}.hero-banner{min-height:219px}.hero-art{width:345px;height:225px}.stat strong{font-size:31px}.hero-banner h2{font-size:31px}.customer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1190px){.sidebar{width:205px;padding:27px 16px 18px}.sidebar .brand{font-size:18px;gap:8px}.sidebar .brand img{width:37px;height:37px}.sidebar .brand small{font-size:9px}.main-shell{margin-left:205px;width:calc(100% - 205px)}#page{padding:27px 24px 0}.topbar{padding:0 24px}.page-footer{padding:25px 24px}.stats-grid{gap:11px}.stat{padding:16px 13px}.stat strong{font-size:23px}.overview-grid{grid-template-columns:minmax(0,1fr)}.overview-side{display:grid;grid-template-columns:1.3fr 1fr}.quick-card{align-self:stretch}.trend-chart{height:130px}.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-fields{grid-template-columns:1fr 1fr}.filter-fields .btn{align-self:end}.hero-art{width:245px;height:185px}.hero-banner{min-height:190px;padding:23px}.hero-banner h2{font-size:25px}.auth-story{padding:40px}.auth-copy h1{font-size:38px}.auth-card{width:340px;padding:35px 20px}.report-actions p{max-width:220px}}
@media(max-width:760px){:root{font-size:14px}.sidebar{display:none}.main-shell{margin-left:0;width:100%;padding-bottom:64px}.topbar{height:59px;padding:0 18px;background:#fff;font-size:14px;font-weight:600}.desktop-breadcrumb{display:none}.topbar-right{gap:10px;font-weight:400}.connection{font-size:10px}.topbar-right .icon-btn{width:28px;height:28px}.avatar.tiny{width:28px;height:28px}.bottom-nav{display:flex;position:fixed;inset:auto 0 0 0;background:#fff;border-top:1px solid #e4ebdd;z-index:10;padding:8px 6px max(9px,env(safe-area-inset-bottom))}.bottom-nav>button{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;color:#a2ac99;font-size:10px;padding:5px}.bottom-nav>button.active{color:#216a4d;font-weight:600}.bottom-nav .icon{width:22px;height:22px}#page{padding:22px 16px 0}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}.page-heading h1{font-size:23px;letter-spacing:-.7px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:8px}.page-heading p{font-size:11px;margin-top:8px}.page-heading>.btn{font-size:12px;padding:10px 14px;min-height:40px}.hero-banner{padding:21px 18px;margin-bottom:17px;min-height:165px;border-radius:12px}.hero-banner h2{font-size:22px;letter-spacing:0;margin:10px 0 5px}.hero-label{font-size:8px;letter-spacing:1px}.hero-banner p{font-size:10px;max-width:205px;margin-bottom:13px}.hero-art{width:135px;height:160px;margin:-10px -30px -10px -15px;opacity:.8}.hero-banner .btn{font-size:10px;min-height:31px}.stats-grid{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:19px}.stat{padding:16px 15px;border-radius:11px}.stat>div{font-size:10px}.stat>div .icon{width:16px;height:16px}.stat strong{font-size:25px;margin:14px 0 9px}.stat strong small{font-size:12px}.stat p{font-size:9px}.overview-grid{gap:16px}.overview-side{display:flex;gap:16px}.trend-chart{height:150px;padding:14px}.panel-head{padding:17px}.panel-head h2{font-size:13px}th{padding:12px 14px;font-size:10px}td{padding:16px 14px;font-size:11px}.table-scroll table{min-width:460px}.row-link strong{font-size:12px}.row-link small{font-size:9px}.page-footer{padding:24px 17px 18px;font-size:9px}.page-footer span{font-size:8px}.list-toolbar{padding:15px;gap:13px;flex-wrap:wrap}.list-toolbar .search-field{flex-basis:100%;max-width:100%;order:-1}.list-toolbar>.muted{margin-right:auto}.search-field input{font-size:12px}.customer-grid{grid-template-columns:1fr;padding:14px;gap:13px}.customer-card{padding:18px 17px 0}.customer-phone{margin:17px 0}.customer-numbers{padding-bottom:16px}.customer-numbers b{font-size:16px}.orders-summary{padding:14px 15px;gap:11px;flex-wrap:wrap;font-size:10px}.filter-fields{gap:0 12px;padding:0 16px 17px;grid-template-columns:1fr 1fr}.filter-fields label{margin-bottom:15px}.filter-fields label:first-child{grid-column:1/-1}.filter-fields>.btn{grid-column:1/-1}.report-filters .panel-head{flex-wrap:wrap}.statement{padding:22px 16px}.statement-header{padding-bottom:19px}.statement-header h2{font-size:22px}.statement-header .eyebrow{font-size:8px}.statement-header p{font-size:10px}.statement-header img{width:40px;height:40px}.statement-meta{font-size:10px;gap:11px;flex-direction:column}.statement-meta strong{margin-left:6px}.statement-totals{padding:17px 10px;gap:8px;margin:0 0 18px}.statement-totals>div{padding-left:10px}.statement-totals span{font-size:9px}.statement-totals strong{font-size:16px;letter-spacing:-.4px}.statement-note{font-size:9px;line-height:2}.report-actions{flex-wrap:wrap;gap:10px;justify-content:stretch}.report-actions p{max-width:none;flex-basis:100%;margin-bottom:2px}.report-actions .btn{flex:1;font-size:11px;padding:10px 12px}.report-table{min-width:640px!important}.report-table th,.report-table td{font-size:10px;padding:13px 10px}dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 18px);border-radius:13px}.modal-head{padding:19px}.modal-head h2{font-size:19px}.modal-body{padding:19px}.form-grid{gap:0 12px}.form-grid>label{font-size:11px}.form-grid input,.form-grid select{font-size:12px}.modal-actions{gap:10px;padding-top:17px}.modal-actions>.muted{font-size:10px}.modal-actions .btn{font-size:12px}.draft-banner{padding:10px;font-size:10px;gap:6px}.draft-banner>.text-btn{font-size:9px}.item-line{grid-template-columns:1.25fr 1fr .7fr 27px;gap:9px}.item-line .product-label{grid-column:1/4}.item-line .remove-line{grid-column:4;grid-row:1;width:27px}.item-line .unit-label{grid-column:3}.item-line label:nth-child(2){grid-column:1;grid-row:2}.item-line label:nth-child(3){grid-column:2;grid-row:2}.item-line label:nth-child(4){grid-column:3;grid-row:2}.item-line input{font-size:13px}.remaining{padding-left:5px;font-size:10px}.remaining b{font-size:15px}.mini{padding:15px 10px}.mini strong{font-size:14px}.detail-meta{gap:12px;font-size:9px;flex-wrap:wrap}#toast{bottom:86px;font-size:12px;padding:11px 15px}.auth-layout{display:block;min-height:100vh;background:#f7f9f1;padding:30px 20px}.auth-story{display:none}.auth-card{width:430px;background:white;border:1px solid #e5eddc;border-radius:18px;padding:28px 24px;margin:20px auto}.mobile-brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:650;margin-bottom:38px}.auth-card h2{font-size:24px}.auth-card>.eyebrow{font-size:10px}.auth-card>.muted{font-size:11px}.auth-card label{font-size:12px}.auth-card input{min-height:47px}.auth-card .btn{min-height:47px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff!important;color:#000}.sidebar,.topbar,.bottom-nav,.page-heading,.page-footer,.no-print,#toast,dialog{display:none!important}.main-shell{width:100%;margin:0;padding:0}#page{padding:0;max-width:none}.statement{border:0;padding:0}.statement .table-scroll{overflow:visible}.report-table{width:100%;min-width:0!important;table-layout:auto}.report-table td,.report-table th{font-size:9px;padding:10px 5px;overflow-wrap:anywhere;min-width:0!important}.report-table td small{font-size:8px}.statement-totals{break-inside:avoid}.statement-header h2{font-size:24px}.statement-note{font-size:9px}tr{break-inside:avoid}thead{display:table-header-group}.statement,.panel{overflow:visible}.statement-totals strong{font-size:21px}.statement-totals>div{padding-left:20px}.statement-meta{flex-direction:row}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.brand img,.mobile-brand img,.boot img,.statement-header img{border-radius:22%}.hero-art,.brand-art{mix-blend-mode:normal;object-fit:contain;-webkit-mask-image:radial-gradient(ellipse at center,#000 52%,transparent 77%);mask-image:radial-gradient(ellipse at center,#000 52%,transparent 77%)}.mobile-order-list{display:none}
@media(max-width:760px){.orders-table{display:none}.mobile-order-list{display:block}.mobile-order-card{width:100%;display:block;padding:17px;text-align:left;border-top:1px solid #edf1e7}.mobile-order-card:active{background:#f5f8f0}.mobile-order-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.mobile-order-top strong{font-size:14px;font-weight:550}.mobile-order-top b{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.mobile-order-products{display:block;font-size:11px;color:#8b9b81;margin-top:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mobile-order-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8d9e81;margin-top:13px}.hero-art{margin:0 -20px 0 -10px;width:125px;height:155px}.hero-banner>div{min-width:0;flex:1}.hero-banner h2{font-size:21px;white-space:nowrap}.hero-banner p{max-width:205px}}
@media print{.mobile-order-list{display:none}}

/* v1.1 customer schedules and detailed product forms */
.shipping-info{font-size:11px;color:#6b7f67;padding:17px 0 12px;overflow-wrap:anywhere}.shipping-info p{margin:3px 0}.schedule-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.schedule-chips span{font-size:10px;background:#f0f5e9;border-radius:5px;padding:5px 8px;color:#678451}.schedule-panel{margin-top:24px}.schedule-panel .panel-head{flex-wrap:wrap}.field-help{font-size:11px;line-height:1.85;color:#859776;margin:8px 0 19px}.schedule-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0;padding:18px;background:#f3f7ed;border-radius:10px}.schedule-summary span,.schedule-summary small{display:block;color:#869675;font-size:11px}.schedule-summary strong{display:block;font-size:18px;font-weight:600;margin:8px 0}.payment-order-label{margin-top:23px}.receipt-note{white-space:normal;min-width:110px;max-width:240px;overflow-wrap:anywhere}.receipt-empty{padding:16px;border:1px dashed #dae4cf;border-radius:8px}.statement-client{padding:22px 0 0}.statement-client h3{font-size:19px;margin-bottom:12px}.statement-client p{font-size:12px;color:#6b805c;overflow-wrap:anywhere}.statement-client>div{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}.statement-client p:last-child{grid-column:1/-1}.product-details{min-width:950px}.product-details td:first-child,.product-details td:nth-child(2){min-width:100px}.product-details td.description-cell{min-width:130px;white-space:pre-wrap;overflow-wrap:anywhere}.product-details tfoot td{background:#f0f5e9;font-weight:600}.item-expanded.item-line{display:block;background:#f8faf4;border:1px solid #e3ebd9;border-radius:12px;padding:15px;margin:17px 0}.product-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.product-heading h3{font-size:13px}.product-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.product-fields .product-name{grid-column:span 2}.product-fields .product-description{grid-column:1/-1}.product-fields label{color:#6f835e;font-size:11px}.product-fields input{font-size:13px}.product-fields textarea{min-height:63px}.product-fields .line-total,input[readonly]{background:#eef4e7;color:#56783d}.item-expanded .remove-line{margin:0;height:28px!important}.statement .receipt-table{white-space:normal}.statement .receipt-table td{font-size:11px;padding:13px 10px}.statement .receipt-table td:nth-child(2){overflow-wrap:anywhere;max-width:190px}
@media(max-width:760px){.product-fields{grid-template-columns:1fr 1fr;gap:12px}.item-expanded .product-fields label{grid-column:auto;grid-row:auto}.item-expanded .product-fields .product-name,.item-expanded .product-fields .product-description{grid-column:1/-1}.item-expanded.item-line{padding:13px}.product-fields input,.product-fields textarea{font-size:14px}.statement-client>div{display:block}.statement-client h3{font-size:17px}.schedule-summary{padding:14px;gap:10px}.schedule-summary strong{font-size:16px}.detail-title{gap:12px;flex-wrap:wrap}.detail-title h3{font-size:17px}.schedule-panel .panel-head>.muted{font-size:10px}.statement .statement-totals strong{font-size:15px}.statement .statement-totals span{font-size:9px}.product-details{min-width:1000px!important}}
@media print{.product-details{min-width:0!important;table-layout:fixed!important;width:100%}.product-details td,.product-details th{min-width:0!important;font-size:8px!important;padding:8px 4px!important;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.product-details td small{font-size:7px}.product-details th:first-child{width:14%}.product-details th:nth-child(4){width:16%}.product-details th:nth-last-child(2),.product-details th:last-child{width:9%}.product-details td.money{white-space:normal}.statement-client{break-inside:avoid}.statement-client p{font-size:10px}.statement .receipt-table{table-layout:fixed;width:100%;min-width:0}.statement .receipt-table td,.statement .receipt-table th{font-size:8px;padding:8px 4px;overflow-wrap:anywhere}.statement-client h3{font-size:16px}}

/* v1.2 customer and responsible-person grouping */
.customer-numbers{gap:12px;flex-wrap:wrap}.customer-numbers b{font-size:16px}.customer-profiles{margin:18px 0 8px}.profile-owner{border-top:1px solid #e5ecdf;padding:12px 0}.profile-owner summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;font-size:12px}.profile-owner summary span{color:#798d6c;font-size:11px}.profile-entry{background:#f6f9f1;border-radius:8px;padding:10px 13px;margin:8px 0;font-size:11px;color:#637755;overflow-wrap:anywhere}.profile-entry p{margin:5px 0}.profile-add{margin:8px 0 18px}.client-order-group{border-top:1px solid #dce7d2;padding:20px 0}.client-group-title{padding:0 24px 14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.client-group-title h3{font-size:18px}.client-group-title span{font-size:12px;color:#758963}.owner-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;background:#edf4e4;padding:12px 16px;border-radius:8px;font-size:12px}.owner-heading h3{font-size:15px}.owner-heading span{font-size:11px;color:#667f52}.owner-order-group{margin:12px 20px}.statement-owner{margin:25px 0}.statement-order{margin:16px 0 24px}.shipment-contact{background:#f8faf4;border-left:3px solid #92b46f;padding:12px 16px;font-size:11px;overflow-wrap:anywhere}.shipment-contact p{margin:5px 0;color:#6e825c}.shipment-contact strong{font-size:12px}.report-filters .filter-fields{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.statement-meta strong{display:block;margin-top:7px}.orders-table td:first-child small{white-space:normal;max-width:390px}
@media(max-width:1100px){.report-filters .filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters .filter-fields .btn{grid-column:1/-1}}
@media(max-width:760px){.customer-numbers b{font-size:14px}.customer-grid{grid-template-columns:1fr}.profile-owner summary{flex-wrap:wrap}.client-group-title{padding:0 16px 12px}.client-group-title h3{font-size:16px}.owner-order-group{margin:10px 6px}.owner-heading{padding:10px 12px}.statement-owner .owner-heading span{line-height:1.7}.report-filters .filter-fields{grid-template-columns:1fr}.schedule-summary{grid-template-columns:1fr}.statement-meta{gap:15px}.shipment-contact{font-size:11px}}
@media print{.owner-heading{break-after:avoid}.shipment-contact{break-inside:avoid;break-after:avoid;font-size:9px;padding:8px}.shipment-contact strong{font-size:10px}.statement-owner{margin:15px 0}.statement-order{margin:8px 0 15px}.owner-heading h3{font-size:12px}.owner-heading span{font-size:9px}.statement-meta{font-size:11px}.product-details th:first-child{width:auto}.product-details th:nth-child(4){width:auto}.product-details th:nth-child(3){width:19%}}

/* v1.3 simple sales reconciliation form */
.sales-statement{color:#24362d}.sales-title{text-align:center;font-size:25px;font-weight:650;letter-spacing:4px;margin:0 0 22px}.sales-parties{display:grid;grid-template-columns:1fr 1fr;gap:7px 22px;font-size:13px;margin-bottom:18px}.sales-parties p{margin:0;overflow-wrap:anywhere}.sales-parties strong{font-weight:600}.sales-table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse}.sales-table th,.sales-table td{border:1px solid #c4d0c6;padding:11px 8px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;font-size:12px;color:#24362d}.sales-table th{background:#edf3ee;font-weight:600}.sales-table td small{display:block;font-size:10px;margin-top:5px;color:#607165;overflow-wrap:anywhere}.sales-table .sales-spec{white-space:pre-wrap}.sales-table tfoot td{background:#edf3ee;font-weight:650}.sales-balance{padding:13px 10px;border:1px solid #c4d0c6;border-top:0;font-size:12px}.sales-remarks{display:flex;border:1px solid #c4d0c6;border-top:0;font-size:13px}.sales-remarks>strong{padding:16px;min-width:68px;border-right:1px solid #c4d0c6;display:flex;align-items:center}.sales-remarks>div{padding:10px 16px}.sales-remarks p{margin:5px 0}.sales-signature{display:grid;grid-template-columns:1fr 1fr;min-height:135px;border:1px solid #c4d0c6;border-top:0;font-size:13px}.sales-signature>div{padding:17px}.sales-signature>div+div{border-left:1px solid #c4d0c6}.brand>span{font-size:17px}.account>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.sales-title{font-size:23px;margin-bottom:17px}.sales-parties{grid-template-columns:1fr;font-size:12px}.sales-signature{grid-template-columns:1fr;min-height:170px}.sales-signature>div+div{border-left:0;border-top:1px solid #c4d0c6}.sales-remarks{font-size:12px}.sales-remarks>div{padding:8px}.sales-balance{line-height:1.9}.sales-statement{padding:18px!important}}
@media print{.sales-statement{padding:0!important;font-family:'Microsoft YaHei',sans-serif;color:#111}.sales-title{font-size:20px;letter-spacing:3px;margin-bottom:13px}.sales-parties{font-size:10px;gap:4px 14px;grid-template-columns:1fr 1fr;break-inside:avoid;margin-bottom:10px}.sales-table{min-width:0!important;width:100%;table-layout:fixed}.sales-table th,.sales-table td{font-size:10px!important;padding:6px 5px!important;border-color:#aaa;color:#111;line-height:1.45}.sales-table td small{font-size:8px!important;color:#333}.sales-table thead{display:table-header-group}.sales-table tfoot{display:table-row-group}.sales-table tr{break-inside:avoid}.sales-balance{font-size:10px;padding:8px;break-inside:avoid;break-after:avoid}.sales-remarks{font-size:10px;break-inside:avoid;break-after:avoid}.sales-remarks>strong{padding:10px;min-width:60px}.sales-remarks>div{padding:6px 12px}.sales-remarks p{margin:4px 0}.sales-signature{grid-template-columns:1fr 1fr;min-height:88px;font-size:10px;break-inside:avoid}.sales-signature>div{padding:12px}.sales-signature>div+div{border-top:0;border-left:1px solid #aaa}}



.sales-table col:nth-child(1){width:5%}.sales-table col:nth-child(2){width:19%}.sales-table col:nth-child(3){width:16%}.sales-table col:nth-child(4){width:27%}.sales-table col:nth-child(5){width:6%}.sales-table col:nth-child(6){width:6%}.sales-table col:nth-child(7){width:10%}.sales-table col:nth-child(8){width:11%}
.sales-parties .sales-client{grid-column:1/-1}.sales-contacts{margin-left:20px;overflow-wrap:anywhere}
@media(max-width:760px){.sales-contacts{display:block;margin:6px 0 0}}
@media print{.sales-contacts{display:inline;margin-left:16px}}

/* v1.4 optional merging of statements */
.report-filters .filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.report-mode{grid-column:1/-1;display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:12px 15px;background:#f1f6ec;border-radius:8px}.report-mode .merge-toggle{display:flex;align-items:center;gap:9px;margin:0;font-size:14px;color:#285a43;cursor:pointer}.report-mode input[type=checkbox]{appearance:auto;accent-color:#176f59;width:20px;height:20px;margin:0;min-height:0;padding:0}.report-mode .field-help{margin:0}.sales-scope{overflow-wrap:anywhere}
@media(max-width:1100px){.report-filters .filter-fields .btn{grid-column:auto}}
@media(max-width:760px){.report-filters .filter-fields{grid-template-columns:1fr}.report-mode{gap:7px}.report-mode .field-help{width:100%}}

/* v1.5 order references and due dates */
.product-fields select{font-size:13px;padding:10px 9px}.order-due{display:block;font-size:10px;margin-top:7px;color:#758963}.mobile-order-products{overflow-wrap:anywhere}
@media(max-width:760px){.product-fields select{font-size:14px}}
