/* My Retirement Report page + its print layout */
.rep { padding-top: 40px; padding-bottom: 72px; }
.rep-hero { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: center; margin-bottom: 32px; }
.rep-hero h1 { color: var(--ink); }
.rep-hero img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 8%; }
@media (max-width: 700px) { .rep-hero { grid-template-columns: 1fr; } .rep-hero img { width: 140px; height: 140px; grid-row: 1; } }
.rep-offer { background: #fff; border: 1px solid rgba(11, 40, 78, .12); border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1fr 260px; gap: 30px; }
@media (max-width: 760px) { .rep-offer { grid-template-columns: 1fr; } }
.rep-offer h2 { font-size: 1.5rem; color: var(--ink); }
.rep-list { list-style: none; padding: 0; margin: 0 0 14px; }
.rep-list li { padding: 8px 12px; background: #eef5fc; border-radius: 10px; margin-bottom: 6px; color: var(--ink); }
.rep-perks { color: #46566b; padding-left: 20px; }
.rep-perks li { margin-bottom: 6px; }
.rep-price { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; text-align: center; align-self: start; }
.rep-price .price { font: 600 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.rep-price .price small { font: 500 .95rem var(--sans); color: var(--mist); }
.rep-price .btn { width: 100%; justify-content: center; }
.rep-price .btn.is-off { opacity: .55; cursor: default; }
.rep-fine { font-size: .82rem; color: var(--mist); margin: 12px 0 0; }
.rep-empty, .rep-wait { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); margin-top: 16px; }
.rep-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.rep-paper { background: #fff; border-radius: 18px; border: 1px solid rgba(11, 40, 78, .12); padding: 40px; max-width: 860px; }
@media (max-width: 600px) { .rep-paper { padding: 22px 16px; } }
.rep-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 3px solid var(--ink); padding-bottom: 16px; margin-bottom: 10px; }
.rep-head img { width: 72px; height: 72px; border-radius: 12px; }
.rep-brand { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.rep-head h2 { margin: 8px 0 4px; color: var(--ink); }
.rep-head p { margin: 0; color: #6b7a8c; }
.rep-sec { padding: 22px 0; border-bottom: 1px solid rgba(11, 40, 78, .12); break-inside: avoid-page; }
.rep-sec h3 { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); margin: 0 0 2px; }
.rep-when { font-size: .85rem; color: #6b7a8c; margin: 0 0 10px; }
.rep-in { border-collapse: collapse; width: 100%; font-size: .92rem; margin-bottom: 14px; }
.rep-in th, .rep-in td { text-align: left; padding: 6px 10px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.rep-in th { font-weight: 500; color: #46566b; width: 55%; }
.rep-in td { font-weight: 600; color: var(--ink); }
.rep-res { font-size: .95rem; overflow-x: auto; }
.rep-res svg { max-width: 100%; height: auto; }
.rep-note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 14px 0 0; }
.rep-next ol { padding-left: 20px; }
.rep-next li { margin-bottom: 6px; }
.rep-legal { font-size: .8rem; color: #6b7a8c; margin-top: 20px; }

@media print {
  .top, .foot, .rep-hero, .rep-bar, #rep-buy, .rep-wait { display: none !important; }
  body { background: #fff !important; font-size: 11pt; }
  .rep { padding: 0; max-width: none; }
  .rep-paper { border: 0; padding: 0; max-width: none; border-radius: 0; }
  .rep-res .result, .rep-res [class*="result"] { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  @page { size: letter; margin: 14mm 14mm 16mm; }
}
.wb-hero { grid-template-columns: 1fr 300px; }
.wb-cover { width: 300px !important; height: auto !important; border-radius: 10px !important; box-shadow: 0 20px 50px rgba(11, 40, 78, .3); transform: rotate(2deg); object-fit: contain !important; }
.wb-spread { width: 100%; border-radius: 16px; }
.rep-price .btn.is-off { pointer-events: none; }
@media (max-width: 700px) { .wb-hero { grid-template-columns: 1fr; } .wb-cover { width: 200px !important; margin: 0 auto; } }
