#alltech-sentinel {
  --sg-ink: #20232a;
  --sg-muted: #545a62;
  --sg-border: #dce0e5;
  --sg-red: #be1728;
  position: fixed;
  right: max(100px, calc(env(safe-area-inset-right) + 88px));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10050;
  color: var(--sg-ink);
  font: 400 14px/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  color-scheme: light;
}
#alltech-sentinel [hidden] { display: none !important; }
#alltech-sentinel *, #alltech-sentinel *::before, #alltech-sentinel *::after { box-sizing: border-box; }
#alltech-sentinel :is(button,input,textarea) { font: inherit; letter-spacing: normal; }
#alltech-sentinel button { cursor: pointer; }
#alltech-sentinel button:disabled { opacity: .55; cursor: default; }
#alltech-sentinel :is(button,input,summary,a,textarea):focus-visible { outline: 3px solid #1972ba; outline-offset: 3px; }
#alltech-sentinel :is(h2,h3,p,dl,dd,ul,li,figure) { margin: 0; padding: 0; text-transform: none; letter-spacing: normal; }
#alltech-sentinel :is(h2,h3,strong,dt) { color: inherit; font-family: inherit; }
#alltech-sentinel .sg-panel a { color: var(--sg-red) !important; text-decoration: underline; text-underline-offset: .15em; }
#alltech-sentinel:has(.sentinel-launcher[aria-expanded="false"]) {
  bottom: max(18px, env(safe-area-inset-bottom));
  color: #222;
  font-family: inherit;
  line-height: 1.45;
}
#alltech-sentinel .sentinel-launcher {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  position: relative; isolation: isolate; width: 148px; min-height: 174px;
  padding: 148px 0 0; gap: 0; border: 0; border-radius: 0;
  background: transparent; color: #202226; box-shadow: none;
  filter: drop-shadow(0 7px 10px #1112);
}
#alltech-sentinel .sentinel-launcher__robot {
  position: absolute; left: 0; top: 0; display: block; width: 148px; height: 148px; max-width: none;
  object-fit: contain; object-position: center; pointer-events: none;
  clip-path: polygon(36% 0,100% 0,100% 100%,0 100%,0 72%,24% 66%,23% 54%,26% 44%,36% 38%);
}
#alltech-sentinel .sentinel-launcher::before {
  content: ""; position: absolute; left: 0; top: 0; width: 148px; height: 148px;
  background: url("../img/sentinel-robot-v2.png?v=878ce09890ee") center/contain no-repeat;
  clip-path: polygon(0 0,36% 0,36% 38%,26% 44%,23% 54%,24% 66%,0 72%);
  transform-origin: 18% 62%; pointer-events: none;
}
@keyframes alltech-sentinel-skin-wave {
  0%, 100% { transform: rotate(0); }
  15%, 45% { transform: rotate(-13deg); }
  30%, 60% { transform: rotate(12deg); }
  78% { transform: rotate(-5deg); }
}
#alltech-sentinel .sentinel-launcher > span {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 7px;
  margin-top: -14px; padding: 10px 12px; border: 1px solid #e5e5e9;
  border-radius: 30px; background: #fff; box-shadow: 0 5px 20px #1111;
}
#alltech-sentinel .sentinel-launcher > span::before {
  content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #3ac488;
}
#alltech-sentinel .sentinel-launcher > span::after {
  content: ""; width: 18px; height: 14px; flex: none; border-radius: 6px;
  background: radial-gradient(circle at 5px 7px,#fff 1px,transparent 1.5px),
    radial-gradient(circle at 9px 7px,#fff 1px,transparent 1.5px),
    radial-gradient(circle at 13px 7px,#fff 1px,transparent 1.5px), #e2091b;
}
#alltech-sentinel .sentinel-launcher strong {
  display: block; text-align: left; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .8px;
}
#alltech-sentinel .sentinel-launcher small {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#alltech-sentinel .sentinel-launcher:hover > span { border-color: #ecc8cd; }
#alltech-sentinel .sentinel-launcher:focus-visible { outline: 3px solid #d50019; outline-offset: 5px; border-radius: 18px; }
#alltech-sentinel .sentinel-launcher[aria-expanded="true"] { visibility: hidden; }
#alltech-sentinel:has(.sentinel-launcher[aria-expanded="true"]) .sentinel-greeting { display: none !important; }
body.modal-open #alltech-sentinel:has(.sentinel-launcher[aria-expanded="false"]),
html.atcc-lock #alltech-sentinel:has(.sentinel-launcher[aria-expanded="false"]) { visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 900px), (max-height: 700px) {
  #alltech-sentinel:has(.sentinel-launcher[aria-expanded="false"]) {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 52px);
  }
  #alltech-sentinel .sentinel-launcher {
    width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 50%;
    background: #fff; border: 1px solid #e5e5e9; box-shadow: 0 3px 12px #1112;
  }
  #alltech-sentinel .sentinel-launcher__robot, #alltech-sentinel .sentinel-launcher::before {
    width: 56px; height: 56px;
  }
  #alltech-sentinel .sentinel-launcher > span {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 600px) {
  #alltech-sentinel .sentinel-launcher strong { font-size: 9px; }
  #alltech-sentinel .sentinel-launcher:focus-visible { outline-color: #e2091b; outline-offset: 3px; border-radius: 50%; }
}
#alltech-sentinel .sg-panel {
  position: absolute; right: 0; bottom: 69px; display: flex; flex-direction: column; isolation: isolate;
  width: min(458px, calc(100vw - 120px)); height: min(606px, calc(100vh - 106px)); height: min(606px, calc(100dvh - 106px));
  overflow: hidden; background: #fff; border: 1px solid #d5d9de; border-radius: 18px; box-shadow: 0 15px 64px #16212b36;
}
#alltech-sentinel .sg-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; flex: none; gap: 9px; align-items: center; padding: 4px 12px; border-top: 3px solid var(--sg-red); background: white; }
#alltech-sentinel .sg-header .sg-brand { width: 90px; height: 30px; object-fit: contain; }
#alltech-sentinel .sg-heading strong { display: block; font-size: 14px; letter-spacing: .06em; }
#alltech-sentinel .sg-header [data-sentinel-close] { border: 0; border-radius: 50%; width: 36px; height: 36px; background: #f0f2f4; color: var(--sg-ink); line-height: 1; font-size: 25px; }
#alltech-sentinel .sg-portrait { position: relative; width: 76px; height: 76px; }
#alltech-sentinel .sg-portrait :is(img,video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(1.015); }
#alltech-sentinel .sg-working { display: block; color: var(--sg-muted); font-size: 12px; line-height: 1.3; }
#alltech-sentinel .sg-motion-toggle { position: absolute; right: 0; bottom: 0; width: 25px; height: 25px; padding: 0; border: 1px solid var(--sg-border); border-radius: 50%; background: white; color: var(--sg-ink); font-size: 11px; }
#alltech-sentinel .sg-tools { display: flex; gap: 4px; justify-content: space-between; padding: 4px 12px; background: #fafafb; border-block: 1px solid var(--sg-border); }
#alltech-sentinel .sg-tools button, #alltech-sentinel .sg-quiet { color: var(--sg-muted); padding: 7px 9px; border: 0; background: transparent; border-radius: 7px; font-size: 12px; }
#alltech-sentinel .sg-tools :is([aria-pressed=true],[aria-expanded=true]), #alltech-sentinel .sg-tools button:hover { color: var(--sg-red); background: #f8e9eb; }
#alltech-sentinel .sg-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 19px 19px 16px; background: white; }
#alltech-sentinel .sg-body p { color: inherit; line-height: 1.5; }
#alltech-sentinel [data-sentinel-intro] { margin-bottom: 15px; color: var(--sg-muted); }
#alltech-sentinel .sg-stage h2, #alltech-sentinel .sg-summary h2, #alltech-sentinel .sg-offer h2 { font-size: 21px; line-height: 1.3; font-weight: 650; color: var(--sg-ink); }
#alltech-sentinel .sg-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#alltech-sentinel .sg-choices.is-domain { display: grid; }
#alltech-sentinel .sg-choice { background: white; border: 1px solid #c8cdd3; border-radius: 9px; padding: 9px 13px; color: var(--sg-ink); min-height: 40px; overflow-wrap: anywhere; }
#alltech-sentinel .is-domain .sg-choice { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; text-align: left; font-weight: 600; }
#alltech-sentinel .is-domain .sg-choice::after { content: '›'; color: var(--sg-red); font-size: 20px; font-weight: 500; line-height: 1; }
#alltech-sentinel .sg-choice:hover, #alltech-sentinel .sg-choice[aria-pressed=true] { border-color: var(--sg-red); background: #fff5f5; }
#alltech-sentinel .sg-note { color: var(--sg-muted); font-size: 13px; }
#alltech-sentinel .sg-price-note { margin: 0 0 14px; font-weight: 600; }
#alltech-sentinel .sg-thread p { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 12px; }
#alltech-sentinel .sg-thread .sg-user { max-width: 90%; width: fit-content; margin-left: auto; padding: 8px 11px; border-radius: 12px 12px 2px 12px; background: #f3f4f6; }
#alltech-sentinel .sg-thread .sg-reply { border-left: 2px solid #d74d58; padding-left: 10px; }
#alltech-sentinel .sg-stage .sg-primary, #alltech-sentinel .sg-offer .sg-primary, #alltech-sentinel .sg-compose button {
  display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; color: white !important;
  background: var(--sg-red); padding: 10px 14px; min-height: 40px; font-weight: 600; text-decoration: none;
}
#alltech-sentinel .sg-stage > .sg-primary, #alltech-sentinel .sg-stage > .sg-quiet { margin-top: 12px; }
#alltech-sentinel .sg-text-answer, #alltech-sentinel .sg-compose { display: flex; align-items: stretch; gap: 8px; }
#alltech-sentinel .sg-text-answer { margin-top: 14px; }
#alltech-sentinel .sg-text-answer input, #alltech-sentinel .sg-compose input { min-width: 0; flex: 1; width: auto; color: var(--sg-ink); padding: 10px 12px; border: 1px solid #b7bdc5; border-radius: 8px; background: white; }
#alltech-sentinel .sg-compose { padding: 12px; background: #fafafb; border-top: 1px solid var(--sg-border); }
#alltech-sentinel .sg-compose button { background: var(--sg-ink); }
#alltech-sentinel .sg-summary dl { margin-top: 12px; }
#alltech-sentinel .sg-summary dl div, #alltech-sentinel .sg-offer li { border-top: 1px solid var(--sg-border); padding: 10px 0; }
#alltech-sentinel .sg-summary dt, #alltech-sentinel .sg-summary dd { display: block; }
#alltech-sentinel .sg-summary dt { font-weight: 400; font-size: 12px; color: var(--sg-muted); }
#alltech-sentinel .sg-summary dd { font-weight: 600; overflow-wrap: anywhere; }
#alltech-sentinel .sg-examples { margin-top: 14px; border: 1px solid var(--sg-border); border-radius: 8px; overflow: hidden; }
#alltech-sentinel .sg-examples summary { display: list-item; padding: 10px 12px; cursor: pointer; color: var(--sg-red); font-weight: 600; }
#alltech-sentinel .sg-examples figure, #alltech-sentinel .sg-examples p { margin: 0 12px 10px; }
#alltech-sentinel .sg-examples img { display: block; width: 100%; height: auto; border-radius: 6px; }
#alltech-sentinel .sg-examples figcaption { margin-top: 6px; line-height: 1.45; color: var(--sg-muted); font-size: 12px; }
#alltech-sentinel .sg-wire-row { display: flex; align-items: center; gap: 10px; margin: 8px 12px; }
#alltech-sentinel .sg-wire-end { width: 58px; height: 42px; flex: none; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: end; gap: 3px; }
#alltech-sentinel .sg-wire-end::before { content: ''; position: absolute; inset: 5px auto 5px 0; width: 28px; background: #d4d7da; border: 1px solid #8e969c; border-radius: 3px; }
#alltech-sentinel .sg-wire-end i { width: 30px; height: 4px; border-radius: 1px; background: linear-gradient(90deg, #22708b 75%, #a9652e 75%); }
#alltech-sentinel .sg-wire-end i:nth-child(2n) { background: linear-gradient(90deg, #923e38 75%, #a9652e 75%); }
#alltech-sentinel .sg-offer ul { padding: 0; margin-top: 14px; list-style: none !important; }
#alltech-sentinel .sg-offer li { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 8px; }
#alltech-sentinel .sg-offer li a, #alltech-sentinel .sg-offer li .sg-name { grid-column: 1 / -1; color: var(--sg-ink) !important; overflow-wrap: anywhere; }
#alltech-sentinel .sg-offer .sg-line-qty { color: var(--sg-muted); }
#alltech-sentinel .sg-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; border-top: 1px solid #9fa5ad; padding-top: 10px; }
#alltech-sentinel .sg-offer .sg-note, #alltech-sentinel .sg-offer .sg-primary { margin-top: 10px; }
#alltech-sentinel .sg-status:not(:empty) { margin-top: 12px; }
#alltech-sentinel .sg-status button { margin: 6px 0 0 8px; }
#alltech-sentinel .sg-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  #alltech-sentinel .sg-panel { position: fixed; top: max(var(--sg-top, 0px), env(safe-area-inset-top)); right: 0; bottom: auto; width: 100%; height: calc(var(--sg-height, 100dvh) - env(safe-area-inset-top)); max-height: 100dvh; border-radius: 0; }
  #alltech-sentinel .sg-portrait { width: 60px; height: 60px; }
  #alltech-sentinel .sg-header { gap: 7px; padding-inline: 8px; }
  #alltech-sentinel .sg-header .sg-brand { width: 68px; }
  #alltech-sentinel .sg-body { padding: 16px; }
  #alltech-sentinel .sg-compose { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  #alltech-sentinel .sg-compose input, #alltech-sentinel .sg-text-answer input { font-size: 16px; }
}
#alltech-sentinel .sg-summary dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; }
#alltech-sentinel .sg-summary dl button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
#alltech-sentinel .sg-offer .sg-narrative { margin-top: 10px; white-space: pre-wrap; }
#alltech-sentinel .sg-stage > a { display: inline-block; margin-top: 10px; }
