.afc-theme-section{padding:36px 0 70px;scroll-margin-top:30px}.afc-theme-intro{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}.afc-theme-intro h2{font-size:clamp(32px,4vw,52px);letter-spacing:-1.8px;margin:8px 0 12px;line-height:1.08}.afc-theme-intro p{max-width:650px;line-height:1.7;color:#535d73;margin:0}.afc-theme-tag{display:inline-flex;padding:9px 14px;background:#162642;color:#fff;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.04em}.afc-theme-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:35px;align-items:start}.afc-theme-filters{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin-bottom:10px}.afc-theme-filters label{font:600 14px/1.5 system-ui,sans-serif;display:grid;gap:6px;color:#25334a}.afc-theme-filters input,.afc-theme-filters select{font:400 15px system-ui,sans-serif;min-width:0;width:100%;padding:12px;border:1px solid #acb4c2;border-radius:12px;background:#fff;color:#172238}.afc-theme-count{font-size:13px;color:#596378;margin:12px 0 16px}.afc-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.afc-theme-card{padding:0 0 13px;border:1px solid #c5cbd6;border-radius:16px;overflow:hidden;background:white;text-align:left;color:#172238;cursor:pointer;transition:transform .16s,box-shadow .16s;min-width:0}.afc-theme-card:hover{transform:translateY(-3px);box-shadow:0 14px 25px #15213f20}.afc-theme-card[aria-pressed=true]{outline:3px solid #124bff;outline-offset:2px}.afc-theme-card:focus-visible,.afc-theme-more:focus-visible{outline:3px solid #124bff;outline-offset:3px}.afc-theme-art{display:block;height:128px;position:relative;background-size:64px 64px;overflow:hidden;border-bottom:1px solid #14203d12}.afc-theme-art:before{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:var(--sample-accent);opacity:.22;filter:blur(24px);top:-25px;right:-25px}.afc-mini-chat{position:absolute;width:95px;height:95px;left:calc(50% - 60px);top:14px;border:1px solid;overflow:hidden;transform:rotate(-7deg)}.afc-mini-head{display:flex;height:30px;padding:5px 9px;align-items:center}.afc-mini-head svg{width:20px;height:20px}.afc-mini-lines{display:flex;flex-direction:column;gap:7px;padding:10px}.afc-mini-lines i{display:block;width:70%;height:6px;border-radius:6px}.afc-mini-lines i:nth-child(2){align-self:end;width:60%;height:13px}.afc-mini-launcher{position:absolute;width:38px;height:38px;left:calc(50% + 28px);bottom:14px;display:grid;place-items:center;border:1px solid}.afc-mini-launcher svg{width:21px;height:21px}.afc-theme-name{display:block;font:750 14px/1.5 system-ui,sans-serif;padding:10px 12px 0;overflow-wrap:anywhere}.afc-theme-kind{display:block;font:400 12px/1.5 system-ui,sans-serif;color:#606b7e;padding:0 12px;overflow-wrap:anywhere}.afc-theme-more{font:650 14px system-ui,sans-serif;border:1px solid #8190aa;padding:13px 17px;border-radius:12px;background:white;color:#19355b;margin-top:20px;cursor:pointer}.afc-theme-stage{position:sticky;top:25px;border:1px solid #c6cfdf;border-radius:28px;padding:25px 23px 20px;background:radial-gradient(ellipse at 30% 10%,#e6e4ff,transparent 60%),linear-gradient(145deg,#f5f8ff,#e8eef8);min-width:0;overflow:visible}.afc-theme-stage h3{font-size:22px;margin:0 0 6px;color:#182740}.afc-theme-stage>p{font-size:13px;line-height:1.6;color:#526078;margin:0 0 20px}.afc-style-preview{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff88;isolation:isolate}.afc-style-preview .chat-head{display:flex;align-items:center;gap:10px;padding:18px 16px;position:relative}.afc-style-preview .chat-head strong{display:block;font-size:16px;line-height:1.4}.afc-style-preview .chat-head small{font-size:12px;opacity:.9}.afc-demo-mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid currentColor;border-radius:12px;flex:none}.afc-style-preview .messages{min-height:200px;padding:20px 14px;display:flex;flex-direction:column;gap:14px;flex:1}.afc-style-preview .bubble{font:400 14px/1.6 system-ui,sans-serif;padding:11px 13px;max-width:90%;border-radius:15px;box-shadow:0 3px 10px #10182e12;margin:0}.afc-style-preview .bubble.agent{align-self:start;border-bottom-left-radius:4px}.afc-style-preview .bubble.visitor{align-self:end;border-bottom-right-radius:4px}.afc-style-preview .composer{display:flex;align-items:center;gap:8px;margin:0;padding:11px 13px;border-top:1px solid #75839e33;background:inherit;font:400 13px system-ui,sans-serif}.afc-style-preview .composer span{flex:1;opacity:.8}.afc-style-preview .composer button{width:36px;height:36px;border:0;border-radius:12px;display:grid;place-items:center;padding:7px}.afc-theme-stage .afc-launcher,.preview-panel .afc-launcher{display:grid;place-items:center;width:62px;min-height:62px;border:2px solid;margin:20px 0 16px auto;cursor:pointer}.afc-theme-stage .afc-launcher[aria-hidden=true]{pointer-events:none}.afc-theme-stage .btn{display:block;text-align:center;margin-top:14px;padding:14px}.afc-studio-section{border:1px solid #c9cfdb;border-radius:16px;padding:16px;background:#f7f9fd}.afc-studio-section>summary{font-weight:750;font-size:17px;cursor:pointer}.afc-studio-section .afc-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.afc-studio-section .afc-theme-filters{grid-template-columns:1fr}.afc-studio-section .afc-theme-art{height:110px}.afc-studio-section p{line-height:1.6;font-size:14px}.afc-studio-section textarea{font:14px/1.6 ui-monospace,monospace;min-height:150px}.afc-studio-section code{overflow-wrap:anywhere}.afc-studio-section input[type=file]{max-width:100%;font-size:14px}.afc-theme-status{font-size:14px;line-height:1.5}.dark .afc-theme-intro p,.dark .afc-theme-count{color:#c3cde0}.dark .afc-theme-intro h2{color:#f5f7ff}.dark .afc-studio-section{background:#1c2940;color:#f2f6ff}.preview-panel .widget-preview{overflow:hidden}.preview-panel .widget-preview .messages{min-height:180px;padding:16px}.preview-panel .widget-preview .preview-bubble,.preview-panel .widget-preview .preview-outgoing{margin:12px 0}.preview-panel .widget-preview .chat-head{display:flex;align-items:center;gap:10px}.afc-theme-stage .afc-launcher svg,.preview-panel .afc-launcher svg{width:30px;height:30px}.afc-theme-stage .afc-launcher img,.preview-panel .afc-launcher img{max-width:100%;object-fit:contain}@media(min-width:761px) and (max-width:1100px){.afc-theme-layout{grid-template-columns:minmax(0,1fr) 320px;gap:22px}.afc-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.afc-theme-intro{display:block}.afc-theme-layout{display:flex;flex-direction:column-reverse;gap:25px}.afc-theme-stage{position:static;width:100%;max-width:430px;align-self:center}.afc-theme-layout>div:first-child{width:100%}.afc-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.afc-theme-filters{grid-template-columns:1fr}.afc-theme-section{padding:28px 0 45px}.afc-theme-intro h2{font-size:34px}.afc-theme-intro .btn{margin-top:18px}.afc-theme-art{height:116px}}@media(prefers-reduced-motion:reduce){.afc-theme-card{transition:none}.afc-theme-card:hover{transform:none}}

.afc-style-preview .afc-rich-header>div,.afc-style-preview .afc-rich-header>.afc-demo-mark,#preview-header.afc-rich-header #preview-title{background:var(--header-solid);border-radius:8px;padding:5px}.afc-theme-stage .afc-launcher{cursor:default}.afc-studio-section .afc-theme-more{max-width:100%;white-space:normal}

.hero-signature{background:#fff8f0;border:1px solid #f3b98d;box-shadow:0 32px 75px -18px #68370e66,0 12px 25px -10px #68370e44}.hero-signature .demo-head{background:linear-gradient(135deg,#ff6200,#ff6200 52%,#ffb46e);color:#10172b}.hero-signature .bubble-icon{background:#ff6200;border-radius:8px;padding:4px;border-color:#10172b}.hero-signature .bubble-icon svg{display:block;width:21px;height:21px}.hero-signature .demo-tabs{background:#fff8f0}.hero-signature .demo-tabs span{color:#10172b;border-color:#efc4a6;background:#fffdf9}.hero-signature .demo-tabs span:first-child{color:#10172b;background:#ffb46e;border-color:#ff6200}.hero-signature .demo-messages{background-color:#fff8f0;background-size:64px 64px}.hero-signature .mock-message{background:#fff;color:#10172b;box-shadow:0 4px 12px #68370e12}.hero-signature .mock-message.outgoing,.hero-signature .mini-button{background:#bc3b00;color:#fff}.hero-signature .mock-call{background:#fffdf9;border-color:#efc4a6}.hero-signature .mock-composer{background:#fffdf9;border-color:#efc4a6}.hero-signature .mock-composer b{color:#bc3b00}.hero-signature .hero-chat-title{font:inherit;background:#ff6200;color:#10172b;padding:4px;border-radius:7px}#designer-head .bubble-icon svg{display:block;width:20px;height:20px}.designer-mini .demo-head{border-bottom:1px solid #efc4a6}.designer-mini .mock-message{background:white;color:#10172b}.designer-mini .mock-composer{background:#fffdf9}#designer-title{border-radius:6px;padding:4px}
.faq-section{display:block;padding-bottom:42px}.faq-section .faq-intro{margin-bottom:24px}.faq-section .section-heading{margin-bottom:12px;max-width:none}.faq-section .section-intro{margin:0;max-width:780px}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;align-items:start}.faq-grid details{padding:18px 20px;border:1px solid #e5d9cf;border-radius:14px;background:#fffdf9;min-width:0}.faq-grid summary{font-size:16px;line-height:1.5}.faq-grid details p{margin-bottom:0;padding-right:0;font-size:15px}.faq-grid details[open]{border-color:#e88b4e;box-shadow:0 8px 22px #68370e0d}.dark .faq-grid details{background:#1c2940;border-color:#526078}.dark .faq-grid details[open]{border-color:#ffab70}@media(max-width:760px){.faq-grid{grid-template-columns:1fr;gap:10px}.faq-section{padding-bottom:30px}.faq-grid details{padding:16px}.faq-section .faq-intro{margin-bottom:20px}}

/* A playful workbench with one calm canvas and progressive controls. */
[data-panel=designer] .designer-app-grid{grid-template-columns:minmax(340px,440px) minmax(340px,1fr);gap:28px;align-items:start}
#widget-form{padding:0;gap:0;overflow:hidden;border:1px solid #dce1eb;border-radius:24px;box-shadow:0 16px 45px -28px #25365855;background:var(--surface,#fff)}
.studio-intro{padding:26px 26px 20px;background:linear-gradient(145deg,#fff5ec,#fff 85%);color:#172238}.studio-intro h2{font-size:27px;line-height:1.15;letter-spacing:-.8px;margin:10px 0}.studio-intro p{font-size:15px!important;line-height:1.6;margin:0!important;color:#536177}
.studio-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:8px;background:#f1f4fa;border-block:1px solid #e2e7f0}.studio-tab{font:650 14px system-ui,sans-serif;padding:12px 5px;border:0;border-radius:11px;background:transparent;color:#536177;cursor:pointer}.studio-tab[aria-selected=true]{color:#9f3900;background:#fff;box-shadow:0 3px 10px #24385515}.studio-tab:focus-visible{outline:3px solid #124bff;outline-offset:-3px}
.studio-controls{padding:22px;display:grid;gap:20px;min-width:0}.studio-controls[hidden]{display:none!important}.studio-controls>*{min-width:0}.studio-controls label{font-size:14px;line-height:1.5}.studio-controls p{font-size:14px!important;line-height:1.6}.studio-controls h3{font-size:19px;margin:0 0 8px;letter-spacing:-.4px}.studio-controls :is(input,select,textarea){font-size:15px}.studio-controls .afc-studio-section,.studio-card{background:transparent;border:0;padding:0}.studio-controls .afc-studio-section>summary{font-size:17px;margin-bottom:14px}.studio-style-card>summary{list-style:none;pointer-events:none}.studio-style-card>p{display:none}.studio-controls .afc-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-controls .afc-theme-art{height:100px}.studio-controls .afc-theme-filters{grid-template-columns:1fr 1fr;gap:8px}.studio-controls .afc-theme-filters label{font-size:13px}.studio-controls .afc-theme-filters :is(input,select){font-size:13px;padding:10px 8px}.studio-controls .afc-theme-name{font-size:14px}.studio-controls .afc-theme-kind{font-size:12px}.studio-controls .afc-theme-more{width:100%;background:#fff5eb;border-color:#ffbf8d;color:#9e3b00;margin:14px 0 18px;font-size:14px}
.studio-card{border-top:1px solid #e1e6ee;padding-top:20px;display:grid;gap:14px}.studio-gradient-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.studio-gradient-swatch{width:100%;height:38px;border-radius:12px;border:2px solid #fff;box-shadow:0 3px 8px #17223826;cursor:pointer}.studio-gradient-swatch:hover{transform:translateY(-2px)}
.studio-controls input[type=range]{appearance:none;width:100%;height:7px;padding:0;margin:14px 0 10px;min-height:0;border:0;border-radius:999px;background:linear-gradient(to right,#ff741c var(--range-fill,50%),#e0e5ef var(--range-fill,50%));cursor:pointer}.studio-controls input[type=range]::-webkit-slider-thumb{appearance:none;width:21px;height:21px;border-radius:50%;background:#fff;border:3px solid #ff741c;box-shadow:0 3px 7px #17223833}.studio-controls input[type=range]::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:#fff;border:3px solid #ff741c}.studio-controls output{float:right;font:650 13px system-ui,sans-serif;color:#a13c00;background:#fff0e2;border-radius:7px;padding:3px 7px;margin-left:auto}
.studio-controls .studio-brand-card{border:0;padding:0;margin:0;display:grid;gap:12px;min-width:0}.studio-brand-card legend{font-size:21px;font-weight:750;letter-spacing:-.4px;margin-bottom:12px}.studio-logo-controls{display:grid;gap:16px;padding:16px;border:1px solid #e1e6ee;background:#f7f9fd;border-radius:16px}.studio-dropzone{display:flex!important;flex-direction:column;gap:12px;align-items:center;text-align:center;padding:20px!important;border:2px dashed #ffb175;border-radius:16px;background:#fff8f0;color:#9f3c00;cursor:pointer}.studio-dropzone:before{content:'\002b';font:300 30px/1 system-ui;color:#ec5d04}.studio-dropzone input{max-width:100%;font-size:13px}.studio-drag-over{outline:3px solid #ff741c!important;outline-offset:-3px;background-color:#fff0de!important}.studio-controls .branding-preview{width:auto;max-width:128px;max-height:72px;object-fit:contain;margin:auto}
.studio-savebar{position:sticky;bottom:0;padding:18px 22px;background:var(--surface,#fff);border-top:1px solid #e1e6ee;display:grid;gap:12px;z-index:2}.studio-savebar span{font-size:13px;line-height:1.5;color:#536177}.studio-savebar [data-dirty=true]{color:#9e3b00;font-weight:650}.studio-savebar button{width:100%;font-size:16px;padding:15px}
[data-panel=designer] .studio-preview-stage{position:sticky;top:20px;display:block!important;min-width:0;padding:26px;border-radius:26px;border:1px solid #dce2ed;box-shadow:0 24px 60px -40px #1f335980;background:radial-gradient(ellipse at 0 0,#ffe7ce 0,transparent 55%),radial-gradient(ellipse at 100% 90%,#dbe2ff 0,transparent 55%),#f5f7fc;isolation:isolate}.studio-preview-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.studio-preview-heading h2{font-size:23px;letter-spacing:-.6px;margin:8px 0;color:#172238}.studio-preview-heading+.small-label{display:none}.studio-live-label{border:1px solid #b2d9c5;background:#ecfff4;color:#16623e;font:650 12px system-ui;padding:7px 10px;border-radius:999px;white-space:nowrap}.studio-preview-stage .button-row{gap:6px}.studio-preview-stage .button-row button{font-size:13px!important;padding:9px 10px!important;min-height:38px;color:#384a67;background:#fff}.studio-preview-stage .button-row button[aria-pressed=true]{background:#172c51;color:#fff}.studio-canvas-hint{font:400 13px/1.6 system-ui;color:#57677e;margin:0 0 24px}.studio-preview-stage #widget-preview{width:100%;max-width:440px;min-height:400px;margin:0 auto;transition:box-shadow .15s,border-radius .15s}.studio-preview-stage #widget-preview[hidden]{display:none!important}.studio-preview-stage #preview-title{font-size:17px;line-height:1.3;min-width:0;overflow-wrap:anywhere}.studio-preview-stage #preview-header{min-height:86px;position:relative;cursor:default}.studio-preview-stage .messages{min-height:155px!important}.studio-preview-stage .preview-channel{font-size:14px}.studio-preview-stage .bubble{font-size:15px!important;line-height:1.55}.studio-preview-stage #preview-launcher{margin:26px 5px 10px auto;transition:box-shadow .15s;max-width:100%;min-height:44px}.studio-preview-stage>p.muted{font-size:13px;line-height:1.6;text-align:center;color:#58687e;margin-top:18px}.studio-logo-edit{border:1px dashed #ffffffa0;border-radius:12px;touch-action:none}.studio-logo-edit img{cursor:move;touch-action:none}.studio-logo-edit img:focus-visible{outline:2px solid #124bff;outline-offset:3px}.studio-logo-handle{position:absolute;right:-4px;bottom:-4px;width:16px;height:16px;border:2px solid white;border-radius:5px;box-shadow:0 2px 7px #15244055;background:#124bff;cursor:nwse-resize;touch-action:none;padding:0}.studio-logo-handle[hidden]{display:none}
.dark .studio-intro{background:linear-gradient(140deg,#382f2d,#1c2940);color:#f4f7ff}.dark .studio-intro p,.dark .studio-savebar span{color:#becbe0}.dark .studio-controls output{background:#55351f;color:#ffd0a7}.dark .studio-tabs,.dark .studio-logo-controls{background:#1b2941}.dark .studio-tab{color:#d2dcef}.dark .studio-tab[aria-selected=true]{background:#3b485e;color:#ffcc9d}.dark .studio-dropzone{background:#342b24;color:#ffd4b1}.dark .studio-controls .afc-theme-filters label{color:#d8e4f4}
@media(max-width:1180px){[data-panel=designer] .designer-app-grid{grid-template-columns:minmax(310px,1fr) minmax(310px,1fr);gap:18px}.studio-controls{padding:18px}.studio-preview-stage{padding:20px!important}.studio-preview-heading{display:block}.studio-live-label{display:inline-block;margin-top:4px}}
@media(max-width:1000px){[data-panel=designer] .designer-app-grid{grid-template-columns:1fr}.studio-preview-stage{position:static!important;grid-row:1;max-width:560px;width:100%;justify-self:center}.studio-preview-stage .studio-canvas-hint{margin-bottom:14px}.studio-controls .afc-theme-art{height:120px}}
@media(max-width:680px){.studio-intro{padding:22px 18px}.studio-intro h2{font-size:25px}.studio-controls{padding:18px}.studio-tabs{position:sticky;top:0;z-index:3}.studio-preview-stage{padding:18px!important}.studio-preview-heading h2{font-size:22px}.studio-preview-stage #preview-title{font-size:15px}.studio-preview-stage .afc-header-controls{gap:4px}.studio-preview-stage .afc-header-controls>*{width:26px;height:26px}.studio-controls .field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-controls .afc-theme-filters{grid-template-columns:1fr}.studio-savebar{padding:16px 18px}.studio-preview-stage .messages{min-height:120px!important}}
@media(prefers-reduced-motion:reduce){.studio-preview-stage #widget-preview,.studio-preview-stage #preview-launcher,.studio-gradient-swatch{transition:none;transform:none}}

.studio-preview-stage #widget-preview{max-width:100%}.studio-preview-title-stack small{display:block;background:none!important;color:inherit;font-size:12px!important;text-align:left;padding:4px 0 0!important;opacity:.85}.studio-preview-stage #preview-header>div{flex:1;min-width:0}.studio-preview-stage #preview-launcher{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;font:650 14px system-ui}.studio-preview-stage #preview-launcher>span{background:none;padding:0}.studio-logo-edit:focus-within{border-color:#124bff}.studio-controls fieldset{min-width:0}

.studio-scenario{display:flex;align-items:center;gap:12px;font:600 13px system-ui;color:#52637b;margin:0 0 16px}.studio-scenario select{font:400 13px system-ui;background:#fff;border:1px solid #c4cedd;border-radius:10px;padding:9px 12px;max-width:65%;color:#263b5d}.studio-controls button:not(.afc-theme-card,.afc-theme-more,.studio-gradient-swatch){font:600 14px system-ui;padding:10px 14px;border:1px solid #c4cddd;border-radius:10px;background:var(--surface,#fff);color:var(--navy,#253954);cursor:pointer}.studio-controls button:focus-visible,.studio-controls input:focus-visible{outline:3px solid #124bff;outline-offset:3px}

.studio-preview-jump{display:none;font:650 14px system-ui;color:#263b5d;border:1px solid #c4cedd;border-radius:12px;background:#fff;padding:12px}@media(max-width:1000px){.studio-preview-jump{display:block}}

.studio-placement-preview{font:400 12px/1.6 system-ui;color:#52637b;text-align:center}.studio-preview-stage [hidden]{display:none!important}
