/* ==========================================================================
   Profit Simulator - pps.css
   Scoped under .pps. Reads The Business Radar theme's custom properties
   (light and dark) and falls back to the same dark radar palette when the
   page is hosted by Ariana's neutral shell. The root never narrows itself:
   it fills whatever container the host gives it (the site's .shell), so the
   tools keep the header's left and right edges.
   ========================================================================== */

.pps {
  --pps-page: var(--ink, #0a0f1a);
  --pps-ink2: var(--ink-2, #0d1322);
  --pps-surface: var(--surface, #111927);
  --pps-surface2: var(--surface-2, #162032);
  --pps-raise: var(--raise, #1a2436);
  --pps-line: var(--line, rgba(148, 165, 201, 0.14));
  --pps-line-strong: var(--line-strong, rgba(148, 165, 201, 0.26));
  --pps-text: var(--text, #e9eef7);
  --pps-muted: var(--muted, #96a2bb);
  --pps-faint: var(--faint, #6a768f);
  --pps-signal: var(--signal, #ffb224);
  --pps-signal-ink: var(--signal-ink, #241703);
  --pps-signal-soft: var(--signal-soft, rgba(255, 178, 36, 0.14));
  --pps-pos: var(--sig-business-solutions, #35d9a9);
  --pps-neg: var(--sig-marketing, #ff7e9e);
  --pps-info: var(--sig-technology, #53c7ff);
  --pps-radius: var(--radius, 16px);
  --pps-radius-sm: var(--radius-sm, 10px);
  --pps-ease: var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
  --pps-font: var(--font-display, "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif);
  --pps-serif: var(--font-serif, "Newsreader", Georgia, "Times New Roman", serif);
  --pps-mono: var(--font-mono, "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace);
  --pps-sticky: calc(var(--header-h, 76px) + 16px);
  /* Motion: strong curves (the built-in ones are too weak to read as intent). */
  --pps-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pps-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* Text-safe variants: the theme's light amber/green/pink are fills, too pale for text on white. */
  --pps-accent: var(--pps-signal);
  --pps-pos-text: var(--pps-pos);
  --pps-neg-text: var(--pps-neg);
  --pps-gap: clamp(1.25rem, 3vw, 2.25rem);

  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--pps-text);
  background: var(--pps-page);
  font-family: var(--pps-font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] .pps {
  --pps-signal-ink: #241703;
  --pps-accent: #965700;
  --pps-pos-text: #08795a;
  --pps-neg-text: #b8304f;
}

.pps *,
.pps *::before,
.pps *::after {
  box-sizing: border-box;
}

/* Hosted by Ariana's neutral shell: no theme tokens, so pad the block itself. */
.pps--standalone {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--pps-radius);
}

.pps :where(h2, h3, p, ul, ol, dl, dd, figure, table) {
  margin: 0;
}

.pps :where(ul, ol) {
  padding: 0;
}

.pps a {
  color: inherit;
}

.pps :focus-visible {
  outline: 2px solid var(--pps-signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.pps [hidden] {
  display: none !important;
}

.pps-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- intro */
.pps-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem var(--pps-gap);
  align-items: end;
  padding-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.pps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--pps-signal);
  box-shadow: 0 0 0 4px var(--pps-signal-soft);
}

.pps-lede {
  margin-top: 0.75rem;
  max-width: 46rem;
  font-family: var(--pps-serif);
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--pps-muted);
}

.pps-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.pps-tabs__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--pps-muted);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
  transition: color 0.18s var(--pps-ease), background-color 0.18s var(--pps-ease), box-shadow 0.18s var(--pps-ease);
}

.pps-tabs__link:hover {
  color: var(--pps-text);
  background: var(--pps-surface);
}

.pps-tabs__link.is-current {
  color: var(--pps-signal-ink);
  background: var(--pps-signal);
  box-shadow: none;
}

.pps-tabs {
  min-width: 0;
}

/* Below the two-column intro the tabs become one swipeable row. */
@media (max-width: 999px) {
  .pps-tabs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 2px 2px 4px;
  }

  .pps-tabs__list::-webkit-scrollbar {
    display: none;
  }

  .pps-tabs__list li {
    flex: none;
    scroll-snap-align: start;
  }

  .pps-tabs__link {
    white-space: nowrap;
  }
}

@media (min-width: 1000px) {
  .pps-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .pps-tabs__list {
    justify-content: flex-end;
  }
}

.pps-notice {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-signal-soft);
  color: var(--pps-text);
}

/* ------------------------------------------------------------ app grid */
.pps-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pps-gap);
  align-items: start;
}

@media (min-width: 960px) {
  .pps-app {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  }

  .pps-results {
    position: sticky;
    top: var(--pps-sticky);
  }
}

/* --------------------------------------------------------------- form */
.pps-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.pps-example-note {
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--pps-muted);
}

.pps-fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 0;
  border-radius: var(--pps-radius);
  background: var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line);
}

.pps-legend {
  float: left;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pps-accent);
}

.pps-legend + * {
  clear: both;
}

details.pps-fieldset > summary.pps-legend {
  float: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 28px;
  margin: 0;
  cursor: pointer;
  list-style: none;
}

details.pps-fieldset > summary.pps-legend::-webkit-details-marker {
  display: none;
}

details.pps-fieldset > summary.pps-legend::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--pps-muted);
}

details.pps-fieldset[open] > summary.pps-legend {
  margin-bottom: 0.85rem;
}

details.pps-fieldset[open] > summary.pps-legend::after {
  content: "\2212";
}

.pps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.9rem 1rem;
}

