    :root {
      /* Core Palette */
      --bg-dark: #06090f;
      --bg-surface: #0c111d;
      --glass-bg: rgba(18, 24, 38, 0.7);
      --glass-border: rgba(255, 255, 255, 0.08);

      /* Colors */
      --primary: #4f46e5;
      --primary-glow: rgba(79, 70, 229, 0.4);
      --accent-cyan: #22d3ee;
      --accent-purple: #a855f7;
      --accent-green: #10b981;
      --accent-orange: #f59e0b;
      --accent-red: #ef4444;

      /* Text */
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;

      /* Effects */
      --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
      --radius-xl: 24px;
      --radius-lg: 16px;
      --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    body {
      background-color: var(--bg-dark);
      background-image:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
      color: var(--text-main);
      font-family: 'Outfit', 'Noto Sans KR', sans-serif;
      min-height: 100vh;
      line-height: 1.5;
      overflow-x: hidden;
    }

    /* Layout */
    .app-container {
      display: flex;
      min-height: 100vh;
    }

    /* Sidebar */
    aside {
      width: 260px;
      background: rgba(12, 17, 29, 0.85);
      backdrop-filter: blur(25px);
      border-right: 1px solid var(--glass-border);
      padding: 2rem 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
      position: sticky;
      top: 0;
      height: 100vh;
      z-index: 100;
      transition: var(--transition-base);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-main);
      letter-spacing: -0.02em;
    }

    .brand i {
      color: var(--accent-cyan);
      filter: drop-shadow(0 0 8px var(--accent-cyan));
    }

    .nav-group {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .nav-section {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .nav-section-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0 0.15rem;
      color: var(--text-dim);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .nav-section-label small {
      color: var(--text-muted);
      font-size: 0.68rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: 0;
    }

    .nav-item {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.8rem 1rem;
      border-radius: var(--radius-lg);
      border: 1px solid transparent;
      background: transparent;
      color: var(--text-muted);
      text-decoration: none;
      font: inherit;
      font-weight: 500;
      transition: var(--transition-base);
      cursor: pointer;
      text-align: left;
    }

    .nav-item.nav-item-head {
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(255, 255, 255, 0.04);
      color: var(--text-main);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }

    .nav-item.nav-item-head .nav-copy {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .nav-item.nav-item-head .nav-copy small {
      color: var(--text-dim);
      font-size: 0.68rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: 0;
    }

    .nav-item.nav-item-sub {
      padding-left: 2.85rem;
      background: rgba(255, 255, 255, 0.015);
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .nav-item:hover {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
    }

    .nav-item.active {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 15px var(--primary-glow);
    }

    #dashboard-overview,
    [data-wireframe-card] {
      scroll-margin-top: 120px;
    }

    /* Main Content */
    main {
      flex: 1;
      padding: 2rem;
      max-width: 1400px;
      margin: 0 auto;
      width: 100%;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
      gap: 1.5rem;
    }

    .title-area h1 {
      font-size: 2.1rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.25rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .title-area p {
      color: var(--text-muted);
      font-size: 1rem;
    }

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

    /* Stats Grid */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .stat-card {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      padding: 1.25rem;
      border-radius: var(--radius-xl);
      position: relative;
      overflow: hidden;
      transition: var(--transition-base);
    }

    .stat-card::after {
      content: '';
      position: absolute;
      inset: auto -20% -40% auto;
      width: 140px;
      height: 140px;
      border-radius: 999px;
      background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0));
      pointer-events: none;
      animation: pulse-glow 4.8s ease-in-out infinite;
    }

    .stat-card:hover {
      transform: translateY(-5px);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--accent);
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .stat-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 1rem;
    }

    .stat-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.05);
      box-shadow: 0 0 0 rgba(129, 140, 248, 0);
      animation: icon-breathe 3.6s ease-in-out infinite;
    }

    .stat-value {
      font-size: 2.25rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.25rem;
      text-shadow: 0 0 18px rgba(129, 140, 248, 0.12);
      animation: number-float 3.8s ease-in-out infinite;
    }

    .stat-trend {
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      opacity: 0.92;
    }

    .trend-up {
      color: var(--accent-green);
    }

    .trend-down {
      color: var(--accent-red);
    }

    /* Cards */
    .card {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-xl);
      padding: 1.5rem;
      margin-bottom: 1.25rem;
      transition: var(--transition-base);
    }

    .card-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .card-title .badge {
      margin-left: auto;
    }

    .card-title h2 {
      font: inherit;
      color: inherit;
      letter-spacing: inherit;
    }

    .section-hint {
      color: var(--text-dim);
      font-size: 0.82rem;
      margin-top: -0.75rem;
      margin-bottom: 1rem;
    }

    .status-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .status-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.9rem;
      border-radius: 999px;
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 600;
    }

    .status-chip.live {
      background: rgba(16, 185, 129, 0.14);
      color: #a7f3d0;
      border-color: rgba(16, 185, 129, 0.28);
    }

    .status-chip.degraded {
      background: rgba(245, 158, 11, 0.14);
      color: #fde68a;
      border-color: rgba(245, 158, 11, 0.28);
    }

    .role-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      align-items: stretch;
    }

    .role-card {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      border: 1px solid var(--glass-border);
      border-radius: 18px;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.03);
      min-width: 0;
      height: 100%;
    }

    .role-card.role-user {
      background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.03));
    }

    .role-card.role-operator {
      background: linear-gradient(180deg, rgba(79, 70, 229, 0.08), rgba(255, 255, 255, 0.03));
    }

    .role-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .role-headline {
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-main);
    }

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

    .role-list {
      display: grid;
      gap: 0.6rem;
      flex: 1 1 auto;
    }

    .keyword-hero {
      display: grid;
      gap: 0.95rem;
    }

    .keyword-hero-copy {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .keyword-hero-cloud {
      position: relative;
      min-height: 240px;
      padding: 1.2rem 1rem 1rem;
      border-radius: 28px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background:
        radial-gradient(circle at 18% 28%, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0) 38%),
        radial-gradient(circle at 78% 36%, rgba(79, 70, 229, 0.18), rgba(79, 70, 229, 0) 42%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0) 36%),
        rgba(255, 255, 255, 0.025);
      overflow: hidden;
    }

    .word-cloud-stage {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 0.4rem 0.7rem;
      min-height: 100%;
      position: relative;
      z-index: 1;
    }

    .word-cloud-stage-benchmark {
      min-height: 180px;
      padding: 0.8rem;
      border-radius: 22px;
      background:
        radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0) 30%),
        radial-gradient(circle at 80% 62%, rgba(79, 70, 229, 0.14), rgba(79, 70, 229, 0) 36%),
        rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .keyword-pill-main,
    .word-cloud-word {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.5rem 0.82rem;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(79, 70, 229, 0.14));
      border: 1px solid rgba(255, 255, 255, 0.07);
      color: var(--text-main);
      font-weight: 700;
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
      transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
      animation: float-word 5.5s ease-in-out infinite;
      animation-delay: var(--delay, 0s);
    }

    .word-cloud-word small {
      color: var(--text-muted);
      font-size: 0.7rem;
      font-weight: 600;
      opacity: 0.72;
    }

    .word-cloud-word.is-primary {
      background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(16, 185, 129, 0.18));
      border-color: rgba(34, 211, 238, 0.24);
      box-shadow: 0 12px 28px rgba(34, 211, 238, 0.15);
    }

    .word-cloud-word.is-secondary {
      background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(129, 140, 248, 0.14));
    }

    .word-cloud-word.hero-word {
      padding: 0.3rem 0.45rem;
      border-color: transparent;
      background: transparent;
      box-shadow: none;
    }

    .word-cloud-word.hero-word small {
      display: none;
    }

    .role-item {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem;
      border-radius: 14px;
      padding: 0.8rem 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.05);
      background: rgba(255, 255, 255, 0.04);
    }

    .role-item strong {
      display: block;
      color: var(--text-main);
      font-size: 0.88rem;
      margin-bottom: 0.15rem;
    }

    .role-item span {
      color: var(--text-dim);
      font-size: 0.78rem;
      line-height: 1.4;
    }

    .role-actions {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.75rem;
      margin-top: 1.25rem;
      padding-top: 0.1rem;
      align-items: stretch;
      align-content: start;
      position: relative;
      clear: both;
    }

    .role-action {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 0.45rem;
      border-radius: 16px;
      padding: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.04);
      min-width: 0;
      min-height: 110px;
      overflow: hidden;
    }

    .role-action small {
      color: var(--text-dim);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .role-action strong {
      display: block;
      color: var(--text-main);
      font-size: 0.88rem;
      line-height: 1.45;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-clamp: 2;
      overflow: hidden;
    }

    .decision-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-bottom: 1.25rem;
    }

    .decision-card {
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 1.15rem;
      background: rgba(255, 255, 255, 0.03);
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      min-width: 0;
    }

    .decision-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .decision-card-head strong {
      font-size: 1rem;
      color: var(--text-main);
    }

    .decision-card-copy {
      color: var(--text-muted);
      font-size: 0.84rem;
    }

    .decision-list {
      display: grid;
      gap: 0.55rem;
    }

    .decision-item {
      border-radius: 14px;
      padding: 0.75rem 0.85rem;
      background: rgba(255, 255, 255, 0.035);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .decision-item strong {
      display: block;
      font-size: 0.86rem;
      color: var(--text-main);
      margin-bottom: 0.18rem;
    }

    .decision-item span {
      color: var(--text-dim);
      font-size: 0.78rem;
      line-height: 1.45;
    }

    .table-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 220px 180px;
      gap: 0.9rem;
      margin-bottom: 1rem;
    }

    .table-toolbar .input-group {
      min-width: 0;
    }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .mini-card {
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.03);
      border-radius: 16px;
      padding: 0.95rem;
    }

    .mini-card .mini-label {
      font-size: 0.72rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.35rem;
    }

    .mini-card strong {
      display: block;
      font-size: 0.98rem;
      margin-bottom: 0.35rem;
    }

    .mini-card p {
      color: var(--text-muted);
      font-size: 0.82rem;
    }

    .management-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .management-item {
      display: flex;
      justify-content: space-between;
      gap: 0.75rem;
      align-items: center;
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.03);
      padding: 0.95rem 1rem;
    }

    .management-item strong {
      display: block;
      margin-bottom: 0.2rem;
    }

    .management-item span {
      color: var(--text-muted);
      font-size: 0.82rem;
    }

    .data-source-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .benchmark-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    .benchmark-card {
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.03);
      border-radius: 18px;
      padding: 1rem;
      display: grid;
      gap: 0.75rem;
      min-height: 220px;
    }

    .benchmark-card.full {
      grid-column: 1 / -1;
    }

    .benchmark-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .benchmark-head strong {
      font-size: 1rem;
    }

    .benchmark-note {
      color: var(--text-dim);
      font-size: 0.8rem;
      margin-top: -0.2rem;
    }

    .benchmark-chart {
      height: 190px;
      width: 100%;
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0) 44%);
    }

    .benchmark-chart::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.035) 48%, rgba(255,255,255,0) 100%);
      transform: translateX(-100%);
      animation: chart-sheen 5.2s linear infinite;
      pointer-events: none;
    }

    .keyword-cloud {
      display: block;
    }

    .keyword-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.45rem 0.7rem;
      border-radius: 999px;
      background: rgba(79, 70, 229, 0.12);
      border: 1px solid rgba(79, 70, 229, 0.25);
      color: var(--text-main);
      font-size: 0.82rem;
    }

    .chart-container canvas,
    .benchmark-chart canvas {
      filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.24));
    }

    @keyframes float-word {
      0%, 100% {
        transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
      }
      50% {
        transform: translate(calc(var(--dx, 0) * 1.05), calc(var(--dy, 0) - 4px)) rotate(calc(var(--rot, 0deg) * 1.08));
      }
    }

    @keyframes pulse-glow {
      0%, 100% {
        opacity: 0.45;
        transform: scale(0.95);
      }
      50% {
        opacity: 0.9;
        transform: scale(1.08);
      }
    }

    @keyframes icon-breathe {
      0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 rgba(129, 140, 248, 0);
      }
      50% {
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(129, 140, 248, 0.18);
      }
    }

    @keyframes number-float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-1px);
      }
    }

    @keyframes chart-sheen {
      0% {
        transform: translateX(-100%);
      }
      100% {
        transform: translateX(100%);
      }
    }

    .benchmark-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    .benchmark-table th,
    .benchmark-table td {
      padding: 0.55rem 0.4rem;
      font-size: 0.8rem;
    }

    .benchmark-table th {
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-bottom: 1px solid var(--glass-border);
      text-align: left;
    }

    .benchmark-table td {
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      color: var(--text-main);
    }

    /* Grid Layout */
    .content-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }

    .span-full {
      grid-column: 1 / -1;
    }

    /* Collection Status List */
    .task-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .task-item {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-lg);
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .task-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .task-info strong {
      display: block;
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
    }

    .task-info span {
      font-size: 0.8rem;
      color: var(--text-dim);
    }

    .progress-bar-container {
      width: 100%;
      height: 6px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 999px;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
      width: 0%;
      transition: width 0.5s ease;
      position: relative;
    }

    .progress-bar::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      animation: shimmer 1.5s infinite;
    }

    @keyframes shimmer {
      0% {
        transform: translateX(-100%);
      }

      100% {
        transform: translateX(100%);
      }
    }

    /* Chart Containers */
    .chart-container {
      position: relative;
      height: 250px;
      width: 100%;
    }

    /* Table Styles */
    .table-wrapper {
      overflow-x: auto;
    }

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

    th {
      text-align: left;
      color: var(--text-dim);
      font-weight: 700;
      font-size: 0.8rem;
      padding: 0.75rem;
      border-bottom: 1px solid var(--glass-border);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    td {
      padding: 1rem 0.75rem;
      border-bottom: 1px solid var(--glass-border);
      font-size: 0.9rem;
      vertical-align: middle;
    }

    tr:hover td {
      background: rgba(255, 255, 255, 0.02);
    }

    tr.session-row {
      cursor: pointer;
    }

    tr.session-row.selected td {
      background: rgba(79, 70, 229, 0.12);
    }

    tr.session-row.is-test td {
      opacity: 0.72;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      padding: 0.2rem 0.6rem;
      border-radius: 6px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    .badge-primary {
      background: rgba(79, 70, 229, 0.15);
      color: #818cf8;
      border: 1px solid rgba(79, 70, 229, 0.3);
    }

    .badge-success {
      background: rgba(16, 185, 129, 0.15);
      color: #34d399;
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .badge-warning {
      background: rgba(245, 158, 11, 0.15);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .badge-info {
      background: rgba(34, 211, 238, 0.15);
      color: #22d3ee;
      border: 1px solid rgba(34, 211, 238, 0.3);
    }

    /* Form Styles */
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .input-group label {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    input,
    select,
    textarea {
      background: rgba(12, 17, 29, 0.5);
      border: 1px solid var(--glass-border);
      border-radius: 10px;
      padding: 0.7rem 0.9rem;
      color: white;
      font-family: inherit;
      transition: var(--transition-base);
      outline: none;
      font-size: 0.9rem;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px var(--primary-glow);
    }

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

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.7rem 1.1rem;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition-base);
      border: none;
      font-family: inherit;
      font-size: 0.9rem;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 15px var(--primary-glow);
    }

    .btn-primary:hover {
      background: #4338ca;
      transform: translateY(-2px);
    }

    .btn-ghost {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
      border: 1px solid var(--glass-border);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Animations */
    @keyframes countUp {
      from {
        transform: translateY(10px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .animate-in {
      animation: countUp 0.5s ease-out forwards;
    }

    /* Skill Grid */
    .skill-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
    }

    .skill-button {
      padding: 0.8rem;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      transition: var(--transition-base);
    }

    .skill-button.active {
      background: rgba(79, 70, 229, 0.1);
      border-color: var(--primary);
      color: var(--text-main);
    }

    .skill-button i {
      width: 18px;
      height: 18px;
    }

    .skill-button span {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
    }

    .skill-detail {
      margin-top: 1rem;
      padding: 0.95rem 1rem;
      border-radius: 16px;
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.03);
    }

    .skill-detail strong {
      display: block;
      margin-bottom: 0.3rem;
    }

    .skill-detail span {
      color: var(--text-muted);
      font-size: 0.82rem;
    }

    .detail-shell {
      display: grid;
      gap: 0.85rem;
      margin-top: 1rem;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.75rem;
    }

    .detail-metric {
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.03);
      padding: 0.8rem 0.9rem;
    }

    .detail-metric .label {
      color: var(--text-dim);
      font-size: 0.72rem;
      margin-bottom: 0.2rem;
    }

    .detail-metric .value {
      font-weight: 700;
      font-size: 0.92rem;
      color: var(--text-main);
      word-break: break-word;
    }

    .detail-list {
      display: grid;
      gap: 0.6rem;
    }

    .detail-list .management-item {
      margin: 0;
    }

    /* Responsive Design */
    @media (max-width: 1200px) {
      .content-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 850px) {
      aside {
        width: 80px;
        padding: 2rem 0.5rem;
      }

      aside .brand span,
      aside .nav-item span,
      aside .nav-section-label {
        display: none;
      }

      aside .nav-item {
        justify-content: center;
        padding: 1rem;
      }

      aside .nav-item.nav-item-sub {
        padding-left: 1rem;
      }

      aside .brand {
        justify-content: center;
      }

      main {
        padding: 1.5rem;
      }

      .role-grid {
        grid-template-columns: 1fr;
      }

      .role-actions {
        grid-template-columns: 1fr;
      }

      .decision-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
      header {
        flex-direction: column;
        align-items: flex-start;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: 1fr;
      }

      .table-toolbar,
      .mini-grid,
      .data-source-grid {
        grid-template-columns: 1fr;
      }

      .role-grid {
        grid-template-columns: 1fr;
      }

      .role-actions {
        grid-template-columns: 1fr;
      }

      .decision-grid {
        grid-template-columns: 1fr;
      }

      .skill-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .nav-item i {
        width: 20px;
      }

      .app-container {
        flex-direction: column;
      }

      aside {
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 1rem;
        position: static;
      }

      aside .nav-group {
        flex-direction: row;
        margin: 0 auto;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        max-width: calc(100vw - 7rem);
      }

      aside .brand {
        margin-right: auto;
      }

      .nav-section {
        min-width: 150px;
      }

      .nav-item {
        justify-content: flex-start;
      }

      .nav-item.nav-item-sub {
        padding-left: 1rem;
      }

      aside div:last-child {
        display: none;
      }
    }
