/* TYC Concierge chat widget — styled to The Yacht Co. design system (rectangles only, black + sea #bdd6e6) */
:root{--tyc-sky:#e3f0f8;--tyc-sea:#bdd6e6;--tyc-cool:#d9d9d6;--tyc-lgray:#f1f1f1;--tyc-black:#000;--tyc-white:#fff;--tyc-display:"Stabil Grotesk","Inter","Helvetica Neue",Arial,sans-serif;--tyc-text:"Inter","Helvetica Neue",Arial,sans-serif}

#tycbot-btn{position:fixed;right:22px;bottom:22px;z-index:99998;width:58px;height:58px;border-radius:0;background:var(--tyc-black);color:#fff;border:0;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;transition:background .15s ease}
#tycbot-btn:hover{background:#141414}
#tycbot-btn svg{width:26px;height:26px;fill:var(--tyc-sea)}

#tycbot-panel{position:fixed;right:22px;bottom:92px;z-index:99999;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 130px);background:var(--tyc-white);border:1px solid var(--tyc-black);border-radius:0;box-shadow:0 18px 50px rgba(0,0,0,.3);display:none;flex-direction:column;overflow:hidden;font-family:var(--tyc-text);color:var(--tyc-black)}
#tycbot-panel.open{display:flex}

.tycbot-head{background:var(--tyc-black);color:#fff;padding:15px 18px;display:flex;align-items:center;justify-content:space-between}
.tycbot-head b{font-family:var(--tyc-display);font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.tycbot-head small{display:block;color:var(--tyc-sea);font-size:10px;margin-top:3px;font-weight:600;text-transform:uppercase;letter-spacing:.1em}
.tycbot-close{background:none;border:0;color:var(--tyc-sea);font-size:22px;line-height:1;cursor:pointer;padding:0 2px}

.tycbot-msgs{flex:1;overflow-y:auto;padding:16px;background:var(--tyc-white);display:flex;flex-direction:column;gap:12px}
.tycbot-m{max-width:88%;padding:11px 13px;border-radius:0;font-size:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.tycbot-m.bot{background:var(--tyc-lgray);color:var(--tyc-black);align-self:flex-start}
.tycbot-m.me{background:var(--tyc-black);color:#fff;align-self:flex-end}
.tycbot-m a{color:inherit;text-decoration:underline;text-underline-offset:2px}

.tycbot-cards{display:flex;flex-direction:column;gap:10px;align-self:stretch}
.tycbot-card{display:flex;gap:0;border:1px solid var(--tyc-black);border-radius:0;overflow:hidden;background:var(--tyc-white);text-decoration:none;color:var(--tyc-black);transition:background .12s ease}
.tycbot-card:hover{background:var(--tyc-lgray)}
.tycbot-card img{width:106px;height:86px;object-fit:cover;flex:0 0 106px}
.tycbot-card .b{padding:9px 12px;min-width:0;display:flex;flex-direction:column;justify-content:center}
.tycbot-card .n{font-family:var(--tyc-display);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.02em;color:var(--tyc-black);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tycbot-card .s{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--tyc-black);opacity:.7;margin-top:5px}
.tycbot-card .p{font-size:12px;font-weight:700;color:var(--tyc-black);margin-top:5px}

.tycbot-typing{align-self:flex-start;color:var(--tyc-black);opacity:.45;font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:4px 2px}

.tycbot-foot{border-top:1px solid var(--tyc-black);padding:10px;display:flex;gap:8px;align-items:flex-end;background:var(--tyc-white)}
.tycbot-foot textarea{flex:1;border:1px solid var(--tyc-black);border-radius:0;padding:10px 11px;font-size:14px;font-family:inherit;resize:none;max-height:90px;outline:none;color:var(--tyc-black)}
.tycbot-foot textarea:focus{outline:2px solid var(--tyc-black);outline-offset:1px}
.tycbot-send{background:var(--tyc-black);color:#fff;border:0;border-radius:0;width:42px;height:42px;cursor:pointer;flex:0 0 42px;display:flex;align-items:center;justify-content:center;transition:background .12s ease}
.tycbot-send:hover{background:#141414}
.tycbot-send:disabled{opacity:.45;cursor:default}
.tycbot-send svg{width:18px;height:18px;fill:var(--tyc-sea)}

.tycbot-consent{font-size:10px;color:var(--tyc-black);opacity:.5;text-align:center;padding:0 12px 9px;background:var(--tyc-white);letter-spacing:.01em;line-height:1.4}

@media(max-width:480px){#tycbot-panel{right:8px;left:8px;width:auto;bottom:82px}}
