/* Landing page. The nav and hero come from assets/kit; the sections below are designed here. */
.product img { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.btn.btn--secondary { box-shadow: inset 0 0 0 1px color-mix(in oklab, #1f3038 35%, transparent); }

.lp, .lp-foot { --teal: #0d7480; --teal-deep: #095560; --teal-tint: #d7ecee; --slate: #1f3038; --grey: #4f5e66; --rule: #dde4e7; --late: #a5231a; --late-tint: #fde5e2; }
main > section.lp { height: auto; min-height: 0; display: block; padding-block: clamp(72px, 9vw, 128px); scroll-margin-top: 72px; }
.lp--soft { background: #eef3f4; }
.lp--dark { background: var(--slate); }
.lp h2 { margin: 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; text-wrap: balance; color: var(--slate); }
.lp-lead { margin: 20px 0 0; max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--grey); text-wrap: pretty; }
.lp-head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.lp-head h2 { max-width: 24ch; }
.lp-head--left { justify-items: start; text-align: left; }
.lp-head--left h2 { max-width: none; }
.lp--dark h2 { color: #f7f9fa; }
.lp--dark .lp-lead { color: #c3d0d5; }

.lp-split { max-width: none; }
main > section.lp > .wrap.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.lp-copy > .btn { margin-top: 32px; }

.lp-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.lp-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.lp-points h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; color: var(--slate); letter-spacing: -0.01em; }
.lp-points p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--grey); }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal-deep); }
.lp-ico--late { background: var(--late-tint); color: var(--late); }
.lp .icon { width: 20px; height: 20px; }

/* Stages that hold the product visuals */
.lp-stage { position: relative; border-radius: 28px; padding: clamp(18px, 3.4vw, 48px); }
.lp-stage--tint { background: var(--teal-tint); }
.mk { background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(31, 48, 56, .06), 0 18px 44px -18px rgba(31, 48, 56, .28); }
.mk p, .mk ul { margin: 0; padding: 0; list-style: none; }
.mk-title { font-size: 16px; font-weight: 700; color: var(--slate); }
.mk-queue { padding: 22px 24px 10px; }
.mk-queue li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.mk-queue li:last-child { border-bottom: 0; }
.mk-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eef3f4; color: var(--grey); }
.mk-ico.is-late { background: var(--late-tint); color: var(--late); }
.mk-who { display: grid; font-size: 14px; line-height: 1.45; color: var(--grey); }
.mk-who b { font-size: 16px; color: var(--slate); }
.mk-chip { padding: 5px 12px; border-radius: 99px; background: #eef3f4; font-size: 13px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.mk-chip.is-late { background: var(--late-tint); color: var(--late); }
.mk .mk-field { margin-top: 12px; }
.mk-row { display: flex; gap: 8px; margin-top: 8px; }
.mk-opt { flex: 1; padding: 8px 0; border: 1px solid var(--rule); border-radius: 99px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--grey); }
.mk-btn { display: block; margin-top: 14px; padding: 11px; border-radius: 99px; background: var(--teal); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }

