/* CON-874 chat widget branding — John Adams Car Sales (jacs2).
 * Source of truth: the Figma file "Ai Assistant- John Adams Car Sales"
 * (key cGXnBPeQ2ar6IpRY2yVjjc, read via the REST API — node dumps in
 * tickets/CON-874/tools/), glyph geometry from the designer's export pack
 * (assets-ai-assistant-20260902) recolored to the canvas palette: crimson
 * #971C30 header/accents, #961B2F cap band + borders + links, opener/send
 * gradient #971C30 -> #F33251 — SUBTLE: the start handle sits at 36.6% of
 * the shape, so the left half stays flat crimson and only the right half
 * ramps (per-shape angles/stops below come from that), #F5F6F8 conversation
 * surface, #161616 user bubbles, white bot bubbles with #E4E6EA borders.
 * The panel is 400x720 = the designer's artboard, so offsets transfer 1:1.
 * Regenerate with tickets/CON-874/build-theme.py — edit the generator,
 * never this file.
 *
 * Served at /chat-theme; loaded by the widget AFTER its built-in stylesheet.
 */

.hdcw-fab,.hdcw-panel {
  --hdcw-accent: #971C30;
  --hdcw-on-accent: #fff;
  /* The artwork is Archivo throughout (172 of 225 TEXT nodes; the Google
   * Sans and Faculty Glyphic stragglers are designer leftovers whose
   * character runs already override to Archivo — see the styleOverrideTable
   * dumps). The jacs2 site imports Archivo 100..900 itself in
   * /css/style.css, so naming it here costs no extra request; without the
   * token the panel falls back to the visitor's OS font (CON-853 lesson). */
  --hdcw-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hdcw-surface: #F5F6F8;      /* conversation background (Rectangle 8) */
  --hdcw-text: #000;
  --hdcw-muted: #6D6D6D;        /* "Searching our stock…", section heads */
  --hdcw-footer: #161616;       /* disclosure runs override to #161616 */
  --hdcw-border: #961B2F;/* input border 24:705 */
  --hdcw-border-soft: #E4E6EA;  /* bubble/card borders, dividers */
  --hdcw-radius: 15px;          /* panel corners (Rectangle 2) */
  --hdcw-radius-bubble: 10px;
  --hdcw-head-bg: #971C30;    /* header 1:9 is SOLID crimson, no gradient */
  --hdcw-user-bg: #161616;      /* user bubbles 19:649 / 42:676 */
  --hdcw-user-color: #fff;
  --hdcw-link: #961B2F;  /* car links in answers are #961B2F 600 underlined */
  --hdcw-btn-bg: #961B2F;
}

/* ---------- Launcher: the home-frame lockup (49:780) rebuilt from the
 * canvas — gradient pill + wand circle + sparkles + outlined wordmark,
 * 268x64, sitting 16px off both edges like the artboard; the artwork's
 * DROP_SHADOW 0 4 4 rgba(0,0,0,.25) is drawn with a CSS filter so it
 * follows the pill and circle silhouettes. Clamped for 320px viewports,
 * where defs.inc also shifts it left of the stock-alert floater
 * (CHAT_WIDGET_FAB_RIGHT_MOBILE 92) — kcd2 lesson. */
