/* V3: collected batches and purchase price history, on the existing 鲜到社区 VI. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body:has(#quick-form) .page{padding-bottom:192px}
body:has(#quick-form) .batch-voice{border-radius:16px;padding:19px 18px}
body:has(#quick-form) .batch-voice h2{margin:0;font-size:20px}
body:has(#quick-form) .batch-voice textarea{min-height:142px;height:142px;max-height:260px;font-size:16px;line-height:1.65;margin-top:12px;padding:12px;resize:vertical}
.batch-voice .voice-tools{padding:4px 0 0;flex-wrap:wrap;gap:4px 15px}
.batch-voice .voice-tools .textbtn{min-height:36px;font-size:12px}
.voice-current{display:flex;align-items:center;gap:9px;width:100%;border:0;background:#fff5d9;color:#174429;border-radius:8px;padding:10px 11px;text-align:left;min-height:42px;margin-top:7px;font-size:13px;font-variant-numeric:tabular-nums}.voice-current strong{flex:1;min-width:0;overflow-wrap:anywhere}.voice-current span{white-space:nowrap}.voice-current small{font-size:10px;color:#715118;white-space:nowrap}.voice-current svg{width:14px;height:14px}.voice-current:empty{display:none}
.batch-voice .voice-top p{line-height:1.7;max-width:29ch;font-size:12px}
.batch-summary{width:100%;border:0;border-radius:12px;background:#e4f3d5;padding:15px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;color:var(--ink);margin-top:16px}
.batch-summary>div{display:grid;gap:6px}.batch-summary strong{font-size:17px}.batch-summary>div>span{font-size:12px;color:var(--muted)}
.batch-summary>span{display:flex;gap:2px;align-items:center;white-space:nowrap;font-size:13px;color:#076637}
.batch-summary svg{width:16px;height:16px}.batch-minibar{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:6px 1px 10px;color:var(--muted);font-size:12px}.batch-minibar .textbtn{font-size:12px;white-space:nowrap;min-height:40px}
.pending-text,.batch-summary .pending-text{color:#9a3b11;font-weight:600}
.parse-warning{padding:11px 12px;font-size:12px;background:#fff1ce;border-radius:8px;color:#775014;margin-top:9px;line-height:1.65}
.batch-editor{padding:18px 16px;border-radius:14px}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.editor-heading>div:first-child{display:grid;gap:5px}.editor-heading strong{font-size:18px;overflow-wrap:anywhere}.editor-heading .small{font-size:11px}
.editor-pager{display:flex;gap:7px}.editor-pager button{width:auto;min-height:36px;min-width:53px;padding:7px 9px;font-size:11px;color:#076637;background:#f3f9ed}
.batch-editor .fieldgrid{gap:13px}.batch-editor .field input,.batch-editor .field select{font-size:19px!important;min-height:46px!important}.batch-editor .field input[name=product]{font-size:17px!important}
.batch-editor .entry-actions{margin-bottom:0}.batch-editor .entry-actions .textbtn{min-height:38px;font-size:12px}.batch-editor .price-reference{padding:14px 0}.batch-editor .price-reference b{font-size:15px}
.batch-dock{position:fixed;z-index:22;bottom:calc(68px + env(safe-area-inset-bottom));left:0;right:0;background:var(--bg);border-top:1px solid var(--line)}
.dock-inner{width:100%;max-width:740px;margin:auto;padding:10px 18px;display:grid;grid-template-columns:85px 1fr;gap:11px}.dock-inner button{min-height:48px}.dock-inner .secondary{background:#e1efd6}.entry-disclaimer{font-size:11px;line-height:1.75;color:var(--muted);padding:14px 2px 0}
.full-sheet{height:100dvh;max-height:100dvh;border-radius:0;display:flex;flex-direction:column;overflow:hidden;padding:0;max-width:700px;background:#fff}
.full-sheet .sheet-title{margin:0;padding:16px 18px;border-bottom:1px solid var(--line);flex-shrink:0;background:var(--bg)}.full-sheet .sheet-title h2{font-size:21px}.review-top{padding:17px 18px 0;flex-shrink:0}.review-top p{font-size:12px;color:var(--muted);margin-bottom:14px}.review-top .filterrow{margin:0}.compact-head{padding:12px 18px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted);background:#f3f9ed;flex-shrink:0}.compact-list{overflow:auto;flex:1;min-height:0;padding:0 18px;scrollbar-width:thin;scrollbar-color:#9bbda0 #f4faf2}
.compact-row{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:5px}.compact-item{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:76px;padding:12px 0;background:none;border:0;text-align:left}.compact-item>span{display:grid;gap:6px;min-width:0}.compact-item>span:first-child{flex:1}.compact-item>span:nth-child(2){text-align:right}.compact-item strong{font-size:15px;overflow-wrap:anywhere}.compact-item small{font-size:11px;color:var(--muted);line-height:1.5}.compact-item b{font-size:14px;white-space:nowrap}.compact-item svg{width:15px;height:15px;color:var(--green)}.compact-item .pending-text{color:#9a3b11}.remove-item{border:0;background:#fff3e3;color:#9a3b11;border-radius:8px;display:grid;place-items:center;width:33px;height:36px}.remove-item svg{width:17px;height:17px}.review-bottom{display:flex;gap:10px;justify-content:space-between;padding:13px 18px calc(13px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg);flex-shrink:0}.review-bottom .primary{flex:1}.review-empty{padding:32px 18px;text-align:center;color:var(--muted);font-size:13px}
.full-sheet #transcript-form{display:flex;flex-direction:column;gap:18px;padding:18px;flex:1;overflow:auto}.full-sheet #transcript-form .field{display:flex;flex:1;flex-direction:column;gap:8px}.full-transcript{flex:1;min-height:300px!important;line-height:1.9!important;font-size:17px!important;resize:none!important}
.saved-batch{background:#fff;border-radius:12px;margin-bottom:12px}.saved-batch>summary{padding:17px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none}.saved-batch>summary::-webkit-details-marker{display:none}.saved-batch>summary:after{content:'›';font-size:23px;color:#076637}.saved-batch[open]>summary:after{transform:rotate(90deg)}.saved-batch>summary>span:first-child{flex:1;min-width:0;display:grid;gap:7px}.saved-batch>summary strong{font-size:15px}.saved-batch small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6}.saved-batch>summary>b{font-size:15px;white-space:nowrap}.saved-batch-lines{padding:0 16px}.saved-line{padding:13px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:13px}.saved-line>span{display:grid;gap:6px;font-size:14px}.saved-line>span:last-child{justify-items:end}.saved-line .textbtn{padding:3px 0;font-size:12px;min-height:32px}.saved-line small{font-size:11px;color:var(--muted)}
.summary-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px 16px;margin-bottom:12px}.summary-tools>span{font-size:11px;color:var(--muted);flex-basis:100%}.summary-tools .textbtn{font-size:12px;padding:4px 0;min-height:30px}
.price-search{display:flex;gap:9px}.price-search label{flex:1;min-width:0}.price-search input{width:100%;min-height:49px;border:1px solid var(--line);border-radius:10px;background:white;padding:12px 14px;font-size:16px}.price-search .primary{white-space:nowrap;padding:10px 16px}.product-chips{display:flex;gap:7px;overflow:auto;padding:12px 0 17px;scrollbar-width:thin}.product-chips button{border:1px solid var(--line);border-radius:7px;background:white;color:var(--muted);padding:7px 13px;white-space:nowrap;font-size:12px;min-height:34px}.product-chips button[aria-pressed=true]{background:#e0efc5;color:#076637;border-color:#c9ddb9}
.price-periods{display:grid;grid-template-columns:repeat(4,1fr);padding:4px;background:#e7f1e2;border-radius:10px;gap:4px}.price-periods button{background:transparent;border:0;border-radius:7px;color:var(--muted);padding:10px;min-height:41px;font-size:14px}.price-periods button[aria-pressed=true]{background:#0b7d44;color:#fff;font-weight:700}.price-datebar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 7px}.price-datebar label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.price-datebar input{color:var(--ink);background:none;border:0;font-size:14px;padding:7px 0;max-width:150px}.price-datebar .iconbtn{width:35px;height:35px;background:transparent;border:0}.back-chevron svg{transform:rotate(180deg)}.price-scope{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);padding:0 1px 8px}.price-scope b{color:#925300;font-size:12px}.price-scope .textbtn{font-size:11px;min-height:34px}
.price-panel{padding:19px 16px;background:#fff;border-radius:14px}.price-title{align-items:start;flex-wrap:wrap;gap:8px}.price-title h2{font-size:21px}.price-title h2 small{font-size:11px;color:var(--muted);font-weight:400;white-space:nowrap}.price-title>span{font-size:10px;color:var(--muted);padding-top:6px}.market-select{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;padding:14px 0}.market-select select{max-width:80%;background:#f3f9ed;color:#076637;border:0;border-radius:6px;padding:7px 10px;font-size:12px}.latest-price{padding:1px 0 11px}.latest-price>span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.latest-price b{font-size:26px;line-height:1.5;font-variant-numeric:tabular-nums;color:#076637;letter-spacing:-.02em}.latest-price b small{font-size:12px;font-weight:400}.latest-price p{font-size:11px;color:var(--muted);margin-top:3px}.price-chart>svg{display:block;width:100%;height:auto;min-height:135px;overflow:visible}.chart-grid line{stroke:#e4eddf;stroke-width:1}.chart-grid text,.axis-label{font:14px 'Microsoft YaHei',sans-serif;fill:#536d5d}.chart-readout{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px}.chart-readout label{display:grid;gap:6px;font-size:10px;color:var(--muted)}.chart-readout select{font-size:12px;color:var(--ink);border:1px solid var(--line);background:#f5faf1;border-radius:6px;padding:6px}.chart-readout strong{font-size:13px;color:#076637;font-variant-numeric:tabular-nums;white-space:nowrap}.price-chart>.help{font-size:10px;margin-top:12px}.price-stats{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:10px;margin:17px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}.price-stats dt{font-size:10px;color:var(--muted)}.price-stats dd{font-size:16px;font-weight:700;margin:8px 0 0;white-space:nowrap;font-variant-numeric:tabular-nums}.price-stats dd small{font-size:10px;margin-left:3px;font-weight:400}.price-explainer{margin-top:13px;font-size:11px;color:var(--muted)}.price-explainer summary{cursor:pointer;min-height:30px;line-height:30px}.price-explainer p{margin-top:6px;font-size:11px;line-height:1.8}.price-records{margin-top:16px;background:white;border-radius:12px;overflow:hidden}.price-records>summary{padding:17px;font-size:13px;cursor:pointer}.price-records>summary span{float:right;color:var(--muted);font-size:11px}.price-source{margin:0 17px;padding:13px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:12px}.price-source>div{display:grid;gap:6px}.price-source>div:last-child{text-align:right}.price-source small{font-size:10px;color:var(--muted);line-height:1.6}
@media(min-width:900px){body:has(#quick-form) .page{max-width:900px}body:has(#quick-form) .voice-panel{padding:25px}body:has(#quick-form) .batch-voice textarea{height:165px;min-height:165px}body:has(#quick-form) .batch-editor .fieldgrid{grid-template-columns:1.4fr 1fr 1fr}.batch-editor .fieldgrid .field.span2{grid-column:auto}.batch-editor .cost-inline{grid-column:1/-1}.batch-editor .editor-heading{margin-bottom:15px}.dock-inner{max-width:900px;padding-left:28px;padding-right:28px}}
@media(max-width:350px){body:has(#quick-form) .batch-voice{padding:16px 13px}body:has(#quick-form) .batch-voice h2{font-size:18px}.batch-voice .voice-tools{gap:3px 9px}.batch-voice .voice-tools .textbtn{font-size:11px}.batch-summary{padding:14px 12px}.batch-summary>span{font-size:12px}.batch-minibar{font-size:10px}.batch-minibar .textbtn{font-size:11px}.batch-editor{padding:15px 13px}.price-panel{padding:17px 12px}.price-title>span{font-size:9px}.price-stats dd{font-size:13px}.price-stats{gap:7px}.chart-readout strong{font-size:11px}.price-datebar label{gap:5px}.review-bottom{padding-left:12px;padding-right:12px}.review-bottom button{font-size:12px;padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
