/* ============================================================
   JUPEAK ONE — PLAN BUILDER (styles)
   ------------------------------------------------------------
   Lifted out of plan.html on 2026-10-20 when the four pricing
   pages were folded into pricing.html. Shared so the builder has
   exactly one definition; pricing.html owns its own hero/tier CSS.
   ============================================================ */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--jp-line-2); background: rgba(255,255,255,0.03); margin-top: 22px; }
.seg button { background: transparent; border: none; color: var(--jp-mute); font-family: var(--jp-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--jp-grad); color: #06201a; font-weight: 700; }
.seg .save { font-size: 10px; margin-left: 6px; }

.wrap { padding: 30px 0 110px; }
.grid { display: grid; grid-template-columns: 1fr 372px; gap: 24px; max-width: 1160px; margin: 0 auto; align-items: start; }

/* steppers */
.steppers { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stepper { display: flex; align-items: center; gap: 10px; background: var(--jp-surface); border: 1px solid var(--jp-line); border-radius: var(--jp-r); padding: 10px 14px; }
.stepper .lb { font-size: 12.5px; color: var(--jp-mute); }
.stepper .lb small { display:block; color: var(--jp-dim); font-size: 10px; font-family: var(--jp-mono); }
.stepper button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--jp-line-2); background: rgba(255,255,255,0.04); color: var(--jp-text); font-size: 18px; cursor: pointer; line-height: 1; }
.stepper .val { min-width: 30px; text-align: center; font-weight: 700; font-size: 16px; }
.stepper[hidden] { display: none; }
.stepper.seat { border-color: rgba(34,211,238,0.35); }

.axis { margin: 24px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.axis .t { font-size: 15px; font-weight: 700; }
.axis .d { color: var(--jp-mute); font-size: 12px; font-family: var(--jp-mono); }
.axis .tag { font-size: 10px; font-family: var(--jp-mono); text-transform: uppercase; letter-spacing: .08em; border-radius: 6px; padding: 2px 8px; border: 1px solid var(--jp-line-2); color: var(--jp-mute); }
.axis .tag.br { color: var(--jp-cyan); border-color: rgba(34,211,238,0.3); }

.mod-card { border: 1px solid var(--jp-line); border-radius: var(--jp-r); background: var(--jp-surface); margin-bottom: 9px; overflow: hidden; }
.mod-card.on { border-color: rgba(45,212,167,0.45); }
.mod-head { display: flex; align-items: center; gap: 12px; padding: 14px 15px; cursor: pointer; }
.mod-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--jp-line-2); flex: 0 0 auto; display: grid; place-items: center; color: #06201a; font-size: 14px; }
.mod-card.on .mod-check { background: var(--jp-grad); border-color: transparent; }
.mod-head .mi { flex: 1; min-width: 0; }
.mod-head .mn { font-weight: 600; font-size: 14.5px; }
.mod-head .mt { color: var(--jp-mute); font-size: 11.5px; font-family: var(--jp-mono); }
.mod-head .mp { text-align: right; font-family: var(--jp-display); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.mod-head .mp span { display: block; font-size: 10px; color: var(--jp-mute); font-family: var(--jp-mono); font-weight: 400; }
.mod-head .caret { color: var(--jp-mute); font-size: 12px; transition: transform .15s; }
.mod-card.exp .caret { transform: rotate(180deg); }
/* Always-on paid options. The accordion below still hides the prose, but a thing a visitor can
   buy must never be behind a click they do not know to make. */
.mod-opts { padding: 2px 15px 11px 49px; border-top: 1px dashed var(--jp-line); margin-top: -2px; }
.mod-opts .oh { display: block; font-family: var(--jp-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--jp-dim); margin: 9px 0 2px; }
.mod-opts .feat-row { padding: 5px 0; }
.mod-feats { display: none; padding: 0 16px 14px 49px; }
.mod-card.exp .mod-feats { display: block; }
.mod-desc { color: var(--jp-mute); font-size: 12px; line-height: 1.5; margin: 0 0 10px; }
.inc-row { display: flex; gap: 9px; padding: 5px 0; font-size: 12.5px; color: var(--jp-mute); }
.inc-row .tick { color: var(--jp-teal); }
.feat-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; cursor: pointer; }
.feat-check { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--jp-line-2); flex: 0 0 auto; display: grid; place-items: center; color: #06201a; font-size: 12px; }
.feat-row.on .feat-check { background: var(--jp-grad); border-color: transparent; }
.feat-row .fp { margin-left: auto; font-family: var(--jp-mono); font-size: 12px; }
.feat-row .fn small { color: var(--jp-dim); font-size: 11px; display: block; }

