/* =========================================================
   ASK HKX WIDE DRAWER PROTOTYPE
   Isolated from the shared cart/navigation slider styles.
   The body.embed rules theme only Ask pages rendered in-frame.
   ========================================================= */

:root {
  --ask-hkx-red: #c8101e;
  --ask-hkx-red-dark: #940d18;
  --ask-hkx-ink: #11161e;
  --ask-hkx-ink-2: #171e28;
  --ask-hkx-line: rgba(255, 255, 255, 0.11);
  --ask-hkx-paper: #f2f4f7;
  --ask-hkx-ease: cubic-bezier(.16, 1, .3, 1);
  --ask-hkx-duration: 820ms;
}

.ask-hkx-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.ask-hkx-drawer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.ask-hkx-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10070;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: linear-gradient(135deg, #d21725 0%, #ad0d18 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(94, 6, 15, 0.26), 0 4px 12px rgba(0, 0, 0, 0.18);
  font: 800 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 420ms var(--ask-hkx-ease),
    opacity 280ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease;
}

.ask-hkx-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(94, 6, 15, 0.33), 0 5px 14px rgba(0, 0, 0, 0.2);
}

.ask-hkx-launcher:focus-visible,
.ask-hkx-drawer button:focus-visible,
.ask-hkx-drawer input:focus-visible {
  outline: 3px solid rgba(255, 77, 91, 0.38);
  outline-offset: 3px;
}

.ask-hkx-launcher.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
}

/* The full-screen mobile navigation always owns the top interaction layer. */
body.mobile-menu-open .ask-hkx-launcher {
  z-index: -1 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(18px) scale(0.92) !important;
}

@supports selector(body:has(#mobileMenu.open)) {
  body:has(#mobileMenu.open) .ask-hkx-launcher {
    z-index: -1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translateY(18px) scale(0.92) !important;
  }
}

.ask-hkx-launcher svg {
  width: 18px;
  height: 18px;
}

.ask-hkx-launcher__signal {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ff0a3;
  box-shadow: 0 0 0 5px rgba(95, 240, 163, 0.11);
}

.ask-hkx-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(5, 8, 13, 0.62);
  backdrop-filter: blur(2px);
  transition:
    opacity var(--ask-hkx-duration) var(--ask-hkx-ease),
    visibility 0s linear var(--ask-hkx-duration);
}

.ask-hkx-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition:
    opacity var(--ask-hkx-duration) var(--ask-hkx-ease),
    visibility 0s linear 0s;
}

.ask-hkx-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  width: clamp(760px, 56vw, 1180px);
  max-width: 100vw;
  height: 100dvh;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 0%, rgba(160, 18, 36, 0.25), transparent 34%),
    var(--ask-hkx-ink);
  background-size: 32px 32px, 32px 32px, auto, auto;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.34);
  transform: translate3d(calc(100% + 28px), 0, 0);
  transition:
    transform var(--ask-hkx-duration) var(--ask-hkx-ease),
    visibility 0s linear var(--ask-hkx-duration);
}

.ask-hkx-drawer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, #8b0914, #e62938 58%, #8b0914);
}

.ask-hkx-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--ask-hkx-duration) var(--ask-hkx-ease),
    visibility 0s linear 0s;
}

.ask-hkx-drawer__header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ask-hkx-line);
  background: rgba(12, 17, 24, 0.9);
}

.ask-hkx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ask-hkx-brand__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  color: #fff;
  font: 950 17px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.05em;
}

.ask-hkx-brand__rule {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
}

.ask-hkx-drawer__identity {
  min-width: 0;
}

.ask-hkx-drawer__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #ff5d6a;
  font: 800 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ask-hkx-drawer__identity h2 {
  margin: 0;
  color: #fff;
  font: 900 clamp(22px, 1.8vw, 30px)/1.02 Arial, Helvetica, sans-serif;
  letter-spacing: -0.04em;
}

.ask-hkx-drawer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #dfe5ec;
  background: rgba(255, 255, 255, 0.045);
  font: 800 11px/1 Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.ask-hkx-drawer__status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52e49a;
  box-shadow: 0 0 0 5px rgba(82, 228, 154, 0.1);
}

.ask-hkx-drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition:
    color 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    transform 420ms var(--ask-hkx-ease);
}

.ask-hkx-drawer__close:hover {
  color: #fff;
  background: var(--ask-hkx-red);
  border-color: var(--ask-hkx-red);
  transform: rotate(90deg);
}

.ask-hkx-drawer__close svg {
  width: 21px;
  height: 21px;
}

.ask-hkx-composer {
  position: relative;
  z-index: 2;
  padding: 18px 24px 15px;
  border-bottom: 1px solid var(--ask-hkx-line);
  background: rgba(17, 22, 30, 0.94);
}

.ask-hkx-composer__form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #f7f8fa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.ask-hkx-composer__form:focus-within {
  border-color: rgba(255, 70, 84, 0.9);
  box-shadow: 0 0 0 3px rgba(205, 22, 38, 0.14), 0 15px 34px rgba(0, 0, 0, 0.2);
}

.ask-hkx-composer__icon {
  display: grid;
  place-items: center;
  width: 54px;
  color: #8e98a5;
}

.ask-hkx-composer__icon svg {
  width: 23px;
  height: 23px;
}

.ask-hkx-composer__input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0 12px 0 0;
  border: 0;
  outline: 0 !important;
  color: #151b23;
  background: transparent;
  box-shadow: none !important;
  font: 700 15px/1.2 Arial, Helvetica, sans-serif;
}

.ask-hkx-composer__input::placeholder {
  color: #747e8a;
  opacity: 1;
}

.ask-hkx-composer__submit {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 142px;
  margin: 5px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #d31725, #ad0d18);
  font: 900 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 320ms var(--ask-hkx-ease), box-shadow 220ms ease;
}

.ask-hkx-composer__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(166, 12, 27, 0.27);
}

.ask-hkx-composer__submit svg {
  width: 17px;
  height: 17px;
}

.ask-hkx-composer__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 2px 0;
  color: #929ba8;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.025em;
}

.ask-hkx-composer__hint span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d32a38;
}

.ask-hkx-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ask-hkx-paper);
}

.ask-hkx-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ask-hkx-paper);
  opacity: 0;
  transition: opacity 360ms ease;
}

.ask-hkx-stage.is-ready .ask-hkx-frame {
  opacity: 1;
}

.ask-hkx-stage__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #5f6975;
  background: var(--ask-hkx-paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  font: 800 11px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-hkx-stage.is-loading .ask-hkx-stage__loading {
  z-index: 3;
  opacity: 1;
}

.ask-hkx-stage__loader {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(200, 16, 30, 0.13);
  border-top-color: var(--ask-hkx-red);
  border-radius: 50%;
  animation: ask-hkx-spin 760ms linear infinite;
}

@keyframes ask-hkx-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   EMBEDDED ASK HKX SCREENS
   The stylesheet is loaded after each route's legacy styles.
   These rules deliberately do not affect standalone routes.
   ========================================================= */

body.embed {
  --ask-page-red: #c8101e;
  --ask-page-red-soft: #fff0f2;
  --ask-page-ink: #151b23;
  --ask-page-muted: #66717e;
  --ask-page-line: #dce1e7;
  --ask-page-surface: #fff;
  margin: 0 !important;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--ask-page-ink) !important;
  background:
    linear-gradient(rgba(19, 27, 37, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 27, 37, .025) 1px, transparent 1px),
    #f2f4f7 !important;
  background-size: 28px 28px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px;
  line-height: 1.55;
}

body.embed *,
body.embed *::before,
body.embed *::after {
  box-sizing: border-box;
}

body.embed a {
  color: var(--ask-page-red);
}

body.embed .wrap {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: clamp(22px, 3vw, 38px) !important;
}

body.embed h1,
body.embed h2,
body.embed h3,
body.embed h4 {
  color: var(--ask-page-ink) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: -0.035em !important;
}

body.embed h1 {
  margin: 0 0 10px !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  line-height: 1.02 !important;
}

body.embed h2 {
  font-size: clamp(22px, 3vw, 34px) !important;
  line-height: 1.08 !important;
}

body.embed h3 {
  font-size: clamp(17px, 2vw, 23px) !important;
  line-height: 1.15 !important;
}

body.embed p,
body.embed li,
body.embed td,
body.embed th,
body.embed label,
body.embed small {
  line-height: 1.55;
}

body.embed .card,
body.embed .shell,
body.embed .box,
body.embed .panel,
body.embed .answer-box,
body.embed .ready-panel,
body.embed .machine-required-panel {
  overflow: hidden;
  border: 1px solid var(--ask-page-line) !important;
  border-radius: 14px !important;
  background: var(--ask-page-surface) !important;
  box-shadow: 0 18px 50px rgba(20, 29, 39, 0.07) !important;
}

