/* ==========================================================================
   PCCC ALL-IN-ONE ENGINEERING STUDIO PRO - LUXURY CYBER-DAW STYLESHEET
   Design Language: Cyber-Industrial Glassmorphism, Neon Accents, Inter & JetBrains Mono
   ========================================================================== */

:root {
  /* 1. Typography Lock */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* 2. 7-Step Type Scale (Chuẩn chẵn tuyệt đối) */
  --text-2xs: 10px;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 20px;

  /* 3. Bảng màu Nền Slate Theme */
  --bg-app: #070a0f;
  --bg-main: #0b0f17;
  --bg-surface: #0f172a;
  --bg-surface-glass: rgba(15, 23, 42, 0.95);
  --bg-card: #111827;
  --bg-card-hover: #1e293b;
  --bg-input: #090d16;
  --bg-table-header: rgba(15, 23, 42, 0.95);
  --bg-row-hover: rgba(56, 189, 248, 0.04);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-focus: #38bdf8;

  /* 4. Typography Sắc Nét */
  --text-heading: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* 5. Màu Ngữ Nghĩa & Trạng Thái Kỹ Thuật */
  --accent-sky: #38bdf8;
  --accent-sky-glow: rgba(56, 189, 248, 0.18);
  --accent-cyan: #0ea5e9;
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --cyan: #0ea5e9;
  --cyan-glow: rgba(14, 165, 233, 0.15);
  --blue: #0ea5e9;
  --blue-glow: rgba(14, 165, 233, 0.15);

  --state-success: #10b981;
  --state-success-text: #34d399;
  --state-success-bg: rgba(16, 185, 129, 0.10);
  --state-success-glow: rgba(16, 185, 129, 0.20);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  --state-input: #f59e0b;
  --state-input-text: #f8fafc; /* Trắng dịu, CẤM màu vàng chói */
  --state-legal: #fbbf24;
  --state-legal-bg: rgba(245, 158, 11, 0.08);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.15);

  --purple: #94a3b8;
  --purple-glow: rgba(148, 163, 184, 0.15);

  --state-danger: #ef4444;
  --state-danger-text: #f87171;
  --state-danger-bg: rgba(239, 68, 68, 0.12);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.15);

  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-glow-cyan: 0 0 16px rgba(14, 165, 233, 0.2);
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --radius-full: 9999px;
  --transition: all 0.2s ease-in-out;
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.95);
  --bg-card: #ffffff;
  --bg-input: #f1f5f9;
  --border-color: rgba(15, 23, 42, 0.12);
  --border-focus: #0284c7;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 10%, rgba(6, 182, 212, 0.08) 0px, transparent 45%),
    radial-gradient(at 90% 15%, rgba(59, 130, 246, 0.07) 0px, transparent 50%),
    radial-gradient(at 80% 85%, rgba(16, 185, 129, 0.06) 0px, transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   HEADER / TOP NAVIGATION BAR (ZEN COMPACT)
   ========================================== */
/* ==========================================
   HEADER / TOP NAVIGATION BAR (FLAT INDUSTRIAL TOOLBAR)
   ========================================== */
.app-header {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Flat Logo */
.logo-flat {
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.logo-flat-symbol {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.logo-flat-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-flat-badge {
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}

.header-status-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 3px;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.status-mini-text {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.5px;
}

/* Center: View Switcher (Flat Segmented Tabs) */
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-flat-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.4px;
}

.nav-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.12);
}

.nav-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #0ea5e9;
  border-radius: 1px;
}

.nav-tab-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* Right Toolbar Buttons (Flat Clean) */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-flat {
  padding: 5px 11px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-flat:hover {
  background: #334155;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-flat-accent {
  padding: 5px 12px;
  background: #0ea5e9;
  border: 1px solid #0ea5e9;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-flat-accent:hover {
  background: #38bdf8;
  border-color: #38bdf8;
}

.btn-flat-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-flat-icon:hover {
  background: #334155;
  color: #ffffff;
}

.btn-flat-danger {
  padding: 5px 11px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-flat-danger:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* ==========================================
   VIEW CONTAINER SWITCHER
   ========================================== */
.view-container {
  display: none !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-container.active {
  display: block !important;
  opacity: 1;
  animation: fadeInView 0.35s ease-out;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   JAPANESE ZEN MINIMALIST SINGLE-SCREEN HUB (ZERO SCROLL & RESPONSIVE)
   Phục vụ đánh giá và kế hoạch nâng cấp giao diện theo Plan 1.md
   ============================================================== */
.view-container.active.zen-hub-screen {
  flex: 1 !important;
  height: calc(100vh - 48px) !important;
  height: calc(100dvh - 48px) !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 8px 18px 8px !important;
  box-sizing: border-box !important;
  gap: 8px !important;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.05) 0%, transparent 60%),
              var(--bg-main) !important;
}

#warehouseWorkspaceView.active {
  display: block !important;
  flex: 1;
  height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
}

/* Zen Top Strip: Thanh tiêu đề tinh tế, phân cấp rõ ràng và công cụ lọc */
.zen-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.zen-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.zen-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zen-hub-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
}

