/* RDP ACE Plan Table order form: the plan table of a location page on rdpace.com. Uses the
   colours of the RDP ACE Website template (--accent, --ink, --line, --rd-mint...), with
   fallbacks so it also holds under another template. */
html:has(body.hz-public) { overflow-x: clip; }
.rp-hero { position: relative; overflow: hidden; margin: -34px calc(50% - 50vw) 28px; padding: 40px max(20px, calc(50vw - 580px)) 36px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--line) 70%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--line) 70%, transparent) 39px 40px); }
.rp-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; background: var(--accent); opacity: .10; transform: rotate(45deg); pointer-events: none; }
.rp-hero > * { position: relative; z-index: 1; }
body.hz-app .rp-hero { margin: 0 0 24px; padding: 30px 26px; border: 1px solid var(--line); }
.rp-hero .crumbs { margin-bottom: 16px; }
.rp-eyebrow { display: inline-block; font: 600 .76rem/1 var(--rd-mono, ui-monospace, Menlo, Consolas, monospace); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); border: 1px solid var(--accent); background: var(--accent-soft); padding: 6px 10px; margin-bottom: 14px; }
.rp-hero .page-title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 .35em; max-width: 20em; text-wrap: balance; background: linear-gradient(90deg, var(--ink) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rp-hero .lead { max-width: 720px; margin: 0; text-wrap: pretty; }
.rp-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.rp-hero-row .btn { background: var(--surface); }
.rp-go { margin: 0 0 0 auto; }
.rp-go select { min-width: 230px; height: var(--ctl-h, 44px); font-weight: 600; }
.rp-steps { margin-bottom: 22px; }
.rp-intro { max-width: 820px; margin: 0 0 22px; }
.rp-terms { display: inline-flex; border: 1px solid var(--rd-line-strong, var(--line)); margin-bottom: 18px; }
.rp-term { padding: 11px 18px; background: var(--surface); color: var(--ink); border: 0; border-right: 1px solid var(--rd-line-strong, var(--line)); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.rp-term:last-child { border-right: 0; }
.rp-term.on { background: var(--ink); color: var(--bg); }
.rp-wrap { border: 1px solid var(--line); border-top: 4px solid var(--accent); background: var(--surface); overflow-x: auto; }
.rp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rp-table th, .rp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: .95rem; color: var(--ink); }
.hz .rp-table thead th, .rp-table thead th { font: 600 .74rem var(--rd-mono, ui-monospace, Menlo, Consolas, monospace); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.rp-table thead th[data-sort] { cursor: pointer; user-select: none; }
.rp-table thead th[data-sort]::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; opacity: .35; vertical-align: -2px; }
.rp-table thead th[aria-sort="ascending"]::after { border-top-color: transparent; border-bottom-color: currentColor; vertical-align: 2px; opacity: 1; }
.rp-table thead th[aria-sort="descending"]::after { opacity: 1; }
.rp-table tbody tr:last-child > * { border-bottom: 0; }
.rp-table tbody tr:hover > * { background: var(--surface-2); }
.hz .rp-table tbody th, .rp-table tbody th { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); min-width: 150px; }
.rp-table tbody th b { font-weight: 700; }
.rp-mono { font-family: var(--rd-mono, ui-monospace, Menlo, Consolas, monospace); font-size: .9rem !important; white-space: nowrap; }
.rp-popular > * { background: var(--accent-soft); }
.rp-table tbody tr.rp-popular:hover > * { background: var(--accent-soft); }
.rp-flag { display: inline-block; margin-left: 8px; font: 700 .62rem var(--rd-mono, ui-monospace, Menlo, Consolas, monospace); letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; background: var(--rd-mint, #0E8C86); color: #fff; vertical-align: 2px; }
:root[data-theme="dark"] .rp-flag { color: #04261E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rp-flag { color: #04261E; } }
.rp-stock { display: inline-block; margin-left: 8px; font-size: .74rem; color: var(--muted); }
.rp-also { display: block; margin-top: 4px; font-weight: 400; font-size: .8rem; color: var(--muted); }
.rp-price { white-space: nowrap; }
.rp-price > span { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.rp-price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.rp-price .rp-setup { display: block; font-size: .72rem; }
.rp-buy { text-align: right !important; white-space: nowrap; }
.rp-out { color: var(--muted); }
.rp-table tr.hidden, .rp-amt.hidden { display: none; }
.rp-note { font-size: .88rem; color: var(--muted); margin: 12px 0 30px; }
.rp-includes, .rp-faq { margin-top: 8px; }
.rp-includes .features .ico { color: var(--rd-mint, var(--accent)); }
.rp-faq details[open] { box-shadow: inset 4px 0 0 var(--accent); }
@media (max-width: 860px) {
  .rp-go { margin-left: 0; width: 100%; }
  .rp-go select { width: 100%; }
  .rp-table thead { display: none; }
  .rp-table, .rp-table tbody, .rp-table tr, .rp-table th, .rp-table td { display: block; width: 100%; }
  .rp-table tr { border-bottom: 2px solid var(--rd-line-strong, var(--line)); padding: 8px 0; }
  .rp-table tbody tr:last-child { border-bottom: 0; }
  .rp-table tbody th, .rp-table td { border: 0; padding: 6px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .rp-table tbody th { flex-wrap: wrap; justify-content: flex-start; padding-top: 10px; }
  .rp-table td::before { content: attr(data-l); font: 600 .72rem var(--rd-mono, ui-monospace, Menlo, Consolas, monospace); text-transform: uppercase; color: var(--muted); }
  .rp-buy::before { display: none; }
  .rp-buy .btn { width: 100%; justify-content: center; }
  .rp-hero::after { display: none; }
}