.hdcw-fab {
  width: 268px;
  height: 64px;
  right: 16px;
  bottom: 16px;
  max-width: calc(100vw - 32px);
  border-radius: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22268%22 height=%2264%22 viewBox=%220 0 268 64%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 gradientUnits=%22userSpaceOnUse%22 x1=%2289.0%22 y1=%2211.0%22 x2=%22243.0%22 y2=%2233.5%22%3E%3Cstop stop-color=%22%23971C30%22/%3E%3Cstop offset=%22.6923%22 stop-color=%22%23F33251%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%220%22 y=%2211%22 width=%22243%22 height=%2245%22 rx=%2210%22 fill=%22url(%23g)%22/%3E%3Ccircle cx=%22236%22 cy=%2232%22 r=%2232%22 fill=%22%23971C30%22/%3E%3Cg transform=%22translate(225 21)%22%3E%3Cpath d=%22M10.8182 0.202206L11.4261 1.69044L12.9375 2.28897C13.0607 2.3375 13.1429 2.45882 13.1429 2.58824C13.1429 2.71765 13.0607 2.83897 12.9375 2.8875L11.4261 3.48603L10.8182 4.97427C10.7689 5.09559 10.6457 5.17647 10.5143 5.17647C10.3829 5.17647 10.2596 5.09559 10.2104 4.97427L9.6025 3.48603L8.09107 2.8875C7.96786 2.83897 7.88571 2.71765 7.88571 2.58824C7.88571 2.45882 7.96786 2.3375 8.09107 2.28897L9.6025 1.69044L10.2104 0.202206C10.2596 0.0808824 10.3829 0 10.5143 0C10.6457 0 10.7689 0.0808824 10.8182 0.202206ZM4.54661 2.98051L5.42964 5.00662L7.48732 5.8761C7.72964 5.97721 7.88571 6.21176 7.88571 6.47059C7.88571 6.72941 7.72964 6.96397 7.48732 7.06507L5.42964 7.93456L4.54661 9.96066C4.44393 10.1993 4.20571 10.3529 3.94286 10.3529C3.68 10.3529 3.44179 10.1993 3.33911 9.96066L2.45607 7.93456L0.398393 7.06507C0.156071 6.96397 0 6.72941 0 6.47059C0 6.21176 0.156071 5.97721 0.398393 5.8761L2.45607 5.00662L3.33911 2.98051C3.44179 2.74191 3.68 2.58824 3.94286 2.58824C4.20571 2.58824 4.44393 2.74191 4.54661 2.98051ZM19.0571 13.5882C19.32 13.5882 19.5582 13.7419 19.6609 13.9805L20.5439 16.0066L22.6016 16.8761C22.8439 16.9772 23 17.2118 23 17.4706C23 17.7294 22.8439 17.964 22.6016 18.0651L20.5439 18.9346L19.6609 20.9607C19.5582 21.1993 19.32 21.3529 19.0571 21.3529C18.7943 21.3529 18.5561 21.1993 18.4534 20.9607L17.5704 18.9346L15.5127 18.0651C15.2704 17.964 15.1143 17.7294 15.1143 17.4706C15.1143 17.2118 15.2704 16.9772 15.5127 16.8761L17.5704 16.0066L18.4534 13.9805C18.5561 13.7419 18.7943 13.5882 19.0571 13.5882ZM18.8929 1.29412C19.3446 1.29412 19.78 1.47206 20.1045 1.7875L21.8418 3.49816C22.1621 3.81765 22.3429 4.24632 22.3429 4.69118C22.3429 5.13603 22.1621 5.56471 21.8418 5.88419L18.2193 9.4511L14.0588 5.35441L17.6812 1.7875C18.0057 1.47206 18.4411 1.29412 18.8929 1.29412ZM1.81536 17.4099L12.6664 6.72537L16.827 10.8221L5.97589 21.5066C5.65143 21.8221 5.21607 22 4.76429 22C4.3125 22 3.87714 21.8221 3.55268 21.5066L1.81536 19.796C1.495 19.4765 1.31429 19.0478 1.31429 18.6029C1.31429 18.1581 1.495 17.7294 1.81536 17.4099Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/g%3E%3Cg transform=%22translate(14 25)%22%3E%3Cpath d=%22M6.14287 10.5724L6.48113 9.7948C7.07523 8.41885 8.16388 7.31537 9.53228 6.7021L10.5773 6.23771C10.7035 6.17935 10.8104 6.08611 10.8853 5.96901C10.9602 5.85191 11 5.71583 11 5.57686C11 5.43788 10.9602 5.30181 10.8853 5.1847C10.8104 5.0676 10.7035 4.97436 10.5773 4.916L9.59003 4.47635C8.18723 3.84562 7.07993 2.70135 6.49625 1.27923L6.14838 0.44114C6.09728 0.311104 6.00817 0.199465 5.89264 0.120776C5.77712 0.0420875 5.64055 0 5.50074 0C5.36093 0 5.22437 0.0420875 5.10885 0.120776C4.99332 0.199465 4.90421 0.311104 4.85311 0.44114L4.50524 1.28061C3.92094 2.70245 2.81315 3.84624 1.41009 4.47635L0.424206 4.91463C0.297593 4.97282 0.190334 5.06607 0.115148 5.18333C0.0399614 5.30058 0 5.43691 0 5.57617C0 5.71543 0.0399614 5.85176 0.115148 5.96901C0.190334 6.08627 0.297593 6.17952 0.424206 6.23771L1.46784 6.70347C2.8365 7.31613 3.92564 8.41912 4.52036 9.7948L4.85862 10.5724C4.91148 10.6991 5.00066 10.8072 5.11492 10.8833C5.22919 10.9594 5.36343 11 5.50074 11C5.63806 11 5.7723 10.9594 5.88657 10.8833C6.00083 10.8072 6.09001 10.6991 6.14287 10.5724Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/g%3E%3Cg transform=%22translate(24 36)%22%3E%3Cpath d=%22M4.46755 7.68904L4.71355 7.12349C5.14562 6.1228 5.93737 5.32027 6.93256 4.87425L7.69257 4.53652C7.78437 4.49407 7.8621 4.42626 7.91658 4.3411C7.97105 4.25593 8 4.15697 8 4.0559C8 3.95482 7.97105 3.85586 7.91658 3.77069C7.8621 3.68553 7.78437 3.61772 7.69257 3.57527L6.97457 3.25552C5.95435 2.79682 5.14904 1.96461 4.72455 0.930351L4.47155 0.320829C4.43439 0.226257 4.36957 0.145065 4.28556 0.0878372C4.20154 0.0306091 4.10222 0 4.00054 0C3.89886 0 3.79954 0.0306091 3.71552 0.0878372C3.63151 0.145065 3.5667 0.226257 3.52954 0.320829L3.27654 0.93135C2.85159 1.96542 2.04593 2.79726 1.02552 3.25552L0.308513 3.57427C0.216431 3.6166 0.138425 3.68442 0.0837438 3.76969C0.0290628 3.85497 0 3.95412 0 4.0554C0 4.15667 0.0290628 4.25583 0.0837438 4.3411C0.138425 4.42638 0.216431 4.49419 0.308513 4.53652L1.06752 4.87525C2.06291 5.32082 2.85501 6.123 3.28754 7.12349L3.53354 7.68904C3.57198 7.78114 3.63684 7.8598 3.71994 7.91514C3.80305 7.97047 3.90068 8 4.00054 8C4.10041 8 4.19804 7.97047 4.28114 7.91514C4.36424 7.8598 4.4291 7.78114 4.46755 7.68904Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/g%3E%3Cg transform=%22translate(27 24)%22%3E%3Cpath d=%22M2.79222 3.84452L2.94597 3.56174C3.21601 3.0614 3.71086 2.66013 4.33285 2.43713L4.80786 2.26826C4.86523 2.24704 4.91381 2.21313 4.94786 2.17055C4.98191 2.12797 5 2.07849 5 2.02795C5 1.97741 4.98191 1.92793 4.94786 1.88535C4.91381 1.84276 4.86523 1.80886 4.80786 1.78764L4.3591 1.62776C3.72147 1.39841 3.21815 0.982307 2.95284 0.465175L2.79472 0.160415C2.77149 0.113129 2.73098 0.0725326 2.67847 0.0439186C2.62596 0.0153046 2.56389 0 2.50034 0C2.43679 0 2.37471 0.0153046 2.3222 0.0439186C2.26969 0.0725326 2.22919 0.113129 2.20596 0.160415L2.04783 0.465675C1.78224 0.98271 1.27871 1.39863 0.640949 1.62776L0.192821 1.78714C0.135269 1.8083 0.0865155 1.84221 0.0523399 1.88485C0.0181643 1.92748 0 1.97706 0 2.0277C0 2.07834 0.0181643 2.12791 0.0523399 2.17055C0.0865155 2.21319 0.135269 2.2471 0.192821 2.26826L0.667198 2.43763C1.28932 2.66041 1.78438 3.0615 2.05471 3.56174L2.20846 3.84452C2.23249 3.89057 2.27303 3.9299 2.32497 3.95757C2.3769 3.98524 2.43792 4 2.50034 4C2.56275 4 2.62377 3.98524 2.67571 3.95757C2.72765 3.9299 2.76819 3.89057 2.79222 3.84452Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/g%3E%3Cg transform=%22translate(47.8 26.7)%22%3E%3Cpath d=%22M4.216 12.291L0 0.629L2.737 0.629L5.253 8.075C5.29833 8.19967 5.34933 8.35267 5.406 8.534C5.46267 8.704 5.51933 8.874 5.576 9.044C5.63267 9.214 5.678 9.367 5.712 9.503L5.814 9.503C5.85933 9.37833 5.90467 9.23667 5.95 9.078C6.00667 8.908 6.05767 8.738 6.103 8.568C6.15967 8.398 6.21067 8.23933 6.256 8.092L8.772 0.629L11.407 0.629L7.174 12.291L4.216 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M12.6877 2.04L12.6877 0L15.0507 0L15.0507 2.04L12.6877 2.04ZM12.6877 12.291L12.6877 3.349L15.0507 3.349L15.0507 12.291L12.6877 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M17.2199 12.291L17.2199 3.349L19.1749 3.349L19.3619 4.743L19.4809 4.743C19.5943 4.44833 19.7416 4.182 19.9229 3.944C20.1043 3.69467 20.3309 3.49633 20.6029 3.349C20.8749 3.20167 21.1923 3.128 21.5549 3.128C21.7476 3.128 21.9233 3.15067 22.0819 3.196C22.2406 3.23 22.3596 3.264 22.4389 3.298L22.4389 5.44L21.7079 5.44C21.3566 5.44 21.0449 5.491 20.7729 5.593C20.5123 5.68367 20.2913 5.831 20.1099 6.035C19.9286 6.239 19.7926 6.48833 19.7019 6.783C19.6226 7.07767 19.5829 7.42333 19.5829 7.82L19.5829 12.291L17.2199 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M26.3469 12.495C25.7803 12.495 25.3213 12.393 24.9699 12.189C24.6186 11.985 24.3636 11.713 24.2049 11.373C24.0463 11.0217 23.9669 10.6363 23.9669 10.217L23.9669 5.168L22.8619 5.168L22.8619 3.349L24.0519 3.349L24.4939 0.799L26.3299 0.799L26.3299 3.349L27.9619 3.349L27.9619 5.168L26.3299 5.168L26.3299 9.826C26.3299 10.098 26.3923 10.3077 26.5169 10.455C26.6416 10.591 26.8456 10.659 27.1289 10.659L27.9619 10.659L27.9619 12.223C27.8259 12.2683 27.6673 12.308 27.4859 12.342C27.3046 12.3873 27.1119 12.4213 26.9079 12.444C26.7039 12.478 26.5169 12.495 26.3469 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M32.3785 12.495C31.4718 12.495 30.7522 12.2457 30.2195 11.747C29.6868 11.2483 29.4205 10.4437 29.4205 9.333L29.4205 3.349L31.7835 3.349L31.7835 8.942C31.7835 9.23667 31.8175 9.486 31.8855 9.69C31.9535 9.88267 32.0498 10.0413 32.1745 10.166C32.3105 10.2907 32.4748 10.3813 32.6675 10.438C32.8602 10.4947 33.0755 10.523 33.3135 10.523C33.6648 10.523 33.9822 10.438 34.2655 10.268C34.5488 10.098 34.7698 9.86567 34.9285 9.571C35.0872 9.265 35.1665 8.925 35.1665 8.551L35.1665 3.349L37.5295 3.349L37.5295 12.291L35.5915 12.291L35.4215 11.067L35.3025 11.067C35.0872 11.3503 34.8322 11.5997 34.5375 11.815C34.2542 12.0303 33.9312 12.1947 33.5685 12.308C33.2058 12.4327 32.8092 12.495 32.3785 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M42.0615 12.495C41.7668 12.495 41.4495 12.461 41.1095 12.393C40.7808 12.325 40.4691 12.206 40.1745 12.036C39.8798 11.8547 39.6361 11.5997 39.4435 11.271C39.2621 10.931 39.1715 10.5003 39.1715 9.979C39.1715 9.35567 39.3075 8.84 39.5795 8.432C39.8515 8.024 40.2368 7.70667 40.7355 7.48C41.2455 7.242 41.8518 7.07767 42.5545 6.987C43.2571 6.89633 44.0335 6.851 44.8835 6.851L44.8835 6.188C44.8835 5.92733 44.8381 5.70067 44.7475 5.508C44.6681 5.31533 44.5208 5.16233 44.3055 5.049C44.1015 4.93567 43.8125 4.879 43.4385 4.879C43.0645 4.879 42.7585 4.92433 42.5205 5.015C42.2938 5.10567 42.1295 5.22467 42.0275 5.372C41.9368 5.508 41.8915 5.661 41.8915 5.831L41.8915 6.035L39.5965 6.035C39.5851 5.97833 39.5795 5.92733 39.5795 5.882C39.5795 5.82533 39.5795 5.75733 39.5795 5.678C39.5795 5.15667 39.7381 4.709 40.0555 4.335C40.3728 3.94967 40.8205 3.655 41.3985 3.451C41.9765 3.247 42.6508 3.145 43.4215 3.145C44.2488 3.145 44.9401 3.25267 45.4955 3.468C46.0621 3.68333 46.4928 4.00067 46.7875 4.42C47.0935 4.83933 47.2465 5.36633 47.2465 6.001L47.2465 10.064C47.2465 10.268 47.3031 10.421 47.4165 10.523C47.5411 10.6137 47.6771 10.659 47.8245 10.659L48.3855 10.659L48.3855 12.206C48.2721 12.2627 48.0965 12.3193 47.8585 12.376C47.6205 12.444 47.3315 12.478 46.9915 12.478C46.6628 12.478 46.3681 12.427 46.1075 12.325C45.8581 12.2343 45.6485 12.104 45.4785 11.934C45.3085 11.7527 45.1895 11.5373 45.1215 11.288L45.0025 11.288C44.8098 11.526 44.5718 11.7357 44.2885 11.917C44.0165 12.0983 43.6935 12.24 43.3195 12.342C42.9568 12.444 42.5375 12.495 42.0615 12.495ZM42.8605 10.71C43.1778 10.71 43.4611 10.6647 43.7105 10.574C43.9598 10.472 44.1695 10.3417 44.3395 10.183C44.5095 10.013 44.6398 9.809 44.7305 9.571C44.8325 9.333 44.8835 9.078 44.8835 8.806L44.8835 8.313C44.2488 8.313 43.6821 8.35833 43.1835 8.449C42.6848 8.52833 42.2881 8.67 41.9935 8.874C41.7101 9.078 41.5685 9.36133 41.5685 9.724C41.5685 9.928 41.6195 10.1037 41.7215 10.251C41.8235 10.3983 41.9708 10.5117 42.1635 10.591C42.3561 10.6703 42.5885 10.71 42.8605 10.71Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M49.5598 12.291L49.5598 0L51.9228 0L51.9228 12.291L49.5598 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M56.4429 12.291L60.9309 0.629L64.0589 0.629L68.5469 12.291L65.8099 12.291L64.9769 9.996L59.8939 9.996L59.0609 12.291L56.4429 12.291ZM60.6249 7.956L64.2459 7.956L63.2089 5.083C63.1636 4.95833 63.1069 4.811 63.0389 4.641C62.9823 4.45967 62.9199 4.26133 62.8519 4.046C62.7839 3.83067 62.7159 3.621 62.6479 3.417C62.5913 3.20167 62.5346 3.009 62.4779 2.839L62.3759 2.839C62.3193 3.05433 62.2456 3.30933 62.1549 3.604C62.0643 3.88733 61.9736 4.165 61.8829 4.437C61.7923 4.69767 61.7186 4.913 61.6619 5.083L60.6249 7.956Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M73.3517 12.495C72.7283 12.495 72.1673 12.427 71.6687 12.291C71.17 12.155 70.745 11.968 70.3937 11.73C70.0423 11.4807 69.7703 11.186 69.5777 10.846C69.3963 10.506 69.3057 10.1207 69.3057 9.69C69.3057 9.64467 69.3057 9.59933 69.3057 9.554C69.3057 9.50867 69.3113 9.47467 69.3227 9.452L71.6007 9.452C71.6007 9.47467 71.6007 9.49733 71.6007 9.52C71.6007 9.54267 71.6007 9.56533 71.6007 9.588C71.612 9.87133 71.7027 10.1037 71.8727 10.285C72.0427 10.455 72.2637 10.5797 72.5357 10.659C72.819 10.7383 73.1137 10.778 73.4197 10.778C73.6917 10.778 73.9523 10.7553 74.2017 10.71C74.4623 10.6533 74.6777 10.557 74.8477 10.421C75.029 10.285 75.1197 10.1093 75.1197 9.894C75.1197 9.622 75.0063 9.41233 74.7797 9.265C74.5643 9.11767 74.2753 8.99867 73.9127 8.908C73.5613 8.81733 73.176 8.71533 72.7567 8.602C72.3714 8.51133 71.986 8.40933 71.6007 8.296C71.2153 8.17133 70.864 8.01267 70.5467 7.82C70.2407 7.62733 69.9913 7.378 69.7987 7.072C69.606 6.75467 69.5097 6.358 69.5097 5.882C69.5097 5.41733 69.6117 5.015 69.8157 4.675C70.0197 4.32367 70.2973 4.03467 70.6487 3.808C71.0113 3.58133 71.4307 3.417 71.9067 3.315C72.394 3.20167 72.9153 3.145 73.4707 3.145C73.992 3.145 74.4793 3.20167 74.9327 3.315C75.386 3.417 75.7827 3.57567 76.1227 3.791C76.4627 3.995 76.729 4.25567 76.9217 4.573C77.1143 4.879 77.2107 5.22467 77.2107 5.61C77.2107 5.68933 77.2107 5.763 77.2107 5.831C77.2107 5.899 77.205 5.94433 77.1937 5.967L74.9327 5.967L74.9327 5.831C74.9327 5.627 74.8703 5.457 74.7457 5.321C74.621 5.17367 74.4397 5.06033 74.2017 4.981C73.975 4.90167 73.6973 4.862 73.3687 4.862C73.142 4.862 72.9323 4.879 72.7397 4.913C72.5583 4.947 72.3997 4.998 72.2637 5.066C72.1277 5.134 72.02 5.219 71.9407 5.321C71.8727 5.41167 71.8387 5.525 71.8387 5.661C71.8387 5.85367 71.918 6.01233 72.0767 6.137C72.2467 6.25033 72.4677 6.34667 72.7397 6.426C73.0117 6.50533 73.312 6.59033 73.6407 6.681C74.0487 6.79433 74.4737 6.90767 74.9157 7.021C75.369 7.123 75.7884 7.26467 76.1737 7.446C76.559 7.62733 76.8707 7.888 77.1087 8.228C77.3467 8.55667 77.4657 9.00433 77.4657 9.571C77.4657 10.115 77.358 10.574 77.1427 10.948C76.9387 11.322 76.6497 11.6223 76.2757 11.849C75.9017 12.0757 75.4653 12.24 74.9667 12.342C74.468 12.444 73.9297 12.495 73.3517 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M82.798 12.495C82.1746 12.495 81.6136 12.427 81.115 12.291C80.6163 12.155 80.1913 11.968 79.84 11.73C79.4886 11.4807 79.2166 11.186 79.024 10.846C78.8426 10.506 78.752 10.1207 78.752 9.69C78.752 9.64467 78.752 9.59933 78.752 9.554C78.752 9.50867 78.7576 9.47467 78.769 9.452L81.047 9.452C81.047 9.47467 81.047 9.49733 81.047 9.52C81.047 9.54267 81.047 9.56533 81.047 9.588C81.0583 9.87133 81.149 10.1037 81.319 10.285C81.489 10.455 81.71 10.5797 81.982 10.659C82.2653 10.7383 82.56 10.778 82.866 10.778C83.138 10.778 83.3986 10.7553 83.648 10.71C83.9086 10.6533 84.124 10.557 84.294 10.421C84.4753 10.285 84.566 10.1093 84.566 9.894C84.566 9.622 84.4526 9.41233 84.226 9.265C84.0106 9.11767 83.7216 8.99867 83.359 8.908C83.0076 8.81733 82.6223 8.71533 82.203 8.602C81.8176 8.51133 81.4323 8.40933 81.047 8.296C80.6616 8.17133 80.3103 8.01267 79.993 7.82C79.687 7.62733 79.4376 7.378 79.245 7.072C79.0523 6.75467 78.956 6.358 78.956 5.882C78.956 5.41733 79.058 5.015 79.262 4.675C79.466 4.32367 79.7436 4.03467 80.095 3.808C80.4576 3.58133 80.877 3.417 81.353 3.315C81.8403 3.20167 82.3616 3.145 82.917 3.145C83.4383 3.145 83.9256 3.20167 84.379 3.315C84.8323 3.417 85.229 3.57567 85.569 3.791C85.909 3.995 86.1753 4.25567 86.368 4.573C86.5606 4.879 86.657 5.22467 86.657 5.61C86.657 5.68933 86.657 5.763 86.657 5.831C86.657 5.899 86.6513 5.94433 86.64 5.967L84.379 5.967L84.379 5.831C84.379 5.627 84.3166 5.457 84.192 5.321C84.0673 5.17367 83.886 5.06033 83.648 4.981C83.4213 4.90167 83.1436 4.862 82.815 4.862C82.5883 4.862 82.3786 4.879 82.186 4.913C82.0046 4.947 81.846 4.998 81.71 5.066C81.574 5.134 81.4663 5.219 81.387 5.321C81.319 5.41167 81.285 5.525 81.285 5.661C81.285 5.85367 81.3643 6.01233 81.523 6.137C81.693 6.25033 81.914 6.34667 82.186 6.426C82.458 6.50533 82.7583 6.59033 83.087 6.681C83.495 6.79433 83.92 6.90767 84.362 7.021C84.8153 7.123 85.2346 7.26467 85.62 7.446C86.0053 7.62733 86.317 7.888 86.555 8.228C86.793 8.55667 86.912 9.00433 86.912 9.571C86.912 10.115 86.8043 10.574 86.589 10.948C86.385 11.322 86.096 11.6223 85.722 11.849C85.348 12.0757 84.9116 12.24 84.413 12.342C83.9143 12.444 83.376 12.495 82.798 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M88.6233 2.04L88.6233 0L90.9863 0L90.9863 2.04L88.6233 2.04ZM88.6233 12.291L88.6233 3.349L90.9863 3.349L90.9863 12.291L88.6233 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M96.7765 12.495C96.1531 12.495 95.5921 12.427 95.0935 12.291C94.5948 12.155 94.1698 11.968 93.8185 11.73C93.4671 11.4807 93.1952 11.186 93.0025 10.846C92.8212 10.506 92.7305 10.1207 92.7305 9.69C92.7305 9.64467 92.7305 9.59933 92.7305 9.554C92.7305 9.50867 92.7362 9.47467 92.7475 9.452L95.0255 9.452C95.0255 9.47467 95.0255 9.49733 95.0255 9.52C95.0255 9.54267 95.0255 9.56533 95.0255 9.588C95.0368 9.87133 95.1275 10.1037 95.2975 10.285C95.4675 10.455 95.6885 10.5797 95.9605 10.659C96.2438 10.7383 96.5385 10.778 96.8445 10.778C97.1165 10.778 97.3772 10.7553 97.6265 10.71C97.8872 10.6533 98.1025 10.557 98.2725 10.421C98.4538 10.285 98.5445 10.1093 98.5445 9.894C98.5445 9.622 98.4312 9.41233 98.2045 9.265C97.9892 9.11767 97.7001 8.99867 97.3375 8.908C96.9862 8.81733 96.6008 8.71533 96.1815 8.602C95.7962 8.51133 95.4108 8.40933 95.0255 8.296C94.6402 8.17133 94.2888 8.01267 93.9715 7.82C93.6655 7.62733 93.4162 7.378 93.2235 7.072C93.0308 6.75467 92.9345 6.358 92.9345 5.882C92.9345 5.41733 93.0365 5.015 93.2405 4.675C93.4445 4.32367 93.7222 4.03467 94.0735 3.808C94.4361 3.58133 94.8555 3.417 95.3315 3.315C95.8188 3.20167 96.3401 3.145 96.8955 3.145C97.4168 3.145 97.9042 3.20167 98.3575 3.315C98.8108 3.417 99.2075 3.57567 99.5475 3.791C99.8875 3.995 100.154 4.25567 100.346 4.573C100.539 4.879 100.635 5.22467 100.635 5.61C100.635 5.68933 100.635 5.763 100.635 5.831C100.635 5.899 100.63 5.94433 100.618 5.967L98.3575 5.967L98.3575 5.831C98.3575 5.627 98.2952 5.457 98.1705 5.321C98.0458 5.17367 97.8645 5.06033 97.6265 4.981C97.3998 4.90167 97.1222 4.862 96.7935 4.862C96.5668 4.862 96.3571 4.879 96.1645 4.913C95.9831 4.947 95.8245 4.998 95.6885 5.066C95.5525 5.134 95.4448 5.219 95.3655 5.321C95.2975 5.41167 95.2635 5.525 95.2635 5.661C95.2635 5.85367 95.3428 6.01233 95.5015 6.137C95.6715 6.25033 95.8925 6.34667 96.1645 6.426C96.4365 6.50533 96.7368 6.59033 97.0655 6.681C97.4735 6.79433 97.8985 6.90767 98.3405 7.021C98.7938 7.123 99.2132 7.26467 99.5985 7.446C99.9838 7.62733 100.295 7.888 100.533 8.228C100.771 8.55667 100.89 9.00433 100.89 9.571C100.89 10.115 100.783 10.574 100.567 10.948C100.363 11.322 100.074 11.6223 99.7005 11.849C99.3265 12.0757 98.8902 12.24 98.3915 12.342C97.8928 12.444 97.3545 12.495 96.7765 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M105.271 12.495C104.704 12.495 104.245 12.393 103.894 12.189C103.542 11.985 103.287 11.713 103.129 11.373C102.97 11.0217 102.891 10.6363 102.891 10.217L102.891 5.168L101.786 5.168L101.786 3.349L102.976 3.349L103.418 0.799L105.254 0.799L105.254 3.349L106.886 3.349L106.886 5.168L105.254 5.168L105.254 9.826C105.254 10.098 105.316 10.3077 105.441 10.455C105.565 10.591 105.769 10.659 106.053 10.659L106.886 10.659L106.886 12.223C106.75 12.2683 106.591 12.308 106.41 12.342C106.228 12.3873 106.036 12.4213 105.832 12.444C105.628 12.478 105.441 12.495 105.271 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M110.775 12.495C110.481 12.495 110.163 12.461 109.823 12.393C109.495 12.325 109.183 12.206 108.888 12.036C108.594 11.8547 108.35 11.5997 108.157 11.271C107.976 10.931 107.885 10.5003 107.885 9.979C107.885 9.35567 108.021 8.84 108.293 8.432C108.565 8.024 108.951 7.70667 109.449 7.48C109.959 7.242 110.566 7.07767 111.268 6.987C111.971 6.89633 112.747 6.851 113.597 6.851L113.597 6.188C113.597 5.92733 113.552 5.70067 113.461 5.508C113.382 5.31533 113.235 5.16233 113.019 5.049C112.815 4.93567 112.526 4.879 112.152 4.879C111.778 4.879 111.472 4.92433 111.234 5.015C111.008 5.10567 110.843 5.22467 110.741 5.372C110.651 5.508 110.605 5.661 110.605 5.831L110.605 6.035L108.31 6.035C108.299 5.97833 108.293 5.92733 108.293 5.882C108.293 5.82533 108.293 5.75733 108.293 5.678C108.293 5.15667 108.452 4.709 108.769 4.335C109.087 3.94967 109.534 3.655 110.112 3.451C110.69 3.247 111.365 3.145 112.135 3.145C112.963 3.145 113.654 3.25267 114.209 3.468C114.776 3.68333 115.207 4.00067 115.501 4.42C115.807 4.83933 115.96 5.36633 115.96 6.001L115.96 10.064C115.96 10.268 116.017 10.421 116.13 10.523C116.255 10.6137 116.391 10.659 116.538 10.659L117.099 10.659L117.099 12.206C116.986 12.2627 116.81 12.3193 116.572 12.376C116.334 12.444 116.045 12.478 115.705 12.478C115.377 12.478 115.082 12.427 114.821 12.325C114.572 12.2343 114.362 12.104 114.192 11.934C114.022 11.7527 113.903 11.5373 113.835 11.288L113.716 11.288C113.524 11.526 113.286 11.7357 113.002 11.917C112.73 12.0983 112.407 12.24 112.033 12.342C111.671 12.444 111.251 12.495 110.775 12.495ZM111.574 10.71C111.892 10.71 112.175 10.6647 112.424 10.574C112.674 10.472 112.883 10.3417 113.053 10.183C113.223 10.013 113.354 9.809 113.444 9.571C113.546 9.333 113.597 9.078 113.597 8.806L113.597 8.313C112.963 8.313 112.396 8.35833 111.897 8.449C111.399 8.52833 111.002 8.67 110.707 8.874C110.424 9.078 110.282 9.36133 110.282 9.724C110.282 9.928 110.333 10.1037 110.435 10.251C110.537 10.3983 110.685 10.5117 110.877 10.591C111.07 10.6703 111.302 10.71 111.574 10.71Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M118.274 12.291L118.274 3.349L120.229 3.349L120.416 4.573L120.535 4.573C120.739 4.27833 120.982 4.02333 121.266 3.808C121.56 3.59267 121.889 3.42833 122.252 3.315C122.614 3.20167 123.011 3.145 123.442 3.145C124.031 3.145 124.547 3.25267 124.989 3.468C125.431 3.68333 125.771 4.02333 126.009 4.488C126.258 4.95267 126.383 5.559 126.383 6.307L126.383 12.291L124.02 12.291L124.02 6.681C124.02 6.39767 123.986 6.15967 123.918 5.967C123.85 5.763 123.748 5.59867 123.612 5.474C123.487 5.338 123.328 5.24167 123.136 5.185C122.943 5.12833 122.728 5.1 122.49 5.1C122.138 5.1 121.821 5.185 121.538 5.355C121.254 5.525 121.033 5.75733 120.875 6.052C120.716 6.34667 120.637 6.68667 120.637 7.072L120.637 12.291L118.274 12.291Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3Cpath d=%22M131.169 12.495C130.603 12.495 130.144 12.393 129.792 12.189C129.441 11.985 129.186 11.713 129.027 11.373C128.869 11.0217 128.789 10.6363 128.789 10.217L128.789 5.168L127.684 5.168L127.684 3.349L128.874 3.349L129.316 0.799L131.152 0.799L131.152 3.349L132.784 3.349L132.784 5.168L131.152 5.168L131.152 9.826C131.152 10.098 131.215 10.3077 131.339 10.455C131.464 10.591 131.668 10.659 131.951 10.659L132.784 10.659L132.784 12.223C132.648 12.2683 132.49 12.308 132.308 12.342C132.127 12.3873 131.934 12.4213 131.73 12.444C131.526 12.478 131.339 12.495 131.169 12.495Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/g%3E%3C/svg%3E") right bottom / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25));
}
.hdcw-fab.hdcw-shift { max-width: calc(100vw - 104px); }
.hdcw-fab:hover { transform: scale(1.02); }
.hdcw-fab svg { display: none; }

