/* ===== RNI ADMIN PORTAL – Breathing System Strip ===== */

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  min-height: 0 !important;
}

body {
  display: block;
  height: auto;
}

/* Hide WordPress theme elements - SAFE VERSION */
/* Hide native WP/Kallium wrappers only, not RNI components */
.site-header, #site-header,
.kallium-header, .kallium-footer, .llaiium-footer,
.footer-wrapper, #colophon, .site-info {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Step 3: Remove leftover WP footer */
body > footer,
#footer,
.site-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* CSS Variables - Your Brand System */
:root {
  /* Core Brand */
  --gold: #D4AF37;
  --charcoal: #1E2026;
  --charcoal-light: #2A2C31;
  --ink: #1C1F25;
  --grey: #6B7280;
  --grey-dark: #4B5563;
  --grey-light: #9CA3AF;
  --cream: #FFFCE8;
  --page-bg: #FDFCF8;
  --emerald: #43DBA3;
  
  /* Portal Colors (New Naming from Brand System) */
  --exec-accent: #3B82F6;     /* Executive = Blue */
  --patient-accent: #43DBA3;  /* Patient = Green */
  --admin-accent: #F4C84B;    /* Admin = Yellow per brand spec */
  
  /* Shadows (Updated to new standard) */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 10px rgba(0,0,0,0.10);
  --shadow-xl: 0 8px 24px rgba(0,0,0,0.25);
}

