/* ATOVIA Live Chat workspace — shared by the embedded and standalone routes. */
html:not(.atovia-live-chat-app) .hc2-language-layout{display:grid;grid-template-columns:1fr!important;gap:0!important;align-items:start!important}
html:not(.atovia-live-chat-app) .hc2-language-copy{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(176px,.48fr) minmax(0,1.2fr);gap:48px;align-items:start;margin:0 0 32px;padding:0 0 32px;border-bottom:1px solid var(--hc-line)}
html:not(.atovia-live-chat-app) .hc2-language-copy__intro{padding-top:0}
html:not(.atovia-live-chat-app) .hc2-language-copy__actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding-top:32px}
html:not(.atovia-live-chat-app) .hc2-language-copy__actions .hc2-button{width:100%;min-height:52px;margin:0;padding:0 18px;white-space:nowrap;box-shadow:none}
html:not(.atovia-live-chat-app) .hc2-language-copy__details>p{max-width:none;margin:0}
html:not(.atovia-live-chat-app) .hc2-language-copy__details ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 0}
html:not(.atovia-live-chat-app) .hc2-language-copy__details li{font-size:16px;line-height:1.55}
.hc2-live-chat__bar{display:flex;align-items:center;min-height:56px;padding:0 24px;background:#f6fbfc;border-bottom:1px solid var(--hc-line)}
.hc2-live-chat__bar b{font-size:16px;letter-spacing:-.01em}.hc2-live-chat__bar b:before{display:inline-block;width:8px;height:8px;margin:0 8px 0 0;border-radius:50%;background:#56cfe8;vertical-align:middle;content:""}.hc2-live-chat__bar em{margin-left:auto;color:#087f9e;font-size:13px;font-style:normal;font-weight:700}
.hc2-chat-mobile-settings{display:none}
.hc2-live-chat__messages{display:flex;flex-direction:column;min-height:430px;padding:32px;background:linear-gradient(180deg,#fff 0%,#fbfeff 100%)}
.hc2-live-chat__welcome{width:min(100%,640px);margin:auto;padding:8px 0;text-align:left}.hc2-live-chat__welcome p{margin:0 0 16px;color:#087f9e;font-size:13px;font-weight:700;letter-spacing:.08em}.hc2-live-chat__welcome h2{margin:0 0 16px;font-size:34px;line-height:1.2}.hc2-live-chat__welcome>span{display:block;max-width:470px;color:var(--hc-muted);font-size:16px;line-height:1.65}.hc2-live-chat__welcome>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.hc2-live-chat__welcome button{min-height:38px;padding:0 16px;border:1px solid #c7e2e9;border-radius:999px;background:#fff;color:#176078;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:border-color .18s ease,background .18s ease}.hc2-live-chat__welcome button:hover{border-color:#56cfe8;background:#edf9fb}
.hc2-live-chat__form{padding:20px 24px 24px;background:#fff}.hc2-live-chat__form textarea{min-height:104px;border-radius:20px}.hc2-live-chat__form button{min-height:48px;padding:0 24px}.hc2-live-chat__message{max-width:min(86%,720px)}
.hc2-live-chat__message p{margin:0 0 14px;line-height:1.75}.hc2-live-chat__message p:last-child{margin-bottom:0}.hc2-live-chat__message h2,.hc2-live-chat__message h3{margin:22px 0 10px;color:#10243a;line-height:1.35}.hc2-live-chat__message h2:first-child,.hc2-live-chat__message h3:first-child{margin-top:0}.hc2-live-chat__message h2{font-size:21px}.hc2-live-chat__message h3{font-size:17px}.hc2-live-chat__message ul,.hc2-live-chat__message ol{margin:8px 0 16px;padding-left:22px;line-height:1.75}.hc2-live-chat__message li+li{margin-top:4px}.hc2-live-chat__message a{color:#087f9e;font-weight:700;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.hc2-live-chat__message code{padding:2px 5px;border-radius:5px;background:#eaf5f7;color:#143d51;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.hc2-live-chat__trace{align-self:flex-start;max-width:calc(100% - 12px);margin:2px 0 14px;padding:0;color:#708291;font-size:13px;line-height:1.5}.hc2-live-chat__trace:before{display:inline-block;width:7px;height:7px;margin:0 8px 1px 0;border-radius:50%;background:#56cfe8;animation:atovia-chat-pulse 1.1s ease-in-out infinite;content:""}@keyframes atovia-chat-pulse{50%{opacity:.35;transform:scale(.72)}}
.hc2-chat-app-sidebar{display:none}
.atovia-live-chat-app .hc2-hero,.atovia-live-chat-app .hc2-language-next,.atovia-live-chat-app .atv-shared-header,.atovia-live-chat-app .atv-family-nav--help,.atovia-live-chat-app .site-footer{display:none!important}.atovia-live-chat-app body{background:#fff}.atovia-live-chat-app .hc2-language{min-height:100vh;background:#fff}.atovia-live-chat-app .hc2-section{padding:0}.atovia-live-chat-app .hc2-wrap{width:100%!important;max-width:none!important;margin:0}.atovia-live-chat-app .hc2-language-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;gap:0!important}.atovia-live-chat-app .hc2-language-copy{display:none}
.atovia-live-chat-app .hc2-chat-app-sidebar{display:flex;flex-direction:column;min-width:0;padding:24px 16px;border-right:1px solid var(--hc-line);background:linear-gradient(180deg,#f8fcfd 0%,#fff 100%)}.atovia-live-chat-app .hc2-chat-app-sidebar__brand{display:block;margin:0 16px 16px;color:#10243a;font-size:19px;font-weight:700;letter-spacing:.04em}.atovia-live-chat-app .hc2-chat-app-sidebar>p{margin:0 16px 24px;color:#087f9e;font-size:13px;font-weight:700;letter-spacing:.1em}
.atovia-live-chat-app .hc2-chat-account{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}.atovia-live-chat-app .hc2-chat-account>span{grid-column:1/-1;padding:0 16px;color:#10243a;font-size:13px;font-weight:700}.atovia-live-chat-app .hc2-chat-account button{min-height:40px;padding:0 16px;border:1px solid #c7e2e9;border-radius:14px;background:#fff;color:#17344a;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}.atovia-live-chat-app .hc2-chat-account button[data-action="new"]{grid-column:1/-1;background:#10243a;border-color:#10243a;color:#fff;text-align:center}.atovia-live-chat-app .hc2-chat-account button:hover{border-color:#56cfe8;background:#edf9fb}.atovia-live-chat-app .hc2-chat-account button[data-action="new"]:hover{background:#173951}.atovia-live-chat-app .hc2-chat-account small{grid-column:1/-1;padding:0 16px;color:#708291;font-size:13px}
.atovia-live-chat-app .hc2-chat-account-panel{display:grid;align-content:start;gap:16px;flex:1;min-height:0;overflow:auto;padding:16px;border-top:1px solid var(--hc-line)}.atovia-live-chat-app .hc2-chat-account-panel[hidden]{display:none}.atovia-live-chat-app .hc2-chat-account-panel>strong{color:#10243a;font-size:13px}.atovia-live-chat-app .hc2-chat-account-panel>input[type="search"]{width:100%;min-height:38px;padding:0 16px;border:1px solid #c7e2e9;border-radius:14px;background:#fff;color:#10243a;font:inherit;font-size:13px}.atovia-live-chat-app .hc2-chat-app-sidebar__home{margin-top:auto;padding:16px 16px 0;border-top:1px solid var(--hc-line);color:#52677b;font-size:13px;font-weight:700}
.atovia-live-chat-app .hc2-live-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:100vh;border:0;border-radius:0;box-shadow:none}.atovia-live-chat-app .hc2-live-chat__bar{min-height:70px;padding:0 32px;background:#fff}.atovia-live-chat-app .hc2-live-chat__messages{min-height:0;padding:48px max(32px,8vw)}.atovia-live-chat-app .hc2-live-chat__welcome{width:min(100%,920px);margin:auto;padding:8px 0}.atovia-live-chat-app .hc2-live-chat__form{width:min(100%,920px);justify-self:center;padding:16px 0 24px;border-top:0}.atovia-live-chat-app .hc2-live-chat__form textarea{background:#fff;box-shadow:var(--sh-2)}
html:not(.atovia-live-chat-app) .hc2-chat-app-sidebar.is-inline-sidebar{display:flex;position:absolute;visibility:hidden;pointer-events:none}
@media (max-width:900px){html:not(.atovia-live-chat-app) .hc2-language-copy{grid-template-columns:1fr;gap:24px;padding-bottom:24px}html:not(.atovia-live-chat-app) .hc2-language-copy__actions{flex-direction:row;flex-wrap:wrap;padding-top:0}html:not(.atovia-live-chat-app) .hc2-language-copy__actions .hc2-button{width:auto}.atovia-live-chat-app .hc2-language-layout{grid-template-columns:224px minmax(0,1fr)}.atovia-live-chat-app .hc2-live-chat__messages{padding:32px}.atovia-live-chat-app .hc2-live-chat__form{width:calc(100% - 48px)}}
@media (max-width:680px){.atovia-live-chat-app .hc2-language-layout{grid-template-columns:1fr}.atovia-live-chat-app .hc2-chat-app-sidebar{display:none}.atovia-live-chat-app .hc2-live-chat__messages{padding:24px 20px}.atovia-live-chat-app .hc2-live-chat__form{width:calc(100% - 32px)}.hc2-live-chat__welcome h2{font-size:26px}.hc2-live-chat__welcome>div{display:grid}.hc2-live-chat__welcome button{text-align:left}.hc2-live-chat__form{padding:16px}.hc2-live-chat__bar{padding:0 20px}.hc2-chat-mobile-settings{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-left:12px;padding:0 12px;border:1px solid #c7e2e9;border-radius:999px;background:#fff;color:#10243a;font:inherit;font-size:13px;font-weight:700;cursor:pointer}}

/* A conversation is a navigable workspace: history is a quiet list, never a stack of form buttons. */
html:not(.atovia-live-chat-app) .hc2-language-copy{grid-template-columns:minmax(220px,.6fr) 220px minmax(0,1.6fr)}
html:not(.atovia-live-chat-app) .hc2-language-copy__actions{transform:translateX(-96px)}
.hc2-live-chat{scroll-margin-top:144px}
.hc2-chat-account{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}.hc2-chat-account>span{grid-column:1/-1;padding:0 16px;color:#10243a;font-size:13px;font-weight:700}.hc2-chat-account button{min-height:40px;padding:0 16px;border:1px solid #c7e2e9;border-radius:14px;background:#fff;color:#17344a;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}.hc2-chat-account button[data-action="new"]{grid-column:1/-1;background:#10243a;border-color:#10243a;color:#fff;text-align:center}.hc2-chat-account button:hover{border-color:#56cfe8;background:#edf9fb}.hc2-chat-account button[data-action="new"]:hover{background:#173951}.hc2-chat-account small{grid-column:1/-1;padding:0 16px;color:#708291;font-size:13px}
.hc2-chat-account-panel{display:grid;align-content:start;gap:16px;flex:1;min-height:0;overflow:auto;padding:16px!important;border:0!important;border-top:1px solid var(--hc-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.hc2-chat-account-panel[hidden]{display:none!important}.hc2-chat-account-panel>strong{color:#10243a;font-size:13px}.hc2-chat-account-panel>input[type="search"]{width:100%;min-height:38px;padding:0 16px;border:1px solid #c7e2e9;border-radius:14px;background:#fff;color:#10243a;font:inherit;font-size:13px}
.hc2-chat-history{display:grid;gap:8px}.hc2-chat-history>div{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px;align-items:center;min-width:0}.hc2-chat-history__open{overflow:hidden;min-width:0;min-height:40px;padding:0 12px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#334f62!important;font:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1!important;text-align:left!important;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.hc2-chat-history__open:hover,.hc2-chat-history__open:focus-visible{background:#edf8fa!important;color:#10243a!important;outline:0}.hc2-chat-history__remove{display:grid!important;place-items:center;width:32px!important;height:32px!important;padding:0!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#8b9aa6!important;font:inherit!important;font-size:19px!important;line-height:1!important;opacity:0;cursor:pointer}.hc2-chat-history>div:hover .hc2-chat-history__remove,.hc2-chat-history__remove:focus-visible{opacity:1}.hc2-chat-history__remove:hover{background:#f5e8ee!important;color:#8f456b!important}.hc2-chat-history>p{margin:0;color:#708291;font-size:13px;line-height:1.6}
.atovia-live-chat-app .hc2-chat-account,.atovia-live-chat-app .hc2-chat-account-panel{margin-left:0;margin-right:0}.atovia-live-chat-app .hc2-chat-account-panel{background:transparent!important}.atovia-live-chat-app .hc2-chat-app-sidebar__home{margin-top:auto;padding:16px;border-top:1px solid var(--hc-line);color:#52677b;font-size:13px;font-weight:700}
@media (min-width:901px){html:not(.atovia-live-chat-app) .hc2-language-layout{grid-template-columns:260px minmax(0,1fr)!important;column-gap:32px!important;row-gap:0!important}html:not(.atovia-live-chat-app) .hc2-language-copy{grid-column:1/-1;grid-row:1}html:not(.atovia-live-chat-app) .hc2-chat-app-sidebar{display:flex;grid-column:1;grid-row:2;flex-direction:column;min-width:0;min-height:620px;padding:24px 16px 16px;border-right:1px solid var(--hc-line);background:linear-gradient(180deg,#f8fcfd 0%,#fff 100%)}html:not(.atovia-live-chat-app) .hc2-chat-app-sidebar__brand{display:block;margin:0 16px 16px;color:#10243a;font-size:19px;font-weight:700;letter-spacing:.04em}html:not(.atovia-live-chat-app) .hc2-chat-app-sidebar>p{margin:0 16px 24px;color:#087f9e;font-size:13px;font-weight:700;letter-spacing:.1em}html:not(.atovia-live-chat-app) .hc2-chat-app-sidebar__home{margin-top:auto;padding:16px;border-top:1px solid var(--hc-line);color:#52677b;font-size:13px;font-weight:700}html:not(.atovia-live-chat-app) .hc2-live-chat{grid-column:2;grid-row:2}}
@media (max-width:900px){html:not(.atovia-live-chat-app) .hc2-language-copy__actions{transform:none}}

/* The embedded workspace must remain a single chat column. The original help-center
   grid left an invisible legacy column before the messages and form. */
html:not(.atovia-live-chat-app) .hc2-live-chat{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(430px,1fr) auto!important}
html:not(.atovia-live-chat-app) .hc2-live-chat__bar,html:not(.atovia-live-chat-app) .hc2-live-chat__messages,html:not(.atovia-live-chat-app) .hc2-live-chat__form{grid-column:1!important}
html:not(.atovia-live-chat-app) .hc2-live-chat__messages{width:100%!important;box-sizing:border-box}
html:not(.atovia-live-chat-app) .hc2-live-chat__form{width:min(100%,920px)!important;justify-self:center;box-sizing:border-box}
.atovia-live-chat-app .hc2-live-chat__messages{width:100%!important;box-sizing:border-box;padding:48px max(32px,calc((100% - 920px)/2))}
.atovia-live-chat-app .hc2-live-chat__welcome{width:100%!important;box-sizing:border-box}

/* Settings are a focused modal, so opening the same control never hides an ambiguous side panel. */
.hc2-chat-settings{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;padding:24px;background:rgba(8,27,43,.48);backdrop-filter:blur(4px)}.hc2-chat-settings__sheet{display:grid;grid-template-columns:240px minmax(0,1fr);width:min(100%,880px);max-height:min(720px,calc(100vh - 48px));overflow:hidden;border:1px solid #c7e2e9;border-radius:20px;background:#fff;box-shadow:var(--sh-3)}.hc2-chat-settings__nav{display:grid;align-content:start;gap:8px;padding:24px 16px;border-right:1px solid var(--hc-line);background:#f5fafb}.hc2-chat-settings__nav>strong{padding:0 8px 16px;color:#10243a;font-size:19px}.hc2-chat-settings__nav button{min-height:44px;padding:0 14px;border:0;border-radius:14px;background:transparent;color:#52677b;font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer}.hc2-chat-settings__nav button:hover,.hc2-chat-settings__nav button.is-active{background:#e3f4f7;color:#10243a}.hc2-chat-settings__nav .hc2-chat-settings__close{display:grid;place-items:center;width:40px;min-height:40px;margin:0 0 8px;padding:0;border:1px solid #c7e2e9;border-radius:999px;background:#fff;color:#10243a;font-size:26px;font-weight:400;text-align:center}.hc2-chat-settings__body{overflow:auto;padding:32px 40px;background:#fff}.hc2-chat-settings__body h2{margin:0 0 8px;color:#10243a;font-size:26px}.hc2-chat-settings__body h3{margin:32px 0 16px;color:#10243a;font-size:19px}.hc2-chat-settings__body>p{max-width:520px;margin:0 0 24px;color:#52677b;font-size:16px;line-height:1.7}.hc2-chat-settings__body>label:not(.hc2-chat-settings__toggle){display:grid;gap:8px;margin:0 0 20px;color:#10243a;font-size:13px;font-weight:700}.hc2-chat-settings__body select,.hc2-chat-settings__body input:not([type="checkbox"]),.hc2-chat-settings__body textarea{width:100%;padding:12px 14px;border:1px solid #b7d6e1;border-radius:14px;background:#fff;color:#10243a;font:inherit;font-size:16px;line-height:1.5}.hc2-chat-settings__body textarea{min-height:96px;resize:vertical}.hc2-chat-settings__toggle{display:flex;align-items:center;gap:8px;min-height:52px;margin:0 0 16px;padding:0 14px;border:1px solid #c7e2e9;border-radius:14px;color:#10243a;font-size:16px;font-weight:600}.hc2-chat-settings__toggle input{width:18px;height:18px;accent-color:#087f9e}.hc2-chat-settings__save{min-height:46px;margin:0 12px 0 0;padding:0 18px;border:0;border-radius:999px;background:#10243a;color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}.hc2-chat-settings__status{display:inline-block;color:#087f9e;font-size:13px}.hc2-chat-settings__memory{display:grid;gap:8px;margin:0 0 20px}.hc2-chat-settings__memory>div{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--hc-line)}.hc2-chat-settings__memory span{color:#52677b;font-size:16px;line-height:1.6}.hc2-chat-settings__memory button{min-height:32px;padding:0 12px;border:1px solid #c7e2e9;border-radius:999px;background:#fff;color:#52677b;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.hc2-chat-settings__memory p{margin:0;color:#708291;font-size:16px}.hc2-chat-settings__data{padding:24px;border:1px solid #c7e2e9;border-radius:14px;background:#f7fbfc}.hc2-chat-settings__data strong{display:block;margin-bottom:8px;color:#10243a;font-size:19px}.hc2-chat-settings__data span{display:block;color:#087f9e;font-size:16px;font-weight:700}.hc2-chat-settings__data p{margin:16px 0 0;color:#52677b;font-size:16px;line-height:1.65}
@media (max-width:680px){.hc2-chat-settings{align-items:end;padding:0}.hc2-chat-settings__sheet{grid-template-columns:1fr;max-height:calc(100vh - 16px);border-radius:20px 20px 0 0}.hc2-chat-settings__nav{display:flex;flex-wrap:wrap;align-items:center;padding:16px;border-right:0;border-bottom:1px solid var(--hc-line)}.hc2-chat-settings__nav>strong{margin-right:auto;padding:0;font-size:16px}.hc2-chat-settings__nav .hc2-chat-settings__close{margin:0}.hc2-chat-settings__nav button[data-tab]{min-height:36px;padding:0 8px;border-radius:999px;font-size:13px}.hc2-chat-settings__body{padding:24px 20px}}

/* The conversation itself is the focal point. Keep its greeting and composer on one
   vertical reading line in both routes; never let a legacy grid create a phantom gutter. */
html:not(.atovia-live-chat-app) .hc2-live-chat__messages{padding:48px max(24px,calc((100% - 920px)/2));background:#fff}
html:not(.atovia-live-chat-app) .hc2-live-chat__welcome{width:100%;margin:auto 0}
html:not(.atovia-live-chat-app) .hc2-live-chat__form{padding:24px max(24px,calc((100% - 920px)/2)) 32px!important}
.atovia-live-chat-app .hc2-live-chat__messages{padding:48px 32px;background:#fff}
.atovia-live-chat-app .hc2-live-chat__welcome{align-self:stretch;width:100%!important;margin:auto 0!important}
.atovia-live-chat-app .hc2-live-chat__form{width:calc(100% - 64px);max-width:920px;padding:24px 0 32px}
.atovia-live-chat-app .hc2-live-chat__bar{border-bottom-color:#dcebef;background:#fff}
.atovia-live-chat-app .hc2-chat-app-sidebar{background:#f8fcfd}
.atovia-live-chat-app .hc2-chat-app-sidebar__brand{margin-bottom:8px}
.atovia-live-chat-app .hc2-chat-app-sidebar>p{margin-bottom:32px}
.hc2-chat-history__open{min-height:36px!important;border-radius:8px!important}
.hc2-chat-account-panel{gap:12px}

@media (max-width:900px){
  html:not(.atovia-live-chat-app) .hc2-live-chat__messages{padding:32px 24px}
  html:not(.atovia-live-chat-app) .hc2-live-chat__form{padding:24px!important}
}
@media (max-width:680px){
  .atovia-live-chat-app .hc2-live-chat__messages{padding:32px 20px}
  .atovia-live-chat-app .hc2-live-chat__form{width:calc(100% - 40px);padding:16px 0 24px}
  html:not(.atovia-live-chat-app) .hc2-live-chat__messages{padding:24px 20px}
  html:not(.atovia-live-chat-app) .hc2-live-chat__form{padding:20px!important}
}