.pps-row--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.pps-row + .pps-row,
.pps-switch + .pps-row,
.pps-row + .pps-switch,
.pps-help + .pps-row {
  margin-top: 0.9rem;
}

.pps-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pps-label {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pps-text);
}

.pps-per {
  font-weight: 500;
  color: var(--pps-muted);
}

.pps-input {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-ink2);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
  transition: box-shadow 0.18s var(--pps-ease);
}

.pps-input:focus-within {
  box-shadow: inset 0 0 0 1px var(--pps-signal), 0 0 0 3px var(--pps-signal-soft);
}

.pps-input input,
.pps-input select {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-radius: var(--pps-radius-sm);
  background: transparent;
  color: var(--pps-text);
  font: inherit;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  appearance: none;
  -webkit-appearance: none;
}

.pps-input input:focus,
.pps-input select:focus {
  outline: none;
}

.pps-input--select::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--pps-muted);
  border-bottom: 2px solid var(--pps-muted);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.pps-input select {
  padding-right: 2.2rem;
  cursor: pointer;
}

.pps-input select option {
  background: var(--pps-surface);
  color: var(--pps-text);
}

.pps-affix {
  flex: none;
  padding-inline-start: 0.85rem;
  font-family: var(--pps-mono);
  font-size: 0.85rem;
  color: var(--pps-muted);
  pointer-events: none;
}

.pps-affix + input {
  padding-inline-start: 0.4rem;
}

.pps-affix--end {
  padding-inline: 0 0.85rem;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pps-input input[aria-invalid="true"] {
  color: var(--pps-neg-text);
}

.pps-field:has(input[aria-invalid="true"]) .pps-input {
  box-shadow: inset 0 0 0 1px var(--pps-neg);
}

.pps-help {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--pps-muted);
}

.pps-error {
  font-family: var(--pps-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--pps-neg-text);
}

/* radios, segments, switch */
.pps-choice {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pps-radio,
.pps-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border-radius: var(--pps-radius-sm);
  box-shadow: inset 0 0 0 1px var(--pps-line);
  font-size: 0.92rem;
  line-height: 1.4;
  cursor: pointer;
}

.pps-radio:has(input:checked),
.pps-switch:has(input:checked) {
  background: var(--pps-signal-soft);
  box-shadow: inset 0 0 0 1px var(--pps-signal);
}

.pps-radio input,
.pps-switch input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--pps-accent);
}

.pps-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pps-segment {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.pps-segment input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pps-segment span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pps-muted);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
  transition: background-color 0.18s var(--pps-ease), color 0.18s var(--pps-ease);
}

.pps-segment input:checked + span {
  background: var(--pps-signal);
  color: var(--pps-signal-ink);
  box-shadow: none;
}

.pps-segment input:focus-visible + span {
  outline: 2px solid var(--pps-signal);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ results */
.pps-results {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-radius: var(--pps-radius);
  background:
    radial-gradient(120% 80% at 100% 0%, var(--pps-signal-soft), transparent 60%),
    var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
}

.pps-hero {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--pps-line);
}

