/* Reading pages on the light design (18 Nov 2026): the guides, stamp duty by price, the free spreadsheet page and "Our data".
   Used with css/redesign.css on <body class="rd">; every rule is under .rd so no other page is touched. Tokens come from
   redesign.css (ink, text, muted, line, action, tint). Phone first: one column, tables scroll sideways inside their box. */
.rd .sp { padding-bottom: 48px; }
.rd .sp-col { max-width: 780px; margin: 0 auto; }
.rd .sp-col.sp-colwide { max-width: 980px; }
.rd .sp .cp-crumbs { max-width: 780px; margin: 12px auto 12px; }
.rd .sp-head { margin: 0 0 16px; }
.rd .sp-eyebrow { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border: 1px solid var(--tint-line); background: var(--tint); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--action-dark); }
.rd .sp-head h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
.rd .sp-meta { margin: 0; font-size: 13px; color: var(--muted); }
.rd .sp-lede { margin: 0; font-size: 17px; color: var(--text); }

.rd .sp-answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--action); border-radius: var(--r-card); padding: 16px; margin: 0 0 16px; }
.rd .sp-answer p { margin: 0 0 12px; font-size: 17px; color: var(--ink); }
.rd .sp-answer p:last-child { margin-bottom: 0; }
.rd .sp-act { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.rd .sp-answer .sp-act { font-size: 14px; }
.rd .sp-hint { font-size: 13px; color: var(--muted); }

.rd .sp-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 16px; margin: 0 0 24px; }
.rd .sp-toc p { margin: 0 0 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rd .sp-toc ol { margin: 0; padding-left: 20px; font-size: 14px; columns: 2; column-gap: 24px; }
.rd .sp-toc li { margin: 0 0 4px; break-inside: avoid; }

.rd .sp-sec { margin: 0 0 24px; scroll-margin-top: 72px; }
.rd .sp-sec h2, .rd .sp-related h2 { font-size: 22px; margin: 0 0 8px; }
.rd .sp-sec h3 { font-size: 17px; margin: 16px 0 4px; }
.rd .sp p, .rd .sp li { font-size: 16px; line-height: 1.55; }
.rd .sp p { margin: 0 0 12px; }
.rd .sp ul, .rd .sp ol { margin: 0 0 14px; padding-left: 22px; }
.rd .sp li { margin: 0 0 6px; }
.rd .sp-example { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 16px 4px; }

.rd .sp-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); -webkit-overflow-scrolling: touch; }
.rd .sp-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rd .sp-table caption { text-align: left; padding: 10px 12px 6px; font-size: 13px; font-weight: 600; color: var(--ink); caption-side: top; }
.rd .sp-table th, .rd .sp-table td { padding: 8px 12px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.rd .sp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; border-top: 0; background: var(--page); }
.rd .sp-table tbody th { color: var(--text); }
.rd .sp-table td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); white-space: nowrap; }
.rd .sp-table.sp-wide td:last-child { white-space: normal; font-weight: 400; color: var(--text); }
.rd .sp-example .sp-table { margin-bottom: 12px; }
.rd .sp-sticky { max-height: 70vh; overflow: auto; }
.rd .sp-sticky thead th { position: sticky; top: 0; z-index: 1; }
.rd .sp-sticky td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.rd .sp-table td a, .rd .sp-table th a { font-weight: 600; }

.rd .sp-note { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 16px; margin: 0 0 24px; }
.rd .sp-note p { margin: 0; font-size: 14px; color: var(--muted); }
.rd .sp-related { margin: 0 0 20px; }
.rd .sp-related li { font-size: 15px; }
.rd .sp-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd .sp-chips li { margin: 0; }
.rd .sp-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; background: #fff; font-weight: 600; font-size: 14px; }
.rd .sp-list { list-style: none; padding: 0; margin: 0 0 24px; }
.rd .sp-list li { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rd .sp-list h2 { font-size: 19px; margin: 0 0 4px; }
.rd .sp-list h2 a { text-decoration: none; }
.rd .sp-list p { margin: 0; font-size: 15px; color: var(--muted); }
.rd .sp-source { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 16px; margin: 0 0 12px; scroll-margin-top: 72px; }
.rd .sp-source h3 { margin: 0 0 6px; font-size: 17px; }
.rd .sp-source dl { margin: 0; }
.rd .sp-source dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin-top: 8px; }
.rd .sp-source dd { margin: 2px 0 0; font-size: 15px; }
.rd .sp-quote { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid var(--line-strong); background: var(--page); font-size: 15px; }

@media (max-width: 640px) {
  .rd .sp-head h1 { font-size: 24px; }
  .rd .sp-answer p { font-size: 16px; }
  .rd .sp-toc ol { columns: 1; }
  .rd .sp-table th, .rd .sp-table td { padding: 7px 10px; }
  .rd .sp-table.sp-wide td:last-child { min-width: 180px; }
}
