/* elitesoft — «which edition suits you» (inc/editions.php): the editions as the steps of a ladder,
 * each one higher than the one before, and a table of what each has. */
.eds__ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 14px; align-items: end; }
.eds__step { --rise: 34px; padding-top: calc((var(--n) - 1 - var(--i)) * var(--rise)); display: flex; }
.eds__step--special { padding-top: 0; }
.eds__card { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl, 18px); transition: border-color var(--d-fast) ease; }
/* the tread: a bar on top of each step, longer as the edition grows */
.eds__card::before { content: ""; position: absolute; left: 20px; top: -1px; height: 3px; width: calc(22% + var(--i) * 15%); background: var(--tungsten); border-radius: 0 0 3px 3px; }
.eds__step--special .eds__card { background: transparent; border-style: dashed; border-color: var(--line-2); }
.eds__step--special .eds__card::before { background: var(--draft); width: calc(100% - 40px); opacity: .7; }
.eds__step.is-hl .eds__card { border-color: var(--tungsten-line); }
.eds__tag { margin: 0; font-size: var(--t-xs); color: var(--draft); }
.eds__name { margin: 0; font: 600 clamp(22px, 1.9vw, 28px)/1.1 var(--display); letter-spacing: -0.02em; }
.eds__price { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.eds__price b { color: var(--ink); font-weight: 600; }
.eds__for { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.5; }
.eds__plus { margin: 6px 0 0; font-size: var(--t-xs); color: var(--muted); }
.eds__list { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--t-sm); line-height: 1.4; }
.eds__list li { position: relative; padding-left: 18px; }
.eds__list li::before { content: "+"; position: absolute; left: 0; color: var(--tungsten); font-weight: 700; }
.eds__step:first-child .eds__list li::before { content: "·"; }
.eds__go { margin-top: auto; min-height: 44px; font-size: 15px; }

.eds__table { margin-top: clamp(48px, 6vw, 80px); }
.eds__th { margin: 0 0 18px; }
.eds__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-xl, 18px); background: var(--surface); }
.eds__scroll:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.eds__grid { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-sm); }
.eds__grid th, .eds__grid td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.eds__grid thead th { font: 600 15px var(--display); color: var(--ink); padding-top: 16px; }
.eds__grid tbody th[scope="row"] { text-align: left; font-weight: 400; color: var(--ink-soft); }
.eds__grid th[scope="row"], .eds__grid thead td { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 200px; }
.eds__grid .eds__group th { text-align: left; padding-top: 22px; font: 600 var(--t-xs) var(--sans); color: var(--muted); background: var(--surface-2); }
.eds__v--yes { color: var(--tungsten); }
.eds__v--no { color: var(--muted); opacity: .6; }
.eds__opt { font-size: var(--t-xs); color: var(--draft); }
.eds__grid [data-col].is-hl { background: rgba(242, 176, 94, .07); }
.eds__note { margin: 16px 0 0; color: var(--muted); font-size: var(--t-sm); max-width: 72ch; }
.eds__src { margin: 8px 0 0; font-size: var(--t-xs); }
.eds__src a { color: var(--muted); }

@media (max-width: 1100px) {
  .eds__ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .eds__step { padding-top: 0; }
}
@media (max-width: 620px) {
  .eds__ladder { grid-template-columns: minmax(0, 1fr); }
  .eds__grid th[scope="row"], .eds__grid thead td { min-width: 150px; }
}
