/* ===== RELEASE DETAILS - ENTERPRISE DASHBOARD ===== */
.rd-page { max-width: 1200px; margin: 0 auto; padding: 16px 0; }
.rd-page .text-btn { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; margin-bottom: 12px; padding: 0; }
.rd-page .text-btn:hover { color: var(--accent-hover); }
.rd-page .text-btn::before { content: '← '; }

/* Header */
.rd-header { display: flex; align-items: center; gap: 20px; padding: 20px 0 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.rd-header-info { flex: 1; }
.rd-header-info h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.rd-header-info .rd-artist { color: var(--accent); font-size: 14px; margin: 0 0 10px; cursor: pointer; }
.rd-header-info .rd-artist:hover { text-decoration: underline; }
.rd-header-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rd-meta-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }.rd-header-action{flex-shrink:0;align-self:flex-start}
.rd-action-btn { padding: 10px 20px !important; font-size: 13px !important; border-radius: 8px !important; }
.rd-action-btn.danger { background: var(--danger) !important; color: #fff !important; }
.rd-view-only-badge { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.06); cursor: default; }

/* Workflow Timeline */
.rd-workflow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 24px 0 20px; overflow-x: auto; }
.wf-stage { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; flex-shrink: 0; }
.wf-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.12); transition: all 0.2s; }
.wf-stage.done .wf-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 8px rgba(107,79,255,0.3); }
.wf-stage.active .wf-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(107,79,255,0.5); transform: scale(1.2); }
.wf-label { font-size: 10px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.wf-stage.active .wf-label { color: var(--accent); font-weight: 700; }
.wf-stage.done .wf-label { color: var(--text-secondary); }
.wf-line { flex: 1; min-width: 24px; max-width: 60px; height: 2px; background: rgba(255,255,255,0.08); margin: 0 -1px; margin-bottom: 16px; }
.wf-stage.done + .wf-line { background: var(--accent); }

/* Summary Cards */
.rd-summary-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 16px 0 8px; }
.rd-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 14px 12px; text-align: center; min-height: 70px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.rd-card .rd-card-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.rd-card b { font-size: 14px; color: var(--text); word-break: break-word; }

/* Tabs */
.rd-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-top: 20px; overflow-x: auto; position: sticky; top: 0; background: var(--bg); z-index: 10; padding-top: 4px; }
.rd-tabs button { background: none; border: none; color: var(--text-secondary); font-size: 13px; padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: all 0.15s; }
.rd-tabs button:hover { color: var(--text); background: rgba(255,255,255,0.02); }
.rd-tabs button.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Tab Content */
.rd-tab-content { padding: 20px 0; }
.rd-section { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.rd-section h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--text); }

/* Info Grid */
.rd-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.rd-info { display: flex; flex-direction: column; gap: 3px; }
.rd-info span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; }
.rd-info b { font-size: 13px; color: var(--text); font-weight: 500; }
.rd-info code { font-size: 12px; background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 4px; font-family: monospace; }

/* Overview Grid */
.rd-overview-grid { display: flex; flex-direction: column; gap: 16px; }

/* Validation */
.rd-validation { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-check { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; font-size: 12px; }
.rd-check.pass { background: rgba(52,199,89,0.1); color: #34c759; }
.rd-check.fail { background: rgba(255,69,58,0.1); color: #ff453a; }
.rd-check span { font-weight: 700; font-size: 13px; }
.rd-check small { font-size: 12px; }

/* Tables */
.rd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rd-table th { text-align: left; padding: 10px 12px; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; border-bottom: 1px solid var(--border); }
.rd-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-secondary); }
.rd-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.rd-table td code { font-size: 11px; background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 4px; }
.rd-table .empty { text-align: center; color: var(--text-muted); padding: 24px; }

/* Assets Grid */
.rd-assets-grid { display: flex; flex-direction: column; gap: 10px; }
.rd-asset-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; }
.rd-asset-card .rd-asset-icon { font-size: 24px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border-radius: 8px; flex-shrink: 0; }
.rd-asset-card div { flex: 1; }
.rd-asset-card b { font-size: 13px; display: block; margin-bottom: 2px; }
.rd-asset-card small { font-size: 12px; color: var(--text-muted); }
.rd-asset-card .secondary-page { flex-shrink: 0; padding: 6px 12px; font-size: 11px; }

/* Timeline */
.rd-timeline { display: flex; flex-direction: column; gap: 0; }
.rd-timeline-item { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.rd-timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 24px; bottom: -2px; width: 1px; background: rgba(255,255,255,0.08); }
.rd-timeline-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 4px; }
.rd-timeline-content p { margin: 0; font-size: 13px; color: var(--text-secondary); }
.rd-timeline-content b { color: var(--text); }
.rd-timeline-content small { color: var(--text-muted); font-size: 11px; }

/* Comments */
.rd-comments { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.rd-comment { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 14px; }
.rd-comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rd-comment-header b { font-size: 13px; }
.rd-comment-header small { font-size: 11px; color: var(--text-muted); }
.rd-comment-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rd-comment p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.rd-comment-reply { margin-left: 38px; margin-top: 10px; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 6px; border-left: 2px solid rgba(255,255,255,0.06); }
.rd-comment-input { display: flex; gap: 8px; align-items: flex-start; }
.rd-comment-input textarea { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 13px; resize: vertical; font-family: inherit; }
.rd-comment-input textarea:focus { border-color: var(--accent); outline: none; }
.rd-comment-input .primary { padding: 10px 16px; font-size: 13px; }

/* Empty States */
.rd-empty { text-align: center; padding: 32px 16px; color: var(--text-muted); font-size: 13px; }

/* Status Pills */
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; }
.status-draft { background: rgba(0,122,255,0.1); color: #0a84ff; }
.status-ready { background: rgba(255,149,0,0.1); color: #ff9f0a; }
.status-submitted { background: rgba(175,82,222,0.1); color: #bf5af2; }
.status-review, .status-in-review { background: rgba(88,86,214,0.1); color: #5e5ce6; }
.status-changes, .status-action-required { background: rgba(255,69,58,0.1); color: #ff453a; }
.status-approved { background: rgba(48,209,88,0.1); color: #30d158; }
.status-delivered { background: rgba(52,199,89,0.1); color: #34c759; }
.status-live { background: rgba(48,209,88,0.15); color: #30d158; }
.status-takedown-req, .status-takedown { background: rgba(255,159,10,0.1); color: #ff9f0a; }
.status-takedowned { background: rgba(191,64,68,0.15); color: #bf4044; }
.status-archived { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* Responsive */
@media (max-width: 900px) {
  .rd-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rd-summary-cards { grid-template-columns: repeat(3, 1fr); }
  .rd-overview-grid { gap: 12px; }
}
@media (max-width: 600px) {
  .rd-summary-cards { grid-template-columns: repeat(2, 1fr); }
  .rd-header-info h2 { font-size: 18px; }
  .rd-tabs button { padding: 10px 12px; font-size: 12px; }
  .rd-info-grid { grid-template-columns: 1fr; }
  .rd-table { font-size: 12px; }
  .rd-table th, .rd-table td { padding: 8px; }
}