:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#303b2e;background:#f6f7f1;font-synthesis:none;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dfe4d6;color:#44543a;background:#fff;padding:8px 15px;border-radius:7px;white-space:nowrap}button:hover{background:#f0f4e9}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid #9eaf83;outline-offset:2px}input,select,textarea{border:1px solid #dce2d3;background:#fff;border-radius:6px;padding:10px 12px;max-width:100%;color:#303b2e}input[type=checkbox]{width:17px;height:17px;accent-color:#657f43}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.35;letter-spacing:.5px;margin-bottom:10px}h2{font-size:18px;margin-bottom:12px}h3{font-size:15px}small,.small{font-size:12px}.muted,small{color:#7a8374}.primary{background:#657f43;border-color:#657f43;color:#fff}.primary:hover{background:#536d34}.danger{color:#9c5445;background:#fcf3ef;border-color:#e5c8bc}.full{width:100%}.text{padding:5px;border:0;background:transparent;color:#637e45}.badge{display:inline-block;background:#edf2e5;color:#5b703e;border-radius:5px;padding:3px 8px;font-size:12px}.eyebrow{letter-spacing:2px;font-size:10px;color:#859571;margin-bottom:12px}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 20%,#e3ead8,transparent 60%),#fcfbf5}.login-card{width:390px;background:#fffef9;padding:36px;border:1px solid #e0e6d6;border-radius:16px}.monogram{font:italic 52px Georgia;color:#718453}.login-card .small{text-align:center;margin:20px 0 0}.app-shell{display:flex;min-height:100vh}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:#fcfcf7;border-right:1px solid #e4e8dd;display:flex;flex-direction:column;padding:30px 24px;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px}.brand>span{font:italic 40px Georgia;color:#6e824e}.brand small{display:block;font-size:8px;letter-spacing:2px}.workspace{background:#edf1e5;border:1px solid #e2e6d8;border-radius:8px;padding:15px 13px;margin-top:30px}.workspace small{display:block;font-size:11px;margin-top:3px}.nav-title{font-size:11px;color:#939a8a;margin:30px 12px 12px}nav{display:grid;gap:5px}nav button{text-align:left;border:0;background:transparent;display:flex;gap:14px;padding:12px 14px;color:#748069}nav button.active{background:#e9efdd;color:#526d34;font-weight:600}nav button span{width:18px;text-align:center;font-size:18px;line-height:1.2}.sidebar footer{display:flex;gap:10px;align-items:center;margin-top:auto;font-size:12px}.sidebar footer small{display:block}.avatar{border-radius:50%;background:#e8eddf;font:italic 20px Georgia;padding:7px 11px;color:#718453}.main{margin-left:226px;flex:1;min-width:0}.topbar{height:68px;border-bottom:1px solid #e4e8dd;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#8a9382;background:#fafbf6}.topbar i{font-style:normal;margin:0 15px;color:#c2c9b8}.env{border:1px solid #e1e7d7;padding:4px 9px;border-radius:5px}main{padding:35px 38px 60px;max-width:1750px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:15px}.page-head p{margin-bottom:0}.page-head .eyebrow{margin-bottom:12px}.actions{display:flex;gap:9px}.panel{background:#fff;border:1px solid #e2e6dc;border-radius:10px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px}.panel-head h2{margin:0}.panel-head h2 small{font-weight:400;margin-left:10px}.status-tabs{display:flex;gap:25px;margin:0 24px;border-bottom:1px solid #e9ece3}.status-tabs button{border:0;border-radius:0;background:transparent;padding:10px 0;color:#808a75}.status-tabs button.active{color:#607b3e;border-bottom:2px solid #7e9556;font-weight:600}.filters{display:flex;gap:10px;padding:19px 24px;flex-wrap:wrap}.filters input:first-child{flex:1;min-width:170px}.filters input[type=date]{width:150px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#8d9585;background:#f7f9f2;font-weight:400;padding:13px 18px;border-bottom:1px solid #e8ecdf}td{padding:18px;border-bottom:1px solid #edf0e7;vertical-align:top}td small,td>b{display:block}td small{margin-top:4px}td button{font-size:12px}.order-table{min-width:850px}.order-table .meta-row td{background:#f5f7ed;padding:7px 18px;font-size:10px;color:#8b947f}.meta-row b{font-weight:500;color:#737f65;margin-left:6px}.meta-row span{margin-left:30px}.product-cell{display:flex;gap:11px;align-items:center}.product-cell img{width:54px;height:54px;object-fit:cover;border-radius:7px;background:#f5f3e8}.product-cell b{font-size:13px}.product-cell small{font-size:11px}.note{font-size:11px;margin:10px 0 0;color:#8a927f;max-width:230px;overflow-wrap:anywhere}.price{color:#5e7541;font-size:16px}.pagination{display:flex;justify-content:space-between;padding:15px 22px;font-size:12px;color:#8c9582}.pagination>div{display:flex;align-items:center;gap:13px}.pagination button{padding:5px 10px}.empty{padding:60px 25px;text-align:center;color:#8a947d;flex:1;grid-column:1/-1}.empty h3{color:#5e6c50}.setting-tabs{display:flex;gap:12px;margin-bottom:20px}.setting-tabs button.active{background:#657f43;color:#fff}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.form-panel{padding:6px 26px 22px}.form-panel .panel-head{padding:20px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.form-grid .wide{grid-column:1/-1}.form-footer{display:flex;gap:12px;justify-content:flex-end;padding-top:22px;margin-top:18px;border-top:1px solid #e6eadf}.help-panel{padding:24px;align-self:start;font-size:12px;line-height:1.9;color:#7d8771}.help-panel ul{padding-left:17px}.help-panel h3{color:#4e6240}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card>img{width:100%;height:200px;object-fit:cover;background:#faf8ee}.product-card>div{padding:20px}.product-card h2{margin:10px 0}.product-card p{font-size:13px}.product-card p b{float:right}.thumb{width:90px;height:55px;object-fit:cover;vertical-align:middle;margin-right:16px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1b281f44;display:flex;justify-content:flex-end;z-index:10}.drawer{width:500px;max-width:100%;background:#fcfcf8;height:100%;overflow-y:auto;padding:26px}.drawer header,.modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.drawer header h2{font-size:25px;margin:5px 0}.mono{font:12px monospace;color:#7c866f;overflow-wrap:anywhere}.detail-section{border-top:1px solid #e0e6d8;padding:22px 0 12px}.detail-section p{font-size:14px}.drawer-actions{display:flex;gap:10px;flex-wrap:wrap}.modal-layer,.confirm-layer{justify-content:center;align-items:center;background:#1b281f66;z-index:20;padding:20px}.confirm-layer{z-index:30}.modal{background:#fffef9;border-radius:12px;width:650px;max-width:100%;max-height:92vh;overflow:auto;padding:26px}.modal.compact{width:440px}.modal header h2{margin:0}.sku-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.sku-row>input{min-width:0;flex:1}.inline{flex-direction:row;align-items:center}.preview-image{width:100%;height:160px;object-fit:contain;background:#f7f6ed;border-radius:8px}.error{color:#a6503e;background:#fff0ea;border:1px solid #f2d6cb;padding:12px;border-radius:6px}.success{color:#59773c;background:#edf4e5;padding:12px;border-radius:6px}.alert{margin:0 0 20px;display:flex;justify-content:space-between}.alert button{padding:0 5px;background:none;border:0}@media(max-width:1100px){.sidebar{width:190px;padding:25px 16px}.main{margin-left:190px}main{padding:25px 22px}.settings-layout{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{align-items:flex-start}.actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:700px){.sidebar{width:62px;padding:15px 6px}.brand{justify-content:center}.brand div,.workspace,.nav-title,.sidebar footer{display:none}nav button{font-size:0;justify-content:center;padding:13px 8px}nav button span{font-size:19px}.main{margin-left:62px}.topbar{padding:0 16px}.env{font-size:9px}main{padding:22px 14px}.page-head{display:block}.actions{justify-content:flex-start;margin-top:16px}.form-grid,.product-grid{grid-template-columns:1fr}.setting-tabs{flex-wrap:wrap}.panel-head{padding:16px}.status-tabs{gap:17px;overflow:auto;margin:0 16px}.filters{padding:16px}.login-card{width:min(390px,92vw)}}.drawer-actions{position:sticky;bottom:-26px;background:#fcfcf8;border-top:1px solid #e0e6d8;padding:18px 0;margin-top:18px;z-index:1}.drawer-actions:empty{display:none}.drawer header{position:sticky;top:-26px;background:#fcfcf8;z-index:2;padding:12px 0;border-bottom:1px solid #e0e6d8}.drawer .detail-section p{overflow-wrap:anywhere}
