.aai-root{--aai-red:#ed1721;--aai-black:#101010;--aai-grey:#f5f5f5;--aai-line:#e8e8e8;--aai-text:#676767;box-sizing:border-box;width:100%;max-width:none!important;color:var(--aai-black);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55;text-align:left}
.aai-root *,.aai-root *:before,.aai-root *:after{box-sizing:border-box}.aai-root button,.aai-root textarea,.aai-root select{font-family:inherit}.aai-root button{cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}.aai-root a{text-decoration:none}.aai-container{width:min(100% - 48px,1680px);margin-inline:auto}.aai-topline{background:#171717;color:#fff}.aai-topline-inner{min-height:43px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;font-weight:700;letter-spacing:.12em}.aai-topline-inner>span:first-child{font-size:14px;letter-spacing:.03em}.aai-topline-inner b{color:var(--aai-red)}.aai-version{color:#999}.aai-online{color:#ddd}.aai-online i,.aai-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#35bf7b;vertical-align:middle;margin-right:7px;box-shadow:0 0 0 3px rgba(53,191,123,.14)}
.aai-intro{padding-top:43px;padding-bottom:33px}.aai-eyebrow{font-size:10px;letter-spacing:.22em;font-weight:800;display:flex;align-items:center;gap:10px}.aai-redline{height:2px;width:30px;background:var(--aai-red)}.aai-intro-line{display:flex;justify-content:space-between;gap:30px;align-items:end}.aai-intro h1{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-stretch:condensed;font-size:clamp(36px,4.1vw,66px);line-height:1.06;letter-spacing:.005em;font-weight:900;margin:13px 0 10px!important;color:#111}.aai-intro h1 span{color:var(--aai-red)}.aai-intro p{font-size:14px;color:#696969;max-width:710px;margin:0!important}.aai-intro-note{white-space:nowrap;letter-spacing:.07em;font-size:11px;font-weight:800;text-align:right;padding-bottom:6px}.aai-intro-note .aai-star{font-size:21px;color:var(--aai-red);vertical-align:middle;margin-right:5px}.aai-intro-note small{font-size:10px;color:#aaa;letter-spacing:.03em;font-weight:400}
.aai-workspace{display:grid;grid-template-columns:minmax(250px,.86fr) minmax(380px,1.75fr) minmax(290px,1.08fr);gap:14px;align-items:stretch;padding-bottom:24px;min-height:720px}.aai-profile,.aai-chat,.aai-products{min-width:0;background:#fff;border:1px solid var(--aai-line);display:flex;flex-direction:column}.aai-sidehead{min-height:65px;padding:17px 22px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--aai-line)}.aai-sidehead h2{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-size:21px;font-weight:700;line-height:1.1;letter-spacing:.025em;margin:0!important;color:#151515}.aai-number{color:var(--aai-red);font-size:11px;font-weight:900}.aai-sidehead-chat{background:#151515;border-bottom-color:#151515;color:#fff}.aai-sidehead-chat h2{color:#fff}.aai-status{margin-left:auto;font-size:9px;color:#adadad;white-space:nowrap;letter-spacing:.03em;font-weight:700}
.aai-profile-body{padding:25px 22px;flex:1;display:flex;flex-direction:column}.aai-section-label{font-size:11px;font-weight:900;letter-spacing:.06em;margin-bottom:15px}.aai-section-label span{font-size:9px;font-weight:400;color:#888}.aai-offset{margin-top:28px}.aai-sport-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.aai-choice{background:#f7f7f7;color:#262626;border:1px solid #efefef;display:flex;align-items:center;gap:8px;text-align:left;min-height:49px;font-weight:700;font-size:12px;padding:10px;border-radius:2px}.aai-choice span{font-size:17px;font-weight:400;line-height:1}.aai-choice:hover{border-color:#b8b8b8}.aai-choice.active{background:#fff1f1;border-color:var(--aai-red);color:var(--aai-red)}.aai-select,.aai-root textarea{border:1px solid #e3e3e3!important;background:#fafafa!important;outline:0!important;color:#222!important;border-radius:2px!important;box-shadow:none!important;font-size:12px!important;min-height:46px;padding:12px!important;width:100%;margin:0!important}.aai-select:focus,.aai-root textarea:focus{border-color:var(--aai-red)!important;box-shadow:none!important}.aai-root textarea{resize:vertical}.aai-reset{margin-top:21px;font-size:10px;font-weight:800;letter-spacing:.05em;color:#777;border:0;background:none;padding:4px 0;text-align:left}.aai-reset:hover{color:var(--aai-red)}.aai-profile-foot{margin-top:auto;padding-top:32px;display:flex;gap:10px;color:#858585;font-size:10px;line-height:1.5}.aai-shield{color:#28996b;font-size:19px;font-weight:900}
.aai-chat{background:#fafafa;min-height:680px}.aai-chat-scroll{flex:1;min-height:420px;max-height:690px;overflow-y:auto;overscroll-behavior:contain;padding:22px 23px 15px;scrollbar-width:thin;scrollbar-color:#ddd transparent}.aai-welcome{background:#fff;border:1px solid #ededed;padding:26px 24px}.aai-mark{width:51px;height:51px;background:#111;color:#fff;display:flex;justify-content:center;align-items:center;font-size:32px;font-weight:900;font-family:Impact,'Arial Narrow',Arial,sans-serif;position:relative;margin-bottom:23px}.aai-mark span{font-size:12px;color:var(--aai-red);position:absolute;right:4px;top:4px}.aai-hello{font-size:23px;font-weight:900;line-height:1.1;font-family:Impact,'Arial Narrow',Arial,sans-serif;margin-bottom:10px}.aai-hello span{color:var(--aai-red)}.aai-welcome p{color:#666;font-size:13px;line-height:1.7;margin:0 0 24px!important}.aai-suggestion-heading{font-size:10px;font-weight:900;letter-spacing:.08em;margin-bottom:11px}.aai-suggestions{display:flex;flex-direction:column;gap:7px}.aai-suggestions button{display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;border:1px solid #e9e9e9;background:#fff;color:#333;font-size:12px;font-weight:700;padding:10px 12px}.aai-suggestions button:hover{color:var(--aai-red);border-color:var(--aai-red)}.aai-suggestions button span{color:var(--aai-red);font-size:16px}
.aai-messages{display:flex;flex-direction:column}.aai-message{max-width:94%;margin:17px 0;display:flex;flex-direction:column;gap:6px}.aai-message.user{align-items:flex-end;margin-left:auto}.aai-msg-label{font-size:9px;font-weight:900;letter-spacing:.09em;color:#7a7a7a}.aai-msg-bubble{background:#fff;border:1px solid #e9e9e9;color:#333;padding:16px 18px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.aai-message.user .aai-msg-bubble{background:#222;color:#fff;border-color:#222}.aai-message.bot .aai-msg-label:before{content:'✦ ';color:var(--aai-red)}.aai-typing .aai-msg-bubble:after{content:' • • •';color:var(--aai-red);letter-spacing:3px;animation:aai-blink 1s infinite}@keyframes aai-blink{0%,100%{opacity:.45}50%{opacity:1}}.aai-inline-options{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.aai-inline-options button{background:#fff;border:1px solid #ddd;color:#555;padding:7px 10px;font-size:11px}.aai-inline-options button:hover{border-color:var(--aai-red);color:var(--aai-red)}.aai-compose{padding:16px 22px 13px;background:#fff;border-top:1px solid var(--aai-line);display:grid;grid-template-columns:1fr 104px;column-gap:8px}.aai-compose textarea{resize:none!important;min-height:58px!important;max-height:130px;line-height:1.4!important}.aai-send{background:var(--aai-red);color:#fff;border:0!important;display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;font-weight:900;letter-spacing:.04em;padding:12px}.aai-send:hover{background:#bb0c13}.aai-send:disabled{opacity:.55;cursor:wait}.aai-send span:last-child{font-size:18px}.aai-compose-note{grid-column:1/-1;padding-top:11px;font-size:9px;letter-spacing:.07em;color:#999}.aai-visually-hidden{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}
.aai-product-count{margin-left:auto;border-radius:50%;background:var(--aai-red);color:white;font-size:10px;font-weight:900;min-width:23px;height:23px;display:flex;align-items:center;justify-content:center}.aai-products-body{padding:20px 17px;flex:1;min-height:420px}.aai-empty{height:100%;min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}.aai-empty-graphic{position:relative;width:125px;height:125px;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.aai-empty-circle{width:95px;height:95px;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#cfcfcf;font-size:51px}.aai-empty-orbit{position:absolute;border:1px dashed #ddd;border-radius:50%;width:125px;height:125px;inset:0}.aai-empty h3{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-size:21px;margin:0 0 9px!important}.aai-empty p{font-size:12px;color:#777;max-width:255px;line-height:1.7;margin:0 auto 24px!important}.aai-empty-step{width:100%;text-align:left;padding:10px 0;border-top:1px solid #eee;display:flex;gap:13px;font-size:11px;color:#555}.aai-empty-step b{color:var(--aai-red)}.aai-empty-step span{margin-left:auto;color:#bbb}.aai-product-card{border:1px solid #e9e9e9;background:#fff;padding:12px;margin-bottom:12px}.aai-product-card-top{display:flex;gap:12px}.aai-prod-img{flex:none;width:103px;height:111px;background:#f8f8f8;display:flex;align-items:center;justify-content:center;overflow:hidden}.aai-prod-img img{width:100%!important;height:100%!important;object-fit:contain;mix-blend-mode:multiply}.aai-prod-info{flex:1;min-width:0}.aai-prod-brand{color:#999;font-size:9px;letter-spacing:.06em;font-weight:800;text-transform:uppercase}.aai-prod-title{font-size:12px;line-height:1.45;font-weight:800;color:#222;margin:6px 0 9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.aai-prod-price{font-size:16px;font-weight:900;line-height:1.3}.aai-prod-price del{color:#aaa;font-size:11px;font-weight:400;margin-right:4px}.aai-prod-price ins{color:var(--aai-red);text-decoration:none}.aai-prod-select{width:100%;border:1px solid #e5e5e5!important;background:#fafafa!important;color:#333!important;font-size:11px!important;max-width:none;padding:9px!important;margin:12px 0 9px!important;height:auto!important;border-radius:0!important}.aai-prod-add{width:100%;display:flex;gap:7px;justify-content:center;align-items:center;background:var(--aai-red)!important;color:#fff!important;border:0!important;padding:11px 12px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important;border-radius:0!important;min-height:42px}.aai-prod-add:hover{background:#c20d18!important}.aai-prod-add:disabled{opacity:.55;cursor:wait}.aai-prod-view{font-size:10px;text-align:center;display:block;margin-top:9px;color:#888!important;text-decoration:underline!important}.aai-products-footer{padding:15px 20px;border-top:1px solid var(--aai-line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.aai-cart-link{font-size:10px;font-weight:900;letter-spacing:.05em;color:#111!important}.aai-cart-link span{color:var(--aai-red);padding-left:5px;font-size:15px}.aai-cart-summary{font-size:10px;font-weight:700;color:#777}.aai-cart-summary b{color:var(--aai-red)}
.aai-disclaimer{padding-bottom:33px;display:flex;gap:7px;align-items:center;color:#888;font-size:10px;line-height:1.65}.aai-disclaimer>span:first-child{color:var(--aai-red);font-size:16px}.aai-digi{margin-left:auto;white-space:nowrap;font-size:9px;font-weight:900;letter-spacing:.1em}.aai-digi a{color:#222!important}.aai-toast{position:fixed;z-index:999999;right:28px;bottom:24px;padding:14px 20px;background:#161616;color:#fff;font-size:12px;line-height:1.5;box-shadow:0 7px 30px #0002;max-width:350px;opacity:0;pointer-events:none;transform:translateY(12px);transition:.2s}.aai-toast.show{opacity:1;transform:translateY(0)}.aai-toast.error{background:#bd151d}
@media(max-width:1260px){.aai-workspace{grid-template-columns:minmax(220px,.8fr) minmax(340px,1.4fr) minmax(255px,.95fr);gap:10px}.aai-sidehead{padding:16px}.aai-sidehead h2{font-size:19px}.aai-profile-body{padding:20px 15px}.aai-products-body{padding:12px}.aai-prod-img{width:85px;height:100px}.aai-intro-note{display:none}}
@media(max-width:1030px){.aai-workspace{grid-template-columns:minmax(240px,.78fr) minmax(420px,1.4fr)}.aai-products{grid-column:1/-1}.aai-products-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;min-height:0}.aai-empty{grid-column:1/-1;min-height:250px}.aai-product-card{margin-bottom:0}.aai-prod-img{width:76px;height:95px}.aai-chat-scroll{max-height:600px}}
@media(max-width:690px){.aai-container{width:min(100% - 26px,1680px)}.aai-topline-inner{min-height:38px;font-size:9px}.aai-topline-inner>span:first-child{font-size:13px}.aai-version{display:none}.aai-online{font-size:9px}.aai-intro{padding-top:30px;padding-bottom:24px}.aai-intro h1{font-size:42px}.aai-intro p{font-size:12px}.aai-workspace{display:flex;flex-direction:column;gap:12px}.aai-sidehead{min-height:55px}.aai-profile-body{padding:20px}.aai-sport-options{grid-template-columns:repeat(3,minmax(0,1fr))}.aai-choice{min-height:62px;flex-direction:column;justify-content:center;text-align:center;gap:3px;padding:6px;font-size:11px}.aai-profile-foot{padding-top:18px}.aai-chat{min-height:580px}.aai-chat-scroll{max-height:610px;min-height:380px;padding:13px}.aai-welcome{padding:20px}.aai-hello{font-size:22px}.aai-compose{padding:12px;grid-template-columns:1fr 78px}.aai-send{font-size:10px;flex-direction:column;gap:0}.aai-compose-note{font-size:8px}.aai-products-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.aai-product-card-top{display:block}.aai-prod-img{width:100%;height:125px;margin-bottom:7px}.aai-product-card{padding:9px}.aai-empty{grid-column:1/-1}.aai-product-count{min-width:20px;height:20px}.aai-disclaimer{display:block;padding-bottom:28px}.aai-disclaimer span{margin-right:3px}.aai-digi{display:block;margin:9px 0 0}}
@media(max-width:390px){.aai-sport-options{grid-template-columns:repeat(2,minmax(0,1fr))}.aai-intro h1{font-size:36px}.aai-products-body{grid-template-columns:1fr}.aai-product-card-top{display:flex}.aai-prod-img{width:100px;height:112px}}


/* ACTIVUS 0.1.1 | Ochrona kontrastu przed globalnymi stylami motywu.
 * Używamy ograniczonego selektora #aai-root i !important jedynie
 * dla właściwości, które motywy WooCommerce często nadpisują globalnie.
 */
#aai-root {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100vw - 32px) !important;
  max-width: calc(100vw - 32px) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #fff !important;
  color: #151515 !important;
}
#aai-root .aai-container {
  width: min(calc(100% - 48px), 1840px) !important;
  max-width: none !important;
}
/* Sportowe czarne kafelki zostają: naprawiamy ich kontrast. */
#aai-root button.aai-choice {
  background-color: #171717 !important;
  color: #fff !important;
  border: 1px solid #171717 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
#aai-root button.aai-choice:hover,
#aai-root button.aai-choice:focus-visible {
  border-color: #ed1721 !important;
  color: #fff !important;
  background-color: #303030 !important;
}
#aai-root button.aai-choice.active {
  color: #fff !important;
  background-color: #c7121e !important;
  border-color: #ed1721 !important;
  outline: 2px solid #ed1721 !important;
  outline-offset: 1px !important;
}
#aai-root button.aai-choice span {
  opacity: 1 !important;
}
/* Podpowiedzi mają zawsze biały tekst na czerni. */
#aai-root .aai-suggestions button {
  color: #fff !important;
  background-color: #171717 !important;
  border: 1px solid #171717 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  font-weight: 750 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
#aai-root .aai-suggestions button:hover,
#aai-root .aai-suggestions button:focus-visible {
  color: #fff !important;
  border-color: #ed1721 !important;
  background-color: #333 !important;
}
#aai-root .aai-suggestions button span {
  color: #ff4852 !important;
  font-size: 18px !important;
}
/* Nowy dialog: pytania pomocnicze i restart. */
#aai-root button.aai-reset {
  color: #fff !important;
  background-color: #171717 !important;
  border: 1px solid #171717 !important;
  padding: 10px 14px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  opacity: 1 !important;
  width: 100%;
}
#aai-root button.aai-reset:hover,
#aai-root button.aai-reset:focus-visible {
  color: #fff !important;
  background-color: #b80e17 !important;
  border-color: #b80e17 !important;
}
#aai-root .aai-inline-options button {
  background: #fff !important;
  border: 1px solid #c9c9c9 !important;
  color: #252525 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}
