/* ==========================================================================
   SYNAPSE PORTAL & MOBILE HUB — LIVE PRODUCT SIMULATION STYLES
   Exact Enterprise Mirror of Blazor Server App & Flutter Mobile Hub
   ========================================================================== */

.portal-demo-wrapper {
  margin: 3.5rem auto 0;
  max-width: 1240px;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 50px rgba(0, 229, 255, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Chrome Window Header */
.portal-window-header {
  height: 48px;
  background: #0e121b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  user-select: none;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.sap-sync-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  color: #10b981;
  font-size: 0.6875rem;
  font-weight: 500;
}

.sync-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.device-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-btn {
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.device-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-contrast);
}

/* Main Portal App Layout */
.portal-app-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 680px;
  background: #090c12;
}

/* Portal App Sidebar */
.portal-sidebar {
  background: #0c0f17;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-org-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.org-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.org-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00e5ff, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 0.6875rem;
}

.org-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-contrast);
  line-height: 1.2;
}

.org-system {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.portal-nav-group {
  margin-bottom: 1.25rem;
}

.portal-group-label {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 0.75rem 0.5rem;
}

.portal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portal-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.portal-nav-item.active {
  background: rgba(0, 229, 255, 0.09);
  color: var(--cyan-primary);
  font-weight: 600;
}

.portal-nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.portal-nav-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.portal-nav-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.portal-nav-badge.alert {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.portal-sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan-primary);
}

.user-meta {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-contrast);
}

.user-role {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Portal Main Content Area */
.portal-content-main {
  display: flex;
  flex-direction: column;
  background: #090c12;
  overflow: hidden;
}

/* Portal Top Bar */
.portal-topbar {
  height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  width: 320px;
  cursor: pointer;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-portal-action {
  padding: 0.35rem 0.75rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  color: var(--cyan-primary);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.btn-portal-action:hover {
  background: rgba(0, 229, 255, 0.2);
}

/* Portal Views Container */
.portal-view-container {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.portal-view-panel {
  display: none;
  animation: fadeIn 0.2s ease-out;
}

.portal-view-panel.active {
  display: block;
}

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

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.view-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-contrast);
}

.view-title-wrap p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.view-meta-badges {
  display: flex;
  gap: 0.5rem;
}

/* Metric KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card {
  background: #0f131d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.125rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.kpi-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.kpi-sap-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-contrast);
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.kpi-trend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
}

.kpi-trend.positive { color: #10b981; }
.kpi-trend.neutral { color: var(--text-muted); }
.kpi-trend.warning { color: #f59e0b; }
.kpi-trend.danger { color: #ef4444; }

/* ==========================================================================
   PANOPTICON GRID (Approvals Nexus) SPECIFIC STYLES
   ========================================================================== */

.panopticon-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
}

.panopticon-sidebar {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panopticon-filter-group label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.panopticon-select, .panopticon-input {
  width: 100%;
  background: #080b11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-primary);
  outline: none;
}

.panopticon-select:focus, .panopticon-input:focus {
  border-color: var(--cyan-primary);
}

.panopticon-item-expandable {
  background: #0e131e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.panopticon-item-expandable.expanded {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.panopticon-item-expandable.breached {
  border-left: 3px solid #ef4444;
}

.panopticon-header-row {
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 30px 90px 140px 160px 120px 110px 1fr;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.panopticon-header-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.panopticon-deep-dive {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090c13;
  padding: 1rem 1.25rem;
}

.panopticon-item-expandable.expanded .panopticon-deep-dive {
  display: block;
}

.deep-dive-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.dd-tab-btn {
  padding: 4px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dd-tab-btn.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan-primary);
  font-weight: 600;
}

.dd-tab-content {
  display: none;
}

.dd-tab-content.active {
  display: block;
  animation: fadeIn 0.15s ease-out;
}

/* Stepper inside Panopticon Journey */
.nexus-stepper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  overflow-x: auto;
}

.nexus-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}

.nexus-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.nexus-step.completed .nexus-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #000;
}

.nexus-step.active .nexus-step-circle {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-primary);
}

.nexus-step.pending .nexus-step-circle {
  background: transparent;
}

.nexus-step-info {
  display: flex;
  flex-direction: column;
}