/* Base Reset */
.rni *{box-sizing:border-box;margin:0;padding:0}
.rni{font-family:"Heebo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);line-height:1.6;background:var(--page-bg);overflow-x:hidden;max-width:100vw}

/* Layout - Usable Main Padding */
.rni .page{display:flex;overflow-x:hidden}
.rni .main{flex:1;padding:0 0 0;margin-left:220px;max-width:calc(100vw - 220px)}
.rni .wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* ===== SIDEBAR (Content Moved Down) ===== */
.rni .sidebar{position:fixed;top:0;left:0;bottom:0;width:220px;
  background:linear-gradient(180deg,var(--charcoal),var(--charcoal-light));
  display:flex;flex-direction:column;align-items:center;
  padding-top:60px; 
  box-shadow:4px 0 24px rgba(0,0,0,.14);z-index:10}
.rni .heart{width:84px;filter:brightness(0) saturate(100%) invert(83%) sepia(43%) saturate(812%) hue-rotate(348deg) brightness(101%) contrast(93%) drop-shadow(0 0 8px rgba(244,200,75,.65));
  animation:rniBeat 3s ease-in-out infinite}
@keyframes rniBeat{0%,100%{transform:scale(1);filter:drop-shadow(0 0 8px rgba(255,255,255,.65))}50%{transform:scale(1.2);filter:drop-shadow(0 0 16px rgba(255,255,255,.95))}}
.rni .tagline{color:#ffffff;font-weight:500;font-size:13px;
  letter-spacing:.3px;margin:8px 0 18px}
.rni .nav{width:100%;padding:0 16px}
.rni .nav a{display:flex;gap:10px;align-items:center;padding:10px 0;
  text-decoration:none;transition:.25s}
.rni .nav a i{width:18px;text-align:center;color:#fff;font-size:16px;transition:.25s}
.rni .nav a span{color:#fff;font-size:15px;font-weight:500;letter-spacing:.3px;transition:.25s}
.rni .nav a:hover i,.rni .nav a:hover span{color:var(--admin-accent);transform:translateX(2px)}
.rni .nav a.active i,.rni .nav a.active span{color:var(--admin-accent);font-weight:600}
.rni .divider{height:1px;background:rgba(255,255,255,.25);width:80%;margin:12px auto}

/* ===== HEADER (Fixed Horizontal Padding - 24px) ===== */
.rni .header-frame{margin:30px auto 16px; 
  max-width:1100px;padding:0 24px}
.rni .rni-header{background:var(--charcoal);color:#fff;border-radius:8px;
  box-shadow:var(--shadow-xl);
  padding:24px 24px; 
  display:flex;justify-content:space-between;align-items:center;
  border-bottom:none} 
.rni .h-left h1{margin:0;font-size:28px;font-weight:800;color:#fff;line-height:1.1}
.rni .h-left .sub{margin-top:3px;color:var(--admin-accent);font-weight:500;font-size:17px}
.rni .h-right{display:flex;align-items:center;gap:12px}
.rni .avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;
  border:2px solid var(--admin-accent);filter:grayscale(100%)}
.rni .user{line-height:1.2;text-align:right}
.rni .user .name{color:#fff;font-weight:600;font-size:14px}
.rni .user .date{color:#d1d5db;font-size:13px}
.rni .user .date::before{content:"";display:inline-block;width:5px;height:5px;
  border-radius:50%;background:var(--admin-accent);margin:0 6px 1px 0}

/* ===== INFO BAR (30px rhythm before .exec-brief) ===== */
.rni .info-bar{margin:16px auto 16px;
  max-width:1100px;padding:0 24px}
.rni .info-bar .bar{
  background: none;
  color: var(--charcoal);
  text-align: center;
  font-weight: 500;
  border-radius: 0;
  padding: 10px 0; 
  font-size: 14px; 
  box-shadow: none;
  border: none;
}

/* ============================================
   data that heals™ SYSTEM STRIP 
   No box, breathes, two-row stacking
   ============================================ */
.rni .system-strip {
  background: transparent;
  color: var(--charcoal);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  font-weight: 500;
  max-width: 1100px;
  margin: 0 auto 20px;
}

.rni .system-strip .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.rni .system-strip .item.row {
  flex-direction: row;
  gap: 10px;
}

.rni .system-strip .item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9CA3AF;
}

.rni .system-strip .item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rni .status-dot {
  font-size: 10px;
  color: var(--emerald);
  animation: stripPulse 1.6s infinite ease-out;
}

@keyframes stripPulse {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: .45; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Doctor Agent Dots (Brand Colors) */
.rni .agent-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rni .agent-dot:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

.rni .agent-dot.williams { background: #D4AF37; }
.rni .agent-dot.olivia { background: #43DBA3; }
.rni .agent-dot.rivera { background: #3B82F6; }
.rni .agent-dot.chen { background: #DC2626; }
.rni .agent-dot.peterson { background: #00B8D4; }
.rni .agent-dot.taylor { background: #9B59B6; }

/* Queue badges */
.rni .queue-group {
  display: flex;
  gap: 8px;
}

.rni .queue-badge {
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 12px;
  color: var(--grey);
  position: relative;
  cursor: pointer;
}

.rni .queue-badge strong {
  color: var(--charcoal);
  font-weight: 700;
  margin-left: 2px;
}

.rni .queue-badge.alert {
  background: #FEF2F2;
}

.rni .queue-badge.alert strong {
  color: #DC2626;
}

/* Premium Queue Tooltips */
.rni .queue-badge .q-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(30, 32, 38, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 320px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.rni .queue-badge:hover .q-tip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.rni .queue-badge .q-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(30, 32, 38, 0.98);
}

.rni .q-tip-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.rni .q-tip-title i {
  font-size: 16px;
  flex-shrink: 0;
}

.rni .q-tip-desc {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.7;
  white-space: normal;
  word-wrap: break-word;
}

.rni .q-tip-count {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #9CA3AF;
}

.rni .q-tip-count strong {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* Queue-specific accent colors */
.rni .queue-badge:nth-child(1) .q-tip-title i { color: #43DBA3; }
.rni .queue-badge:nth-child(2) .q-tip-title i { color: #3B82F6; }
.rni .queue-badge:nth-child(3) .q-tip-title i { color: #DC2626; }
.rni .queue-badge:nth-child(4) .q-tip-title i { color: #9B59B6; }

/* Doctor Agent Tooltips (same premium style) */
.rni .agent-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.rni .agent-dot .a-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(30, 32, 38, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 260px;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  text-align: left;
}

.rni .agent-dot:hover .a-tip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.rni .agent-dot .a-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(30, 32, 38, 0.98);
}

.rni .a-tip-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.rni .a-tip-stat {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.6;
  white-space: normal;
  word-wrap: break-word;
}

.rni .a-tip-status {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rni .a-tip-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.rni .a-tip-status span {
  color: #10b981;
  font-weight: 600;
}

/* Metric colors */
.rni .metric-green { color: #059669; font-weight: 600; }
.rni .metric-red { color: #DC2626; font-weight: 700; }

/* Lives counter */
.rni .lives-number {
  font-size: 22px;
  font-weight: 800;
  color: #DC2626;
}

.rni .lives-heart {
  color: #DC2626;
  font-size: 18px;
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== EXECUTIVE BRIEF (Reduced Top Padding) ===== */
.rni .clinical-brief{background:#fff;border-left:4px solid var(--admin-accent);
  border-radius:4px;box-shadow:var(--shadow-lg);
  padding:12px 24px 20px 24px;
  margin:0 0 32px;
} 
.rni .clinical-brief h3{margin:0 0 14px;color:var(--grey-dark);font-size:19px;
  font-weight:800;display:flex;align-items:center;gap:8px}
.rni .clinical-brief h3 i{color:var(--admin-accent);font-size:18px}
.rni .priority{display:flex;gap:12px;align-items:flex-start;
  padding:10px 0; 
  border-bottom:1px solid #f1f5f9}
.rni .priority:last-child{border-bottom:none}
.rni .priority .badge{flex-shrink:0;width:72px;height:26px;border-radius:4px;
  display:flex;align-items:center;justify-content:center;font-size:10px;
  font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.rni .priority .badge.high{background:#FEF2F2;color:#DC2626;border:1px solid #FECACA}
.rni .priority .badge.high::before{content:"⚠ ";font-size:11px;margin-right:2px}
.rni .priority .badge.opp{background:#EFF6FF;color:#3B82F6;border:1px solid #BFDBFE}
.rni .priority .badge.opp::before{content:"◉ ";font-size:9px;margin-right:3px}
.rni .priority .badge.win{background:#ECFDF5;color:#059669;border:1px solid #A7F3D0}
.rni .priority .badge.win::before{content:"✓ ";font-size:11px;margin-right:2px;font-weight:900}
.rni .priority .text{flex:1}
.rni .priority .text strong{display:block;font-weight:700;margin-bottom:2px;
  color:var(--charcoal);font-size:14px}
.rni .priority .text span{color:var(--grey);font-size:13px;line-height:1.5}

/* ===== KPI TILES (Fixed Vertical Spacing - 30px bottom) ===== */
.rni .kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:18px; 
  margin:0 0 32px;
} 
.rni .kpi{background:#fff;border-radius:4px;
  padding:18px 24px; 
  text-align:center;
  box-shadow:var(--shadow-sm);
  transition:transform .25s,box-shadow .25s;
  cursor:pointer}
.rni .kpi:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.rni .kpi .value{font-size:30px;font-weight:800;color:var(--charcoal);line-height:1;
  margin-bottom:6px}
.rni .kpi .label{font-size:12px;font-weight:600;color:var(--grey-light);
  text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.rni .kpi .trend{font-size:13px;font-weight:700;display:flex;align-items:center;
  justify-content:center;gap:4px;margin-bottom:6px}
.rni .kpi .trend.up{color:#10b981} /* Bright Green - Good Status */
.rni .kpi .trend.down{color:#ef4444} /* Bright Red - Alert Status */
.rni .kpi .trend.flat{color:#6b7280} /* Medium Grey - Stable Status */
.rni .kpi .trend i{font-size:12px}
.rni .kpi .agent{font-size:10px;color:var(--grey-light)}

/* ===== DR OLIVIA HERO (Tightened Vertical Spacing) ===== */
.rni .hero{display:grid;grid-template-columns:1fr 2fr;
  gap:35px; 
  align-items: stretch; 
  margin: 32px 0 32px;
  background:#fff;border-radius:6px;
  padding:24px; 
  box-shadow: none; 
  border:1px solid #F3F4F6} 

.rni .hero-left{
  filter:none;
  display: flex; 
  align-items: center; 
  padding: 12px 0; 
}
.rni .hero-left img{
  width:100%;
  height: 100%; 
  object-fit: cover; 
  border-radius:6px;
  box-shadow:var(--shadow-md);
}

/* Dr. Olivia header - grey for consistency */
.rni .hero-right h2{margin:0 0 4px;font-size:22px;
  color:var(--grey-dark); 
  font-weight:800;line-height:1.2}
.rni .hero-right .tagline{color:var(--grey);font-size:13px; 
  margin:0 0 18px; 
  font-weight:500;line-height:1.4}

/* Hero Metrics - Usable spacing */
.rni .hero-metrics{display: grid; grid-template-columns: 1fr 1fr; gap: 12px;} 
.rni .hero-metric-text{display:flex;justify-content:space-between;
  padding:7px 0; 
  border-bottom:1px solid #F3F4F6;
  font-size:14px}
.rni .hero-metric-text:nth-last-child(-n+2){border-bottom:none} 
.rni .hero-metric-text .label{font-weight:600;color:var(--grey)}
.rni .hero-metric-text .value{font-weight:700;color:var(--charcoal)}
.rni .hero-metric-text .value.up{color:var(--patient-accent)}

/* Hero Alert Container */
.rni .hero-alert-container {
    max-width: 85%; 
    margin: 18px auto 0; 
}
.rni .hero-alert{
  background: #FFECEC; 
  border-left:4px solid var(--admin-accent);
  padding:14px 18px; 
  border-radius:4px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:var(--shadow-sm); 
  transition: transform .25s, box-shadow .25s; 
  cursor: pointer;
}
.rni .hero-alert:hover{
    transform: translateY(-3px); 
    box-shadow:var(--shadow-md);
}
.rni .hero-alert i{color:var(--admin-accent);font-size:16px}
.rni .hero-alert span{color:var(--charcoal);font-weight:700;font-size:12px;line-height:1.4}

/* ===== SCIENCE & HUMANITY (Fixed Vertical Spacing - 30px top/bottom) ===== */
.rni .team{margin:32px 0;
  background:#fff;border-radius:6px;
  box-shadow:none;
  padding:18px 24px; 
  border:1px solid #F3F4F6}
.rni .team h3{margin:0 0 10px;color:var(--grey-dark);font-size:20px;font-weight:800;
  letter-spacing:.3px;text-align:center}
.rni .team .intro{margin:0 0 18px;color:var(--grey);font-size:14px;line-height:1.7;
  text-align:center}
.rni .team .featured{background:transparent;
  border:1px solid #E5E7EB;padding:16px 20px;border-radius:6px;
  margin:0 0 24px;transition:border-color 0.25s ease}
.rni .team .featured:hover{border-color:var(--patient-accent)}
.rni .team .featured h4{margin:0 0 6px;color:var(--charcoal);font-size:16px;
  font-weight:700}
.rni .team .featured p{margin:0 0 12px;color:var(--grey);font-size:13px;line-height:1.6}
.rni .team .supporting{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  margin:0 0 18px}
.rni .team .doctor{background:#fff;border-radius:6px;padding:18px 20px;
  border:2px solid #E5E7EB;border-left:3px solid #E5E7EB;box-shadow:var(--shadow-sm);position:relative;
  transition:all 0.3s ease}
.rni .team .doctor:hover{border-color:#D1D5DB;
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
  transform:translateY(-2px)}
.rni .team .doctor-williams{border-left:3px solid var(--exec-accent)}
.rni .team .doctor-williams:hover{border-left:4px solid var(--exec-accent);
  box-shadow:4px 6px 20px rgba(212,175,55,0.35)}
.rni .team .doctor-olivia{border-left:3px solid var(--patient-accent)}
.rni .team .doctor-olivia:hover{border-left:4px solid var(--patient-accent);
  box-shadow:4px 6px 20px rgba(67,219,163,0.35)}
.rni .team .doctor-rivera{border-left:3px solid var(--admin-accent)}
.rni .team .doctor-rivera:hover{border-left:4px solid var(--admin-accent);
  box-shadow:4px 6px 20px rgba(59,130,246,0.35)}
.rni .team .doctor-chen{border-left:3px solid var(--admin-accent)}
.rni .team .doctor-chen:hover{border-left:4px solid var(--admin-accent);
  box-shadow:4px 6px 20px rgba(220,38,38,0.35)}
.rni .team .doctor-peterson{border-left:3px solid #00B8D4}
.rni .team .doctor-peterson:hover{border-left:4px solid #00B8D4;
  box-shadow:4px 6px 20px rgba(0,184,212,0.35)}
.rni .team .doctor-taylor{border-left:3px solid #9B59B6}
.rni .team .doctor-taylor:hover{border-left:4px solid #9B59B6;
  box-shadow:4px 6px 20px rgba(155,89,182,0.35)}
.rni .team .doctor h5{margin:0 0 3px;font-size:15px;font-weight:700;
  color:var(--charcoal)}
.rni .team .doctor .role{font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.5px;margin:0 0 8px}
.rni .team .doctor p{margin:0 0 12px;font-size:13px;color:var(--grey);line-height:1.5}
.rni .team .closing{margin:0;color:var(--grey);font-size:13px;line-height:1.6;
  text-align:center;font-style:italic}

/* ===== CHARTS SECTION (Consistent spacing before subsections) ===== */
.rni .charts{margin:32px 0}
.rni .charts .section-header{margin:0 0 20px;color:var(--grey-dark);font-size:20px;
  font-weight:800;text-align:center;letter-spacing:.3px;
  padding-bottom:10px;border-bottom:none}

/* HEALTH KPI ROW (5-column) */
.rni .charts .row{display:grid;gap:18px;margin:0 0 24px}
.rni .charts .row.five-kpi{grid-template-columns:repeat(5,1fr)}
.rni .health-kpi{background:#fff;border-radius:4px;padding:16px 20px;text-align:center;
  box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;
  border-top:3px solid;cursor:pointer}
.rni .health-kpi:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.rni .health-kpi .label{font-size:12px;font-weight:600;color:var(--grey-light);
  text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.rni .health-kpi .value{font-size:32px;font-weight:800;line-height:1;margin-bottom:6px}
.rni .health-kpi .sub-text{font-size:11px;color:var(--grey-light);font-weight:500}
.rni .health-kpi.h-gold{border-top-color:var(--exec-accent)}
.rni .health-kpi.h-gold .value{color:var(--exec-accent)}
.rni .health-kpi.h-teal{border-top-color:var(--patient-accent)}
.rni .health-kpi.h-teal .value{color:var(--patient-accent)}
.rni .health-kpi.h-blue{border-top-color:var(--admin-accent)}
.rni .health-kpi.h-blue .value{color:var(--admin-accent)}
.rni .health-kpi.h-red{border-top-color:var(--admin-accent)}
.rni .health-kpi.h-red .value{color:var(--admin-accent)}
.rni .health-kpi.h-grey{border-top-color:var(--grey)}
.rni .health-kpi.h-grey .value{color:var(--grey)}

/* =====: AI DOCTOR UPTIME CARDS ===== */
/*: Expanded to 6 doctors + system status */
.rni .uptime-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 0 0 24px;
}

.rni .uptime-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 14px;
  text-align: left;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  border-top: 3px solid;
}

.rni .uptime-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Border colors matching doctors */
.rni .uptime-card.card-williams { border-top-color: #D4AF37; }
.rni .uptime-card.card-olivia { border-top-color: #43DBA3; }
.rni .uptime-card.card-rivera { border-top-color: #3B82F6; }
.rni .uptime-card.card-chen { border-top-color: #DC2626; }
.rni .uptime-card.card-peterson { border-top-color: #00B8D4; }
.rni .uptime-card.card-taylor { border-top-color: #9B59B6; }
.rni .uptime-card.card-system { border-top-color: #6B7280; }

.rni .uptime-label {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.rni .uptime-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rni .uptime-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Icon backgrounds */
.rni .icon-williams {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
  color: #D4AF37;
}

.rni .icon-olivia {
  background: linear-gradient(135deg, rgba(67, 219, 163, 0.15), rgba(67, 219, 163, 0.08));
  color: #43DBA3;
}

.rni .icon-rivera {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
  color: #3B82F6;
}

.rni .icon-peterson {
  background: linear-gradient(135deg, rgba(0, 184, 212, 0.15), rgba(0, 184, 212, 0.08));
  color: #00B8D4;
}

.rni .icon-taylor {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.08));
  color: #9B59B6;
}

.rni .icon-chen {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(220, 38, 38, 0.08));
  color: #DC2626;
}

.rni .icon-system {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.08));
  color: #6B7280;
}

.rni .uptime-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}

.rni .card-williams .uptime-value { color: #D4AF37; }
.rni .card-olivia .uptime-value { color: #43DBA3; }
.rni .card-rivera .uptime-value { color: #3B82F6; }
.rni .card-chen .uptime-value { color: #DC2626; }
.rni .card-system .uptime-value { color: #6B7280; }

.rni .uptime-metric {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rni .uptime-secondary {
  font-size: 10px;
  color: #d1d5db;
  margin-top: 2px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1000px) {
  .rni .uptime-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .rni .uptime-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CHART ROWS ADJUSTED */
.rni .charts .row.split-left{grid-template-columns:1fr 2fr}
.rni .charts .row.split-right{grid-template-columns:2fr 1fr}
.rni .charts .row.trio{grid-template-columns:repeat(3,1fr)}
.rni .charts .row.single-wide{grid-template-columns:1fr;max-width:800px;margin-left:auto;margin-right:auto}

/* Force Dr. Chen chart to match other 5 exactly */
.rni .row.single-wide .chart {
  max-height: 420px;
}

/* CHART BASE STYLE (Consistent grey border for all charts) */
.rni .chart{background:#fff;border-radius:4px;box-shadow:var(--shadow-sm);
  padding:24px; 
  min-height:240px;
  max-height:420px;
  display:flex;flex-direction:column;
  border-left: 4px solid #F1F5F9;
  max-width:100%;
}

.rni .chart-header{margin-bottom:14px;padding-bottom:12px;border-bottom:2px solid #F1F5F9} 
.rni .chart-header h4{margin:0 0 2px;font-size:16px;font-weight:700;color:var(--charcoal)}
.rni .chart-header .doctor-name{font-size:12px;font-weight:600;margin:0 0 4px;letter-spacing:.3px}
.rni .chart-header .sub{font-size:12px;color:var(--grey-light);line-height:1.4}

/* Center title for single-wide chart (Dr. Chen) */
.rni .row.single-wide .chart-header{
  text-align: center;
}
.rni .row.single-wide .chart-header h4{
  text-align: center;
}
.rni .chart-body{flex:1;display:block;
  background:#FAFBFD;border-radius:4px;
  padding:20px;position:relative;min-height:240px;height:280px;max-height:280px}
.rni .chart-body canvas{display:block !important;width:100% !important;height:100% !important}

/* ===== STRATEGIC FOCUS (Fixed Vertical Padding - 30px top/bottom) ===== */
.rni .strategy-zone{
  padding:32px 0 0;
}
.rni .strategy-band{max-width:1100px;margin:0 auto;padding:0 24px}
/* FIX: Changed header to "Strategic Proactive Insights" */
.rni .strategy-band h3{
  color:var(--grey-dark);text-align:center;font-size:22px; 
  font-weight:800;margin:0 0 24px; 
  letter-spacing:.3px}
.rni .strategy-band .sub-text{
  display: none;
  color:var(--grey);text-align:center;font-size:14px;
  margin-bottom:20px} 


/* Strategic Intelligence Cards - 3 in ONE ROW with Stripe Icons */
.rni .strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px; 
  margin: 24px 0 0;
} 
.rni .insight-card{background:#fff;border-radius:8px;
  padding:20px; 
  box-shadow:0 1px 3px rgba(0,0,0,0.08);
  transition:all .25s cubic-bezier(0.4, 0.0, 0.2, 1);
  border:1px solid #F3F4F6;
  position: relative; 
  min-height: 180px;
}
.rni .insight-card:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
  border-color:#E5E7EB;
}

/* Stripe-Style Icon System - Simple & Clean */
.rni .insight-card .icon{
  width: 36px;
  height: 36px;
  background: #F9FAFB;
  border-radius: 6px;
  display: flex; 
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.rni .insight-card .icon i{
  color: var(--charcoal); 
  transition: all 0.2s;
}

/* Color-specific icon variations - subtle backgrounds */
.rni .insight-card .icon.icon-gold{
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}
.rni .insight-card .icon.icon-gold i{
  color: var(--gold);
}

.rni .insight-card .icon.icon-teal{
  background: linear-gradient(135deg, rgba(67, 219, 163, 0.1), rgba(67, 219, 163, 0.05));
}
.rni .insight-card .icon.icon-teal i{
  color: var(--patient-accent);
}

.rni .insight-card .icon.icon-blue{
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
}
.rni .insight-card .icon.icon-blue i{
  color: var(--admin-accent);
}

.rni .insight-card .icon.icon-red{
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
}
.rni .insight-card .icon.icon-red i{
  color: var(--admin-accent);
}

/* Icon Animation on Card Hover - Subtle */
.rni .insight-card:hover .icon{
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.rni .insight-card h4{margin:0 0 6px;color:var(--charcoal);font-size:15px;font-weight:700}
.rni .insight-card .metric{font-size:24px;font-weight:800;color:var(--charcoal);
  margin:6px 0 10px;line-height:1.2}
.rni .insight-card p{margin:0 0 14px;color:var(--grey);font-size:13px;line-height:1.5}
.rni .insight-card .cta{display:inline-flex;align-items:center;gap:6px;
  font-weight:600;font-size:13px;text-decoration:none;transition:all .2s;
  color:var(--grey)}
.rni .insight-card .cta:hover{color:var(--charcoal);transform:translateX(2px)}
.rni .insight-card .cta i{font-size:11px}

/* ===== AI ECOSYSTEM (Fixed Vertical Padding - 30px top/bottom) ===== */
.rni .ai-pop{
  background: var(--page-bg); 
  margin:0;
  padding:32px 0 32px;
} 
.rni .ai-pop .band{max-width:1100px;margin:0 auto;padding:0 24px}
.rni .ai-pop h3{color:var(--grey-dark);text-align:center;font-size:22px; 
  font-weight:800;margin:0 0 24px}
.rni .ai-pop .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rni .ai-insight{
  background:#fff; 
  border:1px solid #E5E7EB;
  border-top:3px solid var(--exec-accent); 
  border-radius:4px;
  padding:20px; 
  box-shadow:var(--shadow-sm); 
  transition:transform .25s, box-shadow .25s;
  cursor: pointer; 
  text-align: center; 
}
.rni .ai-insight:hover{transform:translateY(-2px); box-shadow:var(--shadow-md);}
.rni .ai-insight h4{margin:0 0 8px;color:var(--charcoal);font-size:15px;font-weight:700}
.rni .ai-insight p{margin:0;color:var(--grey);font-size:13px;line-height:1.5;} 

/* AI ECOSYSTEM ICON STYLES - Matching Strategic Icons */
.rni .ai-icon-pulse{
  width: 32px;
  height: 32px;
  background: #F9FAFB;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 16px;
  margin: 0 auto 12px;
  transition: all 0.25s;
}
.rni .ai-insight:hover .ai-icon-pulse{
  background: var(--admin-accent);
  color: #fff;
  transform: scale(1.05);
}

/* ===== COMPLIANCE / PRIVACY BAR - 3 Clean Lines ===== */
.rni .compliance-wrap{
  max-width:1100px;
  margin:32px auto 0; 
  padding:0 24px;
}
.rni .compliance{
  background:var(--charcoal);
  color:#fff;
  border-radius:8px; 
  box-shadow:var(--shadow-xl); 
  padding:20px 24px;
  text-align:center; 
  margin-bottom:0 !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.rni .compliance .line1{
  font-size:14px;
  font-weight:400;
  color:#fff;
  margin:0;
  letter-spacing:0.3px;
}
.rni .compliance .line2{
  font-size:12px;
  font-weight:400;
  color:#d1d5db;
  margin:0;
  letter-spacing:0.2px;
}
.rni .compliance .line3{
  font-size:11px;
  font-weight:400;
  color:#d1d5db;
  margin:0;
}
.rni .compliance .line3 a{
  color:#fff;
  text-decoration:none;
  font-weight:400;
  transition:color 0.2s;
}
.rni .compliance .line3 a:hover{
  color:var(--admin-accent);
  text-decoration:underline;
}

/* ===== DOCTOR CHAT BUTTONS - STRIPE-STYLE SUBTLE GLOW ===== */
.rni .doctor-meet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.rni .doctor-meet-btn i {
  font-size: 12px;
  transition: all 0.25s;
  color: var(--grey-light);
}
/* Hover: Subtle colored glow + shadow depth + light tint + arrow color change */
.rni .featured .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(67, 219, 163, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(67, 219, 163, 0.03);
  border-color: rgba(67, 219, 163, 0.20);
}
.rni .featured .doctor-meet-btn:hover i { color: var(--patient-accent); }

.rni .doctor-williams .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(212, 175, 55, 0.03);
  border-color: rgba(212, 175, 55, 0.20);
}
.rni .doctor-williams .doctor-meet-btn:hover i { color: var(--exec-accent); }

.rni .doctor-olivia .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(67, 219, 163, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(67, 219, 163, 0.03);
  border-color: rgba(67, 219, 163, 0.20);
}
.rni .doctor-olivia .doctor-meet-btn:hover i { color: var(--patient-accent); }

.rni .doctor-rivera .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(59, 130, 246, 0.03);
  border-color: rgba(59, 130, 246, 0.20);
}
.rni .doctor-rivera .doctor-meet-btn:hover i { color: var(--admin-accent); }

.rni .doctor-chen .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(220, 38, 38, 0.03);
  border-color: rgba(220, 38, 38, 0.20);
}
.rni .doctor-chen .doctor-meet-btn:hover i { color: var(--admin-accent); }

.rni .doctor-peterson .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(0, 184, 212, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(0, 184, 212, 0.03);
  border-color: rgba(0, 184, 212, 0.20);
}
.rni .doctor-peterson .doctor-meet-btn:hover i { color: #00B8D4; }

.rni .doctor-taylor .doctor-meet-btn:hover { 
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.12), 0 2px 4px rgba(0,0,0,0.08);
  background: rgba(155, 89, 182, 0.03);
  border-color: rgba(155, 89, 182, 0.20);
}
.rni .doctor-taylor .doctor-meet-btn:hover i { color: #9B59B6; }

.rni .doctor-meet-btn:hover i {
  transform: translateX(3px);
}

/* ===== CHAT MODAL (NEW) ===== */
.chat-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.chat-modal.active {
  display: flex;
}
.chat-dialog {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.chat-header {
  padding: 20px 24px;
  border-bottom: 2px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid currentColor;
  filter: grayscale(100%);
}
.chat-doctor-info .name {
  font-size: 16px;
  font-weight: 800;
  color: var(--charcoal);
}
.chat-doctor-info .specialty {
  font-size: 12px;
  color: var(--grey);
}
.chat-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--grey);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .3s;
}
.chat-close:hover {
  color: var(--charcoal);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #FAFBFD;
}
.chat-message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  animation: messageSlide .3s ease-out;
}
@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chat-message.user {
  flex-direction: row-reverse;
}
.chat-message .msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.chat-message .msg-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-message.doctor .msg-bubble {
  background: #fff;
  color: var(--charcoal);
  border: 1px solid #E5E7EB;
}
.chat-message.user .msg-bubble {
  background: var(--admin-accent);
  color: #fff;
}
.rni .typing-indicator {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.rni .typing-indicator.active {
  display: flex;
}
.rni .typing-indicator .msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.rni .typing-dots {
  background: #fff;
  border: 1px solid #E5E7EB;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  gap: 4px;
}
.rni .typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey-light);
  animation: typingBounce 1.4s infinite;
}
.rni .typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.rni .typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}
.chat-input-area {
  padding: 16px 24px;
  border-top: 2px solid #F1F5F9;
  background: #fff;
}
.chat-input-wrapper {
  display: flex;
  gap: 12px;
}
.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .3s;
}
.chat-input:focus {
  outline: none;
  border-color: var(--admin-accent);
}
.chat-send {
  padding: 12px 24px;
  background: var(--admin-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
}
.chat-send:hover {
  opacity: .9;
  transform: scale(1.05);
}
.chat-send:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: scale(1);
}

/* ===== EXPLAINABILITY PANEL (NEW) ===== */

/* =====: LEXUS + STRIPE REFINEMENT - LIVES SAVED ===== */

/* SECTION 1: PREDICTIVE INTELLIGENCE - Confident Quality */
.rni .strategy-zone {
  background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 100%);
  padding: 80px 0 64px;
  border-top: 1px solid #E8E5DF;
}

.rni .strategy-band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.rni .strategy-band > h3 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

.rni .strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rni .insight-card {
  background: #FFFFFF;
  border: 1px solid #E8E5DF;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.rni .insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  border-color: var(--admin-accent);
}

/* Doctor-attributed icon treatment */
.rni .insight-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.rni .icon-gold { 
  background: linear-gradient(135deg, #FDF6E7 0%, #F9EDCE 100%);
  color: #B8941F;
}

.rni .icon-teal { 
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #059669;
}

.rni .icon-red { 
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  color: #DC2626;
}

/* Clear hierarchy typography */
.rni .insight-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #1C1F25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.rni .insight-card .metric {
  font-size: 36px;
  font-weight: 800;
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Doctor colors on metrics - this is correct attribution */
.rni .strategy-grid .insight-card:nth-child(1) .metric { color: #D4AF37; }
.rni .strategy-grid .insight-card:nth-child(2) .metric { color: #43DBA3; }
.rni .strategy-grid .insight-card:nth-child(3) .metric { color: #DC2626; }

.rni .insight-card p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0 0 22px;
}

.rni .insight-card .cta {
  font-size: 14px;
  font-weight: 600;
  color: #D4AF37;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.rni .insight-card .cta:hover {
  gap: 10px;
  color: #B8941F;
}

/* SECTION 2: RNI ECOSYSTEM - Four Doctors United */
.rni .ai-pop {
  background: #FFFBF5;
  padding: 80px 0 72px;
  border-top: 1px solid #E8E5DF;
}

.rni .ai-pop .band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rni .ai-pop h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.rni .ai-pop .intro {
  font-size: 16px;
  color: #6B7280;
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

/* Four Doctor System Visual */
.rni .doctor-system {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.rni .doctor-node {
  background: #FFFFFF;
  border: 2px solid #E8E5DF;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}

.rni .doctor-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.rni .doctor-node.node-gold { border-color: #D4AF37; }
.rni .doctor-node.node-gold:hover { box-shadow: 0 8px 20px rgba(212,175,55,0.15); }

.rni .doctor-node.node-teal { border-color: #43DBA3; }
.rni .doctor-node.node-teal:hover { box-shadow: 0 8px 20px rgba(67,219,163,0.15); }

.rni .doctor-node.node-blue { border-color: #3B82F6; }
.rni .doctor-node.node-blue:hover { box-shadow: 0 8px 20px rgba(59,130,246,0.15); }

.rni .doctor-node.node-red { border-color: #DC2626; }
.rni .doctor-node.node-red:hover { box-shadow: 0 8px 20px rgba(220,38,38,0.15); }

.rni .doctor-node .doctor-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
}

.rni .node-gold .doctor-icon { background: linear-gradient(135deg, #D4AF37 0%, #C9A030 100%); }
.rni .node-teal .doctor-icon { background: linear-gradient(135deg, #43DBA3 0%, #34C997 100%); }
.rni .node-blue .doctor-icon { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.rni .node-red .doctor-icon { background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%); }

.rni .doctor-node h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1C1F25;
  margin: 0 0 6px;
}

.rni .doctor-node .specialty {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.rni .doctor-node .capability {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}

/* Connecting line hint */
.rni .ai-pop .connection-note {
  font-size: 14px;
  color: #9CA3AF;
  font-style: italic;
  margin-top: 32px;
}

/* SECTION 3: DATA FLOW - Clinical Trust with Blue Accent */
.rni .explainability-section {
  background: #FFFFFF;
  border-radius: 0;
  padding: 32px 24px 48px;
  margin: 0;
  box-shadow: none;
  border: none;
  border-top: 1px solid #E8E5DF;
}

.rni .explainability-section h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--grey-dark);
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: -0.02em;
}

.rni .explainability-section .intro {
  text-align: center;
  color: var(--grey);
  font-size: 14px;
  margin: 0 auto 32px;
  max-width: 680px;
  line-height: 1.65;
}

.rni .flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 0;
}

.rni .flow-step {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  position: relative;
}

.rni .flow-step::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-light);
  font-size: 18px;
  font-weight: 800;
}

.rni .flow-step:last-child::after {
  display: none;
}

.rni .flow-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  border-color: var(--admin-accent);
}

.rni .flow-step .step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--admin-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 28px;
  margin-bottom: 12px;
}

.rni .flow-step .step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 8px;
}
  letter-spacing: -0.01em;
}

.rni .flow-step .step-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

/* Remove check icons - cleaner design */
.rni .flow-step .check-icon {
  display: none;
}
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rni .flow-step:nth-child(3) .check-icon {
  color: #3B82F6;
  background: #EFF6FF;
}

/* ===== EXPLAINABILITY PANEL (OLD - REMOVED) ===== */
/* ===== GREY EKG FOOTER ===== */
.rni .heartbeat {
  background: #fff;
  padding: 28px 0 0;
  text-align: center;
}

.rni .ekg-line {
  height: 40px;
  width: 200px;
  margin: 0 auto 8px;
  position: relative;
  overflow: hidden;
}

.rni .ekg-line svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 40px;
  animation: ekg-scroll 3s linear infinite;
}

@keyframes ekg-scroll {
  from { left: 0; }
  to { left: -200px; }
}

.rni .tagline-bottom {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin: 6px 0 2px;
}

.rni .meta {
  color: var(--grey);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 0;
}

/*: Aggressive footer white space elimination */
.rni .heartbeat {
  margin-bottom: 0 !important;
}
.rni .main {
  margin-bottom: 0 !important;
}
.rni .page {
  min-height: 0 !important;
}


/*: BOTTOM PADDING NUCLEAR FIX */
.rni .heartbeat {
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
}
.rni .main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.rni .page {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.rni {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* =====: HONEYCOMB + PARTICLES + NEURAL LINES ===== */
/* PowerPoint-style visual punch with healthcare elegance */

/* Honeycomb pattern background for Predictive Intelligence */
.rni .strategy-zone {
  padding: 32px 0 0;
  position: relative;
  overflow: hidden;
}

.rni .strategy-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(212, 175, 55, 0.04) 40px, rgba(212, 175, 55, 0.04) 41px),
    repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(212, 175, 55, 0.04) 40px, rgba(212, 175, 55, 0.04) 41px),
    repeating-linear-gradient(120deg, transparent, transparent 40px, rgba(212, 175, 55, 0.04) 40px, rgba(212, 175, 55, 0.04) 41px);
  opacity: 0.5;
  animation: honeycombPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes honeycombPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.rni .strategy-band {
  position: relative;
  z-index: 1;
}

/* Particle glow on metrics */
.rni .metric.has-glow {
  position: relative;
  animation: metricGlow 3s ease-in-out infinite;
}

@keyframes metricGlow {
  0%, 100% { 
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  }
  50% { 
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.4), 0 0 35px rgba(212, 175, 55, 0.2);
  }
}

/* Subtle glow on insight cards */
.rni .insight-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(67, 219, 163, 0.05));
  border-radius: 9px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(8px);
}

.rni .insight-card:hover::after {
  opacity: 1;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rni .strategy-zone::before,
  .rni .metric.has-glow {
    animation: none;
  }
}

/* =====: SUBTLE SCROLL ANIMATIONS ===== */
/* Healthcare-appropriate motion - polished not flashy */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Apply to sections - will be triggered by JS */
.rni .animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.rni .animate-fade {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

/* Stagger delays for cards */
.rni .stagger-1 { animation-delay: 0.1s; }
.rni .stagger-2 { animation-delay: 0.2s; }
.rni .stagger-3 { animation-delay: 0.3s; }
.rni .stagger-4 { animation-delay: 0.4s; }
.rni .stagger-5 { animation-delay: 0.5s; }

/* Number count-up will be handled by JS */
.rni .count-up {
  font-variant-numeric: tabular-nums;
}

/* =====: THREE CORE SECTIONS — RNI Brand Styling ===== */

/* Shared Section Styles */
.rni .rni-predictive,
.rni .rni-ecosystem,
.rni .rni-dataflow {
  padding: 32px 0;
}

.rni .rni-predictive {
  background: #fff;
}

.rni .rni-ecosystem {
  background: var(--page-bg);
}

.rni .rni-dataflow {
  background: #fff;
}

.rni .section-header {
  text-align: center;
  margin-bottom: 24px;
}

.rni .section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--grey-dark);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.rni .section-header p {
  font-size: 15px;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* INTEL CARDS — 3 Column with Hover */
.rni .intel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rni .intel-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E8E5DF;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rni .intel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.rni .intel-card .card-accent {
  height: 4px;
}

.rni .intel-card.card-gold .card-accent { background: var(--gold); }
.rni .intel-card.card-teal .card-accent { background: var(--emerald); }
.rni .intel-card.card-blue .card-accent { background: var(--admin-accent); }
.rni .intel-card.card-red .card-accent { background: var(--admin-accent); }

.rni .intel-card.card-gold:hover { border-color: var(--gold); }
.rni .intel-card.card-teal:hover { border-color: var(--emerald); }
.rni .intel-card.card-blue:hover { border-color: var(--admin-accent); }
.rni .intel-card.card-red:hover { border-color: var(--admin-accent); }

.rni .intel-card .card-content {
  padding: 28px;
}

.rni .intel-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-dark);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rni .intel-card .card-metric {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.rni .intel-card.card-gold .card-metric { color: var(--gold); }
.rni .intel-card.card-teal .card-metric { color: var(--emerald); }
.rni .intel-card.card-blue .card-metric { color: var(--admin-accent); }
.rni .intel-card.card-red .card-metric { color: var(--admin-accent); }

.rni .intel-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0 0 20px;
}

.rni .intel-card .card-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rni .intel-card.card-gold .card-link { color: var(--gold); }
.rni .intel-card.card-teal .card-link { color: var(--emerald); }
.rni .intel-card.card-blue .card-link { color: var(--admin-accent); }
.rni .intel-card.card-red .card-link { color: var(--admin-accent); }

.rni .intel-card .card-link:hover {
  gap: 10px;
}

/* ECOSYSTEM GRID — 2x2 with subtle glow */
.rni .ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.rni .eco-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E8E5DF;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.rni .eco-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.rni .eco-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--admin-accent);
  flex-shrink: 0;
}

.rni .eco-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-dark);
  margin: 0;
}

.rni .eco-item p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

/* DATA FLOW — Horizontal Steps, No Connectors */
.rni .flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 8px auto 0;
}

.rni .flow-step {
  text-align: center;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rni .step-num {
  width: 44px;
  height: 44px;
  background: var(--admin-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
}

.rni .flow-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-dark);
  margin: 0 0 6px;
}

.rni .flow-step p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .rni .intel-cards {
    grid-template-columns: 1fr;
  }
  
  .rni .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  
  .rni .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* =====: APPLE-STYLE CLEAN SECTIONS ===== */

/* Shared Section Styles */
.rni .hero-metrics-section,
.rni .prose-section,
.rni .timeline-section {
  padding: 64px 0;
  background: #fff;
}

.rni .prose-section {
  background: var(--page-bg);
}

.rni .apple-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

/* HERO METRICS — Big Numbers */
.rni .hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.rni .hero-metric {
  padding: 0 24px;
}

.rni .hero-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.rni .hero-number.gold { color: var(--gold); }
.rni .hero-number.teal { color: var(--emerald); }
.rni .hero-number.red { color: var(--admin-accent); }

.rni .hero-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.rni .hero-doctor {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 12px;
}

.rni .hero-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.2s;
}

.rni .hero-link:hover {
  color: var(--gold);
}

/* PROSE SECTION — Confident Text */
.rni .prose-block {
  max-width: 680px;
  margin: 0 auto;
}

.rni .prose-item {
  padding: 20px 0;
  border-left: 3px solid var(--admin-accent);
  padding-left: 24px;
  margin-bottom: 24px;
}

.rni .prose-item:last-child {
  margin-bottom: 0;
}

.rni .prose-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.rni .prose-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey);
}

/* TIMELINE — Horizontal Flow */
.rni .timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.rni .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rni .timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 12px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.rni .timeline-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

.rni .timeline-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, 0.3));
  margin: 0 16px;
  margin-bottom: 28px;
}

.rni .timeline-summary {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE ===== */
@media (max-width:1000px){
  .rni .main{margin-left:0;padding-top:20px;max-width:100vw;overflow-x:hidden}
  .rni .sidebar{position:static;width:100%;min-height:auto;flex-direction:row;
    justify-content:space-around;padding:20px 10px}
  .rni .nav a span{display:none}
  .rni .hero{grid-template-columns:1fr}
  .rni .hero-metrics{grid-template-columns:1fr} 
  .rni .team .supporting{grid-template-columns:1fr}
  .rni .charts .row.split-left,.rni .charts .row.split-right,.rni .charts .row.trio{
    grid-template-columns:1fr}
  .rni .strategy-grid{grid-template-columns:1fr;gap:16px}
  .rni .ai-pop .grid{grid-template-columns:1fr}
  .rni .flow-diagram{grid-template-columns:1fr;gap:16px}
  .rni .flow-step::after{display:none}
  .rni .charts .row.five-kpi{grid-template-columns:repeat(2,1fr);}
  .rni .charts .row.five-kpi .health-kpi:last-child {grid-column: 1 / span 2;}
  .rni .uptime-row{grid-template-columns:repeat(2,1fr);gap:12px}
  
  /* Responsive */
  .rni .hero-metrics-grid{grid-template-columns:1fr;gap:32px}
  .rni .hero-number{font-size:48px}
  .rni .timeline{flex-direction:column;gap:0}
  .rni .timeline-connector{width:2px;height:24px;margin:8px 0;
    background:linear-gradient(180deg, var(--gold), rgba(212,175,55,0.3))}
  .rni .apple-heading{font-size:22px;margin-bottom:32px}
  
  /* Disable heavy effects on mobile/tablet */
  .rni .strategy-zone::before{display:none}
  .rni .particle-canvas{display:none !important}
  .rni .neural-lines{display:none}
  .rni .insight-card::after{display:none}
}

@media (min-width: 768px) and (max-width: 1000px) {
  .rni .kpis{grid-template-columns:repeat(2,1fr)}
  .rni .uptime-row{grid-template-columns:repeat(3,1fr)}
  .rni .team .supporting{grid-template-columns:repeat(2,1fr)}
}

@media (min-width: 1001px) {
  .rni .kpis{grid-template-columns:repeat(4,1fr)}
}

/* ========== SMART UPGRADES ========== */

/* Pulse Indicators on KPIs */
.rni .kpi {
  position: relative;
}
/* KPI - No pulse dots, clean design */
.rni .kpi-pulse-wrap {
  display: none;
}

/* Smart KPI Tooltips */
.rni .kpi-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(30, 32, 38, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 16px;
  width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  color: #fff;
}
.rni .kpi:hover .kpi-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.rni .kpi-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(30, 32, 38, 0.98);
}
.rni .tooltip-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.rni .tooltip-stat {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.rni .tooltip-stat:last-child {
  border-bottom: none;
}
.rni .tooltip-label {
  color: #9CA3AF;
}
.rni .tooltip-value {
  color: #fff;
  font-weight: 700;
}

/* Notification Button */
.rni .notification-btn {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid var(--admin-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--admin-accent);
}
.rni .notification-btn:hover {
  background: var(--admin-accent);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.rni .notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--admin-accent);
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.rni .notification-badge-inline {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: var(--admin-accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-left: 8px;
  top: -1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Quick Actions */
.rni .quick-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}
.rni .quick-actions-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--admin-accent), #2563eb);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rni .quick-actions-btn:hover {
  transform: scale(1.1) rotate(90deg);
}
.rni .quick-actions-menu {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: 0;
  background: rgba(30, 32, 38, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: var(--shadow-xl);
}
.rni .quick-actions-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.rni .quick-action-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.rni .quick-action-item:hover {
  background: rgba(212, 175, 55, 0.2);
}
.rni .quick-action-icon {
  font-size: 1.2rem;
}

/*: Dr. Chen chart height constraint */
#efficiencyChart {
  height: 280px !important;
  max-height: 280px !important;
}

