/* ============================================
   Company Profile Page — Modern Data Depth
   Matches mockup: company-page-modern.html
   ============================================ */

.company-page {
  padding-top: 0;
  padding-bottom: 3rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted, #9CA3AF);
}
.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { color: var(--color-text-muted, #9CA3AF); }

/* Hero Card */
.company-hero {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.company-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark, #111827);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.company-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.375rem;
  flex-wrap: wrap;
}

.company-location {
  color: var(--color-text-secondary, #6B7280);
  font-size: 0.875rem;
}

.facility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.625rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-primary-light, #EEF3F9);
  color: var(--color-primary);
}

.hero-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Buttons (namespaced to company page) */
.company-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--color-border, #E5E7EB);
  background: white;
  color: var(--color-text-dark, #111827);
  text-decoration: none;
  transition: all 0.15s;
}
.company-page .btn:hover { background: var(--color-bg-light, #F8F9FB); border-color: #D1D5DB; }
.company-page .btn-sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
.company-page .btn-icon { font-size: 0.875rem; }
.company-page .btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.company-page .btn-primary:hover { background: var(--color-primary-hover, #274B7A); }

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border-light, #F3F4F6);
  padding-top: 1.5rem;
}

.stat-cell {
  text-align: center;
  position: relative;
}

.stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border-light, #F3F4F6);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-483 .stat-value { color: #3B82F6; }
.stat-wl .stat-value { color: #F59E0B; }
.stat-recall .stat-value { color: #EF4444; }
.stat-last .stat-value { font-size: 1rem; color: var(--color-text-dark, #111827); }
.stat-total .stat-value { color: var(--color-text-dark, #111827); }

/* Summary Sentence */
.company-summary {
  margin-top: 1.25rem;
  padding: 0.875rem 1.25rem;
  background: var(--color-bg-subtle, #F3F4F6);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--color-text, #374151);
  line-height: 1.6;
}

.summary-highlight {
  font-weight: 600;
  color: var(--color-text-dark, #111827);
}

/* ============================================
   Two-Column Content Grid
   ============================================ */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

/* Card Base */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark, #111827);
  margin: 0;
}

.card-header-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
}

.card-body {
  padding: 1.25rem 1.5rem;
}

/* ============================================
   Timeline (inside card)
   ============================================ */

.timeline-card { margin-bottom: 1.5rem; }
.timeline-card .card-body { padding: 0.5rem 1.5rem 1.25rem; }

.tl-year-group {
  padding: 1rem 0 0.25rem;
}

.tl-year-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
  transition: background 0.1s;
}
.tl-item:last-child { border-bottom: none; }
.tl-item:hover { background: var(--color-bg-light, #F8F9FB); margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.375rem;
}
.tl-dot-483 { background: #3B82F6; }
.tl-dot-wl { background: #F59E0B; }
.tl-dot-recall { background: #EF4444; }

.tl-content { flex: 1; min-width: 0; }

.tl-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tl-type {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.0625rem 0.4375rem;
  border-radius: 4px;
}
.tl-type-483 { background: #EBF5FF; color: #1D4ED8; }
.tl-type-wl { background: #FEF3C7; color: #92400E; }
.tl-type-recall { background: #FEE2E2; color: #991B1B; }

.tl-date {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
}

.tl-detail {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #6B7280);
  margin-top: 0.125rem;
}

.tl-link {
  font-size: 0.75rem;
  color: var(--color-primary);
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
}
.tl-link:hover { text-decoration: underline; }

.tl-hidden { display: none; }

.tl-show-more {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background: none;
  border: 1px dashed var(--color-border, #E5E7EB);
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.tl-show-more:hover {
  background: var(--color-bg-light, #F8F9FB);
}

/* ============================================
   Regulatory Timeline (inside card)
   ============================================ */

.chain-card { margin-bottom: 1.5rem; }

.enforcement-chain {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1.25rem;
}

.chain-node {
  flex: 1;
  padding: 0.75rem;
  border-radius: 4px;
  min-width: 0;
}

.chain-node-483 {
  background: #EBF5FF;
  border: 1px solid #BFDBFE;
}
.chain-node-wl {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
}
.chain-node-recall {
  background: #FEE2E2;
  border: 1px solid #FECACA;
}

.chain-node-type {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.chain-node-483 .chain-node-type { color: #1D4ED8; }
.chain-node-wl .chain-node-type { color: #92400E; }
.chain-node-recall .chain-node-type { color: #991B1B; }

.chain-node-date {
  font-size: 0.75rem;
}
.chain-node-483 .chain-node-date { color: #1D4ED8; }
.chain-node-wl .chain-node-date { color: #92400E; }
.chain-node-recall .chain-node-date { color: #991B1B; }

.chain-node-detail {
  font-size: 0.6875rem;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-node-more {
  background: var(--color-bg-subtle, #F3F4F6);
  border: 1px solid var(--color-border, #E5E7EB);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chain-node-more .chain-node-type {
  color: var(--color-text-secondary, #6B7280);
  font-size: 0.75rem;
}

.chain-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  color: var(--color-text-muted, #9CA3AF);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ============================================
   Sidebar
   ============================================ */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* GMP Category Breakdown */
.category-list { list-style: none; padding: 0; margin: 0; }

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
  font-size: 0.8125rem;
}
.category-item:last-child { border-bottom: none; }

.gmp-bar-row {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
}
.gmp-bar-row:last-child { border-bottom: none; }

.gmp-bar-label {
  flex: 0 0 130px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gmp-bar-label a {
  color: var(--color-primary);
  text-decoration: none;
}
.gmp-bar-label a:hover { text-decoration: underline; }

.gmp-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--color-primary-light, #EEF3F9);
  overflow: hidden;
  margin: 0 0.5rem;
}

.gmp-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--color-primary);
  min-width: 4px;
}

.gmp-bar-count {
  flex: 0 0 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
  text-align: right;
}

/* Related Companies */
.related-company-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
}
.related-company-item:last-child { border-bottom: none; }

.related-company-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
}
.related-company-name:hover { text-decoration: underline; }

.related-company-count {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
}

/* Regulatory Report CTA */
.report-cta-card {
  border-left: 3px solid var(--color-primary);
}
.report-cta-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-dark, #111827);
  margin-bottom: 0.5rem;
}
.report-cta-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #6B7280);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.report-cta-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.report-cta-link:hover { text-decoration: underline; }
.report-cta-price {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.5rem;
}

/* Subscribe CTA */
.cta-card {
  background: var(--color-primary) !important;
  color: white;
}

.cta-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-text {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.company-page .btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: white;
  color: var(--color-primary);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.company-page .btn-cta:hover { background: var(--color-bg-light, #F8F9FB); }

/* Inline Subscribe Form */
.subscribe-inline-form {
  margin-top: 0.75rem;
}
.subscribe-form-row {
  display: flex;
  gap: 0.5rem;
}
.subscribe-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.8125rem;
  outline: none;
  min-width: 0;
}
.subscribe-input::placeholder { color: rgba(255,255,255,0.6); }
.subscribe-input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.2); }
.subscribe-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.subscribe-message {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  display: none;
}
.subscribe-error { color: #FCA5A5; }
.subscribe-success { color: #A7F3D0; }
.cta-fine-print {
  font-size: 0.6875rem;
  opacity: 0.65;
  margin-top: 0.75rem;
}

/* ============================================
   Documents Section (full-width below grid)
   ============================================ */

.documents-section {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.doc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.doc-table thead th {
  text-align: left;
  padding: 0.625rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-border, #E5E7EB);
}

.doc-table tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
  vertical-align: top;
}

.doc-table tbody tr:hover td {
  background: var(--color-bg-light, #F8F9FB);
}

.doc-type-badge {
  display: inline-block;
  padding: 0.0625rem 0.4375rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-483 { background: #EBF5FF; color: #1D4ED8; }
.badge-wl { background: #FEF3C7; color: #92400E; }
.badge-recall { background: #FEE2E2; color: #991B1B; }

.doc-detail-subject {
  font-size: 0.8125rem;
  color: var(--color-text, #374151);
}
.doc-detail-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.125rem;
}

.doc-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.1875rem 0.5rem;
  border-radius: 4px;
  transition: background 0.1s;
}
.doc-link:hover { background: var(--color-primary-light, #EEF3F9); }

.doc-link-analysis {
  background: #ECFDF5;
  color: #065F46;
  font-weight: 600;
}
.doc-link-analysis:hover { background: #D1FAE5; }

.linked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--color-text-muted, #9CA3AF);
  padding: 0.125rem 0.375rem;
  background: var(--color-bg-subtle, #F3F4F6);
  border-radius: 4px;
}

/* Expandable Document Rows */
.doc-row-expandable {
  cursor: pointer;
}
.doc-row-expandable:hover td {
  background: var(--color-bg-light, #F8F9FB);
}

.expand-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-text-muted, #9CA3AF);
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.2s;
}
.doc-row-expandable[aria-expanded="true"] .expand-indicator {
  transform: rotate(180deg);
}

.doc-expand-row td {
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid var(--color-border-light, #F3F4F6);
}

.doc-expand-content {
  background: var(--color-bg-subtle, #F3F4F6);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.expand-field {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  color: var(--color-text, #374151);
  line-height: 1.5;
}
.expand-field a {
  color: var(--color-primary);
  text-decoration: none;
}
.expand-field a:hover { text-decoration: underline; }

.expand-label {
  flex: 0 0 auto;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted, #9CA3AF);
  min-width: 5.5rem;
}

.gmp-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.gmp-tag,
.gmp-tag-link {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  background: var(--color-primary-light, #EEF3F9);
  color: var(--color-primary);
  white-space: nowrap;
}
.gmp-tag-link {
  text-decoration: none;
}
.gmp-tag-link:hover {
  background: #DBEAFE;
  text-decoration: none;
}

/* Desktop: show expand rows, hide inline expand */
.doc-expand-inline { display: none; }

.filter-select-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

/* No documents */
.no-documents {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-secondary, #6B7280);
}

/* Page Footer */
.page-footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-text-muted, #9CA3AF);
  font-size: 0.75rem;
}

/* ============================================
   Loading & Not Found
   ============================================ */

.loading-state,
.not-found {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--color-text-secondary, #6B7280);
}

.not-found h1 {
  font-size: 2rem;
  color: var(--color-text-dark, #111827);
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ============================================
   Toast Notification
   ============================================ */

.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--color-text-dark, #111827);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .enforcement-chain { flex-direction: column; }
  .chain-connector { transform: rotate(90deg); padding: 0.25rem 0; justify-content: center; }
}

@media (max-width: 600px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-top { flex-direction: column; gap: 1rem; }
  .company-hero { padding: 1.5rem; }

  .doc-table thead { display: none; }
  .doc-table tbody,
  .doc-table tr,
  .doc-table td { display: block; }
  .doc-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 8px;
    padding: 0.75rem;
  }
  .doc-table td { border-bottom: none; padding: 0.25rem 0; }
  .doc-expand-row { display: none !important; }
  .doc-row-expandable[aria-expanded="true"] .doc-expand-inline { display: block; margin-top: 0.5rem; }
}

/* Confidence Badges for Regulatory Timelines */
.confidence-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: middle;
  margin-left: 0.375rem;
}
.confidence-confirmed {
  background: #DEF7EC;
  color: #03543F;
}
.confidence-high {
  background: #DBEAFE;
  color: #1E40AF;
}
.confidence-moderate {
  background: #FEF3C7;
  color: #92400E;
}
.confidence-possible {
  background: #F3F4F6;
  color: #6B7280;
}

/* ============================================
   Risk Score + Clean Streak Row
   ============================================ */

.risk-streak-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.risk-score-box {
  flex: 1;
  background: var(--color-bg-light, #F8F9FB);
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  text-align: center;
}

.risk-score-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted, #9CA3AF);
  margin-bottom: 0.375rem;
}

.risk-score-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.risk-red { background: #FEE2E2; color: #991B1B; }
.risk-yellow { background: #FEF3C7; color: #92400E; }
.risk-green { background: #DEF7EC; color: #03543F; }
.risk-gray { background: #F3F4F6; color: #6B7280; }

.risk-score-detail {
  font-size: 0.75rem;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.25rem;
}

.clean-streak-box {
  flex: 1;
  background: var(--color-bg-light, #F8F9FB);
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  text-align: center;
}

.clean-streak-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark, #111827);
  line-height: 1.2;
}

.clean-streak-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted, #9CA3AF);
  margin-top: 0.125rem;
}

.clean-streak-trend {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.trend-improving { color: #03543F; font-weight: 600; }
.trend-worsening { color: #991B1B; font-weight: 600; }
.trend-stable { color: #6B7280; font-weight: 500; }

/* Risk Gauge Methodology Note */
.risk-gauge-methodology {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--color-text-muted, #9CA3AF);
  padding-bottom: 0.5rem;
}

/* Company Profile Disclaimer */
.company-disclaimer {
  background: var(--color-bg-light, #F8F9FB);
  border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted, #6B7280);
  line-height: 1.5;
}
