#site-chat{position:fixed;right:20px;bottom:20px;z-index:910;font:14px/1.6 Arial,sans-serif;color:#171717}#site-chat-toggle{display:flex;align-items:center;gap:10px;min-height:50px;padding:13px 18px;border-radius:30px;border:1px solid var(--gold);background:#171717;color:var(--gold);box-shadow:0 4px 18px #0002;font:inherit;cursor:pointer}.has-site-chat #global-search-trigger{bottom:84px}#site-chat-panel{position:absolute;right:0;bottom:64px;display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));max-height:min(640px,calc(100dvh - 110px));background:#fffdf8;border:1px solid #dfd4bb;border-radius:16px;box-shadow:0 14px 50px #0003;overflow:hidden}#site-chat-panel[hidden]{display:none}#site-chat-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#171717;color:#fff;padding:18px}#site-chat-panel header small{color:var(--gold);font-size:10px;letter-spacing:.09em}#site-chat-panel h2{font-size:22px;letter-spacing:-.02em;margin:4px 0 0}#site-chat-close{font-size:26px;background:transparent;color:#fff;min-height:44px;min-width:44px;border:1px solid #ffffff30;border-radius:50%;cursor:pointer}.site-chat-note{font-size:11px;color:#655d4c;padding:12px 18px;margin:0;background:#f6f0e3}#site-chat-log{overflow-y:auto;overscroll-behavior:contain;padding:16px;min-height:70px;flex:1}.site-chat-message{padding:12px 14px;border:1px solid #e4ddce;border-radius:12px;margin-bottom:12px;background:#fff;overflow-wrap:anywhere}.site-chat-message p{font-size:13px;line-height:1.65;white-space:pre-line;margin:0}.site-chat-message.visitor{margin-left:30px;background:#fbf0d1;border-color:#ead59c}.site-chat-message a{display:block;font-size:12px;color:#765915;text-decoration:underline;margin-top:10px}.site-chat-pending{font-size:12px;color:#655d4c}#site-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px}#site-chat-suggestions button{padding:7px 10px;border:1px solid #dfd4bb;border-radius:16px;background:#fff;font:inherit;font-size:11px;text-align:left;cursor:pointer}#site-chat-form{padding:12px 16px;border-top:1px solid #e4ddce}#site-chat-form label{display:block;font-size:12px;margin-bottom:5px}#site-chat-form>div{display:flex;gap:8px}#site-chat-question{width:100%;min-width:0;min-height:44px;border:1px solid #ab9c7b;border-radius:7px;padding:10px;background:#fff;font:inherit;font-size:14px;color:#171717}#site-chat-form button{min-width:44px;background:var(--gold);border:0;border-radius:7px;font-size:24px;cursor:pointer}#site-chat-form button:disabled{opacity:.5}#site-chat-panel footer{padding:0 16px 12px;font-size:10px;color:#655d4c}#site-chat-panel footer a{text-decoration:underline}#site-chat :focus-visible{outline:3px solid #aa801c;outline-offset:2px}@media(max-width:600px){#site-chat{right:12px;bottom:12px}#site-chat-toggle{width:48px;height:48px;justify-content:center;padding:0}#site-chat-toggle>span{display:none}#site-chat-panel{bottom:60px;max-height:calc(100dvh - 90px)}.has-site-chat #global-search-trigger{bottom:74px}}@media(max-height:500px){#site-chat-panel{max-height:calc(100dvh - 20px);bottom:0}#site-chat-suggestions,.site-chat-note{display:none}}@media print{#site-chat{display:none}}
.visitor-inbox{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2fr);gap:24px;margin-top:24px}.visitor-inbox button[data-thread]{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;padding:16px;margin-bottom:10px;background:#faf7ef;border:1px solid #e3d7bb;border-radius:8px;overflow-wrap:anywhere}.visitor-inbox button[aria-pressed=true]{border-color:#765915}.visitor-inbox-log{max-height:480px;overflow:auto}.visitor-inbox-log article{padding:16px;background:#f5f3ed;border-radius:8px;margin-bottom:12px;overflow-wrap:anywhere}.visitor-inbox-log .owner{background:#fbf0d1}.visitor-inbox-log p{white-space:pre-wrap}.visitor-inbox textarea{display:block;width:100%;padding:12px;margin-block:10px;border:1px solid #ab9c7b;border-radius:8px}@media(max-width:700px){.visitor-inbox{grid-template-columns:minmax(0,1fr)}}
/* Two-tab conversation inspired by the supplied reference, in OPTI-RISK colors. */
#site-chat-panel{width:min(420px,calc(100vw - 24px));border-radius:4px;max-height:min(720px,calc(100dvh - 100px))}#site-chat-panel header{gap:12px;padding:16px}#site-chat-panel header>img{width:52px;height:52px;object-fit:cover;object-position:center 20%;border-radius:50%;flex-shrink:0;background:white}#site-chat-panel header>div{flex:1;min-width:0}#site-chat-panel h2{font-size:17px;font-weight:700;line-height:1.3}#site-chat-subtitle{font-size:13px;margin:3px 0 0;color:#ccc}#site-chat-close{border:0;border-radius:0;font-size:28px;min-width:32px}.site-chat-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #ddd;background:white;flex-shrink:0}.site-chat-tabs button{min-width:0;min-height:54px;background:white;color:#666;border:0;border-bottom:3px solid transparent;font:inherit;font-size:15px;cursor:pointer}.site-chat-tabs button[aria-selected=true]{color:#171717;border-bottom-color:var(--gold);font-weight:600}#site-direct-pane,#site-ai-pane{display:flex;flex-direction:column;min-height:0;overflow-y:auto}#site-direct-pane[hidden],#site-ai-pane[hidden]{display:none}#site-direct-pane{padding:18px;gap:12px}.site-direct-intro{font-size:14px;line-height:1.6;margin:0;color:#60616a}#site-direct-form{display:grid;gap:8px}#site-direct-identity{display:grid;gap:8px}#site-direct-identity[hidden]{display:none}#site-direct-form label{font-size:14px}#site-direct-form label small{font-size:11px;color:#666}#site-direct-form input,#site-direct-form textarea{width:100%;min-width:0;min-height:44px;padding:11px;border:1px solid #ddd8cf;background:#faf9f6;color:#171717;border-radius:0;font:inherit}#site-direct-form textarea{resize:vertical;min-height:78px}#site-direct-form>button{min-height:44px;background:var(--gold);border:0;color:#171717;padding:10px 16px;font:inherit;font-weight:700;cursor:pointer}#site-direct-form>button:disabled{opacity:.5}#site-direct-form .site-chat-note{padding:0;background:none;line-height:1.5}#site-direct-status{font-size:12px;margin:0}#site-direct-log:empty{display:none}#site-direct-log{max-height:240px;overflow:auto;overscroll-behavior:contain}#site-chat-log{min-height:120px;max-height:340px;padding:18px}#site-chat-log .site-chat-message{background:#f0efec;border:0;border-radius:0;font-size:15px}#site-chat-log .site-chat-message.visitor{background:#fbf0d1}#site-chat-log .site-chat-message p{font-size:14px}#site-chat-form{padding:12px 14px}#site-chat-question{border-radius:0;background:#faf9f6;min-height:50px}#site-chat-form button{border-radius:0}#site-chat-panel footer p{margin:4px 0 0}#site-chat-toggle{background:var(--gold);color:#171717}#site-chat-panel .site-chat-message strong{font-size:11px;display:block;margin-bottom:5px}@media(max-width:600px){#site-chat-panel{max-height:calc(100dvh - 90px)}#site-chat-panel h2{font-size:16px}.site-chat-tabs button{font-size:14px}#site-direct-pane{padding:14px}}@media(max-height:500px){#site-chat-panel{max-height:calc(100dvh - 24px);bottom:0}.site-direct-intro{display:none}}

/* Founder portrait on the floating discussion button. */
#site-chat-toggle{padding:5px 17px 5px 5px;gap:10px;min-height:52px}#site-chat-toggle .site-chat-avatar{display:block;width:40px;height:40px;max-width:none;flex:0 0 40px;object-fit:cover;object-position:center 20%;border-radius:50%;background:#fff;border:1px solid #ffffffb3}@media(max-width:600px){#site-chat-toggle{padding:3px;width:50px;height:50px}#site-chat-toggle .site-chat-avatar{width:42px;height:42px;flex-basis:42px}}

/* Display a close face crop from the original 1024×1280 portrait. */
#site-chat .site-chat-photo{position:relative;display:block;overflow:hidden;border-radius:50%;background:#fff;isolation:isolate;flex-shrink:0}#site-chat .site-chat-photo>img{position:absolute;display:block;left:-40%;top:-5%;width:180%;height:auto;max-width:none;object-fit:fill;border:0;border-radius:0;filter:none;opacity:1;transform:none}#site-chat-panel header>.site-chat-header-photo{width:64px;height:64px;flex:0 0 64px;border:2px solid #fff}#site-chat-toggle .site-chat-avatar{width:48px;height:48px;flex:0 0 48px;border:2px solid #fff}#site-chat-toggle{min-height:60px}@media(max-width:600px){#site-chat-toggle{width:58px;height:58px;padding:3px}#site-chat-toggle .site-chat-avatar{width:48px;height:48px;flex-basis:48px}#site-chat-panel header>.site-chat-header-photo{width:60px;height:60px;flex-basis:60px}}
