:root{--paper: #fff7e8;--steam: #ffe3a3;--gold: #f6b13d;--orange: #e77424;--red: #c93822;--brown: #5a2d16;--ink: #2d160c;--green: #2f7d4b;--line: rgba(90, 45, 22, .16);font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;color:var(--ink);background:radial-gradient(circle at 0 0,rgba(246,177,61,.22),transparent 28rem),linear-gradient(145deg,#fff3d4,#fff9ed 58%,#ffe7ba);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(47,125,75,.35);outline-offset:2px}.app-shell{width:min(100%,680px);min-height:100vh;margin:0 auto;padding:18px 14px 96px}.brand-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px 18px 18px;color:#fff8dc;background:linear-gradient(135deg,#c93822f5,#e77424eb),var(--red);border-radius:8px 8px 24px;box-shadow:0 16px 32px #77310f38}.brand-kicker,.brand-subtitle,.brand-header h1,.quote-head h1,.quote-head p{margin:0}.brand-kicker{font-size:13px;opacity:.92}.brand-header h1{margin-top:4px;font-size:35px;line-height:1.05;letter-spacing:0}.brand-subtitle{margin-top:8px;font-size:18px;font-weight:800}.icon-button{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;color:var(--brown);background:#fff2c2;border-radius:50%}.panel{margin-top:14px}.price-type-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;background:#fff7e8db;border:1px solid var(--line);border-radius:8px;position:sticky;top:8px;z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.price-type{min-height:44px;color:var(--brown);background:transparent;border-radius:7px;font-weight:800}.price-type.active{color:#fff8dc;background:var(--red);box-shadow:inset 0 -3px #5a2d1642}.order-form{margin-top:12px}.data-notice{margin:10px 0 0;padding:10px 12px;color:var(--brown);background:#ffe3a3c7;border:1px solid rgba(90,45,22,.16);border-radius:8px;font-size:14px;font-weight:700}.quote-notice{margin-top:12px}.message-entry-button{width:100%;min-height:48px;margin-top:10px;color:#fff9df;background:linear-gradient(180deg,#e77424,#c93822);border-radius:8px;font-weight:900;box-shadow:0 10px 18px #c938222e}.message-page{padding-top:4px}.message-header{display:grid;gap:14px;padding:18px;color:#fff8dc;background:linear-gradient(135deg,#c93822fa,#e77424e6),var(--red);border-radius:8px 8px 24px;box-shadow:0 16px 32px #77310f38}.message-header p,.message-header h1,.message-preview h2,.recognized-delivery p{margin:0}.message-header h1{margin-top:4px;font-size:30px;line-height:1.1}.text-button{display:inline-flex;align-items:center;gap:6px;width:fit-content;min-height:40px;padding:0 12px;color:var(--brown);background:#fff2c2;border-radius:8px;font-weight:900}.message-card,.message-preview{margin-top:12px;padding:14px;background:#fff7e8e6;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 22px #5a2d1617}.message-input{min-height:220px;font-size:17px;line-height:1.55}.recognize-button,.apply-message-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:12px}.recognize-button{min-height:48px;color:var(--brown);background:#ffe2a0;border-radius:8px;font-weight:900}.recognized-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.recognized-list span{padding:8px 10px;color:#fff9df;background:var(--red);border-radius:8px;font-weight:900}.recognized-delivery{margin-top:14px;padding:12px;background:#fffaf0;border:1px dashed rgba(90,45,22,.24);border-radius:8px}.recognized-delivery span{display:block;margin-bottom:6px;color:#5a2d16b8;font-size:13px;font-weight:800}.recognized-delivery p{white-space:pre-wrap;line-height:1.55}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.delivery-field{grid-column:1 / -1}label span,.quantity-control>span,.subtotal span{display:block;margin-bottom:6px;color:#5a2d16c7;font-size:13px;font-weight:700}input,textarea{width:100%;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#ffffffc7}input{min-height:46px;padding:0 12px}textarea{min-height:78px;padding:12px;resize:vertical}.note-field{display:block;margin-top:10px}.product-list{display:grid;gap:12px;margin-top:16px}.product-card{padding:15px;background:linear-gradient(90deg,#ffe3a380,#fff7e8f0),var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 22px #5a2d1617}.product-title-row{display:flex;justify-content:space-between;gap:12px}.product-title-row h2,.quote-item h2,.settings-sheet h2{margin:0}.product-title-row h2{font-size:21px}.product-title-row p,.settings-sheet p{margin:5px 0 0;color:#5a2d16b8}.subtotal{min-width:86px;text-align:right}.subtotal strong{font-size:19px;color:var(--red)}.product-controls{display:grid;grid-template-columns:.82fr 1.18fr;gap:10px;margin-top:14px}.stepper{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:7px}.stepper button{display:grid;place-items:center;min-height:46px;color:var(--brown);background:#ffe2a0;border-radius:8px}.stepper input{text-align:center;font-size:18px;font-weight:800}.sticky-total{position:fixed;left:50%;bottom:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,680px);padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:#fff7e8f2;border-top:1px solid var(--line);transform:translate(-50%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sticky-total span{display:block;color:#5a2d16b8;font-size:13px;font-weight:700}.sticky-total strong{font-size:24px;color:var(--red)}.sticky-total button,.primary-action{min-height:48px;padding:0 20px;color:#fff9df;background:linear-gradient(180deg,#d84329,#b9301d);border-radius:8px;font-weight:900;box-shadow:0 10px 18px #c9382238}.quote-page{padding-top:8px}.quote-card{overflow:hidden;background:linear-gradient(180deg,#ffe3a3b8,#fff7e8fa),var(--paper);border:1px solid rgba(90,45,22,.2);border-radius:8px;box-shadow:0 18px 36px #5a2d1626}.quote-head{position:relative;display:flex;align-items:center;justify-content:space-between;padding:24px 20px;background:linear-gradient(135deg,#f6b13d8c,#fff7e800)}.quote-head h1{font-size:36px}.quote-head p{margin-top:6px;color:#5a2d16c2;font-weight:700}.seal{display:grid;place-items:center;width:58px;height:58px;color:var(--red);border:3px solid var(--red);border-radius:50%;font-weight:900;transform:rotate(-9deg)}.quote-items{padding:4px 20px 0}.quote-item{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px dashed rgba(90,45,22,.25)}.quote-item h2{font-size:20px}.quote-item p{margin:5px 0 0;color:#5a2d16bf}.quote-item strong{flex:0 0 auto;color:var(--red);font-size:22px}.empty-quote{margin:18px 0;color:#5a2d16b3}.quote-lines{margin:16px 20px 0;padding:14px 0;border-top:2px solid rgba(90,45,22,.18)}.quote-lines>div{display:flex;justify-content:space-between;padding:7px 0;font-size:17px}.grand-total{align-items:baseline;color:var(--red)}.grand-total span{font-weight:900}.grand-total strong{font-size:34px}.quote-info{padding:0 20px 20px}.quote-info p{margin:7px 0 0;color:#5a2d16d1}.quote-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.quote-actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 10px;color:var(--brown);background:#fff7e8e0;border:1px solid var(--line);border-radius:8px;font-weight:900}.quote-actions .primary-action{color:#fff9df;background-color:#b9301d;background-image:linear-gradient(180deg,#d84329,#b9301d);border-color:transparent;box-shadow:0 10px 18px #c9382238}.settings-backdrop{position:fixed;inset:0;z-index:20;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#2d160c6b}.settings-sheet{width:min(100%,680px);max-height:min(88vh,760px);overflow:auto;padding:16px;background:var(--paper);border-radius:8px;box-shadow:0 24px 50px #2d160c47}.settings-sheet header,.settings-sheet footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-sheet header button,.settings-sheet footer button:not(.primary-action){min-height:42px;padding:0 14px;color:var(--brown);background:#ffe3a3;border-radius:8px;font-weight:800}.settings-list{display:grid;gap:10px;margin:16px 0}.settings-row{display:grid;grid-template-columns:1fr 44px;gap:8px;padding:12px;background:#fffaf0;border:1px solid var(--line);border-radius:8px}.settings-row label{display:grid;grid-column:span 2;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:8px;color:#5a2d16c7;font-weight:700}.settings-row input{min-height:40px}@media(min-width:720px){.app-shell{padding-top:28px}.product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.product-controls{grid-template-columns:1fr}.settings-row{grid-template-columns:1fr 44px repeat(3,minmax(0,1fr))}.settings-row label{grid-column:auto;grid-template-columns:1fr}}@media(max-width:420px){.app-shell{padding-inline:10px}.brand-header h1{font-size:31px}.price-type-group,.product-controls{grid-template-columns:1fr 1fr}.info-grid{grid-template-columns:1fr}.price-type{min-height:42px}.quote-actions{grid-template-columns:1fr}}
