.bot-dashboard{font-size:16px;line-height:1.65}.bot-dashboard .bot-help{font-size:14px;line-height:1.65}.bot-dashboard .bot-header h1{font-size:32px;line-height:1.2}.bot-dashboard .bot-header p{font-size:15px;margin-top:8px}.bot-dashboard.bot-is-creating{max-width:920px}.bot-is-creating .bot-columns{display:block}.bot-is-creating .bot-tabs{display:none}.bot-is-creating .bot-header{margin-bottom:28px}.bot-dashboard .bot-setup{padding:32px 36px}.bot-setup-heading h2{font-size:28px!important;font-weight:650;margin:0 0 12px!important;line-height:1.25}.bot-setup-heading>p:last-child{font-size:16px;color:var(--ink-soft);margin:0 0 24px}.bot-setup-progress{font-size:14px;font-weight:600;color:var(--accent);margin:0 0 10px}.bot-setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:30px}.bot-setup-steps button{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink-soft);font:inherit;font-size:15px;font-weight:500;text-align:left}.bot-setup-steps button span{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;font-size:14px}.bot-setup-steps button[aria-current=step]{color:var(--ink);background:var(--surface-2);font-weight:600}.bot-setup-steps button[aria-current=step] span{background:var(--accent);color:var(--accent-ink,#fff);border-color:var(--accent)}.bot-setup .bot-setup-section{margin:0 0 30px}.bot-setup .bot-setup-section h3{font-size:21px;font-weight:600;line-height:1.35;margin:0 0 10px}.bot-setup-intro{font-size:16px;color:var(--ink-soft);margin:0 0 22px}.bot-dashboard .bot-setup label{font-size:16px;font-weight:500;line-height:1.5;margin-bottom:10px}.bot-dashboard .bot-setup input:not([type=checkbox]),.bot-dashboard .bot-setup select,.bot-dashboard .bot-setup textarea{font-family:inherit;font-size:16px!important;line-height:1.65;padding:13px 15px;min-height:50px;background:var(--paper);border-radius:9px}.bot-dashboard .bot-setup textarea{min-height:116px}.bot-setup .bot-grid{gap:22px}.bot-setup .field{margin-bottom:24px}.bot-setup .bot-help{display:block;margin-top:9px;font-size:14px}.bot-setup-optional{padding:19px 20px;border:1px solid var(--line);border-radius:10px;margin:20px 0;background:var(--surface)}.bot-setup-optional>summary{cursor:pointer;color:var(--ink);font-size:16px;line-height:1.6;font-weight:500;min-height:28px}.bot-setup-optional[open]>summary{margin-bottom:24px}.bot-setup-optional>p,.bot-setup-optional li{font-size:15px;color:var(--ink-soft);overflow-wrap:anywhere}.bot-setup .bot-setup-confirm{align-items:flex-start!important;gap:12px;line-height:1.6;margin:28px 0}.bot-setup-confirm input{width:20px;height:20px;flex:0 0 20px;margin:3px 0 0;accent-color:var(--accent)}.bot-setup-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--line);margin-top:32px}.bot-setup-footer>div{display:flex;gap:10px;flex-wrap:wrap}.bot-dashboard .bot-setup .btn{min-height:48px;padding:12px 20px;font-size:16px!important;font-weight:500;line-height:1.5}.bot-setup-policies{margin:24px 0 0;font-size:14px;color:var(--ink-soft)}.bot-setup-policies summary{cursor:pointer}.bot-setup-policies .legal-note{margin:14px 0 0}.bot-setup-policies a{font-size:14px!important}.bot-dashboard .bot-setup :is(button,input,textarea,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bot-setup .bot-setup-current:focus{outline:none}.bot-dashboard .bot-setup input::placeholder,.bot-dashboard .bot-setup textarea::placeholder{opacity:1;color:var(--muted,var(--ink-soft))}.bot-setup [hidden]{display:none!important}
.bot-dashboard .bot-setup .bot-setup-section{padding:0;min-height:0}
@media(max-width:700px){.bot-dashboard .bot-setup{padding:24px}.bot-setup-steps{gap:6px}.bot-setup-steps button{flex-direction:column;align-items:flex-start;gap:8px;padding:8px;font-size:14px}.bot-setup .bot-grid{grid-template-columns:1fr;gap:0}.bot-setup-heading h2{font-size:25px!important}.bot-dashboard .bot-header h1{font-size:28px}.bot-setup .bot-setup-section h3{font-size:20px}.bot-setup-optional{padding:16px}.bot-setup-footer{align-items:stretch}.bot-setup-footer>div{flex:1}.bot-setup-footer>button{width:100%}.bot-setup .bot-setup-confirm{font-size:15px}}
@media(max-width:400px){.bot-dashboard .bot-setup{padding:20px 16px}.bot-setup-steps button{font-size:13px}.bot-setup-heading h2{font-size:24px!important}.bot-setup-footer .btn{padding:11px 14px}}
@media(prefers-reduced-motion:reduce){.bot-dashboard *{scroll-behavior:auto!important}}
.bot-dashboard{max-width:1440px;margin-inline:auto}.bot-dashboard .bot-columns{grid-template-columns:minmax(340px,1fr) minmax(330px,.88fr);gap:28px;align-items:start}.bot-dashboard .bot-panel{border-radius:14px}.bot-dashboard .bot-editor-panel{padding:28px}.bot-editor-panel>h2{font-size:23px!important;line-height:1.3;margin:0 0 8px}.bot-editor-panel>h3{font-size:16px!important;font-weight:600;margin:28px 0 14px}.bot-editor-panel>.bot-help{margin-bottom:24px}.bot-editor-panel .field{margin:0 0 22px}.bot-editor-panel label{font-size:14px;font-weight:500;margin-bottom:8px}.bot-editor-panel :is(input:not([type=checkbox]):not([type=color]),select,textarea){font:inherit;font-size:15px!important;line-height:1.6;padding:11px 13px;width:100%;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);min-height:46px}.bot-editor-panel input[type=color]{width:100%;height:46px;padding:4px;border-radius:9px;border:1px solid var(--line);background:var(--paper)}.bot-editor-panel textarea{resize:vertical;min-height:104px}.bot-editor-panel .bot-grid{gap:20px}.bot-editor-panel>.btn:last-child{margin-top:20px;min-height:44px}.bot-dashboard .bot-tabs{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;gap:8px;margin-bottom:20px}.bot-dashboard .bot-tabs button{flex-shrink:0;min-height:42px;font-size:14px}.bot-builder-tabs{display:flex;gap:4px;margin-bottom:24px;padding:5px;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;width:max-content;max-width:100%;overflow-x:auto}.bot-builder-tabs button{flex-shrink:0;border:0;border-radius:7px;padding:10px 14px;background:transparent;color:var(--ink-soft);font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap}.bot-builder-tabs button[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #0001}.bot-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.bot-preview-heading h3{margin:0;font-size:17px}.bot-preview-heading span{font-size:12px;color:var(--muted)}.bot-dashboard .bot-preview iframe{height:640px;border:1px solid var(--line);border-radius:14px;background:#f1f5f9}.bot-dashboard .bot-preview{position:sticky;top:24px}.bot-segments{display:flex;gap:6px;margin:12px 0 22px}.bot-segments button{flex:1;padding:10px 12px;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink-soft);font-size:14px;cursor:pointer}.bot-segments button[aria-pressed=true]{border-color:var(--accent);color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent);background:var(--surface-2)}.bot-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid var(--line);border-radius:10px;margin:22px 0!important;background:var(--surface-2)}.bot-toggle span{display:grid;gap:5px}.bot-toggle b{font-size:14px;font-weight:600}.bot-toggle small{font-weight:400;color:var(--ink-soft);line-height:1.5}.bot-toggle input{width:20px;height:20px;accent-color:var(--accent);flex:0 0 20px}.bot-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}.bot-theme-choice{border:1px solid var(--line);padding:5px;border-radius:10px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;overflow:hidden}.bot-theme-choice[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.bot-theme-choice>span:last-child{display:block;font-size:11px;padding:8px 2px 3px;white-space:nowrap}.bot-theme-swatch{display:block;height:64px;position:relative;border-radius:6px;background:#f4f7fb;overflow:hidden;border-top:12px solid var(--theme-color)}.bot-theme-swatch.dark{background:#111827}.bot-theme-swatch i:first-child{display:block;position:absolute;top:10px;left:7px;width:55%;height:6px;border-radius:3px;background:#dce3ed}.bot-theme-swatch.dark i:first-child{background:#334155}.bot-theme-swatch i:last-child{display:block;position:absolute;bottom:10px;right:7px;width:30%;height:7px;border-radius:4px;background:var(--theme-color)}.bot-icon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}.bot-icon-grid button{display:grid;justify-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:14px 8px;cursor:pointer}.bot-icon-grid button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.bot-icon-grid svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bot-icon-grid span{font-size:12px;text-transform:capitalize}.bot-image-setting{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--line);border-radius:12px;margin:18px 0}.bot-image-thumb{flex:0 0 64px;width:64px;height:64px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);font-size:26px;color:var(--muted)}.bot-image-thumb img{width:100%;height:100%;object-fit:cover}.bot-image-setting>div:last-child{display:grid;gap:6px;min-width:0}.bot-image-setting b{font-size:14px}.bot-image-setting small{font-size:12px;color:var(--muted)}.bot-upload-label{display:inline-block;position:relative;cursor:pointer;color:var(--accent)!important;margin:0!important;overflow:hidden}.bot-upload-label input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.bot-upload-label:focus-within{outline:2px solid var(--accent);outline-offset:3px}.bot-image-setting .btn{padding:4px 0;min-height:28px;width:max-content;border:0;font-size:12px!important}.bot-knowledge-search{display:grid;gap:8px;margin:24px 0!important}.bot-knowledge-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 30px}.bot-knowledge-actions>:is(button,label){position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:22px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);text-align:center;cursor:pointer;margin:0!important;overflow:hidden}.bot-knowledge-actions>:is(button,label):hover{background:var(--surface-2);border-color:var(--ink-soft)}.bot-knowledge-actions span{display:grid;place-items:center;width:36px;height:36px;background:var(--surface-2);border-radius:9px;font-size:22px}.bot-knowledge-actions b{font-size:14px;font-weight:600}.bot-knowledge-actions small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.4}.bot-knowledge-actions input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.bot-knowledge-actions label:focus-within{outline:2px solid var(--accent);outline-offset:3px}.bot-knowledge-editor{padding:20px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);margin:20px 0}.bot-knowledge-editor h3{font-size:17px!important;margin:0 0 20px}.bot-knowledge-editor label{display:block;margin-top:16px}.bot-source-list{display:grid;gap:12px;margin:18px 0 24px}.bot-source-item{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}.bot-source-item>div:first-child{min-width:0}.bot-source-item span,.bot-source-item small{font-size:11px;color:var(--muted)}.bot-source-item h4{font-size:15px;margin:6px 0}.bot-source-item p{font-size:13px;color:var(--ink-soft);line-height:1.6}.bot-source-item>div:last-child{display:flex;gap:8px;flex-shrink:0}.bot-source-item button{padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink-soft);font-size:12px;cursor:pointer}.bot-count{font-size:12px;color:var(--muted);margin-left:8px}.bot-category-picker{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:28px}.bot-category-picker>summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:var(--ink-soft);cursor:pointer}.bot-category-picker summary b{font-weight:600;color:var(--ink)}.bot-category-picker summary>span{margin-left:auto;color:var(--accent)}.bot-industry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:22px}.bot-industry-grid button{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}.bot-industry-grid button[aria-pressed=true]{border-color:var(--accent);background:var(--surface-2)}.bot-industry-mark{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--surface-2);font-size:22px}.bot-industry-grid b{font-size:12px;font-weight:500;line-height:1.4}.bot-dashboard [hidden]{display:none!important}.bot-dashboard :is(button,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1150px){.bot-dashboard .bot-columns{grid-template-columns:minmax(310px,1fr) minmax(290px,.8fr);gap:20px}.bot-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bot-knowledge-actions small{display:none}.bot-dashboard .bot-editor-panel{padding:24px}}
@media(max-width:950px){.bot-dashboard .bot-columns{grid-template-columns:1fr}.bot-dashboard .bot-preview{position:static;max-width:560px;width:100%;margin-inline:auto}.bot-dashboard .bot-preview iframe{height:610px}.bot-builder-tabs{width:100%}.bot-builder-tabs button{flex:1}.bot-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.bot-dashboard .bot-editor-panel{padding:20px 16px}.bot-editor-panel .bot-grid{grid-template-columns:1fr;gap:0}.bot-builder-tabs button{padding:9px 10px;font-size:12px}.bot-theme-grid,.bot-icon-grid{gap:7px}.bot-theme-choice>span:last-child{font-size:10px}.bot-knowledge-actions{gap:8px}.bot-knowledge-actions>:is(button,label){padding:18px 6px}.bot-knowledge-actions b{font-size:12px}.bot-source-item{flex-direction:column}.bot-dashboard .bot-preview iframe{height:580px}.bot-header .bot-actions{width:100%}.bot-header .bot-actions .btn{flex:1}.bot-image-setting{gap:12px;padding:12px}}

.bot-industry-mark svg{width:24px;height:24px}
.bot-dashboard .bot-preview iframe{height:clamp(580px,calc(100dvh - 220px),760px)}
@media(max-width:950px){.bot-dashboard .bot-preview iframe{height:580px}}
