/* Monthly signup (preview) */
.nx-ribbon { background: var(--peach); border-bottom: var(--border); padding: 8px var(--gut); font-size: 11.5px; letter-spacing: .1em; font-weight: 900; text-align: center; }
.nx-steps { display: flex; gap: 4px; margin-top: 6px; }
.nx-steps i { width: 26px; height: 7px; border: 2px solid var(--ink); background: var(--paper); }
.nx-steps i.on { background: var(--ink); }
.nx-body { padding: 10px 14px 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.nx-body > * { min-width: 0; }
.nx-lab { font-size: 11px; letter-spacing: .14em; font-weight: 900; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.nx-lab small { font-size: 9.5px; letter-spacing: .08em; color: var(--brown); }
.nx-times { display: grid; grid-template-columns: 30px repeat(4, minmax(0, 1fr)); gap: 5px; }
.nx-day { display: grid; place-items: center; font-size: 10px; letter-spacing: .1em; font-weight: 900; writing-mode: vertical-rl; transform: rotate(180deg); border: 2px solid var(--ink); background: var(--cream-2); }
.nx-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 5px; }
.nx-tg { border: var(--border); background: var(--paper); box-shadow: 2px 2px 0 var(--ink); padding: 4px 3px; min-height: 44px; cursor: pointer; color: var(--ink); display: grid; place-items: center; align-content: center; gap: 1px; text-align: center; font-family: var(--body); }
.nx-tg b { font-family: var(--display); font-weight: 900; font-size: 15px; line-height: 1; }
.nx-tg .d { font-size: 9px; letter-spacing: .14em; font-weight: 900; line-height: 1; }
.nx-tg small { font-size: 8.5px; letter-spacing: .06em; font-weight: 900; color: var(--brown); line-height: 1.1; }
.nx-tg[aria-pressed="true"] { background: var(--honey); }
.nx-tg[aria-pressed="true"] small { color: var(--ink); }
.nx-tg.warn small { color: var(--warn); }
.nx-tg[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.nx-tg.is-down { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.nx-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: end; }
.nx-row > * { min-width: 0; }
.nx-row .nx-lab { margin-bottom: 4px; }
.nx-step { display: inline-flex; border: var(--border); background: var(--paper); height: 42px; }
.nx-step button { width: 38px; border: 0; background: var(--marian); font-family: var(--display); font-weight: 900; font-size: 20px; cursor: pointer; color: var(--ink); }
.nx-step button:first-child { border-right: var(--border); } .nx-step button:last-child { border-left: var(--border); }
.nx-step button[disabled] { background: var(--cream-2); color: var(--brown); cursor: default; }
.nx-step output { min-width: 86px; white-space: nowrap; display: grid; place-items: center; font-size: 11px; letter-spacing: .08em; font-weight: 900; padding-inline: 4px; }
.nx-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-line .nx-lab { flex: none; }
.nx-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; flex: 1; max-width: 250px; }
.nx-plan .nx-tg { min-height: 40px; }
.nx-plan .nx-tg b { font-size: 13px; }
.nx-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: var(--border); padding-top: 8px; }
.nx-sum span { display: block; font-size: 10.5px; letter-spacing: .1em; font-weight: 900; color: var(--brown); }
.nx-sum b { font-family: var(--display); font-size: 32px; line-height: 1; }
.nx-sum .btn { min-height: 46px; }
.nx-fine { margin: 0; font-size: 10px; }
.nx-kid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.nx-nav { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.nx-nav .btn { min-height: 46px; padding-inline: 12px; font-size: 15px; }
.nx-lines { display: grid; gap: 6px; max-height: min(34vh, 300px); overflow: auto; border: var(--border); background: var(--cream); padding: 6px 9px; }
.nx-mo h4 { font-size: 11px; letter-spacing: .14em; font-family: var(--body); font-weight: 900; border-bottom: 2px solid var(--ink); padding-bottom: 2px; margin-bottom: 3px; }
.nx-ln { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; font-size: 12px; padding-block: 4px; border-bottom: 2px dashed var(--honey); }
.nx-ln:last-child { border-bottom: 0; }
.nx-ln .t { font-weight: 900; }
.nx-ln .n { font-weight: 900; text-align: right; }
.nx-ln .ds { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 3px; }
.nx-ln .ds span { border: 2px solid var(--ink); padding: 0 4px; font-size: 10.5px; font-weight: 800; background: var(--paper); }
.nx-ln .ds span.off { border-style: dashed; background: transparent; color: var(--brown); text-decoration: line-through; }
.nx-ln .ds span.past { border-color: var(--cream-2); background: transparent; color: var(--brown); text-decoration: line-through; }
.nx-ln .m { grid-column: 1 / -1; font-size: 10px; letter-spacing: .06em; font-weight: 800; color: var(--brown); }
.nx-ln.full .n, .nx-ln.full .m { color: var(--warn); }
.nx-note { margin: 0; font-size: 10.5px; letter-spacing: .05em; line-height: 1.35; }
.nx-prev { margin: 0; font-size: 10px; letter-spacing: .08em; font-weight: 900; color: var(--warn); }
.nx-cal { display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 5px; align-items: center; }
.nx-cal span { font-family: var(--display); font-weight: 900; font-size: 13px; }
.nx-cal .btn { min-height: 36px; padding: 4px 2px; font-size: 11px; letter-spacing: .02em; min-width: 0; }
.sheet .done .cal { gap: 6px; }
@media (max-height: 700px) {
  .nx-body { padding-top: 8px; gap: 6px; }
  .nx-lines { max-height: 28vh; }
  .nx-tg { min-height: 40px; }
  .nx-step { height: 40px; }
  .nx-sum b { font-size: 26px; }
  .nx-sum .btn, .nx-nav .btn { min-height: 42px; }
  .sheet-top:has(+ .nx-body), [data-nx] > .sheet-top { padding: 8px 12px; }
  [data-nx] > .sheet-top h3 { font-size: 17px; }
  [data-nx] > .sheet-top .mk { width: 32px; }
  [data-nx] .fld input { min-height: 40px; }
}
@media (max-height: 620px) {
  [data-nx] > .sheet-top p { display: none; }
  [data-nx] > .sheet-top h3 { font-size: 16px; }
  .nx-body { gap: 5px; padding: 6px 12px 10px; }
  .nx-fine { display: none; }
  .nx-tg { min-height: 36px; }
  .nx-step { height: 38px; }
  .nx-lines { max-height: 24vh; }
  .nx-note { font-size: 9.5px; }
  .nx-sum { padding-top: 5px; }
  .nx-sum b { font-size: 23px; }
  .nx-sum .btn, .nx-nav .btn { min-height: 40px; }
  [data-nx] .fld { gap: 3px; }
  [data-nx] .fld input { min-height: 38px; padding-block: 6px; }
  [data-nx] .toggle2 label { min-height: 38px; }
}
@media (max-width: 380px) { .nx-row { grid-template-columns: 1fr; } .nx-tg b { font-size: 14px; } }
.nx-kid .toggle2 { width: 104px; }
.nx-times.cols { grid-auto-flow: column; }
.nx-times.cols .nx-day { writing-mode: horizontal-tb; transform: none; padding: 2px 0; font-size: 10px; }
.sheet [data-nx] p.nx-promo { margin: 0; background: var(--honey); border: var(--border); padding: 5px 9px; font-size: 11px; letter-spacing: .06em; font-weight: 800; line-height: 1.3; }
.sheet [data-nx] p.nx-promo b { font-weight: 900; }
.nx-full { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; border: var(--border); background: var(--peach); padding: 6px 8px; font-size: 10.5px; letter-spacing: .05em; font-weight: 900; line-height: 1.25; }
.nx-full .btn { min-height: 36px; padding-inline: 8px; font-size: 11.5px; white-space: nowrap; }
@media (max-height: 620px) { .sheet [data-nx] p.nx-promo { padding: 4px 8px; font-size: 10px; } }
@media (max-height: 620px) { .nx-lab small { display: none; } .nx-times.cols .nx-day { padding: 0; font-size: 9px; } }
.nx-plan .nx-tg b { letter-spacing: 0; }
.nx-where { display: grid; gap: 3px; border: var(--border); background: var(--marian); padding: 7px 9px; text-align: left; }
.nx-where b { display: flex; gap: 6px; align-items: center; font-size: 11.5px; letter-spacing: .06em; }
.nx-where b .ico { width: 16px; height: 16px; flex: none; }
.nx-where span { font-size: 10.5px; letter-spacing: .04em; font-weight: 800; line-height: 1.3; }
.nx-waiver { width: 100%; justify-content: center; }
.nx-times.cols .nx-tg small { white-space: nowrap; letter-spacing: .02em; font-size: 8px; }