.pps-hero--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.25rem;
}

.pps-hero--split > .pps-message {
  grid-column: 1 / -1;
}

.pps-hero__label {
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-hero__value {
  font-family: var(--pps-font);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--pps-accent);
  overflow-wrap: anywhere;
}

.pps-hero__per {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--pps-muted);
}

.pps-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.6rem;
}

.pps-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-ink2);
  box-shadow: inset 0 0 0 1px var(--pps-line);
}

.pps-stat__label {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--pps-muted);
}

.pps-stat__value {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.pps-stat--strong .pps-stat__value {
  color: var(--pps-accent);
}

.pps .is-neg {
  color: var(--pps-neg-text) !important;
}

.pps .is-pos {
  color: var(--pps-pos-text);
}

.pps-message {
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--pps-radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  background: var(--pps-ink2);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
}

.pps-message--warn {
  background: rgba(255, 126, 158, 0.1);
  box-shadow: inset 0 0 0 1px var(--pps-neg);
}

.pps-message--info {
  box-shadow: inset 0 0 0 1px var(--pps-info);
}

.pps-sentence {
  font-family: var(--pps-serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--pps-text);
}

.pps-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.pps-block__title {
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-handoffs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-top: 0.25rem;
}

.pps-handoff {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--pps-accent) !important;
  text-decoration: none;
}

.pps-handoff:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* split bar (markup) */
.pps-split {
  display: flex;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--pps-ink2);
}

.pps-split__cost {
  background: var(--pps-faint);
}

.pps-split__profit {
  background: var(--pps-signal);
}

.pps-split__legend,
.pps-heat__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-size: 0.85rem;
  color: var(--pps-muted);
}

.pps-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.pps-key--cost { background: var(--pps-faint); }
.pps-key--profit { background: var(--pps-signal); }

.pps-key--up,
.pps-key--down {
  width: auto;
  height: auto;
  font-size: 0.75rem;
}

.pps-key--up { color: var(--pps-pos-text); }
.pps-key--down { color: var(--pps-neg-text); }

/* -------------------------------------------------------------- tables */
.pps-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--pps-radius-sm);
  box-shadow: inset 0 0 0 1px var(--pps-line);
}

.pps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.pps-table caption {
  padding: 0.75rem 0.9rem 0;
  text-align: start;
  font-family: var(--pps-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-table th,
.pps-table td {
  padding: 0.6rem 0.9rem;
  text-align: start;
  border-bottom: 1px solid var(--pps-line);
  white-space: nowrap;
}

.pps-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pps-muted);
}

.pps-table tbody th {
  font-weight: 700;
  white-space: normal;
}

.pps-table tbody tr:last-child > * {
  border-bottom: 0;
}

.pps-table tr.is-current > *,
.pps-table tr.is-best > * {
  background: var(--pps-signal-soft);
}

.pps-table--compact th,
.pps-table--compact td {
  padding: 0.5rem 0.75rem;
}

.pps-num {
  text-align: end !important;
}

.pps-badge {
  display: inline-block;
  margin-inline-start: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-family: var(--pps-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  background: var(--pps-signal);
  color: var(--pps-signal-ink);
}

.pps-bar-col {
  width: 28%;
  min-width: 7rem;
}

.pps-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--pps-pos);
}

.pps-bar--base {
  background: var(--pps-muted);
}

.pps-bar--neg {
  background: var(--pps-neg);
}

/* --------------------------------------------------------------- bridge */
.pps-bridge__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pps-bridge__row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  font-size: 0.86rem;
}

.pps-bridge__label {
  color: var(--pps-muted);
}

.pps-bridge__value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.pps-bridge__track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--pps-ink2);
  overflow: hidden;
}

.pps-bridge__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--pps-info);
}

.pps-bridge__row.is-neg .pps-bridge__bar { background: var(--pps-neg); opacity: 0.8; }
.pps-bridge__row--subtotal .pps-bridge__bar { background: var(--pps-muted); }
.pps-bridge__row--total:last-child .pps-bridge__bar { background: var(--pps-signal); }
.pps-bridge__row--total:last-child.is-neg .pps-bridge__bar { background: var(--pps-neg); }

.pps-bridge__row--total .pps-bridge__label,
.pps-bridge__row--subtotal .pps-bridge__label {
  font-weight: 700;
  color: var(--pps-text);
}

