* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f4f7fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  height: 100vh;
}

body.on-landing {
  height: auto;
  overflow: auto;
}

.landing-page {
  min-height: 100vh;
  overflow-y: auto;
  background: #0a1628;
  color: #fff;
}

.landing-page.hidden {
  display: none;
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  border-top: 4px solid #0F2A44;
}

.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
}

.landing-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.landing-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.landing-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.landing-nav-links a {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.landing-nav-links a:hover {
  color: #1a202c;
}

.landing-btn-sm {
  background: #0F2A44 !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  border: 1px solid #0F2A44;
  transition: background 0.2s, border-color 0.2s;
}

.landing-btn-sm:hover {
  background: #1a3d5c !important;
  border-color: #1a3d5c;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10,20,40,0.55) 0%, rgba(15,42,68,0.85) 100%), url('attached_assets/hero-background.png') center/cover no-repeat;
}

.hero-company-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: -10%;
  right: -5%;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: 5%;
  left: -3%;
  animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 40%;
  left: 50%;
  animation: heroFloat 12s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-highlight {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
}

.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

.hero-trust-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.trust-icon {
  font-size: 0.95rem;
}

.features-section {
  background: #0d1f35;
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
  text-align: center;
}

.features-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: #0f2035;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31,167,160,0.3);
  background: rgba(255,255,255,0.05);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.capabilities-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.capability-item {
  text-align: center;
  padding: 1.5rem;
}

.capability-badge {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.capability-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1FA7A0;
  margin-bottom: 0.4rem;
}

.capability-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.industry-selector {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.industry-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.industry-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  color: inherit;
}

.industry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31,167,160,0.3);
  background: rgba(255,255,255,0.05);
}

.industry-card.selected {
  border-color: #1FA7A0;
  box-shadow: 0 0 16px rgba(31,167,160,0.25);
  background: rgba(31,167,160,0.08);
}

.industry-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.industry-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: left;
}

.industry-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.25rem;
  font-style: italic;
}

.stats-section {
  background: #0d1f35;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-change {
  font-size: 0.8rem;
  font-weight: 500;
}

.stat-change.positive { color: #34d399; }
.stat-change.neutral { color: rgba(255,255,255,0.45); }
.stat-change.warning { color: #fbbf24; }

.modules-section {
  padding: 5rem 1.5rem;
  background: #0a1628;
}

.modules-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.modules-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.modules-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.module-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(255,255,255,0.05);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.module-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.module-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1FA7A0;
}

.cta-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #0d2847 0%, #1a3a5c 100%);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
}

.landing-footer {
  background: #070f1c;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-row { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-trust-badges { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .landing-nav-links a:not(.landing-btn-sm) { display: none; }
  .landing-footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

.layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.top-bar {
  background: #0F2A44;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 64px;
  flex-shrink: 0;
  gap: 0.75rem;
  position: relative;
  z-index: 100;
}

.top-bar-left {
  flex-shrink: 0;
}

.logo {
  height: 38px;
  width: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 0 4px;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link .arrow {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link .arrow {
  transform: rotate(180deg);
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #1FA7A0;
  font-weight: 600;
  background: rgba(31, 167, 160, 0.15);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0F2A44;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 240px;
  padding: 6px 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: rgba(31, 167, 160, 0.15);
  color: #1FA7A0;
}

.top-bar-right {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.org-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 3px 8px;
}

.org-switcher-wrap select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  max-width: 200px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.6)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.org-switcher-wrap select option {
  background: #0F2A44;
  color: #fff;
}

.separator {
  opacity: 0.4;
}

.content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.content-header {
  margin-bottom: 1.5rem;
}

.content-header h1 {
  font-size: 1.5rem;
  color: #0F2A44;
  font-weight: 700;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chart-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.chart-card strong {
  font-size: 1.05rem;
  color: #0F2A44;
}

.chart-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.accent {
  color: #1FA7A0;
}

.metric {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0F2A44;
}

.label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.dash-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.75rem;
}
.dash-welcome-text h2 {
  font-size: 1.5rem;
  color: #0F2A44;
  font-weight: 700;
}
.dash-welcome-text p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}
.dash-welcome-date {
  font-size: 0.85rem;
  color: #6b7280;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.dash-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.dash-card-header h3 {
  font-size: 0.95rem;
  color: #0F2A44;
  font-weight: 600;
}
.dash-period {
  font-size: 0.75rem;
  color: #6b7280;
  background: #f0f2f5;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}
.dash-count {
  font-size: 0.75rem;
  color: #fff;
  background: #0F2A44;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  font-weight: 600;
}
.dash-procurement-kpis {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.75rem;
}
.dash-kpi {
  display: flex;
  flex-direction: column;
}
.dash-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F2A44;
}
.dash-kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
}
.dash-divider {
  height: 1px;
  background: #e8ecf1;
}
.dash-vendor-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.dash-vendor-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f2f5;
}
.dash-vendor-row:last-child {
  border-bottom: none;
}
.dash-vendor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-vendor-info {
  flex: 1;
  min-width: 0;
}
.dash-vendor-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-vendor-meta {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
}
.dash-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-warning {
  background: #fff3cd;
  color: #856404;
}
.badge-success {
  background: #d4edda;
  color: #155724;
}
.badge-danger {
  background: #f8d7da;
  color: #721c24;
}
.badge-info {
  background: #d1ecf1;
  color: #0c5460;
}
.badge-primary {
  background: #cce5ff;
  color: #004085;
}
.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 160px;
  padding-top: 1rem;
}
.dash-bar-chart-sm {
  height: 100px;
}
.dash-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.dash-bar-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dash-bar {
  width: 70%;
  max-width: 36px;
  background: #0F2A44;
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 4px;
  transition: height 0.3s ease;
}
.dash-bar-accent {
  background: #1FA7A0;
}
.dash-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: #6b7280;
  white-space: nowrap;
  display: none;
}
.dash-bar-group:hover .dash-bar::after {
  display: block;
}
.dash-bar-label {
  font-size: 0.68rem;
  color: #6b7280;
  margin-top: 0.35rem;
}
.dash-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.dash-mini-table thead th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #6b7280;
  padding: 0.5rem 0.5rem;
  border-bottom: 2px solid #e8ecf1;
  font-weight: 600;
}
.dash-mini-table tbody td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #f0f2f5;
  color: #333;
  vertical-align: middle;
}
.dash-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
}
.dash-top-vets {
  text-align: center;
}
.dash-vet-highlight {
  margin-bottom: 0.75rem;
}
.dash-vet-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F2A44;
  display: block;
  margin-bottom: 0.3rem;
}
.dash-donut-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.dash-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.dash-approval-donut {
  flex-shrink: 0;
}
.dash-shipment-volume {
  text-align: left;
}
.dash-volume-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.dash-volume-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F2A44;
}
.dash-volume-change {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
.dash-volume-change.positive {
  color: #155724;
  background: #d4edda;
}
.dash-volume-change.negative {
  color: #721c24;
  background: #f8d7da;
}
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dash-kpi-card {
  text-align: center;
  padding: 1rem 0.75rem;
}
.dash-kpi-card-label {
  font-size: 0.78rem;
  color: #6b7280;
  display: block;
  margin-bottom: 0.4rem;
}
.dash-kpi-card-value-row {
  margin-bottom: 0.3rem;
}
.dash-kpi-card-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F2A44;
}
.dash-kpi-card-change {
  font-size: 0.75rem;
  color: #6b7280;
}
.dash-kpi-card-change.positive {
  color: #155724;
}
.dash-bottom-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.dash-freq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dash-freq-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f2f5;
}
.dash-freq-item:last-child {
  border-bottom: none;
}
.dash-freq-icon {
  font-size: 1.3rem;
}
.dash-freq-info {
  flex: 1;
}
.dash-freq-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
}
.dash-freq-meta {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
}
.dash-freq-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F2A44;
}