body.embed .head,
body.embed .top {
  position: relative;
  padding: clamp(24px, 3vw, 38px) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  background:
    linear-gradient(115deg, rgba(197, 16, 31, 0.2), transparent 42%),
    linear-gradient(135deg, #121820, #202832) !important;
}

body.embed .head::before,
body.embed .top::before {
  content: "ASK HKX INTELLIGENCE";
  display: block;
  margin-bottom: 10px;
  color: #ff6470;
  font: 900 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.15em;
}

body.embed .head h1,
body.embed .head h2,
body.embed .head h3,
body.embed .top h1,
body.embed .top h2,
body.embed .top h3,
body.embed .head p,
body.embed .top p,
body.embed .head .label,
body.embed .top .label {
  color: #fff !important;
}

body.embed .head p,
body.embed .top p {
  max-width: 780px;
  margin: 0 !important;
  opacity: 0.82;
}

body.embed .content {
  padding: clamp(22px, 3vw, 36px) !important;
  color: var(--ask-page-ink) !important;
  background: #fff !important;
}

body.embed .label,
body.embed .ai-label,
body.embed .component-label,
body.embed .trouble-label,
body.embed .hkx-next-label,
body.embed .hkx-live-label {
  color: var(--ask-page-red) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
}

body.embed .value,
body.embed .ai-value,
body.embed .component-value {
  color: var(--ask-page-ink) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em;
}

body.embed input[type="text"],
body.embed input[type="search"],
body.embed input[type="number"],
body.embed select,
body.embed textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px !important;
  border: 1px solid #cfd5dc !important;
  border-radius: 8px !important;
  outline: 0;
  color: var(--ask-page-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  font: 700 14px/1.35 Arial, Helvetica, sans-serif !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.embed textarea {
  min-height: 110px;
  resize: vertical;
}

body.embed input:focus,
body.embed select:focus,
body.embed textarea:focus {
  border-color: var(--ask-page-red) !important;
  box-shadow: 0 0 0 3px rgba(200, 16, 30, 0.1) !important;
}

body.embed button,
body.embed .btn,
body.embed .actions a,
body.embed .back-btn,
body.embed .top-actions a,
body.embed .footer-actions a,
body.embed .action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px !important;
  border: 1px solid var(--ask-page-red) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: var(--ask-page-red) !important;
  box-shadow: none !important;
  font: 900 11px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 300ms var(--ask-hkx-ease), background-color 180ms ease !important;
}

body.embed button:hover,
body.embed .btn:hover,
body.embed .actions a:hover,
body.embed .back-btn:hover,
body.embed .top-actions a:hover,
body.embed .footer-actions a:hover,
body.embed .action-row a:hover {
  background: #970c17 !important;
  transform: translateY(-1px);
}

body.embed .secondary,
body.embed a.secondary,
body.embed button.secondary,
body.embed .back-btn {
  border-color: #cfd5dc !important;
  color: #26303b !important;
  background: #fff !important;
}

body.embed .secondary:hover,
body.embed .back-btn:hover {
  border-color: #aeb6c0 !important;
  background: #f3f5f7 !important;
}

body.embed .actions,
body.embed .action-row,
body.embed .top-actions,
body.embed .back-actions,
body.embed .footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px !important;
  margin-top: 20px !important;
}

body.embed .grid,
body.embed .stats,
body.embed .form-grid,
body.embed .part-grid,
body.embed .component-grid,
body.embed .ai-report-grid,
body.embed .trouble-grid {
  gap: 14px !important;
}

body.embed .part-card,
body.embed .kit,
body.embed .choice,
body.embed .component-card,
body.embed .step-card,
body.embed .trouble-card,
body.embed .ai-metric,
body.embed .stat,
body.embed .metric,
body.embed .group-box {
  border: 1px solid var(--ask-page-line) !important;
  border-radius: 11px !important;
  color: var(--ask-page-ink) !important;
  background: #fff !important;
  box-shadow: 0 9px 25px rgba(20, 29, 39, 0.045) !important;
}

body.embed .part-card:hover,
body.embed .kit:hover,
body.embed .choice:hover,
body.embed .component-card:hover {
  border-color: rgba(200, 16, 30, 0.45) !important;
  box-shadow: 0 14px 30px rgba(20, 29, 39, 0.08) !important;
}

body.embed .part-img,
body.embed .kit-img {
  border: 1px solid #e1e5ea !important;
  border-radius: 9px !important;
  background: #f7f8fa !important;
}

body.embed .part-name,
body.embed .part-number,
body.embed .group-title {
  color: var(--ask-page-ink) !important;
  font-weight: 900 !important;
}

body.embed .notice,
body.embed .note,
body.embed .diag-note,
body.embed .bom-note,
body.embed .refine-note,
body.embed .footer-note,
body.embed .glossary-note,
body.embed .wear-filter-note {
  border: 1px solid #d9dee5 !important;
  border-left: 4px solid var(--ask-page-red) !important;
  border-radius: 8px !important;
  color: #424d59 !important;
  background: #f7f8fa !important;
}

body.embed .warn,
body.embed .error,
body.embed .no-results {
  border: 1px solid #efc9ce !important;
  border-left: 4px solid var(--ask-page-red) !important;
  border-radius: 8px !important;
  color: #7b1420 !important;
  background: #fff3f4 !important;
}

body.embed .stock-good {
  color: #17754b !important;
  background: #eaf8f1 !important;
}

body.embed .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--ask-page-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.embed table {
  width: 100% !important;
  border-collapse: collapse !important;
  color: var(--ask-page-ink) !important;
  background: #fff !important;
}

body.embed th {
  padding: 12px 14px !important;
  border-bottom: 1px solid #d7dce2 !important;
  color: #fff !important;
  background: #1a212b !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

body.embed td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #e4e7eb !important;
  color: #303a45 !important;
}

body.embed tr:last-child td {
  border-bottom: 0 !important;
}

/* Welcome screen */
body.embed .hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(204, 29, 44, .28), transparent 28%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(135deg, #111820, #202832) !important;
  background-size: auto, 28px 28px, 28px 28px, auto !important;
  box-shadow: 0 20px 45px rgba(20, 29, 39, 0.13) !important;
}

body.embed .hero::before {
  content: "HKX HYDRAULIC SUPPORT";
  position: absolute;
  top: 28px;
  left: clamp(28px, 4vw, 48px);
  color: #ff5d6a;
  font: 900 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .15em;
}

body.embed .hero::after {
  content: "AI";
  position: absolute;
  top: 18px;
  right: 28px;
  color: rgba(255,255,255,.055);
  font: 950 100px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.08em;
}

body.embed .hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(30px, 5vw, 52px) !important;
}

body.embed .hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 !important;
  color: #dfe4ea !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.embed .cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 16px !important;
}

body.embed .cards > .card {
  position: relative;
  min-height: 112px;
  padding: 20px 20px 18px 24px !important;
  border-radius: 11px !important;
  color: var(--ask-page-ink) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 28px rgba(20, 29, 39, .055) !important;
}

body.embed .cards > .card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ask-page-red);
}