.pps-bridge__num {
  min-width: 6.5rem;
  text-align: end;
  font-weight: 700;
}

/* ---------------------------------------------------------------- chart */
.pps-chart__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.pps-chart__grid { stroke: var(--pps-line); stroke-width: 1; }
.pps-chart__zero { stroke: var(--pps-line-strong); stroke-width: 1.5; }
.pps-chart__tick { fill: var(--pps-muted); font-family: var(--pps-mono); font-size: 11px; }
.pps-chart__axis { fill: var(--pps-muted); font-family: var(--pps-font); font-size: 12px; }
.pps-chart__line { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.pps-chart__line--revenue { stroke: var(--pps-info); }
.pps-chart__line--cost { stroke: var(--pps-muted); stroke-dasharray: 7 5; }
.pps-chart__line--profit { stroke: var(--pps-accent); stroke-width: 3; }
.pps-chart__marker { stroke: var(--pps-faint); stroke-width: 1.5; stroke-dasharray: 2 4; }
.pps-chart__be { fill: var(--pps-signal); stroke: var(--pps-page); stroke-width: 2; }
.pps-chart__label { fill: var(--pps-muted); font-family: var(--pps-mono); font-size: 11px; }
.pps-chart__label--be { fill: var(--pps-text); font-weight: 700; }

.pps-chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--pps-muted);
}

.pps-chart__key {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pps-chart__swatch {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top: 3px solid currentColor;
}

.pps-chart__key--revenue .pps-chart__swatch { color: var(--pps-info); }
.pps-chart__key--cost .pps-chart__swatch { color: var(--pps-muted); border-top-style: dashed; }
.pps-chart__key--profit .pps-chart__swatch { color: var(--pps-accent); }

.pps-chart-table > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pps-muted);
  cursor: pointer;
}

/* ------------------------------------------------------------- toolbar */
.pps-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: var(--pps-gap);
  padding: 1rem 0;
  border-top: 1px solid var(--pps-line);
  border-bottom: 1px solid var(--pps-line);
}

.pps-toolbar__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pps-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
  cursor: pointer;
  transition: background-color 0.18s var(--pps-ease), transform 0.18s var(--pps-ease);
}

.pps-btn:hover {
  background: var(--pps-surface);
}

.pps-btn:active {
  transform: translateY(1px);
}

.pps-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pps-btn--signal {
  background: var(--pps-signal);
  color: var(--pps-signal-ink);
  box-shadow: none;
}

.pps-btn--signal:hover {
  background: var(--pps-signal);
  filter: brightness(1.06);
}

.pps-btn--quiet {
  box-shadow: none;
  color: var(--pps-muted);
}

.pps-btn--small {
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
}

.pps-saved {
  position: relative;
}

.pps-saved > summary {
  list-style: none;
}

.pps-saved > summary::-webkit-details-marker {
  display: none;
}

.pps-saved__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: 0;
  width: min(26rem, calc(100vw - 2.5rem));
  padding: 1rem;
  border-radius: var(--pps-radius);
  background: var(--pps-raise);
  box-shadow: inset 0 0 0 1px var(--pps-line-strong), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}

.pps-saved__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pps-saved__name {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-ink2);
  color: var(--pps-text);
  font: inherit;
  box-shadow: inset 0 0 0 1px var(--pps-line-strong);
}

.pps-saved__title {
  margin-top: 1rem !important;
  font-family: var(--pps-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-saved__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem !important;
  max-height: 16rem;
  overflow-y: auto;
  list-style: none;
}

.pps-saved__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-ink2);
}

.pps-saved__meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  color: var(--pps-muted);
}

.pps-saved__meta strong {
  color: var(--pps-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pps-saved__empty {
  font-size: 0.85rem;
  color: var(--pps-muted);
}

.pps-toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 1.25rem;
  max-width: calc(100vw - 2rem);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--pps-text);
  color: var(--pps-page);
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 100%);
  transition: opacity 0.3s ease, transform 0.3s var(--pps-ease-out);
}

.pps-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------- scenarios & heat */
.pps-scenarios,
.pps-compare,
.pps-heat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--pps-gap);
  padding-top: var(--pps-gap);
  border-top: 1px solid var(--pps-line);
}

.pps-scenarios__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem var(--pps-gap);
}

