.rc-wrap { margin-bottom: 28px; }
.rc-doc { max-width: 720px; margin: 0 auto 14px; padding: 28px; border-radius: 14px; background: #fff; color: #111827; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid #111827; padding-bottom: 14px; }
.rc-name { font-size: 26px; font-weight: 900; letter-spacing: .04em; }
.rc-sub { font-size: 12px; color: #4b5563; margin-top: 4px; }
.rc-stamp { border: 3px solid #15803d; color: #15803d; border-radius: 8px; padding: 6px 14px; font-weight: 900; letter-spacing: .12em; transform: rotate(-6deg); }
.rc-stamp.bad { border-color: #b91c1c; color: #b91c1c; }
.rc-void .rc-table, .rc-void .rc-meta { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(185,28,28,.5); }
.rc-voidnote { margin-top: 12px; padding: 8px 10px; border: 1px solid #b91c1c; color: #b91c1c; border-radius: 6px; font-weight: 700; font-size: 13px; }
.rc-title { margin: 18px 0 12px; font-size: 20px; font-weight: 800; letter-spacing: .1em; }
.rc-meta { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.rc-meta dt { color: #6b7280; }
.rc-meta dd { font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.rc-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.rc-table th { text-align: left; border-bottom: 1px solid #111827; padding: 8px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.rc-table td { padding: 8px 6px; border-bottom: 1px solid #e5e7eb; }
.rc-table .num { text-align: right; white-space: nowrap; }
.rc-total { display: flex; justify-content: space-between; margin-top: 14px; font-size: 20px; font-weight: 900; }
.rc-method { margin-top: 10px; font-size: 13px; color: #374151; }
.rc-thanks { margin-top: 18px; font-weight: 700; }
.rc-note { margin-top: 6px; font-size: 11px; color: #6b7280; }
.rc-print { display: block; margin: 0 auto; padding: 12px 22px; }
@media (max-width: 520px) { .rc-doc { padding: 16px; } .rc-meta { grid-template-columns: 1fr; gap: 0; } .rc-meta dd { margin-bottom: 8px; } }
@media print {
  body { background: #fff !important; padding: 0 !important; }
  body > *:not(main), main > *:not(#rc-root), .rc-print, .md-fab, .cart-fab { display: none !important; }
  main, #rc-root, .rc-wrap { display: block !important; }
  .rc-doc { box-shadow: none; border-radius: 0; margin: 0; max-width: none; }
}
