/* Report card orders (orders.js). Uses the panel tokens (--radpa-*). */
.ord-intro h2 { margin: 0 0 8px; }
.ord-intro p { line-height: 1.9; margin: 6px 0; }
.ord-price b { color: var(--radpa-wine); font-size: 18px; }
.ord-months { display: grid; gap: 10px; margin: 14px 0; }
.ord-month { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #e1e6ed; border-radius: 14px; }
.ord-month span:first-child { font-weight: 700; }
.ord-month button { min-height: 44px; }
.ord-row { padding: 16px 0; border-bottom: 1px solid #e7edf3; }
.ord-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ord-head p { margin: 4px 0; color: #52647a; font-size: 14px; }
.ord-state { display: block; margin-top: 4px; font-size: 13px; color: #64758a; }
.ord-row.waiting .ord-state { color: var(--radpa-warning); font-weight: 700; }
.ord-row.delivered .ord-state { color: var(--radpa-positive); font-weight: 700; }
.ord-row.refunded .ord-state { color: var(--radpa-danger); }
.ord-file { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ord-note { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--radpa-blue-tint); line-height: 1.8; }
.ord-tools { display: grid; gap: 12px; margin-top: 12px; }
.ord-summary summary { cursor: pointer; font-weight: 700; color: var(--radpa-navy); min-height: 44px; display: flex; align-items: center; }
.ord-deliver { display: grid; gap: 10px; }
.ord-deliver label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.ord-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ord-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 10px; }
.ord-kpis div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #f3f6fa; text-align: center; }
.ord-kpis b { font: 800 22px Vazirmatn, sans-serif; color: var(--radpa-navy); }
.ord-kpis span { font-size: 12px; color: #64758a; }
.ord-sum table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.ord-sum caption { text-align: right; font-weight: 700; padding: 6px 0; color: var(--radpa-navy); }
.ord-sum td { padding: 8px 6px; border-bottom: 1px solid #edf1f6; }
.ord-sum td:last-child { text-align: left; white-space: nowrap; font-weight: 700; }
.ord-home { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; border-top: 4px solid var(--radpa-wine); }
.ord-home h2 { margin: 0 0 4px; font-size: 20px; }
.ord-home p { margin: 0; color: #52647a; }
@media (max-width: 760px) {
  .ord-kpis { grid-template-columns: 1fr 1fr; }
  .ord-home, .ord-head, .ord-month { flex-wrap: wrap; }
  .ord-home button, .ord-month button { width: 100%; }
}
.ord-ai { margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: var(--radpa-blue-tint); }
.ord-ai button[data-ai] { min-height: 44px; }
.ord-ai .muted { margin: 6px 0 0; font-size: 13px; }
.ord-own { margin: 10px 0; }
.ord-own summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--radpa-slate); }
/* the report card editor (report-card.js) */
.rc-editor label { display: grid; gap: 6px; margin: 12px 0; font-weight: 700; }
.rc-ai { padding: 14px 16px; border-radius: 14px; background: var(--radpa-rose); margin: 12px 0; }
.rc-ai button { min-height: 48px; }
.rc-ai .muted { margin: 8px 0 0; font-size: 14px; }
.rc-list { border: 1px solid #e1e6ed; border-radius: 14px; padding: 10px 14px; margin: 14px 0; }
.rc-list legend { font-weight: 700; padding: 0 6px; }
.rc-list > .muted { margin: 0 0 8px; font-size: 13px; }
.rc-list[data-list="strengths"] { border-right: 4px solid var(--radpa-positive); }
.rc-list[data-list="weaknesses"] { border-right: 4px solid var(--radpa-warning); }
.rc-list[data-list="goals"] { border-right: 4px solid var(--radpa-wine); }
.rc-item { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px dashed #dfe5ec; }
.rc-item button { justify-self: start; }
.rc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 8px; }
.rc-actions button { min-height: 48px; }
.rc-page { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto 16px; border: 1px solid #e1e6ed; border-radius: 8px; box-shadow: 0 6px 24px #17304a12; }
@media (max-width: 760px) { .rc-actions button { flex: 1 1 100%; } }