#aai-root .aai-inline-options button:hover,
#aai-root .aai-inline-options button:focus-visible {
  color: #bb131c !important;
  border-color: #bb131c !important;
}
/* Formularze i przyciski koszyka bez ciemnego tekstu na ciemnym tle. */
#aai-root .aai-send,
#aai-root .aai-prod-add {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
#aai-root .aai-send { background-color: #ed1721 !important; }
#aai-root .aai-send:hover { background-color: #b90e19 !important; }
#aai-root .aai-prod-add { background-color: #171717 !important; }
#aai-root .aai-prod-add:hover { background-color: #bd111c !important; }
#aai-root button:focus-visible,
#aai-root select:focus-visible,
#aai-root textarea:focus-visible {
  outline: 2px solid #ed1721 !important;
  outline-offset: 2px !important;
}
#aai-root .aai-select,
#aai-root .aai-prod-select,
#aai-root textarea {
  color: #181818 !important;
  background-color: #fafafa !important;
  opacity: 1 !important;
}
#aai-root textarea::placeholder { color: #626262 !important; opacity: 1 !important; }
#aai-root .aai-section-label { color: #181818 !important; }
#aai-root .aai-profile-foot,
#aai-root .aai-compose-note,
#aai-root .aai-disclaimer { color: #585858 !important; font-size: 11px !important; }
#aai-root .aai-prod-brand { color: #686868 !important; font-size: 10px !important; }
#aai-root .aai-prod-title { color: #161616 !important; font-size: 13px !important; }
#aai-root .aai-prod-price { color: #121212 !important; }
#aai-root .aai-msg-bubble { font-size: 13.5px !important; }
#aai-root .aai-cart-link { color: #151515 !important; }
#aai-root .aai-prod-view { color: #4a4a4a !important; }
@media (max-width: 690px) {
  #aai-root { width: 100% !important; max-width: 100% !important; left: auto !important; transform: none !important; }
  #aai-root .aai-container { width: min(calc(100% - 26px),1840px) !important; }
  #aai-root .aai-suggestions button { font-size: 12px !important; }
  #aai-root button.aai-choice { font-size: 11.5px !important; }
  #aai-root .aai-profile-foot,
  #aai-root .aai-compose-note { font-size: 10px !important; }
}


