:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#203d33;background:#f6f8f5;font-synthesis:none;--green:#13765e;--line:#e3e9e2;--muted:#718176;--soft:#edf5ef;--amber:#95642d}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed}button,input,textarea,select{outline-offset:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #85b7a6}button{border:0;border-radius:10px;background:transparent;color:inherit;min-height:44px;padding:10px 16px}input,textarea,select{border:1px solid #d9e2d8;border-radius:9px;background:white;padding:12px;color:#203d33;min-height:46px}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}button:hover{filter:brightness(.97)}h1,h2,h3,p{margin:0}.header{max-width:1536px;margin:auto;padding:24px 36px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center}.brand h1{font-size:23px;letter-spacing:1px}.brand span{font-size:12px;color:var(--muted);display:block;margin-top:4px}.quiet{font-size:14px;background:#fff;border:1px solid var(--line)}.workspace{max-width:1536px;margin:0 auto;display:grid;grid-template-columns:190px minmax(400px,1fr) 294px;gap:30px;padding:32px 36px}.sidebar{padding-top:4px}.eyebrow{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:1px;margin-bottom:13px}.sidebar nav{display:grid;gap:8px}.group-btn{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;padding:15px 14px;font-size:16px;color:#65766b}.group-btn[aria-current=true]{color:var(--green);background:#e5efe6;font-weight:650}.group-btn small{font-size:12px;opacity:.65;font-weight:400}.side-note{display:flex;gap:8px;font-size:12px;line-height:1.8;color:#64796c;border-top:1px solid var(--line);margin-top:32px;padding-top:22px}.side-note p{font-size:11px;color:#87918a;margin-top:8px}.status-dot{background:#619c6b;width:6px;height:6px;flex:0 0 6px;border-radius:50%;margin-top:8px}.main-panel{min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.page-heading .eyebrow{margin-bottom:5px;color:var(--green)}h2{font-size:28px;letter-spacing:.5px}.date-label{font-size:11px;color:var(--muted);display:grid;gap:4px}.date-label input{padding:9px 10px;min-height:40px;font-size:13px;min-width:145px}.voice-banner{background:#e9f1e7;border:1px solid #e1eadf;border-radius:15px;padding:20px;display:flex;align-items:center;gap:13px;margin-bottom:23px}.voice-icon{display:grid;place-items:center;border-radius:50%;background:#fff;width:46px;height:46px;color:var(--green);flex:0 0 46px}.voice-copy{flex:1}.voice-copy h3{font-size:16px;margin-bottom:6px}.voice-copy p{font-size:12px;color:#72836f}.primary{background:var(--green);color:white;font-weight:600;box-shadow:0 3px 7px #13765e0c}.voice-banner .primary{font-size:13px;white-space:nowrap;padding:11px 13px}.voice-banner .primary span{margin-left:5px}.outline{background:#fff;border:1px solid #d8e2d7;font-weight:500}.toolbar{display:flex;gap:12px;margin-bottom:20px}.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);padding:0 12px;border-radius:10px;flex:1;color:#91a08f;min-width:0}.search input{padding:12px 0;border:0;outline:0;width:100%;min-height:46px;background:transparent;font-size:14px}.toolbar button{font-size:13px;white-space:nowrap}.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.segments{display:flex;gap:6px}.segments button{font-size:13px;min-height:37px;padding:8px 10px;color:#829080}.segments button[aria-pressed=true]{color:#2e5039;background:#e9eee6;font-weight:600}.segments span{font-size:11px;margin-left:4px;opacity:.7}.text-button{font-size:12px;color:#7c897b;padding:5px 8px;min-height:36px}.column-caption{display:flex;justify-content:space-between;color:#a0aa9c;font-size:11px;padding:4px 20px 12px}.products{display:grid;gap:10px}.product{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:17px 18px;transition:background .12s,border-color .12s}.product.chosen{background:#f2f7f0;border-color:#c8dbc8}.product-main{min-width:0;flex:1}.product-name{font-size:15px;font-weight:560;line-height:1.55;word-break:break-word}.product-meta{font-size:11px;color:#8a9786;display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:6px}.product-meta .edit{font-size:11px;padding:0;min-height:24px;color:#7c8e76;text-decoration:underline;text-underline-offset:3px}.product-meta .needs{color:var(--amber)}.stepper{display:flex;align-items:center;background:#f5f7f2;border:1px solid #e5eadf;border-radius:9px;flex-shrink:0;height:39px;overflow:hidden}.chosen .stepper{background:white;border-color:#cadcc6}.stepper button{min-height:37px;width:36px;padding:0;border-radius:0;font-size:21px;color:#75906c}.stepper input{border:0;border-radius:0;padding:0;width:39px;min-height:37px;text-align:center;background:transparent;font-size:15px;color:#426235}.quantity-area{text-align:right}.item-subtotal{font-size:10px;color:#7c9275;margin-top:6px;min-height:13px}.summary{align-self:start;position:sticky;top:24px;border:1px solid #dfe7db;border-radius:17px;background:#fff;padding:23px 22px}.summary-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;margin-bottom:26px}.pill{background:#edf3e9;color:#62805a;border-radius:6px;font-size:10px;padding:5px 8px}.amount-label{color:#88947e;font-size:12px}.grand-amount{display:flex;gap:6px;align-items:baseline;margin-top:7px;color:#214b35}.grand-amount span{font-size:21px}.grand-amount strong{font-size:36px;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums;word-break:break-all}.warning{font-size:12px;color:#986928;background:#fff4dc;border-radius:7px;padding:9px;line-height:1.7;margin-top:10px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}.stats>div{display:grid;gap:8px}.stats span{font-size:11px;color:#8c9884}.stats strong{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.stats small{font-size:11px;font-weight:400}.summary-rule{height:1px;background:var(--line);margin:22px 0}.summary>p#selectedHint{font-size:11px;color:#7b8c71;margin-bottom:20px;line-height:1.7}.full{width:100%}.summary .primary{font-size:13px}.summary .outline{font-size:12px;margin-top:10px}.export-note{font-size:10px!important;color:#99a28f;text-align:center;margin-top:14px;line-height:1.8}.bottom-note{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#98a28f;padding:18px 3px}.empty{padding:65px 20px;text-align:center;color:#819278;background:white;border:1px dashed var(--line);border-radius:12px}.empty h3{font-size:17px;margin-bottom:10px}.empty p{font-size:13px}.mobile-total{display:none}dialog{border:1px solid #dce5d7;border-radius:18px;width:540px;max-width:calc(100vw - 28px);max-height:88dvh;overflow:auto;padding:26px;color:#203d33;box-shadow:0 30px 100px #163d2829}dialog::backdrop{background:#193c2b77;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:18px}.dialog-heading h2{font-size:24px}.dialog-heading .eyebrow{margin-bottom:6px}.close{padding:0;min-width:36px;min-height:36px;font-size:28px;color:#8b9b87}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}dialog label{display:grid;gap:8px;font-size:14px;margin-bottom:18px}dialog input,dialog select,dialog textarea{width:100%;font-size:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.muted{color:#7b8b74;font-size:13px;line-height:1.9}.voice-actions{display:flex;gap:10px;margin:12px 0}.voice-actions button{flex:1;font-size:14px}.review-line{border-top:1px solid var(--line);padding:17px 0}.review-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.review-title strong{font-size:15px}.review-line select{margin-bottom:10px}.review-line input{width:90px}.review-qty{display:flex;align-items:center;gap:9px}.help-steps{padding-left:22px;font-size:15px;line-height:1.9}.help-steps li{padding-bottom:13px}.notice{background:#edf4e8;padding:13px;border-radius:9px;font-size:13px;line-height:1.8;margin:15px 0}.danger{background:#a34a3e;color:#fff}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);padding:13px 22px;border-radius:10px;color:#fff;background:#244834;box-shadow:0 5px 20px #142d2230;z-index:100;font-size:14px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#printDocument{display:none}[hidden]{display:none!important}
@media(min-width:1400px){.workspace{grid-template-columns:195px minmax(450px,1fr) 310px;gap:38px}.product{padding:19px 21px}.product-name{font-size:16px}.grand-amount strong{font-size:39px}}
@media(max-width:1120px){.workspace{grid-template-columns:150px minmax(380px,1fr) 250px;gap:18px;padding:26px 22px}.header{padding:20px 22px}.summary{padding:20px 17px}.voice-banner{padding:17px;gap:10px}.voice-banner .primary{font-size:12px}.voice-copy p{font-size:11px}.grand-amount strong{font-size:31px}}
@media(max-width:950px){.workspace{grid-template-columns:150px minmax(0,1fr);gap:20px}.summary{grid-column:2;position:static;margin-top:2px}.summary .stats{margin-top:15px}.summary .grand-amount strong{font-size:36px}.summary-top{margin-bottom:16px}.summary .summary-rule{margin:15px 0}.summary>p#selectedHint{margin-bottom:12px}}
@media(max-width:640px){.header{padding:17px 16px 15px}.brand{gap:10px}.brand img{width:37px;height:37px}.brand h1{font-size:21px}.brand span{font-size:10px}.quiet{font-size:12px;min-height:37px;padding:7px 11px}.workspace{display:block;padding:0 15px 116px}.sidebar{padding-top:16px}.sidebar>.eyebrow,.side-note{display:none}.sidebar nav{display:flex;gap:7px;margin-bottom:23px}.group-btn{background:#eef1e9;border-radius:10px;padding:11px 10px;justify-content:center;gap:6px;font-size:14px;min-height:43px}.group-btn small{font-size:10px}.group-btn[aria-current=true]{background:#dfece0}.page-heading{margin-bottom:18px;gap:10px}.page-heading h2{font-size:24px}.page-heading .eyebrow{font-size:10px;margin-bottom:5px}.date-label input{font-size:12px;min-width:131px;padding:8px}.date-label span{font-size:10px}.voice-banner{flex-wrap:wrap;gap:11px;padding:15px;margin-bottom:18px;border-radius:13px}.voice-icon{width:39px;height:39px;flex-basis:39px}.voice-copy h3{font-size:15px}.voice-copy p{font-size:11px}.voice-banner .primary{width:100%;font-size:15px;min-height:45px}.toolbar{gap:8px;margin-bottom:15px}.toolbar button{font-size:12px;padding:9px 11px}.search input{font-size:14px}.list-heading{margin-bottom:10px}.segments{gap:2px}.segments button{font-size:12px;padding:7px 9px}.list-heading>.text-button{font-size:11px}.column-caption{padding:4px 12px 10px;font-size:10px}.product{padding:13px 12px;gap:9px;border-radius:11px}.product-name{font-size:16px;line-height:1.55}.product-meta{font-size:11px;gap:6px;margin-top:5px}.product-meta .edit{font-size:11px}.stepper{height:41px}.stepper button{width:33px;min-height:39px;font-size:22px}.stepper input{width:32px;min-height:39px;font-size:16px}.item-subtotal{font-size:10px;margin-top:5px}.summary{scroll-margin-top:12px;margin-top:15px;padding:20px}.summary .primary,.summary .outline{font-size:15px;min-height:47px}.summary>.export-note{font-size:11px!important}.mobile-total{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #dce6d7;background:#fffffff2;backdrop-filter:blur(14px);padding:12px 15px max(12px,env(safe-area-inset-bottom));z-index:5;align-items:center;justify-content:space-between;gap:10px}.mobile-total>div{display:grid;gap:4px}.mobile-total span{font-size:10px;color:#8a9980}.mobile-total strong{font-size:23px;color:#214e37;font-weight:650;max-width:44vw;overflow-wrap:anywhere}.mobile-total button{font-size:13px;min-height:46px;padding:11px 14px}.grand-amount strong{font-size:37px!important}dialog{padding:21px 18px;border-radius:15px}.dialog-heading h2{font-size:22px}.form-grid{gap:10px}.voice-actions button{font-size:14px}.dialog-actions>button{font-size:14px}#toast{bottom:102px;font-size:13px}.review-title{gap:5px}.review-line select{font-size:15px}.help-steps{font-size:14px}}
@page{size:A4 portrait;margin:8mm}@media print{body{background:#fff;color:#000}#app,dialog,#toast{display:none!important}#printDocument{display:block!important;font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#000}#printDocument h1{text-align:center;font-size:17pt;margin:0 0 4mm}#printDocument .print-date{font-size:9pt;margin-bottom:4mm;display:flex;justify-content:space-between}#printDocument table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:8pt}#printDocument th,#printDocument td{border:.2mm solid #333;padding:1.5mm .7mm;text-align:center;overflow-wrap:anywhere;height:7mm}#printDocument th{font-weight:600}#printDocument th:first-child{width:5%}#printDocument th:nth-child(2){width:29%}#printDocument th:nth-child(3){width:8%}#printDocument th:nth-child(4),#printDocument th:nth-child(5){width:8%}#printDocument th:nth-child(6){width:9%}#printDocument th:nth-child(7){width:7%}#printDocument th:nth-child(8){width:8%}#printDocument th:nth-child(9){width:18%}#printDocument tr{break-inside:avoid}#printDocument tfoot{font-weight:bold}#printDocument .print-warning{font-size:9pt;margin-top:3mm}.mobile-total{display:none!important}}

.new-group{width:100%;margin-top:12px;font-size:14px}.group-btn>span{min-width:0;overflow-wrap:anywhere}.group-btn small{flex-shrink:0}.catalog-date{font-size:10px;color:#7b8c71;line-height:1.7;margin-top:14px}.rename-group{padding-left:0;color:var(--green)}.pill{max-width:65%;overflow-wrap:anywhere}.page-heading>div{min-width:0}.page-heading .eyebrow{overflow-wrap:anywhere}
@media(max-width:640px){.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:0}.group-btn{justify-content:space-between;padding:11px 12px}.new-group{margin-top:8px;min-height:43px;font-size:14px;border-style:dashed}.catalog-date{margin:8px 0 20px;font-size:10px}.rename-group{min-height:28px;padding-top:4px;padding-bottom:0}}
