/* Sales Performance page: its screens. Shared parts are in product.css. */
/* Sales Performance: what this page adds to product.css. This file loads on this page only, and every rule is scoped to an .sp- class or to one of its sections. */

/* Parts shared by the screens */
.sp-f { display: grid; gap: 4px; min-width: 0; }
.sp-f > span { font-size: 11px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-sel { padding-right: 22px; position: relative; }
.sp-sel::after { content: ''; position: absolute; right: 10px; top: 11px; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-4); border-bottom: 1.5px solid var(--ink-4); transform: rotate(45deg); }
.sp-lbl { margin: 0 0 7px; font: 700 10px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sp-mute { color: var(--ink-4); }
.sp-grow { flex: 1; }
.sp-rt { display: inline-flex; align-items: center; gap: 8px; }
.sp-gr { color: #5ee9b5; }

/* Rule chips */
.sp-k, .sp-o, .sp-v { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap; }
.sp-k { background: var(--pa-soft); color: var(--pa-ink); }
.sp-o { background: #0a2540; color: #fff; font: 700 11.5px/1 var(--mono); }
.sp-v { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.sp-and { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; background: var(--pa-soft); color: var(--pa-ink); font: 700 10px/1 var(--mono); letter-spacing: .04em; }
.sp-if { font: 700 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.sp-v--edit.is-on { box-shadow: inset 0 0 0 1.5px var(--pa); }

/* Bars and the tier ruler */
.sp-bar { position: relative; display: block; height: 6px; border-radius: 6px; background: #eaeff5; overflow: hidden; }
.sp-bar i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--pa), var(--pb)); transition: width .9s var(--ease); }
.sp-att { display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 7px; min-width: 96px; }
.sp-att .sp-bar::after { content: ''; position: absolute; left: 62.5%; top: 0; bottom: 0; width: 1.5px; background: rgba(10,37,64,.28); }
.sp-att b { font-size: 11.5px; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.sp-ruler__seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.sp-ruler__seg span { display: grid; place-items: center end; padding-right: 6px; height: 22px; background: var(--pa-soft); color: var(--pa-ink); font-size: 10.5px; font-weight: 800; }
.sp-ruler__seg span:first-child { border-radius: 6px 0 0 6px; }
.sp-ruler__seg span:nth-child(4) { border-radius: 0 6px 6px 0; }
.sp-ruler__seg span:nth-child(3) { background: #cfe0ff; }
.sp-pin { position: absolute; top: -4px; bottom: -4px; left: var(--v, 0%); width: 3px; margin-left: -1.5px; border-radius: 3px; background: #0a2540; box-shadow: 0 0 0 2px #fff; transition: left .9s var(--ease); }
.sp-ruler__t { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5px; }
.sp-ruler__t small { font: 600 9.5px/1 var(--mono); color: var(--ink-3); }
.ps-hero__stage:has(.sp-hero) { margin-right: max(-120px, min(-16px, calc((100vw - 1152px) / -2 + 24px))); }
@media (max-width: 1240px) { .ps-hero__stage:has(.sp-hero) { margin-right: 0; } }
.ps-hero__stage:has(.sp-hero) .ps-note { margin-top: 16px; }

/* Hero */
.sp-hero { position: relative; height: 556px; }
.sp-hero .ps-tilt { position: absolute; inset: 0; transform: perspective(1700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.sp-hero__win { position: absolute; left: 0; top: 26px; width: 496px; }
.sp-hero .ps-app { grid-template-columns: minmax(0, 1fr); }
.sp-hero .ps-main { padding: 14px 16px 14px; }
.sp-pipe { margin: 2px 0 12px; }
.sp-pipe span { font-size: 10.5px; }
.sp-sent { display: flex; flex-direction: column; gap: 7px; padding: 9px 10px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--rule-2); }
.sp-sent__r { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.sp-sent__r .sp-k, .sp-sent__r .sp-o, .sp-sent__r .sp-v { height: 23px; font-size: 11px; padding: 0 7px; }
.sp-sent__e { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sp-sent__e svg { width: 13px; height: 13px; color: var(--pa); flex: none; }
.sp-sent__e b { color: var(--ink); font-weight: 800; }
.sp-htable { margin-top: 8px; }
.sp-htable .ps-t td { padding: 6px 7px; }
.sp-htable .ps-t th { padding: 6px 7px; }
.sp-hfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.sp-total { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sp-total b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-rep { left: 488px; top: 58px; width: 246px; padding: 13px 14px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10,37,64,.07), 0 24px 54px -18px rgba(10,37,64,.38); font: 500 12px/1.4 var(--sans); color: var(--ink); text-align: left; }
.sp-rep__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 750; }
.sp-rep__h small { font: 600 9.5px/1 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.sp-rep .ps-kv { margin-bottom: 12px; }
.sp-rep__c { display: flex; align-items: baseline; justify-content: space-between; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--rule-2); }
.sp-rep__c small { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.sp-rep__c b { font-size: 22px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.sp-trace { left: 488px; top: 272px; width: 246px; padding: 12px 13px; border-radius: 14px; background: #0a2540; color: #fff; box-shadow: 0 26px 56px -18px rgba(10,37,64,.6); font: 500 11.5px/1.35 var(--sans); text-align: left; }
.sp-trace h5 { margin: 0 0 8px; font: 700 10px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #8fb6ff; }
.sp-trace__r { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; }
.sp-trace__r svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #5ee9b5; }
.sp-trace__r span { color: #aebfce; font-size: 10.5px; }
.sp-trace__r b { display: block; color: #fff; font-size: 12px; font-weight: 650; }
.sp-hero__t1, .sp-hero__t2 { position: absolute; z-index: 4; left: 488px; top: 452px; }
@media (min-width: 961px) { .sp-flow .ps-scrolly { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 44px; } }
@media (min-width: 961px) { .sp-flow .ps-scrolly__stage { grid-column: 2; grid-row: 1; top: calc(var(--nav-h) + var(--subnav-h, 0px) + 30px); } .sp-flow .ps-scrolly__steps { grid-column: 1; grid-row: 1; } .sp-flow .ps-step:last-child { min-height: 80vh; } }
/* Short laptop windows: the pinned screen keeps its place while it fits. Below that it rises with the header, and then its width gives way, so the dark strip stays in view. 593px is the tallest it gets plus a small margin, and 1.335 is its width over its height */
@media (min-width: 961px) { .sp-flow .ps-scrolly__stage { top: max(calc(var(--nav-off) + var(--subnav-h, 0px) + 14px), min(calc(var(--nav-h) + var(--subnav-h, 0px) + 30px), calc(100vh - 593px))); max-width: max(560px, calc((100vh - var(--subnav-h, 0px) - 22px) * 1.335)); transition: top .42s var(--ease); } }
@media (min-width: 961px) and (max-width: 1160px) { .sp-flow .ps-scrolly { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; } }
@media (min-width: 1340px) { .sp-flow .ps-scrolly { margin-right: -64px; } }

/* The story: one shell, seven views, the strip below */
.sp-story { position: relative; height: 554px; }
.sp-story .sp-shell { position: absolute; inset: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: 38px minmax(0, 1fr) 62px; }
.sp-shell .ps-bar { grid-column: 1 / -1; }
.sp-url { position: relative; display: block; height: 14px; }
.sp-url > span { position: absolute; left: 0; right: 0; top: 0; margin: 0; }
.sp-side { grid-column: 1; grid-row: 2; }
.sp-side span.is-on { background: var(--pa-soft); color: var(--pa-ink); }
.sp-side span { transition: background .3s, color .3s; }
.sp-thread { position: relative; grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: 138px repeat(6, minmax(0, 1fr)); align-items: center; background: #0a2540; color: #fff; }
.sp-thread__p { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.1); }
.sp-thread__p i { display: block; height: 100%; width: var(--v, 0%); background: linear-gradient(90deg, var(--pb), #5ee9b5); transition: width .7s var(--ease); }
.sp-thread__w { display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.sp-thread__w b { display: block; font-size: 12.5px; font-weight: 750; line-height: 1.2; }
.sp-thread__w small { display: block; font-size: 10.5px; color: #8fa3b6; }
.sp-cell { padding: 0 8px; border-left: 1px solid rgba(255,255,255,.1); transition: opacity .3s; }
.sp-cell small { display: block; font: 700 9px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #8fa3b6; white-space: nowrap; }
.sp-cell b { display: block; margin-top: 3px; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.sp-cell.is-on small { color: #8fb6ff; }
.sp-dash { color: #5b7188; }
.sp-views { position: absolute; left: 150px; right: 0; top: 38px; bottom: 62px; overflow: hidden; background: #fff; }
.sp-view { position: absolute; top: 0; bottom: 0; left: 110%; width: 100%; padding: 14px 18px 12px; opacity: 0; transform: translateY(8px); transition: opacity .24s ease, transform .24s ease, left 0s linear .24s; display: flex; flex-direction: column; }
.sp-shell[data-step="0"] ~ .sp-views .sp-view--0, .sp-shell[data-step="1"] ~ .sp-views .sp-view--1, .sp-shell[data-step="2"] ~ .sp-views .sp-view--2, .sp-shell[data-step="3"] ~ .sp-views .sp-view--3, .sp-shell[data-step="4"] ~ .sp-views .sp-view--4, .sp-shell[data-step="5"] ~ .sp-views .sp-view--5, .sp-shell[data-step="6"] ~ .sp-views .sp-view--6 { left: 0; opacity: 1; transform: none; transition: opacity .42s ease .1s, transform .55s var(--ease) .1s, left 0s; }
html:not(.js) .sp-view--0 { left: 0; opacity: 1; transform: none; }
.sp-tw { margin-top: 8px; }
.sp-tw .ps-t td, .sp-tw .ps-t th { padding: 6px 7px; }
.sp-tw--wrap .ps-t th { white-space: normal; vertical-align: bottom; }
.sp-tiles .ps-card { padding: 9px 11px; }
.sp-tiles .ps-big { font-size: 19px; }
.sp-tiles .ps-big small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

/* Story: target */
.sp-tg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.sp-casc { display: grid; gap: 4px; }
.sp-lv { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 36px auto; align-items: center; gap: 7px; height: 35px; padding: 0 10px 0 8px; margin-left: calc(var(--l, 0) * 9px); border-radius: 8px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--rule-2); }
.sp-lv--0 { --l: 0; background: #0a2540; box-shadow: none; color: #fff; }
.sp-lv--1 { --l: 1; margin-left: 8px; }
.sp-lv--2 { --l: 2; }
.sp-lv--3 { --l: 3; }
.sp-lv--4 { --l: 4; background: var(--pa-soft); box-shadow: inset 0 0 0 1px var(--pa); }
.sp-lv i { font: 700 9.5px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.sp-lv--0 i { color: #8fb6ff; }
.sp-lv b { display: block; font-size: 12px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.sp-lv small { display: block; font-size: 9.5px; color: var(--ink-3); white-space: nowrap; }
.sp-lv--0 small { color: #8fa3b6; }
.sp-lv em { font: 600 10px/1 var(--mono); font-style: normal; color: var(--ink-3); text-align: right; }
.sp-lv u { text-decoration: none; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sp-lv--4 u { color: var(--pa-ink); }
.sp-kpis { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.sp-kpis span { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 10.5px; font-weight: 650; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap; }
.sp-kpis .is-set { background: var(--pa-soft); color: var(--pa-ink); box-shadow: none; }
.sp-radio { display: grid; gap: 3px; }
.sp-radio span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.sp-radio i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9d3de; flex: none; }
.sp-radio .is-set { color: var(--ink); }
.sp-radio .is-set i { box-shadow: inset 0 0 0 3.5px var(--pa); }
.sp-splits { margin-top: 10px; }
.sp-sp { display: grid; grid-template-columns: 74px 66px minmax(0, 1fr) 44px 70px; align-items: center; gap: 8px; height: 24px; padding: 0 7px; border-bottom: 1px solid var(--rule-2); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sp-sp:last-child { border-bottom: 0; }
.sp-sp small { font-size: 11px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.sp-sp em { font-style: normal; text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; }
.sp-sp b { text-align: right; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-sp--h { height: 22px; font: 700 9.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.sp-sp--h small, .sp-sp--h em, .sp-sp--h b { font: inherit; color: inherit; }
.sp-sp--me { background: var(--pa-soft); border-radius: 6px; border-bottom-color: transparent; color: var(--pa-ink); }
.sp-sp--me small { color: var(--pa-ink); }

/* Story: plan */
.sp-form3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
.sp-plan { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.sp-chain { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; margin-bottom: 12px; }
.sp-stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; align-items: end; height: 182px; }
.sp-st { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: var(--h); padding: 7px 4px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #dbe7ff, var(--pa-soft)); text-align: center; transform-origin: bottom; }
.sp-st b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: var(--pa-ink); }
.sp-st small { font: 600 9px/1.2 var(--mono); color: var(--ink-3); white-space: nowrap; }
.sp-st--top { background: linear-gradient(180deg, var(--pa), #4f8df5); }
.sp-st--top b { color: #fff; }
.sp-st--top small { color: #dbe7ff; }
.js .sp-st[data-on]:not(.is-on) { transform: scaleY(.2); }
.js .sp-st.is-on { transition-delay: var(--d, 0s); }
.sp-formula { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 9px; border-radius: 8px; background: #f8fafc; font-size: 11px; font-weight: 650; color: var(--ink-2); }
.sp-formula svg { width: 13px; height: 13px; color: var(--pa); flex: none; }

/* Story: simulation */
.sp-what { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 9px; background: #f8fafc; border: 1px solid var(--rule-2); margin-bottom: 8px; }
.sp-what .ps-btn svg { width: 13px; height: 13px; }
.sp-budget { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.sp-budget__l { white-space: nowrap; }
.sp-budget__l b { color: var(--ink); }
.sp-budget__b { position: relative; flex: 1; height: 8px; border-radius: 8px; background: #eaeff5; }
.sp-budget__b i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--pa), var(--pb)); transition: width .9s var(--ease), background .3s; }
.sp-budget.is-on .sp-budget__b i { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.sp-budget__b u { position: absolute; left: 81.8%; top: -3px; bottom: -3px; width: 2px; border-radius: 2px; background: #0a2540; }
.sp-drop.is-on td { color: var(--ink-4); }
.sp-drop.is-on .ps-av { filter: grayscale(1); opacity: .5; }
.sp-drop.is-on .sp-bar i { background: #cbd5e1; }

/* Story: calculation */
.sp-ctl { display: flex; align-items: flex-end; gap: 10px; }
.sp-ctl .sp-f { width: 150px; }
.sp-tw--wrap { position: relative; min-height: 0; }
.sp-empty { position: absolute; left: 0; right: 0; top: 76px; text-align: center; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.js .sp-rise[data-on]:not(.is-on) { opacity: 0; transform: translateY(10px); }
.sp-rise.is-on { transition-delay: var(--d, 0s); }
.sp-ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e3f9ee; color: #0b8a50; }
.sp-ok svg { width: 11px; height: 11px; }
.sp-sum { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sp-sum b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Story: exceptions */
.sp-ev { display: flex; align-items: center; gap: 9px; }
.sp-ev__i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #feeaea; color: #b42318; flex: none; }
.sp-ev__i svg { width: 14px; height: 14px; }
.sp-ev b { display: block; font-size: 12.5px; font-weight: 700; }
.sp-ev small { display: block; font-size: 11px; color: var(--ink-3); }
.sp-ev em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.sp-bas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sp-ba { padding: 7px 9px; border-radius: 8px; background: #f8fafc; }
.sp-ba small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.sp-ba b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.sp-ba--hot { background: var(--pa-soft); }
.sp-ba--hot b { color: var(--pa-ink); }
.sp-form4 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 8px; align-items: end; }
.sp-line { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; margin-top: 8px; padding: 6px 8px; border-radius: 7px; background: #f8fafc; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sp-net { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 0 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sp-net b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Story: approval */
.sp-chainx { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr); align-items: center; padding: 0 10px; border-radius: 10px; background: #f8fafc; }
.sp-nd { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.sp-nd__d { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e5ebf2; color: #fff; transition: background .3s, box-shadow .3s; }
.sp-nd__d svg { width: 13px; height: 13px; }
.sp-nd.is-on .sp-nd__d { background: #11a866; }
.sp-nd__d--a.is-on { background: #fff; color: var(--pa); box-shadow: inset 0 0 0 2px var(--pa), 0 0 0 4px rgba(37,99,235,.14); }
.sp-nd b { font-size: 12px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.sp-nd small { font-size: 10.5px; color: var(--ink-3); }
.sp-cn { position: relative; display: block; height: 2px; margin: 0 5px; background: #e0e7ef; }
.sp-cn u { display: block; height: 100%; width: var(--v, 0%); background: #11a866; transition: width .8s var(--ease); }
.sp-stag > .ps-swap > span.is-on { transition-delay: var(--d, 0s); }

/* Story: payroll */
.sp-dest { display: flex; align-items: center; gap: 9px; padding: 0 9px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--rule); }
.sp-dest .ps-av svg { width: 13px; height: 13px; }
.sp-dest b { display: block; font-size: 12px; font-weight: 750; line-height: 1.2; }
.sp-dest small { display: block; font-size: 10.5px; color: var(--ink-3); }
.sp-dest .sp-ok { margin-left: auto; background: #eef2f6; color: #c3ced9; transition: background .3s, color .3s; }
.sp-dest:nth-child(2).is-on { transition-delay: .18s; }

/* The problem */
.sp-pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.sp-pain { padding: 12px 12px 18px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.sp-pain__v { height: 132px; margin-bottom: 14px; padding: 10px; border-radius: 10px; background: rgba(4,16,31,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; font: 500 11px/1.3 var(--sans); color: #cdd9e4; }
.sp-pain h3 { margin: 0 6px 6px; font-size: 17px; line-height: 1.2; letter-spacing: -.015em; font-weight: 800; }
.sp-pain p { margin: 0 6px; font-size: 14.5px; line-height: 1.5; color: #aebfce; }
.sp-take { position: relative; z-index: 1; max-width: 860px; margin: 26px 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; font-weight: 650; letter-spacing: -.012em; color: #fff; }
.sp-xl__g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.sp-xl__g > * { display: block; height: 15px; border-radius: 3px; background: rgba(255,255,255,.07); }
.sp-xl__g .sp-xl__h { background: rgba(255,255,255,.15); }
.sp-xl__g b { display: grid; place-items: center; font: 700 9px/1 var(--mono); color: #ff9e93; background: rgba(239,68,68,.22); box-shadow: inset 0 0 0 1px rgba(255,107,91,.5); }
.js .sp-xl__g b[data-on]:not(.is-on) { opacity: 1; transform: none; color: transparent; background: rgba(255,255,255,.07); box-shadow: none; }
.sp-q { display: grid; gap: 5px; }
.sp-q__r { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 8px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 600; }
.sp-q__r i { width: 6px; height: 6px; border-radius: 50%; background: #f5b53f; flex: none; }
.sp-q__r em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; color: #f5c56b; }
.sp-late { position: relative; height: 100%; }
.sp-late__c { position: absolute; left: 75%; top: 24px; transform: translateX(-100%); font-size: 10.5px; font-weight: 600; color: #dfe8f1; white-space: nowrap; }
.sp-late__c::after { content: ''; position: absolute; right: 0; top: 16px; width: 1.5px; height: 26px; background: #dfe8f1; }
.sp-late__r { position: absolute; right: 0; top: 72px; padding: 3px 7px; border-radius: 999px; background: rgba(255,107,91,.2); color: #ffb3a8; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.sp-late__m { position: absolute; left: 0; right: 0; top: 102px; display: grid; grid-template-columns: repeat(4, 1fr); font: 500 9px/1 var(--mono); color: #6f859b; }
.sp-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.sp-chat span { padding: 5px 9px; border-radius: 10px 10px 10px 3px; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 600; white-space: nowrap; }
.sp-chat__b { align-self: flex-end; border-radius: 10px 10px 3px 10px !important; background: rgba(91,141,255,.22) !important; }
@media (max-width: 1080px) { .sp-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sp-pains { grid-template-columns: minmax(0, 1fr); } }
.sp-side > b, .sp-tabw .ps-side > b { white-space: nowrap; font-size: 12px; padding: 2px 8px 12px; letter-spacing: -.012em; }
.sp-view > *:not(.ps-cursor) { flex: none; }
.sp-end { margin-top: auto !important; }
.sp-tw tr.ps-hl.is-on, .sp-htable tr.ps-hl.is-on { background: var(--pa-soft); }
.sp-tw tr.ps-hl td, .sp-htable tr.ps-hl td { transition: background-color .35s, box-shadow .35s; }
.sp-tw tr.ps-hl.is-on td, .sp-htable tr.ps-hl.is-on td { background: var(--pa-soft); box-shadow: .75px 0 0 var(--pa-soft), -.75px 0 0 var(--pa-soft); }
.sp-tw--wrap td:first-child { font-weight: 650; color: var(--ink); }
.sp-tw--wrap td:nth-child(2) { font-weight: 500; color: var(--ink); }
.sp-pop { display: inline-flex; align-items: center; gap: 5px; }
.js .sp-pop[data-on]:not(.is-on) { transform: translateX(-6px) scale(.96); }
.sp-rr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 7px; }
.sp-mono { font-family: var(--mono); font-size: 11.5px; }
.sp-mb { margin-bottom: 7px; }
.sp-mb .sp-lbl { margin: 0; }
.sp-mt { margin-top: 8px; }
.sp-mt b { color: var(--ink); }
.sp-sm { height: 26px; font-size: 11.5px; padding: 0 9px; }
.sp-sm svg { width: 12px; height: 12px; }

/* Modules */
.sp-tabw .ps-app { grid-template-columns: 150px minmax(0, 1fr); }
.sp-tabw .ps-side { padding: 12px 8px; }
.sp-tabw .ps-main { display: flex; flex-direction: column; padding: 14px 16px 14px; }
.sp-form5 { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, 1.05fr) minmax(0, .9fr); gap: 7px; margin-bottom: 11px; }
.sp-form5 .ps-field { padding-left: 8px; font-size: 11.5px; }
.sp-seg { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: #eef2f6; }
.sp-seg span { flex: 1 1 auto; text-align: center; padding: 5px 8px; border-radius: 7px; font-size: 11px; font-weight: 650; color: var(--ink-3); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.sp-seg span.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10,37,64,.14); }
.sp-seg--s { width: max-content; }
.sp-seg--s span { padding: 4px 11px; }
.sp-att--s { grid-template-columns: minmax(0, 1fr) 44px; }
.sp-att--w { grid-template-columns: minmax(0, 1fr) 40px; }
.sp-rrow { display: grid; grid-template-columns: 96px minmax(0, 1.5fr) 62px minmax(0, 1fr) 62px; gap: 7px; align-items: center; margin-bottom: 7px; }
.sp-rrow--h { margin-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.sp-rrow--h span { white-space: nowrap; }
.sp-acts { display: flex; gap: 4px; }
.sp-ib { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--pa); color: #fff; flex: none; }
.sp-ib svg { width: 13px; height: 13px; }
.sp-ib--x { background: #feeaea; color: #b42318; }
.sp-ib--x svg { transform: rotate(45deg); }
.sp-read { margin-top: 8px; padding: 9px 10px 11px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--rule-2); }
.sp-read__s { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 6px; min-height: 58px; align-content: flex-start; }
.sp-read__s .sp-k, .sp-read__s .sp-o, .sp-read__s .sp-v { height: 24px; font-size: 11px; padding: 0 7px; }
.sp-g4, .sp-g2 { display: grid; gap: 7px; margin-bottom: 7px; }
.sp-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin-bottom: 0; }
.sp-g2--t { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-tglw { display: flex; align-items: center; height: 30px; }
.sp-state { display: grid; grid-template-columns: 62px minmax(0, 1.3fr) minmax(0, 1.15fr) 100px; gap: 8px; align-items: center; height: 26px; padding: 0 2px; border-top: 1px solid var(--rule-2); font-size: 11.5px; font-weight: 550; color: var(--ink-2); }
.sp-state b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sp-state .sp-c { color: var(--pa-ink); text-align: right; }
.sp-state span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-state--h { height: 20px; border-top: 0; font: 700 9.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.sp-state--h span:last-child { text-align: right; }
.sp-commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
.sp-ro .ps-field { background: #f3f6f9; box-shadow: none; color: var(--ink-2); }
.sp-focus .ps-field { box-shadow: inset 0 0 0 1.5px var(--pa); }
.sp-mid { display: flex; align-items: center; height: 30px; }
.sp-mid .sp-bar { width: 100%; }
.sp-radio1 { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: var(--ink); white-space: nowrap; }
.sp-radio1 i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 3.5px var(--pa); flex: none; }
.sp-panes { position: relative; flex: 1; min-height: 372px; }
.sp-pane { position: absolute; inset: 0; }
.sp-q1 { margin-bottom: 9px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.sp-warn { background: #fff8e8; border-color: #fbe3b0; }
.sp-warn h5 { color: #a16207; }
.sp-rb { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 8px; height: 29px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sp-rb--me { background: var(--pa-soft); color: var(--pa-ink); font-weight: 700; }
.sp-rb--low .sp-bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.sp-rtxt { display: block; text-align: right; }
.sp-au { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px; }
.sp-led { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 7px; margin: 0 -7px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sp-led small { display: block; font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.sp-led b { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-led.is-on { background: var(--pa-soft); box-shadow: inset 0 0 0 1px var(--pa); }
.sp-led--t { margin-top: 3px; border-top: 1px solid var(--rule); border-radius: 0; padding-top: 9px; font-weight: 750; color: var(--ink); }
.sp-led--t b { font-size: 15px; font-weight: 800; }
.sp-tracep { background: #0a2540; border-color: transparent; }
.sp-tracep .sp-lbl { color: #8fb6ff; }
.sp-tr { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; color: #aebfce; font-size: 10.5px; }
.sp-tr svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #5ee9b5; }
.sp-tr b { display: block; color: #fff; font-size: 12px; font-weight: 650; }
.sp-log { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 27px; padding: 0 6px; border-top: 1px solid var(--rule-2); font-size: 11.5px; color: var(--ink-2); font-weight: 550; }
.sp-log b { font-weight: 700; color: var(--ink); }
.sp-log small { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.sp-log span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-log.is-on { background: var(--pa-soft); border-radius: 6px; }
.sp-vers { display: inline-flex; gap: 3px; }
.sp-vers span { padding: 2px 6px; border-radius: 5px; background: #eef2f6; font: 700 9.5px/1.3 var(--mono); color: var(--ink-3); }
.sp-vers .is-now { background: var(--pa-soft); color: var(--pa-ink); }
.sp-au__t { position: absolute; right: 16px; top: auto; z-index: 3; bottom: 14px; }

/* Tiles */
.sp-tv { display: grid; gap: 4px; align-content: start; height: 100%; }
.sp-ic svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.sp-bub { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #0a2540; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; }
.sp-bub b { display: block; font-size: 10px; font-weight: 700; color: #8fb6ff; }
.sp-wq { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 11.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; min-height: 46px; }
.sp-lgs { position: relative; height: 150px; }
.sp-lg { position: absolute; left: 0; right: 0; top: calc(var(--r0) * 30px); display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 6px; height: 27px; padding: 0 9px 0 6px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 12px; transition: top .7s var(--ease); }
.sp-lgw[data-step="1"] .sp-lg { top: calc(var(--r1) * 30px); }
.sp-lg b { font-weight: 650; }
.sp-lg em { font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; }
.sp-lg__r { font: 700 10.5px/1 var(--mono); color: var(--ink-3); }
.sp-lg--me { background: var(--pa-soft); box-shadow: inset 0 0 0 1px var(--pa); z-index: 1; }
.sp-lg--me b, .sp-lg--me em { color: var(--pa-ink); }
.sp-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.sp-tags span { display: inline-flex; align-items: center; height: 23px; padding: 0 8px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 11px; font-weight: 650; color: var(--ink-2); transition: background .25s, color .25s; white-space: nowrap; }
.sp-tags .sp-tagon.is-on { background: var(--pa); color: #fff; box-shadow: none; }
.sp-h6 { font-size: 12.5px; font-weight: 750; white-space: nowrap; }
.sp-bm { margin: 7px 0 7px; }
.sp-bm .sp-budget__b { display: block; }
.sp-u95 { left: 95% !important; }
.sp-seg--f { width: 100%; margin-bottom: 6px; background: #e6ecf3; }
.sp-avs { display: flex; gap: 6px; margin: 12px 0 12px; }
.sp-avs .ps-av { width: calc((100% - 36px) / 7); max-width: 34px; height: auto; aspect-ratio: 1; font-size: 11.5px; }
.sp-grp { padding: 8px 10px; border-radius: 9px; background: var(--pa-soft); font-size: 11.5px; color: var(--pa-ink); font-weight: 600; }
.sp-grp b { display: block; font-size: 12.5px; font-weight: 750; }
.sp-acc { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 62px); align-items: center; gap: 4px; height: 32px; padding: 0 4px; border-bottom: 1px solid var(--rule); font-size: 12px; }
.sp-acc b { font-weight: 650; }
.sp-acc span { display: grid; place-items: center; }
.sp-acc--h { height: 34px; border-bottom-color: #dfe6ee; font-size: 10px; font-weight: 700; color: var(--ink-3); line-height: 1.15; text-align: center; }
.sp-tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e3f9ee; color: #0b8a50; }
.sp-tick svg { width: 11px; height: 11px; }
.sp-nil { display: block; width: 10px; height: 2px; border-radius: 2px; background: #d5dde6; }
.sp-ls { position: relative; padding: 2px 4px 6px; }
.sp-lf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: end; margin-bottom: 4px; }
.sp-ls__tb { min-height: 214px; }
.sp-no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #e9eef4; font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.sp-n { display: inline-block; min-width: 42px; padding: 3px 7px; border-radius: 6px; text-align: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-n--a { background: var(--pa-soft); color: var(--pa-ink); }
.sp-n--b { background: #e3f9ee; color: #0b8a50; }
.sp-n--c { background: #e6f7fb; color: #0e7490; }
.sp-lfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.sp-pager { display: inline-flex; gap: 3px; font-size: 11px; font-weight: 650; color: var(--ink-3); }
.sp-pager b, .sp-pager span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; }
.sp-pager b { background: var(--pa); color: #fff; box-shadow: none; }
.sp-ls__t { position: absolute; right: 150px; bottom: 2px; z-index: 3; }
.sp-after { max-width: 760px; margin: 22px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Later additions to the parts above */
.sp-late__l { position: absolute; left: 0; right: 0; top: 54px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.sp-late__l i { position: absolute; inset: 0; background: linear-gradient(90deg, #5b8dff 0 75%, #ff8a7a 75% 100%); clip-path: inset(0 calc(100% - var(--v, 0%)) 0 0); transition: clip-path 1.1s linear; }
.sp-xl__n { display: flex; align-items: center; gap: 6px; height: 18px; margin-bottom: 7px; font: 500 9.5px/1.2 var(--mono); color: #cfdbe7; white-space: nowrap; overflow: hidden; }
.sp-xl__n svg { width: 12px; height: 12px; color: #7fd1a0; flex: none; }
.sp-bub--l { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); margin-top: 4px; }
.sp-bub--l b { color: var(--pa-ink); }
.sp-out { transition: opacity .35s, filter .35s; }
.sp-out.is-on { opacity: .22; filter: grayscale(1); }
.sp-stack { display: flex; gap: 2px; height: 12px; margin-bottom: 8px; }
.sp-stack i { display: block; height: 100%; width: var(--v, 0%); transition: width .9s var(--ease); }
.sp-stack i:first-child { border-radius: 4px 0 0 4px; }
.sp-stack i:last-child { border-radius: 0 4px 4px 0; }
.sp-stack__0 { background: #9dbcf7; }
.sp-stack__1 { background: var(--pa); }
.sp-stack__2 { background: #bfe9f3; }
.sp-leg { display: flex; gap: 16px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sp-leg span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sp-leg i { display: block; width: 8px; height: 8px; border-radius: 2px; }
.sp-leg b { color: var(--ink); font-weight: 750; }
.sp-cf { display: inline-block; margin: -2px -5px; padding: 2px 5px; border-radius: 5px; transition: background .3s, box-shadow .3s; }
.sp-cf.is-on { background: var(--pa-soft); box-shadow: inset 0 0 0 1px rgba(37,99,235,.35); }
.sp-totr td { border-top: 1px solid var(--rule); font-weight: 700; color: var(--ink) !important; }
.sp-view .ps-card.is-on { box-shadow: inset 0 0 0 1px var(--pa); }
.sp-evw { min-height: 34px; }
.js .sp-in-t[data-on]:not(.is-on) { transform: translateY(-10px); }
.sp-ev.is-on .sp-ev__i { animation: spPing .9s ease-out .15s; }
@keyframes spPing { 0% { box-shadow: 0 0 0 0 rgba(180,35,24,.35); } 100% { box-shadow: 0 0 0 12px rgba(180,35,24,0); } }
.js .sp-pop[data-on] { transition: opacity .28s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.js .sp-st[data-on] { transition: opacity .28s var(--ease), transform .6s cubic-bezier(.34, 1.3, .64, 1); }
.sp-lv::before { content: ''; position: absolute; left: -7px; top: -22px; width: 7px; height: 40px; border-left: 1.5px solid #cdd8e4; border-bottom: 1.5px solid #cdd8e4; border-bottom-left-radius: 5px; }
.sp-lv--0::before, .sp-lv--1::before { display: none; }
.is-narrow .sp-view { padding: 11px 14px 10px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-bar { height: 34px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-title { font-size: 18px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-sub { font-size: 13px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-top { margin-bottom: 9px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-t { font-size: 13px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-chip { font-size: 12px; height: 23px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-btn { font-size: 13px; height: 33px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-field { font-size: 13px; }
.is-narrow .sp-f > span { font-size: 12px; }
.is-narrow .sp-hide { display: none; }
.is-narrow .sp-tg { grid-template-columns: minmax(0, 1fr); }
.is-narrow .sp-alloc { display: none; }
.is-narrow .sp-lv { height: 33px; }
.is-narrow .sp-lv b { font-size: 13px; }
.is-narrow .sp-lv u { font-size: 14px; }
.is-narrow .sp-sp { grid-template-columns: 76px minmax(0, 1fr) 50px 76px; height: 24px; font-size: 13px; }
.is-narrow .sp-sp small { display: none; }
.is-narrow .sp-sp em { font-size: 12.5px; }
.is-narrow .sp-splits { margin-top: 8px; }
.is-narrow .sp-chain { flex-wrap: wrap; }
.is-narrow .sp-plan { grid-template-columns: minmax(0, 1fr); }
.is-narrow .sp-plan > div:last-child { display: none; }
.is-narrow .sp-stairs { height: 124px; }
.is-narrow .sp-formula { font-size: 12.5px; }
.is-narrow .sp-tiles .ps-big { font-size: 18px; }
.is-narrow .sp-budget__l { display: none; }
.is-narrow .sp-view--2 .ps-t th:nth-child(3), .is-narrow .sp-view--2 .ps-t td:nth-child(3) { display: none; }
.is-narrow .sp-view--3 .ps-t th:nth-child(1), .is-narrow .sp-view--3 .ps-t td:nth-child(1), .is-narrow .sp-view--3 .ps-t th:nth-child(3), .is-narrow .sp-view--3 .ps-t td:nth-child(3), .is-narrow .sp-view--3 .ps-t th:nth-child(6), .is-narrow .sp-view--3 .ps-t td:nth-child(6) { display: none; }
.is-narrow .sp-view--3 td:nth-child(2) { font-weight: 650; }
.is-narrow .sp-view--5 .ps-t th:nth-child(2), .is-narrow .sp-view--5 .ps-t td:nth-child(2) { display: none; }
.is-narrow .sp-ctl .sp-f { width: 112px; }
.is-narrow .sp-bas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.is-narrow .sp-form4 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.is-narrow .sp-chainx { grid-template-columns: max-content minmax(8px, 1fr) max-content minmax(8px, 1fr) max-content; padding: 9px 8px; }
.is-narrow .sp-nd { grid-template-columns: 22px minmax(0, 1fr); column-gap: 6px; }
.is-narrow .sp-nd__d { width: 22px; height: 22px; }
.is-narrow .sp-nd b { font-size: 12px; }
.is-narrow .sp-nd small { font-size: 11px; }
.is-narrow .sp-cn { margin: 0 2px; }
.is-narrow .sp-hero { height: auto; }
.is-narrow .sp-hero .ps-tilt { position: relative; inset: auto; transform: none; }
.is-narrow .sp-hero__win { position: relative; top: 0; width: 100%; }
.is-narrow .sp-hero .ps-main { padding: 12px 14px; }
.is-narrow .sp-rep { position: relative; left: auto; top: auto; width: 100%; margin-top: 10px; }
.is-narrow .sp-rep .ps-kv, .is-narrow .sp-rep .sp-ruler { display: none; }
.is-narrow .sp-rep__h { margin-bottom: 0; }
.is-narrow .sp-rep__c { margin-top: 8px; padding-top: 8px; }
.is-narrow .sp-trace, .is-narrow .sp-hero__t2 { display: none; }
.is-narrow .sp-hero__t1 { left: auto; right: 10px; top: auto; bottom: 110px; display: none; }
.is-narrow .sp-htable .ps-t th:nth-child(3), .is-narrow .sp-htable .ps-t td:nth-child(3) { display: none; }
.is-narrow .sp-pipe span { font-size: 10px; }
.is-narrow .sp-sent__r .sp-k, .is-narrow .sp-sent__r .sp-o, .is-narrow .sp-sent__r .sp-v { font-size: 12px; }
.is-narrow .sp-sent__e { font-size: 12.5px; }
.is-narrow.sp-tabw .ps-main { padding: 12px 14px 14px; }
.is-narrow .sp-form5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-narrow .sp-form5 .sp-f:nth-child(1), .is-narrow .sp-form5 .sp-f:nth-child(4), .is-narrow .sp-form5 .sp-f:nth-child(5) { display: none; }
.is-narrow .sp-seg { flex-wrap: wrap; }
.is-narrow .sp-seg span { flex: 1 1 30%; font-size: 12px; }
.is-narrow .sp-seg--s span { flex: 0 0 auto; }
.is-narrow .sp-rrow { grid-template-columns: minmax(0, 1.5fr) 58px minmax(0, 1fr); }
.is-narrow .sp-rrow > *:nth-child(1), .is-narrow .sp-rrow > .sp-acts, .is-narrow .sp-rrow--h > *:last-child { display: none; }
.sp-tabw.is-narrow .sp-form3 { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
.sp-tabw.is-narrow .sp-form3 .sp-f:first-child { grid-column: 1 / -1; }
.is-narrow .sp-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-narrow .sp-g2 { grid-template-columns: minmax(0, 1fr); gap: 7px; }
.is-narrow .sp-g2 .sp-f:nth-child(2) { display: none; }
.is-narrow .sp-g2--t .sp-f:nth-child(2) { display: grid; }
.is-narrow .sp-g2--t { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.is-narrow .sp-state { grid-template-columns: 58px minmax(0, 1fr) 66px; font-size: 12.5px; }
.is-narrow .sp-state > *:nth-child(3) { display: none; }
.is-narrow .sp-commit { gap: 8px 9px; }
.is-narrow .sp-panes { min-height: 404px; }
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-narrow .sp-au { grid-template-columns: minmax(0, 1fr); }
.is-narrow .sp-log { grid-template-columns: 56px minmax(0, 1fr); font-size: 12.5px; }
.is-narrow .sp-log small { display: none; }
.is-narrow .sp-lf { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
.is-narrow .sp-lf .sp-f:nth-child(3) { display: none; }
.is-narrow .sp-ls__tb .ps-t th:nth-child(2), .is-narrow .sp-ls__tb .ps-t td:nth-child(2), .is-narrow .sp-ls__tb .ps-t th:nth-child(4), .is-narrow .sp-ls__tb .ps-t td:nth-child(4) { display: none; }
.is-narrow .sp-ls__t { right: auto; bottom: 6px; left: 8px; }
.sp-g4--a { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, 1fr) 96px; }
.sp-tabw:not(.is-narrow) .ps-card > .sp-g4:nth-child(3) { grid-template-columns: minmax(0, .95fr) minmax(0, 1.14fr) minmax(0, .9fr) minmax(0, 1.01fr); }
.is-narrow .sp-hero .ps-app, .is-narrow.sp-tabw .ps-app { grid-template-columns: minmax(0, 1fr); }
.is-narrow .sp-view--2 .ps-t td { padding: 3px 7px; }
.is-narrow .sp-view--2 .sp-what { padding: 5px 7px; margin-bottom: 6px; }
.is-narrow .sp-view--2 .ps-av { width: 22px; height: 22px; font-size: 9.5px; }
.is-narrow .sp-view--2 .sp-if { display: none; }
.is-narrow .sp-view--4 .sp-line { display: none; }
.is-narrow .sp-view--4 .ps-card { padding: 9px 11px; }
.is-narrow .sp-view--4 .sp-evw { min-height: 30px; }
.is-narrow .sp-view--4 .sp-bas { margin-top: 7px; }
.is-narrow .sp-g4--a { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-narrow .sp-g4--a .sp-f:nth-child(3) { display: none; }
.is-narrow .sp-g4 .sp-f:nth-child(4) { display: none; }
.is-narrow .sp-g4 .sp-f:nth-child(3) { grid-column: 1 / -1; }
.is-narrow.sp-tabw .ps-app { min-height: 534px; }
.is-narrow .sp-tr:nth-of-type(4) { display: none; }
.is-narrow .sp-rb { height: 32px; }
.sp-lsw.is-narrow .ps-t th:nth-child(1), .sp-lsw.is-narrow .ps-t td:nth-child(1) { display: none; }
.sp-lsw.is-narrow .sp-ls__tb { min-height: 0; }
.sp-lsw.is-narrow .sp-pager { display: none; }
.sp-lsw.is-narrow .sp-lfoot { justify-content: flex-end; }
.sp-lsw.is-narrow .sp-lf { grid-template-columns: minmax(0, 1fr) auto; }
.sp-lsw.is-narrow .sp-lf .sp-f:nth-child(2) { display: none; }
.sp-tabw.is-narrow .ps-t th { white-space: normal; }
.is-narrow.sp-tabw .sp-pane:nth-child(3) .ps-t th:nth-child(2), .is-narrow.sp-tabw .sp-pane:nth-child(3) .ps-t td:nth-child(2), .is-narrow.sp-tabw .sp-pane:nth-child(3) .ps-t th:nth-child(5), .is-narrow.sp-tabw .sp-pane:nth-child(3) .ps-t td:nth-child(5) { display: none; }
@media (max-width: 560px) { .sp-hub .ps-map__col { grid-template-columns: minmax(0, 1fr); } }
.sp-shell[data-step="1"] .sp-w1 > *, .sp-shell[data-step="2"] .sp-w2 > *, .sp-shell[data-step="3"] .sp-w3 > *, .sp-shell[data-step="4"] .sp-w4 > *, .sp-shell[data-step="5"] .sp-w5 > *, .sp-shell[data-step="6"] .sp-w6 > * { transition-delay: var(--wait); }
.sp-shell[data-step="1"] { --wait: 1.35s; }
.sp-shell[data-step="2"] { --wait: 1.2s; }
.sp-shell[data-step="3"] { --wait: 1.35s; }
.sp-shell[data-step="4"] { --wait: 1s; }
.sp-shell[data-step="5"] { --wait: 2.8s; }
.sp-shell[data-step="6"] { --wait: 3.25s; }
@media (prefers-reduced-motion: reduce) { .sp-shell .ps-swap > * { transition: none !important; } }
@media (prefers-reduced-motion: reduce) { .sp-view, .sp-lg, .sp-flow .ps-scrolly__stage { transition: none !important; } }
.sp-bd { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px; height: 21px; padding: 0 5px; border-radius: 5px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sp-bd i { font: 700 10px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.sp-bd b { font-weight: 750; color: var(--ink); }
.sp-bd--me { background: var(--pa-soft); color: var(--pa-ink); }
.sp-bd--me b, .sp-bd--me i { color: var(--pa-ink); }
.sp-oc { font-size: 12px; font-weight: 600; }
@media (max-width: 1240px) and (min-width: 961px) { .ps-hero__grid:has(.sp-hero) { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.sp-story .sp-at { position: absolute; left: 18px; right: 18px; top: 208px; margin: 0; }
.sp-story .sp-at .ps-t th { height: 28px; padding: 0 7px 5px; vertical-align: bottom; }
.sp-story .sp-at .ps-t td { height: 32px; padding: 0 7px; }
:is(.sp-story, .sp-mw) .sp-at .ps-av { width: 24px; height: 24px; font-size: 9.5px; }
.sp-view .ps-top { min-height: 40px; margin-bottom: 8px; }
.sp-view--2 .sp-what, .sp-ctl, .sp-chainx, .sp-dests { height: 48px; margin-bottom: 6px; }
.sp-view--2 .sp-what { padding: 0 8px; }
.sp-view .sp-tiles .ps-card { padding: 7px 11px 8px; }
.sp-view .sp-tiles h5 { margin-bottom: 4px; }
.sp-view .sp-tiles .ps-big { font-size: 18px; }
.sp-view--2 .sp-budget { margin-top: 6px; }
.sp-at .sp-empty { top: 84px; }
.sp-code { font: 500 10.5px/1 var(--mono); color: var(--ink-3); }
.sp-off td { color: var(--ink-4) !important; }
.sp-off .ps-av { filter: grayscale(1); opacity: .5; }
.sp-dests { align-items: stretch; }
.sp-dest.is-on { box-shadow: inset 0 0 0 1px #b6ecd0; background: #f4fdf8; }
.sp-dest.is-on .sp-ok { background: #e3f9ee; color: #0b8a50; }
.sp-dest:nth-child(2).is-on, .sp-dest:nth-child(2).is-on .sp-ok { transition-delay: .2s; }
.is-narrow .sp-view--3 .sp-tiles, .is-narrow .sp-view--5 .sp-tiles { display: none; }
.is-narrow .sp-view--3 .sp-tw--wrap { min-height: 200px; }
.is-narrow .sp-view--3 .ps-t th:nth-child(2), .is-narrow .sp-view--3 .ps-t td:nth-child(2) { display: none; }
.is-narrow .sp-view--3 .ps-t th:nth-child(1), .is-narrow .sp-view--3 .ps-t td:nth-child(1) { display: table-cell; }
.is-narrow .sp-view--6 .sp-dests { height: 44px; }
.is-narrow .sp-view--6 .sp-dest small { font-size: 11px; }
.is-narrow .sp-view--6 .sp-dest b { font-size: 13px; }
.is-narrow .sp-view .ps-av { width: 22px; height: 22px; font-size: 9.5px; }
.is-narrow .sp-view--5 .sp-chainx { height: auto; padding: 9px 8px; }
.is-narrow .sp-view--2 .sp-what, .is-narrow .sp-ctl, .is-narrow .sp-dests { height: auto; }
.sp-view[data-steps="7"][data-step="6"] .ps-cursor, .sp-view[data-steps="8"][data-step="7"] .ps-cursor, .sp-view[data-steps="9"][data-step="8"] .ps-cursor, .sp-view[data-steps="5"][data-step="4"] .ps-cursor, .sp-view[data-steps="6"][data-step="5"] .ps-cursor, .sp-tabw[data-steps="7"][data-step="6"] .ps-cursor, .sp-tabw[data-steps="6"][data-step="5"] .ps-cursor, .sp-tabw[data-steps="5"][data-step="4"] .ps-cursor { opacity: 0; transition: opacity .5s .7s; }
@media (min-width: 961px) { .sp-flow .ps-scrolly__stage::before { content: ''; position: absolute; z-index: -1; inset: 4% -5% -6% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(37,99,235,.2), rgba(6,182,212,.08) 60%, transparent); filter: blur(44px); pointer-events: none; } }
.sp-tabw.is-narrow .ps-grid--12 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.sp-tabw.is-narrow .ps-grid.sp-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.is-narrow .sp-oc { flex-wrap: wrap; gap: 6px; }
.is-narrow .sp-view--1 .sp-form3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, .85fr); gap: 7px; }
.is-narrow .sp-view--1 .sp-form3 .ps-field { padding-left: 8px; }
.is-narrow .sp-view--1 .sp-form3 .sp-sel { padding-right: 18px; }
.is-narrow .sp-view--1 .sp-form3 .sp-sel::after { right: 8px; }

/* Two wordings of one label, and the address bar */
.sp-short { display: none; }
.is-narrow .sp-short, :is(.sp-hero, .sp-mw) .ps-bar .sp-short { display: inline; }
.is-narrow .sp-long, :is(.sp-hero, .sp-mw) .ps-bar .sp-long { display: none; }
.ps-bar span .sp-long, .ps-bar span .sp-short { margin: 0; flex: none; }

/* Below 960px nothing is pinned: each step carries its own screen under its text */
.sp-mv { display: none; }
.sp-mw .sp-view { position: relative; top: auto; bottom: auto; left: 0; opacity: 1; transform: none; transition: none; }
.sp-mw .sp-end { margin-top: 10px !important; }
.sp-mstrip { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: #0a2540; color: #fff; font-size: 13px; }
.sp-mstrip b { font-weight: 750; font-variant-numeric: tabular-nums; }
.sp-mstrip small { margin-left: auto; font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #8fb6ff; }
.sp-mstrip .ps-av { width: 24px; height: 24px; font-size: 9.5px; }
@media (max-width: 960px) {
  .sp-flow .ps-scrolly__stage { display: none; }
  .sp-mv { display: block; width: 100%; max-width: 738px; margin: 18px auto 0; }
  .sp-flow .ps-step, .sp-flow .ps-step:first-child, .sp-flow .ps-step:last-child { padding: 0 0 48px; opacity: 1; }
  .sp-flow .ps-step:last-child { padding-bottom: 0; }
  .sp-flow .ps-step p, .sp-flow .ps-step ul { max-width: none; }
}

/* Buttons whose action is done */
.sp-dn.is-on { background: #e9eef4; color: var(--ink-3); }
.js .sp-dn.is-pressed { transform: scale(.94); }
.sp-nb { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

/* Commitment form */
.sp-band { display: flex; align-items: center; height: 38px; margin-bottom: 8px; padding: 0 12px; border-radius: 9px; background: #f8fafc; border: 1px solid var(--rule-2); }
.sp-commitc { flex: 1; display: flex; padding: 16px; }
.sp-commitc .sp-commit { flex: 1; align-content: space-between; }
.sp-commitc .ps-field { height: 36px; }
.sp-mid { gap: 10px; }
.sp-mid b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-3); }

/* Status chips hold the right edge while their label changes */
.ps-top > .ps-swap, .sp-rt > .ps-swap, .sp-tv > .sp-mb > .ps-swap { justify-items: end; }

/* Rows */
.js .sp-rise[data-on]:not(.is-on) td { border-bottom-color: transparent; }

/* Connections */
.sp-dl { display: flex; flex-wrap: wrap; row-gap: 2px; min-width: 0; overflow: hidden; }
.sp-dl > span { position: relative; margin-right: 16px; white-space: nowrap; }
.sp-dl > span::before { content: '·'; position: absolute; left: -11px; color: #8fa3b6; }
.sp-hub .ps-map__h:not(:first-child) { margin-top: 20px; }
@media (max-width: 960px) { .sp-hub .ps-core ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sp-hub .ps-map__h:not(:first-child) { margin-top: 12px; } }
@media (max-width: 560px) { .sp-hub .ps-core ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hero text and background */
.ps-hero:has(.sp-hero) .hero-ribbon { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 78%, transparent 100%); }
@media (min-width: 961px) { .ps-hero:has(.sp-hero) .hero-ribbon { height: 100%; } }
@media (min-width: 961px) { html[lang="tr"] .ps-hero__grid:has(.sp-hero) h1 { font-size: clamp(36px, 3.4vw, 47px); text-wrap: balance; } }
@media (max-width: 560px) {
  .ps-hero__grid:has(.sp-hero) h1 { font-size: clamp(28px, 8.6vw, 36px); }
  .sp-l2 { display: none; }
  .ps-hero__grid:has(.sp-hero) .ps-hero__ctas { gap: 8px; }
  .ps-hero__grid:has(.sp-hero) .btn--lg { padding-left: 18px; padding-right: 18px; }
  .js .ps-hero__stage:has(.sp-hero) { opacity: 1; transform: none; }   /* only its top shows on the first screen, too little to set off the reveal */
}

/* Modules on phones and tablets: every tab in view, the current one solid, nothing below it moves */
@media (max-width: 960px) {
  #explore .ps-tabs__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  #explore .ps-tab.is-active { background: var(--pa); box-shadow: none; }
  #explore .ps-tab.is-active b { color: #fff; }
  #explore .ps-tab::after { background: rgba(255,255,255,.6); }
}
@media (max-width: 960px) { #explore .ps-panel__txt { min-height: 49px; } }
@media (max-width: 660px) { #explore .ps-panel__txt { min-height: 73px; } }
@media (max-width: 450px) { #explore .ps-panel__txt { min-height: 97px; } }
@media (max-width: 350px) { #explore .ps-panel__txt { min-height: 121px; } }
@media (min-width: 961px) and (max-width: 1160px) { #explore .ps-tabs { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; min-height: 488px; } }

/* Small tablets: the phone layout, larger, rather than the desktop one shrunk */
@media (min-width: 457px) and (max-width: 640px) { .sp-mv { max-width: 420px; } }
@media (min-width: 579px) and (max-width: 780px) { #explore .ps-panel .ps-fit { max-width: 500px; margin-inline: auto; } }
@media (min-width: 561px) and (max-width: 760px) { .ps-hero__stage:has(.sp-hero) .ps-fit { max-width: 500px; margin-inline: auto; } }
@media (min-width: 588px) and (max-width: 780px) { #more .ps-tile--w4 .ps-fit { max-width: 420px; margin-inline: auto; } }

/* Phone sizes: labels stay readable once the screen is scaled to the column */
:is(.sp-mw, .sp-herow, .sp-tabw, .sp-lsw).is-narrow .ps-t th { font-size: 11px; letter-spacing: .02em; }
:is(.sp-mw, .sp-herow, .sp-tabw).is-narrow .ps-bar em { font-size: 10.5px; }
:is(.sp-mw, .sp-herow, .sp-tabw).is-narrow .ps-av { font-size: 10.5px; }
:is(.sp-mw, .sp-tabw).is-narrow .ps-card h5 { font-size: 11px; }
.is-narrow .sp-lbl { font-size: 11px; }
.is-narrow .sp-and { height: 22px; font-size: 11px; }
.is-narrow .sp-st small { font-size: 10.5px; }
.is-narrow .sp-lv small, .is-narrow .sp-lv i { font-size: 10.5px; }
.is-narrow .sp-lv em { font-size: 11px; }
.is-narrow .sp-sp--h { font-size: 11px; }
.is-narrow .sp-pipe span { font-size: 10px; letter-spacing: -.01em; }
.is-narrow .sp-rep__h small { font-size: 10.5px; }
.is-narrow .sp-att { min-width: 76px; }
.is-narrow .sp-view--2 .ps-t td, .is-narrow .sp-view--2 .ps-t th { padding-left: 5px; padding-right: 5px; }
.is-narrow .sp-view--6 .ps-t th:nth-child(5), .is-narrow .sp-view--6 .ps-t td:nth-child(5) { display: none; }

/* Module windows at phone width: one height for all six, so nothing below them jumps as the tabs advance */
.sp-tabw.is-narrow .sp-read { flex: 1; }
.sp-tabw.is-narrow .sp-foot { flex-wrap: wrap; }
.sp-tabw.is-narrow .sp-sum span { white-space: nowrap; }
.sp-tabw.is-narrow .ps-card > .sp-g4:nth-child(3) .sp-f:nth-child(3) { display: none; }
.sp-tabw.is-narrow .ps-top:has(.sp-seg--s) { flex-wrap: wrap; }
.sp-tabw.is-narrow .sp-seg--s { width: 100%; flex-wrap: nowrap; }
.sp-tabw.is-narrow .sp-seg--s span { flex: 1 1 0; padding: 5px 4px; }
.sp-tabw.is-narrow .sp-leg { flex-wrap: wrap; gap: 4px 12px; }
.sp-lsw.is-narrow .sp-lfoot { min-height: 54px; }
.sp-tabw.is-narrow .sp-foot .sp-rt { margin-left: auto; }
.sp-tabw.is-narrow .sp-au__t { top: 66px; bottom: auto; right: 14px; padding: 6px 10px; }
.sp-tabw.is-narrow .sp-au__t small { display: none; }
.sp-tabw.is-narrow .sp-pane:nth-child(3) .sp-tiles .ps-card:nth-child(n+3) { display: none; }
@media (min-width: 1100px) { .sp-hub .ps-map { grid-template-columns: minmax(0, 1.22fr) minmax(0, .94fr) minmax(0, .94fr); gap: 56px; } }
.sp-tv { min-width: 0; }
.sp-tv > .sp-mb { flex-wrap: wrap; row-gap: 4px; }
.is-narrow .sp-pin { top: -6px; bottom: auto; height: 10px; }
.sp-tabw:not(.is-narrow) .sp-rb { height: 36px; }
.sp-tabw:not(.is-narrow) .sp-bd { height: 26px; }

/* Readers without scripts: the finished label of each pair, the first screen's address, the three role views one under the other, and no faded steps */
html:not(.js) .ps-swap > :not(:last-child), html:not(.js) .sp-url > :not(:first-child), html:not(.js) .sp-empty { display: none; }
html:not(.js) .sp-pane { position: static; }
html:not(.js) .sp-pane + .sp-pane { margin-top: 14px; }
html:not(.js) .sp-flow .ps-step { opacity: 1; }
@media (max-width: 960px) { html:not(.js) .sp-tg { grid-template-columns: minmax(0, 1fr); } }

/* Audit trail at phone width: every row from the commission to the net, one line each, in the same window height */
.is-narrow .sp-led small { display: inline; margin-left: 6px; font-size: 11px; }
.is-narrow .sp-tr { align-items: center; font-size: 11px; }
.is-narrow .sp-tr svg { margin-top: 0; }
.is-narrow .sp-tr > span { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }

/* Calculation at phone width: headers on one line, so the screen keeps its height when the results land */
.is-narrow .sp-view--3 .ps-t th, .is-narrow .sp-view--3 .ps-t td { padding-left: 4px; padding-right: 4px; }
.is-narrow .sp-view--3 .ps-t th { white-space: nowrap; }

/* Old small phones: the eyebrow and both buttons on one line each, so the window starts on the first screen */
@media (max-width: 359px) {
  .ps-hero__grid:has(.sp-hero) { gap: 20px; }
  .ps-hero__grid:has(.sp-hero) .crumbs { margin-bottom: 10px; }
  .ps-hero__grid:has(.sp-hero) .eyebrow { font-size: 10.5px; letter-spacing: .02em; white-space: nowrap; }
  .ps-hero__grid:has(.sp-hero) .ps-hero__ctas { flex-wrap: nowrap; }
  .ps-hero__grid:has(.sp-hero) .btn--lg { padding-left: 13px; padding-right: 13px; font-size: 14px; }
}

/* Phone sizes: the last labels that stayed at their desktop size */
.is-narrow .sp-ruler__t small, .is-narrow .sp-vers span, .is-narrow .sp-if, .is-narrow .sp-bd i { font-size: 10.5px; }

/* Small laptops and tablets on their side: the list tile is scaled down here, so one column gives way and the text goes up */
@media (min-width: 961px) and (max-width: 1100px) {
  .sp-lsw .ps-t th:nth-child(4), .sp-lsw .ps-t td:nth-child(4) { display: none; }
  .sp-lsw .ps-t { font-size: 13.5px; }
  .sp-lsw .ps-t th { font-size: 11.5px; letter-spacing: .03em; }
  .sp-lsw .sp-no { width: 22px; height: 22px; font-size: 11.5px; }
  .sp-lsw .sp-n { font-size: 12.5px; }
  .sp-lsw .sp-f > span { font-size: 12px; }
  .sp-lsw .ps-field, .sp-lsw .ps-btn { font-size: 13px; }
  .sp-lsw .ps-toast small, .sp-lsw .sp-pager { font-size: 12px; }
}