/* ACTIVUS v0.1.2 — korekta dla 32:9 (5120×1440) i typowego okna 2560×1440.
 * Sekcja może wyjść poza wąski kontener motywu, ale ma teraz twardą,
 * wyśrodkowaną granicę. Bez rozciągania do szerokości całego monitora.
 * Wartość --aai-app-max pozwala opcjonalnie dostroić układ w CSS klienta.
 */
#aai-root {
  --aai-app-max: 1560px;
  width: min(calc(100vw - 40px), var(--aai-app-max)) !important;
  max-width: min(calc(100vw - 40px), var(--aai-app-max)) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#aai-root .aai-container {
  width: min(calc(100% - 42px), 1500px) !important;
  max-width: none !important;
}
/* Wygląd i kontrast z 0.1.1 bez zmian. Link otwiera nową kartę. */
#aai-root .aai-prod-view:focus-visible {
  outline: 2px solid #ed1721 !important;
  outline-offset: 3px !important;
}
@media (max-width: 690px) {
  #aai-root {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    transform: none !important;
  }
  #aai-root .aai-container {
    width: min(calc(100% - 26px), 1500px) !important;
  }
}


/* v0.1.3 — rozciągnij tekst leadu w granicach dostępnego layoutu.
 * Jedyny wymóg łamania: rzeczywista szerokość urządzenia. */
