.embed-page{position:relative;width:100vw;height:100vh;margin:0;padding:0}.embed-page [data-clerk-element=sign-in],.embed-page .cl-rootBox,.embed-page>div>div{position:fixed!important;bottom:20px!important;right:20px!important;z-index:10000!important}.chat-embed{width:100%;height:100%}.beta-disclaimer{width:100%;padding:12px 16px;background:#fef3c7;border:1px solid #fbbf24;border-radius:8px;margin-bottom:16px}.beta-disclaimer-content{display:flex;align-items:center;gap:10px;font-size:14px;color:#92400e;line-height:1.5}.beta-disclaimer-icon{font-size:18px;flex-shrink:0}.beta-disclaimer-text{flex:1}.state-selection-container{display:flex;align-items:center;justify-content:center;min-height:100vh;width:100%;background:#f2f6fc;padding:20px}.state-selection-card{width:min(500px,92vw);background:#fff;padding:32px;border-radius:16px;box-shadow:0 20px 60px #11224426}.state-selection-card h1{margin:0 0 16px;font-size:28px;font-weight:600;color:#0f172a}.state-selection-subtitle{margin:0 0 24px;font-size:16px;color:#64748b;line-height:1.6}.state-selection-email{margin:0 0 24px;font-size:14px;color:#475569;padding:12px;background:#f1f5f9;border-radius:8px}.state-selection-email strong{color:#0f172a;font-weight:500}.state-selection-field{margin-bottom:24px}.state-selection-field label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:#0f172a}.state-selection-field select{width:100%;padding:12px 16px;font-size:16px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#0f172a;cursor:pointer;transition:border-color .2s;font-family:inherit}.state-selection-field select:hover{border-color:#cbd5e1}.state-selection-field select:focus{outline:none;border-color:#295fa6;box-shadow:0 0 0 3px #295fa61a}.state-selection-field select.error{border-color:#ef4444}.error-message{display:block;margin-top:8px;font-size:14px;color:#ef4444}.state-selection-button{width:100%;padding:14px 24px;font-size:16px;font-weight:500;color:#fff;background:#295fa6;border:none;border-radius:8px;cursor:pointer;transition:background-color .2s;font-family:inherit}.state-selection-button:hover{background:#1e4a7a}.state-selection-button:active{background:#153d63}.state-selection-button:focus{outline:none;box-shadow:0 0 0 3px #295fa64d}.procurement-chat-widget{position:fixed;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.procurement-chat-widget.bottom-right,.procurement-chat-widget.bottom-left{bottom:20px}.procurement-chat-widget.top-right,.procurement-chat-widget.top-left{top:20px}.procurement-chat-widget.bottom-right,.procurement-chat-widget.top-right{right:20px}.procurement-chat-widget.bottom-left,.procurement-chat-widget.top-left{left:20px;align-items:flex-start}.procurement-chat-widget.light{--primary-color: #295fa6;--secondary-color: #1f478c;--accent-color: #f28945;--background-color: #f2f6fc;--surface-color: #ffffff;--text-color: #1b2336;--muted-text-color: #53617a;--border-color: #d6e0f3;--bot-bubble-color: #e9f0fb}.procurement-chat-widget.dark{--primary-color: #4d8dd9;--secondary-color: #2f5291;--accent-color: #ff9b63;--background-color: #0f172a;--surface-color: #111c32;--text-color: #f8fafc;--muted-text-color: #cbd5f5;--border-color: #1e2b48;--bot-bubble-color: #152540}.chat-window{--chat-scale: clamp(1, calc(26vw/380px) , 1.24);width:clamp(360px,26vw,600px);max-height:min(82vh,680px);display:flex;flex-direction:column;background-color:var(--surface-color, #ffffff);border:1px solid var(--border-color, #e5e7eb);border-radius:calc(16px * var(--chat-scale));box-shadow:0 22px 45px #11224440;overflow:hidden;position:relative;z-index:1;font-size:clamp(.95rem,calc(var(--chat-scale) * 1rem),1.05rem);will-change:transform,opacity}.chat-header{display:flex;align-items:flex-end;justify-content:space-between;gap:calc(12px * var(--chat-scale));padding:calc(4px * var(--chat-scale)) calc(8px * var(--chat-scale)) 0;background:linear-gradient(140deg,var(--primary-color, #295fa6) 0%,var(--secondary-color, #1f478c) 60%,rgba(41,95,166,.92) 100%);color:#fff}.chat-header-actions{display:flex;align-items:flex-end;gap:calc(10px * var(--chat-scale));margin-bottom:calc(4px * var(--chat-scale))}.tooltip-wrapper{position:relative;display:inline-flex;align-items:center;justify-content:center}.tooltip-bubble{position:fixed;top:0;left:0;transform:translate(-50%,calc(-100% - 12px));background:#112244eb;color:#fff;font-size:calc(12px * var(--chat-scale, 1));line-height:1.2;padding:calc(6px * var(--chat-scale, 1)) calc(8px * var(--chat-scale, 1));border-radius:calc(6px * var(--chat-scale, 1));white-space:nowrap;box-shadow:0 6px 16px #11224447;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:99999}.tooltip-bubble:after{content:"";position:absolute;width:calc(10px * var(--chat-scale, 1));height:calc(10px * var(--chat-scale, 1));background:inherit;box-shadow:inherit}.tooltip-bubble.tooltip-top:after{top:100%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.tooltip-bubble.tooltip-bottom{transform:translate(-50%,12px)}.tooltip-bubble.tooltip-bottom:after{top:0;left:50%;transform:translate(-50%,-50%) rotate(45deg)}.tooltip-bubble.tooltip-left{transform:translate(calc(-100% - 12px),-50%)}.tooltip-bubble.tooltip-left:after{top:50%;left:100%;transform:translate(-50%,-50%) rotate(45deg)}.tooltip-bubble.tooltip-right{transform:translate(12px,-50%)}.tooltip-bubble.tooltip-right:after{top:50%;left:0;transform:translate(-50%,-50%) rotate(45deg)}.chat-brand{display:flex;align-items:flex-end;flex:1 1 auto;min-width:0;max-width:calc(100% - clamp(90px,calc(96px * var(--chat-scale)),132px))}.chat-header-logo{display:block;width:100%;height:auto;object-fit:contain;max-height:clamp(56px,calc(62px * var(--chat-scale)),84px);object-position:left bottom}.chat-expand-button{background:#ffffff24;border:none;border-radius:50%;color:#fff;width:clamp(30px,calc(32px * var(--chat-scale)),40px);height:clamp(30px,calc(32px * var(--chat-scale)),40px);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,transform .2s ease}.chat-expand-button:hover{background:#ffffff3d;transform:translateY(-1px)}.chat-expand-button:active{transform:translateY(0)}.chat-expand-button svg{width:clamp(14px,calc(16px * var(--chat-scale)),20px);height:clamp(14px,calc(16px * var(--chat-scale)),20px)}.chat-export-button{background:#ffffff24;border:none;border-radius:50%;color:#fff;width:clamp(30px,calc(32px * var(--chat-scale)),40px);height:clamp(30px,calc(32px * var(--chat-scale)),40px);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,transform .2s ease,opacity .2s ease}.chat-export-button:hover:not(:disabled){background:#ffffff3d;transform:translateY(-1px)}.chat-export-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.chat-messages{flex:1;overflow-y:auto;padding:calc(20px * var(--chat-scale)) calc(18px * var(--chat-scale));background:linear-gradient(180deg,#295fa60f,#fffffff5 55%,#fff)}.chat-auth-card{padding:calc(18px * var(--chat-scale));background:linear-gradient(180deg,#295fa614,#fffffff5 90%,#fff);border-bottom:1px solid var(--border-color, #d6e0f3);display:flex;flex-direction:column;gap:calc(12px * var(--chat-scale));color:var(--text-color, #1b2336)}.chat-auth-card-title{margin:0;font-size:1.05em;font-weight:600;color:var(--primary-color, #295fa6)}.chat-auth-card-copy{margin:0;font-size:.93em;color:var(--muted-text-color, #53617a)}.chat-auth-google-button{display:inline-flex;align-items:center;gap:calc(10px * var(--chat-scale));padding:0 calc(16px * var(--chat-scale));height:clamp(38px,calc(42px * var(--chat-scale)),52px);border-radius:calc(12px * var(--chat-scale));border:1px solid var(--border-color, #d6e0f3);background:#fff;color:var(--text-color, #1b2336);font-size:.95em;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;box-shadow:0 10px 22px #1122441f}.chat-auth-google-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 12px 26px #11224429;border-color:var(--accent-color, #f28945)}.chat-auth-google-button:disabled{cursor:not-allowed;opacity:.72;box-shadow:none}.chat-auth-google-icon{display:inline-flex;align-items:center;justify-content:center;width:clamp(18px,calc(20px * var(--chat-scale)),26px);height:clamp(18px,calc(20px * var(--chat-scale)),26px)}.chat-auth-google-icon svg{display:block;width:100%;height:100%}.chat-auth-error{margin:0;font-size:.85em;color:var(--accent-color, #f28945)}.chat-message{display:flex;align-items:flex-start;gap:calc(12px * var(--chat-scale));margin-bottom:calc(16px * var(--chat-scale))}.chat-message.user{flex-direction:row-reverse;text-align:right}.chat-avatar{width:clamp(36px,calc(40px * var(--chat-scale)),52px);height:clamp(36px,calc(40px * var(--chat-scale)),52px);border-radius:50%;background-color:#fff;border:1px solid rgba(41,95,166,.25);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 22px #295fa62e;overflow:hidden;flex:0 0 clamp(36px,calc(40px * var(--chat-scale)),52px)}.procurement-chat-widget.dark .chat-avatar{background-color:#111c32e6;border-color:#ffffff1a;box-shadow:0 10px 22px #00000059}.chat-avatar img{width:82%;height:auto}.chat-avatar-initials{font-size:.85em;font-weight:600;letter-spacing:.04em;color:var(--primary-color, #295fa6);text-transform:uppercase}.chat-message.user .chat-avatar{background-color:#f289451f;border-color:#f2894566;box-shadow:0 8px 20px #f2894547}.chat-message.user .chat-avatar-initials{color:var(--accent-color, #f28945)}.chat-bubble{max-width:80%;padding:calc(12px * var(--chat-scale)) calc(16px * var(--chat-scale));border-radius:calc(16px * var(--chat-scale));font-size:1em;line-height:1.45;box-shadow:0 14px 28px #1122441f;white-space:pre-line;border:1px solid rgba(41,95,166,.12);background-color:var(--bot-bubble-color, #e9f0fb);color:var(--text-color, #1b2336)}.chat-message.bot .chat-bubble{border-bottom-left-radius:6px}.chat-message.bot.thinking .chat-bubble{font-style:italic;color:#1b2336bf}.procurement-chat-widget.dark .chat-message.bot.thinking .chat-bubble{color:#ffffffd9}.chat-message.user .chat-bubble{background:linear-gradient(135deg,var(--accent-color, #f28945) 0%,#ff9e5a 40%,var(--accent-color, #f28945) 100%);color:#fff;border-bottom-right-radius:6px;border-color:#f289457a;text-align:left}.chat-suggestions strong{color:var(--accent-color, #f28945)}.chat-suggestions ul{margin:6px 0 0;padding-left:18px}.chat-suggestions li{margin-bottom:4px}.chat-input-area{display:flex;gap:calc(12px * var(--chat-scale));padding:calc(16px * var(--chat-scale)) calc(18px * var(--chat-scale));border-top:1px solid var(--border-color, #d6e0f3);background-color:var(--surface-color, #ffffff);box-shadow:inset 0 1px #295fa614;--input-row-height: clamp(38px, calc(42px * var(--chat-scale)), 56px)}.chat-input-area textarea{flex:1;min-height:var(--input-row-height);height:var(--input-row-height);max-height:clamp(140px,calc(160px * var(--chat-scale)),220px);resize:none;border:1px solid var(--border-color, #d6e0f3);border-radius:calc(14px * var(--chat-scale));padding:calc(8px * var(--chat-scale)) calc(14px * var(--chat-scale));font-size:1em;font-family:inherit;color:var(--text-color, #1b2336);background-color:#fffffffa;line-height:1.35;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;overflow-y:auto}.chat-input-area textarea::placeholder{color:var(--muted-text-color, #53617a);opacity:.75}.chat-input-area textarea:focus-visible{outline:none;border-color:var(--accent-color, #f28945);box-shadow:0 0 0 3px #f289452e;background-color:#fff}.chat-input-area textarea:disabled{opacity:.6;cursor:not-allowed}.chat-send-button{align-self:center;display:inline-flex;align-items:center;justify-content:center;height:var(--input-row-height);padding:0 calc(18px * var(--chat-scale));background:linear-gradient(135deg,var(--primary-color, #295fa6) 0%,var(--secondary-color, #1f478c) 55%,var(--accent-color, #f28945) 110%);color:#fff;font-size:1em;font-weight:600;border:none;border-radius:calc(12px * var(--chat-scale));cursor:pointer;transition:background .2s ease,transform .2s ease,box-shadow .2s ease;box-shadow:0 12px 25px #295fa647}.chat-send-button:disabled{background:#295fa659;box-shadow:none;cursor:not-allowed;transform:none}.chat-send-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 16px 30px #295fa652}.chat-send-button:not(:disabled):active{transform:translateY(0);box-shadow:0 10px 18px #295fa642}.chat-motion-toggle{border:none;border-radius:16px;padding:10px 16px;background:linear-gradient(135deg,#f289452e,#295fa638);color:#1b2336;cursor:pointer;box-shadow:0 12px 24px #11224429;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;font-size:.78rem;line-height:1.35;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.chat-motion-toggle:hover{transform:translateY(-1px);box-shadow:0 16px 28px #1243;background:linear-gradient(135deg,#f289453d,#295fa647)}.chat-motion-toggle:active{transform:translateY(0);box-shadow:0 10px 18px #1122442e}.chat-motion-toggle__label{font-weight:600;color:#1b2336;font-size:.8rem}.chat-motion-toggle__hint{font-size:.72rem;color:#1b2336ad}.procurement-chat-widget.dark .chat-motion-toggle{background:linear-gradient(135deg,#f2894552,#4d8dd957);color:#f8fafc;box-shadow:0 12px 24px #0811247a}.procurement-chat-widget.dark .chat-motion-toggle:hover{background:linear-gradient(135deg,#f2894566,#4d8dd96b)}.procurement-chat-widget.dark .chat-motion-toggle__label{color:#f8fafc}.procurement-chat-widget.dark .chat-motion-toggle__hint{color:#f8fafcc2}.procurement-chat-widget[data-motion-preference=reduced][data-launcher-mode=full] .chat-launcher{position:fixed;top:clamp(18px,5vh,42px);width:64px;height:64px;border-radius:22px;padding:0;z-index:10001;box-shadow:0 28px 56px #0f1d3452}.procurement-chat-widget[data-motion-preference=reduced][data-launcher-mode=full].bottom-right .chat-launcher,.procurement-chat-widget[data-motion-preference=reduced][data-launcher-mode=full].top-right .chat-launcher{right:clamp(18px,5vw,42px);left:auto}.procurement-chat-widget[data-motion-preference=reduced][data-launcher-mode=full].bottom-left .chat-launcher,.procurement-chat-widget[data-motion-preference=reduced][data-launcher-mode=full].top-left .chat-launcher{left:clamp(18px,5vw,42px);right:auto}.chat-launcher{position:relative;width:70px;height:70px;border-radius:24px;border:none;background:linear-gradient(135deg,var(--primary-color, #295fa6) 0%,var(--secondary-color, #1f478c) 100%);color:#fff;font-size:26px;font-weight:600;cursor:pointer;box-shadow:0 20px 38px #234c8759;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,box-shadow .2s ease,transform .2s ease;padding:14px;line-height:1}.chat-launcher img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:brightness(0) invert(1)}.chat-launcher[data-active=true]{padding:0;background:linear-gradient(135deg,var(--accent-color, #f28945) 0%,#f49d64 100%);box-shadow:0 22px 40px #f2894559}.chat-launcher:hover{transform:translateY(-1px);background:linear-gradient(135deg,var(--secondary-color, #1f478c) 0%,var(--primary-color, #295fa6) 100%);box-shadow:0 24px 46px #173c6f70}.chat-launcher[data-active=true]:hover{background:linear-gradient(135deg,#f49d64 0%,var(--accent-color, #f28945) 100%);box-shadow:0 26px 48px #f2894566}.chat-launcher:focus-visible,.chat-close-button:focus-visible,.chat-expand-button:focus-visible,.chat-send-button:focus-visible{outline:3px solid rgba(242,137,69,.45);outline-offset:2px}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:#94a3b82e}.chat-messages::-webkit-scrollbar-thumb{background:#295fa673;border-radius:4px}.chat-overlay{position:fixed;inset:0;background:#1f478c99;-webkit-backdrop-filter:saturate(140%) blur(2px);backdrop-filter:saturate(140%) blur(2px);cursor:pointer;z-index:0;opacity:0}.chat-window.expanded{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 64px));height:min(88vh,780px);max-height:none;border-radius:22px;box-shadow:0 44px 90px #11224461}.chat-window.expanded .chat-header{padding:calc(18px * var(--chat-scale)) calc(28px * var(--chat-scale)) 0}.chat-window.expanded .chat-brand{max-width:calc(100% - clamp(110px,calc(124px * var(--chat-scale)),172px))}.chat-window.expanded .chat-header-logo{max-height:clamp(72px,calc(82px * var(--chat-scale)),108px)}.chat-window.expanded .chat-messages{padding:calc(28px * var(--chat-scale)) calc(28px * var(--chat-scale)) calc(24px * var(--chat-scale))}.chat-window.expanded .chat-input-area{padding:calc(22px * var(--chat-scale)) calc(28px * var(--chat-scale))}.procurement-chat-widget.expanded{pointer-events:none}.procurement-chat-widget.expanded .chat-window,.procurement-chat-widget.expanded .chat-overlay{pointer-events:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:768px){.procurement-chat-widget.bottom-right,.procurement-chat-widget.bottom-left{bottom:12px}.procurement-chat-widget.bottom-right,.procurement-chat-widget.top-right{right:12px}.procurement-chat-widget.bottom-left,.procurement-chat-widget.top-left{left:12px}.chat-window{width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 96px)}.chat-window.expanded{width:calc(100vw - 24px);height:calc(100vh - 24px);border-radius:18px}}@media(max-height:640px){.chat-window{max-height:calc(100vh - 64px)}.chat-messages{padding:calc(16px * var(--chat-scale)) calc(16px * var(--chat-scale))}.chat-input-area{padding:calc(14px * var(--chat-scale)) calc(16px * var(--chat-scale))}}body.procurement-chat-no-scroll{overflow:hidden}.thinking-indicator-container{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:24px;gap:6px}.thinking-dots-bounce{display:flex;gap:4px}.thinking-dots-bounce span{width:8px;height:8px;background-color:var(--primary-color, #295fa6);border-radius:50%;display:inline-block;animation:bounce 1.4s infinite ease-in-out both}.thinking-dots-bounce span:nth-child(1){animation-delay:-.32s}.thinking-dots-bounce span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.thinking-dots-pulse{display:flex;gap:4px}.thinking-dots-pulse span{width:8px;height:8px;background-color:var(--primary-color, #295fa6);border-radius:50%;opacity:.4;animation:pulse-opacity 1.4s infinite ease-in-out both}.thinking-dots-pulse span:nth-child(1){animation-delay:0s}.thinking-dots-pulse span:nth-child(2){animation-delay:.2s}.thinking-dots-pulse span:nth-child(3){animation-delay:.4s}@keyframes pulse-opacity{0%,to{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}.thinking-wave{display:flex;align-items:center;gap:4px;height:20px}.thinking-wave span{display:block;width:6px;height:6px;background:var(--primary-color, #295fa6);border-radius:50%;animation:wave 1.2s linear infinite}.thinking-wave span:nth-child(1){animation-delay:0s}.thinking-wave span:nth-child(2){animation-delay:-1s}.thinking-wave span:nth-child(3){animation-delay:-.8s}@keyframes wave{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}.procurement-chat-widget.dark .thinking-dots-bounce span,.procurement-chat-widget.dark .thinking-dots-pulse span,.procurement-chat-widget.dark .thinking-wave span{background-color:var(--accent-color, #ff9b63)}:root{color-scheme:light}body,html,#root,.page{margin:0;padding:0;height:100%}.page{display:flex;align-items:center;justify-content:center;background:#f2f6fc}.auth-shell{width:min(420px,92vw);background:#fff;padding:24px;border-radius:16px;box-shadow:0 20px 60px #11224426}.chat-fullscreen{height:100vh;width:100vw;display:flex;flex-direction:column;position:relative}.chat-fullscreen #procurement-chat-root{flex:1;overflow:hidden}
