*{box-sizing:border-box}body{color:#192c2b;background:#f5f6f8;margin:0;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:#fff;border:1px solid #dce4e1;border-radius:10px;min-height:44px;padding:11px 16px}button:hover{background:#edf5f1}button:disabled{opacity:.5;cursor:wait}a{color:#146d55;text-decoration:none}input,select,textarea{color:#1b302e;background:#fff;border:1px solid #d8e0df;border-radius:9px;width:100%;min-width:0;padding:12px;font-size:16px}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #359b80}small{color:#7a8986;font-size:12px}p{color:#71807d;font-size:14px;line-height:1.6}h1{letter-spacing:-1px;margin:12px 0;font-size:30px}h2{margin:0 0 8px;font-size:20px}h3{font-size:17px}aside{background:#fff;border-right:1px solid #e3e8e6;flex-direction:column;width:225px;padding:32px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;font-size:21px;font-weight:700;display:flex}.brand>b{color:#fff;background:#146d55;border-radius:13px;padding:9px 13px;font-size:24px}.brand small{letter-spacing:1.6px;margin-top:7px;font-size:9px;display:block}nav{gap:10px;margin-top:56px;display:grid}nav button{text-align:left;color:#7a8885;background:0 0;border:0}nav button span{width:34px;display:inline-block}nav .active{color:#146d55;background:#e9f4ee;font-weight:700}.sidefoot{color:#6e827a;margin-top:auto;font-size:13px;line-height:2}main{max-width:1500px;margin-left:225px;padding:40px 44px 80px}header,.toolbar,.sectionhead,.row,.actions,.listrow{justify-content:space-between;align-items:center;gap:14px;display:flex}.eyebrow{color:#83918d;letter-spacing:1px;font-size:12px}.toolbar{justify-content:flex-start;margin:25px 0}.toolbar input,.toolbar select{width:auto;max-width:180px}.cloud{color:#2b8569;margin-left:auto;font-size:12px}.metrics{grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 34px;display:grid}.metrics>div{background:#fff;border:1px solid #e4e9e7;border-radius:14px;padding:24px}.metrics strong{margin-top:18px;font-size:32px;display:block}.metrics em{color:#86958f;margin:0 5px;font-size:14px;font-style:normal}.card{background:#fff;border:1px solid #e1e7e3;border-radius:14px;margin:18px 0;padding:24px}.sectionhead{margin:18px 0}.sectionhead p{margin:0}.primary{color:#fff;background:#166b54;border-color:#166b54}.primary:hover{background:#125941}.quiet{background:0 0}.empty{text-align:center;background:#fff;border:1px dashed #cbd8d1;border-radius:14px;margin:20px 0;padding:55px 20px}.empty>div{color:#9bbdaf;font-size:35px}.orders{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.orders .card{margin:0}.badge{color:#9b7629;background:#fff3db;border-radius:6px;padding:6px 10px;font-size:12px;display:inline-block}.green{color:#33775b;background:#e5f2e9}.muted{color:#98a49f}.tags{flex-wrap:wrap;gap:8px;display:flex}.tags span{background:#f2f5f3;border-radius:6px;padding:7px 10px;font-size:13px}.actions{border-top:1px solid #edf0ee;flex-wrap:wrap;justify-content:flex-start;padding-top:16px;font-size:13px}.actions a{margin-right:auto}.stock{color:#1e8261}.tablewrap{background:#fff;border:1px solid #e3e8e5;border-radius:14px;margin-top:18px;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th,td{text-align:left;border-bottom:1px solid #eef0ee;padding:17px 22px}th{color:#708279;background:#eef3ef;font-size:12px}td small,.listrow small{margin-top:6px;display:block}.listrow{border-bottom:1px solid #edf0ee;padding:16px 0}.search{max-width:450px}.grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.field{margin:0 0 18px;display:block}.field>span{color:#5e7268;margin-bottom:9px;font-size:13px;display:block}.hint{background:#f2f5ef;border-radius:9px;padding:12px 15px}.notice{color:#79571c;background:#fff0d7;border:1px solid #eddbb9;border-radius:8px;margin:12px 0;padding:13px}.overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:5;background:#132c2b66;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:20px;width:620px;max-height:92dvh;padding:28px;overflow:auto}.dialog>.sectionhead{margin-top:0}.full{width:100%;margin-top:12px}.computed{color:#1c7557;background:#e7f3eb;border-radius:9px;padding:14px;font-weight:700}.suggest{border:1px solid #dde8e1;max-height:230px;overflow:auto}.suggest button{text-align:left;border:0;border-bottom:1px solid #edf0ee;border-radius:0;width:100%;display:block}.item{align-items:center;gap:10px;padding:12px 0;display:flex}.item b{flex:1;font-size:14px}.item input{width:85px}.check{align-items:center;gap:10px;margin:18px 0;display:flex}.check input{width:20px;height:20px}@media (max-width:1050px){aside{width:180px;padding:24px 15px}main{margin-left:180px;padding:30px 24px}.orders{grid-template-columns:1fr}.brand{font-size:17px}.metrics>div{padding:18px}.metrics strong{font-size:27px}}@media (max-width:650px){aside{z-index:3;background:#fff;border-top:1px solid #e1e8e3;width:100%;height:76px;padding:0;inset:auto 0 0}.brand,.sidefoot{display:none}nav{height:100%;padding-bottom:env(safe-area-inset-bottom);gap:0;margin:0;display:flex}nav button{text-align:center;border-radius:0;width:25%;padding:8px;font-size:12px}nav button span{width:auto;margin-bottom:4px;font-size:20px;display:block}main{margin:0;padding:26px 16px 100px}h1{font-size:24px}.toolbar{gap:8px}.toolbar input,.toolbar select{max-width:145px;padding:10px}.cloud{display:none}.metrics{gap:8px;margin:20px 0}.metrics>div{padding:15px 10px}.metrics small{font-size:10px}.metrics strong{margin-top:13px;font-size:23px}.metrics em{font-size:11px}.sectionhead{align-items:flex-start}.sectionhead p{max-width:200px;font-size:12px}.sectionhead button{white-space:nowrap;padding:10px}.card{padding:18px}.grid{gap:10px}.overlay{align-items:flex-end;padding:0}.dialog{border-radius:20px 20px 0 0;width:100%;max-height:95dvh;padding:24px 18px 35px}.listrow{gap:10px}.listrow button{font-size:12px}th,td{padding:14px}.empty{padding:40px 15px}}.remaining{margin-top:5px;font-weight:400;display:block}.suggest:empty{display:none}.categoryList{max-height:40vh;margin-top:18px;overflow:auto}.categoryList .listrow{padding:10px 2px}.categoryList button{min-height:38px;padding:8px 14px}.report-controls{justify-content:space-between;align-items:center;gap:16px;margin:24px 0;display:flex}.report-controls p{margin:0}.report-buttons{flex-wrap:wrap;gap:8px;display:flex}.report-buttons select{width:auto}.report-paper{color:#172d25;background:#fff;border:1px solid #d9e2dd;border-radius:12px;padding:28px}.report-title{border-bottom:2px solid #1b644d;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:18px;display:flex}.report-kicker{letter-spacing:2px;color:#587167;font-size:11px}.report-title h2{margin:10px 0;font-size:26px}.report-title p{margin:0;font-size:12px}.report-page{text-align:right;white-space:nowrap;font-size:14px;line-height:1.8}.report-tables{grid-template-columns:1fr 1fr;align-items:start;gap:20px;display:grid}.report-tables table{white-space:normal;table-layout:fixed}.report-tables th,.report-tables td{overflow-wrap:anywhere;color:#253d31;border:1px solid #dce5df;padding:10px 8px;font-size:13px}.report-tables th{background:#eaf2ed}.report-tables th:first-child{width:27%}.report-tables th:last-child{text-align:right;width:23%}.report-tables td:last-child{text-align:right}.report-tables td small{color:#536359;margin-left:5px;font-size:10px;display:inline}.report-tables tbody tr:nth-child(2n){background:#f7f9f7}.report-paper footer{color:#587167;border-top:1px solid #dce5df;margin-top:22px;padding-top:14px;font-size:11px}.report-paging{justify-content:center;align-items:center;gap:20px;margin-top:18px;display:flex}.report-image-dialog{width:900px}.report-image-dialog img{width:100%;height:auto;margin-top:16px;display:block}.report-download{background:#eaf2ed;border-radius:8px;padding:12px;display:inline-block}.shell:has(.report-clean)>aside{display:none}.shell:has(.report-clean)>main>header{display:none}.shell:has(.report-clean)>main{margin:0;max-width:1100px;margin-inline:auto;padding:16px}.report-clean .report-controls>div:first-child{display:none}.report-clean .report-controls{justify-content:flex-end;margin:0 0 12px}.report-clean .report-paper{border-radius:0}.report-view .notice{margin-bottom:16px}@media (max-width:850px){.report-controls{flex-direction:column;align-items:flex-start}.report-buttons{width:100%}.report-paper{padding:18px}.report-tables{gap:12px}.report-tables th,.report-tables td{padding:8px 6px;font-size:12px}}@media (max-width:650px){nav button{width:20%;padding:8px 2px;font-size:11px}.report-tables{grid-template-columns:1fr}.report-title h2{font-size:21px}.report-title{align-items:flex-start}.report-page{font-size:12px}.report-paper{padding:14px}.report-buttons button{padding:10px;font-size:13px}.report-buttons select{flex:1}.report-tables th,.report-tables td{font-size:14px}.report-clean .report-controls{align-items:stretch}.sectionhead:has(.actions){flex-wrap:wrap}}@media print{aside,main>header,.report-controls,.report-paging,.notice{display:none!important}.report-view main{max-width:none;margin:0;padding:0}.report-paper{border:0;padding:0}.report-tables{grid-template-columns:1fr 1fr}.report-paper{break-inside:avoid}body{background:#fff}}.report-tables{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shell:has(.report-clean)>main{max-width:1500px}.report-view main{max-width:1700px}.report-tables th,.report-tables td{padding:8px 6px}@media (min-width:651px) and (max-width:1000px){.report-tables th,.report-tables td{padding:7px 4px;font-size:11px}.report-paper{padding:12px}.report-tables{gap:8px}}@media (max-width:650px){.report-tables{grid-template-columns:1fr}.report-tables th,.report-tables td{padding:8px;font-size:14px}}@media print{.report-tables{grid-template-columns:repeat(3,minmax(0,1fr))}}.report-category-grid{gap:24px 16px}.report-category{break-inside:avoid;border:1px solid #dce5df;border-radius:8px;min-width:0;overflow:hidden}.report-category-heading{color:#fff;background:#173e33;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.report-category-heading h3{overflow-wrap:anywhere;margin:0;font-size:17px}.report-category-heading span{white-space:nowrap;color:#d6e8de;font-size:12px}.report-category table th:first-child{width:73%}.report-category table th:last-child{width:27%}.report-category table td:first-child{text-align:left}.report-category table th,.report-category table td{border-left:0;border-right:0;padding:9px 10px;font-size:13px}.report-category table tr:last-child td{border-bottom:0}@media (max-width:1000px) and (min-width:651px){.report-category-heading{padding:10px}.report-category-heading h3{font-size:15px}.report-category table th,.report-category table td{padding:8px 6px;font-size:12px}}@media (max-width:650px){.report-category table th,.report-category table td{font-size:14px}}.report-save-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.report-image-dialog img{-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}.report-save-actions a{min-height:44px}.driver-balances{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.driver-balance{text-align:left;background:#fff;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;display:flex}.driver-balance>b{font-size:19px}.driver-balance strong{color:#166b54;margin-top:6px;font-size:22px;display:block}.driver-balance.selected{background:#edf6f0;outline:2px solid #166b54}.expense-filters{flex-wrap:wrap;gap:10px;display:flex}.expense-filters select{flex:1;min-width:150px}.expense-order-ref{background:#f1f6f3;border-left:3px solid #78a58e;margin-top:10px;padding:9px 12px;font-size:12px}.expense-order-ref span{margin-top:6px;display:block}.expense-entry{align-items:flex-start}.expense-entry>div{overflow-wrap:anywhere;min-width:0}.expense-entry>button,.expense-entry>.badge{flex-shrink:0}.purchase-order{background:#edf5ef;border-radius:10px;margin-bottom:18px;padding:16px}.purchase-order p{margin:6px 0}.purchase-line{border:1px solid #dce5df;border-radius:12px;margin:14px 0;padding:16px}.purchase-line .sectionhead{margin-top:0}.purchase-line .field:last-child{margin-bottom:0}.order-purchases{background:#f1f6f3;border-radius:8px;margin-bottom:14px;padding:12px}.order-purchases small{color:#4a6558;margin-top:8px;display:block}@media (max-width:1100px){.driver-balances{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.driver-balance{padding:14px}.driver-balance strong{font-size:20px}.expense-entry{flex-wrap:wrap}.purchase-line{padding:12px}}.driver-profile{border-bottom:1px solid #edf0ee;padding:18px 0}.driver-profile:last-child{border-bottom:0}.driver-profile h3{margin:0 0 16px}.driver-order-profile{color:#52635e;background:#f7faf8;border:1px solid #e3ece7;border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px 14px;margin:12px 0 14px;padding:11px 13px;font-size:13px;display:flex}.driver-order-profile b{color:#146d55;margin-right:2px}.driver-order-profile span{white-space:nowrap}.inventory-filters{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.inventory-filters .search{flex:1;min-width:220px}.month-picker{color:#61716b;align-items:center;gap:8px;font-size:13px;display:flex}.month-picker input{width:auto}.member-form{align-items:end}.member-form .field{margin-bottom:0}.member-form button{min-width:130px}.role-guide{color:#64746d;background:#f3f7f4;border-radius:10px;gap:8px;margin-top:18px;padding:15px;font-size:13px;display:grid}.role-guide b{color:#29483c}.audit-entry{align-items:flex-start}.audit-entry>div{overflow-wrap:anywhere;min-width:0}@media (max-width:650px){nav button{width:16.6667%;padding:8px 1px;font-size:10px}nav button span{font-size:18px}.driver-profile .grid{grid-template-columns:1fr 1fr}.inventory-filters .search{min-width:100%}.month-picker{justify-content:space-between;width:100%}.member-form{grid-template-columns:1fr}.member-form button{width:100%}}.auth-screen{background:#f3f6f4;place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #dfe7e2;border-radius:20px;width:min(100%,460px);padding:34px;box-shadow:0 18px 55px #193b2b12}.auth-brand{color:#173e33;align-items:center;gap:12px;margin-bottom:34px;display:flex}.auth-brand>b{background:#eaf3ed;border-radius:14px;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:18px}.auth-brand small{color:#75847c;letter-spacing:1.5px;margin-top:3px;font-size:10px}.auth-card h1{color:#1a2d24;margin:0 0 10px;font-size:27px}.auth-card>p{color:#68766f;margin:0 0 24px;line-height:1.65}.auth-card form{gap:16px;display:grid}.auth-card .field{margin:0}.auth-submit{width:100%;margin-top:4px}.auth-help{text-align:center;margin:18px 0 0!important;font-size:13px!important}.header-actions{align-items:center;gap:8px;display:flex}.signed-user{color:#68766f;margin-right:4px;font-size:12px}.account-row{align-items:center}.account-row .actions{justify-content:flex-end}.account-row small{overflow-wrap:anywhere}@media (max-width:650px){.auth-card{border-radius:16px;padding:25px 20px}.auth-screen{padding:14px}.auth-card h1{font-size:24px}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:5px}.header-actions .quiet{padding:8px 10px;font-size:12px}.signed-user{display:none}.account-row{flex-direction:column;align-items:flex-start}.account-row .actions{justify-content:flex-start}.account-row .actions button{padding:8px 10px;font-size:12px}}
