/* VibeCrew overlays — overlays.css(2,952줄) 기능별 분해 (보비·2026-05-30·비비 R3 배치).
   cascade 순서 보존: base→media→panels→mobile→ceo. index.html 에서 이 순서로 로드. */

/* ===== Shared Mobile Overlay Polish ===== */
.journal-entry-overlay,
.prompt-editor-overlay,
.me-screen-overlay,
.activity-screen-overlay,
.usage-screen-overlay,
.autonomy-overlay,
.integration-overlay,
.project-detail-overlay,
.bibi-view-overlay {
  min-height: 100svh;
  overflow: hidden;
}

.je-nav,
.pe-top-bar,
.me-top-bar,
.act-top-bar,
.us-top-bar,
.au-top-bar,
.int-top-bar,
.bb-top-bar {
  position: relative;
  z-index: 6;
  background: var(--vc-bg-2-70);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--vc-line);
}

.je-scroll,
.pe-scroll,
.me-scroll,
.act-scroll,
.us-scroll,
.au-scroll,
.int-scroll,
.pd-scroll,
.bb-scroll {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.wp-nav-btn,
.wp-avatar-frame,
.wp-avatar-edit,
.wp-action-btn,
.wp-media-thumb,
.vm-close-btn,
.vm-ctrl-btn,
.vm-hangup-btn,
.je-nav-btn,
.je-react-btn,
.je-share-btn,
.pe-top-btn,
.pe-copy-btn,
.me-close-btn,
.me-edit-btn,
.me-row,
.act-close-btn,
.us-back-btn,
.au-top-btn,
.au-level-card,
.int-back-btn,
.pd-nav-btn,
.pd-action-btn,
.bb-back-btn,
.bb-voice-btn,
.bb-chip,
.bb-send-btn {
  touch-action: manipulation;
}

.wp-nav-btn:focus-visible,
.wp-avatar-frame:focus-visible,
.wp-avatar-edit:focus-visible,
.wp-action-btn:focus-visible,
.wp-media-thumb:focus-visible,
.vm-close-btn:focus-visible,
.vm-ctrl-btn:focus-visible,
.vm-hangup-btn:focus-visible,
.je-nav-btn:focus-visible,
.je-react-btn:focus-visible,
.je-share-btn:focus-visible,
.pe-top-btn:focus-visible,
.pe-copy-btn:focus-visible,
.me-close-btn:focus-visible,
.me-edit-btn:focus-visible,
.me-row:focus-visible,
.act-close-btn:focus-visible,
.us-back-btn:focus-visible,
.au-top-btn:focus-visible,
.au-level-card:focus-visible,
.int-back-btn:focus-visible,
.pd-nav-btn:focus-visible,
.pd-action-btn:focus-visible,
.bb-back-btn:focus-visible,
.bb-voice-btn:focus-visible,
.bb-chip:focus-visible,
.bb-send-btn:focus-visible {
  outline: 2px solid var(--vc-blue);
  outline-offset: 2px;
}

.wp-action-btn,
.act-kpi-card,
.me-kpi-card,
.pd-kpi-item,
.us-worker-row,
.us-model-row {
  min-width: 0;
}

.wp-action-btn span,
.wp-action-btn small,
.act-kpi-card span,
.me-kpi-lbl,
.pd-kpi-lbl,
.us-worker-name,
.us-model-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* KPI 그리드 4col→2col 분기를 640px 로 (보비 2026-06-02).
   기존 420px 분기는 iPhone 15 Pro Max(430px)에 안 걸려 4칸이 꽉 껴 숫자가 잘렸음.
   .prd-stats-grid(overlay_mobile:409)는 이미 640px 라 그것과 통일. */
@media (max-width: 640px) {
  .wp-kpi,
  .act-kpi-grid,
  .pd-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .wp-actions,
  .wp-kpi,
  .act-kpi-grid,
  .pd-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .me-profile-inner {
    align-items: flex-start;
    padding: 18px;
  }

  .me-edit-btn {
    align-self: flex-start;
  }

  .us-hero-cost span:first-child {
    font-size: 34px;
  }
}

@media (max-width: 360px) {
  .mh-projects-grid,
  .me-kpi-row {
    grid-template-columns: 1fr;
  }

  .bb-header-status,
  .wp-bio,
  .us-hero-footer {
    font-size: 11px;
  }
}

@media (max-height: 700px) {
  .vm-center {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .vm-orb-wrap {
    width: 128px;
    height: 128px;
    margin-bottom: 14px;
  }

  .vm-orb,
  .vm-ring-1 {
    width: 128px;
    height: 128px;
  }

  .vm-ring-2 { width: 152px; height: 152px; }
  .vm-ring-3 { width: 176px; height: 176px; }
  .vm-ring-4 { width: 204px; height: 204px; }
  .vm-transcript { max-height: 24svh; }
  .vm-controls { padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .worker-profile-overlay *,
  .voice-mode-overlay *,
  .journal-entry-overlay,
  .prompt-editor-overlay,
  .me-screen-overlay,
  .activity-screen-overlay,
  .usage-screen-overlay,
  .autonomy-overlay,
  .integration-overlay,
  .project-detail-overlay,
  .bibi-view-overlay {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Empty States ===== */
.mh-empty {
  display: flex !important; flex-direction: column;
  align-items: center; justify-content: flex-start;
  overflow-y: auto;
}
.mh-empty-inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 20px 80px; text-align: center; max-width: 340px; width: 100%;
}
.mh-empty-mark {
  width: 64px; height: 64px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--vc-r-3);
  background: var(--vc-blue-10);
  border: 1px solid var(--vc-blue-20);
  color: var(--vc-blue-2);
}
.mh-empty-title { font-size: 24px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.mh-empty-desc { font-size: 14px; color: var(--vc-text-2); line-height: 1.55; margin: 0 auto 24px; }
.mh-empty-cta {
  width: 100%; height: 56px; border-radius: var(--vc-r-3); margin-bottom: 10px;
  background: var(--vc-blue);
  border: 1px solid var(--vc-blue-50); color: var(--vc-on-accent); font-size: 16px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 22px var(--vc-blue-20);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  -webkit-tap-highlight-color: transparent;
}
.mh-empty-cta-sec {
  width: 100%; height: 52px; border-radius: var(--vc-r-3);
  background: var(--vc-white-04); border: 1px solid var(--vc-line-2);
  color: var(--vc-text); font-size: 14px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.mh-empty-examples { width: 100%; margin-top: 28px; }
.mh-empty-example-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--vc-muted); margin-bottom: 10px;
}
.mh-empty-example {
  padding: 12px 14px; background: var(--vc-white-025);
  border: 1px solid var(--vc-line); border-radius: var(--vc-r-3);
  font-size: 13.5px; color: var(--vc-text-2); font-style: italic;
  margin-bottom: 8px; text-align: left; cursor: pointer;
  transition: background var(--vc-fast); -webkit-tap-highlight-color: transparent;
}
.mh-empty-example:hover { background: var(--vc-white-05); }

/* ============================================================
   Task #19: Activity Panel (iPad 4-pane)
   ============================================================ */
.activity-panel {
  display: none;
  flex-direction: column;
  border-left: 1px solid var(--vc-line);
  background: var(--vc-bg-2-40);
  overflow-y: auto;
  padding: 16px 14px 24px;
  scrollbar-width: thin;
  min-width: 0;
}
.activity-panel.collapsed {
  align-items: center;
  overflow: hidden;
  padding: 10px 6px;
}
@media (min-width: 769px) and (max-width: 1023px) {
  .layout { grid-template-columns: 56px minmax(190px, 240px) minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .layout { grid-template-columns: 60px minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 258px); }
  .layout.activity-collapsed { grid-template-columns: 60px minmax(220px, 260px) minmax(0, 1fr) 46px; }
  .activity-panel { display: flex; }
}
.ap-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ap-title { font-size: 13px; font-weight: 600; }
.ap-head-actions { display: flex; align-items: center; gap: 6px; }
.ap-live-label { font-size: 10px; color: var(--vc-muted); }
.ap-toggle-btn {
  width: 28px; height: 28px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--vc-line-2); border-radius: var(--vc-r-3);
  background: var(--vc-white-035); color: var(--vc-text-2);
  cursor: pointer; transition: background var(--vc-fast), color var(--vc-fast), border-color var(--vc-fast);
}
.ap-toggle-btn:hover { background: var(--vc-blue-10); color: var(--vc-text); border-color: var(--vc-blue-30); }
.ap-collapse-rail {
  width: 34px; min-height: 168px; padding: 8px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  border: 1px solid var(--vc-line-2); border-radius: var(--vc-r-4);
  background: var(--vc-surface); color: var(--vc-text-2);
  cursor: pointer; transition: background var(--vc-fast), border-color var(--vc-fast), color var(--vc-fast);
}
.ap-collapse-rail:hover { background: var(--vc-blue-10); border-color: var(--vc-blue-30); color: var(--vc-text); }
.ap-collapse-rail:focus-visible, .ap-toggle-btn:focus-visible { outline: 2px solid var(--vc-blue); outline-offset: 2px; }
.ap-rail-label {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
}
.ap-rail-count {
  min-width: 22px; min-height: 22px; padding: 2px 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--vc-r-pill);
  background: var(--vc-blue-10); color: var(--vc-blue-2);
  font-size: 12px; font-weight: 800;
}
.ap-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.ap-stat-card {
  padding: 10px 10px 8px; background: var(--vc-surface);
  border: 1px solid var(--vc-line); border-radius: 10px;
}
.ap-stat-accent { background: var(--vc-blue-10); border-color: var(--vc-blue-20); }
.ap-stat-val { font-size: 22px; font-weight: 700; letter-spacing: 0; }
.ap-stat-accent .ap-stat-val { color: var(--vc-blue-2); }
.ap-stat-lbl { font-size: 11px; color: var(--vc-muted); margin-top: 1px; }
.ap-stat-sub { font-size: 10px; color: var(--vc-muted); }
.ap-sec-label {
  font-size: 10px; font-weight: 700; color: var(--vc-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.ap-bars { display: flex; align-items: flex-end; gap: 2px; height: 50px; margin-bottom: 4px; }
.ap-bar {
  flex: 1; background: var(--vc-blue-30); border-radius: 2px 2px 0 0;
  min-height: 4px; transition: background var(--vc-fast);
}
.ap-bar[data-accent="true"] { background: var(--vc-blue); }
.ap-events { display: flex; flex-direction: column; gap: 6px; }
.ap-event-row { display: flex; align-items: center; gap: 10px; }
.ap-event-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ap-event-info { flex: 1; min-width: 0; }
.ap-event-name { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-event-time { font-size: 10px; color: var(--vc-muted); }
.ap-empty { font-size: 11px; color: var(--vc-muted); text-align: center; padding: 12px 0; }
/* id38: 선택 워커 도구사용 실시간(worker_progress #765·채팅 SSE 독립) */
.ap-wpl { margin: 8px 0 4px; }
.ap-wpl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.ap-wpl-name { font-size: 11px; font-weight: 600; color: var(--vc-text); }
.ap-wpl-fresh { font-size: 9px; color: var(--vc-muted); display: flex; align-items: center; gap: 3px; }
.ap-wpl-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vc-green); display: inline-block; animation: float-pulse 1.4s infinite; }
.ap-wpl-row { display: flex; gap: 6px; padding: 3px 0; font-size: 10px; border-bottom: 1px solid var(--vc-line); }
.ap-wpl-k { flex-shrink: 0; font-weight: 600; min-width: 40px; display: flex; align-items: center; gap: 3px; }
.ap-wpl-l { color: var(--vc-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--vc-mono); }
.ap-wpl-run { width: 5px; height: 5px; border-radius: 50%; background: var(--vc-amber); animation: float-pulse 1s infinite; display: inline-block; flex-shrink: 0; }
.ap-wpl-err { width: 5px; height: 5px; border-radius: 50%; background: var(--vc-red); display: inline-block; flex-shrink: 0; }
.ap-wpl-idle { font-size: 10px; color: var(--vc-muted); padding: 6px 0; }
.ap-action-btn {
  width: 100%; margin-top: 8px; padding: 9px 12px; text-align: left;
  background: var(--vc-surface); border: 1px solid var(--vc-line); border-radius: 8px;
  color: var(--vc-text-2); font-size: 12px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: background var(--vc-fast);
}
.ap-action-btn:hover { background: var(--vc-surface-2); color: var(--vc-text); }


/* ============================================================
   Task #20: PR Detail Overlay (VcLaptopPRDetail)
   ============================================================ */
.prd-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: var(--vc-bg);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.prd-overlay.prd-open { transform: translateY(0); }
.prd-header {
  height: 52px; flex-shrink: 0; padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--vc-line);
  background: var(--vc-bg-2-70);
  backdrop-filter: blur(12px);
}
.prd-breadcrumb { display: flex; align-items: center; gap: 8px; }
.prd-logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--vc-blue), var(--vc-purple));
  display: flex; align-items: center; justify-content: center;
}
.prd-bc-main { font-weight: 700; font-size: 14px; }
.prd-bc-sep { color: var(--vc-white-20); }
.prd-bc-sub { color: var(--vc-text-2); font-size: 13px; }
.prd-bc-current { font-size: 13px; font-weight: 500; }
.prd-gh-btn {
  padding: 6px 12px; border-radius: 7px; border: 1px solid var(--vc-line-2);
  background: var(--vc-white-04); color: var(--vc-text-2); font-size: 12px;
  cursor: pointer; transition: background var(--vc-fast);
}
.prd-gh-btn:hover { background: var(--vc-white-08); color: var(--vc-text); }
.prd-close-btn {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--vc-white-06); color: var(--vc-text-2); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--vc-fast); margin-left: 4px;
}
.prd-close-btn svg { width: 15px; height: 15px; }
.prd-close-btn:hover { background: var(--vc-white-12); color: var(--vc-text); }
.prd-scroll { flex: 1; overflow-y: auto; scrollbar-width: thin; }
.prd-inner { max-width: 1100px; margin: 0 auto; padding: 32px 32px 60px; }
.prd-title-block { margin-bottom: 26px; }
.prd-status-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.prd-status-pill { padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.prd-status-meta { font-size: 12px; color: var(--vc-muted); }
.prd-title { margin: 0 0 12px; font-size: 28px; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
@media (max-width: 640px) { .prd-title { font-size: 20px; } }
.prd-num { color: var(--vc-muted); font-weight: 400; }
.prd-meta-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--vc-text-2); flex-wrap: wrap; }
.prd-author-av {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--vc-purple), var(--vc-blue));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--vc-on-accent);
}
.prd-branch { font-family: var(--vc-mono); font-size: 12px; color: var(--vc-muted); margin-left: 10px; }
.prd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 640px) { .prd-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.prd-stat {
  padding: 14px 14px 12px; background: var(--vc-surface);
  border: 1px solid var(--vc-line); border-radius: 10px;
}
.prd-stat-accent { background: var(--vc-blue-10); border-color: var(--vc-blue-20); }
.prd-stat-val { font-size: 26px; font-weight: 700; letter-spacing: 0; }
.prd-stat-accent .prd-stat-val { color: var(--vc-green-2); font-size: 22px; }
.prd-stat-lbl { font-size: 12px; color: var(--vc-muted); margin-top: 2px; }
.prd-stat-sub { font-size: 11px; color: var(--vc-muted); }
.prd-columns { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 900px) { .prd-columns { grid-template-columns: 1fr; } }
.prd-card {
  background: var(--vc-surface); border: 1px solid var(--vc-line); border-radius: 12px;
}
.prd-card-title { font-size: 14px; font-weight: 600; padding: 16px 18px 0; margin-bottom: 10px; }
.prd-desc-card { padding: 16px 18px; margin-bottom: 20px; }
.prd-desc-body { font-size: 13.5px; line-height: 1.65; color: var(--vc-text-2); }
.prd-desc-body p { margin: 0 0 10px; }
.prd-desc-body p:last-child { margin: 0; }
.prd-files-section { margin-bottom: 24px; }
.prd-review-section { margin-bottom: 12px; }
.prd-sec-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.prd-files-card { overflow: hidden; }
.prd-file-row { border-bottom: 1px solid var(--vc-line); }
.prd-file-row:last-child { border-bottom: none; }
.prd-file-summary {
  padding: 12px 16px; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-family: var(--vc-mono);
}
.prd-file-summary::-webkit-details-marker { display: none; }
.prd-file-toggle {
  width: 7px; height: 7px; display: inline-block; flex: 0 0 auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  color: var(--vc-muted); transform: rotate(-45deg); transition: transform 0.15s;
}
.prd-file-row[open] .prd-file-toggle { transform: rotate(45deg); }
.prd-file-name { flex: 1; color: var(--vc-text); }
.prd-add { color: var(--vc-green-2); }
.prd-del { color: var(--vc-red-2); }
.prd-diff {
  padding: 10px 16px; background: var(--vc-input);
  border-top: 1px solid var(--vc-line);
  font-family: var(--vc-mono); font-size: 12px; line-height: 1.6;
}
.prd-diff-line { padding: 1px 8px; border-left: 2px solid transparent; }
.prd-add-line { background: var(--vc-green-10); border-color: var(--vc-green); color: var(--vc-green-2); }
.prd-del-line { background: var(--vc-red-10); border-color: var(--vc-red-2); color: var(--vc-red-2); }
.prd-diff-more { text-align: center; color: var(--vc-muted); font-size: 11px; margin-top: 6px; }
.prd-review-card, .prd-ci-card { padding: 14px 16px; }
.prd-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.prd-review-av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--vc-blue), var(--vc-purple));
  color: var(--vc-on-accent); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.prd-ci-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--vc-green-15); color: var(--vc-green-2);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.prd-ci-icon svg { width: 15px; height: 15px; }
