/* Preview only. No changes to retrieval, pricing or compatibility rules. */
body.chat-preview{--page:#111a20;--panel:#1c2932;--panel2:#23343f;--ink:#edf2f5;--muted:#b7c4cd;--line:#354854;--accent:#e0c24c;--link:#f1d876;background:var(--page);color:var(--ink);font-size:17px;line-height:1.65;color-scheme:dark;background-image:radial-gradient(#ffffff05 .8px,transparent .8px);background-size:24px 24px}
body.chat-preview[data-theme=light]{--page:#f2f4f3;--panel:#fff;--panel2:#e9eeeb;--ink:#202b32;--muted:#53636d;--line:#ccd6d2;--accent:#dbc04b;--link:#635007;color-scheme:light;background-image:none}
.chat-preview header{background:var(--panel);border-bottom:1px solid var(--line);padding:12px max(18px,calc((100% - 960px)/2));gap:20px;flex-wrap:wrap}.chat-preview header a{color:var(--ink);font-size:14px}.chat-preview header .brand{font-size:24px;margin-right:auto}.chat-preview main{max-width:960px;padding:24px 20px 16px}.chat-preview .heading{gap:12px;align-items:center}.chat-preview h1{font-size:clamp(25px,4vw,32px);margin:4px 0 10px}.chat-preview .eyebrow{color:var(--accent);font-size:11px}.chat-preview .intro{color:var(--muted);font-size:15px;margin-bottom:20px;max-width:64ch}.chat-preview a{color:var(--link)}.chat-preview button,.chat-preview .open{min-height:44px;touch-action:manipulation}.chat-preview button:focus-visible,.chat-preview a:focus-visible,.chat-preview summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.chat-preview .secondary{color:var(--ink);border-color:var(--line);background:var(--panel);font-size:13px}.chat-preview .heading-tools{display:flex;gap:8px;flex-wrap:wrap}.chat-preview .preview-note{font-size:13px;color:var(--muted);padding:8px 0 14px;margin:0}.chat-preview .preview-note a{margin-left:8px}
.chat-preview #thread{padding-bottom:8px}.chat-preview .message{max-width:100%;margin:0;white-space:normal;overflow-wrap:anywhere;border-radius:16px;padding:16px 20px}.chat-preview .assistant{background:var(--panel);border:1px solid var(--line);max-width:780px}.chat-preview .message-content{max-width:66ch}.chat-preview .message-content p{margin:0 0 12px}.chat-preview .message-content p:last-child{margin-bottom:0}.chat-preview .message-content strong{font-weight:700}.chat-preview .speaker{display:block;color:var(--muted);font-size:12px;font-weight:650;letter-spacing:.02em;margin-bottom:7px}.chat-preview .user{background:#61552c;color:#fff9dc;border:1px solid #8a7940;margin:24px 0 10px auto;max-width:80%;white-space:pre-wrap;padding:12px 18px;box-shadow:0 2px 6px #00000012}.chat-preview[data-theme=light] .user{background:#eee2a8;color:#2c2b20;border-color:#d9c77b}.chat-preview .user .speaker{color:inherit;opacity:.8}.chat-preview .turn{margin:10px 0 30px;scroll-margin-top:16px}.chat-preview .turn>.message{margin-bottom:14px}.chat-preview .turn>p.small{max-width:68ch}
.chat-preview .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.chat-preview .product{background:var(--panel);border:1px solid var(--line);padding:16px;display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:14px;row-gap:5px;align-content:start;align-items:start;border-radius:14px;color:var(--ink)}.chat-preview .product[hidden]{display:none}.chat-preview .product img{grid-column:1;grid-row:1/6;width:88px;height:88px;object-fit:contain;background:white;mix-blend-mode:normal;border-radius:9px;padding:3px}.chat-preview .product>*{grid-column:2;min-width:0}.chat-preview .product:not(:has(img)){grid-template-columns:1fr}.chat-preview .product:not(:has(img))>*{grid-column:1}.chat-preview .product h3{font-size:16px;line-height:1.45;margin:0 0 3px;font-weight:650}.chat-preview .product .badge{font-size:12px;line-height:1.4;color:var(--ink);background:var(--panel2);border-radius:6px;padding:5px 7px;white-space:normal}.chat-preview .product .alternative{border-left:2px solid var(--accent)}.chat-preview .price{margin:6px 0 0;font-size:22px;line-height:1.3;color:var(--ink)}.chat-preview .stock{color:var(--muted);margin:0;font-size:13px}.chat-preview .product .note{grid-column:1/-1;font-size:13px;color:var(--muted);line-height:1.5;margin:7px 0}.chat-preview .product .open{grid-column:1/-1;margin-top:9px;text-align:center;background:var(--accent);color:#25261e;font-size:14px;display:block;padding:9px 12px;border-radius:9px}.chat-preview .more-products{display:block;margin:8px 0 18px}.chat-preview .results-caption{font-size:14px;color:var(--muted);margin:18px 0 8px;font-weight:600}
.chat-preview .addons,.chat-preview .reference,.chat-preview .fitments{background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:16px 20px;border-radius:14px;margin:14px 0}.chat-preview .addons{border-left:3px solid #a7903c}.chat-preview .addons h3,.chat-preview .reference h3,.chat-preview .fitments h3{font-size:17px;line-height:1.45;margin:0 0 9px}.chat-preview .addons p,.chat-preview .reference p{font-size:15px;line-height:1.6;margin:10px 0;max-width:68ch}.chat-preview .fitments h2{font-size:20px;line-height:1.4;margin:0 0 12px}.chat-preview .fitments .reference{background:var(--page)}.chat-preview .note,.chat-preview .small,.chat-preview footer{color:var(--muted);font-size:13px;line-height:1.55}.chat-preview .grease-option{background:var(--panel2);color:var(--ink);border:1px solid var(--line);font-size:14px;line-height:1.45;min-height:44px}.chat-preview .addons summary{color:var(--link);font-size:14px;min-height:44px;padding:8px 0;cursor:pointer}.chat-preview details{overflow-wrap:anywhere}.chat-preview summary{cursor:pointer;line-height:1.5}.chat-preview table{font-size:14px}.chat-preview th,.chat-preview td{border-bottom:1px solid var(--line);vertical-align:top}
.chat-preview form#search{position:sticky;bottom:0;z-index:10;margin:20px -2px 0;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 -6px 24px #00000020}.chat-preview form label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chat-preview .input-row{align-items:end;gap:10px}.chat-preview textarea{display:block;resize:none;min-width:0;flex:1;height:50px;max-height:140px;box-sizing:border-box;border:1px solid var(--line);border-radius:11px;background:var(--page);color:var(--ink);padding:12px 14px;font:inherit;font-size:16px;line-height:24px;outline:none}.chat-preview textarea::placeholder{color:var(--muted)}.chat-preview textarea:focus{border-color:var(--accent);box-shadow:0 0 0 2px #e0c24c22}.chat-preview .input-row button{height:50px;min-width:100px;padding:10px 14px;background:var(--accent);color:#25261e;border-radius:10px}.chat-preview form>.small{font-size:11px;margin:6px 2px 0}.chat-preview #status{padding:0;font-size:12px;color:var(--muted);min-height:0;line-height:1.5}.chat-preview #status:not(:empty){padding:0 2px 6px}.chat-preview footer{margin-top:14px;font-size:12px;padding:0 4px}.chat-preview .starter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}.chat-preview .starter-chips button{border-radius:20px;background:var(--panel2);border:1px solid var(--line);color:var(--ink);font-size:14px;padding:8px 14px;font-weight:400}.chat-preview .starter-chips[hidden]{display:none}
@media(max-width:680px){.chat-preview header{padding:10px 14px;gap:10px}.chat-preview header a:not(.brand){font-size:12px}.chat-preview header a:nth-child(2){display:none}.chat-preview main{padding:18px 12px 12px}.chat-preview .heading{align-items:flex-start;flex-wrap:wrap}.chat-preview .heading-tools{width:100%;justify-content:flex-end;margin-top:-2px}.chat-preview .heading-tools button{min-height:40px;padding:6px 10px}.chat-preview .intro{margin:10px 0 16px}.chat-preview .message{padding:14px 16px}.chat-preview .user{max-width:88%;padding:11px 15px}.chat-preview .products{grid-template-columns:1fr}.chat-preview .product{padding:14px;grid-template-columns:80px minmax(0,1fr);column-gap:12px}.chat-preview .product img{width:80px;height:80px}.chat-preview .product h3{font-size:16px}.chat-preview .addons,.chat-preview .reference,.chat-preview .fitments{padding:14px 16px}.chat-preview .addons p,.chat-preview .reference p{font-size:15px}.chat-preview form#search{padding:8px;margin-left:-4px;margin-right:-4px;border-radius:13px}.chat-preview .input-row button{min-width:50px;width:50px;padding:0;font-size:0}.chat-preview .input-row button:after{content:'↑';font-size:26px;font-weight:600}.chat-preview .preview-note{font-size:12px;padding-bottom:9px}.chat-preview #status{font-size:11px}.chat-preview .turn{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.chat-preview *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
