/* Raxni's own public and installation help. No customer widget/reply allowance is used.
   Clean chat presentation: quiet text, flat links and keyboard-only focus feedback. */
.r145-help{--help-accent:#2563eb;--help-ink:#202124;--help-muted:#68707e;--help-line:#e8eaee;--help-surface:#fff;--help-soft:#f4f5f7;--help-user:#eaf1fe;box-sizing:border-box;color:var(--help-ink);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.6;text-align:left}
.r145-help *{box-sizing:border-box}
.r145-help :is(button,a,input,select,textarea,summary,[tabindex]),.r145-help :is(button,a,input,select,textarea,summary,[tabindex]):focus{border:0!important;outline:0!important;box-shadow:none!important}
.r145-help [hidden]{display:none!important}
.r145-help button,.r145-help textarea,.r145-help select{font:inherit}
.r145-help button{cursor:pointer;box-shadow:none}
.r145-help button:disabled{cursor:wait;opacity:.5}
.r145-help :focus:not(:focus-visible){outline:none;box-shadow:none}
.r145-help :focus-visible{outline:none;box-shadow:none}
.r145-help :is(a,button,select):focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.r145-help :is(.r145-help-launcher,.r145-help-send):focus-visible{filter:brightness(.8)}
.r145-help :is(.r145-help-close,.r145-help-teaser-dismiss):focus-visible{background:var(--help-soft)}
.r145-help a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
.r145-help-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0}
.r145-help-launcher{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:2147482100;width:52px;height:52px;display:grid;place-items:center;border:0;border-radius:50%;background:#171717;color:#fff;padding:14px;box-shadow:0 4px 16px #1717171f}
.r145-help-launcher:hover{background:#2b2b2b}
.r145-help-launcher svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.r145-help-launcher path+path{stroke-width:3}
.r145-help-panel{background:var(--help-surface);border:0;border-radius:18px;overflow:hidden;min-width:0;display:flex;flex-direction:column}
.r145-help--public .r145-help-panel{margin:0;padding:0;max-width:none;max-height:none;position:fixed;top:auto;left:auto;right:max(24px,env(safe-area-inset-right));bottom:calc(var(--r145-help-bottom,24px) + 64px);z-index:2147482100;width:min(410px,calc(100vw - 32px));height:min(660px,calc(100dvh - var(--r145-help-bottom,24px) - 88px));box-shadow:0 14px 48px #18223518}
.r145-help-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:19px 20px 14px;border:0;flex:none}
.r145-help-head>div{min-width:0}
.r145-help-head h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:15px;line-height:1.4;font-weight:600;margin:0;letter-spacing:-.015em;color:var(--help-ink)}
.r145-help-head p{font-size:12px;color:var(--help-muted);margin:4px 0 0;line-height:1.5}
.r145-help-ai{display:inline-flex;padding:1px 5px;border:0;border-radius:4px;background:var(--help-soft);font-size:10px;line-height:1.5;font-weight:500;letter-spacing:.02em;color:var(--help-muted)}
.r145-help-close{flex:none;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--help-muted);font-size:23px!important;line-height:1}
.r145-help-close:hover{background:var(--help-soft);color:var(--help-ink)}
.r145-help-messages{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;padding:20px;display:flex;flex-direction:column;gap:24px;scrollbar-width:thin;scrollbar-color:#d3d7df transparent}
.r145-help-message{font-size:14px;line-height:1.6;max-width:100%;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.r145-help-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;color:var(--help-ink);font-size:inherit;line-height:inherit}
.r145-help-author{display:block;font-size:11px;line-height:1.4;font-weight:500;color:var(--help-muted)}
.r145-help-message--user{align-self:flex-end;border:0;border-radius:14px 14px 4px 14px;background:var(--help-user);padding:10px 13px;max-width:88%}
.r145-help-message--user p{margin:3px 0 0}
.r145-help-message:not(.r145-help-message--user){align-self:flex-start;width:fit-content;max-width:100%;padding:10px 13px;border-radius:4px 14px 14px;background:var(--help-soft)}
.r145-help-message--user{width:fit-content}
.r145-help-sources{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.r145-help-sources a{display:inline-flex;max-width:100%;align-items:center;gap:4px;border:0;border-radius:2px;padding:2px 0;font-size:12px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;background:transparent;color:var(--help-accent)}
.r145-help-sources a:hover{text-decoration:underline}
.r145-help-source-mode{font-size:11px;color:var(--help-muted);margin-top:10px}
.r145-help-starters{flex:none;display:flex;flex-wrap:wrap;gap:4px 8px;padding:0 16px 12px}
.r145-help-starters button{padding:6px 8px;border:0;border-radius:6px;background:transparent;font-size:12px;line-height:1.45;font-weight:400;color:var(--help-muted);text-align:left}
.r145-help--public .r145-help-starters{position:relative;padding-right:48px}
.r145-help--public .r145-help-starters .r145-help-starters-dismiss{position:absolute;right:12px;top:0;display:grid;place-items:center;width:32px;height:32px;padding:0;font-size:22px;line-height:1}
.r145-help--public .r145-help-starters-dismiss:focus-visible{background:var(--help-soft)}
.r145-help-starters button:hover:not(:disabled){background:var(--help-soft);color:var(--help-ink)}
.r145-help-status{padding:0 18px;flex:none;font-size:12px;color:var(--help-muted);line-height:1.5;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.r145-help-status:has([data-help-status]:empty){display:none}
.r145-help-status:has([data-help-status]:not(:empty)){padding-bottom:10px}
.r145-help-status button{color:var(--help-accent);border:0;padding:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.r145-help-composer{position:relative;flex:none;margin:0 16px;padding:12px 52px 12px 13px;border:0;border-radius:12px;background:var(--help-soft);display:flex;align-items:flex-end;min-width:0;outline:none;box-shadow:none}
.r145-help-composer:focus-within{border:0;outline:none;box-shadow:none}
.r145-help-composer:has(textarea:focus-visible){outline:none;box-shadow:none}
.r145-help-composer textarea{display:block;resize:vertical;min-height:42px;max-height:120px;line-height:1.6;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--help-ink);font-size:14px;outline:none!important}
.r145-help-composer textarea::placeholder{color:var(--help-muted);opacity:1}
.r145-help-composer textarea:focus{border:0;outline:none;box-shadow:none;caret-color:var(--help-ink)}
.r145-help-send{position:absolute;right:9px;bottom:10px;width:32px;height:32px;border:0;border-radius:9px;padding:5px;background:var(--help-accent);color:#fff;display:grid;place-items:center}
.r145-help-send:hover:not(:disabled){background:#1d4ed8}
.r145-help-send svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.r145-help-footer{flex:none;padding:11px 18px 16px}
.r145-help-footer p{margin:0;color:var(--help-muted);font-size:11px;line-height:1.5}
.r145-help-footer>div{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:8px}
.r145-help-footer a,.r145-help-footer button{font-size:11px;line-height:1.5;font-weight:400;color:var(--help-muted);text-decoration:none}
.r145-help-footer a:hover,.r145-help-footer button:hover{text-decoration:underline}
.r145-help-footer button{border:0;background:transparent;padding:0}

/* The cookie offset can leave less room than the public controls need.
   Let that panel scroll instead of clipping its composer; installation stays inline. */
.r145-help--public .r145-help-panel{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.r145-help--public .r145-help-head{position:sticky;top:0;z-index:1;background:var(--help-surface)}

/* Public invitation and cookie offset keep their existing behavior. */
.r145-help--public .r145-help-launcher{bottom:max(var(--r145-help-bottom,24px),env(safe-area-inset-bottom))}
.r145-help-teaser{display:none;position:fixed;right:max(24px,env(safe-area-inset-right));bottom:calc(var(--r145-help-bottom,24px) + 72px);z-index:2147482099;width:294px;max-width:calc(100vw - 48px);border:0;border-radius:14px;background:var(--help-surface);box-shadow:0 5px 20px #18223512}
.r145-help-teaser::after{content:"";position:absolute;right:22px;bottom:-6px;width:10px;height:10px;border:0;background:var(--help-surface);transform:rotate(45deg);pointer-events:none}
.r145-help-teaser-message{display:block;width:100%;padding:16px 42px 16px 17px;border:0;border-radius:14px;background:transparent;color:var(--help-ink);text-align:left;line-height:1.5}
.r145-help-teaser-message strong{display:block;margin:0 0 4px;font-size:14px;font-weight:500}
.r145-help-teaser-message span{display:block;font-size:13px;font-weight:400;color:var(--help-muted)}
.r145-help-teaser-message:hover strong{text-decoration:underline;text-underline-offset:3px}
.r145-help-teaser-dismiss{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--help-muted);font-size:22px!important;line-height:1}
.r145-help-teaser-dismiss:hover{background:var(--help-soft);color:var(--help-ink)}
@media(min-width:901px) and (hover:hover) and (pointer:fine){.r145-help-teaser{display:block}}

/* Installation helper stays in normal page flow; only its transcript scrolls. */
.r145-help--install{margin-bottom:24px;min-width:0;max-width:100%;height:auto;overflow:visible}
.r145-help--install .r145-help-invitation{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border:0;border-radius:12px;background:var(--help-soft)}
.r145-help--install .r145-help-invitation h2{margin:0;color:var(--help-ink);font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.015em}
.r145-help--install .r145-help-invitation p{max-width:580px;margin:6px 0 0;color:var(--help-muted);font-size:14px;line-height:1.6}
.r145-help--install .r145-help-invitation-actions{display:flex;flex:none;align-items:flex-start;flex-direction:column;gap:10px}
.r145-help--install .r145-help-invitation-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:9px 14px;border:0;border-radius:8px;background:var(--help-accent);color:#fff;font-size:13px;line-height:1.5;font-weight:500;min-height:40px;box-shadow:none;transform:none}
.r145-help--install .r145-help-invitation-actions .btn:hover{background:#1d4ed8}
.r145-help--install .r145-help-invitation-actions>div{display:flex;flex-wrap:wrap;gap:8px 16px}
.r145-help--install .r145-help-invitation-actions a{font-size:12px;color:var(--help-muted);text-decoration:none}
.r145-help--install .r145-help-invitation-actions a:hover{text-decoration:underline}
.r145-help--install .r145-help-panel{display:block;position:static;margin-top:14px;max-width:100%;height:auto;max-height:none;min-height:0;overflow:visible;border:0;border-radius:12px;scroll-margin-top:76px}
.r145-help--install .r145-help-head{padding:18px 20px 12px;gap:12px}
.r145-help--install .r145-help-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding:0 20px 14px;border:0;background:transparent}
.r145-help--install .r145-help-platform-field{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.r145-help--install .r145-help-context label{margin:0;font-size:12px;line-height:1.4;color:var(--help-muted)}
.r145-help--install .r145-help-context select[data-help-platform]{width:190px;max-width:100%;min-height:38px;margin:0;padding:7px 30px 7px 10px;border:0;border-radius:7px;background:var(--help-soft);color:var(--help-ink);font-size:14px;line-height:1.4;box-shadow:none}
.r145-help--install .r145-help-context a{font-size:12px;line-height:1.5;color:var(--help-muted);text-decoration:none}
.r145-help--install .r145-help-context a:hover{text-decoration:underline}
.r145-help--install .r145-help-messages{display:flex;flex:none;min-height:200px;height:clamp(260px,44vh,420px);height:clamp(260px,44dvh,420px);max-height:none;padding:22px max(20px,calc((100% - 860px)/2));gap:24px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable}
.r145-help--install .r145-help-message{flex-shrink:0;font-size:14px}
.r145-help--install .r145-help-starters{padding:12px max(20px,calc((100% - 860px)/2));border:0;gap:4px 8px}
.r145-help--install .r145-help-starters button{font-size:12px;min-height:34px}
.r145-help--install .r145-help-starters button:disabled{cursor:not-allowed}
.r145-help--install .r145-help-composer{margin:0 max(20px,calc((100% - 860px)/2));min-height:96px}
.r145-help--install .r145-help-composer textarea{min-height:72px;max-height:220px}
.r145-help--install .r145-help-footer{padding:12px max(20px,calc((100% - 860px)/2)) 18px}
.r145-help--install .r145-help-status{padding-inline:max(20px,calc((100% - 860px)/2))}
.r145-help--install .r145-help-platform-note{align-self:center;font-size:12px;color:var(--help-muted);border:0;padding:6px 0;text-align:center}
[data-theme="dark"] .r145-help--install{--help-accent:#93b4ff;--help-ink:#eceef2;--help-muted:#aeb5c1;--help-line:#353a45;--help-surface:#20232a;--help-soft:#2b3039;--help-user:#263a58}
[data-theme="dark"] .r145-help--install .r145-help-send,[data-theme="dark"] .r145-help--install .r145-help-invitation-actions .btn{background:#2563eb;color:#fff}
[data-theme="dark"] .r145-help--install .r145-help-send:hover:not(:disabled),[data-theme="dark"] .r145-help--install .r145-help-invitation-actions .btn:hover{background:#1d4ed8}
@media(max-width:900px){
 .r145-help--install .r145-help-invitation{align-items:flex-start;flex-direction:column;gap:14px}
 .r145-help--install .r145-help-invitation-actions{width:100%;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px 18px}
}
@media(max-width:680px),(max-width:1000px) and (pointer:coarse){
 /* Native modal fills the usable screen; Close restores the unchanged cookie banner. */
 .r145-help--public .r145-help-panel{top:var(--r145-help-view-top,0px);left:var(--r145-help-view-left,0px);right:auto;bottom:auto;width:var(--r145-help-view-width,100vw);height:var(--r145-help-view-height,100dvh);max-height:none;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
 .r145-help--public:has(.r145-help-panel:not([hidden])) .r145-help-launcher{visibility:hidden}
 .r145-help--public .r145-help-messages{min-height:64px}
 .r145-help--public.r145-help--compact-view .r145-help-head{padding-block:8px}
 .r145-help--public.r145-help--compact-view .r145-help-head p{display:none}
 .r145-help--public.r145-help--compact-view .r145-help-messages{padding-block:10px;gap:12px}
 .r145-help--public.r145-help--compact-view .r145-help-footer{padding-block:6px}
 .r145-help--public.r145-help--compact-view .r145-help-starters{padding-bottom:6px}
}
@media(max-width:680px){
 .r145-help-launcher{right:max(16px,env(safe-area-inset-right));width:50px;height:50px}
 .r145-help--public .r145-help-launcher{bottom:max(var(--r145-help-bottom,16px),env(safe-area-inset-bottom))}

 .r145-help-head{padding:16px 16px 12px}
 .r145-help-messages{padding:18px 16px;gap:22px}
 .r145-help-composer textarea{font-size:16px}
 .r145-help--install .r145-help-invitation{padding:17px}
 .r145-help--install .r145-help-invitation p{font-size:13px}
 .r145-help--install .r145-help-head{padding:15px 15px 12px}
 .r145-help--install .r145-help-context{padding:0 15px 12px}
 .r145-help--install .r145-help-platform-field{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px}
 .r145-help--install .r145-help-context select[data-help-platform]{width:100%;font-size:16px}
 .r145-help--install .r145-help-messages{height:clamp(220px,36vh,320px);height:clamp(220px,36dvh,320px);padding:18px 15px;gap:22px}
 .r145-help--install .r145-help-starters{padding:12px 15px}
 .r145-help--install .r145-help-composer{margin-inline:12px}
 .r145-help--install .r145-help-footer{padding:12px 15px 15px}
 .r145-help--install .r145-help-status{padding-inline:15px}
}
@media(prefers-reduced-motion:reduce){.r145-help *{scroll-behavior:auto!important}}
@media(forced-colors:active){.r145-help :is(button,select):focus-visible{color:Highlight;text-decoration:underline;text-decoration-thickness:3px}.r145-help :is(.r145-help-launcher,.r145-help-send):focus-visible{background:Highlight;color:HighlightText;forced-color-adjust:none}}

/* History remains readable and the editable draft stays available at a daily limit. */
.r145-help-history-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;border-bottom:1px solid #e7e9ef}
.r145-help-history-tools button{border:0;background:transparent;color:#4745a8;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.r145-help-history-tools button:disabled{opacity:.55;cursor:default}
.r145-help-quota{margin:0;padding:6px 16px;color:#626879;font-size:11px;line-height:1.5}
.r145-help-quota:empty{display:none}
.r145-help-history-tools [hidden]{display:none!important}
.r145-help-history-tools,.r145-help-quota,.r145-help-message{flex-shrink:0}
.r145-help-history-tools:not(:has(button:not([hidden]))){display:none}
