.brpt-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem;
}

.brpt-wrap {
  width: 100%;
}

.brpt-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .brpt-grid {
    grid-template-columns: 1fr;
  }
}

.brpt-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.brpt-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text, #1e293b);
}

.brpt-sub-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--text, #1e293b);
}

.brpt-form-group {
  margin-bottom: 1rem;
}

.brpt-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brpt-col {
  flex: 1;
}

.brpt-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin-bottom: 0.35rem;
}

.brpt-input,
.brpt-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text, #1e293b);
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
}

.brpt-input:focus,
.brpt-select:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.brpt-mode-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.25rem;
  margin-bottom: 1.25rem;
}

.brpt-mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  min-height: 38px;
  transition: all 0.15s ease;
}

.brpt-mode-active {
  background: #ffffff;
  color: #d97706;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.brpt-audio-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.25rem;
}

.brpt-audio-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b45309;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.brpt-audio-result {
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
  margin: 0;
}

.brpt-hidden {
  display: none !important;
}

/* Progress section */
.brpt-progress-section {
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.brpt-progress-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.brpt-progress-book {
  color: var(--text, #1e293b);
}

.brpt-progress-pct {
  color: #d97706;
}

.brpt-progress-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.brpt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 5px;
  transition: width 0.3s ease;
}

.brpt-progress-sub {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted, #64748b);
}

/* KPI Cards */
.brpt-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.brpt-kpi-card {
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.brpt-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.brpt-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.brpt-kpi-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.brpt-kpi-daily {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  color: #c2410c;
}

.brpt-kpi-time {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #15803d;
}

.brpt-kpi-finish {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
}

.brpt-kpi-total {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  color: #7e22ce;
}

/* Milestone Schedule */
.brpt-milestones-section {
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 1rem;
}

.brpt-table-wrap {
  overflow-x: auto;
}

.brpt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.brpt-table th {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 2px solid var(--border, #e2e8f0);
  color: var(--muted, #64748b);
  font-weight: 600;
}

.brpt-table td {
  padding: 0.5rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.brpt-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brpt-btn-action {
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.brpt-btn-action:hover {
  background: #b45309;
}

.brpt-status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
}