.prd-review-name { font-weight: 600; font-size: 13px; }
.prd-review-badge {
  padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600;
}
.prd-badge-green { background: var(--vc-green-15); color: var(--vc-green-2); }
.prd-badge-purple { background: var(--vc-purple-15); color: var(--vc-purple); }
.prd-review-ts { font-size: 11px; color: var(--vc-muted); margin-left: auto; }
.prd-review-body { font-size: 13px; color: var(--vc-text-2); line-height: 1.55; }
.prd-ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-family: var(--vc-mono); font-size: 12px; }
.prd-ci-check { color: var(--vc-green-2); }
.prd-meta-label {
  font-size: 11px; font-weight: 600; color: var(--vc-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.prd-participants { padding: 2px 14px; margin-bottom: 4px; }
.prd-participant { padding: 10px 0; display: flex; align-items: center; gap: 10px; }
.prd-part-sep { border-top: 1px solid var(--vc-line); }
.prd-part-av {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--vc-on-accent);
}
.prd-part-bibi { background: linear-gradient(135deg, var(--vc-purple), var(--vc-blue)); }
.prd-part-rev { background: linear-gradient(135deg, var(--vc-blue), var(--vc-green)); }
.prd-part-name { font-size: 13px; font-weight: 600; }
.prd-part-role { font-size: 11px; color: var(--vc-muted); }
.prd-labels { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.prd-label {
  padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600;
  background: var(--vc-purple-15); color: var(--vc-purple);
  border: 1px solid var(--vc-purple-30);
}
.prd-timeline { position: relative; padding-left: 22px; }
.prd-timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 1px; background: var(--vc-line);
}
.prd-tl-item { position: relative; padding-bottom: 12px; }
.prd-tl-dot {
  position: absolute; left: -19px; top: 3px;
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--vc-bg);
}
.prd-tl-info {}
.prd-tl-what { font-size: 12px; font-weight: 600; }
.prd-tl-ts { font-size: 11px; color: var(--vc-muted); }

