/* Enterprise console theme. All branding and interface assets are served locally. */
/* Keep regular customer-facing type readable at standard browser font settings. */
@media (min-width: 1100px) {
  .panel-heading p, .page-heading p { font-size: .875rem; }
  .stat-card div > span { font-size: .8125rem; }
  .nav-item { font-size: .875rem; }
  .activity-step strong, .drop-zone strong { font-size: .875rem; }
}
/* Readable typography at every viewport; narrow tables scroll horizontally. */
label, input[type=text], input[type=password], input[type=number], input[type=search], select,
.button, .compact, .text-button, .password-toggle,
.nav-item, .sidebar-docs, .account-meta strong, .breadcrumb,
.panel-heading p, .page-heading p, .login-subtitle,
.stat-card div > span, .drop-zone strong, .drop-zone > span,
.activity-step strong, .pattern-identity strong, .pattern-metric strong,
.section-title h3, .distribution-section h3, .empty-state h3,
.data-table td, .capture-cell strong, .capture-date, .history-table .text-button,
.destination-table td, .destination-table td:first-child,
.countermeasure-controls label, .countermeasure-controls select, .countermeasure-controls input,
.checkbox-label strong, .rule-explainer > p, .configuration-note p, .source-summary p,
.observed-row strong, .code-toolbar strong, .code-actions .button { font-size: .875rem; }
.eyebrow, .subtle-tag, .badge, .stat-card small, .upload-note, .drop-zone small,
.activity-step p, .activity-message, .progress-heading, .field-help,
.result-heading p, .result-kpis span, .result-kpis small, .pattern-identity small,
.pattern-metric small, .legend-item, .legend-item strong, .pattern-section > .field-help,
.distribution-section > .field-help, .section-title p, .target-label,
.capture-cell small, .capture-time, .data-table th, .column-note, .history-table .badge,
.pattern-status, .pagination > span, .page-note, .app-footer, .dashboard-bottom > span,
.checkbox-label small, .checkbox-label code, .rule-explainer code,
.rule-explainer > div > span, .rule-explainer > div > strong, .configuration-note strong,
.source-summary strong, .observed-row, .evidence-chip, .form-grid .field-help,
.configuration-badge, .code-actions > span, .login-footer, .login-help p,
.login-form-wrap label, .login-form-wrap > .eyebrow, .login-brand > span,
.login-story-footer, .login-features > span, .workspace-label, .account-meta span,
.sidebar-version, .workspace-security span, .workspace-security strong,
.resume-options, .resume-fields label, .resume-fields .field-help, .job-info > span,
.job-info code, .raw-result, .raw-result pre, .nav-count { font-size: .75rem; }
.result-kpis strong { font-size: 1.5rem; }
.stat-card strong { font-size: 1.85rem; }
.countermeasure-controls .panel-heading { min-height: 0; }
.cli-code { font-size: .875rem; line-height: 2.2; }
.cli-line-number { font-size: .75rem; width: 26px; }
.sidebar { width: 238px; }
.app-content { margin-left: 238px; }
.sidebar-brand > span { font-size: .625rem; letter-spacing: 1.3px; }
.sidebar-version { font-size: .625rem; letter-spacing: .1px; flex-wrap: wrap; }
.workspace-security { align-items: flex-start; }
.workspace-security > .icon { margin-top: 3px; }
.workspace-security span { line-height: 1.7; margin-top: 4px; }
.workspace-label { letter-spacing: .8px; }
.nav-item { white-space: normal; }
.nav-count { padding: 1px 5px; }
.sidebar-bottom { padding-inline: 21px; }
.stat-card { gap: 8px; }
.stat-card div > span { line-height: 1.6; }
.stat-icon { flex-shrink: 0; }
.panel-heading { gap: 12px; }
.panel-heading > div { min-width: 0; }
.panel-heading > .subtle-tag { white-space: normal; text-align: center; }
.upload-actions { gap: 14px; }
.upload-note { line-height: 1.7; }
.upload-actions > .primary { margin-left: auto; }
.activity-panel .activity-step p { line-height: 1.7; }
.distribution-layout { gap: 14px; }
.legend-item { gap: 8px; }
.result-detail-grid { gap: 28px; }
.capture-cell { min-width: 230px; }
.capture-cell strong { max-width: 260px; }
.history-table th { white-space: nowrap; }
.data-table td { white-space: nowrap; }
.destination-table { min-width: 380px; }
.target-empty { font-size: .875rem; }
.empty-state > p { font-size: .875rem; line-height: 1.8; }
.rule-explainer > div { align-items: center; }
.code-actions { flex-wrap: wrap; }
.code-actions > div { flex-wrap: wrap; }
.rule-explainer .eyebrow { font-size: .75rem; }
.rule-explainer h3 { font-size: 1rem; }
.signal-caption { font-size: .75rem; letter-spacing: 1.5px; }
.login-brand > span { letter-spacing: .9px; line-height: 1.7; }
.login-story .light { font-size: .75rem; letter-spacing: 1.3px; }
@media (min-width: 681px) and (max-width: 1100px) {
  .topbar { padding-inline: 22px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-grid, .result-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .activity-panel .activity-steps { display: block; }
  .activity-step { padding-bottom: 22px; }
  .activity-step p { max-width: none; }
  .activity-step:not(:last-child):after { display: block; left: 16px; top: 35px; bottom: 2px; }
  .step-symbol { width: 34px; height: 34px; }
  .distribution-layout { display: flex; }
  .distribution-layout canvas { width: 154px; height: 154px; max-width: 42%; }
  .chart-legend { flex: 1; margin: 0; }
  .countermeasure-controls { grid-template-columns: 1fr; }
  .countermeasure-output { display: flex; }
  .page-heading > .button { margin-top: 16px; }
  .page-heading { display: block; }
  .configuration-badge { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 680px) {
  .app-content { margin-left: 0; }
  .sidebar { width: 258px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 16px 14px; position: relative; }
  .stat-icon { display: none; }
  .stat-card div > span { font-size: .875rem; }
  .stat-card small { font-size: .75rem; }
  .page-heading p { font-size: .875rem; }
  .page-heading > .button { font-size: .875rem; }
  .panel-heading p { font-size: .875rem; }
  .panel-heading > .subtle-tag { max-width: 90px; font-size: .625rem; }
  .resume-options { font-size: .8125rem; }
  .upload-panel .button { font-size: .875rem; }
  .upload-actions > .primary { margin-left: 0; }
  .upload-note { width: 100%; font-size: .75rem; }
  .drop-zone { padding-inline: 13px; }
  .drop-zone strong { font-size: .875rem; }
  .drop-zone > span { font-size: .8125rem; }
  .drop-zone small { font-size: .75rem; }
  .result-heading { display: block; }
  .result-heading h3 { font-size: 1rem; max-width: none; }
  .result-heading p { font-size: .75rem; max-width: none; }
  .result-heading > .badge { font-size: .75rem; max-width: none; margin-top: 12px; }
  .result-kpis > div { padding: 14px; }
  .result-kpis span { font-size: .75rem; }
  .result-kpis strong { font-size: 1.5rem; }
  .result-kpis small { font-size: .75rem; }
  .section-title > .subtle-tag { max-width: 120px; white-space: normal; text-align: right; }
  .pattern-identity small { font-size: .75rem; }
  .pattern-identity strong, .pattern-metric strong { font-size: .875rem; }
  .pattern-metric small { font-size: .75rem; }
  .distribution-layout { gap: 12px; }
  .distribution-layout canvas { width: 115px; height: 115px; max-width: 38%; }
  .legend-item, .legend-item strong { font-size: .75rem; }
  .legend-item > span { gap: 5px; }
  .distribution-section > .field-help, .pattern-section > .field-help { font-size: .75rem; }
  .result-actions > .button { font-size: .8125rem; }
  .dashboard-bottom { flex-direction: column; }
  .dashboard-bottom > span { max-width: none; font-size: .75rem; }
  .dashboard-bottom .text-button { font-size: .8125rem; }
  .app-footer { flex-direction: column; gap: 7px; font-size: .75rem; }
  .app-footer > span:last-child { max-width: none; text-align: left; }
  .pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pagination > span { font-size: .75rem; }
  .pagination .button { font-size: .875rem; }
  .history-toolbar select, .history-toolbar > .button, .search-field input { font-size: .875rem; }
  .history-table .text-button { font-size: .875rem; }
  .capture-cell strong { font-size: .875rem; }
  .capture-cell small, .capture-time { font-size: .75rem; }
  .capture-date { font-size: .875rem; }
  .history-table th { font-size: .75rem; }
  .history-table td { font-size: .875rem; }
  .countermeasure-controls label, .countermeasure-controls select, .countermeasure-controls input { font-size: .875rem; }
  .code-toolbar strong { font-size: .875rem; }
  .code-toolbar > span { font-size: .625rem; }
  .cli-code { font-size: .8125rem; padding-inline: 12px; }
  .cli-line-number { width: 21px; font-size: .6875rem; }
  .code-actions { gap: 14px; }
  .code-actions > span { font-size: .75rem; }
  .code-actions .button { font-size: .75rem; padding: 9px 10px; }
  .configuration-note p { font-size: .8125rem; }
  .checkbox-label strong { font-size: .875rem; }
  .checkbox-label small, .checkbox-label code { font-size: .75rem; }
  .login-subtitle { font-size: .875rem; }
  .login-form-wrap label { font-size: .875rem; }
  .login-form-wrap input { font-size: .875rem; }
  .login-form-wrap > .eyebrow { font-size: .75rem; }
  .login-help p, .login-footer { font-size: .75rem; }
  .login-brand > span { font-size: .625rem; }
  .login-story .light { font-size: .625rem; }
  .topbar-account { gap: 6px; }
  .account-meta { max-width: 116px; }
  .account-meta strong { font-size: .75rem; }
  .account-meta span { font-size: .6875rem; }
  .breadcrumb { font-size: .8125rem; gap: 7px; }
}
.primary-target { display: flex; align-items: center; gap: 13px; border: 1px solid #dce7f9; border-radius: 7px; background: #f5f9ff; padding: 17px; margin-bottom: 17px; }
.primary-target-icon { display: flex; justify-content: center; align-items: center; width: 37px; height: 37px; border-radius: 8px; background: #e8f0ff; color: #6e94cf; flex-shrink: 0; }
.primary-target > div { min-width: 0; }
.primary-target span { display: block; font-size: .75rem; color: #92a7c5; }
.primary-target > div > strong { display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.125rem; font-weight: 600; color: #5073a4; margin-top: 3px; overflow-wrap: anywhere; }
.primary-target .primary-target-metric { margin-left: auto; text-align: right; flex-shrink: 0; }
.primary-target .primary-target-metric strong { font-family: inherit; font-size: .875rem; font-weight: 500; }
.primary-target .primary-target-metric span { margin-top: 4px; }
@media (max-width: 680px) {
  .primary-target { flex-wrap: wrap; padding: 14px; gap: 10px; }
  .primary-target-icon { width: 31px; height: 31px; }
  .primary-target > div { max-width: calc(100% - 44px); }
  .primary-target > div > strong { font-size: 1rem; }
  .primary-target .primary-target-metric { flex-basis: 100%; max-width: none; margin-left: 41px; text-align: left; }
  .primary-target .primary-target-metric strong { font-size: .8125rem; }
}
/* Anchor visually hidden labels so wide table headers cannot extend the page. */
.sr-only { left: 0; top: 0; }
.history-panel { padding: 0; }
.table-scroll { position: relative; }
/* Secondary information remains legible on the light console surfaces. */
:root { --muted: #64748b; }
.panel-heading p, .stat-card div > span, .stat-card small, .upload-note,
.drop-zone > span, .drop-zone small, .resume-options, .resume-fields .field-help,
.activity-step p, .activity-message, .progress-heading, .job-info > span,
.result-heading p, .result-kpis span, .result-kpis small, .pattern-identity small,
.pattern-metric small, .legend-item, .legend-item strong, .field-help,
.section-title p, .target-label, .result-footnote, .raw-result,
.empty-state > p, .dashboard-bottom > span, .capture-cell small,
.capture-time, .data-table th, .column-note, .pagination > span, .page-note,
.app-footer, .checkbox-label small, .configuration-note p,
.source-summary p, .observed-row, .rule-explainer > p,
.rule-explainer > div > span, .rule-explainer > div > strong,
.primary-target span, .account-meta span, .breadcrumb, .login-help p,
.login-subtitle, .login-footer { color: #64748b; }
.activity-step strong, .section-title h3, .distribution-section h3,
.pattern-identity strong, .capture-cell strong, .capture-date,
.configuration-note strong, .rule-explainer h3 { color: #475569; }
.primary-target > div > strong { color: #385e94; }
.primary-target .primary-target-metric strong { color: #5073a4; }
.subtle-tag { color: #6d7d94; }
.code-toolbar > span, .code-actions > span { color: #92aaca; }
.rule-explainer .eyebrow { color: #6c83a5; }