#aai-root .aai-intro-line > div:first-child { flex: 1 1 auto; min-width: 0; }
#aai-root .aai-intro-line > div:first-child > p {
  max-width: none !important;
  width: 100% !important;
  inline-size: auto !important;
}
#aai-root .aai-intro-note { flex: 0 0 auto; }

/* v0.1.3 — przyciski dynamicznie zwracane po odpowiedzi AI.
 * Motyw wykorzystuje pseudo-elementy układane na przyciskach. Kasujemy je
 * tylko na naszych przyciskach, nie na pozostałych elementach sklepu. */
#aai-root .aai-inline-options > button.aai-followup,
#aai-root .aai-inline-options > button.aai-followup:link,
#aai-root .aai-inline-options > button.aai-followup:visited,
#aai-root .aai-suggestions > button {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #171717 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #171717 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  text-transform: none !important;
  isolation: isolate;
  position: relative;
  text-align: left;
  padding: 11px 13px !important;
  cursor: pointer;
}
#aai-root .aai-inline-options > button.aai-followup::before,
#aai-root .aai-inline-options > button.aai-followup::after,
#aai-root .aai-suggestions > button::before,
#aai-root .aai-suggestions > button::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
#aai-root .aai-inline-options > button.aai-followup span,
#aai-root .aai-suggestions > button span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
  text-shadow: none !important;
  position: relative;
  z-index: 1;
}
#aai-root .aai-inline-options > button.aai-followup:hover,
#aai-root .aai-inline-options > button.aai-followup:focus-visible,
#aai-root .aai-suggestions > button:hover,
#aai-root .aai-suggestions > button:focus-visible {
  background: #b90e19 !important;
  border-color: #b90e19 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#aai-root .aai-inline-options > button.aai-followup {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 13px !important;
  max-width: 100%;
  white-space: normal !important;
}
#aai-root .aai-inline-options .aai-followup-arrow {
  color: #ff5a63 !important;
  -webkit-text-fill-color: #ff5a63 !important;
  font-size: 15px !important;
  flex: 0 0 auto;
}
@media(max-width:690px){
  #aai-root .aai-intro-line > div:first-child > p { max-width: none !important; }
  #aai-root .aai-inline-options > button.aai-followup { width: 100%; }
}


