/* TCI Shopping Assistant — persistent marketplace shopping surface.
   Loaded on every page (base chrome + standalone landing). Kept as an external
   stylesheet so pages stay free of page-level <style> blocks. */

.tci-backdrop{position:fixed;inset:0;background:rgba(13,27,42,.42);z-index:9000;opacity:0;transition:opacity .2s}
.tci-backdrop.tci-on{opacity:1}
.tci-panel{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:#fff;z-index:9001;
 display:flex;flex-direction:column;box-shadow:-18px 0 48px rgba(13,27,42,.22);transform:translateX(100%);
 transition:transform .26s cubic-bezier(.22,.61,.36,1)}
.tci-panel.tci-on{transform:translateX(0)}
.tci-head{display:flex;align-items:center;gap:10px;padding:16px 18px;background:var(--n,#0D1B2A);color:#fff}
.tci-head .tci-dot{width:9px;height:9px;border-radius:50%;background:#25D366;flex:none}
.tci-head h2{font-size:15px;font-weight:800;letter-spacing:-.2px;margin:0}
.tci-head p{font-size:11px;color:rgba(255,255,255,.55);margin:2px 0 0}
.tci-close{margin-left:auto;background:rgba(255,255,255,.12);border:none;color:#fff;width:30px;height:30px;
 border-radius:8px;font-size:18px;line-height:1;cursor:pointer}
.tci-close:hover{background:rgba(255,255,255,.22)}
.tci-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#F7F7F5}
.tci-intro{font-size:13px;color:rgba(13,27,42,.55);line-height:1.6;background:#fff;border:1px solid var(--bd,rgba(13,27,42,.08));
 border-radius:12px;padding:12px 14px}
.tci-msg{max-width:88%;font-size:13.5px;line-height:1.55;padding:11px 14px;border-radius:14px;white-space:pre-wrap;word-break:break-word}
.tci-msg.tci-user{align-self:flex-end;background:var(--n,#0D1B2A);color:#fff;border-bottom-right-radius:4px}
.tci-msg.tci-bot{align-self:flex-start;background:#fff;color:#0D1B2A;border:1px solid var(--bd,rgba(13,27,42,.08));border-bottom-left-radius:4px}
.tci-msg.tci-err{align-self:flex-start;background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}
.tci-cards{align-self:flex-start;display:flex;flex-direction:column;gap:8px;max-width:100%}
.tci-card{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--bd,rgba(13,27,42,.08));
 border-radius:12px;padding:10px 12px;transition:border-color .2s,transform .2s}
.tci-card:hover{border-color:var(--g,#E8A020);transform:translateY(-1px)}
.tci-card .tci-c-name{font-size:13px;font-weight:600;color:#0D1B2A;line-height:1.3}
.tci-card .tci-c-meta{font-size:11px;color:rgba(13,27,42,.5);margin-top:2px}
.tci-card .tci-c-price{margin-left:auto;font-weight:800;font-size:13.5px;color:#0D1B2A;flex:none}
.tci-input{border-top:1px solid var(--bd,rgba(13,27,42,.08));padding:12px;display:flex;gap:8px;background:#fff}
.tci-input input{flex:1;border:1px solid rgba(13,27,42,.16);border-radius:10px;padding:11px 14px;font-family:inherit;
 font-size:14px;color:#0D1B2A;outline:none}
.tci-input input:focus{border-color:var(--g,#E8A020);box-shadow:0 0 0 3px rgba(232,160,32,.12)}
.tci-input button{border:none;background:var(--g,#E8A020);color:#0D1B2A;font-family:inherit;font-weight:700;
 font-size:13px;padding:0 16px;border-radius:10px;cursor:pointer}
.tci-input button:disabled{opacity:.5;cursor:not-allowed}

/* Assistant search bar in the shared (base) navigation. */
.nsearch-assist{flex:1;max-width:520px;display:flex;background:#fff;border:1px solid rgba(13,27,42,.12);
 border-radius:10px;overflow:hidden;margin:0 8px}
.nsearch-assist:focus-within{box-shadow:0 0 0 3px rgba(232,160,32,.3)}
.nsearch-assist input{flex:1;padding:10px 14px;border:none;outline:none;font-family:inherit;font-size:13.5px;color:#0D1B2A}
.nsearch-assist input::placeholder{color:rgba(13,27,42,.4)}
.nsearch-assist button{padding:0 15px;background:none;border:none;cursor:pointer;color:rgba(13,27,42,.5);display:flex;align-items:center}
.nsearch-assist button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
@media(max-width:820px){.nsearch-assist{display:none}}
