*{box-sizing:border-box}body{margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;background:#fff8eb;color:#243029}button,input,select{font:inherit}button{border:0;cursor:pointer}.shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{padding:24px;background:#1f7a3f;color:#fff}.brand{display:flex;gap:12px;align-items:center;margin-bottom:34px}.brand-mark{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#ffef4d;color:#1f7a3f;font-weight:900;font-size:24px}.brand strong,.brand span{display:block}.brand span{margin-top:3px;color:#ffffffc2;font-size:13px}.sidebar button{width:100%;height:44px;margin-bottom:10px;border-radius:8px;background:#ffffff1f;color:#fff;text-align:left;padding:0 14px}.sidebar button.active{background:#ffef4d;color:#1f7a3f;font-weight:800}main{padding:28px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h1{margin:0;font-size:30px}p{margin:6px 0 0;color:#68746d}.refresh,.save,.light{height:40px;padding:0 18px;border-radius:8px;font-weight:800}.refresh,.save{background:#ff6b2b;color:#fff}.light{border:1px solid #e8dfcc;background:#fffefa;color:#435047}.panel{background:#fff;border-radius:8px;padding:20px;box-shadow:0 14px 36px #ff702b1f}.form-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px}input,select{height:40px;border:1px solid #e8dfcc;border-radius:8px;padding:0 10px;background:#fffefa;min-width:0}.image-upload{min-height:40px;display:flex;align-items:center;gap:10px;border:1px solid #e8dfcc;border-radius:8px;padding:0 10px;background:#fffefa;overflow:hidden}.image-upload input{width:102px;height:auto;border:0;padding:0;background:transparent}.image-upload span{color:#68746d;font-size:13px;white-space:nowrap}.image-preview{display:flex;align-items:center;gap:12px;margin:-8px 0 22px;color:#68746d;word-break:break-all}.image-preview img{width:76px;height:76px;border-radius:8px;object-fit:cover;border:1px solid #f0e4cc}.table{border:1px solid #f0e4cc;border-radius:8px;overflow:hidden}.tr{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:12px;align-items:center;min-height:58px;padding:10px 14px;border-top:1px solid #f0e4cc}.tr:first-child{border-top:0}.head{min-height:44px;background:#e9ffcf;color:#237a24;font-weight:900}.with-img{display:flex;align-items:center;gap:10px;font-weight:800}.with-img img{width:46px;height:46px;border-radius:8px;object-fit:cover}.tr button{height:32px;border-radius:6px;background:#ffef4d;color:#714100;font-weight:800}.points .tr{grid-template-columns:1.6fr .8fr 1fr .8fr 1.4fr}.orders .tr{grid-template-columns:1.4fr 2fr .7fr .9fr .8fr 1.3fr}.statistics .tr{grid-template-columns:1.4fr .9fr .6fr .8fr}.stats-toolbar{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr)) repeat(3,auto);gap:12px;align-items:end;margin-bottom:18px}.stats-toolbar label{display:grid;gap:6px;color:#68746d;font-size:13px;font-weight:800}.stats-toolbar button{min-width:76px}.print-title{display:none}.order-items{color:#435047;line-height:1.5}.stats-list{display:grid;gap:18px}.stats-day{border:1px solid #f0e4cc;border-radius:8px;overflow:hidden}.stats-day-head{min-height:52px;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;background:#fff7de}.stats-day-head strong{font-size:18px}.stats-day-head span{color:#c44d1c;font-weight:900}.stats-day .table{border:0;border-radius:0}.empty{min-height:120px;display:grid;place-items:center;color:#68746d}.actions{display:flex;gap:8px}@media (max-width: 980px){.shell{grid-template-columns:1fr}.sidebar{display:flex;gap:10px;align-items:center;overflow-x:auto}.brand{margin-bottom:0;min-width:220px}.sidebar button{min-width:110px;margin-bottom:0;text-align:center}.form-grid,.stats-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.image-upload span{white-space:normal}.tr,.orders .tr,.points .tr,.statistics .tr{grid-template-columns:1fr}.stats-day-head{align-items:flex-start;flex-direction:column}}@media print{body{background:#fff;color:#000}.shell{display:block;min-height:0}.sidebar,header,.no-print{display:none!important}main{padding:0}.panel{padding:0;box-shadow:none;border-radius:0}.print-title{display:block;margin-bottom:18px;text-align:center}.print-title h2{margin:0;font-size:22px}.print-title p{margin-top:6px;color:#333}.stats-list{gap:14px}.stats-day,.table{break-inside:avoid;border-color:#999}.tr{min-height:0;border-color:#999;padding:8px 10px}.head,.stats-day-head{background:#f1f1f1;color:#000;print-color-adjust:exact;-webkit-print-color-adjust:exact}.stats-day-head span{color:#000}}