/* ---------- Header: 81px crimson band; wand 21x20 at x21, title block at
 * x61 (Archivo 800 16/18 over 400 13/14, both pure white — the widget's
 * .85 subtitle opacity is not in the artwork). Icons right: restart 17,
 * expand 16, close 15, tops at y23/24, right edge 18px in. */
.hdcw-panel .hdcw-head {
  height: 81px;
  box-sizing: border-box;
  padding: 0 18px 0 21px;
  gap: 0;
}
.hdcw-head::before {
  content: '';
  flex: 0 0 21px;
  height: 20px;
  margin-right: 19px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2221%22 height=%2220%22 viewBox=%220 0 21 20%22%3E%3Cpath d=%22M9.8775 0.183824L10.4325 1.53676L11.8125 2.08088C11.925 2.125 12 2.23529 12 2.35294C12 2.47059 11.925 2.58088 11.8125 2.625L10.4325 3.16912L9.8775 4.52206C9.8325 4.63235 9.72 4.70588 9.6 4.70588C9.48 4.70588 9.3675 4.63235 9.3225 4.52206L8.7675 3.16912L7.3875 2.625C7.275 2.58088 7.2 2.47059 7.2 2.35294C7.2 2.23529 7.275 2.125 7.3875 2.08088L8.7675 1.53676L9.3225 0.183824C9.3675 0.0735294 9.48 0 9.6 0C9.72 0 9.8325 0.0735294 9.8775 0.183824ZM4.15125 2.70956L4.9575 4.55147L6.83625 5.34191C7.0575 5.43382 7.2 5.64706 7.2 5.88235C7.2 6.11765 7.0575 6.33088 6.83625 6.42279L4.9575 7.21324L4.15125 9.05515C4.0575 9.27206 3.84 9.41177 3.6 9.41177C3.36 9.41177 3.1425 9.27206 3.04875 9.05515L2.2425 7.21324L0.36375 6.42279C0.1425 6.33088 0 6.11765 0 5.88235C0 5.64706 0.1425 5.43382 0.36375 5.34191L2.2425 4.55147L3.04875 2.70956C3.1425 2.49265 3.36 2.35294 3.6 2.35294C3.84 2.35294 4.0575 2.49265 4.15125 2.70956ZM17.4 12.3529C17.64 12.3529 17.8575 12.4926 17.9513 12.7096L18.7575 14.5515L20.6362 15.3419C20.8575 15.4338 21 15.6471 21 15.8824C21 16.1176 20.8575 16.3309 20.6362 16.4228L18.7575 17.2132L17.9513 19.0551C17.8575 19.2721 17.64 19.4118 17.4 19.4118C17.16 19.4118 16.9425 19.2721 16.8488 19.0551L16.0425 17.2132L14.1638 16.4228C13.9425 16.3309 13.8 16.1176 13.8 15.8824C13.8 15.6471 13.9425 15.4338 14.1638 15.3419L16.0425 14.5515L16.8488 12.7096C16.9425 12.4926 17.16 12.3529 17.4 12.3529ZM17.25 1.17647C17.6625 1.17647 18.06 1.33824 18.3563 1.625L19.9425 3.18015C20.235 3.47059 20.4 3.86029 20.4 4.26471C20.4 4.66912 20.235 5.05882 19.9425 5.34927L16.635 8.59191L12.8363 4.86765L16.1438 1.625C16.44 1.33824 16.8375 1.17647 17.25 1.17647ZM1.6575 15.8272L11.565 6.11397L15.3638 9.83824L5.45625 19.5515C5.16 19.8382 4.7625 20 4.35 20C3.9375 20 3.54 19.8382 3.24375 19.5515L1.6575 17.9963C1.365 17.7059 1.2 17.3162 1.2 16.9118C1.2 16.5074 1.365 16.1176 1.6575 15.8272Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/svg%3E") center / 21px 20px no-repeat;
}
.hdcw-head > div { margin-top: 6px; }   /* title top lands at y17 like 1:12 */
.hdcw-head b {
  font-size: 16px;
  font-weight: 800;
  line-height: 18px;
}
.hdcw-head small {
  opacity: 1;
  font-size: 13px;
  line-height: 14px;
  display: block;
  margin-top: 3px;
}
/* The widget's inline SVGs/&times; give way to the designer's exact icons. */
.hdcw-reset, .hdcw-exp, .hdcw-close {
  /* Flex items shrink by default: with a long dealer name in the title the
   * header row squeezes the buttons below their width and the centered
   * 19px background gets clipped on both sides (invisible on local, whose
   * placeholder name is short - Emanuel's devtools find). Never shrink. */
  flex: none;
  align-self: flex-start;
  width: 17px;
  height: 17px;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
}
/* Every glyph carries a 1px transparent bezel (viewBox -1 -1) so the
 * edge anti-aliasing isn't clipped by the button's paint box — drawn at
 * exactly the button size, the arc's outer AA pixels were eaten
 * ("bordas comidas"). Buttons grow by the bezel; margins shrink by it,
 * so the glyphs keep the artboard's optical positions. */
