/* Generated by scripts/build-secondary-css.mjs. */
/* site-chrome.css */
@media screen {
/* Public page navigation and footer only; account and Studio layouts are separate. */
@media (prefers-reduced-motion: no-preference) {
  html:has(> body:is(.site-page,.hc-desktop-footer)) { scroll-behavior:smooth; }
}
:is(.site-page,.hc-desktop-footer) main [id] { scroll-margin-top:24px; }
:is(.site-page,.hc-desktop-footer) > .site-footer { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px 28px; padding:clamp(24px,3vw,44px); }
:is(.site-page,.hc-desktop-footer) .footer-top { grid-column:1 / -1; display:grid; grid-template-columns:minmax(160px,.8fr) minmax(0,3fr); align-items:start; gap:clamp(24px,4vw,64px); padding-bottom:26px; border-bottom:1px solid #ffffff24; }
:is(.site-page,.hc-desktop-footer) .footer-brand { display:grid; align-content:start; justify-content:start; gap:12px; margin:0; }
:is(.site-page,.hc-desktop-footer) .footer-brand p { font-size:13px; }
:is(.site-page,.hc-desktop-footer) .footer-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
:is(.site-page,.hc-desktop-footer) .footer-links > div { gap:0; }
:is(.site-page,.hc-desktop-footer) .footer-links strong { margin-bottom:10px; font-size:13px; color:var(--paper); }
:is(.site-page,.hc-desktop-footer) .footer-links a { font-size:13px; line-height:1.5; padding-block:8px; }
:is(.site-page,.hc-desktop-footer) .footer-bottom { display:flex; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:6px 24px; min-width:0; }
:is(.site-page,.hc-desktop-footer) .footer-bottom small { flex:0 0 auto; color:#d9d7ce; font-size:12px; }
:is(.site-page,.hc-desktop-footer) .footer-legal { display:flex; flex-wrap:wrap; gap:0 18px; }
:is(.site-page,.hc-desktop-footer) .footer-legal a { display:inline-flex; align-items:center; min-height:36px; font-size:12px; color:#eae7df; text-decoration:none; }
:is(.site-page,.hc-desktop-footer) .footer-legal a:hover { color:white; text-decoration:underline; }
:is(.site-page,.hc-desktop-footer) .site-footer > .lumera-analytics-preferences { align-self:center; justify-self:start; margin:0 64px 0 0; padding:8px 0; min-height:36px; font-size:12px; }
:is(.site-page,.hc-desktop-footer) .site-footer a:focus-visible,:is(.site-page,.hc-desktop-footer) .site-footer button:focus-visible { outline:2px solid #f0c7ad; outline-offset:4px; }
:is(.site-page,.hc-desktop-footer) .footer-desktop { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); justify-content:start; text-align:left; }
@media (min-width:1024px) {
  :is(.site-page,.hc-desktop-footer) > .site-footer { display:flex; flex-wrap:wrap; justify-content:flex-start; }
  :is(.site-page,.hc-desktop-footer) .footer-top { flex:0 0 100%; grid-template-columns:220px max-content; justify-content:start; }
  :is(.site-page,.hc-desktop-footer) .footer-desktop { display:grid; grid-template-columns:repeat(2,minmax(160px,max-content)); justify-content:start; text-align:left; gap:clamp(32px,5vw,80px); }
  :is(.site-page,.hc-desktop-footer) .site-footer > .lumera-analytics-preferences { margin:0; }
}
@media (max-width:1023px) {
  :is(.site-page,.hc-desktop-footer) .footer-top { grid-template-columns:1fr; gap:24px; }
  :is(.site-page,.hc-desktop-footer) .footer-brand { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; }
  :is(.site-page,.hc-desktop-footer) .footer-bottom { grid-column:1 / -1; }
  :is(.site-page,.hc-desktop-footer) .site-footer > .lumera-analytics-preferences { grid-column:1 / -1; justify-self:start; margin-right:0; }
}
@media (max-width:650px) {
  :is(.site-page,.hc-desktop-footer) > .site-footer { padding:24px 20px; gap:12px; }
  :is(.site-page,.hc-desktop-footer) .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 20px; }
  :is(.site-page,.hc-desktop-footer) .footer-links a,:is(.site-page,.hc-desktop-footer) .footer-legal a { min-height:44px; }
  :is(.site-page,.hc-desktop-footer) .site-footer > .lumera-analytics-preferences { min-height:44px; }
}

@media screen and (max-width:1023px), screen and (max-width:1280px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
 :is(.site-page,.hc-desktop-footer) > .site-footer { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
 :is(.site-page,.hc-desktop-footer) .footer-top { grid-template-columns:minmax(0,1fr); gap:24px; }
 :is(.site-page,.hc-desktop-footer) .footer-brand { margin:0; }
 :is(.site-page,.hc-desktop-footer) .footer-brand .wordmark { min-height:44px; }
 :is(.site-page,.hc-desktop-footer) .footer-desktop { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 :is(.site-page,.hc-desktop-footer) .footer-links a,
 :is(.site-page,.hc-desktop-footer) .footer-legal a { display:flex; align-items:center; min-height:44px; }
 :is(.site-page,.hc-desktop-footer) .footer-bottom { grid-column:1; align-items:flex-start; flex-direction:column; gap:12px; }
 :is(.site-page,.hc-desktop-footer) .site-footer > .lumera-analytics-preferences { margin:0; min-height:44px; }
}

.site-page #site-navigation .site-nav-icon { display:none; }

/* Public mobile navigation. Keep desktop rules and the signed-in app separate.
   Wide, short touch screens cover phone landscape without changing short desktops. */
@media screen and (max-width:1023px), screen and (max-width:1280px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
 .site-page .site-header {
  width:calc(100% - max(var(--site-gutter),env(safe-area-inset-left)) - max(var(--site-gutter),env(safe-area-inset-right)));
  margin-left:max(var(--site-gutter),env(safe-area-inset-left)); margin-right:max(var(--site-gutter),env(safe-area-inset-right));
  min-height:68px; padding:12px 0; flex-wrap:wrap; gap:0; align-items:center;
 }
 .site-page .site-header .header-actions { margin-left:auto; gap:8px; }
 .site-page .site-header .nav-waitlist { min-height:44px; padding:10px 12px; font-size:12px; }
 .site-page .site-header .site-menu-toggle:not([hidden]) {
  display:block; width:44px; height:44px; padding:11px; flex:none;
  border:1px solid var(--line); border-radius:10px; background:#fffdf8; color:var(--ink);
 }
 .site-page .site-menu-toggle[aria-expanded=true] { background:#eee6dd; border-color:#bdb3a7; }
 .site-page .site-menu-toggle[aria-expanded=true] span:first-child { transform:translateY(5.5px) rotate(45deg); }
 .site-page .site-menu-toggle[aria-expanded=true] span:nth-child(2) { opacity:0; }
 .site-page .site-menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-5.5px) rotate(-45deg); }
 .site-page .site-header #site-navigation {
  order:3; flex-basis:100%; display:grid; grid-template-columns:minmax(0,1fr); align-items:stretch; justify-content:stretch; gap:4px;
  width:100%; margin:12px 0 0; padding:8px; background:#fffdf8;
  border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 32px #202b351a;
 }
 .site-page .site-header.nav-ready #site-navigation {
  display:none; position:absolute; inset:calc(100% + 4px) 0 auto auto;
  width:min(100%,380px); margin:0; max-height:calc(100dvh - 88px - env(safe-area-inset-bottom));
  overflow-y:auto; overscroll-behavior:contain; scroll-padding:8px;
 }
 .site-page .site-header.nav-ready #site-navigation.is-open { display:grid; }
 .site-page .site-header #site-navigation a {
  display:grid; grid-template-columns:22px minmax(0,1fr) 14px; align-items:center; gap:12px;
  min-height:52px; padding:12px; border:0; border-inline-start:3px solid transparent;
  border-radius:10px; color:var(--ink); background:transparent; box-shadow:none;
  font-size:16px; font-weight:500; line-height:1.4; text-decoration:none;
 }
 .site-page .site-header #site-navigation a[aria-current=page] {
  border-inline-start-color:var(--accent); background:#eee6dd; font-weight:700; box-shadow:none;
 }
 .site-page .site-header #site-navigation a:hover { background:#f1eee7; }
 .site-page .site-header #site-navigation a:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }
 .site-page #site-navigation .site-nav-icon { display:block; width:22px; height:22px; }
 .site-page #site-navigation a::after {
  content:""; display:block; width:7px; height:7px; justify-self:center;
  border-top:1.5px solid currentColor; border-right:1.5px solid currentColor;
  transform:rotate(45deg); opacity:.65;
 }
 /* Keep the menu's final row reachable in short landscape. */
 .site-page:has(#site-navigation.is-open) :is(.help-public-launcher,.help-invitation) { visibility:hidden; pointer-events:none; }
 .site-page.page-home .demo-stage.app-demo { display:none; }
}

}