.nexus-step-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nexus-step-actor {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Execution Radar Box */
.radar-box {
  background: #06090e;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==========================================================================
   TREASURY FIORI-NEO VENDOR PAYMENT VIEW
   ========================================================================== */

.treasury-fiori-view {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
}

.vendor-360-card {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.v360-stat {
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.v360-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.v360-stat-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

.payment-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.payment-matrix-table th {
  padding: 0.65rem 0.85rem;
  background: #0c1017;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-matrix-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.payment-totals-bar {
  background: linear-gradient(135deg, #0b101a, #131a29);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   PRINT TEMPLATE STUDIO ("AutoCAD Edition") VIEW
   ========================================================================== */

.cad-studio-container {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 1rem;
  background: #080b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  min-height: 520px;
}

.cad-canvas-preview {
  background: #ffffff;
  color: #1e293b;
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  overflow-y: auto;
  position: relative;
}

.cad-canvas-header {
  border-bottom: 2px solid #0f62fe;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cad-placeholder-tag {
  background: rgba(15, 98, 254, 0.1);
  border: 1px dashed #0f62fe;
  color: #0f62fe;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE HUB SMART ERP EMULATOR (Flutter)
   ========================================================================== */

.mobile-hub-emulator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.phone-mockup-frame {
  width: 360px;
  height: 640px;
  background: #0c0f17;
  border: 8px solid #1e293b;
  border-radius: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 255, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-camera-notch {
  width: 120px;
  height: 18px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.phone-screen-content {
  flex: 1;
  background: #f4f6f9;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-top: 24px;
}

.phone-appbar {
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.875rem;
}

.signature-drawing-pad {
  width: 100%;
  height: 180px;
  background: #ffffff;
  border: 2px dashed #0284c7;
  border-radius: 8px;
  position: relative;
  touch-action: none;
  cursor: crosshair;
}

.signature-canvas-element {
  width: 100%;
  height: 100%;
}

.omni-scanner-viewfinder {
  height: 220px;
  background: #020617;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scanner-laser-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
  animation: scanLaser 2s infinite ease-in-out;
}

@keyframes scanLaser {
  0%, 100% { top: 15%; opacity: 0.4; }
  50% { top: 85%; opacity: 1; }
}

/* ==========================================================================
   CROSS-PLATFORM JOURNEY (Web + Mobile Flow)
   ========================================================================== */

.cross-journey-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.journey-step-pill {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 0.75rem;
}

.journey-step-pill.active {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .panopticon-layout, .treasury-fiori-view, .cad-studio-container, .cross-journey-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal-app-body {
    grid-template-columns: 1fr !important;
  }
  .portal-sidebar {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.75rem !important;
  }
  .portal-nav-list {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch;
  }
  .portal-nav-item {
    white-space: nowrap !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
  .sidebar-user, .sidebar-org-select {
    display: none !important;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .panopticon-layout, .treasury-fiori-view, .cad-studio-container {
    grid-template-columns: 1fr !important;
  }
  .payment-totals-bar {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }
  .panopticon-header-row {
    grid-template-columns: 20px 1fr 1fr !important;
    font-size: 0.75rem !important;
    gap: 0.5rem !important;
  }
  .panopticon-header-row > div:nth-child(4),
  .panopticon-header-row > div:nth-child(5),
  .panopticon-header-row > div:nth-child(6) {
    display: none !important;
  }
  .window-title-bar span:first-child {
    display: none !important;
  }
  .portal-window-header {
    padding: 0 0.75rem !important;
  }
  .phone-mockup-frame {
    max-width: 100% !important;
    height: 560px !important;
    border-radius: 20px !important;
  }
  .deep-dive-tabs {
    overflow-x: auto !important;
    white-space: nowrap !important;
    display: flex !important;
    gap: 0.35rem !important;
    -webkit-overflow-scrolling: touch;
  }
  .dd-tab-btn {
    padding: 6px 10px !important;
    font-size: 0.6875rem !important;
  }
  .topbar-actions {
    display: none !important;
  }
}

/* ==========================================================================
   EXECUTIVE PERSPECTIVE SELECTOR STYLES
   ========================================================================== */
.exec-matrix-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.exec-tab-btn {
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exec-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-contrast);
}

.exec-tab-btn.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.exec-persona-card {
  display: none;
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  animation: fadeIn 0.3s ease;
}

.exec-persona-card.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .exec-persona-card.active {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARCHITECTURAL COMPARISON MATRIX STYLES
   ========================================================================== */
.arch-matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #090c13;
}

.arch-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.arch-matrix-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch-matrix-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  line-height: 1.6;
}

.arch-col-synapse {
  background: rgba(0, 229, 255, 0.03);
  border-left: 1px solid rgba(0, 229, 255, 0.15);
  border-right: 1px solid rgba(0, 229, 255, 0.15);
}

.arch-col-synapse th {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan-primary);
}

.arch-tag-pro {
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.arch-tag-con {
  color: #ef4444;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