.zen-highlight {
  color: var(--cyan);
}

.zen-badge-pill {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 9999px;
  color: var(--cyan);
  white-space: nowrap;
}

.zen-badge-count {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.zen-standards-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  flex-wrap: wrap;
}

.zen-std-prefix {
  color: #94a3b8;
  font-size: var(--text-xs);
  font-weight: 600;
}

[data-theme="light"] .zen-std-prefix {
  color: #64748b;
}

.zen-std-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #f1f5f9;
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: help;
  transition: var(--transition);
}

[data-theme="light"] .zen-std-tag {
  color: #0f172a;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
}

.zen-std-tag:hover {
  border-color: var(--cyan);
  color: #38bdf8;
}

.zen-dot-divider {
  color: #64748b;
}

.zen-sub-meta {
  color: #cbd5e1;
  font-size: var(--text-xs);
  font-weight: 500;
}

[data-theme="light"] .zen-sub-meta {
  color: #475569;
}

/* Zen Controls Group */
.zen-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zen-filter-tabs {
  display: flex;
  background: var(--bg-card);
  padding: 2px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  gap: 2px;
}

.zen-filter-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

[data-theme="light"] .zen-filter-btn {
  color: #475569;
}

.zen-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .zen-filter-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}

.zen-filter-btn.active {
  background: #0ea5e9;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.zen-search-box {
  display: flex;
  align-items: center;
  position: relative;
  width: 270px;
}

.zen-search-icon {
  position: absolute;
  left: 9px;
  font-size: 12px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.zen-search-box input {
  width: 100%;
  padding: 6px 48px 6px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.zen-search-box input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.25);
}

.zen-search-clear {
  position: absolute;
  right: 48px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.zen-search-clear:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.zen-search-kbd {
  position: absolute;
  right: 7px;
  font-size: 10px;
  font-family: var(--font-mono);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 1px 5px;
  border-radius: 3px;
  color: #cbd5e1;
  pointer-events: none;
}

/* Zen Matrix Container */
.zen-matrix-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.zen-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

/* Zen Module Card */
.zen-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  outline: none;
}

[data-theme="light"] .zen-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.zen-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Active Flagship Card (M01) */
.zen-card-active {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, var(--bg-card) 60%);
  cursor: pointer;
}

[data-theme="light"] .zen-card-active {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, #ffffff 60%);
  border-color: rgba(14, 165, 233, 0.5);
}

.zen-card-active:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.35);
}

/* Roadmap Cards (M02 - M06) */
.zen-card-roadmap {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 0.92;
}

.zen-card-roadmap:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .zen-card-roadmap:hover {
  border-color: rgba(15, 23, 42, 0.25);
}

/* Card Header */
.zen-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zen-status-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-active {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .badge-active {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.4);
}

.badge-roadmap {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

[data-theme="light"] .badge-roadmap {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.35);
}

.badge-planning {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

[data-theme="light"] .badge-planning {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
  border-color: rgba(100, 116, 139, 0.25);
}

.badge-enterprise {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

[data-theme="light"] .badge-enterprise {
  background: rgba(147, 51, 234, 0.1);
  color: #7e22ce;
  border-color: rgba(147, 51, 234, 0.25);
}

.zen-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.6);
  animation: pulseDot 2s infinite;
}

.zen-status-dot-amber {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.zen-status-dot-slate {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
}

.zen-status-dot-purple {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a855f7;
}

.zen-card-code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #cbd5e1;
}

[data-theme="light"] .zen-card-code {
  color: #64748b;
}

