/* Shared brand, four different jobs. Scoped compositions for the product UI kit. */
.ps-surface {
  container: product-screen / inline-size;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  overflow: hidden;
  border-radius: var(--radius);
}
.ps-surface * {
  box-sizing: border-box;
  min-width: 0;
}
.ps-surface h2,
.ps-surface h3 {
  font-family: var(--heading-font);
  color: inherit;
}
.ps-surface button,
.ps-surface input,
.ps-surface select {
  font-family: var(--font);
}
.ps-surface p {
  color: var(--muted);
}
.ps-surface button:focus-visible,
.ps-surface summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.ps-surface button {
  cursor: pointer;
}
.ps-wordmark {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1.3px;
  white-space: nowrap;
}
.ps-wordmark > span {
  font: 500 14px var(--font);
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 8px;
}
.ps-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 1.3px;
  font-weight: 650;
  line-height: 1.6;
}
.ps-local-note {
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  background: var(--neutral);
}
.ps-surface-footer {
  padding: 25px 30px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.ps-surface-footer > span {
  color: var(--muted);
}
.ps-section-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1px;
}
.ps-site-header,
.ps-landing-nav,
.ps-dashboard-header {
  min-height: 82px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.ps-site-header nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.ps-site-header nav button {
  font-size: 14px;
  padding: 8px 0;
}
.ps-site-header .pc-btn {
  flex-shrink: 0;
}
.ps-site-hero {
  background: var(--brand-panel);
  color: var(--on-brand);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  padding: 46px 40px;
  align-items: center;
}
.ps-site-hero h2 {
  font-size: clamp(35px, 5.7cqw, 62px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin: 22px 0;
}
.ps-site-hero p {
  font-size: 17px;
  max-width: 430px;
  color: inherit;
  margin-bottom: 25px;
  line-height: 1.7;
}
.ps-site-hero .pc-btn {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.ps-site-hero-art {
  height: 280px;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--on-brand) 25%, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
}
.ps-site-hero-art > span {
  position: absolute;
  top: 22px;
  font-size: 12px;
  letter-spacing: 3px;
}
.ps-site-hero-art > strong {
  font: 600 210px/0.9 var(--heading-font);
  letter-spacing: -15px;
}
.ps-site-hero-art > div {
  position: absolute;
  bottom: 20px;
  left: -10px;
  right: -10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.ps-site-hero-art i {
  background: var(--ink);
  color: var(--on-ink);
  padding: 12px;
  font-size: 14px;
  font-style: normal;
  transform: rotate(12deg);
}
.ps-site-hero-art i + i {
  background: var(--white);
  color: var(--ink);
  transform: rotate(-2deg);
}
.ps-site-content {
  padding: 38px 30px;
}
.ps-site-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.ps-site-section-heading h2 {
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -1px;
  margin-top: 10px;
}
.ps-site-search {
  max-width: 230px;
}
.ps-site-search .pc-field {
  margin: 0;
}
.ps-category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  padding-bottom: 14px;
}
.ps-category-tabs button {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--neutral);
  min-height: 40px;
}
.ps-category-tabs button.is-active {
  background: var(--ink);
  color: var(--on-ink);
}
.ps-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ps-story-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ps-story-art {
  height: 170px;
  background: var(--brand-panel);
  color: var(--on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ps-story-art > span {
  font-size: 90px;
  line-height: 1;
  font-family: var(--heading-font);
}
.ps-story-art small {
  position: absolute;
  bottom: 13px;
  left: 15px;
  font-size: 10px;
  letter-spacing: 1px;
}
.ps-story-art-film {
  background: var(--ink);
  color: var(--vivid);
}
.ps-story-art-rail {
  background: var(--neutral);
  color: var(--green);
}
.ps-story-copy {
  padding: 20px;
  display: flex;
  align-items: start;
  flex-direction: column;
  flex: 1;
}
.ps-story-copy h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 14px 0 12px;
}
.ps-story-copy p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.ps-story-copy .pc-btn {
  margin-top: auto;
  font-size: 13px;
  text-align: left;
  padding: 8px 0;
}
.ps-site-editorial {
  margin-top: 32px;
  border: 1px solid var(--line);
  padding: 25px;
  display: flex;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
}
.ps-editorial-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
  background: var(--brand-panel);
  color: var(--on-brand);
  flex-shrink: 0;
}
.ps-site-editorial h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 8px 0;
}
.ps-site-editorial p {
  font-size: 14px;
}
.ps-site-editorial .pc-btn {
  margin-left: auto;
  flex-shrink: 0;
}
.ps-inline-empty {
  padding: 35px 20px;
  grid-column: 1/-1;
  text-align: center;
  background: var(--neutral);
  border-radius: var(--radius);
}
.ps-inline-empty h3 {
  font-size: 23px;
}
.ps-inline-empty p {
  margin: 10px 0 18px;
}
.ps-landing-nav > span {
  font-size: 12px;
  letter-spacing: 1.2px;
  margin-left: auto;
}
.ps-landing-nav .pc-btn {
  font-size: 13px;
}
.ps-landing-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  padding: 48px 38px;
  background: var(--brand-panel);
  color: var(--on-brand);
  align-items: center;
}
.ps-landing-hero h2 {
  font-size: clamp(39px, 6.3cqw, 68px);
  letter-spacing: -3px;
  line-height: 1.01;
  margin: 20px 0 23px;
}
.ps-landing-hero > div > p {
  font-size: 17px;
  line-height: 1.7;
  color: inherit;
  max-width: 430px;
}
.ps-landing-hero ul {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.ps-landing-hero li:before {
  content: "✓";
  margin-right: 10px;
}
.ps-guide-card {
  background: var(--page);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px #0000000b;
}
.ps-guide-cover {
  font-size: 12px;
  letter-spacing: 4px;
  display: block;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 22px;
  margin-bottom: 21px;
}
.ps-guide-card h3 {
  font-size: 31px;
  line-height: 1.13;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.ps-guide-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.ps-guide-card .pc-btn {
  width: 100%;
  margin-top: 15px;
}
.ps-guide-card small {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}
.ps-guide-ready-mark {
  height: 52px;
  width: 52px;
  display: grid;
  place-items: center;
  background: var(--brand-panel);
  color: var(--on-brand);
  border-radius: 50%;
  font-size: 25px;
  margin-bottom: 20px;
}
.ps-guide-ready .ps-kicker {
  font-size: 11px;
  margin-bottom: 16px;
}
.ps-guide-ready ol {
  padding: 0 0 0 20px;
  display: grid;
  gap: 13px;
  font-size: 14px;
}
.ps-guide-ready li {
  padding-left: 5px;
  line-height: 1.65;
}
.ps-guide-ready li:before {
  content: none;
}
.ps-guide-ready li strong {
  display: block;
}
.ps-landing-proof {
  padding: 38px 30px;
}
.ps-landing-proof > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 25px;
}
.ps-landing-proof article > span {
  height: 40px;
  width: 40px;
  background: var(--neutral);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  margin-bottom: 18px;
}
.ps-landing-proof h3 {
  font-size: 21px;
  margin-bottom: 11px;
}
.ps-landing-proof p {
  font-size: 15px;
  line-height: 1.75;
}
.ps-landing-faq {
  padding: 35px 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  background: var(--neutral);
}
.ps-landing-faq h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-top: 15px;
}
.ps-app-surface {
  background: var(--neutral);
  padding: 30px 25px 0;
}
.ps-app-shell {
  width: 100%;
  max-width: 700px;
  margin: auto;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4) calc(var(--radius) * 1.4) 0 0;
  overflow: hidden;
}
.ps-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.ps-profile {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--neutral);
  font-size: 12px;
  font-weight: 600;
}
.ps-app-body {
  padding: 26px 24px;
  min-height: 520px;
}
.ps-app-intro h2 {
  font-size: 40px;
  letter-spacing: -1.7px;
  line-height: 1.05;
  margin: 17px 0;
}
.ps-app-intro p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 470px;
}
.ps-app-guide {
  display: flex;
  gap: 15px;
  align-items: center;
  text-align: left;
  background: var(--brand-panel);
  color: var(--on-brand);
  border-radius: calc(var(--radius) * 0.7);
  padding: 18px;
  width: 100%;
  margin: 24px 0;
}
.ps-app-guide-mark {
  font-size: 37px;
  font-weight: 550;
  line-height: 1;
}
.ps-app-guide > span:nth-child(2) {
  flex: 1;
}
.ps-app-guide strong {
  font-size: 16px;
  display: block;
  font-weight: 650;
}
.ps-app-guide small {
  font-size: 13px;
  display: block;
  margin-top: 3px;
}
.ps-app-guide b {
  font-size: 25px;
  font-weight: 400;
}
.ps-app-cards {
  display: grid;
  gap: 14px;
  margin-top: 23px;
}
.ps-app-cards .pc-question-card {
  margin: 0;
}
.ps-app-data-note {
  font-size: 12px !important;
  line-height: 1.7;
  margin: 20px 0 0;
}
.ps-app-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--page);
  gap: 6px;
}
.ps-app-nav > button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  position: relative;
  font-size: 13px;
  padding: 10px;
  border-radius: calc(var(--radius) * 0.5);
  min-height: 45px;
}
.ps-app-nav button.is-active {
  background: var(--ink);
  color: var(--on-ink);
}
.ps-app-nav > button > span {
  font-size: 20px;
  line-height: 1;
}
.ps-app-nav small {
  font-size: 10px;
  border: 1px solid currentColor;
  padding: 0 4px;
  border-radius: 8px;
}
.ps-app-empty {
  padding: 40px 15px;
  text-align: center;
}
.ps-app-empty > span {
  font-size: 48px;
  color: var(--green);
}
.ps-app-empty h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 15px 0;
}
.ps-app-empty p {
  font-size: 15px;
  margin-bottom: 20px;
}
.ps-app-learn .pc-progress {
  margin-bottom: 25px;
}
.ps-lesson-number {
  height: 72px;
  width: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-panel);
  color: var(--on-brand);
  font: 550 35px var(--heading-font);
  margin: 25px 0;
}
.ps-app-learn h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  max-width: 430px;
  margin-bottom: 20px;
}
.ps-app-learn > p {
  font-size: 17px;
  line-height: 1.85;
  max-width: 480px;
}
.ps-app-keep {
  margin-top: 25px;
  background: var(--neutral);
  padding: 18px;
  border-left: 3px solid var(--green);
  font-size: 14px;
  line-height: 1.8;
}
.ps-app-lesson-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
}
.ps-dashboard-header .ps-example-tag {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--neutral);
}
.ps-dashboard-header > .pc-btn {
  font-size: 13px;
}
.ps-dashboard-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.ps-dashboard-nav {
  padding: 24px 14px;
  background: var(--neutral);
  border-right: 1px solid var(--line);
}
.ps-dashboard-nav > button {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  font-size: 13px;
  border-radius: calc(var(--radius) * 0.4);
  margin-bottom: 6px;
}
.ps-dashboard-nav > button.is-active {
  background: var(--brand-panel);
  color: var(--on-brand);
  font-weight: 650;
}
.ps-dashboard-nav svg {
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}
.ps-dashboard-nav > div {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 35px 7px;
}
.ps-live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--green);
}
.ps-dashboard-main {
  padding: 28px 25px;
  background: color-mix(in srgb, var(--neutral) 45%, var(--page));
}
.ps-dashboard-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.ps-dashboard-title h2 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.14;
  margin: 10px 0;
}
.ps-dashboard-title p {
  font-size: 13px;
  line-height: 1.7;
}
.ps-mobile-break {
  display: none;
}
.ps-range {
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.45);
  padding: 3px;
  background: var(--page);
  flex-shrink: 0;
}
.ps-range button {
  font-size: 12px;
  padding: 8px 10px;
  min-height: 36px;
  white-space: nowrap;
  border-radius: calc(var(--radius) * 0.3);
}
.ps-range button.is-active {
  background: var(--ink);
  color: var(--on-ink);
}
.ps-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ps-metrics > .pc-stat {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.6);
  padding: 18px;
}
.ps-chart-panel,
.ps-program-panel {
  border: 1px solid var(--line);
  background: var(--page);
  border-radius: calc(var(--radius) * 0.6);
  padding: 22px;
  margin-top: 20px;
  overflow: hidden;
}
.ps-chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.ps-chart-heading h3,
.ps-table-heading h3 {
  font-size: 18px;
  line-height: 1.3;
}
.ps-chart-heading p,
.ps-table-heading p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 6px;
}
.ps-chart-legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.ps-chart-legend span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ps-chart-legend i {
  width: 13px;
  height: 3px;
  display: block;
  background: var(--green);
}
.ps-chart-legend span + span i {
  background: var(--ink);
}
.ps-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 24px;
  overflow: visible;
}
.ps-chart text {
  font: 12px var(--font);
  fill: var(--muted);
}
.ps-chart-table summary {
  font-size: 12px;
  cursor: pointer;
  padding: 8px 0;
  color: var(--muted);
}
.ps-chart-table {
  overflow: auto;
}
.ps-chart-table table {
  font-size: 12px;
  width: 100%;
  border-collapse: collapse;
}
.ps-chart-table th,
.ps-chart-table td {
  text-align: left;
  padding: 8px;
  border-top: 1px solid var(--line);
}
.ps-chart-table caption {
  text-align: left;
  color: var(--muted);
  padding: 10px 0;
}
.ps-table-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 15px;
  margin: 20px 0;
}
.ps-table-tools .pc-field {
  margin: 0;
}
.ps-channel-field {
  font-size: 13px;
  font-weight: 550;
  display: flex;
  gap: 7px;
  flex-direction: column;
}
.ps-channel-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.45);
  background: var(--page);
  padding: 9px 10px;
  font-size: 14px;
  color: var(--ink);
}
.ps-table-scroll {
  overflow-x: auto;
}
.ps-program-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.ps-program-table th {
  font-size: 11px;
  letter-spacing: 0.3px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 11px 8px;
  white-space: nowrap;
}
.ps-program-table th button {
  font-size: inherit;
  color: inherit;
  padding: 0;
  min-height: 30px;
}
.ps-program-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 8px;
  vertical-align: middle;
}
.ps-program-table tr:last-child td {
  border-bottom: 0;
}
.ps-row-link {
  text-align: left;
  padding: 0;
  min-width: 140px;
  max-width: 220px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.ps-row-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ps-row-link small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.ps-detail-button {
  font-size: 20px;
  min-height: 38px;
  min-width: 32px;
}
.ps-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ps-scenario {
  padding: 55px 30px;
  min-height: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--page);
}
.ps-state-symbol {
  height: 70px;
  width: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 38px;
  background: var(--neutral);
  color: var(--green);
  margin-bottom: 25px;
}
.ps-scenario h2 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -1px;
  max-width: 500px;
}
.ps-scenario > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 470px;
  margin: 18px 0 25px;
}
.ps-scenario > small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 400px;
  line-height: 1.7;
}
.ps-scenario-error .ps-state-symbol {
  color: #9e3d32;
  background: #f9edea;
}
.ps-skeleton {
  width: 100%;
  max-width: 460px;
  height: 15px;
  margin: 9px 0;
  background: linear-gradient(
    100deg,
    var(--neutral),
    var(--line),
    var(--neutral)
  );
  background-size: 220% 100%;
  border-radius: 5px;
  animation: ps-shimmer 1.6s ease-in-out infinite;
}
.ps-skeleton-title {
  height: 32px;
  max-width: 310px;
  margin-bottom: 15px;
}
.ps-skeleton-short {
  max-width: 280px;
}
.ps-skeleton-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
  margin: 22px 0;
}
.ps-skeleton-card {
  height: 140px;
}
.ps-scenario-caption {
  margin-top: 10px;
}
.ps-scenario-caption p {
  font-size: 14px;
  margin-bottom: 18px;
}
.ps-story-detail {
  font: 16px/1.8 var(--font);
  color: var(--ink);
}
.ps-story-detail p {
  color: var(--muted);
  margin: 12px 0 24px;
}
.ps-story-detail h3 {
  font: 600 23px/1.25 var(--heading-font);
  margin: 22px 0 10px;
  letter-spacing: -0.5px;
}
.ps-story-detail section + section {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 10px;
}
.ps-detail-callout {
  background: var(--neutral);
  border-left: 3px solid var(--green);
  padding: 18px;
  margin: 20px 0;
  font-size: 15px;
}
.ps-detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px 0;
}
.ps-story-detail .pc-badge {
  margin-bottom: 12px;
}
@keyframes ps-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@container product-screen (max-width:850px) {
  .ps-site-header,
  .ps-landing-nav,
  .ps-dashboard-header {
    padding: 18px 22px;
    gap: 15px;
  }
  .ps-site-header nav {
    gap: 16px;
  }
  .ps-site-hero {
    padding: 36px 28px;
    gap: 25px;
  }
  .ps-site-hero-art {
    height: 240px;
  }
  .ps-site-content {
    padding: 30px 22px;
  }
  .ps-story-grid {
    gap: 12px;
  }
  .ps-story-copy {
    padding: 16px;
  }
  .ps-story-copy h3 {
    font-size: 19px;
  }
  .ps-site-editorial {
    flex-wrap: wrap;
    gap: 18px;
  }
  .ps-site-editorial .pc-btn {
    margin-left: 86px;
  }
  .ps-landing-hero {
    padding: 35px 25px;
    gap: 25px;
  }
  .ps-guide-card {
    padding: 23px;
  }
  .ps-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .ps-dashboard-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px;
  }
  .ps-dashboard-nav > button {
    width: auto;
    margin: 0;
  }
  .ps-dashboard-nav > div {
    margin: 0 0 0 auto;
  }
  .ps-dashboard-main {
    padding: 25px 20px;
  }
  .ps-dashboard-title {
    flex-direction: column;
    gap: 15px;
  }
  .ps-chart-heading {
    flex-direction: column;
  }
  .ps-landing-proof > div {
    gap: 18px;
  }
  .ps-landing-proof h3 {
    font-size: 19px;
  }
}
@container product-screen (max-width:620px) {
  .ps-wordmark {
    font-size: 24px;
  }
  .ps-wordmark > span {
    font-size: 12px;
  }
  .ps-site-header nav {
    display: none;
  }
  .ps-site-header .pc-btn {
    margin-left: auto;
    font-size: 13px;
  }
  .ps-site-hero {
    grid-template-columns: 1fr;
    padding: 34px 24px 25px;
  }
  .ps-site-hero h2 {
    font-size: 43px;
    letter-spacing: -1.8px;
    margin: 19px 0;
  }
  .ps-site-hero p {
    font-size: 16px;
  }
  .ps-site-hero-art {
    height: 190px;
    max-width: 260px;
    width: 100%;
    margin: 5px auto 14px;
  }
  .ps-site-hero-art > strong {
    font-size: 155px;
  }
  .ps-site-hero-art > span {
    top: 12px;
    font-size: 10px;
  }
  .ps-site-hero-art > div {
    bottom: 5px;
  }
  .ps-site-hero-art i {
    font-size: 12px;
    padding: 10px;
  }
  .ps-site-section-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .ps-site-search {
    max-width: none;
  }
  .ps-site-section-heading h2 {
    font-size: 29px;
  }
  .ps-story-grid {
    grid-template-columns: 1fr;
  }
  .ps-story-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .ps-story-art {
    height: 100%;
    min-height: 230px;
  }
  .ps-story-art > span {
    font-size: 65px;
  }
  .ps-story-art small {
    font-size: 8px;
    left: 10px;
    right: 10px;
    letter-spacing: 0.5px;
  }
  .ps-story-copy {
    padding: 19px 16px;
  }
  .ps-story-copy h3 {
    font-size: 21px;
  }
  .ps-story-copy p {
    font-size: 14px;
  }
  .ps-story-copy .pc-btn {
    font-size: 12px;
  }
  .ps-site-editorial {
    padding: 22px;
    display: block;
  }
  .ps-editorial-mark {
    height: 52px;
    width: 52px;
    font-size: 34px;
    margin-bottom: 20px;
  }
  .ps-site-editorial h3 {
    font-size: 25px;
  }
  .ps-site-editorial .pc-btn {
    margin: 20px 0 0;
  }
  .ps-surface-footer {
    padding: 24px;
    display: grid;
    gap: 10px;
    font-size: 13px;
  }
  .ps-landing-nav {
    flex-wrap: wrap;
    padding: 20px;
  }
  .ps-landing-nav > span {
    font-size: 10px;
  }
  .ps-landing-nav .pc-btn {
    display: none;
  }
  .ps-landing-hero {
    grid-template-columns: 1fr;
    padding: 32px 23px;
    gap: 28px;
  }
  .ps-landing-hero h2 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .ps-landing-hero > div > p {
    font-size: 16px;
  }
  .ps-guide-card {
    padding: 25px;
  }
  .ps-guide-card h3 {
    font-size: 30px;
  }
  .ps-landing-proof {
    padding: 30px 23px;
  }
  .ps-landing-proof > div {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .ps-landing-proof article {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 15px;
  }
  .ps-landing-proof article > span {
    grid-row: span 2;
    margin: 0;
  }
  .ps-landing-proof h3 {
    font-size: 21px;
    margin: 0 0 8px;
  }
  .ps-landing-proof p {
    font-size: 15px;
  }
  .ps-landing-faq {
    padding: 30px 23px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ps-app-surface {
    padding: 0;
  }
  .ps-app-shell {
    border: 0;
    border-radius: 0;
    max-width: none;
  }
  .ps-app-header {
    padding: 20px;
  }
  .ps-app-body {
    padding: 26px 20px;
    min-height: 550px;
  }
  .ps-app-intro h2 {
    font-size: 39px;
  }
  .ps-app-intro p {
    font-size: 16px;
  }
  .ps-app-guide {
    padding: 16px;
    gap: 13px;
  }
  .ps-app-guide strong {
    font-size: 15px;
  }
  .ps-app-guide small {
    font-size: 12px;
  }
  .ps-app-guide-mark {
    font-size: 32px;
  }
  .ps-app-learn h2 {
    font-size: 33px;
  }
  .ps-app-learn > p {
    font-size: 16px;
  }
  .ps-app-nav {
    padding: 10px 8px;
  }
  .ps-app-nav > button {
    font-size: 12px;
    gap: 5px;
    padding: 10px 5px;
  }
  .ps-dashboard-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
  }
  .ps-dashboard-header .ps-example-tag {
    font-size: 9px;
    padding: 5px;
  }
  .ps-dashboard-header > .pc-btn {
    display: none;
  }
  .ps-dashboard-nav {
    padding: 9px 12px;
    gap: 2px;
  }
  .ps-dashboard-nav > button {
    font-size: 12px;
    padding: 9px;
  }
  .ps-dashboard-nav > div {
    font-size: 10px;
    gap: 5px;
  }
  .ps-dashboard-main {
    padding: 25px 16px;
  }
  .ps-dashboard-title h2 {
    font-size: 30px;
  }
  .ps-dashboard-title p {
    font-size: 14px;
  }
  .ps-mobile-break {
    display: block;
  }
  .ps-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ps-metrics > .pc-stat {
    padding: 18px;
  }
  .ps-chart-panel,
  .ps-program-panel {
    padding: 18px 15px;
  }
  .ps-chart-heading h3,
  .ps-table-heading h3 {
    font-size: 19px;
  }
  .ps-chart-heading p,
  .ps-table-heading p {
    font-size: 13px;
  }
  .ps-chart-legend {
    gap: 15px;
  }
  .ps-chart-legend span {
    font-size: 11px;
  }
  .ps-chart {
    margin-top: 18px;
  }
  .ps-table-tools {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .ps-program-table {
    min-width: 510px;
  }
  .ps-table-scroll {
    margin: 0 -15px;
    padding: 0 15px;
  }
  .ps-program-table td {
    padding: 13px 7px;
  }
  .ps-row-link {
    font-size: 13px;
    min-width: 145px;
  }
  .ps-scenario {
    padding: 45px 23px;
    min-height: 430px;
  }
  .ps-scenario h2 {
    font-size: 29px;
  }
  .ps-scenario > p {
    font-size: 16px;
  }
  .ps-skeleton-grid {
    gap: 8px;
  }
  .ps-skeleton-card {
    height: 105px;
  }
  .ps-local-note {
    font-size: 11px;
    padding: 14px 20px;
  }
  .ps-kicker {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .ps-detail-stats {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ps-skeleton {
    animation: none;
  }
  .ps-surface * {
    scroll-behavior: auto !important;
  }
}

/* Reading text stays readable even when the sample is shown in a narrow frame. */
.ps-story-copy p,
.ps-site-editorial p,
.ps-guide-card p,
.ps-landing-proof p,
.ps-app-intro p {
  font-size: 16px;
}
.ps-story-copy .pc-btn,
.ps-site-header .pc-btn,
.ps-landing-nav .pc-btn {
  font-size: 14px;
}
.ps-range button,
.ps-channel-field select,
.ps-row-link,
.ps-program-table {
  font-size: 14px;
}
.ps-chart-heading p,
.ps-table-heading p {
  font-size: 14px;
}
.ps-app-nav > button {
  font-size: 14px;
}
.ps-app-surface {
  padding: 0;
}
.ps-app-shell {
  margin: 30px auto 0;
}
@container product-screen (max-width:620px) {
  .ps-app-shell {
    margin: 0;
  }
  .ps-site-header .pc-btn {
    font-size: 14px;
  }
  .ps-story-copy p {
    font-size: 15px;
  }
  .ps-site-hero-art {
    max-width: 235px;
  }
  .ps-app-nav > button {
    font-size: 13px;
  }
}
/* Keep visually hidden table labels inside the horizontal-scroll boundary. */
.ps-table-scroll {
  position: relative;
}