.hdcw-reset {
  width: 19px;
  height: 19px;
  margin-top: 22px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2219%22 height=%2219%22 viewBox=%22-1 -1 19 19%22%3E%3Cpath d=%22M3.68939e-06 8.5C3.68939e-06 13.1946 3.80545 17 8.5 17C13.1946 17 17 13.1946 17 8.5C17 3.80545 13.1946 0 8.5 0V1.7C10.0991 1.70013 11.6469 2.26377 12.8716 3.2919C14.0963 4.32004 14.9195 5.74689 15.1966 7.32175C15.4737 8.89662 15.1869 10.5188 14.3866 11.9031C13.5864 13.2875 12.3238 14.3456 10.8208 14.8915C9.31783 15.4374 7.67054 15.4361 6.16838 14.888C4.66622 14.3398 3.40529 13.2798 2.60714 11.8942C1.80898 10.5086 1.52466 8.88599 1.80413 7.31155C2.0836 5.73711 2.90898 4.31152 4.13525 3.28525L5.95 5.1V0H0.850003L2.9291 2.07995C2.00871 2.87715 1.27072 3.86315 0.765303 4.97095C0.259881 6.07874 -0.00113187 7.28236 3.68939e-06 8.5Z%22 fill=%22%23fff%22/%3E%3C/svg%3E");
  background-size: 19px 19px;
}
.hdcw-reset svg { display: none; }
.hdcw-exp {
  width: 18px;
  height: 18px;
  margin-top: 23px;
  margin-left: 15px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2218%22 height=%2218%22 viewBox=%22-1 -1 18 18%22%3E%3Cpath d=%22M0 0H5V2.5H2.5V5H0ZM11 0H16V5H13.5V2.5H11ZM16 11V16H11V13.5H13.5V11ZM5 16H0V11H2.5V13.5H5Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/svg%3E");
  background-size: 18px 18px;
}
.hdcw-exp svg { display: none; }
.hdcw-close {
  margin-top: 24px;
  margin-left: 18px;
  font-size: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cpath d=%22M15 1.74427L13.2557 0L7.5 5.75573L1.74427 0L0 1.74427L5.75573 7.5L0 13.2557L1.74427 15L7.5 9.24427L13.2557 15L15 13.2557L9.24427 7.5L15 1.74427Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/svg%3E");
  background-size: 15px 15px;
}