/* Card Main */
.zen-card-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zen-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: var(--font-mono);
  background: #0c1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  flex-shrink: 0;
}

[data-theme="light"] .zen-icon-box {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0284c7;
}

.zen-title-wrap {
  min-width: 0;
}

.zen-card-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zen-card-subname {
  font-size: 11px;
  color: #cbd5e1;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .zen-card-subname {
  color: #475569;
}

.zen-card-desc {
  font-size: var(--text-sm);
  line-height: 1.45;
  color: #e2e8f0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme="light"] .zen-card-desc {
  color: #334155;
}

/* Card Footer */
.zen-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .zen-card-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.zen-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.zen-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: #cbd5e1;
  cursor: help;
  transition: var(--transition);
}

[data-theme="light"] .zen-chip {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

.zen-chip:hover {
  border-color: var(--cyan);
  color: #38bdf8;
}

.zen-card-action-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-avail-status {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

[data-theme="light"] .zen-avail-status {
  color: #64748b;
}

.zen-btn-launch {
  padding: 5px 12px;
  background: #0ea5e9;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 6px rgba(14, 165, 233, 0.35);
  white-space: nowrap;
}

.zen-btn-launch:hover {
  background: #0284c7;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.5);
}

.zen-btn-scope {
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #cbd5e1;
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

[data-theme="light"] .zen-btn-scope {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #334155;
}

.zen-btn-scope:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .zen-btn-scope:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Tooltip System CSS (Zero JS Overhead, Fast, Accessible) */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 9px;
  border-radius: 5px;
  font-size: var(--text-xs);
  font-weight: 500;
  font-family: var(--font-sans);
  white-space: normal;
  width: max-content;
  max-width: 250px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1000;
  line-height: 1.35;
  text-align: center;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Empty State khi tìm kiếm không ra kết quả */
.zen-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(17, 24, 39, 0.4);
  gap: 10px;
  margin: auto;
  width: 100%;
  max-width: 480px;
}

[data-theme="light"] .zen-empty-state {
  background: rgba(241, 245, 249, 0.6);
  border-color: rgba(15, 23, 42, 0.18);
}

.zen-empty-icon {
  font-size: 28px;
  color: #94a3b8;
}

.zen-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.zen-empty-desc {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
  max-width: 380px;
}

[data-theme="light"] .zen-empty-desc {
  color: #64748b;
}

.btn-zen-reset {
  margin-top: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-zen-reset:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--cyan);
}

/* Disclaimer Footer */
.zen-hub-disclaimer {
  flex-shrink: 0;
  padding: 6px 14px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

[data-theme="light"] .zen-hub-disclaimer {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
}

.zen-disclaimer-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-disclaimer-icon {
  font-size: 13px;
  flex-shrink: 0;
}

.zen-disclaimer-text {
  font-size: var(--text-xs);
  color: #94a3b8;
  line-height: 1.35;
}

[data-theme="light"] .zen-disclaimer-text {
  color: #64748b;
}

/* Modal Chi Tiết Phạm Vi (Scope Modal) */
.zen-modal-scope-dialog {
  width: 520px !important;
  max-width: 92vw !important;
  text-align: left !important;
  padding: 20px 22px !important;
}

.scope-modal-header {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 14px !important;
  position: relative;
}

.zen-modal-icon-scope {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scope-header-text {
  flex: 1;
  margin-left: 10px;
}

.scope-header-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.zen-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.zen-modal-close:hover {
  color: #ffffff;
}

.zen-modal-body-scope {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.scope-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  font-size: var(--text-sm);
  color: #fbbf24;
  line-height: 1.4;
}

[data-theme="light"] .scope-alert-banner {
  background: rgba(245, 158, 11, 0.08);
  color: #b45309;
}

.scope-alert-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.scope-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

[data-theme="light"] .scope-section-title {
  color: #0284c7;
}

.scope-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
}

[data-theme="light"] .scope-list {
  color: #334155;
}

.scope-list li {
  margin-bottom: 4px;
}

.scope-disclaimer-note {
  font-size: var(--text-xs);
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

[data-theme="light"] .scope-disclaimer-note {
  color: #64748b;
}

/* ==============================================================
   RESPONSIVE DESIGN CHO DASHBOARD & MATRIX THEO PLAN 1
   ============================================================== */
@media (max-width: 1240px) {
  .zen-modules-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .view-container.active.zen-hub-screen {
    overflow-y: auto !important;
  }
}

@media (max-width: 768px) {
  .zen-top-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .zen-controls-group {
    flex-direction: column;
    align-items: stretch;
  }
  .zen-search-box {
    width: 100%;
  }
  .zen-modules-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (max-height: 720px) {
  .view-container.active.zen-hub-screen {
    overflow-y: auto !important;
  }
}

/* Nút Thoát Ứng Dụng trên Header */
.btn-quit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #f87171;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quit:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}

.btn-quit-icon {
  font-size: 12px;
}

/* Modal Thoát Ứng Dụng (Zen Minimalist Dialog) */
.zen-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeInModal 0.2s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.zen-modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 22px 26px;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.zen-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.zen-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.zen-modal-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.zen-modal-body {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.zen-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-zen-cancel {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-zen-cancel:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

.btn-zen-danger {
  padding: 7px 16px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.btn-zen-danger:hover {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  transform: translateY(-1px);
}

/* ==========================================
   WORKSPACE: KHO GIÁ KỆ CAO TẦNG
   ========================================== */
/* ==========================================
   WORKSPACE SUBSTRIP (MINIMAL BREADCRUMB & TITLE)
   ========================================== */
.workspace-substrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.substrip-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-substrip-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #cbd5e1;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-substrip-back:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: #38bdf8;
}

.back-arrow {
  font-size: 13px;
}

.substrip-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.substrip-project-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.substrip-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #94a3b8;
}

.substrip-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* KPI Banner - Giao diện màn hình đo kiểm phòng Lab */
.kpi-banner {
  max-width: 1440px;
  margin: 0 auto 16px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi-card {
  background: #151d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.kpi-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
}

.kpi-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.kpi-icon-badge {
  font-size: 14px;
  opacity: 0.7;
}

.kpi-value-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.kpi-number {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
  color: #ffffff !important; /* Trắng tinh 100% sắc nét */
}

.kpi-unit {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8; /* Xanh kỹ thuật đơn sắc */
}

.highlight-cyan .kpi-number,
.highlight-blue .kpi-number,
.highlight-emerald .kpi-number,
.highlight-amber .kpi-number {
  color: #ffffff !important;
}

.kpi-meter-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  margin-bottom: 6px;
  overflow: hidden;
}

.kpi-meter-fill {
  height: 100%;
  background: #0ea5e9 !important;
  box-shadow: none !important;
}

.kpi-sub {
  font-size: 11px;
  color: #94a3b8;
}

/* Split Workspace Grid */
.workspace-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}

.left-panel, .right-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modern Underline Tabs */
.nav-tabs {
  display: flex;
  gap: 2px;
  background: #0f172a;
  padding: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 9px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #cbd5e1;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid #0ea5e9;
  box-shadow: none;
}

.tab-btn .step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-right: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.tab-btn:hover .step-num-badge {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.tab-btn.active .step-num-badge {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #38bdf8;
}

.step-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
  font-family: var(--font-mono);
  vertical-align: middle;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Wizard Navigation Footer */
.wizard-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.wizard-step-info {
  color: #94a3b8;
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-mono);
}

.btn-wizard-prev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-wizard-prev:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.btn-wizard-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 6px;
  background: #0ea5e9;
  color: #ffffff;
  border: 1px solid #38bdf8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
  margin-left: auto;
}

.btn-wizard-next:hover {
  background: #0284c7;
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
  transform: translateX(2px);
}

.btn-wizard-finish {
  background: #10b981 !important;
  border-color: #34d399 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
}

.btn-wizard-finish:hover {
  background: #059669 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.tab-emoji {
  display: none; /* Ẩn emoji hoạt họa để giao diện chuẩn mực, nghiêm cẩn */
}

.tab-content-wrapper {
  background: #151d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.pane-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
}

.pane-badge {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #0c1220;
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-row label, .form-group > label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #f1f5f9;
}

.val-display {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
}

.input-with-badge {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-badge input {
  width: 100%;
  padding: 9px 48px 9px 12px;
  background: #0c1220;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: var(--text-base);
  font-family: var(--font-mono);
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}

.input-with-badge input:focus, select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.25);
}

.unit-badge {
  position: absolute;
  right: 10px;
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  color: #cbd5e1;
  pointer-events: none;
}

select {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

/* Range Sliders */
.synced-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: var(--bg-input);
  border-radius: 9999px;
  outline: none;
  margin-top: 4px;
}

.synced-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 8px var(--cyan);
  transition: transform 0.15s ease;
}

.synced-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.field-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
}