/* bill */
.bill { position: sticky; top: 84px; background: var(--jp-surface); border: 1px solid var(--jp-line); border-radius: var(--jp-r-lg); padding: 20px; }
.bill h3 { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.bill h3 .cy { font-family: var(--jp-mono); font-size: 11px; color: var(--jp-mute); }
.grp { margin-bottom: 12px; }
.grp-h { display: flex; justify-content: space-between; font-family: var(--jp-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--jp-dim); border-bottom: 1px solid var(--jp-line); padding-bottom: 5px; margin-bottom: 6px; }
.grp-h .gs { color: var(--jp-mute); }
.bline { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 2px 0; }
.bline .l { color: var(--jp-mute); min-width: 0; }
.bline .l small { color: var(--jp-dim); }
.bline .a { font-family: var(--jp-mono); color: var(--jp-text); white-space: nowrap; }
.bline.zero .a { color: var(--jp-teal); }
.bempty { color: var(--jp-dim); font-size: 13px; text-align: center; padding: 22px 0; }
.bsum { border-top: 1px dashed var(--jp-line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.bsum .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--jp-mute); }
.bsum .row.total { font-size: 21px; color: var(--jp-text); font-weight: 700; margin-top: 4px; align-items: baseline; }
.bsum .row.total .rs { font-family: var(--jp-display); }
.bsum .save { color: var(--jp-teal); font-family: var(--jp-mono); font-size: 12px; }
.bsum .row.disc { color: var(--jp-teal); }
.bsum .row.sep { border-top: 1px dashed var(--jp-line); padding-top: 8px; margin-top: 2px; }
.coupon { display: flex; gap: 6px; margin-bottom: 10px; }
/* min-width 0 let this collapse to a sliver next to Apply in the narrow bill column. */
.coupon input { flex: 1; min-width: 110px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--jp-line-2); background: rgba(255,255,255,0.04); color: var(--jp-text); font-family: var(--jp-mono); font-size: 12.5px; text-transform: uppercase; outline: none; }
.coupon input:focus { border-color: var(--jp-teal); }
.coupon .btn { padding: 9px 14px; }
.coupon-msg { font-size: 11.5px; margin: -4px 0 8px; font-family: var(--jp-mono); }
.coupon-msg.ok { color: var(--jp-teal); }
.coupon-msg.bad { color: #f87171; }
.bnote { color: var(--jp-dim); font-size: 11.5px; margin-top: 8px; line-height: 1.5; }
.bill .btn { width: 100%; justify-content: center; margin-top: 14px; }

.billbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(10,14,15,0.96); border-top: 1px solid var(--jp-line-2); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); backdrop-filter: blur(10px); align-items: center; gap: 12px; }
.billbar .t { flex: 1; }
.billbar .t .rs { font-family: var(--jp-display); font-weight: 700; font-size: 19px; }
.billbar .t small { display: block; color: var(--jp-mute); font-size: 11px; font-family: var(--jp-mono); }

.cap-ov { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(4,7,8,0.72); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 20px; }
.cap-ov.show { display: flex; }
.cap-box { width: min(430px, 100%); background: var(--jp-surface-2); border: 1px solid var(--jp-line-2); border-radius: var(--jp-r-lg); padding: 24px; }
.cap-box h3 { font-size: 20px; margin-bottom: 6px; }
.cap-box p { color: var(--jp-mute); font-size: 13.5px; margin-bottom: 16px; line-height: 1.5; }
.cap-box .summ { background: rgba(255,255,255,0.03); border: 1px solid var(--jp-line); border-radius: var(--jp-r-sm); padding: 12px; font-size: 13px; margin-bottom: 16px; }
.cap-box .summ .big { font-family: var(--jp-display); font-weight: 700; font-size: 19px; }
.cap-box input { width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--jp-line-2); background: rgba(255,255,255,0.04); color: var(--jp-text); font-size: 15px; outline: none; }
.cap-box input:focus { border-color: var(--jp-teal); }
.cap-box .btn { width: 100%; justify-content: center; }
.cap-x { float: right; background: none; border: none; color: var(--jp-mute); font-size: 20px; cursor: pointer; line-height: 1; }
.hp { position: absolute; left: -9999px; }

/* ── quotation ────────────────────────────────────────────────── */
.qd-ov { display: none; position: fixed; inset: 0; z-index: 110; background: rgba(4,7,8,0.84); backdrop-filter: blur(4px); overflow: auto; padding: 24px 16px 60px; }
.qd-ov.show { display: block; }
.qd-box { width: min(560px, 100%); margin: 0 auto; background: var(--jp-surface-2); border: 1px solid var(--jp-line-2); border-radius: var(--jp-r-lg); padding: 24px; }
.qd-box h3 { font-size: 20px; margin-bottom: 6px; }
.qd-box .sub { color: var(--jp-mute); font-size: 13.5px; margin-bottom: 18px; line-height: 1.5; }
.qd-box label { display: block; font-family: var(--jp-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--jp-dim); margin: 0 0 4px; }
.qd-box input, .qd-box select, .qd-box textarea { width: 100%; box-sizing: border-box; margin-bottom: 12px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--jp-line-2); background: rgba(255,255,255,0.04); color: var(--jp-text); font-size: 14.5px; font-family: inherit; outline: none; }
.qd-box input:focus, .qd-box select:focus, .qd-box textarea:focus { border-color: var(--jp-teal); }
.qd-box option { background: #151b1e; color: #e8eef0; }
.qd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.qd-box .btn { width: 100%; justify-content: center; }
.qd-x { float: right; background: none; border: none; color: var(--jp-mute); font-size: 20px; cursor: pointer; line-height: 1; }
.qd-actions { max-width: 900px; margin: 0 auto 14px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }


/* ── client-facing dressing ──────────────────────────────────────────────────
   Every rule below is prefixed `.qp ` deliberately: quotationCss() only lifts rules whose
   selector mentions .qp, so an unprefixed rule would look right on screen and vanish from the
   downloaded file. */

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .bill { display: none; }
  .billbar { display: flex; }
  .wrap { padding-bottom: 120px; }
  .qd-two { grid-template-columns: 1fr; }
}

@media print {
  body.qd-open > *:not(#qd-ov) { display: none !important; }
  body.qd-open #qd-ov { position: static; display: block; background: #fff; backdrop-filter: none; padding: 0; overflow: visible; }
  body.qd-open #qd-form, body.qd-open .qd-actions { display: none !important; }
}
