

@layer components {
.hn-stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.hn-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #A1A1AA; }

.hn-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 32px 0 8px; }
.hn-dot { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); }
.hn-dot.is-active { width: 24px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }

.mod-plate,
.rpt-plate,
.intel-hub {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: rgba(20, 22, 28, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.intel-hub { gap: 24px; padding: 32px 40px 40px; }

.mod-metrics { display: flex; gap: 40px; text-align: right; flex-shrink: 0; }
.mod-metric { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.mod-metric-label {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A1A1AA;
  white-space: nowrap;
}
.mod-metric-val { display: inline-flex; align-items: flex-end; gap: 4px; }
.mod-metric-denom { font-size: 1.2rem; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }
.mod-metric-foot { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.mod-metric-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }

.mod-chart {
  padding: 32px;
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mod-chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.mod-chart-head-left { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mod-chart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.mod-chart-title .pl-icon { color: #10b981; }
.mod-chart-scrub { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.mod-chart-date { font-size: 0.8rem; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.mod-chart-delta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.75rem; font-weight: 500; color: #fff; }
.mod-chart-delta .pl-icon { color: #10b981; }
.mod-chart-delta-dot { color: rgba(255, 255, 255, 0.4); }

.mod-ranges {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mod-range {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}
.mod-range.is-active { color: #fff; background: rgba(255, 255, 255, 0.15); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1); }

.mod-chart-wrap { height: 220px; }

.mod-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mod-panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 0;
}
.mod-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.mod-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
}
.mod-panel-head .mod-panel-title { margin-bottom: 0; }
.mod-panel-status { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.mod-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-color); box-shadow: 0 0 8px rgba(16, 185, 129, 0.8); }

.mod-insights { display: flex; flex-direction: column; gap: 16px; }
.mod-insight {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.mod-insight-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.mod-insight-icon svg { width: 18px; height: 18px; }
.mod-insight-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.mod-insight-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mod-insight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.mod-insight-badge .pl-icon { width: 10px; height: 10px; }

.mod-hitl { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.mod-hitl-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.mod-hitl-step .pl-icon { width: 17px; height: 17px; }
.mod-hitl-step--ai .pl-icon { color: #10b981; }
.mod-hitl-step--human .pl-icon { color: #f59e0b; }
.mod-hitl-arrow { display: flex; justify-content: center; padding: 4px 0; color: rgba(255, 255, 255, 0.35); }
.mod-hitl-arrow .pl-icon { width: 19px; height: 19px; }
.mod-hitl-arrow--up { align-items: center; gap: 8px; color: #fff; font-size: 0.85rem; }
.mod-hitl-learning { color: #fff; }

.rpt-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }

.rpt-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #131820 0%, #0c1016 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.35);
}
.rpt-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(94, 106, 210, 0.14) 0%, transparent 45%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.rpt-hero-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.rpt-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #10b981;
}
.rpt-icon svg { width: 24px; height: 24px; }
.rpt-card-head .rpt-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.rpt-card-head .rpt-icon svg { width: 19px; height: 19px; }
.rpt-icon--purple { background: rgba(94, 106, 210, 0.1); border-color: rgba(94, 106, 210, 0.2); color: #818cf8; }
.rpt-icon--yellow { background: rgba(234, 179, 8, 0.1); border-color: rgba(234, 179, 8, 0.2); color: #EAB308; }
.rpt-icon--bank {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.rpt-icon--bank svg { width: 21px; height: 21px; }

.rpt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rpt-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; flex-shrink: 0; }
.rpt-badge--unread { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.rpt-badge--purple { background: rgba(94, 106, 210, 0.15); color: #818cf8; border: 1px solid rgba(94, 106, 210, 0.3); }
.rpt-badge--yellow { background: rgba(234, 179, 8, 0.1); color: #EAB308; border: 1px solid rgba(234, 179, 8, 0.25); }

.rpt-hero-body { position: relative; z-index: 1; flex: 1; }
.rpt-micro {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.rpt-hero-title { font-size: 1.55rem; font-weight: 500; color: #fff; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 10px; }
.rpt-hero-desc { font-size: 0.88rem; line-height: 1.55; color: rgba(255, 255, 255, 0.6); margin: 0 0 24px; }

.rpt-hero-stats {
  display: flex;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.rpt-hero-stat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-right: 1px solid rgba(255, 255, 255, 0.05); }
.rpt-hero-stat:last-child { border-right: none; }
.rpt-stat-label { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); }
}