@media (min-width: 900px) {
  .pps-scenarios__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: end;
  }
}

.pps-section-title {
  font-family: var(--pps-font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pps-sc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
  list-style: none;
}

.pps-sc {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
  border-radius: var(--pps-radius);
  background: var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line);
}

.pps-sc__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pps-sc__name {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: var(--pps-radius-sm);
  background: transparent;
  color: var(--pps-text);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 var(--pps-line-strong);
}

.pps-sc__name:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 var(--pps-signal);
}

.pps-sc__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pps-sc__fields .pps-label {
  font-size: 0.8rem;
}

.pps-sc__fields .pps-help {
  font-size: 0.74rem;
}

@media (max-width: 380px) {
  .pps-sc__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pps-sc__result {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
  padding: 0.8rem 0.9rem;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-ink2);
}

.pps-sc__profit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pps-sc__label {
  font-family: var(--pps-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pps-muted);
}

.pps-sc__delta {
  font-weight: 700;
  font-size: 0.9rem;
}

.pps-sc__match {
  font-size: 0.84rem;
  color: var(--pps-muted);
}

.pps-sc-add {
  align-self: flex-start;
}

.pps-thresholds {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}

.pps-thresholds li {
  position: relative;
  padding-inline-start: 1.1rem;
  font-family: var(--pps-serif);
  font-size: 1.02rem;
  line-height: 1.55;
}

.pps-thresholds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pps-signal);
}

.pps-note {
  font-size: 0.9rem;
  color: var(--pps-muted);
}

.pps-heatmap {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.pps-heatmap th {
  padding: 0.45rem 0.4rem;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--pps-muted);
  text-align: center;
  white-space: nowrap;
}

.pps-heatmap__corner {
  text-align: start !important;
  font-family: var(--pps-mono);
  font-weight: 500 !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pps-heatmap__cell {
  --a: 0.2;
  padding: 0.55rem 0.35rem;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  color: var(--pps-text);
}

.pps-heatmap__cell.is-up {
  background: rgba(53, 217, 169, var(--a));
  background: color-mix(in srgb, var(--pps-pos) calc(var(--a) * 100%), transparent);
}

.pps-heatmap__cell.is-down {
  background: rgba(255, 126, 158, var(--a));
  background: color-mix(in srgb, var(--pps-neg) calc(var(--a) * 100%), transparent);
}

.pps-heatmap__cell.is-base {
  box-shadow: inset 0 0 0 2px var(--pps-signal);
  font-weight: 700;
}

.pps-heatmap__mark {
  font-size: 0.62rem;
}

.is-up .pps-heatmap__mark { color: var(--pps-pos-text); }
.is-down .pps-heatmap__mark { color: var(--pps-neg-text); }

/* ------------------------------------------------- editorial content */
.pps-content {
  margin-top: var(--pps-gap);
}

.pps-row-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--pps-line);
}

.pps-content > .pps-row-section:first-child {
  border-top: 0;
}

@media (min-width: 900px) {
  .pps-row-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .pps-row-section > .pps-cards,
  .pps-row-section > .pps-decisions {
    grid-column: 2;
  }
}

.pps-row-section__title {
  font-family: var(--pps-font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pps-prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  font-family: var(--pps-serif);
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--pps-text);
}

.pps-prose h3 {
  margin-top: 0.5rem;
  font-family: var(--pps-font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.pps-prose h3:first-child {
  margin-top: 0;
}

.pps-prose a {
  color: var(--pps-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pps-steps {
  counter-reset: pps-step;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.pps-steps li {
  counter-increment: pps-step;
  position: relative;
  padding-inline-start: 2.6rem;
}

.pps-steps li::before {
  content: counter(pps-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-family: var(--pps-mono);
  font-size: 0.8rem;
  color: var(--pps-accent);
}

.pps-formulas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.pps-formulas code {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--pps-radius-sm);
  background: var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line);
  font-family: var(--pps-mono);
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--pps-text);
}

.pps-prose .pps-note {
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--pps-signal);
  font-size: 1rem;
  color: var(--pps-muted);
}

.pps-example,
.pps-limits,
.pps-source-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
}

.pps-example li,
.pps-limits li,
.pps-source-list li {
  position: relative;
  padding-inline-start: 1.2rem;
}

.pps-example li::before,
.pps-limits li::before,
.pps-source-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--pps-signal);
}