/* help.css */
/* On-demand chat shared with Studio; mobile launcher stays on the viewport edge. */
.help-launcher{position:fixed;right:24px;bottom:24px;z-index:35;border:1px solid #a44f35;border-radius:99px;background:#a44f35;color:#fffdf9;box-shadow:0 6px 24px #202b3526;padding:13px 20px;font:600 15px/1.3 Arial,sans-serif;cursor:pointer;min-height:44px}
.help-panel{color:#202b35;background:#fffdf9;border:1px solid #d9d7ce;border-radius:24px;box-shadow:0 20px 70px #202b3533;padding:24px;display:flex;flex-direction:column;gap:16px;width:min(440px,calc(100vw - 32px));max-width:none;height:min(720px,calc(100dvh - 106px));max-height:calc(100dvh - 106px);overflow:hidden;font:15px/1.5 Arial,sans-serif}
.help-panel h2,.help-panel h3{font-family:Arial,sans-serif;font-weight:600;color:#202b35;margin:0;font-size:22px;letter-spacing:-.5px}.help-panel h3{font-size:20px}.help-panel header>p,.help-note{font-size:12px;color:#62686b;margin:5px 0}.help-panel button{font-family:inherit;cursor:pointer}.help-panel button:disabled{opacity:.55;cursor:default}.help-panel button:focus-visible,.help-launcher:focus-visible,.help-panel a:focus-visible{outline:3px solid #a44f35;outline-offset:3px}.help-transcript{flex:1;min-height:100px;overflow:auto;overscroll-behavior:contain;padding-right:4px}.help-welcome{padding:16px 0}.help-welcome>p{color:#62686b}.help-prompts{display:grid;gap:8px}.help-prompts button{padding:12px;text-align:left;border:1px solid #d9d7ce;border-radius:12px;background:#f5f3ed;color:#202b35;min-height:44px}.help-message{margin:12px 0;padding:12px 14px;border-radius:14px;background:#f5f3ed;overflow-wrap:anywhere}.help-message p{white-space:pre-wrap;margin:6px 0;font-size:14px;line-height:1.55}.help-message strong{font-size:12px}.help-message a{display:block;font-size:12px;color:#91452f;margin-top:6px;text-decoration:underline}.help-user{background:#eee6de;margin-left:25px}.help-controls{flex:none;border-top:1px solid #d9d7ce;padding-top:10px}.help-controls form{display:flex;align-items:flex-end;gap:8px;margin:10px 0}.help-controls textarea{flex:1;min-width:0;resize:none;max-height:110px;width:100%;border:1px solid #bdbbb3;border-radius:12px;padding:10px;background:#fffdf9;color:#202b35;font:16px/1.4 Arial,sans-serif}.help-controls form button{min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:#a44f35;color:#fff}.help-footer{display:flex;gap:12px;justify-content:space-between;font-size:12px}.help-footer button,.help-footer a{color:#62686b;text-decoration:underline;background:none;border:0;padding:0}.help-consent{display:flex;gap:8px;align-items:center;font-size:13px}.help-consent input{width:18px;height:18px;accent-color:#a44f35;margin:0}.help-error{color:#9f342b;font-size:14px}.help-controls details{font-size:12px;margin-top:6px}.help-panel>header{position:relative;padding-right:34px}.help-close{position:absolute;right:0;top:0;width:36px;height:36px;background:none;border:1px solid #d9d7ce;border-radius:50%;font-size:20px;color:#202b35}.help-public-dialog:not([open]){display:none}.help-public-dialog{position:fixed;inset:auto 24px 82px auto;margin:0}.help-public-dialog::backdrop{background:#202b3538}.help-cta{display:block;padding:10px 12px;background:#eee6de;border-radius:12px;color:#202b35;text-align:center;font-size:13px;text-decoration:none}
@media(min-width:1024px){.help-panel[data-slot=dialog-content]{top:auto;left:auto;right:24px;bottom:82px;transform:none}.topbar .help-launcher{position:fixed}}
@media(max-width:1023px){.help-launcher{position:fixed;top:auto;right:0;bottom:calc(108px + env(safe-area-inset-bottom));left:auto;transform:none;writing-mode:vertical-rl;text-orientation:mixed;min-width:calc(32px + env(safe-area-inset-right));min-height:64px;padding:10px calc(6px + env(safe-area-inset-right)) 10px 6px;font-size:13px;border-right:0;border-radius:12px 0 0 12px;box-shadow:0 3px 16px #202b3526}.help-launcher>span{display:block;transform:rotate(180deg)}.help-launcher::before{content:"";position:absolute;inset:0 0 0 -12px}.site-page .header-actions{gap:8px}.help-panel,.help-public-dialog{position:fixed;inset:0;margin:0;transform:none;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.help-controls details{display:none}}
@media(max-height:650px){.help-panel{gap:8px;overflow-y:auto}.help-panel>header{flex:none}.help-transcript{flex:0 0 auto;min-height:100px;max-height:40dvh}.help-note{font-size:11px}.help-controls{padding-top:5px}}
@media(prefers-reduced-motion:reduce){.help-panel{animation:none!important;transition:none!important}}


.help-launcher[hidden]{display:none}
.help-panel[data-slot=dialog-content]{translate:none}
.help-panel [data-slot=dialog-header]{padding-right:20px;text-align:left;flex:none}

/* Mobile keyboards can shrink the visual viewport without changing 100dvh. */
@media(max-width:1023px){
 .help-panel[data-visual-keyboard='true']{top:var(--dialog-top);bottom:auto;height:var(--dialog-height);max-height:var(--dialog-height);overflow-y:auto}
 .help-panel[data-visual-keyboard='true'] .help-transcript{flex:0 0 auto;max-height:calc(var(--dialog-height) * .4)}
}
.help-human-button{border:0;background:none;text-decoration:underline;color:inherit;cursor:pointer;padding:10px;font:inherit;font-size:13px}.human-chat{display:flex;flex-direction:column;min-height:0;overflow:auto;gap:12px;padding:12px}.human-chat-heading{display:flex;align-items:center;gap:16px}.human-chat-heading button,.human-ticket{background:#f3eee7;border:1px solid #d7d0c6;border-radius:10px;padding:10px;font:inherit;color:#2b2b29;cursor:pointer}.human-ticket-list{display:flex;gap:8px;overflow:auto;flex-shrink:0;max-height:95px}.human-ticket{font-size:12px;min-width:130px;max-width:200px;overflow-wrap:anywhere;text-align:left}.human-chat .human-transcript{min-height:80px;overflow:auto;flex:1;padding:6px}.human-chat img{max-width:100%;max-height:350px;object-fit:contain;border-radius:8px}.human-composer,.human-verification{display:flex;flex-direction:column;gap:8px}.human-chat textarea,.human-chat input{box-sizing:border-box;width:100%;max-width:100%;font:inherit;font-size:16px;padding:10px;border-radius:10px;border:1px solid #d7d0c6;background:#fff;color:#222}.human-chat .human-composer button,.human-chat .human-verification button{border:0;border-radius:12px;background:#bd633f;color:#fff;padding:12px;font:inherit;cursor:pointer}.human-chat .help-note{font-size:11px;line-height:1.5}.human-chat [hidden]{display:none!important}.human-chat input[type=file]{font-size:12px}.human-chat button:focus-visible,.human-chat input:focus-visible,.human-chat textarea:focus-visible{outline:3px solid #bd633f;outline-offset:3px}

.human-chat{flex:1}.human-chat>:not(.human-transcript){flex-shrink:0}.human-chat .human-transcript{flex-shrink:0}.help-panel [hidden]{display:none!important}

.human-chat .support-attachment video{display:block;max-width:100%;max-height:280px}.human-chat .support-attachment a{display:inline-block;padding:12px 0;overflow-wrap:anywhere}.human-chat .support-attachment a:focus-visible{outline:3px solid #9c5037;outline-offset:3px}


/* help-public.css */
/* Shared conversation visuals; signed-in options are added by the host. */
.help-public-launcher{width:96px;height:96px;min-width:96px;min-height:96px;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));padding:10px;border:2px solid #fffdf9;border-radius:50%;writing-mode:horizontal-tb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#a44f35;box-shadow:0 5px 20px #202b3540,0 0 0 1px #a44f3540;line-height:1}
.help-public-launcher>span{transform:none;font-size:14px;line-height:1.2}
.help-public-launcher>.site-icon{width:36px;height:36px}
.help-public-launcher::before{content:none}
.help-public-launcher:hover{background:#91452f}
.help-public-dialog.help-panel{box-sizing:border-box;inset:auto 22px 132px auto;width:min(525px,calc(100vw - 32px));height:min(762.5px,calc(100dvh - 154px));max-height:calc(100dvh - 154px);padding:0;gap:0;border:1px solid #d9d7ce;border-radius:22px;overflow:hidden;background:#fffdf9}
.help-public-dialog>header{flex:none;display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 14px 14px 22px;border-bottom:1px solid #e8e3da;background:#fffdf9}
.help-public-dialog h2{font-size:18px;letter-spacing:-.3px}
.help-public-dialog .help-close{position:static;flex:none;margin-left:auto;width:max(44px,1.2em);height:max(44px,1.2em);border:0;background:#f1eee7;font-size:26px}
.help-public-dialog .help-transcript{flex:1 1 0;min-height:0;max-height:none;padding:12px 18px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;background:#faf8f3}
.help-public-dialog .help-message{width:fit-content;max-width:90%;margin:12px 0;padding:12px 15px;border-radius:18px 18px 18px 5px;background:#ece8df}
.help-public-dialog .help-message p{margin:0;font-size:14px;line-height:1.55}
.help-public-dialog .help-user{margin-left:auto;background:#a44f35;color:#fffdf9;border-radius:18px 18px 5px 18px}
.help-public-dialog .help-user a,.help-public-dialog .help-user p{color:inherit}
.help-public-dialog .help-typing{font-size:12px;color:#62686b;padding:0 4px}
.help-public-dialog .help-controls{padding:12px 14px 8px;border-top:1px solid #e8e3da;background:#fffdf9;flex:none}
.help-public-dialog .help-controls form{margin:0;align-items:center;gap:8px}
.help-public-dialog .help-controls textarea{height:46px;min-height:calc(1lh + 24px);max-height:max(90px,calc(3lh + 24px));border:1px solid #7d8588;border-radius:23px;padding:11px 14px;line-height:1.375}
.help-public-dialog .help-controls form button{width:max(44px,1.2em);height:max(44px,1.2em);min-height:44px;flex:none;border-radius:50%;padding:0;font-size:27px;line-height:1;background:#a44f35}
.help-public-dialog .help-error:empty{display:none}
.help-public-dialog .help-error{margin:0 0 8px;font-size:12px;max-height:65px;overflow:auto}
.help-public-dialog .help-note{margin:7px 0 0;text-align:center;font-size:10px;line-height:1.6}
.help-public-dialog .help-note a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.help-public-dialog textarea:focus-visible{outline:2px solid #a44f35;outline-offset:2px}
.help-invitation{position:fixed;right:22px;bottom:132px;width:min(290px,calc(100vw - 32px));z-index:36;display:flex;align-items:flex-start;gap:2px;background:#fffdf9;color:#202b35;border:1px solid #d9d7ce;border-radius:18px 18px 5px 18px;box-shadow:0 8px 32px #202b3526;padding:8px}
.help-invitation>button{border:0;background:transparent;color:inherit;cursor:pointer;font:14px/1.5 Arial,sans-serif;text-align:left;padding:8px;min-height:44px}
.help-invitation>.help-invitation-close{flex:none;min-width:44px;width:44px;font-size:24px;padding:4px;text-align:center}
.help-invitation button:focus-visible{outline:2px solid #a44f35;outline-offset:1px;border-radius:8px}
@media(max-width:600px){
 .help-public-launcher{width:87px;height:87px;min-width:87px;min-height:87px;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom))}
 .help-public-dialog.help-panel{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:calc(100% - 16px);height:min(775px,calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:20px}
 .help-invitation{right:16px;bottom:117px}
}
@media(max-height:500px){
 .help-public-dialog.help-panel{top:8px;bottom:8px;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}
 .help-public-dialog>header{min-height:56px;padding-top:6px;padding-bottom:6px}
 .help-public-dialog .help-close{top:6px}
 .help-public-dialog .help-controls{padding-top:7px;padding-bottom:5px}
 .help-public-dialog .help-note{margin-top:3px}
}
/* Bound the whole conversation to the actual visible area above mobile keyboards. */
.help-public-dialog.help-panel[data-visual-keyboard='true']{top:calc(var(--dialog-top) + 4px);bottom:auto;height:calc(var(--dialog-height) - 8px);max-height:calc(var(--dialog-height) - 8px);overflow:hidden}
.help-public-dialog.help-panel[data-visual-keyboard='true'] .help-transcript{flex:1 1 0;min-height:0;max-height:none}
.help-public-dialog[data-visual-keyboard='true']>header{min-height:56px;padding-top:6px;padding-bottom:6px}
.help-public-dialog[data-visual-keyboard='true'] .help-close{top:6px}
/* Anchor mobile position from the visible top, so a stale keyboard bottom
   offset cannot lift the dialog out of view. Keep viewport units directly in
   layout properties: nested custom-property calculations can retain old units
   during native resizing, before the next visualViewport frame. */
:is(.site-page,.help-center,.help-account) .help-public-dialog.help-panel[data-visual-viewport='true']{top:clamp(0px,calc(var(--dialog-top) + min(var(--dialog-height),100dvh) - min(775px,calc(min(var(--dialog-height),100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))) - max(8px,env(safe-area-inset-bottom))),calc(100dvh - min(775px,calc(min(var(--dialog-height),100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))));bottom:auto;height:min(775px,calc(min(var(--dialog-height),100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-height:calc(min(var(--dialog-height),100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
:is(.site-page,.help-center,.help-account) .help-public-dialog.help-panel[data-visual-viewport='true'][data-visual-keyboard='true']{top:clamp(4px,calc(var(--dialog-top) + 4px),calc(100dvh - min(var(--dialog-height),100dvh) + 4px));height:calc(min(var(--dialog-height),100dvh) - 8px);max-height:calc(min(var(--dialog-height),100dvh) - 8px)}
/* A landscape keyboard can leave less room than the ordinary header/composer.
   Keep send/input/close in one row; other content remains in the scroll area. */
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat)){display:grid;grid-template-columns:minmax(0,1fr) 54px;grid-template-rows:minmax(0,1fr) auto}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat))>header{grid-area:2/2;min-height:0;padding:1px 6px 1px 0;border-bottom:0;border-top:1px solid #e8e3da;align-items:center}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat))>header h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat)) .help-close{position:static;flex:none;margin:0}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat))>.help-transcript{grid-area:1/1/2/-1;padding:0 12px}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat))>.help-controls{grid-area:2/1;min-width:0;padding:1px 8px}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat)) .help-controls textarea{height:44px;min-height:calc(1lh + 22px);padding-block:10px}
.help-public-dialog.help-panel[open][data-compact-keyboard='true']:not(:has(.human-chat)) :is(textarea,button):focus-visible{outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){
 .help-public-launcher{transition:background .18s ease,box-shadow .18s ease}
 .help-invitation{animation:help-invitation-enter .24s ease-out}
 @keyframes help-invitation-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
}

/* Public Help keeps its approved top edge during Safari keyboard animation.
   Only the bottom follows the visible boundary. Signed-in Help is unchanged. */
:is(.site-page,.help-center) .help-public-dialog.help-panel[data-visual-viewport='true'][data-anchored-keyboard='true']{top:clamp(0px,var(--help-anchor-top),max(0px,calc(100dvh - 64px)));bottom:auto;height:min(var(--help-anchor-height),calc(100dvh - clamp(0px,var(--help-anchor-top),max(0px,calc(100dvh - 64px))) - 8px));max-height:min(var(--help-anchor-height),calc(100dvh - clamp(0px,var(--help-anchor-top),max(0px,calc(100dvh - 64px))) - 8px))}

/* Customer support conversations: clear sender identity and distinct bubbles. */
.human-transcript .human-message { max-width:88%; width:fit-content; margin:16px auto 16px 0; padding:0; background:none; color:#202b35; border-radius:0; }
.human-transcript .human-message.help-user { margin-left:auto; margin-right:0; background:none; color:#202b35; }
.human-message-identity { display:flex; align-items:center; gap:7px; margin:0 3px 5px; color:#596366; }
.human-avatar { width:26px; height:26px; flex:none; display:grid; place-items:center; border-radius:50%; background:#e4e7e5; color:#254838; font-size:12px; font-weight:700; }
.human-bubble { padding:10px 14px; border-radius:18px 18px 18px 5px; background:#eeeef0; overflow:hidden; }
.human-message.help-user .human-bubble { border-radius:18px 18px 5px 18px; background:#254838; color:#fff; }
.human-message.help-user .human-message-identity { justify-content:flex-end; }
.human-message .human-bubble p { margin:0; color:inherit; }
.human-message .human-bubble a { color:inherit; }
.human-message-time { display:block; margin:4px 5px 0; color:#62686b; font-size:10px; }
.human-message.help-user .human-message-time { text-align:right; }
.human-chat .human-composer { border-top:1px solid #d9d7ce; padding-top:10px; }
.human-chat .human-composer button { background:#254838; min-height:44px; }
@media (max-height:420px) { .human-message-identity { margin-bottom:3px; } .human-transcript .human-message { margin-top:8px; margin-bottom:8px; } }

.help-public-dialog .human-compose-row { display:flex; align-items:flex-end; gap:8px; }
.help-public-dialog .human-compose-row textarea { flex:1; min-width:0; min-height:calc(1lh + 22px); max-height:max(100px,calc(3lh + 22px)); line-height:1.375; resize:vertical; margin:0; border-radius:20px; border-color:#7d8588; }
.help-public-dialog .human-chat > :not(.human-transcript) { flex-shrink:0; }
.help-public-dialog .human-attach { position:relative; flex:none; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#eeeef0; color:#254838; font:28px/1 Arial,sans-serif; overflow:hidden; cursor:pointer; }
.help-public-dialog .human-attach input[type=file] { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:pointer; }
.help-public-dialog .human-attach:focus-within { outline:3px solid #a44f35; outline-offset:2px; }
.help-public-dialog .human-chat .human-compose-row button { width:auto; flex:none; padding:10px 14px; min-height:44px; border-radius:22px; background:#254838; }
.help-public-dialog .human-composer > .help-note:empty { display:none; }
.help-public-dialog .human-composer > .help-note { margin:0; }

/* Public recovery matches the conversation controls and remains easy to tap. */
.help-public-dialog .human-chat :is(.human-retry,.human-earlier) { min-height:44px; border:1px solid #d7d0c6; border-radius:12px; padding:10px 14px; background:#f3eee7; color:#2b2b29; font:inherit; cursor:pointer; }

.help-public-dialog .human-recovery { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; }
.help-public-dialog .human-recovery .help-error { margin:0; }
.help-public-dialog .human-recovery:has(.help-error:empty):has(.human-retry[hidden]) { display:none; }

/* The displayed conversation remains explicit when a different thread cannot load. */
.help-public-dialog .human-current{margin:0;font-size:13px;font-weight:700;overflow-wrap:anywhere}
.help-public-dialog .human-ticket[aria-current="true"]{background:#e5eee8;border-color:#254838;box-shadow:inset 0 0 0 1px #254838}
.help-public-dialog .human-return{grid-column:1/-1;justify-self:start;min-height:44px;border:1px solid #d7d0c6;border-radius:12px;padding:10px 14px;background:#f3eee7;color:#2b2b29;font:inherit;cursor:pointer}

/* Prepared screenshots can be removed independently from the message draft. */
.help-public-dialog .human-attachments { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; }
.help-public-dialog .human-attachments .help-note { flex:1 1 140px; margin:0; }
.help-public-dialog .human-chat .human-composer .human-remove-attachments { flex:none; min-height:44px; min-width:44px; border:1px solid #d7d0c6; border-radius:12px; padding:10px 12px; background:#f3eee7; color:#2b2b29; font:inherit; font-size:12px; cursor:pointer; }

.help-public-dialog .human-current,.help-public-dialog .human-recovery{flex-shrink:0}
.help-public-dialog .human-recovery .help-error{max-height:none;overflow:visible;overflow-wrap:anywhere}
.help-public-dialog .human-ticket{min-height:44px}
/* Public contact spacing must not inherit marketing-page paragraph/input margins. */
:is(.site-page,.help-center) > .help-public-dialog .human-verification { margin:0; gap:8px; }
:is(.site-page,.help-center) > .help-public-dialog .human-verification > p { margin:0; font-size:15px; line-height:1.5; color:inherit; }
:is(.site-page,.help-center) > .help-public-dialog .human-verification input { margin:0; min-height:44px; line-height:1.5; border-color:#7d8588; }
:is(.site-page,.help-center) > .help-public-dialog .human-verification button { margin:0; min-height:44px; }
/* Keep public Support inputs/actions reachable in the smallest keyboard view. */
:is(.site-page,.help-center) > .help-public-dialog[data-compact-keyboard='true']:has(.human-chat) > header { min-height:56px; padding-block:6px; }

/* A short dialog must not collapse message reading to a padding-only strip. */
:is(.site-page,.help-center) > .help-public-dialog .human-chat .human-transcript { min-height:120px; flex:1 0 120px; }

/* Short desktop/zoom windows need the same public Support header as keyboard views. */
@media(max-height:420px){
 :is(.site-page,.help-center) > .help-public-dialog:has(.human-chat) > header { min-height:56px; padding-block:6px; }
}

/* Public Support outcomes use meaning, not the error color for every status. */
:is(.site-page,.help-center) > .help-public-dialog .human-recovery .help-error { color:#9f342b; font-size:14px; line-height:1.5; }
:is(.site-page,.help-center) > .help-public-dialog .human-recovery .human-success { color:#286044; }
.help-public-dialog .human-chat:has(> .human-verification:not([hidden])) > .human-transcript:empty { display:none; }

/* A bounded native dialog is also the size container for its conversation.
   Shrink only the scrollable transcript when the actual panel is short. */
:is(.site-page,.help-center) > .help-public-dialog.help-panel { container:public-help / size; }
@container public-help (height < 420px) {
 :is(.site-page,.help-center) .help-public-dialog .human-chat .human-transcript { min-height:120px; flex:1 0 120px; }
}
@container public-help (height < 420px) {
 :is(.site-page,.help-center) .help-public-dialog > header { min-height:44px; padding-block:0; }
 :is(.site-page,.help-center) .help-public-dialog .human-chat { padding:4px; gap:4px; }
 :is(.site-page,.help-center) .help-public-dialog .human-ticket-list:empty { display:none; }
 :is(.site-page,.help-center) .help-public-dialog .human-chat .human-transcript { padding-block:0; }
 :is(.site-page,.help-center) .help-public-dialog .human-composer { padding-top:4px; gap:4px; }
 :is(.site-page,.help-center) .help-public-dialog .human-attachments:has(.help-note:empty):has(button[hidden]) { display:none; }
}

:is(.site-page,.help-center) .help-public-dialog .human-transcript:focus-visible { outline:3px solid #a44f35; outline-offset:-3px; }

@container public-help (height < 420px) {
 /* Share the guest navigation with the title before reducing reading space. */
 :is(.site-page,.help-center) .help-public-dialog:has(.human-chat-heading > button:last-child[hidden]) > header h2 { max-width:calc(100% - 172px); font-size:16px; line-height:1.1; }
 :is(.site-page,.help-center) .help-public-dialog .human-chat-heading:has(> button:last-child[hidden]) { position:absolute; top:6px; right:66px; min-height:44px; z-index:1; }
 :is(.site-page,.help-center) .help-public-dialog .human-chat-heading:has(> button:last-child[hidden]) > strong { display:none; }
}
@container public-help (height < 260px) {
 :is(.site-page,.help-center) .help-public-dialog .human-chat .human-transcript { min-height:44px; flex:1 0 44px; }
 :is(.site-page,.help-center) > .help-public-dialog:has(.human-chat) > header { min-height:44px; padding-block:0; }
 :is(.site-page,.help-center) .help-public-dialog .human-chat-heading:has(> button:last-child[hidden]) { top:0; }
 :is(.site-page,.help-center) .help-public-dialog .human-transcript .human-message { margin-block:0; }
 :is(.site-page,.help-center) .help-public-dialog .human-transcript .human-bubble { padding-block:4px; }
}

