/* ESGTrack — the pricing page (update 193): the scope builder, its result, and the published prices of other software. On site.css's
   tokens; no images, fonts or libraries. */
.pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.pr-form { display: grid; gap: 16px; min-width: 0; }
.pr-group { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 20px 22px 22px; margin: 0; min-width: 0; }
/* the legend sits inside the panel rather than on its border */
.pr-legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-weight: 750; font-size: 1.06rem; letter-spacing: -.012em; color: var(--ink); }
.pr-legend + * { clear: both; }
.pr-hint { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* sliders: the value large beside its label, the track filled to the value (--pct, kept by pricing.js) */
.pr-slider + .pr-slider { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pr-slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pr-slider-top label { font-weight: 650; font-size: 15px; }
.pr-val { font-weight: 760; font-size: 1.4rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--brand-600); text-align: end; min-width: 3ch; }
.pr-help { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.pr-slider input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 4px 0 0; background: transparent; cursor: pointer; }
.pr-slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--brand) var(--pct, 0%), #dfe5eb var(--pct, 0%)); }
.pr-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); box-shadow: 0 1px 4px rgba(11,18,32,.25); }
.pr-slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: #dfe5eb; }
.pr-slider input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--brand); }
.pr-slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); box-shadow: 0 1px 4px rgba(11,18,32,.25); }
.pr-slider input[type="range"]:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* checkboxes and radio buttons as cards */
.pr-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.pr-choices.is-radio { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pr-choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; cursor: pointer; background: var(--white); transition: border-color .15s, background-color .15s; }
.pr-choice:hover { border-color: #b8c3cd; }
.pr-choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.pr-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pr-choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.pr-choice input:focus-visible { outline: none; }
.pr-choice b { display: block; font-size: 15px; font-weight: 650; line-height: 1.3; }
.pr-choice small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.js .pr-submit { display: none; }

/* the result: the plan on dark, then the published prices */
.pr-result { position: sticky; top: 88px; display: grid; gap: 14px; min-width: 0; scroll-margin-top: 84px; }
/* taller than the screen: the result scrolls within itself while it stays in view beside the form */
@media (min-width: 961px) { .pr-result { max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 4px 4px 0; } }
.pr-card { background: var(--dark); color: var(--on-dark); border: 1px solid var(--dark-line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.pr-card :focus-visible { outline-color: var(--mint); }
.pr-k { margin: 0; font-size: 14px; font-weight: 650; color: var(--on-dark-2); letter-spacing: 0; line-height: 1.4; }
.pr-plan { margin: 2px 0 14px; font-size: clamp(2.3rem, 4vw, 3rem); font-weight: 790; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.pr-why { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.pr-why li { position: relative; padding-inline-start: 18px; font-size: 14.5px; line-height: 1.45; }
.pr-why li::before { content: ""; position: absolute; inset-inline-start: 1px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pr-small { margin: 0 0 16px; font-size: 13px; color: var(--on-dark-2); }
.pr-quoted { margin: 0; padding-top: 14px; border-top: 1px solid var(--dark-line); font-size: 14.5px; line-height: 1.5; }
.pr-quoted b { color: var(--mint-2); }
.pr-notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--on-dark-2); }
.pr-notes:empty { display: none; }
.pr-acts { display: grid; gap: 8px; margin-top: 20px; }

.pr-market { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px 18px; }
.pr-market .pr-k { color: var(--ink); font-size: 15px; font-weight: 750; margin-bottom: 6px; }
.pr-vendors { list-style: none; margin: 0; padding: 0; }
.pr-vendor { padding: 12px 0; border-top: 1px solid var(--line); }
.pr-vendor:first-child { border-top: 0; }
.pr-v-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pr-v-name a { font-weight: 700; color: var(--ink); }
.pr-v-tier { font-size: 13px; font-weight: 650; color: var(--brand-600); text-align: end; }
.pr-v-price { margin: 2px 0 0; font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-v-says, .pr-v-what { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pr-v-says:empty { display: none; }
.pr-v-what { font-style: italic; }
.pr-foot { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pr-foot a { color: var(--brand-600); }

/* the bar at the foot of a phone's screen (pricing.js shows it while the builder, but not the result, is in view) */
.pr-bar { display: none; }
#builder, #compare, #plans { scroll-margin-top: 68px; }
@media (max-width: 960px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
  .pr-result { position: static; }
  .js .pr-bar.is-on { display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; justify-content: space-between; align-items: center; gap: 12px;
    padding: 13px 16px; border-radius: 14px; background: var(--dark); color: var(--on-dark); text-decoration: none; font-size: 14.5px; box-shadow: 0 12px 32px rgba(4,17,11,.35); }
  .pr-bar b { color: #fff; }
  .pr-bar-go { font-weight: 700; color: var(--mint-2); white-space: nowrap; }
}
@media (max-width: 640px) { .pr-group { padding: 16px; } .pr-card { padding: 22px; } .pr-market { padding: 18px; } }

/* the plans and the published prices below the builder */
.pr-every { margin-top: 28px; max-width: 820px; }
.pr-every p { color: var(--ink-2); margin: 0 0 8px; }
.pr-vrow th { background: var(--white); font-size: 15px; font-weight: 750; padding-top: 18px; }
.pr-vrow th span { display: block; margin-top: 2px; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.pr-vrow a { color: var(--ink); }
.pr-vtable thead th:first-child { width: 26%; }
.pr-how { margin-top: 40px; align-items: start; }
@media (max-width: 600px) { .pr-vtable.is-stack .pr-vrow th { display: block; } }
@media (max-width: 960px) { .pr-how { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