/* ---------- Bubbles. Bot: white, #E4E6EA border, square bottom-LEFT
 * corner, Archivo 400 16 on 20px leading, +1% tracking, 22px side insets,
 * capped at 334 of the 372px message column = 90% (16:169/16:170 et al).
 * User: #161616, square bottom-RIGHT corner, tracking 0 (42:676/677). */
.hdcw-msg {
  max-width: 90%;
  padding: 14px 22px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .01em;
}
.hdcw-bot { border-radius: 10px 10px 10px 0; }
/* Inline bold runs in answers are Archivo 600 (19:516 overrides), not the
 * browser's default 700. */
.hdcw-bot b, .hdcw-bot strong { font-weight: 600; }
.hdcw-user { border-radius: 10px 10px 0 10px; letter-spacing: 0; }
.hdcw-typing { border-radius: 10px 10px 10px 0; padding: 14px 22px; }
.hdcw-status {
  font-style: normal;                      /* 19:537 is upright Archivo */
  font-size: 12px;
  line-height: 13px;
}

/* ---------- Openers: 59px gradient lozenges, r10. The gradient starts
 * flat #971C30 and only ramps over the right half (handle start at
 * 36.6% -> CSS stops 35.9%/79.6% at 97deg), so the #961B2F cap band melts
 * into it — the artboard reads as ONE subtle gradient, not a two-tone.
 * The glyphs are NOT centered in the cap: they straddle its seam, centered
 * on x71.5 (browse 25px at x59, wand-car 28px at x58 — 6002:542/6002:535),
 * so they float on the dark end of the gradient. Label center sits at
 * x203 (text 1:20 at abs x123, 192 wide -> padding-left 38). ::before
 * spans the whole button so its border-radius clips the cap's corners and
 * the glyph can overhang the 71px band; each opener paints glyph + cap as
 * two background layers. 15px between lozenges (y210/284/358). */