/* Mobile: PR overlay collapse. Crew view mobile rules live in crew.css. */
@media (max-width: 640px) {
  .prd-overlay { border-radius: 0; }
  .prd-inner { padding: 20px 16px 40px; }
}
/* Safe-area and mobile modal overrides must load after overlay base rules. */
.toast {
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
}
.lightbox-close {
  top: max(16px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
}
@media (max-width: 640px) {
  .toast { left: 12px; right: 12px; max-width: none; top: 12px; }
  .modal { padding: 16px; }
  .modal input, .modal select, .modal textarea:not(.chat-input-area) { font-size: 16px; }
  .modal-bg {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100svh - max(12px, env(safe-area-inset-top)));
    border-radius: var(--vc-r-4) var(--vc-r-4) 0 0;
  }
}

/* PR 상세 실데이터 전환 보강 — 목록 행·빈상태·리뷰 배지 (보비 2026-06-13) */
.prd-empty { color: var(--vc-muted); font-size: var(--vc-fs-sm); padding: 10px 4px; }
.prd-list-card { display: flex; flex-direction: column; }
.prd-list-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--vc-line-2); padding: 11px 12px; cursor: pointer; color: var(--vc-text); font-family: inherit; font-size: var(--vc-fs-sm); }
.prd-list-row:last-child { border-bottom: none; }
.prd-list-row:hover { background: var(--vc-bg-2-40); }
.prd-list-row:focus-visible { outline: 2px solid var(--vc-blue); outline-offset: -2px; }
.prd-list-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prd-list-meta { color: var(--vc-muted); font-size: var(--vc-fs-xs); flex-shrink: 0; }
.prd-badge-red { color: var(--vc-red-2); background: var(--vc-red-10); }
.prd-badge-gray { color: var(--vc-text-2); background: var(--vc-bg-2-50); }
.prd-rev-sep { height: 1px; background: var(--vc-line-2); margin: 10px 0; }
.prd-file-flat { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.prd-file-flat .prd-file-name { flex: 1; }
