/* CSS Variables & Theme Configuration (Clean White Mode) */
    :root {
      --primary: #2563eb;
      --primary-hover: #1d4ed8;
      --primary-light: rgba(37, 99, 235, 0.08);
      --accent: #7c3aed;
      --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
      --emerald: #059669;
      --emerald-light: rgba(5, 150, 105, 0.08);
      --amber: #d97706;
      --amber-light: rgba(217, 119, 6, 0.08);
      --rose: #e11d48;
      --rose-light: rgba(225, 29, 72, 0.08);
      --indigo: #4f46e5;
      
      /* Pure White & Clean Slate Tokens */
      --bg-body: #f8fafc;
      --bg-surface: #ffffff;
      --bg-surface-elevated: #f1f5f9;
      --bg-card: #ffffff;
      --bg-card-hover: #f8fafc;
      --border-subtle: #e2e8f0;
      --border-focus: rgba(37, 99, 235, 0.4);
      --text-main: #0f172a;
      --text-muted: #334155;
      --text-subtle: #64748b;
      --header-bg: rgba(255, 255, 255, 0.94);
      --code-bg: #f1f5f9;
      --table-stripe: #f8fafc;
      --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
      --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.12);
    }

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

    html {
      scroll-behavior: smooth;
      overflow-x: clip;
    }

    body {
      font-family: 'Inter', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-body);
      color: var(--text-main);
      line-height: 1.65;
      font-size: 15px;
      transition: background-color 0.25s ease, color 0.25s ease;
      overflow-x: clip;
      width: 100%;
      min-height: 100vh;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 7px;
      height: 7px;
    }
    ::-webkit-scrollbar-track {
      background: var(--bg-body);
    }
    ::-webkit-scrollbar-thumb {
      background: var(--bg-surface-elevated);
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: var(--text-subtle);
    }

    /* Top Sticky Header */
    header.site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      background: var(--header-bg);
      border-bottom: 1px solid var(--border-subtle);
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      gap: 16px;
    }

    .brand-area {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
    }

    .brand-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: var(--accent-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 18px;
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
      flex-shrink: 0;
    }

    .brand-info h1 {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-main);
    }

    .badge-tag {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      white-space: nowrap;
      font-size: 11px;
      padding: 2px 7px;
      border-radius: 999px;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .badge-primary { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(59, 130, 246, 0.3); }
    .badge-emerald { background: var(--emerald-light); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
    .badge-amber { background: var(--amber-light); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
    .badge-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent); border: 1px solid rgba(139, 92, 246, 0.3); }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      font-size: 13px;
      font-weight: 600;
      padding: 7px 14px;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      border: 1px solid transparent;
      user-select: none;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--accent-gradient);
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    }
    .btn-primary:hover {
      box-shadow: 0 6px 18px rgba(59, 130, 246, 0.5);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: var(--bg-surface);
      color: var(--text-main);
      border: 1px solid var(--border-subtle);
    }
    .btn-outline:hover {
      background: var(--bg-surface-elevated);
      border-color: var(--text-subtle);
    }

    .btn-sm {
      padding: 5px 10px;
      font-size: 12px;
      border-radius: 6px;
    }

    .icon-btn {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .icon-btn:hover {
      color: var(--text-main);
      border-color: var(--border-focus);
      background: var(--bg-surface-elevated);
    }

    /* Prototype Hero Quick Banner */
    .prototype-hero {
      background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 24px;
      position: relative;
      overflow: hidden;
      margin-bottom: 24px;
      box-shadow: var(--shadow-sm);
    }
    .prototype-hero::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -80px;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-content {
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .hero-text {
      flex: 1 1 500px;
    }
    .hero-title {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
      background: linear-gradient(to right, #1d4ed8, #7c3aed, #db2777);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-subtitle {
      color: var(--text-muted);
      font-size: 14px;
      max-width: 720px;
      line-height: 1.6;
    }

    .hero-prototype-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 16px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      box-shadow: var(--shadow-sm);
      min-width: 340px;
      backdrop-filter: blur(8px);
    }

    .prototype-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
    }

    .prototype-card-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .scenario-pills {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      font-size: 12px;
      color: var(--text-subtle);
    }
    .pill-link {
      padding: 3px 8px;
      border-radius: 6px;
      background: var(--bg-surface-elevated);
      color: var(--text-muted);
      text-decoration: none;
      font-size: 11px;
      font-weight: 500;
      transition: all 0.15s;
      border: 1px solid transparent;
    }
    .pill-link:hover {
      background: var(--primary-light);
      color: var(--primary);
      border-color: rgba(59, 130, 246, 0.3);
    }

    /* Main Container Layout: Sidebar anchored to far left, middle content expanded without horizontal scroll */
    .app-container {
      width: 100%;
      max-width: 100%;
      margin: 0;
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      gap: 32px;
      padding: 24px 32px 80px 24px;
      box-sizing: border-box;
      overflow-x: clip;
    }

    /* Left Sidebar: Navigation & Table of Contents (Fixed on far left, sticky preview scroll) */
    aside.sidebar {
      position: sticky;
      top: 80px;
      height: calc(100vh - 96px);
      display: flex;
      flex-direction: column;
      gap: 14px;
      align-self: start;
      width: 280px;
      flex-shrink: 0;
      z-index: 20;
    }

    .toc-search-box {
      position: relative;
    }
    .toc-search-input {
      width: 100%;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 8px 12px 8px 34px;
      font-size: 13px;
      color: var(--text-main);
      outline: none;
      transition: all 0.2s;
    }
    .toc-search-input:focus {
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }
    .toc-search-icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-subtle);
      pointer-events: none;
      font-size: 14px;
    }

    .toc-nav {
      overflow-y: auto;
      padding-right: 6px;
      flex: 1;
    }

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

    .toc-item {
      font-size: 13px;
    }

    .toc-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 10px;
      border-radius: 6px;
      color: var(--text-muted);
      text-decoration: none;
      transition: all 0.15s;
      font-weight: 500;
      line-height: 1.4;
    }
    .toc-link:hover {
      color: var(--text-main);
      background: var(--bg-surface);
    }
    .toc-link.active {
      color: var(--primary);
      background: var(--primary-light);
      font-weight: 600;
    }

    .toc-badge {
      font-size: 10px;
      padding: 1px 5px;
      border-radius: 4px;
      background: var(--bg-surface-elevated);
      color: var(--text-subtle);
      font-family: 'JetBrains Mono', monospace;
    }

    .toc-sublist {
      list-style: none;
      padding-left: 14px;
      margin-top: 2px;
      margin-bottom: 4px;
      border-left: 1px dashed var(--border-subtle);
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .toc-sublink {
      font-size: 12px;
      padding: 4px 8px;
      color: var(--text-subtle);
      text-decoration: none;
      display: block;
      border-radius: 5px;
      transition: all 0.15s;
    }
    .toc-sublink:hover {
      color: var(--text-main);
      background: var(--bg-surface);
    }
    .toc-sublink.active {
      color: var(--accent);
      font-weight: 600;
    }

    /* Content Area Styles */
    main.content-area {
      min-width: 0;
    }

    .section-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 32px;
      margin-bottom: 32px;
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow-sm);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .section-card:hover {
      border-color: #cbd5e1;
      box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
    }

    .section-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 18px;
      margin-bottom: 24px;
    }

    .section-number {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      background: var(--primary-light);
      padding: 3px 8px;
      border-radius: 6px;
      display: inline-block;
      margin-bottom: 6px;
    }

    .section-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.01em;
    }

    .section-source {
      font-size: 12px;
      color: var(--accent);
      background: rgba(139, 92, 246, 0.1);
      padding: 4px 10px;
      border-radius: 6px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    h3.sub-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
      margin: 24px 0 12px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    h3.sub-title::before {
      content: '';
      width: 4px;
      height: 16px;
      background: var(--accent);
      border-radius: 2px;
      display: inline-block;
    }

    p.paragraph {
      color: var(--text-muted);
      font-size: 14.5px;
      margin-bottom: 14px;
      line-height: 1.7;
    }

    /* Cards Grid */
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 16px;
      margin: 16px 0;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
      margin: 16px 0;
    }
    .grid-4 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
      margin: 16px 0;
    }

    .feature-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 18px;
      transition: all 0.2s;
    }
    .feature-box:hover {
      background: var(--bg-surface-elevated);
      border-color: var(--border-focus);
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }

    .feature-box-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .feature-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      flex-shrink: 0;
    }

    .feature-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-main);
    }

    .feature-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* Standardized Tables */
    .table-container {
      width: 100%;
      overflow-x: auto;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      margin: 16px 0;
      background: var(--bg-surface);
    }

    table.data-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      text-align: left;
    }

    table.data-table th {
      background: var(--bg-surface-elevated);
      color: var(--text-main);
      font-weight: 600;
      padding: 12px 14px;
      border-bottom: 1px solid var(--border-subtle);
      white-space: nowrap;
    }

    table.data-table td {
      padding: 11px 14px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-muted);
      vertical-align: middle;
    }

    table.data-table tr:last-child td {
      border-bottom: none;
    }

    table.data-table tbody tr:hover {
      background: var(--table-stripe);
    }

    .code-pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      padding: 2px 6px;
      border-radius: 5px;
      background: var(--code-bg);
      border: 1px solid var(--border-subtle);
      color: #0284c7;
      display: inline-block;
      font-weight: 500;
      white-space: nowrap;
      word-break: keep-all;
    }
    .code-pill.muted {
      color: #64748b;
      background: #f1f5f9;
      border-color: #cbd5e1;
    }

    /* Global Anti-Truncation & Button Pill Classes */
    .btn-pill, .badge-pill, .status-pill, .tag-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      word-break: keep-all;
      flex-shrink: 0;
      border-radius: 4px;
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.4;
      text-decoration: none;
    }
    .btn-pill-group {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      flex-wrap: nowrap;
    }
    .btn-pill-success { background: #10b981; color: #ffffff; }
    .btn-pill-danger { background: #ef4444; color: #ffffff; }
    .btn-pill-secondary { background: #64748b; color: #ffffff; }
    .status-pill-success { background: #d1fae5; color: #065f46; }
    .status-pill-danger { background: #fee2e2; color: #991b1b; }

    /* Custom Tooltip on Hover */
    .has-tooltip:hover .custom-tooltip {
      visibility: visible !important;
      opacity: 1 !important;
    }

    /* Alert / Callout Boxes */
    .callout {
      border-radius: 10px;
      padding: 14px 18px;
      margin: 16px 0;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 13.5px;
      line-height: 1.6;
    }
    .callout-info {
      background: rgba(59, 130, 246, 0.08);
      border-left: 4px solid var(--primary);
      color: var(--text-main);
    }
    .callout-warning {
      background: rgba(245, 158, 11, 0.08);
      border-left: 4px solid var(--amber);
      color: var(--text-main);
    }
    .callout-success {
      background: rgba(16, 185, 129, 0.08);
      border-left: 4px solid var(--emerald);
      color: var(--text-main);
    }

    /* Interactive Field Filter Tabs */
    .field-filter-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }

    .filter-tab-group {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .filter-tab {
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      transition: all 0.15s;
    }
    .filter-tab:hover {
      background: var(--bg-surface-elevated);
      color: var(--text-main);
    }
    .filter-tab.active {
      background: var(--primary);
      color: #ffffff;
      border-color: var(--primary);
    }

    .field-search-input {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 12px;
      color: var(--text-main);
      width: 200px;
      outline: none;
    }
    .field-search-input:focus {
      border-color: var(--border-focus);
    }

    /* Drawer Simulation Preview Graphic */
    .drawer-diagram {
      background: #f8fafc;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px;
      position: relative;
      margin: 16px 0;
      overflow: hidden;
    }
    .drawer-layers {
      display: flex;
      gap: 12px;
      align-items: stretch;
      min-height: 220px;
    }
    .layer-main {
      flex: 3;
      background: #ffffff;
      border: 1.5px dashed #cbd5e1;
      border-radius: 8px;
      padding: 14px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .layer-drawer {
      flex: 2;
      background: #ffffff;
      border: 1.5px solid var(--primary);
      border-radius: 8px;
      padding: 14px;
      box-shadow: -4px 0 16px rgba(0,0,0,0.06);
      position: relative;
    }
    .layer-subdrawer {
      flex: 1.5;
      background: #faf5ff;
      border: 1.5px solid var(--accent);
      border-radius: 8px;
      padding: 14px;
      box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    }

    /* Modal for Prototype Preview */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(6px);
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-overlay.active {
      display: flex;
    }
    .modal-window {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      width: 95vw;
      max-width: 1400px;
      height: 90vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .modal-header {
      padding: 12px 20px;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--bg-surface-elevated);
    }
    .modal-body {
      flex: 1;
      position: relative;
    }
    .modal-body iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    /* Back to Top Floating Button */
    .back-to-top {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--accent-gradient);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      box-shadow: var(--shadow-sm);
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s;
      z-index: 40;
    }
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }

    /* Responsive */
    @media (max-width: 1080px) {
      .app-container {
        grid-template-columns: 1fr;
      }
      aside.sidebar {
        display: none;
      }
    }


/* Multi-page Breadcrumbs & Navigation */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 20px;
}
.breadcrumb-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb-bar a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #94a3b8;
}

.page-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  max-width: 48%;
}
.page-nav-btn:hover {
  border-color: var(--primary);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.page-nav-btn.next {
  margin-left: auto;
  text-align: right;
}
.page-nav-subtitle {
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 500;
  display: block;
}
.page-nav-title {
  display: block;
  color: var(--primary);
  font-size: 14px;
}

/* Home Overview 9 Modules Grid */
.module-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
  margin: 24px 0 36px 0;
}

.module-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.module-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.module-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.module-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 6px;
}
.module-card-icon {
  font-size: 24px;
}
.module-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.module-card-desc {
  font-size: 13px;
  color: var(--text-subtle);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.module-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

/* Skeleton Loading Shimmer Animation */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.skeleton-shimmer-bar {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}
