/* ==========================================================================
   Beyond the screen: editorial list
   Editorial list with live preview panels. Overrides the earlier beyond styles.
   ========================================================================== */

/* ===== beyond the screen: editorial list + live preview ===== */
.beyond {
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: stretch;
  padding: 44px 44px;
}
.lst {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lst button {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: start;
  text-align: left;
  padding: 24px 4px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: color 0.3s;
}
.lst button:first-child {
  border-top: 0;
}
.lst .ln {
  font:
    600 0.85rem Outfit,
    Figtree,
    system-ui,
    sans-serif;
  letter-spacing: 0.1em;
  padding-top: 9px;
  transition: color 0.3s;
}
.lst b {
  display: block;
  font:
    600 1.5rem Outfit,
    Figtree,
    system-ui,
    sans-serif;
  letter-spacing: -0.02em;
  color: inherit;
  transition: color 0.3s;
}
.lst button:hover b,
.lst button[aria-selected='true'] b {
  color: var(--ink);
}
.lst button[aria-selected='true'] .ln {
  color: var(--a);
}
.lst small {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  transition:
    max-height 0.45s,
    opacity 0.35s,
    margin 0.35s;
}
.lst button[aria-selected='true'] small {
  max-height: 6em;
  opacity: 1;
  margin-top: 8px;
}
.lc {
  width: 8px;
  height: 8px;
  margin: 14px 0 0 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition:
    transform 0.35s,
    color 0.3s;
}
.lst button[aria-selected='true'] .lc {
  transform: rotate(45deg);
  color: var(--a);
}
.lp {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--a);
}
.lp.run {
  animation: lpf 3.4s linear both;
}
@keyframes lpf {
  from {
    width: 0;
  }
}
.bv {
  position: relative;
  min-height: 400px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bv-tag {
  position: absolute;
  top: 22px;
  left: 26px;
  font:
    600 0.76rem Figtree,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a);
}
.bv-note {
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 0.78rem;
  color: var(--muted);
}
.bs {
  position: absolute;
  inset: 64px 28px 44px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.45s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.bs.on {
  opacity: 1;
  transform: none;
}
.m-win {
  width: min(80%, 360px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 22px 44px -30px rgba(16, 19, 35, 0.4);
}
.m-bar {
  display: flex;
  gap: 5px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.m-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.m-hero {
  display: grid;
  gap: 9px;
  padding: 20px 18px;
}
.m-hero b {
  display: block;
  height: 13px;
  width: 62%;
  border-radius: 6px;
  background: var(--ink);
}
.m-hero s {
  display: block;
  height: 8px;
  width: 84%;
  border-radius: 4px;
  background: var(--soft);
  text-decoration: none;
}
.m-hero em {
  justify-self: start;
  margin-top: 6px;
  font:
    600 0.74rem Figtree,
    sans-serif;
  font-style: normal;
  padding: 7px 15px;
  border-radius: 99px;
  background: var(--a);
  color: var(--on-a);
}
.m-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 18px;
}
.m-row u {
  height: 46px;
  border-radius: 10px;
  background: var(--soft);
  text-decoration: none;
}
.m-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.nd {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1.5;
}
.nd.on {
  fill: var(--a);
  stroke: var(--a);
}
.nd.ghost {
  fill: none;
  stroke: var(--muted);
  stroke-dasharray: 4 5;
  opacity: 0.6;
}
.nt {
  font:
    600 12px Figtree,
    sans-serif;
  fill: var(--ink);
}
.nt.on {
  fill: var(--on-a);
}
.nt.dim {
  fill: var(--muted);
  font-weight: 500;
}
.ed {
  stroke: var(--a);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ed.dash {
  stroke: var(--muted);
  stroke-dasharray: 3 5;
  opacity: 0.6;
}
.sc3 {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
}
.sy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.sy > span {
  font:
    600 0.76rem Figtree,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sw {
  display: flex;
  gap: 7px;
}
.sw i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.ty {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ty b {
  font:
    600 1.8rem/1 Outfit,
    Figtree,
    system-ui,
    sans-serif;
  color: var(--ink);
}
.ty small {
  color: var(--muted);
  font-size: 0.85rem;
}
.cp {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp em {
  font:
    600 0.76rem Figtree,
    sans-serif;
  font-style: normal;
  padding: 7px 13px;
  border-radius: 99px;
}
.cp .p {
  background: var(--a);
  color: var(--on-a);
}
.cp .s {
  border: 1px solid var(--line);
  color: var(--ink);
}
.cp u {
  text-decoration: none;
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px;
}
.cp .tgl {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: var(--a);
}
.cp .tgl:after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--on-a);
}
.sc4 {
  display: grid;
  gap: 18px;
  width: min(100%, 440px);
}
.kp {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kp span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font:
    600 0.8rem Figtree,
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 99px;
}
.kp b {
  color: var(--a);
  font-size: 0.95rem;
}
.bk {
  fill: var(--soft);
}
.bk.on {
  fill: var(--a);
  opacity: 0.18;
}
.tr {
  fill: none;
  stroke: var(--a);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.td {
  fill: var(--a);
}
@media (max-width: 860px) {
  .beyond {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }
  .bv {
    min-height: 340px;
  }
}