.hdcw-opener { gap: 15px; margin-top: 10px; }
.hdcw-opener button {
  position: relative;
  min-height: 59px;
  border-radius: 10px;
  padding: 13px 0 13px 38px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(97deg, #971C30 35.9%, #F33251 79.6%);
}
.hdcw-opener button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(#961B2F, #961B2F) 0 0 / 71px 100% no-repeat;
}
.hdcw-opener .hdcw-op-used::before,
.hdcw-opener .hdcw-op-new::before {
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2225%22 height=%2225%22 viewBox=%220 0 25 25%22%3E%3Cpath d=%22M11.1293 0C14.081 1.16289e-15 16.9118 1.17252 18.9989 3.25961C21.0861 5.3467 22.2586 8.1774 22.2586 11.129C22.2616 13.6286 21.419 16.0558 19.8678 18.0159L24.6521 22.8C24.8818 23.0487 25.0064 23.3766 24.9997 23.7151C24.9931 24.0536 24.8558 24.3763 24.6165 24.6158C24.3771 24.8553 24.0545 24.9929 23.716 24.9997C23.3775 25.0066 23.0495 24.8822 22.8007 24.6527L18.0164 19.8672C16.0562 21.4184 13.629 22.261 11.1293 22.258C8.17763 22.258 5.34685 21.0855 3.2597 18.9984C1.17255 16.9113 5.81459e-16 14.0806 0 11.129C5.81459e-16 8.1774 1.17255 5.3467 3.2597 3.25961C5.34685 1.17252 8.17763 1.74433e-15 11.1293 0ZM11.1293 5.89182C10.8562 5.89193 10.5899 5.97744 10.3678 6.13638C10.1457 6.29533 9.97889 6.51974 9.89067 6.77821L9.72046 7.27313C9.32766 8.424 8.42422 9.32872 7.27202 9.72151L6.7784 9.8904C6.52021 9.97888 6.29611 10.1458 6.13746 10.3679C5.9788 10.59 5.89351 10.8561 5.89351 11.129C5.89351 11.4019 5.9788 11.668 6.13746 11.8901C6.29611 12.1122 6.52021 12.2791 6.7784 12.3676L7.27332 12.5378C8.42422 12.9306 9.32897 13.834 9.72177 14.9862L9.89067 15.4798C9.97915 15.738 10.1461 15.9621 10.3682 16.1207C10.5903 16.2794 10.8564 16.3646 11.1293 16.3646C11.4022 16.3646 11.6683 16.2794 11.8904 16.1207C12.1125 15.9621 12.2795 15.738 12.3679 15.4798L12.5381 14.9849C12.9309 13.834 13.8344 12.9293 14.9866 12.5365L15.4802 12.3676C15.7384 12.2791 15.9625 12.1122 16.1211 11.8901C16.2798 11.668 16.3651 11.4019 16.3651 11.129C16.3651 10.8561 16.2798 10.59 16.1211 10.3679C15.9625 10.1458 15.7384 9.97888 15.4802 9.8904L14.9853 9.7202C14.4172 9.52629 13.9011 9.20478 13.4767 8.78035C13.0523 8.35592 12.7307 7.83987 12.5368 7.27182L12.3679 6.77821C12.2797 6.51974 12.1129 6.29533 11.8908 6.13638C11.6687 5.97744 11.4024 5.89193 11.1293 5.89182Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/svg%3E") 59px center / 25px 25px no-repeat,
    linear-gradient(#961B2F, #961B2F) 0 0 / 71px 100% no-repeat;
}
.hdcw-opener .hdcw-op-alert::before {
  /* Stock Alert (DS-217) has no artboard in this dealer's file — a plain
   * white bell on the siblings' x71.5 center line. */
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23fff%22 d=%22M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5S10.5 3.17 10.5 4v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z%22/%3E%3C/svg%3E") 58px center / 26px 26px no-repeat,
    linear-gradient(#961B2F, #961B2F) 0 0 / 71px 100% no-repeat;
}
.hdcw-opener .hdcw-op-quiz::before {
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2228%22 height=%2228%22 viewBox=%220 0 28 28%22%3E%3Cpath d=%22M24.3618 14.056L22.6546 8.918C22.4693 8.35925 22.1126 7.87316 21.6353 7.52884C21.158 7.18451 20.5844 6.99946 19.996 7L8.01798 7C6.81459 7 5.75112 7.77 5.35931 8.918L3.65217 14.056C2.37881 14.322 1.41329 15.442 1.41329 16.8L1.41329 21C1.41624 21.4886 1.54695 21.968 1.79243 22.3904C2.03791 22.8129 2.38962 23.1637 2.81259 23.408L2.81259 26.6C2.81259 27.37 3.44228 28 4.21189 28L5.61119 28C6.3808 28 7.01049 27.37 7.01049 26.6L7.01049 23.8L21.0035 23.8L21.0035 26.6C21.0035 27.37 21.6332 28 22.4028 28L23.8021 28C24.5717 28 25.2014 27.37 25.2014 26.6L25.2014 23.408C25.6243 23.1637 25.9761 22.8129 26.2215 22.3904C26.467 21.968 26.5977 21.4886 26.6007 21L26.6007 16.8C26.6007 15.442 25.6352 14.322 24.3618 14.056ZM4.21189 18.9C4.21189 17.738 5.14942 16.8 6.31084 16.8C7.47226 16.8 8.40979 17.738 8.40979 18.9C8.40979 20.062 7.47226 21 6.31084 21C5.14942 21 4.21189 20.062 4.21189 18.9ZM19.6042 18.9C19.6042 17.738 20.5417 16.8 21.7031 16.8C22.8645 16.8 23.8021 17.738 23.8021 18.9C23.8021 20.062 22.8645 21 21.7031 21C20.5417 21 19.6042 20.062 19.6042 18.9ZM19.996 9.8L21.3953 14L6.61868 14L8.01798 9.8L19.996 9.8ZM3.91804 8.218C3.97401 8.33 4.08595 8.4 4.21189 8.4C4.33783 8.4 4.44977 8.33 4.50574 8.218L5.65317 5.74L8.22788 4.494C8.33982 4.438 8.40979 4.326 8.40979 4.2C8.40979 4.074 8.33982 3.962 8.22788 3.906L5.73713 2.66L4.49175 0.168C4.37981 -0.056 4.02998 -0.056 3.91804 0.168L2.67266 2.66L0.181909 3.906C0.0699648 3.962 0 4.074 0 4.2C0 4.326 0.0699648 4.438 0.181909 4.494L2.65867 5.642L3.90404 8.232L3.91804 8.218ZM19.4083 5.474C19.4503 5.544 19.5202 5.6 19.6042 5.6C19.6881 5.6 19.7581 5.544 19.8001 5.474L20.5557 3.822L22.2768 2.996C22.3468 2.954 22.4028 2.884 22.4028 2.8C22.4035 2.75854 22.3919 2.7178 22.3695 2.68292C22.3471 2.64804 22.3148 2.62058 22.2768 2.604L20.6257 1.778L19.8001 0.112C19.7301 -0.028 19.4922 -0.028 19.4083 0.112L18.5827 1.778L16.9315 2.604C16.8616 2.646 16.8056 2.716 16.8056 2.8C16.8056 2.884 16.8616 2.954 16.9315 2.996L18.5827 3.766L19.4083 5.488L19.4083 5.474ZM26.2229 4.578L25.3973 2.912C25.3273 2.772 25.0894 2.772 25.0055 2.912L24.1799 4.578L22.5287 5.404C22.4587 5.446 22.4028 5.516 22.4028 5.6C22.4028 5.684 22.4587 5.754 22.5287 5.796L24.1799 6.566L25.0055 8.288C25.0475 8.358 25.1174 8.414 25.2014 8.414C25.2853 8.414 25.3553 8.358 25.3973 8.288L26.1529 6.636L27.874 5.81C27.944 5.768 28 5.698 28 5.614C28.0007 5.57254 27.9891 5.5318 27.9667 5.49692C27.9443 5.46204 27.912 5.43458 27.874 5.418L26.2229 4.592L26.2229 4.578Z%22 fill=%22%23fff%22 fill-rule=%22nonzero%22/%3E%3C/svg%3E") 58px center / 28px 28px no-repeat,
    linear-gradient(#961B2F, #961B2F) 0 0 / 71px 100% no-repeat;
}
/* "Something else" (2023:430): #EEEEEE, 1px crimson outline, black 600 18,
 * full-width label, no cap band. */
.hdcw-opener .hdcw-else {
  background: #EEEEEE;
  border: 1px solid #971C30;
  color: #000;
  padding: 13px 0;
  font-weight: 600;
}
.hdcw-opener .hdcw-else::before { content: none; }
.hdcw-opener .hdcw-else:hover { background: #fff; opacity: 1; }

/* Context CTA ("Tell me about this car" / "...the <model>", 19:683): a
 * solid pill with the label centered across the full width — not a capped
 * lozenge. Artwork: 349x50, r25, #961B2F, 600 16. */
.hdcw-opener .hdcw-op-ctx {
  background: #961B2F;
  color: #fff;
  border: 0;
  border-radius: 25px;
  min-height: 50px;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 17.5px;
}
.hdcw-opener .hdcw-op-ctx::before { content: none; }
.hdcw-opener .hdcw-op-ctx:hover { background: #961B2F; opacity: .9; }

/* ---------- Chips (16:208/209): 31px pills, r25, 1px crimson outline on
 * the bare surface (no fill in the artwork), black Archivo 400 14 on 13px
 * leading, -1% tracking. Section heads POPULAR/LIFESTYLE/MAKES are Archivo
 * 700 11 #6D6D6D with no extra tracking. */
.hdcw-chip {
  border-color: #971C30;
  color: #000;
  background: none;
  border-radius: 25px;
  min-height: 31px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 13px;
  letter-spacing: -.01em;
}
.hdcw-chip:hover { background: #971C30; color: #fff; }
.hdcw-chip--sel { box-shadow: inset 0 0 0 1px #971C30; }
.hdcw-ghead { letter-spacing: 0; line-height: 12px; }

/* ---------- Car cards ("csr search" 19:566): 176x244, white, #E4E6EA
 * border, r10 — the 113px photo is a plain square rectangle laid over the
 * top corners, so the radius lives on the bottom only (kcd2 corner rule).
 * One flush split action bar across the card foot: Details 77px outlined /
 * I'm Interested 99px filled crimson, both 31px tall with 13/13 -1%
 * labels and the bottom corners carrying the card's 10px. */
.hdcw-car {
  border-radius: 0 0 10px 10px;
  border-color: #E4E6EA;
}
.hdcw-car img.hdcw-carimg, .hdcw-car .hdcw-noimg { height: 113px; }
.hdcw-car .hdcw-carbody { padding: 9px 12px 0; }
/* New-car range cards (2-col photo grid, CON-823) end in the title text —
 * no flush action bar — so they need real bottom/side breathing room;
 * there is no artboard for these, spacing follows the used-card insets. */
.hdcw-ncgrid .hdcw-carbody { padding: 12px 14px 14px; }
.hdcw-ncgrid h4.hdcw-cartitle { max-height: none; }
.hdcw-car h4.hdcw-cartitle {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: .01em;
  max-height: 28px;                       /* two 14px lines (4002:512) */
}
.hdcw-car .hdcw-price {
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: .01em;
}
.hdcw-car .hdcw-mo {
  color: #971C30;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.hdcw-car .hdcw-meta {
  color: #1B1B1B;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0;
  margin-top: 0;
}
.hdcw-car .hdcw-actions { margin: 8px 0 0; gap: 0; }
.hdcw-car .hdcw-pick {
  flex: 77 0 0;
  border: 1px solid #961B2F;
  border-radius: 0 0 0 10px;
  min-height: 31px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 13px;
  letter-spacing: -.01em;
  color: #000;
}
.hdcw-car .hdcw-pick--primary {
  flex: 99 0 0;
  background: #971C30;
  color: #fff;
  border-radius: 0 0 10px 0;
}
.hdcw-cars { gap: 14px; }

/* ---------- Footer (24:712): white band; input 51px, r25, 1px #961B2F,
 * Archivo 400 15 placeholder 27px in; 52px gradient send circle 7px away
 * (square shape -> 128deg; handle start at 36.6% projects to stops
 * 20.5%/60.3%); disclosure Archivo 400 12/15 #161616, underlined T&C. */
.hdcw-input {
  padding: 20px 21px 11px;
  gap: 7px;
  border-top: 0;
}
.hdcw-input input {
  box-sizing: border-box;
  height: 51px;                            /* 24:705 exactly */
  border-radius: 25px;
  padding: 0 27px;
  font-size: 15px;
  line-height: 49px;                       /* height minus the 1px borders — vertically centers the single line */
  letter-spacing: .01em;
}
.hdcw-input input:focus { border-color: #961B2F; }
.hdcw-send {
  width: 52px;
  height: 52px;
  padding: 0;                              /* UA/site button padding would shift the glyph */
  background: linear-gradient(128deg, #971C30 20.5%, #F33251 60.3%);
}
.hdcw-send svg { display: none; }
.hdcw-send::before {
  content: '';
  width: 52px;
  height: 52px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2217.9454%22 height=%2217.327%22 viewBox=%220 0 17.9454 17.327%22%3E%3Cpath d=%22M0.0193957 3.336C-0.240604 1.002 2.1624 -0.711999 4.2854 0.294001L16.2294 5.952C18.5174 7.035 18.5174 10.291 16.2294 11.374L4.2854 17.033C2.1624 18.039 -0.239604 16.325 0.0193957 13.991L0.499396 9.663L8.6174 9.663C8.88261 9.663 9.13697 9.55764 9.3245 9.37011C9.51204 9.18257 9.6174 8.92822 9.6174 8.663C9.6174 8.39778 9.51204 8.14343 9.3245 7.95589C9.13697 7.76836 8.88261 7.663 8.6174 7.663L0.500396 7.663L0.0193957 3.336Z%22 fill=%22%23fff%22 fill-rule=%22evenodd%22/%3E%3C/svg%3E") 19px 17px / 18px 17px no-repeat;
}
.hdcw-powered {
  font-size: 12px;
  line-height: 15px;
  letter-spacing: .01em;
  padding: 0 45px 17px;
}
/* The artwork's disclosure (2008:473) is ONE centered paragraph in a narrow
 * block, wrapping naturally to two lines — the widget marks it up as two
 * stacked divs, the long one running edge to edge into the panel's rounded
 * corners. Flowing the divs inline inside the artwork's own block width
 * reproduces the artboard's wrap. */
.hdcw-powered > div { display: inline; }
/* the artwork joins the two sentences as "Powered by HappyDealer.   AI can
 * make mistakes." — restore the period + gap the inline flow swallowed */
.hdcw-powered > div:first-child::after { content: '.  '; }

/* A themed input font-size under 16px would defeat the widget's iOS zoom
 * guard (equal specificity, theme loads last — CON-781/CON-853 trap), so
 * the guard is re-asserted here. */
@media (pointer: coarse) {
  .hdcw-input input { font-size: 16px; }
}

/* While the vehicle gallery is fullscreen the assistant hides entirely —
 * body.gallery-fullscreen is toggled by the JACS2 vehicle template off
 * simple-lightbox's own show/closed events (CON-853 mechanism; the
 * (0,2,1) specificity out-ranks every widget rule, order-proof). */
body.gallery-fullscreen .hdcw-fab,
body.gallery-fullscreen .hdcw-panel { display: none; }