/* Follow-up flow: each step sits in the same grid row as the part of the card it points to */
.fx { container-type: inline-size; }
.fx-row { position: relative; isolation: isolate; }
.fx-row::before { content: ""; position: absolute; z-index: -1; inset: 3px -12px; border-radius: 13px; background: #eef7f8; box-shadow: inset 0 0 0 1.5px var(--teal); }
.fx-state { display: grid; justify-items: end; }
.fx-state > * { grid-area: 1 / 1; }
.mk-chip.fx-after { display: inline-flex; align-items: center; gap: 5px; background: var(--teal); color: #fff; }
.mk-chip.fx-after .icon { width: 14px; height: 14px; }
.fx-before { opacity: 0; }
.fx-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 336px); grid-template-rows: auto auto auto auto 1fr; row-gap: 14px; margin-top: 18px; }
.fx-flow p { margin: 0; }
.fx-card { grid-column: 2; grid-row: 1 / 5; background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(31, 48, 56, .06), 0 18px 44px -18px rgba(31, 48, 56, .28); }
.fx-title, .fx-note, .fx-pick, .fx-save { position: relative; grid-column: 2; padding-inline: 20px; }
.fx-title { grid-row: 1; display: grid; padding-top: 18px; }
.fx-title span { font-size: 13.5px; font-weight: 500; color: var(--grey); }
.fx-note { grid-row: 2; }
.fx-note span { display: block; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--slate); }
.fx-pick { grid-row: 3; }
.fx-pick > p { font-size: 13px; font-weight: 600; color: var(--grey); }
.fx-pick .mk-row { gap: 6px; }
.fx-choice { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-deep); }
.fx-save { grid-row: 4; padding-bottom: 20px; align-self: start; }
.fx-save .mk-btn { margin-top: 0; }
.fx-step { grid-column: 1; display: flex; align-items: center; gap: 10px; align-self: center; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--teal-deep); }
.fx-step--1 { grid-row: 2; }
.fx-step--2 { grid-row: 3; align-self: end; min-height: 40px; }
.fx-step i, .fx-ticket p i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-deep); color: #fff; font-size: 13px; font-style: normal; font-weight: 700; }
.fx-step span { max-width: 11ch; }
.fx-step em, .fx-booked em { position: relative; flex: 1; min-width: 14px; height: 2px; margin-right: -12px; z-index: 1; background: repeating-linear-gradient(90deg, var(--teal) 0 5px, transparent 5px 9px); }
.fx-step em::after, .fx-booked em::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border: solid var(--teal); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.fx-booked { grid-column: 1; grid-row: 4 / 6; display: flex; align-items: flex-start; align-self: start; z-index: 1; }
.fx-booked em { margin: 19px -12px 0 8px; order: 2; }
.fx-booked em::after { right: auto; left: 0; transform: rotate(-135deg); }
.fx-ticket { flex: none; width: min(210px, calc(100% - 34px)); display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--slate); color: #fff; box-shadow: 0 18px 34px -18px rgba(31, 48, 56, .6); }
.fx-ticket p { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.25; color: #b9d9dd; }
.fx-ticket p i { width: 22px; height: 22px; font-size: 12px; background: #6fc6cf; color: #10262d; }
.fx-ticket b { margin-top: 5px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fx-ticket > span { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #dbe7ea; }
.fx-ticket .icon { width: 15px; height: 15px; }
@container (max-width: 500px) {
  .fx-flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .fx-card { grid-column: 1; grid-row: 1 / 5; }
  .fx-title, .fx-note, .fx-pick, .fx-save { grid-column: 1; }
  .fx-step { display: none; }
  .fx-booked { grid-row: 5; flex-direction: column; margin: 0; align-items: stretch; }
  .fx-booked em { order: -1; align-self: center; flex: none; width: 2px; height: 26px; min-width: 0; margin: -6px 0 8px; background: repeating-linear-gradient(180deg, var(--teal) 0 5px, transparent 5px 9px); }
  .fx-booked em::after { left: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .fx-ticket { width: 100%; box-sizing: border-box; }
}

/* The flow plays once when scrolled into view. Without script or with reduced motion it shows the finished state. */
@media (prefers-reduced-motion: no-preference) {
  .fx-row::before, .fx-before, .fx-after, .fx-note span, .fx-choice, .fx-save .mk-btn, .fx-step, .fx-ticket, .fx-booked em { transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .3, 1.2), clip-path .8s ease, background-color .3s ease, border-color .3s ease, color .3s ease; }
}
.fx.is-armed .fx-row::before, .fx.is-armed .fx-after { opacity: 0; }
.fx.is-armed .fx-before { opacity: 1; }
.fx.is-armed .fx-step { opacity: .25; transform: translateX(-6px); }
.fx.is-armed .fx-note span { clip-path: inset(0 100% 0 0 round 10px); }
.fx.is-armed .fx-choice { border-color: var(--rule); background: #fff; color: var(--grey); }
.fx.is-armed .fx-ticket { opacity: 0; transform: translateY(14px) scale(.94); }
.fx.is-armed .fx-booked em { opacity: 0; }
.fx.is-armed.s1 .fx-row::before, .fx.is-armed.s1 .fx-step--1 { opacity: 1; transform: none; }
.fx.is-armed.s1 .fx-note span { clip-path: inset(0 0 0 0 round 10px); }
.fx.is-armed.s2 .fx-step--2 { opacity: 1; transform: none; }
.fx.is-armed.s2 .fx-choice { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-deep); }
.fx.is-armed.s3 .fx-save .mk-btn { transform: scale(.95); }
.fx.is-armed.s4 .fx-save .mk-btn { transform: none; }
.fx.is-armed.s4 .fx-ticket, .fx.is-armed.s4 .fx-booked em, .fx.is-armed.s4 .fx-after { opacity: 1; transform: none; }
.fx.is-armed.s4 .fx-before { opacity: 0; }

/* Pipeline */
.mk-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mk-col { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: #fff; border-top: 5px solid #b9d9dd; }
.mk-col--contacted { border-top-color: #7fbcc3; }
.mk-col--proposal { border-top-color: #3e97a1; }
.mk-col--negotiation { border-top-color: #0d7480; }
.mk-colhead { display: flex; justify-content: space-between; gap: 8px; margin: 2px 4px 4px; font-size: 15px; color: var(--slate); }
.mk-colhead span { color: var(--grey); }
.mk-deal { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.mk-deal b { font-size: 16px; line-height: 1.3; color: var(--slate); }
.mk-deal > span { font-size: 14px; color: var(--grey); }
.mk-deal p { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 0; }
.mk-deal strong { font-size: 20px; font-weight: 600; color: var(--slate); }
.mk-deal i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); font-size: 13px; font-weight: 700; font-style: normal; }
.mk-deal.is-lifted { position: relative; z-index: 1; transform: translate(14px, 6px) rotate(3.5deg); border-color: var(--teal); box-shadow: 0 22px 38px -16px rgba(13, 116, 128, .5); }
.mk-drop { display: grid; place-items: center; flex: 1; min-height: 128px; border: 2px dashed #7fbcc3; border-radius: 14px; background: #f1f8f9; font-size: 14px; font-weight: 600; color: var(--teal-deep); }

/* Reports (one hue, every value printed) */
.mk-reports { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.mk-panel { min-width: 0; margin: 0; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: #2a3b43; color: #f7f9fa; }
.mk-figures { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.mk-figures p { display: grid; margin: 0; }
.mk-figures span { font-size: 15px; color: #b5c4ca; }
.mk-figures b { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.mk-panel figcaption { font-size: 18px; font-weight: 600; }
.mk-panel .xc { --xc-bar: #6fc6cf; --xc-bar-hi: #9bdbe1; --xc-grid: #3b4e57; --xc-base: #66808a; --xc-ink: #f7f9fa; --xc-ink2: #b5c4ca; --xc-hover: rgba(255, 255, 255, .06); --xc-tip: #fff; --xc-tip-ink: #1f3038; --xc-h: 220px; margin-top: 22px; }
.mk-panel .xc-h .xc-row { min-height: 45px; }

/* Roles: one switcher, with each person's view of the product */
.rs { max-width: 1160px; margin-inline: auto; }
.rs-tabs[hidden] { display: none; }
.rs-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(520px, 100%); margin: 0 auto 28px; padding: 6px; border-radius: 99px; background: #e9eff1; }
.rs-glide { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(31, 48, 56, .08), 0 8px 20px -10px rgba(31, 48, 56, .35); }
.rs[data-active="1"] .rs-glide { transform: translateX(100%); }
.rs-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 58px; padding: 6px 10px; border: 0; border-radius: 99px; background: none; font: inherit; text-align: left; color: var(--grey); cursor: pointer; }
.rs-tabs button:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.rs-tabs i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #d3e0e3; color: var(--slate); font-size: 13.5px; font-style: normal; font-weight: 700; }
.rs-tabs [aria-selected="true"] i { background: var(--teal); color: #fff; }
.rs-tabs button > span { display: grid; font-size: 13.5px; line-height: 1.3; }
.rs-tabs b { font-size: 15.5px; color: var(--slate); }
.rs-panels { display: grid; gap: 24px; }
.rs-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3.4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 40px); padding-right: 0; border-radius: 32px; background: linear-gradient(140deg, #e3f1f2, #cfe6e9); overflow: hidden; }
.rs.is-tabbed .rs-panel { grid-area: 1 / 1; }
.rs.is-tabbed .rs-panel:not(.is-current) { visibility: hidden; opacity: 0; }
.rs-about h3 { margin: 0; font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--slate); }
.rs-about > p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: #3d4f57; }
.rs-about ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15.5px; font-weight: 500; color: var(--slate); }
.rs-about li { display: flex; align-items: center; gap: 11px; }
.rs-about li .icon { flex: none; width: 24px; height: 24px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: #fff; color: var(--teal-deep); stroke-width: 3; }
.rs-about .btn { margin-top: 30px; }
.rs-window { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 440px; border-radius: 20px 0 0 20px; overflow: hidden; background: #f7f9fa; box-shadow: 0 30px 60px -30px rgba(9, 85, 96, .55); }
.rs-window p, .rs-window ul { margin: 0; padding: 0; list-style: none; }
.rs-side { padding: 18px 12px; background: var(--slate); color: #c3d0d5; }
.rs-side > p { display: flex; align-items: center; gap: 8px; padding: 0 8px 16px; color: #fff; font-size: 15px; font-weight: 700; }
.rs-side .mark { flex: none; }
.rs-side ul { display: grid; gap: 4px; }
.rs-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; }
.rs-side li .icon { flex: none; width: 16px; height: 16px; }
.rs-side li.is-on { background: var(--teal); color: #fff; }
.rs-side li.is-locked { border: 1px dashed #52666f; color: #8fa3ab; }
.rs-side .rs-lock { width: 14px; height: 14px; margin-left: auto; color: #f0b655; }
.rs-main { min-width: 0; padding: 22px 24px; }
.rs-hello { font-size: 20px; font-weight: 700; color: var(--slate); }
.rs-main .rs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rs-stats p { display: grid; align-content: space-between; gap: 4px; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.rs-stats span { font-size: 12.5px; line-height: 1.3; color: var(--grey); }
.rs-stats b { font-size: 25px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--slate); }
.rs-main .rs-cap { margin-top: 22px; font-size: 14.5px; font-weight: 700; color: var(--slate); }
.rs-main .rs-list { margin-top: 10px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.rs-list li { display: grid; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.rs-list li:last-child { border-bottom: 0; }
.rs-list span { display: grid; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--grey); }
.rs-list span b { font-size: 14px; color: var(--slate); }
.rs-list strong { min-width: 52px; text-align: right; font-size: 14.5px; color: var(--slate); }
.rs-main .rs-chart { margin-top: 10px; padding: 8px 14px 8px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.rs-chart .xc { --xc-label: minmax(88px, 108px); }
.rs-chart .xc-row { min-height: 54px; }
.rs-mine li { grid-template-columns: minmax(0, 1fr) auto auto; padding-block: 10px; }
.rs-mine em { padding: 4px 10px; border-radius: 99px; background: #e9eff1; font-size: 12px; font-style: normal; font-weight: 600; color: var(--slate); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .rs-glide { transition: transform .35s cubic-bezier(.3, .8, .3, 1); }
  .rs.is-tabbed .rs-panel { transition: opacity .3s ease, visibility .3s; }
  .rs.is-tabbed .rs-window { transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
  .rs.is-tabbed .rs-panel:not(.is-current) .rs-window { transform: translateX(32px); }
}
@media (max-width: 1023px) {
  .rs-panel { grid-template-columns: minmax(0, 1fr); padding-right: clamp(18px, 3vw, 40px); }
  .rs-window { border-radius: 20px; }
}
@media (max-width: 639px) {
  .rs-tabs button { gap: 8px; }
  .rs-tabs i { width: 32px; height: 32px; font-size: 12px; }
  .rs-tabs b { font-size: 14px; }
  .rs-tabs button > span { font-size: 12.5px; }
  .rs-panel { padding: 20px 12px 12px; border-radius: 22px; }
  .rs-about { padding-inline: 8px; }
  .rs-about .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .rs-window { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 16px; }
  .rs-side { padding: 12px; }
  .rs-side > p { display: none; }
  .rs-side ul { grid-template-columns: 1fr 1fr; }
  .rs-main { padding: 16px 12px; }
  .rs-main .rs-stats { gap: 6px; }
  .rs-stats p { padding: 10px 9px; }
  .rs-stats b { font-size: 20px; }
  .rs-stats span { font-size: 11.5px; }
  .rs-list li { gap: 8px; padding-inline: 10px; }
  .rs-mine li { grid-template-columns: minmax(0, 1fr) auto; }
  .rs-mine em { grid-row: 2; justify-self: start; }
  .rs-mine strong { grid-row: 1; grid-column: 2; }
}

/* Property: every unit on one price axis, with a detail panel for the chosen unit */
.px-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.px { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.px-chart { min-width: 0; padding: clamp(14px, 2.6vw, 32px); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -44px rgba(31, 48, 56, .45); }
.px-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.px-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 99px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--slate); cursor: pointer; }
.px-filters b { font-weight: 500; color: var(--grey); }
.px-filters button[aria-pressed="true"] { border-color: var(--slate); background: var(--slate); color: #fff; }
.px-filters button[aria-pressed="true"] b { color: #c3d0d5; }
.px-filters button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.px-key { width: 10px; height: 10px; border-radius: 3px; }
.px-bars .is-available { background: var(--teal); }
.px-key.is-available { background: var(--teal); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.px-bars .xc-area i.is-on-hold, .px-key.is-on-hold { background: #d99616; }
.px-bars .xc-area i.is-booked, .px-key.is-booked { background: repeating-linear-gradient(135deg, #8ea1a9 0 3px, #b9c7cc 3px 6px); }
.px-bars { --xc-label: 104px; --xc-value: 56px; }
.px-group h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; padding: 12px 0 6px; font-size: 15px; font-weight: 700; color: var(--slate); }
.px-group:first-child h3 { padding-top: 0; }
.px-group h3 span { font-size: 13px; font-weight: 500; color: var(--grey); }
.px-bars button.xc-row { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; min-height: 36px; transition: opacity .2s, background-color .2s; }
.px-bars button.xc-row:hover { background: var(--xc-hover); }
.px-bars button.xc-row[aria-pressed="true"] { background: #e6f3f4; box-shadow: 0 0 0 1.5px var(--teal); }
.px-bars button.xc-row:focus-visible { outline: 2px solid var(--slate); outline-offset: 1px; }
.px-bars .xc-label { display: grid; padding-left: 8px; }
.px-bars .xc-label b { font-size: 13.5px; line-height: 1.2; }
.px-bars .xc-label small { font-size: 11.5px; color: var(--grey); }
.px-bars .xc-val { padding-right: 8px; }
.px-bars li.is-dim button { opacity: .28; }
.px-detail { position: sticky; top: 96px; padding: 28px; border-radius: 24px; background: var(--slate); color: #fff; }
.px-detail p { margin: 0; }
.px-code { font-size: 15px; font-weight: 700; color: #8fd3da; }
.px-type { margin-top: 2px !important; font-size: 15px; color: #c3d0d5; }
.px-price { margin-top: 18px !important; font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.px-steps { position: relative; display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.px-steps li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 38px; font-size: 15px; color: #8fa3ab; }
.px-steps li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 27px; height: 22px; width: 2px; background: #3d525c; }
.px-steps i { width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 2px solid #5b727c; }
.px-steps li[aria-current] { font-weight: 700; color: #fff; }
.px-steps li[aria-current] i { border: 0; background: #6fc6cf; box-shadow: 0 0 0 5px rgba(111, 198, 207, .22); }
.px-detail[data-state="on-hold"] .px-steps li[aria-current] i { background: #f0b03c; box-shadow: 0 0 0 5px rgba(240, 176, 60, .22); }
.px-buyer { margin-top: 22px; padding-top: 18px; border-top: 1px solid #3d525c; font-size: 14px; color: #b5c4ca; }
.px-buyer .px-who { margin-bottom: 4px; font-size: 18px; font-weight: 600; color: #fff; }

/* Questions */
main > section.lp > .wrap.lp-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lp-faq .lp-lead a { color: var(--teal-deep); font-weight: 600; text-underline-offset: 4px; }
.lp-faq__list { border-top: 1px solid var(--rule); }
.lp-faq details { border-bottom: 1px solid var(--rule); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; font-size: 18px; font-weight: 600; color: var(--slate); cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp-faq details[open] summary::after { transform: rotate(225deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.lp-faq details p { margin: 0; padding: 0 40px 22px 0; font-size: 16px; line-height: 1.6; color: var(--grey); max-width: 62ch; }

/* Closing and footer */
.lp-foot { background: #fff; padding-block: clamp(56px, 7vw, 96px) 32px; }
.lp-cta { display: grid; justify-items: center; text-align: center; padding: clamp(48px, 7vw, 96px) 24px; border-radius: 32px; background: var(--teal-deep); color: #fff; }
.lp-cta h2 { margin: 0; max-width: 22ch; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; color: #fff; text-wrap: balance; }
.lp-cta p { margin: 18px 0 0; font-size: 19px; color: #d3eaec; }
.lp-cta .btn { margin-top: 32px; min-height: 56px; padding-inline: 36px; background: #fff; color: var(--teal-deep); font-size: 18px; }
.lp-cta .btn:hover { background: #e4f3f4; }
.lp-foot__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 28px 48px; margin-top: 56px; }
.lp-foot__links p { max-width: 44ch; margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--grey); }
.lp-foot__links .nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.lp-foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--slate); text-decoration: none; }
.lp-foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-legal { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--grey); }

@media (max-width: 1023px) {
  .px { grid-template-columns: minmax(0, 1fr); }
  main > section.lp > .wrap.lp-faq { grid-template-columns: minmax(0, 1fr); }
  .px-detail { position: sticky; top: auto; bottom: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; padding: 16px 18px; border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
  .px-type { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .px-code { grid-column: 1; grid-row: 1; }
  .px-price { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0 !important; font-size: 26px; }
  .px-steps { display: none; }
  .px-buyer { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; font-size: 13px; }
  .px-buyer .px-who { font-size: 15px; margin-bottom: 0; }
  main > section.lp > .wrap.lp-split { grid-template-columns: minmax(0, 1fr); }
  .mk-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-reports { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .px-head .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .px-bars { --xc-label: 88px; --xc-value: 46px; }
  .px-filters button { padding: 0 11px; font-size: 13px; }
  .lp-stage { padding: 14px; border-radius: 20px; }
  .mk-queue { padding: 16px 14px 6px; }
  .mk-queue li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .mk-ico { width: 36px; height: 36px; }
  .mk-who b { font-size: 15px; }
  .mk-who { font-size: 13px; }
  .mk-chip { padding: 4px 9px; }
  .mk-board { grid-template-columns: minmax(0, 1fr); }
  .mk-col--new, .mk-col--contacted { display: none; }
  .mk-deal.is-lifted { transform: translate(8px, 2px) rotate(2deg); }
  .mk-figures { gap: 12px 26px; flex-wrap: nowrap; justify-content: space-between; }
  .mk-figures b { font-size: 30px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .lp-stage { width: min(620px, 100%); }
  .lp-copy > .btn { justify-self: start; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .mk-board { gap: 12px; }
  .mk-col { padding: 10px; }
}
a.btn.btn--secondary, a.btn.btn--secondary:hover, a.btn.btn--secondary:focus-visible { text-decoration: none; background: #fff; border: 1px solid #c9d5d9; color: #1f3038; }
a.btn.btn--secondary:hover { border-color: #0d7480; color: #095b65; }

/* Phones: one surface at a time, full width, no boxes inside boxes */
@media (max-width: 639px) {
  main > section.lp { padding-block: 60px; }
  main > section.lp > .wrap, .lp-foot > .wrap { width: 100%; max-width: none; padding-inline: 18px; box-sizing: border-box; }
  .lp h2 { font-size: 32px; line-height: 1.08; }
  .lp-lead { margin-top: 14px; font-size: 17px; }
  .lp-head { justify-items: start; text-align: left; margin-bottom: 28px; }
  .lp-points { margin-top: 28px; gap: 22px; }
  .lp-points p { font-size: 16px; }

  .hero__window { margin-inline: 0; }
  main > .hero .hero__window { height: 470px; min-height: 470px; }
  main > .hero .hero__window .product { width: 100%; max-width: 360px; margin: 12px auto 0; }

  /* Follow-up flow */
  .lp-stage.lp-stage--tint { padding: 0; border-radius: 0; background: none; }
  .mk, .fx-card { border: 1px solid var(--rule); box-shadow: 0 14px 34px -24px rgba(31, 48, 56, .45); }
  .mk-queue { padding: 18px 16px 6px; }
  .mk-queue li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .mk-ico { width: 40px; height: 40px; }
  .mk-who { font-size: 14.5px; }
  .mk-who b { font-size: 16px; }
  .fx-row::before { inset: 4px -8px; }
  .fx-title span { font-size: 14.5px; }
  .fx-note span { font-size: 15px; }
  .fx-title, .fx-note, .fx-pick, .fx-save { padding-inline: 16px; }
  .fx-pick > p, .mk-opt { font-size: 14px; }
  .mk-opt { padding-block: 10px; }
  .mk-btn { font-size: 15px; padding: 13px; }
  .fx-ticket p { font-size: 14px; }
  .fx-ticket > span { font-size: 14.5px; }

  /* Pipeline: stage headings and cards, with the phone move menu instead of drag and drop */
  .mk-board { gap: 26px; }
  .mk-col { padding: 0; gap: 10px; border: 0; border-radius: 0; background: none; }
  .mk-colhead { margin: 0; padding-bottom: 8px; border-bottom: 3px solid #3e97a1; font-size: 16px; }
  .mk-col--negotiation .mk-colhead { border-bottom-color: #0d7480; }
  .mk-deal.is-lifted { transform: none; box-shadow: 0 14px 28px -20px rgba(13, 116, 128, .6); }
  .mk-deal.is-lifted::after { content: "Move to\2026"; display: flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 0 12px; border: 1px solid var(--teal); border-radius: 10px; background: #eef7f8 linear-gradient(45deg, transparent 50%, var(--teal) 50%) calc(100% - 19px) 19px / 6px 6px no-repeat; font-size: 14.5px; font-weight: 600; color: var(--teal-deep); }
  .mk-deal.is-lifted::after { background-image: linear-gradient(45deg, transparent 50%, #0d7480 50%), linear-gradient(135deg, #0d7480 50%, transparent 50%); background-position: calc(100% - 20px) 19px, calc(100% - 14px) 19px; background-size: 6px 6px; }
  .mk-drop { display: none; }

  /* Reports */
  .mk-reports { gap: 14px; }
  .mk-panel { padding: 20px 16px; border-radius: 18px; }
  .mk-figures { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; }
  .mk-figures span { font-size: 14px; }
  .mk-panel .xc-h .xc-row { min-height: 0; }

  /* Roles */
  .rs-tabs { width: 100%; margin-bottom: 24px; }
  .rs-tabs button > span { font-size: 13px; }
  .rs-panel { gap: 22px; padding: 0; border-radius: 0; background: none; overflow: visible; }
  .rs-about { padding: 0; }
  .rs-about ul { margin-top: 18px; font-size: 16px; }
  .rs-about li .icon { background: var(--teal-tint); }
  .rs-about .btn { margin-top: 22px; }
  .rs-window { border: 1px solid var(--rule); box-shadow: 0 18px 40px -28px rgba(9, 85, 96, .6); }
  .rs-side li { min-height: 24px; font-size: 14px; }
  .rs-main { padding: 18px 14px; }
  .rs-stats span { font-size: 13px; }
  .rs-stats b { font-size: 21px; }
  .rs-main .rs-cap { font-size: 15.5px; }
  .rs-main .rs-chart { padding: 0; border: 0; background: none; }
  .rs-chart .xc-row { min-height: 0; }
  .rs-list span { font-size: 13.5px; }
  .rs-list span b { font-size: 15px; }
  .rs-mine em { font-size: 13px; }

  /* Property chart: the chosen unit opens right under its bar */
  .px { gap: 0; }
  .px-chart { padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .px-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .px-filters button { justify-content: center; min-height: 44px; font-size: 14.5px; }
  .px-group h3 { padding-top: 18px; font-size: 16px; }
  .px-group h3 span { font-size: 14px; }
  .px-bars button.xc-row { min-height: 52px; padding: 8px 8px; }
  .px-bars .xc-label { display: flex; align-items: baseline; gap: 8px; padding: 0; }
  .px-bars .xc-label b { font-size: 15px; }
  .px-bars .xc-label small { font-size: 13.5px; }
  .px-bars .xc-val { padding: 0; }
  .px-bars .xc-xaxis { padding-inline: 8px; }
  .px-detail { position: static; margin: 8px 0 12px; }
  .px-type { font-size: 14.5px; }
  .px-buyer { font-size: 14px; }
  .px-buyer .px-who { font-size: 16px; }

  /* Questions, closing and footer */
  .lp-faq summary { font-size: 17px; }
  .lp-faq details p { padding-right: 0; }
  .lp-foot { padding-top: 24px; }
  .lp-cta { padding: 44px 20px; border-radius: 22px; }
  .lp-cta h2 { font-size: 34px; }
  .lp-cta p { font-size: 17px; }
  .lp-cta .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .lp-foot__links { margin-top: 36px; }
  .lp-foot nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; column-gap: 16px; }
  .lp-foot nav a { font-size: 16px; }
}
/* Sections are as tall as their content, so short ones leave no empty band */
main > section.lp.lp:nth-of-type(n) { min-height: 0; height: auto; }
@media (max-width: 639px) {
  main > .hero .hero__window .product { width: calc(100% - 28px); margin-top: 14px; }
  main > .hero .hero__window .product img { width: 100%; height: auto; }
}
/* Narrow phones: the time or status moves under the text so names do not wrap */
@media (max-width: 380px) {
  .mk-queue li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; }
  .mk-queue li > :nth-child(3) { grid-column: 2; justify-self: start; justify-items: start; }
  .rs-tabs i { display: none; }
  .rs-tabs button > span { text-align: center; }
}
/* Tablets: phone shaped preview at its natural size, visuals centred */
@media (min-width: 640px) and (max-width: 1023px) {
  .lp-stage { justify-self: center; margin-inline: auto; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  main > section.hero.hero { height: auto; min-height: 0; padding-bottom: 48px; }
  main > section.hero.hero > .wrap, main > section.hero.hero .hero-text { height: auto; }
  main > section.hero.hero .hero__window { flex: none; height: auto; min-height: 0; padding: 24px; -webkit-mask-image: none; mask-image: none; }
  main > section.hero.hero .hero__window > .ly-piece { position: static; width: 100%; transform: none; }
  .px-bars button.xc-row { min-height: 44px; }
  .px-bars .xc-label small { font-size: 13px; }
  .xc-axisname { font-size: 13px; }
}

/* Desktop only: a phone visitor already gets the app layout */
.hero__phone { display: none; }
@media (min-width: 900px) {
  .hero__phone { display: block; margin-top: 14px; }
  .hero__phone a { border: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 15px; font-weight: 700; color: var(--accent, #0d7480); text-underline-offset: 3px; }
  .hero__phone .icon, .hero__phone svg { width: 18px; height: 18px; flex: none; }
}

/* The desktop board shows the first deals in each stage; phones show every deal */
@media (min-width: 640px) { .mk-board .mk-deal.is-extra { display: none; } }

/* Controls that only phones use */
.only-phone, .hero__note, .rs-tabbar, .rs-more, .rs-hello > span, .rs-extra { display: none; }
/* Both roles get a window of the same height, so switching between them never resizes it */
@media (min-width: 640px) { .rs-window { min-height: 500px; align-self: center; } }
.ph-chips, .ph-seg { display: none; }

@media (max-width: 639px) {
  .only-wide { display: none; }
  .only-phone { display: inline; }

  /* Opening: the whole phone screen, tab bar included, shown as a phone */
  main > .hero .hero__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 15px; font-weight: 600; color: #095b65; }
  .hero__note .icon { width: 18px; height: 18px; flex: none; }
  main > section.hero.hero { height: auto; min-height: 0; padding-bottom: 8px; }
  main > section.hero.hero > .wrap, main > section.hero.hero .hero-text { height: auto; }
  main > section.hero.hero .hero__window { flex: none; height: auto; min-height: 0; padding: 28px 0 30px; border-radius: 26px; -webkit-mask-image: none; mask-image: none; }
  main > section.hero.hero .hero__window > .ly-piece { position: static; width: min(272px, 82%); max-width: none; margin: 0 auto; transform: none; }
  main > section.hero.hero .hero__window .product { position: relative; inset: auto; box-sizing: border-box; padding: 8px; border-radius: 42px; background: #10181c; box-shadow: 0 30px 44px -24px rgba(16, 24, 28, .6); }
  .hero__window .product::before { content: "9:41"; display: block; height: 34px; padding-left: 22px; border-radius: 34px 34px 0 0; background: #f8fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='11'%3E%3Crect x='.5' y='.5' width='18' height='10' rx='3' fill='none' stroke='%231f3038'/%3E%3Crect x='2.5' y='2.5' width='12' height='6' rx='1.5' fill='%231f3038'/%3E%3Crect x='20' y='3.5' width='2' height='4' rx='1' fill='%231f3038'/%3E%3C/svg%3E") no-repeat right 20px center; color: #1f3038; font-size: 12px; font-weight: 700; line-height: 34px; }
  .hero__window .product::after { content: ""; position: absolute; top: 16px; left: 50%; width: 66px; height: 18px; border-radius: 99px; background: #10181c; transform: translateX(-50%); }
  /* The whole screen is clipped to one curve that follows the frame: 42px outside, less the 8px edge */
  .hero__window .product picture { display: block; overflow: hidden; border-radius: 0 0 34px 34px; }
  /* White space under the tab bar, so the rounded corners never touch the labels */
  .hero__window .product picture::after { content: ""; display: block; height: 10px; background: #fff; }
  main > section.hero.hero .hero__window .product img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
  main > section.lp#follow-ups { padding-top: 48px; }

  /* Sideways rows and two or three way switches */
  .ph-chips:not([hidden]) { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 16px; padding: 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ph-chips::-webkit-scrollbar, .mk-board::-webkit-scrollbar, .px-filters::-webkit-scrollbar { display: none; }
  .ph-chips button { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 15px; border: 1px solid #c9d5d9; border-radius: 99px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--slate); white-space: nowrap; cursor: pointer; user-select: none; }
  .ph-chips b { min-width: 20px; border-radius: 99px; background: #e8eef0; font-size: 12.5px; line-height: 20px; text-align: center; }
  .ph-chips button[aria-pressed="true"] { border-color: var(--slate); background: var(--slate); color: #fff; }
  .ph-chips button[aria-pressed="true"] b { background: #fff; color: var(--slate); }
  .ph-seg:not([hidden]) { display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 3px; margin: 0 0 14px; padding: 4px; border-radius: 14px; background: #e1e9eb; }
  .ph-seg button { min-width: 0; min-height: 40px; padding: 0 8px; border: 0; border-radius: 11px; background: none; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--grey); white-space: nowrap; cursor: pointer; }
  .ph-seg button[aria-pressed="true"] { background: #fff; color: var(--slate); box-shadow: 0 1px 4px rgba(31, 48, 56, .2); }
  .ph-seg--dark:not([hidden]) { grid-auto-columns: 1fr; background: #2c3c44; }
  .ph-seg--dark button { color: #c3d0d5; }

  /* Pipeline: one stage in view with the next one peeking in */
  main > section.lp .mk-board { display: flex; gap: 12px; align-items: flex-start; margin: 0 -18px; padding: 2px 18px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
  main > section.lp .mk-board.is-gliding { scroll-snap-type: none; }
  .mk-board > .mk-col, .mk-board > .mk-col--new, .mk-board > .mk-col--contacted { display: flex; flex-direction: column; flex: 0 0 82%; scroll-snap-align: start; user-select: none; }
  .mk-col--new .mk-colhead, .mk-col--contacted .mk-colhead { border-bottom-color: #7fb8bf; }

  /* Reports: one chart at a time */
  .mk-reports .mk-panel.is-off { display: none; }

  /* Roles: each window is a small phone app */
  /* The phone is as tall as its screen needs, so nothing is cut off. landing.js gives both roles the same height. */
  .rs-window { display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; border: 7px solid #10181c; border-radius: 30px; }
  .rs-window .rs-main { display: flex; flex: 1 0 auto; flex-direction: column; }
  /* The last list takes up any spare height, so neither screen ends in a blank gap */
  .rs-extra { display: flex; flex: 1 0 auto; flex-direction: column; }
  .rs-window .rs-main .rs-mine, .rs-window .rs-main .rs-due { display: flex; flex: 1 0 auto; flex-direction: column; }
  .rs-mine li, .rs-due li { flex: 1 0 auto; align-content: center; }
  .rs-window .rs-main .rs-cap { margin-top: 16px; }
  .rs-window .rs-chart .xc-row { padding-block: 4px; }
  .rs-window .rs-due li { padding-block: 8px; }
  .rs-due li { grid-template-columns: minmax(0, 1fr) auto; }
  .rs-due strong.is-late { color: #a8261b; }
  .rs-window .rs-side { display: none; }
  .rs-main .rs-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 21px; }
  .rs-hello > span { display: flex; gap: 18px; }
  .rs-hello .icon { width: 20px; height: 20px; }
  .rs-window .rs-tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 10px 2px 11px; list-style: none; border-top: 1px solid var(--rule); background: #fff; }
  .rs-tabbar li { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--grey); white-space: nowrap; }
  .rs-tabbar i { display: grid; place-items: center; width: 40px; height: 24px; border-radius: 99px; }
  .rs-tabbar .icon { width: 17px; height: 17px; }
  .rs-tabbar .is-on { color: var(--teal-deep); font-weight: 700; }
  .rs-tabbar .is-on i { background: var(--teal-tint); }
  .rs-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -8px 0 0; font-size: 14px; color: var(--grey); text-align: center; }
  .rs-more .icon { width: 16px; height: 16px; flex: none; color: var(--teal); }

  /* Property: filters swipe sideways and one project shows at a time */
  .px .px-filters { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 12px; padding: 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .px .px-filters button { flex: none; white-space: nowrap; user-select: none; }
  .px.is-grouped .px-group.is-off { display: none; }
  .px.is-grouped .px-group h3 { padding-top: 0; }
}
@media (max-width: 380px) {
  .ph-seg button { font-size: 12.5px; padding: 2px 4px; line-height: 1.2; white-space: normal; }
  .ph-seg:not([hidden]) { grid-auto-columns: 1fr; }
}

/* Phones: slimmer top bar buttons. The invisible edge keeps each one 44px tall to a finger. */
@media (max-width: 639px) {
  header.nav:not(.is-open) .nav__actions .btn { position: relative; height: 34px; min-height: 0; padding-inline: 13px; gap: 6px; font-size: 13.5px; }
  header.nav .nav__bar .nav__toggle { position: relative; width: 34px; height: 34px; min-width: 0; min-height: 0; padding: 0; }
  header.nav .nav__toggle svg { width: 16px; height: 16px; }
  header.nav:not(.is-open) .nav__actions .btn::after, header.nav .nav__bar .nav__toggle::after { content: ""; position: absolute; inset: -6px -3px; }
}
