/* Three deliberately different brand experiences. Shared chat behaviour is provided by demo-business.js. */
body.demo-showcase{overflow-x:hidden}
body.demo-showcase .top{padding:19px clamp(18px,5vw,82px);gap:24px;position:relative;z-index:3}
body.demo-showcase .site-menu{display:flex;align-items:center;gap:26px;font-size:12px}
body.demo-showcase .site-menu a{display:inline-flex;align-items:center;min-height:44px;min-width:0;text-decoration:none;color:inherit}
body.demo-showcase .site-menu .menu-cta{padding:11px 18px;font-weight:800}
body.demo-showcase .hero{min-height:630px;align-items:center;gap:4vw;padding:65px clamp(18px,5vw,82px)}
body.demo-showcase .hero>div{min-width:0}
body.demo-showcase .hero h1{max-width:870px}
body.demo-showcase .hero p{line-height:1.6}
body.demo-showcase .section{padding:80px clamp(18px,5vw,82px)}
body.demo-showcase .section h2{max-width:950px}
body.demo-showcase .cards{gap:16px}
body.demo-showcase .experience{padding:88px clamp(18px,5vw,82px);gap:6vw;align-items:center}
body.demo-showcase .experience-copy{min-width:0}
body.demo-showcase .chat{min-width:0;box-shadow:0 25px 75px #0002}
body.demo-showcase .chat-head{align-items:center}
body.demo-showcase #demoReset{cursor:pointer;background:transparent;border:1px solid currentColor;border-radius:50%;color:inherit;font-size:19px;width:38px;height:38px}
body.demo-showcase .bottom{padding:35px clamp(18px,5vw,82px)}
body.demo-showcase :is(a,button,input):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
body.demo-showcase .demo-disclaimer{font-size:11px;letter-spacing:.07em;text-transform:uppercase;opacity:.76}

/* BELLA: quiet luxury editorial, botanical shapes and a pale booking experience. */
body[data-demo-theme="bella"]{--accent:#865e6d;--ink:#382d36;--soft:#f5eae8;background:#fbf7f2;color:var(--ink);font-family:Georgia,"Times New Roman",serif}
body[data-demo-theme="bella"] .top{background:#fbf7f2;border-color:#e4d3d5}
body[data-demo-theme="bella"] .brand{font:400 26px/1 Georgia,serif;letter-spacing:.22em}
body[data-demo-theme="bella"] .site-menu{font-family:Inter,system-ui,sans-serif;color:#6a505b}
body[data-demo-theme="bella"] .menu-cta{border:1px solid #a78f96;border-radius:999px}
body[data-demo-theme="bella"] .hero{background:#fbf7f2;grid-template-columns:1fr 1fr;overflow:hidden}
body[data-demo-theme="bella"] .hero h1{font:400 clamp(62px,8.4vw,124px)/.88 Georgia,serif;letter-spacing:-.075em;margin:22px 0 27px}
body[data-demo-theme="bella"] .hero h1 em{color:#b98497;font-weight:400}
body[data-demo-theme="bella"] .hero p{font:400 19px/1.6 Georgia,serif;color:#745e68}
body[data-demo-theme="bella"] .tag{color:#866d76;font-family:Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .hero-link{display:inline-flex;margin-top:24px;padding:13px 22px;background:#3e3039;color:#fff;text-decoration:none;border-radius:999px;font:700 12px Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .visual-bella{height:560px;position:relative;border-radius:48% 48% 18px 18px;background:linear-gradient(158deg,#d6b9b7,#c897a1 58%,#865e72);isolation:isolate;overflow:hidden}
body[data-demo-theme="bella"] .visual-bella:before{content:"";position:absolute;width:390px;height:390px;border-radius:50%;background:#f6eee4;left:50%;top:12%;transform:translateX(-50%);filter:blur(2px)}
body[data-demo-theme="bella"] .visual-bella:after{content:"";position:absolute;width:330px;height:410px;left:50%;top:22%;transform:translateX(-50%) rotate(-10deg);background:linear-gradient(130deg,#865b62 0 27%,#e9c8b5 28% 64%,#ae7b79 65%);border-radius:53% 47% 43% 45%;box-shadow:25px 25px 0 #523d5166;opacity:.9}
body[data-demo-theme="bella"] .flower{position:absolute;z-index:2;width:130px;height:130px;border-radius:50%;background:repeating-conic-gradient(from 20deg,#f8e9dd 0 23deg,transparent 24deg 43deg);filter:drop-shadow(3px 6px 15px #5a3f5050)}
body[data-demo-theme="bella"] .flower.one{right:5%;top:4%}
body[data-demo-theme="bella"] .flower.two{left:-3%;bottom:12%;width:165px;height:165px;transform:rotate(25deg)}
body[data-demo-theme="bella"] .appointment-stamp{position:absolute;z-index:3;left:7%;bottom:6%;padding:19px 24px;background:#fff9;backdrop-filter:blur(15px);border:1px solid #fff8;box-shadow:0 8px 20px #35253020;border-radius:2px;max-width:250px;font:12px/1.5 Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .appointment-stamp strong{display:block;font:400 27px Georgia,serif;margin-top:4px}
body[data-demo-theme="bella"] .section{background:#f2e8e2}
body[data-demo-theme="bella"] .section h2{font:400 clamp(38px,5vw,66px)/1 Georgia,serif;letter-spacing:-.05em}
body[data-demo-theme="bella"] .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-demo-theme="bella"] .card{background:#fbf7f2;border:0;border-radius:180px 180px 12px 12px;padding:58px 28px 28px;min-height:310px}
body[data-demo-theme="bella"] .card:nth-child(2){background:#e1d5ce}
body[data-demo-theme="bella"] .card:nth-child(3){background:#e3e5dd}
body[data-demo-theme="bella"] .card h3{font:400 30px Georgia,serif}
body[data-demo-theme="bella"] .price{font:400 22px Georgia,serif;color:#855766}
body[data-demo-theme="bella"] .experience{background:#47383f;color:#f5efeb}
body[data-demo-theme="bella"] .experience h2{font:400 clamp(41px,5vw,68px)/1 Georgia,serif;letter-spacing:-.05em}
body[data-demo-theme="bella"] .experience-copy p{color:#d4c3c6;font:16px/1.6 Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .chat{background:#fbf6f2;color:#382d36;border:0;border-radius:32px}
body[data-demo-theme="bella"] .chat-head{border-color:#e1d3d0;font:14px Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .chat-messages{font:14px/1.6 Inter,system-ui,sans-serif}
body[data-demo-theme="bella"] .bubble{background:#ede4df;color:#3d3137}
body[data-demo-theme="bella"] .bubble.user{background:#855d6c;color:#fff}
body[data-demo-theme="bella"] .actions button,body[data-demo-theme="bella"] .actions a{background:#f7e9e5;color:#4f3341;border-color:#d7c6c9}
body[data-demo-theme="bella"] .chat-form{border-color:#e1d3d0}
body[data-demo-theme="bella"] .chat-form input{background:#fff;color:#382d36;border-color:#e1d3d0}
body[data-demo-theme="bella"] .bottom{background:#f2e8e2;font-family:Inter,system-ui,sans-serif}

/* MOTORLAB: workshop brutalism, instrument panels, punchy warning orange. */
body[data-demo-theme="motorlab"]{--accent:#ff6135;--ink:#efefee;--soft:#1c2023;background:#101417;color:#f1f0e9;font-family:Inter,system-ui,sans-serif}
body[data-demo-theme="motorlab"] .top{background:#121719;border-color:#364044}
body[data-demo-theme="motorlab"] .brand{font-weight:1000;font-style:italic;letter-spacing:-.07em}
body[data-demo-theme="motorlab"] .brand i{color:var(--accent);font-style:normal}
body[data-demo-theme="motorlab"] .site-menu{color:#b5c0c1;text-transform:uppercase;letter-spacing:.09em}
body[data-demo-theme="motorlab"] .menu-cta{background:#ff6135;color:#101417!important;border-radius:3px}
body[data-demo-theme="motorlab"] .hero{background:radial-gradient(circle at 78% 40%,#a43a1c33,transparent 36%),linear-gradient(#ffffff06 1px,transparent 1px),#101417;background-size:auto,48px 48px,auto;grid-template-columns:1.1fr .9fr}
body[data-demo-theme="motorlab"] .hero .tag{color:var(--accent);font-weight:900}
body[data-demo-theme="motorlab"] .hero h1{font:1000 italic clamp(66px,10vw,146px)/.77 Inter,system-ui,sans-serif;letter-spacing:-.105em;text-transform:uppercase}
body[data-demo-theme="motorlab"] .hero h1 span{color:transparent;-webkit-text-stroke:2px #fff}
body[data-demo-theme="motorlab"] .hero p{color:#b3bebf;max-width:560px}
body[data-demo-theme="motorlab"] .hero-link{display:inline-flex;margin-top:20px;background:var(--accent);color:#101417;padding:15px 21px;text-decoration:none;text-transform:uppercase;font-weight:900;font-size:12px}
body[data-demo-theme="motorlab"] .visual-motor{min-height:470px;border:1px solid #505a5f;background:#1d2428;box-shadow:25px 25px 0 #080b0e;transform:rotate(2deg);padding:25px;font-family:ui-monospace,Consolas,monospace}
body[data-demo-theme="motorlab"] .visual-motor .screen-label{display:flex;justify-content:space-between;color:#93a7a6;font-size:11px;letter-spacing:.06em;border-bottom:1px solid #3a4548;padding-bottom:14px}
body[data-demo-theme="motorlab"] .visual-motor .screen-code{display:block;font-size:clamp(82px,10vw,140px);font-weight:900;letter-spacing:-.12em;line-height:1.45;color:#fff}
body[data-demo-theme="motorlab"] .visual-motor .screen-code span{color:var(--accent)}
body[data-demo-theme="motorlab"] .screen-bars{display:flex;align-items:flex-end;gap:7px;height:78px;margin:15px 0 25px}
body[data-demo-theme="motorlab"] .screen-bars i{flex:1;height:var(--h);background:var(--accent);min-width:0}
body[data-demo-theme="motorlab"] .screen-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body[data-demo-theme="motorlab"] .screen-bottom div{border:1px solid #3b4549;padding:15px;font-size:11px;color:#b8c2c2}
body[data-demo-theme="motorlab"] .screen-bottom strong{display:block;color:#fff;font-size:19px;margin-top:7px}
body[data-demo-theme="motorlab"] .section{background:#ebebe5;color:#101417}
body[data-demo-theme="motorlab"] .section h2{font-weight:950;text-transform:uppercase;font-size:clamp(36px,5vw,66px)}
body[data-demo-theme="motorlab"] .cards{gap:0;border-top:2px solid #171b1d;border-left:1px solid #a9adae}
body[data-demo-theme="motorlab"] .card{background:transparent;border-radius:0;border:0;border-bottom:1px solid #a9adae;border-right:1px solid #a9adae;min-height:285px}
body[data-demo-theme="motorlab"] .card h3{font-weight:900;font-size:30px;text-transform:uppercase}
body[data-demo-theme="motorlab"] .card p{color:#555f60}
body[data-demo-theme="motorlab"] .price{color:#df4a26}
body[data-demo-theme="motorlab"] .experience{background:#101417;grid-template-columns:.8fr 1.2fr}
body[data-demo-theme="motorlab"] .experience h2{font:900 clamp(39px,5vw,67px)/.95 Inter,system-ui,sans-serif;letter-spacing:-.07em;text-transform:uppercase}
body[data-demo-theme="motorlab"] .experience-copy p{color:#9da7a8}
body[data-demo-theme="motorlab"] .chat{background:#1b2225;border:1px solid #394347;border-radius:8px}
body[data-demo-theme="motorlab"] .chat-head,body[data-demo-theme="motorlab"] .chat-form{border-color:#394347}
body[data-demo-theme="motorlab"] .chat-messages{background:linear-gradient(#ffffff06 1px,transparent 1px);background-size:100% 34px}
body[data-demo-theme="motorlab"] .bubble{background:#2c373b;color:#ecf0f0;border-radius:6px}
body[data-demo-theme="motorlab"] .bubble.user{background:#ff6135;color:#0e1214}
body[data-demo-theme="motorlab"] .actions button,body[data-demo-theme="motorlab"] .actions a{border-radius:4px;background:#293337;border-color:#566064}
body[data-demo-theme="motorlab"] .chat-form input{background:#0e1417;border-color:#465154;border-radius:4px}
body[data-demo-theme="motorlab"] .chat-form button{border-radius:4px;color:#0e1417}
body[data-demo-theme="motorlab"] .bottom{background:#ff6135;color:#121719}
body[data-demo-theme="motorlab"] .bottom a{background:#121719;color:#fff;border-radius:3px}

/* NOVA: playful soft-tech ecommerce with floating product sculptures and blue storefront. */
body[data-demo-theme="nova"]{--accent:#325ce9;--ink:#1e2d62;--soft:#eff1ff;background:#f6f7ff;color:#202c62;font-family:Inter,system-ui,sans-serif}
body[data-demo-theme="nova"] .top{background:#f6f7ff;border-color:#d7dffc}
body[data-demo-theme="nova"] .brand{letter-spacing:-.07em;font-weight:950}
body[data-demo-theme="nova"] .brand b{color:#5273ff}
body[data-demo-theme="nova"] .site-menu{font-weight:700}
body[data-demo-theme="nova"] .menu-cta{background:#315de9;color:#fff!important;border-radius:999px}
body[data-demo-theme="nova"] .hero{background:radial-gradient(circle at 78% 35%,#b3c2ff 0,transparent 42%),#f6f7ff;grid-template-columns:.95fr 1.05fr}
body[data-demo-theme="nova"] .hero h1{font:900 clamp(58px,8vw,120px)/.85 Inter,system-ui,sans-serif;letter-spacing:-.095em}
body[data-demo-theme="nova"] .hero h1 span{color:#315de9}
body[data-demo-theme="nova"] .hero p{color:#6671a5}
body[data-demo-theme="nova"] .hero-link{display:inline-flex;margin-top:20px;border-radius:999px;background:#315de9;color:#fff;text-decoration:none;padding:15px 23px;font-weight:900;font-size:12px}
body[data-demo-theme="nova"] .visual-nova{height:530px;position:relative;isolation:isolate}
body[data-demo-theme="nova"] .visual-nova:before{content:"";position:absolute;inset:6% 8%;background:#526af1;border-radius:43% 57% 61% 39% / 54% 44% 56% 46%;transform:rotate(-14deg);box-shadow:30px 28px 0 #c7d5ff}
body[data-demo-theme="nova"] .product-pod{position:absolute;z-index:1;display:grid;place-items:center;background:#f9fbff;box-shadow:0 25px 60px #18399533;border:1px solid #fff;border-radius:24px}
body[data-demo-theme="nova"] .product-pod.one{width:52%;height:54%;left:1%;top:9%;transform:rotate(-10deg)}
body[data-demo-theme="nova"] .product-pod.two{width:45%;height:47%;right:0;bottom:3%;transform:rotate(7deg)}
body[data-demo-theme="nova"] .product-pod.three{width:33%;height:30%;right:4%;top:2%;transform:rotate(11deg);background:#ddeaff}
body[data-demo-theme="nova"] .product-icon{width:115px;height:115px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f6f8ff 0 11%,#7089ff 12%,#2f45a4 49%,#19255f 70%);box-shadow:12px 12px 20px #0b2f9344}
body[data-demo-theme="nova"] .product-icon.dock{border-radius:24px;transform:rotate(-9deg);width:120px;height:65px;background:linear-gradient(145deg,#8d9ff9,#1d2f78)}
body[data-demo-theme="nova"] .product-icon.light{width:80px;height:80px;background:radial-gradient(circle,#fff 0 23%,#a9baff 28%,#718bf8 70%);box-shadow:0 0 28px #6b9bff}
body[data-demo-theme="nova"] .pod-label{position:absolute;left:18px;bottom:12px;font-size:11px;font-weight:900;letter-spacing:.07em}
body[data-demo-theme="nova"] .section{background:#fff;color:#1a2654}
body[data-demo-theme="nova"] .section h2{font-size:clamp(35px,4.5vw,62px);line-height:1.05;font-weight:900}
body[data-demo-theme="nova"] .cards{grid-template-columns:1.1fr 1fr 1fr}
body[data-demo-theme="nova"] .card{border:0;background:#e9eeff;border-radius:24px;min-height:310px;position:relative;overflow:hidden;padding:28px}
body[data-demo-theme="nova"] .card:nth-child(2){background:#ebf8f3}
body[data-demo-theme="nova"] .card:nth-child(3){background:#fff0e8}
body[data-demo-theme="nova"] .card:before{content:"";display:block;width:70px;height:70px;border-radius:22px;transform:rotate(-17deg);background:linear-gradient(140deg,#91a8ff,#3a52cd);margin:6px auto 32px;box-shadow:7px 12px 12px #21397e22}
body[data-demo-theme="nova"] .card:nth-child(2):before{border-radius:18px;width:90px;height:46px;background:linear-gradient(140deg,#88d2bb,#276d75)}
body[data-demo-theme="nova"] .card:nth-child(3):before{border-radius:50%;background:linear-gradient(140deg,#fff,#fbbd8b);box-shadow:0 0 25px #ffbb8d}
body[data-demo-theme="nova"] .card h3{font-size:24px;font-weight:900}
body[data-demo-theme="nova"] .card p{color:#61709f}
body[data-demo-theme="nova"] .price{color:#315de9}
body[data-demo-theme="nova"] .experience{background:#dce5ff;color:#1e326c;grid-template-columns:1fr .9fr}
body[data-demo-theme="nova"] .experience h2{font:900 clamp(40px,5vw,65px)/1 Inter,system-ui,sans-serif;letter-spacing:-.06em}
body[data-demo-theme="nova"] .experience-copy p{color:#6273a7}
body[data-demo-theme="nova"] .chat{border:1px solid #d5ddf4;border-radius:29px;background:#fff;color:#1f3066}
body[data-demo-theme="nova"] .chat-head,body[data-demo-theme="nova"] .chat-form{border-color:#e2e7fa}
body[data-demo-theme="nova"] .bubble{background:#edf1ff;color:#2a3767}
body[data-demo-theme="nova"] .bubble.user{background:#315de9;color:#fff}
body[data-demo-theme="nova"] .actions button,body[data-demo-theme="nova"] .actions a{background:#edf1ff;border-color:#cdd8f8;color:#2c4a9f}
body[data-demo-theme="nova"] .chat-form input{background:#f7f9ff;border-color:#d5ddf4;color:#1f3066}
body[data-demo-theme="nova"] .bottom{background:#315de9;color:#fff}
body[data-demo-theme="nova"] .bottom a{background:#fff;color:#315de9}
@media(max-width:900px){
 body.demo-showcase .site-menu{gap:12px;flex-wrap:wrap}
 body.demo-showcase .hero,body.demo-showcase .experience{grid-template-columns:1fr!important}
 body.demo-showcase .hero{min-height:auto;padding-top:52px;padding-bottom:60px}
 body.demo-showcase .visual-bella,body.demo-showcase .visual-nova{height:430px}
 body.demo-showcase .visual-motor{min-height:390px;transform:none}
 body.demo-showcase .cards{grid-template-columns:1fr!important}
 body.demo-showcase .card{min-height:210px}
 body.demo-showcase .experience{padding-top:60px;padding-bottom:65px}
}
@media(max-width:560px){
 body.demo-showcase .top{flex-wrap:wrap;gap:16px}
 body.demo-showcase .site-menu{order:2;width:100%;justify-content:space-between}
 body.demo-showcase .site-menu a{font-size:11px}
 body.demo-showcase .hero h1{font-size:clamp(53px,14vw,78px);letter-spacing:-.07em;overflow-wrap:anywhere}
 body.demo-showcase .hero p{font-size:16px}
 body.demo-showcase .section h2,body.demo-showcase .experience h2{font-size:clamp(34px,10vw,48px)}
 body.demo-showcase .chat{min-height:440px}
 body[data-demo-theme="bella"] .visual-bella{height:370px}
 body[data-demo-theme="nova"] .visual-nova{height:360px}
 body[data-demo-theme="nova"] .product-icon{width:82px;height:82px}
 body[data-demo-theme="motorlab"] .visual-motor{min-height:340px;padding:16px;box-shadow:none}
 body[data-demo-theme="motorlab"] .visual-motor .screen-code{font-size:88px}
 body[data-demo-theme="motorlab"] .screen-bottom strong{font-size:14px}
 body[data-demo-theme="mellow"] .card{padding:16px}
}
@media(prefers-reduced-motion:reduce){body.demo-showcase *{scroll-behavior:auto!important}}

body.demo-showcase .hero-link.secondary{margin-left:10px;background:transparent;border:1px solid currentColor;color:inherit}
@media(max-width:560px){body.demo-showcase .hero-link.secondary{margin-left:0;margin-top:10px}}

/* Action layout is consistent in all three bot demos and inside live chat. */
body.demo-showcase .site-menu{min-width:0;flex-wrap:wrap;justify-content:flex-end;row-gap:8px}
body.demo-showcase .site-menu .menu-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;text-align:center}
body.demo-showcase .hero-link{min-height:46px;max-width:100%;align-items:center;justify-content:center;white-space:normal;text-align:center;overflow-wrap:anywhere}
body.demo-showcase .hero-link.secondary{display:inline-flex}
body.demo-showcase .chat{max-width:100%}
body.demo-showcase .chat-head{gap:12px;min-width:0}
body.demo-showcase .chat-head b{min-width:0;overflow-wrap:anywhere}
body.demo-showcase #demoReset{min-width:44px;min-height:44px;flex:0 0 44px}
body.demo-showcase .chat-messages{min-width:0;max-width:100%;min-height:0}
body.demo-showcase .chat-messages .bubble{max-width:min(90%,650px);overflow-wrap:anywhere;white-space:pre-wrap}
body.demo-showcase .chat-messages .actions{width:100%;min-width:0;display:flex;gap:8px;flex-wrap:wrap}
body.demo-showcase .chat-messages .actions button,
body.demo-showcase .chat-messages .actions a{display:inline-flex;min-width:0;min-height:44px;max-width:100%;align-items:center;justify-content:center;overflow-wrap:anywhere;line-height:1.3;white-space:normal;text-align:center}
body.demo-showcase .chat-form{min-width:0;align-items:stretch}
body.demo-showcase .chat-form input{min-width:0;max-width:100%;width:100%;font-size:16px}
body.demo-showcase .chat-form button{flex:0 0 48px;min-width:48px;min-height:48px}
body.demo-showcase .bottom a{display:inline-flex;min-height:46px;max-width:100%;align-items:center;justify-content:center;text-align:center;line-height:1.3;overflow-wrap:anywhere;white-space:normal}
@media(max-width:700px){
 body.demo-showcase .top{flex-wrap:wrap;row-gap:16px}
 body.demo-showcase .site-menu{width:100%;justify-content:space-between;column-gap:12px}
 body.demo-showcase .site-menu a{min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:440px){
 body.demo-showcase .top .brand{font-size:clamp(18px,6vw,25px)}
 body.demo-showcase .site-menu{justify-content:flex-start}
 body.demo-showcase .site-menu .menu-cta{flex:1 1 100%;min-height:44px}
 body.demo-showcase .hero-link{width:100%;margin-left:0!important}
 body.demo-showcase .chat-messages .actions button,
 body.demo-showcase .chat-messages .actions a{flex:1 1 100%}
 body.demo-showcase .bottom{align-items:stretch}
 body.demo-showcase .bottom a{width:100%}
}

body.demo-showcase .site-menu a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}

/* Interactive bot controls: preserve tappable targets and prevent long text from escaping. */
body.demo-showcase .site-menu{min-width:0;flex-wrap:wrap}
body.demo-showcase .chat .actions{min-width:0;max-width:100%;align-items:stretch}
body.demo-showcase .chat .actions :is(button,a){min-height:44px;min-width:0;max-width:100%;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
body.demo-showcase .chat .chat-messages{min-width:0}
body.demo-showcase .chat .bubble{min-width:0;overflow-wrap:anywhere}
body.demo-showcase .chat .chat-form{min-width:0}
body.demo-showcase .chat .chat-form input{min-width:0;max-width:100%}
body.demo-showcase .chat .chat-form button{min-width:44px;min-height:44px}
@media(max-width:560px){
  body.demo-showcase .top .site-menu{gap:8px 12px}
  body.demo-showcase .top .site-menu a{min-height:44px;display:inline-flex;align-items:center}
}

/* MotorLab telemetry must shrink inside a 320px viewport. */
body[data-demo-theme="motorlab"] .screen-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-demo-theme="motorlab"] .screen-bottom>div{min-width:0}
body[data-demo-theme="motorlab"] .screen-bottom strong{min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.25}

/* Avoid intrinsic grid minimums from long automotive service headings at 320px. */
@media(max-width:900px){
  body[data-demo-theme="motorlab"] .cards{grid-template-columns:minmax(0,1fr)!important}
  body[data-demo-theme="motorlab"] .cards .card{min-width:0;max-width:100%}
  body[data-demo-theme="motorlab"] .cards .card h3{min-width:0;overflow-wrap:anywhere;line-height:1.18}
}
