.gmcc-widget {
  --gmcc-blue: #1664e6;
  --gmcc-blue-hover: #1154c6;
  --gmcc-ink: #172b46;
  --gmcc-muted: #5d6d82;
  --gmcc-border: #e0e7f0;
  --gmcc-paper: #fff;
  --gmcc-soft: #f5f8fc;
  --gmcc-edge-top: max(8px, env(safe-area-inset-top, 0px));
  --gmcc-edge-right: max(8px, env(safe-area-inset-right, 0px));
  --gmcc-edge-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  --gmcc-edge-left: max(8px, env(safe-area-inset-left, 0px));
  position: relative;
  z-index: 99990;
  color: var(--gmcc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.gmcc-widget *,
.gmcc-widget *::before,
.gmcc-widget *::after { box-sizing: border-box; }
.gmcc-widget [hidden] { display: none !important; }
.gmcc-widget button,
.gmcc-widget input,
.gmcc-widget textarea { font: inherit; letter-spacing: inherit; text-transform: none; }
.gmcc-widget button { cursor: pointer; margin: 0; box-shadow: none; }
.gmcc-widget button:disabled { cursor: default; opacity: .55; }
.gmcc-widget button:focus-visible,
.gmcc-widget a:focus-visible,
.gmcc-widget input:focus-visible,
.gmcc-widget textarea:focus-visible,
.gmcc-widget [tabindex]:focus-visible { outline: 3px solid #96bfff; outline-offset: 3px; }
.gmcc-widget h2,
.gmcc-widget h3,
.gmcc-widget p { margin: 0; font-family: inherit; font-style: normal; letter-spacing: normal; text-transform: none; }
.gmcc-widget .gmcc-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gmcc-widget .gmcc-icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; }

.gmcc-widget .gmcc-launcher {
  position: fixed;
  right: calc(var(--gmcc-viewport-right, 0px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(90px, var(--gmcc-visible-height, 100vh) * .22, 190px) + var(--gmcc-viewport-bottom, 0px) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(var(--gmcc-visible-width, 100vw) - 16px);
  min-height: 58px;
  padding: 10px 16px 10px 12px;
  border: 1px solid #cfdff2;
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: #fff;
  color: var(--gmcc-ink);
  box-shadow: 0 4px 20px #173c631a, 0 1px 4px #173c630a;
  text-align: left;
  line-height: 1.4;
  transition: background .16s ease, border-color .16s ease;
}
.gmcc-widget .gmcc-launcher-symbol { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 11px; background: transparent; color: #1664e6; }
.gmcc-widget .gmcc-launcher-symbol .gmcc-icon { width: 23px; height: 23px; }
.gmcc-widget .gmcc-launcher-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.gmcc-widget .gmcc-launcher-label { font-size: 14px; font-weight: 700; }
.gmcc-widget .gmcc-launcher-hint { color: #526b87; font-size: 11px; font-weight: 450; }
.gmcc-widget .gmcc-launcher:hover { border-color: #9fbeec; background: #f7faff; }
.gmcc-widget .gmcc-launcher:focus-visible { outline-offset: -4px; }
.gmcc-widget.gmcc-open .gmcc-launcher { visibility: hidden; }

.gmcc-widget .gmcc-panel {
  position: fixed;
  right: calc(var(--gmcc-viewport-right, 0px) + max(24px, env(safe-area-inset-right, 0px)));
  bottom: calc(24px + var(--gmcc-viewport-bottom, 0px) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  width: 440px;
  max-width: calc(var(--gmcc-visible-width, 100vw) - max(24px, env(safe-area-inset-right, 0px)) - max(8px, env(safe-area-inset-left, 0px)));
  height: 748px;
  max-height: calc(var(--gmcc-visible-height, 100vh) - 48px - env(safe-area-inset-bottom, 0px));
  max-height: calc(var(--gmcc-visible-height, 100dvh) - 48px - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 20px;
  background: var(--gmcc-paper);
  box-shadow: 0 24px 72px #132f5029, 0 4px 16px #132f500f;
  animation: gmcc-appear .18s ease-out;
}
.gmcc-widget .gmcc-header { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 19px 20px 16px; background: #fff; }
.gmcc-widget .gmcc-brand-mark { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; background: var(--gmcc-blue); color: #fff; font-size: 15px; font-weight: 750; letter-spacing: -.5px; }
.gmcc-widget .gmcc-heading { flex: 1 1 auto; min-width: 0; }
.gmcc-widget .gmcc-title { color: var(--gmcc-ink); font-size: 18px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-subtitle { margin-top: 3px; color: var(--gmcc-muted); font-size: 12px; line-height: 1.4; }
.gmcc-widget .gmcc-icon-button { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; border: 0; border-radius: 10px; background: #f1f5fa; color: #526780; }
.gmcc-widget .gmcc-icon-button:hover { background: #e8eef7; color: var(--gmcc-ink); }
.gmcc-widget .gmcc-status-bar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 8px; min-height: 43px; padding: 11px 18px 5px; border-top: 1px solid #f1f4f8; border-bottom: 1px solid var(--gmcc-border); background: #fff; }
.gmcc-widget .gmcc-identity { display: flex; flex: 1 1 100%; align-items: flex-start; gap: 10px; min-width: 0; }
.gmcc-widget .gmcc-identity-mark { display: flex; flex: 0 0 34px; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: 1px; border-radius: 10px; background: #eef2f6; color: #586c84; }
.gmcc-widget .gmcc-identity-mark .gmcc-icon { width: 20px; height: 20px; }
.gmcc-widget .gmcc-identity-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gmcc-widget .gmcc-status { color: var(--gmcc-ink); font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-status-detail { color: #596d84; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-identity[data-kind='ai'] .gmcc-status { color: #155dce; }
.gmcc-widget .gmcc-identity[data-kind='ai'] .gmcc-identity-mark { background: #eaf2ff; color: #155dce; }
.gmcc-widget .gmcc-identity[data-kind='human'] .gmcc-status { color: #176447; }
.gmcc-widget .gmcc-identity[data-kind='human'] .gmcc-identity-mark { background: #e7f5ed; color: #176447; }
.gmcc-widget .gmcc-identity[data-kind='waiting'] .gmcc-status { color: #825813; }
.gmcc-widget .gmcc-identity[data-kind='waiting'] .gmcc-identity-mark { background: #fff4da; color: #825813; }
.gmcc-widget .gmcc-session-actions { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; }
.gmcc-widget .gmcc-toolbar-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 4px 7px; border: 0; border-radius: 6px; background: transparent; color: #526780; font-size: 12px; font-weight: 550; line-height: 1.4; }
.gmcc-widget .gmcc-toolbar-button .gmcc-icon { width: 14px; height: 14px; }
.gmcc-widget .gmcc-toolbar-button:hover { background: #eef4fc; color: var(--gmcc-blue); }

.gmcc-widget .gmcc-scroll { flex: 1 1 auto; min-width: 0; min-height: 0; padding: 22px 20px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #cad7e8 transparent; background: var(--gmcc-soft); }
.gmcc-widget .gmcc-loading { padding: 20px 0; color: var(--gmcc-muted); font-size: 14px; }
.gmcc-widget .gmcc-eyebrow { display: block; color: var(--gmcc-blue); font-size: 10px; font-weight: 750; line-height: 1.5; letter-spacing: .11em; }
.gmcc-widget .gmcc-welcome { padding: 12px 2px 18px; }
.gmcc-widget .gmcc-welcome-title { margin-top: 9px; color: var(--gmcc-ink); font-size: 26px; font-weight: 700; line-height: 1.23; letter-spacing: -.6px; }
.gmcc-widget .gmcc-welcome-text { margin-top: 11px; color: var(--gmcc-muted); font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-suggestions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.gmcc-widget .gmcc-suggestion { min-height: 42px; padding: 10px 13px; border: 1px solid #d7e4f6; border-radius: 10px; background: #fff; color: #285285; text-align: left; font-size: 13px; font-weight: 550; line-height: 1.4; }
.gmcc-widget .gmcc-suggestion::after { content: '›'; float: right; margin-left: 10px; color: var(--gmcc-blue); font-size: 18px; line-height: 16px; }
.gmcc-widget .gmcc-suggestion:hover { border-color: #8cb7fa; background: #edf4ff; }

.gmcc-widget .gmcc-contact-form { margin: 0; padding: 8px 2px 2px; }
.gmcc-widget .gmcc-contact-title { margin-top: 10px; max-width: 340px; color: var(--gmcc-ink); font-size: 29px; font-weight: 700; line-height: 1.2; letter-spacing: -.8px; }
.gmcc-widget .gmcc-form-help { margin-top: 13px; margin-bottom: 21px; color: var(--gmcc-muted); font-size: 14px; line-height: 1.65; }
.gmcc-widget .gmcc-label { display: block; margin: 14px 0 7px; color: #273e5a; font-size: 13px; font-weight: 650; line-height: 1.4; }
.gmcc-widget .gmcc-field { display: block; width: 100%; min-height: 49px; margin: 0; padding: 11px 13px; border: 1px solid #cad7e7; border-radius: 10px; background: #fff; color: var(--gmcc-ink); font-size: 16px; line-height: 1.4; box-shadow: 0 1px 2px #12345a03; appearance: none; }
.gmcc-widget .gmcc-field::placeholder { color: #8491a3; opacity: 1; }
.gmcc-widget .gmcc-field:focus { border-color: var(--gmcc-blue); }
.gmcc-widget .gmcc-field[aria-invalid='true'] { border-color: #c2534b; }
.gmcc-widget .gmcc-contact-actions { display: flex; align-items: stretch; gap: 9px; margin-top: 22px; }
.gmcc-widget .gmcc-primary-button,
.gmcc-widget .gmcc-secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 17px; border: 1px solid var(--gmcc-blue); border-radius: 10px; background: var(--gmcc-blue); color: #fff; font-size: 14px; font-weight: 650; line-height: 1.4; }
.gmcc-widget .gmcc-primary-button:hover:not(:disabled) { background: var(--gmcc-blue-hover); }
.gmcc-widget .gmcc-secondary-button { border-color: #cdd9e8; background: #fff; color: #365373; }
.gmcc-widget .gmcc-secondary-button:hover:not(:disabled) { background: #edf3fc; }
.gmcc-widget .gmcc-contact-submit { flex: 1 1 auto; }
.gmcc-widget .gmcc-contact-privacy { display: flex; align-items: flex-start; gap: 7px; margin-top: 16px; color: var(--gmcc-muted); font-size: 11px; line-height: 1.6; }
.gmcc-widget .gmcc-contact-privacy .gmcc-icon { width: 15px; height: 15px; margin-top: 2px; color: #71849e; }
.gmcc-widget .gmcc-contact-privacy a { color: #476a97; text-decoration: underline; text-underline-offset: 2px; }
.gmcc-widget .gmcc-contact-editing { margin-top: 18px; padding: 18px 0 2px; border-top: 1px solid var(--gmcc-border); }
.gmcc-widget .gmcc-contact-editing .gmcc-contact-title { font-size: 23px; letter-spacing: -.45px; }
.gmcc-widget .gmcc-contact-editing .gmcc-form-help { font-size: 13px; }

.gmcc-widget .gmcc-messages { display: flex; flex-direction: column; gap: 19px; }
.gmcc-widget .gmcc-message { max-width: 94%; align-self: flex-start; min-width: 0; }
.gmcc-widget .gmcc-message-user { align-self: flex-end; max-width: 88%; }
.gmcc-widget .gmcc-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 6px; color: var(--gmcc-muted); font-size: 11px; line-height: 1.4; }
.gmcc-widget .gmcc-author { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; font-weight: 650; }
.gmcc-widget .gmcc-message-avatar { display: inline-flex; flex: 0 0 22px; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: #e6effe; color: #155dce; }
.gmcc-widget .gmcc-message-avatar .gmcc-icon { width: 14px; height: 14px; }
.gmcc-widget .gmcc-author-name { font-size: 12px; }
.gmcc-widget .gmcc-role-badge { display: inline-block; padding: 2px 6px; border: 1px solid #cbdcfa; border-radius: 5px; background: #eaf2ff; color: #205bb0; font-size: 10px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.gmcc-widget .gmcc-time { flex: 0 0 auto; color: #75859b; font-size: 10px; }
.gmcc-widget .gmcc-message-content { padding: 12px 14px; border: 1px solid #e0e7f0; border-radius: 4px 15px 15px; background: #fff; color: var(--gmcc-ink); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; box-shadow: 0 1px 2px #17365d03; }
.gmcc-widget .gmcc-message-user .gmcc-message-content { border-color: var(--gmcc-blue); border-radius: 15px 4px 15px 15px; background: var(--gmcc-blue); color: #fff; }
.gmcc-widget .gmcc-message-human .gmcc-message-content { border-color: #bbdccb; border-left: 3px solid #3b8a67; background: #f0faf4; }
.gmcc-widget .gmcc-message-human .gmcc-author { color: #176447; }
.gmcc-widget .gmcc-message-human .gmcc-message-avatar { background: #e1f2e8; color: #176447; }
.gmcc-widget .gmcc-message-human .gmcc-role-badge { border-color: #bcdcc9; background: #e5f4eb; color: #176447; }
.gmcc-widget .gmcc-message-link { color: #155ecf; text-decoration: underline; text-underline-offset: 3px; font-weight: 550; }
.gmcc-widget .gmcc-message-user .gmcc-message-link { color: #fff; }
.gmcc-widget .gmcc-message-content.gmcc-revealing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 3px; background: #397bdf; vertical-align: -.13em; }
.gmcc-widget .gmcc-reveal-skip { display: inline-flex; align-items: center; min-height: 44px; margin-top: 3px; padding: 7px 3px; border: 0; border-radius: 6px; background: transparent; color: #245fad; font-size: 12px; font-weight: 550; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.gmcc-widget .gmcc-reveal-skip:hover { color: #12499a; text-decoration-thickness: 2px; }
.gmcc-widget .gmcc-received { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 4px; color: #657b95; font-size: 10px; line-height: 1.4; }
.gmcc-widget .gmcc-received .gmcc-icon { width: 12px; height: 12px; color: #4b7c69; }
.gmcc-widget .gmcc-message-system { align-self: stretch; max-width: 100%; margin: 1px 0; }
.gmcc-widget .gmcc-message-system .gmcc-message-meta { justify-content: center; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 4px; }
.gmcc-widget .gmcc-message-system .gmcc-author { color: #60758d; font-size: 10px; font-weight: 500; }
.gmcc-widget .gmcc-message-system .gmcc-message-content { padding: 8px 11px; border: 0; border-radius: 8px; background: #eaf0f8; color: #516782; text-align: center; font-size: 12px; line-height: 1.6; box-shadow: none; }
.gmcc-widget .gmcc-typing { margin-top: 17px; padding: 5px 1px; color: #546f90; font-size: 12px; }

.gmcc-widget .gmcc-case-card { margin-top: 18px; padding: 13px 14px; border: 1px solid #c8dbf8; border-radius: 12px; background: #edf4ff; }
.gmcc-widget .gmcc-case-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 9px; }
.gmcc-widget .gmcc-case-title { color: #244e89; font-size: 13px; font-weight: 700; line-height: 1.4; }
.gmcc-widget .gmcc-case-state { color: #3b6398; font-size: 11px; font-weight: 550; line-height: 1.4; }
.gmcc-widget .gmcc-case-copy { margin-top: 7px; color: #3e5b83; font-size: 12px; line-height: 1.6; }
.gmcc-widget .gmcc-case-contact { margin-top: 8px; padding-top: 8px; border-top: 1px solid #d4e1f4; color: #536f92; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-notice { flex: 0 0 auto; max-height: 100px; padding: 10px 18px; overflow-y: auto; border-top: 1px solid #e6e0cf; background: #fffaee; color: #705821; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-notice-success { border-color: #d6e8de; background: #f2faf6; color: #38644d; }
.gmcc-widget .gmcc-notice-error { border-color: #efd9d5; background: #fff5f2; color: #884b3d; }
.gmcc-widget .gmcc-connection-retry { align-self: flex-start; margin: 4px 18px 8px; }
.gmcc-widget .gmcc-text-button { min-height: 32px; padding: 5px 0; border: 0; border-radius: 4px; background: transparent; color: #275b9f; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.gmcc-widget .gmcc-text-button:hover:not(:disabled) { color: var(--gmcc-blue); }

.gmcc-widget .gmcc-composer { flex: 0 0 auto; margin: 0; padding: 14px 18px 9px; border-top: 1px solid var(--gmcc-border); background: #fff; }
.gmcc-widget .gmcc-input { display: block; width: 100%; min-width: 0; min-height: 70px; max-height: 115px; resize: vertical; margin: 0; padding: 10px 12px; border: 1px solid #cbd8e9; border-radius: 11px; background: #fff; color: var(--gmcc-ink); box-shadow: none; font-size: 16px; line-height: 1.55; appearance: none; }
.gmcc-widget .gmcc-input::placeholder { color: #78899e; opacity: 1; }
.gmcc-widget .gmcc-input:focus { border-color: var(--gmcc-blue); }
.gmcc-widget .gmcc-input:disabled { background: #f6f8fc; color: #65768e; }
.gmcc-widget .gmcc-composer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.gmcc-widget .gmcc-send { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 95px; min-height: 40px; margin-left: auto; padding: 9px 14px; border: 1px solid var(--gmcc-blue); border-radius: 9px; background: var(--gmcc-blue); color: #fff; font-size: 13px; font-weight: 650; line-height: 1.4; }
.gmcc-widget .gmcc-send .gmcc-icon { width: 17px; height: 17px; }
.gmcc-widget .gmcc-send:hover:not(:disabled) { background: var(--gmcc-blue-hover); }
.gmcc-widget .gmcc-composer-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 7px; color: #7d8ba0; font-size: 10px; line-height: 1.4; }
.gmcc-widget .gmcc-count { flex: 0 0 auto; }
.gmcc-widget .gmcc-count-over { color: #a3342e; font-weight: 650; }
.gmcc-widget .gmcc-delivery { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; margin-top: 7px; color: #5e7692; font-size: 11px; line-height: 1.5; }
.gmcc-widget .gmcc-delivery-text { flex: 1 1 180px; }
.gmcc-widget .gmcc-closed { flex: 0 0 auto; padding: 17px 20px; border-top: 1px solid var(--gmcc-border); background: #fff; text-align: center; }
.gmcc-widget .gmcc-closed p { margin-bottom: 12px; color: var(--gmcc-muted); font-size: 13px; line-height: 1.5; }
.gmcc-widget .gmcc-footer { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: space-between; gap: 5px 9px; padding: 9px 18px 12px; background: #fff; color: #6a7e97; font-size: 10px; line-height: 1.5; }
.gmcc-widget .gmcc-footer-links { display: inline-flex; flex: 0 0 auto; gap: 10px; }
.gmcc-widget .gmcc-footer a { color: #587293; text-decoration: underline; text-underline-offset: 2px; }

.gmcc-widget .gmcc-tabs { display: grid; flex: 0 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 0 16px 12px; border-bottom: 1px solid var(--gmcc-border); background: #fff; }
.gmcc-widget .gmcc-tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 7px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #657790; font-size: 13px; font-weight: 600; line-height: 1.4; }
.gmcc-widget .gmcc-tab .gmcc-icon { width: 17px; height: 17px; }
.gmcc-widget .gmcc-tab:hover { background: #f2f6fc; color: #235b9d; }
.gmcc-widget .gmcc-tab[aria-selected='true'] { border-color: #d6e6ff; background: #edf4ff; color: #155dce; }
.gmcc-widget .gmcc-chat-view { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.gmcc-widget .gmcc-chat-view .gmcc-status-bar { border-top: 0; }
.gmcc-widget .gmcc-guide-view,
.gmcc-widget .gmcc-history-view { flex: 1 1 auto; min-height: 0; padding: 23px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cad7e8 transparent; background: var(--gmcc-soft); }
.gmcc-widget .gmcc-guide-title,
.gmcc-widget .gmcc-history-title { margin-top: 8px; color: var(--gmcc-ink); font-size: 27px; font-weight: 700; line-height: 1.2; letter-spacing: -.65px; }
.gmcc-widget .gmcc-guide-greeting { margin-top: 11px; color: var(--gmcc-muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-page-context { display: flex; align-items: flex-start; gap: 6px; margin-top: 13px; color: #567394; font-size: 11px; line-height: 1.5; }
.gmcc-widget .gmcc-page-context .gmcc-icon { width: 14px; height: 14px; margin-top: 1px; }
.gmcc-widget .gmcc-page-context span { overflow-wrap: anywhere; }
.gmcc-widget .gmcc-guide-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.gmcc-widget .gmcc-guide-card-wrap { overflow: hidden; border: 1px solid #dce6f4; border-radius: 13px; background: #fff; box-shadow: 0 2px 3px #17365d03; }
.gmcc-widget .gmcc-guide-card { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 14px; color: var(--gmcc-ink); text-decoration: none; }
.gmcc-widget .gmcc-guide-card:hover { background: #f5f9ff; color: #155dce; }
.gmcc-widget .gmcc-guide-card:focus-visible { outline-offset: -4px; }
.gmcc-widget .gmcc-guide-card > .gmcc-icon { width: 17px; height: 17px; color: #658bbd; }
.gmcc-widget .gmcc-guide-card-icon { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: #edf4ff; color: var(--gmcc-blue); }
.gmcc-widget .gmcc-guide-card-icon .gmcc-icon { width: 21px; height: 21px; }
.gmcc-widget .gmcc-guide-card-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 4px; }
.gmcc-widget .gmcc-guide-card-copy strong { font-size: 14px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-guide-card-copy > span { color: #647991; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-show-on-page { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 32px; padding: 7px 12px; border: 0; border-top: 1px solid #e5edf8; border-radius: 0; background: #f8fbff; color: #456d9f; font-size: 11px; font-weight: 550; line-height: 1.4; }
.gmcc-widget .gmcc-show-on-page .gmcc-icon { width: 13px; height: 13px; }
.gmcc-widget .gmcc-show-on-page:hover { background: #edf4ff; color: #155dce; }
.gmcc-widget .gmcc-guide-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.gmcc-widget .gmcc-guide-prompts:empty { margin-top: 0; }
.gmcc-widget .gmcc-guide-prompts h4 { flex-basis: 100%; margin: 0 0 3px; color: #395674; font-family: inherit; font-size: 12px; font-weight: 650; line-height: 1.5; }
.gmcc-widget .gmcc-guide-prompt { min-height: 36px; padding: 8px 11px; border: 1px solid #d5e2f4; border-radius: 9px; background: #fff; color: #335e94; font-size: 12px; font-weight: 550; line-height: 1.4; text-align: left; }
.gmcc-widget .gmcc-guide-prompt:hover { border-color: #96bdf6; background: #edf4ff; }
.gmcc-widget .gmcc-guide-chat { width: 100%; margin-top: 22px; }
.gmcc-widget .gmcc-guide-chat .gmcc-icon { width: 18px; height: 18px; }
.gmcc-widget .gmcc-guide-help { margin-top: 11px; color: #71829a; font-size: 11px; line-height: 1.6; }
.gmcc-widget .gmcc-guide-notice,
.gmcc-widget .gmcc-history-notice { margin-top: 14px; padding: 10px 12px; border: 1px solid #d8e5f6; border-radius: 9px; background: #edf4ff; color: #45658f; font-size: 12px; line-height: 1.55; }
.gmcc-widget .gmcc-storage-warning { flex: 0 0 auto; max-height: 80px; margin: 0; padding: 9px 17px; overflow-y: auto; border-bottom: 1px solid #e9dfc9; background: #fff8e9; color: #735a2b; font-size: 11px; line-height: 1.5; }

/* A compact cue is shown only for a page highlight chosen by the visitor. */
.gmcc-widget .gmcc-guide-cue { position: fixed; right: calc(16px + var(--gmcc-viewport-right, 0px)); bottom: calc(16px + var(--gmcc-viewport-bottom, 0px) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 9px; width: 360px; max-width: calc(var(--gmcc-visible-width, 100vw) - 28px); min-height: 64px; padding: 9px 10px; border: 1px solid #cfdef2; border-radius: 12px; background: #fff; color: var(--gmcc-ink); box-shadow: 0 4px 20px #173c631a; }
.gmcc-widget .gmcc-guide-cue > .gmcc-icon { width: 18px; height: 18px; color: #326cae; }
.gmcc-widget .gmcc-guide-cue-text { display: -webkit-box; flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #48617e; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-stop-guide { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; border: 1px solid #d4e3f8; border-radius: 8px; background: #f2f7ff; color: #245fad; font-size: 12px; font-weight: 650; }
.gmcc-widget .gmcc-stop-guide:hover { border-color: #96bdf6; background: #e7f0ff; }

.gmcc-widget .gmcc-history-help { margin-top: 12px; color: var(--gmcc-muted); font-size: 13px; line-height: 1.65; }
.gmcc-widget .gmcc-history-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.gmcc-widget .gmcc-history-card { padding: 15px; border: 1px solid #dce5f2; border-radius: 13px; background: #fff; }
.gmcc-widget .gmcc-history-current { border-color: #a9c9f7; background: #fbfdff; }
.gmcc-widget .gmcc-history-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gmcc-widget .gmcc-history-card-heading h4 { min-width: 0; margin: 0; color: #284563; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-history-status { flex: 0 0 auto; max-width: 105px; padding: 3px 6px; border-radius: 5px; background: #edf3fb; color: #567291; font-size: 10px; line-height: 1.4; text-align: center; }
.gmcc-widget .gmcc-history-detail { margin-top: 8px; color: #7a8ba1; font-size: 11px; line-height: 1.5; }
.gmcc-widget .gmcc-history-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.gmcc-widget .gmcc-history-continue { min-height: 36px; padding: 7px 11px; border-color: #c7dbf8; border-radius: 8px; background: #f5f9ff; color: #2d63a9; font-size: 12px; }
.gmcc-widget .gmcc-history-remove { color: #7c8da3; font-size: 11px; font-weight: 500; }
.gmcc-widget .gmcc-history-new { width: 100%; margin-top: 20px; }
.gmcc-widget .gmcc-history-retry { width: 100%; margin-top: 12px; }
.gmcc-widget .gmcc-history-empty { margin-top: 22px; padding: 22px 16px; border: 1px dashed #c9d9ee; border-radius: 13px; color: #7186a0; font-size: 13px; line-height: 1.65; text-align: center; }
.gmcc-widget .gmcc-answer-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; white-space: normal; }
.gmcc-widget .gmcc-answer-card { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #d2e2f9; border-radius: 10px; background: #f2f7ff; color: #215eac; text-decoration: none; }
.gmcc-widget .gmcc-answer-card > .gmcc-icon { width: 17px; height: 17px; }
.gmcc-widget .gmcc-answer-card-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 3px; }
.gmcc-widget .gmcc-answer-card-copy strong { font-size: 12px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.gmcc-widget .gmcc-answer-card-copy span { color: #7791af; font-size: 10px; line-height: 1.4; }
.gmcc-widget .gmcc-answer-card:hover { border-color: #98bff7; background: #e9f2ff; }

/* One explicitly chosen, existing public link/section is highlighted briefly. */
.gmcc-guided-target { outline: 3px solid #1664e6 !important; outline-offset: 5px !important; box-shadow: 0 0 0 9px #1664e61f !important; scroll-margin: 90px !important; }

@keyframes gmcc-appear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
/* These classes use the visual viewport, including keyboard/zoom changes that
   do not update width/height media queries in mobile browsers. */
.gmcc-widget.gmcc-narrow .gmcc-launcher { gap: 8px; padding: 9px 13px 9px 10px; }
.gmcc-widget.gmcc-narrow .gmcc-panel { top: calc(var(--gmcc-viewport-top, 0px) + var(--gmcc-edge-top)); left: calc(var(--gmcc-viewport-left, 0px) + var(--gmcc-edge-left)); right: auto; bottom: auto; width: calc(var(--gmcc-visible-width, 100vw) - var(--gmcc-edge-left) - var(--gmcc-edge-right)); max-width: calc(var(--gmcc-visible-width, 100vw) - var(--gmcc-edge-left) - var(--gmcc-edge-right)); height: calc(var(--gmcc-visible-height, 100vh) - var(--gmcc-edge-top) - var(--gmcc-edge-bottom)); max-height: calc(var(--gmcc-visible-height, 100dvh) - var(--gmcc-edge-top) - var(--gmcc-edge-bottom)); border-radius: 16px; }
.gmcc-widget.gmcc-narrow .gmcc-header { gap: 10px; padding: 15px 15px 13px; }
.gmcc-widget.gmcc-narrow .gmcc-brand-mark { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; font-size: 14px; }
.gmcc-widget.gmcc-narrow .gmcc-title { font-size: 17px; }
.gmcc-widget.gmcc-narrow .gmcc-subtitle { font-size: 11px; }
.gmcc-widget.gmcc-narrow .gmcc-icon-button { flex-basis: 36px; width: 36px; height: 38px; }
.gmcc-widget.gmcc-narrow .gmcc-status-bar { padding-right: 11px; padding-left: 15px; }
.gmcc-widget.gmcc-narrow .gmcc-toolbar-button { min-height: 36px; }
.gmcc-widget.gmcc-narrow .gmcc-scroll { padding: 21px 16px; }
.gmcc-widget.gmcc-narrow .gmcc-contact-title { font-size: 28px; }
.gmcc-widget.gmcc-narrow .gmcc-field { min-height: 49px; }
.gmcc-widget.gmcc-narrow .gmcc-message-content { padding: 11px 12px; }
.gmcc-widget.gmcc-narrow .gmcc-composer { padding: 12px 14px 7px; }
.gmcc-widget.gmcc-narrow .gmcc-input { min-height: 65px; max-height: 95px; resize: none; }
.gmcc-widget.gmcc-narrow .gmcc-send { min-height: 42px; }
.gmcc-widget.gmcc-narrow .gmcc-staff-button { min-height: 42px; }
.gmcc-widget.gmcc-narrow .gmcc-composer-help { visibility: hidden; }
.gmcc-widget.gmcc-narrow .gmcc-footer { padding: 7px 14px 10px; }
.gmcc-widget.gmcc-narrow .gmcc-notice { padding: 9px 15px; }
.gmcc-widget.gmcc-narrow .gmcc-tabs { padding: 0 12px 10px; }
.gmcc-widget.gmcc-narrow .gmcc-tab { min-height: 40px; }
.gmcc-widget.gmcc-narrow .gmcc-guide-view,
.gmcc-widget.gmcc-narrow .gmcc-history-view { padding: 21px 16px; }
.gmcc-widget.gmcc-narrow .gmcc-guide-title,
.gmcc-widget.gmcc-narrow .gmcc-history-title { font-size: 26px; }
.gmcc-widget.gmcc-narrow .gmcc-guide-cue { right: calc(12px + var(--gmcc-viewport-right, 0px)); max-width: calc(var(--gmcc-visible-width, 100vw) - 24px); }
.gmcc-widget.gmcc-narrow .gmcc-show-on-page { min-height: 36px; }
.gmcc-widget.gmcc-small .gmcc-subtitle { max-width: 180px; }
.gmcc-widget.gmcc-small .gmcc-status-bar { gap: 1px 4px; }
.gmcc-widget.gmcc-small .gmcc-toolbar-button { padding-right: 5px; padding-left: 5px; font-size: 11px; }
.gmcc-widget.gmcc-small .gmcc-contact-title { font-size: 26px; }
.gmcc-widget.gmcc-small .gmcc-scroll { padding-right: 14px; padding-left: 14px; }
.gmcc-widget.gmcc-small .gmcc-case-heading { align-items: flex-start; flex-direction: column; }
.gmcc-widget.gmcc-compact .gmcc-panel { top: calc(var(--gmcc-viewport-top, 0px) + var(--gmcc-edge-top)); bottom: auto; height: calc(var(--gmcc-visible-height, 100vh) - var(--gmcc-edge-top) - var(--gmcc-edge-bottom)); max-height: calc(var(--gmcc-visible-height, 100dvh) - var(--gmcc-edge-top) - var(--gmcc-edge-bottom)); }
.gmcc-widget.gmcc-compact .gmcc-header { padding-top: 10px; padding-bottom: 10px; }
.gmcc-widget.gmcc-compact .gmcc-scroll { padding-top: 14px; padding-bottom: 14px; }
.gmcc-widget.gmcc-compact .gmcc-status-bar { padding-top: 7px; padding-bottom: 3px; gap: 2px 6px; }
.gmcc-widget.gmcc-compact .gmcc-status-detail { font-size: 11px; }
.gmcc-widget.gmcc-compact .gmcc-contact-title { font-size: 24px; }
.gmcc-widget.gmcc-compact .gmcc-form-help { margin-bottom: 15px; }
.gmcc-widget.gmcc-compact .gmcc-composer { padding-top: 8px; }
.gmcc-widget.gmcc-compact .gmcc-input { min-height: 53px; max-height: 70px; }
.gmcc-widget.gmcc-compact .gmcc-composer-meta { display: none; }
.gmcc-widget.gmcc-compact .gmcc-footer { padding-top: 5px; padding-bottom: 7px; }
.gmcc-widget.gmcc-compact .gmcc-notice { max-height: 60px; padding-top: 7px; padding-bottom: 7px; }
.gmcc-widget.gmcc-compact .gmcc-tabs { padding-bottom: 6px; }
.gmcc-widget.gmcc-compact .gmcc-tab { min-height: 34px; }
/* Keep the author and composer visible when the keyboard leaves a short area.
   The full handoff explanation remains in the scrollable conversation. */
.gmcc-widget.gmcc-short .gmcc-header { gap: 8px; padding: 5px 12px; }
.gmcc-widget.gmcc-short .gmcc-brand-mark { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
.gmcc-widget.gmcc-short .gmcc-title { font-size: 16px; }
.gmcc-widget.gmcc-short .gmcc-subtitle,
.gmcc-widget.gmcc-short .gmcc-footer { display: none; }
.gmcc-widget.gmcc-short .gmcc-tabs { gap: 3px; padding: 0 10px 4px; }
.gmcc-widget.gmcc-short .gmcc-tab { min-height: 32px; padding: 5px 6px; font-size: 12px; }
.gmcc-widget.gmcc-short .gmcc-status-bar { flex-wrap: nowrap; gap: 4px; min-height: 40px; padding: 4px 10px; }
.gmcc-widget.gmcc-short .gmcc-identity { flex: 1 1 auto; align-items: center; gap: 6px; }
.gmcc-widget.gmcc-short .gmcc-identity-mark { flex-basis: 26px; width: 26px; height: 26px; margin-top: 0; border-radius: 8px; }
.gmcc-widget.gmcc-short .gmcc-identity-mark .gmcc-icon { width: 16px; height: 16px; }
.gmcc-widget.gmcc-short .gmcc-status { font-size: 12px; }
.gmcc-widget.gmcc-short .gmcc-status-detail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.gmcc-widget.gmcc-short .gmcc-session-actions { flex: 0 0 auto; gap: 0; }
.gmcc-widget.gmcc-short .gmcc-toolbar-button { min-height: 32px; padding: 4px; font-size: 11px; }
.gmcc-widget.gmcc-short .gmcc-scroll { padding-top: 10px; padding-bottom: 10px; }
.gmcc-widget.gmcc-short .gmcc-composer { padding: 7px 10px; }
.gmcc-widget.gmcc-short .gmcc-input { height: 48px; min-height: 48px; max-height: 72px; resize: none; padding: 10px; line-height: 1.4; }
.gmcc-widget.gmcc-short .gmcc-composer-row { gap: 6px; margin-top: 4px; }
.gmcc-widget.gmcc-short .gmcc-send,
.gmcc-widget.gmcc-short .gmcc-staff-button { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.gmcc-widget.gmcc-short .gmcc-notice { max-height: 44px; padding: 5px 10px; }
/* In a very short editing view, make room for the keyboard without losing the
   current author, close button, send button or the path to staff. Dismissing
   the keyboard restores the complete navigation automatically. */
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-header { flex-basis: 0; height: 0; padding: 0; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-brand-mark,
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-heading,
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-tabs,
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-session-actions { display: none; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-close { position: absolute; top: 4px; right: 5px; z-index: 1; width: 32px; height: 32px; padding: 6px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-status-bar { min-height: 40px; padding-right: 45px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-scroll { padding-top: 5px; padding-bottom: 5px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 6px; padding: 5px 8px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-input { grid-column: 1; grid-row: 1; height: 44px; min-height: 44px; padding: 9px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-composer-row { display: contents; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-send { grid-column: 2; grid-row: 1; min-width: 76px; min-height: 44px; padding: 7px 9px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-staff-button { grid-column: 1 / -1; grid-row: 2; justify-self: start; min-height: 30px; padding: 4px 0; font-size: 11px; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-delivery { grid-column: 1 / -1; }
.gmcc-widget.gmcc-cramped.gmcc-editing .gmcc-notice { max-height: 36px; padding-top: 4px; padding-bottom: 4px; }
/* Placement is selected independently for desktop and mobile. The small
   open panel always keeps its keyboard-aware, full available width. */
.gmcc-widget[data-position='left'] .gmcc-launcher { right: auto; left: calc(var(--gmcc-viewport-left, 0px) + env(safe-area-inset-left, 0px)); border-left: 0; border-right: 1px solid #cfdff2; border-radius: 0 16px 16px 0; }
.gmcc-widget[data-position='bottom_right'] .gmcc-launcher,
.gmcc-widget[data-position='bottom_left'] .gmcc-launcher { bottom: calc(var(--gmcc-viewport-bottom, 0px) + max(16px, env(safe-area-inset-bottom, 0px))); max-width: calc(var(--gmcc-visible-width, 100vw) - max(16px, env(safe-area-inset-left, 0px)) - max(16px, env(safe-area-inset-right, 0px))); border: 1px solid #cfdff2; border-radius: 18px; }
.gmcc-widget[data-position='bottom_right'] .gmcc-launcher { right: calc(var(--gmcc-viewport-right, 0px) + max(16px, env(safe-area-inset-right, 0px))); left: auto; }
.gmcc-widget[data-position='bottom_left'] .gmcc-launcher { left: calc(var(--gmcc-viewport-left, 0px) + max(16px, env(safe-area-inset-left, 0px))); right: auto; }
.gmcc-widget[data-position='left']:not(.gmcc-narrow) .gmcc-panel,
.gmcc-widget[data-position='bottom_left']:not(.gmcc-narrow) .gmcc-panel { left: calc(var(--gmcc-viewport-left, 0px) + max(24px, env(safe-area-inset-left, 0px))); right: auto; max-width: calc(var(--gmcc-visible-width, 100vw) - max(24px, env(safe-area-inset-left, 0px)) - max(8px, env(safe-area-inset-right, 0px))); }
.gmcc-widget[data-position] .gmcc-guide-cue { right: calc(var(--gmcc-viewport-right, 0px) + max(12px, env(safe-area-inset-right, 0px))); max-width: calc(var(--gmcc-visible-width, 100vw) - max(12px, env(safe-area-inset-left, 0px)) - max(12px, env(safe-area-inset-right, 0px))); }
.gmcc-widget[data-position='left'] .gmcc-guide-cue,
.gmcc-widget[data-position='bottom_left'] .gmcc-guide-cue { left: calc(var(--gmcc-viewport-left, 0px) + max(12px, env(safe-area-inset-left, 0px))); right: auto; }
.gmcc-widget[data-position='bottom_right'] .gmcc-guide-cue,
.gmcc-widget[data-position='bottom_left'] .gmcc-guide-cue { bottom: calc(var(--gmcc-viewport-bottom, 0px) + max(16px, env(safe-area-inset-bottom, 0px)) + 76px); }

/* Cosmos has a local, decorative image mark. Text still identifies AI and
   staff separately, including when images are blocked or fail to load. */
.gmcc-widget img.gmcc-cosmos-icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.gmcc-widget .gmcc-launcher-symbol .gmcc-cosmos-icon { width: 40px; height: 40px; }
.gmcc-widget .gmcc-brand-mark[data-kind='cosmos'] { background: transparent; }
.gmcc-widget .gmcc-brand-mark .gmcc-cosmos-icon { width: 100%; height: 100%; }
.gmcc-widget .gmcc-identity[data-kind='ai'] .gmcc-identity-mark { background: transparent; }
.gmcc-widget .gmcc-identity-mark .gmcc-cosmos-icon { width: 30px; height: 30px; }
.gmcc-widget .gmcc-message-assistant .gmcc-message-avatar { background: transparent; }
.gmcc-widget .gmcc-message-avatar .gmcc-cosmos-icon { width: 22px; height: 22px; }
.gmcc-widget.gmcc-short .gmcc-identity-mark .gmcc-cosmos-icon { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  .gmcc-widget .gmcc-panel { animation: none; }
  .gmcc-widget .gmcc-launcher { transition: none; }
}
