    /* ==========================================================================
       GHOST Collab Board: 2-Tone Design System (Default: Warm Ivory / Dark: Obsidian)
       ========================================================================== */
    :root {
      /* [Default: 웜 아이보리 / 소프트 슬레이트 라이트 모드] */
      --bg-canvas: #F8F9FA;
      --bg-surface: #EDF0F3;
      --bg-card: #FFFFFF;
      --bg-card-hover: #F8FAFC;
      --border-subtle: #E2E8F0;
      --border-focus: #CBD5E1;
      
      --color-ready: #059669;       /* 🟢 READY FOR MAIN */
      --color-ready-bg: rgba(5, 150, 105, 0.1);
      --color-wip: #D97706;         /* 🟡 WIP */
      --color-wip-bg: rgba(217, 119, 6, 0.1);
      --color-blocked: #DC2626;     /* 🔴 BLOCKED */
      --color-blocked-bg: rgba(220, 38, 38, 0.1);
      --color-idle: #64748B;        /* ⚪ IDLE */
      --color-idle-bg: rgba(100, 116, 139, 0.08);

      --text-main: #0F172A;
      --text-muted: #475569;
      --text-subtle: #64748B;
      
      --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
      --font-stack: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }

    [data-theme="dark"] {
      /* [Dark Mode: 칠흑 옵시디언 다크 모드] */
      --bg-canvas: #090A0F;
      --bg-surface: #111319;
      --bg-card: #161822;
      --bg-card-hover: #1C1F2D;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(255, 255, 255, 0.2);
      
      --color-ready: #10B981;
      --color-ready-bg: rgba(16, 185, 129, 0.12);
      --color-wip: #F59E0B;
      --color-wip-bg: rgba(245, 158, 11, 0.12);
      --color-blocked: #EF4444;
      --color-blocked-bg: rgba(239, 68, 68, 0.15);
      --color-idle: #64748B;
      --color-idle-bg: rgba(100, 116, 139, 0.1);

      --text-main: #F8FAFC;
      --text-muted: #94A3B8;
      --text-subtle: #64748B;
      --card-shadow: none;
    }

    /* Theme Toggle Button */
    .theme-toggle-btn {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 6px 12px;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: var(--transition-fast);
      user-select: none;
    }
    .theme-toggle-btn:hover {
      border-color: var(--border-focus);
      color: var(--text-main);
      background: var(--bg-card);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-main);
      font-family: var(--font-stack);
      line-height: 1.5;
      padding: 20px 16px 80px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 920px;
      margin: 0 auto;
    }

    /* --------------------------------------------------------------------------
       Top Global Header
       -------------------------------------------------------------------------- */
    .header {
      margin-bottom: 16px;
    }
    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .brand-title {
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-badge {
      font-size: 0.7rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: #38BDF8;
      border: 1px solid rgba(56, 189, 248, 0.25);
    }
    .sync-timestamp {
      font-size: 0.8rem;
      color: var(--text-subtle);
    }

    /* --------------------------------------------------------------------------
       Main 2-Tab Navigation Bar (핵심 분리)
       -------------------------------------------------------------------------- */
    .main-nav-tabs {
      display: flex;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 5px;
      gap: 6px;
      margin-bottom: 20px;
    }
    .main-tab-btn {
      flex: 1;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      border: none;
      background: transparent;
      color: var(--text-muted);
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition-fast);
      position: relative;
    }
    .main-tab-btn:hover {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.04);
    }
    .main-tab-btn.active {
      background: var(--bg-card);
      color: var(--text-main);
      border: 1px solid var(--border-focus);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    .tab-badge {
      font-size: 0.68rem;
      padding: 2px 7px;
      border-radius: 999px;
      font-weight: 800;
    }
    .tab-badge-neutral {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-main);
    }
    .tab-badge-alert {
      background: #EF4444;
      color: white;
      animation: pulseAlert 2s infinite ease-in-out;
    }
    @keyframes pulseAlert {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }

    /* --------------------------------------------------------------------------
       Tab Contents Area
       -------------------------------------------------------------------------- */
    .tab-pane {
      display: none;
    }
    .tab-pane.active {
      display: block;
      animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Inter-Tab Cross Notification Banner in Tab 1 */
    .cross-notice-banner {
      background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(168, 85, 247, 0.08));
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: var(--radius-md);
      padding: 10px 16px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      transition: var(--transition-fast);
    }
    .cross-notice-banner:hover {
      border-color: #38BDF8;
      background: rgba(56, 189, 248, 0.18);
    }
    .notice-text {
      font-size: 0.82rem;
      color: #E0F2FE;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .notice-link {
      font-size: 0.76rem;
      color: #38BDF8;
      font-weight: 700;
      white-space: nowrap;
    }

    /* Global Summary Bar */
    .summary-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 12px 16px;
      margin-bottom: 18px;
    }
    .summary-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .summary-label {
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-bottom: 2px;
    }
    .summary-val {
      font-size: 1.15rem;
      font-weight: 800;
    }
    .val-ready { color: var(--color-ready); }
    .val-blocked { color: var(--color-blocked); }
    .val-wip { color: var(--color-wip); }
    .val-idle { color: var(--color-idle); }

    /* Timeline Calendar Bar */
    .timeline-calendar {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      margin-bottom: 18px;
    }
    .cal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .cal-title {
      font-size: 0.76rem;
      font-weight: 700;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .cal-reset-btn {
      font-size: 0.72rem;
      color: #38BDF8;
      background: transparent;
      border: none;
      cursor: pointer;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .cal-scroll {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .cal-scroll::-webkit-scrollbar { display: none; }
    .cal-chip {
      flex: 1;
      min-width: 95px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      user-select: none;
      transition: var(--transition-fast);
    }
    .cal-chip:hover {
      border-color: var(--border-focus);
      background: var(--bg-card-hover);
    }
    .cal-chip.active {
      border-color: #38BDF8;
      background: rgba(56, 189, 248, 0.08);
      box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
    }
    .cal-date {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 3px;
    }
    .cal-day {
      font-size: 0.68rem;
      color: var(--text-subtle);
      margin-bottom: 4px;
    }
    .cal-badge {
      font-size: 0.68rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }

    .cal-banner {
      display: none;
      background: rgba(56, 189, 248, 0.1);
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: var(--radius-sm);
      padding: 8px 14px;
      margin-bottom: 16px;
      font-size: 0.8rem;
      color: #BAE6FD;
      align-items: center;
      justify-content: space-between;
    }
    .cal-banner.show { display: flex; }

    /* Phase 6: 4대 프로젝트 전용 가로 탭 네비게이션 */
    .project-nav-tabs {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 20px;
    }
    @media (max-width: 680px) {
      .project-nav-tabs {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    .project-tab-btn {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 10px 12px;
      color: var(--text-muted);
      font-size: 0.84rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      transition: var(--transition-fast);
      position: relative;
    }
    .project-tab-btn:hover {
      border-color: var(--border-focus);
      color: var(--text-main);
      background: var(--bg-card);
    }
    .project-tab-btn.active {
      background: rgba(2, 132, 199, 0.12);
      border-color: #0284C7;
      color: #0369A1;
      font-weight: 800;
      box-shadow: 0 1px 4px rgba(2, 132, 199, 0.15);
    }
    [data-theme="dark"] .project-tab-btn.active {
      background: rgba(56, 189, 248, 0.15);
      border-color: #38BDF8;
      color: #F8FAFC;
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
    }
    .tab-pending-badge {
      font-size: 0.68rem;
      padding: 2px 7px;
      border-radius: 999px;
      font-weight: 800;
      white-space: nowrap;
    }
    .tab-pending-badge.ready {
      background: rgba(16, 185, 129, 0.2);
      color: #10B981;
      border: 1px solid rgba(16, 185, 129, 0.4);
    }
    .tab-pending-badge.idle {
      background: rgba(100, 116, 139, 0.15);
      color: #94A3B8;
      border: 1px solid rgba(100, 116, 139, 0.3);
    }

    /* Filter Bar */
    .filter-tabs {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 8px;
      margin-bottom: 16px;
    }
    .filter-tab {
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: var(--transition-fast);
    }
    .filter-tab.active, .filter-tab:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-main);
      border-color: rgba(255, 255, 255, 0.25);
    }

    /* Project Cards */
    .card-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      box-shadow: var(--card-shadow);
      overflow: hidden;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }
    .project-card:hover { border-color: var(--border-focus); }
    .project-card.blocked { border-color: rgba(239, 68, 68, 0.45); }
    .project-card.ready { border-color: rgba(16, 185, 129, 0.35); }
    .project-card.merged { border-color: rgba(168, 85, 247, 0.45); }
    .project-card.wip { border-color: rgba(245, 158, 11, 0.35); }

    .card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      cursor: pointer;
      user-select: none;
      gap: 12px;
    }
    .head-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 0;
    }
    .project-icon { font-size: 1.4rem; flex-shrink: 0; }
    .project-meta { min-width: 0; }
    .project-name-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 2px;
    }
    .project-name {
      font-size: 0.98rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .version-tag {
      font-size: 0.72rem;
      color: var(--text-subtle);
      font-family: monospace;
    }
    .headline-preview {
      font-size: 0.8rem;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .head-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .status-badge {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .badge-ready {
      background: var(--color-ready-bg);
      color: var(--color-ready);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }
    .badge-merged {
      background: rgba(168, 85, 247, 0.16);
      color: #C084FC;
      border: 1px solid rgba(168, 85, 247, 0.35);
    }
    .badge-wip {
      background: var(--color-wip-bg);
      color: var(--color-wip);
      border: 1px solid rgba(245, 158, 11, 0.3);
    }
    .badge-blocked {
      background: var(--color-blocked-bg);
      color: var(--color-blocked);
      border: 1px solid rgba(239, 68, 68, 0.35);
      animation: pulseBlocked 2s infinite ease-in-out;
    }
    .badge-idle {
      background: var(--color-idle-bg);
      color: var(--color-idle);
      border: 1px solid rgba(100, 116, 139, 0.2);
    }

    .expand-chevron {
      font-size: 0.8rem;
      color: var(--text-subtle);
      transition: transform 0.2s ease;
    }
    .project-card.open .expand-chevron { transform: rotate(180deg); }

    .card-drawer {
      display: none;
      border-top: 1px solid var(--border-subtle);
      padding: 18px 20px 20px;
      background: var(--bg-surface);
    }
    .project-card.open .card-drawer { display: block; }

    .drawer-section { margin-bottom: 14px; }
    .section-title {
      font-size: 0.74rem;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--text-subtle);
      letter-spacing: 0.04em;
      margin-bottom: 6px;
    }
    .branch-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: monospace;
      font-size: 0.78rem;
      background: rgba(255, 255, 255, 0.05);
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      color: #38BDF8;
      border: 1px solid rgba(56, 189, 248, 0.2);
    }
    .bullet-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .bullet-list li {
      font-size: 0.85rem;
      color: var(--text-main);
      display: flex;
      align-items: flex-start;
      gap: 6px;
      line-height: 1.45;
    }
    .bullet-list li::before {
      content: "•";
      color: var(--text-subtle);
      font-weight: bold;
      margin-top: 1px;
    }
    .worker-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      font-weight: 800;
      padding: 1px 5px;
      border-radius: 4px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .tag-kim {
      background: rgba(56, 189, 248, 0.16);
      color: #38BDF8;
      border: 1px solid rgba(56, 189, 248, 0.35);
    }
    .tag-heo {
      background: rgba(245, 158, 11, 0.16);
      color: #F59E0B;
      border: 1px solid rgba(245, 158, 11, 0.35);
    }

    /* Author Selector Bar (드롭존 상단 토글) */
    .author-selector-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
      padding: 6px 12px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
    }
    .author-bar-label {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .author-toggle-btns {
      display: flex;
      gap: 6px;
    }
    .author-toggle-btn {
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text-subtle);
      font-size: 0.74rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: var(--transition-fast);
    }
    .author-toggle-btn:hover {
      color: var(--text-main);
      border-color: var(--border-focus);
    }
    .author-toggle-btn.active-kim {
      background: rgba(56, 189, 248, 0.18);
      color: #38BDF8;
      border-color: #38BDF8;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
    }
    .author-toggle-btn.active-heo {
      background: rgba(245, 158, 11, 0.18);
      color: #F59E0B;
      border-color: #F59E0B;
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
    }
    .partner-quote {
      background: rgba(255, 255, 255, 0.03);
      border-left: 3px solid #38BDF8;
      padding: 8px 12px;
      font-size: 0.85rem;
      color: #E2E8F0;
    }
    .blocked-box {
      background: rgba(239, 68, 68, 0.08);
      border-left: 3px solid var(--color-blocked);
      padding: 8px 12px;
      font-size: 0.85rem;
      color: #FCA5A5;
    }

    .drawer-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 16px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .btn-group { display: flex; gap: 8px; }
    .btn {
      font-size: 0.78rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: none;
      transition: var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .btn-secondary { background: rgba(255, 255, 255, 0.08); color: var(--text-main); }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }
    .btn-primary { background: #2563EB; color: white; }
    .btn-primary:hover { background: #1D4ED8; }
    .btn-merged {
      background: rgba(168, 85, 247, 0.2);
      border: 1px solid rgba(168, 85, 247, 0.45);
      color: #E9D5FF;
      font-weight: 700;
    }
    .btn-merged:hover {
      background: #A855F7;
      color: #FFFFFF;
      border-color: #A855F7;
      box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
    }
    .btn-copy-git {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .btn-copy-git:hover {
      color: #38BDF8;
      border-color: rgba(56, 189, 248, 0.4);
      background: rgba(56, 189, 248, 0.08);
    }
    .val-merged { color: #C084FC; }

    /* --------------------------------------------------------------------------
       Tab 2: Agenda & Notes Dedicated Styles (장기 보관 서랍)
       -------------------------------------------------------------------------- */
    .notes-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
      gap: 12px;
      flex-wrap: wrap;
    }
    .notes-filters {
      display: flex;
      gap: 8px;
    }
    .notes-filter-btn {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      padding: 7px 14px;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .notes-filter-btn.active {
      background: rgba(56, 189, 248, 0.15);
      border-color: #38BDF8;
      color: #38BDF8;
    }

    .agenda-card-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .agenda-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 20px;
      transition: var(--transition-fast);
    }
    .agenda-card:hover { border-color: var(--border-focus); }
    .agenda-card.active-topic { border-color: rgba(56, 189, 248, 0.35); }

    .agenda-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .agenda-topic-title {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .agenda-status-pill {
      font-size: 0.72rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(245, 158, 11, 0.15);
      color: var(--color-wip);
      border: 1px solid rgba(245, 158, 11, 0.3);
    }
    .agenda-status-pill.resolved {
      background: rgba(16, 185, 129, 0.15);
      color: var(--color-ready);
      border-color: rgba(16, 185, 129, 0.3);
    }

    .thread-box {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 16px;
    }
    .chat-bubble {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-md);
      padding: 12px 14px;
    }
    .bubble-author {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--text-subtle);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .bubble-text {
      font-size: 0.88rem;
      color: #E2E8F0;
      line-height: 1.5;
    }

    .reply-form {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    .reply-input {
      flex: 1;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 12px;
      color: var(--text-main);
      font-size: 0.85rem;
      outline: none;
    }
    .reply-input:focus { border-color: #38BDF8; }

    .agenda-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Modal */
    .modal-backdrop {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      z-index: 100;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    .modal-backdrop.open { display: flex; }
    .modal-box {
      background: var(--bg-surface);
      border: 1px solid var(--border-focus);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 500px;
      padding: 24px;
    }
    .modal-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
    .form-group { margin-bottom: 14px; }
    .form-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
    .form-select, .form-input, .form-textarea {
      width: 100%;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 8px 12px;
      color: var(--text-main);
      font-size: 0.85rem;
      outline: none;
    }
    .modal-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

    @media (max-width: 640px) {
      .head-right { flex-direction: column; align-items: flex-end; gap: 4px; }
      .cal-chip { min-width: 82px; padding: 6px 8px; }
    }

    /* ==========================================================================
       Premium Badges & 2-Tone Detail Container Styles
       ========================================================================== */
    .badge-author-kim, .badge-author-heo, .badge-branch-tag, .badge-commit-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 3px 9px;
      border-radius: 999px;
      font-size: 0.74rem;
      font-weight: 700;
      line-height: 1.2;
      transition: var(--transition-fast);
      user-select: none;
    }

    /* KIM 뱃지 */
    .badge-author-kim {
      background: rgba(2, 132, 199, 0.1);
      color: #0284C7;
      border: 1px solid rgba(2, 132, 199, 0.35);
    }
    [data-theme="dark"] .badge-author-kim {
      background: rgba(56, 189, 248, 0.15);
      color: #38BDF8;
      border-color: rgba(56, 189, 248, 0.4);
    }

    /* HEO 뱃지 */
    .badge-author-heo {
      background: rgba(219, 39, 119, 0.1);
      color: #DB2777;
      border: 1px solid rgba(219, 39, 119, 0.35);
    }
    [data-theme="dark"] .badge-author-heo {
      background: rgba(244, 114, 182, 0.15);
      color: #F472B6;
      border-color: rgba(244, 114, 182, 0.4);
    }

    /* 브랜치 뱃지 */
    .badge-branch-tag {
      background: rgba(100, 116, 139, 0.1);
      color: #334155;
      border: 1px solid rgba(100, 116, 139, 0.25);
      font-family: monospace;
    }
    [data-theme="dark"] .badge-branch-tag {
      background: rgba(255, 255, 255, 0.06);
      color: #CBD5E1;
      border-color: rgba(255, 255, 255, 0.15);
    }

    /* 커밋 태그 */
    .badge-commit-tag {
      background: rgba(124, 58, 237, 0.08);
      color: #7C3AED;
      border: 1px solid rgba(124, 58, 237, 0.25);
      font-family: monospace;
    }
    [data-theme="dark"] .badge-commit-tag {
      background: rgba(167, 139, 250, 0.12);
      color: #C084FC;
      border-color: rgba(167, 139, 250, 0.35);
    }

    /* [2-Tone] 지뢰 경고 박스 (상대 에이전트 머지 주의사항) */
    .box-handoff-warning {
      background: rgba(245, 158, 11, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      margin-bottom: 12px;
    }
    .box-handoff-warning .box-title {
      color: #B45309;
      font-weight: 800;
      font-size: 0.8rem;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .box-handoff-warning .box-content {
      font-size: 0.82rem;
      color: #78350F;
      line-height: 1.6;
      white-space: pre-wrap;
    }
    [data-theme="dark"] .box-handoff-warning {
      background: rgba(245, 158, 11, 0.08);
      border-color: rgba(245, 158, 11, 0.3);
    }
    [data-theme="dark"] .box-handoff-warning .box-title {
      color: #F59E0B;
    }
    [data-theme="dark"] .box-handoff-warning .box-content {
      color: #FEF3C7;
    }

    /* [2-Tone] 누적 커밋 로그 박스 */
    .box-commit-logs {
      background: rgba(124, 58, 237, 0.05);
      border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      margin-bottom: 12px;
    }
    .box-commit-logs .box-title {
      color: #6D28D9;
      font-weight: 700;
      font-size: 0.78rem;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .box-commit-logs ul {
      margin: 0 0 0 16px;
      padding: 0;
      font-size: 0.8rem;
      color: #334155;
      line-height: 1.6;
      list-style: circle;
    }
    [data-theme="dark"] .box-commit-logs {
      background: rgba(167, 139, 250, 0.06);
      border-color: rgba(167, 139, 250, 0.25);
    }
    [data-theme="dark"] .box-commit-logs .box-title {
      color: #C084FC;
    }
    [data-theme="dark"] .box-commit-logs ul {
      color: #E2E8F0;
    }

    /* [2-Tone] 수술 파일 목록 */
    .box-modified-files {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
    }
    .box-modified-files summary {
      font-size: 0.8rem;
      font-weight: 700;
      color: #0284C7;
      cursor: pointer;
    }
    .box-modified-files ul {
      margin: 6px 0 0 16px;
      padding: 0;
      list-style: square;
      line-height: 1.6;
      font-size: 0.78rem;
      color: #1E293B;
    }
    .box-modified-files code {
      background: rgba(0, 0, 0, 0.05);
      padding: 2px 6px;
      border-radius: 4px;
      font-family: monospace;
    }
    [data-theme="dark"] .box-modified-files summary {
      color: #38BDF8;
    }
    [data-theme="dark"] .box-modified-files ul {
      color: #CBD5E1;
    }
    [data-theme="dark"] .box-modified-files code {
      background: rgba(255, 255, 255, 0.08);
    }

    /* [2-Tone] 과거 완료 이력 아코디언 */
    .box-history-details {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      box-shadow: var(--card-shadow);
    }
    .box-history-details summary {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
    }
    .box-history-details summary:hover {
      color: var(--text-main);
    }

    /* ==========================================================================
       [Phase 7] Private Blackout Gateway & Bound Identity Badges
       ========================================================================== */
    .gate-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(10, 15, 29, 0.96);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .gate-overlay.hidden,
    html.gate-pre-authed .gate-overlay {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .gate-card {
      background: #0F172A;
      border: 1px solid rgba(56, 189, 248, 0.3);
      border-radius: 18px;
      padding: 36px 32px 30px;
      max-width: 440px;
      width: 100%;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.15);
      text-align: center;
      animation: gatePop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes gatePop {
      0% { transform: scale(0.92); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }

    .gate-icon {
      font-size: 2.8rem;
      margin-bottom: 12px;
      display: inline-block;
      filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.4));
    }
    .gate-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: #F8FAFC;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .gate-desc {
      font-size: 0.86rem;
      color: #94A3B8;
      line-height: 1.5;
      margin-bottom: 24px;
    }

    .gate-input-wrapper {
      position: relative;
      margin-bottom: 16px;
    }
    .gate-input {
      width: 100%;
      height: 52px;
      background: #1E293B;
      border: 2px solid rgba(148, 163, 184, 0.2);
      border-radius: 12px;
      color: #FFFFFF;
      font-size: 1.6rem;
      font-weight: 700;
      text-align: center;
      letter-spacing: 0.45em;
      padding: 0 16px;
      outline: none;
      transition: all 0.2s ease;
      font-family: inherit;
    }
    .gate-input:focus {
      border-color: #38BDF8;
      background: #0F172A;
      box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
    }
    .gate-input::placeholder {
      letter-spacing: 0.1em;
      font-size: 0.95rem;
      color: #64748B;
      font-weight: 500;
    }

    .gate-error {
      min-height: 22px;
      font-size: 0.82rem;
      color: #EF4444;
      font-weight: 600;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .shake {
      animation: shake 0.4s ease-in-out;
    }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20%, 60% { transform: translateX(-8px); }
      40%, 80% { transform: translateX(8px); }
    }

    .gate-submit-btn {
      width: 100%;
      height: 48px;
      background: linear-gradient(135deg, #0284C7, #0369A1);
      border: 1px solid #38BDF8;
      border-radius: 12px;
      color: #FFFFFF;
      font-size: 0.98rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s ease;
      box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    }
    .gate-submit-btn:hover {
      background: linear-gradient(135deg, #0369A1, #075985);
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(2, 132, 199, 0.45);
    }
    .gate-submit-btn:active {
      transform: translateY(0);
    }

    .gate-notice {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.74rem;
      color: #64748B;
      line-height: 1.5;
    }

    /* 접속자 신원 바 & 뱃지 */
    .logged-user-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .logged-user-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.84rem;
      font-weight: 700;
      border: 1px solid transparent;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .logged-user-badge.badge-kim {
      background: rgba(245, 158, 11, 0.14);
      color: #D97706;
      border-color: rgba(245, 158, 11, 0.35);
    }
    [data-theme="dark"] .logged-user-badge.badge-kim {
      background: rgba(245, 158, 11, 0.2);
      color: #FBBF24;
      border-color: rgba(245, 158, 11, 0.45);
    }
    .logged-user-badge.badge-heo {
      background: rgba(14, 165, 233, 0.14);
      color: #0284C7;
      border-color: rgba(14, 165, 233, 0.35);
    }
    [data-theme="dark"] .logged-user-badge.badge-heo {
      background: rgba(14, 165, 233, 0.2);
      color: #38BDF8;
      border-color: rgba(14, 165, 233, 0.45);
    }
    .logged-user-sub {
      font-size: 0.72rem;
      font-weight: 500;
      opacity: 0.85;
    }

    .btn-logout {
      border-color: rgba(239, 68, 68, 0.3) !important;
      color: #EF4444 !important;
      background: rgba(239, 68, 68, 0.05);
    }
    .btn-logout:hover {
      background: rgba(239, 68, 68, 0.15) !important;
      border-color: #EF4444 !important;
    }