.exec-layout {
  display: flex;
  gap: 0;
  min-height: 0;
}
.exec-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-right: 1.25rem;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  transition: width 0.25s ease;
  overflow: hidden;
}
.exec-sidebar.collapsed {
  width: 52px;
}
.exec-sidebar.collapsed .exec-nav-label,
.exec-sidebar.collapsed .exec-sidebar-title {
  display: none;
}
.exec-sidebar.collapsed .exec-nav-item {
  justify-content: center;
  padding: 0.6rem 0;
}
.exec-sidebar.collapsed .exec-nav-icon {
  margin-right: 0;
}
.exec-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.75rem 0.6rem;
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 0.4rem;
}
.exec-sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F2A44;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.exec-sidebar-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0.2rem;
  border-radius: 4px;
  line-height: 1;
}
.exec-sidebar-toggle:hover {
  background: #f0f2f5;
  color: #0F2A44;
}
.exec-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.exec-nav-item {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #555;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.exec-nav-item:hover {
  background: #f4f7fa;
  color: #0F2A44;
}
.exec-nav-item.active {
  background: #eaf4fe;
  color: #0F2A44;
  font-weight: 600;
  border-left-color: #0F2A44;
}
.exec-nav-icon {
  font-size: 1.05rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}
.exec-nav-label {
  white-space: nowrap;
}
.exec-main {
  flex: 1;
  min-width: 0;
}
.exec-panel {
  animation: execFadeIn 0.25s ease;
}
@keyframes execFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.exec-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.exec-panel-header h2 {
  font-size: 1.35rem;
  color: #0F2A44;
  font-weight: 700;
}
.exec-panel-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  background: #eaf4fe;
  color: #0F2A44;
  font-weight: 600;
}
.exec-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.exec-metric-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
}
.exec-metric-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F2A44;
  margin-bottom: 0.2rem;
}
.exec-metric-label {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.exec-metric-change {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
}
.exec-metric-change.positive {
  color: #155724;
}
.exec-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.exec-detail-card {
  padding: 1.25rem;
}
.exec-detail-card h3 {
  font-size: 0.92rem;
  color: #0F2A44;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.exec-hbar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.exec-hbar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.exec-hbar-label {
  font-size: 0.78rem;
  color: #555;
  width: 130px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exec-hbar-track {
  flex: 1;
  height: 8px;
  background: #e8ecf1;
  border-radius: 4px;
  overflow: hidden;
}
.exec-hbar-fill {
  height: 100%;
  background: #0F2A44;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.exec-hbar-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0F2A44;
  width: 55px;
  text-align: right;
  flex-shrink: 0;
}
@media (max-width: 1000px) {
  .exec-sidebar {
    width: 52px;
  }
  .exec-sidebar .exec-nav-label,
  .exec-sidebar .exec-sidebar-title {
    display: none;
  }
  .exec-sidebar .exec-nav-item {
    justify-content: center;
    padding: 0.6rem 0;
  }
  .exec-sidebar .exec-nav-icon {
    margin-right: 0;
  }
  .exec-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exec-detail-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .exec-layout {
    flex-direction: column;
  }
  .exec-sidebar,
  .exec-sidebar.collapsed {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .exec-sidebar-toggle {
    display: none;
  }
  .exec-nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
  }
  .exec-nav-item {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }
  .exec-nav-item.active {
    border-bottom-color: #0F2A44;
    border-left-color: transparent;
  }
  .exec-sidebar .exec-nav-label,
  .exec-sidebar.collapsed .exec-nav-label {
    display: inline !important;
  }
  .exec-sidebar .exec-sidebar-title,
  .exec-sidebar.collapsed .exec-sidebar-title {
    display: inline !important;
  }
  .exec-sidebar .exec-nav-icon,
  .exec-sidebar.collapsed .exec-nav-icon {
    margin-right: 0.4rem !important;
  }
  .exec-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1000px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-col-right {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .dash-col-right .card {
    flex: 1;
  }
  .dash-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-bottom-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-col-right {
    flex-direction: column;
  }
  .dash-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}

.table-card {
  margin-top: 0;
}

.table-card h3 {
  font-size: 1.05rem;
  color: #0F2A44;
  margin-bottom: 1rem;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  padding: 0.75rem;
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e5e7eb;
}

tbody td {
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}

tbody tr:hover {
  background: #f9fafb;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
}

.badge-yellow {
  background: #fef3c7;
  color: #92400e;
}

.badge-red {
  background: #fee2e2;
  color: #991b1b;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
}


.procurement-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.proc-action-btn {
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.proc-action-btn:hover {
  background: #1557b0;
}

.action-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.action-btn-primary {
  background: #1FA7A0;
  color: white;
  border-color: #1FA7A0;
}

.action-btn-primary:hover {
  background: #178f89;
  border-color: #178f89;
}

.action-btn-secondary {
  background: white;
  color: #0F2A44;
  border-color: #d1d5db;
}

.action-btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.procurement-divider {
  border-top: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.procurement-reports {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.report-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.report-item:hover {
  border-left-color: #1FA7A0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.report-item:not(.report-item-coming-soon)::after {
  content: "\2B07";
  font-size: 0.85rem;
  color: #9ca3af;
  margin-left: auto;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.report-item:not(.report-item-coming-soon):hover::after {
  color: #1FA7A0;
}

.report-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.report-info h4 {
  font-size: 1rem;
  color: #0F2A44;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.report-info p {
  font-size: 0.85rem;
  color: #6b7280;
}

.report-item-coming-soon {
  opacity: 0.6;
  cursor: default;
}

.report-item-coming-soon:hover {
  border-left-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Procurement Dashboard Visuals ── */
.proc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.proc-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.proc-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.proc-kpi-info {
  display: flex;
  flex-direction: column;
}

.proc-kpi-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.proc-kpi-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F2A44;
}

.proc-kpi-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.proc-kpi-change.positive { color: #0d9e4f; }
.proc-kpi-change.warning { color: #e67e00; }
.proc-kpi-change.neutral { color: #6b7280; }

.proc-charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.proc-chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.proc-chart-card.proc-chart-wide {
  grid-column: 1 / -1;
}

.proc-chart-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F2A44;
  margin-bottom: 0.25rem;
}

.proc-chart-sub {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

/* PO Lifecycle Table */
.proc-po-table-wrap {
  overflow-x: auto;
}

.proc-po-table-scroll {
  max-height: 680px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.proc-po-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.proc-po-table.proc-po-compact {
  font-size: 0.78rem;
}

.proc-po-table thead th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.proc-po-table-scroll .proc-po-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  box-shadow: 0 1px 0 #e5e7eb;
}

.proc-po-table.proc-po-compact thead th {
  padding: 0.45rem 0.6rem;
  font-size: 0.68rem;
}

.proc-po-table tbody td {
  padding: 0.65rem 0.75rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}

.proc-po-table.proc-po-compact tbody td {
  padding: 0.35rem 0.6rem;
  font-size: 0.76rem;
  line-height: 1.3;
}

.proc-po-table tbody tr:hover {
  background: #f9fafb;
}

.po-num {
  font-weight: 600;
  color: #1a73e8;
}

.lead-badge, .status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.lead-badge.good { background: #dcfce7; color: #166534; }
.lead-badge.warning { background: #fef3c7; color: #92400e; }
.lead-badge.in-transit { background: #dbeafe; color: #1e40af; }
.lead-badge.pending { background: #f3f4f6; color: #6b7280; }

.status-badge.received { background: #dcfce7; color: #166534; }
.status-badge.shipped { background: #dbeafe; color: #1e40af; }
.status-badge.in.transit, .status-badge.in-transit { background: #e0e7ff; color: #3730a3; }
.status-badge.partially-received { background: #fffbeb; color: #92400e; }
.status-badge.approved { background: #fef3c7; color: #92400e; }
.status-badge.submitted { background: #f3f4f6; color: #6b7280; }
.status-badge.pending { background: #fffbeb; color: #b45309; }
.status-badge.draft { background: #f3f4f6; color: #6b7280; }
.status-badge.rejected { background: #fef2f2; color: #dc2626; }
.status-badge.cancelled { background: #fef2f2; color: #991b1b; }

.proc-po-compact .lead-badge, .proc-po-compact .status-badge {
  padding: 0.15rem 0.5rem;
  font-size: 0.66rem;
}
.proc-po-compact .action-btn {
  padding: 2px 6px;
  font-size: 0.66rem;
}

.action-btn.submit-btn { background: #2563eb; color: #fff; border: none; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 0.72rem; }
.action-btn.approve-btn { background: #059669; color: #fff; border: none; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 0.72rem; }
.action-btn.reject-btn { background: #dc2626; color: #fff; border: none; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 0.72rem; }
.action-btn.ship-btn { background: #7c3aed; color: #fff; border: none; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 0.72rem; }
.action-btn.receive-btn { background: #059669; color: #fff; border: none; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-size: 0.72rem; }

/* MoM Spend Chart */
.proc-mom-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  height: 200px;
  padding: 0 0.5rem;
}

.proc-mom-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.proc-mom-month {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-weight: 600;
}

.proc-mom-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  flex: 1;
  width: 100%;
}

.proc-mom-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 8px;
  transition: height 0.4s;
}

.proc-mom-bar.spend { background: #1FA7A0; }
.proc-mom-bar.count { background: #1a73e8; }

.proc-mom-val {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.proc-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.proc-legend-item {
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.proc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.proc-dot.spend { background: #1FA7A0; }
.proc-dot.count { background: #1a73e8; }

/* Open POs by Dept horizontal bars */
.proc-dept-bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proc-dept-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.proc-dept-name {
  font-size: 0.82rem;
  color: #374151;
  width: 100px;
  flex-shrink: 0;
  font-weight: 500;
}

.proc-dept-track {
  flex: 1;
  height: 22px;
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
}

.proc-dept-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s;
}

.proc-dept-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F2A44;
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}

/* Local vs Foreign Donut */
.proc-donut-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.proc-donut {
  width: 140px;
  height: 140px;
}

.proc-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proc-donut-item {
  font-size: 0.85rem;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.proc-donut-item small {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Inventory Forecast */
.proc-forecast-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.proc-forecast-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.proc-forecast-dept {
  font-size: 0.82rem;
  color: #374151;
  width: 100px;
  flex-shrink: 0;
  font-weight: 500;
}

.proc-forecast-track {
  flex: 1;
  height: 20px;
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
}

.proc-forecast-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s;
}

.proc-forecast-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F2A44;
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}

.proc-forecast-total {
  text-align: right;
  font-size: 0.9rem;
  color: #374151;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
  .proc-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-charts-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .proc-kpi-grid { grid-template-columns: 1fr; }
  .proc-donut-wrap { flex-direction: column; }
}

/* ── End Procurement Dashboard ── */

/* ── Inventory Dashboard ── */

.inv-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.inv-kpi-card {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}

.inv-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.inv-kpi-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.inv-kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.inv-kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a202c;
}

.inv-kpi-change {
  font-size: 0.78rem;
  font-weight: 600;
}
.inv-kpi-change.positive { color: #0d9e4f; }
.inv-kpi-change.warning { color: #e67e00; }
.inv-kpi-change.neutral { color: #6b7280; }
.inv-kpi-change.critical { color: #d32f2f; }

.inv-stock-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.inv-stock-table thead th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 0.9rem;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
}

.inv-stock-table tbody td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  white-space: nowrap;
}

.inv-stock-table tbody tr:hover {
  background: #f0f7ff;
}

.inv-status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.inv-status-badge.in-stock { background: #dcfce7; color: #166534; }
.inv-status-badge.below-reorder { background: #fef3c7; color: #92400e; }
.inv-status-badge.critical { background: #fce4ec; color: #d32f2f; }
.inv-status-badge.out-of-stock { background: #7f1d1d; color: #fff; }

.inv-turnover-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  height: 180px;
  padding: 1rem 0.5rem 0;
}

.inv-reorder-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.inv-reorder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: background 0.15s;
}

.inv-reorder-item:hover {
  background: #f0f7ff;
}

.inv-reorder-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inv-reorder-code {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a73e8;
  font-family: monospace;
}

.inv-reorder-name {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.inv-reorder-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inv-reorder-qty {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 600;
  font-family: monospace;
}

@media (max-width: 900px) {
  .inv-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .inv-kpi-grid { grid-template-columns: 1fr; }
}

/* ── End Inventory Dashboard ── */

.coming-soon-tag {
  display: inline-block;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  font-size: 1.15rem;
  color: #0F2A44;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #0F2A44;
}

.modal-form {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F2A44;
  margin-bottom: 0.4rem;
}

.required {
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #374151;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #1FA7A0;
  box-shadow: 0 0 0 3px rgba(31, 167, 160, 0.15);
  background: white;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
}

.radio-label input[type="radio"] {
  accent-color: #1FA7A0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
  .top-bar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
  }
  .top-nav {
    order: 3;
    width: 100%;
    padding-top: 0.5rem;
  }
  .content {
    padding: 1rem;
  }
}

.executive-highlights {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.highlights-title {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 1rem;
  font-weight: 700;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.highlight-card {
  background: #f4f7fa;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e8ecf1;
}
.highlight-label {
  font-size: 0.75rem;
  color: #7a8a9e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.highlight-value {
  font-size: 1.4rem;
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.highlight-sub {
  font-size: 0.78rem;
  color: #5a6a7e;
}
.highlight-clickable {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.highlight-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,26,46,0.12);
  border-color: #3a7bd5;
}
.highlight-link {
  font-size: 0.72rem;
  color: #3a7bd5;
  margin-top: 0.5rem;
  font-weight: 600;
}
.highlight-clickable:hover .highlight-link {
  text-decoration: underline;
}
.compliance-pie {
  width: 90px;
  height: 90px;
  margin: 0.5rem auto;
}
.pie-donut {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pie-donut-center {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
}
.compliance-legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 0.35rem;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: #555;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.data-table thead th {
  background: #1a1a2e;
  color: #fff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #e8ecf1;
  color: #333;
}
.data-table tbody tr:hover {
  background: #f0f4ff;
}

.report-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e0e6ed;
}
.report-tab {
  padding: 0.6rem 1.25rem;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.report-tab:hover {
  color: #0F2A44;
}
.report-tab.active {
  color: #0F2A44;
  border-bottom-color: #0F2A44;
}

.folder-browser {
  min-height: 120px;
}
.folder-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb-item {
  cursor: pointer;
  color: #2980b9;
  font-weight: 500;
}
.breadcrumb-item:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  color: #999;
  margin: 0 0.15rem;
}
.breadcrumb-current {
  color: #1a1a2e;
  font-weight: 600;
  cursor: default;
}
.breadcrumb-current:hover {
  text-decoration: none;
}

.folder-contents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
}
.folder-item:hover {
  background: #e8f0fe;
}
.folder-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.folder-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a2e;
}
.folder-sub {
  font-size: 0.72rem;
  color: #888;
}
.report-file-item {
  background: #f0f4ff;
  border: 1px solid #d4dde8;
}
.report-file-item:hover {
  background: #dce6f5;
}

.rpt-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rpt-kpi {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
}
.rpt-kpi-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.rpt-kpi-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F2A44;
  line-height: 1.2;
}
.rpt-kpi-label {
  display: block;
  font-size: 0.78rem;
  color: #6b7280;
}
.rpt-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F2A44;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 0.4rem;
}
.rpt-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.rpt-card {
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}
.rpt-card:hover {
  border-left-color: #1FA7A0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.rpt-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.rpt-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.rpt-card h4 {
  font-size: 1rem;
  color: #0F2A44;
  margin-bottom: 0.4rem;
}
.rpt-card p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.rpt-card-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-bottom: 0.75rem;
}
.rpt-spark {
  flex: 1;
  background: #0F2A44;
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
}
.rpt-spark-accent {
  background: #1FA7A0;
}
.rpt-spark-warn {
  background: #e8b84b;
}
.rpt-spark-danger {
  background: #dc3545;
}
.rpt-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f2f5;
}
.rpt-card-arrow {
  font-size: 1.1rem;
  color: #1FA7A0;
  font-weight: 700;
}
.rpt-card-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: #0F2A44;
}
.rpt-card-stats small {
  font-size: 0.72rem;
  color: #6b7280;
}
.rpt-card-risk-meter {
  margin-bottom: 0.75rem;
}
.rpt-risk-bar {
  height: 10px;
  background: #e8ecf1;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}
.rpt-risk-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #e8b84b, #dc3545);
  border-radius: 5px;
  transition: width 0.5s ease;
}
.rpt-risk-fill-danger {
  background: #dc3545;
}
.rpt-risk-fill-warning {
  background: #e8b84b;
}
.rpt-risk-fill-success {
  background: #28a745;
}
.rpt-risk-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #6b7280;
}
.rpt-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.rpt-schedule-table thead th {
  background: #0F2A44;
  color: #fff;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.rpt-schedule-table tbody td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #e8ecf1;
  color: #333;
  vertical-align: middle;
}
.rpt-schedule-table tbody tr:hover {
  background: #f0f4ff;
}
.rpt-back-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rpt-back-btn {
  background: none;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  color: #0F2A44;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s ease;
}
.rpt-back-btn:hover {
  background: #0F2A44;
  color: #fff;
}
.rpt-back-row h2 {
  font-size: 1.3rem;
  color: #0F2A44;
}
.rpt-yoy-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rpt-yoy-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rpt-yoy-cat {
  width: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0F2A44;
  flex-shrink: 0;
}
.rpt-yoy-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rpt-yoy-bar {
  height: 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding-left: 6px;
  transition: width 0.5s ease;
}
.rpt-yoy-bar span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}
.rpt-yoy-prev {
  background: #9ca3af;
}
.rpt-yoy-curr {
  background: #0F2A44;
}
.rpt-yoy-change {
  width: 50px;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.rpt-yoy-change.good {
  color: #28a745;
}
.rpt-yoy-change.bad {
  color: #dc3545;
}
.rpt-yoy-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6b7280;
}
.rpt-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.rpt-pct-bar {
  width: 100%;
  height: 12px;
  background: #e8ecf1;
  border-radius: 6px;
  overflow: hidden;
}
.rpt-pct-fill {
  height: 100%;
  background: #1FA7A0;
  border-radius: 6px;
  transition: width 0.5s ease;
}
.rpt-pct-danger {
  background: #dc3545;
}
.rpt-pct-warning {
  background: #e8b84b;
}
.rpt-horiz-chart {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rpt-horiz-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rpt-horiz-label {
  width: 130px;
  font-size: 0.78rem;
  color: #333;
  flex-shrink: 0;
  text-align: right;
}
.rpt-horiz-bar-wrap {
  flex: 1;
  height: 18px;
  background: #e8ecf1;
  border-radius: 4px;
  overflow: hidden;
}
.rpt-horiz-bar {
  height: 100%;
  background: #0F2A44;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.rpt-horiz-danger {
  background: #dc3545;
}
.rpt-horiz-warning {
  background: #e8b84b;
}
.rpt-horiz-val {
  width: 60px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0F2A44;
  flex-shrink: 0;
}
.rpt-donut-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}
.rpt-donut {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.rpt-donut::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  background: #fff;
  border-radius: 50%;
}
.rpt-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #333;
}
.rpt-risk-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rpt-risk-item {
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid;
}
.rpt-risk-high {
  background: #fff5f5;
  border-left-color: #dc3545;
}
.rpt-risk-medium {
  background: #fffbeb;
  border-left-color: #e8b84b;
}
.rpt-risk-low {
  background: #f0fdf4;
  border-left-color: #28a745;
}
.rpt-risk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.rpt-risk-item p {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}
.rpt-risk-meter-sm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rpt-risk-meter-sm .rpt-risk-bar {
  flex: 1;
}
.rpt-risk-meter-sm span {
  font-size: 0.72rem;
  color: #6b7280;
  white-space: nowrap;
}
.vcr-exec-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.vcr-summary-card {
  flex: 1;
  background: #f4f6f9;
  padding: 20px 24px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.vcr-summary-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin: 0 0 8px 0;
  font-weight: 600;
}
.vcr-summary-card p {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.vcr-risk-index-card {
  background: #1f3b57;
  border-color: #1f3b57;
}
.vcr-risk-index-card h3 {
  color: rgba(255,255,255,0.7);
}
.vcr-risk-index-card p {
  color: #fff;
}
.vcr-alert-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.vcr-alert-section h2 {
  font-size: 1rem;
  color: #1e293b;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.vcr-alert-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vcr-alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}
.vcr-alert-critical {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #dc3545;
}
.vcr-alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left: 4px solid #e8b84b;
}
.vcr-alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #4a90d9;
}
.vcr-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.vcr-risk-priority {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
}
.vcr-risk-priority h2 {
  font-size: 1rem;
  color: #1e293b;
  margin: 0 0 16px 0;
  font-weight: 700;
}
.vcr-priority-item {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid;
}
.vcr-priority-critical {
  background: #fef2f2;
  border-left-color: #dc3545;
}
.vcr-priority-elevated {
  background: #fffbeb;
  border-left-color: #e8b84b;
}
.vcr-priority-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.vcr-priority-header strong {
  font-size: 0.92rem;
  color: #1e293b;
}
.vcr-priority-detail {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 8px 0;
}
.vcr-priority-meter {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vcr-priority-bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.vcr-priority-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.vcr-priority-fill-danger { background: #dc3545; }
.vcr-priority-fill-warning { background: #e8b84b; }
.vcr-priority-score {
  font-size: 0.72rem;
  color: #6b7280;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .vcr-exec-summary { flex-direction: column; }
  .vcr-grid-row { grid-template-columns: 1fr; }
}

.rpt-line-chart {
  display: flex;
  gap: 0.5rem;
  height: 180px;
}
.rpt-line-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #9ca3af;
  padding: 0 0.25rem;
  width: 32px;
  flex-shrink: 0;
}
.rpt-line-area {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}
.rpt-line-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rpt-line-gridline {
  height: 1px;
  background: #e8ecf1;
}
.rpt-line-svg {
  flex: 1;
  width: 100%;
}
.rpt-line-x-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #9ca3af;
  padding-top: 4px;
}
@media (max-width: 900px) {
  .rpt-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .rpt-grid-2 {
    grid-template-columns: 1fr;
  }
  .rpt-donut-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .rpt-kpi-row {
    grid-template-columns: 1fr;
  }
  .rpt-horiz-label {
    width: 90px;
    font-size: 0.72rem;
  }
}

.tvl-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tvl-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e0e6ed;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tvl-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.tvl-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tvl-kpi-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tvl-kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.tvl-kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}

.tvl-kpi-change {
  font-size: 0.78rem;
  font-weight: 500;
}

.tvl-kpi-change.positive { color: #0d9e4f; }
.tvl-kpi-change.neutral { color: #6b7280; }
.tvl-kpi-change.warning { color: #e67e00; }

.tvl-dash-charts {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tvl-chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e0e6ed;
}

.tvl-chart-wide {
  grid-row: span 1;
}

.tvl-chart-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.tvl-chart-sub {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.tvl-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tvl-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tvl-bar-label {
  font-size: 0.8rem;
  color: #374151;
  width: 130px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 500;
}

.tvl-bar-track {
  flex: 1;
  background: #f0f3f7;
  border-radius: 6px;
  height: 28px;
  overflow: hidden;
}

.tvl-bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.6rem;
  transition: width 0.8s ease;
}

.tvl-bar-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.tvl-donut-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tvl-donut {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tvl-donut-center {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tvl-donut-pct {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a73e8;
  line-height: 1;
}

.tvl-donut-label {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.tvl-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tvl-legend-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.tvl-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tvl-legend-text {
  color: #6b7280;
  flex: 1;
}

.tvl-legend-val {
  font-weight: 700;
  color: #1a1a2e;
}

.tvl-thermo-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.tvl-thermo-container {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex-shrink: 0;
}

.tvl-thermo-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #6b7280;
  text-align: right;
  padding: 0.25rem 0;
}

.tvl-thermo-bar {
  width: 36px;
  height: 160px;
  background: #f0f3f7;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.tvl-thermo-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #34d399, #fbbf24);
  border-radius: 0 0 18px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.25rem;
  transition: height 0.8s ease;
  z-index: 2;
}

.tvl-thermo-val {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.tvl-thermo-zone {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0.12;
  z-index: 1;
}

.tvl-zone-low { background: #34d399; }
.tvl-zone-med { background: #fbbf24; }
.tvl-zone-high { background: #ef4444; }

.tvl-thermo-ticks {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #9ca3af;
  padding: 0.25rem 0;
}

.tvl-thermo-stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
  flex: 1;
}

.tvl-thermo-stat {
  display: flex;
  flex-direction: column;
}

.tvl-thermo-stat-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
}

.tvl-thermo-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.tvl-thermo-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.tvl-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tvl-status-low { background: #dcfce7; color: #166534; }
.tvl-status-med { background: #fef3c7; color: #92400e; }
.tvl-status-high { background: #fee2e2; color: #991b1b; }

.tvl-status-text {
  font-size: 0.82rem;
  color: #374151;
}

.tvl-dash-nav {
  margin-top: 0.5rem;
}

.tvl-nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.tvl-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.tvl-nav-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tvl-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #1a73e8;
}

.tvl-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tvl-nav-info {
  flex: 1;
}

.tvl-nav-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.2rem;
}

.tvl-nav-info p {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

.tvl-nav-arrow {
  font-size: 1.2rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.tvl-nav-card:hover .tvl-nav-arrow {
  color: #1a73e8;
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .tvl-dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .tvl-dash-charts { grid-template-columns: 1fr; }
  .tvl-nav-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tvl-dash-kpis { grid-template-columns: 1fr; }
  .tvl-bar-label { width: 90px; font-size: 0.72rem; }
}

.travel-req-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.travel-req-toolbar-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.travel-req-toolbar-right {
  margin-left: auto;
}
.travel-search-input {
  padding: 0.5rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.85rem;
  width: 260px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.travel-search-input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.action-btn-export {
  background: #0d7c3d;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s;
}
.action-btn-export:hover { background: #0a6332; }


.travel-filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  padding: 0.6rem 1rem;
  background: #f0f4ff;
  border-radius: 10px;
  border: 1px solid #e0e6ed;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.travel-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.travel-filter-group label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.travel-filter-select {
  padding: 0.4rem 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.82rem;
  background: #fff;
  min-width: 150px;
  cursor: pointer;
}
.travel-filter-select:focus {
  outline: none;
  border-color: #1a73e8;
}
.travel-filter-clear {
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  color: #6b7280;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.2s;
}
.travel-filter-clear:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.travel-summary-bar {
  display: flex;
  gap: 1.5rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0e6ed;
  margin-bottom: 0;
  flex-wrap: wrap;
  align-items: center;
}
.travel-summary-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.travel-summary-label {
  font-size: 0.78rem;
  color: #6b7280;
}
.travel-summary-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
}
.travel-summary-spend { color: #0d7c3d; }

.travel-table-card {
  border-radius: 12px;
  overflow: hidden;
}
.travel-table-heading {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: #1a1a2e;
  font-weight: 700;
}
.travel-table-scroll {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e0e6ed;
}
.travel-data-table {
  font-size: 0.8rem;
}
.travel-data-table thead th {
  background: #1a1a2e;
  color: #fff;
  padding: 0.55rem 0.65rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
.travel-data-table tbody td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.82rem;
  white-space: nowrap;
}
.travel-data-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.travel-data-table tbody tr:hover {
  background: #eef2ff;
}
.travel-data-table tbody tr.non-compliant {
  background: #fef2f2;
}
.travel-data-table tbody tr.non-compliant:hover {
  background: #fee2e2;
}

.travel-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid #e0e6ed;
  font-size: 0.8rem;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.travel-pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.travel-page-btn {
  padding: 0.3rem 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  color: #374151;
  transition: all 0.2s;
}
.travel-page-btn:hover:not(:disabled) {
  background: #f0f4ff;
  border-color: #1a73e8;
}
.travel-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.travel-page-num {
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
}
.travel-page-num.active {
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
}


@media (max-width: 900px) {
  .travel-req-toolbar { flex-direction: column; align-items: stretch; }
  .travel-req-toolbar-right { margin-left: 0; }
  .travel-search-input { width: 100%; }
  .travel-filter-bar { flex-direction: column; }
}

/* ===== FINANCIALS MODULE ===== */
.fin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fin-kpi-grid.fin-kpi-4 {
  grid-template-columns: repeat(4, 1fr);
}
.fin-kpi-grid.fin-kpi-5 {
  grid-template-columns: repeat(5, 1fr);
}
.fin-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e0e6ed;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.fin-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.fin-kpi-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.fin-kpi-label {
  font-size: 0.78rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
.fin-kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
}
.fin-kpi-change {
  font-size: 0.78rem;
  font-weight: 500;
}
.fin-kpi-change.positive { color: #27ae60; }
.fin-kpi-change.neutral { color: #6b7280; }
.fin-kpi-change.warning { color: #e74c3c; }

.fin-charts-row {
  margin-bottom: 1.5rem;
}
.fin-chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e0e6ed;
}
.fin-chart-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}
.fin-chart-sub {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.fin-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  height: 220px;
  padding: 0 1rem;
}
.fin-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.fin-bar-month {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 0.5rem;
  order: 2;
}
.fin-bar-pair {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  flex: 1;
  width: 100%;
  justify-content: center;
}
.fin-bar {
  width: 28px;
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.fin-bar.revenue {
  background: linear-gradient(180deg, #1FA7A0, #17857f);
}
.fin-bar.expense {
  background: linear-gradient(180deg, #e74c3c, #c0392b);
}
.fin-bar-val {
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding-top: 4px;
}
.fin-chart-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.fin-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 500;
}
.fin-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.fin-tables-row {
  margin-bottom: 1.5rem;
}
.fin-table-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e0e6ed;
  margin-bottom: 1.5rem;
}
.fin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.fin-table thead th {
  background: #f0f4f8;
  padding: 0.7rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #4a5568;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #e0e6ed;
}
.fin-table tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f0f4f8;
  color: #2d3748;
}
.fin-table tbody tr:hover {
  background: #f8fafc;
}
.fin-table tfoot td {
  padding: 0.7rem 0.75rem;
  border-top: 2px solid #e0e6ed;
}

.fin-type-income {
  color: #27ae60;
  font-weight: 600;
}
.fin-type-expense {
  color: #e74c3c;
  font-weight: 600;
}

.fin-filter-bar {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e0e6ed;
}
.fin-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.fin-filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fin-filter-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #2d3748;
  background: #fff;
  min-width: 150px;
}
.fin-filter-input:focus {
  outline: none;
  border-color: #1FA7A0;
  box-shadow: 0 0 0 2px rgba(31,167,160,0.15);
}

.fin-summary-bar {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e0e6ed;
}
.fin-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fin-summary-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fin-summary-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a2e;
}

.fin-progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  min-width: 120px;
}
.fin-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.fin-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fin-report-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e0e6ed;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fin-report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.fin-report-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.fin-report-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}
.fin-report-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}

@media (max-width: 1200px) {
  .fin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .fin-kpi-grid.fin-kpi-4 { grid-template-columns: repeat(2, 1fr); }
  .fin-kpi-grid.fin-kpi-5 { grid-template-columns: repeat(3, 1fr); }
  .fin-reports-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fin-kpi-grid, .fin-kpi-grid.fin-kpi-4, .fin-kpi-grid.fin-kpi-5 { grid-template-columns: 1fr; }
  .fin-reports-grid { grid-template-columns: 1fr; }
  .fin-filter-bar { flex-direction: column; }
  .fin-summary-bar { flex-direction: column; }
  .fin-bar-chart { gap: 0.5rem; }
}

.vnd-score-cell { font-weight: 700; }
.vnd-score-green { color: #0d9e4f; }
.vnd-score-blue { color: #1a73e8; }
.vnd-score-orange { color: #e67e00; }
.vnd-score-red { color: #d32f2f; }

.vnd-status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.vnd-status-preferred { background: #e6f9ed; color: #0d9e4f; }
.vnd-status-approved { background: #e8f4fd; color: #1a73e8; }
.vnd-status-under-review { background: #fff3e0; color: #e67e00; }
.vnd-status-probation { background: #fce4ec; color: #d32f2f; }

.vnd-contract-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.vnd-contract-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: background 0.15s;
}
.vnd-contract-item:hover { background: #f0f7ff; }
.vnd-contract-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.vnd-contract-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a2e;
}
.vnd-contract-date {
  font-size: 0.78rem;
  color: #6b7280;
}
.vnd-contract-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.vnd-badge-urgent { background: #fce4ec; color: #d32f2f; }
.vnd-badge-warning { background: #fff3e0; color: #e67e00; }
.vnd-badge-upcoming { background: #e8f4fd; color: #1a73e8; }

@media (max-width: 1200px) {
  .vnd-contract-list { gap: 0.5rem; }
}
@media (max-width: 768px) {
  .vnd-contract-item { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

.customs-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.customs-badge.cleared { background: #e6f9ed; color: #0d9e4f; }
.customs-badge.pending { background: #fff8e1; color: #f9a825; }
.customs-badge.in-review { background: #fff3e0; color: #e67e00; }
.customs-badge.held { background: #fce4ec; color: #d32f2f; }
.customs-badge.na { background: #f3f4f6; color: #9ca3af; }

.status-badge.in-transit { background: #e8f4fd; color: #1a73e8; }
.status-badge.delivered { background: #e6f9ed; color: #0d9e4f; }
.status-badge.in-customs { background: #fff3e0; color: #e67e00; }
.status-badge.delayed { background: #fce4ec; color: #d32f2f; }

.log-customs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.log-customs-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: background 0.15s;
}
.log-customs-item:hover {
  background: #f0f7ff;
}
.log-customs-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.log-customs-badge.normal { background: #e8f4fd; color: #1a73e8; }
.log-customs-badge.critical { background: #fce4ec; color: #d32f2f; }
.log-customs-badge.warning { background: #fff3e0; color: #e67e00; }
.log-customs-badge.ok { background: #e6f9ed; color: #0d9e4f; }

@media (max-width: 900px) {
  .log-customs-item { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

.bgt-status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.bgt-status-badge.on-track { background: #e6f9ed; color: #0d9e4f; }
.bgt-status-badge.under-budget { background: #e8f4fd; color: #1a73e8; }
.bgt-status-badge.over-budget { background: #fce4ec; color: #d32f2f; }
.bgt-status-badge.at-risk { background: #fff3e0; color: #e67e00; }

@media (max-width: 900px) {
  #page-budgets .proc-charts-row { flex-direction: column; }
  #page-budgets .proc-chart-card { min-width: 0; }
  #page-budgets .proc-po-table-wrap { overflow-x: auto; }
}

.intg-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.intg-service-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.2s;
}

.intg-service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.intg-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.intg-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.intg-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2937;
}

.intg-card-category {
  font-size: 0.75rem;
  color: #6b7280;
}

.intg-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.intg-card-sync {
  font-size: 0.75rem;
  color: #9ca3af;
}

.intg-card-configure {
  font-size: 0.75rem;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.intg-card-configure:hover {
  text-decoration: underline;
}

.intg-status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  width: fit-content;
}

.intg-status-badge.connected {
  background: #e6f9ed;
  color: #0d9e4f;
}

.intg-status-badge.pending-setup {
  background: #fff3e0;
  color: #e67e00;
}

.intg-status-badge.disconnected {
  background: #fce4ec;
  color: #d32f2f;
}

.intg-sync-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intg-sync-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #e5e7eb;
}

.intg-sync-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.intg-sync-service {
  font-weight: 600;
  font-size: 0.85rem;
  color: #1f2937;
}

.intg-sync-detail {
  font-size: 0.75rem;
  color: #6b7280;
}

.intg-sync-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.intg-sync-badge.success {
  background: #e6f9ed;
  color: #0d9e4f;
}

.intg-sync-badge.failed {
  background: #fce4ec;
  color: #d32f2f;
}

.intg-sync-badge.setup {
  background: #fff3e0;
  color: #e67e00;
}

.intg-health-score {
  font-weight: 600;
}

.intg-health-score.excellent { color: #0d9e4f; }
.intg-health-score.good { color: #1a73e8; }
.intg-health-score.poor { color: #d32f2f; }

@media (max-width: 1024px) {
  .intg-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .intg-cards-grid { grid-template-columns: 1fr; }
}

.adm-status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}
.adm-status-badge.online { background: #e6f9ed; color: #0d9e4f; }
.adm-status-badge.away { background: #fff3e0; color: #e67e00; }
.adm-status-badge.offline { background: #f3f4f6; color: #6b7280; }

.adm-2fa-enabled { color: #0d9e4f; font-weight: 600; font-size: 0.8rem; }
.adm-2fa-disabled { color: #d32f2f; font-weight: 600; font-size: 0.8rem; }

.adm-health-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.adm-health-label {
  width: 130px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  flex-shrink: 0;
}
.adm-health-track {
  flex: 1;
  height: 10px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}
.adm-health-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
}
.adm-health-val {
  width: 60px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.adm-audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.adm-audit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #e5e7eb;
}
.adm-audit-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.adm-audit-user {
  font-weight: 600;
  font-size: 0.85rem;
  color: #1f2937;
}
.adm-audit-action {
  font-size: 0.75rem;
  color: #6b7280;
}
.adm-audit-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}
.adm-audit-badge.login { background: #e8f4fd; color: #1a73e8; }
.adm-audit-badge.edit { background: #fff3e0; color: #e67e00; }
.adm-audit-badge.approve { background: #e6f9ed; color: #0d9e4f; }
.adm-audit-badge.system { background: #ede7f6; color: #7b1fa2; }
.adm-audit-badge.export { background: #e8f4fd; color: #1a73e8; }
.adm-audit-badge.create { background: #e6f9ed; color: #0d9e4f; }
.adm-audit-badge.alert { background: #fce4ec; color: #d32f2f; }

.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 42, 68, 0.85);
}
.auth-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  width: 400px;
  max-width: 92vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-modal-header h2 {
  margin-top: 12px;
  color: #0F2A44;
  font-size: 1.5em;
}
.auth-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.9em;
}
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95em;
  transition: border-color 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background: #0F2A44;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}
.auth-submit-btn:hover {
  background: #1a3d5c;
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-toggle {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9em;
  color: #6b7280;
}
.auth-toggle a {
  color: #0ea5e9;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.auth-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6em;
  color: #9ca3af;
  text-decoration: none;
  line-height: 1;
}
.auth-close-btn:hover {
  color: #374151;
}
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.pagination-btn {
  padding: 6px 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.pagination-btn:hover:not(:disabled):not(.active) {
  background: #f0f4ff;
  border-color: #2563eb;
  color: #2563eb;
}
.pagination-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-info {
  margin-left: 12px;
  font-size: 13px;
  color: #667085;
}

.actions-cell {
  white-space: nowrap;
}
.action-btn {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 4px;
  transition: opacity 0.15s;
}
.action-btn:hover {
  opacity: 0.85;
}
.approve-btn {
  background: #059669;
  color: #fff;
}
.reject-btn {
  background: #dc2626;
  color: #fff;
}
.submit-btn {
  background: #2563eb;
  color: #fff;
}
.ship-btn {
  background: #7c3aed;
  color: #fff;
}
.receive-btn {
  background: #0891b2;
  color: #fff;
}
.status-badge.rejected {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.status-badge.pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.status-badge.in.progress, .status-badge.in-progress {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.status-badge.completed {
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
}

.alerts-bell-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding: 4px;
  vertical-align: middle;
}
.alerts-bell-btn:hover { opacity: 0.8; }
.alerts-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 8px;
  text-align: center;
  padding: 0 4px;
}
.alerts-panel {
  position: absolute;
  top: 36px;
  right: 0;
  width: 360px;
  max-height: 420px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  z-index: 9999;
  overflow: hidden;
}
.alerts-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #1e293b;
}
.alerts-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}
.alerts-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
}
.alerts-empty {
  text-align: center;
  color: #94a3b8;
  padding: 32px 16px;
  font-size: 14px;
}
.alert-item {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
}
.alert-item:last-child { border-bottom: none; }
.alert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.alert-icon.critical { background: #fef2f2; color: #dc2626; }
.alert-icon.warning { background: #fffbeb; color: #d97706; }
.alert-icon.info { background: #eff6ff; color: #2563eb; }
.alert-content { flex: 1; min-width: 0; }
.alert-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}
.alert-message {
  font-size: 12px;
  color: #64748b;
}
.alert-type-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  margin-top: 4px;
  display: inline-block;
}
.aging-kpi-strip {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.aging-kpi-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 16px;
  flex: 1;
  min-width: 160px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.aging-kpi-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.aging-kpi-chip-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.aging-kpi-chip-label {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.aging-kpi-chip-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
}
.aging-bucket-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 4px;
}
.aging-bucket-section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.aging-bucket-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F2A44;
  margin: 0;
}
.aging-bucket-section-sub {
  font-size: 0.8rem;
  color: #6b7280;
}
.aged-bucket-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aged-bucket-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  position: relative;
  overflow: hidden;
}
.aged-bucket-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  min-width: 8px;
}
.aged-bucket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.aged-bucket-label {
  font-weight: 600;
  font-size: 0.85em;
  color: #1e293b;
}
.aged-bucket-pct {
  font-weight: 700;
  font-size: 0.85em;
  color: #475569;
}
.aged-bucket-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.78em;
  color: #64748b;
}
@media (max-width: 700px) {
  .aging-kpi-strip { flex-direction: column; }
  .aging-kpi-chip { min-width: unset; }
}
.proc-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 10px;
}
.proc-tab-btn {
  padding: 8px 18px;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: #6b7280;
  transition: color 0.15s, border-color 0.15s;
}
.proc-tab-btn.active {
  color: #1a73e8;
  border-bottom-color: #1a73e8;
}
.proc-tab-btn:hover {
  color: #1a73e8;
}
.proc-tab-panel { }
.proc-top-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
}
.proc-top-item-row:last-child { border-bottom: none; }
.proc-top-item-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f4fd;
  color: #1a73e8;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proc-top-item-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proc-top-item-bar-wrap {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.proc-top-item-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1a73e8, #60a5fa);
}
.proc-top-item-stats {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.proc-top-item-stat {
  text-align: right;
  font-size: 0.78rem;
  line-height: 1.2;
}
.proc-top-item-stat strong {
  display: block;
  font-size: 0.82rem;
  color: #0F2A44;
}
.proc-top-item-stat small {
  color: #6b7280;
}
.vnd-hist-spend {
  font-weight: 700;
  text-align: right;
  font-family: 'Inter', monospace;
}
.vnd-hist-lifetime {
  color: #0F2A44;
  font-size: 0.95em;
}
.vnd-hist-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78em;
  font-weight: 600;
  white-space: nowrap;
}
.vnd-hist-active {
  background: #e6f9ed;
  color: #0d9e4f;
}
.vnd-hist-preferred {
  background: #e8f4fd;
  color: #1a73e8;
}
.vnd-hist-warning {
  background: #fff3e0;
  color: #e67e00;
}
.vnd-hist-inactive {
  background: #f3f4f6;
  color: #6b7280;
}
.inv-inline-editable {
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.inv-inline-editable:hover {
  background: #e8f4fd;
  border-radius: 4px;
}
.inv-inline-editable::after {
  content: "\270E";
  font-size: 0.7em;
  color: #94a3b8;
  margin-left: 4px;
  vertical-align: super;
  opacity: 0;
  transition: opacity 0.15s;
}
.inv-inline-editable:hover::after {
  opacity: 1;
}
.inv-inline-input {
  width: 90px;
  padding: 4px 6px;
  border: 2px solid #1a73e8;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  text-align: right;
  outline: none;
  background: #fff;
}
.inv-inline-saving {
  color: #1a73e8;
  font-size: 0.85em;
  font-style: italic;
}
.user-profile-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.9em;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
}
.user-profile-btn:hover {
  background: rgba(255,255,255,0.1);
}
.user-profile-panel {
  position: absolute;
  top: 36px;
  right: 0;
  width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  z-index: 9999;
  overflow: hidden;
}
.user-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: #f0f7ff;
  border-bottom: 1px solid #e5e7eb;
}
.user-profile-name {
  font-weight: 600;
  font-size: 0.95em;
  color: #1e293b;
}
.user-profile-details {
  padding: 12px 16px;
}
.user-profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.user-profile-row + .user-profile-row {
  border-top: 1px solid #f1f5f9;
}
.user-profile-label {
  font-size: 0.8em;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.user-profile-value {
  font-size: 0.85em;
  color: #334155;
  font-weight: 500;
}
.user-profile-value-badge {
  background: #0ea5e9;
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8em;
  font-weight: 600;
}
.user-profile-footer {
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.user-profile-logout {
  color: #ef4444;
  font-size: 0.85em;
  text-decoration: none;
  font-weight: 500;
}
.user-profile-logout:hover {
  text-decoration: underline;
}

/* ===== Executive Dashboard (ed-) Styles ===== */
.ed-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.75rem;
  border-radius: 10px;
}

.ed-kpi-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.ed-kpi-card {
  background: #fff;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #1a73e8;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ed-kpi-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ed-kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F2A44;
  line-height: 1.2;
}

.ed-kpi-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}

.ed-section {
  margin-bottom: 2rem;
}

.ed-section-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F2A44;
  padding: 0.6rem 0 0.6rem 0.75rem;
  border-left: 4px solid #38bdf8;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-section-icon {
  font-size: 1.1rem;
}

.ed-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ed-kpi-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ed-kpi-row-5 {
  grid-template-columns: repeat(5, 1fr);
}

.ed-mom-yoy-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ed-comparison-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  border-left: 3px solid #1a73e8;
}

.ed-comparison-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ed-comparison-pct {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.ed-comparison-sub {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
}

.ed-metric-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #1a73e8;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ed-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ed-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F2A44;
  line-height: 1.2;
}

.ed-metric-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.ed-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ed-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ed-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F2A44;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.ed-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 180px;
  padding: 0.5rem 0;
}

.ed-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.ed-bar-pair {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  justify-content: center;
}

.ed-bar {
  width: 18px;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  min-height: 4px;
}

.ed-bar-revenue {
  background: #1a73e8;
}

.ed-bar-expense {
  background: #dc3545;
}

.ed-bar-single {
  width: 28px;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  min-height: 4px;
}

.ed-bar-chart-single .ed-bar-group {
  justify-content: flex-end;
}

.ed-bar-label {
  font-size: 0.7rem;
  color: #6b7280;
  margin-top: 6px;
  font-weight: 500;
}

.ed-chart-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.ed-legend-item {
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ed-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ed-donut-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 0;
}

.ed-donut {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    #1a73e8 0% 35%,
    #0d9e4f 35% 57%,
    #e67e00 57% 75%,
    #7b1fa2 75% 90%,
    #dc3545 90% 100%
  );
  position: relative;
  flex-shrink: 0;
}

.ed-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F2A44;
}

.ed-donut-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ed-donut-item {
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ed-donut-pct {
  margin-left: auto;
  font-weight: 700;
  color: #0F2A44;
  min-width: 32px;
  text-align: right;
}

.ed-hbar-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ed-hbar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ed-hbar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ed-hbar-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
}

.ed-hbar-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F2A44;
}

.ed-hbar-track {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}

.ed-hbar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.ed-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.ed-mini-table thead th {
  text-align: left;
  font-weight: 600;
  color: #475569;
  padding: 8px 10px;
  border-bottom: 2px solid #e2e8f0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ed-mini-table tbody td {
  padding: 8px 10px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.ed-mini-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.ed-mini-table tbody tr:hover {
  background: #f1f5f9;
}

.ed-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.ed-status-critical {
  background: #fef2f2;
  color: #dc2626;
}

.ed-status-warning {
  background: #fffbeb;
  color: #d97706;
}

.ed-status-success {
  background: #f0fdf4;
  color: #059669;
}

.ed-status-info {
  background: #eff6ff;
  color: #2563eb;
}

@media (max-width: 1200px) {
  .ed-kpi-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .ed-kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-kpi-row, .ed-kpi-row-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ed-kpi-strip {
    grid-template-columns: 1fr;
  }
  .ed-kpi-row, .ed-kpi-row-3, .ed-kpi-row-5 {
    grid-template-columns: 1fr;
  }
  .ed-donut-wrap {
    flex-direction: column;
  }
}

/* ===== EXECUTIVE DASHBOARD V2 ===== */
#page-dashboard {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f0f2f5;
  padding: 0 !important;
}

.ed-hero {
  background: linear-gradient(135deg, #0F2A44 0%, #1a3a5c 50%, #0d4a6b 100%);
  border-radius: 0 0 20px 20px;
  padding: 2rem 2.5rem 1.8rem;
  margin: 0 0 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.ed-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.ed-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.ed-hero-title {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
}

.ed-hero-subtitle {
  color: #38bdf8;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ed-hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 6px 0 0;
  max-width: 480px;
}

.ed-hero-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ed-hero-date {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.ed-hero-updated {
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
}

/* KPI Cards Grid */
.ed-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 0 1.5rem;
  margin: -1rem 0 1.5rem;
  position: relative;
  z-index: 2;
}

.ed-kpi-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ed-kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }

.ed-kpi-card-v2 {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.ed-kpi-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.ed-kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-kpi-blue .ed-kpi-icon-wrap { background: #eff6ff; color: #2563eb; }
.ed-kpi-green .ed-kpi-icon-wrap { background: #ecfdf5; color: #059669; }
.ed-kpi-orange .ed-kpi-icon-wrap { background: #fff7ed; color: #d97706; }
.ed-kpi-purple .ed-kpi-icon-wrap { background: #f3e8ff; color: #7c3aed; }
.ed-kpi-cyan .ed-kpi-icon-wrap { background: #ecfeff; color: #0891b2; }
.ed-kpi-red .ed-kpi-icon-wrap { background: #fef2f2; color: #dc2626; }

.ed-kpi-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ed-kpi-label-v2 {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-kpi-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.ed-kpi-hint {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-top: 1px;
}

.ed-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 2px;
}

.ed-kpi-trend.trend-up {
  color: #059669;
}

.ed-kpi-trend.trend-down {
  color: #dc2626;
}

.ed-kpi-trend.trend-neutral {
  color: #6b7280;
}

/* Section Containers */
.ed-section-v2 {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.ed-section-title-bar {
  margin-bottom: 1rem;
}

.ed-section-title-v2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  letter-spacing: -0.2px;
}

/* Grid Layouts */
.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Cards V2 */
.ed-card-v2 {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}

.ed-card-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: #374151;
  margin: 0 0 1rem 0;
  letter-spacing: -0.1px;
}

/* Chart Containers */
.ed-chart-wrap {
  position: relative;
  height: 250px;
}

.ed-chart-donut-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: auto;
  min-height: 220px;
}

.ed-chart-donut-wrap canvas {
  max-width: 180px;
  max-height: 180px;
  flex-shrink: 0;
}

.ed-donut-legend-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.ed-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #4b5563;
}

.ed-donut-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ed-donut-legend-pct {
  margin-left: auto;
  font-weight: 600;
  color: #374151;
}

/* Comparison Cards */
.ed-comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
  height: 100%;
  justify-content: center;
}

.ed-comp-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid #2563eb;
}

.ed-comp-card:nth-child(2) {
  border-left-color: #059669;
}

.ed-comp-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 0.3rem;
}

.ed-comp-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  display: block;
  line-height: 1.2;
}

.ed-comp-sub {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
  margin-top: 3px;
}

.ed-comp-sub strong {
  color: #6b7280;
}

/* Horizontal Bar Lists V2 */
.ed-hbar-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ed-hbar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ed-hbar-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ed-hbar-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
}

.ed-hbar-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}

.ed-hbar-track {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
}

.ed-hbar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Tables V2 */
.ed-table-wrap {
  overflow-x: auto;
}

.ed-table-v2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
}

.ed-table-v2 thead th {
  background: #f9fafb;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.ed-table-v2 thead th:first-child { border-radius: 8px 0 0 0; }
.ed-table-v2 thead th:last-child { border-radius: 0 8px 0 0; }

.ed-table-v2 tbody td {
  padding: 0.6rem 0.75rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}

.ed-table-v2 tbody tr:last-child td { border-bottom: none; }

.ed-table-v2 tbody tr:hover td {
  background: #f9fafb;
}

/* Status Badges V2 */
.ed-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ed-badge-critical { background: #fef2f2; color: #dc2626; }
.ed-badge-warning { background: #fffbeb; color: #d97706; }
.ed-badge-success { background: #ecfdf5; color: #059669; }
.ed-badge-info { background: #eff6ff; color: #2563eb; }

/* Responsive */
@media (max-width: 1100px) {
  .ed-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .ed-kpi-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ed-kpi-grid, .ed-kpi-grid-4, .ed-kpi-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-grid-2 { grid-template-columns: 1fr; }
  .ed-hero { padding: 1.5rem; border-radius: 0 0 16px 16px; }
  .ed-hero-content { flex-direction: column; gap: 0.75rem; }
  .ed-hero-meta { text-align: left; flex-direction: row; gap: 1rem; }
  .ed-chart-donut-wrap { flex-direction: column; }
}

@media (max-width: 600px) {
  .ed-kpi-grid, .ed-kpi-grid-4, .ed-kpi-grid-3 {
    grid-template-columns: 1fr;
  }
  .ed-section-v2 { padding: 0 1rem; }
  .ed-hero { padding: 1.25rem; }
  .ed-hero-title { font-size: 1.3rem; }
}

.recon-container {
  padding: 20px;
}
.recon-upload-section {
  margin-bottom: 20px;
}
.recon-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.recon-btn:hover { transform: translateY(-1px); }
.recon-btn-primary { background: #6366f1; color: #fff; }
.recon-btn-primary:hover { background: #4f46e5; }
.recon-btn-success { background: #10b981; color: #fff; }
.recon-btn-success:hover { background: #059669; }
.recon-summary-cards {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.recon-card {
  background: #f4f6f9;
  padding: 15px;
  border-radius: 8px;
  width: 160px;
  text-align: center;
}
.recon-card h4 {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.recon-card p {
  font-size: 18px;
  font-weight: bold;
  margin: 8px 0 0 0;
}
.recon-card-matched p { color: green; }
.recon-card-unmatched p { color: red; }
.recon-card-variance p { color: red; }
.recon-card-pct p { color: #6366f1; }
.recon-table {
  width: 100%;
  border-collapse: collapse;
}
.recon-table th,
.recon-table td {
  border: 1px solid #ddd;
  padding: 8px;
}
.recon-table thead th {
  background: #f4f6f9;
  text-align: left;
  font-weight: 600;
  color: #555;
  font-size: 0.85rem;
}
.recon-table tbody td {
  color: #334155;
  font-size: 0.88rem;
}
.recon-table tbody tr:hover {
  background: #f9fafb;
}
.status-matched {
  color: green;
  font-weight: bold;
}
.status-unmatched {
  color: red;
  font-weight: bold;
}
@media (max-width: 900px) {
  .recon-summary-cards { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .recon-summary-cards { flex-wrap: wrap; }
  .recon-card { width: calc(50% - 8px); }
}