/* Fringues Tendance Assistant UI v5. */
.ftsa-app { --ftsa-blue:#0878b8; --ftsa-blue-dark:#075f93; --ftsa-dark:#244158; --ftsa-orange:#e8500a; --ftsa-line:#d9e5ed; --ftsa-soft:#f2f6f8; min-width:0; max-width:100%; color:#344b60; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important; line-height:1.5; }
.ftsa-app button,.ftsa-app textarea,.ftsa-app input,.ftsa-app select,.ftsa-app h1,.ftsa-app h2,.ftsa-app h3,.ftsa-app h4 { font-family:inherit!important; }
.ftsa-app * { box-sizing:border-box; }
.ftsa-shell { display:flex; flex-direction:column; overflow:hidden; min-height:620px; height:min(760px,calc(100vh - 120px)); border:1px solid var(--ftsa-line); border-radius:16px; background:#fff; box-shadow:0 18px 50px rgba(25,55,77,.16); }
.ftsa-header { position:relative; z-index:30; flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:15px; overflow:visible; padding:11px 20px; color:#fff; background:linear-gradient(135deg,#075f93,var(--ftsa-blue)); }
.ftsa-header > div:first-child { display:flex; align-items:baseline; gap:14px; min-width:0; }
.ftsa-header small { flex:0 0 auto; letter-spacing:.12em; opacity:.8; white-space:nowrap; }
.ftsa-header h2 { min-width:0; margin:0; color:#fff; font-size:20px; font-weight:750; line-height:1.3; white-space:nowrap; }
.ftsa-header-actions { position:relative; z-index:2; display:flex; gap:5px; }
.ftsa-header-actions > * { position:relative; }
.ftsa-control-tooltip { position:absolute; top:calc(100% + 8px); right:0; z-index:40; display:block; width:max-content; max-width:240px; border-radius:6px; padding:6px 9px; color:#fff; background:#172b3a; box-shadow:0 5px 16px rgba(0,0,0,.22); font-size:11px; font-weight:600; line-height:1.3; opacity:0; pointer-events:none; transform:translateY(-3px); transition:opacity .12s ease,transform .12s ease; white-space:normal; }
.ftsa-header-actions > *:hover .ftsa-control-tooltip,.ftsa-header-actions > *:focus-visible .ftsa-control-tooltip { opacity:1; transform:translateY(0); }
.ftsa-close,.ftsa-expand,.ftsa-focus-toggle { display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:50%; padding:0; color:#fff!important; background:rgba(255,255,255,.15); font-size:20px; line-height:1; text-decoration:none!important; cursor:pointer; }
.ftsa-close:hover,.ftsa-expand:hover,.ftsa-focus-toggle:hover,.ftsa-close:focus-visible,.ftsa-expand:focus-visible,.ftsa-focus-toggle:focus-visible { color:#fff!important; background:rgba(255,255,255,.28); outline:2px solid rgba(255,255,255,.8); outline-offset:2px; }
.ftsa-focus-icon,.ftsa-focus-icon svg { display:block; width:18px; height:18px; }
.ftsa-focus-icon svg { fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.ftsa-icon-compress { display:none!important; }
.ftsa-focus-mode .ftsa-icon-expand { display:none!important; }
.ftsa-focus-mode .ftsa-icon-compress { display:block!important; }
.ftsa-content { flex:1 1 auto; display:grid; grid-template-columns:250px minmax(0,1fr); min-height:0; transition:grid-template-columns .18s ease; }
.ftsa-history-collapsed .ftsa-content { grid-template-columns:56px minmax(0,1fr); }
.ftsa-history-panel { min-width:0; overflow:auto; padding:16px 12px; border-right:1px solid var(--ftsa-line); background:#f6f8fa; }
.ftsa-history-panel h3 { margin:20px 8px 8px; color:#647789; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ftsa-history-toolbar { display:block; }
.ftsa-history-sidebar-toggle { display:grid; place-items:center; width:36px; height:36px; margin:0 0 9px; border:1px solid transparent; border-radius:8px; padding:0; color:#526b7d; background:transparent; cursor:pointer; }
.ftsa-history-sidebar-toggle:hover,.ftsa-history-sidebar-toggle:focus-visible { border-color:#bfd5e2; color:var(--ftsa-blue-dark); background:#e5f1f7; outline:none; }
.ftsa-history-sidebar-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ftsa-history-toggle { border:0; padding:0; color:inherit; background:transparent; font:inherit; letter-spacing:inherit; text-transform:inherit; cursor:pointer; }
.ftsa-history-toggle-mobile { display:none; }
.ftsa-new-chat { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; min-width:0; border:1px solid #bfd5e2; border-radius:10px; padding:10px 9px; color:var(--ftsa-blue-dark); background:#fff; font-size:15px!important; font-weight:800; line-height:1.2!important; text-align:center; white-space:nowrap; cursor:pointer; }
.ftsa-new-chat:hover,.ftsa-new-chat:focus-visible { border-color:var(--ftsa-blue); background:#eaf5fa; }
.ftsa-new-chat span { font-size:18px; line-height:1; }
.ftsa-history-list { display:grid; gap:4px; }
.ftsa-history-item { width:100%; overflow:hidden; border:0; border-radius:8px; padding:9px 10px; color:#3f566a; background:transparent; font:inherit; font-size:13px; text-align:left; text-overflow:ellipsis; white-space:nowrap; }
.ftsa-history-item:hover,.ftsa-history-item[aria-current="true"] { color:#075f93; background:#e5f1f7; }
.ftsa-history-empty { margin:8px; color:#8797a4; font-size:12px; }
.ftsa-clear-history { width:100%; margin-top:14px; border:0; padding:7px 5px; color:#7b4a43; background:transparent; font-size:11px; text-align:left; text-decoration:underline; cursor:pointer; }
.ftsa-clear-history:hover,.ftsa-clear-history:focus-visible { color:#a42618; }
.ftsa-clear-history:disabled { opacity:.55; cursor:wait; }
.ftsa-clear-history-mobile { display:none; }
.ftsa-history-collapsed .ftsa-history-panel { overflow:hidden; padding:12px 6px; }
.ftsa-history-collapsed .ftsa-new-chat { width:42px; height:42px; padding:0; font-size:0!important; }
.ftsa-history-collapsed .ftsa-new-chat-label,.ftsa-history-collapsed .ftsa-history-list,.ftsa-history-collapsed .ftsa-clear-history { display:none; }
.ftsa-history-collapsed .ftsa-history-toolbar { display:none; }
.ftsa-history-collapsed .ftsa-history-sidebar-toggle { width:42px; }
.ftsa-conversation { display:flex; flex-direction:column; min-width:0; min-height:0; background:#fff; }
.ftsa-messages { flex:1 1 auto; display:flex; flex-direction:column; gap:8px; overflow:auto; min-height:0; padding:12px clamp(14px,3vw,38px); scrollbar-gutter:stable; scroll-behavior:smooth; }
.ftsa-message { flex:0 0 auto; max-width:min(720px,88%); margin:0; padding:9px 13px; border-radius:14px 14px 14px 4px; background:var(--ftsa-soft); font-size:14px; overflow-wrap:anywhere; }
.ftsa-message.ftsa-user { align-self:flex-end; border-radius:14px 14px 4px 14px; color:#fff; background:var(--ftsa-blue); }
.ftsa-user-turn { align-self:flex-end; display:flex; flex:0 0 auto; flex-direction:column; align-items:flex-end; max-width:88%; }
.ftsa-user-turn .ftsa-message.ftsa-user { max-width:100%; }
.ftsa-user-meta { display:flex; align-items:center; gap:8px; min-height:22px; padding:3px 3px 0; color:#718494; font-size:10px; }
.ftsa-prompt-time { margin-right:2px; font-variant-numeric:tabular-nums; }
.ftsa-prompt-action { border:0!important; padding:2px 3px!important; color:#547086!important; background:transparent!important; font-size:10px!important; font-weight:650!important; line-height:1.2!important; cursor:pointer; }
.ftsa-prompt-action:hover,.ftsa-prompt-action:focus-visible { color:var(--ftsa-blue-dark)!important; text-decoration:underline; outline:none; }
.ftsa-message.ftsa-error { border-left:4px solid #b43b3b; color:#7b2525; background:#fff0f0; }
.ftsa-loading-message { min-width:190px; }
.ftsa-loading-indicator { display:inline-flex; align-items:center; gap:9px; }
.ftsa-loading-spinner { display:inline-block; width:16px; height:16px; flex:0 0 16px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:ftsa-loading-spin .8s linear infinite; }
@keyframes ftsa-loading-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ftsa-loading-spinner { animation:none; border-right-color:currentColor; } }
.ftsa-message > :first-child { margin-top:0; }
.ftsa-message > :last-child { margin-bottom:0; }
.ftsa-message > p { margin:0 0 13px; line-height:1.65; }
.ftsa-message > h4 { margin:0 0 6px; color:var(--ftsa-dark); font-size:15px; line-height:1.35; }
.ftsa-message > ul { margin:8px 0 14px; padding-left:23px; }
.ftsa-message > li,.ftsa-message li { margin:7px 0; line-height:1.55; }
.ftsa-message code { border-radius:4px; padding:1px 4px; background:#e4edf2; font-size:.92em; }
.ftsa-message.ftsa-refinement-prompt { width:100%; max-width:none; max-height:400px; align-self:stretch; box-sizing:border-box; overflow:hidden; border-left:3px solid var(--ftsa-blue); background:#eef7fb; transition:max-height .18s ease,opacity .18s ease,padding .18s ease,border-color .18s ease; }
.ftsa-app.ftsa-is-scrolling .ftsa-refinement-prompt { max-height:0; padding-top:0; padding-bottom:0; border-left-color:transparent; opacity:0; pointer-events:none; }
.ftsa-messages > .ftsa-refinement-prompt { margin-top:0; }
.ftsa-refinement-query { margin:0 0 7px!important; color:var(--ftsa-dark); overflow-wrap:anywhere; }
.ftsa-refinement-invitation { margin:0 0 9px!important; }
.ftsa-refinement-options { display:flex; flex-wrap:wrap; gap:6px; }
.ftsa-refinement-option { border:1px solid #9dc9df; border-radius:999px; padding:5px 9px; color:var(--ftsa-blue-dark); background:#fff; font-size:11px; font-weight:650; line-height:1.25; cursor:pointer; }
.ftsa-refinement-option:hover,.ftsa-refinement-option:focus-visible { border-color:var(--ftsa-blue); color:#fff; background:var(--ftsa-blue); outline:none; }
.ftsa-product-turn { flex:0 0 auto; display:grid; grid-auto-rows:max-content; align-content:start; gap:12px; width:calc(100% - 12px); min-width:0; max-width:100%; max-height:460px; margin-right:12px; overflow-x:hidden; overflow-y:auto; padding:2px 8px 8px 0; scrollbar-gutter:stable; }
.ftsa-products-intro { margin:0; border-left:3px solid var(--ftsa-blue); border-radius:8px; padding:8px 11px; color:var(--ftsa-dark); background:#eef7fb; font-size:14px; font-weight:700; }
.ftsa-product { position:relative; display:grid; grid-template-columns:132px minmax(0,1fr); gap:14px; overflow:hidden; width:100%; min-width:0; max-width:100%; border:1px solid var(--ftsa-line); border-radius:13px; background:#fff; box-shadow:0 5px 18px rgba(28,60,82,.07); cursor:pointer; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.ftsa-product:hover { border-color:#8bbbd5; box-shadow:0 10px 28px rgba(28,60,82,.14); transform:translateY(-1px); }
.ftsa-card-overlay { position:absolute; inset:0; z-index:1; border-radius:inherit; }
.ftsa-card-overlay:focus-visible { outline:3px solid rgba(8,120,184,.5); outline-offset:-4px; }
.ftsa-product > img { position:relative; z-index:2; width:132px; height:100%; min-height:156px; object-fit:contain; padding:10px; background:#fff; pointer-events:none; }
.ftsa-product-body { position:relative; z-index:2; min-width:0; padding:13px 13px 13px 0; pointer-events:none; }
.ftsa-product h3 { margin:0 0 3px; color:var(--ftsa-dark); font-size:16px; line-height:1.35; overflow-wrap:anywhere; }
.ftsa-product p { margin:5px 0; font-size:12px; }
.ftsa-merchant { color:#718494; }
.ftsa-source-badges { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:6px; }
.ftsa-source-badge { display:inline-flex; align-items:center; width:max-content; border:1px solid #f2c164; border-radius:999px; padding:3px 8px; color:#6f4300; background:#fff4d7; font-size:10px; font-weight:800; }
.ftsa-source-badge img { display:block; width:auto; height:14px; max-width:70px; object-fit:contain; }
.ftsa-characteristics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; margin:8px 0; font-size:11px; }
.ftsa-characteristics div { display:flex; gap:5px; min-width:0; }
.ftsa-characteristics dt { color:#718494; }
.ftsa-characteristics dt::after { content:":"; }
.ftsa-characteristics dd { overflow:hidden; margin:0; color:var(--ftsa-dark); font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.ftsa-price { color:var(--ftsa-dark); font-size:17px!important; font-weight:900; }
.ftsa-price-block { display:flex; flex-wrap:wrap; gap:3px 6px; align-items:center; justify-content:flex-end; }
.ftsa-old-price { color:#7b8993; font-size:11px; }
.ftsa-promo-badge { border-radius:999px; padding:2px 6px; color:#fff; background:#bf311a; font-size:10px; font-weight:900; }
.ftsa-deal-badge { flex-basis:100%; color:#9f2e1d; font-size:9px; font-weight:800; text-align:right; }
.ftsa-missing { color:#85501e; }
.ftsa-offers { display:grid; gap:7px; margin-top:10px; }
.ftsa-offer { display:grid; grid-template-columns:minmax(110px,1fr) auto auto; gap:9px; align-items:center; min-width:0; padding-top:8px; border-top:1px solid #e6ecef; }
.ftsa-offer > div { min-width:0; overflow-wrap:anywhere; }
.ftsa-offer strong,.ftsa-offer small { display:block; }
.ftsa-offer small { color:#748694; font-size:10px; }
.ftsa-offer small.ftsa-source-note { color:#85501e; font-weight:700; }
.ftsa-app a.ftsa-buy,.ftsa-app a.ftsa-buy:visited { position:relative; z-index:3; align-self:center; border:0; border-radius:8px; padding:8px 11px; color:#fff!important; background:var(--ftsa-orange); font-size:12px; font-weight:800; text-decoration:none!important; white-space:nowrap; pointer-events:auto; transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.ftsa-app a.ftsa-buy:hover,.ftsa-app a.ftsa-buy:focus-visible { color:#fff!important; background:#bd3d00; box-shadow:0 5px 13px rgba(189,61,0,.25); text-decoration:none!important; transform:translateY(-1px); }
.ftsa-unavailable { position:relative; z-index:3; padding:8px; border-radius:7px; color:#687985; background:#e7ecef; font-size:11px; font-weight:700; pointer-events:auto; }
.ftsa-composer { flex:0 0 auto; max-height:320px; overflow:hidden; padding:5px clamp(14px,3vw,38px) 7px; border-top:1px solid var(--ftsa-line); background:rgba(255,255,255,.98); box-shadow:0 -8px 24px rgba(39,65,83,.04); transition:max-height .18s ease,opacity .18s ease,padding .18s ease,border-color .18s ease,box-shadow .18s ease; }
.ftsa-app.ftsa-is-scrolling .ftsa-composer { max-height:0; padding-top:0; padding-bottom:0; border-top-color:transparent; box-shadow:none; opacity:0; pointer-events:none; }
.ftsa-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:end; }
.ftsa-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0!important; pointer-events:none!important; }
.ftsa-app .ftsa-form textarea { width:100%; height:58px!important; min-height:58px!important; max-height:58px!important; resize:none!important; border:1px solid #b9cedb; border-radius:10px; padding:7px 11px!important; color:var(--ftsa-dark); background:#fff; font:inherit; line-height:1.35; overflow-y:auto; }
.ftsa-form textarea:focus { outline:3px solid rgba(8,120,184,.15); border-color:var(--ftsa-blue); }
.ftsa-form button { min-height:36px; border:0; border-radius:9px; padding:6px 14px; color:#fff; background:var(--ftsa-orange); font-weight:800; }
.ftsa-form button[disabled] { opacity:.55; cursor:wait; }
.ftsa-input-hint { display:block; margin:2px 2px 0; color:#718494; font-size:10px; line-height:1.2; text-align:right; }
.ftsa-suggestions { display:flex; gap:5px; overflow:auto; padding:0 0 4px; scrollbar-width:thin; }
.ftsa-suggestions button { flex:0 0 auto; border:1px solid #bdd7e7; border-radius:999px; padding:3px 8px; color:#075f93; background:#fff; font-size:10px; line-height:1.3; white-space:nowrap; }
.ftsa-has-products .ftsa-suggestions,.ftsa-app[data-has-initial-result="1"] .ftsa-suggestions { display:none; }
.ftsa-disclosure { flex:0 0 auto; display:block; margin:0; padding:6px 18px; border-top:1px solid var(--ftsa-line); color:#65798a; background:#fff; font-size:11px; text-align:center; }
.ftsa-disclosure-warning { display:inline; margin:0; }
.ftsa-disclosure-details p { margin:0; }
.ftsa-disclosure-details { display:inline; margin:0 0 0 4px; }
.ftsa-disclosure-details summary { display:inline-block; padding:0; color:var(--ftsa-blue-dark); font-weight:700; list-style:none; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.ftsa-disclosure-details summary::-webkit-details-marker { display:none; }
.ftsa-mentions-hide { display:none; }
.ftsa-disclosure-details[open] { display:block; width:100%; margin:2px 0 0; }
.ftsa-disclosure-details[open] .ftsa-mentions-show { display:none; }
.ftsa-disclosure-details[open] .ftsa-mentions-hide { display:inline; }
.ftsa-disclosure-details p { max-width:1100px; margin:4px auto 0; color:#65798a; font-size:10px; line-height:1.35; }
.ftsa-mode-widget { position:fixed; right:0; bottom:24px; left:0; z-index:9999; display:flex; justify-content:center; width:auto; max-width:none; pointer-events:none; }
.ftsa-mode-widget .ftsa-shell { position:fixed; top:24px; right:24px; bottom:24px; left:24px; width:auto; height:auto; min-height:0; max-height:none; pointer-events:auto; }
.admin-bar .ftsa-mode-widget .ftsa-shell { top:56px; }
.ftsa-mode-widget .ftsa-shell[hidden] { display:none!important; }
.ftsa-mode-widget.ftsa-widget-open .ftsa-launcher { display:none!important; }
.ftsa-app.ftsa-focus-mode { position:fixed!important; inset:0!important; z-index:2147483000!important; width:100vw!important; max-width:none!important; height:100vh!important; margin:0!important; transform:none!important; }
.ftsa-app.ftsa-focus-mode .ftsa-shell { position:relative!important; inset:auto!important; width:100%!important; height:100%!important; max-height:none!important; min-height:0!important; border:0; border-radius:0; }
.ftsa-app.ftsa-focus-mode .ftsa-launcher { display:none!important; }
html.ftsa-focus-lock,html.ftsa-focus-lock body { overflow:hidden!important; }
/* Native Fullscreen hides the browser chrome after the user's explicit click. */
.ftsa-app:fullscreen,.ftsa-app:-webkit-full-screen { position:fixed!important; inset:0!important; z-index:2147483000!important; width:100vw!important; max-width:none!important; height:100vh!important; margin:0!important; transform:none!important; }
.ftsa-app:fullscreen .ftsa-shell,.ftsa-app:-webkit-full-screen .ftsa-shell { position:relative!important; inset:auto!important; width:100%!important; height:100%!important; max-height:none!important; min-height:0!important; border:0; border-radius:0; }
.ftsa-app:fullscreen .ftsa-launcher,.ftsa-app:-webkit-full-screen .ftsa-launcher { display:none!important; }
.ftsa-launcher { display:flex; align-items:center; gap:9px; border:0; border-radius:999px; padding:13px 18px; color:#fff; background:var(--ftsa-blue); box-shadow:0 12px 35px rgba(0,94,152,.35); font-weight:800; cursor:pointer; pointer-events:auto; transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.ftsa-launcher:hover,.ftsa-launcher:focus-visible { color:#fff; background:var(--ftsa-blue-dark); box-shadow:0 15px 40px rgba(0,94,152,.45); outline:3px solid rgba(8,120,184,.25); outline-offset:3px; transform:translateY(-1px); }
.ftsa-launcher-icon { display:grid; place-items:center; width:23px; height:23px; }
.ftsa-launcher-icon svg { display:block; width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.ftsa-noscript { margin:8px 0 0; padding:10px; border-radius:8px; background:#fff; text-align:center; }
.ftsa-notice { border-left:4px solid var(--ftsa-blue); padding:12px; background:#f2f6f8; }
@media (max-width:800px), (max-height:700px) and (max-width:1180px) {
  .ftsa-shell { width:100%; height:min(760px,calc(var(--ftsa-visual-viewport-height,100dvh) - 16px)); min-height:0; max-height:calc(var(--ftsa-visual-viewport-height,100dvh) - 16px); border-radius:12px; }
  .ftsa-header { align-items:flex-start; padding:10px 12px; }
  .ftsa-header > div:first-child { flex:1 1 auto; flex-direction:column; align-items:flex-start; gap:1px; min-width:0; }
  .ftsa-header h2 { display:block; max-width:100%; overflow:hidden; font-size:15px; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
  .ftsa-header small { font-size:10px; }
  .ftsa-content,.ftsa-history-collapsed .ftsa-content { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr); min-height:0; }
  .ftsa-history-panel,.ftsa-history-collapsed .ftsa-history-panel { display:grid; grid-template-areas:"toggle new clear" "list list list"; grid-template-columns:36px 36px minmax(0,1fr); grid-template-rows:36px auto; gap:4px 7px; max-height:48px; overflow:hidden; padding:6px 8px; border-right:0; border-bottom:1px solid var(--ftsa-line); transition:max-height .16s ease; }
  .ftsa-history-panel.ftsa-history-open,.ftsa-history-collapsed .ftsa-history-panel.ftsa-history-open { max-height:156px; }
  .ftsa-history-sidebar-toggle.ftsa-history-toggle-desktop,.ftsa-history-collapsed .ftsa-history-sidebar-toggle.ftsa-history-toggle-desktop { grid-area:toggle; display:grid; width:36px; height:36px; margin:0; }
  .ftsa-new-chat,.ftsa-history-collapsed .ftsa-new-chat { grid-area:new; width:36px; height:36px; padding:0; font-size:0!important; }
  .ftsa-new-chat-label,.ftsa-history-collapsed .ftsa-new-chat-label { display:none; }
  .ftsa-history-toolbar,.ftsa-history-collapsed .ftsa-history-toolbar { display:contents; }
  .ftsa-history-panel h3,.ftsa-history-collapsed .ftsa-history-panel h3 { display:none; }
  .ftsa-history-toggle-mobile,.ftsa-history-collapsed .ftsa-history-toggle-mobile { display:none; }
  .ftsa-clear-history-mobile,.ftsa-history-collapsed .ftsa-clear-history-mobile { grid-area:clear; display:block; align-self:center; justify-self:end; width:auto; min-height:32px; margin:0 2px 0 auto; padding:7px 5px; font-size:11px; line-height:1.2; text-align:right; white-space:nowrap; touch-action:manipulation; }
  .ftsa-clear-history-desktop { display:none; }
  .ftsa-history-list { grid-area:list; display:none; gap:5px; overflow:auto; }
  .ftsa-history-open .ftsa-history-list,.ftsa-history-collapsed.ftsa-history-open .ftsa-history-list { display:flex; }
  .ftsa-history-item { flex:0 0 170px; }
  .ftsa-messages { padding:10px 11px; }
  .ftsa-conversation { min-height:0; overflow:hidden; }
  .ftsa-composer { position:relative; z-index:5; padding:5px 10px max(7px,env(safe-area-inset-bottom)); }
  .ftsa-form { grid-template-columns:1fr; }
  .ftsa-form button { width:100%; }
  .ftsa-product { grid-template-columns:76px minmax(0,1fr); gap:8px; }
  .ftsa-product-turn { width:calc(100% - 6px); min-width:0; max-width:100%; margin-right:6px; padding-right:4px; }
  .ftsa-product > img { width:76px; max-width:100%; min-height:112px; padding:7px; }
  .ftsa-product-body { padding:11px 11px 11px 0; }
  .ftsa-offer { grid-template-columns:minmax(0,1fr); gap:6px; }
  .ftsa-price-block { justify-content:flex-start; }
  .ftsa-characteristics { grid-template-columns:1fr; }
  .ftsa-characteristics dd { overflow-wrap:anywhere; text-overflow:clip; white-space:normal; }
  .ftsa-offer .ftsa-buy,.ftsa-offer .ftsa-unavailable { grid-column:auto; width:100%; text-align:center; white-space:normal; }
  /* Align the launcher with the theme back-to-top control while keeping it centered between the cookie and scroll controls. */
  .ftsa-mode-widget { right:0; bottom:25px; left:0; width:auto; max-width:none; }
  .ftsa-launcher { gap:7px; padding:9px 14px; font-size:13px; line-height:1.2; }
  .ftsa-launcher-icon,.ftsa-launcher-icon svg { width:19px; height:19px; }
  .ftsa-mode-widget .ftsa-shell { top:calc(var(--ftsa-visual-viewport-offset,0px) + max(8px,env(safe-area-inset-top))); right:8px; bottom:auto; left:8px; width:auto; height:calc(var(--ftsa-visual-viewport-height,100dvh) - max(16px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))); max-height:none; min-height:0; }
  .admin-bar .ftsa-mode-widget .ftsa-shell { top:calc(var(--ftsa-visual-viewport-offset,0px) + 54px); height:calc(var(--ftsa-visual-viewport-height,100dvh) - 62px - max(8px,env(safe-area-inset-bottom))); }
  .ftsa-app.ftsa-focus-mode { top:var(--ftsa-visual-viewport-offset,0px)!important; bottom:auto!important; height:var(--ftsa-visual-viewport-height,100dvh)!important; }
  .ftsa-app.ftsa-focus-mode .ftsa-shell { height:100%!important; max-height:100%!important; }
  .ftsa-disclosure { padding:3px 8px max(3px,env(safe-area-inset-bottom)); font-size:9px; line-height:1.25; }
  .ftsa-disclosure-details p { margin-top:3px; font-size:9px; }
}
