:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0b1120; color: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top right, #17335c, #0b1120 52%); }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 72px; }
.topbar, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.05em; } h2 { margin-bottom: 6px; }
.eyebrow { color: #8ee6c1; font-size: .72rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 10px; }
.muted { color: #9aa9bd; line-height: 1.6; } .card { background: rgba(18, 30, 51, .88); border: 1px solid #263957; border-radius: 18px; box-shadow: 0 18px 60px rgba(0, 0, 0, .2); padding: 24px; }
.login-card { max-width: 500px; margin: 54px auto 0; } label { display: block; margin: 18px 0 8px; color: #cbd5e1; font-size: .9rem; } input, select { width: 100%; border: 1px solid #385170; border-radius: 10px; padding: 12px 13px; color: #f8fafc; background: #0e1a2e; } input:focus, select:focus { outline: 2px solid #8ee6c1; outline-offset: 2px; }
.onboarding-card { margin: 28px 0 20px; border-color: #356b61; } .onboarding-card h2 { margin-bottom: 10px; }
.setup-card { margin-bottom: 20px; border-color: #356b61; }
.workspace-card { display: grid; grid-template-columns: 1fr minmax(220px, 320px); align-items: end; gap: 8px 20px; margin-bottom: 20px; border-color: #356b61; }
.workspace-card h2 { margin-bottom: 4px; }
.workspace-card label { margin: 0; }
.workspace-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #263957; }
.workspace-actions strong { color: #8ee6c1; font-size: .86rem; }
.workspace-actions .button { width: auto; margin: 0; padding: 9px 12px; font-size: .82rem; }
.advanced-area { display: none; }
body.show-advanced .advanced-area { display: block; }
.setup-progress { color: #8ee6c1; white-space: nowrap; }
.agent-style-lab { margin: 18px 0; padding: 14px; border: 1px solid #263957; border-radius: 12px; background: #0e1a2e; }
.agent-style-lab summary { cursor: pointer; color: #dce7f7; }
.agent-style-lab > .form-grid { display: grid; gap: 9px; margin-top: 14px; }
.agent-style-lab label { margin: 0; }
.agent-style-lab .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-style-lab .button { width: auto; margin: 0; }
.agent-style-lab textarea, .agent-style-lab input, .agent-style-lab select { width: 100%; box-sizing: border-box; }
.agent-style-lab textarea { resize: vertical; }
.setup-steps { display: grid; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.setup-steps li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #263957; border-radius: 12px; background: #0e1a2e; }
.setup-steps li.is-complete { border-color: #356b61; background: rgba(45, 103, 82, .18); }
.setup-steps li > span:nth-child(2) { display: grid; gap: 3px; }
.setup-steps small { color: #91a4bd; }
.step-marker { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #061218; background: #8ee6c1; font-weight: 800; }
.is-complete .step-marker { background: #4ade80; }
.step-link { padding: 8px 10px; font-size: .8rem; text-decoration: none; white-space: nowrap; }
.form-help { margin-bottom: 4px; }
.field-help { margin: 6px 0 0; color: #91a4bd; font-size: .82rem; line-height: 1.5; }
.widget-settings { margin-top: 20px; padding: 0 14px 14px; border: 1px solid #263957; border-radius: 12px; }
.widget-settings legend { padding: 0 6px; color: #8ee6c1; font-weight: 800; }
.widget-settings input[type="color"] { width: 64px; height: 42px; padding: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; }
.checkbox-label input { width: auto; }
.button { cursor: pointer; border: 0; border-radius: 10px; padding: 12px 16px; color: #061218; background: #8ee6c1; font-weight: 800; } .button.secondary { color: #dbeafe; background: #203554; } form .button { width: 100%; margin-top: 20px; }
.error { min-height: 1.4em; color: #ff9b9b; margin: 12px 0 0; } .hidden { display: none !important; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px 0 20px; } .summary span { display: block; color: #91a4bd; font-size: .78rem; margin-bottom: 8px; } .summary strong { overflow-wrap: anywhere; }
.status-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0 20px; } .status-grid span { padding: 14px; border-radius: 10px; background: #0e1a2e; color: #9aa9bd; } .status-grid strong { color: #8ee6c1; }
.inline-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; } .inline-form label { margin-top: 0; } .inline-form .button { margin-top: 0; width: 100%; }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0; } .two-column .button { margin-top: 20px; } .agents-list { list-style: none; padding: 0; margin: 20px 0 0; } .agents-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #263957; } .agents-list small { color: #91a4bd; } textarea { width: 100%; resize: vertical; border: 1px solid #385170; border-radius: 10px; padding: 12px 13px; color: #f8fafc; background: #0e1a2e; font: inherit; } .knowledge-search { margin-top: 18px; } .knowledge-search .toolbar input { flex: 1; }
.agent-row > span:last-child { min-width: 220px; } .compact-label { display: inline; margin: 0 8px 0 0; font-size: .75rem; } .agent-status { width: auto; min-width: 120px; padding: 7px 9px; } .agent-knowledge { margin-top: 8px; min-height: 44px; } details { margin-top: 12px; } summary { cursor: pointer; color: #8ee6c1; font-size: .85rem; } .agent-config { padding: 8px 0; } .config-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .config-grid label { margin-top: 8px; } .conversation-result { margin-top: 20px; padding: 16px; border-radius: 12px; background: #0e1a2e; min-height: 64px; } .conversation-result p { color: #f8fafc; white-space: pre-wrap; } .code-block { overflow-x: auto; white-space: pre-wrap; word-break: break-word; padding: 16px; border: 1px solid #263957; border-radius: 10px; color: #8ee6c1; background: #07101d; }
.agent-advanced-settings { margin-top: 20px; padding-top: 14px; border-top: 1px solid #263957; }
.agent-advanced-settings summary { font-weight: 800; }
.agent-versions { width: auto; margin-top: 8px; padding: 7px 9px; font-size: .78rem; } .agent-version-list { display: grid; gap: 6px; margin-top: 8px; } .agent-version { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px; border: 1px solid #263957; border-radius: 8px; } .agent-version span { color: #91a4bd; font-size: .78rem; } .agent-version .button { width: auto; margin: 0; padding: 5px 8px; font-size: .72rem; }
.provider-test { margin-top: 24px; padding-top: 20px; border-top: 1px solid #263957; } .provider-test h3 { margin: 0 0 6px; } .provider-test .inline-form { grid-template-columns: 1fr 1fr auto; } .provider-test .button { min-width: 170px; }
.simulator-meta { display: block; margin-top: 10px; color: #91a4bd; } .citation-list { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 18px; } .citation-list li { color: #dce7f5; } .citation-list small { color: #91a4bd; line-height: 1.45; }
.toolbar { display: flex; gap: 10px; align-items: center; } .toolbar select { width: auto; min-width: 150px; } .toolbar input[type="search"] { width: min(260px, 100%); } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { padding: 15px 12px; text-align: left; border-top: 1px solid #263957; vertical-align: top; } th { color: #91a4bd; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; } td { color: #dce7f5; } td small { color: #91a4bd; }
.lead-management { min-width: 220px; } .lead-management summary { display: inline-block; } .lead-management-form { padding: 4px 0; } .lead-management-form label { margin: 10px 0 6px; font-size: .78rem; } .lead-management-form input, .lead-management-form textarea { padding: 8px 9px; font-size: .82rem; } .lead-management-form .button { width: auto; margin-top: 8px; padding: 8px 10px; font-size: .78rem; } .lead-management-message { display: block; margin-top: 6px; color: #8ee6c1; } .lead-follow-up { width: auto !important; margin: 0 0 8px !important; padding: 7px 9px; font-size: .78rem; } .warning-text { color: #f4c46b; }
.integration-health-ok { color: #8ee6c1 !important; } .integration-health-error { color: #ff9b9b !important; }
.lead-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 14px 0; } .lead-pagination .button { width: auto; margin: 0; padding: 8px 12px; }
.job-history { margin-top: 8px; } .job-history summary { color: #91a4bd; font-size: .78rem; } .job-history-list { display: grid; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; } .job-run { padding: 7px 9px; border-left: 2px solid #4ade80; background: rgba(14, 26, 46, .75); } .job-run-failed { border-left-color: #ff9b9b; } .job-run small { color: #91a4bd; line-height: 1.4; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .inline-form, .config-grid, .status-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .topbar, .section-heading { align-items: flex-start; flex-direction: column; } .summary-grid, .two-column, .inline-form, .config-grid, .status-grid { grid-template-columns: 1fr; } .toolbar { width: 100%; flex-wrap: wrap; } .toolbar select { flex: 1; } .toolbar .button { width: 100%; } .agent-row { align-items: flex-start; flex-direction: column; } .agent-row > span:last-child { width: 100%; } .setup-steps li { grid-template-columns: 34px 1fr; } .step-link { grid-column: 2; justify-self: start; } }
@media (max-width: 760px) { .workspace-card { grid-template-columns: 1fr; } .workspace-actions { align-items: flex-start; flex-direction: column; } }
