/**
 * プロジェクト管理プラグイン - スタイルシート
 * ナナコジャパン合同会社
 * admin.css を継承して使用する追加スタイル
 */

/* ===== プロジェクトカードグリッド ===== */
.pm-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pm-project-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
    position: relative;
    overflow: hidden;
}
.pm-project-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.pm-project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--pm-project-color, #6366f1);
}

.pm-project-name  { font-size: 16px; font-weight: 700; color: #1a1a2e; margin: 0 0 4px; line-height: 1.3; }
.pm-project-client { font-size: 12px; color: #6b7280; margin-bottom: 12px; }
.pm-project-meta  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12px; }

.pm-project-progress-wrap { margin-top: 12px; }
.pm-project-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: #6b7280; margin-bottom: 4px; }
.pm-progress-bar  { height: 6px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.pm-progress-fill { height: 100%; border-radius: 10px; background: var(--pm-project-color, #6366f1); transition: width .3s ease; }

/* ===== バッジ ===== */
.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.pm-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ===== タスクテーブル ===== */
.pm-task-table { width: 100%; border-collapse: collapse; }
.pm-task-table th {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}
.pm-task-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    font-size: 13px;
}
.pm-task-table tr:hover td { background: #f9fafb; }
.pm-task-title { font-weight: 600; color: #1a1a2e; }
.pm-task-priority-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ===== メンバーアバター ===== */
.pm-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -.5px;
}
.pm-avatar-lg { width: 40px; height: 40px; font-size: 14px; }

/* ===== カンバンボード ===== */
.pm-board {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    min-height: 500px;
    align-items: flex-start;
}
.pm-board-col {
    min-width: 260px; width: 260px; flex-shrink: 0;
    background: #f3f4f6; border-radius: 10px; padding: 12px;
}
.pm-board-col-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; padding: 0 4px;
}
.pm-board-col-title {
    font-size: 12px; font-weight: 700; color: #374151;
    text-transform: uppercase; letter-spacing: .5px;
}
.pm-board-col-count {
    background: #e5e7eb; border-radius: 10px;
    padding: 1px 7px; font-size: 11px; font-weight: 700; color: #6b7280;
}
.pm-board-card {
    background: #fff; border-radius: 8px; border: 1px solid #e5e7eb;
    padding: 12px; margin-bottom: 8px; cursor: pointer;
    transition: box-shadow .1s, transform .1s;
}
.pm-board-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); transform: translateY(-1px); }
.pm-board-card-title { font-size: 13px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.pm-board-card-meta  { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pm-board-card-due   { font-size: 11px; color: #9ca3af; }
.pm-board-card-due.overdue { color: #dc2626; font-weight: 700; }

/* ===== ガントチャートコンテナ ===== */
#pm-gantt-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* ===== メンバーカード ===== */
.pm-member-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .15s;
}
.pm-member-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }

.pm-member-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}
.pm-member-type-internal { background: #eff6ff; color: #1d4ed8; }
.pm-member-type-external { background: #f0fdf4; color: #15803d; }
.pm-member-type-client   { background: #fef3c7; color: #b45309; }

/* ===== 工数ウィジェット（フローティング） ===== */
#pm-tracker-widget {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 9990;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
    width: 270px;
    overflow: hidden;
    transition: box-shadow .2s, width .2s;
    font-family: inherit;
    user-select: none;
}
#pm-tracker-widget.collapsed { width: 200px; }
#pm-tracker-widget:hover { box-shadow: 0 12px 48px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.08); }

.pm-tracker-header {
    background: #1a1a2e;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.pm-tracker-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    transition: background .3s;
}
.pm-tracker-dot.active {
    background: #ef4444;
    animation: pm-blink 1.2s ease infinite;
}
@keyframes pm-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .3; }
}

.pm-tracker-body { padding: 14px; max-height: 80vh; overflow-y: auto; }
.collapsed .pm-tracker-body { display: none; }

.pm-tracker-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 12px;
    font-family: inherit;
    background: #f9fafb;
    color: #374151;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.pm-tracker-timer {
    font-size: 30px;
    font-weight: 900;
    color: #1a1a2e;
    text-align: center;
    letter-spacing: -1px;
    margin: 10px 0 4px;
    font-variant-numeric: tabular-nums;
}
.pm-tracker-daily {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 12px;
}
.pm-tracker-btns { display: flex; gap: 8px; }
.pm-tracker-btn {
    flex: 1;
    padding: 9px 6px;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .1s, transform .05s;
}
.pm-tracker-btn:active { transform: scale(.97); }
.pm-tracker-btn.start  { background: #16a34a; color: #fff; }
.pm-tracker-btn.start:hover  { background: #15803d; }
.pm-tracker-btn.pause  { background: #d97706; color: #fff; }
.pm-tracker-btn.pause:hover  { background: #b45309; }
.pm-tracker-btn.stop   { background: #e5e7eb; color: #374151; }
.pm-tracker-btn.stop:hover   { background: #d1d5db; }

/* ===== クライアントポータル プロジェクトビュー ===== */
.pm-client-project-list { list-style: none; padding: 0; margin: 0; }
.pm-client-project-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: box-shadow .15s, transform .1s;
    position: relative;
    overflow: hidden;
}
.pm-client-project-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--pm-project-color, #6366f1);
}
.pm-client-project-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateX(2px);
}

/* ===== 印刷対応 ===== */
@media print {
    #pm-tracker-widget,
    .pm-no-print,
    .sidebar,
    .topbar,
    .alert-close { display: none !important; }
    .pm-project-card { break-inside: avoid; page-break-inside: avoid; }
    #pm-gantt-container { overflow: visible !important; }
    .main-content { margin-left: 0 !important; padding: 0 !important; }
    body { background: #fff !important; }
    .pm-project-grid { grid-template-columns: repeat(2, 1fr); }

    /* ガントチャート印刷用 */
    #gtt-container { display: block !important; overflow: visible !important; }
    #gtt-right { overflow: visible !important; }
    #gtt-right-inner { transform: none !important; }
}

/* ==========================================================================
   Phase 3: SALUTO UI/UX Refresh - プロジェクト管理 (body.ui-refresh スコープ)
   ========================================================================== */

/* ─── 共通セグメントナビゲーション ─── */
body.ui-refresh .pm-segment-nav {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  max-width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}
body.ui-refresh .pm-segment-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  min-height: 38px;
  box-sizing: border-box;
  white-space: nowrap;
}
body.ui-refresh .pm-segment-tab:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}
body.ui-refresh .pm-segment-tab.active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
body.ui-refresh .pm-segment-icon {
  font-size: 0.95rem;
}

/* ─── 案件一覧グリッド & カード ─── */
body.ui-refresh .pm-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
body.ui-refresh .pm-project-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
body.ui-refresh .pm-project-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
body.ui-refresh .pm-project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pm-project-color, #2563eb);
}

/* ─── フィルターバー ─── */
body.ui-refresh .pm-filter-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* ─── カンバンボード ─── */
body.ui-refresh .main-content {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.ui-refresh .content-body {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.ui-refresh .pm-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: 20px;
  min-height: 520px;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-sizing: border-box;
}
body.ui-refresh .pm-board-col {
  min-width: 280px;
  width: 280px;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-sizing: border-box;
}
body.ui-refresh .pm-board-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
body.ui-refresh .pm-board-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
body.ui-refresh .pm-board-col-count {
  background: #e2e8f0;
  color: #475569;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 800;
}
body.ui-refresh .pm-board-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  margin-bottom: 10px;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
body.ui-refresh .pm-board-card:active {
  cursor: grabbing;
}
body.ui-refresh .pm-board-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
body.ui-refresh .pm-board-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: break-word;
}
body.ui-refresh .pm-board-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* カンバン タッチ端末用ステータス変更セレクト（デフォルト/PCでは非表示） */
body.ui-refresh .pm-board-card-status-changer {
  display: none;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.ui-refresh .pm-status-changer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}
body.ui-refresh .pm-status-select {
  flex: 1;
  min-height: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: menulist;
  appearance: menulist;
}
body.ui-refresh .pm-status-select:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ─── モバイル用ガント切替タブ & ヒント ─── */
.gtt-mobile-view-toggle-wrap {
  display: none;
  margin-bottom: 12px;
}
.gtt-mobile-view-toggle {
  display: flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 8px;
  gap: 4px;
}
.gtt-toggle-btn {
  flex: 1;
  min-height: 44px;
  height: 44px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gtt-toggle-btn.active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.gtt-swipe-hint {
  font-size: 0.78rem;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
}

/* ─── ガントチャート操作バー ─── */
body.ui-refresh #gantt-top-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  box-sizing: border-box;
}
body.ui-refresh #pm-gantt-container {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ガント編集パネルの画面はみ出し防止 */
#gtt-edit-panel {
  width: min(400px, 100vw) !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* ─── モバイル・タブレット最適化 (<= 768px) ─── */
@media (max-width: 768px) {
  body.ui-refresh .pm-segment-nav {
    width: 100%;
    display: flex;
  }
  body.ui-refresh .pm-segment-tab {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 8px 10px;
    min-height: 40px;
  }

  /* カンバン タッチ用ステータス変更セレクト表示 */
  body.ui-refresh .pm-board-card-status-changer {
    display: flex !important;
  }

  /* プロジェクト一覧カードグリッド */
  body.ui-refresh .pm-project-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* リストテーブルのカード化 */
  body.ui-refresh .pm-table-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body.ui-refresh .pm-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.ui-refresh .pm-table thead {
    display: none !important;
  }
  body.ui-refresh .pm-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }
  body.ui-refresh .pm-table tr.proj-card {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.ui-refresh .pm-table td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    min-width: 0 !important;
  }
  body.ui-refresh .pm-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #64748b;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-right: 12px;
  }
  body.ui-refresh .pm-table td.cb-col {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 4px !important;
  }
  body.ui-refresh .pm-table td.cb-col::before {
    display: none !important;
  }
  body.ui-refresh .pm-table td.col-proj-name {
    display: block !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
  }
  body.ui-refresh .pm-table td.col-proj-name::before {
    display: none !important;
  }
  body.ui-refresh .pm-table td.col-actions {
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    border-bottom: none !important;
    padding-top: 12px !important;
    margin-top: 4px !important;
  }
  body.ui-refresh .pm-table td.col-actions::before {
    display: none !important;
  }
  body.ui-refresh .pm-table td.col-actions .btn,
  body.ui-refresh .pm-table td.col-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }

  /* タスクテーブルのカード化 */
  body.ui-refresh .pm-task-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.ui-refresh .pm-task-table thead {
    display: none !important;
  }
  body.ui-refresh .pm-task-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  body.ui-refresh .pm-task-table tr {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  body.ui-refresh .pm-task-table td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    min-width: 0 !important;
  }
  body.ui-refresh .pm-task-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #64748b;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-right: 12px;
  }
  body.ui-refresh .pm-task-table td.col-task-title {
    display: block !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 4px !important;
  }
  body.ui-refresh .pm-task-table td.col-task-title::before {
    display: none !important;
  }
  body.ui-refresh .pm-task-table td.col-task-action {
    display: flex !important;
    justify-content: flex-end !important;
    border-bottom: none !important;
    padding-top: 8px !important;
  }
  body.ui-refresh .pm-task-table td.col-task-action::before {
    display: none !important;
  }

  /* ガント操作バー */
  body.ui-refresh #gantt-top-bar > div {
    flex-wrap: wrap !important;
  }
  body.ui-refresh #gantt-top-bar .pm-no-print {
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* ガントチャート モバイル表示切替 */
  .gtt-mobile-view-toggle-wrap {
    display: block !important;
  }
  #gtt-splitter {
    display: none !important;
  }
  #pm-gantt-container.gtt-pane-left-active #gtt-left {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    border-right: none !important;
  }
  #pm-gantt-container.gtt-pane-left-active #gtt-right {
    display: none !important;
  }
  #pm-gantt-container.gtt-pane-right-active #gtt-left {
    display: none !important;
  }
  #pm-gantt-container.gtt-pane-right-active #gtt-right {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