.callout-icon { font-size: 18px; line-height: 1; }
.callout-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* Action Toolbar */
.action-toolbar {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.btn-action {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
}

.btn-calculate {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.btn-calculate:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-excel {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
}

.btn-excel:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
}

/* Right Panel Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: var(--bg-surface-glass);
  border-bottom: 1px solid var(--border-color);
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--text-primary);
}

.badge-tag {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan);
}

.svg-controls {
  display: flex;
  gap: 6px;
}

.btn-tool {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-tool.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.diagram-viewport {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
}

.diagram-viewport.blueprint-mode {
  background-color: #0b1a30;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Citations & Standards Inspector */
.standard-tabs {
  display: flex;
  gap: 4px;
}

.std-tab {
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.std-tab.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.citation-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.citation-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.citation-item.highlight-active {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 14px var(--cyan-glow);
}

.cit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cit-header strong {
  font-size: 12px;
  color: #38bdf8;
}

.cit-tag {
  font-size: var(--text-2xs);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}
.tag-mandatory { background: rgba(239, 68, 68, 0.18); color: #f87171; }
.tag-technical { background: rgba(6, 182, 212, 0.18); color: #38bdf8; }
.tag-legal { background: rgba(16, 185, 129, 0.18); color: #34d399; }

.citation-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.citation-item code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #f59e0b;
}

/* Warnings Banner */
.warning-banner {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  color: #fcd34d;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.warning-banner.hidden { display: none; }

/* ==========================================
   MODAL DIALOG (COMPANY SETTINGS)
   ========================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-backdrop.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 620px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-glass);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon { font-size: 22px; }
.modal-title { font-size: var(--text-lg); font-weight: 800; color: var(--text-primary); }
.modal-subtitle { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }

.btn-close-modal {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.btn-close-modal:hover { color: var(--red); }

.modal-body {
  padding: 26px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 26px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface-glass);
}

.license-key-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: var(--bg-input);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.key-status {
  font-size: 11px;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: 0.5px;
}

.key-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  border: 1px solid #0ea5e9;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-base);
  font-weight: 700;
  z-index: 2000;
  animation: slideToast 0.3s ease;
}

.toast.hidden { display: none; }

@keyframes slideToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================
   LIVE HYDRAULIC FLOW BREAKDOWN BAR
   ========================================== */
.flow-breakdown-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.flow-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.flow-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.flow-panel-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
}

.flow-total-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.flow-segmented-bar {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.flow-segment {
  height: 100%;
  transition: width 0.3s ease;
  position: relative;
}

.seg-ceiling {
  background: #0284c7;
}

.seg-inrack {
  background: #0ea5e9;
}

.seg-hydrant {
  background: #38bdf8;
}

.seg-drencher {
  background: #7dd3fc;
}

.flow-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: var(--text-sm);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg-color-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.seg-ceiling-bg { background: #0284c7; }
.seg-inrack-bg { background: #0ea5e9; }
.seg-hydrant-bg { background: #38bdf8; }
.seg-drencher-bg { background: #7dd3fc; }

.leg-name {
  color: #cbd5e1;
  font-weight: 600;
}

.leg-val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 700;
}

.leg-pct {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 11px;
}

/* ==========================================
   QUICK SCENARIO PRESETS TOOLBAR
   ========================================== */
.presets-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: #111827;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.presets-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.presets-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  background: #151d2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.preset-chip:hover {
  background: #1c263c;
  border-color: #0ea5e9;
  color: #ffffff;
}

.preset-chip.active {
  background: #0ea5e9;
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 1px 6px rgba(14, 165, 233, 0.35);
}

/* View switch group */
.view-switch-group {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.view-switch-group .btn-tool {
  border: none;
  background: transparent;
  padding: 5px 11px;
  font-size: var(--text-sm);
  border-radius: 4px;
}

.view-switch-group .btn-tool.active {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* ==========================================
   LIVE CALCULATION SHEET (TAB 6)
   ========================================== */
.calc-sheet-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.calc-step-card {
  display: flex;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.calc-step-card:hover {
  border-color: var(--border-focus);
  background: rgba(15, 23, 42, 0.7);
}

.calc-step-card.highlight-step {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(37, 99, 235, 0.12));
  border-color: rgba(6, 182, 212, 0.4);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--cyan);
  opacity: 0.85;
  min-width: 24px;
}

.step-content {
  flex: 1;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-primary);
}

.step-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

.step-formula {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #f8fafc;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--cyan);
  margin: 6px 0;
  line-height: 1.6;
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ==========================================
   COMPLIANCE AUDIT RADAR CARD
   ========================================== */
.compliance-audit-card {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.badge-audit-pass {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid var(--emerald);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.compliance-kcs-text {
  font-size: var(--text-sm);
  color: #cbd5e1;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.audit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: var(--transition);
}

.audit-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: #151d2e;
}

.audit-icon-wrap.pass {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #34d399;
  flex-shrink: 0;
}

.audit-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #cbd5e1;
  display: block;
}

.audit-val.pass-text {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  font-family: var(--font-mono);
  display: block;
  margin: 1px 0;
}

.audit-rule {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================== */
@media (max-width: 1100px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 30px;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================================================
   HUB HERO BANNER & ABOUT PAGE STYLES (CLAUDE FOR STARTUPS)
   ============================================================== */
.hub-hero-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 12px 18px 16px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.hub-hero-title {
  font-size: 19px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}
.hub-hero-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 14px 0;
  max-width: 900px;
}
.hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.8);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #ffffff;
}

/* ABOUT PAGE FULL CONTAINER */
.about-page-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 40px 0;
}
.about-hero-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.75) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.about-hero-card::before {
  content: \'\';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.about-badge-tech {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
}
.about-badge-sub {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}
.about-main-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.25;
}
.gradient-text {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-lead-text {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 20px 0;
  max-width: 960px;
}
.about-lead-text strong {
  color: #38bdf8;
}
.about-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-about-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.5);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-about-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.5);
}
.btn-about-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.85);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-about-secondary:hover {
  background: rgba(56, 189, 248, 0.18);
  color: #fff;
  transform: translateY(-2px);
}
.btn-about-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-about-outline:hover {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.35);
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-val {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #38bdf8;
}
.metric-lbl {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* SECTION GRIDS */
.about-section-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.about-info-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
}
.box-problem {
  border-left: 4px solid #ef4444;
}
.box-solution {
  border-left: 4px solid #10b981;
}
.box-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.box-icon {
  font-size: 20px;
}
.box-icon-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.about-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-check-list li {
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  position: relative;
  padding-left: 18px;
}
.list-danger li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}
.list-success li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* 3 PILLARS */
.about-section-block {
  margin-bottom: 36px;
}
.section-title-wrap {
  margin-bottom: 20px;
}
.section-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 6px 0;
}
.section-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  transition: all 0.25s ease;
}
.pillar-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.pillar-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 20px;
  font-family: var(--font-mono);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
}
.pillar-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
.pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.pillar-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 16px 0;
}
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pillar-tags span {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: #cbd5e1;
}

