body{margin:0;font-family:Montserrat,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef0f2}#root{background:transparent}body.embed-mode{background:transparent;overflow:hidden}body.embed-mode #root{min-height:0;height:100%;background:transparent}body.embed-mode .chatbot-wrapper{box-shadow:none}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%}#root{width:100%;height:100%;--primary-bg-color: #1c2c3d;--secondary-bg-color: #e7edef;--primary-text-color: #fff;--secondary-text-color: #263647;--sarah-surface: #f5f3ef;--sarah-border: #d9dfe2;--sarah-accent: #d7b17e}.main-container{width:100%;height:100%;min-height:0;color:var(--secondary-text-color);font-family:Montserrat,sans-serif}.main-container button,.main-container input{font-family:inherit}.main-container button{-webkit-tap-highlight-color:transparent}.chatbot-main-container{width:100%;height:100%;min-height:0}.chatbot-wrapper{height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid #fff;border-radius:24px;background:var(--sarah-surface);box-shadow:0 12px 40px #0e1a2926}.chatbot-header{display:flex;align-items:center;gap:12px;padding:17px 15px 17px 20px;flex-shrink:0;background:var(--primary-bg-color);color:var(--primary-text-color)}.header-avatar{width:46px;height:46px;flex-shrink:0;border-radius:50%;border:2px solid var(--sarah-accent);object-fit:cover;object-position:50% 15%}.header-identity{min-width:0;flex:1}.header-identity h2{margin:0 0 5px;font-size:19px;font-weight:700;line-height:1.2}.chatbot-status{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;color:#d4dce3}.chatbot-status i{width:5px;height:5px;flex-shrink:0;background:#bdd3bd;border-radius:50%}.header-actions{display:flex;gap:2px;flex-shrink:0}.header-control{display:grid;place-items:center;width:42px;height:44px;border:0;border-radius:12px;color:inherit;background:transparent;cursor:pointer;font-size:18px}.header-control:hover{background:#ffffff1a}.demo-banner{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:10px 12px;border-bottom:1px solid #e7dfd0;background:#eee9de;color:#655235;font-size:9px;line-height:1.5;text-align:center;font-weight:500}.demo-banner>span{width:4px;height:4px;border-radius:50%;background:#9d7944;flex-shrink:0}.chatbot-body{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aeb9c2 transparent;padding:22px 20px;display:flex;flex-direction:column;gap:16px}.demo-welcome{padding:1px 0 0}.welcome-eyebrow{display:block;color:#8b6b43;font-size:8px;font-weight:700;letter-spacing:1.45px;line-height:1.5}.demo-welcome h3,.website-panel h3{margin:13px 0 12px;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:400;letter-spacing:-.7px;line-height:1.2;color:#233447}.demo-welcome>p,.website-panel>p{margin:0 0 20px;color:#5b6772;font-size:12px;line-height:1.8}.demo-welcome>.choose-prompt{margin:21px 0 11px;color:#263647;font-size:11px;font-weight:600}.welcome-actions{display:grid;gap:10px}.welcome-action{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:15px 14px;border:1px solid #ccd5da;border-radius:15px;background:#fff;color:#263647;text-align:left;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}.welcome-action>span:nth-child(2){flex:1;min-width:0}.welcome-action strong{display:block;font-size:12px;font-weight:600;line-height:1.5}.welcome-action small{display:block;margin-top:3px;color:#64717c;font-size:9px;line-height:1.6}.welcome-action>svg{width:17px;height:17px;flex-shrink:0}.welcome-action.featured{background:#24384c;border-color:#24384c;color:#fff}.welcome-action.featured small{color:#c9d4df}.action-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#eff1f0;color:#6b7c87;flex-shrink:0}.featured .action-icon{background:#ffffff12;color:#dec49e}.welcome-action:hover{border-color:#8a9aa6;transform:translateY(-1px)}.welcome-action.featured:hover{background:#30495f;border-color:#30495f}.demo-welcome>.welcome-footnote{margin:16px 0 0;text-align:center;color:#6a747c;font-size:9px;line-height:1.6}.demo-footer{display:block;padding:13px 16px 15px;text-align:center;color:#66737d;font-size:10px;border-top:1px solid #e3e4df;flex:0 0 auto}.demo-footer strong{color:#384c60;font-weight:600}.demo-footer span{display:block;margin-top:5px;font-size:8px;color:#78828a}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 0;border:0;background:transparent;color:#526b7d;font-size:10px;font-weight:600;line-height:1.5;cursor:pointer}.text-button:hover{color:#203c53;text-decoration:underline;text-underline-offset:3px}.back-button{justify-content:flex-start;min-height:36px;margin:-10px 0 16px}.website-symbol{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e2d8c6;border-radius:13px;background:#ece6da;color:#8b6c43;font-size:22px}.website-panel h3{margin-top:16px;font-size:29px}.website-form{margin-top:23px}.website-form label{display:block;margin-bottom:8px;color:#34485b;font-size:11px;font-weight:600}.website-input-wrap{display:flex;align-items:center;gap:10px;min-height:54px;padding:0 13px;border:1px solid #b9c5cd;border-radius:12px;background:#fff;color:#80909d}.website-input-wrap svg{width:17px;height:17px;flex-shrink:0}.website-input-wrap:focus-within{border-color:#5c768b;box-shadow:0 0 0 3px #66849a20}.website-input-wrap input{width:100%;min-width:0;padding:14px 0;border:0;outline:none;background:transparent;font-size:16px;line-height:1.5;color:#263647}.website-input-wrap input::placeholder{color:#909aa3;font-size:13px}.field-help{margin:8px 0 17px;color:#66737d;font-size:9px;line-height:1.7}.primary-button{display:flex;align-items:center;justify-content:center;gap:14px;min-height:49px;width:100%;padding:13px 15px;border:1px solid #24384c;border-radius:12px;background:#24384c;color:#fff;font-size:11px;font-weight:600;cursor:pointer}.primary-button:hover{background:#30495f}.primary-button:disabled{background:#dce2e5;border-color:#dce2e5;color:#77838d;cursor:default}.website-panel>.website-alternative{margin:19px 0 0;text-align:center;font-size:10px}.home-context{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;padding:12px 17px;border-bottom:1px solid #e0e3df;background:#f8f7f4}.home-context-name{display:flex;align-items:center;gap:9px;min-width:0}.home-context-name>svg{color:#8c704b;width:16px;height:16px;flex-shrink:0}.home-context-name>span{min-width:0}.home-context-name small{display:block;font-size:7px;letter-spacing:1.2px;color:#7d7a71;line-height:1.4}.home-context-name strong{display:block;max-width:245px;margin-top:3px;font-size:11px;line-height:1.4;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.home-context .text-button{min-height:36px;flex-shrink:0;font-size:9px}.source-details{flex-shrink:0;margin:-7px 0 3px;padding:0 1px;color:#64776c}.source-details summary{display:flex;align-items:center;gap:6px;min-height:31px;font-size:9px;font-weight:500;cursor:pointer;list-style:none}.source-details summary::-webkit-details-marker{display:none}.source-details summary>svg:first-child{width:12px;height:12px}.source-details summary>svg:last-child{margin-left:auto;transition:transform .15s}.source-details[open] summary>svg:last-child{transform:rotate(180deg)}.source-details ul{margin:4px 0 12px;padding:0;list-style:none}.source-details li+li{border-top:1px solid #dfe4e0}.source-details a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;color:#476571;font-size:10px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.source-details a small{display:block;color:#7a8586;font-size:9px}.source-details a>svg{flex-shrink:0}.source-details a:hover{text-decoration:underline}.home-context-name .website-read-status{display:block;margin-top:4px;color:#64776c;font-size:10px;line-height:1.4}.home-context-name .website-read-status.limited{color:#85613b}.source-explanation{margin:4px 0 10px;font-size:10px;line-height:1.6}.conversation-log{flex:0 0 auto;display:flex;flex-direction:column;gap:17px}.message-row{flex-shrink:0;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.message-row.user{align-items:flex-end}.talk-bubble,.talk-bubble-user{max-width:96%;padding:14px 15px;border-radius:18px 18px 18px 5px;background:var(--secondary-bg-color)}.talk-bubble-user{background:var(--primary-bg-color);color:var(--primary-text-color);border-radius:18px 18px 5px}.talktext{font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}.talktext strong{font-weight:700}.talktext a{color:#315f79;text-decoration:underline;text-underline-offset:3px}.message-time{font-size:8px;color:#7a838a;padding:0 5px}.scenario-area{flex:0 0 auto;margin-top:1px}.scenario-area>p{margin:0 0 9px;color:#6f7b84;font-size:9px;line-height:1.4}.talk-options{width:100%;display:flex;flex-wrap:wrap;gap:7px}.talk-options button{min-height:39px;max-width:100%;padding:9px 12px;border:1px solid #ccd5da;border-radius:11px;background:#fffa;color:#41596a;font-size:10px;font-weight:500;line-height:1.5;text-align:left;cursor:pointer;overflow-wrap:anywhere;transition:border-color .15s,background .15s}.talk-options button:hover{border-color:#8fa3b0;background:#e8eef1}.composer-tools{display:flex;justify-content:flex-end}.summary-control{min-height:32px;font-size:9px;gap:5px}.summary-control>span{font-size:8px;font-weight:400}.summary-control:disabled{color:#7a858d;cursor:default;text-decoration:none}.summary-heading{display:flex;align-items:center;gap:6px;margin-bottom:2px;color:#79613c;font-size:10px;font-weight:600}.summary-row .talk-bubble{max-width:100%;background:#eee7da;border:1px solid #dccdb4;border-radius:13px}.summary-note{margin-left:3px;color:#7a6b56;font-size:8px;line-height:1.6}.chatbot-input{flex:0 0 auto;margin:0;padding:12px 15px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--sarah-border);background:var(--sarah-surface)}.inside-bot{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid #b9c3cb;border-radius:15px;background:#fff}.inside-bot:focus-within{border-color:#556e85;box-shadow:0 0 0 2px #556e8526}.chatbot-input input{min-width:0;width:100%;flex:1;border:0;outline:none;background:transparent;color:var(--secondary-text-color);font:400 16px/1.5 Montserrat,sans-serif;padding:9px 7px}.chatbot-input input::placeholder{color:#64717e;font-size:11px}.send-button{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:11px;background:var(--primary-bg-color);color:#fff;font-size:22px;cursor:pointer}.send-button:disabled{background:#e8ecef;color:#74818c;cursor:default}.composer-note{margin:8px 0 0;text-align:center;font-size:8px;line-height:1.5;color:#7a858d}.main-container button:focus-visible,.main-container a:focus-visible,.source-details summary:focus-visible,#chat-toggle:focus-visible,.chatbot-body:focus-visible{outline:3px solid #b88645;outline-offset:3px}.header-control:focus-visible{outline-color:#f1cc99;outline-offset:-3px}.loading-reply{flex:0 0 auto;align-self:flex-start;max-width:100%;color:#526878;padding:10px 2px}.typing{display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.7}.typing-dots{display:flex;gap:3px;flex-shrink:0}.typing-dots i{height:4px;width:4px;border-radius:50%;background:currentColor;animation:pulse 1.2s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}.reading-progress{width:100%;padding:18px 15px;border:1px solid #d8dfdf;border-radius:14px;background:#ebefed}.reading-progress .typing{font-size:11px;color:#3e5960}.reading-progress p{margin:11px 0 0;font-size:9px;line-height:1.7;color:#6b7c7b}.reading-track{height:3px;margin-top:15px;overflow:hidden;border-radius:3px;background:#d6deda}.reading-track span{display:block;width:35%;height:100%;border-radius:inherit;background:#7f998e;animation:reading 2s infinite ease-in-out}.demo-error,.session-notice{flex-shrink:0;margin:0;padding:13px 14px;border:1px solid #ddcfc0;border-radius:12px;background:#f3ece2;color:#775b3e;font-size:11px;line-height:1.7}.demo-error p{margin:0}.retry-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin-top:8px;padding:8px 11px;border:1px solid #cbb59a;border-radius:9px;background:#fffaf3;color:#6c5234;font-size:10px;font-weight:600;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@keyframes pulse{0%,80%,to{opacity:.35}40%{opacity:1}}@keyframes reading{0%{transform:translate(-100%)}to{transform:translate(400%)}}@media (max-width: 360px){.chatbot-header{padding:12px;gap:8px}.header-avatar{width:40px;height:40px}.header-identity h2{font-size:17px}.chatbot-status{font-size:10px}.chatbot-body{padding:18px 14px}.chatbot-input{padding:10px}.demo-welcome h3{font-size:25px}.demo-banner{font-size:8px;padding-inline:8px}.welcome-action{gap:9px;padding-inline:11px}.welcome-action strong{font-size:11px}.welcome-action small{font-size:8px}.home-context{padding-inline:12px}.home-context-name strong{max-width:175px}.home-context .text-button{font-size:8px}}@media (max-height: 460px){.chatbot-header{padding-top:7px;padding-bottom:7px}.header-avatar{width:36px;height:36px}.header-identity h2{font-size:16px;margin-bottom:3px}.demo-banner{padding-top:6px;padding-bottom:6px}.home-context{padding-top:5px;padding-bottom:5px}.chatbot-body{padding-top:12px;padding-bottom:12px;gap:12px}.chatbot-input{padding-top:8px;padding-bottom:8px}.composer-note,.demo-footer>span{display:none}}@media (prefers-reduced-motion: reduce){.typing-dots i,.reading-track span{animation:none}.welcome-action,.talk-options button,.source-details summary>svg{transition:none}}#chat-toggle{position:fixed;right:16px;bottom:8px;width:60px;height:60px;padding:0;border:2px solid #d7b17e;border-radius:50%;background:#f5f3ef;box-shadow:0 4px 16px #10213526;cursor:pointer;z-index:9999}#chat-toggle[hidden],#chat-widget[hidden]{display:none}#chat-toggle img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 15%}.tooltip{position:absolute;bottom:70px;right:0;background:#1c2c3d;color:#fff;padding:10px 13px;border:1px solid #ffffff1a;border-radius:10px 10px 3px;font:500 11px/1.4 Montserrat,sans-serif;white-space:nowrap;pointer-events:none}#chat-widget{position:fixed;bottom:calc(12px + var(--sarah-keyboard-offset, 0px));right:12px;width:min(400px,calc(100% - 24px));height:min(700px,calc(var(--sarah-viewport-height, 100dvh) - 24px));z-index:9998}#chat-widget.chat-expanded{width:min(560px,calc(100% - 24px));height:calc(var(--sarah-viewport-height, 100dvh) - 24px)}body.embed-mode #chat-widget{right:0;bottom:0;width:100%;height:100%}@media (max-width: 480px){#chat-widget,#chat-widget.chat-expanded{right:8px;width:calc(100% - 16px)}body.embed-mode #chat-widget{right:0;width:100%}}.embed-generator{position:fixed;top:20px;left:20px;z-index:10000}.embed-toggle-btn{background:linear-gradient(105deg,#4b6cb7,#182848);color:#fff;border:none;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 2px 8px #00000026;transition:all .3s ease;font-family:Courier New,monospace}.embed-toggle-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.embed-modal{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.embed-modal-content{background:#fff;border-radius:12px;padding:24px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 40px #0000004d}.embed-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;border-bottom:1px solid #eee;padding-bottom:12px}.embed-header h3{margin:0;color:#333;font-size:18px}.close-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.close-btn:hover{background:#f0f0f0;color:#333}.embed-code-container{position:relative;margin:16px 0}.embed-code{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:16px;font-size:12px;line-height:1.4;overflow-x:auto;white-space:pre-wrap;word-break:break-all;font-family:Courier New,monospace;color:#333;max-height:200px;overflow-y:auto}.copy-btn{position:absolute;top:12px;right:12px;background:#4b6cb7;color:#fff;border:none;border-radius:6px;padding:6px 12px;font-size:12px;cursor:pointer;transition:all .2s ease}.copy-btn:hover{background:#3a5a9e}.copy-btn.copied{background:#28a745}.embed-instructions{background:#f8f9fa;border-radius:8px;padding:16px;margin-top:16px}.embed-instructions h4{margin:0 0 12px;color:#333;font-size:14px}.embed-instructions ol{margin:0;padding-left:20px;font-size:13px;line-height:1.5;color:#666}.embed-instructions li{margin-bottom:4px}.embed-type-selector{margin:16px 0;padding:16px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.embed-type-selector label{display:block;margin-bottom:12px;cursor:pointer;font-size:14px;color:#333}.embed-type-selector label:last-child{margin-bottom:0}.embed-type-selector input[type=radio]{margin-right:8px}.embed-type-selector span{font-weight:600;color:#4b6cb7}@media (max-width: 768px){.embed-modal-content{width:95%;padding:16px;margin:20px}.embed-code{font-size:11px;padding:12px}.embed-toggle-btn{padding:8px 10px;font-size:12px}}
