.eqa-workspace { max-width: 1440px; margin: 0 auto; padding: 28px 12px 60px; }
.eqa-header, .eqa-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eqa-header { justify-content: space-between; margin-bottom: 24px; }
.eqa-header h1 { font-size: 28px; margin: 0 0 5px; letter-spacing: -.6px; }
.eqa-header p, .eqa-targets span, .eqa-scenario small { color: var(--muted); }
.eqa-header p { margin: 0; }
.eqa-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 24px; align-items: start; }
.eqa-targets { display: flex; flex-direction: column; gap: 8px; }
.eqa-targets-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 14px; width: 100%; }
.eqa-targets-heading span { font-variant-numeric: tabular-nums; }
.eqa-targets button { display: grid; gap: 5px; text-align: left; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer; }
.eqa-targets button.selected { border-color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.eqa-targets span { font-size: 12px; }
.eqa-content { min-width: 0; }
.eqa-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; gap: 8px; }
.eqa-tabs button { padding: 11px 12px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; }
.eqa-tabs button[aria-current] { border-color: var(--accent); color: var(--text); }
.eqa-panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.eqa-panel h2 { margin: 0 0 22px; font-size: 20px; }
.eqa-connection-intro { margin: -10px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.eqa-panel h3 { margin: 24px 0 12px; font-size: 15px; }
.eqa-panel .field { margin-bottom: 16px; }
.eqa-panel .eqa-hint-highlight { display: block; margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 4px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--text); font-size: 12px; font-weight: 500; line-height: 1.5; }
.eqa-panel textarea { resize: vertical; line-height: 1.6; min-height: 72px; width: 100%; }
.eqa-panel .text-input { width: 100%; }
.eqa-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.eqa-form-grid > .field { align-self: start; }
.eqa-import { display: flex; align-items: center; gap: 8px; margin: -5px 0 22px; font-size: 12px; color: var(--muted); }
.eqa-import input { max-width: 240px; min-width: 0; }
.eqa-actions { margin: 12px 0; }
.eqa-actions h2 { margin: 0; margin-right: auto; }
.eqa-error { border: 1px solid var(--danger); padding: 14px; margin-bottom: 18px; border-radius: 8px; overflow-wrap: anywhere; }
.eqa-notice { color: var(--success); }
.eqa-evidence { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--surface-2); margin: 20px 0; }
.eqa-evidence p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.eqa-connection-warning { border-left-color: var(--warning); }
.eqa-statusUnknown { color: var(--warning); }
.eqa-score-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 22px 0; }
.eqa-score-strip > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.eqa-score-strip > div > span:first-child { color: var(--muted); font-size: 12px; }
.eqa-score-strip strong { font-size: 25px; font-variant-numeric: tabular-nums; }
.eqa-score-strip small { font-size: 13px; color: var(--muted); }
.eqa-badge { display: inline-flex; font-size: 11px; font-weight: 600; border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.eqa-PASS { color: var(--success); border-color: var(--success); }
.eqa-FAIL { color: var(--danger); border-color: var(--danger); }
.eqa-INCONCLUSIVE,.eqa-NEEDS_JUDGE,.eqa-ABORTED { color: var(--warning); }
.eqa-running { color: var(--accent); }
.eqa-table-wrap { overflow-x: auto; }
.eqa-workspace table { border-collapse: collapse; width: 100%; font-size: 13px; }
.eqa-workspace th,.eqa-workspace td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: left; }
.eqa-workspace th { color: var(--muted); font-size: 11px; font-weight: 500; }
.eqa-run-options { margin: 18px 0; }
.eqa-run-options .eqa-form-grid { margin-top: 16px; }
.eqa-workspace summary { cursor: pointer; }
.eqa-scenario { border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; }
.eqa-scenario summary { padding: 15px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.eqa-scenario summary::before { content: '+'; color: var(--muted); }
.eqa-scenario[open] summary::before { content: '−'; }
.eqa-scenario small { margin-left: auto; font-size: 11px; }
.eqa-category { color: var(--accent); font-size: 11px; min-width: 110px; }
.eqa-scenario-body { border-top: 1px solid var(--line); padding: 18px; }
.eqa-check-edit { padding: 16px 0; border-top: 1px solid var(--line); }
.eqa-check-result { display: flex; gap: 12px; align-items: flex-start; margin: 15px 0; font-size: 13px; }
.eqa-check-result p { color: var(--muted); margin: 4px 0; }
.eqa-evidence-links { display: flex; gap: 8px; flex-wrap: wrap; }
.eqa-transcript { border-left: 1px solid var(--line); padding-left: 18px; }
.eqa-message { padding: 14px; border-radius: 8px; margin: 12px 0; background: var(--surface-2); scroll-margin-top: 100px; }
.eqa-message-customer { margin-right: 45px; }
.eqa-message-agent { border-left: 2px solid var(--accent); margin-left: 20px; }
.eqa-message-human { border-left: 2px solid var(--warning); }
.eqa-message header { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.eqa-message small { font-size: 10px; color: var(--muted); }
.eqa-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; font-size: 13px; }
.eqa-capabilities { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.eqa-capabilities dl { display: grid; grid-template-columns: 140px 1fr; font-size: 13px; gap: 8px; }
.eqa-capabilities dt { color: var(--muted); }.eqa-capabilities dd { margin: 0; overflow-wrap: anywhere; }
.eqa-progress { display: flex; gap: 15px; align-items: center; font-size: 12px; margin: 16px 0; }.eqa-progress progress { flex: 1; accent-color: var(--accent); }
.eqa-backlog > div { border-top: 1px solid var(--line); padding: 16px 0; font-size: 13px; }.eqa-backlog p { color: var(--muted); }
.eqa-assessment { margin: 26px 0 32px; }
.eqa-assessment-counts { display: flex; flex-wrap: wrap; gap: 16px 26px; padding: 16px 0; margin: 0 0 12px; }
.eqa-assessment-counts > div { display: flex; flex-direction: column; gap: 5px; }
.eqa-assessment-counts dt { color: var(--muted); font-size: 12px; }
.eqa-assessment-counts dd { margin: 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.eqa-assessment-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.eqa-assessment-group { border: 1px solid var(--line); border-top: 3px solid var(--warning); border-radius: 8px; padding: 18px; min-width: 0; }
.eqa-assessment-strengths { border-top-color: var(--success); }
.eqa-assessment-improvements { border-top-color: var(--danger); }
.eqa-assessment-group h4 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 14px; margin: 0 0 10px; }
.eqa-assessment-group > .field-hint { margin: 0 0 12px; line-height: 1.5; }
.eqa-findings, .eqa-finding-evidence { list-style: none; padding: 0; margin: 0; }
.eqa-finding { border-top: 1px solid var(--line); padding: 14px 0; font-size: 13px; overflow-wrap: anywhere; }
.eqa-finding:last-child { padding-bottom: 0; }
.eqa-finding-title { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.eqa-finding p, .eqa-assessment-empty { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 8px 0; }
.eqa-finding-evidence li { margin-top: 10px; }
.eqa-finding-evidence blockquote { margin: 6px 0 0; border-left: 2px solid var(--line); padding-left: 10px; white-space: pre-wrap; color: var(--muted); }
.eqa-evidence-links a, .eqa-finding-evidence a { color: var(--accent); text-underline-offset: 3px; }
.eqa-message:focus, .eqa-scenario:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.eqa-scenario { scroll-margin-top: 100px; }
@media(max-width:1100px) { .eqa-assessment-groups { grid-template-columns: 1fr; } }
@media(max-width:900px) { .eqa-layout { grid-template-columns: 1fr; }.eqa-targets { flex-direction: row; flex-wrap: wrap; }.eqa-targets button { flex: 1; min-width: 180px; } }
@media(max-width:600px) { .eqa-panel { padding: 15px; }.eqa-form-grid { grid-template-columns: 1fr; }.eqa-score-strip { grid-template-columns: repeat(2,1fr); }.eqa-workspace { padding: 18px 0; }.eqa-message-customer,.eqa-message-agent { margin-left: 0; margin-right: 0; }.eqa-scenario small { margin-left: 0; }.eqa-header h1 { font-size: 24px; } }

.eqa-source { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto; padding: 16px; background: var(--surface-2); font-size: 12px; }
.eqa-source-inventory { max-height: 360px; overflow-y: auto; margin-top: 12px; }
.eqa-source-inventory > div { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.eqa-source-inventory small { display: block; margin-top: 4px; color: var(--muted); }
.eqa-evidence .eqa-import { margin: 16px 0 0; flex-wrap: wrap; }
.eqa-steps { padding-left: 22px; }
.eqa-steps > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.eqa-steps small { color: var(--muted); }
.eqa-blocked { color: var(--warning); }
.eqa-identity-settings { border-top: 1px solid var(--line); padding: 8px 0 14px; margin-top: 18px; }
.eqa-identity-settings > .field-hint, .eqa-identity-settings > div > .field-hint { line-height: 1.6; margin: 0 0 16px; }
.eqa-preflight-blockers { max-height: 300px; overflow-y: auto; padding-left: 22px; font-size: 13px; overflow-wrap: anywhere; }
.eqa-preflight-blockers > li { padding: 10px 0; }
.eqa-preflight-blockers ul { color: var(--muted); padding-left: 20px; margin-top: 6px; }
.eqa-assigned-customer { overflow-wrap: anywhere; }