/* ACTIVUS AI ADVISOR v0.1.9 — TABLET / MOBILE: one document scroll.
 * Product recommendations are rendered BELOW the conversation at <= 1030px.
 * The previous 600/610px nested chat scroller with overscroll-behavior:contain
 * trapped swipe gestures and prevented access to the composer/products.
 * Desktop (>1030px): preserve the 3-column UI and its independent chat scroll.
 */
@media (max-width: 1030px) {
  #aai-root .aai-workspace {
    min-height: 0 !important;
    height: auto !important;
  }
  #aai-root .aai-chat {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  #aai-root .aai-chat-scroll {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
  }
  #aai-root .aai-profile { align-self: start; }
  #aai-root .aai-products,
  #aai-root .aai-products-body { height: auto !important; overflow: visible !important; }
  #aai-root .aai-message.bot { scroll-margin-top: 68px; }
  #aai-root #aai-products,
  #aai-root #aai-form { scroll-margin-top: 68px; }
}
/* Links remain accessible in every layout but only become visible
 * when product cards are below the conversation rather than beside it. */
#aai-root .aai-products-jump,
#aai-root .aai-mobile-back { display: none !important; }
@media (max-width: 1030px) {
  #aai-root button.aai-products-jump {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 47px;
    background: #ed1721 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border: 1px solid #ed1721 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 12px 14px !important;
    margin: 9px 0 20px !important;
    text-align: center;
    line-height: 1.4 !important;
    text-shadow: none !important;
    position: relative;
    cursor: pointer;
  }
  #aai-root button.aai-products-jump::before,
  #aai-root button.aai-products-jump::after { content: none !important; display: none !important; }
  #aai-root button.aai-products-jump:hover,
  #aai-root button.aai-products-jump:focus-visible { background: #b90e19 !important; }
  #aai-root .aai-mobile-back {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: underline !important;
    font-size: 11px;
    font-weight: 800;
    color: #171717 !important;
  }
}
@media (max-width: 690px) {
  #aai-root .aai-profile { align-self: stretch; }
  #aai-root .aai-chat-scroll { padding: 13px !important; }
  #aai-root .aai-message { max-width: 100%; }
  #aai-root .aai-compose { min-width: 0; }
  #aai-root .aai-compose textarea { min-width: 0; }
}