/* CLAUDE AI BLOCK */
.claude-ai-block {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.claude-badge-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.claude-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #818cf8;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
}
.claude-model {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 20px;
}
.claude-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}
.claude-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0 0 20px 0;
  max-width: 880px;
}
.claude-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.claude-feature-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 10px;
  padding: 18px;
}
.cf-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.claude-feature-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px 0;
}
.claude-feature-box p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

/* ROADMAP ABOUT */
.roadmap-grid-about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.roadmap-card-about {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px;
}
.roadmap-card-about.card-active {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.04);
}
.rc-badge {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.active-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.dev-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.plan-tag {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}
.roadmap-card-about h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px 0;
}
.roadmap-card-about p {
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

/* ABOUT FOOTER */
.about-company-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}
.acf-brand .logo-flat {
  font-size: 18px;
  margin-bottom: 8px;
}
.acf-tagline {
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  margin: 0 0 4px 0;
}
.acf-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.acf-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px 0;
}
.acf-contact p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 4px 0;
}
.acf-link {
  color: #38bdf8;
  text-decoration: none;
}
.acf-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-section-grid-2,
  .about-pillars-grid,
  .claude-features-grid,
  .roadmap-grid-about,
  .about-company-footer {
    grid-template-columns: 1fr;
  }
}