.pps-faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--pps-line);
}

.pps-faq__item {
  border-bottom: 1px solid var(--pps-line);
}

.pps-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.75rem 0;
  font-family: var(--pps-font);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.pps-faq__q::-webkit-details-marker {
  display: none;
}

.pps-faq__q::after {
  content: "+";
  flex: none;
  font-size: 1.2rem;
  color: var(--pps-accent);
  transition: transform 0.2s var(--pps-ease);
}

.pps-faq__item[open] .pps-faq__q::after {
  transform: rotate(45deg);
}

.pps-faq__a {
  padding-bottom: 1rem;
  color: var(--pps-muted);
}

.pps-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-family: var(--pps-font);
  font-size: 0.92rem;
  color: var(--pps-muted);
}

.pps-meta strong,
.pps-meta a {
  color: var(--pps-text);
}

.pps-disclaimer {
  font-size: 0.92rem;
  color: var(--pps-muted);
}

/* ------------------------------------------------------- cards / hub */
.pps-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  list-style: none;
}

.pps-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  padding: 1.3rem 1.3rem 1.2rem;
  border-radius: var(--pps-radius);
  background: var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line);
  text-decoration: none;
  transition: transform 0.2s var(--pps-ease-out), box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pps-card__link:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px var(--pps-line-strong), 0 18px 36px -24px rgba(0, 0, 0, 0.8);
  }
}

.pps-card__icon,
.pps-decision__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pps-signal-soft);
  color: var(--pps-accent);
}

.pps-card__name {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}

.pps-card__text {
  flex: 1;
  font-family: var(--pps-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pps-muted);
}

.pps-card__go {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pps-accent);
}

.pps-tools-grid {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--pps-line);
}

.pps-decisions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.6rem;
  list-style: none;
}

.pps-decision {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 64px;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  border-radius: var(--pps-radius);
  background: var(--pps-surface);
  box-shadow: inset 0 0 0 1px var(--pps-line);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.18s var(--pps-ease), box-shadow 0.18s var(--pps-ease);
}

.pps-decision:hover {
  background: var(--pps-surface2);
  box-shadow: inset 0 0 0 1px var(--pps-signal);
}

.pps-decision__label {
  flex: 1;
}

.pps-decision__go {
  color: var(--pps-accent);
}

.pps-more .pps-cards {
  min-width: 0;
}

/* -------------------------------------------- CTA token (theme pages) */
.pps-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pps-cta__kicker {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal, #ffb224);
}

.pps-cta__title {
  font-weight: 700;
  font-size: 1.12rem;
}