body.embed .cards > .card small {
  display: block;
  margin-top: 8px !important;
  color: var(--ask-page-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* Diagnostic and advisor views */
body.embed .hkx-chat-window,
body.embed .hkx-mechanic-mode,
body.embed .hkx-chat-summary,
body.embed .hkx-mechanic-summary,
body.embed .hkx-confidence-wrap,
body.embed .hkx-next-card,
body.embed .hkx-advisor-notice,
body.embed .ai-report {
  border: 1px solid var(--ask-page-line) !important;
  border-radius: 12px !important;
  color: var(--ask-page-ink) !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(20, 29, 39, 0.06) !important;
}

body.embed .hkx-chat-top,
body.embed .hkx-mechanic-head,
body.embed .hkx-live-bar {
  color: #fff !important;
  background: linear-gradient(135deg, #161d26, #242d38) !important;
}

body.embed .hkx-chat-top *,
body.embed .hkx-mechanic-head *,
body.embed .hkx-live-bar * {
  color: inherit;
}

body.embed .hkx-avatar,
body.embed .hkx-mechanic-badge {
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  background: var(--ask-page-red) !important;
}

body.embed .hkx-bubble.ai,
body.embed .hkx-msg.ai,
body.embed .hkx-chat-question,
body.embed .hkx-mechanic-question {
  border-color: #dde2e7 !important;
  color: #27313c !important;
  background: #f4f6f8 !important;
}

body.embed .hkx-bubble.user,
body.embed .hkx-msg.user {
  border-color: var(--ask-page-red) !important;
  color: #fff !important;
  background: var(--ask-page-red) !important;
}

body.embed .hkx-chat-yes,
body.embed .hkx-mechanic-yes {
  border-color: var(--ask-page-red) !important;
  color: #fff !important;
  background: var(--ask-page-red) !important;
}

body.embed .hkx-chat-no,
body.embed .hkx-chat-skip,
body.embed .hkx-mechanic-no,
body.embed .hkx-mechanic-skip {
  border-color: #d4d9df !important;
  color: #34404c !important;
  background: #fff !important;
}

body.embed .hkx-meter-bar,
body.embed .hkx-live-confidence {
  overflow: hidden;
  background: #e6e9ed !important;
}

body.embed .hkx-meter-fill,
body.embed .hkx-live-fill {
  background: linear-gradient(90deg, #a80d19, #e13543) !important;
}

body.embed .hkx-confidence-big,
body.embed .hkx-next-score,
body.embed .hkx-live-score {
  color: var(--ask-page-red) !important;
}

body.embed .step-num,
body.embed .hkx-flow-node {
  color: #fff !important;
  background: var(--ask-page-red) !important;
}

@media (max-width: 1100px) {
  .ask-hkx-drawer {
    width: min(84vw, 860px);
  }

  .ask-hkx-drawer__status {
    display: none;
  }

  .ask-hkx-drawer__header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (max-width: 700px) {
  .ask-hkx-launcher {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 0 16px;
  }

  .ask-hkx-drawer {
    width: 100vw;
    min-width: 0;
    border-left: 0;
  }

  .ask-hkx-drawer__header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 76px;
    padding: 14px 16px;
  }

  .ask-hkx-brand {
    display: none;
  }

  .ask-hkx-drawer__eyebrow {
    font-size: 9px;
  }

  .ask-hkx-drawer__identity h2 {
    font-size: 23px;
  }

  .ask-hkx-drawer__close {
    width: 42px;
    height: 42px;
  }

  .ask-hkx-composer {
    padding: 12px;
  }

  .ask-hkx-composer__form {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 52px;
  }

  .ask-hkx-composer__icon {
    width: 42px;
  }

  .ask-hkx-composer__input {
    height: 52px;
    font-size: 13px;
  }

  .ask-hkx-composer__submit {
    min-width: 48px;
    width: 48px;
    padding: 0 !important;
  }

  .ask-hkx-composer__submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ask-hkx-composer__hint {
    display: none;
  }

  body.embed .wrap {
    padding: 16px !important;
  }

  body.embed .head,
  body.embed .top,
  body.embed .content {
    padding: 22px !important;
  }

  body.embed .cards {
    grid-template-columns: 1fr !important;
  }

  body.embed .hero {
    min-height: 230px;
    padding: 28px !important;
  }

  body.embed .hero::before {
    left: 28px;
  }

  body.embed .hero::after {
    font-size: 72px;
  }

  body.embed .actions,
  body.embed .action-row,
  body.embed .top-actions,
  body.embed .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.embed .actions a,
  body.embed .actions button,
  body.embed .action-row a,
  body.embed .top-actions a,
  body.embed .footer-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ask-hkx-overlay,
  .ask-hkx-overlay.is-open,
  .ask-hkx-drawer,
  .ask-hkx-drawer.is-open,
  .ask-hkx-launcher,
  .ask-hkx-drawer__close,
  .ask-hkx-frame {
    transition-duration: 1ms !important;
  }

  .ask-hkx-stage__loader {
    animation: none !important;
  }
}

/* Dental Source Now presentation; existing widget hooks remain unchanged. */
.ask-hkx-launcher {
  right: 18px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
}

.ask-hkx-launcher__signal,
.ask-hkx-drawer__status-dot {
  background: var(--brand-cyan);
  box-shadow: 0 0 0 5px rgba(0, 200, 255, .12);
}

.ask-hkx-drawer__header {
  background: #071827;
}

.ask-hkx-brand__mark {
  color: #00c8ff;
}

.ask-hkx-stage--coming-soon {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 42px 28px;
  background: #f5f8fb;
}

.support-coming-soon {
  width: min(100%, 440px);
  padding: 36px 28px;
  border: 1px solid #dce7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 36, 58, 0.1);
  color: #10243a;
  text-align: center;
}

.support-coming-soon__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #eaf7fd;
  color: #0078b8;
  font-size: 24px;
}

.support-coming-soon h3 {
  margin: 8px 0 12px;
  color: #073b5d;
  font-size: 24px;
  line-height: 1.2;
}

.support-coming-soon p {
  margin: 0 0 22px;
  color: #596775;
  line-height: 1.6;
}

.support-coming-soon a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0078b8, #005f8f);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}


/* =========================================================
   AMALGAMAIQ CONVERSATIONAL DRAWER
   Dental Source Now
   ========================================================= */

.ask-hkx-drawer--amalgamaiq{
  --aiq-navy:#073b5d;
  --aiq-blue:#007fc3;
  --aiq-blue-dark:#005f91;
  --aiq-cyan:#11b7e8;
  --aiq-ink:#12324a;
  --aiq-muted:#667b8e;
  --aiq-line:#d9e7f1;
  --aiq-soft:#f6fbfe;
  --aiq-green:#18ad68;
  width:clamp(760px, 57vw, 1080px);
  background:#f7fbfe;
}

.ask-hkx-drawer--amalgamaiq::before{
  background:linear-gradient(90deg,#0078b8,#14b8e7 62%,#0078b8);
}

.ask-hkx-drawer--amalgamaiq .amalgamaiq-header{
  grid-template-columns:auto minmax(0,1fr) auto auto;
  min-height:102px;
  padding:17px 22px;
  border-bottom:1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at 88% 5%,rgba(0,180,235,.16),transparent 35%),
    linear-gradient(135deg,#062b47,#073f64 72%,#082e4a);
}

.amalgamaiq-brandmark{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,#0a4b75,#052a45);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  font-size:26px;
}

.ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__eyebrow{
  color:#9edcf3;
  font-size:10px;
  letter-spacing:.18em;
}

.ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__identity h2{
  margin-top:2px;
  font-size:clamp(25px,2vw,34px);
  letter-spacing:-.045em;
}

.ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__identity h2 span{
  color:#19aee2;
}

.ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__identity p{
  margin:4px 0 0;
  color:rgba(255,255,255,.78);
  font:700 12px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-online{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  column-gap:7px;
  row-gap:1px;
  min-width:126px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:13px;
  background:rgba(255,255,255,.055);
  color:#fff;
}

.amalgamaiq-online>span{
  grid-row:1/3;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#39df92;
  box-shadow:0 0 0 5px rgba(57,223,146,.12);
}

.amalgamaiq-online strong{
  font:900 11px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-online small{
  color:#b8cbd9;
  font:700 9px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-tabs{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  min-height:86px;
  border-bottom:1px solid var(--aiq-line);
  background:#fff;
}

.amalgamaiq-tabs button{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  padding:12px 8px 11px;
  border:0;
  border-right:1px solid #eef4f8;
  color:#234a68;
  background:transparent;
  font:800 11px/1.15 Arial,Helvetica,sans-serif;
  cursor:pointer;
  transition:color .18s ease,background-color .18s ease;
}

.amalgamaiq-tabs button:last-child{border-right:0;}

.amalgamaiq-tabs button i{
  color:#0b5d91;
  font-size:20px;
}

.amalgamaiq-tabs button:hover,
.amalgamaiq-tabs button.is-active{
  color:var(--aiq-blue);
  background:#fbfdff;
}

.amalgamaiq-tabs button.is-active::after{
  content:"";
  position:absolute;
  left:20%;
  right:20%;
  bottom:0;
  height:3px;
  border-radius:2px 2px 0 0;
  background:var(--aiq-blue);
}

.amalgamaiq-conversation{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  color:var(--aiq-ink);
  background:
    radial-gradient(circle at 5% 12%,rgba(15,184,232,.08),transparent 27%),
    linear-gradient(180deg,#f8fcff 0%,#f5fbff 78%,#fff 100%);
}

.amalgamaiq-chat-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  padding:24px 24px 18px;
  scrollbar-width:thin;
  scrollbar-color:#b9d7e8 transparent;
}

.amalgamaiq-welcome{
  display:grid;
  grid-template-columns:112px minmax(0,1fr);
  align-items:center;
  gap:14px;
}

.amalgamaiq-avatar{
  position:relative;
  display:grid;
  place-items:center;
  height:126px;
}

.amalgamaiq-avatar::before{
  content:"";
  position:absolute;
  width:102px;
  height:102px;
  border-radius:50%;
  background:linear-gradient(145deg,#effaff,#dff4fb);
  box-shadow:0 16px 34px rgba(5,74,116,.11);
}

.amalgamaiq-avatar__face{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:74px;
  height:74px;
  border:7px solid #fff;
  border-radius:28px;
  color:#19d1ff;
  background:linear-gradient(145deg,#0a4971,#052b46);
  box-shadow:0 12px 28px rgba(5,64,100,.18);
  font-size:28px;
}

.amalgamaiq-bubble{
  border:1px solid #e1edf4;
  border-radius:19px;
  background:#fff;
  box-shadow:0 14px 34px rgba(10,61,93,.08);
}

.amalgamaiq-bubble--ai{
  padding:20px 22px;
  border-top-left-radius:6px;
}

.amalgamaiq-bubble--ai strong{
  display:block;
  margin-bottom:7px;
  color:#0c3858;
  font:900 19px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-bubble--ai p{
  margin:0 0 7px;
  color:#355771;
  font:700 14px/1.48 Arial,Helvetica,sans-serif;
}

.amalgamaiq-bubble--ai p:last-child{margin-bottom:0;}

.amalgamaiq-quick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.amalgamaiq-quick-grid>button{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:94px;
  padding:15px 15px;
  border:1px solid #dce9f2;
  border-radius:14px;
  color:#153e5c;
  background:#fff;
  text-align:left;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(13,65,98,.05);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.amalgamaiq-quick-grid>button:hover{
  transform:translateY(-2px);
  border-color:#9fd5ee;
  box-shadow:0 13px 28px rgba(13,65,98,.09);
}

.amalgamaiq-quick-grid__icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:12px;
  color:#087dbb;
  background:#edf8fd;
  font-size:20px;
}

.amalgamaiq-quick-grid strong{
  display:block;
  margin-bottom:4px;
  color:#0b4265;
  font:900 13px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-quick-grid small{
  display:block;
  color:#667b8e;
  font:700 11px/1.35 Arial,Helvetica,sans-serif;
}

.amalgamaiq-quick-grid>button>i{
  color:#0c7db9;
  font-size:13px;
}

.amalgamaiq-suggestions{
  margin-top:18px;
  padding:16px 17px 14px;
  border:1px solid #cde3f0;
  border-radius:14px;
  background:linear-gradient(180deg,#f8fcff,#f5fbff);
}

.amalgamaiq-suggestions__title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:8px;
  color:#0b4265;
}

.amalgamaiq-suggestions__title span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  color:#1294cb;
  background:#e7f7fd;
}

.amalgamaiq-suggestions__title strong{
  font:900 12px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-suggestions>button{
  position:relative;
  display:block;
  width:100%;
  padding:6px 8px 6px 28px;
  border:0;
  color:#34556d;
  background:transparent;
  text-align:left;
  font:700 11.5px/1.32 Arial,Helvetica,sans-serif;
  cursor:pointer;
}

.amalgamaiq-suggestions>button::before{
  content:"→";
  position:absolute;
  left:5px;
  top:5px;
  color:#0e79b3;
  font-weight:900;
}

.amalgamaiq-suggestions>button:hover{
  color:#0878b5;
}

.amalgamaiq-messages{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.amalgamaiq-message{
  max-width:82%;
  padding:14px 16px;
  border-radius:16px;
  font:700 13px/1.48 Arial,Helvetica,sans-serif;
}

.amalgamaiq-message--user{
  align-self:flex-end;
  border-bottom-right-radius:5px;
  color:#fff;
  background:linear-gradient(135deg,#0785c6,#046ba3);
}

.amalgamaiq-message--ai{
  align-self:flex-start;
  border:1px solid #dce8f0;
  border-bottom-left-radius:5px;
  color:#35546b;
  background:#fff;
  box-shadow:0 8px 22px rgba(13,65,98,.05);
}

.amalgamaiq-message--ai strong{
  color:#0b4265;
}

.amalgamaiq-composer{
  flex:0 0 auto;
  padding:16px 20px 10px;
  border-top:1px solid #d9e7f1;
  background:rgba(255,255,255,.96);
  box-shadow:0 -8px 25px rgba(8,64,96,.045);
}

.amalgamaiq-composer__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px;
  gap:8px;
  min-height:58px;
  padding:5px;
  border:1px solid #bcd7e8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(8,64,96,.04);
}

.amalgamaiq-composer__row:focus-within{
  border-color:#29aee1;
  box-shadow:0 0 0 3px rgba(41,174,225,.11);
}

.amalgamaiq-composer__row input{
  width:100%;
  min-width:0;
  padding:0 14px;
  border:0;
  outline:0;
  color:#1f445f;
  background:transparent;
  font:700 14px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-composer__row input::placeholder{
  color:#8aa0b1;
}

.amalgamaiq-composer__row button{
  display:grid;
  place-items:center;
  width:54px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(145deg,#0a9bd3,#0074b5);
  font-size:18px;
  cursor:pointer;
}

.amalgamaiq-prompt-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.amalgamaiq-prompt-chips button{
  min-height:32px;
  padding:0 12px;
  border:1px solid #c8dce8;
  border-radius:999px;
  color:#45657d;
  background:#fff;
  font:800 10px/1 Arial,Helvetica,sans-serif;
  cursor:pointer;
}

.amalgamaiq-prompt-chips button:hover{
  color:#0577b4;
  border-color:#86c5e3;
}

.amalgamaiq-private-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:9px;
  color:#7a8f9e;
  font:700 9px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-private-note i{
  color:#0b5b8c;
}

.amalgamaiq-footerline{
  position:relative;
  flex:0 0 auto;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  overflow:hidden;
  border-top:1px solid #e7f1f6;
  color:#31556e;
  background:#fff;
  font:800 10px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-footerline::before{
  content:"";
  position:absolute;
  inset:auto -8% -22px;
  height:52px;
  background:
    radial-gradient(ellipse at 20% 100%,rgba(15,183,232,.20),transparent 54%),
    radial-gradient(ellipse at 70% 100%,rgba(0,123,184,.12),transparent 60%);
}

.amalgamaiq-footerline>*{
  position:relative;
  z-index:1;
}

.amalgamaiq-footerline__leaf{
  color:#0ca263;
  font-size:17px;
}

@media(max-width:900px){
  .ask-hkx-drawer--amalgamaiq{
    width:min(92vw,860px);
  }

  .amalgamaiq-online{
    display:none;
  }

  .ask-hkx-drawer--amalgamaiq .amalgamaiq-header{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
}

@media(max-width:700px){
  .ask-hkx-drawer--amalgamaiq{
    width:100vw;
  }

  .ask-hkx-drawer--amalgamaiq .amalgamaiq-header{
    min-height:84px;
    padding:12px 14px;
  }

  .amalgamaiq-brandmark{
    width:50px;
    height:50px;
    border-radius:12px;
    font-size:21px;
  }

  .ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__identity h2{
    font-size:23px;
  }

  .ask-hkx-drawer--amalgamaiq .ask-hkx-drawer__identity p{
    display:none;
  }

  .amalgamaiq-tabs{
    min-height:64px;
  }

  .amalgamaiq-tabs button{
    gap:5px;
    padding:8px 4px;
    font-size:8px;
  }

  .amalgamaiq-tabs button i{
    font-size:16px;
  }

  .amalgamaiq-chat-scroll{
    padding:16px 14px 14px;
  }

  .amalgamaiq-welcome{
    grid-template-columns:72px minmax(0,1fr);
    gap:9px;
  }

  .amalgamaiq-avatar{
    height:86px;
  }

  .amalgamaiq-avatar::before{
    width:72px;
    height:72px;
  }

  .amalgamaiq-avatar__face{
    width:56px;
    height:56px;
    border-width:5px;
    border-radius:21px;
    font-size:20px;
  }

  .amalgamaiq-bubble--ai{
    padding:15px;
  }

  .amalgamaiq-bubble--ai strong{
    font-size:15px;
  }

  .amalgamaiq-bubble--ai p{
    font-size:11px;
  }

  .amalgamaiq-quick-grid{
    grid-template-columns:1fr;
  }

  .amalgamaiq-quick-grid>button{
    min-height:78px;
  }

  .amalgamaiq-suggestions{
    display:none;
  }

  .amalgamaiq-composer{
    padding:11px 12px 8px;
  }

  .amalgamaiq-prompt-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:2px;
  }

  .amalgamaiq-prompt-chips button{
    flex:0 0 auto;
  }

  .amalgamaiq-footerline{
    min-height:44px;
    padding:0 12px;
    text-align:center;
  }
}


/* =========================================================
   V2 — CONTEXTUAL NEXT-ANSWER BUBBLES
   Suggestions live directly below the question field and
   change after every AmalgamAIQ response.
   ========================================================= */
.amalgamaiq-prompt-chips{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  min-height:34px;
}

.amalgamaiq-prompt-chips.is-refreshing{
  opacity:.35;
  transform:translateY(3px);
}

.amalgamaiq-prompt-chips{
  transition:opacity .18s ease,transform .18s ease;
}

.amalgamaiq-prompt-chips button{
  position:relative;
  min-height:34px;
  padding:0 13px;
  border:1px solid #bfd8e7;
  border-radius:999px;
  color:#315b76;
  background:#fff;
  box-shadow:0 3px 10px rgba(8,64,96,.04);
  font:800 10px/1.1 Arial,Helvetica,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  transition:
    color .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.amalgamaiq-prompt-chips button:hover{
  color:#0579b7;
  border-color:#74c3e7;
  background:#f4fbff;
  box-shadow:0 6px 14px rgba(8,96,145,.08);
  transform:translateY(-1px);
}

.amalgamaiq-prompt-chips button::after{
  content:"›";
  display:inline-block;
  margin-left:7px;
  color:#0c88c7;
  font-size:14px;
  font-weight:900;
  line-height:1;
  vertical-align:-1px;
}

.amalgamaiq-suggestion-label{
  flex:0 0 100%;
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 1px 2px;
  color:#6c8799;
  font:800 9px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.amalgamaiq-suggestion-label i{
  color:#0b8bc9;
  font-size:10px;
}

@media(max-width:700px){
  .amalgamaiq-prompt-chips{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .amalgamaiq-prompt-chips::-webkit-scrollbar{display:none;}
  .amalgamaiq-suggestion-label{
    display:none;
  }
}


/* =========================================================
   V3 HYBRID CAPABILITIES
   Combines conversational chat, dynamic suggestion bubbles,
   quick actions, examples, and inline result cards.
   ========================================================= */

.amalgamaiq-capability-strip{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  min-height:38px;
  border-bottom:1px solid #dce9f2;
  background:#f8fcff;
}

.amalgamaiq-capability-strip span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  padding:8px 6px;
  border-right:1px solid #e8f1f6;
  color:#56748a;
  font:800 9px/1.15 Arial,Helvetica,sans-serif;
  text-align:center;
}

.amalgamaiq-capability-strip span:last-child{border-right:0;}
.amalgamaiq-capability-strip i{color:#0b8bc9;font-size:11px;}

.amalgamaiq-results{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.amalgamaiq-result-card{
  overflow:hidden;
  border:1px solid #d8e7f0;
  border-radius:15px;
  background:#fff;
  box-shadow:0 10px 26px rgba(13,65,98,.06);
}

.amalgamaiq-result-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 15px;
  border-bottom:1px solid #e5eef4;
  background:linear-gradient(180deg,#fbfdff,#f6fbfe);
}

.amalgamaiq-result-card__head strong{
  color:#0b4265;
  font:900 12px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-result-card__badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  color:#0b6f42;
  background:#eaf8f1;
  font:900 9px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-result-card__body{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:15px;
}

.amalgamaiq-result-card__icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:14px;
  color:#0a7db9;
  background:#edf8fd;
  font-size:25px;
}

.amalgamaiq-result-card__copy h4{
  margin:0 0 4px;
  color:#103c5b;
  font:900 14px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-result-card__copy p{
  margin:0;
  color:#647b8e;
  font:700 11px/1.42 Arial,Helvetica,sans-serif;
}

.amalgamaiq-result-card__actions{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.amalgamaiq-result-card__actions button,
.amalgamaiq-result-card__actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #0a7db9;
  border-radius:8px;
  color:#fff;
  background:#0a7db9;
  text-decoration:none;
  font:900 9px/1 Arial,Helvetica,sans-serif;
  cursor:pointer;
}

.amalgamaiq-result-card__actions .secondary{
  color:#0a6a9f;
  background:#fff;
}

.amalgamaiq-compliance-card{
  padding:15px 16px;
  border:1px solid #cfe2ed;
  border-left:4px solid #0a88c7;
  border-radius:12px;
  background:#f8fcff;
}

.amalgamaiq-compliance-card strong{
  display:block;
  margin-bottom:5px;
  color:#0b4265;
  font:900 12px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-compliance-card p{
  margin:0;
  color:#587287;
  font:700 11px/1.48 Arial,Helvetica,sans-serif;
}

.amalgamaiq-flow-progress{
  display:flex;
  align-items:center;
  gap:7px;
  margin:10px 0 2px;
  color:#7a8f9f;
  font:800 9px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-flow-progress span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#d4e3ec;
}

.amalgamaiq-flow-progress span.is-active{background:#0c93ce;}

@media(max-width:700px){
  .amalgamaiq-capability-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .amalgamaiq-capability-strip span:nth-child(2){border-right:0;}
  .amalgamaiq-capability-strip span:nth-child(-n+2){border-bottom:1px solid #e8f1f6;}

  .amalgamaiq-result-card__body{
    grid-template-columns:52px minmax(0,1fr);
  }

  .amalgamaiq-result-card__icon{
    width:48px;
    height:48px;
    font-size:21px;
  }

  .amalgamaiq-result-card__actions{
    grid-column:1/-1;
    flex-direction:row;
  }

  .amalgamaiq-result-card__actions>*{
    flex:1 1 auto;
  }
}


/* =========================================================
   V3.3 FINAL-RESULT CARDS
   ========================================================= */
.amalgamaiq-result-card--final .amalgamaiq-final-result{
  padding:16px;
}

.amalgamaiq-final-result h4{
  margin:0 0 10px;
  color:#0a4266;
  font:900 17px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-final-result ul{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.amalgamaiq-final-result li{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:7px;
  align-items:start;
  color:#597287;
  font:700 11px/1.42 Arial,Helvetica,sans-serif;
}

.amalgamaiq-final-result li i{
  color:#11a66a;
  margin-top:2px;
}

.amalgamaiq-final-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.amalgamaiq-final-actions a,
.amalgamaiq-final-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px;
  border:1px solid #087fb9;
  border-radius:8px;
  color:#fff;
  background:#087fb9;
  text-decoration:none;
  font:900 9px/1 Arial,Helvetica,sans-serif;
  cursor:pointer;
}

.amalgamaiq-final-actions .secondary{
  color:#0874a9;
  background:#fff;
}

@media(max-width:700px){
  .amalgamaiq-final-actions{
    flex-direction:column;
  }
  .amalgamaiq-final-actions > *{
    width:100%;
  }
}


/* =========================================================
   V4 — ORIGINAL AMALGAMAIQ RESULT / COMPARISON PRESENTATION
   ========================================================= */

.amalgamaiq-result-card--original .amalgamaiq-original-result{
  padding:16px;
}

.amalgamaiq-original-result__title{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:13px;
  align-items:center;
}

.amalgamaiq-original-result__title h4{
  margin:0 0 5px;
  color:#0b4265;
  font:900 15px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-original-result__title p{
  margin:0;
  color:#60788b;
  font:700 11px/1.4 Arial,Helvetica,sans-serif;
}

.amalgamaiq-original-result ul{
  display:grid;
  gap:7px;
  margin:14px 0 0;
  padding:0;
  list-style:none;
}

.amalgamaiq-original-result li{
  display:grid;
  grid-template-columns:18px minmax(0,1fr);
  gap:7px;
  color:#5f7688;
  font:700 10.5px/1.4 Arial,Helvetica,sans-serif;
}

.amalgamaiq-original-result li i{
  color:#16a66a;
  margin-top:2px;
}

.amalgamaiq-original-result__price{
  margin:14px 0 10px;
  color:#0c3857;
  font:900 21px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-detail-panel{
  padding:18px;
  border:1px solid #d9e7f0;
  border-radius:15px;
  background:#fff;
  box-shadow:0 10px 26px rgba(13,65,98,.06);
}

.amalgamaiq-detail-panel__eyebrow{
  margin-bottom:6px;
  color:#0a8bc9;
  font:900 9px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.13em;
}

.amalgamaiq-detail-panel h3{
  margin:0 0 7px;
  color:#0b4265;
  font:900 18px/1.2 Arial,Helvetica,sans-serif;
}

.amalgamaiq-detail-panel>p{
  margin:0 0 14px;
  color:#60788b;
  font:700 11px/1.45 Arial,Helvetica,sans-serif;
}

.amalgamaiq-detail-panel dl{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
}

.amalgamaiq-detail-panel dl>div{
  padding:10px;
  border:1px solid #e2edf3;
  border-radius:9px;
  background:#f8fcff;
}

.amalgamaiq-detail-panel dt{
  color:#7a91a2;
  font:800 8px/1 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.amalgamaiq-detail-panel dd{
  margin:5px 0 0;
  color:#163f5c;
  font:900 10.5px/1.35 Arial,Helvetica,sans-serif;
}

.amalgamaiq-detail-panel__note{
  margin-top:12px;
  padding:11px 12px;
  border-left:4px solid #0a8bc9;
  border-radius:7px;
  color:#557083;
  background:#f4faff;
  font:700 10px/1.45 Arial,Helvetica,sans-serif;
}

.amalgamaiq-comparison-card{
  overflow:hidden;
  border:1px solid #d8e7f0;
  border-radius:15px;
  background:#fff;
  box-shadow:0 10px 26px rgba(13,65,98,.06);
}

.amalgamaiq-comparison-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:13px;
}

.amalgamaiq-comparison-option{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:12px;
  border:1px solid #e0ebf2;
  border-radius:11px;
  background:#fbfdff;
}

.amalgamaiq-comparison-option>span{
  color:#0a8bc9;
  font:900 8px/1 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.amalgamaiq-comparison-option h4{
  margin:7px 0;
  color:#0b4265;
  font:900 11px/1.25 Arial,Helvetica,sans-serif;
}

.amalgamaiq-comparison-option p{
  flex:1;
  margin:0 0 9px;
  color:#677f90;
  font:700 9.5px/1.4 Arial,Helvetica,sans-serif;
}

.amalgamaiq-comparison-option>strong{
  margin-bottom:9px;
  color:#113e5d;
  font:900 14px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-comparison-option a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  border-radius:7px;
  color:#fff;
  background:#087fb9;
  text-decoration:none;
  font:900 8px/1 Arial,Helvetica,sans-serif;
}

@media(max-width:700px){
  .amalgamaiq-detail-panel dl{
    grid-template-columns:1fr;
  }

  .amalgamaiq-comparison-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V5 — LIVE DATABASE PRODUCT CARDS
   ========================================================= */
.amalgamaiq-live-loading{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border:1px solid #dbe8ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(15,67,98,.05);
}
.amalgamaiq-live-loading__spinner{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  color:#0a86bf;
  background:#edf8fd;
  font-size:18px;
}
.amalgamaiq-live-loading strong{
  display:block;
  color:#0b4265;
  font:900 11px/1.2 Arial,Helvetica,sans-serif;
}
.amalgamaiq-live-loading small{
  display:block;
  margin-top:4px;
  color:#718798;
  font:700 9px/1.3 Arial,Helvetica,sans-serif;
}

.amalgamaiq-live-product{
  display:grid;
  grid-template-columns:122px minmax(0,1fr);
  gap:15px;
  padding:15px;
}
.amalgamaiq-live-product__media{
  display:grid;
  place-items:center;
  min-height:122px;
  padding:8px;
  border:1px solid #e1ebf1;
  border-radius:12px;
  background:#fff;
}
.amalgamaiq-live-product__media img{
  display:block;
  width:100%;
  height:108px;
  object-fit:contain;
}
.amalgamaiq-live-product__content{
  min-width:0;
}
.amalgamaiq-live-product__match{
  display:inline-flex;
  margin-bottom:5px;
  padding:4px 7px;
  border-radius:999px;
  color:#0878ad;
  background:#ebf8fe;
  font:900 8px/1 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.amalgamaiq-live-product h4{
  margin:0;
  color:#0b4265;
  font:900 15px/1.2 Arial,Helvetica,sans-serif;
}
.amalgamaiq-live-product p{
  margin:6px 0 9px;
  color:#62798b;
  font:700 10px/1.42 Arial,Helvetica,sans-serif;
}
.amalgamaiq-live-product ul{
  display:grid;
  gap:5px;
  margin:0;
  padding:0;
  list-style:none;
}
.amalgamaiq-live-product li{
  display:grid;
  grid-template-columns:16px minmax(0,1fr);
  gap:6px;
  color:#587184;
  font:700 9.5px/1.35 Arial,Helvetica,sans-serif;
}
.amalgamaiq-live-product li i{
  color:#13a16a;
  margin-top:2px;
}
.amalgamaiq-live-product__bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
}
.amalgamaiq-live-product__price{
  color:#0d3e5e;
  font:900 21px/1 Arial,Helvetica,sans-serif;
}

.amalgamaiq-live-error{
  display:grid;
  gap:4px;
  padding:14px;
  border:1px solid #efd8cc;
  border-radius:12px;
  color:#70452f;
  background:#fff9f5;
}
.amalgamaiq-live-error strong{
  font:900 11px/1.2 Arial,Helvetica,sans-serif;
}
.amalgamaiq-live-error span{
  font:700 9.5px/1.35 Arial,Helvetica,sans-serif;
}

.amalgamaiq-live-detail__top{
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:14px;
  align-items:center;
  margin-bottom:14px;
}
.amalgamaiq-live-detail__top img{
  width:100%;
  height:105px;
  object-fit:contain;
  border:1px solid #e1ebf1;
  border-radius:10px;
  background:#fff;
}

.amalgamaiq-comparison-option--live img{
  width:100%;
  height:88px;
  object-fit:contain;
  margin-bottom:8px;
  border:1px solid #e2edf3;
  border-radius:8px;
  background:#fff;
}
.amalgamaiq-comparison-option--live small{
  display:block;
  margin:0 0 8px;
  color:#708697;
  font:800 8px/1.3 Arial,Helvetica,sans-serif;
}

@media(max-width:700px){
  .amalgamaiq-live-product{
    grid-template-columns:92px minmax(0,1fr);
    gap:11px;
  }
  .amalgamaiq-live-product__media{
    min-height:98px;
  }
  .amalgamaiq-live-product__media img{
    height:82px;
  }
  .amalgamaiq-live-product__bottom{
    align-items:stretch;
    flex-direction:column;
  }
  .amalgamaiq-live-detail__top{
    grid-template-columns:82px minmax(0,1fr);
  }
  .amalgamaiq-live-detail__top img{
    height:78px;
  }
}

.amalgamaiq-live-error a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin-top:7px;
  padding:8px 10px;
  border-radius:7px;
  background:#7b4c32;
  color:#fff;
  text-decoration:none;
  font:900 8px/1 Arial,Helvetica,sans-serif;
}


/* =========================================================
   V5.4 — EPA COMPLIANCE KNOWLEDGE
   ========================================================= */
.amalgamaiq-compliance-card{
  overflow:hidden;
  border:1px solid #d9e7ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(12,58,86,.07);
}
.amalgamaiq-compliance-card__head{
  display:flex;
  align-items:center;
  gap:11px;
  padding:14px 15px;
  background:linear-gradient(135deg,#0b466a,#087e9e);
  color:#fff;
}
.amalgamaiq-compliance-card__icon{
  display:grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  font-size:16px;
}
.amalgamaiq-compliance-card__head span{
  display:block;
  margin-bottom:3px;
  font:900 7.5px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.12em;
  opacity:.82;
}
.amalgamaiq-compliance-card__head h3{
  margin:0;
  color:#fff;
  font:900 15px/1.15 Arial,Helvetica,sans-serif;
}
.amalgamaiq-compliance-card__lead{
  margin:0;
  padding:13px 15px;
  border-bottom:1px solid #e8f0f4;
  color:#445f70;
  background:#f8fcfe;
  font:700 10px/1.5 Arial,Helvetica,sans-serif;
}
.amalgamaiq-compliance-card__sections{
  display:grid;
  gap:0;
}
.amalgamaiq-compliance-card__sections section{
  padding:13px 15px;
  border-bottom:1px solid #edf3f6;
}
.amalgamaiq-compliance-card__sections section:last-child{
  border-bottom:0;
}
.amalgamaiq-compliance-card__sections h4{
  margin:0 0 8px;
  color:#0b466a;
  font:900 10px/1.2 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.amalgamaiq-compliance-card__sections ul{
  display:grid;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}
.amalgamaiq-compliance-card__sections li{
  display:grid;
  grid-template-columns:15px minmax(0,1fr);
  gap:7px;
  color:#536d7e;
  font:700 9.5px/1.45 Arial,Helvetica,sans-serif;
}
.amalgamaiq-compliance-card__sections li i{
  margin-top:2px;
  color:#10a36d;
  font-size:9px;
}
.amalgamaiq-compliance-sources{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:12px 15px;
  border-top:1px solid #edf3f6;
  background:#f8fbfd;
}
.amalgamaiq-compliance-sources a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:7px 9px;
  border:1px solid #cfe2eb;
  border-radius:8px;
  color:#0b638a;
  background:#fff;
  text-decoration:none;
  font:900 8px/1 Arial,Helvetica,sans-serif;
}
.amalgamaiq-compliance-sources a:hover{
  border-color:#0b7ca5;
  background:#eef9fd;
}
.amalgamaiq-compliance-notice{
  display:grid;
  grid-template-columns:16px minmax(0,1fr);
  gap:7px;
  padding:10px 15px;
  color:#765d35;
  background:#fff9e9;
  border-top:1px solid #f1e2b7;
  font:700 8.5px/1.4 Arial,Helvetica,sans-serif;
}
.amalgamaiq-compliance-notice i{
  margin-top:1px;
  color:#c69126;
}


/* =========================================================
   V5.6 — SMART KNOWLEDGE ANSWER + LIVE PARTS GALLERY
   ========================================================= */
.amalgamaiq-parts-loading,
.amalgamaiq-parts-empty{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border:1px solid #dce9ef;
  border-radius:12px;
  background:#f8fcfe;
  color:#365b6d;
}
.amalgamaiq-parts-loading i{
  color:#0784a7;
  font-size:18px;
}
.amalgamaiq-parts-loading strong,
.amalgamaiq-parts-empty strong{
  display:block;
  margin-bottom:2px;
  font:900 10px/1.2 Arial,Helvetica,sans-serif;
  color:#164d67;
}
.amalgamaiq-parts-loading small,
.amalgamaiq-parts-empty span{
  display:block;
  font:700 8.5px/1.4 Arial,Helvetica,sans-serif;
  color:#6e8795;
}
.amalgamaiq-parts-panel{
  overflow:hidden;
  border:1px solid #d8e7ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(12,58,86,.07);
}
.amalgamaiq-parts-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  background:linear-gradient(135deg,#0b466a,#087e9e);
  color:#fff;
}
.amalgamaiq-parts-panel__head span{
  display:block;
  margin-bottom:3px;
  font:900 7px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.12em;
  opacity:.75;
}
.amalgamaiq-parts-panel__head h3{
  margin:0;
  color:#fff;
  font:900 13px/1.2 Arial,Helvetica,sans-serif;
}
.amalgamaiq-parts-panel__head > strong{
  flex:0 0 auto;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  font:900 8px/1 Arial,Helvetica,sans-serif;
}
.amalgamaiq-parts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:12px;
}
.amalgamaiq-part-card{
  overflow:hidden;
  min-width:0;
  border:1px solid #e1ebef;
  border-radius:11px;
  background:#fff;
}
.amalgamaiq-part-card__image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:118px;
  padding:8px;
  background:#fff;
  border-bottom:1px solid #edf2f4;
}
.amalgamaiq-part-card__image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.amalgamaiq-part-card__body{
  padding:9px;
}
.amalgamaiq-part-card__brand{
  display:block;
  margin-bottom:4px;
  color:#0a789b;
  font:900 7px/1 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.amalgamaiq-part-card h4{
  margin:0 0 4px;
  color:#173f53;
  font:900 9.5px/1.25 Arial,Helvetica,sans-serif;
}
.amalgamaiq-part-card small{
  display:block;
  margin-bottom:5px;
  color:#718896;
  font:700 7.5px/1.25 Arial,Helvetica,sans-serif;
}
.amalgamaiq-part-card p{
  margin:0 0 8px;
  color:#647b88;
  font:600 8px/1.35 Arial,Helvetica,sans-serif;
}
.amalgamaiq-part-card__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
}
.amalgamaiq-part-card__bottom strong{
  color:#173f53;
  font:900 10px/1 Arial,Helvetica,sans-serif;
}
.amalgamaiq-part-card__bottom a{
  display:inline-flex;
  padding:6px 7px;
  border-radius:6px;
  background:#0a7da0;
  color:#fff;
  text-decoration:none;
  font:900 7px/1 Arial,Helvetica,sans-serif;
}
.amalgamaiq-parts-panel__note{
  display:grid;
  grid-template-columns:15px minmax(0,1fr);
  gap:7px;
  padding:9px 12px;
  border-top:1px solid #e7eef2;
  background:#f7fafc;
  color:#6d818d;
  font:700 8px/1.35 Arial,Helvetica,sans-serif;
}
.amalgamaiq-parts-panel__note i{
  color:#0a7da0;
  margin-top:1px;
}
@media (max-width:520px){
  .amalgamaiq-parts-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   AmalgamAIQ v6.9 — Two Product Comparison
   ========================================================= */
.amalgamaiq-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.amalgamaiq-compare-shell{display:grid;gap:12px;width:100%;padding:2px 0 6px}
.amalgamaiq-compare-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.amalgamaiq-compare-head>div>span{display:block;margin-bottom:3px;color:#0796c8;font-size:9px;font-weight:900;letter-spacing:.09em}
.amalgamaiq-compare-head h2{margin:0;color:#063d60;font-size:22px;line-height:1.1}
.amalgamaiq-compare-head p{margin:4px 0 0;color:#698092;font-size:11px}
.amalgamaiq-compare-head button{flex:0 0 auto;border:1px solid #b9d8e7;border-radius:10px;padding:9px 12px;background:#fff;color:#0879a8;font-weight:900;cursor:pointer}
.amalgamaiq-compare-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.amalgamaiq-compare-product{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;min-height:150px;padding:12px;border:1px solid #d6e6ee;border-radius:13px;background:#fff;box-shadow:0 8px 22px rgba(7,57,82,.05)}
.amalgamaiq-compare-product.is-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-style:dashed;color:#698092}
.amalgamaiq-compare-empty-icon{width:44px;height:44px;display:grid;place-items:center;margin-bottom:7px;border-radius:50%;background:#eaf7fc;color:#058fc0;font-size:18px}
.amalgamaiq-compare-product__image{display:grid;place-items:center;min-height:120px}
.amalgamaiq-compare-product__image img{display:block;width:100%;height:120px;object-fit:contain}
.amalgamaiq-compare-product__info{min-width:0}
.amalgamaiq-compare-product__info>span{color:#617a8c;font-size:9px;font-weight:800}
.amalgamaiq-compare-product__info h3{margin:2px 0 3px;color:#073d60;font-size:15px;line-height:1.18}
.amalgamaiq-compare-product__info small{display:block;color:#7a8d9a;font-size:9px}
.amalgamaiq-compare-price{display:block;margin-top:7px;color:#052f4b;font-size:18px}
.amalgamaiq-compare-stock{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900}
.amalgamaiq-compare-stock i{font-size:6px}.amalgamaiq-compare-stock.is-in{background:#e6f8ef;color:#11844d}.amalgamaiq-compare-stock.is-out{background:#f2f5f7;color:#6d7c87}
.amalgamaiq-compare-product__actions{display:flex;gap:6px;margin-top:8px}
.amalgamaiq-compare-product__actions a,.amalgamaiq-compare-product__actions button{border-radius:7px;padding:6px 8px;font-size:8px;font-weight:900;text-decoration:none;cursor:pointer}
.amalgamaiq-compare-product__actions a{background:#058bc0;color:#fff}.amalgamaiq-compare-product__actions button{border:1px solid #d7e3e9;background:#fff;color:#ba2530}
.amalgamaiq-compare-table-wrap{overflow:auto;border:1px solid #d6e6ee;border-radius:12px;background:#fff}
.amalgamaiq-compare-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px}
.amalgamaiq-compare-table thead th{background:#edf6fa;color:#123f59;font-weight:900}
.amalgamaiq-compare-table th,.amalgamaiq-compare-table td{padding:8px 10px;border-bottom:1px solid #e5eef2;vertical-align:top}
.amalgamaiq-compare-table tbody tr:nth-child(even){background:#f8fbfc}
.amalgamaiq-compare-table tbody th{width:24%;color:#17465f;text-align:left;font-weight:900}
.amalgamaiq-compare-table td{width:38%;color:#35566a;text-align:center}
.amalgamaiq-compare-table .is-missing{color:#98a6af;font-style:italic}
.amalgamaiq-compare-summary{padding:12px 14px;border:1px solid #bfe3f0;border-radius:12px;background:linear-gradient(135deg,#f1fbff,#f8fcfe)}
.amalgamaiq-compare-summary__title{display:flex;align-items:center;gap:9px}.amalgamaiq-compare-summary__title>i{color:#08a0ce;font-size:20px}
.amalgamaiq-compare-summary__title span{display:block;color:#0796c8;font-size:8px;font-weight:900;letter-spacing:.08em}.amalgamaiq-compare-summary__title h3{margin:0;color:#073d60;font-size:15px}
.amalgamaiq-compare-summary ul{margin:9px 0 7px 20px;padding:0;color:#35566a;font-size:10px;line-height:1.45}.amalgamaiq-compare-summary p{margin:0;color:#728895;font-size:8.5px}
.amalgamaiq-compare-search{padding:13px;border:1px solid #d6e6ee;border-radius:12px;background:#fff}
.amalgamaiq-compare-search__title{display:flex;align-items:center;gap:9px;margin-bottom:10px}.amalgamaiq-compare-search__title>i{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eaf7fc;color:#058fc0}
.amalgamaiq-compare-search__title strong{display:block;color:#073d60;font-size:12px}.amalgamaiq-compare-search__title span{display:block;color:#728895;font-size:9px}
.amalgamaiq-compare-search__bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.amalgamaiq-compare-search__bar input{min-width:0;border:1px solid #bdd8e5;border-radius:9px;padding:10px 11px;color:#143d55;outline:none}
.amalgamaiq-compare-search__bar input:focus{border-color:#0799ca;box-shadow:0 0 0 3px rgba(7,153,202,.10)}.amalgamaiq-compare-search__bar button{border:0;border-radius:9px;padding:0 15px;background:#078dbb;color:#fff;font-weight:900;cursor:pointer}
.amalgamaiq-compare-search-results{display:grid;gap:6px;margin-top:9px;max-height:250px;overflow:auto}
.amalgamaiq-compare-search-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:7px 9px;border:1px solid #e0eaef;border-radius:9px;background:#fff;text-align:left;cursor:pointer}
.amalgamaiq-compare-search-item:hover{border-color:#a9d9e9;background:#f3fbfe}.amalgamaiq-compare-search-item img{width:48px;height:48px;object-fit:contain}
.amalgamaiq-compare-search-item strong{display:block;color:#123e57;font-size:10px}.amalgamaiq-compare-search-item small{display:block;margin-top:2px;color:#768b98;font-size:8px}.amalgamaiq-compare-search-item b{color:#073d60;font-size:10px}
.amalgamaiq-compare-search-note{padding:12px;color:#718693;text-align:center;font-size:9px}
@media(max-width:900px){.amalgamaiq-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.amalgamaiq-compare-products{grid-template-columns:1fr}.amalgamaiq-compare-product{grid-template-columns:90px minmax(0,1fr)}.amalgamaiq-compare-table{min-width:680px}}


/* =========================================================
   AmalgamAIQ v6.9.3 — Product Card + Compare Plus Fix
   ========================================================= */

/* Product-aware card: prevent the current product image from expanding
   to its native dimensions when AIQ first opens. */
.amalgamaiq-current-product {
  width:100%;
  border:1px solid #d6e6ee;
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}

.amalgamaiq-current-product__badge {
  padding:8px 12px 0;
  color:#078dbb;
  font-size:8px;
  font-weight:900;
  letter-spacing:.07em;
}

.amalgamaiq-current-product__body {
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  align-items:center;
  gap:14px;
  padding:10px 12px 13px;
}

.amalgamaiq-current-product__image {
  width:120px;
  height:120px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:10px;
  background:#f7fbfd;
}

.amalgamaiq-current-product__image img {
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto !important;
  height:auto !important;
  object-fit:contain;
}

.amalgamaiq-current-product__info {
  min-width:0;
}

.amalgamaiq-current-product__info h3 {
  margin:0 0 4px;
  color:#073d60;
  font-size:15px;
  line-height:1.2;
}

.amalgamaiq-current-product__info p {
  margin:0 0 8px;
  color:#60798a;
  font-size:10px;
}

.amalgamaiq-current-product__meta {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.amalgamaiq-current-product__meta strong {
  color:#073d60;
  font-size:15px;
}

.amalgamaiq-current-product__meta span {
  color:#17844f;
  font-size:10px;
  font-weight:800;
}

/* Product B empty card is now visibly clickable. */
button.amalgamaiq-compare-product.is-empty {
  width:100%;
  font:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  outline:none;
}

button.amalgamaiq-compare-product.is-empty:hover,
button.amalgamaiq-compare-product.is-empty:focus-visible {
  border-color:#0799ca;
  background:#f4fbfe;
  box-shadow:0 0 0 3px rgba(7,153,202,.10);
}

button.amalgamaiq-compare-product.is-empty:hover .amalgamaiq-compare-empty-icon,
button.amalgamaiq-compare-product.is-empty:focus-visible .amalgamaiq-compare-empty-icon {
  background:#dff4fb;
  transform:scale(1.05);
}

.amalgamaiq-compare-empty-icon {
  transition:transform .18s ease, background .18s ease;
}

@media(max-width:700px) {
  .amalgamaiq-current-product__body {
    grid-template-columns:88px minmax(0,1fr);
  }

  .amalgamaiq-current-product__image {
    width:88px;
    height:88px;
  }
}


/* =========================================================
   AmalgamAIQ v6.9.4 — Restore Product Answer / Related Parts UI
   CSS-only repair.
   ========================================================= */

/* ---------------------------------------------------------
   PRODUCT ANSWER CARD
   --------------------------------------------------------- */
.amalgamaiq-product-answer {
  margin: 0 0 12px;
  padding: 16px 18px;
  border: 1px solid #d5e6ee;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcfe 100%);
  box-shadow: 0 8px 22px rgba(8, 60, 86, .06);
}

.amalgamaiq-product-answer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: #058fc0;
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.amalgamaiq-product-answer h3 {
  margin: 0 0 10px;
  color: #073d60;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
}

.amalgamaiq-product-answer__lead {
  margin: 0;
  color: #567082;
  font-size: 10px;
  line-height: 1.55;
}

.amalgamaiq-product-answer__note {
  margin-top: 10px;
  padding: 9px 11px;
  border-left: 3px solid #08a4d3;
  border-radius: 8px;
  background: #eef9fd;
  color: #426174;
  font-size: 9px;
  line-height: 1.45;
}

.amalgamaiq-product-answer-section {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #e0ebf0;
  border-radius: 10px;
  background: #fff;
}

.amalgamaiq-product-answer-section h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #123f59;
  font-size: 10px;
  font-weight: 900;
}

.amalgamaiq-product-answer-section h4 i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 7px;
  background: #e9f7fc;
  color: #078fbd;
  font-size: 9px;
}

.amalgamaiq-product-answer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.amalgamaiq-product-answer-section li {
  position: relative;
  margin: 0;
  padding: 6px 8px 6px 18px;
  border-top: 1px solid #edf3f6;
  color: #4a6678;
  font-size: 9.5px;
  line-height: 1.4;
}

.amalgamaiq-product-answer-section li:first-child {
  border-top: 0;
}

.amalgamaiq-product-answer-section li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #08a3d2;
}

/* ---------------------------------------------------------
   LIVE RELATED PRODUCTS PANEL
   --------------------------------------------------------- */
.amalgamaiq-context-live {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #d5e6ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 60, 86, .06);
}

.amalgamaiq-context-live__loading,
.amalgamaiq-context-live__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 80px;
  padding: 12px;
  text-align: center;
  color: #637b8b;
}

.amalgamaiq-context-live__loading i {
  color: #08a0ce;
  font-size: 17px;
}

.amalgamaiq-context-live__empty strong {
  color: #123f59;
  font-size: 10px;
}

.amalgamaiq-context-live__empty span {
  max-width: 560px;
  font-size: 9px;
  line-height: 1.4;
}

.amalgamaiq-context-live__head {
  margin-bottom: 10px;
}

.amalgamaiq-context-live__head > span {
  display: block;
  margin-bottom: 3px;
  color: #0796c8;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .09em;
}

.amalgamaiq-context-live__head h3 {
  margin: 0;
  color: #073d60;
  font-size: 16px;
  line-height: 1.18;
}

.amalgamaiq-context-live__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

/* Each related item stays compact; images can no longer use native size. */
.amalgamaiq-context-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 112px;
  padding: 9px;
  border: 1px solid #e0ebf0;
  border-radius: 11px;
  background: #fbfdfe;
  overflow: hidden;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.amalgamaiq-context-product:hover {
  border-color: #addcea;
  box-shadow: 0 7px 18px rgba(7, 78, 108, .08);
  transform: translateY(-1px);
}

.amalgamaiq-context-product__image {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
}

.amalgamaiq-context-product__image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 88px !important;
  max-height: 88px !important;
  object-fit: contain !important;
}

.amalgamaiq-context-product > div {
  min-width: 0;
}

.amalgamaiq-context-product > div > span {
  display: block;
  margin-bottom: 2px;
  color: #708694;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.amalgamaiq-context-product h4 {
  display: -webkit-box;
  margin: 0 0 3px;
  overflow: hidden;
  color: #123f59;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.amalgamaiq-context-product small {
  display: block;
  margin-bottom: 6px;
  color: #7b8e9a;
  font-size: 8px;
}

.amalgamaiq-context-product > div > strong {
  display: block;
  margin-bottom: 6px;
  color: #073d60;
  font-size: 12px;
  font-weight: 950;
}

.amalgamaiq-context-product > div > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #078dbb;
  color: #fff;
  font-size: 7.5px;
  line-height: 1;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: .03em;
}

/* ---------------------------------------------------------
   PRODUCT RECORD ANSWER / EVIDENCE
   Restores the more polished text hierarchy.
   --------------------------------------------------------- */
.amalgamaiq-product-evidence,
.amalgamaiq-product-source {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #dce9ef;
  border-radius: 10px;
  background: #f7fbfd;
  color: #557082;
  font-size: 9px;
  line-height: 1.45;
}

.amalgamaiq-product-evidence strong,
.amalgamaiq-product-source strong {
  color: #123f59;
}

/* Avoid any product answer image escaping its card. */
#amalgamAiqResults img {
  max-width: 100%;
}

/* Responsive layout */
@media (max-width: 880px) {
  .amalgamaiq-context-live__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .amalgamaiq-context-product {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .amalgamaiq-context-product__image {
    width: 76px;
    height: 76px;
  }

  .amalgamaiq-context-product__image img {
    max-width: 72px !important;
    max-height: 72px !important;
  }
}


/* =========================================================
   AmalgamAIQ v6.9.5 — Restore Maintenance + Answer Styling
   CSS-only repair.
   ========================================================= */

/* ---------------------------------------------------------
   PRODUCT RECORD SOURCE / EVIDENCE CARD
   Restores headings, icon, spacing and readable evidence text.
   --------------------------------------------------------- */
.amalgamaiq-product-answer__source {
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:start;
  gap:10px;
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #dce9ef;
  border-radius:10px;
  background:#f6fbfd;
}

.amalgamaiq-product-answer__source > i {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#e8f7fc;
  color:#078fbd;
  font-size:13px;
}

.amalgamaiq-product-answer__source > div {
  min-width:0;
}

.amalgamaiq-product-answer__source strong {
  display:block;
  margin-bottom:3px;
  color:#123f59;
  font-size:9px;
  font-weight:950;
}

.amalgamaiq-product-answer__source span {
  display:block;
  color:#60798a;
  font-size:9px;
  line-height:1.45;
}

/* Product details definition list */
.amalgamaiq-product-answer-section dl {
  margin:0;
}

.amalgamaiq-product-answer-section dl > div {
  display:grid;
  grid-template-columns:minmax(110px,34%) minmax(0,1fr);
  gap:10px;
  padding:7px 0;
  border-top:1px solid #edf3f6;
}

.amalgamaiq-product-answer-section dl > div:first-child {
  border-top:0;
}

.amalgamaiq-product-answer-section dt {
  color:#17465f;
  font-size:9px;
  font-weight:900;
}

.amalgamaiq-product-answer-section dd {
  margin:0;
  color:#60798a;
  font-size:9px;
  line-height:1.4;
}

/* ---------------------------------------------------------
   MAINTENANCE SCHEDULE CARD
   --------------------------------------------------------- */
.amalgamaiq-maintenance-card {
  margin:0 0 12px;
  padding:15px 16px;
  border:1px solid #d5e6ee;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#f8fcfe 100%);
  box-shadow:0 8px 22px rgba(8,60,86,.06);
}

.amalgamaiq-maintenance-card__head {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:9px;
}

.amalgamaiq-maintenance-card__icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 38px;
  border-radius:10px;
  background:#e8f7fc;
  color:#078fbd;
  font-size:16px;
}

.amalgamaiq-maintenance-card__head > div > span {
  display:block;
  margin-bottom:2px;
  color:#0796c8;
  font-size:8px;
  font-weight:950;
  letter-spacing:.09em;
}

.amalgamaiq-maintenance-card__head h3 {
  margin:0;
  color:#073d60;
  font-size:16px;
  line-height:1.18;
}

.amalgamaiq-maintenance-card__lead {
  margin:0 0 12px;
  color:#567082;
  font-size:9.5px;
  line-height:1.5;
}

.amalgamaiq-maintenance-timeline {
  display:grid;
  gap:8px;
}

.amalgamaiq-maintenance-item {
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:10px 11px;
  border:1px solid #e0ebf0;
  border-radius:10px;
  background:#fff;
}

.amalgamaiq-maintenance-item__time {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 7px;
  border-radius:999px;
  background:#eaf7fc;
  color:#078fbd;
  font-size:8px;
  font-weight:950;
  text-align:center;
}

.amalgamaiq-maintenance-item__body h4 {
  margin:0 0 3px;
  color:#123f59;
  font-size:10px;
  font-weight:950;
}

.amalgamaiq-maintenance-item__body p {
  margin:0;
  color:#60798a;
  font-size:9px;
  line-height:1.45;
}

.amalgamaiq-maintenance-sources {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
}

.amalgamaiq-maintenance-sources a {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 8px;
  border:1px solid #cfe3ec;
  border-radius:999px;
  background:#fff;
  color:#087ba7;
  font-size:8px;
  font-weight:850;
  text-decoration:none;
}

.amalgamaiq-maintenance-sources a:hover {
  background:#f1fbfe;
  border-color:#9ed4e7;
}

.amalgamaiq-maintenance-note {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:10px;
  padding:9px 10px;
  border-left:3px solid #08a3d2;
  border-radius:8px;
  background:#eef9fd;
  color:#4a6678;
  font-size:8.5px;
  line-height:1.45;
}

.amalgamaiq-maintenance-note i {
  margin-top:2px;
  color:#078fbd;
}

/* ---------------------------------------------------------
   MAINTENANCE LIVE PRODUCTS
   This is the second image path that was still using native image sizes.
   --------------------------------------------------------- */
.amalgamaiq-maintenance-products {
  margin:0 0 12px;
  padding:14px;
  border:1px solid #d5e6ee;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(8,60,86,.06);
}

.amalgamaiq-maintenance-products__head {
  margin-bottom:10px;
}

.amalgamaiq-maintenance-products__head span {
  display:block;
  margin-bottom:3px;
  color:#0796c8;
  font-size:8px;
  font-weight:950;
  letter-spacing:.09em;
}

.amalgamaiq-maintenance-products__head h3 {
  margin:0;
  color:#073d60;
  font-size:15px;
  line-height:1.18;
}

.amalgamaiq-maintenance-products__grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.amalgamaiq-maintenance-product {
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:112px;
  padding:9px;
  border:1px solid #e0ebf0;
  border-radius:11px;
  background:#fbfdfe;
  overflow:hidden;
}

.amalgamaiq-maintenance-product__image {
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:9px;
  background:#fff;
  text-decoration:none;
}

.amalgamaiq-maintenance-product__image img {
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:88px !important;
  max-height:88px !important;
  object-fit:contain !important;
}

.amalgamaiq-maintenance-product > div {
  min-width:0;
}

.amalgamaiq-maintenance-product > div > span {
  display:block;
  margin-bottom:2px;
  color:#708694;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.amalgamaiq-maintenance-product h4 {
  display:-webkit-box;
  margin:0 0 3px;
  overflow:hidden;
  color:#123f59;
  font-size:10px;
  line-height:1.3;
  font-weight:900;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.amalgamaiq-maintenance-product small {
  display:block;
  margin-bottom:6px;
  color:#7b8e9a;
  font-size:8px;
}

.amalgamaiq-maintenance-product > div > strong {
  display:block;
  margin-bottom:6px;
  color:#073d60;
  font-size:12px;
  font-weight:950;
}

.amalgamaiq-maintenance-product > div > a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:5px 9px;
  border-radius:7px;
  background:#078dbb;
  color:#fff;
  font-size:7.5px;
  line-height:1;
  font-weight:950;
  text-decoration:none;
  letter-spacing:.03em;
}

/* ---------------------------------------------------------
   GENERAL RESULT IMAGE GUARDS
   Prevent any other AIQ product result from escaping its card.
   --------------------------------------------------------- */
.amalgamaiq-live-product__media img,
.amalgamaiq-maintenance-product__image img,
.amalgamaiq-context-product__image img {
  object-fit:contain !important;
}

.amalgamaiq-live-product__media {
  overflow:hidden !important;
}

/* Slight polish for live result text/buttons */
.amalgamaiq-live-product__content h4,
.amalgamaiq-live-product h4 {
  color:#123f59 !important;
  font-weight:900 !important;
}

.amalgamaiq-live-product__content p,
.amalgamaiq-live-product p {
  color:#60798a !important;
  line-height:1.45 !important;
}

.amalgamaiq-live-product ul {
  list-style:none !important;
  margin:8px 0 !important;
  padding:0 !important;
}

.amalgamaiq-live-product li {
  position:relative;
  padding-left:15px !important;
}

.amalgamaiq-live-product li::before {
  content:"";
  position:absolute;
  left:3px;
  top:8px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#08a3d2;
}

/* Responsive */
@media(max-width:880px) {
  .amalgamaiq-maintenance-products__grid {
    grid-template-columns:1fr;
  }
}

@media(max-width:620px) {
  .amalgamaiq-maintenance-item {
    grid-template-columns:1fr;
  }

  .amalgamaiq-maintenance-item__time {
    justify-self:start;
  }

  .amalgamaiq-maintenance-product {
    grid-template-columns:76px minmax(0,1fr);
  }

  .amalgamaiq-maintenance-product__image {
    width:76px;
    height:76px;
  }

  .amalgamaiq-maintenance-product__image img {
    max-width:72px !important;
    max-height:72px !important;
  }
}


/* =========================================================
   AmalgamAIQ v6.9.6 — Product Detail Alternatives
   ========================================================= */

.amalgamaiq-comparison-option--live {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.amalgamaiq-comparison-option--live:hover {
  transform: translateY(-1px);
  border-color: #a9d9e9;
  box-shadow: 0 8px 20px rgba(7, 78, 108, .08);
}


/* =========================================================
   DENTALAIQ SYSTEM GUIDE LIGHTBOX
   Opens basic_amalgam.webp / complex_amalgam.webp full screen.
   ========================================================= */
body.amalgam-lightbox-open { overflow: hidden !important; }

.amalgam-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(4, 10, 18, .88);
  backdrop-filter: blur(8px);
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.amalgam-lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 260ms ease, visibility 0s linear 0s;
}

.amalgam-lightbox__stage {
  width: min(1500px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.amalgam-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}

.amalgam-lightbox__caption {
  color: #fff;
  font: 800 14px/1.35 Arial, Helvetica, sans-serif;
  text-align: center;
}

.amalgam-lightbox__close {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(13, 23, 34, .82);
  font-size: 22px;
  cursor: pointer;
}

.amalgam-lightbox__close:hover {
  background: #0b8092;
  border-color: #0b8092;
}
