.stl-wrap{max-width:860px;margin:20px auto 0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.stl-wrap svg{max-width:20px;max-height:20px;flex-shrink:0}
.stl-header{display:flex;align-items:center;gap:14px;margin-bottom:28px}
.stl-header h1{font-size:22px;font-weight:700;color:#1e1e1e;margin:0}
.stl-header span{font-size:13px;color:#888;font-weight:400}
.stl-logo{width:40px;height:40px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:10px;display:flex;align-items:center;justify-content:center}
.stl-logo span{color:#fff;font-size:22px;font-weight:900;line-height:1}
.stl-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:22px 24px;margin-bottom:16px}
.stl-card h2{font-size:15px;font-weight:600;color:#1e1e1e;margin:0 0 16px;display:flex;align-items:center;gap:8px}
.stl-card h2 svg{width:18px;height:18px;color:#6366f1}
.stl-row{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}
.stl-row:last-child{border-bottom:none}
.stl-label{font-size:13px;color:#64748b;min-width:140px}
.stl-value{font-size:13px;color:#1e1e1e;font-weight:500}
.stl-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px}
.stl-badge-ok{background:#dcfce7;color:#166534}
.stl-badge-pro{background:#fef3c7;color:#92400e}
.stl-badge-off{background:#fee2e2;color:#991b1b}
.stl-usage-bar{background:#f1f5f9;border-radius:6px;height:8px;overflow:hidden;margin-top:6px}
.stl-usage-fill{height:100%;border-radius:6px;transition:width .4s}
.stl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.stl-platform{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:13px}
.stl-platform svg{width:20px;height:20px;flex-shrink:0}
.stl-platform .stl-pname{font-weight:500;color:#1e1e1e}
.stl-cta{background:linear-gradient(135deg,#1e1b4b,#312e81);border-radius:10px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.stl-cta-text h3{color:#fff;font-size:16px;margin:0 0 4px}
.stl-cta-text p{color:#a5b4fc;font-size:13px;margin:0}
.stl-cta-btn{display:inline-block;background:#fff;color:#312e81;padding:10px 22px;border-radius:6px;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}
.stl-form-table{width:100%}
.stl-form-table th{font-size:13px;color:#64748b;font-weight:500;text-align:left;padding:8px 12px 8px 0;width:140px;vertical-align:middle}
.stl-form-table td{padding:8px 0;vertical-align:middle}
.stl-form-table select,.stl-form-table input[type=text]{font-size:13px}
.stl-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;background:#f1f5f9;padding:6px 10px;border-radius:6px;word-break:break-all;color:#475569}
.stl-copy-btn{font-size:11px;font-weight:600;padding:4px 10px;border:1px solid #6366f1;border-radius:4px;background:#fff;color:#6366f1;cursor:pointer;white-space:nowrap;transition:all .15s}
.stl-copy-btn:hover{background:#6366f1;color:#fff}
.stl-copy-btn:active{transform:scale(.95)}
.stl-copy-btn--copied{background:#22c55e;color:#fff;border-color:#22c55e}

/* ─── Wizard Toggle Button ────────────────────────────────────────── */

.stl-wizard-toggle{font-size:13px;font-weight:600;padding:7px 16px;background:#fff;color:#6366f1;border:1px solid #c7d2fe;border-radius:6px;cursor:pointer;white-space:nowrap;transition:all 0.15s}
.stl-wizard-toggle:hover{background:#f5f3ff;border-color:#6366f1}
.stl-wizard-toggle--active{background:#6366f1;color:#fff;border-color:#6366f1}

/* ─── Onboarding Wizard ─────────────────────────────────────────────── */

.stl-wizard{margin-bottom:16px;background:#f5f3ff;border-color:#ddd6fe}
.stl-wizard h2 svg{color:#6366f1}

.stl-wizard-steps{display:flex;flex-direction:column;gap:10px}
.stl-wizard-step{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;transition:all 0.3s ease}

.stl-wizard-step-bullet{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;background:#ede9fe;color:#6366f1}

.stl-wizard-step-body{display:flex;flex-direction:column;gap:4px}
.stl-wizard-step-body strong{font-size:13px;color:#1e1e1e}
.stl-wizard-step-body span{font-size:12px;color:#64748b;line-height:1.5}

.stl-mcp-url-row{display:flex;align-items:center;gap:8px;margin-top:6px}
.stl-mcp-url-row .stl-mono{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.stl-mcp-url-row .stl-copy-btn{flex-shrink:0}

.stl-wizard-footer{margin-top:14px;display:flex;justify-content:flex-end;align-items:center}
.stl-wizard-done-btn{font-size:12px;font-weight:600;padding:6px 12px;background:#fff;color:#6366f1;border:1px solid #c7d2fe;border-radius:6px;cursor:pointer;transition:all 0.15s}
.stl-wizard-done-btn:hover{background:#f5f3ff}

/* ─── AI Visibility Score Card ──────────────────────────────────── */

.stl-health-score{flex-shrink:0}
.stl-health-score--green{background:#dcfce7;color:#166534}
.stl-health-score--yellow{background:#fef3c7;color:#92400e}
.stl-health-score--red{background:#fee2e2;color:#991b1b}

/* ─── AI Channels Card ──────────────────────────────────────────── */

.stl-channels-card h3{font-size:15px;font-weight:600;color:#1e1e1e;margin:0 0 4px}
.stl-card-desc{font-size:12px;color:#64748b;margin:0 0 16px;line-height:1.5}
.stl-channels-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.stl-channel-item{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:13px}
.stl-channel-icon{font-size:18px;flex-shrink:0;line-height:1}
.stl-channel-name{font-weight:500;color:#1e1e1e;min-width:90px}
.stl-channel-status{font-size:11px;font-weight:600;margin-left:auto;white-space:nowrap;cursor:default}
.stl-status-active{color:#166534}
.stl-status-inactive{color:#94a3b8}
.stl-status-error{color:#991b1b}
.stl-channel-status[title]{cursor:help}

.stl-btn-sm{font-size:11px;font-weight:600;padding:4px 10px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#64748b;cursor:pointer;white-space:nowrap;transition:all .15s}
.stl-btn-sm:hover{background:#f1f5f9;color:#1e1e1e}
.stl-btn-sm:disabled{opacity:.5;cursor:not-allowed}
.stl-btn-toggle{min-width:62px;text-align:center}

/* ─── ACP Payment Health Card ──────────────────────────────────── */

.stl-acp-health-card h3{font-size:15px;font-weight:600;color:#1e1e1e;margin:0 0 16px}
.stl-acp-metrics{display:flex;flex-wrap:wrap;gap:16px}
.stl-metric{flex:1;min-width:100px;text-align:center;padding:14px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}
.stl-metric-value{display:block;font-size:22px;font-weight:700;color:#1e1e1e;line-height:1.2}
.stl-metric-label{display:block;font-size:11px;color:#64748b;margin-top:4px;text-transform:uppercase;letter-spacing:.3px}

/* ─── AI Assistant Chat ──────────────────────────────────────────── */

.stl-merchant-ai-card h3{font-size:15px;font-weight:600;color:#1e1e1e;margin:0 0 12px}

.stl-ai-chat-messages{max-height:300px;overflow-y:auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;margin-bottom:12px;display:flex;flex-direction:column;gap:8px}

.stl-ai-msg{padding:8px 12px;border-radius:8px;font-size:13px;line-height:1.5;word-wrap:break-word;max-width:85%}
.stl-ai-msg-user{align-self:flex-end;background:#3b82f6;color:#fff;border-bottom-right-radius:2px}
.stl-ai-msg-bot{align-self:flex-start;background:#e2e8f0;color:#1e293b;border-bottom-left-radius:2px}

.stl-ai-typing{opacity:.6;font-style:italic}

.stl-ai-chat-input{display:flex;gap:8px}
.stl-ai-chat-input input{flex:1;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:13px;outline:none}
.stl-ai-chat-input input:focus{border-color:#6366f1;box-shadow:0 0 0 1px #c7d2fe}
.stl-ai-chat-input .stl-btn{font-size:13px;font-weight:600;padding:8px 16px;background:#6366f1;color:#fff;border:none;border-radius:6px;cursor:pointer;white-space:nowrap;transition:all .15s}
.stl-ai-chat-input .stl-btn:hover{background:#4f46e5}
.stl-ai-chat-input .stl-btn:disabled{opacity:.5;cursor:not-allowed}

.stl-ai-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.stl-ai-suggestion-btn{font-size:11px;font-weight:500;padding:4px 10px;background:#f1f5f9;color:#6366f1;border:1px solid #e2e8f0;border-radius:14px;cursor:pointer;white-space:nowrap;transition:all .15s}
.stl-ai-suggestion-btn:hover{background:#6366f1;color:#fff;border-color:#6366f1}

.stl-ai-ops-suggestions{margin-top:14px;padding:12px 14px;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px}
.stl-ai-ops-suggestions h4{font-size:13px;font-weight:600;color:#92400e;margin:0 0 8px}
.stl-ai-ops-suggestions ul{margin:0;padding:0;list-style:none}
.stl-ai-ops-suggestions li{font-size:12px;color:#a16207;line-height:1.7;padding:3px 0;border-bottom:1px solid #fef3c7}
.stl-ai-ops-suggestions li:last-child{border-bottom:none}

/* ─── Tab Navigation ─────────────────────────────────────────────── */
.stl-tabs{display:flex;gap:0;border-bottom:2px solid #e2e8f0;margin-bottom:20px}
.stl-tab{background:none;border:none;border-bottom:2px solid transparent;color:#94a3b8;padding:10px 20px;cursor:pointer;font-size:14px;font-weight:600;margin-bottom:-2px;transition:all .15s}
.stl-tab:hover{color:#6366f1}
.stl-tab-active{border-bottom-color:#6366f1;color:#1e1e1e}
.stl-tab-panel{display:none}
.stl-tab-panel-active{display:block}

/* ─── Pro feature label (subtle) ────────────────────────────────── */
.stl-pro-tag{display:inline-flex;align-items:center;gap:3px;padding:1px 7px;border-radius:10px;background:#f5f3ff;color:#6366f1;font-size:10px;font-weight:600;cursor:default;border:1px solid #ddd6fe;white-space:nowrap}
.stl-pro-tag:hover{background:#ede9fe}

/* ─── Help tooltip (?) ─────────────────────────────────────────── */
.s2ll-help{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;background:#e2e8f0;color:#64748b;font-size:10px;cursor:help;flex-shrink:0;vertical-align:middle;margin-left:4px}
.s2ll-help:hover{background:#6366f1;color:#fff}
.s2ll-help::before{content:"?"}

/* ─── Connection config collapse ────────────────────────────────── */
.stl-config-toggle{font-size:13px;font-weight:600;padding:8px 16px;background:#6366f1;color:#fff;border:none;border-radius:6px;cursor:pointer;width:100%;text-align:center;transition:all 0.15s}
.stl-config-toggle:hover{background:#4f46e5}
.stl-config-box{margin-top:10px;display:none}
.stl-config-box--open{display:block}

/* ─── Single Pro CTA (consolidated) ─────────────────────────────── */
.stl-pro-cta{background:linear-gradient(135deg,#1e1b4b,#312e81);border-radius:10px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}
.stl-pro-cta h3{color:#fff;font-size:15px;margin:0 0 2px}
.stl-pro-cta p{color:#a5b4fc;font-size:12px;margin:0}
.stl-pro-cta a{display:inline-block;background:#fff;color:#312e81;padding:8px 18px;border-radius:6px;text-decoration:none;font-weight:700;font-size:13px;white-space:nowrap}