.pps-cta__list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pps-cta__button {
  font-weight: 700;
  color: var(--signal, #ffb224);
}

/* -------------------------------------------------------------- motion */
/* Every movement below has one job: the load entrance shows the order to
   read the tool in, the value settle confirms a recalculation, the chart and
   heatmap explain themselves once, cards enter and leave where they live.
   Data never moves for decoration after the first look. All of it sits
   behind no-preference; reduced motion keeps the colour/opacity cues only. */

.pps-btn:active,
.pps-tabs__link:active,
.pps-segment:active span,
.pps-decision:active,
.pps-card__link:active {
  transform: scale(0.97);
}

.pps-tabs__link,
.pps-segment span {
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.16s var(--pps-ease-out);
}

.pps-btn {
  transition: background-color 0.18s ease, transform 0.16s var(--pps-ease-out);
}

.pps-decision {
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.16s var(--pps-ease-out);
}

.pps-decision__go,
.pps-card__go span,
.pps-handoff span {
  display: inline-block;
  transition: transform 0.2s var(--pps-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pps-decision:hover .pps-decision__go,
  .pps-card__link:hover .pps-card__go span,
  .pps-handoff:hover span {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Load entrance, CSS only: visible without JavaScript, never blocks input. */
  .pps-intro,
  .pps-form > *,
  .pps-results,
  .pps-results > * {
    animation: pps-rise 0.42s var(--pps-ease-out) both;
  }

  .pps-intro { animation-delay: 0ms; }
  .pps-form > :nth-child(1) { animation-delay: 60ms; }
  .pps-form > :nth-child(2) { animation-delay: 100ms; }
  .pps-form > :nth-child(3) { animation-delay: 140ms; }
  .pps-form > :nth-child(4) { animation-delay: 180ms; }
  .pps-form > :nth-child(5) { animation-delay: 220ms; }
  .pps-form > :nth-child(n + 6) { animation-delay: 260ms; }
  .pps-results { animation-delay: 120ms; }
  .pps-results > :nth-child(1) { animation-delay: 180ms; }
  .pps-results > :nth-child(2) { animation-delay: 220ms; }
  .pps-results > :nth-child(3) { animation-delay: 260ms; }
  .pps-results > :nth-child(n + 4) { animation-delay: 300ms; }

  /* Scroll reveal for the editorial half (marketing surface, once). */
  .pps-js .pps-reveal {
    transition: opacity 0.6s var(--pps-ease-out), transform 0.6s var(--pps-ease-out);
  }

  .pps-js .pps-reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(16px);
  }

  /* A scenario the user adds arrives in place. */
  .pps-sc[data-new] {
    animation: pps-card-in 0.26s var(--pps-ease-out) both;
  }

  /* Chart: the plot is revealed left to right the first time it is seen,
     then the break-even point lands and rings once. */
  .pps-chart--hold .pps-chart__plot {
    clip-path: inset(0 100% 0 0);
  }

  .pps-chart--draw .pps-chart__plot {
    animation: pps-plot 1.1s var(--pps-ease-in-out) both;
  }

  .pps-chart--hold .pps-chart__mark {
    opacity: 0;
  }

  .pps-chart--draw .pps-chart__mark {
    animation: pps-fade 0.3s var(--pps-ease-out) 0.85s both;
  }

  .pps-chart--draw .pps-chart__be {
    transform-box: fill-box;
    transform-origin: center;
    animation: pps-pop 0.42s var(--pps-ease-out) 0.9s both;
  }

  .pps-chart--draw .pps-chart__ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: pps-ring 1.1s var(--pps-ease-out) 1.1s both;
  }

  /* Heatmap: cells settle along the diagonals, once. */
  .pps-heat--hold .pps-heatmap__cell {
    opacity: 0;
  }

  .pps-heat--intro .pps-heatmap__cell {
    animation: pps-cell 0.34s var(--pps-ease-out) both;
    animation-delay: var(--d, 0ms);
  }

  /* Bars grow from their baseline the first time a table is drawn. */
  .pps-bars--hold .pps-bar,
  .pps-bars--hold .pps-bridge__bar {
    transform-origin: left center;
    transform: scaleX(0.02);
  }

  .pps-bars--intro .pps-bar,
  .pps-bars--intro .pps-bridge__bar {
    transform-origin: left center;
    animation: pps-grow 0.7s var(--pps-ease-in-out) both;
    animation-delay: var(--d, 0ms);
  }
}

.pps-chart__ring {
  fill: none;
  stroke: var(--pps-signal);
  stroke-width: 2;
  opacity: 0;
}

@keyframes pps-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pps-card-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes pps-plot {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes pps-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pps-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pps-ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

@keyframes pps-cell {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes pps-grow {
  from { transform: scaleX(0.02); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pps *,
  .pps *::before,
  .pps *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-property: color, background-color, border-color, box-shadow, opacity !important;
  }

  .pps-btn:active,
  .pps-tabs__link:active,
  .pps-segment:active span,
  .pps-decision:active,
  .pps-card__link:active {
    transform: none;
  }
}

/* --------------------------------------------------------------- print */
@media print {
  body * {
    visibility: hidden;
  }

  .pps,
  .pps * {
    visibility: visible;
  }

  .pps {
    position: absolute;
    inset: 0 0 auto 0;
    padding: 0;
    background: #fff;
    color: #111;
    --pps-text: #111;
    --pps-muted: #444;
    --pps-faint: #666;
    --pps-surface: #fff;
    --pps-ink2: #f4f4f4;
    --pps-line: #ccc;
    --pps-line-strong: #999;
    --pps-signal: #8a5a00;
  }

  .pps-tabs,
  .pps-toolbar,
  .pps-handoffs,
  .pps-sc-add,
  .pps-sc__remove,
  .pps-more,
  .pps-faq,
  .pps-example-note {
    display: none !important;
  }

  .pps-results {
    position: static;
  }

  .pps-app {
    grid-template-columns: 1fr 1fr;
  }

  details.pps-fieldset:not([open]) {
    display: none;
  }
}
