/* Result cards for the Vision Board × Reset Năng Lượng kit — the look of the
   sample "Kết quả 14 ngày Reset Năng Lượng (bản mẫu)". Shared by /reset
   (student) and /coach (coach detail view). See result.js. */
.rk-card {
  --rk-ink: #0b0509; --rk-line: rgba(227, 197, 142, .22); --rk-gold: #E3C58E; --rk-gold2: #B8925A;
  --rk-cream: #F4EADB; --rk-mute: #bfb0a0; --rk-before: #8a7a8c; --rk-rose: #F06A86;
  width: 100%; max-width: 460px; margin: 0 auto; padding: 24px 14px 22px; box-sizing: border-box;
  background: radial-gradient(900px 600px at 50% -10%, #3a0d22 0%, #0b0509 60%), #0b0509;
  border-radius: 24px; color: var(--rk-cream); font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-weight: 300; line-height: 1.5;
}
.rk-card * { box-sizing: border-box; font-variant-numeric: lining-nums; }
.rk-gold { background: linear-gradient(180deg, #F8E6BE, #E3C58E 45%, #A9804A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rk-logo { text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 26px; letter-spacing: 1px; }
.rk-logo i { color: var(--rk-gold); font-weight: 500; }
.rk-rule { width: 80px; height: 1px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--rk-gold), transparent); }
.rk-kicker { font-weight: 600; font-size: 11px; letter-spacing: 4px; color: var(--rk-gold); text-transform: uppercase; }
.rk-center { text-align: center; }
.rk-box { background: linear-gradient(180deg, rgba(30, 10, 20, .92), rgba(18, 7, 13, .92)); border: 1px solid var(--rk-line); border-radius: 22px; padding: 22px 20px; margin-top: 16px; position: relative; overflow: hidden; }
.rk-box h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.2; margin: 6px 0 2px; color: var(--rk-cream); }
.rk-sub { font-size: 13px; color: var(--rk-mute); margin-bottom: 14px; }

.rk-hero { text-align: center; padding: 30px 20px 26px; }
.rk-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 34px; line-height: 1.1; margin: 10px 0 4px; color: var(--rk-cream); }
.rk-dates { font-size: 13px; color: var(--rk-mute); }
.rk-big { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.rk-n { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 64px; line-height: 1; font-variant-numeric: lining-nums; }
.rk-before { color: var(--rk-before); }
.rk-arrow { font-size: 26px; color: var(--rk-gold); }
.rk-big small { display: block; font-size: 11px; letter-spacing: 2px; color: var(--rk-mute); margin-top: 6px; font-weight: 400; }
.rk-pill { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: linear-gradient(180deg, #F3DDAE, #C9A167); color: #1a0710; font-weight: 600; font-size: 14px; }
.rk-pill--flat { background: transparent; color: var(--rk-mute); border: 1px solid var(--rk-line); font-weight: 400; }

.rk-dw { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 26px; margin: 8px 0 4px; }

.rk-radar { display: block; width: 100%; }
.rk-legend { display: flex; gap: 16px; justify-content: center; font-size: 12px; color: var(--rk-mute); margin-top: 4px; }
.rk-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--rk-gold, #E3C58E); }
.rk-legend span.rk-lg-b::before { background: var(--rk-before, #8a7a8c); }

.rk-row { display: grid; grid-template-columns: 118px 1fr 52px; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(227, 197, 142, .1); }
.rk-row:first-of-type { border-top: 0; }
.rk-lb { font-size: 13px; line-height: 1.3; }
.rk-bars { display: flex; flex-direction: column; gap: 5px; }
.rk-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.rk-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; }
.rk-bar.rk-b i { background: var(--rk-before); }
.rk-bar.rk-a i { background: linear-gradient(90deg, #B8925A, #F3DDAE); }
.rk-delta { font-weight: 600; font-size: 14px; text-align: right; color: var(--rk-gold); }
.rk-delta.rk-neg { color: var(--rk-rose); }

.rk-line { display: block; width: 100%; }

.rk-grid14 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 6px; }
.rk-day { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--rk-line); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--rk-mute); gap: 3px; }
.rk-day b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: var(--rk-cream); font-weight: 600; line-height: 1; }
.rk-day span { font-size: 9px; letter-spacing: 1px; min-height: 11px; }
.rk-day.rk-on { background: linear-gradient(180deg, rgba(227, 197, 142, .22), rgba(227, 197, 142, .06)); border-color: rgba(227, 197, 142, .55); }
.rk-stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; text-align: center; }
.rk-stats3 div { border: 1px solid var(--rk-line); border-radius: 14px; padding: 12px 6px; }
.rk-stats3 b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1; }
.rk-stats3 span { font-size: 11px; color: var(--rk-mute); }

.rk-quote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.35; text-align: center; padding: 10px 4px 4px; white-space: pre-wrap; word-break: break-word; }
.rk-quote--sm { font-size: 19px; padding-top: 4px; }
.rk-kw { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rk-kw span { border: 1px solid var(--rk-line); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.rk-kw b { color: var(--rk-gold); font-weight: 600; }
.rk-foot { text-align: center; font-size: 12px; color: var(--rk-mute); margin-top: 22px; }

/* Hành trình Trước ↔ Sau khoá */
.rk-card.rk-journey { max-width: 760px; }
.rk-words { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 12px; }
.rk-words > div { padding: 12px 10px; border-radius: 16px; border: 1px solid var(--rk-line); background: rgba(0, 0, 0, .22); }
.rk-words small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--rk-mute); }
.rk-words b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.25; margin-top: 4px; color: var(--rk-cream); }
.rk-words b.rk-gold { color: transparent; }
.rk-words i { font-style: normal; color: var(--rk-gold); font-size: 22px; }
.rk-jq { margin: 14px 0; }
.rk-jq:first-of-type { margin-top: 0; }
.rk-jq h5, .rk-jf h5 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 18px; color: var(--rk-gold); margin: 0 0 6px; }
.rk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rk-cols > div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rk-line); background: rgba(0, 0, 0, .2); font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.rk-cols > div.rk-after { border-color: rgba(227, 197, 142, .55); background: linear-gradient(180deg, rgba(227, 197, 142, .14), rgba(227, 197, 142, .04)); }
.rk-tag { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--rk-gold); margin-bottom: 4px; }
@media (max-width: 600px) { .rk-cols { grid-template-columns: 1fr; } }
.rk-jf { margin: 12px 0; }
.rk-jf:first-of-type { margin-top: 0; }
.rk-jf p { margin: 0; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
